Overview ERC20
PRICE
$0.03173

ON-CHAIN MARKET CAP n/a

Total Supply:
10,000.00 PROTON

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


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

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No

Created At:
Sat, 09 Dec 2023 19:33:24 GMT
HelloERC20.sol
HelloERC20.sol
HelloERC20.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol_",
        "type": "string"
      },
      {
        "internalType": "bytes",
        "name": "signature_",
        "type": "bytes"
      },
      {
        "internalType": "address payable",
        "name": "feeReceiver_",
        "type": "address"
      }
    ],
    "stateMutability": "payable",
    "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": [],
    "name": "generator",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "pure",
    "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
608060405260405162000d9538038062000d95833981016040819052620000269162000363565b60408051808201909152600a815269048656c6c6f45524332360b41b602082015281908333878760036200005b8382620004bc565b5060046200006a8282620004bc565b505060405163346386e160e01b81526001600160a01b038616915063346386e1903490620000a190879087908790600401620005b6565b6000604051808303818588803b158015620000bb57600080fd5b505af1158015620000d0573d6000803e3d6000fd5b505050505050505050620000fe620000ed6200010860201b60201c565b69021e19e0c9bab24000006200010c565b5050505062000620565b3390565b6001600160a01b0382166200013c5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b6200014a600083836200014e565b5050565b6001600160a01b0383166200017d578060026000828254620001719190620005f8565b90915550620001f19050565b6001600160a01b03831660009081526020819052604090205481811015620001d25760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000133565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200020f576002805482900390556200022e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200027491815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620002b45781810151838201526020016200029a565b50506000910152565b60006001600160401b0380841115620002da57620002da62000281565b604051601f8501601f19908116603f0116810190828211818310171562000305576200030562000281565b816040528093508581528686860111156200031f57600080fd5b6200032f86602083018762000297565b5050509392505050565b600082601f8301126200034b57600080fd5b6200035c83835160208501620002bd565b9392505050565b600080600080608085870312156200037a57600080fd5b84516001600160401b03808211156200039257600080fd5b620003a08883890162000339565b95506020870151915080821115620003b757600080fd5b620003c58883890162000339565b94506040870151915080821115620003dc57600080fd5b508501601f81018713620003ef57600080fd5b6200040087825160208401620002bd565b606087015190935090506001600160a01b03811681146200042057600080fd5b939692955090935050565b600181811c908216806200044057607f821691505b6020821081036200046157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004b7576000816000526020600020601f850160051c81016020861015620004925750805b601f850160051c820191505b81811015620004b3578281556001016200049e565b5050505b505050565b81516001600160401b03811115620004d857620004d862000281565b620004f081620004e984546200042b565b8462000467565b602080601f8311600181146200052857600084156200050f5750858301515b600019600386901b1c1916600185901b178555620004b3565b600085815260208120601f198616915b82811015620005595788860151825594840194600190910190840162000538565b5085821015620005785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008151808452620005a281602086016020860162000297565b601f01601f19169290920160200192915050565b606081526000620005cb606083018662000588565b8281036020840152620005df818662000588565b91505060018060a01b0383166040830152949350505050565b808201808211156200061a57634e487b7160e01b600052601160045260246000fd5b92915050565b61076580620006306000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806370a082311161006657806370a08231146101185780637afa1eed1461014157806395d89b411461017a578063a9059cbb14610182578063dd62ed3e1461019557600080fd5b806306fdde03146100a3578063095ea7b3146100c157806318160ddd146100e457806323b872dd146100f6578063313ce56714610109575b600080fd5b6100ab6101ce565b6040516100b891906105ae565b60405180910390f35b6100d46100cf366004610619565b610260565b60405190151581526020016100b8565b6002545b6040519081526020016100b8565b6100d4610104366004610643565b61027a565b604051601281526020016100b8565b6100e861012636600461067f565b6001600160a01b031660009081526020819052604090205490565b6040805180820190915260208082527f68747470733a2f2f7777772e736d617274636f6e7472616374732e746f6f6c73908201526100ab565b6100ab61029e565b6100d4610190366004610619565b6102ad565b6100e86101a33660046106a1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101dd906106d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610209906106d4565b80156102565780601f1061022b57610100808354040283529160200191610256565b820191906000526020600020905b81548152906001019060200180831161023957829003601f168201915b5050505050905090565b60003361026e8185856102bb565b60019150505b92915050565b6000336102888582856102cd565b610293858585610350565b506001949350505050565b6060600480546101dd906106d4565b60003361026e818585610350565b6102c883838360016103af565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461034a578181101561033b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61034a848484840360006103af565b50505050565b6001600160a01b03831661037a57604051634b637e8f60e11b815260006004820152602401610332565b6001600160a01b0382166103a45760405163ec442f0560e01b815260006004820152602401610332565b6102c8838383610484565b6001600160a01b0384166103d95760405163e602df0560e01b815260006004820152602401610332565b6001600160a01b03831661040357604051634a1406b160e11b815260006004820152602401610332565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561034a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161047691815260200190565b60405180910390a350505050565b6001600160a01b0383166104af5780600260008282546104a4919061070e565b909155506105219050565b6001600160a01b038316600090815260208190526040902054818110156105025760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610332565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661053d5760028054829003905561055c565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105a191815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b818110156105dc578581018301518582016040015282016105c0565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461061457600080fd5b919050565b6000806040838503121561062c57600080fd5b610635836105fd565b946020939093013593505050565b60008060006060848603121561065857600080fd5b610661846105fd565b925061066f602085016105fd565b9150604084013590509250925092565b60006020828403121561069157600080fd5b61069a826105fd565b9392505050565b600080604083850312156106b457600080fd5b6106bd836105fd565b91506106cb602084016105fd565b90509250929050565b600181811c908216806106e857607f821691505b60208210810361070857634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561027457634e487b7160e01b600052601160045260246000fdfea2646970667358221220546816e5c0e59b2705cf4bd2ed1cb0887b77345cd8bc965a2e39e0ecface887b64736f6c63430008170033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000075eee167d2e5cc675f5b07f95d6a93e7088d6c34000000000000000000000000000000000000000000000000000000000000000650524f544f4e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000650524f544f4e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000