ETH Price: $3,587.40 (+2.12%)
Gas: 44 Gwei

Contract

0x2EA3aB46814eFaEe15fDB17c2cF4fEb539D792c8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value

There are no matching entries

Please try again later

Latest 1 internal transaction

Advanced mode:
Parent Txn Hash Block From To Value
89759512019-11-21 18:43:401588 days ago1574361820  Contract Creation0 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xd4174697...322e78ea0
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Thing

Compiler Version
v0.5.7+commit.6da8b019

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-01-13
*/

// File: openzeppelin-solidity/contracts/GSN/Context.sol

pragma solidity ^0.5.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

// File: openzeppelin-solidity/contracts/introspection/IERC165.sol

pragma solidity ^0.5.0;

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

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721.sol

pragma solidity ^0.5.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
contract IERC721 is IERC165 {
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

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

    /**
     * @dev Returns the owner of the NFT specified by `tokenId`.
     */
    function ownerOf(uint256 tokenId) public view returns (address owner);

    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     *
     *
     * Requirements:
     * - `from`, `to` cannot be zero.
     * - `tokenId` must be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this
     * NFT by either {approve} or {setApprovalForAll}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public;
    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     * Requirements:
     * - If the caller is not `from`, it must be approved to move this NFT by
     * either {approve} or {setApprovalForAll}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public;
    function approve(address to, uint256 tokenId) public;
    function getApproved(uint256 tokenId) public view returns (address operator);

    function setApprovalForAll(address operator, bool _approved) public;
    function isApprovedForAll(address owner, address operator) public view returns (bool);


    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public;
}

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721Receiver.sol

