MNT Price: $0.86 (+1.96%)

Contract

0x90259D1416E5AeA964eAC2441aA20e9Fb2D99262
 

Overview

MNT Balance

Mantle Mainnet Network LogoMantle Mainnet Network LogoMantle Mainnet Network Logo0 MNT

MNT Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

> 10 Internal Transactions found.

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
889167662025-12-17 9:30:4440 days ago1765963844
0x90259D14...Fb2D99262
0 MNT
889167432025-12-17 9:29:5840 days ago1765963798
0x90259D14...Fb2D99262
0 MNT
889167112025-12-17 9:28:5440 days ago1765963734
0x90259D14...Fb2D99262
0 MNT
879278672025-11-24 12:07:2663 days ago1763986046
0x90259D14...Fb2D99262
0 MNT
874106552025-11-12 12:47:0275 days ago1762951622
0x90259D14...Fb2D99262
0 MNT
874106222025-11-12 12:45:5675 days ago1762951556
0x90259D14...Fb2D99262
0 MNT
874105962025-11-12 12:45:0475 days ago1762951504
0x90259D14...Fb2D99262
0 MNT
874104122025-11-12 12:38:5675 days ago1762951136
0x90259D14...Fb2D99262
0 MNT
874103332025-11-12 12:36:1875 days ago1762950978
0x90259D14...Fb2D99262
0 MNT
874102832025-11-12 12:34:3875 days ago1762950878
0x90259D14...Fb2D99262
0 MNT
864267452025-10-20 18:10:0297 days ago1760983802
0x90259D14...Fb2D99262
0 MNT
864266952025-10-20 18:08:2297 days ago1760983702
0x90259D14...Fb2D99262
0 MNT
864266362025-10-20 18:06:2497 days ago1760983584
0x90259D14...Fb2D99262
0 MNT
863690952025-10-19 10:08:2299 days ago1760868502
0x90259D14...Fb2D99262
0 MNT
863239472025-10-18 9:03:26100 days ago1760778206
0x90259D14...Fb2D99262
0 MNT
863238792025-10-18 9:01:10100 days ago1760778070
0x90259D14...Fb2D99262
0 MNT
863238132025-10-18 8:58:58100 days ago1760777938
0x90259D14...Fb2D99262
0 MNT
863237482025-10-18 8:56:48100 days ago1760777808
0x90259D14...Fb2D99262
0 MNT
863236622025-10-18 8:53:56100 days ago1760777636
0x90259D14...Fb2D99262
0 MNT
862020722025-10-15 13:20:56103 days ago1760534456
0x90259D14...Fb2D99262
0 MNT
860131192025-10-11 4:22:30107 days ago1760156550
0x90259D14...Fb2D99262
0 MNT
859352902025-10-09 9:08:12109 days ago1760000892
0x90259D14...Fb2D99262
0 MNT
854231112025-09-27 12:35:34121 days ago1758976534
0x90259D14...Fb2D99262
0 MNT
847896272025-09-12 20:39:26135 days ago1757709566
0x90259D14...Fb2D99262
0 MNT
847891212025-09-12 20:22:34135 days ago1757708554
0x90259D14...Fb2D99262
0 MNT
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFTransfersFeature

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: Apache-2.0
/*

  CopyrightCopyright 2022 Element.Market Intl.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*/

pragma solidity ^0.8.13;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "../interfaces/INFTransfersFeature.sol";

