ETH Price: $3,103.29 (-5.74%)
Gas: 7 Gwei

Contract

0xE92FAed4a9A3DF4eef72AD588D3936002C546bce
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Seaport Addr...154377502022-08-30 2:18:24674 days ago1661825904IN
0xE92FAed4...02C546bce
0 ETH0.0004780816.50901054
Set Conduit Cont...154377502022-08-30 2:18:24674 days ago1661825904IN
0xE92FAed4...02C546bce
0 ETH0.000478116.50901054
Set Conduit Cont...154015512022-08-24 7:20:28680 days ago1661325628IN
0xE92FAed4...02C546bce
0 ETH0.000372788.10828678
0x60806040154015172022-08-24 7:13:10680 days ago1661325190IN
 Create: SeaportAdapter
0 ETH0.021935612.79346265

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
154376572022-08-30 1:56:13674 days ago1661824573
0xE92FAed4...02C546bce
1.498 ETH
154376572022-08-30 1:56:13674 days ago1661824573
0xE92FAed4...02C546bce
1.498 ETH
154375302022-08-30 1:26:12674 days ago1661822772
0xE92FAed4...02C546bce
0 ETH
154375302022-08-30 1:26:12674 days ago1661822772
0xE92FAed4...02C546bce
0 ETH
154373162022-08-30 0:36:29674 days ago1661819789
0xE92FAed4...02C546bce
0.097 ETH
154373162022-08-30 0:36:29674 days ago1661819789
0xE92FAed4...02C546bce
0.097 ETH
154368682022-08-29 22:59:59675 days ago1661813999
0xE92FAed4...02C546bce
0.298 ETH
154368682022-08-29 22:59:59675 days ago1661813999
0xE92FAed4...02C546bce
0.298 ETH
154367152022-08-29 22:28:06675 days ago1661812086
0xE92FAed4...02C546bce
0.1427 ETH
154367152022-08-29 22:28:06675 days ago1661812086
0xE92FAed4...02C546bce
0.1427 ETH
154360962022-08-29 20:04:01675 days ago1661803441
0xE92FAed4...02C546bce
0.0119 ETH
154360962022-08-29 20:04:01675 days ago1661803441
0xE92FAed4...02C546bce
0.0119 ETH
154359742022-08-29 19:37:45675 days ago1661801865
0xE92FAed4...02C546bce
0.0087 ETH
154359742022-08-29 19:37:45675 days ago1661801865
0xE92FAed4...02C546bce
0.0087 ETH
154358102022-08-29 18:59:33675 days ago1661799573
0xE92FAed4...02C546bce
0.0802 ETH
154358102022-08-29 18:59:33675 days ago1661799573
0xE92FAed4...02C546bce
0.0802 ETH
154357922022-08-29 18:57:20675 days ago1661799440
0xE92FAed4...02C546bce
0.007 ETH
154357922022-08-29 18:57:20675 days ago1661799440
0xE92FAed4...02C546bce
0.007 ETH
154357282022-08-29 18:44:32675 days ago1661798672
0xE92FAed4...02C546bce
0.00531 ETH
154357282022-08-29 18:44:32675 days ago1661798672
0xE92FAed4...02C546bce
0.00531 ETH
154357162022-08-29 18:41:22675 days ago1661798482
0xE92FAed4...02C546bce
0.0311 ETH
154357162022-08-29 18:41:22675 days ago1661798482
0xE92FAed4...02C546bce
0.0311 ETH
154356912022-08-29 18:33:09675 days ago1661797989
0xE92FAed4...02C546bce
0.00531 ETH
154356912022-08-29 18:33:09675 days ago1661797989
0xE92FAed4...02C546bce
0.00531 ETH
154354132022-08-29 17:25:16675 days ago1661793916
0xE92FAed4...02C546bce
0.15 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SeaportAdapter

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : SeaportAdapter.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "./interfaces/ISeaportAdapter.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import "./interfaces/IConduitController.sol";

