Address Details
contract

0x6d42DAED47002C59A15Bab921E12D85508d49f11

Contract Name
ContractFactory
Creator
0xf48ece–cd07ba at 0xa06b3f–782f94
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
1 Transactions
Transfers
0 Transfers
Gas Used
2,475,608
Last Balance Update
12333969
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
ContractFactory




Optimization enabled
true
Compiler version
v0.8.4+commit.c7e474f2




Optimization runs
200
EVM Version
istanbul




Verified at
2023-02-02T00:06:18.390880Z

project:/contracts/ContractFactory.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {Auction} from './Auction.sol';
import {BuyNow} from './BuyNow.sol';

contract ContractFactory is Ownable {

    address private cUSDStableToken;
    address private marketPlaceRoyaltyWallet;
    address[] public contracts;
    enum NFDtype{ Auction, Fixed }
    event NFDcontractCreated(address contractAddress, string NFDtype, uint256 startTime, uint256 endTime, uint256 floorPrice, uint256 tokenIssue, uint256 redeemQty, uint256 feePercent);
    event marketPlaceRoyaltyWalletUpdated(address royaltyWallet);

    constructor(){
        cUSDStableToken = 0x874069Fa1Eb16D44d622F2e0Ca25eeA172369bC1;
        marketPlaceRoyaltyWallet = msg.sender;
    }

    function getMarketPlaceRoyaltyWallet() external view returns (address) {
        return marketPlaceRoyaltyWallet;
    }

    function updateMarketPlaceRoyaltyWallet(address royaltyWallet) onlyOwner external returns (bool) {
        require(royaltyWallet != address(0x0), 'invalid wallet adress');
        marketPlaceRoyaltyWallet = royaltyWallet;
        emit marketPlaceRoyaltyWalletUpdated(royaltyWallet);
        return true; 
    }

    function publishNFD(IERC20 _erc20Token, address _beneficiary, uint256 _floorPrice, uint256 _startTime, uint256 _endTime, uint256 _tokenIssue, uint256 _feePercent, uint256 _redeemQty, NFDtype _NFDtype) external onlyOwner{
        
        if(_NFDtype == NFDtype.Auction){
            Auction newAuction = new Auction(_erc20Token, _beneficiary, _floorPrice, _startTime, _endTime, _tokenIssue, _feePercent, _redeemQty);
            contracts.push(address(newAuction));
            emit NFDcontractCreated(address(newAuction), 'auction', _startTime, _endTime, _floorPrice, _tokenIssue, _redeemQty, _feePercent);
        }else{
            BuyNow newNFD = new BuyNow(_erc20Token, _beneficiary, _floorPrice, _startTime, _endTime, _tokenIssue, _feePercent, _redeemQty);
            contracts.push(address(newNFD));
            emit NFDcontractCreated(address(newNFD), 'fixed',  _startTime, _endTime, _floorPrice, _tokenIssue, _redeemQty, _feePercent);
        }        
    }

    function allContracts() external view returns (address[] memory) {
        return contracts;
    }

    function erc20TransferFrom(address sender, address recipient, uint256 amount) external payable returns (bool){
        require(IERC20(cUSDStableToken).balanceOf(sender) >= amount, 'Insufficiant ERC20 token balance!'); 
        require(IERC20(cUSDStableToken).allowance(sender, address(this)) >= amount, 'Approve ERC20 tokens first!');
        (bool success ) = IERC20(cUSDStableToken).transferFrom(sender, recipient, amount);
        return success;
    }
}
        

/_openzeppelin/contracts/access/Ownable.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts/security/ReentrancyGuard.sol

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

/_openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

/_openzeppelin/contracts/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

/_openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

/_openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol

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

pragma solidity ^0.8.0;

import "../IERC721Receiver.sol";

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

/_openzeppelin/contracts/utils/Context.sol

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

pragma solidity ^0.8.0;

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

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

/_openzeppelin/contracts/utils/introspection/IERC165.sol

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

pragma solidity ^0.8.0;

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

/_openzeppelin/contracts/utils/math/SafeMath.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

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

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}
          

/project_/contracts/Auction.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

// Importing OpenZeppelin's contracts
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import {ContractFactory} from './ContractFactory.sol';

contract Auction is ERC721Holder, Ownable, ReentrancyGuard {

    using SafeMath for uint256;
    IERC20 private erc20Token;

    // static
    uint256 public immutable floorPrice;
    uint256 public immutable startTime;
    uint256 public immutable endTime;
    address private immutable beneficiary;
    uint256 private immutable tokenIssue;
    uint256 private immutable redeemQty;
    uint private immutable feePercent;

    // state
    bool public canceled;
    bool public ended;
    bool private fundCollected;
    uint256 public highestBindingBid;
    address public highestBidder;
    address[] private bidders;   
    mapping(address => uint256) public fundsByBidder;        
    mapping(address => bool) public rewardCollected;        
    mapping(uint256 => uint256) public tokenRedeemed;
    uint256[] private tokensAllowed;

    // events
    event LogBid(address bidder, uint256 bid, address highestBidder, uint256 highestBid, uint256 highestBindingBid);
    event LogWithdrawal(address withdrawalAccount, uint256 amount);
    event LogCanceled(bool success);
    event LogRefund(address sender, uint256 amount);
    event FundCollected(uint256 merchantFee, uint256 marketplaceFee); 
    event TokenCollected(address winner, uint256 tokenId);
    event Received(address sender, uint256 amount);
    event TokenRedeemed(uint tokenId, uint256 redeemedTotal);

    //trigger when deploy
    constructor(IERC20 _erc20Token, address _beneficiary, uint256 _floorPrice, uint256 _startTime, uint256 _endTime, uint256 _tokenIssue, uint256 _feePercent, uint256 _redeemQty)
    {
        require(_startTime > block.timestamp, 'Auction start timestamp is invalid!');
        require(_endTime > block.timestamp && _endTime > _startTime, 'Auction end timestamp can not be the past or invalid!');
        require(_beneficiary != address(0x0), 'Beneficiary address is not correct!');
        erc20Token = _erc20Token;
        beneficiary = _beneficiary;
        floorPrice = _floorPrice;
        startTime = _startTime;
        endTime = _endTime;
        tokenIssue = _tokenIssue;
        feePercent = _feePercent;
        redeemQty = _redeemQty;
    }

    // bid on NFD
    function placeBid(uint256 amount) external
        nonReentrant
        onlyAfterStart
        onlyBeforeEnd
        onlyNotCanceled
        onlyNotBeneficiary
    {   
        address _bidder = msg.sender;
        require(erc20Token.balanceOf(_bidder) >= amount, 'Insufficiant ERC20 token balance!'); 
        require(erc20Token.allowance(_bidder, address(this)) >= amount, 'Approve ERC20 tokens first!');      

        // calculate the user's total bid based on the current amount they've sent to the contract
        // plus whatever has been sent with this transaction
        uint newBid = fundsByBidder[_bidder].add(amount);

        // reject payments of less than floor price
        require(newBid >= floorPrice, 'Bid Token amount too low!, amount should be above floor price');

         // if the user isn't even willing to overbid the highest binding bid, there's nothing for us
        // to do except revert the transaction.
        if (newBid <= highestBindingBid) revert('overbid the highest binding bid!');

        // grab the previous highest bid (before updating fundsByBidder, in case msg.sender is the
        // highestBidder and is just increasing their maximum bid).
        uint highestBid = fundsByBidder[highestBidder];

        fundsByBidder[_bidder] = newBid;

        if (newBid <= highestBid) {
            // if the user has overbid the highestBindingBid but not the highestBid, we simply
            // increase the highestBindingBid and leave highestBidder alone.

            // note that this case is impossible if msg.sender == highestBidder because you can never
            // bid less ETH than you've already bid.

            highestBindingBid = min(newBid.add(etherToWei(1)), highestBid);
        } else {
            // if msg.sender is already the highest bidder, they must simply be wanting to raise
            // their maximum bid, in which case we shouldn't increase the highestBindingBid.

            // if the user is NOT highestBidder, and has overbid highestBid completely, we set them
            // as the new highestBidder and recalculate highestBindingBid.

            if (_bidder != highestBidder) {
                highestBidder = _bidder;
                highestBindingBid = min(newBid, highestBid.add(etherToWei(1)));
            }
            highestBid = newBid;
        }                 
               
        // ERC20 token transfer from bidder to current contract address        
        ContractFactory contractfactory = ContractFactory(owner());
        bool sent = contractfactory.erc20TransferFrom(_bidder, address(this), amount);
        require(sent, "fund transfer failed");
        
        _checkBidder(_bidder);
        emit LogBid(_bidder, amount, highestBidder, highestBid, highestBindingBid);
    }

    function _checkBidder(address bidder) internal virtual
    {
        bool alreadyBidder; 
        for (uint256 i = 0; i < bidders.length; i++) {
            if(msg.sender == bidders[i]) {alreadyBidder = true; break;}
        }
        if(!alreadyBidder) bidders.push(bidder);
    }

    function min(uint a, uint b)
        private
        pure
        returns (uint)
    {
        if (a < b) return a;
        return b;
    }

    function withdraw() external
        nonReentrant
        onlyHasCanceled
        onlyNotBeneficiary
        onlyBidder
    {
        address withdrawalAccount;
        uint256 withdrawalAmount;        

        withdrawalAccount = _msgSender();
        withdrawalAmount = fundsByBidder[withdrawalAccount];

        require(withdrawalAmount > 0, 'You have already withdrawal your funds!');
        fundsByBidder[withdrawalAccount] -= withdrawalAmount;

        //withdraw the ERC20 tokens paid for bid
        erc20Token.transfer(withdrawalAccount, withdrawalAmount);
        emit LogWithdrawal(withdrawalAccount, withdrawalAmount);
    }

    function getHighestBid() public       
        view returns (uint256)
    {
        return fundsByBidder[highestBidder];
    }

    function getMyBid() public
        view returns (uint256)
    {
        return fundsByBidder[_msgSender()];
    }

    function getAuctionStatus() public
        view returns (string memory )
    {
        if( canceled ) return 'canceled';
        if( block.timestamp > endTime ) return 'ended';
        if( block.timestamp < startTime ) return 'not-started';
        return 'running';
    }

    function getTokenReddemCount(uint256 _tokenId) public
        view returns (uint256)
    {
        return tokenRedeemed[_tokenId];
    }

    function getFeePercent() external 
        onlyOwner      
        view returns (uint256)
    {
        return feePercent;
    }

    function tokenList() external 
        onlyOwner
        onlyCompleted
        view returns (uint256[] memory) 
    {
        return tokensAllowed;
    }

    function bidderList() external 
        onlyOwner
        onlyAfterStart
        view returns (address[] memory) 
    {
        return bidders;
    }

    function winnerList() external
        onlyOwner
        view returns (address[] memory)
    {
        return _winnerList();
    }

    function etherToWei(uint valueEther) internal pure returns (uint)
    {
       return valueEther*(10**18);
    }

    function onERC721Received(
        address,
        address,
        uint256 _tokenId,
        bytes memory
    ) public virtual override returns (bytes4) {

        require(tokenIssue > tokensAllowed.length, 'Token allowance has reached the maximum!');
        tokensAllowed.push(_tokenId);
        return this.onERC721Received.selector;
    }

    function redeemNFD(uint256 _tokenId) external virtual
        onlyOwner
        onlyCompleted
    {   
        bool tokenAllowed;
        for( uint256 i = 0; i < tokensAllowed.length; i++ ) 
        {
            if(tokensAllowed[i] == _tokenId) {
                tokenAllowed = true;
                break;
            }
        }
        require(tokenAllowed, 'Token is not allowed for redeemed!');
        if(redeemQty > 0 && redeemQty > tokenRedeemed[_tokenId])
        { 
            revert("User have reached the maximum allowance!"); 
        }
        tokenRedeemed[_tokenId] = tokenRedeemed[_tokenId].add(1);
        emit TokenRedeemed( _tokenId,  tokenRedeemed[_tokenId]);        
    }

    function _winnersListPrepare(uint _priceMargin, address[] memory _winners, uint _winnerIndex) internal 
        view 
        returns (address[] memory)
    {        
        uint priceFilter = fundsByBidder[highestBidder].sub(etherToWei(_priceMargin));
        for (uint j = 0; j < bidders.length; j++) {
            if( _winnerIndex == _winners.length ) break;
            address bidder = bidders[j];
            if( fundsByBidder[bidder] >= priceFilter ){
                bool duplicateWinner;
                for (uint k = 0; k <= _winnerIndex; k++) {
                    if( bidder == _winners[k] ) duplicateWinner = true;
                }
                if(!duplicateWinner){                        
                    _winners[_winnerIndex] = bidder;
                    ++_winnerIndex;
                }
            }                
        }
        if( _winnerIndex != _winners.length ) _winnersListPrepare(_priceMargin.add(1), _winners, _winnerIndex);
        return _winners; 
    }

    function _winnerList() internal 
        virtual
        onlyCompleted
        view 
        returns (address[] memory) 
    {        
        require(bidders.length > 0, 'No bidder found, winner list can not be generate!');
        uint256 maxWinners = bidders.length < tokenIssue ? bidders.length : tokenIssue;
        address[] memory winners = new address[](maxWinners); 
        winners[0] = highestBidder;
        if( maxWinners == 1 ) return winners;
        return _winnersListPrepare(1,winners, 1);
    }

    function cancelAuction() external
        nonReentrant
        onlyOwner
        onlyBeforeEnd
        onlyNotCanceled
        returns (bool success)
    {
        canceled = true;
        emit LogCanceled(true);
        return true;
    }

    function refund() external
        nonReentrant
        onlyNotBeneficiary
        onlyCompleted
        onlyBidder
        onlyNonWinner
    {
        uint256 withdrawalAmount = fundsByBidder[_msgSender()];
        require(withdrawalAmount > 0, 'You already have refund back!');
        fundsByBidder[_msgSender()] -= withdrawalAmount;
        
        //refund the ERC20 tokens to bidder, paid for bid but not become winner
        erc20Token.transfer(_msgSender(), withdrawalAmount);
        emit LogRefund(_msgSender(), withdrawalAmount);
    }

    function collectToken(uint _tokenId, address _virtuousToken) external
        nonReentrant
        onlyNotBeneficiary
        onlyCompleted
        onlyWinner
        onlyRewardNotCollected
    {   
        IERC721 virtuousToken = IERC721(_virtuousToken);
        require(virtuousToken.balanceOf(address(this)) > 0, "Caller must own nft");
        require(virtuousToken.ownerOf(_tokenId) == address(this), "You must own the token");
        rewardCollected[_msgSender()] = true;
        virtuousToken.safeTransferFrom(address(this), _msgSender(), _tokenId);
        emit TokenCollected( _msgSender(),  _tokenId);
    }

    function collectFund() external
        nonReentrant
        onlyBeneficiaryOrOwner
        onlyNotCollected
    {   
        address[] memory winners = _winnerList();
        uint256 merchantFund;
        uint256 marketplaceRoyalty;
        for( uint256 i = 0; i < winners.length; i++ ) 
        {   
            address winner = winners[i];
            uint256 amount = fundsByBidder[winner];                   
            uint256 marketplaceFee = amount.div(100).mul(feePercent);
            marketplaceRoyalty = marketplaceRoyalty.add(marketplaceFee);
            uint256 merchantFee = amount.sub(marketplaceFee);
            merchantFund = merchantFund.add(merchantFee);            
            fundsByBidder[winner] -= amount;
        }
        fundCollected = true;
        erc20Token.transfer(beneficiary, merchantFund);
        //Get royalty fee receiver wallet address
        ContractFactory contractfactory = ContractFactory(owner());
        erc20Token.transfer(contractfactory.getMarketPlaceRoyaltyWallet(), marketplaceRoyalty);
        emit FundCollected(merchantFund, marketplaceRoyalty);
    }

    receive() external payable 
    {
        emit Received(_msgSender(), msg.value);
    }

    fallback() external payable {
        emit Received(_msgSender(), msg.value);
    }

    modifier onlyNotBeneficiary {
        if (_msgSender() == beneficiary) revert('Beneficiary can not perform the action!');
        _;
    }

    modifier onlyBeneficiaryOrOwner {
        require( _msgSender() == beneficiary || _msgSender() == owner(), 'Beneficiary / Owner can only perform the action!');
        _;
    }

    modifier onlyAfterStart {
        if (block.timestamp < startTime) revert('Auction yet not start!');
        _;
    }

    modifier onlyBeforeEnd {
        if (block.timestamp > endTime) revert('Auction already ended!');
        _;
    }

    modifier onlyNotCanceled {
        if (canceled) revert('Auction already canceled!');
        _;
    }

    modifier onlyHasCanceled {
        if (!canceled) revert('Auction is not canceled!');
        _;
    }

    modifier onlyCompleted {
        require(block.timestamp > endTime && !canceled, "Auction is not ended yet!");
        _;
    }

    modifier onlyNotCollected {
        require(!fundCollected, "Funds already collected!");
        _;
    }

    modifier onlyBidder {
        require(fundsByBidder[_msgSender()] > 0, 'You are not a valid bidder!');
        _;
    }

    modifier onlyNonWinner {
        address[] memory winners = _winnerList();
        for( uint256 i = 0; i < winners.length; i++ ) {
            if( _msgSender() == winners[i] ) revert('You are winner, you can not perform this action!');
        }
        _;
    }

    modifier onlyWinner {
        address[] memory winners = _winnerList();
        bool winner;
        for( uint256 i = 0; i < winners.length; i++ ) {
            if( _msgSender() == winners[i] ){ winner = true; break; }
        }
        require(winner, 'You are not a winner!');
        _;
    }

    modifier onlyRewardNotCollected {
        require(!rewardCollected[_msgSender()], 'You have already collected your token!');
        _;
    }
}
          

