Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
0 IERC20
Holders
12
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xC57938f4...F9C64F5EE The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ERC20WrapperV1
Compiler Version
v0.6.12+commit.27d51765
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\ERC20Wrapper\1\IERC20WrapperV1.sol //SPDX_License_Identifier: MIT pragma solidity ^0.6.0; /** * @title ERC20-Based EthItem, version 1. * @dev All the wrapped ERC20 Tokens will be created following this Model. * The minting operation can be done by calling the appropriate method given in this interface. * The burning operation will send back the original wrapped ERC20 amount. * To initalize it, the original 'init(address,string,string)' * function of the EthItem Token Standard will be used, but the first address parameter will be the original ERC20 Source Contract to Wrap, and NOT the ERC20Model, which is always taken by the Contract who creates the Wrapper. */ interface IERC20WrapperV1 is IEthItemModelBase { /** * @param objectId the Object Id you want to know info about * @return erc20TokenAddress the wrapped ERC20 Token address corresponding to the given objectId */ function source(uint256 objectId) external view returns (address erc20TokenAddress); /** * @param erc20TokenAddress the wrapped ERC20 Token address you want to know info about * @return objectId the id in the collection which correspondes to the given erc20TokenAddress */ function object(address erc20TokenAddress) external view returns (uint256 objectId); /** * @dev Mint operation. * It inhibits and bypasses the original EthItem Token Standard 'mint(uint256,string)'. * The logic will execute a transferFrom call to the given erc20TokenAddress to transfer the chosed amount of tokens * @param erc20TokenAddress The token address to wrap. * @param amount The token amount to wrap * * @return objectId the id given by this collection to the given erc20TokenAddress. It can be brand new if it is the first time this collection is created. Otherwhise, the firstly-created objectId value will be used. * @return wrapperAddress The address ethItemERC20Wrapper generated after the creation of the returned objectId */ function mint(address erc20TokenAddress, uint256 amount) external returns (uint256 objectId, address wrapperAddress); function mintETH() external payable returns (uint256 objectId, address wrapperAddress); } // 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\ERC20Wrapper\1\ERC20WrapperV1.sol //SPDX_License_Identifier: MIT pragma solidity ^0.6.0; contract ERC20WrapperV1 is IERC20WrapperV1, EthItemModelBase { uint256 public constant ETHEREUM_OBJECT_ID = uint256(keccak256(bytes("THE ETHEREUM OBJECT IT"))); mapping(uint256 => address) internal _sources; mapping(uint256 => uint256) internal _decimalsMap; mapping(address => uint256) internal _objects; function init( string memory name, string memory symbol ) public virtual override(IEthItemModelBase, EthItemModelBase) { super.init(name, symbol); (address interoperableInterfaceModelAddress,) = interoperableInterfaceModel(); _isMine[_dest[ETHEREUM_OBJECT_ID] = _clone(interoperableInterfaceModelAddress)] = true; IEthItemInteroperableInterface(_dest[ETHEREUM_OBJECT_ID]).init(ETHEREUM_OBJECT_ID, "EthereumItem", "IETH", _decimalsMap[ETHEREUM_OBJECT_ID] = _decimals); emit NewItem(ETHEREUM_OBJECT_ID, _dest[ETHEREUM_OBJECT_ID]); emit Mint(ETHEREUM_OBJECT_ID, _dest[ETHEREUM_OBJECT_ID], 0); } function source(uint256 objectId) public override virtual view returns (address erc20TokenAddress) { erc20TokenAddress = _sources[objectId]; } function object(address erc20TokenAddress) public override virtual view returns (uint256 objectId) { objectId = _objects[erc20TokenAddress]; } function mintETH() public virtual payable override returns (uint256 objectId, address wrapperAddress) { require(msg.value > 0, "Insufficient amount"); _mintItems(objectId = ETHEREUM_OBJECT_ID, wrapperAddress = _dest[ETHEREUM_OBJECT_ID], msg.value); } function mint(address erc20TokenAddress, uint256 amount) public virtual override returns (uint256 objectId, address wrapperAddress) { wrapperAddress = _dest[objectId = _objects[erc20TokenAddress]]; if (wrapperAddress == address(0)) { (address interoperableInterfaceModelAddress,) = interoperableInterfaceModel(); objectId = uint256(wrapperAddress = _clone(interoperableInterfaceModelAddress)); _isMine[_dest[objectId] = wrapperAddress] = true; _sources[objectId] = erc20TokenAddress; _objects[erc20TokenAddress] = objectId; (string memory name, string memory symbol, uint256 dec) = _getMintData(erc20TokenAddress); _decimalsMap[objectId] = dec; IEthItemInteroperableInterface(wrapperAddress).init(objectId, name, symbol, _decimals); emit NewItem(objectId, wrapperAddress); } _safeTransferFrom(IERC20Data(erc20TokenAddress), msg.sender, address(this), amount); _mintItems(objectId, wrapperAddress, amount); } function _mintItems(uint256 objectId, address wrapperAddress, uint256 amount) internal virtual { uint256 itemAmountDecimals = amount * _itemDecimals(objectId); asInteroperable(objectId).mint(msg.sender, itemAmountDecimals); uint256 itemAmount = itemAmountDecimals - _sendMintFeeToDFO(msg.sender, objectId, itemAmountDecimals); if(itemAmount > 0) { emit Mint(objectId, wrapperAddress, itemAmount); emit TransferSingle(address(this), address(0), msg.sender, objectId, itemAmount); } } function burn( uint256 objectId, uint256 amount ) public virtual override(IEthItemMainInterface) { _burn(objectId, amount); emit TransferSingle(msg.sender, msg.sender, address(0), objectId, amount); } function burnBatch( uint256[] memory objectIds, uint256[] memory amounts ) public virtual override(IEthItemMainInterface) { for (uint256 i = 0; i < objectIds.length; i++) { _burn(objectIds[i], amounts[i]); } emit TransferBatch(msg.sender, msg.sender, address(0), objectIds, amounts); } function _burn( uint256 objectId, uint256 amount ) internal virtual override returns(uint256 burnt, uint256) { (burnt,) = super._burn(objectId, amount); uint256 value = burnt / _itemDecimals(objectId); if(objectId == ETHEREUM_OBJECT_ID) { msg.sender.transfer(value); } else { _safeTransfer(IERC20Data(source(objectId)), msg.sender, value); } } function _getMintData(address erc20TokenAddress) internal virtual view returns ( string memory name, string memory symbol, uint256 dec ) { IERC20Data erc20Token = IERC20Data(erc20TokenAddress); name = _safeName(erc20Token); if(keccak256(bytes(name)) == keccak256("")) { name = _toString(erc20TokenAddress); } name = string(abi.encodePacked(name, "Item")); symbol = _safeSymbol(erc20Token); if(keccak256(bytes(symbol)) == keccak256("")) { symbol = _toString(erc20TokenAddress); } symbol = string(abi.encodePacked("I", symbol)); dec = _safeDecimals(erc20Token); if(dec == 0) { dec = _decimals; } } function _itemDecimals(uint256 objectId) internal view returns(uint256) { return (10**(_decimals - _decimalsMap[objectId])); } function _safeTransfer(IERC20Data erc20Token, address to, uint value) internal { (bool success, bytes memory data) = address(erc20Token).call(abi.encodeWithSelector(erc20Token.transfer.selector, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TRANSFER_FAILED'); } function _safeTransferFrom(IERC20Data erc20Token, address from, address to, uint value) internal { (bool success, bytes memory data) = address(erc20Token).call(abi.encodeWithSelector(erc20Token.transferFrom.selector, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TRANSFERFROM_FAILED'); } function _safeName(IERC20Data erc20Token) internal view returns(string memory name) { (, bytes memory data) = address(erc20Token).staticcall(abi.encodeWithSelector(erc20Token.name.selector)); name = data.length == 0 ? "" : abi.decode(data, (string)); } function _safeSymbol(IERC20Data erc20Token) internal view returns(string memory symbol) { (, bytes memory data) = address(erc20Token).staticcall(abi.encodeWithSelector(erc20Token.symbol.selector)); symbol = data.length == 0 ? "" : abi.decode(data, (string)); } function _safeDecimals(IERC20Data erc20Token) internal view returns(uint256 dec) { (, bytes memory data) = address(erc20Token).staticcall(abi.encodeWithSelector(erc20Token.decimals.selector)); dec = data.length == 0 ? 0 : abi.decode(data, (uint256)); } function _toString(address _addr) internal pure returns(string memory) { bytes32 value = bytes32(uint256(_addr)); bytes memory alphabet = "0123456789abcdef"; bytes memory str = new bytes(42); str[0] = '0'; str[1] = 'x'; for (uint i = 0; i < 20; i++) { str[2+i*2] = alphabet[uint(uint8(value[i + 12] >> 4))]; str[3+i*2] = alphabet[uint(uint8(value[i + 12] & 0x0f))]; } return string(str); } function decimals(uint256 objectId) public view virtual override returns (uint256) { return asInteroperable(objectId).decimals(); } function toInteroperableInterfaceAmount(uint256, uint256 mainInterfaceAmount) public override virtual view returns (uint256 interoperableInterfaceAmount) { interoperableInterfaceAmount = mainInterfaceAmount; } function toMainInterfaceAmount(uint256, uint256 interoperableInterfaceAmount) public override(IEthItemMainInterface, EthItemModelBase) virtual view returns (uint256 mainInterfaceAmount) { mainInterfaceAmount = interoperableInterfaceAmount; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":[],"name":"ETHEREUM_OBJECT_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"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":"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":[],"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":[],"name":"mainInterfaceVersion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"erc20TokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"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":[],"name":"mintETH","outputs":[{"internalType":"uint256","name":"objectId","type":"uint256"},{"internalType":"address","name":"wrapperAddress","type":"address"}],"stateMutability":"payable","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":[{"internalType":"address","name":"erc20TokenAddress","type":"address"}],"name":"object","outputs":[{"internalType":"uint256","name":"objectId","type":"uint256"}],"stateMutability":"view","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"}],"name":"source","outputs":[{"internalType":"address","name":"erc20TokenAddress","type":"address"}],"stateMutability":"view","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":"","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":"","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040805160208082018352600080835283519182019093528281526200003f6301ffc9a760e01b62000065565b6001600160a01b038316156200005c576200005c838383620000ea565b50505062000122565b6001600160e01b03198082161415620000c5576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60405162461bcd60e51b815260040180806020018281038252602181526020018062003d5f6021913960400191505060405180910390fd5b613c2d80620001326000396000f3fe6080604052600436106101e15760003560e01c80634e41a1fb11610102578063bd85b03911610095578063e82b15f411610064578063e82b15f414610db5578063e985e9c514610e04578063edb3ba0b146106b6578063f242432a14610e3f576101e1565b8063bd85b03914610d59578063be745fff14610d83578063c45a015514610d98578063ce1570dc14610dad576101e1565b806395d89b41116100d157806395d89b4114610b93578063a22cb46514610ba8578063b2b45df514610be3578063b390c0ab14610d29576101e1565b80634e41a1fb1461084b5780637029144c1461087557806377097fc8146109ab57806383ca4b6f14610a63576101e1565b80632d7f1d2b1161017a57806340dc7bff1161014957806340dc7bff14610686578063434d7d92146106b657806345a0ef80146106865780634e1273f4146106cb576101e1565b80632d7f1d2b146103fa5780632eb2c2d6146104325780633f47e6621461060257806340c10f191461062c576101e1565b806306fdde03116101b657806306fdde031461035e5780630c0f6b71146103735780630e89341c1461039d5780631bf8ee70146103c7576101e1565b8062ad800c146101e6578062fdd58e1461028557806301ffc9a7146102d0578063023b04b214610318575b600080fd5b3480156101f257600080fd5b506102106004803603602081101561020957600080fd5b5035610f15565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024a578181015183820152602001610232565b50505050905090810190601f1680156102775780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561029157600080fd5b506102be600480360360408110156102a857600080fd5b506001600160a01b03813516906020013561104a565b60408051918252519081900360200190f35b3480156102dc57600080fd5b50610304600480360360208110156102f357600080fd5b50356001600160e01b0319166110dd565b604080519115158252519081900360200190f35b34801561032457600080fd5b506103426004803603602081101561033b57600080fd5b50356110fc565b604080516001600160a01b039092168252519081900360200190f35b34801561036a57600080fd5b50610210611117565b34801561037f57600080fd5b506103426004803603602081101561039657600080fd5b50356111ad565b3480156103a957600080fd5b50610210600480360360208110156103c057600080fd5b50356111c8565b3480156103d357600080fd5b506102be600480360360208110156103ea57600080fd5b50356001600160a01b0316611269565b34801561040657600080fd5b5061040f611284565b604080516001600160a01b03909316835260208301919091528051918290030190f35b34801561043e57600080fd5b50610600600480360360a081101561045557600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561048857600080fd5b82018360208201111561049a57600080fd5b803590602001918460208302840111600160201b831117156104bb57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561050a57600080fd5b82018360208201111561051c57600080fd5b803590602001918460208302840111600160201b8311171561053d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561058c57600080fd5b82018360208201111561059e57600080fd5b803590602001918460018302840111600160201b831117156105bf57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061129b945050505050565b005b34801561060e57600080fd5b506102be6004803603602081101561062557600080fd5b5035611490565b34801561063857600080fd5b506106656004803603604081101561064f57600080fd5b506001600160a01b038135169060200135611505565b604080519283526001600160a01b0390911660208301528051918290030190f35b34801561069257600080fd5b506102be600480360360408110156106a957600080fd5b5080359060200135611771565b3480156106c257600080fd5b506102be611776565b3480156106d757600080fd5b506107fb600480360360408110156106ee57600080fd5b810190602081018135600160201b81111561070857600080fd5b82018360208201111561071a57600080fd5b803590602001918460208302840111600160201b8311171561073b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561078a57600080fd5b82018360208201111561079c57600080fd5b803590602001918460208302840111600160201b831117156107bd57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061177b945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561083757818101518382015260200161081f565b505050509050019250505060405180910390f35b34801561085757600080fd5b506102106004803603602081101561086e57600080fd5b5035611824565b34801561088157600080fd5b506106006004803603604081101561089857600080fd5b810190602081018135600160201b8111156108b257600080fd5b8201836020820111156108c457600080fd5b803590602001918460018302840111600160201b831117156108e557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561093757600080fd5b82018360208201111561094957600080fd5b803590602001918460018302840111600160201b8311171561096a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611867945050505050565b3480156109b757600080fd5b50610665600480360360408110156109ce57600080fd5b81359190810190604081016020820135600160201b8111156109ef57600080fd5b820183602082011115610a0157600080fd5b803590602001918460018302840111600160201b83111715610a2257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b49945050505050565b348015610a6f57600080fd5b5061060060048036036040811015610a8657600080fd5b810190602081018135600160201b811115610aa057600080fd5b820183602082011115610ab257600080fd5b803590602001918460208302840111600160201b83111715610ad357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610b2257600080fd5b820183602082011115610b3457600080fd5b803590602001918460208302840111600160201b83111715610b5557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611b83945050505050565b348015610b9f57600080fd5b50610210611ca8565b348015610bb457600080fd5b5061060060048036036040811015610bcb57600080fd5b506001600160a01b0381351690602001351515611d06565b348015610bef57600080fd5b5061060060048036036060811015610c0657600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610c3057600080fd5b820183602082011115610c4257600080fd5b803590602001918460018302840111600160201b83111715610c6357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610cb557600080fd5b820183602082011115610cc757600080fd5b803590602001918460018302840111600160201b83111715610ce857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611dd1945050505050565b348015610d3557600080fd5b5061060060048036036040811015610d4c57600080fd5b5080359060200135611e08565b348015610d6557600080fd5b506102be60048036036020811015610d7c57600080fd5b5035611e48565b348015610d8f57600080fd5b506102be611e95565b348015610da457600080fd5b50610342611eca565b610665611ed9565b348015610dc157600080fd5b50610600600480360360a0811015610dd857600080fd5b506001600160a01b03813581169160208101358216916040820135169060608101359060800135611f9d565b348015610e1057600080fd5b5061030460048036036040811015610e2757600080fd5b506001600160a01b038135811691602001351661206c565b348015610e4b57600080fd5b50610600600480360360a0811015610e6257600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b811115610ea157600080fd5b820183602082011115610eb357600080fd5b803590602001918460018302840111600160201b83111715610ed457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061209a945050505050565b6060610f20826111ad565b6001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015610f5857600080fd5b505afa158015610f6c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610f9557600080fd5b8101908080516040519392919084600160201b821115610fb457600080fd5b908301906020820185811115610fc957600080fd5b8251600160201b811182820188101715610fe257600080fd5b82525081516020918201929091019080838360005b8381101561100f578181015183820152602001610ff7565b50505050905090810190601f16801561103c5780820380516001836020036101000a031916815260200191505b506040525050509050919050565b60006110d682611059846111ad565b6001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156110a557600080fd5b505afa1580156110b9573d6000803e3d6000fd5b505050506040513d60208110156110cf57600080fd5b5051611771565b9392505050565b6001600160e01b03191660009081526020819052604090205460ff1690565b6000908152600b60205260409020546001600160a01b031690565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156111a25780601f10611177576101008083540402835291602001916111a2565b820191906000526020600020905b81548152906001019060200180831161118557829003601f168201915b505050505090505b90565b6000908152600460205260409020546001600160a01b031690565b60008181526003602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561125d5780601f106112325761010080835404028352916020019161125d565b820191906000526020600020905b81548152906001019060200180831161124057829003601f168201915b50505050509050919050565b6001600160a01b03166000908152600d602052604090205490565b6007546008546001600160a01b03909116905b9091565b6001600160a01b0384166112e05760405162461bcd60e51b8152600401808060200182810382526025815260200180613b8a6025913960400191505060405180910390fd5b6112e86121b0565b6001600160a01b0316856001600160a01b0316148061131357506113138561130e6121b0565b61206c565b61134e5760405162461bcd60e51b8152600401808060200182810382526029815260200180613b206029913960400191505060405180910390fd5b60005b83518110156113945761138c868686848151811061136b57fe5b602002602001015186858151811061137f57fe5b60200260200101516121b4565b600101611351565b50600061139f6121b0565b9050846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561142657818101518382015260200161140e565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561146557818101518382015260200161144d565b5050505090500194505050505060405180910390a4611488818787878787612267565b505050505050565b600061149b826111ad565b6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156114d357600080fd5b505afa1580156114e7573d6000803e3d6000fd5b505050506040513d60208110156114fd57600080fd5b505192915050565b6001600160a01b038083166000908152600d602090815260408083205480845260049092529091205490911680611753576000611540611284565b50905061154c8161251b565b6001600160a01b03808216600081815260046020908152604080832080546001600160a01b0319908116861790915560058352818420805460ff19166001179055600b83528184208054968d169690911686179055938252600d9052918220819055945090925060609081906115c18861255d565b92509250925080600c600088815260200190815260200160002081905550846001600160a01b031663620b29cd8785856009546040518563ffffffff1660e01b8152600401808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015611650578181015183820152602001611638565b50505050905090810190601f16801561167d5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156116b0578181015183820152602001611698565b50505050905090810190601f1680156116dd5780820380516001836020036101000a031916815260200191505b509650505050505050600060405180830381600087803b15801561170057600080fd5b505af1158015611714573d6000803e3d6000fd5b50506040516001600160a01b03881692508891507f0c4ad8244c49e226fa47310564e3a7d0bb97b9808742e9159b5fd2e62033f88490600090a3505050505b61175f843330866126d6565b61176a828285612837565b9250929050565b919050565b600190565b6060825167ffffffffffffffff8111801561179557600080fd5b506040519080825280602002602001820160405280156117bf578160200160208202803683370190505b50905060005b835181101561181d576117fe8482815181106117dd57fe5b60200260200101518483815181106117f157fe5b602002602001015161104a565b82828151811061180a57fe5b60209081029190910101526001016117c5565b5092915050565b606061182f826111ad565b6001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015610f5857600080fd5b6118718282612953565b600061187b611284565b50905060016005600061188d8461251b565b6040805180820182526016808252600080516020613b008339815191526020928301819052600080516020613b6a83398151915260008181526004808652600080516020613baf83398151915280546001600160a01b0319166001600160a01b03998a1690811782558a528987019a909a529786018120805460ff19169a15159a909a1790995584518086018652838152840182905296548451808601865283815284018290526009548551808701875293845292840191909152868852600c928390527f9d609159236712347d921d6681b24b7d759f2c210bac1e1536d113abc3d5337c829055835163620b29cd60e01b81528087019790975260648701919091526080602487015260848601919091526b457468657265756d4974656d60a01b60a486015260c0604486015260c4850193909352630928aa8960e31b60e48501525191169263620b29cd92610104808201939182900301818387803b1580156119f757600080fd5b505af1158015611a0b573d6000803e3d6000fd5b50506040805180820182526016808252600080516020613b008339815191526020928301819052600080516020613b6a833981519152600081815260048552600080516020613baf8339815191525486518088018852948552939094019190915292516001600160a01b0390911694509192507f0c4ad8244c49e226fa47310564e3a7d0bb97b9808742e9159b5fd2e62033f88491a36040805180820182526016808252600080516020613b0083398151915260209283018190528351808501855291825290820152600080516020613b6a833981519152600081815260048352600080516020613baf8339815191525484519283526001600160a01b0316928201929092528083019190915290517f4e3883c75cc9c752bb1db2e406a822e4a75067ae77ad9a0a4d179f2709b9e1f69181900360600190a1505050565b60008060405162461bcd60e51b8152600401808060200182810382526021815260200180613b496021913960400191505060405180910390fd5b60005b8251811015611bc957611bbf838281518110611b9e57fe5b6020026020010151838381518110611bb257fe5b6020026020010151612a30565b5050600101611b86565b5060006001600160a01b0316336001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8585604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015611c50578181015183820152602001611c38565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015611c8f578181015183820152602001611c77565b5050505090500194505050505060405180910390a45050565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156111a25780601f10611177576101008083540402835291602001916111a2565b6000611d106121b0565b9050826001600160a01b0316816001600160a01b03161415611d635760405162461bcd60e51b8152600401808060200182810382526029815260200180613bcf6029913960400191505060405180910390fd5b6001600160a01b03818116600081815260066020908152604080832094881680845294825291829020805460ff1916871515908117909155825190815291517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319281900390910190a3505050565b60405162461bcd60e51b8152600401808060200182810382526021815260200180613b496021913960400191505060405180910390fd5b611e128282612a30565b50506040805183815260208101839052815160009233928392600080516020613ac0833981519152929181900390910190a45050565b6000611e8f82611e57846111ad565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a557600080fd5b92915050565b6040805180820190915260168152600080516020613b00833981519152602090910152600080516020613b6a83398151915281565b600a546001600160a01b031690565b60008060003411611f27576040805162461bcd60e51b8152602060048201526013602482015272125b9cdd59999a58da595b9d08185b5bdd5b9d606a1b604482015290519081900360640190fd5b50506040805180820182526016808252600080516020613b008339815191526020928301819052835180850190945290835291810191909152600080516020613b6a83398151915260008190526004909152600080516020613baf833981519152546001600160a01b0316611297828234612837565b6000828152600460205260409020546001600160a01b03163314611fff576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b600061200b8383611771565b9050806120185750612065565b836001600160a01b0316856001600160a01b0316876001600160a01b0316600080516020613ac08339815191528685604051808381526020018281526020019250505060405180910390a4505b5050505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6001600160a01b0384166120df5760405162461bcd60e51b8152600401808060200182810382526025815260200180613b8a6025913960400191505060405180910390fd5b60006120e96121b0565b9050806001600160a01b0316866001600160a01b031614806121105750612110868261206c565b61214b5760405162461bcd60e51b8152600401808060200182810382526029815260200180613b206029913960400191505060405180910390fd5b612157868686866121b4565b846001600160a01b0316866001600160a01b0316826001600160a01b0316600080516020613ac08339815191528787604051808381526020018281526020019250505060405180910390a4611488818787878787612add565b3390565b60006121c1858484612c4e565b9150506121cd836111ad565b6001600160a01b03166323b872dd8686846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561223457600080fd5b505af1158015612248573d6000803e3d6000fd5b505050506040513d602081101561225e57600080fd5b50505050505050565b612279846001600160a01b0316612d0b565b1561148857836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156123075781810151838201526020016122ef565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561234657818101518382015260200161232e565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561238257818101518382015260200161236a565b50505050905090810190601f1680156123af5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b1580156123d457600080fd5b505af19250505080156123f957506040513d60208110156123f457600080fd5b505160015b6124cc57612405613996565b806124105750612495565b8060405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561245a578181015183820152602001612442565b50505050905090810190601f1680156124875780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60405162461bcd60e51b8152600401808060200182810382526034815260200180613a3c6034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b1461225e5760405162461bcd60e51b8152600401808060200182810382526028815260200180613a706028913960400191505060405180910390fd5b60006901000000000000000000820268803b80938091923cf36258807360e81b01176000526020600080f09050803b801561255557612557565bfe5b50919050565b60608060008361256c81612d11565b9350600080516020613ae0833981519152848051906020012014156125975761259485612ec7565b93505b836040516020018082805190602001908083835b602083106125ca5780518252601f1990920191602091820191016125ab565b6001836020036101000a03801982511681845116808217855250505050505090500180634974656d60e01b815250600401915050604051602081830303815290604052935061261881613043565b9250600080516020613ae0833981519152838051906020012014156126435761264085612ec7565b92505b826040516020018080604960f81b81525060010182805190602001908083835b602083106126825780518252601f199092019160209182019101612663565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405292506126c1816130a7565b9150816126ce5760095491505b509193909250565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b6020831061275b5780518252601f19909201916020918201910161273c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146127bd576040519150601f19603f3d011682016040523d82523d6000602084013e6127c2565b606091505b50915091508180156127f05750805115806127f057508080602001905160208110156127ed57600080fd5b50515b611488576040805162461bcd60e51b81526020600482015260136024820152721514905394d19154919493d357d19052531151606a1b604482015290519081900360640190fd5b6000612842846131a4565b8202905061284f846111ad565b6001600160a01b03166340c10f1933836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156128a557600080fd5b505af11580156128b9573d6000803e3d6000fd5b5050505060006128ca3386846131bd565b82039050801561206557604080518681526001600160a01b038616602082015280820183905290517f4e3883c75cc9c752bb1db2e406a822e4a75067ae77ad9a0a4d179f2709b9e1f69181900360600190a16040805186815260208101839052815133926000923092600080516020613ac0833981519152929181900390910190a45050505050565b600a546001600160a01b0316156129a8576040805162461bcd60e51b8152602060048201526014602482015273496e697420616c72656164792063616c6c65642160601b604482015290519081900360640190fd5b600a80546001600160a01b031916339081179091556040805163a826080960e01b815281516000939263a82608099260048082019391829003018186803b1580156129f257600080fd5b505afa158015612a06573d6000803e3d6000fd5b505050506040513d6040811015612a1c57600080fd5b50519050612a2b818484613302565b505050565b600080612a3d84846135e6565b5091506000612a4b856131a4565b8381612a5357fe5b6040805180820190915260168152600080516020613b00833981519152602090910152049050600080516020613b6a833981519152851415612ac257604051339082156108fc029083906000818181858888f19350505050158015612abc573d6000803e3d6000fd5b50612ad5565b612ad5612ace866110fc565b33836136d8565b509250929050565b612aef846001600160a01b0316612d0b565b1561148857836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612b7e578181015183820152602001612b66565b50505050905090810190601f168015612bab5780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b158015612bce57600080fd5b505af1925050508015612bf357506040513d6020811015612bee57600080fd5b505160015b612bff57612405613996565b6001600160e01b0319811663f23a6e6160e01b1461225e5760405162461bcd60e51b8152600401808060200182810382526028815260200180613a706028913960400191505060405180910390fd5b6000806000612c5d8585611771565b90506000612c6a866111ad565b6001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612cb657600080fd5b505afa158015612cca573d6000803e3d6000fd5b505050506040513d6020811015612ce057600080fd5b50519050612cee878761104a565b9350838514612cfd5781612cff565b805b92505050935093915050565b3b151590565b60408051600481526024810182526020810180516001600160e01b03166306fdde0360e01b1781529151815160609384936001600160a01b038716939092909182918083835b60208310612d765780518252601f199092019160209182019101612d57565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114612dd6576040519150601f19603f3d011682016040523d82523d6000602084013e612ddb565b606091505b509150508051600014612eb057808060200190516020811015612dfd57600080fd5b8101908080516040519392919084600160201b821115612e1c57600080fd5b908301906020820185811115612e3157600080fd5b8251600160201b811182820188101715612e4a57600080fd5b82525081516020918201929091019080838360005b83811015612e77578181015183820152602001612e5f565b50505050905090810190601f168015612ea45780820380516001836020036101000a031916815260200191505b506040525050506110d6565b604051806020016040528060008152509392505050565b604080518082018252601081526f181899199a1a9b1b9c1cb0b131b232b360811b60208201528151602a80825260608281019094526001600160a01b03851692918491602082018180368337019050509050600360fc1b81600081518110612f2b57fe5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f5457fe5b60200101906001600160f81b031916908160001a90535060005b601481101561303a578260048583600c0160208110612f8957fe5b1a60f81b6001600160f81b031916901c60f81c60ff1681518110612fa957fe5b602001015160f81c60f81b828260020260020181518110612fc657fe5b60200101906001600160f81b031916908160001a905350828482600c0160208110612fed57fe5b825191901a600f16908110612ffe57fe5b602001015160f81c60f81b82826002026003018151811061301b57fe5b60200101906001600160f81b031916908160001a905350600101612f6e565b50949350505050565b60408051600481526024810182526020810180516001600160e01b03166395d89b4160e01b1781529151815160609384936001600160a01b0387169390929091829180838360208310612d765780518252601f199092019160209182019101612d57565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b178152915181516000936060936001600160a01b038716939092909182918083835b6020831061310d5780518252601f1990920191602091820191016130ee565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d806000811461316d576040519150601f19603f3d011682016040523d82523d6000602084013e613172565b606091505b50915050805160001461319b5780806020019051602081101561319457600080fd5b50516110d6565b60009392505050565b6000908152600c602052604090205460095403600a0a90565b600a5460408051631702579560e21b815260048101849052815160009384936001600160a01b0390911692635c095e549260248083019392829003018186803b15801561320957600080fd5b505afa15801561321d573d6000803e3d6000fd5b505050506040513d604081101561323357600080fd5b5080516020909101519092509050811580159061325857506001600160a01b03811615155b156132fa57613266846111ad565b6001600160a01b03166323b872dd8683856040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b1580156132cd57600080fd5b505af11580156132e1573d6000803e3d6000fd5b505050506040513d60208110156132f757600080fd5b50505b509392505050565b6007546001600160a01b031615613357576040805162461bcd60e51b8152602060048201526014602482015273496e697420616c72656164792063616c6c65642160601b604482015290519081900360640190fd5b6001600160a01b03831661339c5760405162461bcd60e51b8152600401808060200182810382526028815260200180613a986028913960400191505060405180910390fd5b600780546001600160a01b0319166001600160a01b0385169081179091556040805163440eb4bf60e11b8152905163881d697e91600480820192602092909190829003018186803b1580156133f057600080fd5b505afa158015613404573d6000803e3d6000fd5b505050506040513d602081101561341a57600080fd5b505160085581516020830120600080516020613ae0833981519152141561347c576040805162461bcd60e51b81526020600482015260116024820152704e616d65206973206d616e6461746f727960781b604482015290519081900360640190fd5b80516020820120600080516020613ae083398151915214156134db576040805162461bcd60e51b815260206004820152601360248201527253796d626f6c206973206d616e6461746f727960681b604482015290519081900360640190fd5b81516134ee9060019060208501906138fd565b5080516135029060029060208401906138fd565b506012600955613518631759616b60e11b61382d565b613528636cdb3d1360e11b61382d565b613537627eeac760e11b61382d565b6135476313849cfd60e21b61382d565b61355763a22cb46560e01b61382d565b61356763e985e9c560e01b61382d565b613577637921219560e11b61382d565b6135876303a24d0760e21b61382d565b61359763bd85b03960e01b61382d565b6135a6622b600360e21b61382d565b6135b6634e41a1fb60e01b61382d565b6135c6631fa3f33160e11b61382d565b6135d66306fdde0360e01b61382d565b612a2b6395d89b4160e01b61382d565b6000806000806135f7338787612c4e565b9150915084821015613646576040805162461bcd60e51b8152602060048201526013602482015272125b9cdd59999a58da595b9d08105b5bdd5b9d606a1b604482015290519081900360640190fd5b6136513387836138b1565b925061365c866111ad565b6001600160a01b0316639dc29fac338584039650866040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156136b757600080fd5b505af11580156136cb573d6000803e3d6000fd5b5050505050509250929050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b602083106137555780518252601f199092019160209182019101613736565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146137b7576040519150601f19603f3d011682016040523d82523d6000602084013e6137bc565b606091505b50915091508180156137ea5750805115806137ea57508080602001905160208110156137e757600080fd5b50515b612065576040805162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b604482015290519081900360640190fd5b6001600160e01b0319808216141561388c576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600a5460408051636ad8826960e01b815260048101849052815160009384936001600160a01b0390911692636ad882699260248083019392829003018186803b15801561320957600080fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061393e57805160ff191683800117855561396b565b8280016001018555821561396b579182015b8281111561396b578251825591602001919060010190613950565b5061397792915061397b565b5090565b5b80821115613977576000815560010161397c565b60e01c90565b600060443d10156139a6576111aa565b600481823e6308c379a06139ba8251613990565b146139c4576111aa565b6040513d600319016004823e80513d67ffffffffffffffff81602484011181841117156139f457505050506111aa565b82840192508251915080821115613a0e57505050506111aa565b503d83016020828401011115613a26575050506111aa565b601f01601f191681016020016040529150509056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e734d6f64656c2073686f756c6420626520612076616c696420657468657265756d2061646472657373c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47054484520455448455245554d204f424a45435420495400000000000000000000455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656443616e6e6f74206469726563746c792063616c6c2074686973206d6574686f642e186184b38c30620314f957b261f907a96e7bd12c377a91dcf1ef57fdea9aad37455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373c594644bd0e33341c6226d9957a44468f4df101b4bb608726d1c02b52dc370e5455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66a26469706673582212201143ed524fce5e4efd55df7e8aa0a52113275cb97236c125fed6b53220d12e4464736f6c634300060c003343616e6e6f74206469726563746c792063616c6c2074686973206d6574686f642e
Deployed Bytecode
0x6080604052600436106101e15760003560e01c80634e41a1fb11610102578063bd85b03911610095578063e82b15f411610064578063e82b15f414610db5578063e985e9c514610e04578063edb3ba0b146106b6578063f242432a14610e3f576101e1565b8063bd85b03914610d59578063be745fff14610d83578063c45a015514610d98578063ce1570dc14610dad576101e1565b806395d89b41116100d157806395d89b4114610b93578063a22cb46514610ba8578063b2b45df514610be3578063b390c0ab14610d29576101e1565b80634e41a1fb1461084b5780637029144c1461087557806377097fc8146109ab57806383ca4b6f14610a63576101e1565b80632d7f1d2b1161017a57806340dc7bff1161014957806340dc7bff14610686578063434d7d92146106b657806345a0ef80146106865780634e1273f4146106cb576101e1565b80632d7f1d2b146103fa5780632eb2c2d6146104325780633f47e6621461060257806340c10f191461062c576101e1565b806306fdde03116101b657806306fdde031461035e5780630c0f6b71146103735780630e89341c1461039d5780631bf8ee70146103c7576101e1565b8062ad800c146101e6578062fdd58e1461028557806301ffc9a7146102d0578063023b04b214610318575b600080fd5b3480156101f257600080fd5b506102106004803603602081101561020957600080fd5b5035610f15565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024a578181015183820152602001610232565b50505050905090810190601f1680156102775780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561029157600080fd5b506102be600480360360408110156102a857600080fd5b506001600160a01b03813516906020013561104a565b60408051918252519081900360200190f35b3480156102dc57600080fd5b50610304600480360360208110156102f357600080fd5b50356001600160e01b0319166110dd565b604080519115158252519081900360200190f35b34801561032457600080fd5b506103426004803603602081101561033b57600080fd5b50356110fc565b604080516001600160a01b039092168252519081900360200190f35b34801561036a57600080fd5b50610210611117565b34801561037f57600080fd5b506103426004803603602081101561039657600080fd5b50356111ad565b3480156103a957600080fd5b50610210600480360360208110156103c057600080fd5b50356111c8565b3480156103d357600080fd5b506102be600480360360208110156103ea57600080fd5b50356001600160a01b0316611269565b34801561040657600080fd5b5061040f611284565b604080516001600160a01b03909316835260208301919091528051918290030190f35b34801561043e57600080fd5b50610600600480360360a081101561045557600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561048857600080fd5b82018360208201111561049a57600080fd5b803590602001918460208302840111600160201b831117156104bb57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561050a57600080fd5b82018360208201111561051c57600080fd5b803590602001918460208302840111600160201b8311171561053d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561058c57600080fd5b82018360208201111561059e57600080fd5b803590602001918460018302840111600160201b831117156105bf57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061129b945050505050565b005b34801561060e57600080fd5b506102be6004803603602081101561062557600080fd5b5035611490565b34801561063857600080fd5b506106656004803603604081101561064f57600080fd5b506001600160a01b038135169060200135611505565b604080519283526001600160a01b0390911660208301528051918290030190f35b34801561069257600080fd5b506102be600480360360408110156106a957600080fd5b5080359060200135611771565b3480156106c257600080fd5b506102be611776565b3480156106d757600080fd5b506107fb600480360360408110156106ee57600080fd5b810190602081018135600160201b81111561070857600080fd5b82018360208201111561071a57600080fd5b803590602001918460208302840111600160201b8311171561073b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561078a57600080fd5b82018360208201111561079c57600080fd5b803590602001918460208302840111600160201b831117156107bd57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061177b945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561083757818101518382015260200161081f565b505050509050019250505060405180910390f35b34801561085757600080fd5b506102106004803603602081101561086e57600080fd5b5035611824565b34801561088157600080fd5b506106006004803603604081101561089857600080fd5b810190602081018135600160201b8111156108b257600080fd5b8201836020820111156108c457600080fd5b803590602001918460018302840111600160201b831117156108e557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561093757600080fd5b82018360208201111561094957600080fd5b803590602001918460018302840111600160201b8311171561096a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611867945050505050565b3480156109b757600080fd5b50610665600480360360408110156109ce57600080fd5b81359190810190604081016020820135600160201b8111156109ef57600080fd5b820183602082011115610a0157600080fd5b803590602001918460018302840111600160201b83111715610a2257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b49945050505050565b348015610a6f57600080fd5b5061060060048036036040811015610a8657600080fd5b810190602081018135600160201b811115610aa057600080fd5b820183602082011115610ab257600080fd5b803590602001918460208302840111600160201b83111715610ad357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610b2257600080fd5b820183602082011115610b3457600080fd5b803590602001918460208302840111600160201b83111715610b5557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611b83945050505050565b348015610b9f57600080fd5b50610210611ca8565b348015610bb457600080fd5b5061060060048036036040811015610bcb57600080fd5b506001600160a01b0381351690602001351515611d06565b348015610bef57600080fd5b5061060060048036036060811015610c0657600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610c3057600080fd5b820183602082011115610c4257600080fd5b803590602001918460018302840111600160201b83111715610c6357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610cb557600080fd5b820183602082011115610cc757600080fd5b803590602001918460018302840111600160201b83111715610ce857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611dd1945050505050565b348015610d3557600080fd5b5061060060048036036040811015610d4c57600080fd5b5080359060200135611e08565b348015610d6557600080fd5b506102be60048036036020811015610d7c57600080fd5b5035611e48565b348015610d8f57600080fd5b506102be611e95565b348015610da457600080fd5b50610342611eca565b610665611ed9565b348015610dc157600080fd5b50610600600480360360a0811015610dd857600080fd5b506001600160a01b03813581169160208101358216916040820135169060608101359060800135611f9d565b348015610e1057600080fd5b5061030460048036036040811015610e2757600080fd5b506001600160a01b038135811691602001351661206c565b348015610e4b57600080fd5b50610600600480360360a0811015610e6257600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b811115610ea157600080fd5b820183602082011115610eb357600080fd5b803590602001918460018302840111600160201b83111715610ed457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061209a945050505050565b6060610f20826111ad565b6001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015610f5857600080fd5b505afa158015610f6c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610f9557600080fd5b8101908080516040519392919084600160201b821115610fb457600080fd5b908301906020820185811115610fc957600080fd5b8251600160201b811182820188101715610fe257600080fd5b82525081516020918201929091019080838360005b8381101561100f578181015183820152602001610ff7565b50505050905090810190601f16801561103c5780820380516001836020036101000a031916815260200191505b506040525050509050919050565b60006110d682611059846111ad565b6001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156110a557600080fd5b505afa1580156110b9573d6000803e3d6000fd5b505050506040513d60208110156110cf57600080fd5b5051611771565b9392505050565b6001600160e01b03191660009081526020819052604090205460ff1690565b6000908152600b60205260409020546001600160a01b031690565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156111a25780601f10611177576101008083540402835291602001916111a2565b820191906000526020600020905b81548152906001019060200180831161118557829003601f168201915b505050505090505b90565b6000908152600460205260409020546001600160a01b031690565b60008181526003602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561125d5780601f106112325761010080835404028352916020019161125d565b820191906000526020600020905b81548152906001019060200180831161124057829003601f168201915b50505050509050919050565b6001600160a01b03166000908152600d602052604090205490565b6007546008546001600160a01b03909116905b9091565b6001600160a01b0384166112e05760405162461bcd60e51b8152600401808060200182810382526025815260200180613b8a6025913960400191505060405180910390fd5b6112e86121b0565b6001600160a01b0316856001600160a01b0316148061131357506113138561130e6121b0565b61206c565b61134e5760405162461bcd60e51b8152600401808060200182810382526029815260200180613b206029913960400191505060405180910390fd5b60005b83518110156113945761138c868686848151811061136b57fe5b602002602001015186858151811061137f57fe5b60200260200101516121b4565b600101611351565b50600061139f6121b0565b9050846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561142657818101518382015260200161140e565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561146557818101518382015260200161144d565b5050505090500194505050505060405180910390a4611488818787878787612267565b505050505050565b600061149b826111ad565b6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156114d357600080fd5b505afa1580156114e7573d6000803e3d6000fd5b505050506040513d60208110156114fd57600080fd5b505192915050565b6001600160a01b038083166000908152600d602090815260408083205480845260049092529091205490911680611753576000611540611284565b50905061154c8161251b565b6001600160a01b03808216600081815260046020908152604080832080546001600160a01b0319908116861790915560058352818420805460ff19166001179055600b83528184208054968d169690911686179055938252600d9052918220819055945090925060609081906115c18861255d565b92509250925080600c600088815260200190815260200160002081905550846001600160a01b031663620b29cd8785856009546040518563ffffffff1660e01b8152600401808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015611650578181015183820152602001611638565b50505050905090810190601f16801561167d5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156116b0578181015183820152602001611698565b50505050905090810190601f1680156116dd5780820380516001836020036101000a031916815260200191505b509650505050505050600060405180830381600087803b15801561170057600080fd5b505af1158015611714573d6000803e3d6000fd5b50506040516001600160a01b03881692508891507f0c4ad8244c49e226fa47310564e3a7d0bb97b9808742e9159b5fd2e62033f88490600090a3505050505b61175f843330866126d6565b61176a828285612837565b9250929050565b919050565b600190565b6060825167ffffffffffffffff8111801561179557600080fd5b506040519080825280602002602001820160405280156117bf578160200160208202803683370190505b50905060005b835181101561181d576117fe8482815181106117dd57fe5b60200260200101518483815181106117f157fe5b602002602001015161104a565b82828151811061180a57fe5b60209081029190910101526001016117c5565b5092915050565b606061182f826111ad565b6001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015610f5857600080fd5b6118718282612953565b600061187b611284565b50905060016005600061188d8461251b565b6040805180820182526016808252600080516020613b008339815191526020928301819052600080516020613b6a83398151915260008181526004808652600080516020613baf83398151915280546001600160a01b0319166001600160a01b03998a1690811782558a528987019a909a529786018120805460ff19169a15159a909a1790995584518086018652838152840182905296548451808601865283815284018290526009548551808701875293845292840191909152868852600c928390527f9d609159236712347d921d6681b24b7d759f2c210bac1e1536d113abc3d5337c829055835163620b29cd60e01b81528087019790975260648701919091526080602487015260848601919091526b457468657265756d4974656d60a01b60a486015260c0604486015260c4850193909352630928aa8960e31b60e48501525191169263620b29cd92610104808201939182900301818387803b1580156119f757600080fd5b505af1158015611a0b573d6000803e3d6000fd5b50506040805180820182526016808252600080516020613b008339815191526020928301819052600080516020613b6a833981519152600081815260048552600080516020613baf8339815191525486518088018852948552939094019190915292516001600160a01b0390911694509192507f0c4ad8244c49e226fa47310564e3a7d0bb97b9808742e9159b5fd2e62033f88491a36040805180820182526016808252600080516020613b0083398151915260209283018190528351808501855291825290820152600080516020613b6a833981519152600081815260048352600080516020613baf8339815191525484519283526001600160a01b0316928201929092528083019190915290517f4e3883c75cc9c752bb1db2e406a822e4a75067ae77ad9a0a4d179f2709b9e1f69181900360600190a1505050565b60008060405162461bcd60e51b8152600401808060200182810382526021815260200180613b496021913960400191505060405180910390fd5b60005b8251811015611bc957611bbf838281518110611b9e57fe5b6020026020010151838381518110611bb257fe5b6020026020010151612a30565b5050600101611b86565b5060006001600160a01b0316336001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8585604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015611c50578181015183820152602001611c38565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015611c8f578181015183820152602001611c77565b5050505090500194505050505060405180910390a45050565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156111a25780601f10611177576101008083540402835291602001916111a2565b6000611d106121b0565b9050826001600160a01b0316816001600160a01b03161415611d635760405162461bcd60e51b8152600401808060200182810382526029815260200180613bcf6029913960400191505060405180910390fd5b6001600160a01b03818116600081815260066020908152604080832094881680845294825291829020805460ff1916871515908117909155825190815291517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319281900390910190a3505050565b60405162461bcd60e51b8152600401808060200182810382526021815260200180613b496021913960400191505060405180910390fd5b611e128282612a30565b50506040805183815260208101839052815160009233928392600080516020613ac0833981519152929181900390910190a45050565b6000611e8f82611e57846111ad565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a557600080fd5b92915050565b6040805180820190915260168152600080516020613b00833981519152602090910152600080516020613b6a83398151915281565b600a546001600160a01b031690565b60008060003411611f27576040805162461bcd60e51b8152602060048201526013602482015272125b9cdd59999a58da595b9d08185b5bdd5b9d606a1b604482015290519081900360640190fd5b50506040805180820182526016808252600080516020613b008339815191526020928301819052835180850190945290835291810191909152600080516020613b6a83398151915260008190526004909152600080516020613baf833981519152546001600160a01b0316611297828234612837565b6000828152600460205260409020546001600160a01b03163314611fff576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b600061200b8383611771565b9050806120185750612065565b836001600160a01b0316856001600160a01b0316876001600160a01b0316600080516020613ac08339815191528685604051808381526020018281526020019250505060405180910390a4505b5050505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6001600160a01b0384166120df5760405162461bcd60e51b8152600401808060200182810382526025815260200180613b8a6025913960400191505060405180910390fd5b60006120e96121b0565b9050806001600160a01b0316866001600160a01b031614806121105750612110868261206c565b61214b5760405162461bcd60e51b8152600401808060200182810382526029815260200180613b206029913960400191505060405180910390fd5b612157868686866121b4565b846001600160a01b0316866001600160a01b0316826001600160a01b0316600080516020613ac08339815191528787604051808381526020018281526020019250505060405180910390a4611488818787878787612add565b3390565b60006121c1858484612c4e565b9150506121cd836111ad565b6001600160a01b03166323b872dd8686846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b15801561223457600080fd5b505af1158015612248573d6000803e3d6000fd5b505050506040513d602081101561225e57600080fd5b50505050505050565b612279846001600160a01b0316612d0b565b1561148857836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156123075781810151838201526020016122ef565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561234657818101518382015260200161232e565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561238257818101518382015260200161236a565b50505050905090810190601f1680156123af5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b1580156123d457600080fd5b505af19250505080156123f957506040513d60208110156123f457600080fd5b505160015b6124cc57612405613996565b806124105750612495565b8060405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561245a578181015183820152602001612442565b50505050905090810190601f1680156124875780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60405162461bcd60e51b8152600401808060200182810382526034815260200180613a3c6034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b1461225e5760405162461bcd60e51b8152600401808060200182810382526028815260200180613a706028913960400191505060405180910390fd5b60006901000000000000000000820268803b80938091923cf36258807360e81b01176000526020600080f09050803b801561255557612557565bfe5b50919050565b60608060008361256c81612d11565b9350600080516020613ae0833981519152848051906020012014156125975761259485612ec7565b93505b836040516020018082805190602001908083835b602083106125ca5780518252601f1990920191602091820191016125ab565b6001836020036101000a03801982511681845116808217855250505050505090500180634974656d60e01b815250600401915050604051602081830303815290604052935061261881613043565b9250600080516020613ae0833981519152838051906020012014156126435761264085612ec7565b92505b826040516020018080604960f81b81525060010182805190602001908083835b602083106126825780518252601f199092019160209182019101612663565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405292506126c1816130a7565b9150816126ce5760095491505b509193909250565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b6020831061275b5780518252601f19909201916020918201910161273c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146127bd576040519150601f19603f3d011682016040523d82523d6000602084013e6127c2565b606091505b50915091508180156127f05750805115806127f057508080602001905160208110156127ed57600080fd5b50515b611488576040805162461bcd60e51b81526020600482015260136024820152721514905394d19154919493d357d19052531151606a1b604482015290519081900360640190fd5b6000612842846131a4565b8202905061284f846111ad565b6001600160a01b03166340c10f1933836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156128a557600080fd5b505af11580156128b9573d6000803e3d6000fd5b5050505060006128ca3386846131bd565b82039050801561206557604080518681526001600160a01b038616602082015280820183905290517f4e3883c75cc9c752bb1db2e406a822e4a75067ae77ad9a0a4d179f2709b9e1f69181900360600190a16040805186815260208101839052815133926000923092600080516020613ac0833981519152929181900390910190a45050505050565b600a546001600160a01b0316156129a8576040805162461bcd60e51b8152602060048201526014602482015273496e697420616c72656164792063616c6c65642160601b604482015290519081900360640190fd5b600a80546001600160a01b031916339081179091556040805163a826080960e01b815281516000939263a82608099260048082019391829003018186803b1580156129f257600080fd5b505afa158015612a06573d6000803e3d6000fd5b505050506040513d6040811015612a1c57600080fd5b50519050612a2b818484613302565b505050565b600080612a3d84846135e6565b5091506000612a4b856131a4565b8381612a5357fe5b6040805180820190915260168152600080516020613b00833981519152602090910152049050600080516020613b6a833981519152851415612ac257604051339082156108fc029083906000818181858888f19350505050158015612abc573d6000803e3d6000fd5b50612ad5565b612ad5612ace866110fc565b33836136d8565b509250929050565b612aef846001600160a01b0316612d0b565b1561148857836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612b7e578181015183820152602001612b66565b50505050905090810190601f168015612bab5780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b158015612bce57600080fd5b505af1925050508015612bf357506040513d6020811015612bee57600080fd5b505160015b612bff57612405613996565b6001600160e01b0319811663f23a6e6160e01b1461225e5760405162461bcd60e51b8152600401808060200182810382526028815260200180613a706028913960400191505060405180910390fd5b6000806000612c5d8585611771565b90506000612c6a866111ad565b6001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612cb657600080fd5b505afa158015612cca573d6000803e3d6000fd5b505050506040513d6020811015612ce057600080fd5b50519050612cee878761104a565b9350838514612cfd5781612cff565b805b92505050935093915050565b3b151590565b60408051600481526024810182526020810180516001600160e01b03166306fdde0360e01b1781529151815160609384936001600160a01b038716939092909182918083835b60208310612d765780518252601f199092019160209182019101612d57565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114612dd6576040519150601f19603f3d011682016040523d82523d6000602084013e612ddb565b606091505b509150508051600014612eb057808060200190516020811015612dfd57600080fd5b8101908080516040519392919084600160201b821115612e1c57600080fd5b908301906020820185811115612e3157600080fd5b8251600160201b811182820188101715612e4a57600080fd5b82525081516020918201929091019080838360005b83811015612e77578181015183820152602001612e5f565b50505050905090810190601f168015612ea45780820380516001836020036101000a031916815260200191505b506040525050506110d6565b604051806020016040528060008152509392505050565b604080518082018252601081526f181899199a1a9b1b9c1cb0b131b232b360811b60208201528151602a80825260608281019094526001600160a01b03851692918491602082018180368337019050509050600360fc1b81600081518110612f2b57fe5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f5457fe5b60200101906001600160f81b031916908160001a90535060005b601481101561303a578260048583600c0160208110612f8957fe5b1a60f81b6001600160f81b031916901c60f81c60ff1681518110612fa957fe5b602001015160f81c60f81b828260020260020181518110612fc657fe5b60200101906001600160f81b031916908160001a905350828482600c0160208110612fed57fe5b825191901a600f16908110612ffe57fe5b602001015160f81c60f81b82826002026003018151811061301b57fe5b60200101906001600160f81b031916908160001a905350600101612f6e565b50949350505050565b60408051600481526024810182526020810180516001600160e01b03166395d89b4160e01b1781529151815160609384936001600160a01b0387169390929091829180838360208310612d765780518252601f199092019160209182019101612d57565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b178152915181516000936060936001600160a01b038716939092909182918083835b6020831061310d5780518252601f1990920191602091820191016130ee565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d806000811461316d576040519150601f19603f3d011682016040523d82523d6000602084013e613172565b606091505b50915050805160001461319b5780806020019051602081101561319457600080fd5b50516110d6565b60009392505050565b6000908152600c602052604090205460095403600a0a90565b600a5460408051631702579560e21b815260048101849052815160009384936001600160a01b0390911692635c095e549260248083019392829003018186803b15801561320957600080fd5b505afa15801561321d573d6000803e3d6000fd5b505050506040513d604081101561323357600080fd5b5080516020909101519092509050811580159061325857506001600160a01b03811615155b156132fa57613266846111ad565b6001600160a01b03166323b872dd8683856040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050602060405180830381600087803b1580156132cd57600080fd5b505af11580156132e1573d6000803e3d6000fd5b505050506040513d60208110156132f757600080fd5b50505b509392505050565b6007546001600160a01b031615613357576040805162461bcd60e51b8152602060048201526014602482015273496e697420616c72656164792063616c6c65642160601b604482015290519081900360640190fd5b6001600160a01b03831661339c5760405162461bcd60e51b8152600401808060200182810382526028815260200180613a986028913960400191505060405180910390fd5b600780546001600160a01b0319166001600160a01b0385169081179091556040805163440eb4bf60e11b8152905163881d697e91600480820192602092909190829003018186803b1580156133f057600080fd5b505afa158015613404573d6000803e3d6000fd5b505050506040513d602081101561341a57600080fd5b505160085581516020830120600080516020613ae0833981519152141561347c576040805162461bcd60e51b81526020600482015260116024820152704e616d65206973206d616e6461746f727960781b604482015290519081900360640190fd5b80516020820120600080516020613ae083398151915214156134db576040805162461bcd60e51b815260206004820152601360248201527253796d626f6c206973206d616e6461746f727960681b604482015290519081900360640190fd5b81516134ee9060019060208501906138fd565b5080516135029060029060208401906138fd565b506012600955613518631759616b60e11b61382d565b613528636cdb3d1360e11b61382d565b613537627eeac760e11b61382d565b6135476313849cfd60e21b61382d565b61355763a22cb46560e01b61382d565b61356763e985e9c560e01b61382d565b613577637921219560e11b61382d565b6135876303a24d0760e21b61382d565b61359763bd85b03960e01b61382d565b6135a6622b600360e21b61382d565b6135b6634e41a1fb60e01b61382d565b6135c6631fa3f33160e11b61382d565b6135d66306fdde0360e01b61382d565b612a2b6395d89b4160e01b61382d565b6000806000806135f7338787612c4e565b9150915084821015613646576040805162461bcd60e51b8152602060048201526013602482015272125b9cdd59999a58da595b9d08105b5bdd5b9d606a1b604482015290519081900360640190fd5b6136513387836138b1565b925061365c866111ad565b6001600160a01b0316639dc29fac338584039650866040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156136b757600080fd5b505af11580156136cb573d6000803e3d6000fd5b5050505050509250929050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b602083106137555780518252601f199092019160209182019101613736565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146137b7576040519150601f19603f3d011682016040523d82523d6000602084013e6137bc565b606091505b50915091508180156137ea5750805115806137ea57508080602001905160208110156137e757600080fd5b50515b612065576040805162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b604482015290519081900360640190fd5b6001600160e01b0319808216141561388c576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600a5460408051636ad8826960e01b815260048101849052815160009384936001600160a01b0390911692636ad882699260248083019392829003018186803b15801561320957600080fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061393e57805160ff191683800117855561396b565b8280016001018555821561396b579182015b8281111561396b578251825591602001919060010190613950565b5061397792915061397b565b5090565b5b80821115613977576000815560010161397c565b60e01c90565b600060443d10156139a6576111aa565b600481823e6308c379a06139ba8251613990565b146139c4576111aa565b6040513d600319016004823e80513d67ffffffffffffffff81602484011181841117156139f457505050506111aa565b82840192508251915080821115613a0e57505050506111aa565b503d83016020828401011115613a26575050506111aa565b601f01601f191681016020016040529150509056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e734d6f64656c2073686f756c6420626520612076616c696420657468657265756d2061646472657373c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47054484520455448455245554d204f424a45435420495400000000000000000000455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656443616e6e6f74206469726563746c792063616c6c2074686973206d6574686f642e186184b38c30620314f957b261f907a96e7bd12c377a91dcf1ef57fdea9aad37455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373c594644bd0e33341c6226d9957a44468f4df101b4bb608726d1c02b52dc370e5455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66a26469706673582212201143ed524fce5e4efd55df7e8aa0a52113275cb97236c125fed6b53220d12e4464736f6c634300060c0033
Deployed Bytecode Sourcemap
65527:8114:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40479:193;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40479:193:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41876:254;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41876:254:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;31457:142;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31457:142:0;-1:-1:-1;;;;;;31457:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;66545:156;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66545:156:0;;:::i;:::-;;;;-1:-1:-1;;;;;66545:156:0;;;;;;;;;;;;;;40680:100;;;;;;;;;;;;;:::i;39693:236::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39693:236:0;;:::i;41624:181::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41624:181:0;;:::i;66709:156::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66709:156:0;-1:-1:-1;;;;;66709:156:0;;:::i;39397:188::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;39397:188:0;;;;;;;;;;;;;;;;;;;;;62240:921;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62240:921:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62240:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62240:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62240:921:0;;;;;;;;-1:-1:-1;62240:921:0;;-1:-1:-1;;;;;62240:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62240:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62240:921:0;;;;;;;;-1:-1:-1;62240:921:0;;-1:-1:-1;;;;;62240:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62240:921:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62240:921:0;;-1:-1:-1;62240:921:0;;-1:-1:-1;;;;;62240:921:0:i;:::-;;72949:195;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72949:195:0;;:::i;67154:1115::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;67154:1115:0;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;67154:1115:0;;;;;;;;;;;;;;;;73152:223;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73152:223:0;;;;;;;:::i;36988:105::-;;;;;;;;;;;;;:::i;42201:362::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42201:362:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42201:362:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42201:362:0;;;;;;;;-1:-1:-1;42201:362:0;;-1:-1:-1;;;;;42201:362:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;42201:362:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42201:362:0;;-1:-1:-1;42201:362:0;;-1:-1:-1;;;;;42201:362:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40934:197;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40934:197:0;;:::i;65864:673::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;65864:673:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;65864:673:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65864:673:0;;;;;;;;-1:-1:-1;65864:673:0;;-1:-1:-1;;;;;65864:673:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;65864:673:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65864:673:0;;-1:-1:-1;65864:673:0;;-1:-1:-1;;;;;65864:673:0:i;61127:237::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61127:237:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61127:237:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61127:237:0;;-1:-1:-1;61127:237:0;;-1:-1:-1;;;;;61127:237:0:i;69097:353::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;69097:353:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;69097:353:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69097:353:0;;;;;;;;-1:-1:-1;69097:353:0;;-1:-1:-1;;;;;69097:353:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;69097:353:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69097:353:0;;-1:-1:-1;69097:353:0;;-1:-1:-1;;;;;69097:353:0:i;41139:104::-;;;;;;;;;;;;;:::i;42634:402::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42634:402:0;;;;;;;;;;:::i;59389:218::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59389:218:0;;;;;;;;;;;;;;;-1:-1:-1;;;59389:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;59389:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59389:218:0;;;;;;;;-1:-1:-1;59389:218:0;;-1:-1:-1;;;;;59389:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;59389:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59389:218:0;;-1:-1:-1;59389:218:0;;-1:-1:-1;;;;;59389:218:0:i;68843:246::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68843:246:0;;;;;;;:::i;40095:234::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40095:234:0;;:::i;65597:96::-;;;;;;;;;;;;;:::i;60140:99::-;;;;;;;;;;;;;:::i;66873:273::-;;;:::i;45307:416::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45307:416:0;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;43107:218::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;43107:218:0;;;;;;;;;;:::i;61372:797::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61372:797:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61372:797:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61372:797:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61372:797:0;;-1:-1:-1;61372:797:0;;-1:-1:-1;;;;;61372:797:0:i;40479:193::-;40594:13;40632:25;40648:8;40632:15;:25::i;:::-;-1:-1:-1;;;;;40632:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40632:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40632:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40632:32:0;;;;;;-1:-1:-1;40632:32:0;;;;;;;;;;-1:-1:-1;40632:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40625:39;;40479:193;;;:::o;41876:254::-;42013:7;42045:77;42067:8;42077:25;42093:8;42077:15;:25::i;:::-;-1:-1:-1;;;;;42077:35:0;;42113:7;42077:44;;;;;;;;;;;;;-1:-1:-1;;;;;42077:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42077:44:0;42045:21;:77::i;:::-;42038:84;41876:254;-1:-1:-1;;;41876:254:0:o;31457:142::-;-1:-1:-1;;;;;;31558:33:0;31534:4;31558:33;;;;;;;;;;;;;;31457:142::o;66545:156::-;66617:25;66675:18;;;:8;:18;;;;;;-1:-1:-1;;;;;66675:18:0;;66545:156::o;40680:100::-;40767:5;40760:12;;;;;;;;-1:-1:-1;;40760:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40734:13;;40760:12;;40767:5;;40760:12;;40767:5;40760:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40680:100;;:::o;39693:236::-;39819:30;39905:15;;;:5;:15;;;;;;-1:-1:-1;;;;;39905:15:0;;39693:236::o;41624:181::-;41776:21;;;;:11;:21;;;;;;;;;41769:28;;;;;;-1:-1:-1;;41769:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41738:13;;41769:28;;;41776:21;41769:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41624:181;;;:::o;66709:156::-;-1:-1:-1;;;;;66830:27:0;66790:16;66830:27;;;:8;:27;;;;;;;66709:156::o;39397:188::-;39511:28;;39541:35;;-1:-1:-1;;;;;39511:28:0;;;;39397:188;;;:::o;62240:921::-;-1:-1:-1;;;;;62497:16:0;;62489:66;;;;-1:-1:-1;;;62489:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62596:12;:10;:12::i;:::-;-1:-1:-1;;;;;62588:20:0;:4;-1:-1:-1;;;;;62588:20:0;;:60;;;;62612:36;62629:4;62635:12;:10;:12::i;:::-;62612:16;:36::i;:::-;62566:151;;;;-1:-1:-1;;;62566:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62735:9;62730:126;62754:9;:16;62750:1;:20;62730:126;;;62792:52;62809:4;62815:2;62819:9;62829:1;62819:12;;;;;;;;;;;;;;62833:7;62841:1;62833:10;;;;;;;;;;;;;;62792:16;:52::i;:::-;62772:3;;62730:126;;;;62868:16;62887:12;:10;:12::i;:::-;62868:31;;62947:2;-1:-1:-1;;;;;62917:53:0;62941:4;-1:-1:-1;;;;;62917:53:0;62931:8;-1:-1:-1;;;;;62917:53:0;;62951:9;62962:7;62917:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62983:170;63033:8;63056:4;63075:2;63092:9;63116:7;63138:4;62983:35;:170::i;:::-;62240:921;;;;;;:::o;72949:195::-;73068:7;73100:25;73116:8;73100:15;:25::i;:::-;-1:-1:-1;;;;;73100:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73100:36:0;;72949:195;-1:-1:-1;;72949:195:0:o;67154:1115::-;-1:-1:-1;;;;;67372:27:0;;;67280:16;67372:27;;;:8;:27;;;;;;;;;67355:45;;;:5;:45;;;;;;;67372:27;;67355:45;67415:28;67411:702;;67461:42;67508:29;:27;:29::i;:::-;67460:77;;;67588:42;67595:34;67588:6;:42::i;:::-;-1:-1:-1;;;;;67563:68:0;;;67646:41;67654:15;;;:5;:15;;;;;;;;:32;;-1:-1:-1;;;;;;67654:32:0;;;;;;;;67646:7;:41;;;;;:48;;-1:-1:-1;;67646:48:0;67690:4;67646:48;;;67709:8;:18;;;;;:38;;;;;;;;;;;;;67762:27;;;:8;:27;;;;;:38;;;67563:68;-1:-1:-1;67571:59:0;;-1:-1:-1;67816:18:0;;;;67873:31;67730:17;67873:12;:31::i;:::-;67815:89;;;;;;67944:3;67919:12;:22;67932:8;67919:22;;;;;;;;;;;:28;;;;67993:14;-1:-1:-1;;;;;67962:51:0;;68014:8;68024:4;68030:6;68038:9;;67962:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67962:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;68068:33:0;;-1:-1:-1;;;;;68068:33:0;;;-1:-1:-1;68076:8:0;;-1:-1:-1;68068:33:0;;;;;67411:702;;;;;68123:83;68152:17;68172:10;68192:4;68199:6;68123:17;:83::i;:::-;68217:44;68228:8;68238:14;68254:6;68217:10;:44::i;:::-;67154:1115;;;;;:::o;73152:223::-;73348:19;73152:223;-1:-1:-1;73152:223:0:o;36988:105::-;37084:1;36988:105;:::o;42201:362::-;42343:25;42406:8;:15;42392:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42392:30:0;;42381:41;;42438:9;42433:123;42457:8;:15;42453:1;:19;42433:123;;;42508:36;42518:8;42527:1;42518:11;;;;;;;;;;;;;;42531:9;42541:1;42531:12;;;;;;;;;;;;;;42508:9;:36::i;:::-;42494:8;42503:1;42494:11;;;;;;;;;;;;;;;;;:50;42474:3;;42433:123;;;;42201:362;;;;:::o;40934:197::-;41051:13;41089:25;41105:8;41089:15;:25::i;:::-;-1:-1:-1;;;;;41089:32:0;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65864:673;66017:24;66028:4;66034:6;66017:10;:24::i;:::-;66053:42;66100:29;:27;:29::i;:::-;66052:77;;;66222:4;66140:7;:79;66176:42;66183:34;66176:6;:42::i;:::-;65660:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65660:31:0;;;;;;;-1:-1:-1;;;;;;;;;;;;66148:25:0;;;:5;:25;;;-1:-1:-1;;;;;;;;;;;66148:70:0;;-1:-1:-1;;;;;;66148:70:0;-1:-1:-1;;;;;66148:70:0;;;;;;;;66140:79;;;;;;;;;;;;;;:86;;-1:-1:-1;;66140:86:0;;;;;;;;;;;65660:31;;;;;;;;;;;;;;;66268:25;;65660:31;;;;;;;;;;;;;;;66379:9;;65660:31;;;;;;;;;;;;;;;;;66344:32;;;:12;:32;;;;;:44;;;66237:152;;-1:-1:-1;;;66237:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;66237:152:0;;;;;;;;;;;;;;;;-1:-1:-1;;;66237:152:0;;;;;66268:25;;;66237:62;;:152;;;;;;;;;;;-1:-1:-1;66268:25:0;66237:152;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;65660:31:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65660:31:0;;;;;;;-1:-1:-1;;;;;;;;;;;66433:25:0;;;;:5;:25;;-1:-1:-1;;;;;;;;;;;66433:25:0;65660:31;;;;;;;;;;;;;;;;;;66405:54;;-1:-1:-1;;;;;66433:25:0;;;;-1:-1:-1;65650:42:0;;-1:-1:-1;66405:54:0;;;65660:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65660:31:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;66500:25:0;;;:5;:25;;-1:-1:-1;;;;;;;;;;;66500:25:0;66475:54;;;;;-1:-1:-1;;;;;66500:25:0;66475:54;;;;;;;;;;;;;;;;;;;;;;;;;65864:673;;;:::o;61127:237::-;61279:7;61288;61313:43;;-1:-1:-1;;;61313:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69097:353;69258:9;69253:105;69277:9;:16;69273:1;:20;69253:105;;;69315:31;69321:9;69331:1;69321:12;;;;;;;;;;;;;;69335:7;69343:1;69335:10;;;;;;;;;;;;;;69315:5;:31::i;:::-;-1:-1:-1;;69295:3:0;;69253:105;;;;69419:1;-1:-1:-1;;;;;69373:69:0;69399:10;-1:-1:-1;;;;;69373:69:0;69387:10;-1:-1:-1;;;;;69373:69:0;;69423:9;69434:7;69373:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69097:353;;:::o;41139:104::-;41228:7;41221:14;;;;;;;-1:-1:-1;;41221:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41195:13;;41221:14;;41228:7;;41221:14;;41228:7;41221:14;;;;;;;;;;;;;;;;;;;;;;;;42634:402;42761:14;42778:12;:10;:12::i;:::-;42761:29;;42833:8;-1:-1:-1;;;;;42823:18:0;:6;-1:-1:-1;;;;;42823:18:0;;;42801:109;;;;-1:-1:-1;;;42801:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42923:26:0;;;;;;;:18;:26;;;;;;;;:36;;;;;;;;;;;;;:47;;-1:-1:-1;;42923:47:0;;;;;;;;;;42986:42;;;;;;;;;;;;;;;;;42634:402;;;:::o;59389:218::-;59556:43;;-1:-1:-1;;;59556:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68843:246;68974:23;68980:8;68990:6;68974:5;:23::i;:::-;-1:-1:-1;;69013:68:0;;;;;;;;;;;;;;69060:1;;69040:10;;;;-1:-1:-1;;;;;;;;;;;69013:68:0;;;;;;;;;;68843:246;;:::o;40095:234::-;40217:7;40249:72;40271:8;40281:25;40297:8;40281:15;:25::i;:::-;-1:-1:-1;;;;;40281:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40249:72;40242:79;40095:234;-1:-1:-1;;40095:234:0:o;65597:96::-;65660:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65660:31:0;;;;;-1:-1:-1;;;;;;;;;;;65597:96:0;:::o;60140:99::-;60216:15;;-1:-1:-1;;;;;60216:15:0;60140:99;:::o;66873:273::-;66933:16;66951:22;67006:1;66994:9;:13;66986:45;;;;;-1:-1:-1;;;66986:45:0;;;;;;;;;;;;-1:-1:-1;;;66986:45:0;;;;;;;;;;;;;;;-1:-1:-1;;65660:31:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65660:31:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;67101:25:0;;;:5;:25;;;-1:-1:-1;;;;;;;;;;;67101:25:0;-1:-1:-1;;;;;67101:25:0;67042:96;65650:42;67101:25;67128:9;67042:10;:96::i;45307:416::-;45451:15;;;;:5;:15;;;;;;-1:-1:-1;;;;;45451:15:0;45470:10;45451:29;45443:62;;;;;-1:-1:-1;;;45443:62:0;;;;;;;;;;;;-1:-1:-1;;;45443:62:0;;;;;;;;;;;;;;;45516:20;45539:39;45561:8;45571:6;45539:21;:39::i;:::-;45516:62;-1:-1:-1;45592:17:0;45589:55;;45626:7;;;45589:55;45688:2;-1:-1:-1;;;;;45659:56:0;45682:4;-1:-1:-1;;;;;45659:56:0;45674:6;-1:-1:-1;;;;;45659:56:0;-1:-1:-1;;;;;;;;;;;45692:8:0;45702:12;45659:56;;;;;;;;;;;;;;;;;;;;;;;;45307:416;;;;;;;:::o;43107:218::-;-1:-1:-1;;;;;43280:27:0;;;43251:4;43280:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;43107:218::o;61372:797::-;-1:-1:-1;;;;;61604:16:0;;61596:66;;;;-1:-1:-1;;;61596:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61673:16;61692:12;:10;:12::i;:::-;61673:31;;61745:8;-1:-1:-1;;;;;61737:16:0;:4;-1:-1:-1;;;;;61737:16:0;;:52;;;;61757:32;61774:4;61780:8;61757:16;:32::i;:::-;61715:143;;;;-1:-1:-1;;;61715:143:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61871:44;61888:4;61894:2;61898:8;61908:6;61871:16;:44::i;:::-;61964:2;-1:-1:-1;;;;;61933:52:0;61958:4;-1:-1:-1;;;;;61933:52:0;61948:8;-1:-1:-1;;;;;61933:52:0;-1:-1:-1;;;;;;;;;;;61968:8:0;61978:6;61933:52;;;;;;;;;;;;;;;;;;;;;;;;61998:163;62043:8;62066:4;62085:2;62102:8;62125:6;62146:4;61998:30;:163::i;18591:106::-;18679:10;18591:106;:::o;63169:271::-;63285:14;63303:62;63342:4;63348:8;63358:6;63303:38;:62::i;:::-;63283:82;;;63376:25;63392:8;63376:15;:25::i;:::-;-1:-1:-1;;;;;63376:38:0;;63415:4;63421:2;63425:6;63376:56;;;;;;;;;;;;;-1:-1:-1;;;;;63376:56:0;;;;;;-1:-1:-1;;;;;63376:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;63169:271:0:o;47251:1009::-;47500:15;:2;-1:-1:-1;;;;;47500:13:0;;:15::i;:::-;47496:757;;;47570:2;-1:-1:-1;;;;;47553:43:0;;47619:8;47650:4;47677:3;47703:7;47733:4;47553:203;;;;;;;;;;;;;-1:-1:-1;;;;;47553:203:0;;;;;;-1:-1:-1;;;;;47553:203:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47553:203:0;;;47532:710;;;;:::i;:::-;;;;;;;;48115:6;48108:14;;-1:-1:-1;;;48108:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47532:710;48164:62;;-1:-1:-1;;;48164:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47532:710;-1:-1:-1;;;;;;47841:85:0;;-1:-1:-1;;;47841:85:0;47815:224;;47969:50;;-1:-1:-1;;;47969:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48268:500;48320:12;48542:21;48532:8;48528:36;-1:-1:-1;;;;;48414:169:0;48394:1;48369:229;48633:2;48630:1;48627;48620:16;48612:24;-1:-1:-1;48657:17:0;;48692:58;;;;48650:100;;48692:58;48722:9;48650:100;;48354:407;;;:::o;69908:836::-;70038:18;;70106:11;70180:17;70216:21;70180:17;70216:9;:21::i;:::-;70209:28;;-1:-1:-1;;;;;;;;;;;70267:4:0;70251:22;;;;;;:39;70248:106;;;70314:28;70324:17;70314:9;:28::i;:::-;70307:35;;70248:106;70395:4;70378:30;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70378:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70378:30:0;;;;;;;;;;;;;;;;;;;;70364:45;;70429:23;70441:10;70429:11;:23::i;:::-;70420:32;;-1:-1:-1;;;;;;;;;;;70482:6:0;70466:24;;;;;;:41;70463:110;;;70533:28;70543:17;70533:9;:28::i;:::-;70524:37;;70463:110;70621:6;70599:29;;;;;;-1:-1:-1;;;70599:29:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70599:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70583:46;;70646:25;70660:10;70646:13;:25::i;:::-;70640:31;-1:-1:-1;70685:8:0;70682:55;;70716:9;;70710:15;;70682:55;69908:836;;;;;;:::o;71227:351::-;71396:73;;;-1:-1:-1;;;;;71396:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;71396:73:0;-1:-1:-1;;;71396:73:0;;;71371:99;;;;71336:12;;71350:17;;71371:24;;;;71396:73;71371:99;;;71396:73;71371:99;;71396:73;71371:99;;;;;;;;;;-1:-1:-1;;71371:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71335:135;;;;71489:7;:57;;;;-1:-1:-1;71501:11:0;;:16;;:44;;;71532:4;71521:24;;;;;;;;;;;;;;;-1:-1:-1;71521:24:0;71501:44;71481:89;;;;;-1:-1:-1;;;71481:89:0;;;;;;;;;;;;-1:-1:-1;;;71481:89:0;;;;;;;;;;;;;;68277:558;68383:26;68421:23;68435:8;68421:13;:23::i;:::-;68412:6;:32;68383:61;;68455:25;68471:8;68455:15;:25::i;:::-;-1:-1:-1;;;;;68455:30:0;;68486:10;68498:18;68455:62;;;;;;;;;;;;;-1:-1:-1;;;;;68455:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68528:18;68570:59;68588:10;68600:8;68610:18;68570:17;:59::i;:::-;68549:80;;;-1:-1:-1;68643:14:0;;68640:188;;68679:42;;;;;;-1:-1:-1;;;;;68679:42:0;;;;;;;;;;;;;;;;;;;;;;;68741:75;;;;;;;;;;;;;;68783:10;;68779:1;;68764:4;;-1:-1:-1;;;;;;;;;;;68741:75:0;;;;;;;;;;68277:558;;;;;:::o;59615:412::-;59739:15;;-1:-1:-1;;;;;59739:15:0;:29;59731:62;;;;;-1:-1:-1;;;59731:62:0;;;;;;;;;;;;-1:-1:-1;;;59731:62:0;;;;;;;;;;;;;;;59875:15;:28;;-1:-1:-1;;;;;;59875:28:0;59893:10;59875:28;;;;;;59859:82;;;-1:-1:-1;;;59859:82:0;;;;59805:49;;59893:10;59859:80;;:82;;;;;;;;;;;59893:10;59859:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59859:82:0;;-1:-1:-1;59952:67:0;59859:82;60006:4;60012:6;59952:10;:67::i;:::-;59615:412;;;:::o;69458:442::-;69566:13;69581:7;69612:29;69624:8;69634:6;69612:11;:29::i;:::-;-1:-1:-1;69601:40:0;-1:-1:-1;69652:13:0;69676:23;69690:8;69676:13;:23::i;:::-;69668:5;:31;;;;;65660;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65660:31:0;;;;;69668;;-1:-1:-1;;;;;;;;;;;;69713:30:0;;69710:183;;;69760:26;;:10;;:26;;;;;69780:5;;69760:26;;;;69780:5;69760:10;:26;;;;;;;;;;;;;;;;;;;;;69710:183;;;69819:62;69844:16;69851:8;69844:6;:16::i;:::-;69863:10;69875:5;69819:13;:62::i;:::-;69458:442;;;;;;:::o;46292:951::-;46516:15;:2;-1:-1:-1;;;;;46516:13:0;;:15::i;:::-;46512:724;;;46586:2;-1:-1:-1;;;;;46569:38:0;;46630:8;46661:4;46688:2;46713:6;46742:4;46569:196;;;;;;;;;;;;;-1:-1:-1;;;;;46569:196:0;;;;;;-1:-1:-1;;;;;46569:196:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46569:196:0;;;46548:677;;;;:::i;:::-;-1:-1:-1;;;;;;46850:59:0;;-1:-1:-1;;;46850:59:0;46824:198;;46952:50;;-1:-1:-1;;;46952:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63448:467;63574:23;63599:14;63626:18;63647:48;63678:8;63688:6;63647:30;:48::i;:::-;63626:69;;63706:25;63734;63750:8;63734:15;:25::i;:::-;-1:-1:-1;;;;;63734:35:0;;63770:4;63734:41;;;;;;;;;;;;;-1:-1:-1;;;;;63734:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63734:41:0;;-1:-1:-1;63804:25:0;63814:4;63820:8;63804:9;:25::i;:::-;63786:43;;63859:15;63849:6;:25;:58;;63897:10;63849:58;;;63877:17;63849:58;63840:67;;63448:467;;;;;;;;:::o;25158:422::-;25525:20;25564:8;;;25158:422::o;71586:275::-;71736:48;;;;;;;;;;;;;;;;-1:-1:-1;;;;;71736:48:0;-1:-1:-1;;;71736:48:0;;;71705:80;;;;71650:18;;;;-1:-1:-1;;;;;71705:30:0;;;71736:48;;71705:80;;;;;;71736:48;71705:80;;;;;;;;;;-1:-1:-1;;71705:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71681:104;;;71803:4;:11;71818:1;71803:16;:50;;71838:4;71827:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71827:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71827:26:0;;;;;;-1:-1:-1;71827:26:0;;;;;;;;;;-1:-1:-1;71827:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71803:50;;;;;;;;;;;;;;;71796:57;71586:275;-1:-1:-1;;;71586:275:0:o;72443:494::-;72575:42;;;;;;;;;;;-1:-1:-1;;;72575:42:0;;;;72649:13;;72659:2;72649:13;;;72499;72649;;;;;;-1:-1:-1;;;;;72549:14:0;;;72575:42;72499:13;;72649;;;;;;;;;;-1:-1:-1;72649:13:0;72630:32;;-1:-1:-1;;;72673:3:0;72677:1;72673:6;;;;;;;;;;;:12;-1:-1:-1;;;;;72673:12:0;;;;;;;;;-1:-1:-1;;;72696:3:0;72700:1;72696:6;;;;;;;;;;;:12;-1:-1:-1;;;;;72696:12:0;;;;;;;;;72724:6;72719:182;72740:2;72736:1;:6;72719:182;;;72777:8;72814:1;72797:5;72803:1;72807:2;72803:6;72797:13;;;;;;;;;;-1:-1:-1;;;;;72797:18:0;;;;72791:25;;72786:31;;72777:41;;;;;;;;;;;;;;;;72764:3;72770:1;72772;72770:3;72768:1;:5;72764:10;;;;;;;;;;;:54;-1:-1:-1;;;;;72764:54:0;;;;;;;;;72846:8;72866:5;72872:1;72876:2;72872:6;72866:13;;;;;;;72846:43;;72866:13;;;72882:4;72860:27;;72846:43;;;;;;;;;;;;;;72833:3;72839:1;72841;72839:3;72837:1;:5;72833:10;;;;;;;;;;;:56;-1:-1:-1;;;;;72833:56:0;;;;;;;;-1:-1:-1;72744:3:0;;72719:182;;;-1:-1:-1;72925:3:0;72443:494;-1:-1:-1;;;;72443:494:0:o;71869:283::-;72023:50;;;;;;;;;;;;;;;;-1:-1:-1;;;;;72023:50:0;-1:-1:-1;;;72023:50:0;;;71992:82;;;;71935:20;;;;-1:-1:-1;;;;;71992:30:0;;;72023:50;;71992:82;;;;;;72023:50;71992:82;;;;;;;;;-1:-1:-1;;71992:82:0;;;;;;;;;;;;72160:275;72307:52;;;;;;;;;;;;;;;;-1:-1:-1;;;;;72307:52:0;-1:-1:-1;;;72307:52:0;;;72276:84;;;;72228:11;;72255:17;;-1:-1:-1;;;;;72276:30:0;;;72307:52;;72276:84;;;;;;72307:52;72276:84;;;;;;;;;;-1:-1:-1;;72276:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72252:108;;;72377:4;:11;72392:1;72377:16;:50;;72411:4;72400:27;;;;;;;;;;;;;;;-1:-1:-1;72400:27:0;72377:50;;;72396:1;72371:56;72160:275;-1:-1:-1;;;72160:275:0:o;70752:140::-;70815:7;70860:22;;;:12;:22;;;;;;70848:9;;:34;70843:2;:40;;70752:140::o;60247:432::-;60464:15;;60448:69;;;-1:-1:-1;;;60448:69:0;;;;;;;;;;60359:20;;;;-1:-1:-1;;;;;60464:15:0;;;;60448:49;;:69;;;;;;;;;;;60464:15;60448:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60448:69:0;;;;;;;;;-1:-1:-1;60448:69:0;-1:-1:-1;60531:16:0;;;;;:43;;-1:-1:-1;;;;;;60551:23:0;;;;60531:43;60528:144;;;60591:25;60607:8;60591:15;:25::i;:::-;-1:-1:-1;;;;;60591:38:0;;60630:4;60636:9;60647:12;60591:69;;;;;;;;;;;;;-1:-1:-1;;;;;60591:69:0;;;;;;-1:-1:-1;;;;;60591:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;60528:144:0;60247:432;;;;;;:::o;35271:1709::-;35455:28;;-1:-1:-1;;;;;35455:28:0;:42;35433:112;;;;;-1:-1:-1;;;35433:112:0;;;;;;;;;;;;-1:-1:-1;;;35433:112:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;35580:41:0;;35558:131;;;;-1:-1:-1;;;35558:131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35769:28;:58;;-1:-1:-1;;;;;;35769:58:0;-1:-1:-1;;;;;35769:58:0;;;;;;;;35738:122;;;-1:-1:-1;;;35738:122:0;;;;:120;;:122;;;;;;;;;;;;;;;35769:58;35738:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35738:122:0;35700:35;:160;35893:22;;35738:122;35893:22;;;-1:-1:-1;;;;;;;;;;;35893:39:0;;35871:106;;;;;-1:-1:-1;;;35871:106:0;;;;;;;;;;;;-1:-1:-1;;;35871:106:0;;;;;;;;;;;;;;;36010:24;;;;;;-1:-1:-1;;;;;;;;;;;36010:41:0;;35988:110;;;;;-1:-1:-1;;;35988:110:0;;;;;;;;;;;;-1:-1:-1;;;35988:110:0;;;;;;;;;;;;;;;36111:12;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;36134:16:0;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;36173:2:0;36161:9;:14;36188:55;-1:-1:-1;;;36188:18:0;:55::i;:::-;36254:46;-1:-1:-1;;;36254:18:0;:46::i;:::-;36311:43;-1:-1:-1;;;36311:18:0;:43::i;:::-;36365:48;-1:-1:-1;;;36365:18:0;:48::i;:::-;36424:51;-1:-1:-1;;;36424:18:0;:51::i;:::-;36486:50;-1:-1:-1;;;36486:18:0;:50::i;:::-;36547;-1:-1:-1;;;36547:18:0;:50::i;:::-;36608:37;-1:-1:-1;;;36608:18:0;:37::i;:::-;36656:45;-1:-1:-1;;;36656:18:0;:45::i;:::-;36712:30;-1:-1:-1;;;36712:18:0;:30::i;:::-;36769;-1:-1:-1;;;36769:18:0;:30::i;:::-;36828:42;-1:-1:-1;;;36828:18:0;:42::i;:::-;36881:30;-1:-1:-1;;;36881:18:0;:30::i;:::-;36931;-1:-1:-1;;;36931:18:0;:30::i;63923:492::-;64022:13;64037:20;64071:23;64096:14;64114:68;64153:10;64165:8;64175:6;64114:38;:68::i;:::-;64070:112;;;;64220:6;64201:15;:25;;64193:57;;;;;-1:-1:-1;;;64193:57:0;;;;;;;;;;;;-1:-1:-1;;;64193:57:0;;;;;;;;;;;;;;;64276:47;64294:10;64306:8;64316:6;64276:17;:47::i;:::-;64261:62;;64334:25;64350:8;64334:15;:25::i;:::-;-1:-1:-1;;;;;64334:30:0;;64365:10;64394:12;64385:6;:21;64377:29;;;64334:73;;;;;;;;;;;;;-1:-1:-1;;;;;64334:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63923:492;;;;;;;:::o;70900:319::-;71051:63;;;-1:-1:-1;;;;;71051:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;71051:63:0;-1:-1:-1;;;71051:63:0;;;71026:89;;;;70991:12;;71005:17;;71026:24;;;;71051:63;71026:89;;;71051:63;71026:89;;71051:63;71026:89;;;;;;;;;;-1:-1:-1;;71026:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70990:125;;;;71134:7;:57;;;;-1:-1:-1;71146:11:0;;:16;;:44;;;71177:4;71166:24;;;;;;;;;;;;;;;-1:-1:-1;71166:24:0;71146:44;71126:85;;;;;-1:-1:-1;;;71126:85:0;;;;;;;;;;;;-1:-1:-1;;;71126:85:0;;;;;;;;;;;;;;32006:201;-1:-1:-1;;;;;;32090:25:0;;;;;32082:66;;;;;-1:-1:-1;;;32082:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32159:33:0;:20;:33;;;;;;;;;;:40;;-1:-1:-1;;32159:40:0;32195:4;32159:40;;;32006:201::o;60687:432::-;60904:15;;60888:69;;;-1:-1:-1;;;60888:69:0;;;;;;;;;;60799:20;;;;-1:-1:-1;;;;;60904:15:0;;;;60888:49;;:69;;;;;;;;;;;60904:15;60888: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://1143ed524fce5e4efd55df7e8aa0a52113275cb97236c125fed6b53220d12e44
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.