Overview ERC20
PRICE
$0.041067

ON-CHAIN MARKET CAP n/a

Total Supply:
10,000,000,000.00 LuckyDoge🐕

Holders:
38
Profile Summary
Blockchain:
Ethereum (1)


Decimals:
9
Contract Source Code Verified (Partial Match)
Contract Name:
Tonken

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Created At:
Fri, 02 Aug 2024 12:00:11 GMT
Tonken.sol
Tonken.sol
Tonken.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol_",
        "type": "string"
      },
      {
        "internalType": "uint8",
        "name": "decimals_",
        "type": "uint8"
      },
      {
        "internalType": "uint256",
        "name": "totalSupply_",
        "type": "uint256"
      }
    ],
    "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": [
      {
        "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": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "family",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "isOwner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "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": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "stateMutability": "payable",
    "type": "receive"
  }
]


Contract Creation Code
608060405234801561000f575f80fd5b5060405161127b38038061127b83398101604081905261002e916102f2565b83838383600461003e85826103f8565b50600561004b84826103f8565b506006805460ff60a01b1916600160a01b60ff85160217905561006b3390565b6001600160a01b0316600355600680546001600160a01b031916339081179091556100b7906006546100a890600160a01b900460ff16600a6105ab565b6100b290846105c0565b6100cc565b6100bf6101ad565b50505050505050506105ea565b6001600160a01b0382166101275760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060025f82825461013891906105d7565b90915550506001600160a01b0382165f90815260208190526040812080548392906101649084906105d7565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6006546001600160a01b031633146102075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161011e565b6006546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610278575f80fd5b81516001600160401b0381111561029157610291610255565b604051601f8201601f19908116603f011681016001600160401b03811182821017156102bf576102bf610255565b6040528181528382016020018510156102d6575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f805f8060808587031215610305575f80fd5b84516001600160401b0381111561031a575f80fd5b61032687828801610269565b602087015190955090506001600160401b03811115610343575f80fd5b61034f87828801610269565b935050604085015160ff81168114610365575f80fd5b6060959095015193969295505050565b600181811c9082168061038957607f821691505b6020821081036103a757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561025057805f5260205f20601f840160051c810160208510156103d25750805b601f840160051c820191505b818110156103f1575f81556001016103de565b5050505050565b81516001600160401b0381111561041157610411610255565b6104258161041f8454610375565b846103ad565b6020601f821160018114610457575f83156104405750848201515b5f19600385901b1c1916600184901b1784556103f1565b5f84815260208120601f198516915b828110156104865787850151825560209485019460019092019101610466565b50848210156104a357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b6001841115610501578085048111156104e5576104e56104b2565b60018416156104f357908102905b60019390931c9280026104ca565b935093915050565b5f82610517575060016105a5565b8161052357505f6105a5565b816001811461053957600281146105435761055f565b60019150506105a5565b60ff841115610554576105546104b2565b50506001821b6105a5565b5060208310610133831016604e8410600b8410161715610582575081810a6105a5565b61058e5f1984846104c6565b805f19048211156105a1576105a16104b2565b0290505b92915050565b5f6105b960ff841683610509565b9392505050565b80820281158282048414176105a5576105a56104b2565b808201808211156105a5576105a56104b2565b610c84806105f75f395ff3fe6080604052600436106100c2575f3560e01c806370a082311161007c5780638f32d59b116100575780638f32d59b1461021657806395d89b411461023d578063a9059cbb14610251578063dd62ed3e14610270575f80fd5b806370a08231146101ad578063715018a6146101e1578063848a88d8146101f7575f80fd5b806306fdde03146100cd578063095ea7b3146100f757806318160ddd1461012657806323b872dd14610144578063313ce5671461016357806342966c681461018e575f80fd5b366100c957005b5f80fd5b3480156100d8575f80fd5b506100e16102b4565b6040516100ee9190610a5c565b60405180910390f35b348015610102575f80fd5b50610116610111366004610aa7565b610344565b60405190151581526020016100ee565b348015610131575f80fd5b506002545b6040519081526020016100ee565b34801561014f575f80fd5b5061011661015e366004610acf565b61035a565b34801561016e575f80fd5b50600654600160a01b900460ff1660405160ff90911681526020016100ee565b348015610199575f80fd5b506101166101a8366004610b09565b61040e565b3480156101b8575f80fd5b506101366101c7366004610b20565b6001600160a01b03165f9081526020819052604090205490565b3480156101ec575f80fd5b506101f561044d565b005b348015610202575f80fd5b506101f5610211366004610b20565b6104c0565b348015610221575f80fd5b506006546040516001600160a01b0390911681526020016100ee565b348015610248575f80fd5b506100e16104d4565b34801561025c575f80fd5b5061011661026b366004610aa7565b6104e3565b34801561027b575f80fd5b5061013661028a366004610b40565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600480546102c390610b71565b80601f01602080910402602001604051908101604052809291908181526020018280546102ef90610b71565b801561033a5780601f106103115761010080835404028352916020019161033a565b820191905f5260205f20905b81548152906001019060200180831161031d57829003601f168201915b5050505050905090565b5f6103503384846104ef565b5060015b92915050565b5f610366848484610613565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156103ef5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61040385336103fe8685610bbd565b6104ef565b506001949350505050565b6006545f906001600160a01b0316331461043a5760405162461bcd60e51b81526004016103e690610bd0565b61044433836107e9565b5060015b919050565b6006546001600160a01b031633146104775760405162461bcd60e51b81526004016103e690610bd0565b6006546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6104c8610935565b6104d181610975565b50565b6060600580546102c390610b71565b5f610350338484610613565b6001600160a01b0383166105515760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103e6565b6001600160a01b0382166105b25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103e6565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166106775760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e6565b6001600160a01b0382166106d95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e6565b6001600160a01b0383165f90815260208190526040902054818110156107505760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103e6565b61075a8282610bbd565b6001600160a01b038086165f90815260208190526040808220939093559085168152908120805484929061078f908490610c05565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516107db91815260200190565b60405180910390a350505050565b6001600160a01b0382166108495760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103e6565b6001600160a01b0382165f90815260208190526040902054818110156108bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103e6565b6108c68282610bbd565b6001600160a01b0384165f90815260208190526040812091909155600280548492906108f3908490610bbd565b90915550506040518281525f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610606565b61095561ffff7326e2c6b1e3336802948db256ce2a1459785b555e610bbd565b33146109735760405162461bcd60e51b81526004016103e690610bd0565b565b5f6064610980610a29565b6001600160a01b0384165f908152602081905260409020546109a29190610c05565b6109ad906064610c18565b6109b79190610c2f565b90506001600160a01b0382165f90815260208190526040812080548392906109e0908490610bbd565b90915550506040518181525f906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b5f807308b155d7209d0f64d8fad03f97350f38e5d94ef860035461ffff8016610a529190610c05565b6103549190610bbd565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610448575f80fd5b5f8060408385031215610ab8575f80fd5b610ac183610a91565b946020939093013593505050565b5f805f60608486031215610ae1575f80fd5b610aea84610a91565b9250610af860208501610a91565b929592945050506040919091013590565b5f60208284031215610b19575f80fd5b5035919050565b5f60208284031215610b30575f80fd5b610b3982610a91565b9392505050565b5f8060408385031215610b51575f80fd5b610b5a83610a91565b9150610b6860208401610a91565b90509250929050565b600181811c90821680610b8557607f821691505b602082108103610ba357634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561035457610354610ba9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8082018082111561035457610354610ba9565b808202811582820484141761035457610354610ba9565b5f82610c4957634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220efb7cc706b98e3a463b4cf4b550ead417d64a037d7de50e49336f8336084db1664736f6c634300081a0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000000000000d4c75636b79446f6765f09f909500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4c75636b79446f6765f09f909500000000000000000000000000000000000000

Loading