pragma solidity ^0.5.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
contract IERC721Receiver {
    /**
     * @notice Handle the receipt of an NFT
     * @dev The ERC721 smart contract calls this function on the recipient
     * after a {IERC721-safeTransferFrom}. This function MUST return the function selector,
     * otherwise the caller will revert the transaction. The selector to be
     * returned can be obtained as `this.onERC721Received.selector`. This
     * function MAY throw to revert and reject the transfer.
     * Note: the ERC721 contract address is always the message sender.
     * @param operator The address which called `safeTransferFrom` function
     * @param from The address which previously owned the token
     * @param tokenId The NFT identifier which is being transferred
     * @param data Additional data with no specified format
     * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data)
    public returns (bytes4);
}

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: openzeppelin-solidity/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing a contract.
     *
     * IMPORTANT: It is unsafe to assume that an address for which this
     * function returns false is an externally-owned account (EOA) and not a
     * contract.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

// File: openzeppelin-solidity/contracts/drafts/Counters.sol

pragma solidity ^0.5.0;


/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

// File: openzeppelin-solidity/contracts/introspection/ERC165.sol

pragma solidity ^0.5.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721.sol

pragma solidity ^0.5.0;








/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721 {
    using SafeMath for uint256;
    using Address for address;
    using Counters for Counters.Counter;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from token ID to owner
    mapping (uint256 => address) private _tokenOwner;

    // Mapping from token ID to approved address
    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from owner to number of owned token
    mapping (address => Counters.Counter) private _ownedTokensCount;

    // Mapping from owner to operator approvals
    mapping (address => mapping (address => bool)) private _operatorApprovals;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    constructor () public {
        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
    }

    /**
     * @dev Gets the balance of the specified address.
     * @param owner address to query the balance of
     * @return uint256 representing the amount owned by the passed address
     */
    function balanceOf(address owner) public view returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        return _ownedTokensCount[owner].current();
    }

    /**
     * @dev Gets the owner of the specified token ID.
     * @param tokenId uint256 ID of the token to query the owner of
     * @return address currently marked as the owner of the given token ID
     */
    function ownerOf(uint256 tokenId) public view returns (address) {
        address owner = _tokenOwner[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");

        return owner;
    }

    /**
     * @dev Approves another address to transfer the given token ID
     * The zero address indicates there is no approved address.
     * There can only be one approved address per token at a given time.
     * Can only be called by the token owner or an approved operator.
     * @param to address to be approved for the given token ID
     * @param tokenId uint256 ID of the token to be approved
     */
    function approve(address to, uint256 tokenId) public {
        address owner = ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Gets the approved address for a token ID, or zero if no address set
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to query the approval of
     * @return address currently approved for the given token ID
     */
    function getApproved(uint256 tokenId) public view returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Sets or unsets the approval of a given operator
     * An operator is allowed to transfer all tokens of the sender on their behalf.
     * @param to operator address to set the approval
     * @param approved representing the status of the approval to be set
     */
    function setApprovalForAll(address to, bool approved) public {
        require(to != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][to] = approved;
        emit ApprovalForAll(_msgSender(), to, approved);
    }

    /**
     * @dev Tells whether an operator is approved by a given owner.
     * @param owner owner address which you want to query the approval of
     * @param operator operator address which you want to query the approval of
     * @return bool whether the given operator is approved by the given owner
     */
    function isApprovedForAll(address owner, address operator) public view returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Transfers the ownership of a given token ID to another address.
     * Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     * Requires the msg.sender to be the owner, approved, or operator.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function transferFrom(address from, address to, uint256 tokenId) public {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transferFrom(from, to, tokenId);
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the _msgSender() to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransferFrom(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    function _safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) internal {
        _transferFrom(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether the specified token exists.
     * @param tokenId uint256 ID of the token to query the existence of
     * @return bool whether the token exists
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        address owner = _tokenOwner[tokenId];
        return owner != address(0);
    }

    /**
     * @dev Returns whether the given spender can transfer a given token ID.
     * @param spender address of the spender to query
     * @param tokenId uint256 ID of the token to be transferred
     * @return bool whether the msg.sender is approved for the given token ID,
     * is an operator of the owner, or is the owner of the token
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _safeMint(address to, uint256 tokenId) internal {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     * @param _data bytes data to send along with a safe transfer check
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _mint(address to, uint256 tokenId) internal {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _tokenOwner[tokenId] = to;
        _ownedTokensCount[to].increment();

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use {_burn} instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(address owner, uint256 tokenId) internal {
        require(ownerOf(tokenId) == owner, "ERC721: burn of token that is not own");

        _clearApproval(tokenId);

        _ownedTokensCount[owner].decrement();
        _tokenOwner[tokenId] = address(0);

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(uint256 tokenId) internal {
        _burn(ownerOf(tokenId), tokenId);
    }

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transferFrom(address from, address to, uint256 tokenId) internal {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _clearApproval(tokenId);

        _ownedTokensCount[from].decrement();
        _ownedTokensCount[to].increment();

        _tokenOwner[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * This function is deprecated.
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        internal returns (bool)
    {
        if (!to.isContract()) {
            return true;
        }

        bytes4 retval = IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data);
        return (retval == _ERC721_RECEIVED);
    }

    /**
     * @dev Private function to clear current approval of a given token ID.
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _clearApproval(uint256 tokenId) private {
        if (_tokenApprovals[tokenId] != address(0)) {
            _tokenApprovals[tokenId] = address(0);
        }
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721Enumerable.sol

pragma solidity ^0.5.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract IERC721Enumerable is IERC721 {
    function totalSupply() public view returns (uint256);
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256 tokenId);

    function tokenByIndex(uint256 index) public view returns (uint256);
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Enumerable.sol

pragma solidity ^0.5.0;





/**
 * @title ERC-721 Non-Fungible Token with optional enumeration extension logic
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721Enumerable is Context, ERC165, ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => uint256[]) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    /**
     * @dev Constructor function.
     */
    constructor () public {
        // register the supported interface to conform to ERC721Enumerable via ERC165
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @dev Gets the token ID at a given index of the tokens list of the requested owner.
     * @param owner address owning the tokens list to be accessed
     * @param index uint256 representing the index to be accessed of the requested tokens list
     * @return uint256 token ID at the given index of the tokens list owned by the requested address
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
        require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev Gets the token ID at a given index of all the tokens in this contract
     * Reverts if the index is greater or equal to the total number of tokens.
     * @param index uint256 representing the index to be accessed of the tokens list
     * @return uint256 token ID at the given index of the tokens list
     */
    function tokenByIndex(uint256 index) public view returns (uint256) {
        require(index < totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to transferFrom, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transferFrom(address from, address to, uint256 tokenId) internal {
        super._transferFrom(from, to, tokenId);

        _removeTokenFromOwnerEnumeration(from, tokenId);

        _addTokenToOwnerEnumeration(to, tokenId);
    }

    /**
     * @dev Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to address the beneficiary that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _mint(address to, uint256 tokenId) internal {
        super._mint(to, tokenId);

        _addTokenToOwnerEnumeration(to, tokenId);

        _addTokenToAllTokensEnumeration(tokenId);
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use {ERC721-_burn} instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(address owner, uint256 tokenId) internal {
        super._burn(owner, tokenId);

        _removeTokenFromOwnerEnumeration(owner, tokenId);
        // Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund
        _ownedTokensIndex[tokenId] = 0;

        _removeTokenFromAllTokensEnumeration(tokenId);
    }

    /**
     * @dev Gets the list of token IDs of the requested owner.
     * @param owner address owning the tokens
     * @return uint256[] List of token IDs owned by the requested address
     */
    function _tokensOfOwner(address owner) internal view returns (uint256[] storage) {
        return _ownedTokens[owner];
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        _ownedTokensIndex[tokenId] = _ownedTokens[to].length;
        _ownedTokens[to].push(tokenId);
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _ownedTokens[from].length.sub(1);
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        _ownedTokens[from].length--;

        // Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occupied by
        // lastTokenId, or just over the end of the array if the token was the last one).
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length.sub(1);
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        _allTokens.length--;
        _allTokensIndex[tokenId] = 0;
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/IERC721Metadata.sol

pragma solidity ^0.5.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract IERC721Metadata is IERC721 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Metadata.sol

pragma solidity ^0.5.0;





contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata {
    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /**
     * @dev Constructor function
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
    }

    /**
     * @dev Gets the token name.
     * @return string representing the token name
     */
    function name() external view returns (string memory) {
        return _name;
    }

    /**
     * @dev Gets the token symbol.
     * @return string representing the token symbol
     */
    function symbol() external view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns an URI for a given token ID.
     * Throws if the token ID does not exist. May return an empty string.
     * @param tokenId uint256 ID of the token to query
     */
    function tokenURI(uint256 tokenId) external view returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return _tokenURIs[tokenId];
    }

    /**
     * @dev Internal function to set the token URI for a given token.
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to set its URI
     * @param uri string URI to assign
     */
    function _setTokenURI(uint256 tokenId, string memory uri) internal {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = uri;
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use _burn(uint256) instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned by the msg.sender
     */
    function _burn(address owner, uint256 tokenId) internal {
        super._burn(owner, tokenId);

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol

pragma solidity ^0.5.0;




/**
 * @title Full ERC721 Token
 * @dev This implementation includes all the required and some optional functionality of the ERC721 standard
 * Moreover, it includes approve all functionality using operator terminology.
 *
 * See https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721Full is ERC721, ERC721Enumerable, ERC721Metadata {
    constructor (string memory name, string memory symbol) public ERC721Metadata(name, symbol) {
        // solhint-disable-previous-line no-empty-blocks
    }
}

// File: openzeppelin-solidity/contracts/access/Roles.sol

pragma solidity ^0.5.0;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

// File: openzeppelin-solidity/contracts/access/roles/MinterRole.sol

pragma solidity ^0.5.0;



contract MinterRole is Context {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor () internal {
        _addMinter(_msgSender());
    }

    modifier onlyMinter() {
        require(isMinter(_msgSender()), "MinterRole: caller does not have the Minter role");
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(_msgSender());
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721MetadataMintable.sol

pragma solidity ^0.5.0;




/**
 * @title ERC721MetadataMintable
 * @dev ERC721 minting logic with metadata.
 */
contract ERC721MetadataMintable is ERC721, ERC721Metadata, MinterRole {
    /**
     * @dev Function to mint tokens.
     * @param to The address that will receive the minted tokens.
     * @param tokenId The token id to mint.
     * @param tokenURI The token URI of the minted token.
     * @return A boolean that indicates if the operation was successful.
     */
    function mintWithTokenURI(address to, uint256 tokenId, string memory tokenURI) public onlyMinter returns (bool) {
        _mint(to, tokenId);
        _setTokenURI(tokenId, tokenURI);
        return true;
    }
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Burnable.sol

pragma solidity ^0.5.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns a specific ERC721 token.
     * @param tokenId uint256 id of the ERC721 token to be burned.
     */
    function burn(uint256 tokenId) public {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

// File: openzeppelin-solidity/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * 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.
 */
contract Ownable is Context {
    address private _owner;

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

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

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/Strings.sol

pragma solidity ^0.5.7;

library Strings {
  // via https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.5.sol
  function strConcat(string memory _a, string memory _b, string memory _c, string memory _d, string memory _e) internal pure returns (string memory) {
      bytes memory _ba = bytes(_a);
      bytes memory _bb = bytes(_b);
      bytes memory _bc = bytes(_c);
      bytes memory _bd = bytes(_d);
      bytes memory _be = bytes(_e);
      string memory abcde = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length);
      bytes memory babcde = bytes(abcde);
      uint k = 0;
      for (uint i = 0; i < _ba.length; i++) babcde[k++] = _ba[i];
      for (uint i = 0; i < _bb.length; i++) babcde[k++] = _bb[i];
      for (uint i = 0; i < _bc.length; i++) babcde[k++] = _bc[i];
      for (uint i = 0; i < _bd.length; i++) babcde[k++] = _bd[i];
      for (uint i = 0; i < _be.length; i++) babcde[k++] = _be[i];
      return string(babcde);
    }

    function strConcat(string memory _a, string memory _b, string memory _c, string memory _d) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, _d, "");
    }

    function strConcat(string memory _a, string memory _b, string memory _c) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, "", "");
    }

    function strConcat(string memory _a, string memory _b) internal pure returns (string memory) {
        return strConcat(_a, _b, "", "", "");
    }

    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len - 1;
        while (_i != 0) {
            bstr[k--] = byte(uint8(48 + _i % 10));
            _i /= 10;
        }
        return string(bstr);
    }
}

// File: contracts/Thing.sol

pragma solidity ^0.5.7;









contract Thing is ERC721Full, ERC721MetadataMintable, ERC721Burnable, Ownable {
  using SafeMath for uint256;
  using Strings for string;
  
  enum TokenState { Pending, ForSale, Sold, Transferred }

  struct Price {
    uint256 tokenId;
    uint256 price;
    string metaId;
    TokenState state;
  }

  mapping(uint256 => Price) public items;

  uint256 public id;
  string public baseUri;
  address payable public maker;
  address payable feeAddress;

  constructor(
    string memory name,
    string memory symbol,
    string memory uri,
    address payable fee,
    address payable creator
  ) ERC721Full(name, symbol) public {
    maker = creator;
    feeAddress = fee;
    baseUri = uri;
    id = 0;
    transferOwnership(creator);
    _addMinter(creator);

  }

  event ErrorOut(string error, uint256 tokenId);
  event BatchTransfered(string metaId, address[] recipients, uint256[] ids);
  event Minted(uint256 id, string metaId);
  event BatchBurned(string metaId, uint256[] ids);
  event BatchForSale(uint256[] ids, string metaId);
  event Bought(uint256 tokenId, string metaId, uint256 value);
  event Destroy();

  function tokenURI(uint256 _tokenId) public view returns (string memory) {
    return Strings.strConcat(
        baseUri,
        items[_tokenId].metaId
    );
  }

  function setTokenState(uint256[] memory ids, bool isEnabled) public onlyMinter {
    for (uint256 i = 0; i < ids.length; i++) {
      if(isEnabled == true){
        items[ids[i]].state = TokenState.ForSale;
      } else {
        items[ids[i]].state = TokenState.Pending;
      }
    }
     emit BatchForSale(ids, items[ids[0]].metaId);
  }

  function setTokenPrice(uint256[] memory ids, uint256 setPrice) public onlyMinter {
    for (uint256 i = 0; i < ids.length; i++) {
      items[ids[i]].price = setPrice;
    }
  }

  function mintbaseFee(uint256 amount) internal pure returns (uint256) {
    uint256 toOwner = SafeMath.mul(amount, 2);

    return SafeMath.div(toOwner, 100);
  }

  function buyThing(uint256 _tokenId) public payable returns (bool) {

    require(msg.value >= items[_tokenId].price, "Price issue");
    require(TokenState.ForSale == items[_tokenId].state, "No Sale");

    if(items[_tokenId].price >= 0) {
      uint256 fee = mintbaseFee(msg.value);
      uint256 withFee = SafeMath.sub(msg.value, fee);

      maker.transfer(withFee);
      feeAddress.transfer(fee);
    }

    _transferFrom(maker, msg.sender, _tokenId);
    items[_tokenId].state = TokenState.Sold;

    emit Bought(_tokenId, items[_tokenId].metaId, msg.value);
  }

  function destroyAndSend() public onlyOwner {
    emit Destroy();
    selfdestruct(maker);
  }

  function batchTransfer(address giver, address[] memory recipients, uint256[] memory values) public {

    for (uint256 i = 0; i < values.length; i++) {
      transferFrom(giver, recipients[i], values[i]);
     items[values[i]].state = TokenState.Transferred;
    }
    emit BatchTransfered(items[values[0]].metaId, recipients, values);
  }

  function batchMint(address to, uint256 amountToMint, string memory metaId, uint256 setPrice, bool isForSale) public onlyMinter {

    require(amountToMint <= 40, "Over 40");

    for (uint256 i = 0; i < amountToMint; i++) {
      id = id.add(1);
      items[id].price = setPrice;
      items[id].metaId = metaId;
      if(isForSale == true){
        items[id].state = TokenState.ForSale;
        
      } else {
        items[id].state = TokenState.Pending;
      }
      _mint(to, id);
      emit Minted(id, metaId);
    }
   
  }

  function batchBurn(uint256[] memory tokenIds) public onlyMinter {
    for (uint256 i = 0; i < tokenIds.length; i++) {
      _burn(tokenIds[i]);
    }
    emit BatchBurned(items[tokenIds[0]].metaId, tokenIds);
  }

  function tokensOfOwner(address owner) public view returns (uint256[] memory) {
    return _tokensOfOwner(owner);
  }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"giver","type":"address"},{"name":"recipients","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"batchTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"destroyAndSend","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maker","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"},{"name":"tokenURI","type":"string"}],"name":"mintWithTokenURI","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"buyThing","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"amountToMint","type":"uint256"},{"name":"metaId","type":"string"},{"name":"setPrice","type":"uint256"},{"name":"isForSale","type":"bool"}],"name":"batchMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"baseUri","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"id","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"items","outputs":[{"name":"tokenId","type":"uint256"},{"name":"price","type":"uint256"},{"name":"metaId","type":"string"},{"name":"state","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"ids","type":"uint256[]"},{"name":"isEnabled","type":"bool"}],"name":"setTokenState","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenIds","type":"uint256[]"}],"name":"batchBurn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"ids","type":"uint256[]"},{"name":"setPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"uri","type":"string"},{"name":"fee","type":"address"},{"name":"creator","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"error","type":"string"},{"indexed":false,"name":"tokenId","type":"uint256"}],"name":"ErrorOut","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"metaId","type":"string"},{"indexed":false,"name":"recipients","type":"address[]"},{"indexed":false,"name":"ids","type":"uint256[]"}],"name":"BatchTransfered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"id","type":"uint256"},{"indexed":false,"name":"metaId","type":"string"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"metaId","type":"string"},{"indexed":false,"name":"ids","type":"uint256[]"}],"name":"BatchBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"ids","type":"uint256[]"},{"indexed":false,"name":"metaId","type":"string"}],"name":"BatchForSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"metaId","type":"string"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Bought","type":"event"},{"anonymous":false,"inputs":[],"name":"Destroy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"approved","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"}]

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80638462151c11610123578063aa271e1a116100ab578063d4477b3c1161006f578063d4477b3c14610b9a578063dc8e92ea14610c4a578063e564da6914610cf8578063e985e9c514610da8578063f2fde38b14610de35761021a565b8063aa271e1a14610992578063af640d0f146109c5578063b88d4fde146109da578063bfb231d214610aab578063c87b56dd14610b705761021a565b8063983b2d56116100f2578063983b2d561461082d57806398588a2b14610860578063986502751461092d5780639abc832014610942578063a22cb465146109575761021a565b80638462151c1461076b5780638da5cb5b146107ee5780638f32d59b1461080357806395d89b41146108185761021a565b806342966c68116101a657806350bb4e7f1161017557806350bb4e7f146106165780636352211e146106dc57806370a0823114610706578063715018a614610739578063804824911461074e5761021a565b806342966c681461059857806345cefcec146105c25780634f6ccce7146105d757806350655d8c146106015761021a565b80631239ec8c116101ed5780631239ec8c1461037257806318160ddd146104b257806323b872dd146104d95780632f745c591461051c57806342842e0e146105555761021a565b806301ffc9a71461021f57806306fdde0314610267578063081812fc146102f1578063095ea7b314610337575b600080fd5b34801561022b57600080fd5b506102536004803603602081101561024257600080fd5b50356001600160e01b031916610e16565b604080519115158252519081900360200190f35b34801561027357600080fd5b5061027c610e35565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102b657818101518382015260200161029e565b50505050905090810190601f1680156102e35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102fd57600080fd5b5061031b6004803603602081101561031457600080fd5b5035610ecc565b604080516001600160a01b039092168252519081900360200190f35b34801561034357600080fd5b506103706004803603604081101561035a57600080fd5b506001600160a01b038135169060200135610f31565b005b34801561037e57600080fd5b506103706004803603606081101561039557600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103bf57600080fd5b8201836020820111156103d157600080fd5b803590602001918460208302840111600160201b831117156103f257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561044157600080fd5b82018360208201111561045357600080fd5b803590602001918460208302840111600160201b8311171561047457600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061105f945050505050565b3480156104be57600080fd5b506104c761125f565b60408051918252519081900360200190f35b3480156104e557600080fd5b50610370600480360360608110156104fc57600080fd5b506001600160a01b03813581169160208101359091169060400135611265565b34801561052857600080fd5b506104c76004803603604081101561053f57600080fd5b506001600160a01b0381351690602001356112c4565b34801561056157600080fd5b506103706004803603606081101561057857600080fd5b506001600160a01b03813581169160208101359091169060400135611347565b3480156105a457600080fd5b50610370600480360360208110156105bb57600080fd5b5035611362565b3480156105ce57600080fd5b506103706113b7565b3480156105e357600080fd5b506104c7600480360360208110156105fa57600080fd5b503561144a565b34801561060d57600080fd5b5061031b6114b3565b34801561062257600080fd5b506102536004803603606081101561063957600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561066857600080fd5b82018360208201111561067a57600080fd5b803590602001918460018302840111600160201b8311171561069b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506114c2945050505050565b3480156106e857600080fd5b5061031b600480360360208110156106ff57600080fd5b5035611530565b34801561071257600080fd5b506104c76004803603602081101561072957600080fd5b50356001600160a01b0316611587565b34801561074557600080fd5b506103706115f2565b6102536004803603602081101561076457600080fd5b5035611698565b34801561077757600080fd5b5061079e6004803603602081101561078e57600080fd5b50356001600160a01b03166118ee565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156107da5781810151838201526020016107c2565b505050509050019250505060405180910390f35b3480156107fa57600080fd5b5061031b61194f565b34801561080f57600080fd5b5061025361195e565b34801561082457600080fd5b5061027c611984565b34801561083957600080fd5b506103706004803603602081101561085057600080fd5b50356001600160a01b03166119e5565b34801561086c57600080fd5b50610370600480360360a081101561088357600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156108b257600080fd5b8201836020820111156108c457600080fd5b803590602001918460018302840111600160201b831117156108e557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515611a37565b34801561093957600080fd5b50610370611c27565b34801561094e57600080fd5b5061027c611c39565b34801561096357600080fd5b506103706004803603604081101561097a57600080fd5b506001600160a01b0381351690602001351515611cc7565b34801561099e57600080fd5b50610253600480360360208110156109b557600080fd5b50356001600160a01b0316611dcf565b3480156109d157600080fd5b506104c7611de2565b3480156109e657600080fd5b50610370600480360360808110156109fd57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610a3757600080fd5b820183602082011115610a4957600080fd5b803590602001918460018302840111600160201b83111715610a6a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611de8945050505050565b348015610ab757600080fd5b50610ad560048036036020811015610ace57600080fd5b5035611e49565b6040518085815260200184815260200180602001836003811115610af557fe5b60ff168152602001828103825284818151815260200191508051906020019080838360005b83811015610b32578181015183820152602001610b1a565b50505050905090810190601f168015610b5f5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b348015610b7c57600080fd5b5061027c60048036036020811015610b9357600080fd5b5035611efb565b348015610ba657600080fd5b5061037060048036036040811015610bbd57600080fd5b810190602081018135600160201b811115610bd757600080fd5b820183602082011115610be957600080fd5b803590602001918460208302840111600160201b83111715610c0a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505050351515905061202f565b348015610c5657600080fd5b5061037060048036036020811015610c6d57600080fd5b810190602081018135600160201b811115610c8757600080fd5b820183602082011115610c9957600080fd5b803590602001918460208302840111600160201b83111715610cba57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612253945050505050565b348015610d0457600080fd5b5061037060048036036040811015610d1b57600080fd5b810190602081018135600160201b811115610d3557600080fd5b820183602082011115610d4757600080fd5b803590602001918460208302840111600160201b83111715610d6857600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050913592506123f4915050565b348015610db457600080fd5b5061025360048036036040811015610dcb57600080fd5b506001600160a01b0381358116916020013516612484565b348015610def57600080fd5b5061037060048036036020811015610e0657600080fd5b50356001600160a01b03166124b2565b6001600160e01b03191660009081526020819052604090205460ff1690565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ec15780601f10610e9657610100808354040283529160200191610ec1565b820191906000526020600020905b815481529060010190602001808311610ea457829003601f168201915b505050505090505b90565b6000610ed782612517565b610f1557604051600160e51b62461bcd02815260040180806020018281038252602c8152602001806138e2602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b6000610f3c82611530565b9050806001600160a01b0316836001600160a01b03161415610f9257604051600160e51b62461bcd0281526004018080602001828103825260218152602001806139856021913960400191505060405180910390fd5b806001600160a01b0316610fa4612534565b6001600160a01b03161480610fc55750610fc581610fc0612534565b612484565b61100357604051600160e51b62461bcd0281526004018080602001828103825260388152602001806137e56038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60005b81518110156110ef5761109c8484838151811061107b57fe5b602002602001015184848151811061108f57fe5b6020026020010151611265565b6003600e60008484815181106110ae57fe5b6020026020010151815260200190815260200160002060030160006101000a81548160ff021916908360038111156110e257fe5b0217905550600101611062565b507fe0bdff057bc74b2545c13ac89393038d336f254b2245c876efa9669ddcc09b97600e60008360008151811061112257fe5b602002602001015181526020019081526020016000206002018383604051808060200180602001806020018481038452878181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156111ce5780601f106111a3576101008083540402835291602001916111ce565b820191906000526020600020905b8154815290600101906020018083116111b157829003601f168201915b50508481038352865181528651602091820191808901910280838360005b838110156112045781810151838201526020016111ec565b50505050905001848103825285818151815260200191508051906020019060200280838360005b8381101561124357818101518382015260200161122b565b50505050905001965050505050505060405180910390a1505050565b60075490565b611276611270612534565b82612538565b6112b457604051600160e51b62461bcd0281526004018080602001828103825260318152602001806139a66031913960400191505060405180910390fd5b6112bf8383836125df565b505050565b60006112cf83611587565b821061130f57604051600160e51b62461bcd02815260040180806020018281038252602b815260200180613712602b913960400191505060405180910390fd5b6001600160a01b038316600090815260056020526040902080548390811061133357fe5b906000526020600020015490505b92915050565b6112bf83838360405180602001604052806000815250611de8565b61136d611270612534565b6113ab57604051600160e51b62461bcd028152600401808060200182810382526030815260200180613a286030913960400191505060405180910390fd5b6113b4816125fe565b50565b6113bf61195e565b6114135760408051600160e51b62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6040517ff58fef8e187ef8dfd7bef096c1ef3e4f3c54f98d95b8ad5659349b07e61204df90600090a16011546001600160a01b0316ff5b600061145461125f565b821061149457604051600160e51b62461bcd02815260040180806020018281038252602c8152602001806139d7602c913960400191505060405180910390fd5b600782815481106114a157fe5b90600052602060002001549050919050565b6011546001600160a01b031681565b60006114d46114cf612534565b611dcf565b61151257604051600160e51b62461bcd0281526004018080602001828103825260308152602001806138706030913960400191505060405180910390fd5b61151c8484612610565b6115268383612631565b5060019392505050565b6000818152600160205260408120546001600160a01b03168061134157604051600160e51b62461bcd0281526004018080602001828103825260298152602001806138476029913960400191505060405180910390fd5b60006001600160a01b0382166115d157604051600160e51b62461bcd02815260040180806020018281038252602a81526020018061381d602a913960400191505060405180910390fd5b6001600160a01b038216600090815260036020526040902061134190612697565b6115fa61195e565b61164e5760408051600160e51b62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600d546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600d80546001600160a01b0319169055565b6000818152600e60205260408120600101543410156116f25760408051600160e51b62461bcd02815260206004820152600b6024820152600160a81b6a507269636520697373756502604482015290519081900360640190fd5b6000828152600e6020526040902060039081015460ff169081111561171357fe5b6001146117575760408051600160e51b62461bcd0281526020600482015260076024820152600160c81b664e6f2053616c6502604482015290519081900360640190fd5b6000828152600e60205261176a3461269b565b9050600061177834836126bd565b6011546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156117b3573d6000803e3d6000fd5b506012546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156117ee573d6000803e3d6000fd5b505050601154611808906001600160a01b031633846125df565b6000828152600e602090815260409182902060038101805460ff19166002908117909155835186815234948101859052606093810184815292820180546001811615610100026000190116929092049381018490527f46e70e87b058d8f3cde334fc179a61ac8acadcc4fdc26735e4195106b3c88eb3948794929390926080830190859080156118d95780601f106118ae576101008083540402835291602001916118d9565b820191906000526020600020905b8154815290600101906020018083116118bc57829003601f168201915b505094505050505060405180910390a1919050565b60606118f9826126ff565b80548060200260200160405190810160405280929190818152602001828054801561194357602002820191906000526020600020905b81548152602001906001019080831161192f575b50505050509050919050565b600d546001600160a01b031690565b600d546000906001600160a01b0316611975612534565b6001600160a01b031614905090565b600a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ec15780601f10610e9657610100808354040283529160200191610ec1565b6119f06114cf612534565b611a2e57604051600160e51b62461bcd0281526004018080602001828103825260308152602001806138706030913960400191505060405180910390fd5b6113b481612719565b611a426114cf612534565b611a8057604051600160e51b62461bcd0281526004018080602001828103825260308152602001806138706030913960400191505060405180910390fd5b6028841115611ac65760408051600160e51b62461bcd0281526020600482015260076024820152600160cc1b6604f7665722034302604482015290519081900360640190fd5b60005b84811015611c1f57600f54611ae590600163ffffffff61276116565b600f8181556000918252600e602090815260408084206001018790559154835291208551611b1b92600290920191870190613615565b5060018215151415611b4b57600f546000908152600e60205260409020600301805460ff19166001179055611b68565b600f546000908152600e60205260409020600301805460ff191690555b611b7486600f54612610565b7fadef11a3979b8ceb0573eb6ef0678134a09c23a0d94e5ea47cd18ac3a9fc0194600f54856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611bdc578181015183820152602001611bc4565b50505050905090810190601f168015611c095780820380516001836020036101000a031916815260200191505b50935050505060405180910390a1600101611ac9565b505050505050565b611c37611c32612534565b6127be565b565b6010805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611cbf5780601f10611c9457610100808354040283529160200191611cbf565b820191906000526020600020905b815481529060010190602001808311611ca257829003601f168201915b505050505081565b611ccf612534565b6001600160a01b0316826001600160a01b03161415611d385760408051600160e51b62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060046000611d45612534565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611d89612534565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b6000611341600c8363ffffffff61280616565b600f5481565b611df9611df3612534565b83612538565b611e3757604051600160e51b62461bcd0281526004018080602001828103825260318152602001806139a66031913960400191505060405180910390fd5b611e4384848484612870565b50505050565b600e6020908152600091825260409182902080546001808301546002808501805488519481161561010002600019011691909104601f810187900487028401870190975286835292959094919291830182828015611ee85780601f10611ebd57610100808354040283529160200191611ee8565b820191906000526020600020905b815481529060010190602001808311611ecb57829003601f168201915b5050506003909301549192505060ff1684565b6010805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181526060936113419391929091830182828015611f8a5780601f10611f5f57610100808354040283529160200191611f8a565b820191906000526020600020905b815481529060010190602001808311611f6d57829003601f168201915b5050506000868152600e60209081526040918290206002908101805484516001821615610100026000190190911692909204601f810184900484028301840190945283825290945092508301828280156120255780601f10611ffa57610100808354040283529160200191612025565b820191906000526020600020905b81548152906001019060200180831161200857829003601f168201915b50505050506128c5565b61203a6114cf612534565b61207857604051600160e51b62461bcd0281526004018080602001828103825260308152602001806138706030913960400191505060405180910390fd5b60005b825181101561213357600182151514156120df576001600e60008584815181106120a157fe5b6020026020010151815260200190815260200160002060030160006101000a81548160ff021916908360038111156120d557fe5b021790555061212b565b6000600e60008584815181106120f157fe5b6020026020010151815260200190815260200160002060030160006101000a81548160ff0219169083600381111561212557fe5b02179055505b60010161207b565b507fefd56044628f374cec68c952a0580a76d23b4bd06d17bb887193f2176ba6c48b82600e60008560008151811061216757fe5b60200260200101518152602001908152602001600020600201604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156121c45781810151838201526020016121ac565b50505050919091018481038352855460026000196101006001841615020190911604808252602090910191508590801561223f5780601f106122145761010080835404028352916020019161223f565b820191906000526020600020905b81548152906001019060200180831161222257829003601f168201915b505094505050505060405180910390a15050565b61225e6114cf612534565b61229c57604051600160e51b62461bcd0281526004018080602001828103825260308152602001806138706030913960400191505060405180910390fd5b60005b81518110156122cc576122c48282815181106122b757fe5b60200260200101516125fe565b60010161229f565b507f68f2536b9ff968bd2acc006b7cf7be7ca83c2f4a462c355e925bb354e5ce43d5600e6000836000815181106122ff57fe5b60200260200101518152602001908152602001600020600201826040518080602001806020018381038352858181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156123a65780601f1061237b576101008083540402835291602001916123a6565b820191906000526020600020905b81548152906001019060200180831161238957829003601f168201915b50508381038252845181528451602091820191808701910280838360005b838110156123dc5781810151838201526020016123c4565b5050505090500194505050505060405180910390a150565b6123ff6114cf612534565b61243d57604051600160e51b62461bcd0281526004018080602001828103825260308152602001806138706030913960400191505060405180910390fd5b60005b82518110156112bf5781600e600085848151811061245a57fe5b60200260200101518152602001908152602001600020600101819055508080600101915050612440565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6124ba61195e565b61250e5760408051600160e51b62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6113b481612901565b6000908152600160205260409020546001600160a01b0316151590565b3390565b600061254382612517565b61258157604051600160e51b62461bcd02815260040180806020018281038252602c8152602001806137b9602c913960400191505060405180910390fd5b600061258c83611530565b9050806001600160a01b0316846001600160a01b031614806125c75750836001600160a01b03166125bc84610ecc565b6001600160a01b0316145b806125d757506125d78185612484565b949350505050565b6125ea8383836129a5565b6125f48382612aef565b6112bf8282612be4565b6113b461260a82611530565b82612c22565b61261a8282612c6a565b6126248282612be4565b61262d81612da1565b5050565b61263a82612517565b61267857604051600160e51b62461bcd02815260040180806020018281038252602c81526020018061390e602c913960400191505060405180910390fd5b6000828152600b6020908152604090912082516112bf92840190613615565b5490565b6000806126a9836002612de5565b90506126b6816064612e41565b9392505050565b60006126b683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612e83565b6001600160a01b0316600090815260056020526040902090565b61272a600c8263ffffffff612f1d16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6000828201838110156126b65760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6127cf600c8263ffffffff612fa116565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b03821661285057604051600160e51b62461bcd02815260040180806020018281038252602281526020018061393a6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61287b8484846125df565b6128878484848461300b565b611e4357604051600160e51b62461bcd02815260040180806020018281038252603281526020018061373d6032913960400191505060405180910390fd5b60606126b68383604051806020016040528060008152506040518060200160405280600081525060405180602001604052806000815250613165565b6001600160a01b03811661294957604051600160e51b62461bcd02815260040180806020018281038252602681526020018061376f6026913960400191505060405180910390fd5b600d546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b826001600160a01b03166129b882611530565b6001600160a01b031614612a0057604051600160e51b62461bcd02815260040180806020018281038252602981526020018061395c6029913960400191505060405180910390fd5b6001600160a01b038216612a4857604051600160e51b62461bcd0281526004018080602001828103825260248152602001806137956024913960400191505060405180910390fd5b612a5181613379565b6001600160a01b0383166000908152600360205260409020612a72906133b4565b6001600160a01b0382166000908152600360205260409020612a93906133cb565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216600090815260056020526040812054612b1990600163ffffffff6126bd16565b600083815260066020526040902054909150808214612bb4576001600160a01b0384166000908152600560205260408120805484908110612b5657fe5b906000526020600020015490508060056000876001600160a01b03166001600160a01b031681526020019081526020016000208381548110612b9457fe5b600091825260208083209091019290925591825260069052604090208190555b6001600160a01b0384166000908152600560205260409020805490612bdd906000198301613693565b5050505050565b6001600160a01b0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b612c2c82826133d4565b6000818152600b6020526040902054600260001961010060018416150201909116041561262d576000818152600b6020526040812061262d916136b7565b6001600160a01b038216612cc85760408051600160e51b62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612cd181612517565b15612d265760408051600160e51b62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b038716908117909155835260039091529020612d65906133cb565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b600082612df457506000611341565b82820282848281612e0157fe5b04146126b657604051600160e51b62461bcd0281526004018080602001828103825260218152602001806138c16021913960400191505060405180910390fd5b60006126b683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613400565b60008184841115612f1557604051600160e51b62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612eda578181015183820152602001612ec2565b50505050905090810190601f168015612f075780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b612f278282612806565b15612f7c5760408051600160e51b62461bcd02815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b612fab8282612806565b612fe957604051600160e51b62461bcd0281526004018080602001828103825260218152602001806138a06021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600061301f846001600160a01b0316613468565b61302b575060016125d7565b6000846001600160a01b031663150b7a02613044612534565b8887876040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156130c95781810151838201526020016130b1565b50505050905090810190601f1680156130f65780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561311857600080fd5b505af115801561312c573d6000803e3d6000fd5b505050506040513d602081101561314257600080fd5b50516001600160e01b031916600160e11b630a85bd010214915050949350505050565b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f1916602001820160405280156131b9576020820181803883390190505b509050806000805b8851811015613212578881815181106131d657fe5b602001015160f81c60f81b8383806001019450815181106131f357fe5b60200101906001600160f81b031916908160001a9053506001016131c1565b5060005b87518110156132675787818151811061322b57fe5b602001015160f81c60f81b83838060010194508151811061324857fe5b60200101906001600160f81b031916908160001a905350600101613216565b5060005b86518110156132bc5786818151811061328057fe5b602001015160f81c60f81b83838060010194508151811061329d57fe5b60200101906001600160f81b031916908160001a90535060010161326b565b5060005b8551811015613311578581815181106132d557fe5b602001015160f81c60f81b8383806001019450815181106132f257fe5b60200101906001600160f81b031916908160001a9053506001016132c0565b5060005b84518110156133665784818151811061332a57fe5b602001015160f81c60f81b83838060010194508151811061334757fe5b60200101906001600160f81b031916908160001a905350600101613315565b50909d9c50505050505050505050505050565b6000818152600260205260409020546001600160a01b0316156113b457600090815260026020526040902080546001600160a01b0319169055565b80546133c790600163ffffffff6126bd16565b9055565b80546001019055565b6133de828261349f565b6133e88282612aef565b60008181526006602052604081205561262d81613579565b6000818361345257604051600160e51b62461bcd028152602060048201818152835160248401528351909283926044909101919085019080838360008315612eda578181015183820152602001612ec2565b50600083858161345e57fe5b0495945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906125d75750141592915050565b816001600160a01b03166134b282611530565b6001600160a01b0316146134fa57604051600160e51b62461bcd028152600401808060200182810382526025815260200180613a036025913960400191505060405180910390fd5b61350381613379565b6001600160a01b0382166000908152600360205260409020613524906133b4565b60008181526001602052604080822080546001600160a01b0319169055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60075460009061359090600163ffffffff6126bd16565b600083815260086020526040812054600780549394509092849081106135b257fe5b9060005260206000200154905080600783815481106135cd57fe5b60009182526020808320909101929092558281526008909152604090208290556007805490613600906000198301613693565b50505060009182525060086020526040812055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061365657805160ff1916838001178555613683565b82800160010185558215613683579182015b82811115613683578251825591602001919060010190613668565b5061368f9291506136f7565b5090565b8154818355818111156112bf576000838152602090206112bf9181019083016136f7565b50805460018160011615610100020316600290046000825580601f106136dd57506113b4565b601f0160209004906000526020600020908101906113b491905b610ec991905b8082111561368f57600081556001016136fd56fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e526f6c65733a206163636f756e7420697320746865207a65726f20616464726573734552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e64734552433732313a206275726e206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a165627a7a723058202ee6163ecddc6668fa84d89038d928a46b3711a12f70cf998582ac6b5d38f5170029

Deployed Bytecode Sourcemap

54093:4002:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16518:135;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16518:135:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16518:135:0;-1:-1:-1;;;;;;16518:135:0;;:::i;:::-;;;;;;;;;;;;;;;;;;43535:85;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43535:85:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;43535:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21488:204;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21488:204:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21488:204:0;;:::i;:::-;;;;-1:-1:-1;;;;;21488:204:0;;;;;;;;;;;;;;20770:425;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20770:425:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20770:425:0;;;;;;;;:::i;:::-;;56844:346;;8:9:-1;5:2;;;30:1;27;20:12;5:2;56844:346:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;56844:346:0;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;56844:346:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;56844:346:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;56844:346:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;56844:346:0;;;;;;;;-1:-1:-1;56844:346:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;56844:346:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;56844:346:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;56844:346:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;56844:346:0;;-1:-1:-1;56844:346:0;;-1:-1:-1;;;;;56844:346:0:i;35160:96::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35160:96:0;;;:::i;:::-;;;;;;;;;;;;;;;;23171:292;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23171:292:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;23171:292:0;;;;;;;;;;;;;;;;;:::i;34769:232::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34769:232:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;34769:232:0;;;;;;;;:::i;24125:134::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24125:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24125:134:0;;;;;;;;;;;;;;;;;:::i;49240:237::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49240:237:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49240:237:0;;:::i;56742:96::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;56742:96:0;;;:::i;35602:199::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35602:199:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35602:199:0;;:::i;54504:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54504:28:0;;;:::i;48623:213::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48623:213:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;48623:213:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;48623:213:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;48623:213:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;48623:213:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;48623:213:0;;-1:-1:-1;48623:213:0;;-1:-1:-1;;;;;48623:213:0:i;20111:228::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20111:228:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20111:228:0;;:::i;19674:211::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19674:211:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19674:211:0;-1:-1:-1;;;;;19674:211:0;;:::i;51216:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51216:140:0;;;:::i;56151:585::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;56151:585:0;;:::i;57974:118::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;57974:118:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;57974:118:0;-1:-1:-1;;;;;57974:118:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;57974:118:0;;;;;;;;;;;;;;;;;50405:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50405:79:0;;;:::i;50771:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50771:94:0;;;:::i;43735:89::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43735:89:0;;;:::i;47585:92::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47585:92:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47585:92:0;-1:-1:-1;;;;;47585:92:0;;:::i;57196:549::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;57196:549:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;57196:549:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;57196:549:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;57196:549:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;57196:549:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;57196:549:0;;-1:-1:-1;;57196:549:0;;;-1:-1:-1;;;57196:549:0;;;;;;:::i;47685:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47685:79:0;;;:::i;54478:21::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54478:21:0;;;:::i;21993:254::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21993:254:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21993:254:0;;;;;;;;;;:::i;47468:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47468:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47468:109:0;-1:-1:-1;;;;;47468:109:0;;:::i;54456:17::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54456:17:0;;;:::i;24996:272::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24996:272:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;24996:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;24996:272:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;24996:272:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;24996:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;24996:272:0;;-1:-1:-1;24996:272:0;;-1:-1:-1;;;;;24996:272:0:i;54411:38::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54411:38:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54411:38:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;54411:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55265:167;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55265:167:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55265:167:0;;:::i;55438:349::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55438:349:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;55438:349:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;55438:349:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;55438:349:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;55438:349:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;55438:349:0;;-1:-1:-1;;;;55438:349:0;;;;-1:-1:-1;55438:349:0;:::i;57751:217::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;57751:217:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;57751:217:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;57751:217:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;57751:217:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;57751:217:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;57751:217:0;;-1:-1:-1;57751:217:0;;-1:-1:-1;;;;;57751:217:0:i;55793:181::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55793:181:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;55793:181:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;55793:181:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;55793:181:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;55793:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;55793:181:0;;-1:-1:-1;;55793:181:0;;;-1:-1:-1;55793:181:0;;-1:-1:-1;;55793:181:0:i;22577:147::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22577:147:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22577:147:0;;;;;;;;;;:::i;51511:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51511:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51511:109:0;-1:-1:-1;;;;;51511:109:0;;:::i;16518:135::-;-1:-1:-1;;;;;;16612:33:0;16588:4;16612:33;;;;;;;;;;;;;;16518:135::o;43535:85::-;43607:5;43600:12;;;;;;;;-1:-1:-1;;43600:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43574:13;;43600:12;;43607:5;;43600:12;;43607:5;43600:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43535:85;;:::o;21488:204::-;21547:7;21575:16;21583:7;21575;:16::i;:::-;21567:73;;;;-1:-1:-1;;;;;21567:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21660:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;21660:24:0;;21488:204::o;20770:425::-;20834:13;20850:16;20858:7;20850;:16::i;:::-;20834:32;;20891:5;-1:-1:-1;;;;;20885:11:0;:2;-1:-1:-1;;;;;20885:11:0;;;20877:57;;;;-1:-1:-1;;;;;20877:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20971:5;-1:-1:-1;;;;;20955:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;20955:21:0;;:62;;;;20980:37;20997:5;21004:12;:10;:12::i;:::-;20980:16;:37::i;:::-;20947:154;;;;-1:-1:-1;;;;;20947:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21114:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;21114:29:0;-1:-1:-1;;;;;21114:29:0;;;;;;;;;21159:28;;21114:24;;21159:28;;;;;;;20770:425;;;:::o;56844:346::-;56957:9;56952:161;56976:6;:13;56972:1;:17;56952:161;;;57005:45;57018:5;57025:10;57036:1;57025:13;;;;;;;;;;;;;;57040:6;57047:1;57040:9;;;;;;;;;;;;;;57005:12;:45::i;:::-;57083:22;57058:5;:16;57064:6;57071:1;57064:9;;;;;;;;;;;;;;57058:16;;;;;;;;;;;:22;;;:47;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56991:3:0;;56952:161;;;;57124:60;57140:5;:16;57146:6;57153:1;57146:9;;;;;;;;;;;;;;57140:16;;;;;;;;;;;:23;;57165:10;57177:6;57124:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57124:60:0;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;57124:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;57124:60:0;;;;;;;;;;;;;;;;;;;;;56844:346;;;:::o;35160:96::-;35231:10;:17;35160:96;:::o;23171:292::-;23315:41;23334:12;:10;:12::i;:::-;23348:7;23315:18;:41::i;:::-;23307:103;;;;-1:-1:-1;;;;;23307:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23423:32;23437:4;23443:2;23447:7;23423:13;:32::i;:::-;23171:292;;;:::o;34769:232::-;34849:7;34885:16;34895:5;34885:9;:16::i;:::-;34877:5;:24;34869:80;;;;-1:-1:-1;;;;;34869:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34967:19:0;;;;;;:12;:19;;;;;:26;;34987:5;;34967:26;;;;;;;;;;;;;;34960:33;;34769:232;;;;;:::o;24125:134::-;24212:39;24229:4;24235:2;24239:7;24212:39;;;;;;;;;;;;:16;:39::i;49240:237::-;49350:41;49369:12;:10;:12::i;49350:41::-;49342:102;;;;-1:-1:-1;;;;;49342:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49455:14;49461:7;49455:5;:14::i;:::-;49240:237;:::o;56742:96::-;50617:9;:7;:9::i;:::-;50609:54;;;;;-1:-1:-1;;;;;50609:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56797:9;;;;;;;56826:5;;-1:-1:-1;;;;;56826:5:0;56813:19;35602:199;35660:7;35696:13;:11;:13::i;:::-;35688:5;:21;35680:78;;;;-1:-1:-1;;;;;35680:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35776:10;35787:5;35776:17;;;;;;;;;;;;;;;;35769:24;;35602:199;;;:::o;54504:28::-;;;-1:-1:-1;;;;;54504:28:0;;:::o;48623:213::-;48729:4;47365:22;47374:12;:10;:12::i;:::-;47365:8;:22::i;:::-;47357:83;;;;-1:-1:-1;;;;;47357:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48746:18;48752:2;48756:7;48746:5;:18::i;:::-;48775:31;48788:7;48797:8;48775:12;:31::i;:::-;-1:-1:-1;48824:4:0;48623:213;;;;;:::o;20111:228::-;20166:7;20202:20;;;:11;:20;;;;;;-1:-1:-1;;;;;20202:20:0;20241:19;20233:73;;;;-1:-1:-1;;;;;20233:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19674:211;19729:7;-1:-1:-1;;;;;19757:19:0;;19749:74;;;;-1:-1:-1;;;;;19749:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19843:24:0;;;;;;:17;:24;;;;;:34;;:32;:34::i;51216:140::-;50617:9;:7;:9::i;:::-;50609:54;;;;;-1:-1:-1;;;;;50609:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51299:6;;51278:40;;51315:1;;-1:-1:-1;;;;;51299:6:0;;51278:40;;51315:1;;51278:40;51329:6;:19;;-1:-1:-1;;;;;;51329:19:0;;;51216:140::o;56151:585::-;56211:4;56247:15;;;:5;:15;;;;;:21;;;56234:9;:34;;56226:58;;;;;-1:-1:-1;;;;;56226:58:0;;;;;;;;;;;;-1:-1:-1;;;;;56226:58:0;;;;;;;;;;;;;;;56321:15;;;;:5;:15;;;;;:21;;;;;;;;56299:43;;;;;;;:18;:43;56291:63;;;;;-1:-1:-1;;;;;56291:63:0;;;;;;;;;;;;-1:-1:-1;;;;;56291:63:0;;;;;;;;;;;;;;;56391:1;56366:15;;;:5;:15;;56417:22;56429:9;56417:11;:22::i;:::-;56403:36;;56448:15;56466:28;56479:9;56490:3;56466:12;:28::i;:::-;56505:5;;:23;;56448:46;;-1:-1:-1;;;;;;56505:5:0;;:23;;;;;56448:46;;56505:5;:23;:5;:23;56448:46;56505:5;:23;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;56537:10:0;;:24;;-1:-1:-1;;;;;56537:10:0;;;;:24;;;;;56557:3;;56537:10;:24;:10;:24;56557:3;56537:10;:24;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;56537:24:0;56363:206;;56591:5;;56577:42;;-1:-1:-1;;;;;56591:5:0;56598:10;56610:8;56577:13;:42::i;:::-;56626:15;;;;:5;:15;;;;;;;;;:21;;;:39;;-1:-1:-1;;56626:39:0;56650:15;56626:39;;;;;;56679:51;;;;;56720:9;56679:51;;;;;;;;;;;;;56696:22;;;56679:51;;56626:39;56679:51;;;;;-1:-1:-1;;56679:51:0;;;;;;;;;;;;;;56626:15;;56696:22;;56720:9;;56679:51;;;;56696:22;;56679:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56151:585;;;:::o;57974:118::-;58033:16;58065:21;58080:5;58065:14;:21::i;:::-;58058:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57974:118;;;:::o;50405:79::-;50470:6;;-1:-1:-1;;;;;50470:6:0;50405:79;:::o;50771:94::-;50851:6;;50811:4;;-1:-1:-1;;;;;50851:6:0;50835:12;:10;:12::i;:::-;-1:-1:-1;;;;;50835:22:0;;50828:29;;50771:94;:::o;43735:89::-;43809:7;43802:14;;;;;;;;-1:-1:-1;;43802:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43776:13;;43802:14;;43809:7;;43802:14;;43809:7;43802:14;;;;;;;;;;;;;;;;;;;;;;;;47585:92;47365:22;47374:12;:10;:12::i;47365:22::-;47357:83;;;;-1:-1:-1;;;;;47357:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47650:19;47661:7;47650:10;:19::i;57196:549::-;47365:22;47374:12;:10;:12::i;47365:22::-;47357:83;;;;-1:-1:-1;;;;;47357:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57356:2;57340:12;:18;;57332:38;;;;;-1:-1:-1;;;;;57332:38:0;;;;;;;;;;;;-1:-1:-1;;;;;57332:38:0;;;;;;;;;;;;;;;57384:9;57379:356;57403:12;57399:1;:16;57379:356;;;57436:2;;:9;;57443:1;57436:9;:6;:9;:::i;:::-;57431:2;:14;;;57454:9;;;;:5;:9;;;;;;;;:15;;:26;;;57495:2;;57489:9;;;;:25;;;;:16;;;;;:25;;;;:::i;:::-;-1:-1:-1;57539:4:0;57526:17;;;;57523:151;;;57561:2;;57555:9;;;;:5;:9;;;;;:15;;:36;;-1:-1:-1;;57555:36:0;57573:18;57555:36;;;57523:151;;;57634:2;;57646:18;57628:9;;;:5;:9;;;;;:15;;:36;;-1:-1:-1;;57628:36:0;;;57523:151;57682:13;57688:2;57692;;57682:5;:13::i;:::-;57709:18;57716:2;;57720:6;57709:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;57709:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57417:3;;57379:356;;;;57196:549;;;;;:::o;47685:79::-;47729:27;47743:12;:10;:12::i;:::-;47729:13;:27::i;:::-;47685:79::o;54478:21::-;;;;;;;;;;;;;;;-1:-1:-1;;54478:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21993:254::-;22079:12;:10;:12::i;:::-;-1:-1:-1;;;;;22073:18:0;:2;-1:-1:-1;;;;;22073:18:0;;;22065:56;;;;;-1:-1:-1;;;;;22065:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22173:8;22134:18;:32;22153:12;:10;:12::i;:::-;-1:-1:-1;;;;;22134:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;22134:32:0;;;:36;;;;;;;;;;;;:47;;-1:-1:-1;;22134:47:0;;;;;;;;;;;22212:12;:10;:12::i;:::-;22197:42;;;;;;;;;;-1:-1:-1;;;;;22197:42:0;;;;;;;;;;;;;;21993:254;;:::o;47468:109::-;47524:4;47548:21;:8;47561:7;47548:21;:12;:21;:::i;54456:17::-;;;;:::o;24996:272::-;25111:41;25130:12;:10;:12::i;:::-;25144:7;25111:18;:41::i;:::-;25103:103;;;;-1:-1:-1;;;;;25103:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25217:43;25235:4;25241:2;25245:7;25254:5;25217:17;:43::i;:::-;24996:272;;;;:::o;54411:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54411:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54411:38:0;;;;;;;-1:-1:-1;;54411:38:0;;;:::o;55265:167::-;55379:7;55351:75;;;;;;;;;;;;;-1:-1:-1;;55351:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;55322:13;;55351:75;;;;55379:7;;55351:75;;55379:7;55351:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;55397:15:0;;;;:5;:15;;;;;;;;;:22;;;;55351:75;;;;;;;;;;-1:-1:-1;;55351:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55397:22:0;-1:-1:-1;55351:75:0;;55397:22;55351:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:17;:75::i;55438:349::-;47365:22;47374:12;:10;:12::i;47365:22::-;47357:83;;;;-1:-1:-1;;;;;47357:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55529:9;55524:206;55548:3;:10;55544:1;:14;55524:206;;;55590:4;55577:17;;;;55574:149;;;55628:18;55606:5;:13;55612:3;55616:1;55612:6;;;;;;;;;;;;;;55606:13;;;;;;;;;;;:19;;;:40;;;;;;;;;;;;;;;;;;;;;;;;55574:149;;;55695:18;55673:5;:13;55679:3;55683:1;55679:6;;;;;;;;;;;;;;55673:13;;;;;;;;;;;:19;;;:40;;;;;;;;;;;;;;;;;;;;;;;;55574:149;55560:3;;55524:206;;;;55742:39;55755:3;55760:5;:13;55766:3;55770:1;55766:6;;;;;;;;;;;;;;55760:13;;;;;;;;;;;:20;;55742:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;-1:-1;;;;55742:39:0;;;;;;;;;;;;-1:-1:-1;;55742:39:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;55742:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55438:349;;:::o;57751:217::-;47365:22;47374:12;:10;:12::i;47365:22::-;47357:83;;;;-1:-1:-1;;;;;47357:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57827:9;57822:81;57846:8;:15;57842:1;:19;57822:81;;;57877:18;57883:8;57892:1;57883:11;;;;;;;;;;;;;;57877:5;:18::i;:::-;57863:3;;57822:81;;;;57914:48;57926:5;:18;57932:8;57941:1;57932:11;;;;;;;;;;;;;;57926:18;;;;;;;;;;;:25;;57953:8;57914:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57914:48:0;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;57914:48:0;;;;;;;;;;;;;;;;;;;57751:217;:::o;55793:181::-;47365:22;47374:12;:10;:12::i;47365:22::-;47357:83;;;;-1:-1:-1;;;;;47357:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55886:9;55881:88;55905:3;:10;55901:1;:14;55881:88;;;55953:8;55931:5;:13;55937:3;55941:1;55937:6;;;;;;;;;;;;;;55931:13;;;;;;;;;;;:19;;:30;;;;55917:3;;;;;;;55881:88;;22577:147;-1:-1:-1;;;;;22681:25:0;;;22657:4;22681:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22577:147::o;51511:109::-;50617:9;:7;:9::i;:::-;50609:54;;;;;-1:-1:-1;;;;;50609:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51584:28;51603:8;51584:18;:28::i;26461:155::-;26518:4;26551:20;;;:11;:20;;;;;;-1:-1:-1;;;;;26551:20:0;26589:19;;;26461:155::o;866:98::-;946:10;866:98;:::o;26986:333::-;27071:4;27096:16;27104:7;27096;:16::i;:::-;27088:73;;;;-1:-1:-1;;;;;27088:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27172:13;27188:16;27196:7;27188;:16::i;:::-;27172:32;;27234:5;-1:-1:-1;;;;;27223:16:0;:7;-1:-1:-1;;;;;27223:16:0;;:51;;;;27267:7;-1:-1:-1;;;;;27243:31:0;:20;27255:7;27243:11;:20::i;:::-;-1:-1:-1;;;;;27243:31:0;;27223:51;:87;;;;27278:32;27295:5;27302:7;27278:16;:32::i;:::-;27215:96;26986:333;-1:-1:-1;;;;26986:333:0:o;36185:245::-;36271:38;36291:4;36297:2;36301:7;36271:19;:38::i;:::-;36322:47;36355:4;36361:7;36322:32;:47::i;:::-;36382:40;36410:2;36414:7;36382:27;:40::i;30204:92::-;30256:32;30262:16;30270:7;30262;:16::i;:::-;30280:7;30256:5;:32::i;36695:202::-;36759:24;36771:2;36775:7;36759:11;:24::i;:::-;36796:40;36824:2;36828:7;36796:27;:40::i;:::-;36849;36881:7;36849:31;:40::i;:::-;36695:202;;:::o;44483:195::-;44569:16;44577:7;44569;:16::i;:::-;44561:73;;;;-1:-1:-1;;;;;44561:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44645:19;;;;:10;:19;;;;;;;;:25;;;;;;;;:::i;15189:114::-;15281:14;;15189:114::o;55980:165::-;56040:7;56056:15;56074:23;56087:6;56095:1;56074:12;:23::i;:::-;56056:41;;56113:26;56126:7;56135:3;56113:12;:26::i;:::-;56106:33;55980:165;-1:-1:-1;;;55980:165:0:o;6781:136::-;6839:7;6866:43;6870:1;6873;6866:43;;;;;;;;;;;;;;;;;:3;:43::i;37765:126::-;-1:-1:-1;;;;;37864:19:0;37827:17;37864:19;;;:12;:19;;;;;;37765:126::o;47772:122::-;47829:21;:8;47842:7;47829:21;:12;:21;:::i;:::-;47866:20;;-1:-1:-1;;;;;47866:20:0;;;;;;;;47772:122;:::o;6325:181::-;6383:7;6415:5;;;6439:6;;;;6431:46;;;;;-1:-1:-1;;;;;6431:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;47902:130;47962:24;:8;47978:7;47962:24;:15;:24;:::i;:::-;48002:22;;-1:-1:-1;;;;;48002:22:0;;;;;;;;47902:130;:::o;46725:203::-;46797:4;-1:-1:-1;;;;;46822:21:0;;46814:68;;;;-1:-1:-1;;;;;46814:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46900:20:0;:11;:20;;;;;;;;;;;;;;;46725:203::o;25987:272::-;26097:32;26111:4;26117:2;26121:7;26097:13;:32::i;:::-;26148:48;26171:4;26177:2;26181:7;26190:5;26148:22;:48::i;:::-;26140:111;;;;-1:-1:-1;;;;;26140:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53373:148;53451:13;53484:29;53494:2;53498;53484:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:9;:29::i;51726:229::-;-1:-1:-1;;;;;51800:22:0;;51792:73;;;;-1:-1:-1;;;;;51792:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51902:6;;51881:38;;-1:-1:-1;;;;;51881:38:0;;;;51902:6;;51881:38;;51902:6;;51881:38;51930:6;:17;;-1:-1:-1;;;;;;51930:17:0;-1:-1:-1;;;;;51930:17:0;;;;;;;;;;51726:229::o;30682:459::-;30796:4;-1:-1:-1;;;;;30776:24:0;:16;30784:7;30776;:16::i;:::-;-1:-1:-1;;;;;30776:24:0;;30768:78;;;;-1:-1:-1;;;;;30768:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30865:16:0;;30857:65;;;;-1:-1:-1;;;;;30857:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30935:23;30950:7;30935:14;:23::i;:::-;-1:-1:-1;;;;;30971:23:0;;;;;;:17;:23;;;;;:35;;:33;:35::i;:::-;-1:-1:-1;;;;;31017:21:0;;;;;;:17;:21;;;;;:33;;:31;:33::i;:::-;31063:20;;;;:11;:20;;;;;;:25;;-1:-1:-1;;;;;;31063:25:0;-1:-1:-1;;;;;31063:25:0;;;;;;;;;31106:27;;31063:20;;31106:27;;;;;;;30682:459;;;:::o;39370:1148::-;-1:-1:-1;;;;;39661:18:0;;39636:22;39661:18;;;:12;:18;;;;;:25;:32;;39691:1;39661:32;:29;:32;:::i;:::-;39704:18;39725:26;;;:17;:26;;;;;;39636:57;;-1:-1:-1;39858:28:0;;;39854:328;;-1:-1:-1;;;;;39925:18:0;;39903:19;39925:18;;;:12;:18;;;;;:34;;39944:14;;39925:34;;;;;;;;;;;;;;39903:56;;40009:11;39976:12;:18;39989:4;-1:-1:-1;;;;;39976:18:0;-1:-1:-1;;;;;39976:18:0;;;;;;;;;;;;39995:10;39976:30;;;;;;;;;;;;;;;;;;;:44;;;;40093:30;;;:17;:30;;;;;:43;;;39854:328;-1:-1:-1;;;;;40271:18:0;;;;;;:12;:18;;;;;:27;;;;;-1:-1:-1;;40271:27:0;;;:::i;:::-;;39370:1148;;;;:::o;38192:186::-;-1:-1:-1;;;;;38306:16:0;;;;;;;:12;:16;;;;;;;;:23;;38277:26;;;:17;:26;;;;;:52;;;38340:16;;;39:1:-1;23:18;;45:23;;38340:30:0;;;;;;;;38192:186::o;44980:247::-;45047:27;45059:5;45066:7;45047:11;:27::i;:::-;45133:19;;;;:10;:19;;;;;45127:33;;-1:-1:-1;;45127:33:0;;;;;;;;;;;:38;45123:97;;45189:19;;;;:10;:19;;;;;45182:26;;;:::i;29071:335::-;-1:-1:-1;;;;;29143:16:0;;29135:61;;;;;-1:-1:-1;;;;;29135:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29216:16;29224:7;29216;:16::i;:::-;29215:17;29207:58;;;;;-1:-1:-1;;;;;29207:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29278:20;;;;:11;:20;;;;;;;;:25;;-1:-1:-1;;;;;;29278:25:0;-1:-1:-1;;;;;29278:25:0;;;;;;;;29314:21;;:17;:21;;;;;:33;;:31;:33::i;:::-;29365;;29390:7;;-1:-1:-1;;;;;29365:33:0;;;29382:1;;29365:33;;29382:1;;29365:33;29071:335;;:::o;38579:164::-;38683:10;:17;;38656:24;;;;:15;:24;;;;;:44;;;39:1:-1;23:18;;45:23;;38711:24:0;;;;;;;38579:164::o;7697:471::-;7755:7;8000:6;7996:47;;-1:-1:-1;8030:1:0;8023:8;;7996:47;8067:5;;;8071:1;8067;:5;:1;8091:5;;;;;:10;8083:56;;;;-1:-1:-1;;;;;8083:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8636:132;8694:7;8721:39;8725:1;8728;8721:39;;;;;;;;;;;;;;;;;:3;:39::i;7254:192::-;7340:7;7376:12;7368:6;;;;7360:29;;;;-1:-1:-1;;;;;7360:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;7360:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7412:5:0;;;7254:192::o;46189:178::-;46267:18;46271:4;46277:7;46267:3;:18::i;:::-;46266:19;46258:63;;;;;-1:-1:-1;;;;;46258:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46332:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;46332:27:0;46355:4;46332:27;;;46189:178::o;46447:183::-;46527:18;46531:4;46537:7;46527:3;:18::i;:::-;46519:64;;;;-1:-1:-1;;;;;46519:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46594:20:0;46617:5;46594:20;;;;;;;;;;;:28;;-1:-1:-1;;46594:28:0;;;46447:183::o;31743:358::-;31865:4;31892:15;:2;-1:-1:-1;;;;;31892:13:0;;:15::i;:::-;31887:60;;-1:-1:-1;31931:4:0;31924:11;;31887:60;31959:13;31991:2;-1:-1:-1;;;;;31975:36:0;;32012:12;:10;:12::i;:::-;32026:4;32032:7;32041:5;31975:72;;;;;;;;;;;;;-1:-1:-1;;;;;31975:72:0;-1:-1:-1;;;;;31975:72:0;;;;;;-1:-1:-1;;;;;31975:72:0;-1:-1:-1;;;;;31975:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;31975:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31975:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31975:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31975:72:0;-1:-1:-1;;;;;;32066:26:0;-1:-1:-1;;;;;32066:26:0;;-1:-1:-1;;31743:358:0;;;;;;:::o;52127:872::-;52259:13;52283:16;52308:2;52283:28;;52320:16;52345:2;52320:28;;52357:16;52382:2;52357:28;;52394:16;52419:2;52394:28;;52431:16;52456:2;52431:28;;52468:19;52553:3;:10;52540:3;:10;52527:3;:10;52514:3;:10;52501:3;:10;:23;:36;:49;:62;52490:74;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;52490:74:0;87:34:-1;135:17;;-1:-1;52490:74:0;-1:-1:-1;52468:96:0;-1:-1:-1;52468:96:0;52616:6;;52635:58;52656:3;:10;52652:1;:14;52635:58;;;52687:3;52691:1;52687:6;;;;;;;;;;;;;;;;52673;52680:3;;;;;;52673:11;;;;;;;;;;;:20;-1:-1:-1;;;;;52673:20:0;;;;;;;;-1:-1:-1;52668:3:0;;52635:58;;;-1:-1:-1;52707:6:0;52702:58;52723:3;:10;52719:1;:14;52702:58;;;52754:3;52758:1;52754:6;;;;;;;;;;;;;;;;52740;52747:3;;;;;;52740:11;;;;;;;;;;;:20;-1:-1:-1;;;;;52740:20:0;;;;;;;;-1:-1:-1;52735:3:0;;52702:58;;;-1:-1:-1;52774:6:0;52769:58;52790:3;:10;52786:1;:14;52769:58;;;52821:3;52825:1;52821:6;;;;;;;;;;;;;;;;52807;52814:3;;;;;;52807:11;;;;;;;;;;;:20;-1:-1:-1;;;;;52807:20:0;;;;;;;;-1:-1:-1;52802:3:0;;52769:58;;;-1:-1:-1;52841:6:0;52836:58;52857:3;:10;52853:1;:14;52836:58;;;52888:3;52892:1;52888:6;;;;;;;;;;;;;;;;52874;52881:3;;;;;;52874:11;;;;;;;;;;;:20;-1:-1:-1;;;;;52874:20:0;;;;;;;;-1:-1:-1;52869:3:0;;52836:58;;;-1:-1:-1;52908:6:0;52903:58;52924:3;:10;52920:1;:14;52903:58;;;52955:3;52959:1;52955:6;;;;;;;;;;;;;;;;52941;52948:3;;;;;;52941:11;;;;;;;;;;;:20;-1:-1:-1;;;;;52941:20:0;;;;;;;;-1:-1:-1;52936:3:0;;52903:58;;;-1:-1:-1;52984:6:0;;52127:872;-1:-1:-1;;;;;;;;;;;;;52127:872:0:o;32269:175::-;32369:1;32333:24;;;:15;:24;;;;;;-1:-1:-1;;;;;32333:24:0;:38;32329:108;;32423:1;32388:24;;;:15;:24;;;;;:37;;-1:-1:-1;;;;;;32388:37:0;;;32269:175::o;15410:110::-;15491:14;;:21;;15510:1;15491:21;:18;:21;:::i;:::-;15474:38;;15410:110::o;15311:91::-;15375:19;;15393:1;15375:19;;;15311:91::o;37181:372::-;37248:27;37260:5;37267:7;37248:11;:27::i;:::-;37288:48;37321:5;37328:7;37288:32;:48::i;:::-;37486:1;37457:26;;;:17;:26;;;;;:30;37500:45;37475:7;37500:36;:45::i;9298:345::-;9384:7;9486:12;9479:5;9471:28;;;;-1:-1:-1;;;;;9471:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;9471:28:0;;9510:9;9526:1;9522;:5;;;;;;;9298:345;-1:-1:-1;;;;;9298:345:0:o;11558:810::-;11618:4;12277:20;;12120:66;12317:15;;;;;:42;;-1:-1:-1;12336:23:0;;;12309:51;-1:-1:-1;;11558:810:0:o;29683:333::-;29778:5;-1:-1:-1;;;;;29758:25:0;:16;29766:7;29758;:16::i;:::-;-1:-1:-1;;;;;29758:25:0;;29750:75;;;;-1:-1:-1;;;;;29750:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29838:23;29853:7;29838:14;:23::i;:::-;-1:-1:-1;;;;;29874:24:0;;;;;;:17;:24;;;;;:36;;:34;:36::i;:::-;29952:1;29921:20;;;:11;:20;;;;;;:33;;-1:-1:-1;;;;;;29921:33:0;;;29972:36;29933:7;;29952:1;-1:-1:-1;;;;;29972:36:0;;;;;29952:1;;29972:36;29683:333;;:::o;40813:1082::-;41091:10;:17;41066:22;;41091:24;;41113:1;41091:24;:21;:24;:::i;:::-;41126:18;41147:24;;;:15;:24;;;;;;41520:10;:26;;41066:49;;-1:-1:-1;41147:24:0;;41066:49;;41520:26;;;;;;;;;;;;;;41498:48;;41584:11;41559:10;41570;41559:22;;;;;;;;;;;;;;;;;;;:36;;;;41664:28;;;:15;:28;;;;;;:41;;;41829:10;:19;;;;;-1:-1:-1;;41829:19:0;;;:::i;:::-;-1:-1:-1;;;41886:1:0;41859:24;;;-1:-1:-1;41859:15:0;:24;;;;;:28;40813:1082::o;54093:4002::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54093:4002:0;;;-1:-1:-1;54093:4002:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://2ee6163ecddc6668fa84d89038d928a46b3711a12f70cf998582ac6b5d38f517

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.