Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
99,302.00 CPGT

Holders:
1,865
Profile Summary
Blockchain:
C-Chain (43114)


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

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Created At:
Thu, 10 Feb 2022 06:09:47 GMT
CryptoPuffiesGoldenTickets.sol
CryptoPuffiesGoldenTickets.sol
CryptoPuffiesGoldenTickets.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "totalSupply",
        "type": "uint256"
      }
    ],
    "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": "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": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burnFrom",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "burner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "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": "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": [
      {
        "internalType": "address",
        "name": "_burner",
        "type": "address"
      }
    ],
    "name": "setBurner",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "bool",
        "name": "status",
        "type": "bool"
      }
    ],
    "name": "setTransferOK",
    "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": "",
        "type": "address"
      }
    ],
    "name": "transferOK",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b50604051620011c7380380620011c78339810160408190526200003491620002d9565b604080518082018252601d81527f43727970746f205075666669657320476f6c64656e205469636b65747300000060208083019182528351808501909452600484526310d411d560e21b908401528151919291620000959160039162000233565b508051620000ab90600490602084019062000233565b505050620000c8620000c2620000f560201b60201c565b620000f9565b620000d433826200014b565b50336000908152600760205260409020805460ff1916600117905562000357565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001a65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001ba9190620002f3565b90915550506001600160a01b03821660009081526020819052604081208054839290620001e9908490620002f3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000241906200031a565b90600052602060002090601f016020900481019282620002655760008555620002b0565b82601f106200028057805160ff1916838001178555620002b0565b82800160010185558215620002b0579182015b82811115620002b057825182559160200191906001019062000293565b50620002be929150620002c2565b5090565b5b80821115620002be5760008155600101620002c3565b600060208284031215620002ec57600080fd5b5051919050565b600082198211156200031557634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200032f57607f821691505b602082108114156200035157634e487b7160e01b600052602260045260246000fd5b50919050565b610e6080620003676000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063a457c2d711610071578063a457c2d71461026e578063a9059cbb14610281578063a996d6ce14610294578063dd62ed3e146102a7578063f2fde38b146102e057600080fd5b8063715018a61461022557806379cc67901461022f5780638da5cb5b1461024257806392c1e7c41461025357806395d89b411461026657600080fd5b806327810b6e116100f457806327810b6e1461018c578063313ce567146101b757806339509351146101c65780636bcb285e146101d957806370a08231146101fc57600080fd5b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016757806323b872dd14610179575b600080fd5b61012e6102f3565b60405161013b9190610d20565b60405180910390f35b610157610152366004610cf6565b610385565b604051901515815260200161013b565b6002545b60405190815260200161013b565b610157610187366004610c7e565b61039b565b60065461019f906001600160a01b031681565b6040516001600160a01b03909116815260200161013b565b6040516012815260200161013b565b6101576101d4366004610cf6565b61044a565b6101576101e7366004610c29565b60076020526000908152604090205460ff1681565b61016b61020a366004610c29565b6001600160a01b031660009081526020819052604090205490565b61022d610486565b005b61022d61023d366004610cf6565b6104bc565b6005546001600160a01b031661019f565b61022d610261366004610cba565b610511565b61012e610566565b61015761027c366004610cf6565b610575565b61015761028f366004610cf6565b61060e565b61022d6102a2366004610c29565b61061b565b61016b6102b5366004610c4b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022d6102ee366004610c29565b610667565b60606003805461030290610dd9565b80601f016020809104026020016040519081016040528092919081815260200182805461032e90610dd9565b801561037b5780601f106103505761010080835404028352916020019161037b565b820191906000526020600020905b81548152906001019060200180831161035e57829003601f168201915b5050505050905090565b6000610392338484610702565b50600192915050565b60006103a8848484610826565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104325760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61043f8533858403610702565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610392918590610481908690610daa565b610702565b6005546001600160a01b031633146104b05760405162461bcd60e51b815260040161042990610d75565b6104ba600061089e565b565b6006546001600160a01b031633146105035760405162461bcd60e51b815260206004820152600a60248201526937b7363ca13ab93732b960b11b6044820152606401610429565b61050d82826108f0565b5050565b6005546001600160a01b0316331461053b5760405162461bcd60e51b815260040161042990610d75565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b60606004805461030290610dd9565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156105f75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610429565b6106043385858403610702565b5060019392505050565b6000610392338484610826565b6005546001600160a01b031633146106455760405162461bcd60e51b815260040161042990610d75565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146106915760405162461bcd60e51b815260040161042990610d75565b6001600160a01b0381166106f65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610429565b6106ff8161089e565b50565b6001600160a01b0383166107645760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610429565b6001600160a01b0382166107c55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610429565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526007602052604090205460ff1661088e5760405162461bcd60e51b815260206004820152601b60248201527f7469636b65747320617265206e6f6e7472616e7366657261626c6500000000006044820152606401610429565b610899838383610a3e565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166109505760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610429565b6001600160a01b038216600090815260208190526040902054818110156109c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610429565b6001600160a01b03831660009081526020819052604081208383039055600280548492906109f3908490610dc2565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038316610aa25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610429565b6001600160a01b038216610b045760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610429565b6001600160a01b03831660009081526020819052604090205481811015610b7c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610429565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610bb3908490610daa565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610bff91815260200190565b60405180910390a350505050565b80356001600160a01b0381168114610c2457600080fd5b919050565b600060208284031215610c3b57600080fd5b610c4482610c0d565b9392505050565b60008060408385031215610c5e57600080fd5b610c6783610c0d565b9150610c7560208401610c0d565b90509250929050565b600080600060608486031215610c9357600080fd5b610c9c84610c0d565b9250610caa60208501610c0d565b9150604084013590509250925092565b60008060408385031215610ccd57600080fd5b610cd683610c0d565b915060208301358015158114610ceb57600080fd5b809150509250929050565b60008060408385031215610d0957600080fd5b610d1283610c0d565b946020939093013593505050565b600060208083528351808285015260005b81811015610d4d57858101830151858201604001528201610d31565b81811115610d5f576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610dbd57610dbd610e14565b500190565b600082821015610dd457610dd4610e14565b500390565b600181811c90821680610ded57607f821691505b60208210811415610e0e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220d0f3164b388b854d19f19a1efc1b27849198f00b7678d0c0e46b5f116b0c59e264736f6c6343000807003300000000000000000000000000000000000000000000152d02c7e14af6800000

Loading