ETH Price: $3,333.05 (-1.31%)

Token

Covenants Indexes (INDEX)
 

Overview

Max Total Supply

0 INDEX

Holders

95

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Null: 0x00...dEaD
0x000000000000000000000000000000000000dead
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

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

Contract Name:
NativeV1

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: node_modules\@openzeppelin\contracts\introspection\IERC165.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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\contracts\token\ERC1155\IERC1155.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.2;


/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external;
}

// File: @openzeppelin\contracts\token\ERC1155\IERC1155Receiver.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;


/**
 * _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {

    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
        returns(bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
        returns(bytes4);
}

// File: node_modules\eth-item-token-standard\IERC1155Views.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @title IERC1155Views - An optional utility interface to improve the ERC-1155 Standard.
 * @dev This interface introduces some additional capabilities for ERC-1155 Tokens.
 */
interface IERC1155Views {

    /**
     * @dev Returns the total supply of the given token id
     * @param objectId the id of the token whose availability you want to know 
     */
    function totalSupply(uint256 objectId) external view returns (uint256);

    /**
     * @dev Returns the name of the given token id
     * @param objectId the id of the token whose name you want to know 
     */
    function name(uint256 objectId) external view returns (string memory);

    /**
     * @dev Returns the symbol of the given token id
     * @param objectId the id of the token whose symbol you want to know 
     */
    function symbol(uint256 objectId) external view returns (string memory);

    /**
     * @dev Returns the decimals of the given token id
     * @param objectId the id of the token whose decimals you want to know 
     */
    function decimals(uint256 objectId) external view returns (uint256);

    /**
     * @dev Returns the uri of the given token id
     * @param objectId the id of the token whose uri you want to know 
     */
    function uri(uint256 objectId) external view returns (string memory);
}

// File: @openzeppelin\contracts\token\ERC20\IERC20.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

// File: node_modules\eth-item-token-standard\IBaseTokenData.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;

interface IBaseTokenData {
    function name() external view returns (string memory);

    function symbol() external view returns (string memory);
}

// File: node_modules\eth-item-token-standard\IERC20Data.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;



interface IERC20Data is IBaseTokenData, IERC20 {
    function decimals() external view returns (uint256);
}

// File: node_modules\eth-item-token-standard\IEthItemInteroperableInterface.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;



interface IEthItemInteroperableInterface is IERC20, IERC20Data {

    function init(uint256 objectId, string memory name, string memory symbol, uint256 decimals) external;

    function mainInterface() external view returns (address);

    function objectId() external view returns (uint256);

    function mint(address owner, uint256 amount) external;

    function burn(address owner, uint256 amount) external;

    function permitNonce(address sender) external view returns(uint256);

    function permit(address owner, address spender, uint value, uint8 v, bytes32 r, bytes32 s) external;

    function interoperableInterfaceVersion() external pure returns(uint256 ethItemInteroperableInterfaceVersion);
}

// File: eth-item-token-standard\IEthItemMainInterface.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;






interface IEthItemMainInterface is IERC1155, IERC1155Views, IBaseTokenData {

    function init(
        address interoperableInterfaceModel,
        string calldata name,
        string calldata symbol
    ) external;

    function mainInterfaceVersion() external pure returns(uint256 ethItemInteroperableVersion);

    function toInteroperableInterfaceAmount(uint256 objectId, uint256 ethItemAmount) external view returns (uint256 interoperableInterfaceAmount);

    function toMainInterfaceAmount(uint256 objectId, uint256 erc20WrapperAmount) external view returns (uint256 mainInterfaceAmount);

    function interoperableInterfaceModel() external view returns (address, uint256);

    function asInteroperable(uint256 objectId) external view returns (IEthItemInteroperableInterface);

    function emitTransferSingleEvent(address sender, address from, address to, uint256 objectId, uint256 amount) external;

    function mint(uint256 amount, string calldata partialUri)
        external
        returns (uint256, address);

    function burn(
        uint256 objectId,
        uint256 amount
    ) external;

    function burnBatch(
        uint256[] calldata objectIds,
        uint256[] calldata amounts
    ) external;

    event NewItem(uint256 indexed objectId, address indexed tokenAddress);
    event Mint(uint256 objectId, address tokenAddress, uint256 amount);
}

// File: models\common\IEthItemModelBase.sol

//SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;


/**
 * @dev This interface contains the commonn data provided by all the EthItem models
 */
interface IEthItemModelBase is IEthItemMainInterface {

    /**
     * @dev Contract Initialization, the caller of this method should be a Contract containing the logic to provide the EthItemERC20WrapperModel to be used to create ERC20-based objectIds
     * @param name the chosen name for this NFT
     * @param symbol the chosen symbol (Ticker) for this NFT
     */
    function init(string calldata name, string calldata symbol) external;

    /**
     * @return modelVersionNumber The version number of the Model, it should be progressive
     */
    function modelVersion() external pure returns(uint256 modelVersionNumber);

    /**
     * @return factoryAddress the address of the Contract which initialized this EthItem
     */
    function factory() external view returns(address factoryAddress);
}

// File: models\Native\1\INativeV1.sol

//SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;


/**
 * @dev EthItem token standard - Version 1
 * This is a pure extension of the EthItem Token Standard, which also introduces an optional extension that can introduce some external behavior to the EthItem.
 * Extension can also be a simple wallet
 */
interface INativeV1 is IEthItemModelBase {

    /**
     * @dev Contract initialization
     * @param name the chosen name for this NFT
     * @param symbol the chosen symbol (Ticker) for this NFT
     * @param extensionAddress the optional address of the extension. It can be a Wallet or a SmartContract
     * @param extensionInitPayload the optional payload useful to call the extension within the new created EthItem
     */
    function init(string calldata name, string calldata symbol, bool hasDecimals, string calldata collectionUri, address extensionAddress, bytes calldata extensionInitPayload) external returns(bytes memory extensionInitCallResponse);

    /**
     * @return extensionAddress the address of the eventual EthItem main owner or the SmartContract which contains all the logics to directly exploit all the Collection Items of this EthItem. It can also be a simple wallet
     */
    function extension() external view returns (address extensionAddress);

    /**
     * @param operator The address to know info about
     * @return result true if the given address is able to mint new tokens, false otherwise.
     */
    function canMint(address operator) external view returns (bool result);

    /**
     * @param objectId The item to know info about
     * @return result true if it is possible to mint more items of the given objectId, false otherwhise.
     */
    function isEditable(uint256 objectId) external view returns (bool result);

    /**
     * @dev Method callable by the extension only and useful to release the control on the EthItem, which from now on will run independently
     */
    function releaseExtension() external;

    function uri() external view returns (string memory);

    function decimals() external view returns (uint256);

    function mint(uint256 amount, string calldata tokenName, string calldata tokenSymbol, string calldata objectUri, bool editable) external returns (uint256 objectId, address tokenAddress);

    function mint(uint256 amount, string calldata tokenName, string calldata tokenSymbol, string calldata objectUri) external returns (uint256 objectId, address tokenAddress);

    function mint(uint256 objectId, uint256 amount) external;

    function makeReadOnly(uint256 objectId) external;

    function setUri(string calldata newUri) external;

    function setUri(uint256 objectId, string calldata newUri) external;
}

// File: @openzeppelin\contracts\GSN\Context.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;

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

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

// File: @openzeppelin\contracts\math\SafeMath.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.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.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: @openzeppelin\contracts\utils\Address.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is 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.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    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.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin\contracts\introspection\ERC165.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.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) public view override 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 virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: eth-item-token-standard\EthItemMainInterface.sol

// SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;








/**
 * @title EthItem - An improved ERC1155 token with ERC20 trading capabilities.
 * @dev In the EthItem standard, there is no a centralized storage where to save every objectId info.
 * In fact every NFT data is saved in a specific ERC20 token that can also work as a standalone one, and let transfer parts of an atomic object.
 * The ERC20 represents a unique Token Id, and its supply represents the entire supply of that Token Id.
 * You can instantiate a EthItem as a brand-new one, or as a wrapper for pre-existent classic ERC1155 NFT.
 * In the first case, you can introduce some particular permissions to mint new tokens.
 * In the second case, you need to send your NFTs to the Wrapped EthItem (using the classic safeTransferFrom or safeBatchTransferFrom methods)
 * and it will create a brand new ERC20 Token or mint new supply (in the case some tokens with the same id were transfered before yours).
 */
contract EthItemMainInterface is IEthItemMainInterface, Context, ERC165 {
    using SafeMath for uint256;
    using Address for address;

    bytes4 internal constant _INTERFACEobjectId_ERC1155 = 0xd9b67a26;

    string internal _name;
    string internal _symbol;

    mapping(uint256 => string) internal _objectUris;

    mapping(uint256 => address) internal _dest;
    mapping(address => bool) internal _isMine;

    mapping(address => mapping(address => bool)) internal _operatorApprovals;

    address internal _interoperableInterfaceModel;
    uint256 internal _interoperableInterfaceModelVersion;

    uint256 internal _decimals;

    /**
     * @dev Constructor
     * When you create a EthItem, you can specify if you want to create a brand new one, passing the classic data like name, symbol, amd URI,
     * or wrap a pre-existent ERC1155 NFT, passing its contract address.
     * You can use just one of the two modes at the same time.
     * In both cases, a ERC20 token address is mandatory. It will be used as a model to be cloned for every minted NFT.
     * @param erc20NFTWrapperModel the address of the ERC20 pre-deployed model. I will not be used in the procedure, but just cloned as a brand-new one every time a new NFT is minted.
     * @param name the name of the brand new EthItem to be created. If you are wrapping a pre-existing ERC1155 NFT, this must be blank.
     * @param symbol the symbol of the brand new EthItem to be created. If you are wrapping a pre-existing ERC1155 NFT, this must be blank.
     */
    constructor(
        address erc20NFTWrapperModel,
        string memory name,
        string memory symbol
    ) public {
        if(erc20NFTWrapperModel != address(0)) {
            init(erc20NFTWrapperModel, name, symbol);
        }
    }

    /**
     * @dev Utility method which contains the logic of the constructor.
     * This is a useful trick to instantiate a contract when it is cloned.
     */
    function init(
        address interoperableInterfaceModel,
        string memory name,
        string memory symbol
    ) public virtual override {
        require(
            _interoperableInterfaceModel == address(0),
            "Init already called!"
        );

        require(
            interoperableInterfaceModel != address(0),
            "Model should be a valid ethereum address"
        );
        _interoperableInterfaceModelVersion = IEthItemInteroperableInterface(_interoperableInterfaceModel = interoperableInterfaceModel).interoperableInterfaceVersion();
        require(
            keccak256(bytes(name)) != keccak256(""),
            "Name is mandatory"
        );
        require(
            keccak256(bytes(symbol)) != keccak256(""),
            "Symbol is mandatory"
        );

        _name = name;
        _symbol = symbol;
        _decimals = 18;

        _registerInterface(this.safeBatchTransferFrom.selector);
        _registerInterface(_INTERFACEobjectId_ERC1155);
        _registerInterface(this.balanceOf.selector);
        _registerInterface(this.balanceOfBatch.selector);
        _registerInterface(this.setApprovalForAll.selector);
        _registerInterface(this.isApprovedForAll.selector);
        _registerInterface(this.safeTransferFrom.selector);
        _registerInterface(this.uri.selector);
        _registerInterface(this.totalSupply.selector);
        _registerInterface(0x00ad800c); //name(uint256)
        _registerInterface(0x4e41a1fb); //symbol(uint256)
        _registerInterface(this.decimals.selector);
        _registerInterface(0x06fdde03); //name()
        _registerInterface(0x95d89b41); //symbol()
    }

    function mainInterfaceVersion() public pure virtual override returns(uint256) {
        return 1;
    }

    /**
     * @dev Mint
     * If the EthItem does not wrap a pre-existent NFT, this call is used to mint new NFTs, according to the permission rules provided by the Token creator.
     * @param amount The amount of tokens to be created. It must be greater than 1 unity.
     * @param objectUri The Uri to locate this new token's metadata.
     */
    function mint(uint256 amount, string memory objectUri)
        public
        virtual
        override
        returns (uint256 objectId, address tokenAddress)
    {
        require(
            amount > 1,
            "You need to pass more than a token"
        );
        require(
            keccak256(bytes(objectUri)) != keccak256(""),
            "Uri cannot be empty"
        );
        (objectId, tokenAddress) = _mint(msg.sender, amount);
        _objectUris[objectId] = objectUri;
    }

    /**
     * @dev Burn
     * You can choose to burn your NFTs.
     * In case this Token wraps a pre-existent ERC1155 NFT, you will receive the wrapped NFTs.
     */
    function burn(
        uint256 objectId,
        uint256 amount
    ) public virtual override {
        uint256[] memory objectIds = new uint256[](1);
        objectIds[0] = objectId;
        uint256[] memory amounts = new uint256[](1);
        amounts[0] = amount;
        _burn(msg.sender, objectIds, amounts);
        emit TransferSingle(msg.sender, msg.sender, address(0), objectId, amount);
    }

    /**
     * @dev Burn Batch
     * Same as burn, but for multiple NFTs at the same time
     */
    function burnBatch(
        uint256[] memory objectIds,
        uint256[] memory amounts
    ) public virtual override {
        _burn(msg.sender, objectIds, amounts);
        emit TransferBatch(msg.sender, msg.sender, address(0), objectIds, amounts);
    }

    function _burn(address owner, 
        uint256[] memory objectIds,
        uint256[] memory amounts) internal virtual {
        for (uint256 i = 0; i < objectIds.length; i++) {
            asInteroperable(objectIds[i]).burn(
                owner,
                toInteroperableInterfaceAmount(objectIds[i], amounts[i])
            );
        }
    }

    /**
     * @dev get the address of the ERC20 Contract used as a model
     */
    function interoperableInterfaceModel() public virtual override view returns (address, uint256) {
        return (_interoperableInterfaceModel, _interoperableInterfaceModelVersion);
    }

    /**
     * @dev Gives back the address of the ERC20 Token representing this Token Id
     */
    function asInteroperable(uint256 objectId)
        public
        virtual
        override
        view
        returns (IEthItemInteroperableInterface)
    {
        return IEthItemInteroperableInterface(_dest[objectId]);
    }

    /**
     * @dev Returns the total supply of the given token id
     * @param objectId the id of the token whose availability you want to know
     */
    function totalSupply(uint256 objectId)
        public
        virtual
        override
        view
        returns (uint256)
    {
        return toMainInterfaceAmount(objectId, asInteroperable(objectId).totalSupply());
    }

    /**
     * @dev Returns the name of the given token id
     * @param objectId the id of the token whose name you want to know
     */
    function name(uint256 objectId)
        public
        virtual
        override
        view
        returns (string memory)
    {
        return asInteroperable(objectId).name();
    }

    function name() public virtual override view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the given token id
     * @param objectId the id of the token whose symbol you want to know
     */
    function symbol(uint256 objectId)
        public
        virtual
        override
        view
        returns (string memory)
    {
        return asInteroperable(objectId).symbol();
    }

    function symbol() public virtual override view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the decimals of the given token id
     */
    function decimals(uint256)
        public
        virtual
        override
        view
        returns (uint256)
    {
        return 1;
    }

    /**
     * @dev Returns the uri of the given token id
     * @param objectId the id of the token whose uri you want to know
     */
    function uri(uint256 objectId)
        public
        virtual
        override
        view
        returns (string memory)
    {
        return _objectUris[objectId];
    }

    /**
     * @dev Classic ERC1155 Standard Method
     */
    function balanceOf(address account, uint256 objectId)
        public
        virtual
        override
        view
        returns (uint256)
    {
        return toMainInterfaceAmount(objectId, asInteroperable(objectId).balanceOf(account));
    }

    /**
     * @dev Classic ERC1155 Standard Method
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory objectIds
    ) public virtual override view returns (uint256[] memory balances) {
        balances = new uint256[](accounts.length);
        for (uint256 i = 0; i < accounts.length; i++) {
            balances[i] = balanceOf(accounts[i], objectIds[i]);
        }
    }

    /**
     * @dev Classic ERC1155 Standard Method
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        address sender = _msgSender();
        require(
            sender != operator,
            "ERC1155: setting approval status for self"
        );

        _operatorApprovals[sender][operator] = approved;
        emit ApprovalForAll(sender, operator, approved);
    }

    /**
     * @dev Classic ERC1155 Standard Method
     */
    function isApprovedForAll(address account, address operator)
        public
        virtual
        override
        view
        returns (bool)
    {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev Classic ERC1155 Standard Method
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 objectId,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(to != address(0), "ERC1155: transfer to the zero address");
        address operator = _msgSender();
        require(
            from == operator || isApprovedForAll(from, operator),
            "ERC1155: caller is not owner nor approved"
        );

        asInteroperable(objectId).transferFrom(from, to, toInteroperableInterfaceAmount(objectId, amount));

        emit TransferSingle(operator, from, to, objectId, amount);

        _doSafeTransferAcceptanceCheck(
            operator,
            from,
            to,
            objectId,
            amount,
            data
        );
    }

    /**
     * @dev Classic ERC1155 Standard Method
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory objectIds,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        for (uint256 i = 0; i < objectIds.length; i++) {
            asInteroperable(objectIds[i]).transferFrom(
                from,
                to,
                toInteroperableInterfaceAmount(objectIds[i], amounts[i])
            );
        }

        address operator = _msgSender();

        emit TransferBatch(operator, from, to, objectIds, amounts);

        _doSafeBatchTransferAcceptanceCheck(
            operator,
            from,
            to,
            objectIds,
            amounts,
            data
        );
    }

    function emitTransferSingleEvent(address sender, address from, address to, uint256 objectId, uint256 amount) public override {
        require(_dest[objectId] == msg.sender, "Unauthorized Action!");
        uint256 entireAmount = toMainInterfaceAmount(objectId, amount);
        if(entireAmount == 0) {
            return;
        }
        emit TransferSingle(sender, from, to, objectId, entireAmount);
    }

    function toInteroperableInterfaceAmount(uint256 objectId, uint256 mainInterfaceAmount) public override virtual view returns (uint256 interoperableInterfaceAmount) {
        interoperableInterfaceAmount = mainInterfaceAmount * (10**asInteroperable(objectId).decimals());
    }

    function toMainInterfaceAmount(uint256 objectId, uint256 interoperableInterfaceAmount) public override virtual view returns (uint256 mainInterfaceAmount) {
        mainInterfaceAmount = interoperableInterfaceAmount / (10**asInteroperable(objectId).decimals());
    }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        if (to.isContract()) {
            try
                IERC1155Receiver(to).onERC1155Received(
                    operator,
                    from,
                    id,
                    amount,
                    data
                )
            returns (bytes4 response) {
                if (
                    response != IERC1155Receiver(to).onERC1155Received.selector
                ) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        if (to.isContract()) {
            try
                IERC1155Receiver(to).onERC1155BatchReceived(
                    operator,
                    from,
                    ids,
                    amounts,
                    data
                )
            returns (bytes4 response) {
                if (
                    response !=
                    IERC1155Receiver(to).onERC1155BatchReceived.selector
                ) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _clone(address original) internal returns (address copy) {
        assembly {
            mstore(
                0,
                or(
                    0x5880730000000000000000000000000000000000000000803b80938091923cF3,
                    mul(original, 0x1000000000000000000)
                )
            )
            copy := create(0, 0, 32)
            switch extcodesize(copy)
                case 0 {
                    invalid()
                }
        }
    }

    function _mint(
        address from,
        uint256 amount
    ) internal virtual returns (uint256 objectId, address wrapperAddress) {
        IEthItemInteroperableInterface wrapper = IEthItemInteroperableInterface(wrapperAddress = _clone(_interoperableInterfaceModel));
        _isMine[_dest[objectId = uint256(wrapperAddress)] = wrapperAddress] = true;
        wrapper.init(objectId, _name, _symbol, _decimals);
        wrapper.mint(from, amount * (10**_decimals));
        emit NewItem(objectId, wrapperAddress);
        emit Mint(objectId, wrapperAddress, amount);
        emit TransferSingle(address(this), address(0), from, objectId, amount);
    }
}

// File: orchestrator\IEthItemOrchestratorDependantElement.sol

//SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;


interface IEthItemOrchestratorDependantElement is IERC165 {

    /**
     * @dev GET - The DoubleProxy of the DFO linked to this Contract
     */
    function doubleProxy() external view returns (address);

    /**
     * @dev SET - The DoubleProxy of the DFO linked to this Contract
     * It can be done only by the Factory controller
     * @param newDoubleProxy the new DoubleProxy address
     */
    function setDoubleProxy(address newDoubleProxy) external;

    function isAuthorizedOrchestrator(address operator) external view returns(bool);
}

