Contract Address Details

0x90B8E5D12c7b166563853C378E6C78Ed6e564b94

Contract Name
NFTEX2
Creator
0xece369–fbe31e at 0xb81d59–bd0f41
Balance
0 Doge
Tokens
Fetching tokens...
Transactions
3,510 Transactions
Transfers
3,178 Transfers
Gas Used
662,968,994
Last Balance Update
25403816
Contract name:
NFTEX2




Optimization enabled
false
Compiler version
v0.7.2+commit.51b20bc0




EVM Version
default




Verified at
2022-08-22T19:37:43.372360Z

Constructor Arguments

00000000000000000000000000000000000000000000000000000000000000fa

Arg [0] (uint16) : 250

              

Contract source code

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/utils/Context.sol



pragma solidity >=0.6.0 <0.8.0;

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

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/access/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/token/ERC721/IERC721Receiver.sol



pragma solidity >=0.6.0 <0.8.0;

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/token/ERC721/ERC721Holder.sol



pragma solidity >=0.6.0 <0.8.0;


  /**
   * @dev Implementation of the {IERC721Receiver} interface.
   *
   * Accepts all token transfers. 
   * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
   */
contract ERC721Holder is IERC721Receiver {

    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/introspection/IERC165.sol



pragma solidity >=0.6.0 <0.8.0;

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/token/ERC721/IERC721.sol



pragma solidity >=0.6.2 <0.8.0;


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



pragma solidity 0.7.2;

//import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
//import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
//import "@openzeppelin/contracts/access/Ownable.sol";

//https://github.com/TheGreatHB/NFTEX/blob/main/contracts/NFTEX.sol




//import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
//import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
//import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
//import "@openzeppelin/contracts/access/Ownable.sol";



contract NFTEX2 is ERC721Holder, Ownable {

  struct Order {
    uint8 orderType;  //0:Fixed Price, 1:Dutch Auction, 2:English Auction
    address seller;
    IERC721 token;
    uint256 tokenId;
    uint256 startPrice;
    uint256 endPrice;
    uint256 startBlock;
    uint256 endBlock;
    uint256 lastBidPrice;
    address lastBidder;
    bool isSold;
  }

  mapping(IERC721 => bool) public whitelisted;


  mapping (IERC721 => mapping (uint256 => bytes32[])) public orderIdByToken;
  mapping (address => bytes32[]) public orderIdBySeller;
  mapping (bytes32 => Order) public orderInfo;

  address public feeAddress;
  uint16 public feePercent;

  event MakeOrder(IERC721 indexed token, uint256 id, bytes32 indexed hash, address seller);
  event CancelOrder(IERC721 indexed token, uint256 id, bytes32 indexed hash, address seller);
  event Bid(IERC721 indexed token, uint256 id, bytes32 indexed hash, address bidder, uint256 bidPrice);
  event Claim(IERC721 indexed token, uint256 id, bytes32 indexed hash, address seller, address taker, uint256 price);


  constructor(uint16 _feePercent) {
    require(_feePercent <= 10000, "input value is more than 100%");
    feeAddress = msg.sender;
    feePercent = _feePercent;
  }


  // view fx
  function getCurrentPrice(bytes32 _order) public view returns (uint256) {
    Order storage o = orderInfo[_order];
    uint8 orderType = o.orderType;
    if (orderType == 0) {
      return o.startPrice;
    } else if (orderType == 2) {
      uint256 lastBidPrice = o.lastBidPrice;
      return lastBidPrice == 0 ? o.startPrice : lastBidPrice;
    } else {
      uint256 _startPrice = o.startPrice;
      uint256 _startBlock = o.startBlock;
      uint256 tickPerBlock = (_startPrice - o.endPrice) / (o.endBlock - _startBlock);
      return _startPrice - ((block.number - _startBlock) * tickPerBlock);
    }
  }

  function tokenOrderLength(IERC721 _token, uint256 _id) external view returns (uint256) {
    return orderIdByToken[_token][_id].length;
  }

  function sellerOrderLength(address _seller) external view returns (uint256) {
    return orderIdBySeller[_seller].length;
  }


  // make order fx
  //0:Fixed Price, 1:Dutch Auction, 2:English Auction
  function dutchAuction(IERC721 _token, uint256 _id, uint256 _startPrice, uint256 _endPrice, uint256 _endBlock) public {
    require(_startPrice > _endPrice, "End price should be lower than start price");
    _makeOrder(1, _token, _id, _startPrice, _endPrice, _endBlock);
  }  //sp != ep

  function englishAuction(IERC721 _token, uint256 _id, uint256 _startPrice, uint256 _endBlock) public {
    _makeOrder(2, _token, _id, _startPrice, 0, _endBlock);
  } //ep=0. for gas saving.

  function fixedPrice(IERC721 _token, uint256 _id, uint256 _price, uint256 _endBlock) public {
    _makeOrder(0, _token, _id, _price, 0, _endBlock);
  }  //ep=0. for gas saving.

  function _makeOrder(
    uint8 _orderType,
    IERC721 _token,
    uint256 _id,
    uint256 _startPrice,
    uint256 _endPrice,
    uint256 _endBlock
  ) internal {

//    if(!whitelisted[_token]) {
//    require(true, "Token not in whitelist");
//    }
   
    require (whitelisted[_token], "Token not in whitelist");

    require(_endBlock > block.number, "Duration must be more than zero");
      
    //push
    bytes32 hash = _hash(_token, _id, msg.sender);
    orderInfo[hash] = Order(_orderType, msg.sender, _token, _id, _startPrice, _endPrice, block.number, _endBlock, 0, address(0), false);
    orderIdByToken[_token][_id].push(hash);
    orderIdBySeller[msg.sender].push(hash);

    //check if seller has a right to transfer the NFT token. safeTransferFrom.
    _token.safeTransferFrom(msg.sender, address(this), _id);

    emit MakeOrder(_token, _id, hash, msg.sender);
  }

  function _hash(IERC721 _token, uint256 _id, address _seller) internal view returns (bytes32) {
    return keccak256(abi.encodePacked(block.number, _token, _id, _seller));
  }
  
  // take order fx
  //you have to pay only ETH for bidding and buying.

  //In this contract, since send function is used instead of transfer or low-level call function,
  //if a participant is a contract, it must have receive payable function.
  //But if it has some code in either receive or fallback fx, they might not be able to receive their ETH.
  //Even though some contracts can't receive their ETH, the transaction won't be failed.

  //Bids must be at least 5% higher than the previous bid.
  //If someone bids in the last 5 minutes of an auction, the auction will automatically extend by 5 minutes.
  function bid(bytes32 _order) payable external {
    Order storage o = orderInfo[_order];
    uint256 endBlock = o.endBlock;
    uint256 lastBidPrice = o.lastBidPrice;
    address lastBidder = o.lastBidder;

    require(o.orderType == 2, "only for English Auction");
    require(endBlock != 0, "Canceled order");
    require(block.number <= endBlock, "It's over");
    require(o.seller != msg.sender, "Can not bid to your order");

    if (lastBidPrice != 0) {
      require(msg.value >= lastBidPrice + (lastBidPrice / 20), "low price bid");  //5%
    } else {
      require(msg.value >= o.startPrice && msg.value > 0, "low price bid");
    }

    if (block.number > endBlock - 150) {  //20blocks = 5 mins in Etherium.
      o.endBlock = endBlock + 150;
    }

    o.lastBidder = msg.sender;
    o.lastBidPrice = msg.value;

    if (lastBidPrice != 0) {
//      payable(lastBidder).send(lastBidPrice);
     payable(lastBidder).transfer(lastBidPrice);
    }
    
    emit Bid(o.token, o.tokenId, _order, msg.sender, msg.value);
  }

  function buyItNow(bytes32 _order) payable external {
    Order storage o = orderInfo[_order];
    uint256 endBlock = o.endBlock;
    require(endBlock != 0, "Canceled order");
    require(endBlock > block.number, "It's over");
    require(o.orderType < 2, "It's a English Auction");
    require(o.isSold == false, "Already sold");

    uint256 currentPrice = getCurrentPrice(_order);
    require(msg.value >= currentPrice, "price error");

    o.isSold = true;    //reentrancy proof

    uint256 fee = currentPrice * feePercent / 10000;
 //   payable(o.seller).send(currentPrice - fee);
 //   payable(feeAddress).send(fee);
    payable(o.seller).transfer(currentPrice - fee);
    payable(feeAddress).transfer(fee);
    if (msg.value > currentPrice) {
//      payable(msg.sender).send(msg.value - currentPrice);
      payable(msg.sender).transfer(msg.value - currentPrice);
    }

    o.token.safeTransferFrom(address(this), msg.sender, o.tokenId);

    emit Claim(o.token, o.tokenId, _order, o.seller, msg.sender, currentPrice);
  }

  //both seller and taker can call this fx in English Auction. Probably the taker(last bidder) might call this fx.
  //In both DA and FP, buyItNow fx include claim fx.
  function claim(bytes32 _order) external {
    Order storage o = orderInfo[_order];
    address seller = o.seller;
    address lastBidder = o.lastBidder;
    require(o.isSold == false, "Already sold");

    require(seller == msg.sender || lastBidder == msg.sender, "Access denied");
    require(o.orderType == 2, "This function is for English Auction");
    require(block.number > o.endBlock, "Not yet");

    IERC721 token = o.token;
    uint256 tokenId = o.tokenId;
    uint256 lastBidPrice = o.lastBidPrice;

    uint256 fee = lastBidPrice * feePercent / 10000;

    o.isSold = true;

 //   payable(seller).send(lastBidPrice - fee);
 //   payable(feeAddress).send(fee);

    payable(seller).transfer(lastBidPrice - fee);
    payable(feeAddress).transfer(fee);

    token.safeTransferFrom(address(this), lastBidder, tokenId);

    emit Claim(token, tokenId, _order, seller, lastBidder, lastBidPrice);
  }


  function cancelOrder(bytes32 _order) external {
    Order storage o = orderInfo[_order];
    require(o.seller == msg.sender, "Access denied");
    require(o.lastBidPrice == 0, "Bidding exist"); //for EA. but even in DA, FP, seller can withdraw his/her token with this fx.
    require(o.isSold == false, "Already sold");

    IERC721 token = o.token;
    uint256 tokenId = o.tokenId;

    o.endBlock = 0;   //0 endBlock means the order was canceled.

    token.safeTransferFrom(address(this), msg.sender, tokenId);
    emit CancelOrder(token, tokenId, _order, msg.sender);
  }

  //feeAddress must be either an EOA or a contract must have payable receive fx and doesn't have some codes in that fx.
  //If not, it might be that it won't be receive any fee.
  function setFeeAddress(address _feeAddress) external onlyOwner {
    feeAddress = _feeAddress;
  }

  function updateFeePercent(uint16 _percent) external onlyOwner {
    require(_percent <= 10000, "input value is more than 100%");
    feePercent = _percent;
  }

 function whitelistUser(IERC721 _token) public onlyOwner {
    whitelisted[_token] = true;
  }

  function removeWhitelistUser(IERC721 _token) public onlyOwner {
    whitelisted[_token] = false;
  }

}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"uint16","name":"_feePercent","internalType":"uint16"}]},{"type":"event","name":"Bid","inputs":[{"type":"address","name":"token","internalType":"contract IERC721","indexed":true},{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"bytes32","name":"hash","internalType":"bytes32","indexed":true},{"type":"address","name":"bidder","internalType":"address","indexed":false},{"type":"uint256","name":"bidPrice","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"CancelOrder","inputs":[{"type":"address","name":"token","internalType":"contract IERC721","indexed":true},{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"bytes32","name":"hash","internalType":"bytes32","indexed":true},{"type":"address","name":"seller","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Claim","inputs":[{"type":"address","name":"token","internalType":"contract IERC721","indexed":true},{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"bytes32","name":"hash","internalType":"bytes32","indexed":true},{"type":"address","name":"seller","internalType":"address","indexed":false},{"type":"address","name":"taker","internalType":"address","indexed":false},{"type":"uint256","name":"price","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"MakeOrder","inputs":[{"type":"address","name":"token","internalType":"contract IERC721","indexed":true},{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"bytes32","name":"hash","internalType":"bytes32","indexed":true},{"type":"address","name":"seller","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"payable","outputs":[],"name":"bid","inputs":[{"type":"bytes32","name":"_order","internalType":"bytes32"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"buyItNow","inputs":[{"type":"bytes32","name":"_order","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"cancelOrder","inputs":[{"type":"bytes32","name":"_order","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claim","inputs":[{"type":"bytes32","name":"_order","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"dutchAuction","inputs":[{"type":"address","name":"_token","internalType":"contract IERC721"},{"type":"uint256","name":"_id","internalType":"uint256"},{"type":"uint256","name":"_startPrice","internalType":"uint256"},{"type":"uint256","name":"_endPrice","internalType":"uint256"},{"type":"uint256","name":"_endBlock","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"englishAuction","inputs":[{"type":"address","name":"_token","internalType":"contract IERC721"},{"type":"uint256","name":"_id","internalType":"uint256"},{"type":"uint256","name":"_startPrice","internalType":"uint256"},{"type":"uint256","name":"_endBlock","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"feeAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint16","name":"","internalType":"uint16"}],"name":"feePercent","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"fixedPrice","inputs":[{"type":"address","name":"_token","internalType":"contract IERC721"},{"type":"uint256","name":"_id","internalType":"uint256"},{"type":"uint256","name":"_price","internalType":"uint256"},{"type":"uint256","name":"_endBlock","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getCurrentPrice","inputs":[{"type":"bytes32","name":"_order","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bytes4","name":"","internalType":"bytes4"}],"name":"onERC721Received","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"bytes","name":"","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"orderIdBySeller","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"orderIdByToken","inputs":[{"type":"address","name":"","internalType":"contract IERC721"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"orderType","internalType":"uint8"},{"type":"address","name":"seller","internalType":"address"},{"type":"address","name":"token","internalType":"contract IERC721"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"startPrice","internalType":"uint256"},{"type":"uint256","name":"endPrice","internalType":"uint256"},{"type":"uint256","name":"startBlock","internalType":"uint256"},{"type":"uint256","name":"endBlock","internalType":"uint256"},{"type":"uint256","name":"lastBidPrice","internalType":"uint256"},{"type":"address","name":"lastBidder","internalType":"address"},{"type":"bool","name":"isSold","internalType":"bool"}],"name":"orderInfo","inputs":[{"type":"bytes32","name":"","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeWhitelistUser","inputs":[{"type":"address","name":"_token","internalType":"contract IERC721"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"sellerOrderLength","inputs":[{"type":"address","name":"_seller","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFeeAddress","inputs":[{"type":"address","name":"_feeAddress","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOrderLength","inputs":[{"type":"address","name":"_token","internalType":"contract IERC721"},{"type":"uint256","name":"_id","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateFeePercent","inputs":[{"type":"uint16","name":"_percent","internalType":"uint16"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"whitelistUser","inputs":[{"type":"address","name":"_token","internalType":"contract IERC721"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"whitelisted","inputs":[{"type":"address","name":"","internalType":"contract IERC721"}]}]
            

Contract Creation Code

0x60806040523480156200001157600080fd5b506040516200315538038062003155833981810160405260208110156200003757600080fd5b810190808051906020019092919050505060006200005a620001da60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506127108161ffff16111562000175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f696e7075742076616c7565206973206d6f7265207468616e203130302500000081525060200191505060405180910390fd5b33600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560146101000a81548161ffff021916908361ffff16021790555050620001e2565b600033905090565b612f6380620001f26000396000f3fe60806040526004361061014b5760003560e01c80637fd6f15c116100b6578063957bb1e01161006f578063957bb1e014610888578063a04a86bd146108b6578063bd66528a146108f5578063d936547e14610930578063f2fde38b14610997578063f4dae74c146109e85761014b565b80637fd6f15c146106c55780638035eb5c146106f45780638705fcd4146107635780638aae982a146107b45780638ba39adb146108195780638da5cb5b146108475761014b565b8063275e086c11610108578063275e086c1461051757806330cc7ae01461059057806341275358146105e15780634a4c560d14610622578063715018a6146106735780637489ec231461068a5761014b565b806308745c9814610150578063093dff7d146101bf578063150b7a0214610238578063161e444e1461037d57806319daa108146103cc578063238e203f1461043b575b600080fd5b34801561015c57600080fd5b506101a96004803603604081101561017357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a57565b6040518082815260200191505060405180910390f35b3480156101cb57600080fd5b50610236600480360360a08110156101e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190505050610a85565b005b34801561024457600080fd5b506103486004803603608081101561025b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156102c257600080fd5b8201836020820111156102d457600080fd5b803590602001918460018302840111640100000000831117156102f657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610af3565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b34801561038957600080fd5b506103b6600480360360208110156103a057600080fd5b8101908080359060200190929190505050610b07565b6040518082815260200191505060405180910390f35b3480156103d857600080fd5b50610425600480360360408110156103ef57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bc2565b6040518082815260200191505060405180910390f35b34801561044757600080fd5b506104746004803603602081101561045e57600080fd5b8101908080359060200190929190505050610c20565b604051808c60ff1681526020018b73ffffffffffffffffffffffffffffffffffffffff1681526020018a73ffffffffffffffffffffffffffffffffffffffff1681526020018981526020018881526020018781526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019b50505050505050505050505060405180910390f35b34801561052357600080fd5b5061057a6004803603606081101561053a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610cf4565b6040518082815260200191505060405180910390f35b34801561059c57600080fd5b506105df600480360360208110156105b357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d2f565b005b3480156105ed57600080fd5b506105f6610e39565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561062e57600080fd5b506106716004803603602081101561064557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e5f565b005b34801561067f57600080fd5b50610688610f68565b005b34801561069657600080fd5b506106c3600480360360208110156106ad57600080fd5b81019080803590602001909291905050506110d5565b005b3480156106d157600080fd5b506106da61140c565b604051808261ffff16815260200191505060405180910390f35b34801561070057600080fd5b506107616004803603608081101561071757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190505050611420565b005b34801561076f57600080fd5b506107b26004803603602081101561078657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611436565b005b3480156107c057600080fd5b50610803600480360360208110156107d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611529565b6040518082815260200191505060405180910390f35b6108456004803603602081101561082f57600080fd5b8101908080359060200190929190505050611575565b005b34801561085357600080fd5b5061085c611b39565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108b46004803603602081101561089e57600080fd5b8101908080359060200190929190505050611b62565b005b3480156108c257600080fd5b506108f3600480360360208110156108d957600080fd5b81019080803561ffff16906020019092919050505061205f565b005b34801561090157600080fd5b5061092e6004803603602081101561091857600080fd5b81019080803590602001909291905050506121aa565b005b34801561093c57600080fd5b5061097f6004803603602081101561095357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126cf565b60405180821515815260200191505060405180910390f35b3480156109a357600080fd5b506109e6600480360360208110156109ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126ef565b005b3480156109f457600080fd5b50610a5560048036036080811015610a0b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001909291905050506128e1565b005b60036020528160005260406000208181548110610a7057fe5b90600052602060002001600091509150505481565b818311610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612f04602a913960400191505060405180910390fd5b610aec600186868686866128f7565b5050505050565b600063150b7a0260e01b9050949350505050565b60008060046000848152602001908152602001600020905060008160000160009054906101000a900460ff16905060008160ff161415610b4f57816003015492505050610bbd565b60028160ff161415610b825760008260070154905060008114610b725780610b78565b82600301545b9350505050610bbd565b6000826003015490506000836005015490506000818560060154038560040154840381610bab57fe5b04905080824303028303955050505050505b919050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002080549050905092915050565b60046020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154908060050154908060060154908060070154908060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060080160149054906101000a900460ff1690508b565b60026020528260005260406000206020528160005260406000208181548110610d1957fe5b9060005260206000200160009250925050505481565b610d37612e35565b73ffffffffffffffffffffffffffffffffffffffff16610d55611b39565b73ffffffffffffffffffffffffffffffffffffffff1614610dde576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e67612e35565b73ffffffffffffffffffffffffffffffffffffffff16610e85611b39565b73ffffffffffffffffffffffffffffffffffffffff1614610f0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610f70612e35565b73ffffffffffffffffffffffffffffffffffffffff16610f8e611b39565b73ffffffffffffffffffffffffffffffffffffffff1614611017576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60006004600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f4163636573732064656e6965640000000000000000000000000000000000000081525060200191505060405180910390fd5b600081600701541461122b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f42696464696e672065786973740000000000000000000000000000000000000081525060200191505060405180910390fd5b600015158160080160149054906101000a900460ff161515146112b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f416c726561647920736f6c64000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600082600201549050600083600601819055508173ffffffffffffffffffffffffffffffffffffffff166342842e0e3033846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561138157600080fd5b505af1158015611395573d6000803e3d6000fd5b50505050838273ffffffffffffffffffffffffffffffffffffffff167f856ac238bc6f4bb0c966003f34f148bf0ef3b60f266e451474de23ff78196c8b8333604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a350505050565b600560149054906101000a900461ffff1681565b61143060008585856000866128f7565b50505050565b61143e612e35565b73ffffffffffffffffffffffffffffffffffffffff1661145c611b39565b73ffffffffffffffffffffffffffffffffffffffff16146114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6000600460008381526020019081526020016000209050600081600601549050600081141561160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e63656c6564206f7264657200000000000000000000000000000000000081525060200191505060405180910390fd5b438111611681576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f49742773206f766572000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60028260000160009054906101000a900460ff1660ff161061170b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f49742773206120456e676c6973682041756374696f6e0000000000000000000081525060200191505060405180910390fd5b600015158260080160149054906101000a900460ff16151514611796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f416c726561647920736f6c64000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006117a184610b07565b905080341015611819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f7072696365206572726f7200000000000000000000000000000000000000000081525060200191505060405180910390fd5b60018360080160146101000a81548160ff0219169083151502179055506000612710600560149054906101000a900461ffff1661ffff1683028161185957fe5b0490508360000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8284039081150290604051600060405180830381858888f193505050501580156118c8573d6000803e3d6000fd5b50600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611931573d6000803e3d6000fd5b5081341115611984573373ffffffffffffffffffffffffffffffffffffffff166108fc8334039081150290604051600060405180830381858888f19350505050158015611982573d6000803e3d6000fd5b505b8360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e303387600201546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611a3b57600080fd5b505af1158015611a4f573d6000803e3d6000fd5b50505050848460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f37a6d1163573be2522695f96cbee3037bf297187c0378e8903ac1ae0192f699f86600201548760000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff163387604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a35050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060046000838152602001908152602001600020905060008160060154905060008260070154905060008360080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060028460000160009054906101000a900460ff1660ff1614611c3e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f6f6e6c7920666f7220456e676c6973682041756374696f6e000000000000000081525060200191505060405180910390fd5b6000831415611cb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e63656c6564206f7264657200000000000000000000000000000000000081525060200191505060405180910390fd5b82431115611d2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f49742773206f766572000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168460000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611df1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f43616e206e6f742062696420746f20796f7572206f726465720000000000000081525060200191505060405180910390fd5b60008214611e805760148281611e0357fe5b048201341015611e7b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6c6f77207072696365206269640000000000000000000000000000000000000081525060200191505060405180910390fd5b611f07565b83600301543410158015611e945750600034115b611f06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6c6f77207072696365206269640000000000000000000000000000000000000081525060200191505060405180910390fd5b5b60968303431115611f1f576096830184600601819055505b338460080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034846007018190555060008214611fbb578073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611fb9573d6000803e3d6000fd5b505b848460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f7f99059564a74b5d2e3fbf994dec403ab0af5688c9a4e86ca2a933688eaf223b86600201543334604051808481526020018373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a35050505050565b612067612e35565b73ffffffffffffffffffffffffffffffffffffffff16612085611b39565b73ffffffffffffffffffffffffffffffffffffffff161461210e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6127108161ffff16111561218a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f696e7075742076616c7565206973206d6f7265207468616e203130302500000081525060200191505060405180910390fd5b80600560146101000a81548161ffff021916908361ffff16021790555050565b600060046000838152602001908152602001600020905060008160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008260080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600015158360080160149054906101000a900460ff1615151461229e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f416c726561647920736f6c64000000000000000000000000000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16148061230357503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b612375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f4163636573732064656e6965640000000000000000000000000000000000000081525060200191505060405180910390fd5b60028360000160009054906101000a900460ff1660ff16146123e2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612ee06024913960400191505060405180910390fd5b8260060154431161245b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260078152602001807f4e6f74207965740000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000846002015490506000856007015490506000612710600560149054906101000a900461ffff1661ffff168302816124b957fe5b04905060018760080160146101000a81548160ff0219169083151502179055508573ffffffffffffffffffffffffffffffffffffffff166108fc8284039081150290604051600060405180830381858888f19350505050158015612521573d6000803e3d6000fd5b50600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561258a573d6000803e3d6000fd5b508373ffffffffffffffffffffffffffffffffffffffff166342842e0e3087866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561261a57600080fd5b505af115801561262e573d6000803e3d6000fd5b50505050878473ffffffffffffffffffffffffffffffffffffffff167f37a6d1163573be2522695f96cbee3037bf297187c0378e8903ac1ae0192f699f85898987604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a35050505050505050565b60016020528060005260406000206000915054906101000a900460ff1681565b6126f7612e35565b73ffffffffffffffffffffffffffffffffffffffff16612715611b39565b73ffffffffffffffffffffffffffffffffffffffff161461279e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612824576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612eba6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6128f160028585856000866128f7565b50505050565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166129b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f546f6b656e206e6f7420696e2077686974656c6973740000000000000000000081525060200191505060405180910390fd5b438111612a2b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4475726174696f6e206d757374206265206d6f7265207468616e207a65726f0081525060200191505060405180910390fd5b6000612a38868633612e3d565b90506040518061016001604052808860ff1681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff16815260200186815260200185815260200184815260200143815260200183815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152506004600083815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600201556080820151816003015560a0820151816004015560c0820151816005015560e0820151816006015561010082015181600701556101208201518160080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101408201518160080160146101000a81548160ff021916908315150217905550905050600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150558573ffffffffffffffffffffffffffffffffffffffff166342842e0e3330886040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015612da757600080fd5b505af1158015612dbb573d6000803e3d6000fd5b50505050808673ffffffffffffffffffffffffffffffffffffffff167f165b17602125a20b222f9736f06d776e39507d7dc60ddef32ccc23ea2f1b50e58733604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a350505050505050565b600033905090565b600043848484604051602001808581526020018473ffffffffffffffffffffffffffffffffffffffff1660601b81526014018381526020018273ffffffffffffffffffffffffffffffffffffffff1660601b8152601401945050505050604051602081830303815290604052805190602001209050939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546869732066756e6374696f6e20697320666f7220456e676c6973682041756374696f6e456e642070726963652073686f756c64206265206c6f776572207468616e207374617274207072696365a2646970667358221220e438a5d311a70cb317b9e14415c1a55732e3efb8cc1e2a68d3f6fca9e740d23e64736f6c6343000702003300000000000000000000000000000000000000000000000000000000000000fa

Deployed ByteCode

0x60806040526004361061014b5760003560e01c80637fd6f15c116100b6578063957bb1e01161006f578063957bb1e014610888578063a04a86bd146108b6578063bd66528a146108f5578063d936547e14610930578063f2fde38b14610997578063f4dae74c146109e85761014b565b80637fd6f15c146106c55780638035eb5c146106f45780638705fcd4146107635780638aae982a146107b45780638ba39adb146108195780638da5cb5b146108475761014b565b8063275e086c11610108578063275e086c1461051757806330cc7ae01461059057806341275358146105e15780634a4c560d14610622578063715018a6146106735780637489ec231461068a5761014b565b806308745c9814610150578063093dff7d146101bf578063150b7a0214610238578063161e444e1461037d57806319daa108146103cc578063238e203f1461043b575b600080fd5b34801561015c57600080fd5b506101a96004803603604081101561017357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a57565b6040518082815260200191505060405180910390f35b3480156101cb57600080fd5b50610236600480360360a08110156101e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190505050610a85565b005b34801561024457600080fd5b506103486004803603608081101561025b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156102c257600080fd5b8201836020820111156102d457600080fd5b803590602001918460018302840111640100000000831117156102f657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610af3565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b34801561038957600080fd5b506103b6600480360360208110156103a057600080fd5b8101908080359060200190929190505050610b07565b6040518082815260200191505060405180910390f35b3480156103d857600080fd5b50610425600480360360408110156103ef57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bc2565b6040518082815260200191505060405180910390f35b34801561044757600080fd5b506104746004803603602081101561045e57600080fd5b8101908080359060200190929190505050610c20565b604051808c60ff1681526020018b73ffffffffffffffffffffffffffffffffffffffff1681526020018a73ffffffffffffffffffffffffffffffffffffffff1681526020018981526020018881526020018781526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019b50505050505050505050505060405180910390f35b34801561052357600080fd5b5061057a6004803603606081101561053a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610cf4565b6040518082815260200191505060405180910390f35b34801561059c57600080fd5b506105df600480360360208110156105b357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d2f565b005b3480156105ed57600080fd5b506105f6610e39565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561062e57600080fd5b506106716004803603602081101561064557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e5f565b005b34801561067f57600080fd5b50610688610f68565b005b34801561069657600080fd5b506106c3600480360360208110156106ad57600080fd5b81019080803590602001909291905050506110d5565b005b3480156106d157600080fd5b506106da61140c565b604051808261ffff16815260200191505060405180910390f35b34801561070057600080fd5b506107616004803603608081101561071757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190505050611420565b005b34801561076f57600080fd5b506107b26004803603602081101561078657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611436565b005b3480156107c057600080fd5b50610803600480360360208110156107d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611529565b6040518082815260200191505060405180910390f35b6108456004803603602081101561082f57600080fd5b8101908080359060200190929190505050611575565b005b34801561085357600080fd5b5061085c611b39565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108b46004803603602081101561089e57600080fd5b8101908080359060200190929190505050611b62565b005b3480156108c257600080fd5b506108f3600480360360208110156108d957600080fd5b81019080803561ffff16906020019092919050505061205f565b005b34801561090157600080fd5b5061092e6004803603602081101561091857600080fd5b81019080803590602001909291905050506121aa565b005b34801561093c57600080fd5b5061097f6004803603602081101561095357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126cf565b60405180821515815260200191505060405180910390f35b3480156109a357600080fd5b506109e6600480360360208110156109ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126ef565b005b3480156109f457600080fd5b50610a5560048036036080811015610a0b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001909291905050506128e1565b005b60036020528160005260406000208181548110610a7057fe5b90600052602060002001600091509150505481565b818311610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612f04602a913960400191505060405180910390fd5b610aec600186868686866128f7565b5050505050565b600063150b7a0260e01b9050949350505050565b60008060046000848152602001908152602001600020905060008160000160009054906101000a900460ff16905060008160ff161415610b4f57816003015492505050610bbd565b60028160ff161415610b825760008260070154905060008114610b725780610b78565b82600301545b9350505050610bbd565b6000826003015490506000836005015490506000818560060154038560040154840381610bab57fe5b04905080824303028303955050505050505b919050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002080549050905092915050565b60046020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154908060050154908060060154908060070154908060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060080160149054906101000a900460ff1690508b565b60026020528260005260406000206020528160005260406000208181548110610d1957fe5b9060005260206000200160009250925050505481565b610d37612e35565b73ffffffffffffffffffffffffffffffffffffffff16610d55611b39565b73ffffffffffffffffffffffffffffffffffffffff1614610dde576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e67612e35565b73ffffffffffffffffffffffffffffffffffffffff16610e85611b39565b73ffffffffffffffffffffffffffffffffffffffff1614610f0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610f70612e35565b73ffffffffffffffffffffffffffffffffffffffff16610f8e611b39565b73ffffffffffffffffffffffffffffffffffffffff1614611017576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60006004600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f4163636573732064656e6965640000000000000000000000000000000000000081525060200191505060405180910390fd5b600081600701541461122b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f42696464696e672065786973740000000000000000000000000000000000000081525060200191505060405180910390fd5b600015158160080160149054906101000a900460ff161515146112b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f416c726561647920736f6c64000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600082600201549050600083600601819055508173ffffffffffffffffffffffffffffffffffffffff166342842e0e3033846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561138157600080fd5b505af1158015611395573d6000803e3d6000fd5b50505050838273ffffffffffffffffffffffffffffffffffffffff167f856ac238bc6f4bb0c966003f34f148bf0ef3b60f266e451474de23ff78196c8b8333604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a350505050565b600560149054906101000a900461ffff1681565b61143060008585856000866128f7565b50505050565b61143e612e35565b73ffffffffffffffffffffffffffffffffffffffff1661145c611b39565b73ffffffffffffffffffffffffffffffffffffffff16146114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6000600460008381526020019081526020016000209050600081600601549050600081141561160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e63656c6564206f7264657200000000000000000000000000000000000081525060200191505060405180910390fd5b438111611681576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f49742773206f766572000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60028260000160009054906101000a900460ff1660ff161061170b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f49742773206120456e676c6973682041756374696f6e0000000000000000000081525060200191505060405180910390fd5b600015158260080160149054906101000a900460ff16151514611796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f416c726561647920736f6c64000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006117a184610b07565b905080341015611819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f7072696365206572726f7200000000000000000000000000000000000000000081525060200191505060405180910390fd5b60018360080160146101000a81548160ff0219169083151502179055506000612710600560149054906101000a900461ffff1661ffff1683028161185957fe5b0490508360000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8284039081150290604051600060405180830381858888f193505050501580156118c8573d6000803e3d6000fd5b50600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611931573d6000803e3d6000fd5b5081341115611984573373ffffffffffffffffffffffffffffffffffffffff166108fc8334039081150290604051600060405180830381858888f19350505050158015611982573d6000803e3d6000fd5b505b8360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e303387600201546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611a3b57600080fd5b505af1158015611a4f573d6000803e3d6000fd5b50505050848460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f37a6d1163573be2522695f96cbee3037bf297187c0378e8903ac1ae0192f699f86600201548760000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff163387604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a35050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060046000838152602001908152602001600020905060008160060154905060008260070154905060008360080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060028460000160009054906101000a900460ff1660ff1614611c3e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f6f6e6c7920666f7220456e676c6973682041756374696f6e000000000000000081525060200191505060405180910390fd5b6000831415611cb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e63656c6564206f7264657200000000000000000000000000000000000081525060200191505060405180910390fd5b82431115611d2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f49742773206f766572000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168460000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611df1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f43616e206e6f742062696420746f20796f7572206f726465720000000000000081525060200191505060405180910390fd5b60008214611e805760148281611e0357fe5b048201341015611e7b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6c6f77207072696365206269640000000000000000000000000000000000000081525060200191505060405180910390fd5b611f07565b83600301543410158015611e945750600034115b611f06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6c6f77207072696365206269640000000000000000000000000000000000000081525060200191505060405180910390fd5b5b60968303431115611f1f576096830184600601819055505b338460080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034846007018190555060008214611fbb578073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611fb9573d6000803e3d6000fd5b505b848460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f7f99059564a74b5d2e3fbf994dec403ab0af5688c9a4e86ca2a933688eaf223b86600201543334604051808481526020018373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a35050505050565b612067612e35565b73ffffffffffffffffffffffffffffffffffffffff16612085611b39565b73ffffffffffffffffffffffffffffffffffffffff161461210e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6127108161ffff16111561218a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f696e7075742076616c7565206973206d6f7265207468616e203130302500000081525060200191505060405180910390fd5b80600560146101000a81548161ffff021916908361ffff16021790555050565b600060046000838152602001908152602001600020905060008160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008260080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600015158360080160149054906101000a900460ff1615151461229e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f416c726561647920736f6c64000000000000000000000000000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16148061230357503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b612375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f4163636573732064656e6965640000000000000000000000000000000000000081525060200191505060405180910390fd5b60028360000160009054906101000a900460ff1660ff16146123e2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612ee06024913960400191505060405180910390fd5b8260060154431161245b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260078152602001807f4e6f74207965740000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000846002015490506000856007015490506000612710600560149054906101000a900461ffff1661ffff168302816124b957fe5b04905060018760080160146101000a81548160ff0219169083151502179055508573ffffffffffffffffffffffffffffffffffffffff166108fc8284039081150290604051600060405180830381858888f19350505050158015612521573d6000803e3d6000fd5b50600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561258a573d6000803e3d6000fd5b508373ffffffffffffffffffffffffffffffffffffffff166342842e0e3087866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b15801561261a57600080fd5b505af115801561262e573d6000803e3d6000fd5b50505050878473ffffffffffffffffffffffffffffffffffffffff167f37a6d1163573be2522695f96cbee3037bf297187c0378e8903ac1ae0192f699f85898987604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a35050505050505050565b60016020528060005260406000206000915054906101000a900460ff1681565b6126f7612e35565b73ffffffffffffffffffffffffffffffffffffffff16612715611b39565b73ffffffffffffffffffffffffffffffffffffffff161461279e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612824576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612eba6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6128f160028585856000866128f7565b50505050565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166129b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f546f6b656e206e6f7420696e2077686974656c6973740000000000000000000081525060200191505060405180910390fd5b438111612a2b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4475726174696f6e206d757374206265206d6f7265207468616e207a65726f0081525060200191505060405180910390fd5b6000612a38868633612e3d565b90506040518061016001604052808860ff1681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff16815260200186815260200185815260200184815260200143815260200183815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152506004600083815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600201556080820151816003015560a0820151816004015560c0820151816005015560e0820151816006015561010082015181600701556101208201518160080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101408201518160080160146101000a81548160ff021916908315150217905550905050600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150558573ffffffffffffffffffffffffffffffffffffffff166342842e0e3330886040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015612da757600080fd5b505af1158015612dbb573d6000803e3d6000fd5b50505050808673ffffffffffffffffffffffffffffffffffffffff167f165b17602125a20b222f9736f06d776e39507d7dc60ddef32ccc23ea2f1b50e58733604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a350505050505050565b600033905090565b600043848484604051602001808581526020018473ffffffffffffffffffffffffffffffffffffffff1660601b81526014018381526020018273ffffffffffffffffffffffffffffffffffffffff1660601b8152601401945050505050604051602081830303815290604052805190602001209050939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546869732066756e6374696f6e20697320666f7220456e676c6973682041756374696f6e456e642070726963652073686f756c64206265206c6f776572207468616e207374617274207072696365a2646970667358221220e438a5d311a70cb317b9e14415c1a55732e3efb8cc1e2a68d3f6fca9e740d23e64736f6c63430007020033