Overview ERC20
PRICE
$0.053011

ON-CHAIN MARKET CAP n/a

Total Supply:
1,000,000,000.00 DBRETT

Holders:
87
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Created At:
Sun, 09 Jun 2024 21:39:09 GMT
Erc20.sol
contracts
Erc20.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "uint8",
        "name": "_decimals",
        "type": "uint8"
      },
      {
        "internalType": "uint256",
        "name": "_totalSupply",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "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": 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": "value",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_owner",
        "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": "launch",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "launched",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "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": [],
    "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": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "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": "value",
        "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
60c060405234801562000010575f80fd5b5060405162000e8438038062000e84833981016040819052620000339162000236565b33806200005957604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b620000648162000126565b50600362000073858262000345565b50600462000082848262000345565b5060ff821660a05260808190528060015f620000a55f546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254620000d4919062000411565b90915550505f80546040518381526001600160a01b0390911691907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050505062000437565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000199575f80fd5b81516001600160401b0380821115620001b657620001b662000175565b604051601f8301601f19908116603f01168101908282118183101715620001e157620001e162000175565b8160405283815260209250866020858801011115620001fe575f80fd5b5f91505b8382101562000221578582018301518183018401529082019062000202565b5f602085830101528094505050505092915050565b5f805f80608085870312156200024a575f80fd5b84516001600160401b038082111562000261575f80fd5b6200026f8883890162000189565b9550602087015191508082111562000285575f80fd5b50620002948782880162000189565b935050604085015160ff81168114620002ab575f80fd5b6060959095015193969295505050565b600181811c90821680620002d057607f821691505b602082108103620002ef57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200034057805f5260205f20601f840160051c810160208510156200031c5750805b601f840160051c820191505b818110156200033d575f815560010162000328565b50505b505050565b81516001600160401b0381111562000361576200036162000175565b6200037981620003728454620002bb565b84620002f5565b602080601f831160018114620003af575f8415620003975750858301515b5f19600386901b1c1916600185901b17855562000409565b5f85815260208120601f198616915b82811015620003df57888601518255948401946001909101908401620003be565b5085821015620003fd57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b808201808211156200043157634e487b7160e01b5f52601160045260245ffd5b92915050565b60805160a051610a2b620004595f395f61018101525f6101390152610a2b5ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c8063715018a61161008857806395d89b411161006357806395d89b411461020c578063a9059cbb14610214578063dd62ed3e14610227578063f2fde38b1461025f575f80fd5b8063715018a6146101dd5780638091f3bf146101e55780638da5cb5b146101f2575f80fd5b806318160ddd116100c357806318160ddd1461013457806323b872dd14610169578063313ce5671461017c57806370a08231146101b5575f80fd5b806301339c21146100e957806306fdde03146100f3578063095ea7b314610111575b5f80fd5b6100f1610272565b005b6100fb6102e1565b6040516101089190610871565b60405180910390f35b61012461011f3660046108d8565b61036d565b6040519015158152602001610108565b61015b7f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610108565b610124610177366004610900565b610428565b6101a37f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610108565b61015b6101c3366004610939565b6001600160a01b03165f9081526001602052604090205490565b6100f1610536565b6005546101249060ff1681565b5f546040516001600160a01b039091168152602001610108565b6100fb610549565b6101246102223660046108d8565b610556565b61015b610235366004610952565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6100f161026d366004610939565b61056b565b61027a6105a8565b60055460ff16156102d25760405162461bcd60e51b815260206004820152601960248201527f636f6e747261637420616c7265616479206c61756e636865640000000000000060448201526064015b60405180910390fd5b6005805460ff19166001179055565b600480546102ee90610983565b80601f016020809104026020016040519081016040528092919081815260200182805461031a90610983565b80156103655780601f1061033c57610100808354040283529160200191610365565b820191905f5260205f20905b81548152906001019060200180831161034857829003601f168201915b505050505081565b5f6001600160a01b0383166103c45760405162461bcd60e51b815260206004820152601c60248201527f63616e6e6f7420617070726f766520746865203020616464726573730000000060448201526064016102c9565b335f8181526002602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060015b92915050565b6005545f9060ff1615801561044957505f546001600160a01b038481169116145b801561045e57505f546001600160a01b031633145b156104765761046e8484846105d4565b50600161052f565b6001600160a01b0384165f9081526002602090815260408083203384529091529020546104a49083906109cf565b6001600160a01b0385165f9081526002602090815260408083203384529091529020556104d28484846105d4565b6001600160a01b0384165f81815260026020908152604080832033808552908352928190205490519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060015b9392505050565b61053e6105a8565b6105475f6107ac565b565b600380546102ee90610983565b5f6105623384846105d4565b50600192915050565b6105736105a8565b6001600160a01b03811661059c57604051631e4fbdf760e01b81525f60048201526024016102c9565b6105a5816107ac565b50565b5f546001600160a01b031633146105475760405163118cdaa760e01b81523360048201526024016102c9565b6001600160a01b0382166106235760405162461bcd60e51b815260206004820152601660248201527563616e6e6f74206265207a65726f206164647265737360501b60448201526064016102c9565b816001600160a01b0316836001600160a01b0316036106845760405162461bcd60e51b815260206004820152601f60248201527f796f752063616e6e6f74207472616e7366657220746f20796f757273656c660060448201526064016102c9565b61068e83836107fb565b6107005760405162461bcd60e51b815260206004820152603d60248201527f5468697320746f6b656e206973206e6f74206c61756e6368656420616e64206360448201527f616e6e6f74206265206c6973746564206f6e206465786573207965742e00000060648201526084016102c9565b6001600160a01b0383165f90815260016020526040812080548392906107279084906109cf565b90915550506001600160a01b0382165f90815260016020526040812080548392906107539084906109e2565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161079f91815260200190565b60405180910390a3505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6005545f9060ff161561081057506001610422565b5f546001600160a01b038481169116148061083757505f546001600160a01b038381169116145b1561084457506001610422565b6001600160a01b0383163b15158061086557506001600160a01b0382163b15155b1561056257505f610422565b5f602080835283518060208501525f5b8181101561089d57858101830151858201604001528201610881565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108d3575f80fd5b919050565b5f80604083850312156108e9575f80fd5b6108f2836108bd565b946020939093013593505050565b5f805f60608486031215610912575f80fd5b61091b846108bd565b9250610929602085016108bd565b9150604084013590509250925092565b5f60208284031215610949575f80fd5b61052f826108bd565b5f8060408385031215610963575f80fd5b61096c836108bd565b915061097a602084016108bd565b90509250929050565b600181811c9082168061099757607f821691505b6020821081036109b557634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610422576104226109bb565b80820180821115610422576104226109bb56fea2646970667358221220dedacd5aae49172574f9b225857bbccf956979cb4fb917795192ff9bfb234a6464736f6c63430008180033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000033b2e3c9fd0803ce800000000000000000000000000000000000000000000000000000000000000000000064442524554540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4469636b20427265747400000000000000000000000000000000000000000000