ETH Price: $2,516.16 (+2.69%)

Contract

0x835F86fF1670917A786b72D1FD8DcC385E27DD77
 

Overview

ETH Balance

2.0142 ETH

Eth Value

$5,068.05 (@ $2,516.16/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
End Auction136867592021-11-26 0:57:251012 days ago1637888245IN
Mirror: Reserve Auction V3
0 ETH0.0126557280.36912839
End Auction136867542021-11-26 0:56:481012 days ago1637888208IN
Mirror: Reserve Auction V3
0 ETH0.014762489.30131331
End Auction135101932021-10-29 5:09:271039 days ago1635484167IN
Mirror: Reserve Auction V3
0 ETH0.02259066147.04591169
End Auction135101922021-10-29 5:09:081039 days ago1635484148IN
Mirror: Reserve Auction V3
0 ETH0.02274923148.07807952
Create Bid134379132021-10-17 21:40:341051 days ago1634506834IN
Mirror: Reserve Auction V3
0.5 ETH0.0079389277.85547443
Create Bid134379122021-10-17 21:39:511051 days ago1634506791IN
Mirror: Reserve Auction V3
0.5 ETH0.0070839669.47110742
End Auction134378312021-10-17 21:21:421051 days ago1634505702IN
Mirror: Reserve Auction V3
0 ETH0.0164896796.97469304
End Auction134378262021-10-17 21:19:531051 days ago1634505593IN
Mirror: Reserve Auction V3
0 ETH0.0170660389.66125099
Create Bid134213452021-10-15 7:36:051053 days ago1634283365IN
Mirror: Reserve Auction V3
0.1 ETH0.0094866993.03414141
Create Bid134213452021-10-15 7:36:051053 days ago1634283365IN
Mirror: Reserve Auction V3
2 ETH0.0094855793.03414141
Cancel Auction132182352021-09-13 15:43:171085 days ago1631547797IN
Mirror: Reserve Auction V3
0 ETH0.0110956881.58591001
End Auction129928672021-08-09 19:30:211120 days ago1628537421IN
Mirror: Reserve Auction V3
0 ETH0.0125020161
Create Bid129761262021-08-07 5:54:061122 days ago1628315646IN
Mirror: Reserve Auction V3
1 ETH0.0035689535
End Auction126819672021-06-22 4:49:381168 days ago1624337378IN
Mirror: Reserve Auction V3
0 ETH0.00635611204.97
End Auction126592422021-06-18 15:42:281172 days ago1624030948IN
Mirror: Reserve Auction V3
0 ETH0.0032028831
End Auction126578102021-06-18 10:07:401172 days ago1624010860IN
Mirror: Reserve Auction V3
0 ETH0.0012398212
Create Bid126527802021-06-17 15:38:221173 days ago1623944302IN
Mirror: Reserve Auction V3
0.1 ETH0.0023453123
Create Bid126492162021-06-17 2:16:041174 days ago1623896164IN
Mirror: Reserve Auction V3
0.1 ETH0.0014275814
End Auction126471682021-06-16 18:31:061174 days ago1623868266IN
Mirror: Reserve Auction V3
0 ETH0.0012861811
Create Bid126306762021-06-14 5:22:271176 days ago1623648147IN
Mirror: Reserve Auction V3
1 ETH0.0013256113
Create Bid126149932021-06-11 18:59:061179 days ago1623437946IN
Mirror: Reserve Auction V3
1.32 ETH0.0014033324.8
Create Bid126147042021-06-11 17:55:261179 days ago1623434126IN
Mirror: Reserve Auction V3
1.2 ETH0.0031122355
Create Bid126086652021-06-10 19:26:371180 days ago1623353197IN
Mirror: Reserve Auction V3
1 ETH0.002039420
Cancel Auction126025092021-06-09 20:38:071181 days ago1623271087IN
Mirror: Reserve Auction V3
0 ETH0.002178826
Create Bid125537642021-06-02 7:49:531188 days ago1622620193IN
Mirror: Reserve Auction V3
0.6942 ETH0.002243622
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
136867592021-11-26 0:57:251012 days ago1637888245
Mirror: Reserve Auction V3
0.1 ETH
136867542021-11-26 0:56:481012 days ago1637888208
Mirror: Reserve Auction V3
0.111 ETH
135101932021-10-29 5:09:271039 days ago1635484167
Mirror: Reserve Auction V3
0.5 ETH
135101922021-10-29 5:09:081039 days ago1635484148
Mirror: Reserve Auction V3
0.5 ETH
134378312021-10-17 21:21:421051 days ago1634505702
Mirror: Reserve Auction V3
0.1 ETH
134378262021-10-17 21:19:531051 days ago1634505593
Mirror: Reserve Auction V3
1.7 ETH
134378262021-10-17 21:19:531051 days ago1634505593
Mirror: Reserve Auction V3
0.3 ETH
129928672021-08-09 19:30:211120 days ago1628537421
Mirror: Reserve Auction V3
0.95 ETH
129928672021-08-09 19:30:211120 days ago1628537421
Mirror: Reserve Auction V3
0.05 ETH
126592422021-06-18 15:42:281172 days ago1624030948
Mirror: Reserve Auction V3
0.1 ETH
126578102021-06-18 10:07:401172 days ago1624010860
Mirror: Reserve Auction V3
0.1 ETH
126471682021-06-16 18:31:061174 days ago1623868266
Mirror: Reserve Auction V3
0.75 ETH
126471682021-06-16 18:31:061174 days ago1623868266
Mirror: Reserve Auction V3
0.25 ETH
126149932021-06-11 18:59:061179 days ago1623437946
Mirror: Reserve Auction V3
1.2 ETH
126147042021-06-11 17:55:261179 days ago1623434126
Mirror: Reserve Auction V3
1 ETH
125453342021-06-01 0:22:591190 days ago1622506979
Mirror: Reserve Auction V3
0.1 ETH
125438432021-05-31 18:54:191190 days ago1622487259
Mirror: Reserve Auction V3
1.23125125 ETH
125200312021-05-28 2:03:211194 days ago1622167401
Mirror: Reserve Auction V3
1.11 ETH
125190652021-05-27 22:34:301194 days ago1622154870
Mirror: Reserve Auction V3
1 ETH
125004622021-05-25 1:04:001197 days ago1621904640
Mirror: Reserve Auction V3
0.75 ETH
125004622021-05-25 1:04:001197 days ago1621904640
Mirror: Reserve Auction V3
0.25 ETH
124996312021-05-24 21:59:371197 days ago1621893577
Mirror: Reserve Auction V3
0.75 ETH
124996312021-05-24 21:59:371197 days ago1621893577
Mirror: Reserve Auction V3
0.25 ETH
124287772021-05-13 22:22:311208 days ago1620944551
Mirror: Reserve Auction V3
0.238 ETH
124287772021-05-13 22:22:311208 days ago1620944551
Mirror: Reserve Auction V3
0.042 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ReserveAuctionV3

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-04-09
*/

// Sources flattened with hardhat v2.0.2 https://hardhat.org

// File @openzeppelin/contracts/math/[email protected]

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.6.8;
pragma experimental ABIEncoderV2;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}


// File @openzeppelin/contracts/utils/[email protected]





/**
 * @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].
 */
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 () internal {
        _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 make 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 contracts/Math.sol



/**
 * @title Math
 *
 * Library for non-standard Math functions
 * NOTE: This file is a clone of the dydx protocol's Decimal.sol contract.
 * It was forked from https://github.com/dydxprotocol/solo at commit
 * 2d8454e02702fe5bc455b848556660629c3cad36. It has not been modified other than to use a
 * newer solidity in the pragma to match the rest of the contract suite of this project.
 */
library Math {
    using SafeMath for uint256;

    // ============ Library Functions ============

    /*
     * Return target * (numerator / denominator).
     */
    function getPartial(
        uint256 target,
        uint256 numerator,
        uint256 denominator
    ) internal pure returns (uint256) {
        return target.mul(numerator).div(denominator);
    }

    /*
     * Return target * (numerator / denominator), but rounded up.
     */
    function getPartialRoundUp(
        uint256 target,
        uint256 numerator,
        uint256 denominator
    ) internal pure returns (uint256) {
        if (target == 0 || numerator == 0) {
            // SafeMath will check for zero denominator
            return SafeMath.div(0, denominator);
        }
        return target.mul(numerator).sub(1).div(denominator).add(1);
    }

    function to128(uint256 number) internal pure returns (uint128) {
        uint128 result = uint128(number);
        require(result == number, "Math: Unsafe cast to uint128");
        return result;
    }

    function to96(uint256 number) internal pure returns (uint96) {
        uint96 result = uint96(number);
        require(result == number, "Math: Unsafe cast to uint96");
        return result;
    }

    function to32(uint256 number) internal pure returns (uint32) {
        uint32 result = uint32(number);
        require(result == number, "Math: Unsafe cast to uint32");
        return result;
    }

    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }
}


// File contracts/Decimal.sol

/*
    Copyright 2019 dYdX Trading Inc.
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/



/**
 * NOTE: This file is a clone of the dydx protocol's Decimal.sol contract. It was forked from https://github.com/dydxprotocol/solo
 * at commit 2d8454e02702fe5bc455b848556660629c3cad36
 *
 * It has not been modified other than to use a newer solidity in the pragma to match the rest of the contract suite of this project
 */


/**
 * @title Decimal
 *
 * Library that defines a fixed-point number with 18 decimal places.
 */
library Decimal {
    using SafeMath for uint256;

    // ============ Constants ============

    uint256 constant BASE_POW = 18;
    uint256 constant BASE = 10**BASE_POW;

    // ============ Structs ============

    struct D256 {
        uint256 value;
    }

    // ============ Functions ============

    function one() internal pure returns (D256 memory) {
        return D256({value: BASE});
    }

    function onePlus(D256 memory d) internal pure returns (D256 memory) {
        return D256({value: d.value.add(BASE)});
    }

    function mul(uint256 target, D256 memory d)
        internal
        pure
        returns (uint256)
    {
        return Math.getPartial(target, d.value, BASE);
    }

    function div(uint256 target, D256 memory d)
        internal
        pure
        returns (uint256)
    {
        return Math.getPartial(target, BASE, d.value);
    }
}


// File contracts/interfaces/IMarket.sol





/**
 * @title Interface for Zora Protocol's Market
 */
interface IMarket {
    struct Bid {
        // Amount of the currency being bid
        uint256 amount;
        // Address to the ERC20 token being used to bid
        address currency;
        // Address of the bidder
        address bidder;
        // Address of the recipient
        address recipient;
        // % of the next sale to award the current owner
        Decimal.D256 sellOnShare;
    }

    struct Ask {
        // Amount of the currency being asked
        uint256 amount;
        // Address to the ERC20 token being asked
        address currency;
    }

    struct BidShares {
        // % of sale value that goes to the _previous_ owner of the nft
        Decimal.D256 prevOwner;
        // % of sale value that goes to the original creator of the nft
        Decimal.D256 creator;
        // % of sale value that goes to the seller (current owner) of the nft
        Decimal.D256 owner;
    }

