ERC-20
Overview
Max Total Supply
1,000,000,000 Teddy
Holders
11
Market
Price
-
Onchain Market Cap
-
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
26,956.872121614073400344 TeddyValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xB4cEeD12...6D21762bB The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Token
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.19; interface IMemeboxTokenFactory { function getInitializable() external view returns (string memory, string memory, uint8, uint256); } contract Token { string public name; string public symbol; uint8 public decimals; 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 Approval(address indexed owner, address indexed spender, uint256 value); constructor() { (name, symbol, decimals, totalSupply) = IMemeboxTokenFactory(msg.sender).getInitializable(); balanceOf[msg.sender] = totalSupply; emit Transfer(address(0), msg.sender, totalSupply); } function transfer(address to, uint256 amount) external returns (bool) { require(balanceOf[msg.sender] >= amount, "Insufficient balance"); balanceOf[msg.sender] -= amount; balanceOf[to] += amount; emit Transfer(msg.sender, to, amount); return true; } function approve(address spender, uint256 amount) external returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transferFrom(address from, address to, uint256 amount) external returns (bool) { require(balanceOf[from] >= amount, "Insufficient balance"); require(allowance[from][msg.sender] >= amount, "Insufficient allowance"); balanceOf[from] -= amount; balanceOf[to] += amount; allowance[from][msg.sender] -= amount; emit Transfer(from, to, amount); return true; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "none" }, "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604081815234620003c45763eb13c4cf60e01b82526004600080848381335afa938415620003b85781948291839084926200032e575b5060ff9060039283551660ff19600254161760025581519560018060401b03968781116200031b576001918254918383811c931695861562000310575b60209687851014620002fd578190601f94858111620002aa575b508790858311600114620002475789926200023b575b505060001982871b1c191690841b1783555b8051988911620002285785548381811c911680156200021d575b868210146200020a57828111620001c2575b50849189116001146200014f5797809281928798999a60008051602062000ae6833981519152989462000143575b50501b9160001990841b1c19161784555b54933384528152838584205584519384523393a35161066b90816200047b8239f35b01519250388062000110565b858052848620909891601f198316875b818110620001ac5750998360008051602062000ae683398151915298999a9b1062000193575b505050811b01845562000121565b015160001983861b60f8161c1916905538808062000185565b8b8301518455928501929187019187016200015f565b86805285872083808c0160051c820192888d1062000200575b0160051c019084905b828110620001f4575050620000e2565b888155018490620001e4565b92508192620001db565b634e487b7160e01b875260228852602487fd5b90607f1690620000d0565b634e487b7160e01b865260418752602486fd5b015190503880620000a4565b868a52888a208794509190601f1984168b5b8b8282106200029357505084116200027a575b505050811b018355620000b6565b015160001983891b60f8161c191690553880806200026c565b8385015186558a9790950194938401930162000259565b9091508589528789208580850160051c8201928a8610620002f3575b918891869594930160051c01915b828110620002e45750506200008e565b8b8155859450889101620002d4565b92508192620002c6565b634e487b7160e01b885260228952602488fd5b92607f169262000074565b634e487b7160e01b855260418652602485fd5b96505050503d8082863e620003448186620003c9565b840193608081860312620003b45780516001600160401b039590868111620003b057816200037491840162000403565b956020830151908111620003b057906200039091830162000403565b94848201519160ff83168303620003b0576060015190959160ff62000037565b8380fd5b5080fd5b508251903d90823e3d90fd5b600080fd5b601f909101601f19168101906001600160401b03821190821017620003ed57604052565b634e487b7160e01b600052604160045260246000fd5b919080601f84011215620003c4578251906001600160401b038211620003ed57604051916020916200043f601f8301601f1916840185620003c9565b818452828287010111620003c45760005b8181106200046657508260009394955001015290565b85810183015184820184015282016200045056fe608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde031461049b57508163095ea7b31461042a57816318160ddd1461040b57816323b872dd146102ed578163313ce567146102cb57816370a082311461029557816395d89b4114610175578163a9059cbb146100d3575063dd62ed3e1461008857600080fd5b346100cf57806003193601126100cf57806020926100a46105ba565b6100ac6105d5565b6001600160a01b0391821683526005865283832091168252845220549051908152f35b5080fd5b905034610171578160031936011261017157602092826100f16105ba565b916024359233825284875261010b848484205410156105eb565b33825284875282822061011f85825461062e565b90556001600160a01b031680825293865220805461013e908390610651565b905582519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef843392a35160018152f35b8280fd5b8383346100cf57816003193601126100cf5780519082600180549081811c9080831692831561028b575b60209384841081146102785783885290811561025c5750600114610207575b505050829003601f01601f191682019267ffffffffffffffff8411838510176101f457508291826101f0925282610571565b0390f35b634e487b7160e01b815260418552602490fd5b8087529192508591837fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b83851061024857505050508301018580806101be565b805488860183015293019284908201610232565b60ff1916878501525050151560051b84010190508580806101be565b634e487b7160e01b895260228a52602489fd5b91607f169161019f565b9050346101715760203660031901126101715760209282916001600160a01b036102bd6105ba565b168252845220549051908152f35b5050346100cf57816003193601126100cf5760209060ff600254169051908152f35b905034610171576060366003190112610171576103086105ba565b6103106105d5565b936044359060018060a01b0380931692838252602096858852610338848885205410156105eb565b8483526005885286832033845288528387842054106103cf57827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef94928892878b965288865283832061038c86825461062e565b9055169687825284528181206103a3848254610651565b9055858152600584528181203382528452206103c082825461062e565b90558551908152a35160018152f35b865162461bcd60e51b81528087018990526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b6044820152606490fd5b5050346100cf57816003193601126100cf576020906003549051908152f35b5050346100cf57806003193601126100cf57602091816104486105ba565b91602435918291338152600587528181209460018060a01b0316948582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b84908434610171578260031936011261017157828354600181811c90808316928315610567575b60209384841081146102785783885290811561025c575060011461051257505050829003601f01601f191682019267ffffffffffffffff8411838510176101f457508291826101f0925282610571565b8680529192508591837f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b83851061055357505050508301018580806101be565b80548886018301529301928490820161053d565b91607f16916104c2565b6020808252825181830181905290939260005b8281106105a657505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610584565b600435906001600160a01b03821682036105d057565b600080fd5b602435906001600160a01b03821682036105d057565b156105f257565b60405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606490fd5b9190820391821161063b57565b634e487b7160e01b600052601160045260246000fd5b9190820180921161063b5756fea164736f6c6343000813000addf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde031461049b57508163095ea7b31461042a57816318160ddd1461040b57816323b872dd146102ed578163313ce567146102cb57816370a082311461029557816395d89b4114610175578163a9059cbb146100d3575063dd62ed3e1461008857600080fd5b346100cf57806003193601126100cf57806020926100a46105ba565b6100ac6105d5565b6001600160a01b0391821683526005865283832091168252845220549051908152f35b5080fd5b905034610171578160031936011261017157602092826100f16105ba565b916024359233825284875261010b848484205410156105eb565b33825284875282822061011f85825461062e565b90556001600160a01b031680825293865220805461013e908390610651565b905582519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef843392a35160018152f35b8280fd5b8383346100cf57816003193601126100cf5780519082600180549081811c9080831692831561028b575b60209384841081146102785783885290811561025c5750600114610207575b505050829003601f01601f191682019267ffffffffffffffff8411838510176101f457508291826101f0925282610571565b0390f35b634e487b7160e01b815260418552602490fd5b8087529192508591837fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b83851061024857505050508301018580806101be565b805488860183015293019284908201610232565b60ff1916878501525050151560051b84010190508580806101be565b634e487b7160e01b895260228a52602489fd5b91607f169161019f565b9050346101715760203660031901126101715760209282916001600160a01b036102bd6105ba565b168252845220549051908152f35b5050346100cf57816003193601126100cf5760209060ff600254169051908152f35b905034610171576060366003190112610171576103086105ba565b6103106105d5565b936044359060018060a01b0380931692838252602096858852610338848885205410156105eb565b8483526005885286832033845288528387842054106103cf57827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef94928892878b965288865283832061038c86825461062e565b9055169687825284528181206103a3848254610651565b9055858152600584528181203382528452206103c082825461062e565b90558551908152a35160018152f35b865162461bcd60e51b81528087018990526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b6044820152606490fd5b5050346100cf57816003193601126100cf576020906003549051908152f35b5050346100cf57806003193601126100cf57602091816104486105ba565b91602435918291338152600587528181209460018060a01b0316948582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b84908434610171578260031936011261017157828354600181811c90808316928315610567575b60209384841081146102785783885290811561025c575060011461051257505050829003601f01601f191682019267ffffffffffffffff8411838510176101f457508291826101f0925282610571565b8680529192508591837f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b83851061055357505050508301018580806101be565b80548886018301529301928490820161053d565b91607f16916104c2565b6020808252825181830181905290939260005b8281106105a657505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610584565b600435906001600160a01b03821682036105d057565b600080fd5b602435906001600160a01b03821682036105d057565b156105f257565b60405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606490fd5b9190820391821161063b57565b634e487b7160e01b600052601160045260246000fd5b9190820180921161063b5756fea164736f6c6343000813000a
[ 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.