Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
0 USDC

Profile Summary
Blockchain:
Sepolia (11155111)


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

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Created At:
Thu, 15 Feb 2024 13:24:48 GMT
draft-IERC6093.sol
@openzeppelin
contracts-5.0.0
interfaces
draft-IERC6093.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol_",
        "type": "string"
      },
      {
        "internalType": "uint8",
        "name": "dp",
        "type": "uint8"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "allowance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientAllowance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "balance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientBalance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "approver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidApprover",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "receiver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidReceiver",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSender",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSpender",
    "type": "error"
  },
  {
    "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": "value",
        "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": [
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "mint",
    "outputs": [],
    "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": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "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": "value",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040526005805460ff191660121790553480156200001e57600080fd5b5060405162000adc38038062000adc833981016040819052620000419162000146565b828260036200005183826200025a565b5060046200006082826200025a565b50506005805460ff191660ff93909316929092179091555062000326915050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000a957600080fd5b81516001600160401b0380821115620000c657620000c662000081565b604051601f8301601f19908116603f01168101908282118183101715620000f157620000f162000081565b816040528381526020925086838588010111156200010e57600080fd5b600091505b8382101562000132578582018301518183018401529082019062000113565b600093810190920192909252949350505050565b6000806000606084860312156200015c57600080fd5b83516001600160401b03808211156200017457600080fd5b620001828783880162000097565b945060208601519150808211156200019957600080fd5b50620001a88682870162000097565b925050604084015160ff81168114620001c057600080fd5b809150509250925092565b600181811c90821680620001e057607f821691505b6020821081036200020157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025557600081815260208120601f850160051c81016020861015620002305750805b601f850160051c820191505b8181101562000251578281556001016200023c565b5050505b505050565b81516001600160401b0381111562000276576200027662000081565b6200028e81620002878454620001cb565b8462000207565b602080601f831160018114620002c65760008415620002ad5750858301515b600019600386901b1c1916600185901b17855562000251565b600085815260208120601f198616915b82811015620002f757888601518255948401946001909101908401620002d6565b5085821015620003165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6107a680620003366000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806370a082311161006657806370a082311461011e57806395d89b4114610147578063a0712d681461014f578063a9059cbb14610164578063dd62ed3e1461017757600080fd5b806306fdde03146100a3578063095ea7b3146100c157806318160ddd146100e457806323b872dd146100f6578063313ce56714610109575b600080fd5b6100ab6101b0565b6040516100b891906105d7565b60405180910390f35b6100d46100cf366004610641565b610242565b60405190151581526020016100b8565b6002545b6040519081526020016100b8565b6100d461010436600461066b565b61025c565b60055460405160ff90911681526020016100b8565b6100e861012c3660046106a7565b6001600160a01b031660009081526020819052604090205490565b6100ab610280565b61016261015d3660046106c9565b61028f565b005b6100d4610172366004610641565b61029c565b6100e86101853660046106e2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101bf90610715565b80601f01602080910402602001604051908101604052809291908181526020018280546101eb90610715565b80156102385780601f1061020d57610100808354040283529160200191610238565b820191906000526020600020905b81548152906001019060200180831161021b57829003601f168201915b5050505050905090565b6000336102508185856102aa565b60019150505b92915050565b60003361026a8582856102bc565b61027585858561033f565b506001949350505050565b6060600480546101bf90610715565b610299338261039e565b50565b60003361025081858561033f565b6102b783838360016103d8565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610339578181101561032a57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b610339848484840360006103d8565b50505050565b6001600160a01b03831661036957604051634b637e8f60e11b815260006004820152602401610321565b6001600160a01b0382166103935760405163ec442f0560e01b815260006004820152602401610321565b6102b78383836104ad565b6001600160a01b0382166103c85760405163ec442f0560e01b815260006004820152602401610321565b6103d4600083836104ad565b5050565b6001600160a01b0384166104025760405163e602df0560e01b815260006004820152602401610321565b6001600160a01b03831661042c57604051634a1406b160e11b815260006004820152602401610321565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561033957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161049f91815260200190565b60405180910390a350505050565b6001600160a01b0383166104d85780600260008282546104cd919061074f565b9091555061054a9050565b6001600160a01b0383166000908152602081905260409020548181101561052b5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610321565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661056657600280548290039055610585565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105ca91815260200190565b60405180910390a3505050565b600060208083528351808285015260005b81811015610604578581018301518582016040015282016105e8565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461063c57600080fd5b919050565b6000806040838503121561065457600080fd5b61065d83610625565b946020939093013593505050565b60008060006060848603121561068057600080fd5b61068984610625565b925061069760208501610625565b9150604084013590509250925092565b6000602082840312156106b957600080fd5b6106c282610625565b9392505050565b6000602082840312156106db57600080fd5b5035919050565b600080604083850312156106f557600080fd5b6106fe83610625565b915061070c60208401610625565b90509250929050565b600181811c9082168061072957607f821691505b60208210810361074957634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561025657634e487b7160e01b600052601160045260246000fdfea2646970667358221220d0f5719a33867133be6aac25e023b2ea01728c8dc0fda3f04a59320e01205ab464736f6c63430008150033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000004555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000