ETH Price: $2,175.10 (+3.09%)

Contract

0x0649F2dAa72a6524f0eb7f5f65e13CFfc8082b10

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Delegatecall Mul...33043632025-03-04 21:59:203 secs ago1741125560IN
0x0649F2dA...fc8082b10
0.0001 ETH0.000009680.04525
Delegatecall Mul...33043622025-03-04 21:59:194 secs ago1741125559IN
0x0649F2dA...fc8082b10
0.00253805 ETH0.000010610.04525
Delegatecall Mul...33043592025-03-04 21:59:167 secs ago1741125556IN
0x0649F2dA...fc8082b10
0.00052728 ETH0.000009690.04525
Delegatecall Mul...33043542025-03-04 21:59:1112 secs ago1741125551IN
0x0649F2dA...fc8082b10
0.0000192 ETH0.000009640.04525
Delegatecall Mul...33043532025-03-04 21:59:1013 secs ago1741125550IN
0x0649F2dA...fc8082b10
0.000024 ETH0.000008350.04525
Delegatecall Mul...33043382025-03-04 21:58:5528 secs ago1741125535IN
0x0649F2dA...fc8082b10
0.0001 ETH0.000012110.04525
Delegatecall Mul...33043382025-03-04 21:58:5528 secs ago1741125535IN
0x0649F2dA...fc8082b10
0.00095971 ETH0.000015750.04525
Delegatecall Mul...33043322025-03-04 21:58:3845 secs ago1741125518IN
0x0649F2dA...fc8082b10
0.00051 ETH0.00000850.04525
Delegatecall Mul...33043302025-03-04 21:58:3647 secs ago1741125516IN
0x0649F2dA...fc8082b10
0.00482348 ETH0.000009930.04525
Delegatecall Mul...33043292025-03-04 21:58:3548 secs ago1741125515IN
0x0649F2dA...fc8082b10
0.000021 ETH0.000008630.04525
Delegatecall Mul...33043252025-03-04 21:58:3152 secs ago1741125511IN
0x0649F2dA...fc8082b10
0.0001 ETH0.000010680.04525
Delegatecall Mul...33043252025-03-04 21:58:3152 secs ago1741125511IN
0x0649F2dA...fc8082b10
0.000004 ETH0.000008390.04525
Delegatecall Mul...33043242025-03-04 21:58:3053 secs ago1741125510IN
0x0649F2dA...fc8082b10
0.0001 ETH0.000008340.04525
Delegatecall Mul...33043162025-03-04 21:58:221 min ago1741125502IN
0x0649F2dA...fc8082b10
0.00088809 ETH0.000007880.04525
Delegatecall Mul...33043092025-03-04 21:58:151 min ago1741125495IN
0x0649F2dA...fc8082b10
0.00446513 ETH0.000009070.04525
Delegatecall Mul...33043012025-03-04 21:58:071 min ago1741125487IN
0x0649F2dA...fc8082b10
0.0001 ETH0.000008340.04525
Delegatecall Mul...33042902025-03-04 21:57:561 min ago1741125476IN
0x0649F2dA...fc8082b10
0.0000257 ETH0.000008040.04525
Delegatecall Mul...33042832025-03-04 21:57:491 min ago1741125469IN
0x0649F2dA...fc8082b10
0.000017 ETH0.000007980.04525
Delegatecall Mul...33042832025-03-04 21:57:491 min ago1741125469IN
0x0649F2dA...fc8082b10
0.0001 ETH0.000008320.04525
Delegatecall Mul...33042802025-03-04 21:57:461 min ago1741125466IN
0x0649F2dA...fc8082b10
0.00298022 ETH0.000008410.04525
Delegatecall Mul...33042742025-03-04 21:57:401 min ago1741125460IN
0x0649F2dA...fc8082b10
0.00002 ETH0.000008220.04525
Delegatecall Mul...33042742025-03-04 21:57:401 min ago1741125460IN
0x0649F2dA...fc8082b10
0.000004 ETH0.000008420.04525
Delegatecall Mul...33042682025-03-04 21:57:341 min ago1741125454IN
0x0649F2dA...fc8082b10
0.000313 ETH0.000008110.04525
Delegatecall Mul...33042652025-03-04 21:57:311 min ago1741125451IN
0x0649F2dA...fc8082b10
0.0001 ETH0.000008310.04525
Delegatecall Mul...33042582025-03-04 21:57:241 min ago1741125444IN
0x0649F2dA...fc8082b10
0.0002 ETH0.000009070.04525
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
33043592025-03-04 21:59:167 secs ago1741125556
0x0649F2dA...fc8082b10
0.00052675 ETH
33043592025-03-04 21:59:167 secs ago1741125556
0x0649F2dA...fc8082b10
0.00052675 ETH
33043592025-03-04 21:59:167 secs ago1741125556
0x0649F2dA...fc8082b10
0.00000052 ETH
33043592025-03-04 21:59:167 secs ago1741125556
0x0649F2dA...fc8082b10
0.00052728 ETH
33043542025-03-04 21:59:1112 secs ago1741125551
0x0649F2dA...fc8082b10
0.00001918 ETH
33043542025-03-04 21:59:1112 secs ago1741125551
0x0649F2dA...fc8082b10
0.00001918 ETH
33043542025-03-04 21:59:1112 secs ago1741125551
0x0649F2dA...fc8082b10
0.00000001 ETH
33043542025-03-04 21:59:1112 secs ago1741125551
0x0649F2dA...fc8082b10
0.0000192 ETH
33043532025-03-04 21:59:1013 secs ago1741125550
0x0649F2dA...fc8082b10
0.06199086 ETH
33043532025-03-04 21:59:1013 secs ago1741125550
0x0649F2dA...fc8082b10
0.06199086 ETH
33043532025-03-04 21:59:1013 secs ago1741125550
0x0649F2dA...fc8082b10
0.06199086 ETH
33043532025-03-04 21:59:1013 secs ago1741125550
0x0649F2dA...fc8082b10
0.00015486 ETH
33043532025-03-04 21:59:1013 secs ago1741125550
0x0649F2dA...fc8082b10
0.00015486 ETH
33043532025-03-04 21:59:1013 secs ago1741125550
0x0649F2dA...fc8082b10
0.00002397 ETH
33043532025-03-04 21:59:1013 secs ago1741125550
0x0649F2dA...fc8082b10
0.00002397 ETH
33043532025-03-04 21:59:1013 secs ago1741125550
0x0649F2dA...fc8082b10
0.00000002 ETH
33043532025-03-04 21:59:1013 secs ago1741125550
0x0649F2dA...fc8082b10
0.000024 ETH
33043472025-03-04 21:59:0419 secs ago1741125544
0x0649F2dA...fc8082b10
0.04075739 ETH
33043472025-03-04 21:59:0419 secs ago1741125544
0x0649F2dA...fc8082b10
0.04075739 ETH
33043472025-03-04 21:59:0419 secs ago1741125544
0x0649F2dA...fc8082b10
0.04075739 ETH
33043472025-03-04 21:59:0419 secs ago1741125544
0x0649F2dA...fc8082b10
0.00004121 ETH
33043472025-03-04 21:59:0419 secs ago1741125544
0x0649F2dA...fc8082b10
0.00004121 ETH
33043432025-03-04 21:59:0023 secs ago1741125540
0x0649F2dA...fc8082b10
0.00000399 ETH
33043432025-03-04 21:59:0023 secs ago1741125540
0x0649F2dA...fc8082b10
0.00000399 ETH
33043432025-03-04 21:59:0023 secs ago1741125540
0x0649F2dA...fc8082b10
0.00000399 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20Router

Compiler Version
v0.8.25+commit.b61c2a91

ZkSolc Version
v1.5.3

Optimization Enabled:
Yes with Mode 3

Other Settings:
cancun EvmVersion
File 1 of 16 : ERC20Router.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import {IERC1155} from "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {ISignatureTransfer} from "permit2-relay/src/interfaces/ISignatureTransfer.sol";
import {IPermit2} from "permit2-relay/src/interfaces/IPermit2.sol";
import {MulticallerInternal} from "./MulticallerInternal.sol";

struct RelayerWitness {
    address relayer;
}

