Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
22,594,013,427,514,210.00 COOKIE

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


Decimals:
9
Contract Source Code Verified (Partial Match)
Contract Name:
CookieS2

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Created At:
Thu, 20 Jan 2022 17:58:22 GMT
CookieS2.sol
CookieS2.sol
CookieS2.sol


Contract ABI
[
  {
    "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": [],
    "name": "addressesFrozen",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "bakerAddress",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "bakeryAddress",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "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": "_from",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "_amount",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "exchangeAddress",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "freezeAddresses",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "_amount",
        "type": "uint256"
      }
    ],
    "name": "mint",
    "outputs": [],
    "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": "pantryAddress",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_bakerAddress",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_bakeryAddress",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_exchangeAddress",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_pantryAddress",
        "type": "address"
      }
    ],
    "name": "setAddresses",
    "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": "_from",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "_amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60c0604052600f60808190526e536561736f6e203220436f6f6b696560881b60a0908152620000329160079190620000d6565b5060408051808201909152600680825265434f4f4b494560d01b60209092019182526200006291600891620000d6565b50600980553480156200007457600080fd5b50620000803362000086565b620001b9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620000e4906200017c565b90600052602060002090601f01602090048101928262000108576000855562000153565b82601f106200012357805160ff191683800117855562000153565b8280016001018555821562000153579182015b828111156200015357825182559160200191906001019062000136565b506200016192915062000165565b5090565b5b8082111562000161576000815560010162000166565b600181811c908216806200019157607f821691505b60208210811415620001b357634e487b7160e01b600052602260045260246000fd5b50919050565b610d8b80620001c96000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80638da5cb5b116100a25780639dc29fac116100715780639dc29fac146102255780639f65423d14610238578063a070dab11461024b578063beabacc81461025e578063f2fde38b1461027157600080fd5b80638da5cb5b146101d257806395d89b41146101f75780639741301b146101ff5780639cd016051461021257600080fd5b806340c10f19116100e957806340c10f191461015e5780634a945f8d1461017157806370a0823114610184578063715018a6146101ad57806384e22df8146101b557600080fd5b8063035f1c021461011b57806306fdde031461012557806318160ddd14610143578063313ce56714610155575b600080fd5b610123610284565b005b61012d6102c6565b60405161013a9190610b53565b60405180910390f35b6002545b60405190815260200161013a565b61014760095481565b61012361016c366004610bc4565b610354565b61012361017f366004610bee565b6103f9565b610147610192366004610c42565b6001600160a01b031660009081526001602052604090205490565b6101236104bd565b600a546101c29060ff1681565b604051901515815260200161013a565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161013a565b61012d6104f3565b6004546101df906001600160a01b031681565b6005546101df906001600160a01b031681565b610123610233366004610bc4565b610500565b6006546101df906001600160a01b031681565b6003546101df906001600160a01b031681565b61012361026c366004610c64565b6105a0565b61012361027f366004610c42565b6106aa565b6000546001600160a01b031633146102b75760405162461bcd60e51b81526004016102ae90610ca0565b60405180910390fd5b600a805460ff19166001179055565b600780546102d390610cd5565b80601f01602080910402602001604051908101604052809291908181526020018280546102ff90610cd5565b801561034c5780601f106103215761010080835404028352916020019161034c565b820191906000526020600020905b81548152906001019060200180831161032f57829003601f168201915b505050505081565b6004546001600160a01b0316336001600160a01b0316148061038957506005546001600160a01b0316336001600160a01b0316145b6103eb5760405162461bcd60e51b815260206004820152602d60248201527f4f6e6c79207468652042616b657279206f722045786368616e676520636f6e7460448201526c1c9858dd0818d85b881b5a5b9d609a1b60648201526084016102ae565b6103f58282610745565b5050565b6000546001600160a01b031633146104235760405162461bcd60e51b81526004016102ae90610ca0565b600a5460ff161561046d5760405162461bcd60e51b815260206004820152601460248201527320b2323932b9b9b2b99030b93290333937bd32b760611b60448201526064016102ae565b600380546001600160a01b039586166001600160a01b0319918216179091556004805494861694821694909417909355600580549285169284169290921790915560068054919093169116179055565b6000546001600160a01b031633146104e75760405162461bcd60e51b81526004016102ae90610ca0565b6104f16000610824565b565b600880546102d390610cd5565b6003546001600160a01b0316336001600160a01b0316148061053557506005546001600160a01b0316336001600160a01b0316145b6105965760405162461bcd60e51b815260206004820152602c60248201527f4f6e6c79207468652042616b6572206f722045786368616e676520636f6e747260448201526b30b1ba1031b0b710313ab93760a11b60648201526084016102ae565b6103f58282610874565b6006546001600160a01b0316336001600160a01b0316146106115760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79207468652050616e74727920636f6e74726163742063616e207472616044820152643739b332b960d91b60648201526084016102ae565b6006546001600160a01b038481169116148061063a57506006546001600160a01b038381169116145b61069a5760405162461bcd60e51b815260206004820152602b60248201527f5472616e73666572732063616e206f6e6c7920626520746f206f722066726f6d60448201526a207468652070616e74727960a81b60648201526084016102ae565b6106a58383836109ad565b505050565b6000546001600160a01b031633146106d45760405162461bcd60e51b81526004016102ae90610ca0565b6001600160a01b0381166107395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ae565b61074281610824565b50565b6001600160a01b03821661079b5760405162461bcd60e51b815260206004820152601860248201527f6d696e7420746f20746865207a65726f2061646472657373000000000000000060448201526064016102ae565b80600260008282546107ad9190610d26565b90915550506001600160a01b038216600090815260016020526040812080548392906107da908490610d26565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166108ca5760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f206164647265737300000000000060448201526064016102ae565b6001600160a01b038216600090815260016020526040902054818110156109335760405162461bcd60e51b815260206004820152601b60248201527f6275726e20616d6f756e7420657863656564732062616c616e6365000000000060448201526064016102ae565b6001600160a01b0383166000908152600160205260408120838303905560028054849290610962908490610d3e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038316610a035760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f2061646472657373000060448201526064016102ae565b6001600160a01b038216610a595760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016102ae565b6001600160a01b03831660009081526001602052604090205481811015610ac25760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e63650060448201526064016102ae565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610af9908490610d26565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b4591815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610b8057858101830151858201604001528201610b64565b81811115610b92576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610bbf57600080fd5b919050565b60008060408385031215610bd757600080fd5b610be083610ba8565b946020939093013593505050565b60008060008060808587031215610c0457600080fd5b610c0d85610ba8565b9350610c1b60208601610ba8565b9250610c2960408601610ba8565b9150610c3760608601610ba8565b905092959194509250565b600060208284031215610c5457600080fd5b610c5d82610ba8565b9392505050565b600080600060608486031215610c7957600080fd5b610c8284610ba8565b9250610c9060208501610ba8565b9150604084013590509250925092565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680610ce957607f821691505b60208210811415610d0a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610d3957610d39610d10565b500190565b600082821015610d5057610d50610d10565b50039056fea26469706673582212205ea57ca3f67c0553eeec062eef4c08e5f86b342b67506f4ba1209f9e9157b9aa64736f6c63430008090033

Loading