/project_/contracts/BuyNow.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import {ContractFactory} from './ContractFactory.sol';

contract BuyNow is ERC721Holder, Ownable, ReentrancyGuard {
    
    using SafeMath for uint256;
    IERC20 private erc20Token;    

    // static
    uint256 public immutable price;
    uint256 public immutable startTime;
    uint256 public immutable endTime;
    address private immutable beneficiary;
    uint256 private immutable tokenIssue;
    uint256 private immutable redeemQty;
    uint private immutable feePercent;

    // static
    bool private fundCollected;
    address[] private buyers;    
    mapping(uint256 => bool) public tokenSold;   
    mapping(uint256 => uint256) public tokenRedeemed;
    uint256[] private tokensAllowed;

    // events
    event LogBuyToken(address buyer, uint256 tokenId, uint256 amount);    
    event FundCollected(uint256 merchantFee, uint256 marketplaceFee);
    event Received(address sender, uint256 amount);
    event TokenRedeemed(uint tokenId, uint256 redeemedTotal);

    //trigger when deploy
    constructor(IERC20 _erc20Token, address _beneficiary, uint256 _price, uint256 _startTime, uint256 _endTime, uint256 _tokenIssue, uint256 _feePercent, uint256 _redeemQty)
    {
        require(_startTime > block.timestamp, 'Sale start timestamp is invalid!');
        require(_endTime > block.timestamp && _endTime > _startTime, 'Sale end timestamp can not be the past or invalid!');
        require(_beneficiary != address(0x0), 'Beneficiary address is not correct!');
        erc20Token = _erc20Token;
        beneficiary = _beneficiary;
        price = _price;
        startTime = _startTime;
        endTime = _endTime;
        tokenIssue = _tokenIssue;
        feePercent = _feePercent;
        redeemQty = _redeemQty;
    }   

    function min(uint a, uint b)
        private
        pure
        returns (uint)
    {
        if (a < b) return a;
        return b;
    }    

    function getDealStatus() public
        view returns (string memory )
    {
        if( block.timestamp > endTime ) return 'ended';
        if( block.timestamp < startTime ) return 'not-started';
        return 'running';
    }

    function getTokenReddemCount(uint256 _tokenId) public
        view returns (uint256)
    {
        return tokenRedeemed[_tokenId];
    }

    function getFeePercent() external 
        onlyOwner      
        view returns (uint256)
    {
        return feePercent;
    }

    function tokenList() external 
        onlyOwner
        onlyCompleted
        view returns (uint256[] memory) 
    {
        return tokensAllowed;
    }

    function buyerList() external 
        onlyOwner
        onlyAfterStart
        view returns (address[] memory) 
    {
        return buyers;
    }

    function etherToWei(uint valueEther) internal pure returns (uint)
    {
       return valueEther*(10**18);
    }

    function onERC721Received(
        address,
        address,
        uint256 _tokenId,
        bytes memory
    ) public virtual override returns (bytes4) { 
        require(tokenIssue > tokensAllowed.length, 'Token allowance has reached the maximum!');
        tokensAllowed.push(_tokenId);
        return this.onERC721Received.selector;
    }

    function redeemNFD(uint256 _tokenId) external virtual
        onlyOwner
        onlyCompleted
    {   
        require(isTokenAllow(_tokenId), 'Token is not allowed for redeemed!');
        if(redeemQty > 0 && redeemQty > tokenRedeemed[_tokenId])
        { 
            revert("User have reached the maximum allowance!"); 
        }
        tokenRedeemed[_tokenId] = tokenRedeemed[_tokenId].add(1);
        emit TokenRedeemed( _tokenId,  tokenRedeemed[_tokenId]);        
    }  

    function isTokenAllow(uint256 _tokenId) internal view returns (bool)
    {
        bool tokenAllowed;
        for( uint256 i = 0; i < tokensAllowed.length; i++ ) 
        {
            if(tokensAllowed[i] == _tokenId) { 
                tokenAllowed = true;
                break;
            }
        }
        return tokenAllowed;
    }

    function buyToken(uint256 _tokenId, address _virtuousToken) external
        nonReentrant
        onlyAfterStart
        onlyBeforeEnd
        onlyNotBeneficiary
    {   
        address _buyer = msg.sender;
        require(isTokenAllow(_tokenId), 'token is now allowed for this deal');
        require(!tokenSold[_tokenId], 'Token already sold');
        require(erc20Token.balanceOf(_buyer) >= price, 'Insufficiant ERC20 token balance!'); 
        require(erc20Token.allowance(_buyer, address(this)) >= price, 'Approve ERC20 tokens first!'); 
        tokenSold[_tokenId] = true;
        //ERC20 token transfer from buyer to current contract address
        ContractFactory contractfactory = ContractFactory(owner());
        bool sent = contractfactory.erc20TransferFrom(_buyer, address(this), price);
        require(sent, "fund transfer failed");
        IERC721 virtuousToken = IERC721(_virtuousToken);
        require(virtuousToken.balanceOf(address(this)) > 0, "Caller must own nft");
        require(virtuousToken.ownerOf(_tokenId) == address(this), "You must own the token");
        virtuousToken.safeTransferFrom(address(this), _buyer, _tokenId);
        buyers.push(_buyer);
        emit LogBuyToken( _buyer, _tokenId, price);
    }

    function collectFund() external
        nonReentrant
        onlyBeneficiaryOrOwner
        onlyNotCollected
    {   
        uint256 totalFund = price.mul(buyers.length);
        uint256 marketplaceRoyalty = totalFund.div(100).mul(feePercent);
        uint256 merchantFund = totalFund.sub(marketplaceRoyalty);
        fundCollected = true;
        erc20Token.transfer(beneficiary, merchantFund);
        //Get royalty fee receiver wallet address
        ContractFactory contractfactory = ContractFactory(owner());
        erc20Token.transfer(contractfactory.getMarketPlaceRoyaltyWallet(), marketplaceRoyalty);
        emit FundCollected(merchantFund, marketplaceRoyalty);
    }

    receive() external payable 
    {
        emit Received(_msgSender(), msg.value);
    }

    fallback() external payable {
        emit Received(_msgSender(), msg.value);
    }

    modifier onlyNotBeneficiary {
        if (_msgSender() == beneficiary) revert('Beneficiary can not perform the action!');
        _;
    }

    modifier onlyBeneficiaryOrOwner {
        require( _msgSender() == beneficiary || _msgSender() == owner(), 'Beneficiary / Owner can only perform the action!');
        _;
    }

    modifier onlyAfterStart {
        if (block.timestamp < startTime) revert('Sell yet not start!');
        _;
    }

    modifier onlyBeforeEnd {
        if (block.timestamp > endTime) revert('Sell already ended!');
        _;
    }

    modifier onlyCompleted {
        require(block.timestamp > endTime, "Sell is not ended yet!");
        _;
    }

    modifier onlyNotCollected {
        require(!fundCollected, "Funds already collected!");
        _;
    }
}

          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"NFDcontractCreated","inputs":[{"type":"address","name":"contractAddress","internalType":"address","indexed":false},{"type":"string","name":"NFDtype","internalType":"string","indexed":false},{"type":"uint256","name":"startTime","internalType":"uint256","indexed":false},{"type":"uint256","name":"endTime","internalType":"uint256","indexed":false},{"type":"uint256","name":"floorPrice","internalType":"uint256","indexed":false},{"type":"uint256","name":"tokenIssue","internalType":"uint256","indexed":false},{"type":"uint256","name":"redeemQty","internalType":"uint256","indexed":false},{"type":"uint256","name":"feePercent","internalType":"uint256","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":"event","name":"marketPlaceRoyaltyWalletUpdated","inputs":[{"type":"address","name":"royaltyWallet","internalType":"address","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address[]","name":"","internalType":"address[]"}],"name":"allContracts","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"contracts","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"erc20TransferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getMarketPlaceRoyaltyWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"publishNFD","inputs":[{"type":"address","name":"_erc20Token","internalType":"contract IERC20"},{"type":"address","name":"_beneficiary","internalType":"address"},{"type":"uint256","name":"_floorPrice","internalType":"uint256"},{"type":"uint256","name":"_startTime","internalType":"uint256"},{"type":"uint256","name":"_endTime","internalType":"uint256"},{"type":"uint256","name":"_tokenIssue","internalType":"uint256"},{"type":"uint256","name":"_feePercent","internalType":"uint256"},{"type":"uint256","name":"_redeemQty","internalType":"uint256"},{"type":"uint8","name":"_NFDtype","internalType":"enum ContractFactory.NFDtype"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"updateMarketPlaceRoyaltyWallet","inputs":[{"type":"address","name":"royaltyWallet","internalType":"address"}]}]
              

Contract Creation Code

0x608060405234801561001057600080fd5b5061001a33610053565b600180546001600160a01b031990811673874069fa1eb16d44d622f2e0ca25eea172369bc11790915560028054909116331790556100a3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b615b6d806100b26000396000f3fe608060405260043610620000915760003560e01c80638da5cb5b11620000605780638da5cb5b146200014f578063d27542b8146200016f578063d96ca0b9146200018f578063defd1f5614620001a6578063f2fde38b14620001cb57600080fd5b8063312caa221462000096578063474da79a14620000d0578063715018a6146200010e57806374aef1d11462000128575b600080fd5b348015620000a357600080fd5b50620000bb620000b536600462000993565b620001f0565b60405190151581526020015b60405180910390f35b348015620000dd57600080fd5b50620000f5620000ef36600462000aae565b620002d0565b6040516001600160a01b039091168152602001620000c7565b3480156200011b57600080fd5b5062000126620002fb565b005b3480156200013557600080fd5b506200014062000336565b604051620000c7919062000ae0565b3480156200015c57600080fd5b506000546001600160a01b0316620000f5565b3480156200017c57600080fd5b506002546001600160a01b0316620000f5565b620000bb620001a0366004620009b9565b6200039a565b348015620001b357600080fd5b5062000126620001c536600462000a20565b620005ec565b348015620001d857600080fd5b5062000126620001ea36600462000993565b62000885565b600080546001600160a01b03163314620002275760405162461bcd60e51b81526004016200021e9062000b73565b60405180910390fd5b6001600160a01b038216620002775760405162461bcd60e51b8152602060048201526015602482015274696e76616c69642077616c6c65742061647265737360581b60448201526064016200021e565b600280546001600160a01b0319166001600160a01b0384169081179091556040519081527f0d01e7b778db9915e7a7781cc124a2a2d7765609d68900e10086e5ab4494b74b9060200160405180910390a1506001919050565b60038181548110620002e157600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b03163314620003285760405162461bcd60e51b81526004016200021e9062000b73565b62000334600062000927565b565b606060038054806020026020016040519081016040528092919081815260200182805480156200039057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000371575b5050505050905090565b6001546040516370a0823160e01b81526001600160a01b03858116600483015260009284929116906370a082319060240160206040518083038186803b158015620003e457600080fd5b505afa158015620003f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200041f919062000ac7565b1015620004795760405162461bcd60e51b815260206004820152602160248201527f496e73756666696369616e7420455243323020746f6b656e2062616c616e63656044820152602160f81b60648201526084016200021e565b600154604051636eb1769f60e11b81526001600160a01b0386811660048301523060248301528492169063dd62ed3e9060440160206040518083038186803b158015620004c557600080fd5b505afa158015620004da573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000500919062000ac7565b1015620005505760405162461bcd60e51b815260206004820152601b60248201527f417070726f766520455243323020746f6b656e7320666972737421000000000060448201526064016200021e565b6001546040516323b872dd60e01b81526001600160a01b03868116600483015285811660248301526044820185905260009216906323b872dd90606401602060405180830381600087803b158015620005a857600080fd5b505af1158015620005bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e39190620009fe565b95945050505050565b6000546001600160a01b03163314620006195760405162461bcd60e51b81526004016200021e9062000b73565b60008160018111156200063c57634e487b7160e01b600052602160045260246000fd5b14156200076257600089898989898989896040516200065b9062000977565b6200066e98979695949392919062000b2f565b604051809103906000f0801580156200068b573d6000803e3d6000fd5b50600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b03831690811790915560408051918252610100602083018190526007908301526630bab1ba34b7b760c91b610120830152810189905260608101889052608081018a905260a0810187905260c0810185905260e081018690529091507ff87a821eeaaa435be56b691d535f6b67e46dd054979f084e3dd0de00bad9ead5906101400160405180910390a1506200087a565b600089898989898989896040516200077a9062000985565b6200078d98979695949392919062000b2f565b604051809103906000f080158015620007aa573d6000803e3d6000fd5b50600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b038316908117909155604080519182526101006020830181905260059083015264199a5e195960da1b610120830152810189905260608101889052608081018a905260a0810187905260c0810185905260e081018690529091507ff87a821eeaaa435be56b691d535f6b67e46dd054979f084e3dd0de00bad9ead5906101400160405180910390a1505b505050505050505050565b6000546001600160a01b03163314620008b25760405162461bcd60e51b81526004016200021e9062000b73565b6001600160a01b038116620009195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200021e565b620009248162000927565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6130ac8062000bbf83390190565b611ecd8062003c6b83390190565b600060208284031215620009a5578081fd5b8135620009b28162000ba8565b9392505050565b600080600060608486031215620009ce578182fd5b8335620009db8162000ba8565b92506020840135620009ed8162000ba8565b929592945050506040919091013590565b60006020828403121562000a10578081fd5b81518015158114620009b2578182fd5b60008060008060008060008060006101208a8c03121562000a3f578485fd5b893562000a4c8162000ba8565b985060208a013562000a5e8162000ba8565b975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a013591506101008a01356002811062000a9d578182fd5b809150509295985092959850929598565b60006020828403121562000ac0578081fd5b5035919050565b60006020828403121562000ad9578081fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b8181101562000b235783516001600160a01b03168352928401929184019160010162000afc565b50909695505050505050565b6001600160a01b03988916815296909716602087015260408601949094526060850192909252608084015260a083015260c082015260e08101919091526101000190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b03811681146200092457600080fdfe6101606040523480156200001257600080fd5b50604051620030ac380380620030ac833981016040819052620000359162000231565b6200004033620001e1565b60018055428511620000a55760405162461bcd60e51b815260206004820152602360248201527f41756374696f6e2073746172742074696d657374616d7020697320696e76616c60448201526269642160e81b60648201526084015b60405180910390fd5b4284118015620000b457508484115b620001285760405162461bcd60e51b815260206004820152603560248201527f41756374696f6e20656e642074696d657374616d702063616e206e6f7420626560448201527f207468652070617374206f7220696e76616c696421000000000000000000000060648201526084016200009c565b6001600160a01b0387166200018c5760405162461bcd60e51b815260206004820152602360248201527f42656e65666963696172792061646472657373206973206e6f7420636f72726560448201526263742160e81b60648201526084016200009c565b600280546001600160a01b0319166001600160a01b03999099169890981790975560609590951b6001600160601b03191660e05260809390935260a09190915260c052610100526101405261012052620002bf565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600080600080610100898b0312156200024e578384fd5b88516200025b81620002a6565b60208a01519098506200026e81620002a6565b60408a015160608b015160808c015160a08d015160c08e015160e0909e01519c9f949e50929c919b909a509198509650945092505050565b6001600160a01b0381168114620002bc57600080fd5b50565b60805160a05160c05160e05160601c610100516101205161014051612cfc620003b060003960008181610d4e015261230901526000818161180a0152611842015260008181610ac00152818161248e01526124b401526000818161069601528181610bee01528181610e1c01528181611185015281816113c60152611d14015260008181610333015281816106d60152818161104b01528181611406015281816116fe01528181611ab401528181611c540152818161223301526123ca01526000818161043701528181611093015281816119610152611beb0152600081816105240152611f2a0152612cfc6000f3fe6080604052600436106101c65760003560e01c806378e97925116100f75780639979ef4511610095578063ce10cf8011610064578063ce10cf80146105ca578063f28c4040146105f7578063f2fde38b14610624578063f5b56c561461064457610210565b80639979ef45146105465780639e2c58ca14610566578063b0954dee14610588578063be74264d146105b557610210565b80638da5cb5b116100d15780638da5cb5b146104ab5780638fa8b790146104dd57806391f90157146104f25780639363c8121461051257610210565b806378e97925146104255780637b0e08201461045957806384ddc67f1461048957610210565b80633ccfd60b11610164578063590e1ae31161013e578063590e1ae3146103c657806369de8347146103db578063704416b4146103fb578063715018a61461041057610210565b80633ccfd60b146103635780633f9942ff146103785780634979440a1461039957610210565b806315d6af8f116101a057806315d6af8f146102c857806324d507fd146102ea5780632e93be30146102ff5780633197cbb61461032157610210565b80631257e2791461023757806312fa6feb14610259578063150b7a021461028f57610210565b36610210577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874335b604080516001600160a01b0390921682523460208301520160405180910390a1005b7f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874336101ee565b34801561024357600080fd5b50610257610252366004612a0b565b61065a565b005b34801561026557600080fd5b5060025461027a90600160a81b900460ff1681565b60405190151581526020015b60405180910390f35b34801561029b57600080fd5b506102af6102aa3660046128e2565b610ab8565b6040516001600160e01b03199091168152602001610286565b3480156102d457600080fd5b506102dd610b80565b6040516102869190612a3a565b3480156102f657600080fd5b50610257610bbb565b34801561030b57600080fd5b50610314611011565b6040516102869190612abf565b34801561032d57600080fd5b506103557f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610286565b34801561036f57600080fd5b50610257611101565b34801561038457600080fd5b5060025461027a90600160a01b900460ff1681565b3480156103a557600080fd5b506004546001600160a01b0316600090815260066020526040902054610355565b3480156103d257600080fd5b50610257611393565b3480156103e757600080fd5b506102576103f63660046129db565b6116d2565b34801561040757600080fd5b506102dd611932565b34801561041c57600080fd5b50610257611a28565b34801561043157600080fd5b506103557f000000000000000000000000000000000000000000000000000000000000000081565b34801561046557600080fd5b5061027a6104743660046128a3565b60076020526000908152604090205460ff1681565b34801561049557600080fd5b5033600090815260066020526040902054610355565b3480156104b757600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610286565b3480156104e957600080fd5b5061027a611a5e565b3480156104fe57600080fd5b506004546104c5906001600160a01b031681565b34801561051e57600080fd5b506103557f000000000000000000000000000000000000000000000000000000000000000081565b34801561055257600080fd5b506102576105613660046129db565b611bc1565b34801561057257600080fd5b5061057b612204565b6040516102869190612a87565b34801561059457600080fd5b506103556105a33660046129db565b60086020526000908152604090205481565b3480156105c157600080fd5b506103556122db565b3480156105d657600080fd5b506103556105e53660046128a3565b60066020526000908152604090205481565b34801561060357600080fd5b506103556106123660046129db565b60009081526008602052604090205490565b34801561063057600080fd5b5061025761063f3660046128a3565b61232b565b34801561065057600080fd5b5061035560035481565b600260015414156106865760405162461bcd60e51b815260040161067d90612bc5565b60405180910390fd5b6002600155336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106d45760405162461bcd60e51b815260040161067d90612b49565b7f00000000000000000000000000000000000000000000000000000000000000004211801561070d5750600254600160a01b900460ff16155b6107295760405162461bcd60e51b815260040161067d90612b12565b60006107336123c6565b90506000805b82518110156107a45782818151811061076257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b031661077a3390565b6001600160a01b0316141561079257600191506107a4565b8061079c81612c6a565b915050610739565b50806107ea5760405162461bcd60e51b8152602060048201526015602482015274596f7520617265206e6f7420612077696e6e65722160581b604482015260640161067d565b3360009081526007602052604090205460ff16156108595760405162461bcd60e51b815260206004820152602660248201527f596f75206861766520616c726561647920636f6c6c656374656420796f757220604482015265746f6b656e2160d01b606482015260840161067d565b6040516370a0823160e01b815230600482015283906000906001600160a01b038316906370a082319060240160206040518083038186803b15801561089d57600080fd5b505afa1580156108b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d591906129f3565b116109185760405162461bcd60e51b815260206004820152601360248201527210d85b1b195c881b5d5cdd081bdddb881b999d606a1b604482015260640161067d565b6040516331a9108f60e11b81526004810186905230906001600160a01b03831690636352211e9060240160206040518083038186803b15801561095a57600080fd5b505afa15801561096e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099291906128c6565b6001600160a01b0316146109e15760405162461bcd60e51b81526020600482015260166024820152752cb7ba9036bab9ba1037bbb7103a3432903a37b5b2b760511b604482015260640161067d565b33600081815260076020526040808220805460ff191660011790558051632142170760e11b8152306004820152602481019390935260448301889052516001600160a01b038416926342842e0e92606480830193919282900301818387803b158015610a4c57600080fd5b505af1158015610a60573d6000803e3d6000fd5b505050507f17b3a70c980ec7f4b25a351955fa92638e9757afd4216535ac95a0153857680d610a8c3390565b604080516001600160a01b039092168252602082018890520160405180910390a1505060018055505050565b6009546000907f000000000000000000000000000000000000000000000000000000000000000011610b3d5760405162461bcd60e51b815260206004820152602860248201527f546f6b656e20616c6c6f77616e636520686173207265616368656420746865206044820152676d6178696d756d2160c01b606482015260840161067d565b5050600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550630a85bd0160e11b919050565b6000546060906001600160a01b03163314610bad5760405162461bcd60e51b815260040161067d90612b90565b610bb56123c6565b90505b90565b60026001541415610bde5760405162461bcd60e51b815260040161067d90612bc5565b6002600155336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610c2457506000546001600160a01b031633145b610c895760405162461bcd60e51b815260206004820152603060248201527f42656e6566696369617279202f204f776e65722063616e206f6e6c792070657260448201526f666f726d2074686520616374696f6e2160801b606482015260840161067d565b600254600160b01b900460ff1615610ce35760405162461bcd60e51b815260206004820152601860248201527f46756e647320616c726561647920636f6c6c6563746564210000000000000000604482015260640161067d565b6000610ced6123c6565b905060008060005b8351811015610def576000848281518110610d2057634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03811660009081526006909252604082205490925090610d7e7f0000000000000000000000000000000000000000000000000000000000000000610d788460646125a8565b906125bd565b9050610d8a85826125c9565b94506000610d9883836125d5565b9050610da487826125c9565b6001600160a01b038516600090815260066020526040812080549299508592909190610dd1908490612c53565b92505081905550505050508080610de790612c6a565b915050610cf5565b506002805460ff60b01b198116600160b01b1790915560405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018590529091169063a9059cbb90604401602060405180830381600087803b158015610e7057600080fd5b505af1158015610e84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea891906129bb565b50600080546001600160a01b03169050600260009054906101000a90046001600160a01b03166001600160a01b031663a9059cbb826001600160a01b031663d27542b86040518163ffffffff1660e01b815260040160206040518083038186803b158015610f1557600080fd5b505afa158015610f29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4d91906128c6565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b158015610f9557600080fd5b505af1158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcd91906129bb565b5060408051848152602081018490527f9f711bbd3973f42733d63b23f9999746f6a259ee84921299074f3a9955876518910160405180910390a15050600180555050565b600254606090600160a01b900460ff1615611049575060408051808201909152600881526718d85b98d95b195960c21b602082015290565b7f00000000000000000000000000000000000000000000000000000000000000004211156110915750604080518082019091526005815264195b99195960da1b602082015290565b7f00000000000000000000000000000000000000000000000000000000000000004210156110df575060408051808201909152600b81526a1b9bdd0b5cdd185c9d195960aa1b602082015290565b5060408051808201909152600781526672756e6e696e6760c81b602082015290565b600260015414156111245760405162461bcd60e51b815260040161067d90612bc5565b6002600181905554600160a01b900460ff166111825760405162461bcd60e51b815260206004820152601860248201527f41756374696f6e206973206e6f742063616e63656c6564210000000000000000604482015260640161067d565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614156111cb5760405162461bcd60e51b815260040161067d90612b49565b336000908152600660205260409020546112275760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420612076616c696420626964646572210000000000604482015260640161067d565b33600081815260066020526040902054806112945760405162461bcd60e51b815260206004820152602760248201527f596f75206861766520616c7265616479207769746864726177616c20796f75726044820152662066756e64732160c81b606482015260840161067d565b6001600160a01b038216600090815260066020526040812080548392906112bc908490612c53565b909155505060025460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b15801561130f57600080fd5b505af1158015611323573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134791906129bb565b50604080516001600160a01b0384168152602081018390527fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e9191015b60405180910390a1505060018055565b600260015414156113b65760405162461bcd60e51b815260040161067d90612bc5565b6002600155336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156114045760405162461bcd60e51b815260040161067d90612b49565b7f00000000000000000000000000000000000000000000000000000000000000004211801561143d5750600254600160a01b900460ff16155b6114595760405162461bcd60e51b815260040161067d90612b12565b336000908152600660205260409020546114b55760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420612076616c696420626964646572210000000000604482015260640161067d565b60006114bf6123c6565b905060005b8151811015611587578181815181106114ed57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166115053390565b6001600160a01b031614156115755760405162461bcd60e51b815260206004820152603060248201527f596f75206172652077696e6e65722c20796f752063616e206e6f74207065726660448201526f6f726d207468697320616374696f6e2160801b606482015260840161067d565b8061157f81612c6a565b9150506114c4565b5033600090815260066020526040902054806115e55760405162461bcd60e51b815260206004820152601d60248201527f596f7520616c7265616479206861766520726566756e64206261636b21000000604482015260640161067d565b3360009081526006602052604081208054839290611604908490612c53565b90915550506002546001600160a01b031663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b15801561166357600080fd5b505af1158015611677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169b91906129bb565b5060408051338152602081018390527fb6c0eca8138e097d71e2dd31e19a1266487f0553f170b7260ffe68bcbe9ff8a79101611383565b6000546001600160a01b031633146116fc5760405162461bcd60e51b815260040161067d90612b90565b7f0000000000000000000000000000000000000000000000000000000000000000421180156117355750600254600160a01b900460ff16155b6117515760405162461bcd60e51b815260040161067d90612b12565b6000805b6009548110156117ad57826009828154811061178157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154141561179b57600191506117ad565b806117a581612c6a565b915050611755565b50806118065760405162461bcd60e51b815260206004820152602260248201527f546f6b656e206973206e6f7420616c6c6f77656420666f722072656465656d65604482015261642160f01b606482015260840161067d565b60007f000000000000000000000000000000000000000000000000000000000000000011801561186357506000828152600860205260409020547f0000000000000000000000000000000000000000000000000000000000000000115b156118c15760405162461bcd60e51b815260206004820152602860248201527f557365722068617665207265616368656420746865206d6178696d756d20616c6044820152676c6f77616e63652160c01b606482015260840161067d565b6000828152600860205260409020546118db9060016125c9565b60008381526008602052604090819020829055517f559dc6ea45ea5071b1480938c0df2cd88fca6c769bfc8aeebc7c38364ff1ed5e9161192691859190918252602082015260400190565b60405180910390a15050565b6000546060906001600160a01b0316331461195f5760405162461bcd60e51b815260040161067d90612b90565b7f00000000000000000000000000000000000000000000000000000000000000004210156119c85760405162461bcd60e51b815260206004820152601660248201527541756374696f6e20796574206e6f742073746172742160501b604482015260640161067d565b6005805480602002602001604051908101604052809291908181526020018280548015611a1e57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611a00575b5050505050905090565b6000546001600160a01b03163314611a525760405162461bcd60e51b815260040161067d90612b90565b611a5c60006125e1565b565b600060026001541415611a835760405162461bcd60e51b815260040161067d90612bc5565b60026001556000546001600160a01b03163314611ab25760405162461bcd60e51b815260040161067d90612b90565b7f0000000000000000000000000000000000000000000000000000000000000000421115611b1b5760405162461bcd60e51b815260206004820152601660248201527541756374696f6e20616c726561647920656e6465642160501b604482015260640161067d565b600254600160a01b900460ff1615611b715760405162461bcd60e51b815260206004820152601960248201527841756374696f6e20616c72656164792063616e63656c65642160381b604482015260640161067d565b6002805460ff60a01b1916600160a01b179055604051600181527f1fd636bc86322e474244a9366e9b72f9e75d3ba45b442352c7f950c92a9808a59060200160405180910390a150600180805590565b60026001541415611be45760405162461bcd60e51b815260040161067d90612bc5565b60026001557f0000000000000000000000000000000000000000000000000000000000000000421015611c525760405162461bcd60e51b815260206004820152601660248201527541756374696f6e20796574206e6f742073746172742160501b604482015260640161067d565b7f0000000000000000000000000000000000000000000000000000000000000000421115611cbb5760405162461bcd60e51b815260206004820152601660248201527541756374696f6e20616c726561647920656e6465642160501b604482015260640161067d565b600254600160a01b900460ff1615611d115760405162461bcd60e51b815260206004820152601960248201527841756374696f6e20616c72656164792063616e63656c65642160381b604482015260640161067d565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161415611d5a5760405162461bcd60e51b815260040161067d90612b49565b6002546040516370a0823160e01b815233600482018190529183916001600160a01b03909116906370a082319060240160206040518083038186803b158015611da257600080fd5b505afa158015611db6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dda91906129f3565b1015611e325760405162461bcd60e51b815260206004820152602160248201527f496e73756666696369616e7420455243323020746f6b656e2062616c616e63656044820152602160f81b606482015260840161067d565b600254604051636eb1769f60e11b81526001600160a01b0383811660048301523060248301528492169063dd62ed3e9060440160206040518083038186803b158015611e7d57600080fd5b505afa158015611e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb591906129f3565b1015611f035760405162461bcd60e51b815260206004820152601b60248201527f417070726f766520455243323020746f6b656e73206669727374210000000000604482015260640161067d565b6001600160a01b038116600090815260066020526040812054611f2690846125c9565b90507f0000000000000000000000000000000000000000000000000000000000000000811015611fbe5760405162461bcd60e51b815260206004820152603d60248201527f42696420546f6b656e20616d6f756e7420746f6f206c6f77212c20616d6f756e60448201527f742073686f756c642062652061626f766520666c6f6f72207072696365000000606482015260840161067d565b600354811161200f5760405162461bcd60e51b815260206004820181905260248201527f6f7665726269642074686520686967686573742062696e64696e672062696421604482015260640161067d565b6004546001600160a01b0390811660009081526006602052604080822054928516825290208290558082116120635761205b61205561204e6001612631565b84906125c9565b82612645565b6003556120b0565b6004546001600160a01b038481169116146120ad57600480546001600160a01b0319166001600160a01b0385161790556120a9826120a461204e6001612631565b612645565b6003555b50805b600080546001600160a01b031660405163d96ca0b960e01b81526001600160a01b0386811660048301523060248301526044820188905291925060009183169063d96ca0b990606401602060405180830381600087803b15801561211357600080fd5b505af1158015612127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214b91906129bb565b9050806121915760405162461bcd60e51b8152602060048201526014602482015273199d5b99081d1c985b9cd9995c8819985a5b195960621b604482015260640161067d565b61219a8561265c565b600454600354604080516001600160a01b03808a168252602082018b9052909316908301526060820185905260808201527ff152f4ff5e488c55370a2d53925a55055228ebd8ec95bd0251bbb299e48786b09060a00160405180910390a150506001805550505050565b6000546060906001600160a01b031633146122315760405162461bcd60e51b815260040161067d90612b90565b7f00000000000000000000000000000000000000000000000000000000000000004211801561226a5750600254600160a01b900460ff16155b6122865760405162461bcd60e51b815260040161067d90612b12565b6009805480602002602001604051908101604052809291908181526020018280548015611a1e57602002820191906000526020600020905b8154815260200190600101908083116122be575050505050905090565b600080546001600160a01b031633146123065760405162461bcd60e51b815260040161067d90612b90565b507f000000000000000000000000000000000000000000000000000000000000000090565b6000546001600160a01b031633146123555760405162461bcd60e51b815260040161067d90612b90565b6001600160a01b0381166123ba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161067d565b6123c3816125e1565b50565b60607f0000000000000000000000000000000000000000000000000000000000000000421180156124015750600254600160a01b900460ff16155b61241d5760405162461bcd60e51b815260040161067d90612b12565b6005546124865760405162461bcd60e51b815260206004820152603160248201527f4e6f2062696464657220666f756e642c2077696e6e6572206c6973742063616e604482015270206e6f742062652067656e65726174652160781b606482015260840161067d565b6005546000907f0000000000000000000000000000000000000000000000000000000000000000116124d8577f00000000000000000000000000000000000000000000000000000000000000006124dc565b6005545b905060008167ffffffffffffffff81111561250757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612530578160200160208202803683370190505b5060045481519192506001600160a01b031690829060009061256257634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250508160011415612594579150610bb89050565b6125a16001826001612718565b9250505090565b60006125b48284612c14565b90505b92915050565b60006125b48284612c34565b60006125b48284612bfc565b60006125b48284612c53565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006125b782670de0b6b3a7640000612c34565b6000818310156126565750816125b7565b50919050565b6000805b6005548110156126c2576005818154811061268b57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03163314156126b057600191506126c2565b806126ba81612c6a565b915050612660565b508061271457600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b5050565b6060600061274961272886612631565b6004546001600160a01b0316600090815260066020526040902054906125d5565b905060005b60055481101561287a5784518414156127665761287a565b60006005828154811061278957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031680835260069091526040909120549091508311612867576000805b86811161281a578781815181106127e257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b0316836001600160a01b0316141561280857600191505b8061281281612c6a565b9150506127bb565b5080612865578187878151811061284157634e487b7160e01b600052603260045260246000fd5b6001600160a01b039092166020928302919091019091015261286286612c6a565b95505b505b508061287281612c6a565b91505061274e565b508351831461289a576128986128918660016125c9565b8585612718565b505b50919392505050565b6000602082840312156128b4578081fd5b81356128bf81612cb1565b9392505050565b6000602082840312156128d7578081fd5b81516128bf81612cb1565b600080600080608085870312156128f7578283fd5b843561290281612cb1565b9350602085013561291281612cb1565b925060408501359150606085013567ffffffffffffffff80821115612935578283fd5b818701915087601f830112612948578283fd5b81358181111561295a5761295a612c9b565b604051601f8201601f19908116603f0116810190838211818310171561298257612982612c9b565b816040528281528a602084870101111561299a578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000602082840312156129cc578081fd5b815180151581146128bf578182fd5b6000602082840312156129ec578081fd5b5035919050565b600060208284031215612a04578081fd5b5051919050565b60008060408385031215612a1d578182fd5b823591506020830135612a2f81612cb1565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612a7b5783516001600160a01b031683529284019291840191600101612a56565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612a7b57835183529284019291840191600101612aa3565b6000602080835283518082850152825b81811015612aeb57858101830151858201604001528201612acf565b81811115612afc5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526019908201527f41756374696f6e206973206e6f7420656e646564207965742100000000000000604082015260600190565b60208082526027908201527f42656e65666963696172792063616e206e6f7420706572666f726d2074686520604082015266616374696f6e2160c81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115612c0f57612c0f612c85565b500190565b600082612c2f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612c4e57612c4e612c85565b500290565b600082821015612c6557612c65612c85565b500390565b6000600019821415612c7e57612c7e612c85565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146123c357600080fdfea264697066735822122055d70f2d31364689412b6d3e48930241d329448f2d18d12cec1ac8ba9748becb64736f6c634300080400336101606040523480156200001257600080fd5b5060405162001ecd38038062001ecd83398101604081905262000035916200021a565b6200004033620001ca565b60018055428511620000995760405162461bcd60e51b815260206004820181905260248201527f53616c652073746172742074696d657374616d7020697320696e76616c69642160448201526064015b60405180910390fd5b4284118015620000a857508484115b620001115760405162461bcd60e51b815260206004820152603260248201527f53616c6520656e642074696d657374616d702063616e206e6f74206265207468604482015271652070617374206f7220696e76616c69642160701b606482015260840162000090565b6001600160a01b038716620001755760405162461bcd60e51b815260206004820152602360248201527f42656e65666963696172792061646472657373206973206e6f7420636f72726560448201526263742160e81b606482015260840162000090565b600280546001600160a01b0319166001600160a01b03999099169890981790975560609590951b6001600160601b03191660e05260809390935260a09190915260c052610100526101405261012052620002a8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600080600080610100898b03121562000237578384fd5b885162000244816200028f565b60208a015190985062000257816200028f565b60408a015160608b015160808c015160a08d015160c08e015160e0909e01519c9f949e50929c919b909a509198509650945092505050565b6001600160a01b0381168114620002a557600080fd5b50565b60805160a05160c05160e05160601c610100516101205161014051611b5762000376600039600081816107410152611611015260008181610a980152610ad0015260006104ea015260008181610612015281816107ab0152610e0f0152600081816102000152818161042c015281816109ce01528181610da801526115280152600081816102d90152818161047401528181610bee0152610d420152600081816103770152818161071301528181610f6c0152818161106701528181611180015261149a0152611b576000f3fe6080604052600436106101025760003560e01c806378e9792511610095578063a035b1fe11610064578063a035b1fe14610365578063b0954dee14610399578063be74264d146103c6578063f28c4040146103db578063f2fde38b146104085761014c565b806378e97925146102c75780638da5cb5b146102fb5780639134709e146103235780639e2c58ca146103435761014c565b80635653de64116100d15780635653de641461023057806369de8347146102705780637088f0c114610290578063715018a6146102b25761014c565b806301a2ee3f14610173578063150b7a021461019e57806324d507fd146101d75780633197cbb6146101ee5761014c565b3661014c577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874335b604080516001600160a01b0390921682523460208301520160405180910390a1005b7f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743361012a565b34801561017f57600080fd5b50610188610428565b60405161019591906119cf565b60405180910390f35b3480156101aa57600080fd5b506101be6101b93660046117f2565b6104e2565b6040516001600160e01b03199091168152602001610195565b3480156101e357600080fd5b506101ec6105af565b005b3480156101fa57600080fd5b506102227f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610195565b34801561023c57600080fd5b5061026061024b3660046118eb565b60046020526000908152604090205460ff1681565b6040519015158152602001610195565b34801561027c57600080fd5b506101ec61028b3660046118eb565b6109a2565b34801561029c57600080fd5b506102a5610bbf565b604051610195919061194a565b3480156102be57600080fd5b506101ec610cb2565b3480156102d357600080fd5b506102227f000000000000000000000000000000000000000000000000000000000000000081565b34801561030757600080fd5b506000546040516001600160a01b039091168152602001610195565b34801561032f57600080fd5b506101ec61033e36600461191b565b610ce8565b34801561034f57600080fd5b506103586114f9565b6040516101959190611997565b34801561037157600080fd5b506102227f000000000000000000000000000000000000000000000000000000000000000081565b3480156103a557600080fd5b506102226103b43660046118eb565b60056020526000908152604090205481565b3480156103d257600080fd5b506102226115e3565b3480156103e757600080fd5b506102226103f63660046118eb565b60009081526005602052604090205490565b34801561041457600080fd5b506101ec6104233660046117ba565b611633565b60607f00000000000000000000000000000000000000000000000000000000000000004211156104725750604080518082019091526005815264195b99195960da1b602082015290565b7f00000000000000000000000000000000000000000000000000000000000000004210156104c0575060408051808201909152600b81526a1b9bdd0b5cdd185c9d195960aa1b602082015290565b5060408051808201909152600781526672756e6e696e6760c81b602082015290565b6006546000907f00000000000000000000000000000000000000000000000000000000000000001161056c5760405162461bcd60e51b815260206004820152602860248201527f546f6b656e20616c6c6f77616e636520686173207265616368656420746865206044820152676d6178696d756d2160c01b60648201526084015b60405180910390fd5b5050600680546001810182556000919091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f015550630a85bd0160e11b919050565b600260015414156106025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610563565b6002600155336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061064857506000546001600160a01b031633145b6106ad5760405162461bcd60e51b815260206004820152603060248201527f42656e6566696369617279202f204f776e65722063616e206f6e6c792070657260448201526f666f726d2074686520616374696f6e2160801b6064820152608401610563565b600254600160a01b900460ff16156107075760405162461bcd60e51b815260206004820152601860248201527f46756e647320616c726561647920636f6c6c65637465642100000000000000006044820152606401610563565b600354600090610738907f0000000000000000000000000000000000000000000000000000000000000000906116ce565b905060006107717f000000000000000000000000000000000000000000000000000000000000000061076b8460646116e1565b906116ce565b9050600061077f83836116ed565b6002805460ff60a01b198116600160a01b1790915560405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820184905292935091169063a9059cbb90604401602060405180830381600087803b15801561080157600080fd5b505af1158015610815573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083991906118cb565b50600080546001600160a01b03169050600260009054906101000a90046001600160a01b03166001600160a01b031663a9059cbb826001600160a01b031663d27542b86040518163ffffffff1660e01b815260040160206040518083038186803b1580156108a657600080fd5b505afa1580156108ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108de91906117d6565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101869052604401602060405180830381600087803b15801561092657600080fd5b505af115801561093a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095e91906118cb565b5060408051838152602081018590527f9f711bbd3973f42733d63b23f9999746f6a259ee84921299074f3a9955876518910160405180910390a15050600180555050565b6000546001600160a01b031633146109cc5760405162461bcd60e51b815260040161056390611a22565b7f00000000000000000000000000000000000000000000000000000000000000004211610a345760405162461bcd60e51b815260206004820152601660248201527553656c6c206973206e6f7420656e646564207965742160501b6044820152606401610563565b610a3d816116f9565b610a945760405162461bcd60e51b815260206004820152602260248201527f546f6b656e206973206e6f7420616c6c6f77656420666f722072656465656d65604482015261642160f01b6064820152608401610563565b60007f0000000000000000000000000000000000000000000000000000000000000000118015610af157506000818152600560205260409020547f0000000000000000000000000000000000000000000000000000000000000000115b15610b4f5760405162461bcd60e51b815260206004820152602860248201527f557365722068617665207265616368656420746865206d6178696d756d20616c6044820152676c6f77616e63652160c01b6064820152608401610563565b600081815260056020526040902054610b6990600161175e565b60008281526005602052604090819020829055517f559dc6ea45ea5071b1480938c0df2cd88fca6c769bfc8aeebc7c38364ff1ed5e91610bb491849190918252602082015260400190565b60405180910390a150565b6000546060906001600160a01b03163314610bec5760405162461bcd60e51b815260040161056390611a22565b7f0000000000000000000000000000000000000000000000000000000000000000421015610c525760405162461bcd60e51b815260206004820152601360248201527253656c6c20796574206e6f742073746172742160681b6044820152606401610563565b6003805480602002602001604051908101604052809291908181526020018280548015610ca857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610c8a575b5050505050905090565b6000546001600160a01b03163314610cdc5760405162461bcd60e51b815260040161056390611a22565b610ce6600061176a565b565b60026001541415610d3b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610563565b60026001557f0000000000000000000000000000000000000000000000000000000000000000421015610da65760405162461bcd60e51b815260206004820152601360248201527253656c6c20796574206e6f742073746172742160681b6044820152606401610563565b7f0000000000000000000000000000000000000000000000000000000000000000421115610e0c5760405162461bcd60e51b815260206004820152601360248201527253656c6c20616c726561647920656e6465642160681b6044820152606401610563565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161415610e955760405162461bcd60e51b815260206004820152602760248201527f42656e65666963696172792063616e206e6f7420706572666f726d2074686520604482015266616374696f6e2160c81b6064820152608401610563565b33610e9f836116f9565b610ef65760405162461bcd60e51b815260206004820152602260248201527f746f6b656e206973206e6f7720616c6c6f77656420666f722074686973206465604482015261185b60f21b6064820152608401610563565b60008381526004602052604090205460ff1615610f4a5760405162461bcd60e51b8152602060048201526012602482015271151bdad95b88185b1c9958591e481cdbdb1960721b6044820152606401610563565b6002546040516370a0823160e01b81526001600160a01b0383811660048301527f00000000000000000000000000000000000000000000000000000000000000009216906370a082319060240160206040518083038186803b158015610faf57600080fd5b505afa158015610fc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe79190611903565b101561103f5760405162461bcd60e51b815260206004820152602160248201527f496e73756666696369616e7420455243323020746f6b656e2062616c616e63656044820152602160f81b6064820152608401610563565b600254604051636eb1769f60e11b81526001600160a01b0383811660048301523060248301527f000000000000000000000000000000000000000000000000000000000000000092169063dd62ed3e9060440160206040518083038186803b1580156110aa57600080fd5b505afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190611903565b10156111305760405162461bcd60e51b815260206004820152601b60248201527f417070726f766520455243323020746f6b656e732066697273742100000000006044820152606401610563565b6000838152600460205260408120805460ff1916600117905561115b6000546001600160a01b031690565b60405163d96ca0b960e01b81526001600160a01b0384811660048301523060248301527f0000000000000000000000000000000000000000000000000000000000000000604483015291925060009183169063d96ca0b990606401602060405180830381600087803b1580156111d057600080fd5b505af11580156111e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120891906118cb565b90508061124e5760405162461bcd60e51b8152602060048201526014602482015273199d5b99081d1c985b9cd9995c8819985a5b195960621b6044820152606401610563565b6040516370a0823160e01b815230600482015284906000906001600160a01b038316906370a082319060240160206040518083038186803b15801561129257600080fd5b505afa1580156112a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ca9190611903565b1161130d5760405162461bcd60e51b815260206004820152601360248201527210d85b1b195c881b5d5cdd081bdddb881b999d606a1b6044820152606401610563565b6040516331a9108f60e11b81526004810187905230906001600160a01b03831690636352211e9060240160206040518083038186803b15801561134f57600080fd5b505afa158015611363573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138791906117d6565b6001600160a01b0316146113d65760405162461bcd60e51b81526020600482015260166024820152752cb7ba9036bab9ba1037bbb7103a3432903a37b5b2b760511b6044820152606401610563565b604051632142170760e11b81523060048201526001600160a01b038581166024830152604482018890528216906342842e0e90606401600060405180830381600087803b15801561142657600080fd5b505af115801561143a573d6000803e3d6000fd5b5050600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b03881690811790915560408051918252602082018a90527f0000000000000000000000000000000000000000000000000000000000000000908201527f3bb720dcc9b5b2218b19a41ca92774fd6a9308760642254fcdb9c7ccc7a42e7e9250606001905060405180910390a150506001805550505050565b6000546060906001600160a01b031633146115265760405162461bcd60e51b815260040161056390611a22565b7f0000000000000000000000000000000000000000000000000000000000000000421161158e5760405162461bcd60e51b815260206004820152601660248201527553656c6c206973206e6f7420656e646564207965742160501b6044820152606401610563565b6006805480602002602001604051908101604052809291908181526020018280548015610ca857602002820191906000526020600020905b8154815260200190600101908083116115c6575050505050905090565b600080546001600160a01b0316331461160e5760405162461bcd60e51b815260040161056390611a22565b507f000000000000000000000000000000000000000000000000000000000000000090565b6000546001600160a01b0316331461165d5760405162461bcd60e51b815260040161056390611a22565b6001600160a01b0381166116c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610563565b6116cb8161176a565b50565b60006116da8284611a8f565b9392505050565b60006116da8284611a6f565b60006116da8284611aae565b60008060005b60065481101561175757836006828154811061172b57634e487b7160e01b600052603260045260246000fd5b906000526020600020015414156117455760019150611757565b8061174f81611ac5565b9150506116ff565b5092915050565b60006116da8284611a57565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156117cb578081fd5b81356116da81611b0c565b6000602082840312156117e7578081fd5b81516116da81611b0c565b60008060008060808587031215611807578283fd5b843561181281611b0c565b9350602085013561182281611b0c565b925060408501359150606085013567ffffffffffffffff80821115611845578283fd5b818701915087601f830112611858578283fd5b81358181111561186a5761186a611af6565b604051601f8201601f19908116603f0116810190838211818310171561189257611892611af6565b816040528281528a60208487010111156118aa578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000602082840312156118dc578081fd5b815180151581146116da578182fd5b6000602082840312156118fc578081fd5b5035919050565b600060208284031215611914578081fd5b5051919050565b6000806040838503121561192d578182fd5b82359150602083013561193f81611b0c565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561198b5783516001600160a01b031683529284019291840191600101611966565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561198b578351835292840192918401916001016119b3565b6000602080835283518082850152825b818110156119fb578581018301518582016040015282016119df565b81811115611a0c5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611a6a57611a6a611ae0565b500190565b600082611a8a57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611aa957611aa9611ae0565b500290565b600082821015611ac057611ac0611ae0565b500390565b6000600019821415611ad957611ad9611ae0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146116cb57600080fdfea264697066735822122023a48e1e5e5501fd938e2d550349d8fced25836e2d7fcdd5f6a99647eb6fdf4c64736f6c63430008040033a264697066735822122006b4d03ce0652aafcecf46c91c93ca505995bd8f846ca8c7abd6c5fde42ba18164736f6c63430008040033

Deployed ByteCode

0x608060405260043610620000915760003560e01c80638da5cb5b11620000605780638da5cb5b146200014f578063d27542b8146200016f578063d96ca0b9146200018f578063defd1f5614620001a6578063f2fde38b14620001cb57600080fd5b8063312caa221462000096578063474da79a14620000d0578063715018a6146200010e57806374aef1d11462000128575b600080fd5b348015620000a357600080fd5b50620000bb620000b536600462000993565b620001f0565b60405190151581526020015b60405180910390f35b348015620000dd57600080fd5b50620000f5620000ef36600462000aae565b620002d0565b6040516001600160a01b039091168152602001620000c7565b3480156200011b57600080fd5b5062000126620002fb565b005b3480156200013557600080fd5b506200014062000336565b604051620000c7919062000ae0565b3480156200015c57600080fd5b506000546001600160a01b0316620000f5565b3480156200017c57600080fd5b506002546001600160a01b0316620000f5565b620000bb620001a0366004620009b9565b6200039a565b348015620001b357600080fd5b5062000126620001c536600462000a20565b620005ec565b348015620001d857600080fd5b5062000126620001ea36600462000993565b62000885565b600080546001600160a01b03163314620002275760405162461bcd60e51b81526004016200021e9062000b73565b60405180910390fd5b6001600160a01b038216620002775760405162461bcd60e51b8152602060048201526015602482015274696e76616c69642077616c6c65742061647265737360581b60448201526064016200021e565b600280546001600160a01b0319166001600160a01b0384169081179091556040519081527f0d01e7b778db9915e7a7781cc124a2a2d7765609d68900e10086e5ab4494b74b9060200160405180910390a1506001919050565b60038181548110620002e157600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b03163314620003285760405162461bcd60e51b81526004016200021e9062000b73565b62000334600062000927565b565b606060038054806020026020016040519081016040528092919081815260200182805480156200039057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000371575b5050505050905090565b6001546040516370a0823160e01b81526001600160a01b03858116600483015260009284929116906370a082319060240160206040518083038186803b158015620003e457600080fd5b505afa158015620003f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200041f919062000ac7565b1015620004795760405162461bcd60e51b815260206004820152602160248201527f496e73756666696369616e7420455243323020746f6b656e2062616c616e63656044820152602160f81b60648201526084016200021e565b600154604051636eb1769f60e11b81526001600160a01b0386811660048301523060248301528492169063dd62ed3e9060440160206040518083038186803b158015620004c557600080fd5b505afa158015620004da573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000500919062000ac7565b1015620005505760405162461bcd60e51b815260206004820152601b60248201527f417070726f766520455243323020746f6b656e7320666972737421000000000060448201526064016200021e565b6001546040516323b872dd60e01b81526001600160a01b03868116600483015285811660248301526044820185905260009216906323b872dd90606401602060405180830381600087803b158015620005a857600080fd5b505af1158015620005bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e39190620009fe565b95945050505050565b6000546001600160a01b03163314620006195760405162461bcd60e51b81526004016200021e9062000b73565b60008160018111156200063c57634e487b7160e01b600052602160045260246000fd5b14156200076257600089898989898989896040516200065b9062000977565b6200066e98979695949392919062000b2f565b604051809103906000f0801580156200068b573d6000803e3d6000fd5b50600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b03831690811790915560408051918252610100602083018190526007908301526630bab1ba34b7b760c91b610120830152810189905260608101889052608081018a905260a0810187905260c0810185905260e081018690529091507ff87a821eeaaa435be56b691d535f6b67e46dd054979f084e3dd0de00bad9ead5906101400160405180910390a1506200087a565b600089898989898989896040516200077a9062000985565b6200078d98979695949392919062000b2f565b604051809103906000f080158015620007aa573d6000803e3d6000fd5b50600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b038316908117909155604080519182526101006020830181905260059083015264199a5e195960da1b610120830152810189905260608101889052608081018a905260a0810187905260c0810185905260e081018690529091507ff87a821eeaaa435be56b691d535f6b67e46dd054979f084e3dd0de00bad9ead5906101400160405180910390a1505b505050505050505050565b6000546001600160a01b03163314620008b25760405162461bcd60e51b81526004016200021e9062000b73565b6001600160a01b038116620009195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200021e565b620009248162000927565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6130ac8062000bbf83390190565b611ecd8062003c6b83390190565b600060208284031215620009a5578081fd5b8135620009b28162000ba8565b9392505050565b600080600060608486031215620009ce578182fd5b8335620009db8162000ba8565b92506020840135620009ed8162000ba8565b929592945050506040919091013590565b60006020828403121562000a10578081fd5b81518015158114620009b2578182fd5b60008060008060008060008060006101208a8c03121562000a3f578485fd5b893562000a4c8162000ba8565b985060208a013562000a5e8162000ba8565b975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a013591506101008a01356002811062000a9d578182fd5b809150509295985092959850929598565b60006020828403121562000ac0578081fd5b5035919050565b60006020828403121562000ad9578081fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b8181101562000b235783516001600160a01b03168352928401929184019160010162000afc565b50909695505050505050565b6001600160a01b03988916815296909716602087015260408601949094526060850192909252608084015260a083015260c082015260e08101919091526101000190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b03811681146200092457600080fdfe6101606040523480156200001257600080fd5b50604051620030ac380380620030ac833981016040819052620000359162000231565b6200004033620001e1565b60018055428511620000a55760405162461bcd60e51b815260206004820152602360248201527f41756374696f6e2073746172742074696d657374616d7020697320696e76616c60448201526269642160e81b60648201526084015b60405180910390fd5b4284118015620000b457508484115b620001285760405162461bcd60e51b815260206004820152603560248201527f41756374696f6e20656e642074696d657374616d702063616e206e6f7420626560448201527f207468652070617374206f7220696e76616c696421000000000000000000000060648201526084016200009c565b6001600160a01b0387166200018c5760405162461bcd60e51b815260206004820152602360248201527f42656e65666963696172792061646472657373206973206e6f7420636f72726560448201526263742160e81b60648201526084016200009c565b600280546001600160a01b0319166001600160a01b03999099169890981790975560609590951b6001600160601b03191660e05260809390935260a09190915260c052610100526101405261012052620002bf565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600080600080610100898b0312156200024e578384fd5b88516200025b81620002a6565b60208a01519098506200026e81620002a6565b60408a015160608b015160808c015160a08d015160c08e015160e0909e01519c9f949e50929c919b909a509198509650945092505050565b6001600160a01b0381168114620002bc57600080fd5b50565b60805160a05160c05160e05160601c610100516101205161014051612cfc620003b060003960008181610d4e015261230901526000818161180a0152611842015260008181610ac00152818161248e01526124b401526000818161069601528181610bee01528181610e1c01528181611185015281816113c60152611d14015260008181610333015281816106d60152818161104b01528181611406015281816116fe01528181611ab401528181611c540152818161223301526123ca01526000818161043701528181611093015281816119610152611beb0152600081816105240152611f2a0152612cfc6000f3fe6080604052600436106101c65760003560e01c806378e97925116100f75780639979ef4511610095578063ce10cf8011610064578063ce10cf80146105ca578063f28c4040146105f7578063f2fde38b14610624578063f5b56c561461064457610210565b80639979ef45146105465780639e2c58ca14610566578063b0954dee14610588578063be74264d146105b557610210565b80638da5cb5b116100d15780638da5cb5b146104ab5780638fa8b790146104dd57806391f90157146104f25780639363c8121461051257610210565b806378e97925146104255780637b0e08201461045957806384ddc67f1461048957610210565b80633ccfd60b11610164578063590e1ae31161013e578063590e1ae3146103c657806369de8347146103db578063704416b4146103fb578063715018a61461041057610210565b80633ccfd60b146103635780633f9942ff146103785780634979440a1461039957610210565b806315d6af8f116101a057806315d6af8f146102c857806324d507fd146102ea5780632e93be30146102ff5780633197cbb61461032157610210565b80631257e2791461023757806312fa6feb14610259578063150b7a021461028f57610210565b36610210577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874335b604080516001600160a01b0390921682523460208301520160405180910390a1005b7f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874336101ee565b34801561024357600080fd5b50610257610252366004612a0b565b61065a565b005b34801561026557600080fd5b5060025461027a90600160a81b900460ff1681565b60405190151581526020015b60405180910390f35b34801561029b57600080fd5b506102af6102aa3660046128e2565b610ab8565b6040516001600160e01b03199091168152602001610286565b3480156102d457600080fd5b506102dd610b80565b6040516102869190612a3a565b3480156102f657600080fd5b50610257610bbb565b34801561030b57600080fd5b50610314611011565b6040516102869190612abf565b34801561032d57600080fd5b506103557f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610286565b34801561036f57600080fd5b50610257611101565b34801561038457600080fd5b5060025461027a90600160a01b900460ff1681565b3480156103a557600080fd5b506004546001600160a01b0316600090815260066020526040902054610355565b3480156103d257600080fd5b50610257611393565b3480156103e757600080fd5b506102576103f63660046129db565b6116d2565b34801561040757600080fd5b506102dd611932565b34801561041c57600080fd5b50610257611a28565b34801561043157600080fd5b506103557f000000000000000000000000000000000000000000000000000000000000000081565b34801561046557600080fd5b5061027a6104743660046128a3565b60076020526000908152604090205460ff1681565b34801561049557600080fd5b5033600090815260066020526040902054610355565b3480156104b757600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610286565b3480156104e957600080fd5b5061027a611a5e565b3480156104fe57600080fd5b506004546104c5906001600160a01b031681565b34801561051e57600080fd5b506103557f000000000000000000000000000000000000000000000000000000000000000081565b34801561055257600080fd5b506102576105613660046129db565b611bc1565b34801561057257600080fd5b5061057b612204565b6040516102869190612a87565b34801561059457600080fd5b506103556105a33660046129db565b60086020526000908152604090205481565b3480156105c157600080fd5b506103556122db565b3480156105d657600080fd5b506103556105e53660046128a3565b60066020526000908152604090205481565b34801561060357600080fd5b506103556106123660046129db565b60009081526008602052604090205490565b34801561063057600080fd5b5061025761063f3660046128a3565b61232b565b34801561065057600080fd5b5061035560035481565b600260015414156106865760405162461bcd60e51b815260040161067d90612bc5565b60405180910390fd5b6002600155336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106d45760405162461bcd60e51b815260040161067d90612b49565b7f00000000000000000000000000000000000000000000000000000000000000004211801561070d5750600254600160a01b900460ff16155b6107295760405162461bcd60e51b815260040161067d90612b12565b60006107336123c6565b90506000805b82518110156107a45782818151811061076257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b031661077a3390565b6001600160a01b0316141561079257600191506107a4565b8061079c81612c6a565b915050610739565b50806107ea5760405162461bcd60e51b8152602060048201526015602482015274596f7520617265206e6f7420612077696e6e65722160581b604482015260640161067d565b3360009081526007602052604090205460ff16156108595760405162461bcd60e51b815260206004820152602660248201527f596f75206861766520616c726561647920636f6c6c656374656420796f757220604482015265746f6b656e2160d01b606482015260840161067d565b6040516370a0823160e01b815230600482015283906000906001600160a01b038316906370a082319060240160206040518083038186803b15801561089d57600080fd5b505afa1580156108b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d591906129f3565b116109185760405162461bcd60e51b815260206004820152601360248201527210d85b1b195c881b5d5cdd081bdddb881b999d606a1b604482015260640161067d565b6040516331a9108f60e11b81526004810186905230906001600160a01b03831690636352211e9060240160206040518083038186803b15801561095a57600080fd5b505afa15801561096e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099291906128c6565b6001600160a01b0316146109e15760405162461bcd60e51b81526020600482015260166024820152752cb7ba9036bab9ba1037bbb7103a3432903a37b5b2b760511b604482015260640161067d565b33600081815260076020526040808220805460ff191660011790558051632142170760e11b8152306004820152602481019390935260448301889052516001600160a01b038416926342842e0e92606480830193919282900301818387803b158015610a4c57600080fd5b505af1158015610a60573d6000803e3d6000fd5b505050507f17b3a70c980ec7f4b25a351955fa92638e9757afd4216535ac95a0153857680d610a8c3390565b604080516001600160a01b039092168252602082018890520160405180910390a1505060018055505050565b6009546000907f000000000000000000000000000000000000000000000000000000000000000011610b3d5760405162461bcd60e51b815260206004820152602860248201527f546f6b656e20616c6c6f77616e636520686173207265616368656420746865206044820152676d6178696d756d2160c01b606482015260840161067d565b5050600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550630a85bd0160e11b919050565b6000546060906001600160a01b03163314610bad5760405162461bcd60e51b815260040161067d90612b90565b610bb56123c6565b90505b90565b60026001541415610bde5760405162461bcd60e51b815260040161067d90612bc5565b6002600155336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610c2457506000546001600160a01b031633145b610c895760405162461bcd60e51b815260206004820152603060248201527f42656e6566696369617279202f204f776e65722063616e206f6e6c792070657260448201526f666f726d2074686520616374696f6e2160801b606482015260840161067d565b600254600160b01b900460ff1615610ce35760405162461bcd60e51b815260206004820152601860248201527f46756e647320616c726561647920636f6c6c6563746564210000000000000000604482015260640161067d565b6000610ced6123c6565b905060008060005b8351811015610def576000848281518110610d2057634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03811660009081526006909252604082205490925090610d7e7f0000000000000000000000000000000000000000000000000000000000000000610d788460646125a8565b906125bd565b9050610d8a85826125c9565b94506000610d9883836125d5565b9050610da487826125c9565b6001600160a01b038516600090815260066020526040812080549299508592909190610dd1908490612c53565b92505081905550505050508080610de790612c6a565b915050610cf5565b506002805460ff60b01b198116600160b01b1790915560405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018590529091169063a9059cbb90604401602060405180830381600087803b158015610e7057600080fd5b505af1158015610e84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea891906129bb565b50600080546001600160a01b03169050600260009054906101000a90046001600160a01b03166001600160a01b031663a9059cbb826001600160a01b031663d27542b86040518163ffffffff1660e01b815260040160206040518083038186803b158015610f1557600080fd5b505afa158015610f29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4d91906128c6565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b158015610f9557600080fd5b505af1158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcd91906129bb565b5060408051848152602081018490527f9f711bbd3973f42733d63b23f9999746f6a259ee84921299074f3a9955876518910160405180910390a15050600180555050565b600254606090600160a01b900460ff1615611049575060408051808201909152600881526718d85b98d95b195960c21b602082015290565b7f00000000000000000000000000000000000000000000000000000000000000004211156110915750604080518082019091526005815264195b99195960da1b602082015290565b7f00000000000000000000000000000000000000000000000000000000000000004210156110df575060408051808201909152600b81526a1b9bdd0b5cdd185c9d195960aa1b602082015290565b5060408051808201909152600781526672756e6e696e6760c81b602082015290565b600260015414156111245760405162461bcd60e51b815260040161067d90612bc5565b6002600181905554600160a01b900460ff166111825760405162461bcd60e51b815260206004820152601860248201527f41756374696f6e206973206e6f742063616e63656c6564210000000000000000604482015260640161067d565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614156111cb5760405162461bcd60e51b815260040161067d90612b49565b336000908152600660205260409020546112275760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420612076616c696420626964646572210000000000604482015260640161067d565b33600081815260066020526040902054806112945760405162461bcd60e51b815260206004820152602760248201527f596f75206861766520616c7265616479207769746864726177616c20796f75726044820152662066756e64732160c81b606482015260840161067d565b6001600160a01b038216600090815260066020526040812080548392906112bc908490612c53565b909155505060025460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b15801561130f57600080fd5b505af1158015611323573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134791906129bb565b50604080516001600160a01b0384168152602081018390527fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e9191015b60405180910390a1505060018055565b600260015414156113b65760405162461bcd60e51b815260040161067d90612bc5565b6002600155336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156114045760405162461bcd60e51b815260040161067d90612b49565b7f00000000000000000000000000000000000000000000000000000000000000004211801561143d5750600254600160a01b900460ff16155b6114595760405162461bcd60e51b815260040161067d90612b12565b336000908152600660205260409020546114b55760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420612076616c696420626964646572210000000000604482015260640161067d565b60006114bf6123c6565b905060005b8151811015611587578181815181106114ed57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166115053390565b6001600160a01b031614156115755760405162461bcd60e51b815260206004820152603060248201527f596f75206172652077696e6e65722c20796f752063616e206e6f74207065726660448201526f6f726d207468697320616374696f6e2160801b606482015260840161067d565b8061157f81612c6a565b9150506114c4565b5033600090815260066020526040902054806115e55760405162461bcd60e51b815260206004820152601d60248201527f596f7520616c7265616479206861766520726566756e64206261636b21000000604482015260640161067d565b3360009081526006602052604081208054839290611604908490612c53565b90915550506002546001600160a01b031663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b15801561166357600080fd5b505af1158015611677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169b91906129bb565b5060408051338152602081018390527fb6c0eca8138e097d71e2dd31e19a1266487f0553f170b7260ffe68bcbe9ff8a79101611383565b6000546001600160a01b031633146116fc5760405162461bcd60e51b815260040161067d90612b90565b7f0000000000000000000000000000000000000000000000000000000000000000421180156117355750600254600160a01b900460ff16155b6117515760405162461bcd60e51b815260040161067d90612b12565b6000805b6009548110156117ad57826009828154811061178157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154141561179b57600191506117ad565b806117a581612c6a565b915050611755565b50806118065760405162461bcd60e51b815260206004820152602260248201527f546f6b656e206973206e6f7420616c6c6f77656420666f722072656465656d65604482015261642160f01b606482015260840161067d565b60007f000000000000000000000000000000000000000000000000000000000000000011801561186357506000828152600860205260409020547f0000000000000000000000000000000000000000000000000000000000000000115b156118c15760405162461bcd60e51b815260206004820152602860248201527f557365722068617665207265616368656420746865206d6178696d756d20616c6044820152676c6f77616e63652160c01b606482015260840161067d565b6000828152600860205260409020546118db9060016125c9565b60008381526008602052604090819020829055517f559dc6ea45ea5071b1480938c0df2cd88fca6c769bfc8aeebc7c38364ff1ed5e9161192691859190918252602082015260400190565b60405180910390a15050565b6000546060906001600160a01b0316331461195f5760405162461bcd60e51b815260040161067d90612b90565b7f00000000000000000000000000000000000000000000000000000000000000004210156119c85760405162461bcd60e51b815260206004820152601660248201527541756374696f6e20796574206e6f742073746172742160501b604482015260640161067d565b6005805480602002602001604051908101604052809291908181526020018280548015611a1e57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611a00575b5050505050905090565b6000546001600160a01b03163314611a525760405162461bcd60e51b815260040161067d90612b90565b611a5c60006125e1565b565b600060026001541415611a835760405162461bcd60e51b815260040161067d90612bc5565b60026001556000546001600160a01b03163314611ab25760405162461bcd60e51b815260040161067d90612b90565b7f0000000000000000000000000000000000000000000000000000000000000000421115611b1b5760405162461bcd60e51b815260206004820152601660248201527541756374696f6e20616c726561647920656e6465642160501b604482015260640161067d565b600254600160a01b900460ff1615611b715760405162461bcd60e51b815260206004820152601960248201527841756374696f6e20616c72656164792063616e63656c65642160381b604482015260640161067d565b6002805460ff60a01b1916600160a01b179055604051600181527f1fd636bc86322e474244a9366e9b72f9e75d3ba45b442352c7f950c92a9808a59060200160405180910390a150600180805590565b60026001541415611be45760405162461bcd60e51b815260040161067d90612bc5565b60026001557f0000000000000000000000000000000000000000000000000000000000000000421015611c525760405162461bcd60e51b815260206004820152601660248201527541756374696f6e20796574206e6f742073746172742160501b604482015260640161067d565b7f0000000000000000000000000000000000000000000000000000000000000000421115611cbb5760405162461bcd60e51b815260206004820152601660248201527541756374696f6e20616c726561647920656e6465642160501b604482015260640161067d565b600254600160a01b900460ff1615611d115760405162461bcd60e51b815260206004820152601960248201527841756374696f6e20616c72656164792063616e63656c65642160381b604482015260640161067d565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161415611d5a5760405162461bcd60e51b815260040161067d90612b49565b6002546040516370a0823160e01b815233600482018190529183916001600160a01b03909116906370a082319060240160206040518083038186803b158015611da257600080fd5b505afa158015611db6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dda91906129f3565b1015611e325760405162461bcd60e51b815260206004820152602160248201527f496e73756666696369616e7420455243323020746f6b656e2062616c616e63656044820152602160f81b606482015260840161067d565b600254604051636eb1769f60e11b81526001600160a01b0383811660048301523060248301528492169063dd62ed3e9060440160206040518083038186803b158015611e7d57600080fd5b505afa158015611e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb591906129f3565b1015611f035760405162461bcd60e51b815260206004820152601b60248201527f417070726f766520455243323020746f6b656e73206669727374210000000000604482015260640161067d565b6001600160a01b038116600090815260066020526040812054611f2690846125c9565b90507f0000000000000000000000000000000000000000000000000000000000000000811015611fbe5760405162461bcd60e51b815260206004820152603d60248201527f42696420546f6b656e20616d6f756e7420746f6f206c6f77212c20616d6f756e60448201527f742073686f756c642062652061626f766520666c6f6f72207072696365000000606482015260840161067d565b600354811161200f5760405162461bcd60e51b815260206004820181905260248201527f6f7665726269642074686520686967686573742062696e64696e672062696421604482015260640161067d565b6004546001600160a01b0390811660009081526006602052604080822054928516825290208290558082116120635761205b61205561204e6001612631565b84906125c9565b82612645565b6003556120b0565b6004546001600160a01b038481169116146120ad57600480546001600160a01b0319166001600160a01b0385161790556120a9826120a461204e6001612631565b612645565b6003555b50805b600080546001600160a01b031660405163d96ca0b960e01b81526001600160a01b0386811660048301523060248301526044820188905291925060009183169063d96ca0b990606401602060405180830381600087803b15801561211357600080fd5b505af1158015612127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214b91906129bb565b9050806121915760405162461bcd60e51b8152602060048201526014602482015273199d5b99081d1c985b9cd9995c8819985a5b195960621b604482015260640161067d565b61219a8561265c565b600454600354604080516001600160a01b03808a168252602082018b9052909316908301526060820185905260808201527ff152f4ff5e488c55370a2d53925a55055228ebd8ec95bd0251bbb299e48786b09060a00160405180910390a150506001805550505050565b6000546060906001600160a01b031633146122315760405162461bcd60e51b815260040161067d90612b90565b7f00000000000000000000000000000000000000000000000000000000000000004211801561226a5750600254600160a01b900460ff16155b6122865760405162461bcd60e51b815260040161067d90612b12565b6009805480602002602001604051908101604052809291908181526020018280548015611a1e57602002820191906000526020600020905b8154815260200190600101908083116122be575050505050905090565b600080546001600160a01b031633146123065760405162461bcd60e51b815260040161067d90612b90565b507f000000000000000000000000000000000000000000000000000000000000000090565b6000546001600160a01b031633146123555760405162461bcd60e51b815260040161067d90612b90565b6001600160a01b0381166123ba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161067d565b6123c3816125e1565b50565b60607f0000000000000000000000000000000000000000000000000000000000000000421180156124015750600254600160a01b900460ff16155b61241d5760405162461bcd60e51b815260040161067d90612b12565b6005546124865760405162461bcd60e51b815260206004820152603160248201527f4e6f2062696464657220666f756e642c2077696e6e6572206c6973742063616e604482015270206e6f742062652067656e65726174652160781b606482015260840161067d565b6005546000907f0000000000000000000000000000000000000000000000000000000000000000116124d8577f00000000000000000000000000000000000000000000000000000000000000006124dc565b6005545b905060008167ffffffffffffffff81111561250757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612530578160200160208202803683370190505b5060045481519192506001600160a01b031690829060009061256257634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250508160011415612594579150610bb89050565b6125a16001826001612718565b9250505090565b60006125b48284612c14565b90505b92915050565b60006125b48284612c34565b60006125b48284612bfc565b60006125b48284612c53565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006125b782670de0b6b3a7640000612c34565b6000818310156126565750816125b7565b50919050565b6000805b6005548110156126c2576005818154811061268b57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03163314156126b057600191506126c2565b806126ba81612c6a565b915050612660565b508061271457600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b5050565b6060600061274961272886612631565b6004546001600160a01b0316600090815260066020526040902054906125d5565b905060005b60055481101561287a5784518414156127665761287a565b60006005828154811061278957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031680835260069091526040909120549091508311612867576000805b86811161281a578781815181106127e257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b0316836001600160a01b0316141561280857600191505b8061281281612c6a565b9150506127bb565b5080612865578187878151811061284157634e487b7160e01b600052603260045260246000fd5b6001600160a01b039092166020928302919091019091015261286286612c6a565b95505b505b508061287281612c6a565b91505061274e565b508351831461289a576128986128918660016125c9565b8585612718565b505b50919392505050565b6000602082840312156128b4578081fd5b81356128bf81612cb1565b9392505050565b6000602082840312156128d7578081fd5b81516128bf81612cb1565b600080600080608085870312156128f7578283fd5b843561290281612cb1565b9350602085013561291281612cb1565b925060408501359150606085013567ffffffffffffffff80821115612935578283fd5b818701915087601f830112612948578283fd5b81358181111561295a5761295a612c9b565b604051601f8201601f19908116603f0116810190838211818310171561298257612982612c9b565b816040528281528a602084870101111561299a578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000602082840312156129cc578081fd5b815180151581146128bf578182fd5b6000602082840312156129ec578081fd5b5035919050565b600060208284031215612a04578081fd5b5051919050565b60008060408385031215612a1d578182fd5b823591506020830135612a2f81612cb1565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612a7b5783516001600160a01b031683529284019291840191600101612a56565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612a7b57835183529284019291840191600101612aa3565b6000602080835283518082850152825b81811015612aeb57858101830151858201604001528201612acf565b81811115612afc5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526019908201527f41756374696f6e206973206e6f7420656e646564207965742100000000000000604082015260600190565b60208082526027908201527f42656e65666963696172792063616e206e6f7420706572666f726d2074686520604082015266616374696f6e2160c81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115612c0f57612c0f612c85565b500190565b600082612c2f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612c4e57612c4e612c85565b500290565b600082821015612c6557612c65612c85565b500390565b6000600019821415612c7e57612c7e612c85565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146123c357600080fdfea264697066735822122055d70f2d31364689412b6d3e48930241d329448f2d18d12cec1ac8ba9748becb64736f6c634300080400336101606040523480156200001257600080fd5b5060405162001ecd38038062001ecd83398101604081905262000035916200021a565b6200004033620001ca565b60018055428511620000995760405162461bcd60e51b815260206004820181905260248201527f53616c652073746172742074696d657374616d7020697320696e76616c69642160448201526064015b60405180910390fd5b4284118015620000a857508484115b620001115760405162461bcd60e51b815260206004820152603260248201527f53616c6520656e642074696d657374616d702063616e206e6f74206265207468604482015271652070617374206f7220696e76616c69642160701b606482015260840162000090565b6001600160a01b038716620001755760405162461bcd60e51b815260206004820152602360248201527f42656e65666963696172792061646472657373206973206e6f7420636f72726560448201526263742160e81b606482015260840162000090565b600280546001600160a01b0319166001600160a01b03999099169890981790975560609590951b6001600160601b03191660e05260809390935260a09190915260c052610100526101405261012052620002a8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600080600080610100898b03121562000237578384fd5b885162000244816200028f565b60208a015190985062000257816200028f565b60408a015160608b015160808c015160a08d015160c08e015160e0909e01519c9f949e50929c919b909a509198509650945092505050565b6001600160a01b0381168114620002a557600080fd5b50565b60805160a05160c05160e05160601c610100516101205161014051611b5762000376600039600081816107410152611611015260008181610a980152610ad0015260006104ea015260008181610612015281816107ab0152610e0f0152600081816102000152818161042c015281816109ce01528181610da801526115280152600081816102d90152818161047401528181610bee0152610d420152600081816103770152818161071301528181610f6c0152818161106701528181611180015261149a0152611b576000f3fe6080604052600436106101025760003560e01c806378e9792511610095578063a035b1fe11610064578063a035b1fe14610365578063b0954dee14610399578063be74264d146103c6578063f28c4040146103db578063f2fde38b146104085761014c565b806378e97925146102c75780638da5cb5b146102fb5780639134709e146103235780639e2c58ca146103435761014c565b80635653de64116100d15780635653de641461023057806369de8347146102705780637088f0c114610290578063715018a6146102b25761014c565b806301a2ee3f14610173578063150b7a021461019e57806324d507fd146101d75780633197cbb6146101ee5761014c565b3661014c577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874335b604080516001600160a01b0390921682523460208301520160405180910390a1005b7f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743361012a565b34801561017f57600080fd5b50610188610428565b60405161019591906119cf565b60405180910390f35b3480156101aa57600080fd5b506101be6101b93660046117f2565b6104e2565b6040516001600160e01b03199091168152602001610195565b3480156101e357600080fd5b506101ec6105af565b005b3480156101fa57600080fd5b506102227f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610195565b34801561023c57600080fd5b5061026061024b3660046118eb565b60046020526000908152604090205460ff1681565b6040519015158152602001610195565b34801561027c57600080fd5b506101ec61028b3660046118eb565b6109a2565b34801561029c57600080fd5b506102a5610bbf565b604051610195919061194a565b3480156102be57600080fd5b506101ec610cb2565b3480156102d357600080fd5b506102227f000000000000000000000000000000000000000000000000000000000000000081565b34801561030757600080fd5b506000546040516001600160a01b039091168152602001610195565b34801561032f57600080fd5b506101ec61033e36600461191b565b610ce8565b34801561034f57600080fd5b506103586114f9565b6040516101959190611997565b34801561037157600080fd5b506102227f000000000000000000000000000000000000000000000000000000000000000081565b3480156103a557600080fd5b506102226103b43660046118eb565b60056020526000908152604090205481565b3480156103d257600080fd5b506102226115e3565b3480156103e757600080fd5b506102226103f63660046118eb565b60009081526005602052604090205490565b34801561041457600080fd5b506101ec6104233660046117ba565b611633565b60607f00000000000000000000000000000000000000000000000000000000000000004211156104725750604080518082019091526005815264195b99195960da1b602082015290565b7f00000000000000000000000000000000000000000000000000000000000000004210156104c0575060408051808201909152600b81526a1b9bdd0b5cdd185c9d195960aa1b602082015290565b5060408051808201909152600781526672756e6e696e6760c81b602082015290565b6006546000907f00000000000000000000000000000000000000000000000000000000000000001161056c5760405162461bcd60e51b815260206004820152602860248201527f546f6b656e20616c6c6f77616e636520686173207265616368656420746865206044820152676d6178696d756d2160c01b60648201526084015b60405180910390fd5b5050600680546001810182556000919091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f015550630a85bd0160e11b919050565b600260015414156106025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610563565b6002600155336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061064857506000546001600160a01b031633145b6106ad5760405162461bcd60e51b815260206004820152603060248201527f42656e6566696369617279202f204f776e65722063616e206f6e6c792070657260448201526f666f726d2074686520616374696f6e2160801b6064820152608401610563565b600254600160a01b900460ff16156107075760405162461bcd60e51b815260206004820152601860248201527f46756e647320616c726561647920636f6c6c65637465642100000000000000006044820152606401610563565b600354600090610738907f0000000000000000000000000000000000000000000000000000000000000000906116ce565b905060006107717f000000000000000000000000000000000000000000000000000000000000000061076b8460646116e1565b906116ce565b9050600061077f83836116ed565b6002805460ff60a01b198116600160a01b1790915560405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820184905292935091169063a9059cbb90604401602060405180830381600087803b15801561080157600080fd5b505af1158015610815573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083991906118cb565b50600080546001600160a01b03169050600260009054906101000a90046001600160a01b03166001600160a01b031663a9059cbb826001600160a01b031663d27542b86040518163ffffffff1660e01b815260040160206040518083038186803b1580156108a657600080fd5b505afa1580156108ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108de91906117d6565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101869052604401602060405180830381600087803b15801561092657600080fd5b505af115801561093a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095e91906118cb565b5060408051838152602081018590527f9f711bbd3973f42733d63b23f9999746f6a259ee84921299074f3a9955876518910160405180910390a15050600180555050565b6000546001600160a01b031633146109cc5760405162461bcd60e51b815260040161056390611a22565b7f00000000000000000000000000000000000000000000000000000000000000004211610a345760405162461bcd60e51b815260206004820152601660248201527553656c6c206973206e6f7420656e646564207965742160501b6044820152606401610563565b610a3d816116f9565b610a945760405162461bcd60e51b815260206004820152602260248201527f546f6b656e206973206e6f7420616c6c6f77656420666f722072656465656d65604482015261642160f01b6064820152608401610563565b60007f0000000000000000000000000000000000000000000000000000000000000000118015610af157506000818152600560205260409020547f0000000000000000000000000000000000000000000000000000000000000000115b15610b4f5760405162461bcd60e51b815260206004820152602860248201527f557365722068617665207265616368656420746865206d6178696d756d20616c6044820152676c6f77616e63652160c01b6064820152608401610563565b600081815260056020526040902054610b6990600161175e565b60008281526005602052604090819020829055517f559dc6ea45ea5071b1480938c0df2cd88fca6c769bfc8aeebc7c38364ff1ed5e91610bb491849190918252602082015260400190565b60405180910390a150565b6000546060906001600160a01b03163314610bec5760405162461bcd60e51b815260040161056390611a22565b7f0000000000000000000000000000000000000000000000000000000000000000421015610c525760405162461bcd60e51b815260206004820152601360248201527253656c6c20796574206e6f742073746172742160681b6044820152606401610563565b6003805480602002602001604051908101604052809291908181526020018280548015610ca857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610c8a575b5050505050905090565b6000546001600160a01b03163314610cdc5760405162461bcd60e51b815260040161056390611a22565b610ce6600061176a565b565b60026001541415610d3b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610563565b60026001557f0000000000000000000000000000000000000000000000000000000000000000421015610da65760405162461bcd60e51b815260206004820152601360248201527253656c6c20796574206e6f742073746172742160681b6044820152606401610563565b7f0000000000000000000000000000000000000000000000000000000000000000421115610e0c5760405162461bcd60e51b815260206004820152601360248201527253656c6c20616c726561647920656e6465642160681b6044820152606401610563565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161415610e955760405162461bcd60e51b815260206004820152602760248201527f42656e65666963696172792063616e206e6f7420706572666f726d2074686520604482015266616374696f6e2160c81b6064820152608401610563565b33610e9f836116f9565b610ef65760405162461bcd60e51b815260206004820152602260248201527f746f6b656e206973206e6f7720616c6c6f77656420666f722074686973206465604482015261185b60f21b6064820152608401610563565b60008381526004602052604090205460ff1615610f4a5760405162461bcd60e51b8152602060048201526012602482015271151bdad95b88185b1c9958591e481cdbdb1960721b6044820152606401610563565b6002546040516370a0823160e01b81526001600160a01b0383811660048301527f00000000000000000000000000000000000000000000000000000000000000009216906370a082319060240160206040518083038186803b158015610faf57600080fd5b505afa158015610fc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe79190611903565b101561103f5760405162461bcd60e51b815260206004820152602160248201527f496e73756666696369616e7420455243323020746f6b656e2062616c616e63656044820152602160f81b6064820152608401610563565b600254604051636eb1769f60e11b81526001600160a01b0383811660048301523060248301527f000000000000000000000000000000000000000000000000000000000000000092169063dd62ed3e9060440160206040518083038186803b1580156110aa57600080fd5b505afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190611903565b10156111305760405162461bcd60e51b815260206004820152601b60248201527f417070726f766520455243323020746f6b656e732066697273742100000000006044820152606401610563565b6000838152600460205260408120805460ff1916600117905561115b6000546001600160a01b031690565b60405163d96ca0b960e01b81526001600160a01b0384811660048301523060248301527f0000000000000000000000000000000000000000000000000000000000000000604483015291925060009183169063d96ca0b990606401602060405180830381600087803b1580156111d057600080fd5b505af11580156111e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120891906118cb565b90508061124e5760405162461bcd60e51b8152602060048201526014602482015273199d5b99081d1c985b9cd9995c8819985a5b195960621b6044820152606401610563565b6040516370a0823160e01b815230600482015284906000906001600160a01b038316906370a082319060240160206040518083038186803b15801561129257600080fd5b505afa1580156112a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ca9190611903565b1161130d5760405162461bcd60e51b815260206004820152601360248201527210d85b1b195c881b5d5cdd081bdddb881b999d606a1b6044820152606401610563565b6040516331a9108f60e11b81526004810187905230906001600160a01b03831690636352211e9060240160206040518083038186803b15801561134f57600080fd5b505afa158015611363573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138791906117d6565b6001600160a01b0316146113d65760405162461bcd60e51b81526020600482015260166024820152752cb7ba9036bab9ba1037bbb7103a3432903a37b5b2b760511b6044820152606401610563565b604051632142170760e11b81523060048201526001600160a01b038581166024830152604482018890528216906342842e0e90606401600060405180830381600087803b15801561142657600080fd5b505af115801561143a573d6000803e3d6000fd5b5050600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b03881690811790915560408051918252602082018a90527f0000000000000000000000000000000000000000000000000000000000000000908201527f3bb720dcc9b5b2218b19a41ca92774fd6a9308760642254fcdb9c7ccc7a42e7e9250606001905060405180910390a150506001805550505050565b6000546060906001600160a01b031633146115265760405162461bcd60e51b815260040161056390611a22565b7f0000000000000000000000000000000000000000000000000000000000000000421161158e5760405162461bcd60e51b815260206004820152601660248201527553656c6c206973206e6f7420656e646564207965742160501b6044820152606401610563565b6006805480602002602001604051908101604052809291908181526020018280548015610ca857602002820191906000526020600020905b8154815260200190600101908083116115c6575050505050905090565b600080546001600160a01b0316331461160e5760405162461bcd60e51b815260040161056390611a22565b507f000000000000000000000000000000000000000000000000000000000000000090565b6000546001600160a01b0316331461165d5760405162461bcd60e51b815260040161056390611a22565b6001600160a01b0381166116c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610563565b6116cb8161176a565b50565b60006116da8284611a8f565b9392505050565b60006116da8284611a6f565b60006116da8284611aae565b60008060005b60065481101561175757836006828154811061172b57634e487b7160e01b600052603260045260246000fd5b906000526020600020015414156117455760019150611757565b8061174f81611ac5565b9150506116ff565b5092915050565b60006116da8284611a57565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156117cb578081fd5b81356116da81611b0c565b6000602082840312156117e7578081fd5b81516116da81611b0c565b60008060008060808587031215611807578283fd5b843561181281611b0c565b9350602085013561182281611b0c565b925060408501359150606085013567ffffffffffffffff80821115611845578283fd5b818701915087601f830112611858578283fd5b81358181111561186a5761186a611af6565b604051601f8201601f19908116603f0116810190838211818310171561189257611892611af6565b816040528281528a60208487010111156118aa578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000602082840312156118dc578081fd5b815180151581146116da578182fd5b6000602082840312156118fc578081fd5b5035919050565b600060208284031215611914578081fd5b5051919050565b6000806040838503121561192d578182fd5b82359150602083013561193f81611b0c565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561198b5783516001600160a01b031683529284019291840191600101611966565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561198b578351835292840192918401916001016119b3565b6000602080835283518082850152825b818110156119fb578581018301518582016040015282016119df565b81811115611a0c5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611a6a57611a6a611ae0565b500190565b600082611a8a57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611aa957611aa9611ae0565b500290565b600082821015611ac057611ac0611ae0565b500390565b6000600019821415611ad957611ad9611ae0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146116cb57600080fdfea264697066735822122023a48e1e5e5501fd938e2d550349d8fced25836e2d7fcdd5f6a99647eb6fdf4c64736f6c63430008040033a264697066735822122006b4d03ce0652aafcecf46c91c93ca505995bd8f846ca8c7abd6c5fde42ba18164736f6c63430008040033