contract ERC20Router is MulticallerInternal {
    using SafeERC20 for IERC20;

    // --- Errors --- //

    /// @notice Revert if this contract is set as the recipient
    error InvalidRecipient(address recipient);

    /// @notice Revert if the native transfer failed
    error NativeTransferFailed();

    /// @notice Revert if no recipient is set
    error NoRecipientSet();

    uint256 RECIPIENT_STORAGE_SLOT =
        uint256(keccak256("ERC20Router.recipient")) - 1;

    IPermit2 private immutable PERMIT2;

    string public constant _RELAYER_WITNESS_TYPE_STRING =
        "RelayerWitness witness)RelayerWitness(address relayer)TokenPermissions(address token,uint256 amount)";
    bytes32 public constant _EIP_712_RELAYER_WITNESS_TYPE_HASH =
        keccak256("RelayerWitness(address relayer)");

    constructor(address permit2) {
        // Set the address of the Permit2 contract
        PERMIT2 = IPermit2(permit2);
    }

    receive() external payable {}

    /// @notice Pull user ERC20 tokens through a signed batch permit
    ///         and perform an arbitrary multicall. Pass in an empty
    ///         permitSignature to only perform the multicall.
    /// @dev msg.value will persist across all calls in the multicall
    /// @param user The address of the user
    /// @param permit The permit details
    /// @param targets The addresses of the contracts to call
    /// @param datas The calldata for each call
    /// @param values The value to send with each call
    /// @param refundTo The address to refund any leftover ETH to
    /// @param permitSignature The signature for the permit
    function permitMulticall(
        address user,
        ISignatureTransfer.PermitBatchTransferFrom memory permit,
        address[] calldata targets,
        bytes[] calldata datas,
        uint256[] calldata values,
        address refundTo,
        bytes memory permitSignature
    ) external payable returns (bytes[] memory) {
        // Revert if array lengths do not match
        if (targets.length != datas.length || datas.length != values.length) {
            revert ArrayLengthsMismatch();
        }

        // Set the recipient in storage
        _setRecipient(refundTo);

        if (permitSignature.length != 0) {
            // Use permit to transfer tokens from user to router
            _handlePermitBatch(user, permit, permitSignature);
        }

        // Perform the multicall and send leftover to refundTo
        bytes[] memory data = _aggregate(targets, datas, values, refundTo);

        // Clear the recipient in storage
        _clearRecipient();

        return data;
    }

    /// @notice Call the Multicaller with a delegatecall to set the ERC20Router as the
    ///         sender of the calls to the targets.
    /// @dev    If a multicall is expecting to mint ERC721s or ERC1155s, the recipient must be explicitly set
    ///         All calls to ERC721s and ERC1155s in the multicall will have the same recipient set in refundTo
    ///         If refundTo is address(this), be sure to transfer tokens out of the router as part of the multicall
    ///         This function is called `delegatecallMulticall` to not break integrations with the previous router
    /// @param targets The addresses of the contracts to call
    /// @param datas The calldata for each call
    /// @param values The value to send with each call
    /// @param refundTo The address to send any leftover ETH and set as recipient of ERC721/ERC1155 mints
    function delegatecallMulticall(
        address[] calldata targets,
        bytes[] calldata datas,
        uint256[] calldata values,
        address refundTo
    ) external payable returns (bytes[] memory) {
        // Revert if array lengths do not match
        if (targets.length != datas.length || datas.length != values.length) {
            revert ArrayLengthsMismatch();
        }

        // Set the recipient in storage
        _setRecipient(refundTo);

        // Perform the multicall
        bytes[] memory data = _aggregate(targets, datas, values, refundTo);

        // Clear the recipient in storage
        _clearRecipient();

        return data;
    }

    /// @notice Send leftover ERC20 tokens to the refundTo address
    /// @dev Should be included in the multicall if the router is expecting to receive tokens
    /// @param token The address of the ERC20 token
    /// @param refundTo The address to refund the tokens to
    function cleanupERC20(address token, address refundTo) external {
        // Check the router's balance for the token
        uint256 balance = IERC20(token).balanceOf(address(this));

        // Transfer the token to the refundTo address
        if (balance > 0) {
            IERC20(token).safeTransfer(refundTo, balance);
        }
    }

    /// @notice Internal function to handle a permit batch transfer
    /// @param user The address of the user
    /// @param permit The permit details
    /// @param permitSignature The signature for the permit
    function _handlePermitBatch(
        address user,
        ISignatureTransfer.PermitBatchTransferFrom memory permit,
        bytes memory permitSignature
    ) internal {
        // Create the witness that should be signed over
        bytes32 witness = keccak256(
            abi.encode(_EIP_712_RELAYER_WITNESS_TYPE_HASH, msg.sender)
        );

        // Create the SignatureTransferDetails array
        ISignatureTransfer.SignatureTransferDetails[]
            memory signatureTransferDetails = new ISignatureTransfer.SignatureTransferDetails[](
                permit.permitted.length
            );
        for (uint256 i = 0; i < permit.permitted.length; i++) {
            uint256 amount = permit.permitted[i].amount;

            signatureTransferDetails[i] = ISignatureTransfer
                .SignatureTransferDetails({
                    to: address(this),
                    requestedAmount: amount
                });
        }

        // Use the SignatureTransferDetails and permit signature to transfer tokens to the router
        PERMIT2.permitWitnessTransferFrom(
            permit,
            signatureTransferDetails,
            // When using a permit signature, cannot deposit on behalf of someone else other than `user`
            user,
            witness,
            _RELAYER_WITNESS_TYPE_STRING,
            permitSignature
        );
    }

    /// @notice Internal function to set the recipient address for ERC721 or ERC1155 mint
    /// @param recipient The address of the recipient
    function _setRecipient(address recipient) internal {
        // Return early if the recipient is address(0) or address(1), which are special cases for the multicaller
        // If a multicall is expecting to mint ERC721s or ERC1155s, the recipient must be explicitly set
        if (recipient == address(0) || recipient == address(1)) {
            return;
        }

        // For safety, revert if the recipient is this contract
        // Tokens should either be minted directly to recipient, or transferred to recipient through the onReceived hooks
        if (recipient == address(this)) {
            revert InvalidRecipient(address(this));
        }

        uint256 recipientStorageSlot = RECIPIENT_STORAGE_SLOT;

        // Set the recipient in storage
        uint256 recipientValue = uint256(uint160(recipient));

        assembly {
            sstore(recipientStorageSlot, recipientValue)
        }
    }

    /// @notice Internal function to get the recipient address for ERC721 or ERC1155 mint
    function _getRecipient() internal view returns (address) {
        uint256 recipientStorageSlot = RECIPIENT_STORAGE_SLOT;
        uint256 value;

        assembly {
            value := sload(recipientStorageSlot)
        }

        // Get the recipient from storage
        return address(uint160(value));
    }

    /// @notice Internal function to clear the recipient address for ERC721 or ERC1155 mint
    function _clearRecipient() internal {
        uint256 recipientStorageSlot = RECIPIENT_STORAGE_SLOT;

        // Return if recipient hasn't been set
        if (_getRecipient() == address(0)) {
            return;
        }

        // Clear the recipient in storage
        assembly {
            sstore(recipientStorageSlot, 0)
        }
    }

    function _send(address to, uint256 value) internal {
        bool success;
        assembly {
            // Save gas by avoiding copying the return data to memory.
            // Provide at most 100k gas to the internal call, which is
            // more than enough to cover common use-cases of logic for
            // receiving native tokens (eg. SCW payable fallbacks).
            success := call(100000, to, value, 0, 0, 0, 0)
        }

        if (!success) {
            revert NativeTransferFailed();
        }
    }

    function onERC721Received(
        address /*_operator*/,
        address /*_from*/,
        uint256 _tokenId,
        bytes calldata _data
    ) external returns (bytes4) {
        // Get the recipient from storage
        address recipient = _getRecipient();

        // Revert if no recipient is set
        // Note this means transferring NFTs to this contract via `safeTransferFrom` will revert,
        // unless the transfer is part of a multicall that sets the recipient in storage
        if (recipient == address(0)) {
            revert NoRecipientSet();
        }

        // Transfer the NFT to the recipient
        IERC721(msg.sender).safeTransferFrom(
            address(this),
            recipient,
            _tokenId,
            _data
        );

        return this.onERC721Received.selector;
    }

    function onERC1155Received(
        address /*_operator*/,
        address /*_from*/,
        uint256 _id,
        uint256 _value,
        bytes calldata _data
    ) external returns (bytes4) {
        // Get the recipient from storage
        address recipient = _getRecipient();

        // Revert if no recipient is set
        // Note this means transferring NFTs to this contract via `safeTransferFrom` will revert,
        // unless the transfer is part of a multicall that sets the recipient in storage
        if (recipient == address(0)) {
            revert NoRecipientSet();
        }

        // Transfer the tokens to the recipient
        IERC1155(msg.sender).safeTransferFrom(
            address(this),
            recipient,
            _id,
            _value,
            _data
        );

        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address /*_operator*/,
        address /*_from*/,
        uint256[] calldata _ids,
        uint256[] calldata _values,
        bytes calldata _data
    ) external returns (bytes4) {
        // Get the recipient from storage
        address recipient = _getRecipient();

        // Revert if no recipient is set
        // Note this means transferring NFTs to this contract via `safeTransferFrom` will revert,
        // unless the transfer is part of a multicall that sets the recipient in storage
        if (recipient == address(0)) {
            revert NoRecipientSet();
        }

        // Transfer the tokens to the recipient
        IERC1155(msg.sender).safeBatchTransferFrom(
            address(this),
            recipient,
            _ids,
            _values,
            _data
        );

        return this.onERC1155BatchReceived.selector;
    }
}

File 2 of 16 : MulticallerInternal.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/**
 * @title Multicaller
 * @author vectorized.eth
 * @notice Contract that allows for efficient aggregation
 *         of multiple calls in a single transaction.
 */