    event BidCreated(uint256 indexed tokenId, Bid bid);
    event BidRemoved(uint256 indexed tokenId, Bid bid);
    event BidFinalized(uint256 indexed tokenId, Bid bid);
    event AskCreated(uint256 indexed tokenId, Ask ask);
    event AskRemoved(uint256 indexed tokenId, Ask ask);
    event BidShareUpdated(uint256 indexed tokenId, BidShares bidShares);

    function bidForTokenBidder(uint256 tokenId, address bidder)
        external
        view
        returns (Bid memory);

    function currentAskForToken(uint256 tokenId)
        external
        view
        returns (Ask memory);

    function bidSharesForToken(uint256 tokenId)
        external
        view
        returns (BidShares memory);

    function isValidBid(uint256 tokenId, uint256 bidAmount)
        external
        view
        returns (bool);

    function isValidBidShares(BidShares calldata bidShares)
        external
        pure
        returns (bool);

    function splitShare(Decimal.D256 calldata sharePercentage, uint256 amount)
        external
        pure
        returns (uint256);

    function configure(address mediaContractAddress) external;

    function setBidShares(uint256 tokenId, BidShares calldata bidShares)
        external;

    function setAsk(uint256 tokenId, Ask calldata ask) external;

    function removeAsk(uint256 tokenId) external;

    function setBid(
        uint256 tokenId,
        Bid calldata bid,
        address spender
    ) external;

    function removeBid(uint256 tokenId, address bidder) external;

    function acceptBid(uint256 tokenId, Bid calldata expectedBid) external;
}


// File @openzeppelin/contracts/introspection/[email protected]





