ETH Price: $2,484.88 (-0.58%)

Token

Non-Fungible Token series (NFTs)
 

Overview

Max Total Supply

100,000,000,000 NFTs

Holders

8,520

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
100,000 NFTs

Value
$0.00
0x000bc88baaadad1c23803678fadd0fdf868b95c1
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TokenERC20

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-03-20
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.4.22 <0.7.0;

contract TokenERC20 {
    string public name;
    string public symbol;
    uint8 public decimals = 18;  
    uint256 public totalSupply;


    mapping (address => uint256) public balanceOf;

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


    event Transfer(address indexed from, address indexed to, uint256 value);


    event Burn(address indexed from, uint256 value);


    constructor(uint256 initialSupply, string memory tokenName, string memory tokenSymbol) public {
        totalSupply = initialSupply * 10 ** uint256(decimals);  
        balanceOf[msg.sender] = totalSupply;                
        name = tokenName;
        symbol = tokenSymbol;
    }


    function _transfer(address _from, address _to, uint _value) internal {

        require(_to != address(0x0));

        require(balanceOf[_from] >= _value);

        require(balanceOf[_to] + _value > balanceOf[_to]);


        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        // Subtract from the sender
        balanceOf[_from] -= _value;
        // Add the same to the recipient
        balanceOf[_to] += _value;
        emit Transfer(_from, _to, _value);

      
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }


    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

   
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);     // Check allowance
        allowance[_from][msg.sender] -= _value;
        
        _transfer(_from, _to, _value);
        return true;
    }

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

    

    function burn(uint256 _value) public returns (bool success) {
        require(balanceOf[msg.sender] >= _value);   // Check if the sender has enough
        balanceOf[msg.sender] -= _value;            // Subtract from the sender
        totalSupply -= _value;                      // Updates totalSupply
        emit Burn(msg.sender, _value);
        return true;
    }


    function burnFrom(address _from, uint256 _value) public returns (bool success) {
        require(balanceOf[_from] >= _value);                // Check if the targeted balance is enough
        require(_value <= allowance[_from][msg.sender]);    // Check allowance
        balanceOf[_from] -= _value;                         // Subtract from the targeted balance
        allowance[_from][msg.sender] -= _value;             // Subtract from the sender's allowance
        totalSupply -= _value;                              // Update totalSupply
        emit Burn(_from, _value);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Burn","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":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","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":[],"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"}]

