Contract 0x7628Ff67b142290192f5CEBB705Fdd12F2e34745

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6495425f303ce81658555d02ab7c79d6ea8044eb9b8eee0251d352f7e7c97e39Approve129533732021-11-25 20:31:144 days 19 hrs ago0xac30c53c540c1973e009d846de53961d8d8a1d00 IN  0x7628ff67b142290192f5cebb705fdd12f2e347450 BNB0.00022183
0xfde1beec92fc841546d5939eae9967c993be207f20df0821f3095c66b396c47aApprove129533262021-11-25 20:28:374 days 19 hrs ago0xe15fb15f3cdd174c540b886bf6738387d280653f IN  0x7628ff67b142290192f5cebb705fdd12f2e347450 BNB0.000310562
0xd522f076402a357c977b335f0bab3145e88c7d37fe01002b03242ea8e77df36bApprove129533042021-11-25 20:27:314 days 19 hrs ago0xcbdb13e7a9a27f02d9f989239e4c3d3909091604 IN  0x7628ff67b142290192f5cebb705fdd12f2e347450 BNB0.00022183
0x4879160432357ee12a8273b922d5f9c9f7243d992f253499667a1dc8bd18b994Approve129532732021-11-25 20:25:564 days 19 hrs ago0x68d9e03658f7f27d2dc55bdc8c7a29a30bf97d96 IN  0x7628ff67b142290192f5cebb705fdd12f2e347450 BNB0.00022183
0xfe4acee213a807b13500c347602e2708dd3e29a1a80f64505c4f47a4df69e354Approve129532412021-11-25 20:24:124 days 19 hrs ago0x6d96254e563907d0b73a5cbaadeea761a20cd8cb IN  0x7628ff67b142290192f5cebb705fdd12f2e347450 BNB0.0002351398
0x0de9e62de98ae336949cf45692beedb81c0616b7818c38f0bbf9e477e26a3326Approve129532402021-11-25 20:24:094 days 19 hrs ago0x5e3773713f0a20806168d633652b905ee7253f83 IN  0x7628ff67b142290192f5cebb705fdd12f2e347450 BNB0.000221834436
0x645393da3e7a2ab29a32a50c7443716da51e9960c0528329edf7fc90315fd61dApprove129532232021-11-25 20:23:134 days 19 hrs ago0xc89554f12f587c215b3f074aab385609e3882de8 IN  0x7628ff67b142290192f5cebb705fdd12f2e347450 BNB0.00022183
0xf0870dc35c956a4a69230d16d849be62d57cb7434542d593627a124bf32f222f0x60c06040129531712021-11-25 20:20:234 days 19 hrs ago0xc89554f12f587c215b3f074aab385609e3882de8 IN  Contract Creation0 BNB0.00256393
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SampleBEP20Token

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at BscScan.com on 2021-11-25
*/

// SPDX-License-Identifier: UNLISCENSED

pragma solidity 0.8.4;


/*
 * https://t.me/Coin_max
 * 
 * @title SampleBEP20Token
 * @dev Very simple BEP20 Token example, where all tokens are pre-assigned to the creator.
 * Note they can later distribute these tokens as they wish using `transfer` and other
 * `BEP20` functions.
 * USE IT ONLY FOR LEARNING PURPOSES. SHOULD BE MODIFIED FOR PRODUCTION
 */
 
