Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
1,000,000,000.00 AISPARK

Holders:
9
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
No

Created At:
Mon, 13 May 2024 02:59:55 GMT
draft-IERC6093.sol
@openzeppelin
contracts
interfaces
draft-IERC6093.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_initialAddress",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "initialSupply",
        "type": "uint256"
      },
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      }
    ],
    "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": "value",
        "type": "uint256"
      }
    ],
    "name": "init",
    "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
608060405234801561001057600080fd5b506040516119f93803806119f983398181016040528101906100329190610588565b81818160039081610043919061083e565b508060049081610053919061083e565b50505083600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506100c9600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846100d260201b60201c565b505050506109fe565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036101445760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161013b919061091f565b60405180910390fd5b6101566000838361015a60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036101ac5780600260008282546101a09190610969565b9250508190555061027f565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610238578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161022f939291906109ac565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102c85780600260008282540392505081905550610315565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161037291906109e3565b60405180910390a3505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103be82610393565b9050919050565b6103ce816103b3565b81146103d957600080fd5b50565b6000815190506103eb816103c5565b92915050565b6000819050919050565b610404816103f1565b811461040f57600080fd5b50565b600081519050610421816103fb565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61047a82610431565b810181811067ffffffffffffffff8211171561049957610498610442565b5b80604052505050565b60006104ac61037f565b90506104b88282610471565b919050565b600067ffffffffffffffff8211156104d8576104d7610442565b5b6104e182610431565b9050602081019050919050565b60005b8381101561050c5780820151818401526020810190506104f1565b60008484015250505050565b600061052b610526846104bd565b6104a2565b9050828152602081018484840111156105475761054661042c565b5b6105528482856104ee565b509392505050565b600082601f83011261056f5761056e610427565b5b815161057f848260208601610518565b91505092915050565b600080600080608085870312156105a2576105a1610389565b5b60006105b0878288016103dc565b94505060206105c187828801610412565b935050604085015167ffffffffffffffff8111156105e2576105e161038e565b5b6105ee8782880161055a565b925050606085015167ffffffffffffffff81111561060f5761060e61038e565b5b61061b8782880161055a565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061067957607f821691505b60208210810361068c5761068b610632565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026106f47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826106b7565b6106fe86836106b7565b95508019841693508086168417925050509392505050565b6000819050919050565b600061073b610736610731846103f1565b610716565b6103f1565b9050919050565b6000819050919050565b61075583610720565b61076961076182610742565b8484546106c4565b825550505050565b600090565b61077e610771565b61078981848461074c565b505050565b5b818110156107ad576107a2600082610776565b60018101905061078f565b5050565b601f8211156107f2576107c381610692565b6107cc846106a7565b810160208510156107db578190505b6107ef6107e7856106a7565b83018261078e565b50505b505050565b600082821c905092915050565b6000610815600019846008026107f7565b1980831691505092915050565b600061082e8383610804565b9150826002028217905092915050565b61084782610627565b67ffffffffffffffff8111156108605761085f610442565b5b61086a8254610661565b6108758282856107b1565b600060209050601f8311600181146108a85760008415610896578287015190505b6108a08582610822565b865550610908565b601f1984166108b686610692565b60005b828110156108de578489015182556001820191506020850194506020810190506108b9565b868310156108fb57848901516108f7601f891682610804565b8355505b6001600288020188555050505b505050505050565b610919816103b3565b82525050565b60006020820190506109346000830184610910565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610974826103f1565b915061097f836103f1565b92508282019050808211156109975761099661093a565b5b92915050565b6109a6816103f1565b82525050565b60006060820190506109c16000830186610910565b6109ce602083018561099d565b6109db604083018461099d565b949350505050565b60006020820190506109f8600083018461099d565b92915050565b610fec80610a0d6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806370a082311161006657806370a082311461015d57806395d89b411461018d578063a9059cbb146101ab578063b7b0422d146101db578063dd62ed3e146101f75761009e565b806306fdde03146100a3578063095ea7b3146100c157806318160ddd146100f157806323b872dd1461010f578063313ce5671461013f575b600080fd5b6100ab610227565b6040516100b89190610c13565b60405180910390f35b6100db60048036038101906100d69190610cce565b6102b9565b6040516100e89190610d29565b60405180910390f35b6100f96102dc565b6040516101069190610d53565b60405180910390f35b61012960048036038101906101249190610d6e565b6102e6565b6040516101369190610d29565b60405180910390f35b610147610315565b6040516101549190610ddd565b60405180910390f35b61017760048036038101906101729190610df8565b61031e565b6040516101849190610d53565b60405180910390f35b610195610366565b6040516101a29190610c13565b60405180910390f35b6101c560048036038101906101c09190610cce565b6103f8565b6040516101d29190610d29565b60405180910390f35b6101f560048036038101906101f09190610e25565b61041b565b005b610211600480360381019061020c9190610e52565b6104dc565b60405161021e9190610d53565b60405180910390f35b60606003805461023690610ec1565b80601f016020809104026020016040519081016040528092919081815260200182805461026290610ec1565b80156102af5780601f10610284576101008083540402835291602001916102af565b820191906000526020600020905b81548152906001019060200180831161029257829003601f168201915b5050505050905090565b6000806102c4610563565b90506102d181858561056b565b600191505092915050565b6000600254905090565b6000806102f1610563565b90506102fe85828561057d565b610309858585610611565b60019150509392505050565b60006012905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606004805461037590610ec1565b80601f01602080910402602001604051908101604052809291908181526020018280546103a190610ec1565b80156103ee5780601f106103c3576101008083540402835291602001916103ee565b820191906000526020600020905b8154815290600101906020018083116103d157829003601f168201915b5050505050905090565b600080610403610563565b9050610410818585610611565b600191505092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104ad57336040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016104a49190610f01565b60405180910390fd5b6104d9600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682610705565b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b6105788383836001610787565b505050565b600061058984846104dc565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461060b57818110156105fb578281836040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526004016105f293929190610f1c565b60405180910390fd5b61060a84848484036000610787565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106835760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161067a9190610f01565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106f55760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106ec9190610f01565b60405180910390fd5b61070083838361095e565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107775760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161076e9190610f01565b60405180910390fd5b6107836000838361095e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036107f95760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016107f09190610f01565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361086b5760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016108629190610f01565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610958578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161094f9190610d53565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109b05780600260008282546109a49190610f82565b92505081905550610a83565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a3c578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610a3393929190610f1c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610acc5780600260008282540392505081905550610b19565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b769190610d53565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610bbd578082015181840152602081019050610ba2565b60008484015250505050565b6000601f19601f8301169050919050565b6000610be582610b83565b610bef8185610b8e565b9350610bff818560208601610b9f565b610c0881610bc9565b840191505092915050565b60006020820190508181036000830152610c2d8184610bda565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610c6582610c3a565b9050919050565b610c7581610c5a565b8114610c8057600080fd5b50565b600081359050610c9281610c6c565b92915050565b6000819050919050565b610cab81610c98565b8114610cb657600080fd5b50565b600081359050610cc881610ca2565b92915050565b60008060408385031215610ce557610ce4610c35565b5b6000610cf385828601610c83565b9250506020610d0485828601610cb9565b9150509250929050565b60008115159050919050565b610d2381610d0e565b82525050565b6000602082019050610d3e6000830184610d1a565b92915050565b610d4d81610c98565b82525050565b6000602082019050610d686000830184610d44565b92915050565b600080600060608486031215610d8757610d86610c35565b5b6000610d9586828701610c83565b9350506020610da686828701610c83565b9250506040610db786828701610cb9565b9150509250925092565b600060ff82169050919050565b610dd781610dc1565b82525050565b6000602082019050610df26000830184610dce565b92915050565b600060208284031215610e0e57610e0d610c35565b5b6000610e1c84828501610c83565b91505092915050565b600060208284031215610e3b57610e3a610c35565b5b6000610e4984828501610cb9565b91505092915050565b60008060408385031215610e6957610e68610c35565b5b6000610e7785828601610c83565b9250506020610e8885828601610c83565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610ed957607f821691505b602082108103610eec57610eeb610e92565b5b50919050565b610efb81610c5a565b82525050565b6000602082019050610f166000830184610ef2565b92915050565b6000606082019050610f316000830186610ef2565b610f3e6020830185610d44565b610f4b6040830184610d44565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610f8d82610c98565b9150610f9883610c98565b9250828201905080821115610fb057610faf610f53565b5b9291505056fea26469706673582212207726ffec924c361184e76fd5896937a45692d0a47c73e103895de5ac1ff7e9c064736f6c63430008190033000000000000000000000000504ef26cc625f2834da3ac00e427ed866c524ada0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000008414920537061726b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074149535041524b00000000000000000000000000000000000000000000000000

Loading