Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
1,000,000,000,000.00 RICHNIGGA

Holders:
2
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Created At:
Tue, 18 Jun 2024 20:25:09 GMT
Token.sol
Token.sol
Token.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol",
        "type": "string"
      },
      {
        "internalType": "uint256",
        "name": "totalSupply",
        "type": "uint256"
      },
      {
        "internalType": "address",
        "name": "initialOwner",
        "type": "address"
      }
    ],
    "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": [
      {
        "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": [],
    "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": "pairAddress",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_finalBuyer",
        "type": "address"
      }
    ],
    "name": "setFinalBuyer",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_pairAddress",
        "type": "address"
      }
    ],
    "name": "setPairAddress",
    "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"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
6080604052600680546001600160a01b031916905534801562000020575f80fd5b5060405162000f7738038062000f77833981016040819052620000439162000331565b80848460036200005483826200044c565b5060046200006382826200044c565b5050506001600160a01b0381166200009557604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000a081620000b7565b50620000ad338362000108565b505050506200053a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620001335760405163ec442f0560e01b81525f60048201526024016200008c565b620001405f838362000144565b5050565b6001600160a01b03831662000172578060025f82825462000166919062000514565b90915550620001e49050565b6001600160a01b0383165f9081526020819052604090205481811015620001c65760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200008c565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620002025760028054829003905562000220565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200026691815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000297575f80fd5b81516001600160401b0380821115620002b457620002b462000273565b604051601f8301601f19908116603f01168101908282118183101715620002df57620002df62000273565b81604052838152602092508683858801011115620002fb575f80fd5b5f91505b838210156200031e5785820183015181830184015290820190620002ff565b5f93810190920192909252949350505050565b5f805f806080858703121562000345575f80fd5b84516001600160401b03808211156200035c575f80fd5b6200036a8883890162000287565b9550602087015191508082111562000380575f80fd5b506200038f8782880162000287565b60408701516060880151919550935090506001600160a01b0381168114620003b5575f80fd5b939692955090935050565b600181811c90821680620003d557607f821691505b602082108103620003f457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000447575f81815260208120601f850160051c81016020861015620004225750805b601f850160051c820191505b8181101562000443578281556001016200042e565b5050505b505050565b81516001600160401b0381111562000468576200046862000273565b6200048081620004798454620003c0565b84620003fa565b602080601f831160018114620004b6575f84156200049e5750858301515b5f19600386901b1c1916600185901b17855562000443565b5f85815260208120601f198616915b82811015620004e657888601518255948401946001909101908401620004c5565b50858210156200050457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200053457634e487b7160e01b5f52601160045260245ffd5b92915050565b610a2f80620005485f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806386ad174d11610093578063a8b0898211610063578063a8b08982146101ee578063a9059cbb14610201578063dd62ed3e14610214578063f2fde38b1461024c575f80fd5b806386ad174d1461019b5780638da5cb5b146101ae57806395d89b41146101d3578063a22d4832146101db575f80fd5b806323b872dd116100ce57806323b872dd14610147578063313ce5671461015a57806370a0823114610169578063715018a614610191575f80fd5b806306fdde03146100f4578063095ea7b31461011257806318160ddd14610135575b5f80fd5b6100fc61025f565b6040516101099190610891565b60405180910390f35b6101256101203660046108f7565b6102ef565b6040519015158152602001610109565b6002545b604051908152602001610109565b61012561015536600461091f565b610305565b60405160128152602001610109565b610139610177366004610958565b6001600160a01b03165f9081526020819052604090205490565b6101996103ad565b005b6101996101a9366004610958565b6103c0565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610109565b6100fc6103ea565b6101996101e9366004610958565b6103f9565b6006546101bb906001600160a01b031681565b61012561020f3660046108f7565b610423565b610139610222366004610971565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61019961025a366004610958565b6104c4565b60606003805461026e906109a2565b80601f016020809104026020016040519081016040528092919081815260200182805461029a906109a2565b80156102e55780601f106102bc576101008083540402835291602001916102e5565b820191905f5260205f20905b8154815290600101906020018083116102c857829003601f168201915b5050505050905090565b5f6102fb338484610501565b5060015b92915050565b6006545f906001600160a01b031615158061032a57506007546001600160a01b031633145b8061033f57506005546001600160a01b031633145b8061034957503330145b61039a5760405162461bcd60e51b815260206004820152601a60248201527f4c6971756964697479206e6f7420796574206465706c6f79656400000000000060448201526064015b60405180910390fd5b6103a5848484610513565b949350505050565b6103b5610536565b6103be5f610563565b565b6103c8610536565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60606004805461026e906109a2565b610401610536565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6006545f906001600160a01b031615158061044857506007546001600160a01b031633145b8061045d57506005546001600160a01b031633145b8061046757503330145b6104b35760405162461bcd60e51b815260206004820152601a60248201527f4c6971756964697479206e6f7420796574206465706c6f7965640000000000006044820152606401610391565b6104bd83836105b4565b9392505050565b6104cc610536565b6001600160a01b0381166104f557604051631e4fbdf760e01b81525f6004820152602401610391565b6104fe81610563565b50565b61050e83838360016105cb565b505050565b5f3361052085828561069e565b61052b858585610713565b506001949350505050565b6005546001600160a01b031633146103be5760405163118cdaa760e01b8152336004820152602401610391565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f336105c1818585610713565b5060019392505050565b6001600160a01b0384166105f45760405163e602df0560e01b81525f6004820152602401610391565b6001600160a01b03831661061d57604051634a1406b160e11b81525f6004820152602401610391565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561069857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161068f91815260200190565b60405180910390a35b50505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610698578181101561070557604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610391565b61069884848484035f6105cb565b6001600160a01b03831661073c57604051634b637e8f60e11b81525f6004820152602401610391565b6001600160a01b0382166107655760405163ec442f0560e01b81525f6004820152602401610391565b61050e8383836001600160a01b038316610795578060025f82825461078a91906109da565b909155506108059050565b6001600160a01b0383165f90815260208190526040902054818110156107e75760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610391565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166108215760028054829003905561083f565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161088491815260200190565b60405180910390a3505050565b5f6020808352835180828501525f5b818110156108bc578581018301518582016040015282016108a0565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108f2575f80fd5b919050565b5f8060408385031215610908575f80fd5b610911836108dc565b946020939093013593505050565b5f805f60608486031215610931575f80fd5b61093a846108dc565b9250610948602085016108dc565b9150604084013590509250925092565b5f60208284031215610968575f80fd5b6104bd826108dc565b5f8060408385031215610982575f80fd5b61098b836108dc565b9150610999602084016108dc565b90509250929050565b600181811c908216806109b657607f821691505b6020821081036109d457634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102ff57634e487b7160e01b5f52601160045260245ffdfea264697066735822122030148f70d5d3a56da076f6f686382968317f44bed25df3f543db20f62989945964736f6c63430008140033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000c9f2c9cd04674edea400000000000000000000000000000007ba1164b52c32806b06503522477983fbd38ea5200000000000000000000000000000000000000000000000000000000000000164a756e657465656e746820426c6f636b205061727479000000000000000000000000000000000000000000000000000000000000000000000000000000000009524943484e494747410000000000000000000000000000000000000000000000