contract MulticallerInternal {
    // =============================================================
    //                            ERRORS
    // =============================================================

    /**
     * @dev The lengths of the input arrays are not the same.
     */
    error ArrayLengthsMismatch();

    // =============================================================
    //                    AGGREGATION OPERATIONS
    // =============================================================

    /**
     * @dev Aggregates multiple calls in a single transaction.
     * @param targets  An array of addresses to call.
     * @param data     An array of calldata to forward to the targets.
     * @param values   How much ETH to forward to each target.
     * @param refundTo The address to transfer any remaining ETH in the contract after the calls.
     *                 If `address(0)`, remaining ETH will NOT be refunded.
     *                 If `address(1)`, remaining ETH will be refunded to `msg.sender`.
     *                 If anything else, remaining ETH will be refunded to `refundTo`.
     * @return An array of the returndata from each call.
     */
    function _aggregate(
        address[] calldata targets,
        bytes[] calldata data,
        uint256[] calldata values,
        address refundTo
    ) internal returns (bytes[] memory) {
        assembly {
            if iszero(
                and(
                    eq(targets.length, data.length),
                    eq(data.length, values.length)
                )
            ) {
                // Store the function selector of `ArrayLengthsMismatch()`.
                mstore(returndatasize(), 0x3b800a46)
                // Revert with (offset, size).
                revert(0x1c, 0x04)
            }

            let resultsSize := 0x40

            if data.length {
                let results := 0x40
                // Left shift by 5 is equivalent to multiplying by 0x20.
                data.length := shl(5, data.length)
                // Copy the offsets from calldata into memory.
                calldatacopy(results, data.offset, data.length)
                // Offset into `results`.
                let resultsOffset := data.length
                // Pointer to the end of `results`.
                let end := add(results, data.length)
                // For deriving the calldata offsets from the `results` pointer.
                let valuesOffsetDiff := sub(values.offset, results)
                let targetsOffsetDiff := sub(targets.offset, results)

                for {

                } 1 {

                } {
                    // The offset of the current bytes in the calldata.
                    let o := add(data.offset, mload(results))
                    let memPtr := add(resultsOffset, 0x40)
                    // Copy the current bytes from calldata to the memory.
                    calldatacopy(
                        memPtr,
                        add(o, 0x20), // The offset of the current bytes' bytes.
                        calldataload(o) // The length of the current bytes.
                    )
                    if iszero(
                        call(
                            gas(), // Remaining gas.
                            calldataload(add(targetsOffsetDiff, results)), // Address to call.
                            calldataload(add(valuesOffsetDiff, results)), // ETH to send.
                            memPtr, // Start of input calldata in memory.
                            calldataload(o), // Size of input calldata.
                            0x00, // We will use returndatacopy instead.
                            0x00 // We will use returndatacopy instead.
                        )
                    ) {
                        // Bubble up the revert if the call reverts.
                        returndatacopy(0x00, 0x00, returndatasize())
                        revert(0x00, returndatasize())
                    }
                    // Append the current `resultsOffset` into `results`.
                    mstore(results, resultsOffset)
                    // Append the returndatasize, and the returndata.
                    mstore(memPtr, returndatasize())
                    returndatacopy(add(memPtr, 0x20), 0x00, returndatasize())
                    // Advance the `resultsOffset` by `returndatasize() + 0x20`,
                    // rounded up to the next multiple of 0x20.
                    resultsOffset := and(
                        add(add(resultsOffset, returndatasize()), 0x3f),
                        not(0x1f)
                    )
                    // Advance the `results` pointer.
                    results := add(results, 0x20)
                    if eq(results, end) {
                        break
                    }
                }
                resultsSize := add(resultsOffset, 0x40)
            }

            if refundTo {
                // Force transfers all the remaining ETH in the contract to `refundTo`,
                // with a gas stipend of 100000, which should be enough for most use cases.
                // If sending via a regular call fails, force sends the ETH by
                // creating a temporary contract which uses `SELFDESTRUCT` to force send the ETH.
                if selfbalance() {
                    // If `refundTo` is `address(1)`, replace it with the `msg.sender`.
                    refundTo := xor(
                        refundTo,
                        mul(eq(refundTo, 1), xor(refundTo, caller()))
                    )
                    // Transfer the ETH and check if it succeeded or not.
                    if iszero(
                        call(
                            100000,
                            refundTo,
                            selfbalance(),
                            codesize(),
                            0x00,
                            codesize(),
                            0x00
                        )
                    ) {
                        mstore(0x00, refundTo) // Store the address in scratch space.
                        mstore8(0x0b, 0x73) // Opcode `PUSH20`.
                        mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.
                        // We can directly use `SELFDESTRUCT` in the contract creation.
                        // Compatible with `SENDALL`: https://eips.ethereum.org/EIPS/eip-4758
                        if iszero(create(selfbalance(), 0x0b, 0x16)) {
                            // Coerce gas estimation to provide enough gas for the `create` above.
                            revert(codesize(), codesize())
                        }
                    }
                }
            }

            mstore(0x00, 0x20) // Store the memory offset of the `results`.
            mstore(0x20, targets.length) // Store `targets.length` into `results`.
            // Direct return.
            return(0x00, resultsSize)
        }
    }
}

File 3 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

File 4 of 16 : ISignatureTransfer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {IEIP712} from "./IEIP712.sol";

/// @title SignatureTransfer
/// @notice Handles ERC20 token transfers through signature based actions
/// @dev Requires user's token approval on the Permit2 contract
interface ISignatureTransfer is IEIP712 {
    /// @notice Thrown when the requested amount for a transfer is larger than the permissioned amount
    /// @param maxAmount The maximum amount a spender can request to transfer
    error InvalidAmount(uint256 maxAmount);

    /// @notice Thrown when the number of tokens permissioned to a spender does not match the number of tokens being transferred
    /// @dev If the spender does not need to transfer the number of tokens permitted, the spender can request amount 0 to be transferred
    error LengthMismatch();

    /// @notice Emits an event when the owner successfully invalidates an unordered nonce.
    event UnorderedNonceInvalidation(address indexed owner, uint256 word, uint256 mask);

    /// @notice The token and amount details for a transfer signed in the permit transfer signature
    struct TokenPermissions {
        // ERC20 token address
        address token;
        // the maximum amount that can be spent
        uint256 amount;
    }

    /// @notice The signed permit message for a single token transfer
    struct PermitTransferFrom {
        TokenPermissions permitted;
        // a unique value for every token owner's signature to prevent signature replays
        uint256 nonce;
        // deadline on the permit signature
        uint256 deadline;
    }

    /// @notice Specifies the recipient address and amount for batched transfers.
    /// @dev Recipients and amounts correspond to the index of the signed token permissions array.
    /// @dev Reverts if the requested amount is greater than the permitted signed amount.
    struct SignatureTransferDetails {
        // recipient address
        address to;
        // spender requested amount
        uint256 requestedAmount;
    }

    /// @notice Used to reconstruct the signed permit message for multiple token transfers
    /// @dev Do not need to pass in spender address as it is required that it is msg.sender
    /// @dev Note that a user still signs over a spender address
    struct PermitBatchTransferFrom {
        // the tokens and corresponding amounts permitted for a transfer
        TokenPermissions[] permitted;
        // a unique value for every token owner's signature to prevent signature replays
        uint256 nonce;
        // deadline on the permit signature
        uint256 deadline;
    }

    /// @notice A map from token owner address and a caller specified word index to a bitmap. Used to set bits in the bitmap to prevent against signature replay protection
    /// @dev Uses unordered nonces so that permit messages do not need to be spent in a certain order
    /// @dev The mapping is indexed first by the token owner, then by an index specified in the nonce
    /// @dev It returns a uint256 bitmap
    /// @dev The index, or wordPosition is capped at type(uint248).max
    function nonceBitmap(address, uint256) external view returns (uint256);

    /// @notice Transfers a token using a signed permit message
    /// @dev Reverts if the requested amount is greater than the permitted signed amount
    /// @param permit The permit data signed over by the owner
    /// @param owner The owner of the tokens to transfer
    /// @param transferDetails The spender's requested transfer details for the permitted token
    /// @param signature The signature to verify
    function permitTransferFrom(
        PermitTransferFrom memory permit,
        SignatureTransferDetails calldata transferDetails,
        address owner,
        bytes calldata signature
    ) external;

    /// @notice Transfers a token using a signed permit message
    /// @notice Includes extra data provided by the caller to verify signature over
    /// @dev The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition
    /// @dev Reverts if the requested amount is greater than the permitted signed amount
    /// @param permit The permit data signed over by the owner
    /// @param owner The owner of the tokens to transfer
    /// @param transferDetails The spender's requested transfer details for the permitted token
    /// @param witness Extra data to include when checking the user signature
    /// @param witnessTypeString The EIP-712 type definition for remaining string stub of the typehash
    /// @param signature The signature to verify
    function permitWitnessTransferFrom(
        PermitTransferFrom memory permit,
        SignatureTransferDetails calldata transferDetails,
        address owner,
        bytes32 witness,
        string calldata witnessTypeString,
        bytes calldata signature
    ) external;

    /// @notice Transfers multiple tokens using a signed permit message
    /// @param permit The permit data signed over by the owner
    /// @param owner The owner of the tokens to transfer
    /// @param transferDetails Specifies the recipient and requested amount for the token transfer
    /// @param signature The signature to verify
    function permitTransferFrom(
        PermitBatchTransferFrom memory permit,
        SignatureTransferDetails[] calldata transferDetails,
        address owner,
        bytes calldata signature
    ) external;