contract NFTransfersFeature is INFTransfersFeature {

    using Address for address;

    function transferItems(address to, TransferItem[] calldata items) external override {
        transferItemsEx(to, items, false);
    }

    function transferERC721s(address to, address[] calldata tokens, uint256[][] calldata tokenIds) external override {
        transferERC721sEx(to, tokens, tokenIds, false);
    }

    function transferItemsEx(address to, TransferItem[] calldata items, bool revertIfIncomplete) public override {
        unchecked {
            bool someSuccess;
            if (to.isContract()) {
                for (uint256 i = 0; i < items.length; ++i) {
                    TransferItem calldata item = items[i];
                    if (item.itemType == ItemType.ERC721) {
                        require(item.amounts.length == 0, "require(item.amounts.length==0)");
                        address token = item.token;
                        require(token.code.length != 0, "INVALID_ERC721_TOKEN");

                        uint256[] calldata ids = item.ids;
                        uint256 lengthIds = ids.length;
                        for (uint256 j = 0; j < lengthIds; ++j) {
                            if (_safeTransferERC721(token, to, ids[j])) {
                                someSuccess = true;
                            } else {
                                if (revertIfIncomplete) {
                                    revert("_safeTransferERC721/TRANSFER_FAILED");
                                }
                            }
                        }
                    } else if (item.itemType == ItemType.ERC1155) {
                        require(item.token.code.length != 0, "INVALID_ERC1155_TOKEN");
                        try IERC1155(item.token).safeBatchTransferFrom(msg.sender, to, item.ids, item.amounts, "") {
                            someSuccess = true;
                        } catch {
                            if (revertIfIncomplete) {
                                revert("_safeBatchTransferERC1155/TRANSFER_FAILED");
                            }
                        }
                    } else {
                        revert("INVALID_ITEM_TYPE");
                    }
                }
            } else {
                for (uint256 i = 0; i < items.length; ++i) {
                    TransferItem calldata item = items[i];
                    if (item.itemType == ItemType.ERC721) {
                        require(item.amounts.length == 0, "require(item.amounts.length==0)");
                        address token = item.token;
                        require(token.code.length != 0, "INVALID_ERC721_TOKEN");

                        uint256[] calldata ids = item.ids;
                        uint256 lengthIds = ids.length;
                        for (uint256 j = 0; j < lengthIds; ++j) {
                            if (_transferERC721(token, to, ids[j])) {
                                someSuccess = true;
                            } else {
                                if (revertIfIncomplete) {
                                    revert("_transferERC721/TRANSFER_FAILED");
                                }
                            }
                        }
                    } else if (item.itemType == ItemType.ERC1155) {
                        require(item.token.code.length != 0, "INVALID_ERC1155_TOKEN");
                        try IERC1155(item.token).safeBatchTransferFrom(msg.sender, to, item.ids, item.amounts, "") {
                            someSuccess = true;
                        } catch {
                            if (revertIfIncomplete) {
                                revert("_safeBatchTransferERC1155/TRANSFER_FAILED");
                            }
                        }
                    } else {
                        revert("INVALID_ITEM_TYPE");
                    }
                }
            }
            require(someSuccess, "transferItemsEx failed.");
        }
    }

    function transferERC721sEx(address to, address[] calldata tokens, uint256[][] calldata tokenIds, bool revertIfIncomplete) public override {
        require(tokens.length == tokenIds.length, "transferERC721sEx/ARRAY_LENGTH_MISMATCH");

        unchecked {
            bool someSuccess;
            if (to.isContract()) {
                for (uint256 i = 0; i < tokens.length; ++i) {
                    address token = tokens[i];
                    require(token.code.length != 0, "INVALID_ERC721_TOKEN");

                    uint256[] calldata ids = tokenIds[i];
                    uint256 lengthIds = ids.length;
                    for (uint256 j = 0; j < lengthIds; ++j) {
                        if (_safeTransferERC721(token, to, ids[j])) {
                            someSuccess = true;
                        } else {
                            if (revertIfIncomplete) {
                                revert("_safeTransferERC721/TRANSFER_FAILED");
                            }
                        }
                    }
                }
            } else {
                for (uint256 i = 0; i < tokens.length; ++i) {
                    address token = tokens[i];
                    require(token.code.length != 0, "INVALID_ERC721_TOKEN");

                    uint256[] calldata ids = tokenIds[i];
                    uint256 lengthIds = ids.length;
                    for (uint256 j = 0; j < lengthIds; ++j) {
                        if (_transferERC721(token, to, ids[j])) {
                            someSuccess = true;
                        } else {
                            if (revertIfIncomplete) {
                                revert("_transferERC721/TRANSFER_FAILED");
                            }
                        }
                    }
                }
            }
            require(someSuccess, "transferERC721sEx failed.");
        }
    }

    function _transferERC721(address token, address to, uint256 tokenId) internal returns (bool success) {
        assembly {
            let ptr := mload(0x40) // free memory pointer

            // selector for transferFrom(address,address,uint256)
            mstore(ptr, 0x23b872dd00000000000000000000000000000000000000000000000000000000)
            mstore(add(ptr, 0x04), caller())
            mstore(add(ptr, 0x24), to)
            mstore(add(ptr, 0x44), tokenId)

            success := call(gas(), token, 0, ptr, 0x64, 0, 0)
        }
    }

    function _safeTransferERC721(address token, address to, uint256 tokenId) internal returns (bool success)  {
        assembly {
            let ptr := mload(0x40) // free memory pointer

            // selector for safeTransferFrom(address,address,uint256)
            mstore(ptr, 0x42842e0e00000000000000000000000000000000000000000000000000000000)
            mstore(add(ptr, 0x04), caller())
            mstore(add(ptr, 0x24), to)
            mstore(add(ptr, 0x44), tokenId)

            success := call(gas(), token, 0, ptr, 0x64, 0, 0)
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token 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 amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    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 caller.
     */
    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 `amount` tokens of token type `id` from `from` to `to`.
     *
     * 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 `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 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` 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 amounts,
        bytes calldata data
    ) external;
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @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, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * 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.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @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`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * 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[EIP 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);
}

// SPDX-License-Identifier: Apache-2.0
/*

  CopyrightCopyright 2022 Element.Market Intl.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*/

pragma solidity ^0.8.13;

interface INFTransfersFeature {

    enum ItemType {
        ERC721,
        ERC1155
    }

    struct TransferItem {
        ItemType itemType;
        address token;
        uint256[] ids;
        uint256[] amounts;
    }

    function transferItems(address to, TransferItem[] calldata items) external;

    function transferERC721s(address to, address[] calldata tokens, uint256[][] calldata tokenIds) external;

    function transferItemsEx(address to, TransferItem[] calldata items, bool revertIfIncomplete) external;

    function transferERC721sEx(address to, address[] calldata tokens, uint256[][] calldata tokenIds, bool revertIfIncomplete) external;
}

Settings
{
  "libraries": {},
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[][]","name":"tokenIds","type":"uint256[][]"}],"name":"transferERC721s","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[][]","name":"tokenIds","type":"uint256[][]"},{"internalType":"bool","name":"revertIfIncomplete","type":"bool"}],"name":"transferERC721sEx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"enum INFTransfersFeature.ItemType","name":"itemType","type":"uint8"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"internalType":"struct INFTransfersFeature.TransferItem[]","name":"items","type":"tuple[]"}],"name":"transferItems","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"enum INFTransfersFeature.ItemType","name":"itemType","type":"uint8"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"internalType":"struct INFTransfersFeature.TransferItem[]","name":"items","type":"tuple[]"},{"internalType":"bool","name":"revertIfIncomplete","type":"bool"}],"name":"transferItemsEx","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50610ef5806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806338016acd1461005157806389d56c8414610066578063cc90769d14610079578063e8d7e9851461008c575b600080fd5b61006461005f366004610ac2565b61009f565b005b610064610074366004610b15565b6100b1565b610064610087366004610ba6565b6100c7565b61006461009a366004610c0b565b61070b565b6100ac83838360006100c7565b505050565b6100c08585858585600061070b565b5050505050565b60006001600160a01b0385163b156103d85760005b838110156103d257368585838181106100f7576100f7610c9b565b90506020028101906101099190610cb1565b9050600061011a6020830183610ce7565b600181111561012b5761012b610cd1565b036102515761013d6060820182610d0f565b1590506101915760405162461bcd60e51b815260206004820152601f60248201527f72657175697265286974656d2e616d6f756e74732e6c656e6774683d3d30290060448201526064015b60405180910390fd5b60006101a36040830160208401610d59565b9050806001600160a01b03163b6000036101cf5760405162461bcd60e51b815260040161018890610d74565b3660006101df6040850185610d0f565b90925090508060005b8181101561024757610213858d86868581811061020757610207610c9b565b905060200201356109f0565b15610221576001975061023f565b881561023f5760405162461bcd60e51b815260040161018890610da2565b6001016101e8565b50505050506103c9565b60016102606020830183610ce7565b600181111561027157610271610cd1565b0361038d576102866040820160208301610d59565b6001600160a01b03163b6000036102d75760405162461bcd60e51b815260206004820152601560248201527424a72b20a624a22fa2a92198989a9aafaa27a5a2a760591b6044820152606401610188565b6102e76040820160208301610d59565b6001600160a01b0316632eb2c2d633896103046040860186610d0f565b6103116060880188610d0f565b6040518763ffffffff1660e01b815260040161033296959493929190610e17565b600060405180830381600087803b15801561034c57600080fd5b505af192505050801561035d575060015b61038457831561037f5760405162461bcd60e51b815260040161018890610e76565b6103c9565b600192506103c9565b60405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f4954454d5f5459504560781b6044820152606401610188565b506001016100dc565b506106be565b60005b838110156106bc57368585838181106103f6576103f6610c9b565b90506020028101906104089190610cb1565b905060006104196020830183610ce7565b600181111561042a5761042a610cd1565b0361057b5761043c6060820182610d0f565b15905061048b5760405162461bcd60e51b815260206004820152601f60248201527f72657175697265286974656d2e616d6f756e74732e6c656e6774683d3d3029006044820152606401610188565b600061049d6040830160208401610d59565b9050806001600160a01b03163b6000036104c95760405162461bcd60e51b815260040161018890610d74565b3660006104d96040850185610d0f565b90925090508060005b818110156105715761050d858d86868581811061050157610501610c9b565b90506020020135610a25565b1561051b5760019750610569565b88156105695760405162461bcd60e51b815260206004820152601f60248201527f5f7472616e736665724552433732312f5452414e534645525f4641494c4544006044820152606401610188565b6001016104e2565b50505050506106b3565b600161058a6020830183610ce7565b600181111561059b5761059b610cd1565b0361038d576105b06040820160208301610d59565b6001600160a01b03163b6000036106015760405162461bcd60e51b815260206004820152601560248201527424a72b20a624a22fa2a92198989a9aafaa27a5a2a760591b6044820152606401610188565b6106116040820160208301610d59565b6001600160a01b0316632eb2c2d6338961062e6040860186610d0f565b61063b6060880188610d0f565b6040518763ffffffff1660e01b815260040161065c96959493929190610e17565b600060405180830381600087803b15801561067657600080fd5b505af1925050508015610687575060015b6106ae5783156106a95760405162461bcd60e51b815260040161018890610e76565b6106b3565b600192505b506001016103db565b505b806100c05760405162461bcd60e51b815260206004820152601760248201527f7472616e736665724974656d734578206661696c65642e0000000000000000006044820152606401610188565b83821461076a5760405162461bcd60e51b815260206004820152602760248201527f7472616e736665724552433732317345782f41525241595f4c454e4754485f4d604482015266092a69a82a886960cb1b6064820152608401610188565b60006001600160a01b0387163b156108755760005b8581101561086f57600087878381811061079b5761079b610c9b565b90506020020160208101906107b09190610d59565b9050806001600160a01b03163b6000036107dc5760405162461bcd60e51b815260040161018890610d74565b3660008787858181106107f1576107f1610c9b565b90506020028101906108039190610d0f565b90925090508060005b8181101561085f5761082b858e86868581811061020757610207610c9b565b156108395760019650610857565b87156108575760405162461bcd60e51b815260040161018890610da2565b60010161080c565b505050505080600101905061077f565b5061099a565b60005b8581101561099857600087878381811061089457610894610c9b565b90506020020160208101906108a99190610d59565b9050806001600160a01b03163b6000036108d55760405162461bcd60e51b815260040161018890610d74565b3660008787858181106108ea576108ea610c9b565b90506020028101906108fc9190610d0f565b90925090508060005b8181101561098857610924858e86868581811061050157610501610c9b565b156109325760019650610980565b87156109805760405162461bcd60e51b815260206004820152601f60248201527f5f7472616e736665724552433732312f5452414e534645525f4641494c4544006044820152606401610188565b600101610905565b5050505050806001019050610878565b505b806109e75760405162461bcd60e51b815260206004820152601960248201527f7472616e73666572455243373231734578206661696c65642e000000000000006044820152606401610188565b50505050505050565b6000604051632142170760e11b81523360048201528360248201528260448201526000806064836000895af195945050505050565b60006040516323b872dd60e01b81523360048201528360248201528260448201526000806064836000895af195945050505050565b80356001600160a01b0381168114610a7157600080fd5b919050565b60008083601f840112610a8857600080fd5b50813567ffffffffffffffff811115610aa057600080fd5b6020830191508360208260051b8501011115610abb57600080fd5b9250929050565b600080600060408486031215610ad757600080fd5b610ae084610a5a565b9250602084013567ffffffffffffffff811115610afc57600080fd5b610b0886828701610a76565b9497909650939450505050565b600080600080600060608688031215610b2d57600080fd5b610b3686610a5a565b9450602086013567ffffffffffffffff80821115610b5357600080fd5b610b5f89838a01610a76565b90965094506040880135915080821115610b7857600080fd5b50610b8588828901610a76565b969995985093965092949392505050565b80358015158114610a7157600080fd5b60008060008060608587031215610bbc57600080fd5b610bc585610a5a565b9350602085013567ffffffffffffffff811115610be157600080fd5b610bed87828801610a76565b9094509250610c00905060408601610b96565b905092959194509250565b60008060008060008060808789031215610c2457600080fd5b610c2d87610a5a565b9550602087013567ffffffffffffffff80821115610c4a57600080fd5b610c568a838b01610a76565b90975095506040890135915080821115610c6f57600080fd5b50610c7c89828a01610a76565b9094509250610c8f905060608801610b96565b90509295509295509295565b634e487b7160e01b600052603260045260246000fd5b60008235607e19833603018112610cc757600080fd5b9190910192915050565b634e487b7160e01b600052602160045260246000fd5b600060208284031215610cf957600080fd5b813560028110610d0857600080fd5b9392505050565b6000808335601e19843603018112610d2657600080fd5b83018035915067ffffffffffffffff821115610d4157600080fd5b6020019150600581901b3603821315610abb57600080fd5b600060208284031215610d6b57600080fd5b610d0882610a5a565b60208082526014908201527324a72b20a624a22fa2a9219b9918afaa27a5a2a760611b604082015260600190565b60208082526023908201527f5f736166655472616e736665724552433732312f5452414e534645525f46414960408201526213115160ea1b606082015260800190565b81835260006001600160fb1b03831115610dfe57600080fd5b8260051b80836020870137939093016020019392505050565b6001600160a01b0387811682528616602082015260a060408201819052600090610e449083018688610de5565b8281036060840152610e57818587610de5565b8381036080909401939093525050600081526020019695505050505050565b60208082526029908201527f5f7361666542617463685472616e73666572455243313135352f5452414e5346604082015268115497d1905253115160ba1b60608201526080019056fea26469706673582212205c801b727cf00cd881d58cc856f6f4ca80227cf158a08fc07529422084a388e964736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806338016acd1461005157806389d56c8414610066578063cc90769d14610079578063e8d7e9851461008c575b600080fd5b61006461005f366004610ac2565b61009f565b005b610064610074366004610b15565b6100b1565b610064610087366004610ba6565b6100c7565b61006461009a366004610c0b565b61070b565b6100ac83838360006100c7565b505050565b6100c08585858585600061070b565b5050505050565b60006001600160a01b0385163b156103d85760005b838110156103d257368585838181106100f7576100f7610c9b565b90506020028101906101099190610cb1565b9050600061011a6020830183610ce7565b600181111561012b5761012b610cd1565b036102515761013d6060820182610d0f565b1590506101915760405162461bcd60e51b815260206004820152601f60248201527f72657175697265286974656d2e616d6f756e74732e6c656e6774683d3d30290060448201526064015b60405180910390fd5b60006101a36040830160208401610d59565b9050806001600160a01b03163b6000036101cf5760405162461bcd60e51b815260040161018890610d74565b3660006101df6040850185610d0f565b90925090508060005b8181101561024757610213858d86868581811061020757610207610c9b565b905060200201356109f0565b15610221576001975061023f565b881561023f5760405162461bcd60e51b815260040161018890610da2565b6001016101e8565b50505050506103c9565b60016102606020830183610ce7565b600181111561027157610271610cd1565b0361038d576102866040820160208301610d59565b6001600160a01b03163b6000036102d75760405162461bcd60e51b815260206004820152601560248201527424a72b20a624a22fa2a92198989a9aafaa27a5a2a760591b6044820152606401610188565b6102e76040820160208301610d59565b6001600160a01b0316632eb2c2d633896103046040860186610d0f565b6103116060880188610d0f565b6040518763ffffffff1660e01b815260040161033296959493929190610e17565b600060405180830381600087803b15801561034c57600080fd5b505af192505050801561035d575060015b61038457831561037f5760405162461bcd60e51b815260040161018890610e76565b6103c9565b600192506103c9565b60405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f4954454d5f5459504560781b6044820152606401610188565b506001016100dc565b506106be565b60005b838110156106bc57368585838181106103f6576103f6610c9b565b90506020028101906104089190610cb1565b905060006104196020830183610ce7565b600181111561042a5761042a610cd1565b0361057b5761043c6060820182610d0f565b15905061048b5760405162461bcd60e51b815260206004820152601f60248201527f72657175697265286974656d2e616d6f756e74732e6c656e6774683d3d3029006044820152606401610188565b600061049d6040830160208401610d59565b9050806001600160a01b03163b6000036104c95760405162461bcd60e51b815260040161018890610d74565b3660006104d96040850185610d0f565b90925090508060005b818110156105715761050d858d86868581811061050157610501610c9b565b90506020020135610a25565b1561051b5760019750610569565b88156105695760405162461bcd60e51b815260206004820152601f60248201527f5f7472616e736665724552433732312f5452414e534645525f4641494c4544006044820152606401610188565b6001016104e2565b50505050506106b3565b600161058a6020830183610ce7565b600181111561059b5761059b610cd1565b0361038d576105b06040820160208301610d59565b6001600160a01b03163b6000036106015760405162461bcd60e51b815260206004820152601560248201527424a72b20a624a22fa2a92198989a9aafaa27a5a2a760591b6044820152606401610188565b6106116040820160208301610d59565b6001600160a01b0316632eb2c2d6338961062e6040860186610d0f565b61063b6060880188610d0f565b6040518763ffffffff1660e01b815260040161065c96959493929190610e17565b600060405180830381600087803b15801561067657600080fd5b505af1925050508015610687575060015b6106ae5783156106a95760405162461bcd60e51b815260040161018890610e76565b6106b3565b600192505b506001016103db565b505b806100c05760405162461bcd60e51b815260206004820152601760248201527f7472616e736665724974656d734578206661696c65642e0000000000000000006044820152606401610188565b83821461076a5760405162461bcd60e51b815260206004820152602760248201527f7472616e736665724552433732317345782f41525241595f4c454e4754485f4d604482015266092a69a82a886960cb1b6064820152608401610188565b60006001600160a01b0387163b156108755760005b8581101561086f57600087878381811061079b5761079b610c9b565b90506020020160208101906107b09190610d59565b9050806001600160a01b03163b6000036107dc5760405162461bcd60e51b815260040161018890610d74565b3660008787858181106107f1576107f1610c9b565b90506020028101906108039190610d0f565b90925090508060005b8181101561085f5761082b858e86868581811061020757610207610c9b565b156108395760019650610857565b87156108575760405162461bcd60e51b815260040161018890610da2565b60010161080c565b505050505080600101905061077f565b5061099a565b60005b8581101561099857600087878381811061089457610894610c9b565b90506020020160208101906108a99190610d59565b9050806001600160a01b03163b6000036108d55760405162461bcd60e51b815260040161018890610d74565b3660008787858181106108ea576108ea610c9b565b90506020028101906108fc9190610d0f565b90925090508060005b8181101561098857610924858e86868581811061050157610501610c9b565b156109325760019650610980565b87156109805760405162461bcd60e51b815260206004820152601f60248201527f5f7472616e736665724552433732312f5452414e534645525f4641494c4544006044820152606401610188565b600101610905565b5050505050806001019050610878565b505b806109e75760405162461bcd60e51b815260206004820152601960248201527f7472616e73666572455243373231734578206661696c65642e000000000000006044820152606401610188565b50505050505050565b6000604051632142170760e11b81523360048201528360248201528260448201526000806064836000895af195945050505050565b60006040516323b872dd60e01b81523360048201528360248201528260448201526000806064836000895af195945050505050565b80356001600160a01b0381168114610a7157600080fd5b919050565b60008083601f840112610a8857600080fd5b50813567ffffffffffffffff811115610aa057600080fd5b6020830191508360208260051b8501011115610abb57600080fd5b9250929050565b600080600060408486031215610ad757600080fd5b610ae084610a5a565b9250602084013567ffffffffffffffff811115610afc57600080fd5b610b0886828701610a76565b9497909650939450505050565b600080600080600060608688031215610b2d57600080fd5b610b3686610a5a565b9450602086013567ffffffffffffffff80821115610b5357600080fd5b610b5f89838a01610a76565b90965094506040880135915080821115610b7857600080fd5b50610b8588828901610a76565b969995985093965092949392505050565b80358015158114610a7157600080fd5b60008060008060608587031215610bbc57600080fd5b610bc585610a5a565b9350602085013567ffffffffffffffff811115610be157600080fd5b610bed87828801610a76565b9094509250610c00905060408601610b96565b905092959194509250565b60008060008060008060808789031215610c2457600080fd5b610c2d87610a5a565b9550602087013567ffffffffffffffff80821115610c4a57600080fd5b610c568a838b01610a76565b90975095506040890135915080821115610c6f57600080fd5b50610c7c89828a01610a76565b9094509250610c8f905060608801610b96565b90509295509295509295565b634e487b7160e01b600052603260045260246000fd5b60008235607e19833603018112610cc757600080fd5b9190910192915050565b634e487b7160e01b600052602160045260246000fd5b600060208284031215610cf957600080fd5b813560028110610d0857600080fd5b9392505050565b6000808335601e19843603018112610d2657600080fd5b83018035915067ffffffffffffffff821115610d4157600080fd5b6020019150600581901b3603821315610abb57600080fd5b600060208284031215610d6b57600080fd5b610d0882610a5a565b60208082526014908201527324a72b20a624a22fa2a9219b9918afaa27a5a2a760611b604082015260600190565b60208082526023908201527f5f736166655472616e736665724552433732312f5452414e534645525f46414960408201526213115160ea1b606082015260800190565b81835260006001600160fb1b03831115610dfe57600080fd5b8260051b80836020870137939093016020019392505050565b6001600160a01b0387811682528616602082015260a060408201819052600090610e449083018688610de5565b8281036060840152610e57818587610de5565b8381036080909401939093525050600081526020019695505050505050565b60208082526029908201527f5f7361666542617463685472616e73666572455243313135352f5452414e5346604082015268115497d1905253115160ba1b60608201526080019056fea26469706673582212205c801b727cf00cd881d58cc856f6f4ca80227cf158a08fc07529422084a388e964736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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.