// File: factory\IEthItemFactory.sol

//SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;


/**
 * @title IEthItemFactory
 * @dev This contract represents the Factory Used to deploy all the EthItems, keeping track of them.
 */
interface IEthItemFactory is IEthItemOrchestratorDependantElement {

    /**
     * @dev GET - The address of the Smart Contract whose code will serve as a model for all the EthItemERC20Wrappers (please see the eth-item-token-standard for further information).
     */
    function ethItemInteroperableInterfaceModel() external view returns (address ethItemInteroperableInterfaceModelAddress, uint256 ethItemInteroperableInterfaceModelVersion);

    /**
     * @dev SET - The address of the Smart Contract whose code will serve as a model for all the EthItemERC20Wrappers (please see the eth-item-token-standard for further information).
     * It can be done only by the Factory controller
     */
    function setEthItemInteroperableInterfaceModel(address ethItemInteroperableInterfaceModelAddress) external;

    /**
     * @dev GET - The address of the Smart Contract whose code will serve as a model for all the Native EthItems.
     * Every EthItem will have its own address, but the code will be cloned from this one.
     */
    function nativeModel() external view returns (address nativeModelAddress, uint256 nativeModelVersion);

    /**
     * @dev SET - The address of the Native EthItem model.
     * It can be done only by the Factory controller
     */
    function setNativeModel(address nativeModelAddress) external;

    /**
     * @dev GET - The address of the Smart Contract whose code will serve as a model for all the Wrapped ERC1155 EthItems.
     * Every EthItem will have its own address, but the code will be cloned from this one.
     */
    function erc1155WrapperModel() external view returns (address erc1155WrapperModelAddress, uint256 erc1155WrapperModelVersion);

    /**
     * @dev SET - The address of the ERC1155 NFT-Based EthItem model.
     * It can be done only by the Factory controller
     */
    function setERC1155WrapperModel(address erc1155WrapperModelAddress) external;

    /**
     * @dev GET - The address of the Smart Contract whose code will serve as a model for all the Wrapped ERC20 EthItems.
     */
    function erc20WrapperModel() external view returns (address erc20WrapperModelAddress, uint256 erc20WrapperModelVersion);

    /**
     * @dev SET - The address of the Smart Contract whose code will serve as a model for all the Wrapped ERC20 EthItems.
     * It can be done only by the Factory controller
     */
    function setERC20WrapperModel(address erc20WrapperModelAddress) external;

    /**
     * @dev GET - The address of the Smart Contract whose code will serve as a model for all the Wrapped ERC721 EthItems.
     */
    function erc721WrapperModel() external view returns (address erc721WrapperModelAddress, uint256 erc721WrapperModelVersion);

    /**
     * @dev SET - The address of the Smart Contract whose code will serve as a model for all the Wrapped ERC721 EthItems.
     * It can be done only by the Factory controller
     */
    function setERC721WrapperModel(address erc721WrapperModelAddress) external;

    /**
     * @dev GET - The elements (numerator and denominator) useful to calculate the percentage fee to be transfered to the DFO for every new Minted EthItem
     */
    function mintFeePercentage() external view returns (uint256 mintFeePercentageNumerator, uint256 mintFeePercentageDenominator);

    /**
     * @dev SET - The element useful to calculate the Percentage fee
     * It can be done only by the Factory controller
     */
    function setMintFeePercentage(uint256 mintFeePercentageNumerator, uint256 mintFeePercentageDenominator) external;

    /**
     * @dev Useful utility method to calculate the percentage fee to transfer to the DFO for the minted EthItem amount.
     * @param erc20WrapperAmount The amount of minted EthItem
     */
    function calculateMintFee(uint256 erc20WrapperAmount) external view returns (uint256 mintFee, address dfoWalletAddress);

    /**
     * @dev GET - The elements (numerator and denominator) useful to calculate the percentage fee to be transfered to the DFO for every Burned EthItem
     */
    function burnFeePercentage() external view returns (uint256 burnFeePercentageNumerator, uint256 burnFeePercentageDenominator);

    /**
     * @dev SET - The element useful to calculate the Percentage fee
     * It can be done only by the Factory controller
     */
    function setBurnFeePercentage(uint256 burnFeePercentageNumerator, uint256 burnFeePercentageDenominator) external;

    /**
     * @dev Useful utility method to calculate the percentage fee to transfer to the DFO for the burned EthItem amount.
     * @param erc20WrapperAmount The amount of burned EthItem
     */
    function calculateBurnFee(uint256 erc20WrapperAmount) external view returns (uint256 burnFee, address dfoWalletAddress);

    /**
     * @dev Business Logic to create a brand-new EthItem.
     * It raises the 'NewNativeCreated' events.
     * @param modelInitCallPayload The ABI-encoded input parameters to be passed to the model to phisically create the NFT.
     * It changes according to the Model Version.
     * @param ethItemAddress The address of the new EthItem
     * @param ethItemInitResponse The ABI-encoded output response eventually received by the Model initialization procedure.
     */
    function createNative(bytes calldata modelInitCallPayload) external returns (address ethItemAddress, bytes memory ethItemInitResponse);

    event NewNativeCreated(uint256 indexed standardVersion, uint256 indexed wrappedItemModelVersion, uint256 indexed modelVersion, address tokenCreated);
    event NewNativeCreated(address indexed model, uint256 indexed modelVersion, address indexed tokenCreated, address creator);

    /**
     * @dev Business Logic to wrap already existing ERC1155 Tokens to obtain a new NFT-Based EthItem.
     * It raises the 'NewWrappedERC1155Created' events.
     * @param modelInitCallPayload The ABI-encoded input parameters to be passed to the model to phisically create the NFT.
     * It changes according to the Model Version.
     * @param ethItemAddress The address of the new EthItem
     * @param ethItemInitResponse The ABI-encoded output response eventually received by the Model initialization procedure.
     */
    function createWrappedERC1155(bytes calldata modelInitCallPayload) external returns (address ethItemAddress, bytes memory ethItemInitResponse);

    event NewWrappedERC1155Created(uint256 indexed standardVersion, uint256 indexed wrappedItemModelVersion, uint256 indexed modelVersion, address tokenCreated);
    event NewWrappedERC1155Created(address indexed model, uint256 indexed modelVersion, address indexed tokenCreated, address creator);

    /**
     * @dev Business Logic to wrap already existing ERC20 Tokens to obtain a new NFT-Based EthItem.
     * It raises the 'NewWrappedERC20Created' events.
     * @param modelInitCallPayload The ABI-encoded input parameters to be passed to the model to phisically create the NFT.
     * It changes according to the Model Version.
     * @param ethItemAddress The address of the new EthItem
     * @param ethItemInitResponse The ABI-encoded output response eventually received by the Model initialization procedure.
     */
    function createWrappedERC20(bytes calldata modelInitCallPayload) external returns (address ethItemAddress, bytes memory ethItemInitResponse);

    event NewWrappedERC20Created(uint256 indexed standardVersion, uint256 indexed wrappedItemModelVersion, uint256 indexed modelVersion, address tokenCreated);
    event NewWrappedERC20Created(address indexed model, uint256 indexed modelVersion, address indexed tokenCreated, address creator);

    /**
     * @dev Business Logic to wrap already existing ERC721 Tokens to obtain a new NFT-Based EthItem.
     * It raises the 'NewWrappedERC721Created' events.
     * @param modelInitCallPayload The ABI-encoded input parameters to be passed to the model to phisically create the NFT.
     * It changes according to the Model Version.
     * @param ethItemAddress The address of the new EthItem
     * @param ethItemInitResponse The ABI-encoded output response eventually received by the Model initialization procedure.
     */
    function createWrappedERC721(bytes calldata modelInitCallPayload) external returns (address ethItemAddress, bytes memory ethItemInitResponse);

    event NewWrappedERC721Created(uint256 indexed standardVersion, uint256 indexed wrappedItemModelVersion, uint256 indexed modelVersion, address tokenCreated);
    event NewWrappedERC721Created(address indexed model, uint256 indexed modelVersion, address indexed tokenCreated, address creator);
}

// File: models\common\EthItemModelBase.sol

//SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;




