ETH Price: $2,494.88 (-1.03%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Transaction Hash
Method
Block
From
To
Transfer Batch223618192025-04-27 17:14:4734 days ago1745774087IN
X2Y2: ERC721 Delegate
0 ETH0.000097340.90852595
Transfer Batch223613822025-04-27 15:47:1134 days ago1745768831IN
X2Y2: ERC721 Delegate
0 ETH0.000074380.93879245
Transfer Batch223613412025-04-27 15:38:4734 days ago1745768327IN
X2Y2: ERC721 Delegate
0 ETH0.000076961.00112956
Transfer Batch223612972025-04-27 15:29:5934 days ago1745767799IN
X2Y2: ERC721 Delegate
0 ETH0.000057040.8933942
Transfer Batch223596382025-04-27 9:56:5935 days ago1745747819IN
X2Y2: ERC721 Delegate
0 ETH0.000047410.46897202
Transfer Batch223108752025-04-20 14:41:2341 days ago1745160083IN
X2Y2: ERC721 Delegate
0 ETH0.000505510.9
Transfer Batch222891042025-04-17 13:46:3544 days ago1744897595IN
X2Y2: ERC721 Delegate
0 ETH0.000229130.97497759
Transfer Batch222810382025-04-16 10:43:5945 days ago1744800239IN
X2Y2: ERC721 Delegate
0 ETH0.000892580.43452922
Transfer Batch222810142025-04-16 10:39:1145 days ago1744799951IN
X2Y2: ERC721 Delegate
0 ETH0.000648150.4489165
Transfer Batch222752772025-04-15 15:28:3546 days ago1744730915IN
X2Y2: ERC721 Delegate
0 ETH0.00008531.11261118
Transfer Batch222752562025-04-15 15:24:2346 days ago1744730663IN
X2Y2: ERC721 Delegate
0 ETH0.000142141.26652562
Transfer Batch222752452025-04-15 15:22:1146 days ago1744730531IN
X2Y2: ERC721 Delegate
0 ETH0.000096451.25793217
Transfer Batch222752382025-04-15 15:20:4746 days ago1744730447IN
X2Y2: ERC721 Delegate
0 ETH0.000130831.38522189
Transfer Batch222752182025-04-15 15:16:4746 days ago1744730207IN
X2Y2: ERC721 Delegate
0 ETH0.000098191.28064602
Transfer Batch222752042025-04-15 15:13:5946 days ago1744730039IN
X2Y2: ERC721 Delegate
0 ETH0.000192831.19351595
Transfer Batch222751892025-04-15 15:10:4746 days ago1744729847IN
X2Y2: ERC721 Delegate
0 ETH0.000119941.26991506
Transfer Batch222751242025-04-15 14:57:4746 days ago1744729067IN
X2Y2: ERC721 Delegate
0 ETH0.000192751.50570869
Transfer Batch222749672025-04-15 14:26:1146 days ago1744727171IN
X2Y2: ERC721 Delegate
0 ETH0.000286022.2
Transfer Batch222518802025-04-12 9:07:3550 days ago1744448855IN
X2Y2: ERC721 Delegate
0 ETH0.000155350.96484807
Transfer Batch222442492025-04-11 7:37:2351 days ago1744357043IN
X2Y2: ERC721 Delegate
0 ETH0.000081240.54973185
Transfer Batch222384842025-04-10 12:19:2351 days ago1744287563IN
X2Y2: ERC721 Delegate
0 ETH0.000208711.98464348
Transfer Batch222350922025-04-10 0:59:5952 days ago1744246799IN
X2Y2: ERC721 Delegate
0 ETH0.000162671.053505
Transfer Batch222205752025-04-08 0:23:5954 days ago1744071839IN
X2Y2: ERC721 Delegate
0 ETH0.000123661.46821375
Transfer Batch222185092025-04-07 17:27:2354 days ago1744046843IN
X2Y2: ERC721 Delegate
0 ETH0.001884092.2028087
Transfer Batch222184782025-04-07 17:21:1154 days ago1744046471IN
X2Y2: ERC721 Delegate
0 ETH0.002596712.88498047
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
ERC721Delegate

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.0;
pragma abicoder v2;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
import './MarketConsts.sol';
import './IDelegate.sol';

contract ERC721Delegate is IDelegate, AccessControl, IERC721Receiver {
    bytes32 public constant DELEGATION_CALLER = keccak256('DELEGATION_CALLER');

    struct Pair {
        IERC721 token;
        uint256 tokenId;
    }

    constructor() {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external override returns (bytes4) {
        return this.onERC721Received.selector;
    }

    function decode(bytes calldata data) internal pure returns (Pair[] memory) {
        return abi.decode(data, (Pair[]));
    }

    function delegateType() external view returns (uint256) {
        // return uint256(Market.DelegationType.ERC721);
        return 1;
    }

    function executeSell(
        address seller,
        address buyer,
        bytes calldata data
    ) external onlyRole(DELEGATION_CALLER) returns (bool) {
        Pair[] memory pairs = decode(data);
        for (uint256 i = 0; i < pairs.length; i++) {
            Pair memory p = pairs[i];
            p.token.safeTransferFrom(seller, buyer, p.tokenId);
        }
        return true;
    }

    function executeBuy(
        address seller,
        address buyer,
        bytes calldata data
    ) external onlyRole(DELEGATION_CALLER) returns (bool) {
        Pair[] memory pairs = decode(data);
        for (uint256 i = 0; i < pairs.length; i++) {
            Pair memory p = pairs[i];
            p.token.safeTransferFrom(seller, buyer, p.tokenId);
        }
        return true;
    }

    function executeBid(
        address seller,
        address previousBidder,
        address, // bidder,
        bytes calldata data
    ) external onlyRole(DELEGATION_CALLER) returns (bool) {
        if (previousBidder == address(0)) {
            Pair[] memory pairs = decode(data);
            for (uint256 i = 0; i < pairs.length; i++) {
                Pair memory p = pairs[i];
                p.token.safeTransferFrom(seller, address(this), p.tokenId);
            }
        }
        return true;
    }

    function executeAuctionComplete(
        address, // seller,
        address buyer,
        bytes calldata data
    ) external onlyRole(DELEGATION_CALLER) returns (bool) {
        Pair[] memory pairs = decode(data);
        for (uint256 i = 0; i < pairs.length; i++) {
            Pair memory p = pairs[i];
            p.token.safeTransferFrom(address(this), buyer, p.tokenId);
        }
        return true;
    }

    function executeAuctionRefund(
        address seller,
        address, // lastBidder,
        bytes calldata data
    ) external onlyRole(DELEGATION_CALLER) returns (bool) {
        Pair[] memory pairs = decode(data);
        for (uint256 i = 0; i < pairs.length; i++) {
            Pair memory p = pairs[i];
            p.token.safeTransferFrom(address(this), seller, p.tokenId);
        }
        return true;
    }

    function transferBatch(Pair[] memory pairs, address to) public {
        for (uint256 i = 0; i < pairs.length; i++) {
            Pair memory p = pairs[i];
            p.token.safeTransferFrom(msg.sender, to, p.tokenId);
        }
    }
}

// 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 3 of 13 : 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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 13 : MarketConsts.sol
// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.0;
pragma abicoder v2;

import './IDelegate.sol';
import './IWETHUpgradable.sol';

library Market {
    uint256 constant INTENT_SELL = 1;
    uint256 constant INTENT_AUCTION = 2;
    uint256 constant INTENT_BUY = 3;

    uint8 constant SIGN_V1 = 1;
    uint8 constant SIGN_V3 = 3;

    struct OrderItem {
        uint256 price;
        bytes data;
    }

    struct Order {
        uint256 salt;
        address user;
        uint256 network;
        uint256 intent;
        uint256 delegateType;
        uint256 deadline;
        IERC20Upgradeable currency;
        bytes dataMask;
        OrderItem[] items;
        // signature
        bytes32 r;
        bytes32 s;
        uint8 v;
        uint8 signVersion;
    }

    struct Fee {
        uint256 percentage;
        address to;
    }

    struct SettleDetail {
        Market.Op op;
        uint256 orderIdx;
        uint256 itemIdx;
        uint256 price;
        bytes32 itemHash;
        IDelegate executionDelegate;
        bytes dataReplacement;
        uint256 bidIncentivePct;
        uint256 aucMinIncrementPct;
        uint256 aucIncDurationSecs;
        Fee[] fees;
    }

    struct SettleShared {
        uint256 salt;
        uint256 deadline;
        uint256 amountToEth;
        uint256 amountToWeth;
        address user;
        bool canFail;
    }

    struct RunInput {
        Order[] orders;
        SettleDetail[] details;
        SettleShared shared;
        // signature
        bytes32 r;
        bytes32 s;
        uint8 v;
    }

    struct OngoingAuction {
        uint256 price;
        uint256 netPrice;
        uint256 endAt;
        address bidder;
    }

    enum InvStatus {
        NEW,
        AUCTION,
        COMPLETE,
        CANCELLED,
        REFUNDED
    }

    enum Op {
        INVALID,
        // off-chain
        COMPLETE_SELL_OFFER,
        COMPLETE_BUY_OFFER,
        CANCEL_OFFER,
        // auction
        BID,
        COMPLETE_AUCTION,
        REFUND_AUCTION,
        REFUND_AUCTION_STUCK_ITEM
    }

    enum DelegationType {
        INVALID,
        ERC721,
        ERC1155
    }
}

// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.0;
pragma abicoder v2;

interface IDelegate {
    function delegateType() external view returns (uint256);

    function executeSell(
        address seller,
        address buyer,
        bytes calldata data
    ) external returns (bool);

    function executeBuy(
        address seller,
        address buyer,
        bytes calldata data
    ) external returns (bool);

    function executeBid(
        address seller,
        address previousBidder,
        address bidder,
        bytes calldata data
    ) external returns (bool);

    function executeAuctionComplete(
        address seller,
        address buyer,
        bytes calldata data
    ) external returns (bool);

    function executeAuctionRefund(
        address seller,
        address lastBidder,
        bytes calldata data
    ) external returns (bool);
}

// 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: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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

// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.0;
pragma abicoder v2;

import '@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol';

interface IWETHUpgradable is IERC20Upgradeable {
    function deposit() external payable;

    function withdraw(uint256 wad) external;
}

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELEGATION_CALLER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"delegateType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"executeAuctionComplete","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"executeAuctionRefund","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"address","name":"previousBidder","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"executeBid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"executeBuy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"executeSell","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":[{"components":[{"internalType":"contract IERC721","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct ERC721Delegate.Pair[]","name":"pairs","type":"tuple[]"},{"internalType":"address","name":"to","type":"address"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061001c600033610021565b6100c0565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166100bc576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561007b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6110f8806100cf6000396000f3fe608060405234801561001057600080fd5b50600436106100e05760003560e01c80633cbf4f8a116100875780633cbf4f8a146101cb5780638e325979146101de57806391d14854146101f3578063a217fddf14610206578063bc553f0f1461020e578063c23725f914610221578063d547741f14610234578063f477e4fd1461024757600080fd5b806301ffc9a7146100e5578063150b7a021461010d5780631672162614610145578063248a9ca3146101585780632c436e5b146101895780632f2ff15d1461019057806336568abe146101a55780633672c911146101b8575b600080fd5b6100f86100f3366004610b74565b61025a565b60405190151581526020015b60405180910390f35b61012c61011b366004610bfe565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610104565b6100f8610153366004610c70565b610291565b61017b610166366004610cd4565b60009081526020819052604090206001015490565b604051908152602001610104565b600161017b565b6101a361019e366004610ced565b610370565b005b6101a36101b3366004610ced565b61039b565b6100f86101c6366004610c70565b61041e565b6101a36101d9366004610e37565b6104ef565b61017b6000805160206110a383398151915281565b6100f8610201366004610ced565b610597565b61017b600081565b6100f861021c366004610c70565b6105c0565b6100f861022f366004610e7d565b610691565b6101a3610242366004610ced565b610780565b6100f8610255366004610c70565b6107a6565b60006001600160e01b03198216637965db0b60e01b148061028b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60006000805160206110a38339815191526102ac8133610877565b60006102b885856108db565b905060005b81518110156103625760008282815181106102da576102da610edb565b6020026020010151905080600001516001600160a01b03166342842e0e8a8a84602001516040518463ffffffff1660e01b815260040161031c93929190610ef1565b600060405180830381600087803b15801561033657600080fd5b505af115801561034a573d6000803e3d6000fd5b5050505050808061035a90610f2b565b9150506102bd565b506001979650505050505050565b60008281526020819052604090206001015461038c8133610877565b61039683836108f0565b505050565b6001600160a01b03811633146104105760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61041a8282610974565b5050565b60006000805160206110a38339815191526104398133610877565b600061044585856108db565b905060005b815181101561036257600082828151811061046757610467610edb565b6020026020010151905080600001516001600160a01b03166342842e0e308a84602001516040518463ffffffff1660e01b81526004016104a993929190610ef1565b600060405180830381600087803b1580156104c357600080fd5b505af11580156104d7573d6000803e3d6000fd5b505050505080806104e790610f2b565b91505061044a565b60005b825181101561039657600083828151811061050f5761050f610edb565b6020026020010151905080600001516001600160a01b03166342842e0e338584602001516040518463ffffffff1660e01b815260040161055193929190610ef1565b600060405180830381600087803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b5050505050808061058f90610f2b565b9150506104f2565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60006000805160206110a38339815191526105db8133610877565b60006105e785856108db565b905060005b815181101561036257600082828151811061060957610609610edb565b6020026020010151905080600001516001600160a01b03166342842e0e8a8a84602001516040518463ffffffff1660e01b815260040161064b93929190610ef1565b600060405180830381600087803b15801561066557600080fd5b505af1158015610679573d6000803e3d6000fd5b5050505050808061068990610f2b565b9150506105ec565b60006000805160206110a38339815191526106ac8133610877565b6001600160a01b0386166107735760006106c685856108db565b905060005b81518110156107705760008282815181106106e8576106e8610edb565b6020026020010151905080600001516001600160a01b03166342842e0e8b3084602001516040518463ffffffff1660e01b815260040161072a93929190610ef1565b600060405180830381600087803b15801561074457600080fd5b505af1158015610758573d6000803e3d6000fd5b5050505050808061076890610f2b565b9150506106cb565b50505b5060019695505050505050565b60008281526020819052604090206001015461079c8133610877565b6103968383610974565b60006000805160206110a38339815191526107c18133610877565b60006107cd85856108db565b905060005b81518110156103625760008282815181106107ef576107ef610edb565b6020026020010151905080600001516001600160a01b03166342842e0e308b84602001516040518463ffffffff1660e01b815260040161083193929190610ef1565b600060405180830381600087803b15801561084b57600080fd5b505af115801561085f573d6000803e3d6000fd5b5050505050808061086f90610f2b565b9150506107d2565b6108818282610597565b61041a57610899816001600160a01b031660146109d9565b6108a48360206109d9565b6040516020016108b5929190610f76565b60408051601f198184030181529082905262461bcd60e51b825261040791600401610fe5565b60606108e982840184611018565b9392505050565b6108fa8282610597565b61041a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556109303390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61097e8282610597565b1561041a576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006109e8836002611054565b6109f3906002611073565b6001600160401b03811115610a0a57610a0a610d1d565b6040519080825280601f01601f191660200182016040528015610a34576020820181803683370190505b509050600360fc1b81600081518110610a4f57610a4f610edb565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610a7e57610a7e610edb565b60200101906001600160f81b031916908160001a9053506000610aa2846002611054565b610aad906001611073565b90505b6001811115610b25576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610ae157610ae1610edb565b1a60f81b828281518110610af757610af7610edb565b60200101906001600160f81b031916908160001a90535060049490941c93610b1e8161108b565b9050610ab0565b5083156108e95760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610407565b600060208284031215610b8657600080fd5b81356001600160e01b0319811681146108e957600080fd5b6001600160a01b0381168114610bb357600080fd5b50565b60008083601f840112610bc857600080fd5b5081356001600160401b03811115610bdf57600080fd5b602083019150836020828501011115610bf757600080fd5b9250929050565b600080600080600060808688031215610c1657600080fd5b8535610c2181610b9e565b94506020860135610c3181610b9e565b93506040860135925060608601356001600160401b03811115610c5357600080fd5b610c5f88828901610bb6565b969995985093965092949392505050565b60008060008060608587031215610c8657600080fd5b8435610c9181610b9e565b93506020850135610ca181610b9e565b925060408501356001600160401b03811115610cbc57600080fd5b610cc887828801610bb6565b95989497509550505050565b600060208284031215610ce657600080fd5b5035919050565b60008060408385031215610d0057600080fd5b823591506020830135610d1281610b9e565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715610d5557610d55610d1d565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610d8357610d83610d1d565b604052919050565b600082601f830112610d9c57600080fd5b813560206001600160401b03821115610db757610db7610d1d565b610dc5818360051b01610d5b565b82815260069290921b84018101918181019086841115610de457600080fd5b8286015b84811015610e2c5760408189031215610e015760008081fd5b610e09610d33565b8135610e1481610b9e565b81528185013585820152835291830191604001610de8565b509695505050505050565b60008060408385031215610e4a57600080fd5b82356001600160401b03811115610e6057600080fd5b610e6c85828601610d8b565b9250506020830135610d1281610b9e565b600080600080600060808688031215610e9557600080fd5b8535610ea081610b9e565b94506020860135610eb081610b9e565b93506040860135610ec081610b9e565b925060608601356001600160401b03811115610c5357600080fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b634e487b7160e01b600052601160045260246000fd5b6000600019821415610f3f57610f3f610f15565b5060010190565b60005b83811015610f61578181015183820152602001610f49565b83811115610f70576000848401525b50505050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351610fa8816017850160208801610f46565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610fd9816028840160208801610f46565b01602801949350505050565b6020815260008251806020840152611004816040850160208701610f46565b601f01601f19169190910160400192915050565b60006020828403121561102a57600080fd5b81356001600160401b0381111561104057600080fd5b61104c84828501610d8b565b949350505050565b600081600019048311821515161561106e5761106e610f15565b500290565b6000821982111561108657611086610f15565b500190565b60008161109a5761109a610f15565b50600019019056fe7630198b183b603be5df16e380207195f2a065102b113930ccb600feaf615331a2646970667358221220db03bef65c54f20aeb6cb9dd941c4156412b9eed733312669059612a27fa9ee464736f6c634300080b0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100e05760003560e01c80633cbf4f8a116100875780633cbf4f8a146101cb5780638e325979146101de57806391d14854146101f3578063a217fddf14610206578063bc553f0f1461020e578063c23725f914610221578063d547741f14610234578063f477e4fd1461024757600080fd5b806301ffc9a7146100e5578063150b7a021461010d5780631672162614610145578063248a9ca3146101585780632c436e5b146101895780632f2ff15d1461019057806336568abe146101a55780633672c911146101b8575b600080fd5b6100f86100f3366004610b74565b61025a565b60405190151581526020015b60405180910390f35b61012c61011b366004610bfe565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610104565b6100f8610153366004610c70565b610291565b61017b610166366004610cd4565b60009081526020819052604090206001015490565b604051908152602001610104565b600161017b565b6101a361019e366004610ced565b610370565b005b6101a36101b3366004610ced565b61039b565b6100f86101c6366004610c70565b61041e565b6101a36101d9366004610e37565b6104ef565b61017b6000805160206110a383398151915281565b6100f8610201366004610ced565b610597565b61017b600081565b6100f861021c366004610c70565b6105c0565b6100f861022f366004610e7d565b610691565b6101a3610242366004610ced565b610780565b6100f8610255366004610c70565b6107a6565b60006001600160e01b03198216637965db0b60e01b148061028b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60006000805160206110a38339815191526102ac8133610877565b60006102b885856108db565b905060005b81518110156103625760008282815181106102da576102da610edb565b6020026020010151905080600001516001600160a01b03166342842e0e8a8a84602001516040518463ffffffff1660e01b815260040161031c93929190610ef1565b600060405180830381600087803b15801561033657600080fd5b505af115801561034a573d6000803e3d6000fd5b5050505050808061035a90610f2b565b9150506102bd565b506001979650505050505050565b60008281526020819052604090206001015461038c8133610877565b61039683836108f0565b505050565b6001600160a01b03811633146104105760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61041a8282610974565b5050565b60006000805160206110a38339815191526104398133610877565b600061044585856108db565b905060005b815181101561036257600082828151811061046757610467610edb565b6020026020010151905080600001516001600160a01b03166342842e0e308a84602001516040518463ffffffff1660e01b81526004016104a993929190610ef1565b600060405180830381600087803b1580156104c357600080fd5b505af11580156104d7573d6000803e3d6000fd5b505050505080806104e790610f2b565b91505061044a565b60005b825181101561039657600083828151811061050f5761050f610edb565b6020026020010151905080600001516001600160a01b03166342842e0e338584602001516040518463ffffffff1660e01b815260040161055193929190610ef1565b600060405180830381600087803b15801561056b57600080fd5b505af115801561057f573d6000803e3d6000fd5b5050505050808061058f90610f2b565b9150506104f2565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60006000805160206110a38339815191526105db8133610877565b60006105e785856108db565b905060005b815181101561036257600082828151811061060957610609610edb565b6020026020010151905080600001516001600160a01b03166342842e0e8a8a84602001516040518463ffffffff1660e01b815260040161064b93929190610ef1565b600060405180830381600087803b15801561066557600080fd5b505af1158015610679573d6000803e3d6000fd5b5050505050808061068990610f2b565b9150506105ec565b60006000805160206110a38339815191526106ac8133610877565b6001600160a01b0386166107735760006106c685856108db565b905060005b81518110156107705760008282815181106106e8576106e8610edb565b6020026020010151905080600001516001600160a01b03166342842e0e8b3084602001516040518463ffffffff1660e01b815260040161072a93929190610ef1565b600060405180830381600087803b15801561074457600080fd5b505af1158015610758573d6000803e3d6000fd5b5050505050808061076890610f2b565b9150506106cb565b50505b5060019695505050505050565b60008281526020819052604090206001015461079c8133610877565b6103968383610974565b60006000805160206110a38339815191526107c18133610877565b60006107cd85856108db565b905060005b81518110156103625760008282815181106107ef576107ef610edb565b6020026020010151905080600001516001600160a01b03166342842e0e308b84602001516040518463ffffffff1660e01b815260040161083193929190610ef1565b600060405180830381600087803b15801561084b57600080fd5b505af115801561085f573d6000803e3d6000fd5b5050505050808061086f90610f2b565b9150506107d2565b6108818282610597565b61041a57610899816001600160a01b031660146109d9565b6108a48360206109d9565b6040516020016108b5929190610f76565b60408051601f198184030181529082905262461bcd60e51b825261040791600401610fe5565b60606108e982840184611018565b9392505050565b6108fa8282610597565b61041a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556109303390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61097e8282610597565b1561041a576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006109e8836002611054565b6109f3906002611073565b6001600160401b03811115610a0a57610a0a610d1d565b6040519080825280601f01601f191660200182016040528015610a34576020820181803683370190505b509050600360fc1b81600081518110610a4f57610a4f610edb565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610a7e57610a7e610edb565b60200101906001600160f81b031916908160001a9053506000610aa2846002611054565b610aad906001611073565b90505b6001811115610b25576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610ae157610ae1610edb565b1a60f81b828281518110610af757610af7610edb565b60200101906001600160f81b031916908160001a90535060049490941c93610b1e8161108b565b9050610ab0565b5083156108e95760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610407565b600060208284031215610b8657600080fd5b81356001600160e01b0319811681146108e957600080fd5b6001600160a01b0381168114610bb357600080fd5b50565b60008083601f840112610bc857600080fd5b5081356001600160401b03811115610bdf57600080fd5b602083019150836020828501011115610bf757600080fd5b9250929050565b600080600080600060808688031215610c1657600080fd5b8535610c2181610b9e565b94506020860135610c3181610b9e565b93506040860135925060608601356001600160401b03811115610c5357600080fd5b610c5f88828901610bb6565b969995985093965092949392505050565b60008060008060608587031215610c8657600080fd5b8435610c9181610b9e565b93506020850135610ca181610b9e565b925060408501356001600160401b03811115610cbc57600080fd5b610cc887828801610bb6565b95989497509550505050565b600060208284031215610ce657600080fd5b5035919050565b60008060408385031215610d0057600080fd5b823591506020830135610d1281610b9e565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715610d5557610d55610d1d565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610d8357610d83610d1d565b604052919050565b600082601f830112610d9c57600080fd5b813560206001600160401b03821115610db757610db7610d1d565b610dc5818360051b01610d5b565b82815260069290921b84018101918181019086841115610de457600080fd5b8286015b84811015610e2c5760408189031215610e015760008081fd5b610e09610d33565b8135610e1481610b9e565b81528185013585820152835291830191604001610de8565b509695505050505050565b60008060408385031215610e4a57600080fd5b82356001600160401b03811115610e6057600080fd5b610e6c85828601610d8b565b9250506020830135610d1281610b9e565b600080600080600060808688031215610e9557600080fd5b8535610ea081610b9e565b94506020860135610eb081610b9e565b93506040860135610ec081610b9e565b925060608601356001600160401b03811115610c5357600080fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b634e487b7160e01b600052601160045260246000fd5b6000600019821415610f3f57610f3f610f15565b5060010190565b60005b83811015610f61578181015183820152602001610f49565b83811115610f70576000848401525b50505050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351610fa8816017850160208801610f46565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610fd9816028840160208801610f46565b01602801949350505050565b6020815260008251806020840152611004816040850160208701610f46565b601f01601f19169190910160400192915050565b60006020828403121561102a57600080fd5b81356001600160401b0381111561104057600080fd5b61104c84828501610d8b565b949350505050565b600081600019048311821515161561106e5761106e610f15565b500290565b6000821982111561108657611086610f15565b500190565b60008161109a5761109a610f15565b50600019019056fe7630198b183b603be5df16e380207195f2a065102b113930ccb600feaf615331a2646970667358221220db03bef65c54f20aeb6cb9dd941c4156412b9eed733312669059612a27fa9ee464736f6c634300080b0033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.

OSZAR »