contract SeaportAdapter is
Ownable,
ReentrancyGuard,
ERC1155Holder,
ERC721Holder
{
    address public seaport;

    bytes4 public constant IID_IERC1155 = type(IERC1155).interfaceId;

    bytes4 public constant IID_IERC721 = type(IERC721).interfaceId;

    address public conduitControllerAddress;

    bytes32 public OPENSEA_CONDUIT_KEY =
    0x0000007b02230091a7ed01230072f7006a004d60a8d4e71d599b8104250f0000;

    using SafeERC20 for IERC20;

    receive() external payable {
        // Reject unexpected address sending ether, only accecpt Seaport refunding.
        require(msg.sender == seaport, "Unexpected ether sender");
    }

    constructor(address _seaport) {
        seaport = _seaport;
    }

    /// @dev set seaport address
    ///
    /// @param _seaport new seaport address
    function setSeaportAddress(address _seaport) external onlyOwner {
        seaport = _seaport;
    }

    function setConduitController(address _conduitControllerAddress)
    external
    onlyOwner
    {
        conduitControllerAddress = _conduitControllerAddress;
    }

    function setConduitKey(bytes32 key) external onlyOwner {
        OPENSEA_CONDUIT_KEY = key;
    }

    /// @dev Buy NFT in seaport market place on behalf of user.
    ///
    /// @param _calldata abi encoded calldata to Seaport market place.
    /// @param recipient NFT's final receiver. NOTE: it also used as the refunding receiver instead of the msg.sender。
    ///                  We assume `recipient` is an EOA, otherwise the NFT may stuck in this contract.
    /// @param tokenAddress NFT contract address
    /// @param tokenId token id
    /// @param amount token amount, useful for ERC1155 token
    /// @param payToken address(0) is native,other address is erc20
    /// @param payAmount is price*amount
    function seaportBuy(
        bytes calldata _calldata,
        address recipient,
        address tokenAddress,
        uint256 tokenId,
        uint256 amount,
        address payToken,
        uint256 payAmount
    ) external payable nonReentrant {
        bool success;

        if (payToken != address(0)) {
            IERC20(payToken).safeTransferFrom(
                recipient,
                address(this),
                payAmount
            );

            (address conduit, bool hasConduit) = IConduitController(
                conduitControllerAddress
            ).getConduit(OPENSEA_CONDUIT_KEY);

            require(hasConduit, "conduit controller address error!");

            IERC20(payToken).safeApprove(conduit, payAmount);

            (success, ) = seaport.call(_calldata);
        } else {
            (success, ) = seaport.call{value: msg.value}(_calldata);
        }

        require(success, "Seaport buy failed");

        // NOTE: Caller must guarantee that the `recipient` is the expected NFT receiver.
        _tranferNFT(tokenAddress, address(this), recipient, tokenId, amount);

        if (payToken == address(0)) {
            // Refund to `recipient` when buy NFT failed or Seaport gives back remaining ether.
            // NOTE: Caller must guarantee that the `recipient` is the expected refunding receiver.
            uint256 refund = address(this).balance;
            if (refund > 0) {
                Address.sendValue(payable(recipient), refund);
            }
        }
    }

    /// @dev Accept offer on seaport market place on behalf of user.
    ///
    /// @param _calldata abi encoded calldata to Seaport market place.
    /// @param acceptToken ERC20 token received after accept offer.
    /// @param recipient Accept token receiver and NFT offerer.
    /// @param tokenAddress NFT contract address.
    /// @param tokenId token id.
    /// @param amount token amount, useful for ERC1155 token.
    function seaportAcceptOffer(
        bytes calldata _calldata,
        address acceptToken,
        address recipient,
        address tokenAddress,
        uint256 tokenId,
        uint256 amount
    ) external nonReentrant {
        // transfer recipient's NFT to this contract.
        _tranferNFT(tokenAddress, recipient, address(this), tokenId, amount);

        (address conduit, bool hasConduit) = IConduitController(
            conduitControllerAddress
        ).getConduit(OPENSEA_CONDUIT_KEY);
        require(hasConduit, "conduit controller address error!");

        // both ERC721 and ERC1155 share the same `setApprovalForAll` method.
        IERC721(tokenAddress).setApprovalForAll(conduit, true);

        // accept offer on seaport.
        (bool success, ) = seaport.call(_calldata);
        require(success, "Seaport accept offer failed");

        // transfer ERC20 to recipient.
        SafeERC20.safeTransfer(
            IERC20(acceptToken),
            recipient,
            IERC20(acceptToken).balanceOf(address(this))
        );

        // revoke approval.
        IERC721(tokenAddress).setApprovalForAll(conduit, false);
    }

    /// @dev In case we can withdraw unexpectedly stucked NFT.
    ///
    /// @param tokenAddress NFT contract address
    /// @param recipient token recipient
    /// @param tokenId token id
    /// @param amount token amount, useful for ERC1155 token
    function withdrawNFT(
        address tokenAddress,
        address recipient,
        uint256 tokenId,
        uint256 amount
    ) external onlyOwner {
        _tranferNFT(tokenAddress, address(this), recipient, tokenId, amount);
    }

    /// @dev Withdraw eth
    ///
    /// @param recipient ether recipient
    /// @param amount ether amount
    function withdrawETH(address recipient, uint256 amount) external onlyOwner {
        Address.sendValue(payable(recipient), amount);
    }

    /// @dev Withdraw erc20 token
    ///
    /// @param tokenAddress ERC20 token address
    /// @param recipient token recipient
    /// @param amount withraw amount
    function withdrawERC20(
        address tokenAddress,
        address recipient,
        uint256 amount
    ) external onlyOwner {
        SafeERC20.safeTransfer(IERC20(tokenAddress), recipient, amount);
    }

    function _tranferNFT(
        address tokenAddress,
        address from,
        address recipient,
        uint256 tokenId,
        uint256 amount
    ) internal {
        if (IERC165(tokenAddress).supportsInterface(IID_IERC721)) {
            IERC721(tokenAddress).safeTransferFrom(
                from,
                recipient,
                tokenId,
                ""
            );
        } else if (IERC165(tokenAddress).supportsInterface(IID_IERC1155)) {
            IERC1155(tokenAddress).safeTransferFrom(
                from,
                recipient,
                tokenId,
                amount,
                ""
            );
        } else {
            revert("Unsupported interface");
        }
    }

    //old version
    function seaportBuy(
        bytes calldata _calldata,
        address recipient,
        address tokenAddress,
        uint256 tokenId,
        uint256 amount
    ) external payable nonReentrant {
        (bool success, ) = seaport.call{value: msg.value}(_calldata);

        require(success, "Seaport buy failed");

        // NOTE: Caller must guarantee that the `recipient` is the expected NFT receiver.
        _tranferNFT(tokenAddress, address(this),recipient, tokenId, amount);

        // Refund to `recipient` when buy NFT failed or Seaport gives back remaining ether.
        // NOTE: Caller must guarantee that the `recipient` is the expected refunding receiver.
        uint256 refund = address(this).balance;
        if (refund > 0) {
            Address.sendValue(payable(recipient), refund);
        }
    }


}

