Overview ERC20
PRICE
$0.00

ON-CHAIN MARKET CAP n/a

Total Supply:
69,420,000,000,000.00 POKER

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


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

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Created At:
Thu, 11 Jan 2024 23:44:09 GMT
PokerCoins.sol
contracts
PokerCoins.sol


Contract ABI
[
  {
    "inputs": [],
    "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": "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": "lubricating",
    "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": "renounceTokenOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_liquidityPool",
        "type": "address"
      }
    ],
    "name": "setLiquidityPool",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bool",
        "name": "_state",
        "type": "bool"
      }
    ],
    "name": "setLubricating",
    "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
60806040526005805460ff60a01b1916600160a01b1790553480156200002457600080fd5b50336040518060400160405280601e81526020017f506f6b657220436f696e73205574696c697479206f6e20506f6b657247470000815250604051806040016040528060058152602001642827a5a2a960d91b81525081600390816200008b91906200051d565b5060046200009a82826200051d565b5050506001600160a01b038116620000cd57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000d881620000f9565b50620000f3336d036c341e1f992f96840fe00000006200014b565b62000634565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001775760405163ec442f0560e01b815260006004820152602401620000c4565b620001856000838362000189565b5050565b6200019683838362000346565b6006546001600160a01b031662000230576005546001600160a01b0384811691161480620001d157506005546001600160a01b038381169116145b6200022b5760405162461bcd60e51b815260206004820152602360248201527f50617469656e6365202d2054726164696e67204e6f742053746172746564205960448201526265742160e81b6064820152608401620000c4565b505050565b600554600160a01b900460ff1680156200025857506005546001600160a01b03848116911614155b80156200027357506006546001600160a01b03838116911614155b156200022b5760646200028560025490565b620002919190620005e9565b6001600160a01b03831660009081526020819052604090205411156200022b5760405162461bcd60e51b815260206004820152605360248201527f4a7573742067657474696e67207761726d65642075702c206c696d6974206f6660448201527f203125206f66205343482063616e20626520414920756e74696c204c7562726960648201527f636174696f6e20697320636f6d706c6574652100000000000000000000000000608482015260a401620000c4565b6001600160a01b038316620003755780600260008282546200036991906200060c565b90915550620003e99050565b6001600160a01b03831660009081526020819052604090205481811015620003ca5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000c4565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620004075760028054829003905562000426565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200046c91815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004a457607f821691505b602082108103620004c557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022b57600081815260208120601f850160051c81016020861015620004f45750805b601f850160051c820191505b81811015620005155782815560010162000500565b505050505050565b81516001600160401b0381111562000539576200053962000479565b62000551816200054a84546200048f565b84620004cb565b602080601f831160018114620005895760008415620005705750858301515b600019600386901b1c1916600185901b17855562000515565b600085815260208120601f198616915b82811015620005ba5788860151825594840194600190910190840162000599565b5085821015620005d95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000826200060757634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200062e57634e487b7160e01b600052601160045260246000fd5b92915050565b610b4880620006446000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a257806395d89b411161007157806395d89b411461022e578063a9059cbb14610236578063dd62ed3e14610249578063e14f08d514610282578063f2fde38b1461028a57600080fd5b806370a08231146101d8578063715018a6146102015780638da5cb5b1461020957806395afda0c1461021a57600080fd5b806323b872dd116100de57806323b872dd14610178578063313ce5671461018b5780634bc3e7db1461019a578063665a11ca146101ad57600080fd5b8063018770201461011057806306fdde0314610125578063095ea7b31461014357806318160ddd14610166575b600080fd5b61012361011e36600461096a565b61029d565b005b61012d6102c7565b60405161013a919061098c565b60405180910390f35b6101566101513660046109da565b610359565b604051901515815260200161013a565b6002545b60405190815260200161013a565b610156610186366004610a04565b610373565b6040516012815260200161013a565b6101236101a8366004610a40565b610397565b6006546101c0906001600160a01b031681565b6040516001600160a01b03909116815260200161013a565b61016a6101e636600461096a565b6001600160a01b031660009081526020819052604090205490565b6101236103bd565b6005546001600160a01b03166101c0565b60055461015690600160a01b900460ff1681565b61012d6103d1565b6101566102443660046109da565b6103e0565b61016a610257366004610a62565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101236103ee565b61012361029836600461096a565b6103fe565b6102a5610441565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546102d690610a95565b80601f016020809104026020016040519081016040528092919081815260200182805461030290610a95565b801561034f5780601f106103245761010080835404028352916020019161034f565b820191906000526020600020905b81548152906001019060200180831161033257829003601f168201915b5050505050905090565b60003361036781858561046e565b60019150505b92915050565b600033610381858285610480565b61038c8585856104fe565b506001949350505050565b61039f610441565b60058054911515600160a01b0260ff60a01b19909216919091179055565b6103c5610441565b6103cf600061055d565b565b6060600480546102d690610a95565b6000336103678185856104fe565b6103f6610441565b6103cf6103bd565b610406610441565b6001600160a01b03811661043557604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61043e8161055d565b50565b6005546001600160a01b031633146103cf5760405163118cdaa760e01b815233600482015260240161042c565b61047b83838360016105af565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146104f857818110156104e957604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161042c565b6104f8848484840360006105af565b50505050565b6001600160a01b03831661052857604051634b637e8f60e11b81526000600482015260240161042c565b6001600160a01b0382166105525760405163ec442f0560e01b81526000600482015260240161042c565b61047b838383610684565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166105d95760405163e602df0560e01b81526000600482015260240161042c565b6001600160a01b03831661060357604051634a1406b160e11b81526000600482015260240161042c565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156104f857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161067691815260200190565b60405180910390a350505050565b61068f838383610824565b6006546001600160a01b0316610720576005546001600160a01b03848116911614806106c857506005546001600160a01b038381169116145b61047b5760405162461bcd60e51b815260206004820152602360248201527f50617469656e6365202d2054726164696e67204e6f742053746172746564205960448201526265742160e81b606482015260840161042c565b600554600160a01b900460ff16801561074757506005546001600160a01b03848116911614155b801561076157506006546001600160a01b03838116911614155b1561047b57606461077160025490565b61077b9190610acf565b6001600160a01b038316600090815260208190526040902054111561047b5760405162461bcd60e51b815260206004820152605360248201527f4a7573742067657474696e67207761726d65642075702c206c696d6974206f6660448201527f203125206f66205343482063616e20626520414920756e74696c204c75627269606482015272636174696f6e20697320636f6d706c6574652160681b608482015260a40161042c565b6001600160a01b03831661084f5780600260008282546108449190610af1565b909155506108c19050565b6001600160a01b038316600090815260208190526040902054818110156108a25760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161042c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166108dd576002805482900390556108fc565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161094191815260200190565b60405180910390a3505050565b80356001600160a01b038116811461096557600080fd5b919050565b60006020828403121561097c57600080fd5b6109858261094e565b9392505050565b600060208083528351808285015260005b818110156109b95785810183015185820160400152820161099d565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156109ed57600080fd5b6109f68361094e565b946020939093013593505050565b600080600060608486031215610a1957600080fd5b610a228461094e565b9250610a306020850161094e565b9150604084013590509250925092565b600060208284031215610a5257600080fd5b8135801515811461098557600080fd5b60008060408385031215610a7557600080fd5b610a7e8361094e565b9150610a8c6020840161094e565b90509250929050565b600181811c90821680610aa957607f821691505b602082108103610ac957634e487b7160e01b600052602260045260246000fd5b50919050565b600082610aec57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561036d57634e487b7160e01b600052601160045260246000fdfea264697066735822122068449c6eef6743b843a30f588200f0593e7461fece921fa31b39416a36d6f2b264736f6c63430008140033