Overview ERC20
PRICE
$0.031004 @ 0.00000003232 ETH (-0.81%)

ON-CHAIN MARKET CAP $89,280.00

Total Supply:
888,888,888.00 PEACH

Holders:
16,359
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Created At:
Fri, 29 Mar 2024 18:21:13 GMT
Peach.sol
Peach.sol
Peach.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_initialSupply",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "_maxTokenAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "allowance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientAllowance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "balance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientBalance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "approver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidApprover",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "receiver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidReceiver",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSender",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSpender",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      }
    ],
    "name": "OwnableInvalidOwner",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "OwnableUnauthorizedAccount",
    "type": "error"
  },
  {
    "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": false,
        "internalType": "bool",
        "name": "enforced",
        "type": "bool"
      }
    ],
    "name": "MaxTokenAmountEnforcementToggled",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "MaxTokenAmountSet",
    "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"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "WhitelistedAddressAdded",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "WhitelistedAddressRemoved",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_account",
        "type": "address"
      }
    ],
    "name": "addWhitelistedAddress",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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": "value",
        "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": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "isMaxTokenAmountEnforced",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "maxTokenAmount",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "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": "_account",
        "type": "address"
      }
    ],
    "name": "removeWhitelistedAddress",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_amount",
        "type": "uint256"
      }
    ],
    "name": "setMaxTokenAmount",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "toggleMaxTokenAmountEnforcement",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "whitelistedAddresses",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  }
]


