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

Cookchain Explorer

Contract Details

Overview

COOK BALANCE

Loading…

TOKEN NAME

EVM Contract

TOTAL SUPPLY

Not available

More Info

CONTRACT ADDRESS

0x028581ea934d06cce20cc582b57b89ea1c0449d1

CONTRACT CREATOR

0xdf6e7e94ed8c6fe335c28a8ec50381e9172f7d30
Creation transaction

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": "0x028581ea934d06cce20cc582b57b89ea1c0449d1",
  "contract": "0x028581ea934d06cce20cc582b57b89ea1c0449d1",
  "name": "EVM Contract",
  "type": "contract",
  "bytecode": "0x608060405234801561001057600080fd5b50600436106100a35760003560e01c80636518a0b311610076578063cd6de5441161005b578063cd6de5441461017b578063f4dadc611461018e578063fccc28131461026b57600080fd5b80636518a0b3146101515780639d864c001461016857600080fd5b8063150b7a02146100a8578063190a2161146101165780631eeece061461012b57806337bdc99b1461013e575b600080fd5b6100e06100b6366004610fbf565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b61012961012436600461105a565b610299565b005b61012961013936600461105a565b610404565b61012961014c366004611084565b6104fc565b61015a60015481565b60405190815260200161010d565b61015a61017636600461109d565b610743565b61015a61018936600461109d565b6108dc565b61021061019c366004611084565b60026020819052600091825260409091208054600182015492820154600383015460049093015473ffffffffffffffffffffffffffffffffffffffff9283169490921692909167ffffffffffffffff81169060ff680100000000000000008204811691690100000000000000000090041687565b6040805173ffffffffffffffffffffffffffffffffffffffff988916815297909616602088015294860193909352606085019190915267ffffffffffffffff166080840152151560a0830152151560c082015260e00161010d565b61027461dead81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6102a1610a03565b73ffffffffffffffffffffffffffffffffffffffff82166103095760405162461bcd60e51b815260206004820152600a60248201527f41535345545f5a45524f0000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015261dead60248201526044810182905273ffffffffffffffffffffffffffffffffffffffff8316906323b872dd90606401600060405180830381600087803b15801561037f57600080fd5b505af1158015610393573d6000803e3d6000fd5b5050604080518481526001602082018190529181019190915233925073ffffffffffffffffffffffffffffffffffffffff851691507f7e1f7ce9aa1636931adadff8fd71f58e15fcee26b804fe4b6246c4dddcc9b2a4906060015b60405180910390a36104006001600055565b5050565b61040c610a03565b73ffffffffffffffffffffffffffffffffffffffff8216158015906104315750600081115b61047d5760405162461bcd60e51b815260206004820152600c60248201527f4255524e5f494e56414c494400000000000000000000000000000000000000006044820152606401610300565b6104a173ffffffffffffffffffffffffffffffffffffffff83163361dead84610a5c565b6040805160008082526020820184905291810191909152339073ffffffffffffffffffffffffffffffffffffffff8416907f7e1f7ce9aa1636931adadff8fd71f58e15fcee26b804fe4b6246c4dddcc9b2a4906060016103ee565b610504610a03565b600081815260026020526040902060048101546901000000000000000000900460ff1615801561054d5750600181015473ffffffffffffffffffffffffffffffffffffffff1633145b6105995760405162461bcd60e51b815260206004820152600f60248201527f4e4f545f42454e454649434941525900000000000000000000000000000000006044820152606401610300565b600481015467ffffffffffffffff164210156105f75760405162461bcd60e51b815260206004820152600b60248201527f4c4f434b5f4143544956450000000000000000000000000000000000000000006044820152606401610300565b6004810180547fffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffff166901000000000000000000179081905568010000000000000000900460ff16156106dd57805460028201546040517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152336024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff909116906342842e0e90606401600060405180830381600087803b1580156106c057600080fd5b505af11580156106d4573d6000803e3d6000fd5b50505050610708565b600381015481546107089173ffffffffffffffffffffffffffffffffffffffff909116903390610b3e565b604051339083907f0e74e70ddf3647ccfd1c98585b25247dfc830d9279f5cadcf3adad1bf45b7b2390600090a3506107406001600055565b50565b600061074d610a03565b73ffffffffffffffffffffffffffffffffffffffff851615801590610787575073ffffffffffffffffffffffffffffffffffffffff821615155b6107d35760405162461bcd60e51b815260206004820152600c60248201527f414444524553535f5a45524f00000000000000000000000000000000000000006044820152606401610300565b428367ffffffffffffffff161161082c5760405162461bcd60e51b815260206004820152600c60248201527f4c4f434b5f494e56414c494400000000000000000000000000000000000000006044820152606401610300565b6040517f42842e0e0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810185905273ffffffffffffffffffffffffffffffffffffffff8616906342842e0e90606401600060405180830381600087803b1580156108a057600080fd5b505af11580156108b4573d6000803e3d6000fd5b505050506108c88583866001876001610b99565b90506108d46001600055565b949350505050565b60006108e6610a03565b73ffffffffffffffffffffffffffffffffffffffff851615801590610920575073ffffffffffffffffffffffffffffffffffffffff821615155b61096c5760405162461bcd60e51b815260206004820152600c60248201527f414444524553535f5a45524f00000000000000000000000000000000000000006044820152606401610300565b6000841180156109855750428367ffffffffffffffff16115b6109d15760405162461bcd60e51b815260206004820152600c60248201527f4c4f434b5f494e56414c494400000000000000000000000000000000000000006044820152606401610300565b6109f373ffffffffffffffffffffffffffffffffffffffff8616333087610a5c565b6108c88583600087876000610b99565b600260005403610a555760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610300565b6002600055565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610b389085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610d64565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610b949084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610ab6565b505050565b6001805460009182610baa836110f9565b909155506040805160e08101825273ffffffffffffffffffffffffffffffffffffffff808b168083528a821660208085018281528587018d8152606087018d815267ffffffffffffffff808e1660808a019081528d151560a08b01908152600060c08c018181528e8252600298899052908d90209b518c54908c167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216178d55965160018d01805491909c1697169690961790995592519489019490945551600388015551600490960180549551915115156901000000000000000000027fffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffff92151568010000000000000000027fffffffffffffffffffffffffffffffffffffffffffffff00000000000000000090971697909316969096179490941793909316929092179092559151929350909183907fdb33f9f62ff6492da2ef83ba027f97bce60dc419b8654e5e4d5f87048e209e5090610d52908a908a908a908a90938452602084019290925267ffffffffffffffff1660408301521515606082015260800190565b60405180910390a49695505050505050565b6000610dc6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610e599092919063ffffffff16565b9050805160001480610de7575080806020019051810190610de79190611158565b610b945760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610300565b60606108d48484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051610e8d91906111a5565b60006040518083038185875af1925050503d8060008114610eca576040519150601f19603f3d011682016040523d82523d6000602084013e610ecf565b606091505b5091509150610ee087838387610eeb565b979650505050505050565b60608315610f67578251600003610f605773ffffffffffffffffffffffffffffffffffffffff85163b610f605760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610300565b50816108d4565b6108d48383815115610f7c5781518083602001fd5b8060405162461bcd60e51b815260040161030091906111c1565b803573ffffffffffffffffffffffffffffffffffffffff81168114610fba57600080fd5b919050565b600080600080600060808688031215610fd757600080fd5b610fe086610f96565b9450610fee60208701610f96565b935060408601359250606086013567ffffffffffffffff8082111561101257600080fd5b818801915088601f83011261102657600080fd5b81358181111561103557600080fd5b89602082850101111561104757600080fd5b9699959850939650602001949392505050565b6000806040838503121561106d57600080fd5b61107683610f96565b946020939093013593505050565b60006020828403121561109657600080fd5b5035919050565b600080600080608085870312156110b357600080fd5b6110bc85610f96565b935060208501359250604085013567ffffffffffffffff811681146110e057600080fd5b91506110ee60608601610f96565b905092959194509250565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611151577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b60006020828403121561116a57600080fd5b8151801515811461117a57600080fd5b9392505050565b60005b8381101561119c578181015183820152602001611184565b50506000910152565b600082516111b7818460208701611181565b9190910192915050565b60208152600082518060208401526111e0816040850160208701611181565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea264697066735822122001979c76871b5d307ca477268c8f60062e79e5f16a3f685a11efe75d02e5467a64736f6c63430008180033",
  "is_contract": true,
  "verified": true,
  "verification": {
    "address": "0x028581ea934d06cce20cc582b57b89ea1c0449d1",
    "compiler": "0.8.24+commit.e11b9ed9.Emscripten.clang",
    "contract": "contracts/CookDEXLiquidityLocker.sol:CookDEXLiquidityLocker",
    "verified": true,
    "match": "runtime-with-metadata",
    "creation_verified": true,
    "constructor_arguments": "",
    "verified_at": "2026-10-01T09:56:20.870Z",
    "chain_id": 20261001,
    "abi": [
      {
        "anonymous": false,
        "inputs": [
          {
            "indexed": true,
            "internalType": "address",
            "name": "asset",
            "type": "address"
          },
          {
            "indexed": true,
            "internalType": "address",
            "name": "owner",
            "type": "address"
          },
          {
            "indexed": false,
            "internalType": "uint256",
            "name": "tokenId",
            "type": "uint256"
          },
          {
            "indexed": false,
            "internalType": "uint256",
            "name": "amount",
            "type": "uint256"
          },
          {
            "indexed": false,
            "internalType": "bool",
            "name": "isNFT",
            "type": "bool"
          }
        ],
        "name": "LiquidityBurned",
        "type": "event"
      },
      {
        "anonymous": false,
        "inputs": [
          {
            "indexed": true,
            "internalType": "uint256",
            "name": "lockId",
            "type": "uint256"
          },
          {
            "indexed": true,
            "internalType": "address",
            "name": "asset",
            "type": "address"
          },
          {
            "indexed": true,
            "internalType": "address",
            "name": "beneficiary",
            "type": "address"
          },
          {
            "indexed": false,
            "internalType": "uint256",
            "name": "tokenId",
            "type": "uint256"
          },
          {
            "indexed": false,
            "internalType": "uint256",
            "name": "amount",
            "type": "uint256"
          },
          {
            "indexed": false,
            "internalType": "uint64",
            "name": "unlockTime",
            "type": "uint64"
          },
          {
            "indexed": false,
            "internalType": "bool",
            "name": "isNFT",
            "type": "bool"
          }
        ],
        "name": "LiquidityLocked",
        "type": "event"
      },
      {
        "anonymous": false,
        "inputs": [
          {
            "indexed": true,
            "internalType": "uint256",
            "name": "lockId",
            "type": "uint256"
          },
          {
            "indexed": true,
            "internalType": "address",
            "name": "beneficiary",
            "type": "address"
          }
        ],
        "name": "LiquidityReleased",
        "type": "event"
      },
      {
        "inputs": [],
        "name": "BURN_ADDRESS",
        "outputs": [
          {
            "internalType": "address",
            "name": "",
            "type": "address"
          }
        ],
        "stateMutability": "view",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "asset",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "amount",
            "type": "uint256"
          }
        ],
        "name": "burnERC20",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "asset",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "tokenId",
            "type": "uint256"
          }
        ],
        "name": "burnERC721",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "asset",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "amount",
            "type": "uint256"
          },
          {
            "internalType": "uint64",
            "name": "unlockTime",
            "type": "uint64"
          },
          {
            "internalType": "address",
            "name": "beneficiary",
            "type": "address"
          }
        ],
        "name": "lockERC20",
        "outputs": [
          {
            "internalType": "uint256",
            "name": "lockId",
            "type": "uint256"
          }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "asset",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "tokenId",
            "type": "uint256"
          },
          {
            "internalType": "uint64",
            "name": "unlockTime",
            "type": "uint64"
          },
          {
            "internalType": "address",
            "name": "beneficiary",
            "type": "address"
          }
        ],
        "name": "lockERC721",
        "outputs": [
          {
            "internalType": "uint256",
            "name": "lockId",
            "type": "uint256"
          }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "uint256",
            "name": "",
            "type": "uint256"
          }
        ],
        "name": "locks",
        "outputs": [
          {
            "internalType": "address",
            "name": "asset",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "beneficiary",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "tokenId",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "amount",
            "type": "uint256"
          },
          {
            "internalType": "uint64",
            "name": "unlockTime",
            "type": "uint64"
          },
          {
            "internalType": "bool",
            "name": "isNFT",
            "type": "bool"
          },
          {
            "internalType": "bool",
            "name": "released",
            "type": "bool"
          }
        ],
        "stateMutability": "view",
        "type": "function"
      },
      {
        "inputs": [],
        "name": "nextLockId",
        "outputs": [
          {
            "internalType": "uint256",
            "name": "",
            "type": "uint256"
          }
        ],
        "stateMutability": "view",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "",
            "type": "uint256"
          },
          {
            "internalType": "bytes",
            "name": "",
            "type": "bytes"
          }
        ],
        "name": "onERC721Received",
        "outputs": [
          {
            "internalType": "bytes4",
            "name": "",
            "type": "bytes4"
          }
        ],
        "stateMutability": "pure",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "uint256",
            "name": "lockId",
            "type": "uint256"
          }
        ],
        "name": "release",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
      }
    ],
    "input": {
      "language": "Solidity",
      "sources": {
        "@openzeppelin/contracts/security/ReentrancyGuard.sol": {
          "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract ReentrancyGuard {\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant _NOT_ENTERED = 1;\n    uint256 private constant _ENTERED = 2;\n\n    uint256 private _status;\n\n    constructor() {\n        _status = _NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be _NOT_ENTERED\n        require(_status != _ENTERED, \"ReentrancyGuard: reentrant call\");\n\n        // Any calls to nonReentrant after this point will fail\n        _status = _ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _status = _NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _status == _ENTERED;\n    }\n}\n"
        },
        "@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol": {
          "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {SafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface IERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"
        },
        "@openzeppelin/contracts/token/ERC20/IERC20.sol": {
          "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `from` to `to` using the\n     * allowance mechanism. `amount` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 amount) external returns (bool);\n}\n"
        },
        "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol": {
          "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC20.sol\";\nimport \"../extensions/IERC20Permit.sol\";\nimport \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    using Address for address;\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\n    }\n\n    /**\n     * @dev Deprecated. This function has issues similar to the ones found in\n     * {IERC20-approve}, and its usage is discouraged.\n     *\n     * Whenever possible, use {safeIncreaseAllowance} and\n     * {safeDecreaseAllowance} instead.\n     */\n    function safeApprove(IERC20 token, address spender, uint256 value) internal {\n        // safeApprove should only be called when setting an initial allowance,\n        // or when resetting it to zero. To increase and decrease it, use\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\n        require(\n            (value == 0) || (token.allowance(address(this), spender) == 0),\n            \"SafeERC20: approve from non-zero to non-zero allowance\"\n        );\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        unchecked {\n            uint256 oldAllowance = token.allowance(address(this), spender);\n            require(oldAllowance >= value, \"SafeERC20: decreased allowance below zero\");\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.\n     * Revert on invalid signature.\n     */\n    function safePermit(\n        IERC20Permit token,\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) internal {\n        uint256 nonceBefore = token.nonces(owner);\n        token.permit(owner, spender, value, deadline, v, r, s);\n        uint256 nonceAfter = token.nonces(owner);\n        require(nonceAfter == nonceBefore + 1, \"SafeERC20: permit did not succeed\");\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data, \"SafeERC20: low-level call failed\");\n        require(returndata.length == 0 || abi.decode(returndata, (bool)), \"SafeERC20: ERC20 operation did not succeed\");\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return\n            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));\n    }\n}\n"
        },
        "@openzeppelin/contracts/token/ERC721/IERC721.sol": {
          "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the caller.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n"
        },
        "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": {
          "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"
        },
        "@openzeppelin/contracts/utils/Address.sol": {
          "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev Returns true if `account` is a contract.\n     *\n     * [IMPORTANT]\n     * ====\n     * It is unsafe to assume that an address for which this function returns\n     * false is an externally-owned account (EOA) and not a contract.\n     *\n     * Among others, `isContract` will return false for the following\n     * types of addresses:\n     *\n     *  - an externally-owned account\n     *  - a contract in construction\n     *  - an address where a contract will be created\n     *  - an address where a contract lived, but was destroyed\n     *\n     * Furthermore, `isContract` will also return true if the target contract within\n     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n     * which only has an effect at the end of a transaction.\n     * ====\n     *\n     * [IMPORTANT]\n     * ====\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\n     *\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n     * constructor.\n     * ====\n     */\n    function isContract(address account) internal view returns (bool) {\n        // This method relies on extcodesize/address.code.length, which returns 0\n        // for contracts in construction, since the code is only stored at the end\n        // of the constructor execution.\n\n        return account.code.length > 0;\n    }\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        require(success, \"Address: unable to send value, recipient may have reverted\");\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason, it is bubbled up by this\n     * function (like regular Solidity function calls).\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     *\n     * _Available since v3.1._\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, \"Address: low-level call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n     * `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     *\n     * _Available since v3.1._\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCallWithValue(\n        address target,\n        bytes memory data,\n        uint256 value,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        return functionStaticCall(target, data, \"Address: low-level static call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n     *\n     * _Available since v4.8._\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        if (success) {\n            if (returndata.length == 0) {\n                // only check isContract if the call was successful and the return data is empty\n                // otherwise we already know that it was a contract\n                require(isContract(target), \"Address: call to non-contract\");\n            }\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n     * revert reason or using the provided one.\n     *\n     * _Available since v4.3._\n     */\n    function verifyCallResult(\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert(errorMessage);\n        }\n    }\n}\n"
        },
        "@openzeppelin/contracts/utils/introspection/IERC165.sol": {
          "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"
        },
        "contracts/CookDEXLiquidityLocker.sol": {
          "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"@openzeppelin/contracts/security/ReentrancyGuard.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC721/IERC721.sol\";\nimport \"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\";\n\n/// @notice Non-custodial-by-rule time locks for V2 LP tokens and V3 position NFTs.\ncontract CookDEXLiquidityLocker is ReentrancyGuard, IERC721Receiver {\n    using SafeERC20 for IERC20;\n\n    address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;\n    uint256 public nextLockId = 1;\n\n    struct Lock {\n        address asset;\n        address beneficiary;\n        uint256 tokenId;\n        uint256 amount;\n        uint64 unlockTime;\n        bool isNFT;\n        bool released;\n    }\n\n    mapping(uint256 => Lock) public locks;\n\n    event LiquidityLocked(uint256 indexed lockId, address indexed asset, address indexed beneficiary, uint256 tokenId, uint256 amount, uint64 unlockTime, bool isNFT);\n    event LiquidityReleased(uint256 indexed lockId, address indexed beneficiary);\n    event LiquidityBurned(address indexed asset, address indexed owner, uint256 tokenId, uint256 amount, bool isNFT);\n\n    function lockERC20(address asset, uint256 amount, uint64 unlockTime, address beneficiary) external nonReentrant returns (uint256 lockId) {\n        require(asset != address(0) && beneficiary != address(0), \"ADDRESS_ZERO\");\n        require(amount > 0 && unlockTime > block.timestamp, \"LOCK_INVALID\");\n        IERC20(asset).safeTransferFrom(msg.sender, address(this), amount);\n        lockId = _store(asset, beneficiary, 0, amount, unlockTime, false);\n    }\n\n    function lockERC721(address asset, uint256 tokenId, uint64 unlockTime, address beneficiary) external nonReentrant returns (uint256 lockId) {\n        require(asset != address(0) && beneficiary != address(0), \"ADDRESS_ZERO\");\n        require(unlockTime > block.timestamp, \"LOCK_INVALID\");\n        IERC721(asset).safeTransferFrom(msg.sender, address(this), tokenId);\n        lockId = _store(asset, beneficiary, tokenId, 1, unlockTime, true);\n    }\n\n    function burnERC20(address asset, uint256 amount) external nonReentrant {\n        require(asset != address(0) && amount > 0, \"BURN_INVALID\");\n        IERC20(asset).safeTransferFrom(msg.sender, BURN_ADDRESS, amount);\n        emit LiquidityBurned(asset, msg.sender, 0, amount, false);\n    }\n\n    function burnERC721(address asset, uint256 tokenId) external nonReentrant {\n        require(asset != address(0), \"ASSET_ZERO\");\n        IERC721(asset).transferFrom(msg.sender, BURN_ADDRESS, tokenId);\n        emit LiquidityBurned(asset, msg.sender, tokenId, 1, true);\n    }\n\n    function release(uint256 lockId) external nonReentrant {\n        Lock storage item = locks[lockId];\n        require(!item.released && item.beneficiary == msg.sender, \"NOT_BENEFICIARY\");\n        require(block.timestamp >= item.unlockTime, \"LOCK_ACTIVE\");\n        item.released = true;\n        if (item.isNFT) IERC721(item.asset).safeTransferFrom(address(this), msg.sender, item.tokenId);\n        else IERC20(item.asset).safeTransfer(msg.sender, item.amount);\n        emit LiquidityReleased(lockId, msg.sender);\n    }\n\n    function onERC721Received(address, address, uint256, bytes calldata) external pure returns (bytes4) {\n        return IERC721Receiver.onERC721Received.selector;\n    }\n\n    function _store(address asset, address beneficiary, uint256 tokenId, uint256 amount, uint64 unlockTime, bool isNFT) internal returns (uint256 lockId) {\n        lockId = nextLockId++;\n        locks[lockId] = Lock(asset, beneficiary, tokenId, amount, unlockTime, isNFT, false);\n        emit LiquidityLocked(lockId, asset, beneficiary, tokenId, amount, unlockTime, isNFT);\n    }\n}\n"
        }
      },
      "settings": {
        "optimizer": {
          "enabled": true,
          "runs": 10000
        },
        "evmVersion": "paris",
        "outputSelection": {
          "contracts/CookDEXLiquidityLocker.sol": {
            "CookDEXLiquidityLocker": [
              "abi",
              "metadata",
              "evm.bytecode",
              "evm.deployedBytecode"
            ]
          }
        }
      }
    },
    "metadata": {
      "compiler": {
        "version": "0.8.24+commit.e11b9ed9"
      },
      "language": "Solidity",
      "output": {
        "abi": [
          {
            "anonymous": false,
            "inputs": [
              {
                "indexed": true,
                "internalType": "address",
                "name": "asset",
                "type": "address"
              },
              {
                "indexed": true,
                "internalType": "address",
                "name": "owner",
                "type": "address"
              },
              {
                "indexed": false,
                "internalType": "uint256",
                "name": "tokenId",
                "type": "uint256"
              },
              {
                "indexed": false,
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
              },
              {
                "indexed": false,
                "internalType": "bool",
                "name": "isNFT",
                "type": "bool"
              }
            ],
            "name": "LiquidityBurned",
            "type": "event"
          },
          {
            "anonymous": false,
            "inputs": [
              {
                "indexed": true,
                "internalType": "uint256",
                "name": "lockId",
                "type": "uint256"
              },
              {
                "indexed": true,
                "internalType": "address",
                "name": "asset",
                "type": "address"
              },
              {
                "indexed": true,
                "internalType": "address",
                "name": "beneficiary",
                "type": "address"
              },
              {
                "indexed": false,
                "internalType": "uint256",
                "name": "tokenId",
                "type": "uint256"
              },
              {
                "indexed": false,
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
              },
              {
                "indexed": false,
                "internalType": "uint64",
                "name": "unlockTime",
                "type": "uint64"
              },
              {
                "indexed": false,
                "internalType": "bool",
                "name": "isNFT",
                "type": "bool"
              }
            ],
            "name": "LiquidityLocked",
            "type": "event"
          },
          {
            "anonymous": false,
            "inputs": [
              {
                "indexed": true,
                "internalType": "uint256",
                "name": "lockId",
                "type": "uint256"
              },
              {
                "indexed": true,
                "internalType": "address",
                "name": "beneficiary",
                "type": "address"
              }
            ],
            "name": "LiquidityReleased",
            "type": "event"
          },
          {
            "inputs": [],
            "name": "BURN_ADDRESS",
            "outputs": [
              {
                "internalType": "address",
                "name": "",
                "type": "address"
              }
            ],
            "stateMutability": "view",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "asset",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
              }
            ],
            "name": "burnERC20",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "asset",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "tokenId",
                "type": "uint256"
              }
            ],
            "name": "burnERC721",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "asset",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
              },
              {
                "internalType": "uint64",
                "name": "unlockTime",
                "type": "uint64"
              },
              {
                "internalType": "address",
                "name": "beneficiary",
                "type": "address"
              }
            ],
            "name": "lockERC20",
            "outputs": [
              {
                "internalType": "uint256",
                "name": "lockId",
                "type": "uint256"
              }
            ],
            "stateMutability": "nonpayable",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "asset",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "tokenId",
                "type": "uint256"
              },
              {
                "internalType": "uint64",
                "name": "unlockTime",
                "type": "uint64"
              },
              {
                "internalType": "address",
                "name": "beneficiary",
                "type": "address"
              }
            ],
            "name": "lockERC721",
            "outputs": [
              {
                "internalType": "uint256",
                "name": "lockId",
                "type": "uint256"
              }
            ],
            "stateMutability": "nonpayable",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
              }
            ],
            "name": "locks",
            "outputs": [
              {
                "internalType": "address",
                "name": "asset",
                "type": "address"
              },
              {
                "internalType": "address",
                "name": "beneficiary",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "tokenId",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
              },
              {
                "internalType": "uint64",
                "name": "unlockTime",
                "type": "uint64"
              },
              {
                "internalType": "bool",
                "name": "isNFT",
                "type": "bool"
              },
              {
                "internalType": "bool",
                "name": "released",
                "type": "bool"
              }
            ],
            "stateMutability": "view",
            "type": "function"
          },
          {
            "inputs": [],
            "name": "nextLockId",
            "outputs": [
              {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
              }
            ],
            "stateMutability": "view",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "",
                "type": "address"
              },
              {
                "internalType": "address",
                "name": "",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
              },
              {
                "internalType": "bytes",
                "name": "",
                "type": "bytes"
              }
            ],
            "name": "onERC721Received",
            "outputs": [
              {
                "internalType": "bytes4",
                "name": "",
                "type": "bytes4"
              }
            ],
            "stateMutability": "pure",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "uint256",
                "name": "lockId",
                "type": "uint256"
              }
            ],
            "name": "release",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
          }
        ],
        "devdoc": {
          "kind": "dev",
          "methods": {},
          "version": 1
        },
        "userdoc": {
          "kind": "user",
          "methods": {},
          "notice": "Non-custodial-by-rule time locks for V2 LP tokens and V3 position NFTs.",
          "version": 1
        }
      },
      "settings": {
        "compilationTarget": {
          "contracts/CookDEXLiquidityLocker.sol": "CookDEXLiquidityLocker"
        },
        "evmVersion": "paris",
        "libraries": {},
        "metadata": {
          "bytecodeHash": "ipfs"
        },
        "optimizer": {
          "enabled": true,
          "runs": 10000
        },
        "remappings": []
      },
      "sources": {
        "@openzeppelin/contracts/security/ReentrancyGuard.sol": {
          "keccak256": "0xa535a5df777d44e945dd24aa43a11e44b024140fc340ad0dfe42acf4002aade1",
          "license": "MIT",
          "urls": [
            "bzz-raw://41319e7f621f2dc3733511332c4fd032f8e32ad2aa7fd6f665c19741d9941a34",
            "dweb:/ipfs/QmcYR3bd862GD1Bc7jwrU9bGxrhUu5na1oP964bDCu2id1"
          ]
        },
        "@openzeppelin/contracts/token/ERC20/IERC20.sol": {
          "keccak256": "0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305",
          "license": "MIT",
          "urls": [
            "bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5",
            "dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53"
          ]
        },
        "@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol": {
          "keccak256": "0xb264c03a3442eb37a68ad620cefd1182766b58bee6cec40343480392d6b14d69",
          "license": "MIT",
          "urls": [
            "bzz-raw://28879d01fd22c07b44f006612775f8577defbe459cb01685c5e25cd518c91a71",
            "dweb:/ipfs/QmVgfkwv2Fxw6hhTcDUZhE7NkoSKjab3ipM7UaRbt6uXb5"
          ]
        },
        "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol": {
          "keccak256": "0xabefac93435967b4d36a4fabcbdbb918d1f0b7ae3c3d85bc30923b326c927ed1",
          "license": "MIT",
          "urls": [
            "bzz-raw://9d213d3befca47da33f6db0310826bcdb148299805c10d77175ecfe1d06a9a68",
            "dweb:/ipfs/QmRgCn6SP1hbBkExUADFuDo8xkT4UU47yjNF5FhCeRbQmS"
          ]
        },
        "@openzeppelin/contracts/token/ERC721/IERC721.sol": {
          "keccak256": "0x5bce51e11f7d194b79ea59fe00c9e8de9fa2c5530124960f29a24d4c740a3266",
          "license": "MIT",
          "urls": [
            "bzz-raw://7e66dfde185df46104c11bc89d08fa0760737aa59a2b8546a656473d810a8ea4",
            "dweb:/ipfs/QmXvyqtXPaPss2PD7eqPoSao5Szm2n6UMoiG8TZZDjmChR"
          ]
        },
        "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": {
          "keccak256": "0xa82b58eca1ee256be466e536706850163d2ec7821945abd6b4778cfb3bee37da",
          "license": "MIT",
          "urls": [
            "bzz-raw://6e75cf83beb757b8855791088546b8337e9d4684e169400c20d44a515353b708",
            "dweb:/ipfs/QmYvPafLfoquiDMEj7CKHtvbgHu7TJNPSVPSCjrtjV8HjV"
          ]
        },
        "@openzeppelin/contracts/utils/Address.sol": {
          "keccak256": "0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa",
          "license": "MIT",
          "urls": [
            "bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931",
            "dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm"
          ]
        },
        "@openzeppelin/contracts/utils/introspection/IERC165.sol": {
          "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",
          "license": "MIT",
          "urls": [
            "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f",
            "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"
          ]
        },
        "contracts/CookDEXLiquidityLocker.sol": {
          "keccak256": "0xaa8605ffeade6754334d705a12bd46204fcc30d1e99071c8dcf825306a22dc66",
          "license": "MIT",
          "urls": [
            "bzz-raw://04344669c42e8e9dad2f0547de000d9dcba4dfaee0b1c689647e830277831479",
            "dweb:/ipfs/QmafZ8rMprh2GNsja5ShWrjJmAsACeHSuBeP8jnZEccgZS"
          ]
        }
      },
      "version": 1
    }
  },
  "deployment": {
    "txid": "0x3b9c6f142f6b03603b0271bfd01ceb23966b639802c5d7173a966f5747f2feeb",
    "hash": "0x3b9c6f142f6b03603b0271bfd01ceb23966b639802c5d7173a966f5747f2feeb",
    "sender": "0xdf6e7e94ed8c6fe335c28a8ec50381e9172f7d30",
    "recipient": "0x028581ea934d06cce20cc582b57b89ea1c0449d1",
    "amount_dec": "0",
    "value_raw": "0",
    "fee_dec": "0.001102459",
    "fee_raw": "1102459000000000",
    "asset": "COOK",
    "timestamp_ms": 1790847733000,
    "block": 3718,
    "status": "Success",
    "kind": "Contract creation",
    "source": "EVM",
    "nonce": 14,
    "transaction_type": 2,
    "gas_limit": "1112376",
    "gas_used": "1102459",
    "gas_price_wei": "1000000000",
    "gas_price_gwei": "1",
    "data_hex": "0x60806040526001805534801561001457600080fd5b506001600055611248806100296000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c80636518a0b311610076578063cd6de5441161005b578063cd6de5441461017b578063f4dadc611461018e578063fccc28131461026b57600080fd5b80636518a0b3146101515780639d864c001461016857600080fd5b8063150b7a02146100a8578063190a2161146101165780631eeece061461012b57806337bdc99b1461013e575b600080fd5b6100e06100b6366004610fbf565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b61012961012436600461105a565b610299565b005b61012961013936600461105a565b610404565b61012961014c366004611084565b6104fc565b61015a60015481565b60405190815260200161010d565b61015a61017636600461109d565b610743565b61015a61018936600461109d565b6108dc565b61021061019c366004611084565b60026020819052600091825260409091208054600182015492820154600383015460049093015473ffffffffffffffffffffffffffffffffffffffff9283169490921692909167ffffffffffffffff81169060ff680100000000000000008204811691690100000000000000000090041687565b6040805173ffffffffffffffffffffffffffffffffffffffff988916815297909616602088015294860193909352606085019190915267ffffffffffffffff166080840152151560a0830152151560c082015260e00161010d565b61027461dead81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6102a1610a03565b73ffffffffffffffffffffffffffffffffffffffff82166103095760405162461bcd60e51b815260206004820152600a60248201527f41535345545f5a45524f0000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015261dead60248201526044810182905273ffffffffffffffffffffffffffffffffffffffff8316906323b872dd90606401600060405180830381600087803b15801561037f57600080fd5b505af1158015610393573d6000803e3d6000fd5b5050604080518481526001602082018190529181019190915233925073ffffffffffffffffffffffffffffffffffffffff851691507f7e1f7ce9aa1636931adadff8fd71f58e15fcee26b804fe4b6246c4dddcc9b2a4906060015b60405180910390a36104006001600055565b5050565b61040c610a03565b73ffffffffffffffffffffffffffffffffffffffff8216158015906104315750600081115b61047d5760405162461bcd60e51b815260206004820152600c60248201527f4255524e5f494e56414c494400000000000000000000000000000000000000006044820152606401610300565b6104a173ffffffffffffffffffffffffffffffffffffffff83163361dead84610a5c565b6040805160008082526020820184905291810191909152339073ffffffffffffffffffffffffffffffffffffffff8416907f7e1f7ce9aa1636931adadff8fd71f58e15fcee26b804fe4b6246c4dddcc9b2a4906060016103ee565b610504610a03565b600081815260026020526040902060048101546901000000000000000000900460ff1615801561054d5750600181015473ffffffffffffffffffffffffffffffffffffffff1633145b6105995760405162461bcd60e51b815260206004820152600f60248201527f4e4f545f42454e454649434941525900000000000000000000000000000000006044820152606401610300565b600481015467ffffffffffffffff164210156105f75760405162461bcd60e51b815260206004820152600b60248201527f4c4f434b5f4143544956450000000000000000000000000000000000000000006044820152606401610300565b6004810180547fffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffff166901000000000000000000179081905568010000000000000000900460ff16156106dd57805460028201546040517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152336024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff909116906342842e0e90606401600060405180830381600087803b1580156106c057600080fd5b505af11580156106d4573d6000803e3d6000fd5b50505050610708565b600381015481546107089173ffffffffffffffffffffffffffffffffffffffff909116903390610b3e565b604051339083907f0e74e70ddf3647ccfd1c98585b25247dfc830d9279f5cadcf3adad1bf45b7b2390600090a3506107406001600055565b50565b600061074d610a03565b73ffffffffffffffffffffffffffffffffffffffff851615801590610787575073ffffffffffffffffffffffffffffffffffffffff821615155b6107d35760405162461bcd60e51b815260206004820152600c60248201527f414444524553535f5a45524f00000000000000000000000000000000000000006044820152606401610300565b428367ffffffffffffffff161161082c5760405162461bcd60e51b815260206004820152600c60248201527f4c4f434b5f494e56414c494400000000000000000000000000000000000000006044820152606401610300565b6040517f42842e0e0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810185905273ffffffffffffffffffffffffffffffffffffffff8616906342842e0e90606401600060405180830381600087803b1580156108a057600080fd5b505af11580156108b4573d6000803e3d6000fd5b505050506108c88583866001876001610b99565b90506108d46001600055565b949350505050565b60006108e6610a03565b73ffffffffffffffffffffffffffffffffffffffff851615801590610920575073ffffffffffffffffffffffffffffffffffffffff821615155b61096c5760405162461bcd60e51b815260206004820152600c60248201527f414444524553535f5a45524f00000000000000000000000000000000000000006044820152606401610300565b6000841180156109855750428367ffffffffffffffff16115b6109d15760405162461bcd60e51b815260206004820152600c60248201527f4c4f434b5f494e56414c494400000000000000000000000000000000000000006044820152606401610300565b6109f373ffffffffffffffffffffffffffffffffffffffff8616333087610a5c565b6108c88583600087876000610b99565b600260005403610a555760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610300565b6002600055565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610b389085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610d64565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610b949084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610ab6565b505050565b6001805460009182610baa836110f9565b909155506040805160e08101825273ffffffffffffffffffffffffffffffffffffffff808b168083528a821660208085018281528587018d8152606087018d815267ffffffffffffffff808e1660808a019081528d151560a08b01908152600060c08c018181528e8252600298899052908d90209b518c54908c167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216178d55965160018d01805491909c1697169690961790995592519489019490945551600388015551600490960180549551915115156901000000000000000000027fffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffff92151568010000000000000000027fffffffffffffffffffffffffffffffffffffffffffffff00000000000000000090971697909316969096179490941793909316929092179092559151929350909183907fdb33f9f62ff6492da2ef83ba027f97bce60dc419b8654e5e4d5f87048e209e5090610d52908a908a908a908a90938452602084019290925267ffffffffffffffff1660408301521515606082015260800190565b60405180910390a49695505050505050565b6000610dc6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610e599092919063ffffffff16565b9050805160001480610de7575080806020019051810190610de79190611158565b610b945760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610300565b60606108d48484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051610e8d91906111a5565b60006040518083038185875af1925050503d8060008114610eca576040519150601f19603f3d011682016040523d82523d6000602084013e610ecf565b606091505b5091509150610ee087838387610eeb565b979650505050505050565b60608315610f67578251600003610f605773ffffffffffffffffffffffffffffffffffffffff85163b610f605760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610300565b50816108d4565b6108d48383815115610f7c5781518083602001fd5b8060405162461bcd60e51b815260040161030091906111c1565b803573ffffffffffffffffffffffffffffffffffffffff81168114610fba57600080fd5b919050565b600080600080600060808688031215610fd757600080fd5b610fe086610f96565b9450610fee60208701610f96565b935060408601359250606086013567ffffffffffffffff8082111561101257600080fd5b818801915088601f83011261102657600080fd5b81358181111561103557600080fd5b89602082850101111561104757600080fd5b9699959850939650602001949392505050565b6000806040838503121561106d57600080fd5b61107683610f96565b946020939093013593505050565b60006020828403121561109657600080fd5b5035919050565b600080600080608085870312156110b357600080fd5b6110bc85610f96565b935060208501359250604085013567ffffffffffffffff811681146110e057600080fd5b91506110ee60608601610f96565b905092959194509250565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611151577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b60006020828403121561116a57600080fd5b8151801515811461117a57600080fd5b9392505050565b60005b8381101561119c578181015183820152602001611184565b50506000910152565b600082516111b7818460208701611181565b9190910192915050565b60208152600082518060208401526111e0816040850160208701611181565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea264697066735822122001979c76871b5d307ca477268c8f60062e79e5f16a3f685a11efe75d02e5467a64736f6c63430008180033",
    "receipt": {
      "blockHash": "0x08e1f07cf031b604fabd54af7e34496f5fedc1c01f8f10407edc1b53a08bd1e2",
      "blockNumber": "0xe86",
      "contractAddress": "0x028581ea934d06cce20cc582b57b89ea1c0449d1",
      "cumulativeGasUsed": "0x10d27b",
      "from": "0xdf6e7e94ed8c6fe335c28a8ec50381e9172f7d30",
      "gasUsed": "0x10d27b",
      "effectiveGasPrice": "0x3b9aca00",
      "logs": [],
      "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
      "status": "0x1",
      "to": null,
      "transactionHash": "0x3b9c6f142f6b03603b0271bfd01ceb23966b639802c5d7173a966f5747f2feeb",
      "transactionIndex": "0x0",
      "type": "0x2"
    },
    "logs": [],
    "raw_transaction": {
      "accessList": [],
      "blockHash": "0x08e1f07cf031b604fabd54af7e34496f5fedc1c01f8f10407edc1b53a08bd1e2",
      "blockNumber": "0xe86",
      "blockTimestamp": "0x6abe2af5",
      "chainId": "0x1352889",
      "from": "0xdf6e7e94ed8c6fe335c28a8ec50381e9172f7d30",
      "gas": "0x10f938",
      "gasPrice": "0x3b9aca00",
      "maxPriorityFeePerGas": "0x3b9aca00",
      "maxFeePerGas": "0x3b9aca00",
      "hash": "0x3b9c6f142f6b03603b0271bfd01ceb23966b639802c5d7173a966f5747f2feeb",
      "input": "0x60806040526001805534801561001457600080fd5b506001600055611248806100296000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c80636518a0b311610076578063cd6de5441161005b578063cd6de5441461017b578063f4dadc611461018e578063fccc28131461026b57600080fd5b80636518a0b3146101515780639d864c001461016857600080fd5b8063150b7a02146100a8578063190a2161146101165780631eeece061461012b57806337bdc99b1461013e575b600080fd5b6100e06100b6366004610fbf565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b61012961012436600461105a565b610299565b005b61012961013936600461105a565b610404565b61012961014c366004611084565b6104fc565b61015a60015481565b60405190815260200161010d565b61015a61017636600461109d565b610743565b61015a61018936600461109d565b6108dc565b61021061019c366004611084565b60026020819052600091825260409091208054600182015492820154600383015460049093015473ffffffffffffffffffffffffffffffffffffffff9283169490921692909167ffffffffffffffff81169060ff680100000000000000008204811691690100000000000000000090041687565b6040805173ffffffffffffffffffffffffffffffffffffffff988916815297909616602088015294860193909352606085019190915267ffffffffffffffff166080840152151560a0830152151560c082015260e00161010d565b61027461dead81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6102a1610a03565b73ffffffffffffffffffffffffffffffffffffffff82166103095760405162461bcd60e51b815260206004820152600a60248201527f41535345545f5a45524f0000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015261dead60248201526044810182905273ffffffffffffffffffffffffffffffffffffffff8316906323b872dd90606401600060405180830381600087803b15801561037f57600080fd5b505af1158015610393573d6000803e3d6000fd5b5050604080518481526001602082018190529181019190915233925073ffffffffffffffffffffffffffffffffffffffff851691507f7e1f7ce9aa1636931adadff8fd71f58e15fcee26b804fe4b6246c4dddcc9b2a4906060015b60405180910390a36104006001600055565b5050565b61040c610a03565b73ffffffffffffffffffffffffffffffffffffffff8216158015906104315750600081115b61047d5760405162461bcd60e51b815260206004820152600c60248201527f4255524e5f494e56414c494400000000000000000000000000000000000000006044820152606401610300565b6104a173ffffffffffffffffffffffffffffffffffffffff83163361dead84610a5c565b6040805160008082526020820184905291810191909152339073ffffffffffffffffffffffffffffffffffffffff8416907f7e1f7ce9aa1636931adadff8fd71f58e15fcee26b804fe4b6246c4dddcc9b2a4906060016103ee565b610504610a03565b600081815260026020526040902060048101546901000000000000000000900460ff1615801561054d5750600181015473ffffffffffffffffffffffffffffffffffffffff1633145b6105995760405162461bcd60e51b815260206004820152600f60248201527f4e4f545f42454e454649434941525900000000000000000000000000000000006044820152606401610300565b600481015467ffffffffffffffff164210156105f75760405162461bcd60e51b815260206004820152600b60248201527f4c4f434b5f4143544956450000000000000000000000000000000000000000006044820152606401610300565b6004810180547fffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffff166901000000000000000000179081905568010000000000000000900460ff16156106dd57805460028201546040517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152336024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff909116906342842e0e90606401600060405180830381600087803b1580156106c057600080fd5b505af11580156106d4573d6000803e3d6000fd5b50505050610708565b600381015481546107089173ffffffffffffffffffffffffffffffffffffffff909116903390610b3e565b604051339083907f0e74e70ddf3647ccfd1c98585b25247dfc830d9279f5cadcf3adad1bf45b7b2390600090a3506107406001600055565b50565b600061074d610a03565b73ffffffffffffffffffffffffffffffffffffffff851615801590610787575073ffffffffffffffffffffffffffffffffffffffff821615155b6107d35760405162461bcd60e51b815260206004820152600c60248201527f414444524553535f5a45524f00000000000000000000000000000000000000006044820152606401610300565b428367ffffffffffffffff161161082c5760405162461bcd60e51b815260206004820152600c60248201527f4c4f434b5f494e56414c494400000000000000000000000000000000000000006044820152606401610300565b6040517f42842e0e0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810185905273ffffffffffffffffffffffffffffffffffffffff8616906342842e0e90606401600060405180830381600087803b1580156108a057600080fd5b505af11580156108b4573d6000803e3d6000fd5b505050506108c88583866001876001610b99565b90506108d46001600055565b949350505050565b60006108e6610a03565b73ffffffffffffffffffffffffffffffffffffffff851615801590610920575073ffffffffffffffffffffffffffffffffffffffff821615155b61096c5760405162461bcd60e51b815260206004820152600c60248201527f414444524553535f5a45524f00000000000000000000000000000000000000006044820152606401610300565b6000841180156109855750428367ffffffffffffffff16115b6109d15760405162461bcd60e51b815260206004820152600c60248201527f4c4f434b5f494e56414c494400000000000000000000000000000000000000006044820152606401610300565b6109f373ffffffffffffffffffffffffffffffffffffffff8616333087610a5c565b6108c88583600087876000610b99565b600260005403610a555760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610300565b6002600055565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610b389085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610d64565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610b949084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610ab6565b505050565b6001805460009182610baa836110f9565b909155506040805160e08101825273ffffffffffffffffffffffffffffffffffffffff808b168083528a821660208085018281528587018d8152606087018d815267ffffffffffffffff808e1660808a019081528d151560a08b01908152600060c08c018181528e8252600298899052908d90209b518c54908c167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216178d55965160018d01805491909c1697169690961790995592519489019490945551600388015551600490960180549551915115156901000000000000000000027fffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffff92151568010000000000000000027fffffffffffffffffffffffffffffffffffffffffffffff00000000000000000090971697909316969096179490941793909316929092179092559151929350909183907fdb33f9f62ff6492da2ef83ba027f97bce60dc419b8654e5e4d5f87048e209e5090610d52908a908a908a908a90938452602084019290925267ffffffffffffffff1660408301521515606082015260800190565b60405180910390a49695505050505050565b6000610dc6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610e599092919063ffffffff16565b9050805160001480610de7575080806020019051810190610de79190611158565b610b945760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610300565b60606108d48484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051610e8d91906111a5565b60006040518083038185875af1925050503d8060008114610eca576040519150601f19603f3d011682016040523d82523d6000602084013e610ecf565b606091505b5091509150610ee087838387610eeb565b979650505050505050565b60608315610f67578251600003610f605773ffffffffffffffffffffffffffffffffffffffff85163b610f605760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610300565b50816108d4565b6108d48383815115610f7c5781518083602001fd5b8060405162461bcd60e51b815260040161030091906111c1565b803573ffffffffffffffffffffffffffffffffffffffff81168114610fba57600080fd5b919050565b600080600080600060808688031215610fd757600080fd5b610fe086610f96565b9450610fee60208701610f96565b935060408601359250606086013567ffffffffffffffff8082111561101257600080fd5b818801915088601f83011261102657600080fd5b81358181111561103557600080fd5b89602082850101111561104757600080fd5b9699959850939650602001949392505050565b6000806040838503121561106d57600080fd5b61107683610f96565b946020939093013593505050565b60006020828403121561109657600080fd5b5035919050565b600080600080608085870312156110b357600080fd5b6110bc85610f96565b935060208501359250604085013567ffffffffffffffff811681146110e057600080fd5b91506110ee60608601610f96565b905092959194509250565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611151577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b60006020828403121561116a57600080fd5b8151801515811461117a57600080fd5b9392505050565b60005b8381101561119c578181015183820152602001611184565b50506000910152565b600082516111b7818460208701611181565b9190910192915050565b60208152600082518060208401526111e0816040850160208701611181565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea264697066735822122001979c76871b5d307ca477268c8f60062e79e5f16a3f685a11efe75d02e5467a64736f6c63430008180033",
      "nonce": "0xe",
      "to": null,
      "transactionIndex": "0x0",
      "type": "0x2",
      "value": "0x0",
      "yParity": "0x1",
      "v": "0x1",
      "r": "0xc4c12dd001266db1d94f94981e871fce30088eabb079e5186042125e3ecadc0a",
      "s": "0x3ccda1bd2701f84f577b24c430410e1cf0c1c4931a02a0d086379c8638d0394"
    }
  }
}