Overview ERC20
PRICE
$0.0114738

ON-CHAIN MARKET CAP n/a

Total Supply:
420,000,000,000,000.00 SHREK

Holders:
76
Profile Summary
Blockchain:
C-Chain (43114)


Decimals:
18
Contract Source Code Verified (Partial Match)
Contract Name:
CommonERC20

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Created At:
Thu, 14 Dec 2023 01:57:40 GMT
CommonERC20.sol
CommonERC20.sol
CommonERC20.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol_",
        "type": "string"
      },
      {
        "internalType": "uint8",
        "name": "decimals_",
        "type": "uint8"
      },
      {
        "internalType": "uint256",
        "name": "cap_",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "initialBalance_",
        "type": "uint256"
      },
      {
        "internalType": "address payable",
        "name": "feeReceiver_",
        "type": "address"
      }
    ],
    "stateMutability": "payable",
    "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": [],
    "name": "MintFinished",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferred",
    "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": "owner",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "spender",
        "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": "account",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burnFrom",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "cap",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "subtractedValue",
        "type": "uint256"
      }
    ],
    "name": "decreaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "finishMinting",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "addedValue",
        "type": "uint256"
      }
    ],
    "name": "increaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "mint",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "mintingFinished",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60c060408190526005805460ff19169055620016ad388190039081908339810160408190526200002f9162000446565b806040518060400160405280600b81526020016a0436f6d6d6f6e45524332360ac1b8152508486898981600390805190602001906200007092919062000311565b5080516200008690600490602084019062000311565b50505060f81b7fff000000000000000000000000000000000000000000000000000000000000001660805280620001045760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a206361702069732030000000000000000000000060448201526064015b60405180910390fd5b60a05260058054610100600160a81b0319163361010081029190911790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506040516315b36b9760e11b81526001600160a01b03831690632b66d72e90349062000181908590600401620004fa565b6000604051808303818588803b1580156200019b57600080fd5b505af1158015620001b0573d6000803e3d6000fd5b5050505050505082821115620002095760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20436170206578636565646564000000000000006044820152606401620000fb565b6200022033836200022c60201b620007d61760201c565b505050505050620005da565b6001600160a01b038216620002845760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000fb565b80600260008282546200029891906200052f565b90915550506001600160a01b03821660009081526020819052604081208054839290620002c79084906200052f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200031f9062000587565b90600052602060002090601f0160209004810192826200034357600085556200038e565b82601f106200035e57805160ff19168380011785556200038e565b828001600101855582156200038e579182015b828111156200038e57825182559160200191906001019062000371565b506200039c929150620003a0565b5090565b5b808211156200039c5760008155600101620003a1565b600082601f830112620003c8578081fd5b81516001600160401b0380821115620003e557620003e5620005c4565b604051601f8301601f19908116603f01168101908282118183101715620004105762000410620005c4565b8160405283815286602085880101111562000429578485fd5b6200043c84602083016020890162000554565b9695505050505050565b60008060008060008060c087890312156200045f578182fd5b86516001600160401b038082111562000476578384fd5b620004848a838b01620003b7565b975060208901519150808211156200049a578384fd5b50620004a989828a01620003b7565b955050604087015160ff81168114620004c0578283fd5b6060880151608089015160a08a015192965090945092506001600160a01b0381168114620004ec578182fd5b809150509295509295509295565b60208152600082518060208401526200051b81604085016020870162000554565b601f01601f19169190910160400192915050565b600082198211156200054f57634e487b7160e01b81526011600452602481fd5b500190565b60005b838110156200057157818101518382015260200162000557565b8381111562000581576000848401525b50505050565b600181811c908216806200059c57607f821691505b60208210811415620005be57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160f81c60a0516110a36200060a600039600081816101cd0152610d75015260006101a101526110a36000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806370a08231116100ad57806395d89b411161007157806395d89b41146102a1578063a457c2d7146102a9578063a9059cbb146102bc578063dd62ed3e146102cf578063f2fde38b1461030857600080fd5b806370a082311461022c578063715018a61461025557806379cc67901461025d5780637d64bcb4146102705780638da5cb5b1461027857600080fd5b8063313ce567116100f4578063313ce5671461019a578063355274ea146101cb57806339509351146101f157806340c10f191461020457806342966c681461021957600080fd5b806305d2035b1461013157806306fdde031461014d578063095ea7b31461016257806318160ddd1461017557806323b872dd14610187575b600080fd5b60055460ff165b60405190151581526020015b60405180910390f35b61015561031b565b6040516101449190610f23565b610138610170366004610ee2565b6103ad565b6002545b604051908152602001610144565b610138610195366004610ea7565b6103c3565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610144565b7f0000000000000000000000000000000000000000000000000000000000000000610179565b6101386101ff366004610ee2565b610479565b610217610212366004610ee2565b6104b0565b005b610217610227366004610f0b565b6104e1565b61017961023a366004610e54565b6001600160a01b031660009081526020819052604090205490565b6102176104ee565b61021761026b366004610ee2565b61056e565b6102176105f6565b60055461010090046001600160a01b03166040516001600160a01b039091168152602001610144565b610155610623565b6101386102b7366004610ee2565b610632565b6101386102ca366004610ee2565b6106cd565b6101796102dd366004610e75565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610217610316366004610e54565b6106da565b60606003805461032a9061101c565b80601f01602080910402602001604051908101604052809291908181526020018280546103569061101c565b80156103a35780601f10610378576101008083540402835291602001916103a3565b820191906000526020600020905b81548152906001019060200180831161038657829003601f168201915b5050505050905090565b60006103ba3384846108b5565b50600192915050565b60006103d08484846109da565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561045a5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61046e85336104698685611005565b6108b5565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103ba918590610469908690610fed565b60055460ff16156104d35760405162461bcd60e51b815260040161045190610f76565b6104dd8282610bb2565b5050565b6104eb3382610bec565b50565b6005546001600160a01b0361010090910416331461051e5760405162461bcd60e51b815260040161045190610fb8565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b600061057a83336102dd565b9050818110156105d85760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610451565b6105e783336104698585611005565b6105f18383610bec565b505050565b60055460ff16156106195760405162461bcd60e51b815260040161045190610f76565b610621610d3b565b565b60606004805461032a9061101c565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106b45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610451565b6106c333856104698685611005565b5060019392505050565b60006103ba3384846109da565b6005546001600160a01b0361010090910416331461070a5760405162461bcd60e51b815260040161045190610fb8565b6001600160a01b03811661076f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610451565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b03821661082c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610451565b806002600082825461083e9190610fed565b90915550506001600160a01b0382166000908152602081905260408120805483929061086b908490610fed565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166109175760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610451565b6001600160a01b0382166109785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610451565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610a3e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610451565b6001600160a01b038216610aa05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610451565b6001600160a01b03831660009081526020819052604090205481811015610b185760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610451565b610b228282611005565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610b58908490610fed565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ba491815260200190565b60405180910390a350505050565b6005546001600160a01b03610100909104163314610be25760405162461bcd60e51b815260040161045190610fb8565b6104dd8282610d73565b6001600160a01b038216610c4c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610451565b6001600160a01b03821660009081526020819052604090205481811015610cc05760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610451565b610cca8282611005565b6001600160a01b03841660009081526020819052604081209190915560028054849290610cf8908490611005565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016109cd565b6005546001600160a01b03610100909104163314610d6b5760405162461bcd60e51b815260040161045190610fb8565b610621610e00565b7f000000000000000000000000000000000000000000000000000000000000000081610d9e60025490565b610da89190610fed565b1115610df65760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401610451565b6104dd82826107d6565b6005805460ff191660011790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a1565b80356001600160a01b0381168114610e4f57600080fd5b919050565b600060208284031215610e65578081fd5b610e6e82610e38565b9392505050565b60008060408385031215610e87578081fd5b610e9083610e38565b9150610e9e60208401610e38565b90509250929050565b600080600060608486031215610ebb578081fd5b610ec484610e38565b9250610ed260208501610e38565b9150604084013590509250925092565b60008060408385031215610ef4578182fd5b610efd83610e38565b946020939093013593505050565b600060208284031215610f1c578081fd5b5035919050565b6000602080835283518082850152825b81811015610f4f57858101830151858201604001528201610f33565b81811115610f605783604083870101525b50601f01601f1916929092016040019392505050565b60208082526022908201527f45524332304d696e7461626c653a204d696e74696e672069732066696e697368604082015261195960f21b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561100057611000611057565b500190565b60008282101561101757611017611057565b500390565b600181811c9082168061103057607f821691505b6020821081141561105157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220c07cb6aedf9973486ded012d4d694570ba1cb864c2b18268c512af6242e78c0864736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000014b5253145b397d654510000000000000000000000000000000000000000000014b5253145b397d6545100000000000000000000000000000000930e15f678b9ded1bc1a2cd98ba5861e34de3b0f0000000000000000000000000000000000000000000000000000000000000005536872656b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005534852454b000000000000000000000000000000000000000000000000000000