Contract Creation Code
608060405234801562000010575f80fd5b5060405162001030380380620010308339810160408190526200003391620002b5565b336040518060400160405280600d81526020016c4261736564205065616368657360981b815250604051806040016040528060058152602001640a08a8286960db1b815250816003908162000089919062000376565b50600462000098828262000376565b5050506001600160a01b038116620000ca57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000d581620000f9565b50620000e233836200014a565b600655506007805460ff1916600117905562000468565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620001755760405163ec442f0560e01b81525f6004820152602401620000c1565b620001825f838362000186565b5050565b6001600160a01b038316620001b4578060025f828254620001a8919062000442565b90915550620002269050565b6001600160a01b0383165f9081526020819052604090205481811015620002085760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000c1565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620002445760028054829003905562000262565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002a891815260200190565b60405180910390a3505050565b5f8060408385031215620002c7575f80fd5b505080516020909101519092909150565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200030157607f821691505b6020821081036200032057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200037157805f5260205f20601f840160051c810160208510156200034d5750805b601f840160051c820191505b818110156200036e575f815560010162000359565b50505b505050565b81516001600160401b03811115620003925762000392620002d8565b620003aa81620003a38454620002ec565b8462000326565b602080601f831160018114620003e0575f8415620003c85750858301515b5f19600386901b1c1916600185901b1785556200043a565b5f85815260208120601f198616915b828110156200041057888601518255948401946001909101908401620003ef565b50858210156200042e57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b808201808211156200046257634e487b7160e01b5f52601160045260245ffd5b92915050565b610bba80620004765f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c80635ed9f6e0116100a957806395d89b411161006e57806395d89b4114610244578063a9059cbb1461024c578063b839a80e1461025f578063dd62ed3e14610272578063f2fde38b146102aa575f80fd5b80635ed9f6e0146101e857806370a08231146101f0578063715018a6146102185780638a926d0f146102205780638da5cb5b14610229575f80fd5b806318160ddd116100ef57806318160ddd1461018c57806323b872dd1461019e57806329975b43146101b1578063313ce567146101c6578063530cd5ab146101d5575f80fd5b806306c933d81461012057806306fdde0314610157578063095ea7b31461016c5780631227d7101461017f575b5f80fd5b61014261012e3660046109b5565b60086020525f908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61015f6102bd565b60405161014e91906109d5565b61014261017a366004610a21565b61034d565b6007546101429060ff1681565b6002545b60405190815260200161014e565b6101426101ac366004610a49565b610366565b6101c46101bf3660046109b5565b6103ed565b005b6040516012815260200161014e565b6101c46101e33660046109b5565b6104a8565b6101c461055f565b6101906101fe3660046109b5565b6001600160a01b03165f9081526020819052604090205490565b6101c46105b4565b61019060065481565b6005546040516001600160a01b03909116815260200161014e565b61015f6105c7565b61014261025a366004610a21565b6105d6565b6101c461026d366004610a82565b610634565b610190610280366004610a99565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101c46102b83660046109b5565b610677565b6060600380546102cc90610aca565b80601f01602080910402602001604051908101604052809291908181526020018280546102f890610aca565b80156103435780601f1061031a57610100808354040283529160200191610343565b820191905f5260205f20905b81548152906001019060200180831161032657829003601f168201915b5050505050905090565b5f3361035a8185856106b4565b60019150505b92915050565b6007545f9060ff1680156103895750335f9081526008602052604090205460ff16155b156103b9576006548211156103b95760405162461bcd60e51b81526004016103b090610b02565b60405180910390fd5b6103c48484846106c6565b6103e38433846103d48833610280565b6103de9190610b5e565b6106b4565b5060019392505050565b6103f5610723565b6001600160a01b0381165f9081526008602052604090205460ff161561045d5760405162461bcd60e51b815260206004820152601b60248201527f4164647265737320616c72656164792077686974656c6973746564000000000060448201526064016103b0565b6001600160a01b0381165f81815260086020526040808220805460ff19166001179055517fd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f9190a250565b6104b0610723565b6001600160a01b0381165f9081526008602052604090205460ff166105175760405162461bcd60e51b815260206004820152601760248201527f41646472657373206e6f742077686974656c697374656400000000000000000060448201526064016103b0565b6001600160a01b0381165f81815260086020526040808220805460ff19169055517ff1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a9190a250565b610567610723565b6007805460ff8082161560ff1990921682179092556040519116151581527f932e656c5edaef822c0a1560e34f079fd638d8841f6b34bf5bc591dd3ff8e0719060200160405180910390a1565b6105bc610723565b6105c55f610750565b565b6060600480546102cc90610aca565b6007545f9060ff1680156105f95750335f9081526008602052604090205460ff16155b15610620576006548211156106205760405162461bcd60e51b81526004016103b090610b02565b61062b3384846106c6565b50600192915050565b61063c610723565b60068190556040518181527f8d6a58c0f0126d5628b345bf4edb71a778f763057759fe5c4be62dee5ce2660b9060200160405180910390a150565b61067f610723565b6001600160a01b0381166106a857604051631e4fbdf760e01b81525f60048201526024016103b0565b6106b181610750565b50565b6106c183838360016107a1565b505050565b6001600160a01b0383166106ef57604051634b637e8f60e11b81525f60048201526024016103b0565b6001600160a01b0382166107185760405163ec442f0560e01b81525f60048201526024016103b0565b6106c1838383610874565b6005546001600160a01b031633146105c55760405163118cdaa760e01b81523360048201526024016103b0565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166107ca5760405163e602df0560e01b81525f60048201526024016103b0565b6001600160a01b0383166107f357604051634a1406b160e11b81525f60048201526024016103b0565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561086e57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161086591815260200190565b60405180910390a35b50505050565b6001600160a01b03831661089e578060025f8282546108939190610b71565b9091555061090e9050565b6001600160a01b0383165f90815260208190526040902054818110156108f05760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103b0565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661092a57600280548290039055610948565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161098d91815260200190565b60405180910390a3505050565b80356001600160a01b03811681146109b0575f80fd5b919050565b5f602082840312156109c5575f80fd5b6109ce8261099a565b9392505050565b5f602080835283518060208501525f5b81811015610a01578581018301518582016040015282016109e5565b505f604082860101526040601f19601f8301168501019250505092915050565b5f8060408385031215610a32575f80fd5b610a3b8361099a565b946020939093013593505050565b5f805f60608486031215610a5b575f80fd5b610a648461099a565b9250610a726020850161099a565b9150604084013590509250925092565b5f60208284031215610a92575f80fd5b5035919050565b5f8060408385031215610aaa575f80fd5b610ab38361099a565b9150610ac16020840161099a565b90509250929050565b600181811c90821680610ade57607f821691505b602082108103610afc57634e487b7160e01b5f52602260045260245ffd5b50919050565b60208082526028908201527f45786365656473206d617820746f6b656e20616d6f756e7420706572207472616040820152673739b0b1ba34b7b760c11b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561036057610360610b4a565b8082018082111561036057610360610b4a56fea2646970667358221220b79ff11bb3f7b0cc6b07e3819d1dbfea16252840f5515e92c9864dcbb02b84a464736f6c63430008180033000000000000000000000000000000000000000002df458b2c635dcf55e000000000000000000000000000000000000000000000000583b8a2417b04c5040000
Constructor Arguments
(ABI-Encoded and is the last bytes of the Contract Creation Code above)
0x000000000000000000000000000000000000000002df458b2c635dcf55e000000000000000000000000000000000000000000000000583b8a2417b04c5040000

----Decoded View------------Arg [0] : _initialSupply (uint256): 888888888000000000000000000Arg [1] : _maxTokenAmount (uint256): 6666665000000000000000000

----Encoded View------------Arg [0] : 0x000000000000000000000000000000000000000002df458b2c635dcf55e00000Arg [1] : 0x0000000000000000000000000000000000000000000583b8a2417b04c5040000

Loading