File 2 of 18 : ISeaportAdapter.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

interface ISeaportAdapter {

    function seaportBuy(
        bytes calldata _calldata,
        address recipient,
        address tokenAddress,
        uint256 tokenId,
        uint256 amount,
        address payToken,
        uint256 payAmount

    ) external payable;

    function seaportAccetpOffer(
        bytes calldata _calldata,
        address acceptToken,
        address recipient,
        address tokenAddress,
        uint256 tokenId,
        uint256 amount
    ) external;
}

File 3 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 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`, checking first that contract recipients
     * are aware of the ERC721 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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 caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @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);

    /**
     * @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;
}

File 4 of 18 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 be 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;
}

File 5 of 18 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @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);
}

File 6 of 18 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 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 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @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).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 7 of 18 : ERC721Holder.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/utils/ERC721Holder.sol)

pragma solidity ^0.8.0;

import "../IERC721Receiver.sol";

/**
 * @dev Implementation of the {IERC721Receiver} interface.
 *
 * Accepts all token transfers.
 * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
 */
contract ERC721Holder is IERC721Receiver {
    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

File 8 of 18 : ERC1155Holder.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Holder.sol)

pragma solidity ^0.8.0;

import "./ERC1155Receiver.sol";

/**
 * @dev _Available since v3.1._
 */
contract ERC1155Holder is ERC1155Receiver {
    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] memory,
        uint256[] memory,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155BatchReceived.selector;
    }
}

File 9 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 10 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 18 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 12 of 18 : IERC165.sol
// 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);
}

File 13 of 18 : IConduitController.sol
pragma solidity ^0.8.0;

interface IConduitController {

    function getConduit(bytes32 conduitKey) external view returns (address conduit, bool exists);

}

File 14 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 15 of 18 : ERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)

pragma solidity ^0.8.0;

import "../IERC1155Receiver.sol";
import "../../../utils/introspection/ERC165.sol";

/**
 * @dev _Available since v3.1._
 */
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
    }
}

File 16 of 18 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 17 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 18 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_seaport","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"IID_IERC1155","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IID_IERC721","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPENSEA_CONDUIT_KEY","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"conduitControllerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","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":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","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":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seaport","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_calldata","type":"bytes"},{"internalType":"address","name":"acceptToken","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"seaportAcceptOffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_calldata","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"seaportBuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_calldata","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"payToken","type":"address"},{"internalType":"uint256","name":"payAmount","type":"uint256"}],"name":"seaportBuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_conduitControllerAddress","type":"address"}],"name":"setConduitController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"key","type":"bytes32"}],"name":"setConduitKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_seaport","type":"address"}],"name":"setSeaportAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040527c7b02230091a7ed01230072f7006a004d60a8d4e71d599b8104250f000060045534801561003157600080fd5b5060405162001d6b38038062001d6b833981016040819052610052916100d4565b61005b33610084565b60018055600280546001600160a01b0319166001600160a01b0392909216919091179055610102565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100e5578081fd5b81516001600160a01b03811681146100fb578182fd5b9392505050565b611c5980620001126000396000f3fe60806040526004361061012e5760003560e01c8063b30f2249116100ab578063e67ece911161006f578063e67ece91146103a5578063f1e4e553146103c5578063f23a6e61146103e5578063f2fde38b14610411578063f5c7bd7014610431578063f74eae5a1461045157600080fd5b8063b30f224914610307578063bc197c811461031a578063ce3bf70d14610346578063ce42cfca14610366578063e0966dad1461038a57600080fd5b806344a46150116100f257806344a46150146102655780634782f77914610285578063715018a6146102a55780638da5cb5b146102ba5780639b8cfe52146102ec57600080fd5b806301ffc9a71461019957806313a6f9b9146101ce578063150b7a02146101ee5780633f4a7fd11461023257806344004cc11461024557600080fd5b36610194576002546001600160a01b031633146101925760405162461bcd60e51b815260206004820152601760248201527f556e65787065637465642065746865722073656e64657200000000000000000060448201526064015b60405180910390fd5b005b600080fd5b3480156101a557600080fd5b506101b96101b43660046118b3565b610471565b60405190151581526020015b60405180910390f35b3480156101da57600080fd5b506101926101e93660046118db565b6104a8565b3480156101fa57600080fd5b5061021961020936600461170c565b630a85bd0160e11b949350505050565b6040516001600160e01b031990911681526020016101c5565b610192610240366004611968565b61078c565b34801561025157600080fd5b506101926102603660046116cc565b61088a565b34801561027157600080fd5b50610192610280366004611606565b6108c4565b34801561029157600080fd5b506101926102a0366004611856565b610910565b3480156102b157600080fd5b50610192610948565b3480156102c657600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101c5565b3480156102f857600080fd5b50610219636cdb3d1360e11b81565b6101926103153660046119e0565b61097e565b34801561032657600080fd5b50610219610335366004611622565b63bc197c8160e01b95945050505050565b34801561035257600080fd5b506003546102d4906001600160a01b031681565b34801561037257600080fd5b5061037c60045481565b6040519081526020016101c5565b34801561039657600080fd5b506102196380ac58cd60e01b81565b3480156103b157600080fd5b506101926103c0366004611606565b610bd8565b3480156103d157600080fd5b506101926103e0366004611776565b610c24565b3480156103f157600080fd5b506102196104003660046117bb565b63f23a6e6160e01b95945050505050565b34801561041d57600080fd5b5061019261042c366004611606565b610c61565b34801561043d57600080fd5b506002546102d4906001600160a01b031681565b34801561045d57600080fd5b5061019261046c36600461189b565b610cfc565b60006001600160e01b03198216630271189760e51b14806104a257506301ffc9a760e01b6001600160e01b03198316145b92915050565b600260015414156104cb5760405162461bcd60e51b815260040161018990611b64565b60026001556104dd8385308585610d2b565b60035460048054604051636e9bfd9f60e01b81529182015260009182916001600160a01b0390911690636e9bfd9f90602401604080518083038186803b15801561052657600080fd5b505afa15801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e9190611822565b915091508061057f5760405162461bcd60e51b815260040161018990611b23565b60405163a22cb46560e01b81526001600160a01b0383811660048301526001602483015286169063a22cb46590604401600060405180830381600087803b1580156105c957600080fd5b505af11580156105dd573d6000803e3d6000fd5b5050600254604051600093506001600160a01b039091169150610603908c908c90611a8f565b6000604051808303816000865af19150503d8060008114610640576040519150601f19603f3d011682016040523d82523d6000602084013e610645565b606091505b50509050806106965760405162461bcd60e51b815260206004820152601b60248201527f536561706f727420616363657074206f66666572206661696c656400000000006044820152606401610189565b6040516370a0823160e01b815230600482015261071a90899089906001600160a01b038316906370a082319060240160206040518083038186803b1580156106dd57600080fd5b505afa1580156106f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107159190611a77565b610f48565b60405163a22cb46560e01b81526001600160a01b0384811660048301526000602483015287169063a22cb46590604401600060405180830381600087803b15801561076457600080fd5b505af1158015610778573d6000803e3d6000fd5b505060018055505050505050505050505050565b600260015414156107af5760405162461bcd60e51b815260040161018990611b64565b60026001819055546040516000916001600160a01b03169034906107d6908a908a90611a8f565b60006040518083038185875af1925050503d8060008114610813576040519150601f19603f3d011682016040523d82523d6000602084013e610818565b606091505b505090508061085e5760405162461bcd60e51b815260206004820152601260248201527114d9585c1bdc9d08189d5e4819985a5b195960721b6044820152606401610189565b61086b8430878686610d2b565b47801561087c5761087c8682610fab565b505060018055505050505050565b6000546001600160a01b031633146108b45760405162461bcd60e51b815260040161018990611aee565b6108bf838383610f48565b505050565b6000546001600160a01b031633146108ee5760405162461bcd60e51b815260040161018990611aee565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461093a5760405162461bcd60e51b815260040161018990611aee565b6109448282610fab565b5050565b6000546001600160a01b031633146109725760405162461bcd60e51b815260040161018990611aee565b61097c60006110c4565b565b600260015414156109a15760405162461bcd60e51b815260040161018990611b64565b600260015560006001600160a01b03831615610af0576109cc6001600160a01b038416883085611114565b60035460048054604051636e9bfd9f60e01b81529182015260009182916001600160a01b0390911690636e9bfd9f90602401604080518083038186803b158015610a1557600080fd5b505afa158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d9190611822565b9150915080610a6e5760405162461bcd60e51b815260040161018990611b23565b610a826001600160a01b038616838661114c565b6002546040516001600160a01b0390911690610aa1908d908d90611a8f565b6000604051808303816000865af19150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b5050809350505050610b59565b6002546040516001600160a01b03909116903490610b11908c908c90611a8f565b60006040518083038185875af1925050503d8060008114610b4e576040519150601f19603f3d011682016040523d82523d6000602084013e610b53565b606091505b50909150505b80610b9b5760405162461bcd60e51b815260206004820152601260248201527114d9585c1bdc9d08189d5e4819985a5b195960721b6044820152606401610189565b610ba88630898888610d2b565b6001600160a01b038316610bc957478015610bc757610bc78882610fab565b505b50506001805550505050505050565b6000546001600160a01b03163314610c025760405162461bcd60e51b815260040161018990611aee565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610c4e5760405162461bcd60e51b815260040161018990611aee565b610c5b8430858585610d2b565b50505050565b6000546001600160a01b03163314610c8b5760405162461bcd60e51b815260040161018990611aee565b6001600160a01b038116610cf05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610189565b610cf9816110c4565b50565b6000546001600160a01b03163314610d265760405162461bcd60e51b815260040161018990611aee565b600455565b6040516301ffc9a760e01b81526380ac58cd60e01b60048201526001600160a01b038616906301ffc9a79060240160206040518083038186803b158015610d7157600080fd5b505afa158015610d85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da99190611881565b15610e2c57604051635c46a7ef60e11b81526001600160a01b038581166004830152848116602483015260448201849052608060648301526000608483015286169063b88d4fde9060a4015b600060405180830381600087803b158015610e0f57600080fd5b505af1158015610e23573d6000803e3d6000fd5b50505050610f41565b6040516301ffc9a760e01b8152636cdb3d1360e11b60048201526001600160a01b038616906301ffc9a79060240160206040518083038186803b158015610e7257600080fd5b505afa158015610e86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaa9190611881565b15610f0157604051637921219560e11b81526001600160a01b0385811660048301528481166024830152604482018490526064820183905260a06084830152600060a483015286169063f242432a9060c401610df5565b60405162461bcd60e51b8152602060048201526015602482015274556e737570706f7274656420696e7465726661636560581b6044820152606401610189565b5050505050565b6040516001600160a01b0383166024820152604481018290526108bf90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611270565b80471015610ffb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610189565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611048576040519150601f19603f3d011682016040523d82523d6000602084013e61104d565b606091505b50509050806108bf5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610189565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052610c5b9085906323b872dd60e01b90608401610f74565b8015806111d55750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561119b57600080fd5b505afa1580156111af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d39190611a77565b155b6112405760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610189565b6040516001600160a01b0383166024820152604481018290526108bf90849063095ea7b360e01b90606401610f74565b60006112c5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113429092919063ffffffff16565b8051909150156108bf57808060200190518101906112e39190611881565b6108bf5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610189565b6060611351848460008561135b565b90505b9392505050565b6060824710156113bc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610189565b843b61140a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610189565b600080866001600160a01b031685876040516114269190611a9f565b60006040518083038185875af1925050503d8060008114611463576040519150601f19603f3d011682016040523d82523d6000602084013e611468565b606091505b5091509150611478828286611483565b979650505050505050565b60608315611492575081611354565b8251156114a25782518084602001fd5b8160405162461bcd60e51b81526004016101899190611abb565b600082601f8301126114cc578081fd5b8135602067ffffffffffffffff8211156114e8576114e8611bf8565b8160051b6114f7828201611b9b565b838152828101908684018388018501891015611511578687fd5b8693505b85841015611533578035835260019390930192918401918401611515565b50979650505050505050565b8051801515811461154f57600080fd5b919050565b60008083601f840112611565578182fd5b50813567ffffffffffffffff81111561157c578182fd5b60208301915083602082850101111561159457600080fd5b9250929050565b600082601f8301126115ab578081fd5b813567ffffffffffffffff8111156115c5576115c5611bf8565b6115d8601f8201601f1916602001611b9b565b8181528460208386010111156115ec578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215611617578081fd5b813561135481611c0e565b600080600080600060a08688031215611639578081fd5b853561164481611c0e565b9450602086013561165481611c0e565b9350604086013567ffffffffffffffff80821115611670578283fd5b61167c89838a016114bc565b94506060880135915080821115611691578283fd5b61169d89838a016114bc565b935060808801359150808211156116b2578283fd5b506116bf8882890161159b565b9150509295509295909350565b6000806000606084860312156116e0578283fd5b83356116eb81611c0e565b925060208401356116fb81611c0e565b929592945050506040919091013590565b60008060008060808587031215611721578384fd5b843561172c81611c0e565b9350602085013561173c81611c0e565b925060408501359150606085013567ffffffffffffffff81111561175e578182fd5b61176a8782880161159b565b91505092959194509250565b6000806000806080858703121561178b578384fd5b843561179681611c0e565b935060208501356117a681611c0e565b93969395505050506040820135916060013590565b600080600080600060a086880312156117d2578081fd5b85356117dd81611c0e565b945060208601356117ed81611c0e565b93506040860135925060608601359150608086013567ffffffffffffffff811115611816578182fd5b6116bf8882890161159b565b60008060408385031215611834578182fd5b825161183f81611c0e565b915061184d6020840161153f565b90509250929050565b60008060408385031215611868578182fd5b823561187381611c0e565b946020939093013593505050565b600060208284031215611892578081fd5b6113548261153f565b6000602082840312156118ac578081fd5b5035919050565b6000602082840312156118c4578081fd5b81356001600160e01b031981168114611354578182fd5b600080600080600080600060c0888a0312156118f5578485fd5b873567ffffffffffffffff81111561190b578586fd5b6119178a828b01611554565b909850965050602088013561192b81611c0e565b9450604088013561193b81611c0e565b9350606088013561194b81611c0e565b969995985093969295946080840135945060a09093013592915050565b60008060008060008060a08789031215611980578384fd5b863567ffffffffffffffff811115611996578485fd5b6119a289828a01611554565b90975095505060208701356119b681611c0e565b935060408701356119c681611c0e565b959894975092956060810135946080909101359350915050565b60008060008060008060008060e0898b0312156119fb578182fd5b883567ffffffffffffffff811115611a11578283fd5b611a1d8b828c01611554565b9099509750506020890135611a3181611c0e565b95506040890135611a4181611c0e565b9450606089013593506080890135925060a0890135611a5f81611c0e565b8092505060c089013590509295985092959890939650565b600060208284031215611a88578081fd5b5051919050565b8183823760009101908152919050565b60008251611ab1818460208701611bcc565b9190910192915050565b6020815260008251806020840152611ada816040850160208701611bcc565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f636f6e6475697420636f6e74726f6c6c65722061646472657373206572726f726040820152602160f81b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611bc457611bc4611bf8565b604052919050565b60005b83811015611be7578181015183820152602001611bcf565b83811115610c5b5750506000910152565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610cf957600080fdfea264697066735822122037974c542642cbe913eeda35e03a17e8fc5fdeb32110ca4eae587dacbe76c9af64736f6c6343000804003300000000000000000000000000000000006c3852cbef3e08e8df289169ede581

Deployed Bytecode

0x60806040526004361061012e5760003560e01c8063b30f2249116100ab578063e67ece911161006f578063e67ece91146103a5578063f1e4e553146103c5578063f23a6e61146103e5578063f2fde38b14610411578063f5c7bd7014610431578063f74eae5a1461045157600080fd5b8063b30f224914610307578063bc197c811461031a578063ce3bf70d14610346578063ce42cfca14610366578063e0966dad1461038a57600080fd5b806344a46150116100f257806344a46150146102655780634782f77914610285578063715018a6146102a55780638da5cb5b146102ba5780639b8cfe52146102ec57600080fd5b806301ffc9a71461019957806313a6f9b9146101ce578063150b7a02146101ee5780633f4a7fd11461023257806344004cc11461024557600080fd5b36610194576002546001600160a01b031633146101925760405162461bcd60e51b815260206004820152601760248201527f556e65787065637465642065746865722073656e64657200000000000000000060448201526064015b60405180910390fd5b005b600080fd5b3480156101a557600080fd5b506101b96101b43660046118b3565b610471565b60405190151581526020015b60405180910390f35b3480156101da57600080fd5b506101926101e93660046118db565b6104a8565b3480156101fa57600080fd5b5061021961020936600461170c565b630a85bd0160e11b949350505050565b6040516001600160e01b031990911681526020016101c5565b610192610240366004611968565b61078c565b34801561025157600080fd5b506101926102603660046116cc565b61088a565b34801561027157600080fd5b50610192610280366004611606565b6108c4565b34801561029157600080fd5b506101926102a0366004611856565b610910565b3480156102b157600080fd5b50610192610948565b3480156102c657600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101c5565b3480156102f857600080fd5b50610219636cdb3d1360e11b81565b6101926103153660046119e0565b61097e565b34801561032657600080fd5b50610219610335366004611622565b63bc197c8160e01b95945050505050565b34801561035257600080fd5b506003546102d4906001600160a01b031681565b34801561037257600080fd5b5061037c60045481565b6040519081526020016101c5565b34801561039657600080fd5b506102196380ac58cd60e01b81565b3480156103b157600080fd5b506101926103c0366004611606565b610bd8565b3480156103d157600080fd5b506101926103e0366004611776565b610c24565b3480156103f157600080fd5b506102196104003660046117bb565b63f23a6e6160e01b95945050505050565b34801561041d57600080fd5b5061019261042c366004611606565b610c61565b34801561043d57600080fd5b506002546102d4906001600160a01b031681565b34801561045d57600080fd5b5061019261046c36600461189b565b610cfc565b60006001600160e01b03198216630271189760e51b14806104a257506301ffc9a760e01b6001600160e01b03198316145b92915050565b600260015414156104cb5760405162461bcd60e51b815260040161018990611b64565b60026001556104dd8385308585610d2b565b60035460048054604051636e9bfd9f60e01b81529182015260009182916001600160a01b0390911690636e9bfd9f90602401604080518083038186803b15801561052657600080fd5b505afa15801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e9190611822565b915091508061057f5760405162461bcd60e51b815260040161018990611b23565b60405163a22cb46560e01b81526001600160a01b0383811660048301526001602483015286169063a22cb46590604401600060405180830381600087803b1580156105c957600080fd5b505af11580156105dd573d6000803e3d6000fd5b5050600254604051600093506001600160a01b039091169150610603908c908c90611a8f565b6000604051808303816000865af19150503d8060008114610640576040519150601f19603f3d011682016040523d82523d6000602084013e610645565b606091505b50509050806106965760405162461bcd60e51b815260206004820152601b60248201527f536561706f727420616363657074206f66666572206661696c656400000000006044820152606401610189565b6040516370a0823160e01b815230600482015261071a90899089906001600160a01b038316906370a082319060240160206040518083038186803b1580156106dd57600080fd5b505afa1580156106f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107159190611a77565b610f48565b60405163a22cb46560e01b81526001600160a01b0384811660048301526000602483015287169063a22cb46590604401600060405180830381600087803b15801561076457600080fd5b505af1158015610778573d6000803e3d6000fd5b505060018055505050505050505050505050565b600260015414156107af5760405162461bcd60e51b815260040161018990611b64565b60026001819055546040516000916001600160a01b03169034906107d6908a908a90611a8f565b60006040518083038185875af1925050503d8060008114610813576040519150601f19603f3d011682016040523d82523d6000602084013e610818565b606091505b505090508061085e5760405162461bcd60e51b815260206004820152601260248201527114d9585c1bdc9d08189d5e4819985a5b195960721b6044820152606401610189565b61086b8430878686610d2b565b47801561087c5761087c8682610fab565b505060018055505050505050565b6000546001600160a01b031633146108b45760405162461bcd60e51b815260040161018990611aee565b6108bf838383610f48565b505050565b6000546001600160a01b031633146108ee5760405162461bcd60e51b815260040161018990611aee565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461093a5760405162461bcd60e51b815260040161018990611aee565b6109448282610fab565b5050565b6000546001600160a01b031633146109725760405162461bcd60e51b815260040161018990611aee565b61097c60006110c4565b565b600260015414156109a15760405162461bcd60e51b815260040161018990611b64565b600260015560006001600160a01b03831615610af0576109cc6001600160a01b038416883085611114565b60035460048054604051636e9bfd9f60e01b81529182015260009182916001600160a01b0390911690636e9bfd9f90602401604080518083038186803b158015610a1557600080fd5b505afa158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d9190611822565b9150915080610a6e5760405162461bcd60e51b815260040161018990611b23565b610a826001600160a01b038616838661114c565b6002546040516001600160a01b0390911690610aa1908d908d90611a8f565b6000604051808303816000865af19150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b5050809350505050610b59565b6002546040516001600160a01b03909116903490610b11908c908c90611a8f565b60006040518083038185875af1925050503d8060008114610b4e576040519150601f19603f3d011682016040523d82523d6000602084013e610b53565b606091505b50909150505b80610b9b5760405162461bcd60e51b815260206004820152601260248201527114d9585c1bdc9d08189d5e4819985a5b195960721b6044820152606401610189565b610ba88630898888610d2b565b6001600160a01b038316610bc957478015610bc757610bc78882610fab565b505b50506001805550505050505050565b6000546001600160a01b03163314610c025760405162461bcd60e51b815260040161018990611aee565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610c4e5760405162461bcd60e51b815260040161018990611aee565b610c5b8430858585610d2b565b50505050565b6000546001600160a01b03163314610c8b5760405162461bcd60e51b815260040161018990611aee565b6001600160a01b038116610cf05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610189565b610cf9816110c4565b50565b6000546001600160a01b03163314610d265760405162461bcd60e51b815260040161018990611aee565b600455565b6040516301ffc9a760e01b81526380ac58cd60e01b60048201526001600160a01b038616906301ffc9a79060240160206040518083038186803b158015610d7157600080fd5b505afa158015610d85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da99190611881565b15610e2c57604051635c46a7ef60e11b81526001600160a01b038581166004830152848116602483015260448201849052608060648301526000608483015286169063b88d4fde9060a4015b600060405180830381600087803b158015610e0f57600080fd5b505af1158015610e23573d6000803e3d6000fd5b50505050610f41565b6040516301ffc9a760e01b8152636cdb3d1360e11b60048201526001600160a01b038616906301ffc9a79060240160206040518083038186803b158015610e7257600080fd5b505afa158015610e86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaa9190611881565b15610f0157604051637921219560e11b81526001600160a01b0385811660048301528481166024830152604482018490526064820183905260a06084830152600060a483015286169063f242432a9060c401610df5565b60405162461bcd60e51b8152602060048201526015602482015274556e737570706f7274656420696e7465726661636560581b6044820152606401610189565b5050505050565b6040516001600160a01b0383166024820152604481018290526108bf90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611270565b80471015610ffb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610189565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611048576040519150601f19603f3d011682016040523d82523d6000602084013e61104d565b606091505b50509050806108bf5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610189565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052610c5b9085906323b872dd60e01b90608401610f74565b8015806111d55750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561119b57600080fd5b505afa1580156111af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d39190611a77565b155b6112405760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610189565b6040516001600160a01b0383166024820152604481018290526108bf90849063095ea7b360e01b90606401610f74565b60006112c5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113429092919063ffffffff16565b8051909150156108bf57808060200190518101906112e39190611881565b6108bf5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610189565b6060611351848460008561135b565b90505b9392505050565b6060824710156113bc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610189565b843b61140a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610189565b600080866001600160a01b031685876040516114269190611a9f565b60006040518083038185875af1925050503d8060008114611463576040519150601f19603f3d011682016040523d82523d6000602084013e611468565b606091505b5091509150611478828286611483565b979650505050505050565b60608315611492575081611354565b8251156114a25782518084602001fd5b8160405162461bcd60e51b81526004016101899190611abb565b600082601f8301126114cc578081fd5b8135602067ffffffffffffffff8211156114e8576114e8611bf8565b8160051b6114f7828201611b9b565b838152828101908684018388018501891015611511578687fd5b8693505b85841015611533578035835260019390930192918401918401611515565b50979650505050505050565b8051801515811461154f57600080fd5b919050565b60008083601f840112611565578182fd5b50813567ffffffffffffffff81111561157c578182fd5b60208301915083602082850101111561159457600080fd5b9250929050565b600082601f8301126115ab578081fd5b813567ffffffffffffffff8111156115c5576115c5611bf8565b6115d8601f8201601f1916602001611b9b565b8181528460208386010111156115ec578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215611617578081fd5b813561135481611c0e565b600080600080600060a08688031215611639578081fd5b853561164481611c0e565b9450602086013561165481611c0e565b9350604086013567ffffffffffffffff80821115611670578283fd5b61167c89838a016114bc565b94506060880135915080821115611691578283fd5b61169d89838a016114bc565b935060808801359150808211156116b2578283fd5b506116bf8882890161159b565b9150509295509295909350565b6000806000606084860312156116e0578283fd5b83356116eb81611c0e565b925060208401356116fb81611c0e565b929592945050506040919091013590565b60008060008060808587031215611721578384fd5b843561172c81611c0e565b9350602085013561173c81611c0e565b925060408501359150606085013567ffffffffffffffff81111561175e578182fd5b61176a8782880161159b565b91505092959194509250565b6000806000806080858703121561178b578384fd5b843561179681611c0e565b935060208501356117a681611c0e565b93969395505050506040820135916060013590565b600080600080600060a086880312156117d2578081fd5b85356117dd81611c0e565b945060208601356117ed81611c0e565b93506040860135925060608601359150608086013567ffffffffffffffff811115611816578182fd5b6116bf8882890161159b565b60008060408385031215611834578182fd5b825161183f81611c0e565b915061184d6020840161153f565b90509250929050565b60008060408385031215611868578182fd5b823561187381611c0e565b946020939093013593505050565b600060208284031215611892578081fd5b6113548261153f565b6000602082840312156118ac578081fd5b5035919050565b6000602082840312156118c4578081fd5b81356001600160e01b031981168114611354578182fd5b600080600080600080600060c0888a0312156118f5578485fd5b873567ffffffffffffffff81111561190b578586fd5b6119178a828b01611554565b909850965050602088013561192b81611c0e565b9450604088013561193b81611c0e565b9350606088013561194b81611c0e565b969995985093969295946080840135945060a09093013592915050565b60008060008060008060a08789031215611980578384fd5b863567ffffffffffffffff811115611996578485fd5b6119a289828a01611554565b90975095505060208701356119b681611c0e565b935060408701356119c681611c0e565b959894975092956060810135946080909101359350915050565b60008060008060008060008060e0898b0312156119fb578182fd5b883567ffffffffffffffff811115611a11578283fd5b611a1d8b828c01611554565b9099509750506020890135611a3181611c0e565b95506040890135611a4181611c0e565b9450606089013593506080890135925060a0890135611a5f81611c0e565b8092505060c089013590509295985092959890939650565b600060208284031215611a88578081fd5b5051919050565b8183823760009101908152919050565b60008251611ab1818460208701611bcc565b9190910192915050565b6020815260008251806020840152611ada816040850160208701611bcc565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f636f6e6475697420636f6e74726f6c6c65722061646472657373206572726f726040820152602160f81b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611bc457611bc4611bf8565b604052919050565b60005b83811015611be7578181015183820152602001611bcf565b83811115610c5b5750506000910152565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610cf957600080fdfea264697066735822122037974c542642cbe913eeda35e03a17e8fc5fdeb32110ca4eae587dacbe76c9af64736f6c63430008040033

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

00000000000000000000000000000000006c3852cbef3e08e8df289169ede581

-----Decoded View---------------
Arg [0] : _seaport (address): 0x00000000006c3852cbEf3e08E8dF289169EdE581

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000006c3852cbef3e08e8df289169ede581


Block Transaction Difficulty 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
Loading...
Loading
[ 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.