60806040526002805460ff1916601217905534801561001d57600080fd5b506040516109973803806109978339818101604052606081101561004057600080fd5b81516020830180516040519294929383019291908464010000000082111561006757600080fd5b90830190602082018581111561007c57600080fd5b825164010000000081118282018810171561009657600080fd5b82525081516020918201929091019080838360005b838110156100c35781810151838201526020016100ab565b50505050905090810190601f1680156100f05780820380516001836020036101000a031916815260200191505b506040526020018051604051939291908464010000000082111561011357600080fd5b90830190602082018581111561012857600080fd5b825164010000000081118282018810171561014257600080fd5b82525081516020918201929091019080838360005b8381101561016f578181015183820152602001610157565b50505050905090810190601f16801561019c5780820380516001836020036101000a031916815260200191505b50604090815260025460ff16600a0a87026003819055336000908152600460209081529281209190915586516101da955090935090860191506101f7565b5080516101ee9060019060208401906101f7565b5050505061028a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061023857805160ff1916838001178555610265565b82800160010185558215610265579182015b8281111561026557825182559160200191906001019061024a565b50610271929150610275565b5090565b5b808211156102715760008155600101610276565b6106fe806102996000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806342966c681161007157806342966c68146101d957806370a08231146101f657806379cc67901461021c57806395d89b4114610248578063a9059cbb14610250578063dd62ed3e1461027e576100a9565b806306fdde03146100ae578063095ea7b31461012b57806318160ddd1461016b57806323b872dd14610185578063313ce567146101bb575b600080fd5b6100b66102ac565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f05781810151838201526020016100d8565b50505050905090810190601f16801561011d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101576004803603604081101561014157600080fd5b506001600160a01b03813516906020013561033a565b604080519115158252519081900360200190f35b610173610367565b60408051918252519081900360200190f35b6101576004803603606081101561019b57600080fd5b506001600160a01b0381358116916020810135909116906040013561036d565b6101c36103dc565b6040805160ff9092168252519081900360200190f35b610157600480360360208110156101ef57600080fd5b50356103e5565b6101736004803603602081101561020c57600080fd5b50356001600160a01b031661045d565b6101576004803603604081101561023257600080fd5b506001600160a01b03813516906020013561046f565b6100b6610540565b61027c6004803603604081101561026657600080fd5b506001600160a01b03813516906020013561059a565b005b6101736004803603604081101561029457600080fd5b506001600160a01b03813581169160200135166105a9565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103325780601f1061030757610100808354040283529160200191610332565b820191906000526020600020905b81548152906001019060200180831161031557829003601f168201915b505050505081565b3360009081526005602090815260408083206001600160a01b039590951683529390529190912055600190565b60035481565b6001600160a01b038316600090815260056020908152604080832033845290915281205482111561039d57600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020805483900390556103d28484846105c6565b5060019392505050565b60025460ff1681565b3360009081526004602052604081205482111561040157600080fd5b3360008181526004602090815260409182902080548690039055600380548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a2506001919050565b60046020526000908152604090205481565b6001600160a01b03821660009081526004602052604081205482111561049457600080fd5b6001600160a01b03831660009081526005602090815260408083203384529091529020548211156104c457600080fd5b6001600160a01b0383166000818152600460209081526040808320805487900390556005825280832033845282529182902080548690039055600380548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a250600192915050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103325780601f1061030757610100808354040283529160200191610332565b6105a53383836105c6565b5050565b600560209081526000928352604080842090915290825290205481565b6001600160a01b0382166105d957600080fd5b6001600160a01b0383166000908152600460205260409020548111156105fe57600080fd5b6001600160a01b0382166000908152600460205260409020548181011161062457600080fd5b6001600160a01b038083166000818152600460209081526040808320805495891680855282852080548981039091559486905281548801909155815187815291519390950194927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a36001600160a01b038084166000908152600460205260408082205492871682529020540181146106c257fe5b5050505056fea2646970667358221220b57b72e3a46fc3c386ade78064301234b03f517ad0afb87d200817196be3565064736f6c634300060c0033000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000194e6f6e2d46756e6769626c6520546f6b656e207365726965730000000000000000000000000000000000000000000000000000000000000000000000000000044e46547300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c806342966c681161007157806342966c68146101d957806370a08231146101f657806379cc67901461021c57806395d89b4114610248578063a9059cbb14610250578063dd62ed3e1461027e576100a9565b806306fdde03146100ae578063095ea7b31461012b57806318160ddd1461016b57806323b872dd14610185578063313ce567146101bb575b600080fd5b6100b66102ac565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f05781810151838201526020016100d8565b50505050905090810190601f16801561011d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101576004803603604081101561014157600080fd5b506001600160a01b03813516906020013561033a565b604080519115158252519081900360200190f35b610173610367565b60408051918252519081900360200190f35b6101576004803603606081101561019b57600080fd5b506001600160a01b0381358116916020810135909116906040013561036d565b6101c36103dc565b6040805160ff9092168252519081900360200190f35b610157600480360360208110156101ef57600080fd5b50356103e5565b6101736004803603602081101561020c57600080fd5b50356001600160a01b031661045d565b6101576004803603604081101561023257600080fd5b506001600160a01b03813516906020013561046f565b6100b6610540565b61027c6004803603604081101561026657600080fd5b506001600160a01b03813516906020013561059a565b005b6101736004803603604081101561029457600080fd5b506001600160a01b03813581169160200135166105a9565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103325780601f1061030757610100808354040283529160200191610332565b820191906000526020600020905b81548152906001019060200180831161031557829003601f168201915b505050505081565b3360009081526005602090815260408083206001600160a01b039590951683529390529190912055600190565b60035481565b6001600160a01b038316600090815260056020908152604080832033845290915281205482111561039d57600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020805483900390556103d28484846105c6565b5060019392505050565b60025460ff1681565b3360009081526004602052604081205482111561040157600080fd5b3360008181526004602090815260409182902080548690039055600380548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a2506001919050565b60046020526000908152604090205481565b6001600160a01b03821660009081526004602052604081205482111561049457600080fd5b6001600160a01b03831660009081526005602090815260408083203384529091529020548211156104c457600080fd5b6001600160a01b0383166000818152600460209081526040808320805487900390556005825280832033845282529182902080548690039055600380548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a250600192915050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103325780601f1061030757610100808354040283529160200191610332565b6105a53383836105c6565b5050565b600560209081526000928352604080842090915290825290205481565b6001600160a01b0382166105d957600080fd5b6001600160a01b0383166000908152600460205260409020548111156105fe57600080fd5b6001600160a01b0382166000908152600460205260409020548181011161062457600080fd5b6001600160a01b038083166000818152600460209081526040808320805495891680855282852080548981039091559486905281548801909155815187815291519390950194927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a36001600160a01b038084166000908152600460205260408082205492871682529020540181146106c257fe5b5050505056fea2646970667358221220b57b72e3a46fc3c386ade78064301234b03f517ad0afb87d200817196be3565064736f6c634300060c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000194e6f6e2d46756e6769626c6520546f6b656e207365726965730000000000000000000000000000000000000000000000000000000000000000000000000000044e46547300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 100000000000
Arg [1] : tokenName (string): Non-Fungible Token series
Arg [2] : tokenSymbol (string): NFTs

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000174876e800
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [4] : 4e6f6e2d46756e6769626c6520546f6b656e2073657269657300000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4e46547300000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

