Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
420,000,000,000,000,000,000,000,000,000,000.00 t.o.b.y

Holders:
9
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Created At:
Wed, 06 Nov 2024 18:29:41 GMT
toby.sol
toby.sol
toby.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol_",
        "type": "string"
      },
      {
        "internalType": "uint256",
        "name": "decimals_",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "initialBalance_",
        "type": "uint256"
      },
      {
        "internalType": "address",
        "name": "tokenOwner",
        "type": "address"
      },
      {
        "internalType": "address payable",
        "name": "feeReceiver_",
        "type": "address"
      }
    ],
    "stateMutability": "payable",
    "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": "Optimization",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "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": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "subtractedValue",
        "type": "uint256"
      }
    ],
    "name": "decreaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "addedValue",
        "type": "uint256"
      }
    ],
    "name": "increaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "tokenAddress",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "tokenAmount",
        "type": "uint256"
      }
    ],
    "name": "recoverERC20",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040526c108f4d4f10e806c07773266fec60075560405161121438038061121483398101604081905261003391610288565b858585600461004284826103b6565b50600561004f83826103b6565b5060035550506040516001600160a01b038216903480156108fc02916000818181858888f1935050505015801561008a573d6000803e3d6000fd5b50600680546001600160a01b0319166001600160a01b0384161790556100c4826100b586600a610573565b6100bf9086610586565b6100cf565b5050505050506105b0565b6001600160a01b0382166101295760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825461013b919061059d565b90915550506001600160a01b0382166000908152602081905260408120805483929061016890849061059d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126101de57600080fd5b81516001600160401b038111156101f7576101f76101b7565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610225576102256101b7565b60405281815283820160200185101561023d57600080fd5b60005b8281101561025c57602081860181015183830182015201610240565b506000918101602001919091529392505050565b6001600160a01b038116811461028557600080fd5b50565b60008060008060008060c087890312156102a157600080fd5b86516001600160401b038111156102b757600080fd5b6102c389828a016101cd565b602089015190975090506001600160401b038111156102e157600080fd5b6102ed89828a016101cd565b604089015160608a015160808b01519298509096509450905061030f81610270565b60a088015190925061032081610270565b809150509295509295509295565b600181811c9082168061034257607f821691505b60208210810361036257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101b257806000526020600020601f840160051c8101602085101561038f5750805b601f840160051c820191505b818110156103af576000815560010161039b565b5050505050565b81516001600160401b038111156103cf576103cf6101b7565b6103e3816103dd845461032e565b84610368565b6020601f82116001811461041757600083156103ff5750848201515b600019600385901b1c1916600184901b1784556103af565b600084815260208120601f198516915b828110156104475787850151825560209485019460019092019101610427565b50848210156104655786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156104c5578085048111156104a9576104a9610474565b60018416156104b757908102905b60019390931c92800261048e565b935093915050565b6000826104dc5750600161056d565b816104e95750600061056d565b81600181146104ff576002811461050957610525565b600191505061056d565b60ff84111561051a5761051a610474565b50506001821b61056d565b5060208310610133831016604e8410600b8410161715610548575081810a61056d565b610555600019848461048a565b806000190482111561056957610569610474565b0290505b92915050565b600061057f83836104cd565b9392505050565b808202811582820484141761056d5761056d610474565b8082018082111561056d5761056d610474565b610c55806105bf6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063715018a6116100a2578063a457c2d711610071578063a457c2d714610211578063a9059cbb14610224578063b2bdfa7b14610237578063dd62ed3e1461024a578063f2fde38b1461028357600080fd5b8063715018a6146101c75780638980f11f146101d15780638da5cb5b146101e457806395d89b411461020957600080fd5b806323b872dd116100de57806323b872dd14610170578063313ce56714610183578063395093511461018b57806370a082311461019e57600080fd5b806306fdde0314610110578063095ea7b31461012e57806310c8aeac1461015157806318160ddd14610168575b600080fd5b610118610296565b6040516101259190610a2c565b60405180910390f35b61014161013c366004610a96565b610328565b6040519015158152602001610125565b61015a60075481565b604051908152602001610125565b60025461015a565b61014161017e366004610ac0565b61033f565b60035461015a565b610141610199366004610a96565b6103f5565b61015a6101ac366004610afd565b6001600160a01b031660009081526020819052604090205490565b6101cf61042c565b005b6101cf6101df366004610a96565b6104af565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610125565b61011861057f565b61014161021f366004610a96565b61058e565b610141610232366004610a96565b610629565b6006546101f1906001600160a01b031681565b61015a610258366004610b1f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101cf610291366004610afd565b610636565b6060600480546102a590610b52565b80601f01602080910402602001604051908101604052809291908181526020018280546102d190610b52565b801561031e5780601f106102f35761010080835404028352916020019161031e565b820191906000526020600020905b81548152906001019060200180831161030157829003601f168201915b5050505050905090565b6000610335338484610730565b5060015b92915050565b600061034c848484610854565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103d65760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103ea85336103e58685610ba2565b610730565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103359185906103e5908690610bb5565b3261043f6006546001600160a01b031690565b6001600160a01b0316146104655760405162461bcd60e51b81526004016103cd90610bc8565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b326104c26006546001600160a01b031690565b6001600160a01b0316146104e85760405162461bcd60e51b81526004016103cd90610bc8565b816001600160a01b031663a9059cbb6105096006546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057a9190610bfd565b505050565b6060600580546102a590610b52565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106105760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103cd565b61061f33856103e58685610ba2565b5060019392505050565b6000610335338484610854565b326106496006546001600160a01b031690565b6001600160a01b03161461066f5760405162461bcd60e51b81526004016103cd90610bc8565b6001600160a01b0381166106d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103cd565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107925760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103cd565b6001600160a01b0382166107f35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103cd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103cd565b6001600160a01b03821661091a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103cd565b6001600160a01b038316600090815260208190526040902054818110156109925760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103cd565b61099c8282610ba2565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906109d2908490610bb5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a1e91815260200190565b60405180910390a350505050565b602081526000825180602084015260005b81811015610a5a5760208186018101516040868401015201610a3d565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610a9157600080fd5b919050565b60008060408385031215610aa957600080fd5b610ab283610a7a565b946020939093013593505050565b600080600060608486031215610ad557600080fd5b610ade84610a7a565b9250610aec60208501610a7a565b929592945050506040919091013590565b600060208284031215610b0f57600080fd5b610b1882610a7a565b9392505050565b60008060408385031215610b3257600080fd5b610b3b83610a7a565b9150610b4960208401610a7a565b90509250929050565b600181811c90821680610b6657607f821691505b602082108103610b8657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561033957610339610b8c565b8082018082111561033957610339610b8c565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610c0f57600080fd5b81518015158114610b1857600080fdfea2646970667358221220955cc3f4a4c04d9a5dd2f54fbd5d1b9267b499d0443b1de0e6513a439c6a54d164736f6c634300081c003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000014b5253145b397d65451000000000000000000000000000000009e23b2bbb9ae5d899c7f129f20e372686f988dff0000000000000000000000009e23b2bbb9ae5d899c7f129f20e372686f988dff0000000000000000000000000000000000000000000000000000000000000004746f6279000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007742e6f2e622e7900000000000000000000000000000000000000000000000000