contract SampleBEP20Token {
    string public name = "Coin Max";
    string public symbol = "CMAX";
    uint256 public totalSupply = 100000000000000000000000000; // 1 million tokens
    uint8 public decimals = 7;
    
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed _from, address indexed _to, uint256 _value);

     /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(
        address indexed _owner,
        address indexed _spender,
        uint256 _value
    );

    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) public allowance;

    /**
     * @dev Constructor that gives msg.sender all of existing tokens.
     */
    constructor() {
        balanceOf[msg.sender] = totalSupply;
    }

     /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address _to, uint256 _value)
        public
        returns (bool success)
    {
        require(balanceOf[msg.sender] >= _value);
        balanceOf[msg.sender] -= _value;
        balanceOf[_to] += _value;
        emit Transfer(msg.sender, _to, _value);
        return true;
    }
    
     /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */

    function approve(address _spender, uint256 _value)
        public
        returns (bool success)
    {
        allowance[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address _from,
        address _to,
        uint256 _value
    ) public returns (bool success) {
        require(_value <= balanceOf[_from]);
        require(_value <= allowance[_from][msg.sender]);
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        allowance[_from][msg.sender] -= _value;
        emit Transfer(_from, _to, _value);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"_spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60c06040526008608081905267086ded2dc409ac2f60c31b60a09081526100299160009190610097565b50604080518082019091526004808252630869a82b60e31b602090920191825261005591600191610097565b506a52b7d2dcc80cd2e40000006002556003805460ff1916600717905534801561007e57600080fd5b506002543360009081526004602052604090205561016b565b8280546100a390610130565b90600052602060002090601f0160209004810192826100c5576000855561010b565b82601f106100de57805160ff191683800117855561010b565b8280016001018555821561010b579182015b8281111561010b5782518255916020019190600101906100f0565b5061011792915061011b565b5090565b5b80821115610117576000815560010161011c565b600181811c9082168061014457607f821691505b6020821081141561016557634e487b7160e01b600052602260045260246000fd5b50919050565b6106558061017a6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061054c565b60405180910390f35b6100c96100c4366004610523565b610216565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe3660046104e8565b610282565b6003546101109060ff1681565b60405160ff90911681526020016100ad565b6100e2610130366004610495565b60046020526000908152604090205481565b6100a06103c2565b6100c9610158366004610523565b6103cf565b6100e261016b3660046104b6565b600560209081526000928352604080842090915290825290205481565b60008054610195906105ce565b80601f01602080910402602001604051908101604052809291908181526020018280546101c1906105ce565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600460205260408120548211156102a757600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102d757600080fd5b6001600160a01b038416600090815260046020526040812080548492906102ff9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061032c90849061059f565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103649084906105b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103b091815260200190565b60405180910390a35060019392505050565b60018054610195906105ce565b336000908152600460205260408120548211156103eb57600080fd5b336000908152600460205260408120805484929061040a9084906105b7565b90915550506001600160a01b0383166000908152600460205260408120805484929061043790849061059f565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b80356001600160a01b038116811461049057600080fd5b919050565b6000602082840312156104a6578081fd5b6104af82610479565b9392505050565b600080604083850312156104c8578081fd5b6104d183610479565b91506104df60208401610479565b90509250929050565b6000806000606084860312156104fc578081fd5b61050584610479565b925061051360208501610479565b9150604084013590509250925092565b60008060408385031215610535578182fd5b61053e83610479565b946020939093013593505050565b6000602080835283518082850152825b818110156105785785810183015185820160400152820161055c565b818111156105895783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156105b2576105b2610609565b500190565b6000828210156105c9576105c9610609565b500390565b600181811c908216806105e257607f821691505b6020821081141561060357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122036024c3f4136635440852e9fe03d3ac370dd260a742dd2d4c30ceef14b07637464736f6c63430008040033

Deployed ByteCode Sourcemap

418:3244:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;451:31;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2673:239;;;;;;:::i;:::-;;:::i;:::-;;;1445:14:1;;1438:22;1420:41;;1408:2;1393:18;2673:239:0;1375:92:1;525:56:0;;;;;;;;;2226:25:1;;;2214:2;2199:18;525:56:0;2181:76:1;3230:429:0;;;;;;:::i;:::-;;:::i;608:25::-;;;;;;;;;;;;2434:4:1;2422:17;;;2404:36;;2392:2;2377:18;608:25:0;2359:87:1;1179:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;489:29;;;:::i;1690:307::-;;;;;;:::i;:::-;;:::i;1230:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;451:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2673:239::-;2798:10;2758:12;2788:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2788:31:0;;;;;;;;;;:40;;;2844:38;2758:12;;2788:31;;2844:38;;;;2822:6;2226:25:1;;2214:2;2199:18;;2181:76;2844:38:0;;;;;;;;-1:-1:-1;2900:4:0;2673:239;;;;:::o;3230:429::-;-1:-1:-1;;;;;3389:16:0;;3346:12;3389:16;;;:9;:16;;;;;;3379:26;;;3371:35;;;;;;-1:-1:-1;;;;;3435:16:0;;;;;;:9;:16;;;;;;;;3452:10;3435:28;;;;;;;;3425:38;;;3417:47;;;;;;-1:-1:-1;;;;;3475:16:0;;;;;;:9;:16;;;;;:26;;3495:6;;3475:16;:26;;3495:6;;3475:26;:::i;:::-;;;;-1:-1:-1;;;;;;;3512:14:0;;;;;;:9;:14;;;;;:24;;3530:6;;3512:14;:24;;3530:6;;3512:24;:::i;:::-;;;;-1:-1:-1;;;;;;;3547:16:0;;;;;;:9;:16;;;;;;;;3564:10;3547:28;;;;;;;:38;;3579:6;;3547:16;:38;;3579:6;;3547:38;:::i;:::-;;;;;;;;3617:3;-1:-1:-1;;;;;3601:28:0;3610:5;-1:-1:-1;;;;;3601:28:0;;3622:6;3601:28;;;;2226:25:1;;2214:2;2199:18;;2181:76;3601:28:0;;;;;;;;-1:-1:-1;3647:4:0;3230:429;;;;;:::o;489:29::-;;;;;;;:::i;1690:307::-;1819:10;1771:12;1809:21;;;:9;:21;;;;;;:31;-1:-1:-1;1809:31:0;1801:40;;;;;;1862:10;1852:21;;;;:9;:21;;;;;:31;;1877:6;;1852:21;:31;;1877:6;;1852:31;:::i;:::-;;;;-1:-1:-1;;;;;;;1894:14:0;;;;;;:9;:14;;;;;:24;;1912:6;;1894:14;:24;;1912:6;;1894:24;:::i;:::-;;;;-1:-1:-1;;1934:33:0;;2226:25:1;;;-1:-1:-1;;;;;1934:33:0;;;1943:10;;1934:33;;2214:2:1;2199:18;1934:33:0;2181:76:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1472:603::-;1584:4;1613:2;1642;1631:9;1624:21;1674:6;1668:13;1717:6;1712:2;1701:9;1697:18;1690:34;1742:4;1755:140;1769:6;1766:1;1763:13;1755:140;;;1864:14;;;1860:23;;1854:30;1830:17;;;1849:2;1826:26;1819:66;1784:10;;1755:140;;;1913:6;1910:1;1907:13;1904:2;;;1983:4;1978:2;1969:6;1958:9;1954:22;1950:31;1943:45;1904:2;-1:-1:-1;2059:2:1;2038:15;-1:-1:-1;;2034:29:1;2019:45;;;;2066:2;2015:54;;1593:482;-1:-1:-1;;;1593:482:1:o;2451:128::-;2491:3;2522:1;2518:6;2515:1;2512:13;2509:2;;;2528:18;;:::i;:::-;-1:-1:-1;2564:9:1;;2499:80::o;2584:125::-;2624:4;2652:1;2649;2646:8;2643:2;;;2657:18;;:::i;:::-;-1:-1:-1;2694:9:1;;2633:76::o;2714:380::-;2793:1;2789:12;;;;2836;;;2857:2;;2911:4;2903:6;2899:17;2889:27;;2857:2;2964;2956:6;2953:14;2933:18;2930:38;2927:2;;;3010:10;3005:3;3001:20;2998:1;2991:31;3045:4;3042:1;3035:15;3073:4;3070:1;3063:15;2927:2;;2769:325;;;:::o;3099:127::-;3160:10;3155:3;3151:20;3148:1;3141:31;3191:4;3188:1;3181:15;3215:4;3212:1;3205:15

Swarm Source

ipfs://36024c3f4136635440852e9fe03d3ac370dd260a742dd2d4c30ceef14b076374
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.