/**
 * @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 @openzeppelin/contracts/token/ERC721/[email protected]





/**
 * @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 contracts/ReserveAuctionV3.sol




// OpenZeppelin library for performing math operations without overflows.

// OpenZeppelin security library for preventing reentrancy attacks.

// For interacting with Zora's Market contract.

// For checking `supportsInterface`.

// For interacting with NFT tokens.

contract IMediaModified {
    mapping(uint256 => address) public tokenCreators;
    address public marketContract;
}

interface IWETH {
    function deposit() external payable;

    function transfer(address to, uint256 value) external returns (bool);
}

contract ReserveAuctionV3 is ReentrancyGuard {
    // Use OpenZeppelin's SafeMath library to prevent overflows.
    using SafeMath for uint256;

    // ============ Constants ============

    // The minimum amount of time left in an auction after a new bid is created; 15 min.
    uint16 public constant TIME_BUFFER = 900;
    // The ETH needed above the current bid for a new bid to be valid; 0.001 ETH.
    uint8 public constant MIN_BID_INCREMENT_PERCENT = 10;
    // Interface constant for ERC721, to check values in constructor.
    bytes4 private constant ERC721_INTERFACE_ID = 0x80ac58cd;
    // Allows external read `getVersion()` to return a version for the auction.
    uint256 private constant RESERVE_AUCTION_VERSION = 1;

    // ============ Immutable Storage ============

    // The address of the ERC721 contract for tokens auctioned via this contract.
    address public immutable nftContract;
    // The address of the WETH contract, so that ETH can be transferred via
    // WETH if native ETH transfers fail.
    address public immutable wethAddress;
    // The address that initially is able to recover assets.
    address public immutable adminRecoveryAddress;

    // ============ Mutable Storage ============

    /**
     * To start, there will be an admin account that can recover funds
     * if anything goes wrong. Later, this public flag will be irrevocably
     * set to false, removing any admin privileges forever.
     *
     * To check if admin recovery is enabled, call the public function `adminRecoveryEnabled()`.
     */
    bool private _adminRecoveryEnabled;
    /**
     * The account `adminRecoveryAddress` can also pause the contracts
     * while _adminRecoveryEnabled is enabled. This prevents people from using
     * the contract if there is a known problem with it.
     */
    bool private _paused;

    // A mapping of all of the auctions currently running.
    mapping(uint256 => Auction) public auctions;

    // ============ Structs ============

    struct Auction {
        // The value of the current highest bid.
        uint256 amount;
        // The amount of time that the auction should run for,
        // after the first bid was made.
        uint256 duration;
        // The time of the first bid.
        uint256 firstBidTime;
        // The minimum price of the first bid.
        uint256 reservePrice;
        uint8 curatorFeePercent;
        // The address of the auction's curator. The curator
        // can cancel the auction if it hasn't had a bid yet.
        address curator;
        // The address of the current highest bid.
        address payable bidder;
        // The address that should receive funds once the NFT is sold.
        address payable fundsRecipient;
    }

    // ============ Events ============

    // All of the details of a new auction,
    // with an index created for the tokenId.
    event AuctionCreated(
        uint256 indexed tokenId,
        address nftContractAddress,
        uint256 duration,
        uint256 reservePrice,
        uint8 curatorFeePercent,
        address curator,
        address fundsRecipient
    );

    // All of the details of a new bid,
    // with an index created for the tokenId.
    event AuctionBid(
        uint256 indexed tokenId,
        address nftContractAddress,
        address sender,
        uint256 value
    );

    // All of the details of an auction's cancelation,
    // with an index created for the tokenId.
    event AuctionCanceled(
        uint256 indexed tokenId,
        address nftContractAddress,
        address curator
    );

    // All of the details of an auction's close,
    // with an index created for the tokenId.
    event AuctionEnded(
        uint256 indexed tokenId,
        address nftContractAddress,
        address curator,
        address winner,
        uint256 amount,
        address nftCreator,
        address payable fundsRecipient
    );

    // When the curator recevies fees, emit the details including the amount,
    // with an index created for the tokenId.
    event CuratorFeePercentTransfer(
        uint256 indexed tokenId,
        address curator,
        uint256 amount
    );

    // Emitted in the case that the contract is paused.
    event Paused(address account);
    // Emitted when the contract is unpaused.
    event Unpaused(address account);

    // ============ Modifiers ============

    // Reverts if the sender is not admin, or admin
    // functionality has been turned off.
    modifier onlyAdminRecovery() {
        require(
            // The sender must be the admin address, and
            // adminRecovery must be set to true.
            adminRecoveryAddress == msg.sender && adminRecoveryEnabled(),
            "Caller does not have admin privileges"
        );
        _;
    }

    // Reverts if the sender is not the auction's curator.
    modifier onlyCurator(uint256 tokenId) {
        require(
            auctions[tokenId].curator == msg.sender,
            "Can only be called by auction curator"
        );
        _;
    }

    // Reverts if the contract is paused.
    modifier whenNotPaused() {
        require(!paused(), "Contract is paused");
        _;
    }

    // Reverts if the auction does not exist.
    modifier auctionExists(uint256 tokenId) {
        // The auction exists if the curator is not null.
        require(!auctionCuratorIsNull(tokenId), "Auction doesn't exist");
        _;
    }

    // Reverts if the auction exists.
    modifier auctionNonExistant(uint256 tokenId) {
        // The auction does not exist if the curator is null.
        require(auctionCuratorIsNull(tokenId), "Auction already exists");
        _;
    }

    // Reverts if the auction is expired.
    modifier auctionNotExpired(uint256 tokenId) {
        require(
            // Auction is not expired if there's never been a bid, or if the
            // current time is less than the time at which the auction ends.
            auctions[tokenId].firstBidTime == 0 ||
                block.timestamp < auctionEnds(tokenId),
            "Auction expired"
        );
        _;
    }

    // Reverts if the auction is not complete.
    // Auction is complete if there was a bid, and the time has run out.
    modifier auctionComplete(uint256 tokenId) {
        require(
            // Auction is complete if there has been a bid, and the current time
            // is greater than the auction's end time.
            auctions[tokenId].firstBidTime > 0 &&
                block.timestamp >= auctionEnds(tokenId),
            "Auction hasn't completed"
        );
        _;
    }

    // ============ Constructor ============

    constructor(
        address nftContract_,
        address wethAddress_,
        address adminRecoveryAddress_
    ) public {
        require(
            IERC165(nftContract_).supportsInterface(ERC721_INTERFACE_ID),
            "Contract at nftContract_ address does not support NFT interface"
        );
        // Initialize immutable memory.
        nftContract = nftContract_;
        wethAddress = wethAddress_;
        adminRecoveryAddress = adminRecoveryAddress_;
        // Initialize mutable memory.
        _paused = false;
        _adminRecoveryEnabled = true;
    }

    // ============ Create Auction ============

    function createAuction(
        uint256 tokenId,
        uint256 duration,
        uint256 reservePrice,
        uint8 curatorFeePercent,
        address curator,
        address payable fundsRecipient
    ) external nonReentrant whenNotPaused auctionNonExistant(tokenId) {
        // Check basic input requirements are reasonable.
        require(curator != address(0));
        require(fundsRecipient != address(0));
        require(curatorFeePercent < 100, "Curator fee should be < 100");
        // Initialize the auction details, including null values.
        auctions[tokenId] = Auction({
            duration: duration,
            reservePrice: reservePrice,
            curatorFeePercent: curatorFeePercent,
            curator: curator,
            fundsRecipient: fundsRecipient,
            amount: 0,
            firstBidTime: 0,
            bidder: address(0)
        });
        // Transfer the NFT into this auction contract, from whoever owns it.
        IERC721(nftContract).transferFrom(
            IERC721(nftContract).ownerOf(tokenId),
            address(this),
            tokenId
        );
        // Emit an event describing the new auction.
        emit AuctionCreated(
            tokenId,
            nftContract,
            duration,
            reservePrice,
            curatorFeePercent,
            curator,
            fundsRecipient
        );
    }

    // ============ Create Bid ============

    function createBid(uint256 tokenId, uint256 amount)
        external
        payable
        nonReentrant
        whenNotPaused
        auctionExists(tokenId)
        auctionNotExpired(tokenId)
    {
        // Validate that the user's expected bid value matches the ETH deposit.
        require(amount == msg.value, "Amount doesn't equal msg.value");
        require(amount > 0, "Amount must be greater than 0");
        // Check if the current bid amount is 0.
        if (auctions[tokenId].amount == 0) {
            // If so, it is the first bid.
            auctions[tokenId].firstBidTime = block.timestamp;
            // We only need to check if the bid matches reserve bid for the first bid,
            // since future checks will need to be higher than any previous bid.
            require(
                amount >= auctions[tokenId].reservePrice,
                "Must bid reservePrice or more"
            );
        } else {
            // Check that the new bid is sufficiently higher than the previous bid, by
            // the percentage defined as MIN_BID_INCREMENT_PERCENT.
            require(
                amount >=
                    auctions[tokenId].amount.add(
                        // Add 10% of the current bid to the current bid.
                        auctions[tokenId]
                            .amount
                            .mul(MIN_BID_INCREMENT_PERCENT)
                            .div(100)
                    ),
                "Must bid more than last bid by MIN_BID_INCREMENT_PERCENT amount"
            );

            // Refund the previous bidder.
            transferETHOrWETH(
                auctions[tokenId].bidder,
                auctions[tokenId].amount
            );
        }
        // Update the current auction.
        auctions[tokenId].amount = amount;
        auctions[tokenId].bidder = msg.sender;
        // Compare the auction's end time with the current time plus the 15 minute extension,
        // to see whether we're near the auctions end and should extend the auction.
        if (auctionEnds(tokenId) < block.timestamp.add(TIME_BUFFER)) {
            // We add onto the duration whenever time increment is required, so
            // that the auctionEnds at the current time plus the buffer.
            auctions[tokenId].duration += block.timestamp.add(TIME_BUFFER).sub(
                auctionEnds(tokenId)
            );
        }
        // Emit the event that a bid has been made.
        emit AuctionBid(tokenId, nftContract, msg.sender, amount);
    }

    // ============ End Auction ============

    function endAuction(uint256 tokenId)
        external
        nonReentrant
        whenNotPaused
        auctionComplete(tokenId)
    {
        // Store relevant auction data in memory for the life of this function.
        address winner = auctions[tokenId].bidder;
        uint256 amount = auctions[tokenId].amount;
        address curator = auctions[tokenId].curator;
        uint8 curatorFeePercent = auctions[tokenId].curatorFeePercent;
        address payable fundsRecipient = auctions[tokenId].fundsRecipient;
        // Remove all auction data for this token from storage.
        delete auctions[tokenId];
        // We don't use safeTransferFrom, to prevent reverts at this point,
        // which would break the auction.
        IERC721(nftContract).transferFrom(address(this), winner, tokenId);
        // First handle the curator's fee.
        if (curatorFeePercent > 0) {
            // Determine the curator amount, which is some percent of the total.
            uint256 curatorAmount = amount.mul(curatorFeePercent).div(100);
            // Send it to the curator.
            transferETHOrWETH(curator, curatorAmount);
            // Subtract the curator amount from the total funds available
            // to send to the funds recipient and original NFT creator.
            amount = amount.sub(curatorAmount);
            // Emit the details of the transfer as an event.
            emit CuratorFeePercentTransfer(tokenId, curator, curatorAmount);
        }
        // Get the address of the original creator, so that we can split shares
        // if appropriate.
        address payable nftCreator =
            payable(
                address(IMediaModified(nftContract).tokenCreators(tokenId))
            );
        // If the creator and the recipient of the funds are the same
        // (and we expect this to be common), we can just do one transaction.
        if (nftCreator == fundsRecipient) {
            transferETHOrWETH(nftCreator, amount);
        } else {
            // Otherwise, we should determine the percent that goes to the creator.
            // Collect share data from Zora.
            uint256 creatorAmount =
                // Call the splitShare function on the market contract, which
                // takes in a Decimal and an amount.
                IMarket(IMediaModified(nftContract).marketContract())
                    .splitShare(
                    // Fetch the decimal from the BidShares data on the market.
                    IMarket(IMediaModified(nftContract).marketContract())
                        .bidSharesForToken(tokenId)
                        .creator,
                    // Specify the amount.
                    amount
                );
            // Send the creator's share to the creator.
            transferETHOrWETH(nftCreator, creatorAmount);
            // Send the remainder of the amount to the funds recipient.
            transferETHOrWETH(fundsRecipient, amount.sub(creatorAmount));
        }
        // Emit an event describing the end of the auction.
        emit AuctionEnded(
            tokenId,
            nftContract,
            curator,
            winner,
            amount,
            nftCreator,
            fundsRecipient
        );
    }

    // ============ Cancel Auction ============

    function cancelAuction(uint256 tokenId)
        external
        nonReentrant
        auctionExists(tokenId)
        onlyCurator(tokenId)
    {
        // Check that there hasn't already been a bid for this NFT.
        require(
            uint256(auctions[tokenId].firstBidTime) == 0,
            "Auction already started"
        );
        // Pull the creator address before removing the auction.
        address curator = auctions[tokenId].curator;
        // Remove all data about the auction.
        delete auctions[tokenId];
        // Transfer the NFT back to the curator.
        IERC721(nftContract).transferFrom(address(this), curator, tokenId);
        // Emit an event describing that the auction has been canceled.
        emit AuctionCanceled(tokenId, nftContract, curator);
    }

    // ============ Admin Functions ============

    // Irrevocably turns off admin recovery.
    function turnOffAdminRecovery() external onlyAdminRecovery {
        _adminRecoveryEnabled = false;
    }

    function pauseContract() external onlyAdminRecovery {
        _paused = true;
        emit Paused(msg.sender);
    }

    function unpauseContract() external onlyAdminRecovery {
        _paused = false;
        emit Unpaused(msg.sender);
    }

    // Allows the admin to transfer any NFT from this contract
    // to the recovery address.
    function recoverNFT(uint256 tokenId) external onlyAdminRecovery {
        IERC721(nftContract).transferFrom(
            // From the auction contract.
            address(this),
            // To the recovery account.
            adminRecoveryAddress,
            // For the specified token.
            tokenId
        );
    }

    // Allows the admin to transfer any ETH from this contract to the recovery address.
    function recoverETH(uint256 amount)
        external
        onlyAdminRecovery
        returns (bool success)
    {
        // Attempt an ETH transfer to the recovery account, and return true if it succeeds.
        success = attemptETHTransfer(adminRecoveryAddress, amount);
    }

    // ============ Miscellaneous Public and External ============

    // Returns true if the contract is paused.
    function paused() public view returns (bool) {
        return _paused;
    }

    // Returns true if admin recovery is enabled.
    function adminRecoveryEnabled() public view returns (bool) {
        return _adminRecoveryEnabled;
    }

    // Returns the version of the deployed contract.
    function getVersion() external pure returns (uint256 version) {
        version = RESERVE_AUCTION_VERSION;
    }

    // ============ Private Functions ============

    // Will attempt to transfer ETH, but will transfer WETH instead if it fails.
    function transferETHOrWETH(address to, uint256 value) private {
        // Try to transfer ETH to the given recipient.
        if (!attemptETHTransfer(to, value)) {
            // If the transfer fails, wrap and send as WETH, so that
            // the auction is not impeded and the recipient still
            // can claim ETH via the WETH contract (similar to escrow).
            IWETH(wethAddress).deposit{value: value}();
            IWETH(wethAddress).transfer(to, value);
            // At this point, the recipient can unwrap WETH.
        }
    }

    // Sending ETH is not guaranteed complete, and the method used here will return false if
    // it fails. For example, a contract can block ETH transfer, or might use
    // an excessive amount of gas, thereby griefing a new bidder.
    // We should limit the gas used in transfers, and handle failure cases.
    function attemptETHTransfer(address to, uint256 value)
        private
        returns (bool)
    {
        // Here increase the gas limit a reasonable amount above the default, and try
        // to send ETH to the recipient.
        // NOTE: This might allow the recipient to attempt a limited reentrancy attack.
        (bool success, ) = to.call{value: value, gas: 30000}("");
        return success;
    }

    // Returns true if the auction's curator is set to the null address.
    function auctionCuratorIsNull(uint256 tokenId) private view returns (bool) {
        // The auction does not exist if the curator is the null address,
        // since the NFT would not have been transferred in `createAuction`.
        return auctions[tokenId].curator == address(0);
    }

    // Returns the timestamp at which an auction will finish.
    function auctionEnds(uint256 tokenId) private view returns (uint256) {
        // Derived by adding the auction's duration to the time of the first bid.
        // NOTE: duration can be extended conditionally after each new bid is added.
        return auctions[tokenId].firstBidTime.add(auctions[tokenId].duration);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"nftContract_","type":"address"},{"internalType":"address","name":"wethAddress_","type":"address"},{"internalType":"address","name":"adminRecoveryAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"nftContractAddress","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"AuctionBid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"nftContractAddress","type":"address"},{"indexed":false,"internalType":"address","name":"curator","type":"address"}],"name":"AuctionCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"nftContractAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"reservePrice","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"curatorFeePercent","type":"uint8"},{"indexed":false,"internalType":"address","name":"curator","type":"address"},{"indexed":false,"internalType":"address","name":"fundsRecipient","type":"address"}],"name":"AuctionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"nftContractAddress","type":"address"},{"indexed":false,"internalType":"address","name":"curator","type":"address"},{"indexed":false,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"nftCreator","type":"address"},{"indexed":false,"internalType":"address payable","name":"fundsRecipient","type":"address"}],"name":"AuctionEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"curator","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CuratorFeePercentTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MIN_BID_INCREMENT_PERCENT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIME_BUFFER","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminRecoveryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminRecoveryEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"auctions","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"firstBidTime","type":"uint256"},{"internalType":"uint256","name":"reservePrice","type":"uint256"},{"internalType":"uint8","name":"curatorFeePercent","type":"uint8"},{"internalType":"address","name":"curator","type":"address"},{"internalType":"address payable","name":"bidder","type":"address"},{"internalType":"address payable","name":"fundsRecipient","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"cancelAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"reservePrice","type":"uint256"},{"internalType":"uint8","name":"curatorFeePercent","type":"uint8"},{"internalType":"address","name":"curator","type":"address"},{"internalType":"address payable","name":"fundsRecipient","type":"address"}],"name":"createAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"createBid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"endAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getVersion","outputs":[{"internalType":"uint256","name":"version","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"nftContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recoverETH","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoverNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnOffAdminRecovery","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wethAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60e06040523480156200001157600080fd5b506040516200223f3803806200223f83398101604081905262000034916200011f565b60016000556040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906200006e906380ac58cd60e01b906004016200019b565b60206040518083038186803b1580156200008757600080fd5b505afa1580156200009c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000c2919062000172565b620000ea5760405162461bcd60e51b8152600401620000e190620001b0565b60405180910390fd5b6001600160601b0319606093841b811660805291831b821660a05290911b1660c0526001805461ffff19168117905562000226565b60008060006060848603121562000134578283fd5b835162000141816200020d565b602085015190935062000154816200020d565b604085015190925062000167816200020d565b809150509250925092565b60006020828403121562000184578081fd5b8151801515811462000194578182fd5b9392505050565b6001600160e01b031991909116815260200190565b6020808252603f908201527f436f6e7472616374206174206e6674436f6e74726163745f206164647265737360408201527f20646f6573206e6f7420737570706f7274204e465420696e7465726661636500606082015260800190565b6001600160a01b03811681146200022357600080fd5b50565b60805160601c60a05160601c60c05160601c611f7a620002c56000398061032f52806107f952806108945280610b015280610b64528061144952806114a352806114f45250806103d85280611619528061169f5250806106555280610684528061079452806108655280610a2f5280610abe5280610e845280610fd752806110d9528061118d528061122c52806113f352806114d05250611f7a6000f3fe6080604052600436106101095760003560e01c806396b5a75511610095578063b9a2de3a11610064578063b9a2de3a1461029c578063bc996819146102bc578063d3335553146102de578063d56d229d146102fe578063fafe0d1f1461031357610109565b806396b5a7551461023f57806398c055911461025f578063b33712c514610274578063b7751c711461028957610109565b8063571a26a0116100dc578063571a26a01461019457806358f667c3146101c85780635c975abb146101e85780637788a3871461020a5780639486e0a41461021f57610109565b80630d8e6e2c1461010e578063439766ce146101395780634f0e0ef3146101505780635365313114610172575b600080fd5b34801561011a57600080fd5b50610123610328565b6040516101309190611ea6565b60405180910390f35b34801561014557600080fd5b5061014e61032d565b005b34801561015c57600080fd5b506101656103d6565b60405161013091906119b4565b34801561017e57600080fd5b506101876103fa565b6040516101309190611e97565b3480156101a057600080fd5b506101b46101af3660046118f5565b610400565b604051610130989796959493929190611eaf565b3480156101d457600080fd5b5061014e6101e3366004611946565b610456565b3480156101f457600080fd5b506101fd6107e0565b6040516101309190611a96565b34801561021657600080fd5b506101fd6107ee565b34801561022b57600080fd5b5061014e61023a3660046118f5565b6107f7565b34801561024b57600080fd5b5061014e61025a3660046118f5565b6108f3565b34801561026b57600080fd5b5061014e610aff565b34801561028057600080fd5b5061014e610b62565b61014e610297366004611925565b610bf4565b3480156102a857600080fd5b5061014e6102b73660046118f5565b610eb4565b3480156102c857600080fd5b506102d1611440565b6040516101309190611ef7565b3480156102ea57600080fd5b506101fd6102f93660046118f5565b611445565b34801561030a57600080fd5b506101656114ce565b34801561031f57600080fd5b506101656114f2565b600190565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163314801561036857506103686107ee565b61038d5760405162461bcd60e51b815260040161038490611d80565b60405180910390fd5b6001805461ff0019166101001790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258906103cc9033906119b4565b60405180910390a1565b7f000000000000000000000000000000000000000000000000000000000000000081565b61038481565b600260208190526000918252604090912080546001820154928201546003830154600484015460058501546006909501549395949293919260ff8216926001600160a01b03610100909304831692918216911688565b600260005414156104795760405162461bcd60e51b815260040161038490611e28565b60026000556104866107e0565b156104a35760405162461bcd60e51b815260040161038490611dfc565b856104ad81611516565b6104c95760405162461bcd60e51b815260040161038490611af4565b6001600160a01b0383166104dc57600080fd5b6001600160a01b0382166104ef57600080fd5b60648460ff16106105125760405162461bcd60e51b815260040161038490611d49565b60405180610100016040528060008152602001878152602001600081526020018681526020018560ff168152602001846001600160a01b0316815260200160006001600160a01b03168152602001836001600160a01b0316815250600260008981526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff021916908360ff16021790555060a08201518160040160016101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160050160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060e08201518160060160006101000a8154816001600160a01b0302191690836001600160a01b031602179055509050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e8a6040518263ffffffff1660e01b81526004016106ce9190611ea6565b60206040518083038186803b1580156106e657600080fd5b505afa1580156106fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071e9190611867565b308a6040518463ffffffff1660e01b815260040161073e939291906119e2565b600060405180830381600087803b15801561075857600080fd5b505af115801561076c573d6000803e3d6000fd5b50505050867f05c53357460759c2be03c67508f243cdb1c14d8e72bafa2184a5fa7c59cf7a647f000000000000000000000000000000000000000000000000000000000000000088888888886040516107ca96959493929190611a59565b60405180910390a2505060016000555050505050565b600154610100900460ff1690565b60015460ff1690565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163314801561083257506108326107ee565b61084e5760405162461bcd60e51b815260040161038490611d80565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906108be9030907f00000000000000000000000000000000000000000000000000000000000000009086906004016119e2565b600060405180830381600087803b1580156108d857600080fd5b505af11580156108ec573d6000803e3d6000fd5b5050505050565b600260005414156109165760405162461bcd60e51b815260040161038490611e28565b60026000558061092581611516565b156109425760405162461bcd60e51b815260040161038490611d1a565b600082815260026020526040902060040154829061010090046001600160a01b031633146109825760405162461bcd60e51b815260040161038490611bc9565b60008381526002602081905260409091200154156109b25760405162461bcd60e51b815260040161038490611ca2565b6000838152600260208190526040808320600480820180548684556001840187905594830186905560038301959095556001600160a81b031984169094556005810180546001600160a01b0319908116909155600690910180549091169055516323b872dd60e01b81526001600160a01b036101009092048216927f0000000000000000000000000000000000000000000000000000000000000000909216916323b872dd91610a6891309186918a91016119e2565b600060405180830381600087803b158015610a8257600080fd5b505af1158015610a96573d6000803e3d6000fd5b50505050837f31e46b3372adff8978a18a1c543a6b3a925ee693bdf7a7c54df36f30f87d290e7f000000000000000000000000000000000000000000000000000000000000000083604051610aec9291906119c8565b60405180910390a2505060016000555050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633148015610b3a5750610b3a6107ee565b610b565760405162461bcd60e51b815260040161038490611d80565b6001805460ff19169055565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633148015610b9d5750610b9d6107ee565b610bb95760405162461bcd60e51b815260040161038490611d80565b6001805461ff00191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa906103cc9033906119b4565b60026000541415610c175760405162461bcd60e51b815260040161038490611e28565b6002600055610c246107e0565b15610c415760405162461bcd60e51b815260040161038490611dfc565b81610c4b81611516565b15610c685760405162461bcd60e51b815260040161038490611d1a565b6000838152600260208190526040909120015483901580610c905750610c8d8161153a565b42105b610cac5760405162461bcd60e51b815260040161038490611e5f565b348314610ccb5760405162461bcd60e51b815260040161038490611c0e565b60008311610ceb5760405162461bcd60e51b815260040161038490611b92565b600084815260026020526040902054610d3f576000848152600260208190526040909120429181019190915560030154831015610d3a5760405162461bcd60e51b815260040161038490611b24565b610dd8565b600084815260026020526040902054610d9190610d7690606490610d6a90600a63ffffffff61156116565b9063ffffffff6115a216565b6000868152600260205260409020549063ffffffff6115e416565b831015610db05760405162461bcd60e51b815260040161038490611c45565b600084815260026020526040902060058101549054610dd8916001600160a01b031690611609565b600084815260026020526040902083815560050180546001600160a01b03191633179055610e0e4261038463ffffffff6115e416565b610e178561153a565b1015610e6057610e47610e298561153a565b610e3b4261038463ffffffff6115e416565b9063ffffffff61173116565b6000858152600260205260409020600101805490910190555b837f3bb6f40a8aeb5dda33c401527cd8f6bd335757d2b1ed2827f0321a090c66b8247f00000000000000000000000000000000000000000000000000000000000000003386604051610aec939291906119e2565b60026000541415610ed75760405162461bcd60e51b815260040161038490611e28565b6002600055610ee46107e0565b15610f015760405162461bcd60e51b815260040161038490611dfc565b60008181526002602081905260409091200154819015801590610f2c5750610f288161153a565b4210155b610f485760405162461bcd60e51b815260040161038490611dc5565b60008281526002602081905260408083206005810180548254600480850180546006870180548b8955600189018c90559988018b90556003909701999099556001600160a81b0319891690556001600160a01b031980841690945592861690935592516323b872dd60e01b81526001600160a01b03938416959294610100840485169460ff90941693908116927f0000000000000000000000000000000000000000000000000000000000000000909116916323b872dd916110109130918a918d91016119e2565b600060405180830381600087803b15801561102a57600080fd5b505af115801561103e573d6000803e3d6000fd5b5050505060ff8216156110bf5760006110656064610d6a8760ff871663ffffffff61156116565b90506110718482611609565b611081858263ffffffff61173116565b9450877f7eabfed3b0a446b89a7f6f2c463fd6cbb7f66563a7efcbbe081dd886012e0a2685836040516110b5929190611a40565b60405180910390a2505b60405163e0fd045f60e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e0fd045f9061110e908b90600401611ea6565b60206040518083038186803b15801561112657600080fd5b505afa15801561113a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115e9190611867565b9050816001600160a01b0316816001600160a01b03161415611189576111848186611609565b6113cf565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a1794bcd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c9190611867565b6001600160a01b031663b920c1237f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a1794bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128357600080fd5b505afa158015611297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bb9190611867565b6001600160a01b031663f9ce05828c6040518263ffffffff1660e01b81526004016112e69190611ea6565b60606040518083038186803b1580156112fe57600080fd5b505afa158015611312573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133691906118a3565b60200151886040518363ffffffff1660e01b8152600401611358929190611e88565b60206040518083038186803b15801561137057600080fd5b505afa158015611384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a8919061190d565b90506113b48282611609565b6113cd836113c8888463ffffffff61173116565b611609565b505b877fc07c8c3aa4357ff71dbb73989298b2b27ad41a7216d9846113d7377a8e5f41587f0000000000000000000000000000000000000000000000000000000000000000868989868860405161142996959493929190611a06565b60405180910390a250506001600055505050505050565b600a81565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163314801561148257506114826107ee565b61149e5760405162461bcd60e51b815260040161038490611d80565b6114c87f000000000000000000000000000000000000000000000000000000000000000083611773565b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60009081526002602052604090206004015461010090046001600160a01b03161590565b6000818152600260208190526040822060018101549101546114c89163ffffffff6115e416565b600082611570575060006114c8565b8282028284828161157d57fe5b041461159b5760405162461bcd60e51b815260040161038490611cd9565b9392505050565b600061159b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117df565b60008282018381101561159b5760405162461bcd60e51b815260040161038490611b5b565b6116138282611773565b61172d577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561167257600080fd5b505af1158015611686573d6000803e3d6000fd5b505060405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016935063a9059cbb92506116d9915085908590600401611a40565b602060405180830381600087803b1580156116f357600080fd5b505af1158015611707573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172b9190611883565b505b5050565b600061159b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611816565b600080836001600160a01b03168361753090604051611791906119b1565b600060405180830381858888f193505050503d80600081146117cf576040519150601f19603f3d011682016040523d82523d6000602084013e6117d4565b606091505b509095945050505050565b600081836118005760405162461bcd60e51b81526004016103849190611aa1565b50600083858161180c57fe5b0495945050505050565b6000818484111561183a5760405162461bcd60e51b81526004016103849190611aa1565b505050900390565b600060208284031215611853578081fd5b61185d6020611f05565b9151825250919050565b600060208284031215611878578081fd5b815161159b81611f2c565b600060208284031215611894578081fd5b8151801515811461159b578182fd5b6000606082840312156118b4578081fd5b6118be6060611f05565b6118c88484611842565b81526118d78460208501611842565b60208201526118e98460408501611842565b60408201529392505050565b600060208284031215611906578081fd5b5035919050565b60006020828403121561191e578081fd5b5051919050565b60008060408385031215611937578081fd5b50508035926020909101359150565b60008060008060008060c0878903121561195e578182fd5b863595506020870135945060408701359350606087013560ff81168114611983578283fd5b9250608087013561199381611f2c565b915060a08701356119a381611f2c565b809150509295509295509295565b90565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0396871681529486166020860152928516604085015260608401919091528316608083015290911660a082015260c00190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0396871681526020810195909552604085019390935260ff9190911660608401528316608083015290911660a082015260c00190565b901515815260200190565b6000602080835283518082850152825b81811015611acd57858101830151858201604001528201611ab1565b81811115611ade5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526016908201527541756374696f6e20616c72656164792065786973747360501b604082015260600190565b6020808252601d908201527f4d7573742062696420726573657276655072696365206f72206d6f7265000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601d908201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604082015260600190565b60208082526025908201527f43616e206f6e6c792062652063616c6c65642062792061756374696f6e2063756040820152643930ba37b960d91b606082015260800190565b6020808252601e908201527f416d6f756e7420646f65736e277420657175616c206d73672e76616c75650000604082015260600190565b6020808252603f908201527f4d75737420626964206d6f7265207468616e206c61737420626964206279204d60408201527f494e5f4249445f494e4352454d454e545f50455243454e5420616d6f756e7400606082015260800190565b60208082526017908201527f41756374696f6e20616c72656164792073746172746564000000000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b602080825260159082015274105d58dd1a5bdb88191bd95cdb89dd08195e1a5cdd605a1b604082015260600190565b6020808252601b908201527f43757261746f72206665652073686f756c64206265203c203130300000000000604082015260600190565b60208082526025908201527f43616c6c657220646f6573206e6f7420686176652061646d696e2070726976696040820152646c6567657360d81b606082015260800190565b60208082526018908201527f41756374696f6e206861736e277420636f6d706c657465640000000000000000604082015260600190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600f908201526e105d58dd1a5bdb88195e1c1a5c9959608a1b604082015260600190565b91518252602082015260400190565b61ffff91909116815260200190565b90815260200190565b97885260208801969096526040870194909452606086019290925260ff1660808501526001600160a01b0390811660a085015290811660c08401521660e08201526101000190565b60ff91909116815260200190565b60405181810167ffffffffffffffff81118282101715611f2457600080fd5b604052919050565b6001600160a01b0381168114611f4157600080fd5b5056fea264697066735822122099d3d5a6e2fe1f69eed15017169b411623b569d72f8842899c0db14f1693d37a64736f6c63430006080033000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b57

Deployed Bytecode

0x6080604052600436106101095760003560e01c806396b5a75511610095578063b9a2de3a11610064578063b9a2de3a1461029c578063bc996819146102bc578063d3335553146102de578063d56d229d146102fe578063fafe0d1f1461031357610109565b806396b5a7551461023f57806398c055911461025f578063b33712c514610274578063b7751c711461028957610109565b8063571a26a0116100dc578063571a26a01461019457806358f667c3146101c85780635c975abb146101e85780637788a3871461020a5780639486e0a41461021f57610109565b80630d8e6e2c1461010e578063439766ce146101395780634f0e0ef3146101505780635365313114610172575b600080fd5b34801561011a57600080fd5b50610123610328565b6040516101309190611ea6565b60405180910390f35b34801561014557600080fd5b5061014e61032d565b005b34801561015c57600080fd5b506101656103d6565b60405161013091906119b4565b34801561017e57600080fd5b506101876103fa565b6040516101309190611e97565b3480156101a057600080fd5b506101b46101af3660046118f5565b610400565b604051610130989796959493929190611eaf565b3480156101d457600080fd5b5061014e6101e3366004611946565b610456565b3480156101f457600080fd5b506101fd6107e0565b6040516101309190611a96565b34801561021657600080fd5b506101fd6107ee565b34801561022b57600080fd5b5061014e61023a3660046118f5565b6107f7565b34801561024b57600080fd5b5061014e61025a3660046118f5565b6108f3565b34801561026b57600080fd5b5061014e610aff565b34801561028057600080fd5b5061014e610b62565b61014e610297366004611925565b610bf4565b3480156102a857600080fd5b5061014e6102b73660046118f5565b610eb4565b3480156102c857600080fd5b506102d1611440565b6040516101309190611ef7565b3480156102ea57600080fd5b506101fd6102f93660046118f5565b611445565b34801561030a57600080fd5b506101656114ce565b34801561031f57600080fd5b506101656114f2565b600190565b7f0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b576001600160a01b03163314801561036857506103686107ee565b61038d5760405162461bcd60e51b815260040161038490611d80565b60405180910390fd5b6001805461ff0019166101001790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258906103cc9033906119b4565b60405180910390a1565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b61038481565b600260208190526000918252604090912080546001820154928201546003830154600484015460058501546006909501549395949293919260ff8216926001600160a01b03610100909304831692918216911688565b600260005414156104795760405162461bcd60e51b815260040161038490611e28565b60026000556104866107e0565b156104a35760405162461bcd60e51b815260040161038490611dfc565b856104ad81611516565b6104c95760405162461bcd60e51b815260040161038490611af4565b6001600160a01b0383166104dc57600080fd5b6001600160a01b0382166104ef57600080fd5b60648460ff16106105125760405162461bcd60e51b815260040161038490611d49565b60405180610100016040528060008152602001878152602001600081526020018681526020018560ff168152602001846001600160a01b0316815260200160006001600160a01b03168152602001836001600160a01b0316815250600260008981526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff021916908360ff16021790555060a08201518160040160016101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160050160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060e08201518160060160006101000a8154816001600160a01b0302191690836001600160a01b031602179055509050507f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac76001600160a01b03166323b872dd7f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac76001600160a01b0316636352211e8a6040518263ffffffff1660e01b81526004016106ce9190611ea6565b60206040518083038186803b1580156106e657600080fd5b505afa1580156106fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071e9190611867565b308a6040518463ffffffff1660e01b815260040161073e939291906119e2565b600060405180830381600087803b15801561075857600080fd5b505af115801561076c573d6000803e3d6000fd5b50505050867f05c53357460759c2be03c67508f243cdb1c14d8e72bafa2184a5fa7c59cf7a647f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac788888888886040516107ca96959493929190611a59565b60405180910390a2505060016000555050505050565b600154610100900460ff1690565b60015460ff1690565b7f0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b576001600160a01b03163314801561083257506108326107ee565b61084e5760405162461bcd60e51b815260040161038490611d80565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac716906323b872dd906108be9030907f0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b579086906004016119e2565b600060405180830381600087803b1580156108d857600080fd5b505af11580156108ec573d6000803e3d6000fd5b5050505050565b600260005414156109165760405162461bcd60e51b815260040161038490611e28565b60026000558061092581611516565b156109425760405162461bcd60e51b815260040161038490611d1a565b600082815260026020526040902060040154829061010090046001600160a01b031633146109825760405162461bcd60e51b815260040161038490611bc9565b60008381526002602081905260409091200154156109b25760405162461bcd60e51b815260040161038490611ca2565b6000838152600260208190526040808320600480820180548684556001840187905594830186905560038301959095556001600160a81b031984169094556005810180546001600160a01b0319908116909155600690910180549091169055516323b872dd60e01b81526001600160a01b036101009092048216927f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac7909216916323b872dd91610a6891309186918a91016119e2565b600060405180830381600087803b158015610a8257600080fd5b505af1158015610a96573d6000803e3d6000fd5b50505050837f31e46b3372adff8978a18a1c543a6b3a925ee693bdf7a7c54df36f30f87d290e7f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac783604051610aec9291906119c8565b60405180910390a2505060016000555050565b7f0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b576001600160a01b031633148015610b3a5750610b3a6107ee565b610b565760405162461bcd60e51b815260040161038490611d80565b6001805460ff19169055565b7f0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b576001600160a01b031633148015610b9d5750610b9d6107ee565b610bb95760405162461bcd60e51b815260040161038490611d80565b6001805461ff00191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa906103cc9033906119b4565b60026000541415610c175760405162461bcd60e51b815260040161038490611e28565b6002600055610c246107e0565b15610c415760405162461bcd60e51b815260040161038490611dfc565b81610c4b81611516565b15610c685760405162461bcd60e51b815260040161038490611d1a565b6000838152600260208190526040909120015483901580610c905750610c8d8161153a565b42105b610cac5760405162461bcd60e51b815260040161038490611e5f565b348314610ccb5760405162461bcd60e51b815260040161038490611c0e565b60008311610ceb5760405162461bcd60e51b815260040161038490611b92565b600084815260026020526040902054610d3f576000848152600260208190526040909120429181019190915560030154831015610d3a5760405162461bcd60e51b815260040161038490611b24565b610dd8565b600084815260026020526040902054610d9190610d7690606490610d6a90600a63ffffffff61156116565b9063ffffffff6115a216565b6000868152600260205260409020549063ffffffff6115e416565b831015610db05760405162461bcd60e51b815260040161038490611c45565b600084815260026020526040902060058101549054610dd8916001600160a01b031690611609565b600084815260026020526040902083815560050180546001600160a01b03191633179055610e0e4261038463ffffffff6115e416565b610e178561153a565b1015610e6057610e47610e298561153a565b610e3b4261038463ffffffff6115e416565b9063ffffffff61173116565b6000858152600260205260409020600101805490910190555b837f3bb6f40a8aeb5dda33c401527cd8f6bd335757d2b1ed2827f0321a090c66b8247f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac73386604051610aec939291906119e2565b60026000541415610ed75760405162461bcd60e51b815260040161038490611e28565b6002600055610ee46107e0565b15610f015760405162461bcd60e51b815260040161038490611dfc565b60008181526002602081905260409091200154819015801590610f2c5750610f288161153a565b4210155b610f485760405162461bcd60e51b815260040161038490611dc5565b60008281526002602081905260408083206005810180548254600480850180546006870180548b8955600189018c90559988018b90556003909701999099556001600160a81b0319891690556001600160a01b031980841690945592861690935592516323b872dd60e01b81526001600160a01b03938416959294610100840485169460ff90941693908116927f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac7909116916323b872dd916110109130918a918d91016119e2565b600060405180830381600087803b15801561102a57600080fd5b505af115801561103e573d6000803e3d6000fd5b5050505060ff8216156110bf5760006110656064610d6a8760ff871663ffffffff61156116565b90506110718482611609565b611081858263ffffffff61173116565b9450877f7eabfed3b0a446b89a7f6f2c463fd6cbb7f66563a7efcbbe081dd886012e0a2685836040516110b5929190611a40565b60405180910390a2505b60405163e0fd045f60e01b81526000906001600160a01b037f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac7169063e0fd045f9061110e908b90600401611ea6565b60206040518083038186803b15801561112657600080fd5b505afa15801561113a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115e9190611867565b9050816001600160a01b0316816001600160a01b03161415611189576111848186611609565b6113cf565b60007f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac76001600160a01b031663a1794bcd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c9190611867565b6001600160a01b031663b920c1237f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac76001600160a01b031663a1794bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128357600080fd5b505afa158015611297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bb9190611867565b6001600160a01b031663f9ce05828c6040518263ffffffff1660e01b81526004016112e69190611ea6565b60606040518083038186803b1580156112fe57600080fd5b505afa158015611312573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133691906118a3565b60200151886040518363ffffffff1660e01b8152600401611358929190611e88565b60206040518083038186803b15801561137057600080fd5b505afa158015611384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a8919061190d565b90506113b48282611609565b6113cd836113c8888463ffffffff61173116565b611609565b505b877fc07c8c3aa4357ff71dbb73989298b2b27ad41a7216d9846113d7377a8e5f41587f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac7868989868860405161142996959493929190611a06565b60405180910390a250506001600055505050505050565b600a81565b60007f0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b576001600160a01b03163314801561148257506114826107ee565b61149e5760405162461bcd60e51b815260040161038490611d80565b6114c87f0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b5783611773565b92915050565b7f000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac781565b7f0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b5781565b60009081526002602052604090206004015461010090046001600160a01b03161590565b6000818152600260208190526040822060018101549101546114c89163ffffffff6115e416565b600082611570575060006114c8565b8282028284828161157d57fe5b041461159b5760405162461bcd60e51b815260040161038490611cd9565b9392505050565b600061159b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117df565b60008282018381101561159b5760405162461bcd60e51b815260040161038490611b5b565b6116138282611773565b61172d577f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561167257600080fd5b505af1158015611686573d6000803e3d6000fd5b505060405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216935063a9059cbb92506116d9915085908590600401611a40565b602060405180830381600087803b1580156116f357600080fd5b505af1158015611707573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172b9190611883565b505b5050565b600061159b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611816565b600080836001600160a01b03168361753090604051611791906119b1565b600060405180830381858888f193505050503d80600081146117cf576040519150601f19603f3d011682016040523d82523d6000602084013e6117d4565b606091505b509095945050505050565b600081836118005760405162461bcd60e51b81526004016103849190611aa1565b50600083858161180c57fe5b0495945050505050565b6000818484111561183a5760405162461bcd60e51b81526004016103849190611aa1565b505050900390565b600060208284031215611853578081fd5b61185d6020611f05565b9151825250919050565b600060208284031215611878578081fd5b815161159b81611f2c565b600060208284031215611894578081fd5b8151801515811461159b578182fd5b6000606082840312156118b4578081fd5b6118be6060611f05565b6118c88484611842565b81526118d78460208501611842565b60208201526118e98460408501611842565b60408201529392505050565b600060208284031215611906578081fd5b5035919050565b60006020828403121561191e578081fd5b5051919050565b60008060408385031215611937578081fd5b50508035926020909101359150565b60008060008060008060c0878903121561195e578182fd5b863595506020870135945060408701359350606087013560ff81168114611983578283fd5b9250608087013561199381611f2c565b915060a08701356119a381611f2c565b809150509295509295509295565b90565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0396871681529486166020860152928516604085015260608401919091528316608083015290911660a082015260c00190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0396871681526020810195909552604085019390935260ff9190911660608401528316608083015290911660a082015260c00190565b901515815260200190565b6000602080835283518082850152825b81811015611acd57858101830151858201604001528201611ab1565b81811115611ade5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526016908201527541756374696f6e20616c72656164792065786973747360501b604082015260600190565b6020808252601d908201527f4d7573742062696420726573657276655072696365206f72206d6f7265000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601d908201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604082015260600190565b60208082526025908201527f43616e206f6e6c792062652063616c6c65642062792061756374696f6e2063756040820152643930ba37b960d91b606082015260800190565b6020808252601e908201527f416d6f756e7420646f65736e277420657175616c206d73672e76616c75650000604082015260600190565b6020808252603f908201527f4d75737420626964206d6f7265207468616e206c61737420626964206279204d60408201527f494e5f4249445f494e4352454d454e545f50455243454e5420616d6f756e7400606082015260800190565b60208082526017908201527f41756374696f6e20616c72656164792073746172746564000000000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b602080825260159082015274105d58dd1a5bdb88191bd95cdb89dd08195e1a5cdd605a1b604082015260600190565b6020808252601b908201527f43757261746f72206665652073686f756c64206265203c203130300000000000604082015260600190565b60208082526025908201527f43616c6c657220646f6573206e6f7420686176652061646d696e2070726976696040820152646c6567657360d81b606082015260800190565b60208082526018908201527f41756374696f6e206861736e277420636f6d706c657465640000000000000000604082015260600190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600f908201526e105d58dd1a5bdb88195e1c1a5c9959608a1b604082015260600190565b91518252602082015260400190565b61ffff91909116815260200190565b90815260200190565b97885260208801969096526040870194909452606086019290925260ff1660808501526001600160a01b0390811660a085015290811660c08401521660e08201526101000190565b60ff91909116815260200190565b60405181810167ffffffffffffffff81118282101715611f2457600080fd5b604052919050565b6001600160a01b0381168114611f4157600080fd5b5056fea264697066735822122099d3d5a6e2fe1f69eed15017169b411623b569d72f8842899c0db14f1693d37a64736f6c63430006080033

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

000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac7000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b57

-----Decoded View---------------
Arg [0] : nftContract_ (address): 0xabEFBc9fD2F806065b4f3C237d4b59D9A97Bcac7
Arg [1] : wethAddress_ (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [2] : adminRecoveryAddress_ (address): 0x2330ee705fFD040bB0cbA8CB7734Dfe00E7C4b57

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000abefbc9fd2f806065b4f3c237d4b59d9a97bcac7
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [2] : 0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b57


Deployed Bytecode Sourcemap

21219:19915:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;38791:114:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;38791:114:0;;;:::i;:::-;;;;;;;;;;;;;;;;37282:119;;5:9:-1;2:2;;;27:1;24;17:12;2:2;37282:119:0;;;:::i;:::-;;22273:36;;5:9:-1;2:2;;;27:1;24;17:12;2:2;22273:36:0;;;:::i;:::-;;;;;;;;21508:40;;5:9:-1;2:2;;;27:1;24;17:12;2:2;21508:40:0;;;:::i;:::-;;;;;;;;23175:43;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;23175:43:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;28724:1427;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;28724:1427:0;;;;;;;;:::i;38486:78::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;38486:78:0;;;:::i;:::-;;;;;;;;38623:106;;5:9:-1;2:2;;;27:1;24;17:12;2:2;38623:106:0;;;:::i;37638:337::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;37638:337:0;;;;;;;;:::i;36245:816::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;36245:816:0;;;;;;;;:::i;37167:107::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;37167:107:0;;;:::i;37409:124::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;37409:124:0;;;:::i;30206:2599::-;;;;;;;;;:::i;32861:3325::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;32861:3325:0;;;;;;;;:::i;21638:52::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;21638:52:0;;;:::i;:::-;;;;;;;;38072:288;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;38072:288:0;;;;;;;;:::i;22110:36::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;22110:36:0;;;:::i;22378:45::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;22378:45:0;;;:::i;38791:114::-;21963:1;;38791:114::o;37282:119::-;26011:20;-1:-1:-1;;;;;26011:34:0;26035:10;26011:34;:60;;;;;26049:22;:20;:22::i;:::-;25880:256;;;;-1:-1:-1;;;25880:256:0;;;;;;;;;;;;;;;;;37355:4:::1;37345:14:::0;;-1:-1:-1;;37345:14:0::1;;;::::0;;37375:18:::1;::::0;::::1;::::0;::::1;::::0;37382:10:::1;::::0;37375:18:::1;;;;;;;;;;37282:119::o:0;22273:36::-;;;:::o;21508:40::-;21545:3;21508:40;:::o;23175:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23175:43:0;;;;;;;;;;;;;:::o;28724:1427::-;7251:1;7857:7;;:19;;7849:63;;;;-1:-1:-1;;;7849:63:0;;;;;;;;;7251:1;7990:7;:18;26515:8:::1;:6;:8::i;:::-;26514:9;26506:40;;;;-1:-1:-1::0;;;26506:40:0::1;;;;;;;;;28994:7:::2;26989:29;27010:7;26989:20;:29::i;:::-;26981:64;;;;-1:-1:-1::0;;;26981:64:0::2;;;;;;;;;-1:-1:-1::0;;;;;29081:21:0;::::3;29073:30;;12:1:-1;9::::0;2:12:::3;29073:30:0;-1:-1:-1::0;;;;;29122:28:0;::::3;29114:37;;12:1:-1;9::::0;2:12:::3;29114:37:0;29190:3;29170:17;:23;;;29162:63;;;;-1:-1:-1::0;;;29162:63:0::3;;;;;;;;;29323:308;;;;;;;;29555:1;29323:308;;;;29356:8;29323:308;;;;29585:1;29323:308;;;;29393:12;29323:308;;;;29439:17;29323:308;;;;;;29480:7;-1:-1:-1::0;;;;;29323:308:0::3;;;;;29617:1;-1:-1:-1::0;;;;;29323:308:0::3;;;;;29518:14;-1:-1:-1::0;;;;;29323:308:0::3;;;::::0;29303:8:::3;:17;29312:7;29303:17;;;;;;;;;;;:328;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;29303:328:0::3;;;;;-1:-1:-1::0;;;;;29303:328:0::3;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;29303:328:0::3;;;;;-1:-1:-1::0;;;;;29303:328:0::3;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;29303:328:0::3;;;;;-1:-1:-1::0;;;;;29303:328:0::3;;;;;;;;;29729:11;-1:-1:-1::0;;;;;29721:33:0::3;;29777:11;-1:-1:-1::0;;;;;29769:28:0::3;;29798:7;29769:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;29769:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;29769:37:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;29769:37:0;;;;;;;;;29829:4;29849:7;29721:146;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;29721:146:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;29721:146:0;;;;29966:7;29937:206;29988:11;30014:8;30037:12;30064:17;30096:7;30118:14;29937:206;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;7207:1:0;8169:7;:22;-1:-1:-1;;;;;28724:1427:0:o;38486:78::-;38549:7;;;;;;;;38486:78::o;38623:106::-;38700:21;;;;38623:106;:::o;37638:337::-;26011:20;-1:-1:-1;;;;;26011:34:0;26035:10;26011:34;:60;;;;;26049:22;:20;:22::i;:::-;25880:256;;;;-1:-1:-1;;;25880:256:0;;;;;;;;;37713:254:::1;::::0;-1:-1:-1;;;37713:254:0;;-1:-1:-1;;;;;37721:11:0::1;37713:33;::::0;::::1;::::0;:254:::1;::::0;37812:4:::1;::::0;37873:20:::1;::::0;37949:7;;37713:254:::1;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;37713:254:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;37713:254:0;;;;37638:337:::0;:::o;36245:816::-;7251:1;7857:7;;:19;;7849:63;;;;-1:-1:-1;;;7849:63:0;;;;;;;;;7251:1;7990:7;:18;36348:7;26740:29:::1;36348:7:::0;26740:20:::1;:29::i;:::-;26739:30;26731:64;;;;-1:-1:-1::0;;;26731:64:0::1;;;;;;;;;26295:17:::2;::::0;;;:8:::2;:17;::::0;;;;:25:::2;;::::0;36378:7;;26295:25:::2;::::0;::::2;-1:-1:-1::0;;;;;26295:25:0::2;26324:10;26295:39;26273:126;;;;-1:-1:-1::0;;;26273:126:0::2;;;;;;;;;36502:17:::3;::::0;;;:8:::3;:17;::::0;;;;;;;:30:::3;::::0;36494:44;36472:117:::3;;;;-1:-1:-1::0;;;36472:117:0::3;;;;;;;;;36666:15;36684:17:::0;;;:8:::3;:17;::::0;;;;;;;:25:::3;::::0;;::::3;::::0;;36767:24;;;36684:25:::3;36767:24:::0;::::3;::::0;;;;;::::3;::::0;;;-1:-1:-1;36767:24:0;::::3;::::0;;;;-1:-1:-1;;;;;;36767:24:0;;;;;::::3;::::0;::::3;::::0;;-1:-1:-1;;;;;;36767:24:0;;::::3;::::0;;;::::3;::::0;;::::3;::::0;;;;::::3;::::0;;36852:66;-1:-1:-1;;;36852:66:0;;-1:-1:-1;;;;;36684:25:0::3;::::0;;::::3;::::0;::::3;::::0;36860:11:::3;36852:33:::0;;::::3;::::0;::::3;::::0;:66:::3;::::0;36894:4:::3;::::0;36684:25;;36693:7;;36852:66:::3;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;36852:66:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;36852:66:0;;;;37023:7;37007:46;37032:11;37045:7;37007:46;;;;;;;;;;;;;;;;-1:-1:-1::0;;7207:1:0;8169:7;:22;-1:-1:-1;;36245:816:0:o;37167:107::-;26011:20;-1:-1:-1;;;;;26011:34:0;26035:10;26011:34;:60;;;;;26049:22;:20;:22::i;:::-;25880:256;;;;-1:-1:-1;;;25880:256:0;;;;;;;;;37237:21:::1;:29:::0;;-1:-1:-1;;37237:29:0::1;::::0;;37167:107::o;37409:124::-;26011:20;-1:-1:-1;;;;;26011:34:0;26035:10;26011:34;:60;;;;;26049:22;:20;:22::i;:::-;25880:256;;;;-1:-1:-1;;;25880:256:0;;;;;;;;;37474:7:::1;:15:::0;;-1:-1:-1;;37474:15:0::1;::::0;;37505:20:::1;::::0;::::1;::::0;::::1;::::0;37514:10:::1;::::0;37505:20:::1;;30206:2599:::0;7251:1;7857:7;;:19;;7849:63;;;;-1:-1:-1;;;7849:63:0;;;;;;;;;7251:1;7990:7;:18;26515:8:::1;:6;:8::i;:::-;26514:9;26506:40;;;;-1:-1:-1::0;;;26506:40:0::1;;;;;;;;;30361:7:::2;26740:29;26761:7;26740:20;:29::i;:::-;26739:30;26731:64;;;;-1:-1:-1::0;;;26731:64:0::2;;;;;;;;;27349:17:::3;::::0;;;:8:::3;:17;::::0;;;;;;;:30:::3;::::0;30397:7;;27349:35;;:94:::3;;;27423:20;27435:7;27423:11;:20::i;:::-;27405:15;:38;27349:94;27171:315;;;;-1:-1:-1::0;;;27171:315:0::3;;;;;;;;;30521:9:::4;30511:6;:19;30503:62;;;;-1:-1:-1::0;;;30503:62:0::4;;;;;;;;;30593:1;30584:6;:10;30576:52;;;;-1:-1:-1::0;;;30576:52:0::4;;;;;;;;;30693:17;::::0;;;:8:::4;:17;::::0;;;;:24;30689:1302:::4;;30783:17;::::0;;;:8:::4;:17;::::0;;;;;;;30816:15:::4;30783:30:::0;;::::4;:48:::0;;;;31052:30:::4;;::::0;31042:40;::::4;;31016:131;;;;-1:-1:-1::0;;;31016:131:0::4;;;;;;;;;30689:1302;;;31524:17;::::0;;;:8:::4;:17;::::0;;;;:54;31394:307:::4;::::0;31524:154:::4;::::0;31674:3:::4;::::0;31524:115:::4;::::0;21688:2:::4;31524:115;:88;:115;:::i;:::-;:149:::0;:154:::4;:149;:154;:::i;:::-;31394:17;::::0;;;:8:::4;:17;::::0;;;;:24;;:307:::4;:28;:307;:::i;:::-;31363:6;:338;;31337:463;;;;-1:-1:-1::0;;;31337:463:0::4;;;;;;;;;31897:17;::::0;;;:8:::4;:17;::::0;;;;:24:::4;::::0;::::4;::::0;31940;;31861:118:::4;::::0;-1:-1:-1;;;;;31897:24:0::4;::::0;31861:17:::4;:118::i;:::-;32041:17;::::0;;;:8:::4;:17;::::0;;;;:33;;;32085:24:::4;;:37:::0;;-1:-1:-1;;;;;;32085:37:0::4;32112:10;32085:37;::::0;;32341:32:::4;:15;21545:3;32341:32;:19;:32;:::i;:::-;32318:20;32330:7;32318:11;:20::i;:::-;:55;32314:363;;;32575:90;32630:20;32642:7;32630:11;:20::i;:::-;32575:32;:15;21545:3;32575:32;:19;:32;:::i;:::-;:36:::0;:90:::4;:36;:90;:::i;:::-;32545:17;::::0;;;:8:::4;:17;::::0;;;;:26:::4;;:120:::0;;;;::::4;::::0;;32314:363:::4;32756:7;32745:52;32765:11;32778:10;32790:6;32745:52;;;;;;;;;32861:3325:::0;7251:1;7857:7;;:19;;7849:63;;;;-1:-1:-1;;;7849:63:0;;;;;;;;;7251:1;7990:7;:18;26515:8:::1;:6;:8::i;:::-;26514:9;26506:40;;;;-1:-1:-1::0;;;26506:40:0::1;;;;;;;;;27882:1:::2;27849:17:::0;;;:8:::2;:17;::::0;;;;;;;:30:::2;::::0;32986:7;;27849:34;;;;:94:::2;;;27923:20;27935:7;27923:11;:20::i;:::-;27904:15;:39;;27849:94;27689:306;;;;-1:-1:-1::0;;;27689:306:0::2;;;;;;;;;33092:14:::3;33109:17:::0;;;:8:::3;:17;::::0;;;;;;;:24:::3;::::0;::::3;::::0;;33161;;33214:25:::3;::::0;;::::3;::::0;;33355:32:::3;::::0;::::3;::::0;;33463:24;;;33109;33463;::::3;::::0;;;;;::::3;::::0;;;-1:-1:-1;33463:24:0;;::::3;::::0;;;;-1:-1:-1;;;;;;33463:24:0;;;;-1:-1:-1;;;;;;33463:24:0;;::::3;::::0;;;;;::::3;::::0;;;33618:65;;-1:-1:-1;;;33618:65:0;;-1:-1:-1;;;;;33109:24:0;;::::3;::::0;33161;;33109::::3;33214:25:::0;::::3;::::0;::::3;::::0;33276:35:::3;::::0;;::::3;::::0;33355:32;;::::3;::::0;33626:11:::3;33618:33:::0;;::::3;::::0;::::3;::::0;:65:::3;::::0;33660:4:::3;::::0;33109:24;;33118:7;;33618:65:::3;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;33618:65:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;-1:-1:::0;;;;33742:21:0::3;::::0;::::3;::::0;33738:631:::3;;33862:21;33886:38;33920:3;33886:29;:6:::0;:29:::3;::::0;::::3;;:10;:29;:::i;:38::-;33862:62;;33979:41;33997:7;34006:13;33979:17;:41::i;:::-;34192:25;:6:::0;34203:13;34192:25:::3;:10;:25;:::i;:::-;34183:34;;34325:7;34299:58;34334:7;34343:13;34299:58;;;;;;;;;;;;;;;;33738:631;;34564:50;::::0;-1:-1:-1;;;34564:50:0;;34488:26:::3;::::0;-1:-1:-1;;;;;34579:11:0::3;34564:41;::::0;::::3;::::0;:50:::3;::::0;34606:7;;34564:50:::3;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;34564:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;34564:50:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;34564:50:0;;;;;;;;;34488:142;;34809:14;-1:-1:-1::0;;;;;34795:28:0::3;:10;-1:-1:-1::0;;;;;34795:28:0::3;;34791:1122;;;34840:37;34858:10;34870:6;34840:17;:37::i;:::-;34791:1122;;;35041:21;35238:11;-1:-1:-1::0;;;;;35223:42:0::3;;:44;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;35223:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;35223:44:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;35223:44:0;;;;;;;;;-1:-1:-1::0;;;;;35215:86:0::3;;35428:11;-1:-1:-1::0;;;;;35413:42:0::3;;:44;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;35413:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;35413:44:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;35413:44:0;;;;;;;;;-1:-1:-1::0;;;;;35405:97:0::3;;35503:7;35405:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;35405:106:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;35405:106:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;35405:106:0;;;;;;;;;:140;;;35612:6;35215:422;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;35215:422:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;35215:422:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;35215:422:0;;;;;;;;;35041:596;;35709:44;35727:10;35739:13;35709:17;:44::i;:::-;35841:60;35859:14:::0;35875:25:::3;:6:::0;35886:13;35875:25:::3;:10;:25;:::i;:::-;35841:17;:60::i;:::-;34791:1122;;36016:7;35989:189;36038:11;36064:7;36086:6;36107;36128:10;36153:14;35989:189;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;7207:1:0;8169:7;:22;-1:-1:-1;;;;;;32861:3325:0:o;21638:52::-;21688:2;21638:52;:::o;38072:288::-;38171:12;26011:20;-1:-1:-1;;;;;26011:34:0;26035:10;26011:34;:60;;;;;26049:22;:20;:22::i;:::-;25880:256;;;;-1:-1:-1;;;25880:256:0;;;;;;;;;38304:48:::1;38323:20;38345:6;38304:18;:48::i;:::-;38294:58:::0;38072:288;-1:-1:-1;;38072:288:0:o;22110:36::-;;;:::o;22378:45::-;;;:::o;40441:293::-;40510:4;40687:17;;;:8;:17;;;;;:25;;;;;;-1:-1:-1;;;;;40687:25:0;:39;;40441:293::o;40805:326::-;40865:7;41096:17;;;:8;:17;;;;;;;:26;;;;41061:30;;;:62;;;:34;:62;:::i;2425:471::-;2483:7;2728:6;2724:47;;-1:-1:-1;2758:1:0;2751:8;;2724:47;2795:5;;;2799:1;2795;:5;:1;2819:5;;;;;:10;2811:56;;;;-1:-1:-1;;;2811:56:0;;;;;;;;;2887:1;2425:471;-1:-1:-1;;;2425:471:0:o;3372:132::-;3430:7;3457:39;3461:1;3464;3457:39;;;;;;;;;;;;;;;;;:3;:39::i;1071:181::-;1129:7;1161:5;;;1185:6;;;;1177:46;;;;-1:-1:-1;;;1177:46:0;;;;;;;;39049:566;39183:29;39202:2;39206:5;39183:18;:29::i;:::-;39178:430;;39445:11;-1:-1:-1;;;;;39439:26:0;;39473:5;39439:42;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;39439:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;39496:38:0;;-1:-1:-1;;;39496:38:0;;-1:-1:-1;;;;;39502:11:0;39496:27;;-1:-1:-1;39496:27:0;;-1:-1:-1;39496:38:0;;-1:-1:-1;39524:2:0;;39528:5;;39496:38;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;39496:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39496:38:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;39496:38:0;;;;;;;;;;39178:430;39049:566;;:::o;1535:136::-;1593:7;1620:43;1624:1;1627;1620:43;;;;;;;;;;;;;;;;;:3;:43::i;39940:419::-;40030:4;40271:12;40289:2;-1:-1:-1;;;;;40289:7:0;40304:5;40316;40289:37;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;-1:-1;40270:56:0;;39940:419;-1:-1:-1;;;;;39940:419:0:o;4000:278::-;4086:7;4121:12;4114:5;4106:28;;;;-1:-1:-1;;;4106:28:0;;;;;;;;;;;4145:9;4161:1;4157;:5;;;;;;;4000:278;-1:-1:-1;;;;;4000:278:0:o;1974:192::-;2060:7;2096:12;2088:6;;;;2080:29;;;;-1:-1:-1;;;2080:29:0;;;;;;;;;;-1:-1:-1;;;2132:5:0;;;1974:192::o;1363:342:-1:-;;1484:4;1472:9;1467:3;1463:19;1459:30;1456:2;;;-1:-1;;1492:12;1456:2;1520:20;1484:4;1520:20;;;1927:13;;1598:86;;-1:-1;1511:29;1450:255;-1:-1;1450:255;2123:263;;2238:2;2226:9;2217:7;2213:23;2209:32;2206:2;;;-1:-1;;2244:12;2206:2;226:6;220:13;238:33;265:5;238:33;;2393:257;;2505:2;2493:9;2484:7;2480:23;2476:32;2473:2;;;-1:-1;;2511:12;2473:2;517:6;511:13;28392:5;26874:13;26867:21;28370:5;28367:32;28357:2;;-1:-1;;28403:12;2657:315;;2798:2;2786:9;2777:7;2773:23;2769:32;2766:2;;;-1:-1;;2804:12;2766:2;764:20;2798:2;764:20;;;871:81;948:3;924:22;871:81;;;853:16;846:107;1050:81;1127:3;1017:2;1107:9;1103:22;1050:81;;;1017:2;1036:5;1032:16;1025:107;1227:81;1304:3;1194:2;1284:9;1280:22;1227:81;;;1194:2;1209:16;;1202:107;1213:5;2760:212;-1:-1;;;2760:212;2979:241;;3083:2;3071:9;3062:7;3058:23;3054:32;3051:2;;;-1:-1;;3089:12;3051:2;-1:-1;1779:20;;3045:175;-1:-1;3045:175;3227:263;;3342:2;3330:9;3321:7;3317:23;3313:32;3310:2;;;-1:-1;;3348:12;3310:2;-1:-1;1927:13;;3304:186;-1:-1;3304:186;3497:366;;;3618:2;3606:9;3597:7;3593:23;3589:32;3586:2;;;-1:-1;;3624:12;3586:2;-1:-1;;1779:20;;;3776:2;3815:22;;;1779:20;;-1:-1;3580:283;3870:881;;;;;;;4065:3;4053:9;4044:7;4040:23;4036:33;4033:2;;;-1:-1;;4072:12;4033:2;1792:6;1779:20;4124:63;;4224:2;4267:9;4263:22;1779:20;4232:63;;4332:2;4375:9;4371:22;1779:20;4340:63;;4440:2;4481:9;4477:22;2055:20;27269:4;28636:5;27258:16;28613:5;28610:33;28600:2;;-1:-1;;28647:12;28600:2;4448:61;-1:-1;4546:3;4586:22;;72:20;97:33;72:20;97:33;;;4555:63;-1:-1;4655:3;4703:22;;358:20;383:41;358:20;383:41;;;4664:71;;;;4027:724;;;;;;;;;12331:379;12695:10;12519:191;12717:222;-1:-1;;;;;27053:54;;;;4994:45;;12844:2;12829:18;;12815:124;13191:333;-1:-1;;;;;27053:54;;;4994:45;;27053:54;;13510:2;13495:18;;4994:45;13346:2;13331:18;;13317:207;13531:460;-1:-1;;;;;27053:54;;;4994:45;;27053:54;;;;13894:2;13879:18;;4837:58;13977:2;13962:18;;12048:37;;;;13722:2;13707:18;;13693:298;13998:828;-1:-1;;;;;27053:54;;;4994:45;;27053:54;;;14454:2;14439:18;;4994:45;27053:54;;;14537:2;14522:18;;4994:45;14620:2;14605:18;;12048:37;;;;27053:54;;14711:3;14696:19;;4837:58;27053:54;;;27064:42;14796:19;;4994:45;14289:3;14274:19;;14260:566;15284:333;-1:-1;;;;;27053:54;;;;4994:45;;15603:2;15588:18;;12048:37;15439:2;15424:18;;15410:207;15624:788;-1:-1;;;;;27053:54;;;4994:45;;16060:2;16045:18;;12048:37;;;;16143:2;16128:18;;12048:37;;;;27269:4;27258:16;;;;16222:2;16207:18;;12284:35;27053:54;;16305:3;16290:19;;4994:45;27053:54;;;27064:42;16382:19;;4837:58;15895:3;15880:19;;15866:546;16419:210;26874:13;;26867:21;5236:34;;16540:2;16525:18;;16511:118;16636:310;;16783:2;;16804:17;16797:47;5427:5;26238:12;26548:6;16783:2;16772:9;16768:18;26536:19;-1:-1;27738:101;27752:6;27749:1;27746:13;27738:101;;;27819:11;;;;;27813:18;27800:11;;;26576:14;27800:11;27793:39;27767:10;;27738:101;;;27854:6;27851:1;27848:13;27845:2;;;-1:-1;26576:14;27910:6;16772:9;27901:16;;27894:27;27845:2;-1:-1;28026:7;28010:14;-1:-1;;28006:28;5585:39;;;;26576:14;5585:39;;16754:192;-1:-1;;;16754:192;16953:416;17153:2;17167:47;;;5861:2;17138:18;;;26536:19;-1:-1;;;26576:14;;;5877:45;5941:12;;;17124:245;17376:416;17576:2;17590:47;;;6192:2;17561:18;;;26536:19;6228:31;26576:14;;;6208:52;6279:12;;;17547:245;17799:416;17999:2;18013:47;;;6530:2;17984:18;;;26536:19;6566:29;26576:14;;;6546:50;6615:12;;;17970:245;18222:416;18422:2;18436:47;;;6866:2;18407:18;;;26536:19;6902:31;26576:14;;;6882:52;6953:12;;;18393:245;18645:416;18845:2;18859:47;;;7204:2;18830:18;;;26536:19;7240:34;26576:14;;;7220:55;-1:-1;;;7295:12;;;7288:29;7336:12;;;18816:245;19068:416;19268:2;19282:47;;;7587:2;19253:18;;;26536:19;7623:32;26576:14;;;7603:53;7675:12;;;19239:245;19491:416;19691:2;19705:47;;;7926:2;19676:18;;;26536:19;7962:34;26576:14;;;7942:55;8031:33;8017:12;;;8010:55;8084:12;;;19662:245;19914:416;20114:2;20128:47;;;8335:2;20099:18;;;26536:19;8371:25;26576:14;;;8351:46;8416:12;;;20085:245;20337:416;20537:2;20551:47;;;8667:2;20522:18;;;26536:19;8703:34;26576:14;;;8683:55;-1:-1;;;8758:12;;;8751:25;8795:12;;;20508:245;20760:416;20960:2;20974:47;;;9046:2;20945:18;;;26536:19;-1:-1;;;26576:14;;;9062:44;9125:12;;;20931:245;21183:416;21383:2;21397:47;;;9376:2;21368:18;;;26536:19;9412:29;26576:14;;;9392:50;9461:12;;;21354:245;21606:416;21806:2;21820:47;;;9712:2;21791:18;;;26536:19;9748:34;26576:14;;;9728:55;-1:-1;;;9803:12;;;9796:29;9844:12;;;21777:245;22029:416;22229:2;22243:47;;;10400:2;22214:18;;;26536:19;10436:26;26576:14;;;10416:47;10482:12;;;22200:245;22452:416;22652:2;22666:47;;;10733:2;22637:18;;;26536:19;-1:-1;;;26576:14;;;10749:41;10809:12;;;22623:245;22875:416;23075:2;23089:47;;;11060:2;23060:18;;;26536:19;11096:33;26576:14;;;11076:54;11149:12;;;23046:245;23298:416;23498:2;23512:47;;;11400:2;23483:18;;;26536:19;-1:-1;;;26576:14;;;11416:38;11473:12;;;23469:245;23721:417;11750:23;;12048:37;;24124:2;24109:18;;12048:37;23918:2;23903:18;;23889:249;24145:218;26972:6;26961:18;;;;11939:36;;24270:2;24255:18;;24241:122;24370:222;12048:37;;;24497:2;24482:18;;24468:124;24599:1060;12048:37;;;25115:2;25100:18;;12048:37;;;;25198:2;25183:18;;12048:37;;;;25281:2;25266:18;;12048:37;;;;27269:4;27258:16;25360:3;25345:19;;12284:35;-1:-1;;;;;27053:54;;;27064:42;25429:19;;4994:45;27053:54;;;25544:3;25529:19;;4994:45;27053:54;25644:3;25629:19;;4994:45;24950:3;24935:19;;24921:738;25666:214;27269:4;27258:16;;;;12284:35;;25789:2;25774:18;;25760:120;25887:256;25949:2;25943:9;25975:17;;;26050:18;26035:34;;26071:22;;;26032:62;26029:2;;;26107:1;;26097:12;26029:2;25949;26116:22;25927:216;;-1:-1;25927:216;28047:117;-1:-1;;;;;27053:54;;28106:35;;28096:2;;28155:1;;28145:12;28096:2;28090:74;

Swarm Source

ipfs://99d3d5a6e2fe1f69eed15017169b411623b569d72f8842899c0db14f1693d37a

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.