    /// @notice Transfers multiple tokens using a signed permit message
    /// @dev The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition
    /// @notice Includes extra data provided by the caller to verify signature over
    /// @param permit The permit data signed over by the owner
    /// @param owner The owner of the tokens to transfer
    /// @param transferDetails Specifies the recipient and requested amount for the token transfer
    /// @param witness Extra data to include when checking the user signature
    /// @param witnessTypeString The EIP-712 type definition for remaining string stub of the typehash
    /// @param signature The signature to verify
    function permitWitnessTransferFrom(
        PermitBatchTransferFrom memory permit,
        SignatureTransferDetails[] calldata transferDetails,
        address owner,
        bytes32 witness,
        string calldata witnessTypeString,
        bytes calldata signature
    ) external;

    /// @notice Invalidates the bits specified in mask for the bitmap at the word position
    /// @dev The wordPos is maxed at type(uint248).max
    /// @param wordPos A number to index the nonceBitmap at
    /// @param mask A bitmap masked against msg.sender's current bitmap at the word position
    function invalidateUnorderedNonces(uint256 wordPos, uint256 mask) external;
}

File 5 of 16 : IPermit2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {ISignatureTransfer} from "./ISignatureTransfer.sol";
import {IAllowanceTransfer} from "./IAllowanceTransfer.sol";

/// @notice Permit2 handles signature-based transfers in SignatureTransfer and allowance-based transfers in AllowanceTransfer.
/// @dev Users must approve Permit2 before calling any of the transfer functions.
interface IPermit2 is ISignatureTransfer, IAllowanceTransfer {
// IPermit2 unifies the two interfaces so users have maximal flexibility with their approval.
}

File 6 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC-721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
     *   a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or
     *   {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
     *   a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 7 of 16 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";
import {Address} from "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    /**
     * @dev An operation with an ERC-20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0)
        }
        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
    }
}

