COOK COOK N/A
Last Block- HealthChecking Head-
BT--:--
ConsensusQBFT Chain ID20261001 Nodes0/0
Gas price- Gwei
Cookchain Cookchain

Contract Details

Overview

COOK BALANCE

Loading…

TOKEN NAME

EVM Contract

TOTAL SUPPLY

Not available

More Info

CONTRACT ADDRESS

0x370b9df6f6c432d38273d3c5daca9f6f93dfc00c

CONTRACT CREATOR

Not available

TOKEN TRACKER

Checking ERC-20 metadata…

Contract Info

SOURCE CODE

✓ Verified

TOKEN DECIMALS

Not available

Market and multichain values require verified data feeds.

Latest Contract Transactions

Loading indexed transactions…

Transaction HashActionBlockAgeFromToAmountTxn Fee
Raw Contract Data · JSON
{
  "id": "0x370b9df6f6c432d38273d3c5daca9f6f93dfc00c",
  "contract": "0x370b9df6f6c432d38273d3c5daca9f6f93dfc00c",
  "name": "EVM Contract",
  "type": "contract",
  "bytecode": "0x6080604052600436106100295760003560e01c806350f1c4641461002e578063cdcb760a146101e8575b600080fd5b34801561003a57600080fd5b506101bf6100493660046106b0565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b8116602080840191909152603480840195909552835180840390950185526054830180855285519582019590952060948401855260109095527f67363d3d37363d34f03d5260086018f30000000000000000000000000000000060749093019290925282517fff000000000000000000000000000000000000000000000000000000000000008184015230861b8216602182015260358101949094527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f605580860191909152835180860390910181526075850184528051908301207fd694000000000000000000000000000000000000000000000000000000000000609586015290941b90931660978301527f010000000000000000000000000000000000000000000000000000000000000060ab8301528051808303608c01815260ac9092019052805191012090565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6101bf6101f63660046106f5565b6000818103610266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f456d707479206372656174696f6e20636f64650000000000000000000000000060448201526064015b60405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015260348101859052600090605401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012083830190925260108084527f67363d3d37363d34f03d5260086018f30000000000000000000000000000000091840191825291935060009291849184f5915073ffffffffffffffffffffffffffffffffffffffff8216610393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f53616c7420616c72656164792075736564000000000000000000000000000000604482015260640161025d565b60008273ffffffffffffffffffffffffffffffffffffffff163488886040516103bd929190610771565b60006040518083038185875af1925050503d80600081146103fa576040519150601f19603f3d011682016040523d82523d6000602084013e6103ff565b606091505b505090508061046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4465706c6f796d656e74206661696c6564000000000000000000000000000000604482015260640161025d565b6040805133606090811b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090811660208085019190915260348085018e9052855180860390910181526054850180875281519183019190912060948601875260109091527f67363d3d37363d34f03d5260086018f30000000000000000000000000000000060749095019490945284517fff000000000000000000000000000000000000000000000000000000000000008183015230841b8316602182015260358101949094527f21c35dbe1b344a2488cf3321d6ce542f8e9f305544ff09e4993a62319a497c1f605580860191909152855180860390910181526075850186528051908201207fd694000000000000000000000000000000000000000000000000000000000000609586015290921b1660978301527f010000000000000000000000000000000000000000000000000000000000000060ab8301528251608c81840301815260ac909201909252805191012094508473ffffffffffffffffffffffffffffffffffffffff163b600003610660576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f20636f6e7472616374206465706c6f796564000000000000000000000000604482015260640161025d565b60405173ffffffffffffffffffffffffffffffffffffffff861690899033907f290afdae231a3fc0bbae8b1af63698b0a1d79b21ad17df0342dfb952fe74f8e590600090a4505050509392505050565b600080604083850312156106c357600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146106e757600080fd5b946020939093013593505050565b60008060006040848603121561070a57600080fd5b83359250602084013567ffffffffffffffff8082111561072957600080fd5b818601915086601f83011261073d57600080fd5b81358181111561074c57600080fd5b87602082850101111561075e57600080fd5b6020830194508093505050509250925092565b818382376000910190815291905056fea264697066735822122096c6dc4327bd879de5f3b9433727e1d69c9bea20e3a2a83720793a508172707f64736f6c63430008180033",
  "is_contract": true,
  "verified": true,
  "verification": {
    "address": "0x370b9df6f6c432d38273d3c5daca9f6f93dfc00c",
    "compiler": "0.8.24+commit.e11b9ed9.Emscripten.clang",
    "contract": "contracts/tokens/CookDEXTokenDeployer.sol:CookDEXTokenDeployer",
    "verified": true,
    "match": "runtime-with-metadata",
    "creation_verified": false,
    "constructor_arguments": null,
    "verified_at": "2026-10-01T10:06:56.685Z",
    "chain_id": 20261001,
    "abi": [
      {
        "anonymous": false,
        "inputs": [
          {
            "indexed": true,
            "internalType": "address",
            "name": "creator",
            "type": "address"
          },
          {
            "indexed": true,
            "internalType": "bytes32",
            "name": "salt",
            "type": "bytes32"
          },
          {
            "indexed": true,
            "internalType": "address",
            "name": "deployed",
            "type": "address"
          }
        ],
        "name": "ContractDeployed",
        "type": "event"
      },
      {
        "inputs": [
          {
            "internalType": "bytes32",
            "name": "salt",
            "type": "bytes32"
          },
          {
            "internalType": "bytes",
            "name": "creationCode",
            "type": "bytes"
          }
        ],
        "name": "deploy",
        "outputs": [
          {
            "internalType": "address",
            "name": "deployed",
            "type": "address"
          }
        ],
        "stateMutability": "payable",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "creator",
            "type": "address"
          },
          {
            "internalType": "bytes32",
            "name": "salt",
            "type": "bytes32"
          }
        ],
        "name": "getDeployed",
        "outputs": [
          {
            "internalType": "address",
            "name": "deployed",
            "type": "address"
          }
        ],
        "stateMutability": "view",
        "type": "function"
      }
    ],
    "input": {
      "language": "Solidity",
      "sources": {
        "contracts/tokens/CookDEXTokenDeployer.sol": {
          "content": "// SPDX-License-Identifier: MIT\npragma solidity 0.8.24;\n\n/// @notice Deterministic CREATE3 deployment for CookDEX token templates.\n/// @dev The caller is part of the salt namespace, so one user cannot reserve\n///      another user's token address.\ncontract CookDEXTokenDeployer {\n    bytes private constant PROXY_BYTECODE = hex\"67363d3d37363d34f03d5260086018f3\";\n    bytes32 private constant PROXY_BYTECODE_HASH = keccak256(PROXY_BYTECODE);\n\n    event ContractDeployed(address indexed creator, bytes32 indexed salt, address indexed deployed);\n\n    function deploy(bytes32 salt, bytes calldata creationCode) external payable returns (address deployed) {\n        require(creationCode.length != 0, \"Empty creation code\");\n        bytes32 namespacedSalt = keccak256(abi.encodePacked(msg.sender, salt));\n        address proxy;\n        bytes memory proxyBytecode = PROXY_BYTECODE;\n        assembly {\n            proxy := create2(0, add(proxyBytecode, 0x20), mload(proxyBytecode), namespacedSalt)\n        }\n        require(proxy != address(0), \"Salt already used\");\n        (bool success, ) = proxy.call{value: msg.value}(creationCode);\n        require(success, \"Deployment failed\");\n        deployed = getDeployed(msg.sender, salt);\n        require(deployed.code.length != 0, \"No contract deployed\");\n        emit ContractDeployed(msg.sender, salt, deployed);\n    }\n\n    function getDeployed(address creator, bytes32 salt) public view returns (address deployed) {\n        bytes32 namespacedSalt = keccak256(abi.encodePacked(creator, salt));\n        address proxy = address(uint160(uint256(keccak256(abi.encodePacked(\n            bytes1(0xff), address(this), namespacedSalt, PROXY_BYTECODE_HASH\n        )))));\n        deployed = address(uint160(uint256(keccak256(abi.encodePacked(hex\"d694\", proxy, hex\"01\")))));\n    }\n}\n"
        }
      },
      "settings": {
        "optimizer": {
          "enabled": true,
          "runs": 10000
        },
        "evmVersion": "paris",
        "outputSelection": {
          "contracts/tokens/CookDEXTokenDeployer.sol": {
            "CookDEXTokenDeployer": [
              "abi",
              "metadata",
              "evm.bytecode",
              "evm.deployedBytecode"
            ],
            "": [
              "ast"
            ]
          }
        }
      }
    },
    "metadata": {
      "compiler": {
        "version": "0.8.24+commit.e11b9ed9"
      },
      "language": "Solidity",
      "output": {
        "abi": [
          {
            "anonymous": false,
            "inputs": [
              {
                "indexed": true,
                "internalType": "address",
                "name": "creator",
                "type": "address"
              },
              {
                "indexed": true,
                "internalType": "bytes32",
                "name": "salt",
                "type": "bytes32"
              },
              {
                "indexed": true,
                "internalType": "address",
                "name": "deployed",
                "type": "address"
              }
            ],
            "name": "ContractDeployed",
            "type": "event"
          },
          {
            "inputs": [
              {
                "internalType": "bytes32",
                "name": "salt",
                "type": "bytes32"
              },
              {
                "internalType": "bytes",
                "name": "creationCode",
                "type": "bytes"
              }
            ],
            "name": "deploy",
            "outputs": [
              {
                "internalType": "address",
                "name": "deployed",
                "type": "address"
              }
            ],
            "stateMutability": "payable",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "creator",
                "type": "address"
              },
              {
                "internalType": "bytes32",
                "name": "salt",
                "type": "bytes32"
              }
            ],
            "name": "getDeployed",
            "outputs": [
              {
                "internalType": "address",
                "name": "deployed",
                "type": "address"
              }
            ],
            "stateMutability": "view",
            "type": "function"
          }
        ],
        "devdoc": {
          "details": "The caller is part of the salt namespace, so one user cannot reserve      another user's token address.",
          "kind": "dev",
          "methods": {},
          "version": 1
        },
        "userdoc": {
          "kind": "user",
          "methods": {},
          "notice": "Deterministic CREATE3 deployment for CookDEX token templates.",
          "version": 1
        }
      },
      "settings": {
        "compilationTarget": {
          "contracts/tokens/CookDEXTokenDeployer.sol": "CookDEXTokenDeployer"
        },
        "evmVersion": "paris",
        "libraries": {},
        "metadata": {
          "bytecodeHash": "ipfs"
        },
        "optimizer": {
          "enabled": true,
          "runs": 10000
        },
        "remappings": []
      },
      "sources": {
        "contracts/tokens/CookDEXTokenDeployer.sol": {
          "keccak256": "0x483b7c0669388c1bd07c0096b5c6b1d404f445665af1a2070d66c901cc91cb09",
          "license": "MIT",
          "urls": [
            "bzz-raw://13141382b2970bb19ff6c04a0928f698e9b13063346bd973a80d1277de0ecbc6",
            "dweb:/ipfs/QmXkdSjrwN3QiZ84J61VQsczEw7Q2AtRNt6v7XBrXtB2W2"
          ]
        }
      },
      "version": 1
    }
  },
  "deployment": null
}