Token
FROGS (FROGS)
ERC-20
Overview
Max Total Supply
110,100,202,000 FROGS
Holders
12
Market
Price
-
Onchain Market Cap
-
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
82.583400383734604192 FROGSLoading...
Loading
Loading...
Loading
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xa583f767...D0652cc77 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TToken
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >= 0.6.0 <= 0.8.4; contract TToken { string private _name; string private _symbol; uint8 private _decimals; address private _owner; uint internal _totalSupply; mapping(address => uint) private _balance; mapping(address => mapping(address => uint)) private _allowance; modifier _onlyOwner_() { require(msg.sender == _owner, "ERR_NOT_OWNER"); _; } event Approval(address indexed src, address indexed dst, uint amt); event Transfer(address indexed src, address indexed dst, uint amt); // Math function add(uint a, uint b) internal pure returns (uint c) { require((c = a + b) >= a); } function sub(uint a, uint b) internal pure returns (uint c) { require((c = a - b) <= a); } constructor( string memory name, string memory symbol, uint8 decimals ) public { _name = name; _symbol = symbol; _decimals = decimals; _owner = msg.sender; } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function _move(address src, address dst, uint amt) internal { require(_balance[src] >= amt, "!bal"); _balance[src] = sub(_balance[src], amt); _balance[dst] = add(_balance[dst], amt); emit Transfer(src, dst, amt); } function _push(address to, uint amt) internal { _move(address(this), to, amt); } function _pull(address from, uint amt) internal { _move(from, address(this), amt); } function _mint(address dst, uint amt) internal { _balance[dst] = add(_balance[dst], amt); _totalSupply = add(_totalSupply, amt); emit Transfer(address(0), dst, amt); } function allowance(address src, address dst) external view returns (uint) { return _allowance[src][dst]; } function balanceOf(address whom) external view returns (uint) { return _balance[whom]; } function totalSupply() public view returns (uint) { return _totalSupply; } function approve(address dst, uint amt) external returns (bool) { _allowance[msg.sender][dst] = amt; emit Approval(msg.sender, dst, amt); return true; } function mint(address dst, uint256 amt) public returns (bool) { _mint(dst, amt); return true; } function burn(uint amt) public returns (bool) { require(_balance[address(this)] >= amt, "!bal"); _balance[address(this)] = sub(_balance[address(this)], amt); _totalSupply = sub(_totalSupply, amt); emit Transfer(address(this), address(0), amt); return true; } function transfer(address dst, uint amt) external returns (bool) { _move(msg.sender, dst, amt); return true; } function transferFrom(address src, address dst, uint amt) external returns (bool) { require(msg.sender == src || amt <= _allowance[src][msg.sender], "!spender"); _move(src, dst, amt); if (msg.sender != src && _allowance[src][msg.sender] != type(uint256).max) { _allowance[src][msg.sender] = sub(_allowance[src][msg.sender], amt); emit Approval(msg.sender, dst, _allowance[src][msg.sender]); } return true; } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 10000 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"whom","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162000dbe38038062000dbe8339810160408190526200003491620001df565b8251620000499060009060208601906200008e565b5081516200005f9060019060208501906200008e565b506002805460ff191660ff9290921691909117610100600160a81b031916610100330217905550620002b39050565b8280546200009c9062000260565b90600052602060002090601f016020900481019282620000c057600085556200010b565b82601f10620000db57805160ff19168380011785556200010b565b828001600101855582156200010b579182015b828111156200010b578251825591602001919060010190620000ee565b50620001199291506200011d565b5090565b5b808211156200011957600081556001016200011e565b600082601f83011262000145578081fd5b81516001600160401b03808211156200016257620001626200029d565b6040516020601f8401601f19168201810183811183821017156200018a576200018a6200029d565b6040528382528584018101871015620001a1578485fd5b8492505b83831015620001c45785830181015182840182015291820191620001a5565b83831115620001d557848185840101525b5095945050505050565b600080600060608486031215620001f4578283fd5b83516001600160401b03808211156200020b578485fd5b620002198783880162000134565b945060208601519150808211156200022f578384fd5b506200023e8682870162000134565b925050604084015160ff8116811462000255578182fd5b809150509250925092565b6002810460018216806200027557607f821691505b602082108114156200029757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b610afb80620002c36000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c806340c10f191161008157806395d89b411161005b57806395d89b4114610182578063a9059cbb1461018a578063dd62ed3e1461019d576100c9565b806340c10f191461014957806342966c681461015c57806370a082311461016f576100c9565b806318160ddd116100b257806318160ddd1461010c57806323b872dd14610121578063313ce56714610134576100c9565b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101b0565b6040516100e3919061091d565b60405180910390f35b6100ff6100fa3660046108d1565b610242565b6040516100e39190610912565b6101146102ba565b6040516100e391906109fc565b6100ff61012f366004610896565b6102c0565b61013c610492565b6040516100e39190610a05565b6100ff6101573660046108d1565b61049b565b6100ff61016a3660046108fa565b6104b0565b61011461017d366004610843565b610579565b6100d66105a1565b6100ff6101983660046108d1565b6105b0565b6101146101ab366004610864565b6105bd565b6060600080546101bf90610a42565b80601f01602080910402602001604051908101604052809291908181526020018280546101eb90610a42565b80156102385780601f1061020d57610100808354040283529160200191610238565b820191906000526020600020905b81548152906001019060200180831161021b57829003601f168201915b5050505050905090565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102a89086906109fc565b60405180910390a35060015b92915050565b60035490565b60003373ffffffffffffffffffffffffffffffffffffffff85161480610316575073ffffffffffffffffffffffffffffffffffffffff841660009081526005602090815260408083203384529091529020548211155b610355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034c9061098e565b60405180910390fd5b6103608484846105f5565b3373ffffffffffffffffffffffffffffffffffffffff8516148015906103d6575073ffffffffffffffffffffffffffffffffffffffff841660009081526005602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156104885773ffffffffffffffffffffffffffffffffffffffff84166000908152600560209081526040808320338452909152902054610416908361072c565b73ffffffffffffffffffffffffffffffffffffffff85811660009081526005602090815260408083203380855292529182902084905590519186169290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259161047f916109fc565b60405180910390a35b5060019392505050565b60025460ff1690565b60006104a78383610747565b50600192915050565b306000908152600460205260408120548211156104f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034c906109c5565b30600090815260046020526040902054610513908361072c565b30600090815260046020526040902055600354610530908361072c565b60035560405160009030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105689086906109fc565b60405180910390a35060015b919050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205490565b6060600180546101bf90610a42565b60006104a73384846105f5565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205490565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260046020526040902054811115610654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034c906109c5565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260046020526040902054610684908261072c565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526004602052604080822093909355908416815220546106c09082610804565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526004602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061071f9085906109fc565b60405180910390a3505050565b6000826107398382610a2b565b91508111156102b457600080fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600460205260409020546107779082610804565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600460205260409020556003546107aa9082610804565b60035560405173ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107f89085906109fc565b60405180910390a35050565b6000826108118382610a13565b91508110156102b457600080fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461057457600080fd5b600060208284031215610854578081fd5b61085d8261081f565b9392505050565b60008060408385031215610876578081fd5b61087f8361081f565b915061088d6020840161081f565b90509250929050565b6000806000606084860312156108aa578081fd5b6108b38461081f565b92506108c16020850161081f565b9150604084013590509250925092565b600080604083850312156108e3578182fd5b6108ec8361081f565b946020939093013593505050565b60006020828403121561090b578081fd5b5035919050565b901515815260200190565b6000602080835283518082850152825b818110156109495785810183015185820160400152820161092d565b8181111561095a5783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526008908201527f217370656e646572000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f2162616c00000000000000000000000000000000000000000000000000000000604082015260600190565b90815260200190565b60ff91909116815260200190565b60008219821115610a2657610a26610a96565b500190565b600082821015610a3d57610a3d610a96565b500390565b600281046001821680610a5657607f821691505b60208210811415610a90577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212203a4ab0c6ce3afda412b2aa7c75a493169d4c8c884ca910dd2f5b78953df03d4364736f6c63430008000033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000646524f4753500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000646524f4753500000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100c95760003560e01c806340c10f191161008157806395d89b411161005b57806395d89b4114610182578063a9059cbb1461018a578063dd62ed3e1461019d576100c9565b806340c10f191461014957806342966c681461015c57806370a082311461016f576100c9565b806318160ddd116100b257806318160ddd1461010c57806323b872dd14610121578063313ce56714610134576100c9565b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101b0565b6040516100e3919061091d565b60405180910390f35b6100ff6100fa3660046108d1565b610242565b6040516100e39190610912565b6101146102ba565b6040516100e391906109fc565b6100ff61012f366004610896565b6102c0565b61013c610492565b6040516100e39190610a05565b6100ff6101573660046108d1565b61049b565b6100ff61016a3660046108fa565b6104b0565b61011461017d366004610843565b610579565b6100d66105a1565b6100ff6101983660046108d1565b6105b0565b6101146101ab366004610864565b6105bd565b6060600080546101bf90610a42565b80601f01602080910402602001604051908101604052809291908181526020018280546101eb90610a42565b80156102385780601f1061020d57610100808354040283529160200191610238565b820191906000526020600020905b81548152906001019060200180831161021b57829003601f168201915b5050505050905090565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102a89086906109fc565b60405180910390a35060015b92915050565b60035490565b60003373ffffffffffffffffffffffffffffffffffffffff85161480610316575073ffffffffffffffffffffffffffffffffffffffff841660009081526005602090815260408083203384529091529020548211155b610355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034c9061098e565b60405180910390fd5b6103608484846105f5565b3373ffffffffffffffffffffffffffffffffffffffff8516148015906103d6575073ffffffffffffffffffffffffffffffffffffffff841660009081526005602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156104885773ffffffffffffffffffffffffffffffffffffffff84166000908152600560209081526040808320338452909152902054610416908361072c565b73ffffffffffffffffffffffffffffffffffffffff85811660009081526005602090815260408083203380855292529182902084905590519186169290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259161047f916109fc565b60405180910390a35b5060019392505050565b60025460ff1690565b60006104a78383610747565b50600192915050565b306000908152600460205260408120548211156104f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034c906109c5565b30600090815260046020526040902054610513908361072c565b30600090815260046020526040902055600354610530908361072c565b60035560405160009030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105689086906109fc565b60405180910390a35060015b919050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205490565b6060600180546101bf90610a42565b60006104a73384846105f5565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205490565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260046020526040902054811115610654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034c906109c5565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260046020526040902054610684908261072c565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526004602052604080822093909355908416815220546106c09082610804565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526004602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061071f9085906109fc565b60405180910390a3505050565b6000826107398382610a2b565b91508111156102b457600080fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600460205260409020546107779082610804565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600460205260409020556003546107aa9082610804565b60035560405173ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107f89085906109fc565b60405180910390a35050565b6000826108118382610a13565b91508110156102b457600080fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461057457600080fd5b600060208284031215610854578081fd5b61085d8261081f565b9392505050565b60008060408385031215610876578081fd5b61087f8361081f565b915061088d6020840161081f565b90509250929050565b6000806000606084860312156108aa578081fd5b6108b38461081f565b92506108c16020850161081f565b9150604084013590509250925092565b600080604083850312156108e3578182fd5b6108ec8361081f565b946020939093013593505050565b60006020828403121561090b578081fd5b5035919050565b901515815260200190565b6000602080835283518082850152825b818110156109495785810183015185820160400152820161092d565b8181111561095a5783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526008908201527f217370656e646572000000000000000000000000000000000000000000000000604082015260600190565b60208082526004908201527f2162616c00000000000000000000000000000000000000000000000000000000604082015260600190565b90815260200190565b60ff91909116815260200190565b60008219821115610a2657610a26610a96565b500190565b600082821015610a3d57610a3d610a96565b500390565b600281046001821680610a5657607f821691505b60208210811415610a90577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212203a4ab0c6ce3afda412b2aa7c75a493169d4c8c884ca910dd2f5b78953df03d4364736f6c63430008000033
[ 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.