Overview ERC20
PRICE
$0.006289528669540054

ON-CHAIN MARKET CAP n/a

Total Supply:
1,000,000.00 PELOSI

Holders:
60
Profile Summary
Blockchain:
Ethereum (1)


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

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Created At:
Tue, 21 May 2024 22:04:35 GMT
BaseERC20.sol
src
ERC20
BaseERC20.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "contract IERC20",
        "name": "_wnt",
        "type": "address"
      },
      {
        "internalType": "contract IUniswapV2Router02",
        "name": "_univ2router",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_treasury",
        "type": "address"
      },
      {
        "internalType": "string",
        "name": "name_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol_",
        "type": "string"
      },
      {
        "internalType": "uint256",
        "name": "totalSupply_",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "_tokenLiquidityThreshold",
        "type": "uint256"
      },
      {
        "internalType": "contract IUniswapV2Factory",
        "name": "univ2factory",
        "type": "address"
      }
    ],
    "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": "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": "PRECISION",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "SWAP_TAX",
    "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": [],
    "name": "cap",
    "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": "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": "isSwapping",
    "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": "pair",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "router",
    "outputs": [
      {
        "internalType": "contract IUniswapV2Router02",
        "name": "",
        "type": "address"
      }
    ],
    "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"
  },
  {
    "inputs": [],
    "name": "treasury",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "univ2router",
    "outputs": [
      {
        "internalType": "contract IUniswapV2Router02",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "wnt",
    "outputs": [
      {
        "internalType": "contract IERC20",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  }
]


Contract Creation Code
6101006040523480156200001257600080fd5b50604051620016de380380620016de83398101604081905262000035916200065d565b8787878588886003620000498382620007c2565b506004620000588282620007c2565b50505060008111620000b15760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a206361702069732030000000000000000000000060448201526064015b60405180910390fd5b60805260016005556001600160a01b0380841660c05282811660e052811660a0524660fc0362000210576040516001600160a01b0382166024820152734392dc16867d53dbfe227076606455634d4c279590819060440160408051601f198184030181529181526020820180516001600160e01b03166302b8a21d60e01b179052516200013f91906200088e565b6000604051808303816000865af19150503d80600081146200017e576040519150601f19603f3d011682016040523d82523d6000602084013e62000183565b606091505b505060408051600481526024810182526020810180516001600160e01b03166325ce9a3760e01b17905290516001600160a01b0384169250620001c791906200088e565b6000604051808303816000865af19150503d806000811462000206576040519150601f19603f3d011682016040523d82523d6000602084013e6200020b565b606091505b505050505b5050506200022533846200030860201b60201c565b600880546001600160a01b031916331790556040516364e329cb60e11b81523060048201526001600160a01b03898116602483015282169063c9c65396906044016020604051808303816000875af115801562000286573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ac9190620008ac565b600780546001600160a01b039283166001600160a01b03199182161790915560068054928a1692909116821790556009839055620002ef90309060001962000382565b5050600a805460ff1916905550620008fb945050505050565b608051816200031660025490565b620003229190620008d3565b1115620003725760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401620000a8565b6200037e8282620004aa565b5050565b6001600160a01b038316620003e65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620000a8565b6001600160a01b038216620004495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620000a8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620005025760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000a8565b8060026000828254620005169190620008d3565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36200037e600083835b505050565b6001600160a01b03811681146200058d57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620005c3578181015183820152602001620005a9565b50506000910152565b600082601f830112620005de57600080fd5b81516001600160401b0380821115620005fb57620005fb62000590565b604051601f8301601f19908116603f0116810190828211818310171562000626576200062662000590565b816040528381528660208588010111156200064057600080fd5b62000653846020830160208901620005a6565b9695505050505050565b600080600080600080600080610100898b0312156200067b57600080fd5b8851620006888162000577565b60208a01519098506200069b8162000577565b60408a0151909750620006ae8162000577565b60608a01519096506001600160401b0380821115620006cc57600080fd5b620006da8c838d01620005cc565b965060808b0151915080821115620006f157600080fd5b50620007008b828c01620005cc565b94505060a0890151925060c0890151915060e0890151620007218162000577565b809150509295985092959890939650565b600181811c908216806200074757607f821691505b6020821081036200076857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000572576000816000526020600020601f850160051c81016020861015620007995750805b601f850160051c820191505b81811015620007ba57828155600101620007a5565b505050505050565b81516001600160401b03811115620007de57620007de62000590565b620007f681620007ef845462000732565b846200076e565b602080601f8311600181146200082e5760008415620008155750858301515b600019600386901b1c1916600185901b178555620007ba565b600085815260208120601f198616915b828110156200085f578886015182559484019460019091019084016200083e565b50858210156200087e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008251620008a2818460208701620005a6565b9190910192915050565b600060208284031215620008bf57600080fd5b8151620008cc8162000577565b9392505050565b80820180821115620008f557634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e051610da26200093c60003960006101c80152600061017701526000818161024a0152610a7f0152600061020e0152610da26000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806370a08231116100ad578063a9059cbb11610071578063a9059cbb146102cb578063aaf5eb68146102de578063b8863115146102e7578063dd62ed3e146102f4578063f887ea401461030757600080fd5b806370a082311461026c57806395d89b411461029557806399e37dff1461029d578063a457c2d7146102a5578063a8aa1b31146102b857600080fd5b806323b872dd116100f457806323b872dd146101ea578063313ce567146101fd578063355274ea1461020c578063395093511461023257806361d027b31461024557600080fd5b806306fdde0314610131578063095ea7b31461014f578063126846ec1461017257806318160ddd146101b157806319eff2b9146101c3575b600080fd5b61013961031a565b6040516101469190610ae9565b60405180910390f35b61016261015d366004610b4d565b6103ac565b6040519015158152602001610146565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610146565b6002545b604051908152602001610146565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b6101626101f8366004610b79565b6103c6565b60405160128152602001610146565b7f00000000000000000000000000000000000000000000000000000000000000006101b5565b610162610240366004610b4d565b6103ea565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b6101b561027a366004610bba565b6001600160a01b031660009081526020819052604090205490565b61013961040c565b6101b5601981565b6101626102b3366004610b4d565b61041b565b600754610199906001600160a01b031681565b6101626102d9366004610b4d565b61049b565b6101b561271081565b600a546101629060ff1681565b6101b5610302366004610bde565b6104a9565b600654610199906001600160a01b031681565b60606003805461032990610c17565b80601f016020809104026020016040519081016040528092919081815260200182805461035590610c17565b80156103a25780601f10610377576101008083540402835291602001916103a2565b820191906000526020600020905b81548152906001019060200180831161038557829003601f168201915b5050505050905090565b6000336103ba8185856104d4565b60019150505b92915050565b6000336103d48582856105f8565b6103df858585610672565b506001949350505050565b6000336103ba8185856103fd83836104a9565b6104079190610c67565b6104d4565b60606004805461032990610c17565b6000338161042982866104a9565b90508381101561048e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103df82868684036104d4565b6000336103ba818585610672565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105365760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610485565b6001600160a01b0382166105975760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610485565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061060484846104a9565b9050600019811461066c578181101561065f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610485565b61066c84848484036104d4565b50505050565b600081116106d45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610485565b6007546000906001600160a01b038481169116148061070057506007546001600160a01b038581169116145b15610775576001600160a01b03831630148061072457506001600160a01b03841630145b610775576008546001600160a01b038581169116146107755761271061074b601984610c7a565b6107559190610c91565b6007549091506001600160a01b038581169116146107755761077561079a565b61078984846107848486610cb3565b6107bf565b801561066c5761066c8430836107bf565b3060009081526020819052604090205460095481106107bc576107bc81610963565b50565b6001600160a01b0383166108235760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610485565b6001600160a01b0382166108855760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610485565b6001600160a01b038316600090815260208190526040902054818110156108fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610485565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361066c565b600a5460ff16156109715750565b600a805460ff1916600117905560408051600280825260608201835260009260208301908036833701905050905030816000815181106109b3576109b3610cc6565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610a0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a309190610cdc565b81600181518110610a4357610a43610cc6565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac94790610aa990859060009086907f0000000000000000000000000000000000000000000000000000000000000000904290600401610cf9565b600060405180830381600087803b158015610ac357600080fd5b505af1158015610ad7573d6000803e3d6000fd5b5050600a805460ff1916905550505050565b60006020808352835180602085015260005b81811015610b1757858101830151858201604001528201610afb565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146107bc57600080fd5b60008060408385031215610b6057600080fd5b8235610b6b81610b38565b946020939093013593505050565b600080600060608486031215610b8e57600080fd5b8335610b9981610b38565b92506020840135610ba981610b38565b929592945050506040919091013590565b600060208284031215610bcc57600080fd5b8135610bd781610b38565b9392505050565b60008060408385031215610bf157600080fd5b8235610bfc81610b38565b91506020830135610c0c81610b38565b809150509250929050565b600181811c90821680610c2b57607f821691505b602082108103610c4b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103c0576103c0610c51565b80820281158282048414176103c0576103c0610c51565b600082610cae57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156103c0576103c0610c51565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610cee57600080fd5b8151610bd781610b38565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015610d4b5784516001600160a01b031683529383019391830191600101610d26565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220aff58fd8b8421257b02777600be8d690ba76f51225abe5f03f954e9ba04aa61064736f6c63430008170033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000008d0847122e1c6909cccfb11e48e811d8608975a90000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000000ad78ebc5ac62000000000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000000000000000000000000000000000000000001050656c6f7369204f472054726164657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000650454c4f53490000000000000000000000000000000000000000000000000000
Constructor Arguments
(ABI-Encoded and is the last bytes of the Contract Creation Code above)
0xa2646970667358221220aff58fd8b8421257b02777600be8d690ba76f51225abe5f03f954e9ba04aa61064736f6c63430008170033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000008d0847122e1c6909cccfb11e48e811d8608975a90000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000000ad78ebc5ac62000000000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000000000000000000000000000000000000000001050656c6f7369204f472054726164657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000650454c4f53490000000000000000000000000000000000000000000000000000