71:2922:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1817:162;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1817:162:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;185:26;;;:::i;:::-;;;;;;;;;;;;;;;;1498:306;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1498:306:0;;;;;;;;;;;;;;;;;:::i;150:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1995:374;;;;;;;;;;;;;;;;-1:-1:-1;1995:374:0;;:::i;222:45::-;;;;;;;;;;;;;;;;-1:-1:-1;222:45:0;-1:-1:-1;;;;;222:45:0;;:::i;2379:611::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2379:611:0;;;;;;;;:::i;123:20::-;;;:::i;1378:107::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1378:107:0;;;;;;;;:::i;:::-;;276:66;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;276:66:0;;;;;;;;;;:::i;98:18::-;;;;;;;;;;;;;;;-1:-1:-1;;98:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1817:162::-;1919:10;1884:12;1909:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1909:31:0;;;;;;;;;;;;;:40;1967:4;;1817:162::o;185:26::-;;;;:::o;1498:306::-;-1:-1:-1;;;;;1623:16:0;;1580:12;1623:16;;;:9;:16;;;;;;;;1640:10;1623:28;;;;;;;;1613:38;;;1605:47;;;;;;-1:-1:-1;;;;;1686:16:0;;;;;;:9;:16;;;;;;;;1703:10;1686:28;;;;;;;:38;;;;;;;1745:29;1696:5;1762:3;1718:6;1745:9;:29::i;:::-;-1:-1:-1;1792:4:0;1498:306;;;;;:::o;150:26::-;;;;;;:::o;1995:374::-;2084:10;2041:12;2074:21;;;:9;:21;;;;;;:31;-1:-1:-1;2074:31:0;2066:40;;;;;;2163:10;2153:21;;;;:9;:21;;;;;;;;;:31;;;;;;;2234:11;:21;;;;;;;2315:24;;;;;;;;;;;;;;;;;-1:-1:-1;2357:4:0;1995:374;;;:::o;222:45::-;;;;;;;;;;;;;:::o;2379:611::-;-1:-1:-1;;;;;2477:16:0;;2444:12;2477:16;;;:9;:16;;;;;;:26;-1:-1:-1;2477:26:0;2469:35;;;;;;-1:-1:-1;;;;;2591:16:0;;;;;;:9;:16;;;;;;;;2608:10;2591:28;;;;;;;;2581:38;;;2573:47;;;;;;-1:-1:-1;;;;;2653:16:0;;;;;;:9;:16;;;;;;;;:26;;;;;;;2752:9;:16;;;;;2769:10;2752:28;;;;;;;;:38;;;;;;;2853:11;:21;;;;;;;2941:19;;;;;;;;;;;;;;;;;-1:-1:-1;2978:4:0;2379:611;;;;:::o;123:20::-;;;;;;;;;;;;;;;-1:-1:-1;;123:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1378:107;1443:34;1453:10;1465:3;1470:6;1443:9;:34::i;:::-;1378:107;;:::o;276:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;791:577::-;-1:-1:-1;;;;;881:19:0;;873:28;;;;;;-1:-1:-1;;;;;922:16:0;;;;;;:9;:16;;;;;;:26;-1:-1:-1;922:26:0;914:35;;;;;;-1:-1:-1;;;;;996:14:0;;;;;;:9;:14;;;;;;970:23;;;:40;962:49;;;;;;-1:-1:-1;;;;;1069:14:0;;;1026:21;1069:14;;;:9;:14;;;;;;;;;;1050:16;;;;;;;;;;;1131:26;;;;;;1210:14;;;;:24;;;;;;;1250:28;;;;;;;1050:33;;;;;:16;1250:28;;;;;;;;;;;-1:-1:-1;;;;;1325:14:0;;;;;;;:9;:14;;;;;;;1306:16;;;;;;;;:33;:53;;1299:61;;;;791:577;;;;:::o

Swarm Source

ipfs://b57b72e3a46fc3c386ade78064301234b03f517ad0afb87d200817196be35650
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.