Overview ERC20
PRICE
$0.043098

ON-CHAIN MARKET CAP n/a

Total Supply:
100,000,000.00 DREGEN

Holders:
30,601
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No

Created At:
Tue, 02 Jul 2024 09:09:13 GMT
Dregen.sol
Dregen.sol
Dregen.sol


Contract ABI
[
  {
    "inputs": [],
    "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": "tokenOwner",
        "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": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_k1",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "_k2",
        "type": "uint256"
      }
    ],
    "name": "dip",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "pure",
    "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": "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"
  }
]


Contract Creation Code
608060405234801562000010575f80fd5b503360015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601260ff16600a620000649190620002f3565b6305f5e10062000075919062000343565b5f819055505f5460025f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f546040516200015f91906200039e565b60405180910390a3620003b9565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b6001851115620001f757808604811115620001cf57620001ce6200016d565b5b6001851615620001df5780820291505b8081029050620001ef856200019a565b9450620001af565b94509492505050565b5f82620002115760019050620002e3565b8162000220575f9050620002e3565b816001811462000239576002811462000244576200027a565b6001915050620002e3565b60ff8411156200025957620002586200016d565b5b8360020a9150848211156200027357620002726200016d565b5b50620002e3565b5060208310610133831016604e8410600b8410161715620002b45782820a905083811115620002ae57620002ad6200016d565b5b620002e3565b620002c38484846001620001a6565b92509050818404811115620002dd57620002dc6200016d565b5b81810290505b9392505050565b5f819050919050565b5f620002ff82620002ea565b91506200030c83620002ea565b92506200033b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000200565b905092915050565b5f6200034f82620002ea565b91506200035c83620002ea565b92508282026200036c81620002ea565b915082820484148315176200038657620003856200016d565b5b5092915050565b6200039881620002ea565b82525050565b5f602082019050620003b35f8301846200038d565b92915050565b61108d80620003c75f395ff3fe608060405234801561000f575f80fd5b50600436106100b2575f3560e01c806370a082311161006f57806370a08231146101a0578063715018a6146101d05780638da5cb5b146101da57806395d89b41146101f8578063a9059cbb14610216578063dd62ed3e14610246576100b2565b806306fdde03146100b6578063095ea7b3146100d457806318160ddd1461010457806323b872dd14610122578063313ce567146101525780636abc15a014610170575b5f80fd5b6100be610276565b6040516100cb9190610a91565b60405180910390f35b6100ee60048036038101906100e99190610b42565b6102af565b6040516100fb9190610b9a565b60405180910390f35b61010c6102c5565b6040516101199190610bc2565b60405180910390f35b61013c60048036038101906101379190610bdb565b6102ca565b6040516101499190610b9a565b60405180910390f35b61015a61036f565b6040516101679190610c46565b60405180910390f35b61018a60048036038101906101859190610c5f565b610374565b6040516101979190610c46565b60405180910390f35b6101ba60048036038101906101b59190610c9d565b61038e565b6040516101c79190610bc2565b60405180910390f35b6101d86103d4565b005b6101e2610520565b6040516101ef9190610cd7565b60405180910390f35b610200610545565b60405161020d9190610a91565b60405180910390f35b610230600480360381019061022b9190610b42565b61057e565b60405161023d9190610b9a565b60405180910390f35b610260600480360381019061025b9190610cf0565b610594565b60405161026d9190610bc2565b60405180910390f35b6040518060400160405280600681526020017f44726567656e000000000000000000000000000000000000000000000000000081525081565b5f6102bb338484610616565b6001905092915050565b5f5481565b5f6102d68484846107d9565b61036484338460035f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461035f9190610d5b565b610616565b600190509392505050565b601281565b5f818311610383576002610386565b60015b905092915050565b5f60025f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045a90610dd8565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff1660015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f60015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600681526020017f44524547454e000000000000000000000000000000000000000000000000000081525081565b5f61058a3384846107d9565b6001905092915050565b5f60035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067b90610e40565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e990610ea8565b60405180910390fd5b8060035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516107cc9190610bc2565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083e90610f10565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ac90610f78565b60405180910390fd5b5f81116108f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ee90611006565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546109439190610d5b565b925050819055508060025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546109969190611024565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109fa9190610bc2565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610a3e578082015181840152602081019050610a23565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610a6382610a07565b610a6d8185610a11565b9350610a7d818560208601610a21565b610a8681610a49565b840191505092915050565b5f6020820190508181035f830152610aa98184610a59565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610ade82610ab5565b9050919050565b610aee81610ad4565b8114610af8575f80fd5b50565b5f81359050610b0981610ae5565b92915050565b5f819050919050565b610b2181610b0f565b8114610b2b575f80fd5b50565b5f81359050610b3c81610b18565b92915050565b5f8060408385031215610b5857610b57610ab1565b5b5f610b6585828601610afb565b9250506020610b7685828601610b2e565b9150509250929050565b5f8115159050919050565b610b9481610b80565b82525050565b5f602082019050610bad5f830184610b8b565b92915050565b610bbc81610b0f565b82525050565b5f602082019050610bd55f830184610bb3565b92915050565b5f805f60608486031215610bf257610bf1610ab1565b5b5f610bff86828701610afb565b9350506020610c1086828701610afb565b9250506040610c2186828701610b2e565b9150509250925092565b5f60ff82169050919050565b610c4081610c2b565b82525050565b5f602082019050610c595f830184610c37565b92915050565b5f8060408385031215610c7557610c74610ab1565b5b5f610c8285828601610b2e565b9250506020610c9385828601610b2e565b9150509250929050565b5f60208284031215610cb257610cb1610ab1565b5b5f610cbf84828501610afb565b91505092915050565b610cd181610ad4565b82525050565b5f602082019050610cea5f830184610cc8565b92915050565b5f8060408385031215610d0657610d05610ab1565b5b5f610d1385828601610afb565b9250506020610d2485828601610afb565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610d6582610b0f565b9150610d7083610b0f565b9250828203905081811115610d8857610d87610d2e565b5b92915050565b7f43616c6c6572206973206e6f7420746865206f776e65720000000000000000005f82015250565b5f610dc2601783610a11565b9150610dcd82610d8e565b602082019050919050565b5f6020820190508181035f830152610def81610db6565b9050919050565b7f417070726f76652066726f6d20746865207a65726f20616464726573730000005f82015250565b5f610e2a601d83610a11565b9150610e3582610df6565b602082019050919050565b5f6020820190508181035f830152610e5781610e1e565b9050919050565b7f417070726f766520746f20746865207a65726f206164647265737300000000005f82015250565b5f610e92601b83610a11565b9150610e9d82610e5e565b602082019050919050565b5f6020820190508181035f830152610ebf81610e86565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f206164647265737300005f82015250565b5f610efa601e83610a11565b9150610f0582610ec6565b602082019050919050565b5f6020820190508181035f830152610f2781610eee565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373000000005f82015250565b5f610f62601c83610a11565b9150610f6d82610f2e565b602082019050919050565b5f6020820190508181035f830152610f8f81610f56565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b5f610ff0602983610a11565b9150610ffb82610f96565b604082019050919050565b5f6020820190508181035f83015261101d81610fe4565b9050919050565b5f61102e82610b0f565b915061103983610b0f565b925082820190508082111561105157611050610d2e565b5b9291505056fea2646970667358221220ff293936a9a4e3c3c13cb14c94a462c69dfa3c3c4e3774ce27132d11c38c65f264736f6c63430008160033