Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
70,000,000.00 DogePresident

Holders:
337
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 179 runs

Created At:
Thu, 08 Aug 2024 06:18:01 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
60806040523480156200001157600080fd5b5060405162000f0538038062000f05833981016040819052620000349162000206565b825162000049906002906020860190620000b5565b5081516200005f906003906020850190620000b5565b506004819055336000818152602081905260408082206a39e7139a8c08fa060000009055519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3505050620002c9565b828054620000c39062000276565b90600052602060002090601f016020900481019282620000e7576000855562000132565b82601f106200010257805160ff191683800117855562000132565b8280016001018555821562000132579182015b828111156200013257825182559160200191906001019062000115565b506200014092915062000144565b5090565b5b8082111562000140576000815560010162000145565b600082601f8301126200016c578081fd5b81516001600160401b0380821115620001895762000189620002b3565b6040516020601f8401601f1916820181018381118382101715620001b157620001b1620002b3565b6040528382528584018101871015620001c8578485fd5b8492505b83831015620001eb5785830181015182840182015291820191620001cc565b83831115620001fc57848185840101525b5095945050505050565b6000806000606084860312156200021b578283fd5b83516001600160401b038082111562000232578485fd5b62000240878388016200015b565b9450602086015191508082111562000256578384fd5b5062000265868287016200015b565b925050604084015190509250925092565b6002810460018216806200028b57607f821691505b60208210811415620002ad57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b610c2c80620002d96000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80633eaaf86b116100715780633eaaf86b14610149578063517996791461015157806370a082311461015957806395d89b411461016c578063a9059cbb14610174578063dd62ed3e14610187576100b4565b806306fdde03146100b9578063095ea7b3146100d75780630cd70909146100f757806318160ddd1461010c57806323b872dd14610121578063313ce56714610134575b600080fd5b6100c161019a565b6040516100ce91906108dc565b60405180910390f35b6100ea6100e536600461084e565b61022c565b6040516100ce91906108c8565b61010a6101053660046107c7565b610242565b005b61011461030f565b6040516100ce91906108d3565b6100ea61012f366004610813565b61031e565b61013c610340565b6040516100ce9190610af5565b610114610345565b610114610354565b6101146101673660046107c7565b61035a565b6100c1610379565b6100ea61018236600461084e565b610388565b6101146101953660046107e1565b6103e1565b6060600280546101a990610b84565b80601f01602080910402602001604051908101604052809291908181526020018280546101d590610b84565b80156102225780601f106101f757610100808354040283529160200191610222565b820191906000526020600020905b81548152906001019060200180831161020557829003601f168201915b5050505050905090565b600061023933848461040c565b50600192915050565b600454600233604051602001610258919061088f565b60408051601f1981840301815290829052610272916108ac565b602060405180830381855afa15801561028f573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906102b29190610877565b146102bc5761030c565b60016102ca8161d65d610b03565b90508061ffff1661d65e14156102df575061d65f5b6001600160a01b0382166000908152600560205260409020805461ffff191661ffff929092169190911790555b50565b6a39e7139a8c08fa0600000090565b600061032b8433846104c9565b61033684848461054c565b5060019392505050565b601290565b6a39e7139a8c08fa0600000081565b60045481565b6001600160a01b0381166000908152602081905260409020545b919050565b6060600380546101a990610b84565b3360008181526005602052604081205490919061ffff16156103d6576103b0600033856104c9565b6001600160a01b0384166000908152600560205260409020805461ffff191661d65f1790555b61033681858561054c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661043b5760405162461bcd60e51b81526004016104329061099e565b60405180910390fd5b6001600160a01b0382166104615760405162461bcd60e51b815260040161043290610958565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104bc9085906108d3565b60405180910390a3505050565b60006104d584846103e1565b6001600160a01b03851660009081526005602052604090205490915061ffff1615610509576105068160001961071b565b90505b600019811461054657818110156105325760405162461bcd60e51b815260040161043290610ab2565b6105468484610541848661071b565b61040c565b50505050565b6001600160a01b0383166105725760405162461bcd60e51b81526004016104329061090f565b6001600160a01b0382166105985760405162461bcd60e51b815260040161043290610a6b565b6001600160a01b0383166000908152602081815260409182902054915183916002916105c69188910161088f565b60408051601f19818403018152908290526105e0916108ac565b602060405180830381855afa1580156105fd573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906106209190610877565b600454146106475761063461d65d84610b41565b6106409061d65d610b29565b9050610661565b61d65f6106548382610b29565b61065e9190610b41565b90505b808210156106815760405162461bcd60e51b815260040161043290610a1d565b61068b828261071b565b6001600160a01b0380871660009081526020819052604080822093909355908616815220546106ba9084610747565b6001600160a01b0380861660008181526020819052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061070c9087906108d3565b60405180910390a35050505050565b60006107408383604051806060016040528060218152602001610bd660219139610776565b9392505050565b6000806107548385610b29565b9050838110156107405760405162461bcd60e51b8152600401610432906109e6565b6000818484111561079a5760405162461bcd60e51b815260040161043291906108dc565b5060006107a78486610b41565b95945050505050565b80356001600160a01b038116811461037457600080fd5b6000602082840312156107d8578081fd5b610740826107b0565b600080604083850312156107f3578081fd5b6107fc836107b0565b915061080a602084016107b0565b90509250929050565b600080600060608486031215610827578081fd5b610830846107b0565b925061083e602085016107b0565b9150604084013590509250925092565b60008060408385031215610860578182fd5b610869836107b0565b946020939093013593505050565b600060208284031215610888578081fd5b5051919050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b600082516108be818460208701610b58565b9190910192915050565b901515815260200190565b90815260200190565b60006020825282518060208401526108fb816040850160208701610b58565b601f01601f19169190910160400192915050565b60208082526029908201527f446f6765507265736964656e743a207472616e736665722066726f6d2061646460408201526807265737320697320360bc1b606082015260800190565b60208082526026908201527f446f6765507265736964656e743a20617070726f766520746f2061646472657360408201526507320697320360d41b606082015260800190565b60208082526028908201527f446f6765507265736964656e743a20617070726f76652066726f6d2061646472604082015267065737320697320360c41b606082015260800190565b6020808252601e908201527f536166654d6174684c69623a206164646974696f6e206f766572666c6f770000604082015260600190565b6020808252602e908201527f446f6765507265736964656e743a207472616e7366657220616d6f756e74206560408201526d7863656564732062616c616e636560901b606082015260800190565b60208082526027908201527f446f6765507265736964656e743a207472616e7366657220746f2061646472656040820152660737320697320360cc1b606082015260800190565b60208082526023908201527f446f6765507265736964656e743a20616c6c6f77616e6365206e6f7420656e6f6040820152620eaced60eb1b606082015260800190565b60ff91909116815260200190565b600061ffff808316818516808303821115610b2057610b20610bbf565b01949350505050565b60008219821115610b3c57610b3c610bbf565b500190565b600082821015610b5357610b53610bbf565b500390565b60005b83811015610b73578181015183820152602001610b5b565b838111156105465750506000910152565b600281046001821680610b9857607f821691505b60208210811415610bb957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfe536166654d6174684c69623a207375627472616374696f6e206f766572666c6f77a264697066735822122063d757a1afe14005635ec34eee394bbae33abb7616ea22993691541ef42b5ec364736f6c63430008000033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a075dcbac7cebc50a43077fba9b381dd82da515682286e753ce0620903d705f130000000000000000000000000000000000000000000000000000000000000000e446f676520507265736964656e74000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d446f6765507265736964656e7400000000000000000000000000000000000000