Overview ERC20
PRICE
$0.066767

ON-CHAIN MARKET CAP n/a

Total Supply:
3,000,000,000.00 AVADAO

Holders:
66
Profile Summary
Blockchain:
C-Chain (43114)


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

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Created At:
Wed, 10 Jan 2024 09:04:39 GMT
Simple.sol
Simple.sol
Simple.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol",
        "type": "string"
      }
    ],
    "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": 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": [],
    "name": "antiWhale",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "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": "liquidityPool",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "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": "renounceTokenOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bool",
        "name": "_state",
        "type": "bool"
      }
    ],
    "name": "setAntiWhale",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_liquidityPool",
        "type": "address"
      }
    ],
    "name": "setLiquidityPool",
    "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
60806040526005805460ff60a01b1916600160a01b1790556b09b18ab5df7180b6b80000006007553480156200003457600080fd5b5060405162001235380380620012358339810160408190526200005791620004f1565b3382826003620000688382620005e9565b506004620000778282620005e9565b5050506001600160a01b038116620000aa57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000b581620000d2565b50620000ca336007546200012460201b60201c565b505062000700565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001505760405163ec442f0560e01b815260006004820152602401620000a1565b6200015e6000838362000162565b5050565b6200016f838383620002f9565b6006546001600160a01b031662000209576005546001600160a01b0384811691161480620001aa57506005546001600160a01b038381169116145b620002045760405162461bcd60e51b815260206004820152602360248201527f50617469656e6365202d2054726164696e67204e6f742053746172746564205960448201526265742160e81b6064820152608401620000a1565b505050565b600554600160a01b900460ff1680156200023157506005546001600160a01b03848116911614155b80156200024c57506006546001600160a01b03838116911614155b15620002045760646200025e60025490565b6200026a9190620006b5565b6001600160a01b0383166000908152602081905260409020541115620002045760405162461bcd60e51b815260206004820152603660248201527f4a7573742067657474696e67207761726d65642075702c206c696d6974206f6660448201527f203125207468697320697320416e74695768616c6521000000000000000000006064820152608401620000a1565b6001600160a01b038316620003285780600260008282546200031c9190620006d8565b909155506200039c9050565b6001600160a01b038316600090815260208190526040902054818110156200037d5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000a1565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003ba57600280548290039055620003d9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200041f91815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200045457600080fd5b81516001600160401b03808211156200047157620004716200042c565b604051601f8301601f19908116603f011681019082821181831017156200049c576200049c6200042c565b81604052838152602092508683858801011115620004b957600080fd5b600091505b83821015620004dd5785820183015181830184015290820190620004be565b600093810190920192909252949350505050565b600080604083850312156200050557600080fd5b82516001600160401b03808211156200051d57600080fd5b6200052b8683870162000442565b935060208501519150808211156200054257600080fd5b50620005518582860162000442565b9150509250929050565b600181811c908216806200057057607f821691505b6020821081036200059157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020457600081815260208120601f850160051c81016020861015620005c05750805b601f850160051c820191505b81811015620005e157828155600101620005cc565b505050505050565b81516001600160401b038111156200060557620006056200042c565b6200061d816200061684546200055b565b8462000597565b602080601f8311600181146200065557600084156200063c5750858301515b600019600386901b1c1916600185901b178555620005e1565b600085815260208120601f198616915b82811015620006865788860151825594840194600190910190840162000665565b5085821015620006a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082620006d357634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620006fa57634e487b7160e01b600052601160045260246000fd5b92915050565b610b2580620007106000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063665a11ca116100a257806395d89b411161007157806395d89b411461022e578063a9059cbb14610236578063dd62ed3e14610249578063e14f08d514610282578063f2fde38b1461028a57600080fd5b8063665a11ca146101c157806370a08231146101ec578063715018a6146102155780638da5cb5b1461021d57600080fd5b806323b872dd116100de57806323b872dd14610178578063313ce5671461018b5780634a5566bf1461019a5780634dacf3f5146101ad57600080fd5b8063018770201461011057806306fdde0314610125578063095ea7b31461014357806318160ddd14610166575b600080fd5b61012361011e366004610947565b61029d565b005b61012d6102c7565b60405161013a9190610969565b60405180910390f35b6101566101513660046109b7565b610359565b604051901515815260200161013a565b6002545b60405190815260200161013a565b6101566101863660046109e1565b610373565b6040516012815260200161013a565b6101236101a8366004610a1d565b610397565b60055461015690600160a01b900460ff1681565b6006546101d4906001600160a01b031681565b6040516001600160a01b03909116815260200161013a565b61016a6101fa366004610947565b6001600160a01b031660009081526020819052604090205490565b6101236103bd565b6005546001600160a01b03166101d4565b61012d6103d1565b6101566102443660046109b7565b6103e0565b61016a610257366004610a3f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101236103ee565b610123610298366004610947565b6103fe565b6102a5610441565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546102d690610a72565b80601f016020809104026020016040519081016040528092919081815260200182805461030290610a72565b801561034f5780601f106103245761010080835404028352916020019161034f565b820191906000526020600020905b81548152906001019060200180831161033257829003601f168201915b5050505050905090565b60003361036781858561046e565b60019150505b92915050565b600033610381858285610480565b61038c8585856104fe565b506001949350505050565b61039f610441565b60058054911515600160a01b0260ff60a01b19909216919091179055565b6103c5610441565b6103cf600061055d565b565b6060600480546102d690610a72565b6000336103678185856104fe565b6103f6610441565b6103cf6103bd565b610406610441565b6001600160a01b03811661043557604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61043e8161055d565b50565b6005546001600160a01b031633146103cf5760405163118cdaa760e01b815233600482015260240161042c565b61047b83838360016105af565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146104f857818110156104e957604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161042c565b6104f8848484840360006105af565b50505050565b6001600160a01b03831661052857604051634b637e8f60e11b81526000600482015260240161042c565b6001600160a01b0382166105525760405163ec442f0560e01b81526000600482015260240161042c565b61047b838383610684565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166105d95760405163e602df0560e01b81526000600482015260240161042c565b6001600160a01b03831661060357604051634a1406b160e11b81526000600482015260240161042c565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156104f857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161067691815260200190565b60405180910390a350505050565b61068f838383610801565b6006546001600160a01b0316610720576005546001600160a01b03848116911614806106c857506005546001600160a01b038381169116145b61047b5760405162461bcd60e51b815260206004820152602360248201527f50617469656e6365202d2054726164696e67204e6f742053746172746564205960448201526265742160e81b606482015260840161042c565b600554600160a01b900460ff16801561074757506005546001600160a01b03848116911614155b801561076157506006546001600160a01b03838116911614155b1561047b57606461077160025490565b61077b9190610aac565b6001600160a01b038316600090815260208190526040902054111561047b5760405162461bcd60e51b815260206004820152603660248201527f4a7573742067657474696e67207761726d65642075702c206c696d6974206f66604482015275203125207468697320697320416e74695768616c652160501b606482015260840161042c565b6001600160a01b03831661082c5780600260008282546108219190610ace565b9091555061089e9050565b6001600160a01b0383166000908152602081905260409020548181101561087f5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161042c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166108ba576002805482900390556108d9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161091e91815260200190565b60405180910390a3505050565b80356001600160a01b038116811461094257600080fd5b919050565b60006020828403121561095957600080fd5b6109628261092b565b9392505050565b600060208083528351808285015260005b818110156109965785810183015185820160400152820161097a565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156109ca57600080fd5b6109d38361092b565b946020939093013593505050565b6000806000606084860312156109f657600080fd5b6109ff8461092b565b9250610a0d6020850161092b565b9150604084013590509250925092565b600060208284031215610a2f57600080fd5b8135801515811461096257600080fd5b60008060408385031215610a5257600080fd5b610a5b8361092b565b9150610a696020840161092b565b90509250929050565b600181811c90821680610a8657607f821691505b602082108103610aa657634e487b7160e01b600052602260045260246000fd5b50919050565b600082610ac957634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561036d57634e487b7160e01b600052601160045260246000fdfea264697066735822122078c36b2942f5d831f682409ce08f6f62a8fd8fb9a4b8d9899388df18d07c64fa64736f6c6343000814003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c415641204d454d452044414f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000641564144414f0000000000000000000000000000000000000000000000000000