Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
0

Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No

Created At:
Thu, 16 Jan 2025 17:42:01 GMT
ERC20.sol
ERC20.sol
ERC20.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      }
    ],
    "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": "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": [],
    "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": "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"
  }
]


Contract Creation Code
608060405234801562000010575f80fd5b50604051620013bb380380620013bb833981810160405281019062000036919062000201565b815f9081620000469190620004bb565b508060019081620000589190620004bb565b50601260025f6101000a81548160ff021916908360ff16021790555050506200059f565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620000dd8262000095565b810181811067ffffffffffffffff82111715620000ff57620000fe620000a5565b5b80604052505050565b5f620001136200007c565b9050620001218282620000d2565b919050565b5f67ffffffffffffffff821115620001435762000142620000a5565b5b6200014e8262000095565b9050602081019050919050565b5f5b838110156200017a5780820151818401526020810190506200015d565b5f8484015250505050565b5f6200019b620001958462000126565b62000108565b905082815260208101848484011115620001ba57620001b962000091565b5b620001c78482856200015b565b509392505050565b5f82601f830112620001e657620001e56200008d565b5b8151620001f884826020860162000185565b91505092915050565b5f80604083850312156200021a576200021962000085565b5b5f83015167ffffffffffffffff8111156200023a576200023962000089565b5b6200024885828601620001cf565b925050602083015167ffffffffffffffff8111156200026c576200026b62000089565b5b6200027a85828601620001cf565b9150509250929050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620002d357607f821691505b602082108103620002e957620002e86200028e565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026200034d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000310565b62000359868362000310565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620003a36200039d620003978462000371565b6200037a565b62000371565b9050919050565b5f819050919050565b620003be8362000383565b620003d6620003cd82620003aa565b8484546200031c565b825550505050565b5f90565b620003ec620003de565b620003f9818484620003b3565b505050565b5b818110156200042057620004145f82620003e2565b600181019050620003ff565b5050565b601f8211156200046f576200043981620002ef565b620004448462000301565b8101602085101562000454578190505b6200046c620004638562000301565b830182620003fe565b50505b505050565b5f82821c905092915050565b5f620004915f198460080262000474565b1980831691505092915050565b5f620004ab838362000480565b9150826002028217905092915050565b620004c68262000284565b67ffffffffffffffff811115620004e257620004e1620000a5565b5b620004ee8254620002bb565b620004fb82828562000424565b5f60209050601f83116001811462000531575f84156200051c578287015190505b6200052885826200049e565b86555062000597565b601f1984166200054186620002ef565b5f5b828110156200056a5784890151825560018201915060208501945060208101905062000543565b868310156200058a578489015162000586601f89168262000480565b8355505b6001600288020188555050505b505050505050565b610e0e80620005ad5f395ff3fe608060405234801561000f575f80fd5b5060043610610091575f3560e01c8063313ce56711610064578063313ce5671461013157806370a082311461014f57806395d89b411461017f578063a9059cbb1461019d578063dd62ed3e146101cd57610091565b806306fdde0314610095578063095ea7b3146100b357806318160ddd146100e357806323b872dd14610101575b5f80fd5b61009d6101fd565b6040516100aa91906109e1565b60405180910390f35b6100cd60048036038101906100c89190610a92565b610288565b6040516100da9190610aea565b60405180910390f35b6100eb610375565b6040516100f89190610b12565b60405180910390f35b61011b60048036038101906101169190610b2b565b61037b565b6040516101289190610aea565b60405180910390f35b61013961065b565b6040516101469190610b96565b60405180910390f35b61016960048036038101906101649190610baf565b61066d565b6040516101769190610b12565b60405180910390f35b6101876106b3565b60405161019491906109e1565b60405180910390f35b6101b760048036038101906101b29190610a92565b61073f565b6040516101c49190610aea565b60405180910390f35b6101e760048036038101906101e29190610bda565b6108d5565b6040516101f49190610b12565b60405180910390f35b5f805461020990610c45565b80601f016020809104026020016040519081016040528092919081815260200182805461023590610c45565b80156102805780601f1061025757610100808354040283529160200191610280565b820191905f5260205f20905b81548152906001019060200180831161026357829003601f168201915b505050505081565b5f8160055f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516103639190610b12565b60405180910390a36001905092915050565b60035481565b5f8160045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410156103fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f390610cbf565b60405180910390fd5b8160055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410156104b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ae90610d27565b60405180910390fd5b8160045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546105039190610d72565b925050819055508160045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546105569190610da5565b925050819055508160055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546105e49190610d72565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106489190610b12565b60405180910390a3600190509392505050565b60025f9054906101000a900460ff1681565b5f60045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b600180546106c090610c45565b80601f01602080910402602001604051908101604052809291908181526020018280546106ec90610c45565b80156107375780601f1061070e57610100808354040283529160200191610737565b820191905f5260205f20905b81548152906001019060200180831161071a57829003601f168201915b505050505081565b5f8160045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410156107c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b790610cbf565b60405180910390fd5b8160045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461080c9190610d72565b925050819055508160045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461085f9190610da5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108c39190610b12565b60405180910390a36001905092915050565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561098e578082015181840152602081019050610973565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6109b382610957565b6109bd8185610961565b93506109cd818560208601610971565b6109d681610999565b840191505092915050565b5f6020820190508181035f8301526109f981846109a9565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610a2e82610a05565b9050919050565b610a3e81610a24565b8114610a48575f80fd5b50565b5f81359050610a5981610a35565b92915050565b5f819050919050565b610a7181610a5f565b8114610a7b575f80fd5b50565b5f81359050610a8c81610a68565b92915050565b5f8060408385031215610aa857610aa7610a01565b5b5f610ab585828601610a4b565b9250506020610ac685828601610a7e565b9150509250929050565b5f8115159050919050565b610ae481610ad0565b82525050565b5f602082019050610afd5f830184610adb565b92915050565b610b0c81610a5f565b82525050565b5f602082019050610b255f830184610b03565b92915050565b5f805f60608486031215610b4257610b41610a01565b5b5f610b4f86828701610a4b565b9350506020610b6086828701610a4b565b9250506040610b7186828701610a7e565b9150509250925092565b5f60ff82169050919050565b610b9081610b7b565b82525050565b5f602082019050610ba95f830184610b87565b92915050565b5f60208284031215610bc457610bc3610a01565b5b5f610bd184828501610a4b565b91505092915050565b5f8060408385031215610bf057610bef610a01565b5b5f610bfd85828601610a4b565b9250506020610c0e85828601610a4b565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610c5c57607f821691505b602082108103610c6f57610c6e610c18565b5b50919050565b7f45524332303a20696e73756666696369656e742062616c616e636500000000005f82015250565b5f610ca9601b83610961565b9150610cb482610c75565b602082019050919050565b5f6020820190508181035f830152610cd681610c9d565b9050919050565b7f45524332303a20616c6c6f77616e6365206578636565646564000000000000005f82015250565b5f610d11601983610961565b9150610d1c82610cdd565b602082019050919050565b5f6020820190508181035f830152610d3e81610d05565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610d7c82610a5f565b9150610d8783610a5f565b9250828203905081811115610d9f57610d9e610d45565b5b92915050565b5f610daf82610a5f565b9150610dba83610a5f565b9250828201905080821115610dd257610dd1610d45565b5b9291505056fea26469706673582212204e60f80553544b6006afb7e753962369bfb88b77f9597e3f72bbc69bfb56663a64736f6c6343000814003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000232300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000