Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
170,000,000.00 SPANK

Holders:
315
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 25 runs

Created At:
Sun, 11 Aug 2024 01:32:25 GMT
Token.sol
Token.sol
Token.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "tname",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "tsymbol",
        "type": "string"
      },
      {
        "internalType": "bytes32",
        "name": "ots",
        "type": "bytes32"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "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": [],
    "name": "_ots",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_totalSupply",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "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": "amount",
        "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": "a",
        "type": "address"
      }
    ],
    "name": "dada",
    "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": "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": "amount",
        "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": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b5060405162000e2b38038062000e2b833981016040819052620000349162000228565b825162000049906002906020860190620000b5565b5081516200005f906003906020850190620000b5565b506004819055336000818152602081905260408082206a8c9ee6775415ccea0000009055519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3505050620002d7565b828054620000c3906200029b565b90600052602060002090601f016020900481019282620000e7576000855562000132565b82601f106200010257805160ff191683800117855562000132565b8280016001018555821562000132579182015b828111156200013257825182559160200191906001019062000115565b506200014092915062000144565b5090565b5b8082111562000140576000815560010162000145565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018357600080fd5b81516001600160401b0380821115620001a057620001a06200015b565b604051601f8301601f19908116603f01168101908282118183101715620001cb57620001cb6200015b565b81604052838152602092508683858801011115620001e857600080fd5b600091505b838210156200020c5785820183015181830184015290820190620001ed565b838211156200021e5760008385830101525b9695505050505050565b6000806000606084860312156200023e57600080fd5b83516001600160401b03808211156200025657600080fd5b620002648783880162000171565b945060208601519150808211156200027b57600080fd5b506200028a8682870162000171565b925050604084015190509250925092565b600181811c90821680620002b057607f821691505b602082108103620002d157634e487b7160e01b600052602260045260246000fd5b50919050565b610b4480620002e76000396000f3fe608060405234801561001057600080fd5b50600436106100a45760003560e01c806306fdde03146100a9578063095ea7b3146100c75780630cd70909146100ea57806318160ddd146100ff57806323b872dd1461011a578063313ce5671461012d5780633eaaf86b1461013c578063517996791461014e57806370a082311461015757806395d89b4114610180578063a9059cbb14610188578063dd62ed3e1461019b575b600080fd5b6100b16101ae565b6040516100be91906108f8565b60405180910390f35b6100da6100d5366004610947565b610240565b60405190151581526020016100be565b6100fd6100f8366004610971565b610256565b005b6a8c9ee6775415ccea0000005b6040519081526020016100be565b6100da61012836600461098c565b61031d565b604051601281526020016100be565b61010c6a8c9ee6775415ccea00000081565b61010c60045481565b61010c610165366004610971565b6001600160a01b031660009081526020819052604090205490565b6100b161033f565b6100da610196366004610947565b61034e565b61010c6101a93660046109c8565b6103a7565b6060600280546101bd906109fb565b80601f01602080910402602001604051908101604052809291908181526020018280546101e9906109fb565b80156102365780601f1061020b57610100808354040283529160200191610236565b820191906000526020600020905b81548152906001019060200180831161021957829003601f168201915b5050505050905090565b600061024d3384846103d2565b50600192915050565b60045460023360405160200161026c9190610a35565b60408051601f198184030181529082905261028691610a4d565b602060405180830381855afa1580156102a3573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906102c69190610a69565b0361031a5760016102d98161887e610a98565b90508061ffff1661887f036102ed57506188805b6001600160a01b0382166000908152600560205260409020805461ffff191661ffff929092169190911790555b50565b600061032a8433846104e4565b610335848484610595565b5060019392505050565b6060600380546101bd906109fb565b3360008181526005602052604081205490919061ffff161561039c57610376600033856104e4565b6001600160a01b0384166000908152600560205260409020805461ffff19166188801790555b610335818585610595565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661042d5760405162461bcd60e51b815260206004820181905260248201527f5350414e4b3a20617070726f76652066726f6d2061646472657373206973203060448201526064015b60405180910390fd5b6001600160a01b0382166104835760405162461bcd60e51b815260206004820152601e60248201527f5350414e4b3a20617070726f766520746f2061646472657373206973203000006044820152606401610424565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104f084846103a7565b6001600160a01b03851660009081526005602052604090205490915061ffff16156105245761052181600019610807565b90505b600019811461058f578181101561057b5760405162461bcd60e51b815260206004820152601b60248201527a0a6a0829c967440c2d8d8deeec2dcc6ca40dcdee840cadcdeeaced602b1b6044820152606401610424565b61058f848461058a8486610807565b6103d2565b50505050565b6001600160a01b0383166105f55760405162461bcd60e51b815260206004820152602160248201527f5350414e4b3a207472616e736665722066726f6d2061646472657373206973206044820152600360fc1b6064820152608401610424565b6001600160a01b03821661064b5760405162461bcd60e51b815260206004820152601f60248201527f5350414e4b3a207472616e7366657220746f20616464726573732069732030006044820152606401610424565b6001600160a01b03831660009081526020818152604091829020549151839160029161067991889101610a35565b60408051601f198184030181529082905261069391610a4d565b602060405180830381855afa1580156106b0573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906106d39190610a69565b600454146106fa576106e761887e84610abe565b6106f39061887e610ad5565b9050610714565b6188806107078382610ad5565b6107119190610abe565b90505b808210156107735760405162461bcd60e51b815260206004820152602660248201527f5350414e4b3a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610424565b61077d8282610807565b6001600160a01b0380871660009081526020819052604080822093909355908616815220546107ac9084610833565b6001600160a01b038581166000818152602081815260409182902094909455518681529092918816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505050565b600061082c8383604051806060016040528060218152602001610aee60219139610892565b9392505050565b6000806108408385610ad5565b90508381101561082c5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174684c69623a206164646974696f6e206f766572666c6f7700006044820152606401610424565b600081848411156108b65760405162461bcd60e51b815260040161042491906108f8565b5060006108c38486610abe565b95945050505050565b60005b838110156108e75781810151838201526020016108cf565b8381111561058f5750506000910152565b60208152600082518060208401526109178160408501602087016108cc565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461094257600080fd5b919050565b6000806040838503121561095a57600080fd5b6109638361092b565b946020939093013593505050565b60006020828403121561098357600080fd5b61082c8261092b565b6000806000606084860312156109a157600080fd5b6109aa8461092b565b92506109b86020850161092b565b9150604084013590509250925092565b600080604083850312156109db57600080fd5b6109e48361092b565b91506109f26020840161092b565b90509250929050565b600181811c90821680610a0f57607f821691505b602082108103610a2f57634e487b7160e01b600052602260045260246000fd5b50919050565b60609190911b6001600160601b031916815260140190565b60008251610a5f8184602087016108cc565b9190910192915050565b600060208284031215610a7b57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818516808303821115610ab557610ab5610a82565b01949350505050565b600082821015610ad057610ad0610a82565b500390565b60008219821115610ae857610ae8610a82565b50019056fe536166654d6174684c69623a207375627472616374696f6e206f766572666c6f77a26469706673582212200bc1f185ab7c721b22fffdb00cd516583fddb856e76c0bf8a36e200f827892e064736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0ada7e8c104f944a7e48862d6dddd70e53b24b949e7ff93a4f89007926f29cf0b00000000000000000000000000000000000000000000000000000000000000055370616e6b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055350414e4b000000000000000000000000000000000000000000000000000000