Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
4,000,000,000.00 TOIN

Holders:
1
Profile Summary
Blockchain:
Sepolia (11155111)


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

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Created At:
Fri, 30 Aug 2024 10:12:00 GMT
Toin.sol
Toin.sol
Toin.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol_",
        "type": "string"
      },
      {
        "internalType": "address",
        "name": "foundation_",
        "type": "address"
      }
    ],
    "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"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      }
    ],
    "name": "OwnableInvalidOwner",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "OwnableUnauthorizedAccount",
    "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": "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": "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": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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": "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": "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"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
608060405263ee6b280060065534801562000018575f80fd5b5060405162000f1938038062000f198339810160408190526200003b9162000344565b80838360036200004c838262000457565b5060046200005b828262000457565b5050506001600160a01b0381166200008d57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6200009881620000ca565b50620000c181620000ac6012600a6200062e565b600654620000bb919062000645565b6200011b565b50505062000675565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620001465760405163ec442f0560e01b81525f600482015260240162000084565b620001535f838362000157565b5050565b6001600160a01b03831662000185578060025f8282546200017991906200065f565b90915550620001f79050565b6001600160a01b0383165f9081526020819052604090205481811015620001d95760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000084565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620002155760028054829003905562000233565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200027991815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112620002aa575f80fd5b81516001600160401b0380821115620002c757620002c762000286565b604051601f8301601f19908116603f01168101908282118183101715620002f257620002f262000286565b816040528381526020925086838588010111156200030e575f80fd5b5f91505b8382101562000331578582018301518183018401529082019062000312565b5f93810190920192909252949350505050565b5f805f6060848603121562000357575f80fd5b83516001600160401b03808211156200036e575f80fd5b6200037c878388016200029a565b9450602086015191508082111562000392575f80fd5b50620003a1868287016200029a565b604086015190935090506001600160a01b0381168114620003c0575f80fd5b809150509250925092565b600181811c90821680620003e057607f821691505b602082108103620003ff57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000452575f81815260208120601f850160051c810160208610156200042d5750805b601f850160051c820191505b818110156200044e5782815560010162000439565b5050505b505050565b81516001600160401b0381111562000473576200047362000286565b6200048b81620004848454620003cb565b8462000405565b602080601f831160018114620004c1575f8415620004a95750858301515b5f19600386901b1c1916600185901b1785556200044e565b5f85815260208120601f198616915b82811015620004f157888601518255948401946001909101908401620004d0565b50858210156200050f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200057357815f19048211156200055757620005576200051f565b808516156200056557918102915b93841c939080029062000538565b509250929050565b5f826200058b5750600162000628565b816200059957505f62000628565b8160018114620005b25760028114620005bd57620005dd565b600191505062000628565b60ff841115620005d157620005d16200051f565b50506001821b62000628565b5060208310610133831016604e8410600b841016171562000602575081810a62000628565b6200060e838362000533565b805f19048211156200062457620006246200051f565b0290505b92915050565b5f6200063e60ff8416836200057b565b9392505050565b80820281158282048414176200062857620006286200051f565b808201808211156200062857620006286200051f565b61089680620006835f395ff3fe608060405234801561000f575f80fd5b50600436106100cb575f3560e01c8063715018a6116100885780639dc29fac116100635780639dc29fac14610199578063a9059cbb146101ac578063dd62ed3e146101bf578063f2fde38b146101f7575f80fd5b8063715018a61461016c5780638da5cb5b1461017657806395d89b4114610191575f80fd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce5671461013557806370a0823114610144575b5f80fd5b6100d761020a565b6040516100e491906106f1565b60405180910390f35b6101006100fb366004610757565b61029a565b60405190151581526020016100e4565b6002545b6040519081526020016100e4565b61010061013036600461077f565b6102b3565b604051601281526020016100e4565b6101146101523660046107b8565b6001600160a01b03165f9081526020819052604090205490565b6101746102d6565b005b6005546040516001600160a01b0390911681526020016100e4565b6100d76102e9565b6101746101a7366004610757565b6102f8565b6101006101ba366004610757565b61030e565b6101146101cd3660046107d8565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101746102053660046107b8565b61031b565b60606003805461021990610809565b80601f016020809104026020016040519081016040528092919081815260200182805461024590610809565b80156102905780601f1061026757610100808354040283529160200191610290565b820191905f5260205f20905b81548152906001019060200180831161027357829003601f168201915b5050505050905090565b5f336102a781858561035d565b60019150505b92915050565b5f336102c085828561036f565b6102cb8585856103ea565b506001949350505050565b6102de610447565b6102e75f610474565b565b60606004805461021990610809565b610300610447565b61030a82826104c5565b5050565b5f336102a78185856103ea565b610323610447565b6001600160a01b03811661035157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61035a81610474565b50565b61036a83838360016104f9565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146103e457818110156103d657604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610348565b6103e484848484035f6104f9565b50505050565b6001600160a01b03831661041357604051634b637e8f60e11b81525f6004820152602401610348565b6001600160a01b03821661043c5760405163ec442f0560e01b81525f6004820152602401610348565b61036a8383836105cb565b6005546001600160a01b031633146102e75760405163118cdaa760e01b8152336004820152602401610348565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166104ee57604051634b637e8f60e11b81525f6004820152602401610348565b61030a825f836105cb565b6001600160a01b0384166105225760405163e602df0560e01b81525f6004820152602401610348565b6001600160a01b03831661054b57604051634a1406b160e11b81525f6004820152602401610348565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156103e457826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516105bd91815260200190565b60405180910390a350505050565b6001600160a01b0383166105f5578060025f8282546105ea9190610841565b909155506106659050565b6001600160a01b0383165f90815260208190526040902054818110156106475760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610348565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166106815760028054829003905561069f565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516106e491815260200190565b60405180910390a3505050565b5f6020808352835180828501525f5b8181101561071c57858101830151858201604001528201610700565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610752575f80fd5b919050565b5f8060408385031215610768575f80fd5b6107718361073c565b946020939093013593505050565b5f805f60608486031215610791575f80fd5b61079a8461073c565b92506107a86020850161073c565b9150604084013590509250925092565b5f602082840312156107c8575f80fd5b6107d18261073c565b9392505050565b5f80604083850312156107e9575f80fd5b6107f28361073c565b91506108006020840161073c565b90509250929050565b600181811c9082168061081d57607f821691505b60208210810361083b57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102ad57634e487b7160e01b5f52601160045260245ffdfea26469706673582212200cde353aeeca4658ccec2325744a50e5c502dbc88ced3ef734fb2fc87401faa964736f6c63430008140033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000fcf6966547ea0ef986a44be7732d8b884e70158d000000000000000000000000000000000000000000000000000000000000000a544f494e204552433230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004544f494e00000000000000000000000000000000000000000000000000000000