File 8 of 16 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC-1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[ERC].
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` amount of tokens of type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the value of tokens of token type `id` owned by `account`.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] calldata accounts,
        uint256[] calldata ids
    ) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the zero address.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155Received} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `value` amount.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.
     *
     * Requirements:
     *
     * - `ids` and `values` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external;
}

File 9 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 10 of 16 : IERC1363.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";

/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}

File 11 of 16 : IEIP712.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IEIP712 {
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 12 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)

pragma solidity ^0.8.20;

import {Errors} from "./Errors.sol";

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert Errors.InsufficientBalance(address(this).balance, amount);
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert Errors.FailedCall();
        }
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {Errors.FailedCall} error.
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert Errors.InsufficientBalance(address(this).balance, value);
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case
     * of an unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {Errors.FailedCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            assembly ("memory-safe") {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert Errors.FailedCall();
        }
    }
}

File 13 of 16 : IAllowanceTransfer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {IEIP712} from "./IEIP712.sol";

/// @title AllowanceTransfer
/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts
/// @dev Requires user's token approval on the Permit2 contract
interface IAllowanceTransfer is IEIP712 {
    /// @notice Thrown when an allowance on a token has expired.
    /// @param deadline The timestamp at which the allowed amount is no longer valid
    error AllowanceExpired(uint256 deadline);

    /// @notice Thrown when an allowance on a token has been depleted.
    /// @param amount The maximum amount allowed
    error InsufficientAllowance(uint256 amount);

    /// @notice Thrown when too many nonces are invalidated.
    error ExcessiveInvalidation();

    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.
    event NonceInvalidation(
        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce
    );

    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.
    event Approval(
        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration
    );

    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.
    event Permit(
        address indexed owner,
        address indexed token,
        address indexed spender,
        uint160 amount,
        uint48 expiration,
        uint48 nonce
    );

    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.
    event Lockdown(address indexed owner, address token, address spender);

    /// @notice The permit data for a token
    struct PermitDetails {
        // ERC20 token address
        address token;
        // the maximum amount allowed to spend
        uint160 amount;
        // timestamp at which a spender's token allowances become invalid
        uint48 expiration;
        // an incrementing value indexed per owner,token,and spender for each signature
        uint48 nonce;
    }

    /// @notice The permit message signed for a single token allowance
    struct PermitSingle {
        // the permit data for a single token alownce
        PermitDetails details;
        // address permissioned on the allowed tokens
        address spender;
        // deadline on the permit signature
        uint256 sigDeadline;
    }

    /// @notice The permit message signed for multiple token allowances
    struct PermitBatch {
        // the permit data for multiple token allowances
        PermitDetails[] details;
        // address permissioned on the allowed tokens
        address spender;
        // deadline on the permit signature
        uint256 sigDeadline;
    }

    /// @notice The saved permissions
    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message
    /// @dev Setting amount to type(uint160).max sets an unlimited approval
    struct PackedAllowance {
        // amount allowed
        uint160 amount;
        // permission expiry
        uint48 expiration;
        // an incrementing value indexed per owner,token,and spender for each signature
        uint48 nonce;
    }

    /// @notice A token spender pair.
    struct TokenSpenderPair {
        // the token the spender is approved
        address token;
        // the spender address
        address spender;
    }

    /// @notice Details for a token transfer.
    struct AllowanceTransferDetails {
        // the owner of the token
        address from;
        // the recipient of the token
        address to;
        // the amount of the token
        uint160 amount;
        // the token to be transferred
        address token;
    }

    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.
    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]
    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.
    function allowance(address user, address token, address spender)
        external
        view
        returns (uint160 amount, uint48 expiration, uint48 nonce);

    /// @notice Approves the spender to use up to amount of the specified token up until the expiration
    /// @param token The token to approve
    /// @param spender The spender address to approve
    /// @param amount The approved amount of the token
    /// @param expiration The timestamp at which the approval is no longer valid
    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve
    /// @dev Setting amount to type(uint160).max sets an unlimited approval
    function approve(address token, address spender, uint160 amount, uint48 expiration) external;

    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature
    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce
    /// @param owner The owner of the tokens being approved
    /// @param permitSingle Data signed over by the owner specifying the terms of approval
    /// @param signature The owner's signature over the permit data
    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;

    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature
    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce
    /// @param owner The owner of the tokens being approved
    /// @param permitBatch Data signed over by the owner specifying the terms of approval
    /// @param signature The owner's signature over the permit data
    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;

    /// @notice Transfer approved tokens from one address to another
    /// @param from The address to transfer from
    /// @param to The address of the recipient
    /// @param amount The amount of the token to transfer
    /// @param token The token address to transfer
    /// @dev Requires the from address to have approved at least the desired amount
    /// of tokens to msg.sender.
    function transferFrom(address from, address to, uint160 amount, address token) external;

    /// @notice Transfer approved tokens in a batch
    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers
    /// @dev Requires the from addresses to have approved at least the desired amount
    /// of tokens to msg.sender.
    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;

    /// @notice Enables performing a "lockdown" of the sender's Permit2 identity
    /// by batch revoking approvals
    /// @param approvals Array of approvals to revoke.
    function lockdown(TokenSpenderPair[] calldata approvals) external;

    /// @notice Invalidate nonces for a given (token, spender) pair
    /// @param token The token to invalidate nonces for
    /// @param spender The spender to invalidate nonces for
    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.
    /// @dev Can't invalidate more than 2**16 nonces per transaction.
    function invalidateNonces(address token, address spender, uint48 newNonce) external;
}

File 14 of 16 : Errors.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of common custom errors used in multiple contracts
 *
 * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.
 * It is recommended to avoid relying on the error API for critical functionality.
 *
 * _Available since v5.1._
 */
library Errors {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error InsufficientBalance(uint256 balance, uint256 needed);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedCall();

    /**
     * @dev The deployment failed.
     */
    error FailedDeployment();

    /**
     * @dev A necessary precompile is missing.
     */
    error MissingPrecompile(address);
}

File 15 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../utils/introspection/IERC165.sol";

File 16 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../token/ERC20/IERC20.sol";

Settings
{
  "viaIR": true,
  "evmVersion": "cancun",
  "optimizer": {
    "enabled": true,
    "mode": "3"
  },
  "outputSelection": {
    "*": {
      "*": [
        "abi"
      ]
    }
  },
  "detectMissingLibraries": false,
  "forceEVMLA": false,
  "enableEraVMExtensions": true,
  "libraries": {
    "contracts/usdc/util/SignatureChecker.sol": {
      "SignatureChecker": "0xbBB5d95A805b48E24f369127ECcDDF81e87f1A0F"
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"permit2","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ArrayLengthsMismatch","type":"error"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"NativeTransferFailed","type":"error"},{"inputs":[],"name":"NoRecipientSet","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"_EIP_712_RELAYER_WITNESS_TYPE_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_RELAYER_WITNESS_TYPE_STRING","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"refundTo","type":"address"}],"name":"cleanupERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bytes[]","name":"datas","type":"bytes[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"address","name":"refundTo","type":"address"}],"name":"delegatecallMulticall","outputs":[{"internalType":"bytes[]","name":"","type":"bytes[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ISignatureTransfer.TokenPermissions[]","name":"permitted","type":"tuple[]"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct ISignatureTransfer.PermitBatchTransferFrom","name":"permit","type":"tuple"},{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bytes[]","name":"datas","type":"bytes[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"address","name":"refundTo","type":"address"},{"internalType":"bytes","name":"permitSignature","type":"bytes"}],"name":"permitMulticall","outputs":[{"internalType":"bytes[]","name":"","type":"bytes[]"}],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

3cda3351000000000000000000000000000000000000000000000000000000000000000101000293de98e1a098d14e5cf6e776d971c7a529b6c765c0c99ded7b9ef657f0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000225e31d15943971f47ad3022f714fa

Deployed Bytecode

0x00030000000000020013000000000002000000000301001900000060033002700000024b033001970002000000310355000100000001035500000001002001900000002a0000c13d0000008002000039000000400020043f000000040030008c000000580000413d000000000201043b000000e002200270000002510020009c0000005c0000213d000002570020009c000001340000213d0000025a0020009c000001f80000613d0000025b0020009c000002b90000c13d0000000001000416000000000001004b000002b90000c13d092808b80000040f0000002002000039000000400300043d000f00000003001d0000000002230436092808d20000040f0000000f0200002900000000012100490000024b0010009c0000024b0100804100000060011002100000024b0020009c0000024b020080410000004002200210000000000121019f000009290001042e0000000002000416000000000002004b000002b90000c13d0000001f023000390000024c02200197000000a002200039000000400020043f0000001f0430018f0000024d05300198000000a0025000390000003b0000613d000000a006000039000000000701034f000000007807043c0000000006860436000000000026004b000000370000c13d000000000004004b000000480000613d000000000151034f0000000304400210000000000502043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000120435000000200030008c000002b90000413d000000a00100043d0000024e0010009c000002b90000213d0000024f02000041000000000020041b000000800010043f0000014000000443000001600010044300000020010000390000010000100443000000010100003900000120001004430000025001000041000009290001042e000000000003004b000002b90000c13d0000000001000019000009290001042e000002520020009c000001620000213d000002550020009c0000021e0000613d000002560020009c000002b90000c13d000000a40030008c000002b90000413d0000000002000416000000000002004b000002b90000c13d0000000402100370000000000202043b0000024e0020009c000002b90000213d0000002402100370000000000202043b0000024e0020009c000002b90000213d0000004402100370000000000202043b0000025c0020009c000002b90000213d0000002304200039000000000034004b000002b90000813d000e00040020003d0000000e04100360000000000404043b000f00000004001d0000025c0040009c000002b90000213d0000000f04000029000d0005004002180000000d022000290000002402200039000000000032004b000002b90000213d0000006402100370000000000202043b0000025c0020009c000002b90000213d0000002304200039000000000034004b000002b90000813d000b00040020003d0000000b04100360000000000404043b000c00000004001d0000025c0040009c000002b90000213d0000000c04000029000a0005004002180000000a022000290000002402200039000000000032004b000002b90000213d0000008402100370000000000202043b0000025c0020009c000002b90000213d0000002304200039000000000034004b000002b90000813d0000000404200039000000000141034f000000000101043b000900000001001d0000025c0010009c000002b90000213d0000002402200039000800000002001d0000000901200029000000000031004b000002b90000213d000000000100041a000000000101041a0007024e0010019c0000021a0000613d0000025d0100004100000000001004430000000001000411000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800202000039092809230000040f00000001002001900000088e0000613d000000000101043b000000000001004b000002b90000613d000000400400043d000000a4014000390000000f0200002900000000002104350000004401400039000000a0020000390000000000210435000000240140003900000007020000290000000000210435000002660100004100000000001404350000000401400039000000000200041000000000002104350000000d050000290000001f0350018f000f00000004001d000000c40440003900000000025400190000000101000367000000000005004b000000d90000613d0000000e050000290000002005500039000000000551034f000000005605043c0000000004640436000000000024004b000000d50000c13d000000000003004b0000000f0300002900000064033000390000000d04000029000000c00440003900000000004304350000000c0300002900000000043204360000000a050000290000001f0350018f0000000002540019000000000005004b000000ed0000613d0000000b050000290000002005500039000000000551034f000000005605043c0000000004640436000000000024004b000000e90000c13d000000000003004b0000000f040000290000000003420049000000040330008a000000840440003900000000003404350000000804100360000000090300002900000000013204360000028e053001980000001f0630018f0000000003510019000001000000613d000000000704034f0000000008010019000000007907043c0000000008980436000000000038004b000000fc0000c13d000000000006004b0000010d0000613d000000000454034f0000000305600210000000000603043300000000065601cf000000000656022f000000000404043b0000010005500089000000000454022f00000000045401cf000000000464019f00000000004304350000000903100029000000000003043500000000030004140000000004000411000000040040008c0000012d0000613d00000009040000290000001f044000390000028e024001970000000f04000029000000000242004900000000011200190000024b0010009c0000024b0100804100000060011002100000024b0040009c0000024b0200004100000000020440190000004002200210000000000121019f0000024b0030009c0000024b03008041000000c002300210000000000112019f00000000020004110928091e0000040f000000000301001900000060033002700000024b0030019d000200000001035500000001002001900000058f0000613d0000000f010000290000025c0010009c0000015c0000213d0000000f02000029000000400020043f0000026701000041000001f20000013d000002580020009c0000026a0000613d000002590020009c000002b90000c13d000000e40030008c000002b90000413d0000000402100370000000000202043b000f00000002001d0000024e0020009c000002b90000213d0000002402100370000000000202043b0000025c0020009c000002b90000213d00000004022000390000000004230049000002750040009c000002b90000213d000000600040008c000002b90000413d000000e004000039000000400040043f000000000521034f000000000505043b0000025c0050009c000002b90000213d00000000052500190000001f06500039000000000036004b000002b90000813d000000000651034f000000000706043b0000025c0070009c0000015c0000213d00000005067002100000003f066000390000027606600197000002770060009c000003a20000a13d0000027b01000041000000000010043f0000004101000039000000040010043f0000027c010000410000092a00010430000002530020009c000002860000613d000002540020009c000002b90000c13d000000a40030008c000002b90000413d0000000002000416000000000002004b000002b90000c13d0000000402100370000000000202043b0000024e0020009c000002b90000213d0000002402100370000000000202043b0000024e0020009c000002b90000213d0000008402100370000000000202043b0000025c0020009c000002b90000213d0000002304200039000000000034004b000002b90000813d000e00040020003d0000000e01100360000000000101043b000f00000001001d0000025c0010009c000002b90000213d0000000f012000290000002401100039000000000031004b000002b90000213d000000000100041a000000000101041a0000024e011001980000021a0000613d000d00000001001d0000025d0100004100000000001004430000000001000411000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800202000039092809230000040f00000001002001900000088e0000613d000000000101043b000000000001004b000002b90000613d000000400700043d0000025f01000041000000000017043500000001010003670000004402100370000000000202043b0000006403100370000000000303043b0000008404700039000000a0050000390000000000540435000000640470003900000000003404350000004403700039000000000023043500000024027000390000000d03000029000000000032043500000000020004100000024e0220019700000004037000390000000000230435000000a4027000390000000f0300002900000000003204350000000e020000290000002002200039000000000421034f0000028e053001980000001f0630018f000e00000007001d000000c4027000390000000003520019000001c10000613d000000000704034f0000000008020019000000007907043c0000000008980436000000000038004b000001bd0000c13d000000000006004b000001ce0000613d000000000454034f0000000305600210000000000603043300000000065601cf000000000656022f000000000404043b0000010005500089000000000454022f00000000045401cf000000000464019f00000000004304350000000f02200029000000000002043500000000020004140000000003000411000000040030008c000001ec0000613d0000000f030000290000001f033000390000028e01300197000002600010009c000002600100804100000060011002100000000e030000290000024b0030009c0000024b030080410000004003300210000000000131019f0000024b0020009c0000024b02008041000000c002200210000000000121019f000002610110009a00000000020004110928091e0000040f000000000301001900000060033002700000024b0030019d00020000000103550000000100200190000004860000613d0000000e010000290000025c0010009c0000015c0000213d0000000e02000029000000400020043f000002620100004100000000001204350000024b0020009c0000024b02008041000000400120021000000263011001c7000009290001042e000000840030008c000002b90000413d0000000002000416000000000002004b000002b90000c13d0000000402100370000000000202043b0000024e0020009c000002b90000213d0000002402100370000000000202043b0000024e0020009c000002b90000213d0000006402100370000000000202043b0000025c0020009c000002b90000213d0000002304200039000000000034004b000002b90000813d000e00040020003d0000000e01100360000000000101043b000f00000001001d0000025c0010009c000002b90000213d0000000f012000290000002401100039000000000031004b000002b90000213d000000000100041a000000000101041a0000024e011001980000033c0000c13d0000028d01000041000000800010043f00000274010000410000092a00010430000000840030008c000002b90000413d0000000402100370000000000202043b0000025c0020009c000002b90000213d0000002304200039000000000034004b000002b90000813d0000000404200039000000000441034f000000000404043b000700000004001d0000025c0040009c000002b90000213d0000000704000029000000050440021000000000044200190000002404400039000000000034004b000002b90000213d0000002404100370000000000404043b0000025c0040009c000002b90000213d0000002305400039000000000035004b000002b90000813d0000000405400039000000000651034f000000000606043b0000025c0060009c000002b90000213d000d00240040003d0000000507600210000000000a0700190000000d04700029000000000034004b000002b90000213d0000004404100370000000000404043b0000025c0040009c000002b90000213d0000002307400039000000000037004b000002b90000813d0000000407400039000000000771034f000000000707043b0000025c0070009c000002b90000213d000000050870021000000000088400190000002408800039000000000038004b000002b90000213d0000006408100370000000000808043b000600000008001d0000024e0080009c000002b90000213d000000070060006b000004a00000c13d000000000076004b000004a00000c13d0000000606000029000000020060008c000004a70000413d0000000006000410000000060060006b000004a40000c13d0000027101000041000000800010043f000000840060043f00000272010000410000092a00010430000000440030008c000002b90000413d0000000002000416000000000002004b000002b90000c13d0000000402100370000000000202043b000f00000002001d0000024e0020009c000002b90000213d0000002401100370000000000101043b000e00000001001d0000024e0010009c000002b90000213d0000028601000041000000800010043f0000000001000410000000840010043f00000000010004140000000f02000029000000040020008c0000028d0000c13d0000000003000031000000200030008c00000020040000390000000004034019000002b30000013d0000000001000416000000000001004b000002b90000c13d0000026401000041000000800010043f0000026501000041000009290001042e0000024b0010009c0000024b01008041000000c00110021000000272011001c7092809230000040f000000000301001900000060033002700000024b03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000080057001bf000000800a000039000002a20000613d000000000801034f000000008908043c000000000a9a043600000000005a004b0000029e0000c13d000000000006004b000002af0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000000000003001f00020000000103550000000100200190000002e10000613d0000001f01400039000000600210018f00000080012001bf000000400010043f000000200030008c000002bb0000813d00000000010000190000092a00010430000000800300043d000000000003004b0000005a0000613d000000c4042000390000000000340435000000a00320003900000287040000410000000000430435000000a4042000390000000e0500002900000000005404350000004404000039000000000041043500000100022001bf000000400020043f000000000401043300000000010004140000000f02000029000000040020008c000002ff0000c13d0000000001030433000000000010043f000000010010008c00000000010000390000000101006039000000000001004b0000005a0000c13d000000400100043d0000028802000041000000000021043500000004021000390000000f0300002900000000003204350000024b0010009c0000024b0100804100000040011002100000027c011001c70000092a000104300000001f0530018f0000024d06300198000000400200043d0000000004620019000002ec0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000002e80000c13d000000000005004b000002f90000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000024b0020009c0000024b020080410000004002200210000000000112019f0000092a0001043000000040033002100000024b0040009c0000024b040080410000006004400210000000000334019f0000024b0010009c0000024b01008041000000c001100210000000000113019f0928091e0000040f000000000301001900000060033002700000024b03300197000000200030008c000000200400003900000000040340190000001f0540018f0000002004400190000003180000613d000000000601034f0000000007000019000000006806043c0000000007870436000000000047004b000003140000c13d000000000005004b000003250000613d000000000641034f0000000305500210000000000704043300000000075701cf000000000757022f000000000606043b0000010005500089000000000656022f00000000055601cf000000000575019f0000000000540435000000000003001f00020000000103550000000100200190000003960000613d000000000003004b0000046b0000c13d0000025d0100004100000000001004430000000f01000029000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800202000039092809230000040f00000001002001900000088e0000613d000000000101043b000000000001004b0000005a0000c13d000002d60000013d000d00000001001d0000025d0100004100000000001004430000000001000411000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800202000039092809230000040f00000001002001900000088e0000613d000000000101043b000000000001004b000002b90000613d0000028901000041000000800010043f00000001010003670000004402100370000000000202043b00000000030004100000024e03300197000000840030043f0000000d03000029000000a40030043f000000c40020043f0000008002000039000000e40020043f0000000e020000290000002002200039000000000321034f0000000f020000290000028e04200198000001040020043f0000001f0520018f0000012402400039000003690000613d0000012406000039000000000703034f000000007807043c0000000006860436000000000026004b000003650000c13d000000000005004b000003760000613d000000000343034f0000000304500210000000000502043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f00000000003204350000000f020000290000012402200039000000000002043500000000020004140000000003000411000000040030008c000003900000613d0000000f030000290000001f033000390000028e013001970000028a0010009c0000028a0100804100000060011002100000024b0020009c0000024b02008041000000c002200210000000000121019f0000028b0110009a00000000020004110928091e0000040f000000000301001900000060033002700000024b0030019d00020000000103550000000100200190000004930000613d0000008001000039000000400010043f0000028c01000041000000800010043f0000026501000041000009290001042e0000001f0530018f0000024d06300198000000400200043d0000000004620019000002ec0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000039d0000c13d000002ec0000013d000000e006600039000000400060043f000000e00070043f000000200550003900000006067002100000000006560019000000000036004b000002b90000213d000000000007004b0000046d0000c13d000000800040043f0000002004200039000000000441034f000000000404043b000000a00040043f0000004002200039000000000221034f000000000202043b000000c00020043f0000004402100370000000000202043b000c00000002001d0000025c0020009c000002b90000213d0000000c020000290000002302200039000000000032004b000000000400001900000279040080410000027902200197000000000002004b00000000050000190000027905004041000002790020009c000000000504c019000000000005004b000002b90000c13d0000000c020000290000000402200039000000000221034f000000000202043b000700000002001d0000025c0020009c000002b90000213d00000007020000290000000502200210000e00000002001d0000000c022000290000002402200039000000000032004b000002b90000213d0000006402100370000000000402043b0000025c0040009c000002b90000213d0000002302400039000000000032004b000000000500001900000279050080410000027902200197000000000002004b00000000060000190000027906004041000002790020009c000000000605c019000000000006004b000002b90000c13d0000000402400039000000000221034f000000000202043b0000025c0020009c000002b90000213d000d00240040003d00000005042002100000000d04400029000000000034004b000002b90000213d0000008404100370000000000404043b000800000004001d0000025c0040009c000002b90000213d00000008040000290000002304400039000000000034004b000000000500001900000279050080410000027904400197000000000004004b00000000060000190000027906004041000002790040009c000000000605c019000000000006004b000002b90000c13d00000008040000290000000404400039000000000441034f000000000404043b0000025c0040009c000002b90000213d000000050540021000000008055000290000002405500039000000000035004b000002b90000213d000000a405100370000000000505043b000600000005001d0000024e0050009c000002b90000213d000000c405100370000000000605043b0000025c0060009c000002b90000213d0000002305600039000000000035004b000000000700001900000279070080410000027905500197000000000005004b00000000080000190000027908004041000002790050009c000000000807c019000000000008004b000002b90000c13d0000000407600039000000000571034f000000000505043b0000025c0050009c0000015c0000213d0000001f085000390000028e088001970000003f088000390000028e08800197000000400900043d0000000008890019000a00000009001d000000000098004b000000000900003900000001090040390000025c0080009c0000015c0000213d00000001009001900000015c0000c13d000000400080043f0000000a080000290000000008580436000900000008001d00000000065600190000002406600039000000000036004b000002b90000213d0000002003700039000000000331034f0000028e065001980000001f0750018f0000000901600029000004480000613d000000000803034f0000000909000029000000008a08043c0000000009a90436000000000019004b000004440000c13d000000000007004b000004550000613d000000000363034f0000000306700210000000000701043300000000076701cf000000000767022f000000000303043b0000010006600089000000000363022f00000000036301cf000000000373019f000000000031043500000009015000290000000000010435000000070020006b000005f60000c13d000000000042004b000005f60000c13d0000000601000029000000020010008c000006010000413d0000000001000410000000060010006b000005fe0000c13d000000400200043d00000271030000410000000000320435000000040320003900000000001304350000024b0020009c0000024b0200804100000040012002100000027c011001c70000092a00010430000000000100043d000002d10000013d00000100070000390000000008530049000002750080009c000002b90000213d000000400080008c000002b90000413d000000400800043d000002780080009c0000015c0000213d0000004009800039000000400090043f000000000951034f000000000909043b0000024e0090009c000002b90000213d0000000009980436000000200a500039000000000aa1034f000000000a0a043b0000000000a9043500000000078704360000004005500039000000000065004b0000046e0000413d000003ac0000013d0000024b033001970000001f0530018f0000024d06300198000000400200043d0000000004620019000002ec0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000048e0000c13d000002ec0000013d0000024b033001970000001f0530018f0000024d06300198000000400200043d0000000004620019000002ec0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000049b0000c13d000002ec0000013d0000027301000041000000800010043f00000274010000410000092a00010430000000000600041a0000000607000029000000000076041b000000070000006b000004ab0000c13d0000004001000039000005300000013d00000000070a00190000001f0670018f000000000007004b000004b70000613d0000002005500039000000000551034f0000004007a000390000004008000039000000005905043c0000000008980436000000000078004b000004b30000c13d000000000006004b000000000131034f000000400e000039000000200ba000390000001c0c20008a0000001c0d40008a000000200f00008a000a0000000b001d00090000000c001d00080000000d001d000004c80000013d00000000023a00190000003f02200039000000000af2016f0000000000be004b0000000e0e0000290000052f0000613d00000000320e0434000e00000003001d0000000d0220002900000020042000390000000103000367000000000543034f000000000223034f000000000202043b0000000006f20170000f004000a0003d0000000f04600029000004da0000613d000000000705034f0000000f08000029000000007907043c0000000008980436000000000048004b000004d60000c13d0000001f07200190000004e70000613d000000000565034f0000000306700210000000000704043300000000076701cf000000000767022f000000000505043b0000010006600089000000000565022f00000000056501cf000000000575019f00000000005404350000000004ed00190000000005ec0019000000000553034f000000000343034f000000000303043b000000000405043b0000000005000414000000040040008c000004f20000c13d0000000003000031000005150000013d000b0000000e001d000c0000000a001d0000000f010000290000024b0010009c0000024b0100804100000040011002100000024b0020009c0000024b020080410000006002200210000000000112019f0000024b0050009c0000024b05008041000000c002500210000000000112019f000000000003004b000005060000613d00000268011001c700008009020000390000000005000019000005070000013d00000000020400190928091e0000040f0002000000010355000000000301001900000060033002700000024b0030019d0000024b0330019700000001002001900000000c0a0000290000000a0b0000290000000b0e000029000000200f00008a0000054c0000613d000000090c000029000000080d0000290000000000ae04350000000f0200002900000000003204350000000004f301700000006005a000390000000002450019000005210000613d000000000601034f000000006706043c0000000005750436000000000025004b0000051d0000c13d0000001f05300190000004c20000613d000000000441034f0000000305500210000000000602043300000000065601cf000000000656022f000000000404043b0000010005500089000000000454022f00000000045401cf000000000464019f0000000000420435000004c20000013d0000004001a00039000f00000001001d000000060000006b000005430000613d000002690100004100000000001004430000000001000410000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800a02000039092809230000040f00000001002001900000088e0000613d000000000101043b000000000001004b000005640000c13d0000002001000039000000000010043f0000000701000029000000200010043f0000000f010000290000024b0010009c0000024b010080410000006001100210000009290001042e0000001f0430018f0000024d02300198000005550000613d000000000501034f0000000006000019000000005705043c0000000006760436000000000026004b000005510000c13d000000000004004b000005620000613d000000000121034f0000000304400210000000000502043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f000000000012043500000060013002100000092a000104300000025d0100004100000000001004430000000001000412000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800202000039092809230000040f0000000001000411000000010310015f0000000601000029000000010010008c000000000300c019000e00000003001d00000001002001900000088e0000613d000002690100004100000000001004430000000001000410000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800a02000039092809230000040f00000001002001900000088e0000613d0000000e03000029000000060230014f000000000301043b000e00000002001d000000040020008c000005430000613d000000000003004b0000059c0000c13d0000026b010000410000000e02000029000005a00000013d0000024b033001970000001f0530018f0000024d06300198000000400200043d0000000004620019000002ec0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000005970000c13d000002ec0000013d00008009020000390000026a010000410000000e0400002900000000050000190928091e0000040f000200000001035500000060011002700000024b0010019d0000000100200190000005430000c13d0000000e01000029000000000010043f0000000b0100043d0000026c011001970000026d011001c70000000b0010043f000000200100043d0000026e011001c7000000200010043f000002690100004100000000001004430000000001000410000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800a02000039092809230000040f00000001002001900000088e0000613d000000000301043b00000000010004140000026f020000410000000b0020043f0000000f0000043f00000060020000390000004f0020043f0000006e0200008a0000006f0020043f0000024b0010009c0000024b01008041000000c00110021000000270011001c7000000000003004b000005cd0000c13d0000800602000039000005d00000013d0000800902000039000080060400003900000001050000390928091e0000040f0000000100200190000005d70000613d000000000101043b000000000001004b000005430000c13d000005da0000013d000200000001035500000060011002700000024b0010019d0000000001000412001100000001001d000080020100003900000024030000390000000004000415000000110440008a00000005044002100000025d02000041092809050000040f0000000002000412001000000002001d000f00000001001d0000000004000415000000100440008a000000050440021000008002010000390000025d020000410000002403000039092809050000040f0000000f020000290000024b0020009c0000024b0200804100000060022002100000024b0010009c0000024b010080410000004001100210000000000121019f0000092a00010430000000400100043d000002730200004100000000002104350000024b0010009c0000024b01008041000000400110021000000285011001c70000092a00010430000000000100041a0000000602000029000000000021041b0000000a010000290000000001010433000000000001004b000006090000c13d000000070000006b0000077d0000c13d0000004001000039000008070000013d00000000010004110000024e02100197000000400100043d0000004003100039000000000023043500000040020000390000000002210436000002640300004100000000003204350000027a0010009c0000015c0000213d0000006003100039000000400030043f0000024b0020009c0000024b02008041000000400220021000000000010104330000024b0010009c0000024b010080410000006001100210000000000121019f00000000020004140000024b0020009c0000024b02008041000000c002200210000000000112019f00000268011001c70000801002000039092809230000040f0000000100200190000002b90000613d000000000101043b000500000001001d000000800100043d00000000030104330000025c0030009c0000015c0000213d00000005013002100000003f021000390000027602200197000000400400043d0000000002240019000b00000004001d000000000042004b000000000400003900000001040040390000025c0020009c0000015c0000213d00000001004001900000015c0000c13d000000400020043f0000000b020000290000000002320436000000000003004b0000064e0000613d0000000003000019000000400400043d000002780040009c0000015c0000213d0000004005400039000000400050043f000000200540003900000000000504350000000000040435000000000532001900000000004504350000002003300039000000000013004b000006410000413d000000800300043d0000000001030433000000000001004b000006720000613d00000000010004100000024e011001970000000002000019000000400400043d000002780040009c0000015c0000213d0000000505200210000000200550003900000000033500190000000003030433000000200330003900000000030304330000004006400039000000400060043f0000002006400039000000000036043500000000001404350000000b030000290000000003030433000000000023004b000007030000a13d0000000b06000029000000000365001900000000004304350000000003060433000000000023004b000007030000a13d0000000102200039000000800300043d0000000004030433000000000042004b000006550000413d0000027d01000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000024b0010009c0000024b01008041000000c0011002100000027e011001c70000800502000039092809230000040f00000001002001900000088e0000613d000000000101043b000000400200043d000400000002001d0000027f0020009c0000015c0000213d0000024e031001970000000404000029000000a001400039000000400010043f000000800140003900000280020000410000000000210435000000600140003900000281020000410000000000210435000000400140003900000282020000410000000000210435000000640100003900000000021404360000028301000041000300000002001d00000000001204350000025d010000410000000000100443000100000003001d000000040030044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800202000039092809230000040f00000001002001900000088e0000613d000000000101043b000000000001004b000002b90000613d000000400500043d000002840100004100000000001504350000000401500039000000c0020000390000000000210435000000c402500039000000800300043d00000060040000390000000000420435000001240250003900000000040304330000000000420435000200000005001d0000014402500039000000000004004b000006c40000613d00000000050000190000002003300039000000000603043300000000760604340000024e0660019700000000066204360000000007070433000000000076043500000040022000390000000105500039000000000045004b000006b90000413d0000000206000029000000e403600039000000a00400043d000000000043043500000000031200490000002404600039000000c00500043d0000000000340435000001040360003900000000005304350000000b0300002900000000030304330000000002320436000000000003004b000006e10000613d00000000040000190000000b050000290000002005500039000b00000005001d000000000505043300000000650504340000024e0550019700000000055204360000000006060433000000000065043500000040022000390000000104400039000000000034004b000006d40000413d00000000031200490000000205000029000000840450003900000000003404350000006403500039000000050400002900000000004304350000000f030000290000024e03300197000000440450003900000000003404350000000403000029000000000303043300000000023204360000028e053001970000001f0430018f000000030020006b000007090000813d000000000005004b000006ff0000613d00000003074000290000000006420019000000200660008a000000200770008a0000000008560019000000000957001900000000090904330000000000980435000000200550008c000006f90000c13d000000000004004b000007200000613d0000000006020019000007150000013d0000027b01000041000000000010043f0000003201000039000000040010043f0000027c010000410000092a000104300000000006520019000000000005004b000007120000613d0000000307000029000000000802001900000000790704340000000008980436000000000068004b0000070e0000c13d000000000004004b000007200000613d000300030050002d0000000304400210000000000506043300000000054501cf000000000545022f000000030700002900000000070704330000010004400089000000000747022f00000000044701cf000000000454019f0000000000460435000000000423001900000000000404350000001f033000390000028e03300197000000000323001900000000011300490000000202000029000000a40220003900000000001204350000000a01000029000000000201043300000000012304360000028e042001970000001f0320018f000000090010006b000007400000813d000000000004004b0000073c0000613d00000009063000290000000005310019000000200550008a000000200660008a0000000007450019000000000846001900000000080804330000000000870435000000200440008c000007360000c13d000000000003004b000007570000613d00000000050100190000074c0000013d0000000005410019000000000004004b000007490000613d0000000906000029000000000701001900000000680604340000000007870436000000000057004b000007450000c13d000000000003004b000007570000613d000900090040002d0000000303300210000000000405043300000000043401cf000000000434022f000000090600002900000000060604330000010003300089000000000636022f00000000033601cf000000000343019f00000000003504350000000003120019000000000003043500000000030004140000000104000029000000040040008c000007760000613d0000001f022000390000028e022001970000000204000029000000000141004900000000012100190000024b0010009c0000024b0100804100000060011002100000024b0040009c0000024b0200004100000000020440190000004002200210000000000121019f0000024b0030009c0000024b03008041000000c002300210000000000121019f00000001020000290928091e0000040f000000000301001900000060033002700000024b0030019d00020000000103550000000100200190000008ab0000613d00000002010000290000025c0010009c0000015c0000213d0000000201000029000000400010043f000000070000006b000006070000613d0000000e020000290000001f0120018f000000000002004b0000078a0000613d0000000e0200002900000040022000390000000d0300002900000001033003670000004004000039000000003503043c0000000004540436000000000024004b000007860000c13d000000000001004b000000400d0000390000000e09000029000000200b9000390000000c010000290000001c0c10008a00000008010000290000001c0e10008a000000200a00008a000a0000000b001d00090000000c001d00080000000e001d0000079d0000013d00000000013900190000003f011000390000000009a1016f0000000000bd004b000000000d0f0019000008060000613d00000000f10d04340000000d0110002900000020031000390000000102000367000000000432034f000000000112034f000000000101043b0000000005a10170000f00400090003d0000000f03500029000007ae0000613d000000000604034f0000000f07000029000000006806043c0000000007870436000000000037004b000007aa0000c13d0000001f06100190000007bb0000613d000000000454034f0000000305600210000000000603043300000000065601cf000000000656022f000000000404043b0000010005500089000000000454022f00000000045401cf000000000464019f00000000004304350000000003de00190000000004dc0019000000000442034f000000000232034f000000000302043b000000000404043b0000000002000414000000040040008c000007c70000c13d00000002010003670000000003000031000007ec0000013d000b0000000f001d000c0000000d001d000e00000009001d0000000f050000290000024b0050009c0000024b0500804100000040055002100000024b0010009c0000024b010080410000006001100210000000000151019f0000024b0020009c0000024b02008041000000c002200210000000000112019f000000000003004b000007dc0000613d00000268011001c700008009020000390000000005000019000007dd0000013d00000000020400190928091e0000040f0002000000010355000000000301001900000060033002700000024b0030019d0000024b033001970000000100200190000008450000613d0000000e09000029000000200a00008a0000000a0b000029000000090c0000290000000c0d000029000000080e0000290000000b0f00002900000000009d04350000000f0200002900000000003204350000000004a3017000000060059000390000000002450019000007f80000613d000000000601034f000000006706043c0000000005750436000000000025004b000007f40000c13d0000001f05300190000007970000613d000000000141034f0000000304500210000000000502043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000120435000007970000013d0000004001900039000f00000001001d000000060000006b000005430000613d000002690100004100000000001004430000000001000410000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800a02000039092809230000040f00000001002001900000088e0000613d000000000101043b000000000001004b000005430000613d0000025d0100004100000000001004430000000001000412000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800202000039092809230000040f0000000001000411000000010310015f0000000601000029000000010010008c000000000300c019000e00000003001d00000001002001900000088e0000613d000002690100004100000000001004430000000001000410000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800a02000039092809230000040f00000001002001900000088e0000613d0000000e03000029000000060230014f000000000301043b000e00000002001d000000040020008c000005430000613d000000000003004b0000085d0000c13d0000026b010000410000000e02000029000008610000013d0000001f0430018f0000024d023001980000084e0000613d000000000501034f0000000006000019000000005705043c0000000006760436000000000026004b0000084a0000c13d000000000004004b0000085b0000613d000000000121034f0000000304400210000000000502043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f000000000012043500000060013002100000092a0001043000008009020000390000026a010000410000000e0400002900000000050000190928091e0000040f000200000001035500000060011002700000024b0010019d0000000100200190000005430000c13d0000000e01000029000000000010043f0000000b0100043d0000026c011001970000026d011001c70000000b0010043f000000200100043d0000026e011001c7000000200010043f000002690100004100000000001004430000000001000410000000040010044300000000010004140000024b0010009c0000024b01008041000000c0011002100000025e011001c70000800a02000039092809230000040f00000001002001900000088e0000613d000000000301043b00000000010004140000026f020000410000000b0020043f0000000f0000043f00000060020000390000004f0020043f0000006e0200008a0000006f0020043f0000024b0010009c0000024b01008041000000c00110021000000270011001c7000000000003004b0000088f0000c13d0000800602000039000008920000013d000000000001042f0000800902000039000080060400003900000001050000390928091e0000040f0000000100200190000008990000613d000000000101043b000000000001004b000005430000c13d0000089c0000013d000200000001035500000060011002700000024b0010019d0000000001000412001300000001001d000080020100003900000024030000390000000004000415000000130440008a00000005044002100000025d02000041092809050000040f0000000002000412001200000002001d000f00000001001d0000000004000415000000120440008a000005e80000013d0000024b033001970000001f0530018f0000024d06300198000000400200043d0000000004620019000002ec0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000008b30000c13d000002ec0000013d000000400100043d0000028f0010009c000008cc0000813d000000a002100039000000400020043f00000080021000390000028003000041000000000032043500000060021000390000028103000041000000000032043500000040021000390000028203000041000000000032043500000020021000390000028303000041000000000032043500000064020000390000000000210435000000000001042d0000027b01000041000000000010043f0000004101000039000000040010043f0000027c010000410000092a00010430000000004301043400000000013204360000028e063001970000001f0530018f000000000014004b000008e80000813d000000000006004b000008e40000613d00000000085400190000000007510019000000200770008a000000200880008a0000000009670019000000000a680019000000000a0a04330000000000a90435000000200660008c000008de0000c13d000000000005004b000008fe0000613d0000000007010019000008f40000013d0000000007610019000000000006004b000008f10000613d00000000080400190000000009010019000000008a0804340000000009a90436000000000079004b000008ed0000c13d000000000005004b000008fe0000613d00000000046400190000000305500210000000000607043300000000065601cf000000000656022f00000000040404330000010005500089000000000454022f00000000045401cf000000000464019f0000000000470435000000000431001900000000000404350000001f033000390000028e023001970000000001210019000000000001042d000000000001042f00000000050100190000000000200443000000040100003900000005024002700000000002020031000000000121043a0000002004400039000000000031004b000009080000413d0000024b0030009c0000024b03008041000000600130021000000000020004140000024b0020009c0000024b02008041000000c002200210000000000112019f00000290011001c70000000002050019092809230000040f00000001002001900000091d0000613d000000000101043b000000000001042d000000000001042f00000921002104210000000102000039000000000001042d0000000002000019000000000001042d00000926002104230000000102000039000000000001042d0000000002000019000000000001042d0000092800000432000009290001042e0000092a00010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000000ffffffe0000000000000000000000000ffffffffffffffffffffffffffffffffffffffffde8722880b5dd233e72245d89ecf1926d842675ee7337f75a172abc8abc5ba870000000200000000000000000000000000000080000001000000000000000000000000000000000000000000000000000000000000000000000000006e305f7f00000000000000000000000000000000000000000000000000000000c99a0d6400000000000000000000000000000000000000000000000000000000c99a0d6500000000000000000000000000000000000000000000000000000000f23a6e61000000000000000000000000000000000000000000000000000000006e305f8000000000000000000000000000000000000000000000000000000000bc197c81000000000000000000000000000000000000000000000000000000003dad0c9b000000000000000000000000000000000000000000000000000000003dad0c9c0000000000000000000000000000000000000000000000000000000066b9ca7b00000000000000000000000000000000000000000000000000000000150b7a02000000000000000000000000000000000000000000000000000000003806a3cf000000000000000000000000000000000000000000000000ffffffffffffffff1806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b830200000200000000000000000000000000000024000000000000000000000000f242432a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffff3bffffffffffffffffffffffffffffffffffffff3c000000000000000000000000f23a6e610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000004910260415865c6d3ecf96968c7d912a0d533a72c3479ab1e1df0f4eb86fb00800000000000000000000000000000000000000200000008000000000000000002eb2c2d600000000000000000000000000000000000000000000000000000000bc197c810000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000009cc7f708afc65944829bd487b90b72536b1951864fbfc14e125fc972a6507f3902000000000186a000000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7300000000000000000000000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000009c4d535bdea7cd8a978f128b93471df48c7dbab89d703809115bdc118c235bfd02000000000000000000000000000000000000160000000b000000000000000017858bbe0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000008000000000000000003b800a460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000008000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0000000000000000000000000000000000000000000000000ffffffffffffff1f000000000000000000000000000000000000000000000000ffffffffffffffbf8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff9f4e487b71000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000310ab089e4439a4c15d089f94afb7896ff553aecb10793d0ab882de59d99a32e0200000200000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff5f756e7429000000000000000000000000000000000000000000000000000000007373696f6e73286164647265737320746f6b656e2c75696e7432353620616d6f746e65737328616464726573732072656c6179657229546f6b656e5065726d6952656c617965725769746e657373207769746e6573732952656c617965725769fe8ec1a700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000070a0823100000000000000000000000000000000000000000000000000000000a9059cbb000000000000000000000000000000000000000000000000000000005274afe700000000000000000000000000000000000000000000000000000000b88d4fde0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffff5bffffffffffffffffffffffffffffffffffffff5bffffff800000000000000000150b7a0200000000000000000000000000000000000000000000000000000000f36675c300000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0000000000000000000000000000000000000000000000000ffffffffffffff60020000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e831d95d2958d4b5ce215c97006bbc61396368b987fd9c9b20a35bdad917585

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000225e31d15943971f47ad3022f714fa

-----Decoded View---------------
Arg [0] : permit2 (address): 0x0000000000225e31D15943971F47aD3022F714Fa

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000225e31d15943971f47ad3022f714fa


Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.