Overview
S Balance
0 S
S Value
-More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Contract Name:
Dummies
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; contract Dummies { string public name = "Dummies"; string public symbol = "dum$"; uint8 public decimals = 18; uint256 public totalSupply = 1000000 * 10 ** 18; 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() { balanceOf[0x061117bBCeb190f32D52487A391c956F4E9Da459] = 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(allowance[from][msg.sender] >= amount, "Insufficient allowance"); require(balanceOf[from] >= amount, "Insufficient balance"); balanceOf[from] -= amount; balanceOf[to] += amount; allowance[from][msg.sender] -= amount; emit Transfer(from, to, amount); return true; } }
{ "metadata": { "appendCBOR": true, "bytecodeHash": "ipfs", "useLiteralContent": false }, "optimizer": { "enabled": true, "runs": 1000000 }, "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
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
6080604052346100f557600061001581546100fa565b601f81116100cb575b50600e6644756d6d69657360c81b0181556001805461003c906100fa565b601f811161009f575b50600863191d5b4960e21b019055601260ff196002541617600255604069d3c21bcecceda1000000918260035573061117bbceb190f32d52487a391c956f4e9da45981526004602052205560405161097690816101358239f35b81835281601f60208520920160051c8201915b8281106100c0575050610045565b8481550182906100b2565b818052601f60208320910160051c8101905b8181106100ea575061001e565b8281556001016100dd565b600080fd5b90600182811c9216801561012a575b602083101461011457565b634e487b7160e01b600052602260045260246000fd5b91607f169161010956fe608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde03146106a557508163095ea7b31461060857816318160ddd146105cb57816323b872dd14610461578163313ce5671461042157816370a08231146103c057816395d89b41146101c9578163a9059cbb146100fe575063dd62ed3e1461008857600080fd5b346100fa57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa57806020926100c2610847565b6100ca61086f565b73ffffffffffffffffffffffffffffffffffffffff91821683526005865283832091168252845220549051908152f35b5080fd5b9050346101c557817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c5576020928261013a610847565b9173ffffffffffffffffffffffffffffffffffffffff6024359333835285885261016985858520541015610892565b33835285885283832061017d8682546108f7565b90551693848252865220610192828254610933565b905582519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef843392a35160018152f35b8280fd5b8383346100fa57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa5780519082600180549081811c908083169283156103b6575b602093848410811461038a57838852879594939291811561032f57506001146102b3575b50505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff84118385101761028757508291826102839252826107e1565b0390f35b806041867f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b8088529193925086917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b82841061031957505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f92820101918193610235565b80548885018701528794509285019281016102de565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016848701525050151560051b830101905081601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0610235565b60248960228c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b91607f1691610211565b9050346101c55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c557602092829173ffffffffffffffffffffffffffffffffffffffff610413610847565b168252845220549051908152f35b5050346100fa57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa5760209060ff600254169051908152f35b9050346101c55760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c55761049a610847565b6104a261086f565b936044359073ffffffffffffffffffffffffffffffffffffffff8093169283825260209660058852868320338452885283878420541061056f57827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef94928892878b965288865261051885858520541015610892565b87835288865283832061052c8682546108f7565b905516968782528452818120610543848254610933565b9055858152600584528181203382528452206105608282546108f7565b90558551908152a35160018152f35b606486898951917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601660248201527f496e73756666696369656e7420616c6c6f77616e6365000000000000000000006044820152fd5b5050346100fa57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa576020906003549051908152f35b5050346100fa57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa5760209181610644610847565b916024359182913381526005875273ffffffffffffffffffffffffffffffffffffffff8282209516948582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b849084346101c557827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c557828354600181811c908083169283156107d7575b602093848410811461038a57838852879594939291811561032f575060011461075b5750505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff84118385101761028757508291826102839252826107e1565b8780529193925086917f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8284106107c157505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f92820101918193610235565b8054888501870152879450928501928101610786565b91607f16916106ea565b60208082528251818301819052939260005b858110610833575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b8181018301518482016040015282016107f3565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361086a57565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361086a57565b1561089957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b9190820391821161090457565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b919082018092116109045756fea2646970667358221220d85eb492b3983a8bd33f358c3367d369cb57df1766b926f13e0307f4f8e83da764736f6c63430008130033
Deployed Bytecode
0x608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde03146106a557508163095ea7b31461060857816318160ddd146105cb57816323b872dd14610461578163313ce5671461042157816370a08231146103c057816395d89b41146101c9578163a9059cbb146100fe575063dd62ed3e1461008857600080fd5b346100fa57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa57806020926100c2610847565b6100ca61086f565b73ffffffffffffffffffffffffffffffffffffffff91821683526005865283832091168252845220549051908152f35b5080fd5b9050346101c557817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c5576020928261013a610847565b9173ffffffffffffffffffffffffffffffffffffffff6024359333835285885261016985858520541015610892565b33835285885283832061017d8682546108f7565b90551693848252865220610192828254610933565b905582519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef843392a35160018152f35b8280fd5b8383346100fa57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa5780519082600180549081811c908083169283156103b6575b602093848410811461038a57838852879594939291811561032f57506001146102b3575b50505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff84118385101761028757508291826102839252826107e1565b0390f35b806041867f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b8088529193925086917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b82841061031957505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f92820101918193610235565b80548885018701528794509285019281016102de565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016848701525050151560051b830101905081601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0610235565b60248960228c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b91607f1691610211565b9050346101c55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c557602092829173ffffffffffffffffffffffffffffffffffffffff610413610847565b168252845220549051908152f35b5050346100fa57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa5760209060ff600254169051908152f35b9050346101c55760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c55761049a610847565b6104a261086f565b936044359073ffffffffffffffffffffffffffffffffffffffff8093169283825260209660058852868320338452885283878420541061056f57827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef94928892878b965288865261051885858520541015610892565b87835288865283832061052c8682546108f7565b905516968782528452818120610543848254610933565b9055858152600584528181203382528452206105608282546108f7565b90558551908152a35160018152f35b606486898951917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601660248201527f496e73756666696369656e7420616c6c6f77616e6365000000000000000000006044820152fd5b5050346100fa57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa576020906003549051908152f35b5050346100fa57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100fa5760209181610644610847565b916024359182913381526005875273ffffffffffffffffffffffffffffffffffffffff8282209516948582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b849084346101c557827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101c557828354600181811c908083169283156107d7575b602093848410811461038a57838852879594939291811561032f575060011461075b5750505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff84118385101761028757508291826102839252826107e1565b8780529193925086917f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8284106107c157505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f92820101918193610235565b8054888501870152879450928501928101610786565b91607f16916106ea565b60208082528251818301819052939260005b858110610833575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b8181018301518482016040015282016107f3565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361086a57565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361086a57565b1561089957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b9190820391821161090457565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b919082018092116109045756fea2646970667358221220d85eb492b3983a8bd33f358c3367d369cb57df1766b926f13e0307f4f8e83da764736f6c63430008130033
Deployed Bytecode Sourcemap
59:1525:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;294:64;59:1525;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;732:10;;59:1525;;;;;714:64;59:1525;;;;;722:31;;714:64;:::i;:::-;732:10;59:1525;;;;;;;;789:31;59:1525;;;789:31;:::i;:::-;59:1525;;;;;;;;;;831:23;59:1525;;;831:23;:::i;:::-;59:1525;;;;;;;870:32;732:10;;870:32;;59:1525;;;;;;;;;;;;;;;;;;;;;;;;;;120:29;59:1525;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;59:1525:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59:1525:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59:1525:0;;;;;;;;;;;;;;;-1:-1:-1;;59:1525:0;;;;;;;;-1:-1:-1;59:1525:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;156:26;59:1525;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;1258:9;59:1525;;;;;1274:10;59:1525;;;;;;;;;1258:37;59:1525;;;1525:26;59:1525;;;;;;;;;;;1333:58;59:1525;;;;;1341:25;;1333:58;:::i;:::-;59:1525;;;;;;;;;1402:25;59:1525;;;1402:25;:::i;:::-;59:1525;;;;;;;;;;;;1438:23;59:1525;;;1438:23;:::i;:::-;59:1525;;;;;1258:9;59:1525;;;;;1274:10;59:1525;;;;;1472:37;59:1525;;;1472:37;:::i;:::-;59:1525;;;;;;;1525:26;59:1525;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;189:47;59:1525;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;1033:10;;;;59:1525;;1023:9;59:1525;;;;;;;;;;;;;;;;;;;;;1078:37;1033:10;;1078:37;;59:1525;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;59:1525:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;59:1525:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59:1525:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59:1525:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://d85eb492b3983a8bd33f358c3367d369cb57df1766b926f13e0307f4f8e83da7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.