Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
60,000.00 USDC

Holders:
4
Profile Summary
Blockchain:
Sepolia (11155111)


Decimals:
6
Contract Source Code Verified (Exact Match)
Contract Name:
MockedERC20

Compiler Version
v0.8.27+commit.40a35a09

Optimization Enabled:
Yes with 200 runs

Created At:
Thu, 24 Oct 2024 07:46:24 GMT
MockedERC20.sol
src
Mock
MockedERC20.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      },
      {
        "internalType": "uint8",
        "name": "_decimals",
        "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": "customeDecimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "gimmeSomeTokens",
    "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
608060405234801561001057600080fd5b50604051610bd1380380610bd183398101604081905261002f91610123565b8282600361003d838261022f565b50600461004a828261022f565b50506005805460ff191660ff9390931692909217909155506102ed915050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009157600080fd5b81516001600160401b038111156100aa576100aa61006a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d8576100d861006a565b6040528181528382016020018510156100f057600080fd5b60005b8281101561010f576020818601810151838301820152016100f3565b506000918101602001919091529392505050565b60008060006060848603121561013857600080fd5b83516001600160401b0381111561014e57600080fd5b61015a86828701610080565b602086015190945090506001600160401b0381111561017857600080fd5b61018486828701610080565b925050604084015160ff8116811461019b57600080fd5b809150509250925092565b600181811c908216806101ba57607f821691505b6020821081036101da57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561022a57806000526020600020601f840160051c810160208510156102075750805b601f840160051c820191505b818110156102275760008155600101610213565b50505b505050565b81516001600160401b038111156102485761024861006a565b61025c8161025684546101a6565b846101e0565b6020601f82116001811461029057600083156102785750848201515b600019600385901b1c1916600184901b178455610227565b600084815260208120601f198516915b828110156102c057878501518255602094850194600190920191016102a0565b50848210156102de5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b6108d5806102fc6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80635d3d48dd116100715780635d3d48dd1461012d57806370a0823114610137578063908372b51461016057806395d89b411461016d578063a9059cbb14610175578063dd62ed3e1461018857600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101c1565b6040516100c3919061060c565b60405180910390f35b6100df6100da366004610676565b610253565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046106a0565b61026d565b60055460ff165b60405160ff90911681526020016100c3565b610135610291565b005b6100f36101453660046106dd565b6001600160a01b031660009081526020819052604090205490565b60055461011b9060ff1681565b6100b66102c2565b6100df610183366004610676565b6102d1565b6100f36101963660046106ff565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101d090610732565b80601f01602080910402602001604051908101604052809291908181526020018280546101fc90610732565b80156102495780601f1061021e57610100808354040283529160200191610249565b820191906000526020600020905b81548152906001019060200180831161022c57829003601f168201915b5050505050905090565b6000336102618185856102df565b60019150505b92915050565b60003361027b8582856102f1565b610286858585610374565b506001949350505050565b6102c0336102a160055460ff1690565b6102af9060ff16600a610869565b6102bb90612710610875565b6103d3565b565b6060600480546101d090610732565b600033610261818585610374565b6102ec838383600161040d565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461036e578181101561035f57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61036e8484848403600061040d565b50505050565b6001600160a01b03831661039e57604051634b637e8f60e11b815260006004820152602401610356565b6001600160a01b0382166103c85760405163ec442f0560e01b815260006004820152602401610356565b6102ec8383836104e2565b6001600160a01b0382166103fd5760405163ec442f0560e01b815260006004820152602401610356565b610409600083836104e2565b5050565b6001600160a01b0384166104375760405163e602df0560e01b815260006004820152602401610356565b6001600160a01b03831661046157604051634a1406b160e11b815260006004820152602401610356565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561036e57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104d491815260200190565b60405180910390a350505050565b6001600160a01b03831661050d578060026000828254610502919061088c565b9091555061057f9050565b6001600160a01b038316600090815260208190526040902054818110156105605760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610356565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661059b576002805482900390556105ba565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105ff91815260200190565b60405180910390a3505050565b602081526000825180602084015260005b8181101561063a576020818601810151604086840101520161061d565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461067157600080fd5b919050565b6000806040838503121561068957600080fd5b6106928361065a565b946020939093013593505050565b6000806000606084860312156106b557600080fd5b6106be8461065a565b92506106cc6020850161065a565b929592945050506040919091013590565b6000602082840312156106ef57600080fd5b6106f88261065a565b9392505050565b6000806040838503121561071257600080fd5b61071b8361065a565b91506107296020840161065a565b90509250929050565b600181811c9082168061074657607f821691505b60208210810361076657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156107bd578085048111156107a1576107a161076c565b60018416156107af57908102905b60019390931c928002610786565b935093915050565b6000826107d457506001610267565b816107e157506000610267565b81600181146107f757600281146108015761081d565b6001915050610267565b60ff8411156108125761081261076c565b50506001821b610267565b5060208310610133831016604e8410600b8410161715610840575081810a610267565b61084d6000198484610782565b80600019048211156108615761086161076c565b029392505050565b60006106f883836107c5565b80820281158282048414176102675761026761076c565b808201808211156102675761026761076c56fea26469706673582212202a4cd592b2340cec48f9d3b27148812706f47ecb4a9ffbecf2427027e62185c864736f6c634300081b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000
Constructor Arguments
(ABI-Encoded and is the last bytes of the Contract Creation Code above)
0x000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000

----Decoded View------------Arg [0] : _name (string): USDCArg [1] : _symbol (string): USDCArg [2] : _decimals (uint8): 6

----Encoded View------------Arg [0] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000Arg [1] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000Arg [2] : 0x0000000000000000000000000000000000000000000000000000000000000006