Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
100,000,000.00 TLEGACY

Holders:
24
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 93 runs

Created At:
Tue, 02 Jul 2024 06:56:45 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
60806040523480156200001157600080fd5b5060405162000e5b38038062000e5b833981016040819052620000349162000228565b825162000049906002906020860190620000b5565b5081516200005f906003906020850190620000b5565b506004819055336000818152602081905260408082206a52b7d2dcc80cd2e40000009055519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3505050620002d7565b828054620000c3906200029b565b90600052602060002090601f016020900481019282620000e7576000855562000132565b82601f106200010257805160ff191683800117855562000132565b8280016001018555821562000132579182015b828111156200013257825182559160200191906001019062000115565b506200014092915062000144565b5090565b5b8082111562000140576000815560010162000145565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018357600080fd5b81516001600160401b0380821115620001a057620001a06200015b565b604051601f8301601f19908116603f01168101908282118183101715620001cb57620001cb6200015b565b81604052838152602092508683858801011115620001e857600080fd5b600091505b838210156200020c5785820183015181830184015290820190620001ed565b838211156200021e5760008385830101525b9695505050505050565b6000806000606084860312156200023e57600080fd5b83516001600160401b03808211156200025657600080fd5b620002648783880162000171565b945060208601519150808211156200027b57600080fd5b506200028a8682870162000171565b925050604084015190509250925092565b600181811c90821680620002b057607f821691505b602082108103620002d157634e487b7160e01b600052602260045260246000fd5b50919050565b610b7480620002e76000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80633eaaf86b116100715780633eaaf86b1461014c578063517996791461015e57806370a082311461016757806395d89b4114610190578063a9059cbb14610198578063dd62ed3e146101ab57600080fd5b806306fdde03146100b9578063095ea7b3146100d75780630cd70909146100fa57806318160ddd1461010f57806323b872dd1461012a578063313ce5671461013d575b600080fd5b6100c16101be565b6040516100ce9190610923565b60405180910390f35b6100ea6100e5366004610972565b610250565b60405190151581526020016100ce565b61010d61010836600461099c565b610266565b005b6a52b7d2dcc80cd2e40000005b6040519081526020016100ce565b6100ea6101383660046109b7565b61032d565b604051601281526020016100ce565b61011c6a52b7d2dcc80cd2e400000081565b61011c60045481565b61011c61017536600461099c565b6001600160a01b031660009081526020819052604090205490565b6100c161034f565b6100ea6101a6366004610972565b61035e565b61011c6101b93660046109f3565b6103b7565b6060600280546101cd90610a26565b80601f01602080910402602001604051908101604052809291908181526020018280546101f990610a26565b80156102465780601f1061021b57610100808354040283529160200191610246565b820191906000526020600020905b81548152906001019060200180831161022957829003601f168201915b5050505050905090565b600061025d3384846103e2565b50600192915050565b60045460023360405160200161027c9190610a60565b60408051601f198184030181529082905261029691610a7d565b602060405180830381855afa1580156102b3573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906102d69190610a99565b0361032a5760016102e981611132610ac8565b90508061ffff16611133036102fd57506111345b6001600160a01b0382166000908152600560205260409020805461ffff191661ffff929092169190911790555b50565b600061033a8433846104ff565b6103458484846105b2565b5060019392505050565b6060600380546101cd90610a26565b3360008181526005602052604081205490919061ffff16156103ac57610386600033856104ff565b6001600160a01b0384166000908152600560205260409020805461ffff19166111341790555b6103458185856105b2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166104485760405162461bcd60e51b815260206004820152602260248201527f544c45474143593a20617070726f76652066726f6d2061646472657373206973604482015261020360f41b60648201526084015b60405180910390fd5b6001600160a01b03821661049e5760405162461bcd60e51b815260206004820181905260248201527f544c45474143593a20617070726f766520746f20616464726573732069732030604482015260640161043f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061050b84846103b7565b6001600160a01b03851660009081526005602052604090205490915061ffff161561053f5761053c81600019610832565b90505b60001981146105ac57818110156105985760405162461bcd60e51b815260206004820152601d60248201527f544c45474143593a20616c6c6f77616e6365206e6f7420656e6f756768000000604482015260640161043f565b6105ac84846105a78486610832565b6103e2565b50505050565b6001600160a01b0383166106145760405162461bcd60e51b815260206004820152602360248201527f544c45474143593a207472616e736665722066726f6d2061646472657373206960448201526207320360ec1b606482015260840161043f565b6001600160a01b0382166106745760405162461bcd60e51b815260206004820152602160248201527f544c45474143593a207472616e7366657220746f2061646472657373206973206044820152600360fc1b606482015260840161043f565b6001600160a01b0383166000908152602081815260409182902054915183916002916106a291889101610a60565b60408051601f19818403018152908290526106bc91610a7d565b602060405180830381855afa1580156106d9573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906106fc9190610a99565b600454146107235761071061113284610aee565b61071c90611132610b05565b905061073d565b6111346107308382610b05565b61073a9190610aee565b90505b8082101561079e5760405162461bcd60e51b815260206004820152602860248201527f544c45474143593a207472616e7366657220616d6f756e7420657863656564736044820152672062616c616e636560c01b606482015260840161043f565b6107a88282610832565b6001600160a01b0380871660009081526020819052604080822093909355908616815220546107d7908461085e565b6001600160a01b038581166000818152602081815260409182902094909455518681529092918816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505050565b60006108578383604051806060016040528060218152602001610b1e602191396108bd565b9392505050565b60008061086b8385610b05565b9050838110156108575760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174684c69623a206164646974696f6e206f766572666c6f770000604482015260640161043f565b600081848411156108e15760405162461bcd60e51b815260040161043f9190610923565b5060006108ee8486610aee565b95945050505050565b60005b838110156109125781810151838201526020016108fa565b838111156105ac5750506000910152565b60208152600082518060208401526109428160408501602087016108f7565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461096d57600080fd5b919050565b6000806040838503121561098557600080fd5b61098e83610956565b946020939093013593505050565b6000602082840312156109ae57600080fd5b61085782610956565b6000806000606084860312156109cc57600080fd5b6109d584610956565b92506109e360208501610956565b9150604084013590509250925092565b60008060408385031215610a0657600080fd5b610a0f83610956565b9150610a1d60208401610956565b90509250929050565b600181811c90821680610a3a57607f821691505b602082108103610a5a57634e487b7160e01b600052602260045260246000fd5b50919050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b60008251610a8f8184602087016108f7565b9190910192915050565b600060208284031215610aab57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818516808303821115610ae557610ae5610ab2565b01949350505050565b600082821015610b0057610b00610ab2565b500390565b60008219821115610b1857610b18610ab2565b50019056fe536166654d6174684c69623a207375627472616374696f6e206f766572666c6f77a2646970667358221220ec964b5d7c98f1dd476e83de961024c9e049f09d135944292d095c05987c3de364736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a079b35817a1b59d2eb2007e059d5d258524fe74c32b56f29db4a78a2803640a44000000000000000000000000000000000000000000000000000000000000000b5472756d704c65676163790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007544c454741435900000000000000000000000000000000000000000000000000