Constructor Arguments
(ABI-Encoded and is the last bytes of the Contract Creation Code above)
0x00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000014b5253145b397d65451000000000000000000000000000000009e23b2bbb9ae5d899c7f129f20e372686f988dff0000000000000000000000009e23b2bbb9ae5d899c7f129f20e372686f988dff0000000000000000000000000000000000000000000000000000000000000004746f6279000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007742e6f2e622e7900000000000000000000000000000000000000000000000000

----Decoded View------------Arg [0] : name_ (string): tobyArg [1] : symbol_ (string): t.o.b.yArg [2] : decimals_ (uint256): 18Arg [3] : initialBalance_ (uint256): 420000000000000000000000000000000Arg [4] : tokenOwner (address): 0x9E23B2bBB9Ae5d899C7F129f20e372686F988dffArg [5] : feeReceiver_ (address): 0x9E23B2bBB9Ae5d899C7F129f20e372686F988dff

----Encoded View------------Arg [0] : 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004746f627900000000000000000000000000000000000000000000000000000000Arg [1] : 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000007742e6f2e622e7900000000000000000000000000000000000000000000000000Arg [2] : 0x0000000000000000000000000000000000000000000000000000000000000012Arg [3] : 0x00000000000000000000000000000000000014b5253145b397d6545100000000Arg [4] : 0x0000000000000000000000009e23b2bbb9ae5d899c7f129f20e372686f988dffArg [5] : 0x0000000000000000000000009e23b2bbb9ae5d899c7f129f20e372686f988dff