abstract contract EthItemModelBase is IEthItemModelBase, EthItemMainInterface(address(0), "", "") {

    address internal _factoryAddress;

    function init(
        address,
        string memory,
        string memory
    ) public virtual override(IEthItemMainInterface, EthItemMainInterface) {
        revert("Cannot directly call this method.");
    }

    function init(
        string memory name,
        string memory symbol
    ) public override virtual {
        require(_factoryAddress == address(0), "Init already called!");
        (address ethItemInteroperableInterfaceModelAddress,) = IEthItemFactory(_factoryAddress = msg.sender).ethItemInteroperableInterfaceModel();
        super.init(ethItemInteroperableInterfaceModelAddress, name, symbol);
    }

    function modelVersion() public override virtual pure returns(uint256) {
        return 1;
    }

    function factory() public override view returns (address) {
        return _factoryAddress;
    }

    function _sendMintFeeToDFO(address from, uint256 objectId, uint256 erc20WrapperAmount) internal virtual returns(uint256 mintFeeToDFO) {
        address dfoWallet;
        (mintFeeToDFO, dfoWallet) = IEthItemFactory(_factoryAddress).calculateMintFee(erc20WrapperAmount);
        if(mintFeeToDFO > 0 && dfoWallet != address(0)) {
            asInteroperable(objectId).transferFrom(from, dfoWallet, mintFeeToDFO);
        }
    }

    function _sendBurnFeeToDFO(address from, uint256 objectId, uint256 erc20WrapperAmount) internal virtual returns(uint256 burnFeeToDFO) {
        address dfoWallet;
        (burnFeeToDFO, dfoWallet) = IEthItemFactory(_factoryAddress).calculateBurnFee(erc20WrapperAmount);
        if(burnFeeToDFO > 0 && dfoWallet != address(0)) {
            asInteroperable(objectId).transferFrom(from, dfoWallet, burnFeeToDFO);
        }
    }

    function mint(uint256, string memory)
        public
        virtual
        override(IEthItemMainInterface, EthItemMainInterface)
        returns (uint256, address)
    {
        revert("Cannot directly call this method.");
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 objectId,
        uint256 amount,
        bytes memory data
    ) public virtual override(IERC1155, EthItemMainInterface) {
        require(to != address(0), "ERC1155: transfer to the zero address");
        address operator = _msgSender();
        require(
            from == operator || isApprovedForAll(from, operator),
            "ERC1155: caller is not owner nor approved"
        );

        _doERC20Transfer(from, to, objectId, amount);

        emit TransferSingle(operator, from, to, objectId, amount);

        _doSafeTransferAcceptanceCheck(
            operator,
            from,
            to,
            objectId,
            amount,
            data
        );
    }

    /**
     * @dev Classic ERC1155 Standard Method
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory objectIds,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override(IERC1155, EthItemMainInterface) {
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        for (uint256 i = 0; i < objectIds.length; i++) {
            _doERC20Transfer(from, to, objectIds[i], amounts[i]);
        }

        address operator = _msgSender();

        emit TransferBatch(operator, from, to, objectIds, amounts);

        _doSafeBatchTransferAcceptanceCheck(
            operator,
            from,
            to,
            objectIds,
            amounts,
            data
        );
    }

    function _doERC20Transfer(address from, address to, uint256 objectId, uint256 amount) internal virtual {
        (,uint256 result) = _getCorrectERC20ValueForTransferOrBurn(from, objectId, amount);
        asInteroperable(objectId).transferFrom(from, to, result);
    }

    function _getCorrectERC20ValueForTransferOrBurn(address from, uint256 objectId, uint256 amount) internal virtual view returns(uint256 balanceOfNormal, uint256 result) {
        uint256 toTransfer = toInteroperableInterfaceAmount(objectId, amount);
        uint256 balanceOfDecimals = asInteroperable(objectId).balanceOf(from);
        balanceOfNormal = balanceOf(from, objectId);
        result = amount == balanceOfNormal ? balanceOfDecimals : toTransfer;
    }

    function _burn(
        uint256 objectId,
        uint256 amount
    ) internal virtual returns(uint256 burnt, uint256 burnFeeToDFO) {
        (uint256 balanceOfNormal, uint256 result) = _getCorrectERC20ValueForTransferOrBurn(msg.sender, objectId, amount);
        require(balanceOfNormal >= amount, "Insufficient Amount");
        burnFeeToDFO = _sendBurnFeeToDFO(msg.sender, objectId, result);
        asInteroperable(objectId).burn(msg.sender, burnt = result - burnFeeToDFO);
    }

    function _isUnique(uint256 objectId) internal virtual view returns (bool unique, uint256 unity, uint256 totalSupply, uint256 erc20Decimals) {
        erc20Decimals = asInteroperable(objectId).decimals();
        unity = erc20Decimals <= 1 ? 1 : (10**erc20Decimals);
        totalSupply = asInteroperable(objectId).totalSupply();
        unique = totalSupply <= unity;
    }

    function toMainInterfaceAmount(uint256 objectId, uint256 interoperableInterfaceAmount) public virtual view override(IEthItemMainInterface, EthItemMainInterface) returns (uint256 mainInterfaceAmount) {
        (bool unique, uint256 unity,, uint256 erc20Decimals) = _isUnique(objectId);
        if(unique && interoperableInterfaceAmount < unity) {
            uint256 half = (unity * 51) / 100;
            return mainInterfaceAmount = interoperableInterfaceAmount <= half ? 0 : 1;
        }
        return mainInterfaceAmount = interoperableInterfaceAmount / (10**erc20Decimals);
    }
}

// File: models\Native\1\NativeV1.sol

//SPDX_License_Identifier: MIT

pragma solidity ^0.6.0;



contract NativeV1 is INativeV1, EthItemModelBase {

    address internal _extensionAddress;
    string internal _uri;
    bool internal _supportsSpecificDecimals;
    mapping(uint256 => bool) internal _editable;

    function init(string memory name, string memory symbol, bool hasDecimals, string memory collectionUri, address extensionAddress, bytes memory extensionInitPayload) public override virtual returns(bytes memory extensionInitCallResponse) {
        super.init(name, symbol);
        require(
            keccak256(bytes(collectionUri)) != keccak256(""),
            "Uri cannot be empty"
        );
        _uri = collectionUri;
        extensionInitCallResponse = _initExtension(extensionAddress, extensionInitPayload);
        _supportsSpecificDecimals = hasDecimals;
    }

    function _initExtension(address extensionAddress, bytes memory extensionInitPayload) internal virtual returns(bytes memory extensionInitCallResponse) {
        require(extensionAddress != address(0), "Extension is mandatory");
        _extensionAddress = extensionAddress;
        if (
            extensionAddress != address(0) &&
            keccak256(extensionInitPayload) != keccak256("")
        ) {
            bool extensionInitCallResult = false;
            (
                extensionInitCallResult,
                extensionInitCallResponse
            ) = extensionAddress.call(extensionInitPayload);
            require(
                extensionInitCallResult,
                "Extension Init Call Result failed!"
            );
        }
    }

    function extension() public view virtual override returns (address) {
        return _extensionAddress;
    }

    function canMint(address operator) public view virtual override returns (bool result) {
        result = operator == _extensionAddress;
    }

    function setUri(string memory newUri) public virtual override {
        require(canMint(msg.sender), "Unauthorized Action!");
        _uri = newUri;
    }

    function setUri(uint256 objectId, string memory newUri) public virtual override {
        require(canMint(msg.sender), "Unauthorized Action!");
        require(isEditable(objectId), "Unauthorized Action!");
        _objectUris[objectId] = newUri;
    }

    function isEditable(uint256 objectId) public view virtual override returns (bool result) {
        result = _editable[objectId] && _extensionAddress != address(0);
    }

    function uri() public virtual view override returns(string memory) {
        return _uri;
    }

    function decimals() public override view returns (uint256) {
        return _supportsSpecificDecimals ? _decimals : 1;
    }

    function decimals(uint256 objectId)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return
            !_supportsSpecificDecimals
                ? 1
                : asInteroperable(objectId).decimals();
    }

    function mint(uint256 amount, string memory tokenName, string memory tokenSymbol, string memory objectUri, bool editable)
        public
        virtual
        override
        returns (uint256 objectId, address wrapperAddress)
    {
        require(canMint(msg.sender), "Unauthorized action!");
        require(
            keccak256(bytes(objectUri)) != keccak256(""),
            "Uri cannot be empty"
        );
        string memory name = keccak256(bytes(tokenName)) != keccak256("") ? tokenName : _name;
        string memory symbol = keccak256(bytes(tokenSymbol)) != keccak256("") ? tokenSymbol : _symbol;
        (address ethItemERC20WrapperModelAddress,) = interoperableInterfaceModel();
        IEthItemInteroperableInterface wrapper = IEthItemInteroperableInterface(wrapperAddress = _clone(ethItemERC20WrapperModelAddress));
        _isMine[_dest[objectId = uint256(wrapperAddress)] = wrapperAddress] = true;
        _objectUris[objectId] = objectUri;
        _editable[objectId] = editable;
        wrapper.init(objectId, name, symbol, _decimals);
        emit NewItem(objectId, wrapperAddress);
        _mint(objectId, amount);
    }

    function mint(uint256 amount, string memory tokenName, string memory tokenSymbol, string memory objectUri)
        public
        virtual
        override
        returns (uint256 objectId, address wrapperAddress)
    {
        return mint(amount, tokenName, tokenSymbol, objectUri, false);
    }

    function mint(uint256 objectId, uint256 amount) public virtual override {
        require(isEditable(objectId), "Unauthorized action!");
        require(canMint(msg.sender), "Unauthorized action!");
        _mint(objectId, amount);
    }

    function _mint(uint256 objectId, uint256 amount) internal virtual {
        IEthItemInteroperableInterface wrapper = asInteroperable(objectId);
        uint256 amountInDecimals = amount * (_supportsSpecificDecimals ? 1 : (10**_decimals));
        wrapper.mint(msg.sender, amountInDecimals);
        emit Mint(objectId, address(wrapper), amount);
        uint256 sentForMint = _sendMintFeeToDFO(msg.sender, objectId, amountInDecimals);
        emit TransferSingle(address(this), address(0), msg.sender, objectId, toMainInterfaceAmount(objectId, amountInDecimals - sentForMint));
    }

    function makeReadOnly(uint256 objectId) public virtual override {
        require(canMint(msg.sender), "Unauthorized action!");
        require(isEditable(objectId), "Unauthorized Action!");
        require(_editable[objectId], "Already read only!");
        _editable[objectId] = false;
    }

    function burn(
        uint256 objectId,
        uint256 amount
    ) public virtual override {
        _burn(objectId, amount);
        emit TransferSingle(msg.sender, msg.sender, address(0), objectId, amount);
    }

    function burnBatch(
        uint256[] memory objectIds,
        uint256[] memory amounts
    ) public virtual override {
        for (uint256 i = 0; i < objectIds.length; i++) {
            _burn(objectIds[i], amounts[i]);
        }
        emit TransferBatch(msg.sender, msg.sender, address(0), objectIds, amounts);
    }

    function isApprovedForAll(address account, address operator)
        public
        view
        virtual
        override
        returns (bool)
    {
        if(operator == _extensionAddress) {
            return true;
        }
        return super.isApprovedForAll(account, operator);
    }

    function releaseExtension() public override {
        require(msg.sender == _extensionAddress, "Unauthorized Action!");
        _extensionAddress = address(0);
    }

    function toInteroperableInterfaceAmount(uint256 objectId, uint256 mainInterfaceAmount) public override virtual view returns (uint256 interoperableInterfaceAmount) {
        interoperableInterfaceAmount = _supportsSpecificDecimals ? mainInterfaceAmount : super.toInteroperableInterfaceAmount(objectId, mainInterfaceAmount);
    }

    function toMainInterfaceAmount(uint256 objectId, uint256 interoperableInterfaceAmount) public override(IEthItemMainInterface, EthItemModelBase) virtual view returns (uint256 mainInterfaceAmount) {
        mainInterfaceAmount = _supportsSpecificDecimals ? interoperableInterfaceAmount : super.toMainInterfaceAmount(objectId, interoperableInterfaceAmount);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"objectId","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"objectId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"}],"name":"NewItem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"}],"name":"asInteroperable","outputs":[{"internalType":"contract IEthItemInteroperableInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"objectId","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"objectIds","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"balances","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"objectIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"canMint","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"}],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emitTransferSingleEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"extension","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"bool","name":"hasDecimals","type":"bool"},{"internalType":"string","name":"collectionUri","type":"string"},{"internalType":"address","name":"extensionAddress","type":"address"},{"internalType":"bytes","name":"extensionInitPayload","type":"bytes"}],"name":"init","outputs":[{"internalType":"bytes","name":"extensionInitCallResponse","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"interoperableInterfaceModel","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"}],"name":"isEditable","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainInterfaceVersion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"}],"name":"makeReadOnly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"string","name":"objectUri","type":"string"},{"internalType":"bool","name":"editable","type":"bool"}],"name":"mint","outputs":[{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"address","name":"wrapperAddress","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"string","name":"","type":"string"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"string","name":"objectUri","type":"string"}],"name":"mint","outputs":[{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"address","name":"wrapperAddress","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"modelVersion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"objectIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"string","name":"newUri","type":"string"}],"name":"setUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"}],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"uint256","name":"mainInterfaceAmount","type":"uint256"}],"name":"toInteroperableInterfaceAmount","outputs":[{"internalType":"uint256","name":"interoperableInterfaceAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"uint256","name":"interoperableInterfaceAmount","type":"uint256"}],"name":"toMainInterfaceAmount","outputs":[{"internalType":"uint256","name":"mainInterfaceAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"objectId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040805160208082018352600080835283519182019093528281526200003f6301ffc9a760e01b62000065565b6001600160a01b038316156200005c576200005c838383620000ea565b50505062000122565b6001600160e01b03198082161415620000c5576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60405162461bcd60e51b81526004018080602001828103825260218152602001806200405a6021913960400191505060405180910390fd5b613f2880620001326000396000f3fe608060405234801561001057600080fd5b50600436106102465760003560e01c8063782f08ae1161013b578063c45a0155116100b8578063e82b15f41161007c578063e82b15f414611410578063e985e9c514611452578063eac989f814611480578063edb3ba0b14610615578063f242432a1461148857610246565b8063c45a015514611178578063da1aafea14611180578063e0519081146113ce578063e0ecbcea146113eb578063e6492046146113f357610246565b8063acdd1454116100ff578063acdd145414610e24578063b2b45df514610fd9578063b390c0ab14611112578063bd85b03914611135578063c2ba47441461115257610246565b8063782f08ae14610b7c57806383ca4b6f14610c2757806395d89b4114610d4a5780639b642de114610d52578063a22cb46514610df657610246565b8063313ce567116101c95780634e1273f41161018d5780634e1273f4146106405780634e41a1fb146107b3578063534d4027146107d05780637029144c146109a857806377097fc814610ad157610246565b8063313ce567146105cd5780633f47e662146105d557806340dc7bff146105f2578063434d7d921461061557806345a0ef801461061d57610246565b80630e89341c116102105780630e89341c146103975780631b2ef1ca146103b45780632d5537b0146103d95780632d7f1d2b146103e15780632eb2c2d61461040c57610246565b8062ad800c1461024b578062fdd58e146102dd57806301ffc9a71461031b57806306fdde03146103565780630c0f6b711461035e575b600080fd5b6102686004803603602081101561026157600080fd5b5035611551565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a257818101518382015260200161028a565b50505050905090810190601f1680156102cf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610309600480360360408110156102f357600080fd5b506001600160a01b038135169060200135611686565b60408051918252519081900360200190f35b6103426004803603602081101561033157600080fd5b50356001600160e01b03191661171b565b604080519115158252519081900360200190f35b61026861173a565b61037b6004803603602081101561037457600080fd5b50356117d0565b604080516001600160a01b039092168252519081900360200190f35b610268600480360360208110156103ad57600080fd5b50356117eb565b6103d7600480360360408110156103ca57600080fd5b508035906020013561188c565b005b61037b61193c565b6103e961194b565b604080516001600160a01b03909316835260208301919091528051918290030190f35b6103d7600480360360a081101561042257600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561045557600080fd5b82018360208201111561046757600080fd5b803590602001918460208302840111600160201b8311171561048857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156104d757600080fd5b8201836020820111156104e957600080fd5b803590602001918460208302840111600160201b8311171561050a57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561055957600080fd5b82018360208201111561056b57600080fd5b803590602001918460018302840111600160201b8311171561058c57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061195f945050505050565b610309611b54565b610309600480360360208110156105eb57600080fd5b5035611b71565b6103096004803603604081101561060857600080fd5b5080359060200135611bf9565b610309611c1b565b6103096004803603604081101561063357600080fd5b5080359060200135611c20565b6107636004803603604081101561065657600080fd5b810190602081018135600160201b81111561067057600080fd5b82018360208201111561068257600080fd5b803590602001918460208302840111600160201b831117156106a357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156106f257600080fd5b82018360208201111561070457600080fd5b803590602001918460208302840111600160201b8311171561072557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611c37945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561079f578181015183820152602001610787565b505050509050019250505060405180910390f35b610268600480360360208110156107c957600080fd5b5035611ce0565b610987600480360360a08110156107e657600080fd5b81359190810190604081016020820135600160201b81111561080757600080fd5b82018360208201111561081957600080fd5b803590602001918460018302840111600160201b8311171561083a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561088c57600080fd5b82018360208201111561089e57600080fd5b803590602001918460018302840111600160201b831117156108bf57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561091157600080fd5b82018360208201111561092357600080fd5b803590602001918460018302840111600160201b8311171561094457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050503515159050611d23565b604080519283526001600160a01b0390911660208301528051918290030190f35b6103d7600480360360408110156109be57600080fd5b810190602081018135600160201b8111156109d857600080fd5b8201836020820111156109ea57600080fd5b803590602001918460018302840111600160201b83111715610a0b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610a5d57600080fd5b820183602082011115610a6f57600080fd5b803590602001918460018302840111600160201b83111715610a9057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612160945050505050565b61098760048036036040811015610ae757600080fd5b81359190810190604081016020820135600160201b811115610b0857600080fd5b820183602082011115610b1a57600080fd5b803590602001918460018302840111600160201b83111715610b3b57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061223d945050505050565b6103d760048036036040811015610b9257600080fd5b81359190810190604081016020820135600160201b811115610bb357600080fd5b820183602082011115610bc557600080fd5b803590602001918460018302840111600160201b83111715610be657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612277945050505050565b6103d760048036036040811015610c3d57600080fd5b810190602081018135600160201b811115610c5757600080fd5b820183602082011115610c6957600080fd5b803590602001918460208302840111600160201b83111715610c8a57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610cd957600080fd5b820183602082011115610ceb57600080fd5b803590602001918460208302840111600160201b83111715610d0c57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612338945050505050565b61026861245d565b6103d760048036036020811015610d6857600080fd5b810190602081018135600160201b811115610d8257600080fd5b820183602082011115610d9457600080fd5b803590602001918460018302840111600160201b83111715610db557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506124bb945050505050565b6103d760048036036040811015610e0c57600080fd5b506001600160a01b038135169060200135151561251f565b61098760048036036080811015610e3a57600080fd5b81359190810190604081016020820135600160201b811115610e5b57600080fd5b820183602082011115610e6d57600080fd5b803590602001918460018302840111600160201b83111715610e8e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610ee057600080fd5b820183602082011115610ef257600080fd5b803590602001918460018302840111600160201b83111715610f1357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610f6557600080fd5b820183602082011115610f7757600080fd5b803590602001918460018302840111600160201b83111715610f9857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506125ea945050505050565b6103d760048036036060811015610fef57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561101957600080fd5b82018360208201111561102b57600080fd5b803590602001918460018302840111600160201b8311171561104c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561109e57600080fd5b8201836020820111156110b057600080fd5b803590602001918460018302840111600160201b831117156110d157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612608945050505050565b6103d76004803603604081101561112857600080fd5b508035906020013561263f565b6103096004803603602081101561114b57600080fd5b503561267f565b6103426004803603602081101561116857600080fd5b50356001600160a01b03166126c6565b61037b6126da565b610268600480360360c081101561119657600080fd5b810190602081018135600160201b8111156111b057600080fd5b8201836020820111156111c257600080fd5b803590602001918460018302840111600160201b831117156111e357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561123557600080fd5b82018360208201111561124757600080fd5b803590602001918460018302840111600160201b8311171561126857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929584351515959094909350604081019250602001359050600160201b8111156112c457600080fd5b8201836020820111156112d657600080fd5b803590602001918460018302840111600160201b831117156112f757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092956001600160a01b03853516959094909350604081019250602001359050600160201b81111561135a57600080fd5b82018360208201111561136c57600080fd5b803590602001918460018302840111600160201b8311171561138d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506126e9945050505050565b610342600480360360208110156113e457600080fd5b503561278f565b6103d76127bc565b6103d76004803603602081101561140957600080fd5b5035612824565b6103d7600480360360a081101561142657600080fd5b506001600160a01b03813581169160208101358216916040820135169060608101359060800135612936565b6103426004803603604081101561146857600080fd5b506001600160a01b0381358116916020013516612a05565b610268612a30565b6103d7600480360360a081101561149e57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b8111156114dd57600080fd5b8201836020820111156114ef57600080fd5b803590602001918460018302840111600160201b8311171561151057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612a91945050505050565b606061155c826117d0565b6001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561159457600080fd5b505afa1580156115a8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156115d157600080fd5b8101908080516040519392919084600160201b8211156115f057600080fd5b90830190602082018581111561160557600080fd5b8251600160201b81118282018810171561161e57600080fd5b82525081516020918201929091019080838360005b8381101561164b578181015183820152602001611633565b50505050905090810190601f1680156116785780820380516001836020036101000a031916815260200191505b506040525050509050919050565b600061171282611695846117d0565b6001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156116e157600080fd5b505afa1580156116f5573d6000803e3d6000fd5b505050506040513d602081101561170b57600080fd5b5051611c20565b90505b92915050565b6001600160e01b03191660009081526020819052604090205460ff1690565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156117c55780601f1061179a576101008083540402835291602001916117c5565b820191906000526020600020905b8154815290600101906020018083116117a857829003601f168201915b505050505090505b90565b6000908152600460205260409020546001600160a01b031690565b60008181526003602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156118805780601f1061185557610100808354040283529160200191611880565b820191906000526020600020905b81548152906001019060200180831161186357829003601f168201915b50505050509050919050565b6118958261278f565b6118dd576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420616374696f6e2160601b604482015290519081900360640190fd5b6118e6336126c6565b61192e576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420616374696f6e2160601b604482015290519081900360640190fd5b6119388282612ba7565b5050565b600b546001600160a01b031690565b6007546008546001600160a01b0390911691565b6001600160a01b0384166119a45760405162461bcd60e51b8152600401808060200182810382526025815260200180613ea56025913960400191505060405180910390fd5b6119ac612cda565b6001600160a01b0316856001600160a01b031614806119d757506119d7856119d2612cda565b612a05565b611a125760405162461bcd60e51b8152600401808060200182810382526029815260200180613e396029913960400191505060405180910390fd5b60005b8351811015611a5857611a508686868481518110611a2f57fe5b6020026020010151868581518110611a4357fe5b6020026020010151612cde565b600101611a15565b506000611a63612cda565b9050846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015611aea578181015183820152602001611ad2565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015611b29578181015183820152602001611b11565b5050505090500194505050505060405180910390a4611b4c818787878787612d91565b505050505050565b600d5460009060ff16611b68576001611b6c565b6009545b905090565b600d5460009060ff1615611bf157611b88826117d0565b6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611bc057600080fd5b505afa158015611bd4573d6000803e3d6000fd5b505050506040513d6020811015611bea57600080fd5b5051611715565b600192915050565b600d5460009060ff16611c1557611c108383613045565b611712565b50919050565b600190565b600d5460009060ff16611c1557611c1083836130c1565b6060825167ffffffffffffffff81118015611c5157600080fd5b50604051908082528060200260200182016040528015611c7b578160200160208202803683370190505b50905060005b8351811015611cd957611cba848281518110611c9957fe5b6020026020010151848381518110611cad57fe5b6020026020010151611686565b828281518110611cc657fe5b6020908102919091010152600101611c81565b5092915050565b6060611ceb826117d0565b6001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561159457600080fd5b600080611d2f336126c6565b611d77576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420616374696f6e2160601b604482015290519081900360640190fd5b83516020850120600080516020613e198339815191521415611dd6576040805162461bcd60e51b81526020600482015260136024820152725572692063616e6e6f7420626520656d70747960681b604482015290519081900360640190fd5b6060600080516020613e1983398151915287805190602001201415611e845760018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611e7a5780601f10611e4f57610100808354040283529160200191611e7a565b820191906000526020600020905b815481529060010190602001808311611e5d57829003601f168201915b5050505050611e86565b865b90506060600080516020613e1983398151915287805190602001201415611f34576002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015611f2a5780601f10611eff57610100808354040283529160200191611f2a565b820191906000526020600020905b815481529060010190602001808311611f0d57829003601f168201915b5050505050611f36565b865b90506000611f4261194b565b5090506000611f5082613126565b6001600160a01b038116600081815260046020908152604080832080546001600160a01b0319168517905560058252808320805460ff19166001179055600382529091208b51929950929750879350611fad9291908b0190613c36565b5086600e600088815260200190815260200160002060006101000a81548160ff021916908315150217905550806001600160a01b031663620b29cd8786866009546040518563ffffffff1660e01b8152600401808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b8381101561204a578181015183820152602001612032565b50505050905090810190601f1680156120775780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156120aa578181015183820152602001612092565b50505050905090810190601f1680156120d75780820380516001836020036101000a031916815260200191505b509650505050505050600060405180830381600087803b1580156120fa57600080fd5b505af115801561210e573d6000803e3d6000fd5b50506040516001600160a01b03881692508891507f0c4ad8244c49e226fa47310564e3a7d0bb97b9808742e9159b5fd2e62033f88490600090a3612152868c612ba7565b505050509550959350505050565b600a546001600160a01b0316156121b5576040805162461bcd60e51b8152602060048201526014602482015273496e697420616c72656164792063616c6c65642160601b604482015290519081900360640190fd5b600a80546001600160a01b031916339081179091556040805163a826080960e01b815281516000939263a82608099260048082019391829003018186803b1580156121ff57600080fd5b505afa158015612213573d6000803e3d6000fd5b505050506040513d604081101561222957600080fd5b50519050612238818484613162565b505050565b60008060405162461bcd60e51b8152600401808060200182810382526021815260200180613e626021913960400191505060405180910390fd5b612280336126c6565b6122c8576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b6122d18261278f565b612319576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b6000828152600360209081526040909120825161223892840190613c36565b60005b825181101561237e5761237483828151811061235357fe5b602002602001015183838151811061236757fe5b6020026020010151613446565b505060010161233b565b5060006001600160a01b0316336001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8585604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156124055781810151838201526020016123ed565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561244457818101518382015260200161242c565b5050505090500194505050505060405180910390a45050565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156117c55780601f1061179a576101008083540402835291602001916117c5565b6124c4336126c6565b61250c576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b805161193890600c906020840190613c36565b6000612529612cda565b9050826001600160a01b0316816001600160a01b0316141561257c5760405162461bcd60e51b8152600401808060200182810382526029815260200180613eca6029913960400191505060405180910390fd5b6001600160a01b03818116600081815260066020908152604080832094881680845294825291829020805460ff1916871515908117909155825190815291517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319281900390910190a3505050565b6000806125fb868686866000611d23565b9150915094509492505050565b60405162461bcd60e51b8152600401808060200182810382526021815260200180613e626021913960400191505060405180910390fd5b6126498282613446565b50506040805183815260208101839052815160009233928392600080516020613df9833981519152929181900390910190a45050565b60006117158261268e846117d0565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156116e157600080fd5b600b546001600160a01b0391821691161490565b600a546001600160a01b031690565b60606126f58787612160565b83516020850120600080516020613e198339815191521415612754576040805162461bcd60e51b81526020600482015260136024820152725572692063616e6e6f7420626520656d70747960681b604482015290519081900360640190fd5b835161276790600c906020870190613c36565b506127728383613538565b600d805460ff191696151596909617909555509295945050505050565b6000818152600e602052604081205460ff1680156117155750600b546001600160a01b0316151592915050565b600b546001600160a01b03163314612812576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b600b80546001600160a01b0319169055565b61282d336126c6565b612875576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420616374696f6e2160601b604482015290519081900360640190fd5b61287e8161278f565b6128c6576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b6000818152600e602052604090205460ff1661291e576040805162461bcd60e51b8152602060048201526012602482015271416c72656164792072656164206f6e6c792160701b604482015290519081900360640190fd5b6000908152600e60205260409020805460ff19169055565b6000828152600460205260409020546001600160a01b03163314612998576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b60006129a48383611c20565b9050806129b157506129fe565b836001600160a01b0316856001600160a01b0316876001600160a01b0316600080516020613df98339815191528685604051808381526020018281526020019250505060405180910390a4505b5050505050565b600b546000906001600160a01b0383811691161415612a2657506001611715565b61171283836136b7565b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156117c55780601f1061179a576101008083540402835291602001916117c5565b6001600160a01b038416612ad65760405162461bcd60e51b8152600401808060200182810382526025815260200180613ea56025913960400191505060405180910390fd5b6000612ae0612cda565b9050806001600160a01b0316866001600160a01b03161480612b075750612b078682612a05565b612b425760405162461bcd60e51b8152600401808060200182810382526029815260200180613e396029913960400191505060405180910390fd5b612b4e86868686612cde565b846001600160a01b0316866001600160a01b0316826001600160a01b0316600080516020613df98339815191528787604051808381526020018281526020019250505060405180910390a4611b4c8187878787876136e5565b6000612bb2836117d0565b600d5490915060009060ff16612bcd57600954600a0a612bd0565b60015b83029050816001600160a01b03166340c10f1933836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612c2b57600080fd5b505af1158015612c3f573d6000803e3d6000fd5b5050604080518781526001600160a01b038616602082015280820187905290517f4e3883c75cc9c752bb1db2e406a822e4a75067ae77ad9a0a4d179f2709b9e1f69350908190036060019150a16000612c99338684613856565b905033600030600080516020613df983398151915288612cbb81878903611c20565b6040805192835260208301919091528051918290030190a45050505050565b3390565b6000612ceb85848461399b565b915050612cf7836117d0565b6001600160a01b03166323b872dd8686846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015612d5e57600080fd5b505af1158015612d72573d6000803e3d6000fd5b505050506040513d6020811015612d8857600080fd5b50505050505050565b612da3846001600160a01b0316613a58565b15611b4c57836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015612e31578181015183820152602001612e19565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015612e70578181015183820152602001612e58565b50505050905001848103825285818151815260200191508051906020019080838360005b83811015612eac578181015183820152602001612e94565b50505050905090810190601f168015612ed95780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015612efe57600080fd5b505af1925050508015612f2357506040513d6020811015612f1e57600080fd5b505160015b612ff657612f2f613ccf565b80612f3a5750612fbf565b8060405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612f84578181015183820152602001612f6c565b50505050905090810190601f168015612fb15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60405162461bcd60e51b8152600401808060200182810382526034815260200180613d756034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b14612d885760405162461bcd60e51b8152600401808060200182810382526028815260200180613da96028913960400191505060405180910390fd5b6000613050836117d0565b6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561308857600080fd5b505afa15801561309c573d6000803e3d6000fd5b505050506040513d60208110156130b257600080fd5b5051600a0a9190910292915050565b6000806000806130d086613a5e565b935050925092508280156130e357508185105b1561310f5760646033830204808611156130fe576001613101565b60005b60ff16945050505050611715565b80600a0a858161311b57fe5b049695505050505050565b60006901000000000000000000820268803b80938091923cf36258807360e81b01176000526020600080f09050803b801561316057611c15565bfe5b6007546001600160a01b0316156131b7576040805162461bcd60e51b8152602060048201526014602482015273496e697420616c72656164792063616c6c65642160601b604482015290519081900360640190fd5b6001600160a01b0383166131fc5760405162461bcd60e51b8152600401808060200182810382526028815260200180613dd16028913960400191505060405180910390fd5b600780546001600160a01b0319166001600160a01b0385169081179091556040805163440eb4bf60e11b8152905163881d697e91600480820192602092909190829003018186803b15801561325057600080fd5b505afa158015613264573d6000803e3d6000fd5b505050506040513d602081101561327a57600080fd5b505160085581516020830120600080516020613e1983398151915214156132dc576040805162461bcd60e51b81526020600482015260116024820152704e616d65206973206d616e6461746f727960781b604482015290519081900360640190fd5b80516020820120600080516020613e19833981519152141561333b576040805162461bcd60e51b815260206004820152601360248201527253796d626f6c206973206d616e6461746f727960681b604482015290519081900360640190fd5b815161334e906001906020850190613c36565b508051613362906002906020840190613c36565b506012600955613378631759616b60e11b613b66565b613388636cdb3d1360e11b613b66565b613397627eeac760e11b613b66565b6133a76313849cfd60e21b613b66565b6133b763a22cb46560e01b613b66565b6133c763e985e9c560e01b613b66565b6133d7637921219560e11b613b66565b6133e76303a24d0760e21b613b66565b6133f763bd85b03960e01b613b66565b613406622b600360e21b613b66565b613416634e41a1fb60e01b613b66565b613426631fa3f33160e11b613b66565b6134366306fdde0360e01b613b66565b6122386395d89b4160e01b613b66565b60008060008061345733878761399b565b91509150848210156134a6576040805162461bcd60e51b8152602060048201526013602482015272125b9cdd59999a58da595b9d08105b5bdd5b9d606a1b604482015290519081900360640190fd5b6134b1338783613bea565b92506134bc866117d0565b6001600160a01b0316639dc29fac338584039650866040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561351757600080fd5b505af115801561352b573d6000803e3d6000fd5b5050505050509250929050565b60606001600160a01b03831661358e576040805162461bcd60e51b8152602060048201526016602482015275457874656e73696f6e206973206d616e6461746f727960501b604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b038516908117909155158015906135ce575081516020830120600080516020613e1983398151915214155b15611715576000836001600160a01b0316836040518082805190602001908083835b6020831061360f5780518252601f1990920191602091820191016135f0565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613671576040519150601f19603f3d011682016040523d82523d6000602084013e613676565b606091505b509250905080611cd95760405162461bcd60e51b8152600401808060200182810382526022815260200180613e836022913960400191505060405180910390fd5b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6136f7846001600160a01b0316613a58565b15611b4c57836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561378657818101518382015260200161376e565b50505050905090810190601f1680156137b35780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b1580156137d657600080fd5b505af19250505080156137fb57506040513d60208110156137f657600080fd5b505160015b61380757612f2f613ccf565b6001600160e01b0319811663f23a6e6160e01b14612d885760405162461bcd60e51b8152600401808060200182810382526028815260200180613da96028913960400191505060405180910390fd5b600a5460408051631702579560e21b815260048101849052815160009384936001600160a01b0390911692635c095e549260248083019392829003018186803b1580156138a257600080fd5b505afa1580156138b6573d6000803e3d6000fd5b505050506040513d60408110156138cc57600080fd5b508051602090910151909250905081158015906138f157506001600160a01b03811615155b15613993576138ff846117d0565b6001600160a01b03166323b872dd8683856040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561396657600080fd5b505af115801561397a573d6000803e3d6000fd5b505050506040513d602081101561399057600080fd5b50505b509392505050565b60008060006139aa8585611bf9565b905060006139b7866117d0565b6001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613a0357600080fd5b505afa158015613a17573d6000803e3d6000fd5b505050506040513d6020811015613a2d57600080fd5b50519050613a3b8787611686565b9350838514613a4a5781613a4c565b805b92505050935093915050565b3b151590565b600080600080613a6d856117d0565b6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015613aa557600080fd5b505afa158015613ab9573d6000803e3d6000fd5b505050506040513d6020811015613acf57600080fd5b505190506001811115613ae55780600a0a613ae8565b60015b9250613af3856117d0565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015613b2b57600080fd5b505afa158015613b3f573d6000803e3d6000fd5b505050506040513d6020811015613b5557600080fd5b505183811115969395509350919050565b6001600160e01b03198082161415613bc5576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600a5460408051636ad8826960e01b815260048101849052815160009384936001600160a01b0390911692636ad882699260248083019392829003018186803b1580156138a257600080fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613c7757805160ff1916838001178555613ca4565b82800160010185558215613ca4579182015b82811115613ca4578251825591602001919060010190613c89565b50613cb0929150613cb4565b5090565b5b80821115613cb05760008155600101613cb5565b60e01c90565b600060443d1015613cdf576117cd565b600481823e6308c379a0613cf38251613cc9565b14613cfd576117cd565b6040513d600319016004823e80513d67ffffffffffffffff8160248401118184111715613d2d57505050506117cd565b82840192508251915080821115613d4757505050506117cd565b503d83016020828401011115613d5f575050506117cd565b601f01601f191681016020016040529150509056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e734d6f64656c2073686f756c6420626520612076616c696420657468657265756d2061646472657373c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656443616e6e6f74206469726563746c792063616c6c2074686973206d6574686f642e457874656e73696f6e20496e69742043616c6c20526573756c74206661696c656421455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66a2646970667358221220a87545248acd7ec56e0feef893863eba51c190658b0bccd607d61106c31c784664736f6c634300060c003343616e6e6f74206469726563746c792063616c6c2074686973206d6574686f642e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102465760003560e01c8063782f08ae1161013b578063c45a0155116100b8578063e82b15f41161007c578063e82b15f414611410578063e985e9c514611452578063eac989f814611480578063edb3ba0b14610615578063f242432a1461148857610246565b8063c45a015514611178578063da1aafea14611180578063e0519081146113ce578063e0ecbcea146113eb578063e6492046146113f357610246565b8063acdd1454116100ff578063acdd145414610e24578063b2b45df514610fd9578063b390c0ab14611112578063bd85b03914611135578063c2ba47441461115257610246565b8063782f08ae14610b7c57806383ca4b6f14610c2757806395d89b4114610d4a5780639b642de114610d52578063a22cb46514610df657610246565b8063313ce567116101c95780634e1273f41161018d5780634e1273f4146106405780634e41a1fb146107b3578063534d4027146107d05780637029144c146109a857806377097fc814610ad157610246565b8063313ce567146105cd5780633f47e662146105d557806340dc7bff146105f2578063434d7d921461061557806345a0ef801461061d57610246565b80630e89341c116102105780630e89341c146103975780631b2ef1ca146103b45780632d5537b0146103d95780632d7f1d2b146103e15780632eb2c2d61461040c57610246565b8062ad800c1461024b578062fdd58e146102dd57806301ffc9a71461031b57806306fdde03146103565780630c0f6b711461035e575b600080fd5b6102686004803603602081101561026157600080fd5b5035611551565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a257818101518382015260200161028a565b50505050905090810190601f1680156102cf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610309600480360360408110156102f357600080fd5b506001600160a01b038135169060200135611686565b60408051918252519081900360200190f35b6103426004803603602081101561033157600080fd5b50356001600160e01b03191661171b565b604080519115158252519081900360200190f35b61026861173a565b61037b6004803603602081101561037457600080fd5b50356117d0565b604080516001600160a01b039092168252519081900360200190f35b610268600480360360208110156103ad57600080fd5b50356117eb565b6103d7600480360360408110156103ca57600080fd5b508035906020013561188c565b005b61037b61193c565b6103e961194b565b604080516001600160a01b03909316835260208301919091528051918290030190f35b6103d7600480360360a081101561042257600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561045557600080fd5b82018360208201111561046757600080fd5b803590602001918460208302840111600160201b8311171561048857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156104d757600080fd5b8201836020820111156104e957600080fd5b803590602001918460208302840111600160201b8311171561050a57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561055957600080fd5b82018360208201111561056b57600080fd5b803590602001918460018302840111600160201b8311171561058c57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061195f945050505050565b610309611b54565b610309600480360360208110156105eb57600080fd5b5035611b71565b6103096004803603604081101561060857600080fd5b5080359060200135611bf9565b610309611c1b565b6103096004803603604081101561063357600080fd5b5080359060200135611c20565b6107636004803603604081101561065657600080fd5b810190602081018135600160201b81111561067057600080fd5b82018360208201111561068257600080fd5b803590602001918460208302840111600160201b831117156106a357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156106f257600080fd5b82018360208201111561070457600080fd5b803590602001918460208302840111600160201b8311171561072557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611c37945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561079f578181015183820152602001610787565b505050509050019250505060405180910390f35b610268600480360360208110156107c957600080fd5b5035611ce0565b610987600480360360a08110156107e657600080fd5b81359190810190604081016020820135600160201b81111561080757600080fd5b82018360208201111561081957600080fd5b803590602001918460018302840111600160201b8311171561083a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561088c57600080fd5b82018360208201111561089e57600080fd5b803590602001918460018302840111600160201b831117156108bf57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561091157600080fd5b82018360208201111561092357600080fd5b803590602001918460018302840111600160201b8311171561094457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050503515159050611d23565b604080519283526001600160a01b0390911660208301528051918290030190f35b6103d7600480360360408110156109be57600080fd5b810190602081018135600160201b8111156109d857600080fd5b8201836020820111156109ea57600080fd5b803590602001918460018302840111600160201b83111715610a0b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610a5d57600080fd5b820183602082011115610a6f57600080fd5b803590602001918460018302840111600160201b83111715610a9057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612160945050505050565b61098760048036036040811015610ae757600080fd5b81359190810190604081016020820135600160201b811115610b0857600080fd5b820183602082011115610b1a57600080fd5b803590602001918460018302840111600160201b83111715610b3b57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061223d945050505050565b6103d760048036036040811015610b9257600080fd5b81359190810190604081016020820135600160201b811115610bb357600080fd5b820183602082011115610bc557600080fd5b803590602001918460018302840111600160201b83111715610be657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612277945050505050565b6103d760048036036040811015610c3d57600080fd5b810190602081018135600160201b811115610c5757600080fd5b820183602082011115610c6957600080fd5b803590602001918460208302840111600160201b83111715610c8a57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610cd957600080fd5b820183602082011115610ceb57600080fd5b803590602001918460208302840111600160201b83111715610d0c57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612338945050505050565b61026861245d565b6103d760048036036020811015610d6857600080fd5b810190602081018135600160201b811115610d8257600080fd5b820183602082011115610d9457600080fd5b803590602001918460018302840111600160201b83111715610db557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506124bb945050505050565b6103d760048036036040811015610e0c57600080fd5b506001600160a01b038135169060200135151561251f565b61098760048036036080811015610e3a57600080fd5b81359190810190604081016020820135600160201b811115610e5b57600080fd5b820183602082011115610e6d57600080fd5b803590602001918460018302840111600160201b83111715610e8e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610ee057600080fd5b820183602082011115610ef257600080fd5b803590602001918460018302840111600160201b83111715610f1357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610f6557600080fd5b820183602082011115610f7757600080fd5b803590602001918460018302840111600160201b83111715610f9857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506125ea945050505050565b6103d760048036036060811015610fef57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561101957600080fd5b82018360208201111561102b57600080fd5b803590602001918460018302840111600160201b8311171561104c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561109e57600080fd5b8201836020820111156110b057600080fd5b803590602001918460018302840111600160201b831117156110d157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612608945050505050565b6103d76004803603604081101561112857600080fd5b508035906020013561263f565b6103096004803603602081101561114b57600080fd5b503561267f565b6103426004803603602081101561116857600080fd5b50356001600160a01b03166126c6565b61037b6126da565b610268600480360360c081101561119657600080fd5b810190602081018135600160201b8111156111b057600080fd5b8201836020820111156111c257600080fd5b803590602001918460018302840111600160201b831117156111e357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561123557600080fd5b82018360208201111561124757600080fd5b803590602001918460018302840111600160201b8311171561126857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929584351515959094909350604081019250602001359050600160201b8111156112c457600080fd5b8201836020820111156112d657600080fd5b803590602001918460018302840111600160201b831117156112f757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092956001600160a01b03853516959094909350604081019250602001359050600160201b81111561135a57600080fd5b82018360208201111561136c57600080fd5b803590602001918460018302840111600160201b8311171561138d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506126e9945050505050565b610342600480360360208110156113e457600080fd5b503561278f565b6103d76127bc565b6103d76004803603602081101561140957600080fd5b5035612824565b6103d7600480360360a081101561142657600080fd5b506001600160a01b03813581169160208101358216916040820135169060608101359060800135612936565b6103426004803603604081101561146857600080fd5b506001600160a01b0381358116916020013516612a05565b610268612a30565b6103d7600480360360a081101561149e57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b8111156114dd57600080fd5b8201836020820111156114ef57600080fd5b803590602001918460018302840111600160201b8311171561151057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612a91945050505050565b606061155c826117d0565b6001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561159457600080fd5b505afa1580156115a8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156115d157600080fd5b8101908080516040519392919084600160201b8211156115f057600080fd5b90830190602082018581111561160557600080fd5b8251600160201b81118282018810171561161e57600080fd5b82525081516020918201929091019080838360005b8381101561164b578181015183820152602001611633565b50505050905090810190601f1680156116785780820380516001836020036101000a031916815260200191505b506040525050509050919050565b600061171282611695846117d0565b6001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156116e157600080fd5b505afa1580156116f5573d6000803e3d6000fd5b505050506040513d602081101561170b57600080fd5b5051611c20565b90505b92915050565b6001600160e01b03191660009081526020819052604090205460ff1690565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156117c55780601f1061179a576101008083540402835291602001916117c5565b820191906000526020600020905b8154815290600101906020018083116117a857829003601f168201915b505050505090505b90565b6000908152600460205260409020546001600160a01b031690565b60008181526003602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156118805780601f1061185557610100808354040283529160200191611880565b820191906000526020600020905b81548152906001019060200180831161186357829003601f168201915b50505050509050919050565b6118958261278f565b6118dd576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420616374696f6e2160601b604482015290519081900360640190fd5b6118e6336126c6565b61192e576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420616374696f6e2160601b604482015290519081900360640190fd5b6119388282612ba7565b5050565b600b546001600160a01b031690565b6007546008546001600160a01b0390911691565b6001600160a01b0384166119a45760405162461bcd60e51b8152600401808060200182810382526025815260200180613ea56025913960400191505060405180910390fd5b6119ac612cda565b6001600160a01b0316856001600160a01b031614806119d757506119d7856119d2612cda565b612a05565b611a125760405162461bcd60e51b8152600401808060200182810382526029815260200180613e396029913960400191505060405180910390fd5b60005b8351811015611a5857611a508686868481518110611a2f57fe5b6020026020010151868581518110611a4357fe5b6020026020010151612cde565b600101611a15565b506000611a63612cda565b9050846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015611aea578181015183820152602001611ad2565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015611b29578181015183820152602001611b11565b5050505090500194505050505060405180910390a4611b4c818787878787612d91565b505050505050565b600d5460009060ff16611b68576001611b6c565b6009545b905090565b600d5460009060ff1615611bf157611b88826117d0565b6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611bc057600080fd5b505afa158015611bd4573d6000803e3d6000fd5b505050506040513d6020811015611bea57600080fd5b5051611715565b600192915050565b600d5460009060ff16611c1557611c108383613045565b611712565b50919050565b600190565b600d5460009060ff16611c1557611c1083836130c1565b6060825167ffffffffffffffff81118015611c5157600080fd5b50604051908082528060200260200182016040528015611c7b578160200160208202803683370190505b50905060005b8351811015611cd957611cba848281518110611c9957fe5b6020026020010151848381518110611cad57fe5b6020026020010151611686565b828281518110611cc657fe5b6020908102919091010152600101611c81565b5092915050565b6060611ceb826117d0565b6001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561159457600080fd5b600080611d2f336126c6565b611d77576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420616374696f6e2160601b604482015290519081900360640190fd5b83516020850120600080516020613e198339815191521415611dd6576040805162461bcd60e51b81526020600482015260136024820152725572692063616e6e6f7420626520656d70747960681b604482015290519081900360640190fd5b6060600080516020613e1983398151915287805190602001201415611e845760018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611e7a5780601f10611e4f57610100808354040283529160200191611e7a565b820191906000526020600020905b815481529060010190602001808311611e5d57829003601f168201915b5050505050611e86565b865b90506060600080516020613e1983398151915287805190602001201415611f34576002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015611f2a5780601f10611eff57610100808354040283529160200191611f2a565b820191906000526020600020905b815481529060010190602001808311611f0d57829003601f168201915b5050505050611f36565b865b90506000611f4261194b565b5090506000611f5082613126565b6001600160a01b038116600081815260046020908152604080832080546001600160a01b0319168517905560058252808320805460ff19166001179055600382529091208b51929950929750879350611fad9291908b0190613c36565b5086600e600088815260200190815260200160002060006101000a81548160ff021916908315150217905550806001600160a01b031663620b29cd8786866009546040518563ffffffff1660e01b8152600401808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b8381101561204a578181015183820152602001612032565b50505050905090810190601f1680156120775780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156120aa578181015183820152602001612092565b50505050905090810190601f1680156120d75780820380516001836020036101000a031916815260200191505b509650505050505050600060405180830381600087803b1580156120fa57600080fd5b505af115801561210e573d6000803e3d6000fd5b50506040516001600160a01b03881692508891507f0c4ad8244c49e226fa47310564e3a7d0bb97b9808742e9159b5fd2e62033f88490600090a3612152868c612ba7565b505050509550959350505050565b600a546001600160a01b0316156121b5576040805162461bcd60e51b8152602060048201526014602482015273496e697420616c72656164792063616c6c65642160601b604482015290519081900360640190fd5b600a80546001600160a01b031916339081179091556040805163a826080960e01b815281516000939263a82608099260048082019391829003018186803b1580156121ff57600080fd5b505afa158015612213573d6000803e3d6000fd5b505050506040513d604081101561222957600080fd5b50519050612238818484613162565b505050565b60008060405162461bcd60e51b8152600401808060200182810382526021815260200180613e626021913960400191505060405180910390fd5b612280336126c6565b6122c8576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b6122d18261278f565b612319576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b6000828152600360209081526040909120825161223892840190613c36565b60005b825181101561237e5761237483828151811061235357fe5b602002602001015183838151811061236757fe5b6020026020010151613446565b505060010161233b565b5060006001600160a01b0316336001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8585604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156124055781810151838201526020016123ed565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561244457818101518382015260200161242c565b5050505090500194505050505060405180910390a45050565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156117c55780601f1061179a576101008083540402835291602001916117c5565b6124c4336126c6565b61250c576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b805161193890600c906020840190613c36565b6000612529612cda565b9050826001600160a01b0316816001600160a01b0316141561257c5760405162461bcd60e51b8152600401808060200182810382526029815260200180613eca6029913960400191505060405180910390fd5b6001600160a01b03818116600081815260066020908152604080832094881680845294825291829020805460ff1916871515908117909155825190815291517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319281900390910190a3505050565b6000806125fb868686866000611d23565b9150915094509492505050565b60405162461bcd60e51b8152600401808060200182810382526021815260200180613e626021913960400191505060405180910390fd5b6126498282613446565b50506040805183815260208101839052815160009233928392600080516020613df9833981519152929181900390910190a45050565b60006117158261268e846117d0565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156116e157600080fd5b600b546001600160a01b0391821691161490565b600a546001600160a01b031690565b60606126f58787612160565b83516020850120600080516020613e198339815191521415612754576040805162461bcd60e51b81526020600482015260136024820152725572692063616e6e6f7420626520656d70747960681b604482015290519081900360640190fd5b835161276790600c906020870190613c36565b506127728383613538565b600d805460ff191696151596909617909555509295945050505050565b6000818152600e602052604081205460ff1680156117155750600b546001600160a01b0316151592915050565b600b546001600160a01b03163314612812576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b600b80546001600160a01b0319169055565b61282d336126c6565b612875576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420616374696f6e2160601b604482015290519081900360640190fd5b61287e8161278f565b6128c6576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b6000818152600e602052604090205460ff1661291e576040805162461bcd60e51b8152602060048201526012602482015271416c72656164792072656164206f6e6c792160701b604482015290519081900360640190fd5b6000908152600e60205260409020805460ff19169055565b6000828152600460205260409020546001600160a01b03163314612998576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b60006129a48383611c20565b9050806129b157506129fe565b836001600160a01b0316856001600160a01b0316876001600160a01b0316600080516020613df98339815191528685604051808381526020018281526020019250505060405180910390a4505b5050505050565b600b546000906001600160a01b0383811691161415612a2657506001611715565b61171283836136b7565b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156117c55780601f1061179a576101008083540402835291602001916117c5565b6001600160a01b038416612ad65760405162461bcd60e51b8152600401808060200182810382526025815260200180613ea56025913960400191505060405180910390fd5b6000612ae0612cda565b9050806001600160a01b0316866001600160a01b03161480612b075750612b078682612a05565b612b425760405162461bcd60e51b8152600401808060200182810382526029815260200180613e396029913960400191505060405180910390fd5b612b4e86868686612cde565b846001600160a01b0316866001600160a01b0316826001600160a01b0316600080516020613df98339815191528787604051808381526020018281526020019250505060405180910390a4611b4c8187878787876136e5565b6000612bb2836117d0565b600d5490915060009060ff16612bcd57600954600a0a612bd0565b60015b83029050816001600160a01b03166340c10f1933836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612c2b57600080fd5b505af1158015612c3f573d6000803e3d6000fd5b5050604080518781526001600160a01b038616602082015280820187905290517f4e3883c75cc9c752bb1db2e406a822e4a75067ae77ad9a0a4d179f2709b9e1f69350908190036060019150a16000612c99338684613856565b905033600030600080516020613df983398151915288612cbb81878903611c20565b6040805192835260208301919091528051918290030190a45050505050565b3390565b6000612ceb85848461399b565b915050612cf7836117d0565b6001600160a01b03166323b872dd8686846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015612d5e57600080fd5b505af1158015612d72573d6000803e3d6000fd5b505050506040513d6020811015612d8857600080fd5b50505050505050565b612da3846001600160a01b0316613a58565b15611b4c57836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015612e31578181015183820152602001612e19565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015612e70578181015183820152602001612e58565b50505050905001848103825285818151815260200191508051906020019080838360005b83811015612eac578181015183820152602001612e94565b50505050905090810190601f168015612ed95780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015612efe57600080fd5b505af1925050508015612f2357506040513d6020811015612f1e57600080fd5b505160015b612ff657612f2f613ccf565b80612f3a5750612fbf565b8060405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612f84578181015183820152602001612f6c565b50505050905090810190601f168015612fb15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60405162461bcd60e51b8152600401808060200182810382526034815260200180613d756034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b14612d885760405162461bcd60e51b8152600401808060200182810382526028815260200180613da96028913960400191505060405180910390fd5b6000613050836117d0565b6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561308857600080fd5b505afa15801561309c573d6000803e3d6000fd5b505050506040513d60208110156130b257600080fd5b5051600a0a9190910292915050565b6000806000806130d086613a5e565b935050925092508280156130e357508185105b1561310f5760646033830204808611156130fe576001613101565b60005b60ff16945050505050611715565b80600a0a858161311b57fe5b049695505050505050565b60006901000000000000000000820268803b80938091923cf36258807360e81b01176000526020600080f09050803b801561316057611c15565bfe5b6007546001600160a01b0316156131b7576040805162461bcd60e51b8152602060048201526014602482015273496e697420616c72656164792063616c6c65642160601b604482015290519081900360640190fd5b6001600160a01b0383166131fc5760405162461bcd60e51b8152600401808060200182810382526028815260200180613dd16028913960400191505060405180910390fd5b600780546001600160a01b0319166001600160a01b0385169081179091556040805163440eb4bf60e11b8152905163881d697e91600480820192602092909190829003018186803b15801561325057600080fd5b505afa158015613264573d6000803e3d6000fd5b505050506040513d602081101561327a57600080fd5b505160085581516020830120600080516020613e1983398151915214156132dc576040805162461bcd60e51b81526020600482015260116024820152704e616d65206973206d616e6461746f727960781b604482015290519081900360640190fd5b80516020820120600080516020613e19833981519152141561333b576040805162461bcd60e51b815260206004820152601360248201527253796d626f6c206973206d616e6461746f727960681b604482015290519081900360640190fd5b815161334e906001906020850190613c36565b508051613362906002906020840190613c36565b506012600955613378631759616b60e11b613b66565b613388636cdb3d1360e11b613b66565b613397627eeac760e11b613b66565b6133a76313849cfd60e21b613b66565b6133b763a22cb46560e01b613b66565b6133c763e985e9c560e01b613b66565b6133d7637921219560e11b613b66565b6133e76303a24d0760e21b613b66565b6133f763bd85b03960e01b613b66565b613406622b600360e21b613b66565b613416634e41a1fb60e01b613b66565b613426631fa3f33160e11b613b66565b6134366306fdde0360e01b613b66565b6122386395d89b4160e01b613b66565b60008060008061345733878761399b565b91509150848210156134a6576040805162461bcd60e51b8152602060048201526013602482015272125b9cdd59999a58da595b9d08105b5bdd5b9d606a1b604482015290519081900360640190fd5b6134b1338783613bea565b92506134bc866117d0565b6001600160a01b0316639dc29fac338584039650866040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561351757600080fd5b505af115801561352b573d6000803e3d6000fd5b5050505050509250929050565b60606001600160a01b03831661358e576040805162461bcd60e51b8152602060048201526016602482015275457874656e73696f6e206973206d616e6461746f727960501b604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b038516908117909155158015906135ce575081516020830120600080516020613e1983398151915214155b15611715576000836001600160a01b0316836040518082805190602001908083835b6020831061360f5780518252601f1990920191602091820191016135f0565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613671576040519150601f19603f3d011682016040523d82523d6000602084013e613676565b606091505b509250905080611cd95760405162461bcd60e51b8152600401808060200182810382526022815260200180613e836022913960400191505060405180910390fd5b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6136f7846001600160a01b0316613a58565b15611b4c57836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561378657818101518382015260200161376e565b50505050905090810190601f1680156137b35780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b1580156137d657600080fd5b505af19250505080156137fb57506040513d60208110156137f657600080fd5b505160015b61380757612f2f613ccf565b6001600160e01b0319811663f23a6e6160e01b14612d885760405162461bcd60e51b8152600401808060200182810382526028815260200180613da96028913960400191505060405180910390fd5b600a5460408051631702579560e21b815260048101849052815160009384936001600160a01b0390911692635c095e549260248083019392829003018186803b1580156138a257600080fd5b505afa1580156138b6573d6000803e3d6000fd5b505050506040513d60408110156138cc57600080fd5b508051602090910151909250905081158015906138f157506001600160a01b03811615155b15613993576138ff846117d0565b6001600160a01b03166323b872dd8683856040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561396657600080fd5b505af115801561397a573d6000803e3d6000fd5b505050506040513d602081101561399057600080fd5b50505b509392505050565b60008060006139aa8585611bf9565b905060006139b7866117d0565b6001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613a0357600080fd5b505afa158015613a17573d6000803e3d6000fd5b505050506040513d6020811015613a2d57600080fd5b50519050613a3b8787611686565b9350838514613a4a5781613a4c565b805b92505050935093915050565b3b151590565b600080600080613a6d856117d0565b6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015613aa557600080fd5b505afa158015613ab9573d6000803e3d6000fd5b505050506040513d6020811015613acf57600080fd5b505190506001811115613ae55780600a0a613ae8565b60015b9250613af3856117d0565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015613b2b57600080fd5b505afa158015613b3f573d6000803e3d6000fd5b505050506040513d6020811015613b5557600080fd5b505183811115969395509350919050565b6001600160e01b03198082161415613bc5576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600a5460408051636ad8826960e01b815260048101849052815160009384936001600160a01b0390911692636ad882699260248083019392829003018186803b1580156138a257600080fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613c7757805160ff1916838001178555613ca4565b82800160010185558215613ca4579182015b82811115613ca4578251825591602001919060010190613c89565b50613cb0929150613cb4565b5090565b5b80821115613cb05760008155600101613cb5565b60e01c90565b600060443d1015613cdf576117cd565b600481823e6308c379a0613cf38251613cc9565b14613cfd576117cd565b6040513d600319016004823e80513d67ffffffffffffffff8160248401118184111715613d2d57505050506117cd565b82840192508251915080821115613d4757505050506117cd565b503d83016020828401011115613d5f575050506117cd565b601f01601f191681016020016040529150509056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e734d6f64656c2073686f756c6420626520612076616c696420657468657265756d2061646472657373c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656443616e6e6f74206469726563746c792063616c6c2074686973206d6574686f642e457874656e73696f6e20496e69742043616c6c20526573756c74206661696c656421455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66a2646970667358221220a87545248acd7ec56e0feef893863eba51c190658b0bccd607d61106c31c784664736f6c634300060c0033

Deployed Bytecode Sourcemap

66047:7397:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41013:193;;;;;;;;;;;;;;;;-1:-1:-1;41013:193:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42410:254;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42410:254:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;31991:142;;;;;;;;;;;;;;;;-1:-1:-1;31991:142:0;-1:-1:-1;;;;;;31991:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;41214:100;;;:::i;40227:236::-;;;;;;;;;;;;;;;;-1:-1:-1;40227:236:0;;:::i;:::-;;;;-1:-1:-1;;;;;40227:236:0;;;;;;;;;;;;;;42158:181;;;;;;;;;;;;;;;;-1:-1:-1;42158:181:0;;:::i;70531:241::-;;;;;;;;;;;;;;;;-1:-1:-1;70531:241:0;;;;;;;:::i;:::-;;67643:111;;;:::i;39931:188::-;;;:::i;:::-;;;;-1:-1:-1;;;;;39931:188:0;;;;;;;;;;;;;;;;;;;;;62774:921;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62774:921:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62774:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62774:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62774:921:0;;;;;;;;-1:-1:-1;62774:921:0;;-1:-1:-1;;;;;62774:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62774:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62774:921:0;;;;;;;;-1:-1:-1;62774:921:0;;-1:-1:-1;;;;;62774:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62774:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62774:921:0;;-1:-1:-1;62774:921:0;;-1:-1:-1;;;;;62774:921:0:i;68626:126::-;;;:::i;68760:275::-;;;;;;;;;;;;;;;;-1:-1:-1;68760:275:0;;:::i;72741:330::-;;;;;;;;;;;;;;;;-1:-1:-1;72741:330:0;;;;;;;:::i;37522:105::-;;;:::i;73079:362::-;;;;;;;;;;;;;;;;-1:-1:-1;73079:362:0;;;;;;;:::i;42735:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42735:362:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42735:362:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42735:362:0;;;;;;;;-1:-1:-1;42735:362:0;;-1:-1:-1;;;;;42735:362:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42735:362:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42735:362:0;;-1:-1:-1;42735:362:0;;-1:-1:-1;;;;;42735:362:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41468:197;;;;;;;;;;;;;;;;-1:-1:-1;41468:197:0;;:::i;69043:1169::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;69043:1169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;69043:1169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69043:1169:0;;;;;;;;-1:-1:-1;69043:1169:0;;-1:-1:-1;;;;;69043:1169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;69043:1169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69043:1169:0;;;;;;;;-1:-1:-1;69043:1169:0;;-1:-1:-1;;;;;69043:1169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;69043:1169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69043:1169:0;;-1:-1:-1;;;;69043:1169:0;;;;-1:-1:-1;69043:1169:0;:::i;:::-;;;;;;;-1:-1:-1;;;;;69043:1169:0;;;;;;;;;;;;;;;;60149:412;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60149:412:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60149:412:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60149:412:0;;;;;;;;-1:-1:-1;60149:412:0;;-1:-1:-1;;;;;60149:412:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60149:412:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60149:412:0;;-1:-1:-1;60149:412:0;;-1:-1:-1;;;;;60149:412:0:i;61661:237::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61661:237:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61661:237:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61661:237:0;;-1:-1:-1;61661:237:0;;-1:-1:-1;;;;;61661:237:0:i;68078:256::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;68078:256:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;68078:256:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68078:256:0;;-1:-1:-1;68078:256:0;;-1:-1:-1;;;;;68078:256:0:i;71915:330::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71915:330:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71915:330:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71915:330:0;;;;;;;;-1:-1:-1;71915:330:0;;-1:-1:-1;;;;;71915:330:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71915:330:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71915:330:0;;-1:-1:-1;71915:330:0;;-1:-1:-1;;;;;71915:330:0:i;41673:104::-;;;:::i;67913:157::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;67913:157:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;67913:157:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67913:157:0;;-1:-1:-1;67913:157:0;;-1:-1:-1;;;;;67913:157:0:i;43168:402::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;43168:402:0;;;;;;;;;;:::i;70220:303::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70220:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70220:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70220:303:0;;;;;;;;-1:-1:-1;70220:303:0;;-1:-1:-1;;;;;70220:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70220:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70220:303:0;;;;;;;;-1:-1:-1;70220:303:0;;-1:-1:-1;;;;;70220:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70220:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70220:303:0;;-1:-1:-1;70220:303:0;;-1:-1:-1;;;;;70220:303:0:i;59923:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59923:218:0;;;;;;;;;;;;;;;-1:-1:-1;;;59923:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;59923:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59923:218:0;;;;;;;;-1:-1:-1;59923:218:0;;-1:-1:-1;;;;;59923:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;59923:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59923:218:0;;-1:-1:-1;59923:218:0;;-1:-1:-1;;;;;59923:218:0:i;71684:223::-;;;;;;;;;;;;;;;;-1:-1:-1;71684:223:0;;;;;;;:::i;40629:234::-;;;;;;;;;;;;;;;;-1:-1:-1;40629:234:0;;:::i;67762:143::-;;;;;;;;;;;;;;;;-1:-1:-1;67762:143:0;-1:-1:-1;;;;;67762:143:0;;:::i;60674:99::-;;;:::i;66271:581::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66271:581:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66271:581:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66271:581:0;;;;;;;;-1:-1:-1;66271:581:0;;-1:-1:-1;;;;;66271:581:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66271:581:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66271:581:0;;;;;;;;;;;-1:-1:-1;66271:581:0;;;;-1:-1:-1;66271:581:0;;;;-1:-1:-1;;;;66271:581:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66271:581:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66271:581:0;;-1:-1:-1;;;;;66271:581:0;;;;;;;;-1:-1:-1;66271:581:0;;;;-1:-1:-1;66271:581:0;;;;-1:-1:-1;;;;66271:581:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66271:581:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66271:581:0;;-1:-1:-1;66271:581:0;;-1:-1:-1;;;;;66271:581:0:i;68342:171::-;;;;;;;;;;;;;;;;-1:-1:-1;68342:171:0;;:::i;72565:168::-;;;:::i;71378:298::-;;;;;;;;;;;;;;;;-1:-1:-1;71378:298:0;;:::i;45841:416::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45841:416:0;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;72253:304::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;72253:304:0;;;;;;;;;;:::i;68521:97::-;;;:::i;61906:797::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61906:797:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61906:797:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61906:797:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61906:797:0;;-1:-1:-1;61906:797:0;;-1:-1:-1;;;;;61906:797:0:i;41013:193::-;41128:13;41166:25;41182:8;41166:15;:25::i;:::-;-1:-1:-1;;;;;41166:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;41166:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41166:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41166:32:0;;;;;;-1:-1:-1;41166:32:0;;;;;;;;;;-1:-1:-1;41166:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41159:39;;41013:193;;;:::o;42410:254::-;42547:7;42579:77;42601:8;42611:25;42627:8;42611:15;:25::i;:::-;-1:-1:-1;;;;;42611:35:0;;42647:7;42611:44;;;;;;;;;;;;;-1:-1:-1;;;;;42611:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42611:44:0;42579:21;:77::i;:::-;42572:84;;42410:254;;;;;:::o;31991:142::-;-1:-1:-1;;;;;;32092:33:0;32068:4;32092:33;;;;;;;;;;;;;;31991:142::o;41214:100::-;41301:5;41294:12;;;;;;;;-1:-1:-1;;41294:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41268:13;;41294:12;;41301:5;;41294:12;;41301:5;41294:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41214:100;;:::o;40227:236::-;40353:30;40439:15;;;:5;:15;;;;;;-1:-1:-1;;;;;40439:15:0;;40227:236::o;42158:181::-;42310:21;;;;:11;:21;;;;;;;;;42303:28;;;;;;-1:-1:-1;;42303:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42272:13;;42303:28;;;42310:21;42303:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42158:181;;;:::o;70531:241::-;70622:20;70633:8;70622:10;:20::i;:::-;70614:53;;;;;-1:-1:-1;;;70614:53:0;;;;;;;;;;;;-1:-1:-1;;;70614:53:0;;;;;;;;;;;;;;;70686:19;70694:10;70686:7;:19::i;:::-;70678:52;;;;;-1:-1:-1;;;70678:52:0;;;;;;;;;;;;-1:-1:-1;;;70678:52:0;;;;;;;;;;;;;;;70741:23;70747:8;70757:6;70741:5;:23::i;:::-;70531:241;;:::o;67643:111::-;67729:17;;-1:-1:-1;;;;;67729:17:0;67643:111;:::o;39931:188::-;40045:28;;40075:35;;-1:-1:-1;;;;;40045:28:0;;;39931:188;:::o;62774:921::-;-1:-1:-1;;;;;63031:16:0;;63023:66;;;;-1:-1:-1;;;63023:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63130:12;:10;:12::i;:::-;-1:-1:-1;;;;;63122:20:0;:4;-1:-1:-1;;;;;63122:20:0;;:60;;;;63146:36;63163:4;63169:12;:10;:12::i;:::-;63146:16;:36::i;:::-;63100:151;;;;-1:-1:-1;;;63100:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63269:9;63264:126;63288:9;:16;63284:1;:20;63264:126;;;63326:52;63343:4;63349:2;63353:9;63363:1;63353:12;;;;;;;;;;;;;;63367:7;63375:1;63367:10;;;;;;;;;;;;;;63326:16;:52::i;:::-;63306:3;;63264:126;;;;63402:16;63421:12;:10;:12::i;:::-;63402:31;;63481:2;-1:-1:-1;;;;;63451:53:0;63475:4;-1:-1:-1;;;;;63451:53:0;63465:8;-1:-1:-1;;;;;63451:53:0;;63485:9;63496:7;63451:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63517:170;63567:8;63590:4;63609:2;63626:9;63650:7;63672:4;63517:35;:170::i;:::-;62774:921;;;;;;:::o;68626:126::-;68703:25;;68676:7;;68703:25;;:41;;68743:1;68703:41;;;68731:9;;68703:41;68696:48;;68626:126;:::o;68760:275::-;68925:25;;68879:7;;68925:25;;68924:26;:103;;68991:25;69007:8;68991:15;:25::i;:::-;-1:-1:-1;;;;;68991:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68991:36:0;68924:103;;;68970:1;68904:123;68760:275;-1:-1:-1;;68760:275:0:o;72741:330::-;72946:25;;72866:36;;72946:25;;:117;;72996:67;73033:8;73043:19;72996:36;:67::i;:::-;72946:117;;;-1:-1:-1;72974:19:0;72915:148;-1:-1:-1;72741:330:0:o;37522:105::-;37618:1;37522:105;:::o;73079:362::-;73307:25;;73245:27;;73307:25;;:126;;73366:67;73394:8;73404:28;73366:27;:67::i;42735:362::-;42877:25;42940:8;:15;42926:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42926:30:0;;42915:41;;42972:9;42967:123;42991:8;:15;42987:1;:19;42967:123;;;43042:36;43052:8;43061:1;43052:11;;;;;;;;;;;;;;43065:9;43075:1;43065:12;;;;;;;;;;;;;;43042:9;:36::i;:::-;43028:8;43037:1;43028:11;;;;;;;;;;;;;;;;;:50;43008:3;;42967:123;;;;42735:362;;;;:::o;41468:197::-;41585:13;41623:25;41639:8;41623:15;:25::i;:::-;-1:-1:-1;;;;;41623:32:0;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69043:1169;69234:16;69252:22;69300:19;69308:10;69300:7;:19::i;:::-;69292:52;;;;;-1:-1:-1;;;69292:52:0;;;;;;;;;;;;-1:-1:-1;;;69292:52:0;;;;;;;;;;;;;;;69377:27;;;;;;-1:-1:-1;;;;;;;;;;;69377:44:0;;69355:113;;;;;-1:-1:-1;;;69355:113:0;;;;;;;;;;;;-1:-1:-1;;;69355:113:0;;;;;;;;;;;;;;;69479:18;-1:-1:-1;;;;;;;;;;;69516:9:0;69500:27;;;;;;:44;;:64;;69559:5;69500:64;;;;;;;;;;;;;-1:-1:-1;;69500:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;69559:5;69500:64;;69559:5;69500:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69547:9;69500:64;69479:85;;69575:20;-1:-1:-1;;;;;;;;;;;69614:11:0;69598:29;;;;;;:46;;:70;;69661:7;69598:70;;;;;;;;;;;;-1:-1:-1;;69598:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;69661:7;69598:70;;69661:7;69598:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69647:11;69598:70;69575:93;;69680:39;69724:29;:27;:29::i;:::-;69679:74;;;69764:38;69853:39;69860:31;69853:6;:39::i;:::-;-1:-1:-1;;;;;69929:23:0;;69904:67;69912:41;;;:5;:41;;;;;;;;:58;;-1:-1:-1;;;;;;69912:58:0;;;;;69904:7;:67;;;;;:74;;-1:-1:-1;;69904:74:0;69974:4;69904:74;;;69989:11;:21;;;;;:33;;69929:23;;-1:-1:-1;69836:56:0;;-1:-1:-1;69836:56:0;;-1:-1:-1;69989:33:0;;:21;:33;;;;;:::i;:::-;;70055:8;70033:9;:19;70043:8;70033:19;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;70074:7;-1:-1:-1;;;;;70074:12:0;;70087:8;70097:4;70103:6;70111:9;;70074:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70074:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70137:33:0;;-1:-1:-1;;;;;70137:33:0;;;-1:-1:-1;70145:8:0;;-1:-1:-1;70137:33:0;;;;;70181:23;70187:8;70197:6;70181:5;:23::i;:::-;69043:1169;;;;;;;;;;;;:::o;60149:412::-;60273:15;;-1:-1:-1;;;;;60273:15:0;:29;60265:62;;;;;-1:-1:-1;;;60265:62:0;;;;;;;;;;;;-1:-1:-1;;;60265:62:0;;;;;;;;;;;;;;;60409:15;:28;;-1:-1:-1;;;;;;60409:28:0;60427:10;60409:28;;;;;;60393:82;;;-1:-1:-1;;;60393:82:0;;;;60339:49;;60427:10;60393:80;;:82;;;;;;;;;;;60427:10;60393:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60393:82:0;;-1:-1:-1;60486:67:0;60393:82;60540:4;60546:6;60486:10;:67::i;:::-;60149:412;;;:::o;61661:237::-;61813:7;61822;61847:43;;-1:-1:-1;;;61847:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68078:256;68177:19;68185:10;68177:7;:19::i;:::-;68169:52;;;;;-1:-1:-1;;;68169:52:0;;;;;;;;;;;;-1:-1:-1;;;68169:52:0;;;;;;;;;;;;;;;68240:20;68251:8;68240:10;:20::i;:::-;68232:53;;;;;-1:-1:-1;;;68232:53:0;;;;;;;;;;;;-1:-1:-1;;;68232:53:0;;;;;;;;;;;;;;;68296:21;;;;:11;:21;;;;;;;;:30;;;;;;;;:::i;71915:330::-;72053:9;72048:105;72072:9;:16;72068:1;:20;72048:105;;;72110:31;72116:9;72126:1;72116:12;;;;;;;;;;;;;;72130:7;72138:1;72130:10;;;;;;;;;;;;;;72110:5;:31::i;:::-;-1:-1:-1;;72090:3:0;;72048:105;;;;72214:1;-1:-1:-1;;;;;72168:69:0;72194:10;-1:-1:-1;;;;;72168:69:0;72182:10;-1:-1:-1;;;;;72168:69:0;;72218:9;72229:7;72168:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71915:330;;:::o;41673:104::-;41762:7;41755:14;;;;;;;-1:-1:-1;;41755:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41729:13;;41755:14;;41762:7;;41755:14;;41762:7;41755:14;;;;;;;;;;;;;;;;;;;;;;;;67913:157;67994:19;68002:10;67994:7;:19::i;:::-;67986:52;;;;;-1:-1:-1;;;67986:52:0;;;;;;;;;;;;-1:-1:-1;;;67986:52:0;;;;;;;;;;;;;;;68049:13;;;;:4;;:13;;;;;:::i;43168:402::-;43295:14;43312:12;:10;:12::i;:::-;43295:29;;43367:8;-1:-1:-1;;;;;43357:18:0;:6;-1:-1:-1;;;;;43357:18:0;;;43335:109;;;;-1:-1:-1;;;43335:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43457:26:0;;;;;;;:18;:26;;;;;;;;:36;;;;;;;;;;;;;:47;;-1:-1:-1;;43457:47:0;;;;;;;;;;43520:42;;;;;;;;;;;;;;;;;43168:402;;;:::o;70220:303::-;70396:16;70414:22;70461:54;70466:6;70474:9;70485:11;70498:9;70509:5;70461:4;:54::i;:::-;70454:61;;;;70220:303;;;;;;;:::o;59923:218::-;60090:43;;-1:-1:-1;;;60090:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71684:223;71792:23;71798:8;71808:6;71792:5;:23::i;:::-;-1:-1:-1;;71831:68:0;;;;;;;;;;;;;;71878:1;;71858:10;;;;-1:-1:-1;;;;;;;;;;;71831:68:0;;;;;;;;;;71684:223;;:::o;40629:234::-;40751:7;40783:72;40805:8;40815:25;40831:8;40815:15;:25::i;:::-;-1:-1:-1;;;;;40815:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67762:143;67880:17;;-1:-1:-1;;;;;67868:29:0;;;67880:17;;67868:29;;67762:143::o;60674:99::-;60750:15;;-1:-1:-1;;;;;60750:15:0;60674:99;:::o;66271:581::-;66467:38;66518:24;66529:4;66535:6;66518:10;:24::i;:::-;66575:31;;;;;;-1:-1:-1;;;;;;;;;;;66575:48:0;;66553:117;;;;;-1:-1:-1;;;66553:117:0;;;;;;;;;;;;-1:-1:-1;;;66553:117:0;;;;;;;;;;;;;;;66681:20;;;;:4;;:20;;;;;:::i;:::-;;66740:54;66755:16;66773:20;66740:14;:54::i;:::-;66805:25;:39;;-1:-1:-1;;66805:39:0;;;;;;;;;;;-1:-1:-1;66805:39:0;;66712:82;-1:-1:-1;;;;;66271:581:0:o;68342:171::-;68418:11;68451:19;;;:9;:19;;;;;;;;:54;;;;-1:-1:-1;68474:17:0;;-1:-1:-1;;;;;68474:17:0;:31;;68442:63;68342:171;-1:-1:-1;;68342:171:0:o;72565:168::-;72642:17;;-1:-1:-1;;;;;72642:17:0;72628:10;:31;72620:64;;;;;-1:-1:-1;;;72620:64:0;;;;;;;;;;;;-1:-1:-1;;;72620:64:0;;;;;;;;;;;;;;;72695:17;:30;;-1:-1:-1;;;;;;72695:30:0;;;72565:168::o;71378:298::-;71461:19;71469:10;71461:7;:19::i;:::-;71453:52;;;;;-1:-1:-1;;;71453:52:0;;;;;;;;;;;;-1:-1:-1;;;71453:52:0;;;;;;;;;;;;;;;71524:20;71535:8;71524:10;:20::i;:::-;71516:53;;;;;-1:-1:-1;;;71516:53:0;;;;;;;;;;;;-1:-1:-1;;;71516:53:0;;;;;;;;;;;;;;;71588:19;;;;:9;:19;;;;;;;;71580:50;;;;;-1:-1:-1;;;71580:50:0;;;;;;;;;;;;-1:-1:-1;;;71580:50:0;;;;;;;;;;;;;;;71663:5;71641:19;;;:9;:19;;;;;:27;;-1:-1:-1;;71641:27:0;;;71378:298::o;45841:416::-;45985:15;;;;:5;:15;;;;;;-1:-1:-1;;;;;45985:15:0;46004:10;45985:29;45977:62;;;;;-1:-1:-1;;;45977:62:0;;;;;;;;;;;;-1:-1:-1;;;45977:62:0;;;;;;;;;;;;;;;46050:20;46073:39;46095:8;46105:6;46073:21;:39::i;:::-;46050:62;-1:-1:-1;46126:17:0;46123:55;;46160:7;;;46123:55;46222:2;-1:-1:-1;;;;;46193:56:0;46216:4;-1:-1:-1;;;;;46193:56:0;46208:6;-1:-1:-1;;;;;46193:56:0;-1:-1:-1;;;;;;;;;;;46226:8:0;46236:12;46193:56;;;;;;;;;;;;;;;;;;;;;;;;45841:416;;;;;;;:::o;72253:304::-;72434:17;;72397:4;;-1:-1:-1;;;;;72422:29:0;;;72434:17;;72422:29;72419:72;;;-1:-1:-1;72475:4:0;72468:11;;72419:72;72508:41;72531:7;72540:8;72508:22;:41::i;68521:97::-;68606:4;68599:11;;;;;;;;-1:-1:-1;;68599:11:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68573:13;;68599:11;;68606:4;;68599:11;;68606:4;68599:11;;;;;;;;;;;;;;;;;;;;;;;;61906:797;-1:-1:-1;;;;;62138:16:0;;62130:66;;;;-1:-1:-1;;;62130:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62207:16;62226:12;:10;:12::i;:::-;62207:31;;62279:8;-1:-1:-1;;;;;62271:16:0;:4;-1:-1:-1;;;;;62271:16:0;;:52;;;;62291:32;62308:4;62314:8;62291:16;:32::i;:::-;62249:143;;;;-1:-1:-1;;;62249:143:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62405:44;62422:4;62428:2;62432:8;62442:6;62405:16;:44::i;:::-;62498:2;-1:-1:-1;;;;;62467:52:0;62492:4;-1:-1:-1;;;;;62467:52:0;62482:8;-1:-1:-1;;;;;62467:52:0;-1:-1:-1;;;;;;;;;;;62502:8:0;62512:6;62467:52;;;;;;;;;;;;;;;;;;;;;;;;62532:163;62577:8;62600:4;62619:2;62636:8;62659:6;62680:4;62532:30;:163::i;70780:590::-;70857:38;70898:25;70914:8;70898:15;:25::i;:::-;70971;;70857:66;;-1:-1:-1;70934:24:0;;70971:25;;:47;;71008:9;;71004:2;:13;70971:47;;;70999:1;70971:47;70961:6;:58;70934:85;;71030:7;-1:-1:-1;;;;;71030:12:0;;71043:10;71055:16;71030:42;;;;;;;;;;;;;-1:-1:-1;;;;;71030:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71088:40:0;;;;;;-1:-1:-1;;;;;71088:40:0;;;;;;;;;;;;;;;;-1:-1:-1;71088:40:0;;;;;;;-1:-1:-1;71088:40:0;71139:19;71161:57;71179:10;71191:8;71201:16;71161:17;:57::i;:::-;71139:79;-1:-1:-1;71276:10:0;71272:1;71257:4;-1:-1:-1;;;;;;;;;;;71288:8:0;71298:63;71288:8;71330:30;;;71298:21;:63::i;:::-;71234:128;;;;;;;;;;;;;;;;;;;;;;70780:590;;;;;:::o;19125:106::-;19213:10;19125:106;:::o;63703:271::-;63819:14;63837:62;63876:4;63882:8;63892:6;63837:38;:62::i;:::-;63817:82;;;63910:25;63926:8;63910:15;:25::i;:::-;-1:-1:-1;;;;;63910:38:0;;63949:4;63955:2;63959:6;63910:56;;;;;;;;;;;;;-1:-1:-1;;;;;63910:56:0;;;;;;-1:-1:-1;;;;;63910:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;63703:271:0:o;47785:1009::-;48034:15;:2;-1:-1:-1;;;;;48034:13:0;;:15::i;:::-;48030:757;;;48104:2;-1:-1:-1;;;;;48087:43:0;;48153:8;48184:4;48211:3;48237:7;48267:4;48087:203;;;;;;;;;;;;;-1:-1:-1;;;;;48087:203:0;;;;;;-1:-1:-1;;;;;48087:203:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48087:203:0;;;48066:710;;;;:::i;:::-;;;;;;;;48649:6;48642:14;;-1:-1:-1;;;48642:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48066:710;48698:62;;-1:-1:-1;;;48698:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48066:710;-1:-1:-1;;;;;;48375:85:0;;-1:-1:-1;;;48375:85:0;48349:224;;48503:50;;-1:-1:-1;;;48503:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46265:277;46390:36;46497:25;46513:8;46497:15;:25::i;:::-;-1:-1:-1;;;;;46497:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46497:36:0;46493:2;:40;46470:64;;;;;46265:277;-1:-1:-1;;46265:277:0:o;65343:591::-;65513:27;65554:11;65567:13;65583:21;65608:19;65618:8;65608:9;:19::i;:::-;65553:74;;;;;;;65641:6;:46;;;;;65682:5;65651:28;:36;65641:46;65638:199;;;65734:3;65728:2;65720:10;;65719:18;65781:36;;;;:44;;65824:1;65781:44;;;65820:1;65781:44;65759:66;;;;65752:73;;;;;;65638:199;65912:13;65908:2;:17;65876:28;:50;;;;;;;65343:591;-1:-1:-1;;;;;;65343:591:0:o;48802:500::-;48854:12;49076:21;49066:8;49062:36;-1:-1:-1;;;;;48948:169:0;48928:1;48903:229;49167:2;49164:1;49161;49154:16;49146:24;-1:-1:-1;49191:17:0;;49226:58;;;;49184:100;;49226:58;49256:9;35805:1709;35989:28;;-1:-1:-1;;;;;35989:28:0;:42;35967:112;;;;;-1:-1:-1;;;35967:112:0;;;;;;;;;;;;-1:-1:-1;;;35967:112:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;36114:41:0;;36092:131;;;;-1:-1:-1;;;36092:131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36303:28;:58;;-1:-1:-1;;;;;;36303:58:0;-1:-1:-1;;;;;36303:58:0;;;;;;;;36272:122;;;-1:-1:-1;;;36272:122:0;;;;:120;;:122;;;;;;;;;;;;;;;36303:58;36272:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36272:122:0;36234:35;:160;36427:22;;36272:122;36427:22;;;-1:-1:-1;;;;;;;;;;;36427:39:0;;36405:106;;;;;-1:-1:-1;;;36405:106:0;;;;;;;;;;;;-1:-1:-1;;;36405:106:0;;;;;;;;;;;;;;;36544:24;;;;;;-1:-1:-1;;;;;;;;;;;36544:41:0;;36522:110;;;;;-1:-1:-1;;;36522:110:0;;;;;;;;;;;;-1:-1:-1;;;36522:110:0;;;;;;;;;;;;;;;36645:12;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;36668:16:0;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;36707:2:0;36695:9;:14;36722:55;-1:-1:-1;;;36722:18:0;:55::i;:::-;36788:46;-1:-1:-1;;;36788:18:0;:46::i;:::-;36845:43;-1:-1:-1;;;36845:18:0;:43::i;:::-;36899:48;-1:-1:-1;;;36899:18:0;:48::i;:::-;36958:51;-1:-1:-1;;;36958:18:0;:51::i;:::-;37020:50;-1:-1:-1;;;37020:18:0;:50::i;:::-;37081;-1:-1:-1;;;37081:18:0;:50::i;:::-;37142:37;-1:-1:-1;;;37142:18:0;:37::i;:::-;37190:45;-1:-1:-1;;;37190:18:0;:45::i;:::-;37246:30;-1:-1:-1;;;37246:18:0;:30::i;:::-;37303;-1:-1:-1;;;37303:18:0;:30::i;:::-;37362:42;-1:-1:-1;;;37362:18:0;:42::i;:::-;37415:30;-1:-1:-1;;;37415:18:0;:30::i;:::-;37465;-1:-1:-1;;;37465:18:0;:30::i;64457:492::-;64556:13;64571:20;64605:23;64630:14;64648:68;64687:10;64699:8;64709:6;64648:38;:68::i;:::-;64604:112;;;;64754:6;64735:15;:25;;64727:57;;;;;-1:-1:-1;;;64727:57:0;;;;;;;;;;;;-1:-1:-1;;;64727:57:0;;;;;;;;;;;;;;;64810:47;64828:10;64840:8;64850:6;64810:17;:47::i;:::-;64795:62;;64868:25;64884:8;64868:15;:25::i;:::-;-1:-1:-1;;;;;64868:30:0;;64899:10;64928:12;64919:6;:21;64911:29;;;64868:73;;;;;;;;;;;;;-1:-1:-1;;;;;64868:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64457:492;;;;;;;:::o;66860:775::-;66970:38;-1:-1:-1;;;;;67029:30:0;;67021:65;;;;;-1:-1:-1;;;67021:65:0;;;;;;;;;;;;-1:-1:-1;;;67021:65:0;;;;;;;;;;;;;;;67097:17;:36;;-1:-1:-1;;;;;;67097:36:0;-1:-1:-1;;;;;67097:36:0;;;;;;;;67162:30;;;;:95;;-1:-1:-1;67209:31:0;;;;;;-1:-1:-1;;;;;;;;;;;67209:48:0;;67162:95;67144:484;;;67284:28;67439:16;-1:-1:-1;;;;;67439:21:0;67461:20;67439:43;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67439:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67335:147:0;-1:-1:-1;67335:147:0;-1:-1:-1;67335:147:0;67497:119;;;;-1:-1:-1;;;67497:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43641:218;-1:-1:-1;;;;;43814:27:0;;;43785:4;43814:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;43641:218::o;46826:951::-;47050:15;:2;-1:-1:-1;;;;;47050:13:0;;:15::i;:::-;47046:724;;;47120:2;-1:-1:-1;;;;;47103:38:0;;47164:8;47195:4;47222:2;47247:6;47276:4;47103:196;;;;;;;;;;;;;-1:-1:-1;;;;;47103:196:0;;;;;;-1:-1:-1;;;;;47103:196:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47103:196:0;;;47082:677;;;;:::i;:::-;-1:-1:-1;;;;;;47384:59:0;;-1:-1:-1;;;47384:59:0;47358:198;;47486:50;;-1:-1:-1;;;47486:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60781:432;60998:15;;60982:69;;;-1:-1:-1;;;60982:69:0;;;;;;;;;;60893:20;;;;-1:-1:-1;;;;;60998:15:0;;;;60982:49;;:69;;;;;;;;;;;60998:15;60982:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60982:69:0;;;;;;;;;-1:-1:-1;60982:69:0;-1:-1:-1;61065:16:0;;;;;:43;;-1:-1:-1;;;;;;61085:23:0;;;;61065:43;61062:144;;;61125:25;61141:8;61125:15;:25::i;:::-;-1:-1:-1;;;;;61125:38:0;;61164:4;61170:9;61181:12;61125:69;;;;;;;;;;;;;-1:-1:-1;;;;;61125:69:0;;;;;;-1:-1:-1;;;;;61125:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61062:144:0;60781:432;;;;;;:::o;63982:467::-;64108:23;64133:14;64160:18;64181:48;64212:8;64222:6;64181:30;:48::i;:::-;64160:69;;64240:25;64268;64284:8;64268:15;:25::i;:::-;-1:-1:-1;;;;;64268:35:0;;64304:4;64268:41;;;;;;;;;;;;;-1:-1:-1;;;;;64268:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64268:41:0;;-1:-1:-1;64338:25:0;64348:4;64354:8;64338:9;:25::i;:::-;64320:43;;64393:15;64383:6;:25;:58;;64431:10;64383:58;;;64411:17;64383:58;64374:67;;63982:467;;;;;;;;:::o;25692:422::-;26059:20;26098:8;;;25692:422::o;64957:378::-;65025:11;65038:13;65053:19;65074:21;65124:25;65140:8;65124:15;:25::i;:::-;-1:-1:-1;;;;;65124:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65124:36:0;;-1:-1:-1;65196:1:0;65179:18;;;:44;;65209:13;65205:2;:17;65179:44;;;65200:1;65179:44;65171:52;;65248:25;65264:8;65248:15;:25::i;:::-;-1:-1:-1;;;;;65248:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65248:39:0;65307:20;;;;;65322:5;;-1:-1:-1;65248:39:0;-1:-1:-1;64957:378:0;;-1:-1:-1;64957:378:0:o;32540:201::-;-1:-1:-1;;;;;;32624:25:0;;;;;32616:66;;;;;-1:-1:-1;;;32616:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32693:33:0;:20;:33;;;;;;;;;;:40;;-1:-1:-1;;32693:40:0;32729:4;32693:40;;;32540:201::o;61221:432::-;61438:15;;61422:69;;;-1:-1:-1;;;61422:69:0;;;;;;;;;;61333:20;;;;-1:-1:-1;;;;;61438:15:0;;;;61422:49;;:69;;;;;;;;;;;61438:15;61422:69;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;110:106;195:3;191:15;;163:53::o;224:739::-;;297:4;279:16;276:26;273:2;;;305:5;;273:2;339:1;-1:-1;;318:23;414:10;357:34;-1:-1;382:8;357:34;:::i;:::-;406:19;396:2;;429:5;;396:2;460;454:9;496:16;-1:-1;;492:24;339:1;454:9;468:49;543:4;537:11;624:16;576:18;624:16;617:4;609:6;605:17;602:39;576:18;568:6;565:30;556:91;553:2;;;655:5;;;;;;553:2;693:6;687:4;683:17;672:28;;725:3;719:10;705:24;;576:18;740:6;737:30;734:2;;;770:5;;;;;;734:2;;847:16;841:4;837:27;807:4;814:6;802:3;794:27;;829:36;826:2;;;868:5;;;;;826:2;89:7;73:14;-1:-1;;69:28;892:50;;807:4;892:50;460:2;881:62;900:3;-1:-1;;267:696;:::o

Swarm Source

ipfs://a87545248acd7ec56e0feef893863eba51c190658b0bccd607d61106c31c7846
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.