ERC-1155
Overview
Max Total Supply
0 GameeVouchers
Holders
40
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 |
---|
Contract Name:
GameeVouchers
Compiler Version
v0.6.8+commit.0bbfe453
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-16 */ // Sources flattened with hardhat v2.0.3 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // 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/GSN/[email protected] 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/introspection/[email protected] 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/introspection/[email protected] 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 @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC1155/[email protected] pragma solidity 0.6.8; /** * @title ERC-1155 Multi Token Standard, basic interface * @dev See https://eips.ethereum.org/EIPS/eip-1155 * Note: The ERC-165 identifier for this interface is 0xd9b67a26. */ interface IERC1155 { event TransferSingle( address indexed _operator, address indexed _from, address indexed _to, uint256 _id, uint256 _value ); event TransferBatch( address indexed _operator, address indexed _from, address indexed _to, uint256[] _ids, uint256[] _values ); event ApprovalForAll( address indexed _owner, address indexed _operator, bool _approved ); event URI( string _value, uint256 indexed _id ); /** * @notice Transfers `value` amount of an `id` from `from` to `to` (with safety call). * @dev Caller must be approved to manage the tokens being transferred out of the `from` account (see "Approval" section of the standard). * @dev MUST revert if `to` is the zero address. * @dev MUST revert if balance of holder for token `id` is lower than the `value` sent. * @dev MUST revert on any other error. * @dev MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard). * @dev After the above conditions are met, this function MUST check if `to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `to` and act appropriately (see "Safe Transfer Rules" section of the standard). * @param from Source address * @param to Target address * @param id ID of the token type * @param value Transfer amount * @param data Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `to` */ function safeTransferFrom( address from, address to, uint256 id, uint256 value, bytes calldata data ) external; /** * @notice Transfers `values` amount(s) of `ids` from the `from` address to the `to` address specified (with safety call). * @dev Caller must be approved to manage the tokens being transferred out of the `from` account (see "Approval" section of the standard). * @dev MUST revert if `to` is the zero address. * @dev MUST revert if length of `ids` is not the same as length of `values`. * @dev MUST revert if any of the balance(s) of the holder(s) for token(s) in `ids` is lower than the respective amount(s) in `values` sent to the recipient. * @dev MUST revert on any other error. * @dev MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard). * @dev Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc). * @dev After the above conditions for the transfer(s) in the batch are met, this function MUST check if `to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `to` and act appropriately (see "Safe Transfer Rules" section of the standard). * @param from Source address * @param to Target address * @param ids IDs of each token type (order and length must match _values array) * @param values Transfer amounts per token type (order and length must match _ids array) * @param data Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `to` */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external; /** * @notice Get the balance of an account's tokens. * @param owner The address of the token holder * @param id ID of the token * @return The _owner's balance of the token type requested */ function balanceOf(address owner, uint256 id) external view returns (uint256); /** * @notice Get the balance of multiple account/token pairs * @param owners The addresses of the token holders * @param ids ID of the tokens * @return The _owner's balance of the token types requested (i.e. balance for each (owner, id) pair) */ function balanceOfBatch( address[] calldata owners, uint256[] calldata ids ) external view returns (uint256[] memory); /** * @notice Enable or disable approval for a third party ("operator") to manage all of the caller's tokens. * @dev MUST emit the ApprovalForAll event on success. * @param operator Address to add to the set of authorized operators * @param approved True if the operator is approved, false to revoke approval */ function setApprovalForAll(address operator, bool approved) external; /** * @notice Queries the approval status of an operator for a given owner. * @param owner The owner of the tokens * @param operator Address of authorized operator * @return True if the operator is approved, false if not */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC1155/[email protected] pragma solidity 0.6.8; /** * @title ERC-1155 Multi Token Standard, optional metadata URI extension * @dev See https://eips.ethereum.org/EIPS/eip-1155 * Note: The ERC-165 identifier for this interface is 0x0e89341c. */ interface IERC1155MetadataURI { /** * @notice A distinct Uniform Resource Identifier (URI) for a given token. * @dev URIs are defined in RFC 3986. * @dev The URI MUST point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema". * @dev The uri function SHOULD be used to retrieve values if no event was emitted. * @dev The uri function MUST return the same value as the latest event for an _id if it was emitted. * @dev The uri function MUST NOT be used to check for the existence of a token as it is possible for an implementation to return a valid string even if the token does not exist. * @return URI string */ function uri(uint256 id) external view returns (string memory); } // File @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC1155/[email protected] pragma solidity 0.6.8; /** * @title ERC-1155 Multi Token Standard, optional Inventory extension * @dev See https://eips.ethereum.org/EIPS/eip-xxxx * Interface for fungible/non-fungible tokens management on a 1155-compliant contract. * * This interface rationalizes the co-existence of fungible and non-fungible tokens * within the same contract. As several kinds of fungible tokens can be managed under * the Multi-Token standard, we consider that non-fungible tokens can be classified * under their own specific type. We introduce the concept of non-fungible collection * and consider the usage of 3 types of identifiers: * (a) Fungible Token identifiers, each representing a set of Fungible Tokens, * (b) Non-Fungible Collection identifiers, each representing a set of Non-Fungible Tokens (this is not a token), * (c) Non-Fungible Token identifiers. * Identifiers nature * | Type | isFungible | isCollection | isToken | * | Fungible Token | true | true | true | * | Non-Fungible Collection | false | true | false | * | Non-Fungible Token | false | false | true | * * Identifiers compatibilities * | Type | transfer | balance | supply | owner | * | Fungible Token | OK | OK | OK | NOK | * | Non-Fungible Collection | NOK | OK | OK | NOK | * | Non-Fungible Token | OK | 0 or 1 | 0 or 1 | OK | * * Note: The ERC-165 identifier for this interface is 0x469bd23f. */ interface IERC1155Inventory { /** * Optional event emitted when a collection is created. * This event SHOULD NOT be emitted twice for the same `collectionId`. * * The parameters in the functions `collectionOf` and `ownerOf` are required to be * non-fungible token identifiers, so they should not be called with any collection * identifiers, else they will revert. * * On the contrary, the functions `balanceOf`, `balanceOfBatch` and `totalSupply` are * best used with collection identifiers, which will return meaningful information for * the owner. */ event CollectionCreated (uint256 indexed collectionId, bool indexed fungible); /** * Retrieves the owner of a non-fungible token. * @dev Reverts if `nftId` is owned by the zero address. // ERC721 compatibility * @dev Reverts if `nftId` does not represent a non-fungible token. * @param nftId The token identifier to query. * @return Address of the current owner of the token. */ function ownerOf(uint256 nftId) external view returns (address); /** * Retrieves the total supply of `id`. * If `id` represents a fungible or non-fungible collection, returns the supply of tokens for this collection. * If `id` represents a non-fungible token, returns 1 if the token exists, else 0. * @param id The identifier for which to retrieve the supply of. * @return The supplies for each identifier in `ids`. */ function totalSupply(uint256 id) external view returns (uint256); /** * Introspects whether or not `id` represents afungible token. * This function MUST return true even for afungible tokens which is not-yet created. * @param id The identifier to query. * @return bool True if `id` represents afungible token, false otherwise. */ function isFungible(uint256 id) external pure returns (bool); /** * Introspects the non-fungible collection to which `nftId` belongs. * This function MUST return a value representing a non-fungible collection. * This function MUST return a value for a non-existing token, and SHOULD NOT be used to check the existence of a non-fungible token. * @dev Reverts if `nftId` does not represent a non-fungible token. * @param nftId The token identifier to query the collection of. * @return uint256 the non-fungible collection identifier to which `nftId` belongs. */ function collectionOf(uint256 nftId) external pure returns (uint256); /** * @notice this definition replaces the original {ERC1155-balanceOf}. * Retrieves the balance of `id` owned by account `owner`. * If `id` represents a fungible or non-fungible collection, returns the balance of tokens for this collection. * If `id` represents a non-fungible token, returns 1 if the token is owned by `owner`, else 0. * @param owner The account to retrieve the balance of. * @param id The identifier to retrieve the balance of. * @return The balance of `id` owned by account `owner`. */ // function balanceOf(address owner, uint256 id) external view returns (uint256); /** * @notice this definition replaces the original {ERC1155-balanceOfBatch}. * Retrieves the balances of `ids` owned by accounts `owners`. For each pair: * if `id` represents a fungible or non-fungible collection, returns the balance of tokens for this collection, * if `id` represents a non-fungible token, returns 1 if the token is owned by `owner`, else 0. * @param owners The addresses of the token holders * @param ids The identifiers to retrieve the balance of. * @return The balances of `ids` owned by accounts `owners`. */ // function balanceOfBatch(address[] calldata owners, uint256[] calldata ids) external view returns (uint256[] memory); } // File @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC1155/[email protected] pragma solidity 0.6.8; /** * @title ERC-1155 Multi Token Standard, token receiver * @dev See https://eips.ethereum.org/EIPS/eip-1155 * Interface for any contract that wants to support transfers from ERC1155 asset contracts. * Note: The ERC-165 identifier for this interface is 0x4e2312e0. */ interface IERC1155TokenReceiver { /** * @notice Handle the receipt of a single ERC1155 token type. * @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeTransferFrom` after the balance has been updated. * This function MUST return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61) if it accepts the transfer. * This function MUST revert if it rejects the transfer. * Return of any other value than the prescribed keccak256 generated value MUST result in the transaction being reverted by the caller. * @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 `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @notice Handle the receipt of multiple ERC1155 token types. * @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeBatchTransferFrom` after the balances have been updated. * This function MUST return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81) if it accepts the transfer(s). * This function MUST revert if it rejects the transfer(s). * Return of any other value than the prescribed keccak256 generated value MUST result in the transaction being reverted by the caller. * @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)"))` */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } // File @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC1155/[email protected] pragma solidity 0.6.8; abstract contract ERC1155InventoryBase is IERC1155, IERC1155MetadataURI, IERC1155Inventory, ERC165, Context { // bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)")) bytes4 internal constant _ERC1155_RECEIVED = 0xf23a6e61; // bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)")) bytes4 internal constant _ERC1155_BATCH_RECEIVED = 0xbc197c81; // Burnt non-fungible token owner's magic value uint256 internal constant _BURNT_NFT_OWNER = 0xdead000000000000000000000000000000000000000000000000000000000000; // Non-fungible bit. If an id has this bit set, it is a non-fungible (either collection or token) uint256 internal constant _NF_BIT = 1 << 255; // Mask for non-fungible collection (including the nf bit) uint256 internal constant _NF_COLLECTION_MASK = uint256(type(uint32).max) << 224; uint256 internal constant _NF_TOKEN_MASK = ~_NF_COLLECTION_MASK; /* owner => operator => approved */ mapping(address => mapping(address => bool)) internal _operators; /* collection ID => owner => balance */ mapping(uint256 => mapping(address => uint256)) internal _balances; /* collection ID => supply */ mapping(uint256 => uint256) internal _supplies; /* NFT ID => owner */ mapping(uint256 => uint256) internal _owners; /* collection ID => creator */ mapping(uint256 => address) internal _creators; /** * @dev Constructor function */ constructor() internal { _registerInterface(type(IERC1155).interfaceId); _registerInterface(type(IERC1155MetadataURI).interfaceId); _registerInterface(type(IERC1155Inventory).interfaceId); } //================================== ERC1155 =======================================/ /** * @dev See {IERC1155-balanceOf}. */ function balanceOf(address owner, uint256 id) public virtual override view returns (uint256) { require(owner != address(0), "Inventory: zero address"); if (isNFT(id)) { return _owners[id] == uint256(owner) ? 1 : 0; } return _balances[id][owner]; } /** * @dev See {IERC1155-balanceOfBatch}. */ function balanceOfBatch(address[] memory owners, uint256[] memory ids) public virtual override view returns (uint256[] memory) { require(owners.length == ids.length, "Inventory: inconsistent arrays"); uint256[] memory balances = new uint256[](owners.length); for (uint256 i = 0; i != owners.length; ++i) { balances[i] = balanceOf(owners[i], ids[i]); } return balances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { address sender = _msgSender(); require(operator != sender, "Inventory: self-approval"); _operators[sender][operator] = approved; emit ApprovalForAll(sender, operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address tokenOwner, address operator) public virtual override view returns (bool) { return _operators[tokenOwner][operator]; } //================================== ERC1155MetadataURI =======================================/ /** * @dev See {IERC1155MetadataURI-uri}. */ function uri(uint256 id) external virtual override view returns (string memory) { return _uri(id); } //================================== ERC1155Inventory =======================================/ /** * @dev See {IERC1155Inventory-isFungible}. */ function isFungible(uint256 id) public virtual override pure returns (bool) { return id & _NF_BIT == 0; } /** * @dev See {IERC1155Inventory-collectionOf}. */ function collectionOf(uint256 nftId) public virtual override pure returns (uint256) { require(isNFT(nftId), "Inventory: not an NFT"); return nftId & _NF_COLLECTION_MASK; } /** * @dev See {IERC1155Inventory-ownerOf}. */ function ownerOf(uint256 nftId) public virtual override view returns (address) { address owner = address(_owners[nftId]); require(owner != address(0), "Inventory: non-existing NFT"); return owner; } /** * @dev See {IERC1155Inventory-totalSupply}. */ function totalSupply(uint256 id) public virtual override view returns (uint256) { if (isNFT(id)) { return address(_owners[id]) == address(0) ? 0 : 1; } else { return _supplies[id]; } } //================================== ERC1155Inventory Non-standard helpers =======================================/ /** * @dev Introspects whether an identifier represents an non-fungible token. * @param id Identifier to query. * @return True if `id` represents an non-fungible token. */ function isNFT(uint256 id) public virtual pure returns (bool) { return (id & _NF_BIT) != 0 && (id & _NF_TOKEN_MASK != 0); } //================================== Inventory Internal Functions =======================================/ /** * Creates a collection (optional). * @dev Reverts if `collectionId` does not represent a collection. * @dev Reverts if `collectionId` has already been created. * @dev Emits a {IERC1155Inventory-CollectionCreated} event. * @param collectionId Identifier of the collection. */ function _createCollection(uint256 collectionId) internal virtual { require(!isNFT(collectionId), "Inventory: not a collection"); require(_creators[collectionId] == address(0), "Inventory: existing collection"); _creators[collectionId] = _msgSender(); emit CollectionCreated(collectionId, isFungible(collectionId)); } /** * @dev (abstract) Returns an URI for a given identifier. * @param id Identifier to query the URI of. * @return The metadata URI for `id`. */ function _uri(uint256 id) internal virtual view returns (string memory); /** * Returns whether `sender` is authorised to make a transfer on behalf of `from`. * @param from The address to check operatibility upon. * @param sender The sender address. * @return True if sender is `from` or an operator for `from`, false otherwise. */ function _isOperatable(address from, address sender) internal virtual view returns (bool) { return (from == sender) || _operators[from][sender]; } //================================== Token Receiver Calls Internal =======================================/ /** * Calls {IERC1155TokenReceiver-onERC1155Received} on a target contract. * @dev Reverts if `to` is not a contract. * @dev Reverts if the call to the target fails or is refused. * @param from Previous token owner. * @param to New token owner. * @param id Identifier of the token transferred. * @param value Amount of token transferred. * @param data Optional data to send along with the receiver contract call. */ function _callOnERC1155Received( address from, address to, uint256 id, uint256 value, bytes memory data ) internal { require( IERC1155TokenReceiver(to).onERC1155Received(_msgSender(), from, id, value, data) == _ERC1155_RECEIVED, "Inventory: transfer refused" ); } /** * Calls {IERC1155TokenReceiver-onERC1155batchReceived} on a target contract. * @dev Reverts if `to` is not a contract. * @dev Reverts if the call to the target fails or is refused. * @param from Previous tokens owner. * @param to New tokens owner. * @param ids Identifiers of the tokens to transfer. * @param values Amounts of tokens to transfer. * @param data Optional data to send along with the receiver contract call. */ function _callOnERC1155BatchReceived( address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) internal { require( IERC1155TokenReceiver(to).onERC1155BatchReceived(_msgSender(), from, ids, values, data) == _ERC1155_BATCH_RECEIVED, "Inventory: transfer refused" ); } } // File @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC1155/[email protected] pragma solidity 0.6.8; /** * @title ERC1155Inventory, a contract which manages up to multiple Collections of Fungible and Non-Fungible Tokens * @dev In this implementation, with N representing the Non-Fungible Collection mask length, identifiers can represent either: * (a) a Fungible Token: * - most significant bit == 0 * (b) a Non-Fungible Collection: * - most significant bit == 1 * - (256-N) least significant bits == 0 * (c) a Non-Fungible Token: * - most significant bit == 1 * - (256-N) least significant bits != 0 * with N = 32. * */ abstract contract ERC1155Inventory is ERC1155InventoryBase { using Address for address; //================================== ERC1155 =======================================/ /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 value, bytes memory data ) public virtual override { _safeTransferFrom(from, to, id, value, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) public virtual override { _safeBatchTransferFrom(from, to, ids, values, data); } //============================== Minting Core Internal Helpers =================================/ function _mintFungible( address to, uint256 id, uint256 value ) internal { require(value != 0, "Inventory: zero value"); uint256 supply = _supplies[id]; uint256 newSupply = supply + value; require(newSupply > supply, "Inventory: supply overflow"); _supplies[id] = newSupply; // cannot overflow as any balance is bounded up by the supply which cannot overflow _balances[id][to] += value; } function _mintNFT( address to, uint256 id, uint256 value, bool isBatch ) internal { require(value == 1, "Inventory: wrong NFT value"); require(_owners[id] == 0, "Inventory: existing/burnt NFT"); _owners[id] = uint256(to); if (!isBatch) { uint256 collectionId = id & _NF_COLLECTION_MASK; // it is virtually impossible that a non-fungible collection supply // overflows due to the cost of minting individual tokens ++_supplies[collectionId]; // cannot overflow as supply cannot overflow ++_balances[collectionId][to]; } } //============================== Minting Internal Functions ====================================/ /** * Mints some token. * @dev Reverts if `isBatch` is false and `to` is the zero address. * @dev Reverts if `id` represents a non-fungible collection. * @dev Reverts if `id` represents a non-fungible token and `value` is not 1. * @dev Reverts if `id` represents a non-fungible token which is owned by a non-zero address. * @dev Reverts if `id` represents afungible token and `value` is 0. * @dev Reverts if `id` represents afungible token and there is an overflow of supply. * @dev Reverts if `isBatch` is false, `safe` is true and the call to the receiver contract fails or is refused. * @dev Emits an {IERC1155-TransferSingle} event if `isBatch` is false. * @param to Address of the new token owner. * @param id Identifier of the token to mint. * @param value Amount of token to mint. * @param data Optional data to send along to a receiver contract. */ function _safeMint( address to, uint256 id, uint256 value, bytes memory data ) internal { require(to != address(0), "Inventory: transfer to zero"); if (isFungible(id)) { _mintFungible(to, id, value); } else if (id & _NF_TOKEN_MASK != 0) { _mintNFT(to, id, value, false); } else { revert("Inventory: not a token id"); } emit TransferSingle(_msgSender(), address(0), to, id, value); if (to.isContract()) { _callOnERC1155Received(address(0), to, id, value, data); } } /** * Mints a batch of tokens. * @dev Reverts if `ids` and `values` have different lengths. * @dev Reverts if `to` is the zero address. * @dev Reverts if one of `ids` represents a non-fungible collection. * @dev Reverts if one of `ids` represents a non-fungible token and its paired value is not 1. * @dev Reverts if one of `ids` represents a non-fungible token which is owned by a non-zero address. * @dev Reverts if one of `ids` represents afungible token and its paired value is 0. * @dev Reverts if one of `ids` represents afungible token and there is an overflow of supply. * @dev Reverts if `safe` is true and the call to the receiver contract fails or is refused. * @dev Emits an {IERC1155-TransferBatch} event. * @param to Address of the new tokens owner. * @param ids Identifiers of the tokens to mint. * @param values Amounts of tokens to mint. * @param data Optional data to send along to a receiver contract. */ function _safeBatchMint( address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) internal virtual { require(to != address(0), "Inventory: transfer to zero"); uint256 length = ids.length; require(length == values.length, "Inventory: inconsistent arrays"); uint256 nfCollectionId; uint256 nfCollectionCount; for (uint256 i; i < length; i++) { uint256 id = ids[i]; uint256 value = values[i]; if (isFungible(id)) { _mintFungible(to, id, value); } else if (id & _NF_TOKEN_MASK != 0) { _mintNFT(to, id, value, true); uint256 nextCollectionId = id & _NF_COLLECTION_MASK; if (nfCollectionId == 0) { nfCollectionId = nextCollectionId; nfCollectionCount = 1; } else { if (nextCollectionId != nfCollectionId) { _balances[nfCollectionId][to] += nfCollectionCount; _supplies[nfCollectionId] += nfCollectionCount; nfCollectionId = nextCollectionId; nfCollectionCount = 1; } else { nfCollectionCount++; } } } else { revert("Inventory: not a token id"); } } if (nfCollectionId != 0) { _balances[nfCollectionId][to] += nfCollectionCount; _supplies[nfCollectionId] += nfCollectionCount; } emit TransferBatch(_msgSender(), address(0), to, ids, values); if (to.isContract()) { _callOnERC1155BatchReceived(address(0), to, ids, values, data); } } //============================== Transfer Core Internal Helpers =================================/ function _transferFungible( address from, address to, uint256 id, uint256 value ) internal { require(value != 0, "Inventory: zero value"); uint256 balance = _balances[id][from]; require(balance >= value, "Inventory: not enough balance"); _balances[id][from] = balance - value; // cannot overflow as supply cannot overflow _balances[id][to] += value; } function _transferNFT( address from, address to, uint256 id, uint256 value, bool isBatch ) internal { require(value == 1, "Inventory: wrong NFT value"); require(from == address(_owners[id]), "Inventory: non-owned NFT"); _owners[id] = uint256(to); if (!isBatch) { uint256 collectionId = id & _NF_COLLECTION_MASK; // cannot underflow as balance is verified through ownership _balances[collectionId][from] -= 1; // cannot overflow as supply cannot overflow _balances[collectionId][to] += 1; } } //============================== Transfer Internal Functions =======================================/ /** * Transfers tokens to another address. * @dev Reverts if `isBatch` is false and `to` is the zero address. * @dev Reverts if `isBatch` is false the sender is not approved. * @dev Reverts if `id` represents a non-fungible collection. * @dev Reverts if `id` represents a non-fungible token and `value` is not 1. * @dev Reverts if `id` represents a non-fungible token and is not owned by `from`. * @dev Reverts if `id` represents afungible token and `value` is 0. * @dev Reverts if `id` represents afungible token and `from` doesn't have enough balance. * @dev Emits an {IERC1155-TransferSingle} event. * @param from Current token owner. * @param to Address of the new token owner. * @param id Identifier of the token to transfer. * @param value Amount of token to transfer. * @param data Optional data to pass to the receiver contract. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 value, bytes memory data ) internal { address sender = _msgSender(); require(to != address(0), "Inventory: transfer to zero"); require(_isOperatable(from, sender), "Inventory: non-approved sender"); if (isFungible(id)) { _transferFungible(from, to, id, value); } else if (id & _NF_TOKEN_MASK != 0) { _transferNFT(from, to, id, value, false); } else { revert("Inventory: not a token id"); } emit TransferSingle(sender, from, to, id, value); if (to.isContract()) { _callOnERC1155Received(from, to, id, value, data); } } /** * Transfers multiple tokens to another address * @dev Reverts if `ids` and `values` have inconsistent lengths. * @dev Reverts if `to` is the zero address. * @dev Reverts if the sender is not approved. * @dev Reverts if one of `ids` does not represent a token. * @dev Reverts if one of `ids` represents a non-fungible token and `value` is not 1. * @dev Reverts if one of `ids` represents a non-fungible token and is not owned by `from`. * @dev Reverts if one of `ids` represents afungible token and `value` is 0. * @dev Reverts if one of `ids` represents afungible token and `from` doesn't have enough balance. * @dev Emits an {IERC1155-TransferBatch} event. * @param from Current token owner. * @param to Address of the new token owner. * @param ids Identifiers of the tokens to transfer. * @param values Amounts of tokens to transfer. * @param data Optional data to pass to the receiver contract. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) internal virtual { require(to != address(0), "Inventory: transfer to zero"); uint256 length = ids.length; require(length == values.length, "Inventory: inconsistent arrays"); address sender = _msgSender(); require(_isOperatable(from, sender), "Inventory: non-approved sender"); uint256 nfCollectionId; uint256 nfCollectionCount; for (uint256 i; i < length; i++) { uint256 id = ids[i]; uint256 value = values[i]; if (isFungible(id)) { _transferFungible(from, to, id, value); } else if (id & _NF_TOKEN_MASK != 0) { _transferNFT(from, to, id, value, true); uint256 nextCollectionId = id & _NF_COLLECTION_MASK; if (nfCollectionId == 0) { nfCollectionId = nextCollectionId; nfCollectionCount = 1; } else { if (nextCollectionId != nfCollectionId) { _balances[nfCollectionId][from] -= nfCollectionCount; _balances[nfCollectionId][to] += nfCollectionCount; nfCollectionId = nextCollectionId; nfCollectionCount = 1; } else { nfCollectionCount++; } } } else { revert("Inventory: not a token id"); } } if (nfCollectionId != 0) { _balances[nfCollectionId][from] -= nfCollectionCount; _balances[nfCollectionId][to] += nfCollectionCount; } emit TransferBatch(sender, from, to, ids, values); if (to.isContract()) { _callOnERC1155BatchReceived(from, to, ids, values, data); } } //============================== Burning Core Internal Helpers =================================/ function _burnFungible( address from, uint256 id, uint256 value ) internal { require(value != 0, "Inventory: zero value"); uint256 balance = _balances[id][from]; require(balance >= value, "Inventory: not enough balance"); _balances[id][from] = balance - value; // Cannot underflow _supplies[id] -= value; } function _burnNFT( address from, uint256 id, uint256 value, bool isBatch ) internal { require(value == 1, "Inventory: wrong NFT value"); require(from == address(_owners[id]), "Inventory: non-owned NFT"); _owners[id] = _BURNT_NFT_OWNER; if (!isBatch) { uint256 collectionId = id & _NF_COLLECTION_MASK; // cannot underflow as balance is confirmed through ownership --_balances[collectionId][from]; // Cannot underflow --_supplies[collectionId]; } } //================================ Burning Internal Functions ======================================/ /** * Burns some token. * @dev Reverts if `isBatch` is false and the sender is not approved. * @dev Reverts if `id` represents a non-fungible collection. * @dev Reverts if `id` represents afungible token and `value` is 0. * @dev Reverts if `id` represents afungible token and `value` is higher than `from`'s balance. * @dev Reverts if `id` represents a non-fungible token and `value` is not 1. * @dev Reverts if `id` represents a non-fungible token which is not owned by `from`. * @dev Emits an {IERC1155-TransferSingle} event if `isBatch` is false. * @param from Address of the current token owner. * @param id Identifier of the token to burn. * @param value Amount of token to burn. */ function _burnFrom( address from, uint256 id, uint256 value ) internal { address sender = _msgSender(); require(_isOperatable(from, sender), "Inventory: non-approved sender"); if (isFungible(id)) { _burnFungible(from, id, value); } else if (id & _NF_TOKEN_MASK != 0) { _burnNFT(from, id, value, false); } else { revert("Inventory: not a token id"); } emit TransferSingle(sender, from, address(0), id, value); } /** * Burns multiple tokens. * @dev Reverts if `ids` and `values` have different lengths. * @dev Reverts if the sender is not approved. * @dev Reverts if one of `ids` represents a non-fungible collection. * @dev Reverts if one of `ids` represents afungible token and `value` is 0. * @dev Reverts if one of `ids` represents afungible token and `value` is higher than `from`'s balance. * @dev Reverts if one of `ids` represents a non-fungible token and `value` is not 1. * @dev Reverts if one of `ids` represents a non-fungible token which is not owned by `from`. * @dev Emits an {IERC1155-TransferBatch} event. * @param from Address of the current tokens owner. * @param ids Identifiers of the tokens to burn. * @param values Amounts of tokens to burn. */ function _batchBurnFrom( address from, uint256[] memory ids, uint256[] memory values ) internal virtual { uint256 length = ids.length; require(length == values.length, "Inventory: inconsistent arrays"); address sender = _msgSender(); require(_isOperatable(from, sender), "Inventory: non-approved sender"); uint256 nfCollectionId; uint256 nfCollectionCount; for (uint256 i; i < length; i++) { uint256 id = ids[i]; uint256 value = values[i]; if (isFungible(id)) { _burnFungible(from, id, value); } else if (id & _NF_TOKEN_MASK != 0) { _burnNFT(from, id, value, true); uint256 nextCollectionId = id & _NF_COLLECTION_MASK; if (nfCollectionId == 0) { nfCollectionId = nextCollectionId; nfCollectionCount = 1; } else { if (nextCollectionId != nfCollectionId) { _balances[nfCollectionId][from] -= nfCollectionCount; _supplies[nfCollectionId] -= nfCollectionCount; nfCollectionId = nextCollectionId; nfCollectionCount = 1; } else { nfCollectionCount++; } } } else { revert("Inventory: not a token id"); } } if (nfCollectionId != 0) { _balances[nfCollectionId][from] -= nfCollectionCount; _supplies[nfCollectionId] -= nfCollectionCount; } emit TransferBatch(sender, from, address(0), ids, values); } } // File @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC1155/[email protected] pragma solidity 0.6.8; /** * @title ERC-1155 Inventory, additional minting interface * @dev See https://eips.ethereum.org/EIPS/eip-1155 */ interface IERC1155InventoryMintable { /** * Safely mints some token. * @dev Reverts if `to` is the zero address. * @dev Reverts if `id` is not a token. * @dev Reverts if `id` represents a non-fungible token and `value` is not 1. * @dev Reverts if `id` represents a non-fungible token which has already been minted. * @dev Reverts if `id` represents a fungible token and `value` is 0. * @dev Reverts if `id` represents a fungible token and there is an overflow of supply. * @dev Reverts if `id` represents a fungible token and there is an overflow of supply. * @dev Reverts if `to` is a contract and the call to {IERC1155TokenReceiver-onERC1155Received} fails or is refused. * @dev Emits an {IERC1155-TransferSingle} event. * @param to Address of the new token owner. * @param id Identifier of the token to mint. * @param value Amount of token to mint. * @param data Optional data to send along to a receiver contract. */ function safeMint(address to, uint256 id, uint256 value, bytes calldata data) external; /** * Safely mints a batch of tokens. * @dev Reverts if `ids` and `values` have different lengths. * @dev Reverts if `to` is the zero address. * @dev Reverts if one of `ids` is not a token. * @dev Reverts if one of `ids` represents a non-fungible token and its paired value is not 1. * @dev Reverts if one of `ids` represents a non-fungible token which has already been minted. * @dev Reverts if one of `ids` represents a fungible token and its paired value is 0. * @dev Reverts if one of `ids` represents a fungible token and there is an overflow of supply. * @dev Reverts if `to` is a contract and the call to {IERC1155TokenReceiver-onERC1155batchReceived} fails or is refused. * @dev Emits an {IERC1155-TransferBatch} event. * @param to Address of the new tokens owner. * @param ids Identifiers of the tokens to mint. * @param values Amounts of tokens to mint. * @param data Optional data to send along to a receiver contract. */ function safeBatchMint(address to, uint256[] calldata ids, uint256[] calldata values, bytes calldata data) external; } // File @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC1155/[email protected] pragma solidity 0.6.8; /** * @title ERC-1155 Inventory additional burning interface * @dev See https://eips.ethereum.org/EIPS/eip-1155 */ interface IERC1155InventoryBurnable { /** * Burns some token. * @dev Reverts if the sender is not approved. * @dev Reverts if `id` does not represent a token. * @dev Reverts if `id` represents a fungible token and `value` is 0. * @dev Reverts if `id` represents a fungible token and `value` is higher than `from`'s balance. * @dev Reverts if `id` represents a non-fungible token and `value` is not 1. * @dev Reverts if `id` represents a non-fungible token which is not owned by `from`. * @dev Emits an {IERC1155-TransferSingle} event. * @param from Address of the current token owner. * @param id Identifier of the token to burn. * @param value Amount of token to burn. */ function burnFrom(address from, uint256 id, uint256 value) external; /** * Burns multiple tokens. * @dev Reverts if `ids` and `values` have different lengths. * @dev Reverts if the sender is not approved. * @dev Reverts if one of `ids` does not represent a token. * @dev Reverts if one of `ids` represents a fungible token and `value` is 0. * @dev Reverts if one of `ids` represents a fungible token and `value` is higher than `from`'s balance. * @dev Reverts if one of `ids` represents a non-fungible token and `value` is not 1. * @dev Reverts if one of `ids` represents a non-fungible token which is not owned by `from`. * @dev Emits an {IERC1155-TransferBatch} event. * @param from Address of the current tokens owner. * @param ids Identifiers of the tokens to burn. * @param values Amounts of tokens to burn. */ function batchBurnFrom(address from, uint256[] calldata ids, uint256[] calldata values) external; } // File @animoca/ethereum-contracts-assets_inventory/contracts/token/ERC1155/[email protected] pragma solidity 0.6.8; /** * @title ERC-1155 Inventory, additional creator interface * @dev See https://eips.ethereum.org/EIPS/eip-1155 */ interface IERC1155InventoryCreator { /** * Returns the creator of a collection, or the zero address if the collection has not been created. * @dev Reverts if `collectionId` does not represent a collection. * @param collectionId Identifier of the collection. * @return The creator of a collection, or the zero address if the collection has not been created. */ function creator(uint256 collectionId) external view returns (address); } // File @openzeppelin/contracts/access/[email protected] pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File @animoca/ethereum-contracts-core_library/contracts/utils/types/[email protected] pragma solidity 0.6.8; library UInt256ToDecimalString { function toDecimalString(uint256 value) internal pure returns (string memory) { // Inspired by OpenZeppelin's String.toString() implementation - MIT licence // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/8b10cb38d8fedf34f2d89b0ed604f2dceb76d6a9/contracts/utils/Strings.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = byte(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } // File @animoca/ethereum-contracts-assets_inventory/contracts/metadata/[email protected] pragma solidity 0.6.8; contract BaseMetadataURI is Ownable { using UInt256ToDecimalString for uint256; event BaseMetadataURISet(string baseMetadataURI); string public baseMetadataURI; function setBaseMetadataURI(string calldata baseMetadataURI_) external onlyOwner { baseMetadataURI = baseMetadataURI_; emit BaseMetadataURISet(baseMetadataURI_); } function _uri(uint256 id) internal view virtual returns (string memory) { return string(abi.encodePacked(baseMetadataURI, id.toDecimalString())); } } // File @openzeppelin/contracts/utils/[email protected] pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File @openzeppelin/contracts/access/[email protected] pragma solidity ^0.6.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } } // File @animoca/ethereum-contracts-core_library/contracts/access/[email protected] pragma solidity 0.6.8; /** * Contract module which allows derived contracts access control over token * minting operations. * * This module is used through inheritance. It will make available the modifier * `onlyMinter`, which can be applied to the minting functions of your contract. * Those functions will only be accessible to accounts with the minter role * once the modifer is put in place. */ contract MinterRole is AccessControl { event MinterAdded(address indexed account); event MinterRemoved(address indexed account); /** * Modifier to make a function callable only by accounts with the minter role. */ modifier onlyMinter() { require(isMinter(_msgSender()), "MinterRole: caller does not have the Minter role"); _; } /** * Constructor. */ constructor () internal { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); emit MinterAdded(_msgSender()); } /** * Validates whether or not the given account has been granted the minter role. * @param account The account to validate. * @return True if the account has been granted the minter role, false otherwise. */ function isMinter(address account) public view returns (bool) { require(account != address(0), "MinterRole: address zero cannot be minter"); return hasRole(DEFAULT_ADMIN_ROLE, account); } /** * Grants the minter role to a non-minter. * @param account The account to grant the minter role to. */ function addMinter(address account) public onlyMinter { require(!isMinter(account), "MinterRole: add an account already minter"); grantRole(DEFAULT_ADMIN_ROLE, account); emit MinterAdded(account); } /** * Renounces the granted minter role. */ function renounceMinter() public onlyMinter { renounceRole(DEFAULT_ADMIN_ROLE, _msgSender()); emit MinterRemoved(_msgSender()); } } // File contracts/solc-0.6/token/ERC1155/GameeVouchers.sol pragma solidity ^0.6.8; contract GameeVouchers is ERC1155Inventory, IERC1155InventoryMintable, IERC1155InventoryBurnable, IERC1155InventoryCreator, BaseMetadataURI, MinterRole { // solhint-disable-next-line const-name-snakecase string public constant name = "GameeVouchers"; // solhint-disable-next-line const-name-snakecase string public constant symbol = "GameeVouchers"; // =================================================================================================== // Admin Public Functions // =================================================================================================== /** * Creates a collection. * @dev Reverts if `collectionId` does not represent a collection. * @dev Reverts if `collectionId` has already been created. * @dev Emits a {IERC1155Inventory-CollectionCreated} event. * @param collectionId Identifier of the collection. */ function createCollection(uint256 collectionId) external onlyOwner { require(isFungible(collectionId), "GameeVouchers: only fungibles"); _createCollection(collectionId); } /** * @dev See {IERC1155InventoryMintable-safeMint(address,uint256,uint256,bytes)}. */ function safeMint( address to, uint256 id, uint256 value, bytes calldata data ) external override onlyMinter { require(isFungible(id), "GameeVouchers: only fungibles"); _safeMint(to, id, value, data); } /** * @dev See {IERC1155721InventoryMintable-safeBatchMint(address,uint256[],uint256[],bytes)}. */ function safeBatchMint( address to, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external override onlyMinter { _safeBatchMint(to, ids, values, data); for (uint256 i; i!= ids.length; ++i) { require(isFungible(ids[i]), "GameeVouchers: only fungibles"); } } // =================================================================================================== // User Public Functions // =================================================================================================== /** * @dev See {IERC1155InventoryCreator-creator(uint256)}. */ function creator(uint256 collectionId) external override view returns(address) { require(!isNFT(collectionId), "Inventory: not a collection"); return _creators[collectionId]; } /** * @dev See {IERC1155InventoryBurnable-burnFrom(address,uint256,uint256)}. */ function burnFrom( address from, uint256 id, uint256 value ) external override { _burnFrom(from, id, value); } /** * @dev See {IERC1155InventoryBurnable-batchBurnFrom(address,uint256[],uint256[])}. */ function batchBurnFrom( address from, uint256[] calldata ids, uint256[] calldata values ) external override { _batchBurnFrom(from, ids, values); } // =================================================================================================== // ERC1155 Internal Functions // =================================================================================================== function _uri(uint256 id) internal override(ERC1155InventoryBase, BaseMetadataURI) view returns (string memory) { return BaseMetadataURI._uri(id); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","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":"string","name":"baseMetadataURI","type":"string"}],"name":"BaseMetadataURISet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"collectionId","type":"uint256"},{"indexed":true,"internalType":"bool","name":"fungible","type":"bool"}],"name":"CollectionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseMetadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"batchBurnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"collectionOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"}],"name":"createCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"}],"name":"creator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"isFungible","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"isNFT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","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":"string","name":"baseMetadataURI_","type":"string"}],"name":"setBaseMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506200002d6301ffc9a760e01b6001600160e01b036200015716565b62000048636cdb3d1360e11b6001600160e01b036200015716565b620000636303a24d0760e21b6001600160e01b036200015716565b6200007e63b44bec7f60e01b6001600160e01b036200015716565b6000620000936001600160e01b03620001dc16565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001096000620000fa6001600160e01b03620001dc16565b6001600160e01b03620001e016565b6200011c6001600160e01b03620001dc16565b6001600160a01b03167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a262000316565b6001600160e01b03198082161415620001b7576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b620001f582826001600160e01b03620001f916565b5050565b60008281526008602090815260409091206200022091839062001d546200027d821b17901c565b15620001f557620002396001600160e01b03620001dc16565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200029d836001600160a01b0384166001600160e01b03620002a616565b90505b92915050565b6000620002bd83836001600160e01b03620002fe16565b620002f557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620002a0565b506000620002a0565b60009081526001919091016020526040902054151590565b613cdf80620003266000396000f3fe608060405234801561001057600080fd5b50600436106102765760003560e01c80638da5cb5b11610160578063aa271e1a116100d8578063d0011d9d1161008c578063e985e9c511610071578063e985e9c514610c88578063f242432a14610cb6578063f2fde38b14610d8157610276565b8063d0011d9d14610c3f578063d547741f14610c5c57610276565b8063bd85b039116100bd578063bd85b03914610be8578063c7778baa14610c05578063ca15c87314610c2257610276565b8063aa271e1a14610ba5578063adebf6f214610bcb57610276565b806397634f9f1161012f57806398650275116101145780639865027514610b67578063a217fddf14610b6f578063a22cb46514610b7757610276565b806397634f9f14610b24578063983b2d5614610b4157610276565b80638da5cb5b14610acd5780639010d07c14610ad557806391d1485414610af857806395d89b41146102f457610276565b806336568abe116101f35780635cfa9297116101c2578063715018a6116101a7578063715018a6146109835780637e518ec81461098b57806380534934146109fb57610276565b80635cfa9297146108da5780636352211e1461096657610276565b806336568abe146106f65780634e1273f414610722578063510b5158146108995780635b2bd79e146108d257610276565b80630e89341c1161024a578063248a9ca31161022f578063248a9ca3146104e65780632eb2c2d6146105035780632f2ff15d146106ca57610276565b80630e89341c14610497578063124d91e5146104b457610276565b8062fdd58e1461027b57806301ffc9a7146102b957806306fdde03146102f45780630d6a5bbb14610371575b600080fd5b6102a76004803603604081101561029157600080fd5b506001600160a01b038135169060200135610da7565b60408051918252519081900360200190f35b6102e0600480360360208110156102cf57600080fd5b50356001600160e01b031916610e6f565b604080519115158252519081900360200190f35b6102fc610e92565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561033657818101518382015260200161031e565b50505050905090810190601f1680156103635780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104956004803603608081101561038757600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156103b257600080fd5b8201836020820111156103c457600080fd5b803590602001918460208302840111640100000000831117156103e657600080fd5b91939092909160208101903564010000000081111561040457600080fd5b82018360208201111561041657600080fd5b8035906020019184602083028401116401000000008311171561043857600080fd5b91939092909160208101903564010000000081111561045657600080fd5b82018360208201111561046857600080fd5b8035906020019184600183028401116401000000008311171561048a57600080fd5b509092509050610ecb565b005b6102fc600480360360208110156104ad57600080fd5b5035611040565b610495600480360360608110156104ca57600080fd5b506001600160a01b03813516906020810135906040013561104b565b6102a7600480360360208110156104fc57600080fd5b503561105b565b610495600480360360a081101561051957600080fd5b6001600160a01b03823581169260208101359091169181019060608101604082013564010000000081111561054d57600080fd5b82018360208201111561055f57600080fd5b8035906020019184602083028401116401000000008311171561058157600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156105d157600080fd5b8201836020820111156105e357600080fd5b8035906020019184602083028401116401000000008311171561060557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561065557600080fd5b82018360208201111561066757600080fd5b8035906020019184600183028401116401000000008311171561068957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611070945050505050565b610495600480360360408110156106e057600080fd5b50803590602001356001600160a01b0316611084565b6104956004803603604081101561070c57600080fd5b50803590602001356001600160a01b03166110f0565b6108496004803603604081101561073857600080fd5b81019060208101813564010000000081111561075357600080fd5b82018360208201111561076557600080fd5b8035906020019184602083028401116401000000008311171561078757600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156107d757600080fd5b8201836020820111156107e957600080fd5b8035906020019184602083028401116401000000008311171561080b57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611151945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561088557818101518382015260200161086d565b505050509050019250505060405180910390f35b6108b6600480360360208110156108af57600080fd5b5035611252565b604080516001600160a01b039092168252519081900360200190f35b6102fc6112cb565b610495600480360360808110156108f057600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561092757600080fd5b82018360208201111561093957600080fd5b8035906020019184600183028401116401000000008311171561095b57600080fd5b509092509050611359565b6108b66004803603602081101561097c57600080fd5b503561143b565b6104956114a5565b610495600480360360208110156109a157600080fd5b8101906020810181356401000000008111156109bc57600080fd5b8201836020820111156109ce57600080fd5b803590602001918460018302840111640100000000831117156109f057600080fd5b509092509050611566565b61049560048036036060811015610a1157600080fd5b6001600160a01b038235169190810190604081016020820135640100000000811115610a3c57600080fd5b820183602082011115610a4e57600080fd5b80359060200191846020830284011164010000000083111715610a7057600080fd5b919390929091602081019035640100000000811115610a8e57600080fd5b820183602082011115610aa057600080fd5b80359060200191846020830284011164010000000083111715610ac257600080fd5b509092509050611641565b6108b66116af565b6108b660048036036040811015610aeb57600080fd5b50803590602001356116bf565b6102e060048036036040811015610b0e57600080fd5b50803590602001356001600160a01b03166116e4565b6102e060048036036020811015610b3a57600080fd5b5035611702565b61049560048036036020811015610b5757600080fd5b50356001600160a01b031661173f565b61049561180c565b6102a76118a3565b61049560048036036040811015610b8d57600080fd5b506001600160a01b03813516906020013515156118a8565b6102e060048036036020811015610bbb57600080fd5b50356001600160a01b0316611989565b6102e060048036036020811015610be157600080fd5b50356119db565b6102a760048036036020811015610bfe57600080fd5b5035611a01565b6102a760048036036020811015610c1b57600080fd5b5035611a57565b6102a760048036036020811015610c3857600080fd5b5035611ac1565b61049560048036036020811015610c5557600080fd5b5035611ad8565b61049560048036036040811015610c7257600080fd5b50803590602001356001600160a01b0316611ba8565b6102e060048036036040811015610c9e57600080fd5b506001600160a01b0381358116916020013516611c01565b610495600480360360a0811015610ccc57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135640100000000811115610d0c57600080fd5b820183602082011115610d1e57600080fd5b80359060200191846001830284011164010000000083111715610d4057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c2f945050505050565b61049560048036036020811015610d9757600080fd5b50356001600160a01b0316611c3c565b60006001600160a01b038316610e04576040805162461bcd60e51b815260206004820152601760248201527f496e76656e746f72793a207a65726f2061646472657373000000000000000000604482015290519081900360640190fd5b610e0d82611702565b15610e44576000828152600460205260409020546001600160a01b03841614610e37576000610e3a565b60015b60ff169050610e69565b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b6040518060400160405280600d81526020017f47616d6565566f7563686572730000000000000000000000000000000000000081525081565b610edb610ed6611d69565b611989565b610f165760405162461bcd60e51b8152600401808060200182810382526030815260200180613c226030913960400191505060405180910390fd5b610fb88787878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808b0282810182019093528a82529093508a92508991829185019084908082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250611d6d92505050565b60005b80861461103657610fdd878783818110610fd157fe5b905060200201356119db565b61102e576040805162461bcd60e51b815260206004820152601d60248201527f47616d6565566f7563686572733a206f6e6c792066756e6769626c6573000000604482015290519081900360640190fd5b600101610fbb565b5050505050505050565b6060610e69826120a8565b6110568383836120b3565b505050565b60009081526008602052604090206002015490565b61107d85858585856121b8565b5050505050565b6000828152600860205260409020600201546110a7906110a2611d69565b6116e4565b6110e25760405162461bcd60e51b815260040180806020018281038252602f815260200180613b74602f913960400191505060405180910390fd5b6110ec828261255c565b5050565b6110f8611d69565b6001600160a01b0316816001600160a01b0316146111475760405162461bcd60e51b815260040180806020018281038252602f815260200180613c7b602f913960400191505060405180910390fd5b6110ec82826125cb565b606081518351146111a9576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a20696e636f6e73697374656e74206172726179730000604482015290519081900360640190fd5b6060835167ffffffffffffffff811180156111c357600080fd5b506040519080825280602002602001820160405280156111ed578160200160208202803683370190505b50905060005b8451811461124a5761122b85828151811061120a57fe5b602002602001015185838151811061121e57fe5b6020026020010151610da7565b82828151811061123757fe5b60209081029190910101526001016111f3565b509392505050565b600061125d82611702565b156112af576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a206e6f74206120636f6c6c656374696f6e0000000000604482015290519081900360640190fd5b506000908152600560205260409020546001600160a01b031690565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156113515780601f1061132657610100808354040283529160200191611351565b820191906000526020600020905b81548152906001019060200180831161133457829003601f168201915b505050505081565b611364610ed6611d69565b61139f5760405162461bcd60e51b8152600401808060200182810382526030815260200180613c226030913960400191505060405180910390fd5b6113a8846119db565b6113f9576040805162461bcd60e51b815260206004820152601d60248201527f47616d6565566f7563686572733a206f6e6c792066756e6769626c6573000000604482015290519081900360640190fd5b61107d85858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061263a92505050565b6000818152600460205260408120546001600160a01b038116610e69576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a206e6f6e2d6578697374696e67204e46540000000000604482015290519081900360640190fd5b6114ad611d69565b6006546001600160a01b0390811691161461150f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36006805473ffffffffffffffffffffffffffffffffffffffff19169055565b61156e611d69565b6006546001600160a01b039081169116146115d0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6115dc60078383613ab9565b507f04b1dc5c136a3ce9fded8db0ce3d3366c58764ec3a8e4c2b9e52e4ddfe5ebbf7828260405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a15050565b61107d858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060408051602080890282810182019093528882529093508892508791829185019084908082843760009201919091525061275692505050565b6006546001600160a01b03165b90565b60008281526008602052604081206116dd908363ffffffff612a2d16565b9392505050565b60008281526008602052604081206116dd908363ffffffff612a3916565b60007f8000000000000000000000000000000000000000000000000000000000000000821615801590610e695750506001600160e01b0316151590565b61174a610ed6611d69565b6117855760405162461bcd60e51b8152600401808060200182810382526030815260200180613c226030913960400191505060405180910390fd5b61178e81611989565b156117ca5760405162461bcd60e51b8152600401808060200182810382526029815260200180613c526029913960400191505060405180910390fd5b6117d5600082611084565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b611817610ed6611d69565b6118525760405162461bcd60e51b8152600401808060200182810382526030815260200180613c226030913960400191505060405180910390fd5b611864600061185f611d69565b6110f0565b61186c611d69565b6001600160a01b03167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a2565b600081565b60006118b2611d69565b9050806001600160a01b0316836001600160a01b0316141561191b576040805162461bcd60e51b815260206004820152601860248201527f496e76656e746f72793a2073656c662d617070726f76616c0000000000000000604482015290519081900360640190fd5b6001600160a01b03818116600081815260016020908152604080832094881680845294825291829020805460ff1916871515908117909155825190815291517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319281900390910190a3505050565b60006001600160a01b0382166119d05760405162461bcd60e51b8152600401808060200182810382526029815260200180613bc96029913960400191505060405180910390fd5b610e696000836116e4565b7f8000000000000000000000000000000000000000000000000000000000000000161590565b6000611a0c82611702565b15611a42576000828152600460205260409020546001600160a01b031615611a35576001611a38565b60005b60ff169050610e8d565b50600081815260036020526040902054610e8d565b6000611a6282611702565b611ab3576040805162461bcd60e51b815260206004820152601560248201527f496e76656e746f72793a206e6f7420616e204e46540000000000000000000000604482015290519081900360640190fd5b506001600160e01b03191690565b6000818152600860205260408120610e6990612a4e565b611ae0611d69565b6006546001600160a01b03908116911614611b42576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611b4b816119db565b611b9c576040805162461bcd60e51b815260206004820152601d60248201527f47616d6565566f7563686572733a206f6e6c792066756e6769626c6573000000604482015290519081900360640190fd5b611ba581612a59565b50565b600082815260086020526040902060020154611bc6906110a2611d69565b6111475760405162461bcd60e51b8152600401808060200182810382526030815260200180613bf26030913960400191505060405180910390fd5b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61107d8585858585612b9a565b611c44611d69565b6006546001600160a01b03908116911614611ca6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611ceb5760405162461bcd60e51b8152600401808060200182810382526026815260200180613ba36026913960400191505060405180910390fd5b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60006116dd836001600160a01b038416612d21565b3390565b6001600160a01b038416611dc8576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220746f207a65726f0000000000604482015290519081900360640190fd5b825182518114611e1f576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a20696e636f6e73697374656e74206172726179730000604482015290519081900360640190fd5b60008060005b83811015611f62576000878281518110611e3b57fe5b602002602001015190506000878381518110611e5357fe5b60200260200101519050611e66826119db565b15611e7b57611e768a8383612d6b565b611f58565b6001600160e01b03821615611f0b57611e978a83836001612e5d565b6001600160e01b0319821685611eb35780955060019450611f05565b858114611efe5760008681526002602090815260408083206001600160a01b038f16845282528083208054890190559782526003905295909520805490940190935560019284611f05565b6001909401935b50611f58565b6040805162461bcd60e51b815260206004820152601960248201527f496e76656e746f72793a206e6f74206120746f6b656e20696400000000000000604482015290519081900360640190fd5b5050600101611e25565b508115611fa25760008281526002602090815260408083206001600160a01b038b1684528252808320805485019055848352600390915290208054820190555b6001600160a01b0387166000611fb6611d69565b6001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8989604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561202657818101518382015260200161200e565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561206557818101518382015260200161204d565b5050505090500194505050505060405180910390a461208c876001600160a01b0316612f7d565b1561209f5761209f600088888888612f83565b50505050505050565b6060610e698261319b565b60006120bd611d69565b90506120c9848261326e565b61211a576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206e6f6e2d617070726f7665642073656e6465720000604482015290519081900360640190fd5b612123836119db565b15612138576121338484846132ba565b612154565b6001600160e01b03831615611f0b5761213384848460006133c3565b60006001600160a01b0316846001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051808381526020018281526020019250505060405180910390a450505050565b6001600160a01b038416612213576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220746f207a65726f0000000000604482015290519081900360640190fd5b82518251811461226a576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a20696e636f6e73697374656e74206172726179730000604482015290519081900360640190fd5b6000612274611d69565b9050612280878261326e565b6122d1576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206e6f6e2d617070726f7665642073656e6465720000604482015290519081900360640190fd5b60008060005b848110156124155760008882815181106122ed57fe5b60200260200101519050600088838151811061230557fe5b60200260200101519050612318826119db565b1561232e576123298c8c848461350b565b61240b565b6001600160e01b03821615611f0b5761234b8c8c84846001613610565b6001600160e01b03198216856123675780955060019450612409565b85811461240257846002600088815260200190815260200160002060008f6001600160a01b03166001600160a01b0316815260200190815260200160002060008282540392505081905550846002600088815260200190815260200160002060008e6001600160a01b03166001600160a01b031681526020019081526020016000206000828254019250508190555080955060019450612409565b6001909401935b505b50506001016122d7565b5081156124545760008281526002602090815260408083206001600160a01b038d81168552925280832080548590039055908a16825290208054820190555b876001600160a01b0316896001600160a01b0316846001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8a8a604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156124d95781810151838201526020016124c1565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612518578181015183820152602001612500565b5050505090500194505050505060405180910390a461253f886001600160a01b0316612f7d565b15612551576125518989898989612f83565b505050505050505050565b600082815260086020526040902061257a908263ffffffff611d5416565b156110ec57612587611d69565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526008602052604090206125e9908263ffffffff61373b16565b156110ec576125f6611d69565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b038416612695576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220746f207a65726f0000000000604482015290519081900360640190fd5b61269e836119db565b156126b3576126ae848484612d6b565b6126cf565b6001600160e01b03831615611f0b576126ae8484846000612e5d565b6001600160a01b03841660006126e3611d69565b6001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051808381526020018281526020019250505060405180910390a461273d846001600160a01b0316612f7d565b1561275057612750600085858585613750565b50505050565b8151815181146127ad576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a20696e636f6e73697374656e74206172726179730000604482015290519081900360640190fd5b60006127b7611d69565b90506127c3858261326e565b612814576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206e6f6e2d617070726f7665642073656e6465720000604482015290519081900360640190fd5b60008060005b8481101561290857600087828151811061283057fe5b60200260200101519050600087838151811061284857fe5b6020026020010151905061285b826119db565b156128705761286b8a83836132ba565b6128fe565b6001600160e01b03821615611f0b5761288c8a838360016133c3565b6001600160e01b03198216856128a857809550600194506128fc565b8581146128f55760008681526002602090815260408083206001600160a01b038f1684528252808320805489900390559782526003905295909520805494909403909355600192846128fc565b6001909401935b505b505060010161281a565b50811561294a5760008281526002602090815260408083206001600160a01b038b16845282528083208054859003905584835260039091529020805482900390555b60006001600160a01b0316876001600160a01b0316846001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8989604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156129d05781810151838201526020016129b8565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612a0f5781810151838201526020016129f7565b5050505090500194505050505060405180910390a450505050505050565b60006116dd8383613864565b60006116dd836001600160a01b0384166138c8565b6000610e69826138e0565b612a6281611702565b15612ab4576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a206e6f74206120636f6c6c656374696f6e0000000000604482015290519081900360640190fd5b6000818152600560205260409020546001600160a01b031615612b1e576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206578697374696e6720636f6c6c656374696f6e0000604482015290519081900360640190fd5b612b26611d69565b6000828152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055612b68816119db565b1515817f4ebf8ad0df535ba5e487bc9cb27fe44120ca81c3a95d3eba79c0bd1df2ab2d5d60405160405180910390a350565b6000612ba4611d69565b90506001600160a01b038516612c01576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220746f207a65726f0000000000604482015290519081900360640190fd5b612c0b868261326e565b612c5c576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206e6f6e2d617070726f7665642073656e6465720000604482015290519081900360640190fd5b612c65846119db565b15612c7b57612c768686868661350b565b612c98565b6001600160e01b03841615611f0b57612c76868686866000613610565b846001600160a01b0316866001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4612d07856001600160a01b0316612f7d565b15612d1957612d198686868686613750565b505050505050565b6000612d2d83836138c8565b612d6357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e69565b506000610e69565b80612dbd576040805162461bcd60e51b815260206004820152601560248201527f496e76656e746f72793a207a65726f2076616c75650000000000000000000000604482015290519081900360640190fd5b600082815260036020526040902054818101818111612e23576040805162461bcd60e51b815260206004820152601a60248201527f496e76656e746f72793a20737570706c79206f766572666c6f77000000000000604482015290519081900360640190fd5b600093845260036020908152604080862092909255600281528185206001600160a01b039096168552949094525091902080549091019055565b81600114612eb2576040805162461bcd60e51b815260206004820152601a60248201527f496e76656e746f72793a2077726f6e67204e46542076616c7565000000000000604482015290519081900360640190fd5b60008381526004602052604090205415612f13576040805162461bcd60e51b815260206004820152601d60248201527f496e76656e746f72793a206578697374696e672f6275726e74204e4654000000604482015290519081900360640190fd5b60008381526004602052604090206001600160a01b0385169055806127505750506001600160e01b031916600090815260036020908152604080832080546001908101909155600283528184206001600160a01b0395909516845293909152902080549091019055565b3b151590565b7fbc197c81000000000000000000000000000000000000000000000000000000006001600160a01b03851663bc197c81612fbb611d69565b888787876040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561304657818101518382015260200161302e565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561308557818101518382015260200161306d565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156130c15781810151838201526020016130a9565b50505050905090810190601f1680156130ee5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b15801561311357600080fd5b505af1158015613127573d6000803e3d6000fd5b505050506040513d602081101561313d57600080fd5b50516001600160e01b0319161461107d576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220726566757365640000000000604482015290519081900360640190fd5b606060076131a8836138e4565b60405160200180838054600181600116156101000203166002900480156132065780601f106131e4576101008083540402835291820191613206565b820191906000526020600020905b8154815290600101906020018083116131f2575b5050825160208401908083835b602083106132325780518252601f199092019160209182019101613213565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529050919050565b6000816001600160a01b0316836001600160a01b031614806116dd5750506001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b8061330c576040805162461bcd60e51b815260206004820152601560248201527f496e76656e746f72793a207a65726f2076616c75650000000000000000000000604482015290519081900360640190fd5b60008281526002602090815260408083206001600160a01b038716845290915290205481811015613384576040805162461bcd60e51b815260206004820152601d60248201527f496e76656e746f72793a206e6f7420656e6f7567682062616c616e6365000000604482015290519081900360640190fd5b60008381526002602090815260408083206001600160a01b03909716835295815285822092849003909255928352600390529190208054919091039055565b81600114613418576040805162461bcd60e51b815260206004820152601a60248201527f496e76656e746f72793a2077726f6e67204e46542076616c7565000000000000604482015290519081900360640190fd5b6000838152600460205260409020546001600160a01b03858116911614613486576040805162461bcd60e51b815260206004820152601860248201527f496e76656e746f72793a206e6f6e2d6f776e6564204e46540000000000000000604482015290519081900360640190fd5b60008381526004602052604090207fdead000000000000000000000000000000000000000000000000000000000000905580612750576001600160e01b0319831660008181526002602090815260408083206001600160a01b038916845282528083208054600019908101909155938352600390915290208054909101905550505050565b8061355d576040805162461bcd60e51b815260206004820152601560248201527f496e76656e746f72793a207a65726f2076616c75650000000000000000000000604482015290519081900360640190fd5b60008281526002602090815260408083206001600160a01b0388168452909152902054818110156135d5576040805162461bcd60e51b815260206004820152601d60248201527f496e76656e746f72793a206e6f7420656e6f7567682062616c616e6365000000604482015290519081900360640190fd5b60009283526002602090815260408085206001600160a01b039788168652909152808420918390039091559290931681522080549091019055565b81600114613665576040805162461bcd60e51b815260206004820152601a60248201527f496e76656e746f72793a2077726f6e67204e46542076616c7565000000000000604482015290519081900360640190fd5b6000838152600460205260409020546001600160a01b038681169116146136d3576040805162461bcd60e51b815260206004820152601860248201527f496e76656e746f72793a206e6f6e2d6f776e6564204e46540000000000000000604482015290519081900360640190fd5b60008381526004602052604090206001600160a01b03851690558061107d5750506001600160e01b03191660009081526002602090815260408083206001600160a01b0395861684529091528082208054600019019055919092168252902080546001019055565b60006116dd836001600160a01b0384166139f3565b7ff23a6e61000000000000000000000000000000000000000000000000000000006001600160a01b03851663f23a6e61613788611d69565b888787876040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156138145781810151838201526020016137fc565b50505050905090810190601f1680156138415780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561311357600080fd5b815460009082106138a65760405162461bcd60e51b8152600401808060200182810382526022815260200180613b526022913960400191505060405180910390fd5b8260000182815481106138b557fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b606081613925575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610e8d565b8160005b811561393d57600101600a82049150613929565b60608167ffffffffffffffff8111801561395657600080fd5b506040519080825280601f01601f191660200182016040528015613981576020820181803683370190505b50859350905060001982015b83156139ea57600a840660300160f81b828280600190039350815181106139b057fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8404935061398d565b50949350505050565b60008181526001830160205260408120548015613aaf5783546000198083019190810190600090879083908110613a2657fe5b9060005260206000200154905080876000018481548110613a4357fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080613a7357fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610e69565b6000915050610e69565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613afa5782800160ff19823516178555613b27565b82800160010185558215613b27579182015b82811115613b27578235825591602001919060010190613b0c565b50613b33929150613b37565b5090565b6116bc91905b80821115613b335760008155600101613b3d56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734d696e746572526f6c653a2061646472657373207a65726f2063616e6e6f74206265206d696e746572416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c654d696e746572526f6c653a2061646420616e206163636f756e7420616c7265616479206d696e746572416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220d90c5ca1ae096b880ef0fbde383c771beff89dff35876b7e28589dd0b134811c64736f6c63430006080033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102765760003560e01c80638da5cb5b11610160578063aa271e1a116100d8578063d0011d9d1161008c578063e985e9c511610071578063e985e9c514610c88578063f242432a14610cb6578063f2fde38b14610d8157610276565b8063d0011d9d14610c3f578063d547741f14610c5c57610276565b8063bd85b039116100bd578063bd85b03914610be8578063c7778baa14610c05578063ca15c87314610c2257610276565b8063aa271e1a14610ba5578063adebf6f214610bcb57610276565b806397634f9f1161012f57806398650275116101145780639865027514610b67578063a217fddf14610b6f578063a22cb46514610b7757610276565b806397634f9f14610b24578063983b2d5614610b4157610276565b80638da5cb5b14610acd5780639010d07c14610ad557806391d1485414610af857806395d89b41146102f457610276565b806336568abe116101f35780635cfa9297116101c2578063715018a6116101a7578063715018a6146109835780637e518ec81461098b57806380534934146109fb57610276565b80635cfa9297146108da5780636352211e1461096657610276565b806336568abe146106f65780634e1273f414610722578063510b5158146108995780635b2bd79e146108d257610276565b80630e89341c1161024a578063248a9ca31161022f578063248a9ca3146104e65780632eb2c2d6146105035780632f2ff15d146106ca57610276565b80630e89341c14610497578063124d91e5146104b457610276565b8062fdd58e1461027b57806301ffc9a7146102b957806306fdde03146102f45780630d6a5bbb14610371575b600080fd5b6102a76004803603604081101561029157600080fd5b506001600160a01b038135169060200135610da7565b60408051918252519081900360200190f35b6102e0600480360360208110156102cf57600080fd5b50356001600160e01b031916610e6f565b604080519115158252519081900360200190f35b6102fc610e92565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561033657818101518382015260200161031e565b50505050905090810190601f1680156103635780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104956004803603608081101561038757600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156103b257600080fd5b8201836020820111156103c457600080fd5b803590602001918460208302840111640100000000831117156103e657600080fd5b91939092909160208101903564010000000081111561040457600080fd5b82018360208201111561041657600080fd5b8035906020019184602083028401116401000000008311171561043857600080fd5b91939092909160208101903564010000000081111561045657600080fd5b82018360208201111561046857600080fd5b8035906020019184600183028401116401000000008311171561048a57600080fd5b509092509050610ecb565b005b6102fc600480360360208110156104ad57600080fd5b5035611040565b610495600480360360608110156104ca57600080fd5b506001600160a01b03813516906020810135906040013561104b565b6102a7600480360360208110156104fc57600080fd5b503561105b565b610495600480360360a081101561051957600080fd5b6001600160a01b03823581169260208101359091169181019060608101604082013564010000000081111561054d57600080fd5b82018360208201111561055f57600080fd5b8035906020019184602083028401116401000000008311171561058157600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156105d157600080fd5b8201836020820111156105e357600080fd5b8035906020019184602083028401116401000000008311171561060557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561065557600080fd5b82018360208201111561066757600080fd5b8035906020019184600183028401116401000000008311171561068957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611070945050505050565b610495600480360360408110156106e057600080fd5b50803590602001356001600160a01b0316611084565b6104956004803603604081101561070c57600080fd5b50803590602001356001600160a01b03166110f0565b6108496004803603604081101561073857600080fd5b81019060208101813564010000000081111561075357600080fd5b82018360208201111561076557600080fd5b8035906020019184602083028401116401000000008311171561078757600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156107d757600080fd5b8201836020820111156107e957600080fd5b8035906020019184602083028401116401000000008311171561080b57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611151945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561088557818101518382015260200161086d565b505050509050019250505060405180910390f35b6108b6600480360360208110156108af57600080fd5b5035611252565b604080516001600160a01b039092168252519081900360200190f35b6102fc6112cb565b610495600480360360808110156108f057600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561092757600080fd5b82018360208201111561093957600080fd5b8035906020019184600183028401116401000000008311171561095b57600080fd5b509092509050611359565b6108b66004803603602081101561097c57600080fd5b503561143b565b6104956114a5565b610495600480360360208110156109a157600080fd5b8101906020810181356401000000008111156109bc57600080fd5b8201836020820111156109ce57600080fd5b803590602001918460018302840111640100000000831117156109f057600080fd5b509092509050611566565b61049560048036036060811015610a1157600080fd5b6001600160a01b038235169190810190604081016020820135640100000000811115610a3c57600080fd5b820183602082011115610a4e57600080fd5b80359060200191846020830284011164010000000083111715610a7057600080fd5b919390929091602081019035640100000000811115610a8e57600080fd5b820183602082011115610aa057600080fd5b80359060200191846020830284011164010000000083111715610ac257600080fd5b509092509050611641565b6108b66116af565b6108b660048036036040811015610aeb57600080fd5b50803590602001356116bf565b6102e060048036036040811015610b0e57600080fd5b50803590602001356001600160a01b03166116e4565b6102e060048036036020811015610b3a57600080fd5b5035611702565b61049560048036036020811015610b5757600080fd5b50356001600160a01b031661173f565b61049561180c565b6102a76118a3565b61049560048036036040811015610b8d57600080fd5b506001600160a01b03813516906020013515156118a8565b6102e060048036036020811015610bbb57600080fd5b50356001600160a01b0316611989565b6102e060048036036020811015610be157600080fd5b50356119db565b6102a760048036036020811015610bfe57600080fd5b5035611a01565b6102a760048036036020811015610c1b57600080fd5b5035611a57565b6102a760048036036020811015610c3857600080fd5b5035611ac1565b61049560048036036020811015610c5557600080fd5b5035611ad8565b61049560048036036040811015610c7257600080fd5b50803590602001356001600160a01b0316611ba8565b6102e060048036036040811015610c9e57600080fd5b506001600160a01b0381358116916020013516611c01565b610495600480360360a0811015610ccc57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135640100000000811115610d0c57600080fd5b820183602082011115610d1e57600080fd5b80359060200191846001830284011164010000000083111715610d4057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c2f945050505050565b61049560048036036020811015610d9757600080fd5b50356001600160a01b0316611c3c565b60006001600160a01b038316610e04576040805162461bcd60e51b815260206004820152601760248201527f496e76656e746f72793a207a65726f2061646472657373000000000000000000604482015290519081900360640190fd5b610e0d82611702565b15610e44576000828152600460205260409020546001600160a01b03841614610e37576000610e3a565b60015b60ff169050610e69565b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b6040518060400160405280600d81526020017f47616d6565566f7563686572730000000000000000000000000000000000000081525081565b610edb610ed6611d69565b611989565b610f165760405162461bcd60e51b8152600401808060200182810382526030815260200180613c226030913960400191505060405180910390fd5b610fb88787878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808b0282810182019093528a82529093508a92508991829185019084908082843760009201919091525050604080516020601f8a018190048102820181019092528881529250889150879081908401838280828437600092019190915250611d6d92505050565b60005b80861461103657610fdd878783818110610fd157fe5b905060200201356119db565b61102e576040805162461bcd60e51b815260206004820152601d60248201527f47616d6565566f7563686572733a206f6e6c792066756e6769626c6573000000604482015290519081900360640190fd5b600101610fbb565b5050505050505050565b6060610e69826120a8565b6110568383836120b3565b505050565b60009081526008602052604090206002015490565b61107d85858585856121b8565b5050505050565b6000828152600860205260409020600201546110a7906110a2611d69565b6116e4565b6110e25760405162461bcd60e51b815260040180806020018281038252602f815260200180613b74602f913960400191505060405180910390fd5b6110ec828261255c565b5050565b6110f8611d69565b6001600160a01b0316816001600160a01b0316146111475760405162461bcd60e51b815260040180806020018281038252602f815260200180613c7b602f913960400191505060405180910390fd5b6110ec82826125cb565b606081518351146111a9576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a20696e636f6e73697374656e74206172726179730000604482015290519081900360640190fd5b6060835167ffffffffffffffff811180156111c357600080fd5b506040519080825280602002602001820160405280156111ed578160200160208202803683370190505b50905060005b8451811461124a5761122b85828151811061120a57fe5b602002602001015185838151811061121e57fe5b6020026020010151610da7565b82828151811061123757fe5b60209081029190910101526001016111f3565b509392505050565b600061125d82611702565b156112af576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a206e6f74206120636f6c6c656374696f6e0000000000604482015290519081900360640190fd5b506000908152600560205260409020546001600160a01b031690565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156113515780601f1061132657610100808354040283529160200191611351565b820191906000526020600020905b81548152906001019060200180831161133457829003601f168201915b505050505081565b611364610ed6611d69565b61139f5760405162461bcd60e51b8152600401808060200182810382526030815260200180613c226030913960400191505060405180910390fd5b6113a8846119db565b6113f9576040805162461bcd60e51b815260206004820152601d60248201527f47616d6565566f7563686572733a206f6e6c792066756e6769626c6573000000604482015290519081900360640190fd5b61107d85858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061263a92505050565b6000818152600460205260408120546001600160a01b038116610e69576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a206e6f6e2d6578697374696e67204e46540000000000604482015290519081900360640190fd5b6114ad611d69565b6006546001600160a01b0390811691161461150f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36006805473ffffffffffffffffffffffffffffffffffffffff19169055565b61156e611d69565b6006546001600160a01b039081169116146115d0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6115dc60078383613ab9565b507f04b1dc5c136a3ce9fded8db0ce3d3366c58764ec3a8e4c2b9e52e4ddfe5ebbf7828260405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a15050565b61107d858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060408051602080890282810182019093528882529093508892508791829185019084908082843760009201919091525061275692505050565b6006546001600160a01b03165b90565b60008281526008602052604081206116dd908363ffffffff612a2d16565b9392505050565b60008281526008602052604081206116dd908363ffffffff612a3916565b60007f8000000000000000000000000000000000000000000000000000000000000000821615801590610e695750506001600160e01b0316151590565b61174a610ed6611d69565b6117855760405162461bcd60e51b8152600401808060200182810382526030815260200180613c226030913960400191505060405180910390fd5b61178e81611989565b156117ca5760405162461bcd60e51b8152600401808060200182810382526029815260200180613c526029913960400191505060405180910390fd5b6117d5600082611084565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b611817610ed6611d69565b6118525760405162461bcd60e51b8152600401808060200182810382526030815260200180613c226030913960400191505060405180910390fd5b611864600061185f611d69565b6110f0565b61186c611d69565b6001600160a01b03167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a2565b600081565b60006118b2611d69565b9050806001600160a01b0316836001600160a01b0316141561191b576040805162461bcd60e51b815260206004820152601860248201527f496e76656e746f72793a2073656c662d617070726f76616c0000000000000000604482015290519081900360640190fd5b6001600160a01b03818116600081815260016020908152604080832094881680845294825291829020805460ff1916871515908117909155825190815291517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319281900390910190a3505050565b60006001600160a01b0382166119d05760405162461bcd60e51b8152600401808060200182810382526029815260200180613bc96029913960400191505060405180910390fd5b610e696000836116e4565b7f8000000000000000000000000000000000000000000000000000000000000000161590565b6000611a0c82611702565b15611a42576000828152600460205260409020546001600160a01b031615611a35576001611a38565b60005b60ff169050610e8d565b50600081815260036020526040902054610e8d565b6000611a6282611702565b611ab3576040805162461bcd60e51b815260206004820152601560248201527f496e76656e746f72793a206e6f7420616e204e46540000000000000000000000604482015290519081900360640190fd5b506001600160e01b03191690565b6000818152600860205260408120610e6990612a4e565b611ae0611d69565b6006546001600160a01b03908116911614611b42576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611b4b816119db565b611b9c576040805162461bcd60e51b815260206004820152601d60248201527f47616d6565566f7563686572733a206f6e6c792066756e6769626c6573000000604482015290519081900360640190fd5b611ba581612a59565b50565b600082815260086020526040902060020154611bc6906110a2611d69565b6111475760405162461bcd60e51b8152600401808060200182810382526030815260200180613bf26030913960400191505060405180910390fd5b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61107d8585858585612b9a565b611c44611d69565b6006546001600160a01b03908116911614611ca6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611ceb5760405162461bcd60e51b8152600401808060200182810382526026815260200180613ba36026913960400191505060405180910390fd5b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60006116dd836001600160a01b038416612d21565b3390565b6001600160a01b038416611dc8576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220746f207a65726f0000000000604482015290519081900360640190fd5b825182518114611e1f576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a20696e636f6e73697374656e74206172726179730000604482015290519081900360640190fd5b60008060005b83811015611f62576000878281518110611e3b57fe5b602002602001015190506000878381518110611e5357fe5b60200260200101519050611e66826119db565b15611e7b57611e768a8383612d6b565b611f58565b6001600160e01b03821615611f0b57611e978a83836001612e5d565b6001600160e01b0319821685611eb35780955060019450611f05565b858114611efe5760008681526002602090815260408083206001600160a01b038f16845282528083208054890190559782526003905295909520805490940190935560019284611f05565b6001909401935b50611f58565b6040805162461bcd60e51b815260206004820152601960248201527f496e76656e746f72793a206e6f74206120746f6b656e20696400000000000000604482015290519081900360640190fd5b5050600101611e25565b508115611fa25760008281526002602090815260408083206001600160a01b038b1684528252808320805485019055848352600390915290208054820190555b6001600160a01b0387166000611fb6611d69565b6001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8989604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561202657818101518382015260200161200e565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561206557818101518382015260200161204d565b5050505090500194505050505060405180910390a461208c876001600160a01b0316612f7d565b1561209f5761209f600088888888612f83565b50505050505050565b6060610e698261319b565b60006120bd611d69565b90506120c9848261326e565b61211a576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206e6f6e2d617070726f7665642073656e6465720000604482015290519081900360640190fd5b612123836119db565b15612138576121338484846132ba565b612154565b6001600160e01b03831615611f0b5761213384848460006133c3565b60006001600160a01b0316846001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051808381526020018281526020019250505060405180910390a450505050565b6001600160a01b038416612213576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220746f207a65726f0000000000604482015290519081900360640190fd5b82518251811461226a576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a20696e636f6e73697374656e74206172726179730000604482015290519081900360640190fd5b6000612274611d69565b9050612280878261326e565b6122d1576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206e6f6e2d617070726f7665642073656e6465720000604482015290519081900360640190fd5b60008060005b848110156124155760008882815181106122ed57fe5b60200260200101519050600088838151811061230557fe5b60200260200101519050612318826119db565b1561232e576123298c8c848461350b565b61240b565b6001600160e01b03821615611f0b5761234b8c8c84846001613610565b6001600160e01b03198216856123675780955060019450612409565b85811461240257846002600088815260200190815260200160002060008f6001600160a01b03166001600160a01b0316815260200190815260200160002060008282540392505081905550846002600088815260200190815260200160002060008e6001600160a01b03166001600160a01b031681526020019081526020016000206000828254019250508190555080955060019450612409565b6001909401935b505b50506001016122d7565b5081156124545760008281526002602090815260408083206001600160a01b038d81168552925280832080548590039055908a16825290208054820190555b876001600160a01b0316896001600160a01b0316846001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8a8a604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156124d95781810151838201526020016124c1565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612518578181015183820152602001612500565b5050505090500194505050505060405180910390a461253f886001600160a01b0316612f7d565b15612551576125518989898989612f83565b505050505050505050565b600082815260086020526040902061257a908263ffffffff611d5416565b156110ec57612587611d69565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526008602052604090206125e9908263ffffffff61373b16565b156110ec576125f6611d69565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b038416612695576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220746f207a65726f0000000000604482015290519081900360640190fd5b61269e836119db565b156126b3576126ae848484612d6b565b6126cf565b6001600160e01b03831615611f0b576126ae8484846000612e5d565b6001600160a01b03841660006126e3611d69565b6001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051808381526020018281526020019250505060405180910390a461273d846001600160a01b0316612f7d565b1561275057612750600085858585613750565b50505050565b8151815181146127ad576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a20696e636f6e73697374656e74206172726179730000604482015290519081900360640190fd5b60006127b7611d69565b90506127c3858261326e565b612814576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206e6f6e2d617070726f7665642073656e6465720000604482015290519081900360640190fd5b60008060005b8481101561290857600087828151811061283057fe5b60200260200101519050600087838151811061284857fe5b6020026020010151905061285b826119db565b156128705761286b8a83836132ba565b6128fe565b6001600160e01b03821615611f0b5761288c8a838360016133c3565b6001600160e01b03198216856128a857809550600194506128fc565b8581146128f55760008681526002602090815260408083206001600160a01b038f1684528252808320805489900390559782526003905295909520805494909403909355600192846128fc565b6001909401935b505b505060010161281a565b50811561294a5760008281526002602090815260408083206001600160a01b038b16845282528083208054859003905584835260039091529020805482900390555b60006001600160a01b0316876001600160a01b0316846001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8989604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156129d05781810151838201526020016129b8565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612a0f5781810151838201526020016129f7565b5050505090500194505050505060405180910390a450505050505050565b60006116dd8383613864565b60006116dd836001600160a01b0384166138c8565b6000610e69826138e0565b612a6281611702565b15612ab4576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a206e6f74206120636f6c6c656374696f6e0000000000604482015290519081900360640190fd5b6000818152600560205260409020546001600160a01b031615612b1e576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206578697374696e6720636f6c6c656374696f6e0000604482015290519081900360640190fd5b612b26611d69565b6000828152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055612b68816119db565b1515817f4ebf8ad0df535ba5e487bc9cb27fe44120ca81c3a95d3eba79c0bd1df2ab2d5d60405160405180910390a350565b6000612ba4611d69565b90506001600160a01b038516612c01576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220746f207a65726f0000000000604482015290519081900360640190fd5b612c0b868261326e565b612c5c576040805162461bcd60e51b815260206004820152601e60248201527f496e76656e746f72793a206e6f6e2d617070726f7665642073656e6465720000604482015290519081900360640190fd5b612c65846119db565b15612c7b57612c768686868661350b565b612c98565b6001600160e01b03841615611f0b57612c76868686866000613610565b846001600160a01b0316866001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4612d07856001600160a01b0316612f7d565b15612d1957612d198686868686613750565b505050505050565b6000612d2d83836138c8565b612d6357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e69565b506000610e69565b80612dbd576040805162461bcd60e51b815260206004820152601560248201527f496e76656e746f72793a207a65726f2076616c75650000000000000000000000604482015290519081900360640190fd5b600082815260036020526040902054818101818111612e23576040805162461bcd60e51b815260206004820152601a60248201527f496e76656e746f72793a20737570706c79206f766572666c6f77000000000000604482015290519081900360640190fd5b600093845260036020908152604080862092909255600281528185206001600160a01b039096168552949094525091902080549091019055565b81600114612eb2576040805162461bcd60e51b815260206004820152601a60248201527f496e76656e746f72793a2077726f6e67204e46542076616c7565000000000000604482015290519081900360640190fd5b60008381526004602052604090205415612f13576040805162461bcd60e51b815260206004820152601d60248201527f496e76656e746f72793a206578697374696e672f6275726e74204e4654000000604482015290519081900360640190fd5b60008381526004602052604090206001600160a01b0385169055806127505750506001600160e01b031916600090815260036020908152604080832080546001908101909155600283528184206001600160a01b0395909516845293909152902080549091019055565b3b151590565b7fbc197c81000000000000000000000000000000000000000000000000000000006001600160a01b03851663bc197c81612fbb611d69565b888787876040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561304657818101518382015260200161302e565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561308557818101518382015260200161306d565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156130c15781810151838201526020016130a9565b50505050905090810190601f1680156130ee5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b15801561311357600080fd5b505af1158015613127573d6000803e3d6000fd5b505050506040513d602081101561313d57600080fd5b50516001600160e01b0319161461107d576040805162461bcd60e51b815260206004820152601b60248201527f496e76656e746f72793a207472616e7366657220726566757365640000000000604482015290519081900360640190fd5b606060076131a8836138e4565b60405160200180838054600181600116156101000203166002900480156132065780601f106131e4576101008083540402835291820191613206565b820191906000526020600020905b8154815290600101906020018083116131f2575b5050825160208401908083835b602083106132325780518252601f199092019160209182019101613213565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529050919050565b6000816001600160a01b0316836001600160a01b031614806116dd5750506001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b8061330c576040805162461bcd60e51b815260206004820152601560248201527f496e76656e746f72793a207a65726f2076616c75650000000000000000000000604482015290519081900360640190fd5b60008281526002602090815260408083206001600160a01b038716845290915290205481811015613384576040805162461bcd60e51b815260206004820152601d60248201527f496e76656e746f72793a206e6f7420656e6f7567682062616c616e6365000000604482015290519081900360640190fd5b60008381526002602090815260408083206001600160a01b03909716835295815285822092849003909255928352600390529190208054919091039055565b81600114613418576040805162461bcd60e51b815260206004820152601a60248201527f496e76656e746f72793a2077726f6e67204e46542076616c7565000000000000604482015290519081900360640190fd5b6000838152600460205260409020546001600160a01b03858116911614613486576040805162461bcd60e51b815260206004820152601860248201527f496e76656e746f72793a206e6f6e2d6f776e6564204e46540000000000000000604482015290519081900360640190fd5b60008381526004602052604090207fdead000000000000000000000000000000000000000000000000000000000000905580612750576001600160e01b0319831660008181526002602090815260408083206001600160a01b038916845282528083208054600019908101909155938352600390915290208054909101905550505050565b8061355d576040805162461bcd60e51b815260206004820152601560248201527f496e76656e746f72793a207a65726f2076616c75650000000000000000000000604482015290519081900360640190fd5b60008281526002602090815260408083206001600160a01b0388168452909152902054818110156135d5576040805162461bcd60e51b815260206004820152601d60248201527f496e76656e746f72793a206e6f7420656e6f7567682062616c616e6365000000604482015290519081900360640190fd5b60009283526002602090815260408085206001600160a01b039788168652909152808420918390039091559290931681522080549091019055565b81600114613665576040805162461bcd60e51b815260206004820152601a60248201527f496e76656e746f72793a2077726f6e67204e46542076616c7565000000000000604482015290519081900360640190fd5b6000838152600460205260409020546001600160a01b038681169116146136d3576040805162461bcd60e51b815260206004820152601860248201527f496e76656e746f72793a206e6f6e2d6f776e6564204e46540000000000000000604482015290519081900360640190fd5b60008381526004602052604090206001600160a01b03851690558061107d5750506001600160e01b03191660009081526002602090815260408083206001600160a01b0395861684529091528082208054600019019055919092168252902080546001019055565b60006116dd836001600160a01b0384166139f3565b7ff23a6e61000000000000000000000000000000000000000000000000000000006001600160a01b03851663f23a6e61613788611d69565b888787876040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156138145781810151838201526020016137fc565b50505050905090810190601f1680156138415780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561311357600080fd5b815460009082106138a65760405162461bcd60e51b8152600401808060200182810382526022815260200180613b526022913960400191505060405180910390fd5b8260000182815481106138b557fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b606081613925575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610e8d565b8160005b811561393d57600101600a82049150613929565b60608167ffffffffffffffff8111801561395657600080fd5b506040519080825280601f01601f191660200182016040528015613981576020820181803683370190505b50859350905060001982015b83156139ea57600a840660300160f81b828280600190039350815181106139b057fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8404935061398d565b50949350505050565b60008181526001830160205260408120548015613aaf5783546000198083019190810190600090879083908110613a2657fe5b9060005260206000200154905080876000018481548110613a4357fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080613a7357fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610e69565b6000915050610e69565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613afa5782800160ff19823516178555613b27565b82800160010185558215613b27579182015b82811115613b27578235825591602001919060010190613b0c565b50613b33929150613b37565b5090565b6116bc91905b80821115613b335760008155600101613b3d56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734d696e746572526f6c653a2061646472657373207a65726f2063616e6e6f74206265206d696e746572416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c654d696e746572526f6c653a2061646420616e206163636f756e7420616c7265616479206d696e746572416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220d90c5ca1ae096b880ef0fbde383c771beff89dff35876b7e28589dd0b134811c64736f6c63430006080033
Deployed Bytecode Sourcemap
80095:3625:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;80095:3625:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;27405:305:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;27405:305:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;8968:142;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;8968:142:0;-1:-1:-1;;;;;;8968:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;80309:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;80309:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81756:369;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;81756:369:0;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;81756:369:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;81756:369:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;81756:369:0;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;81756:369:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;81756:369:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;81756:369:0;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;81756:369:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;81756:369:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;81756:369:0;;-1:-1:-1;81756:369:0;-1:-1:-1;81756:369:0;:::i;:::-;;29060:114;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;29060:114:0;;:::i;82798:156::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;82798:156:0;;;;;;;;;;;;;:::i;74644:114::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;74644:114:0;;:::i;35501:269::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;35501:269:0;;;;;;;;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;35501:269:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;35501:269:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;35501:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;35501:269:0;;;;;;;;-1:-1:-1;35501:269:0;;-1:-1:-1;;27:11;11:28;;8:2;;;52:1;49;42:12;8:2;35501:269:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;35501:269:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;35501:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;35501:269:0;;;;;;;;-1:-1:-1;35501:269:0;;-1:-1:-1;;27:11;11:28;;8:2;;;52:1;49;42:12;8:2;35501:269:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;35501:269:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;35501:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;35501:269:0;;-1:-1:-1;35501:269:0;;-1:-1:-1;;;;;35501:269:0:i;75020:227::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;75020:227:0;;;;;;-1:-1:-1;;;;;75020:227:0;;:::i;76229:209::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;76229:209:0;;;;;;-1:-1:-1;;;;;76229:209:0;;:::i;27780:489::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;27780:489:0;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;27780:489:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;27780:489:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;27780:489:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;27780:489:0;;;;;;;;-1:-1:-1;27780:489:0;;-1:-1:-1;;27:11;11:28;;8:2;;;52:1;49;42:12;8:2;27780:489:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;27780:489:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;27780:489:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;27780:489:0;;-1:-1:-1;27780:489:0;;-1:-1:-1;;;;;27780:489:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;27780:489:0;;;;;;;;;;;;;;;;;82493:199;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;82493:199:0;;:::i;:::-;;;;-1:-1:-1;;;;;82493:199:0;;;;;;;;;;;;;;61851:29;;;:::i;81366:266::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;81366:266:0;;;;;;;;;;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;81366:266:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;81366:266:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;81366:266:0;;-1:-1:-1;81366:266:0;-1:-1:-1;81366:266:0;:::i;29813:230::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;29813:230:0;;:::i;60046:148::-;;;:::i;61889:186::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;61889:186:0;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;61889:186:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;61889:186:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;61889:186:0;;-1:-1:-1;61889:186:0;-1:-1:-1;61889:186:0;:::i;83069:192::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;83069:192:0;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;83069:192:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;83069:192:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;83069:192:0;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;83069:192:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;83069:192:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;83069:192:0;;-1:-1:-1;83069:192:0;-1:-1:-1;83069:192:0;:::i;59404:79::-;;;:::i;74317:138::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;74317:138:0;;;;;;;:::i;73278:139::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;73278:139:0;;;;;;-1:-1:-1;;;;;73278:139:0;;:::i;30693:137::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;30693:137:0;;:::i;79534:230::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;79534:230:0;-1:-1:-1;;;;;79534:230:0;;:::i;79833:152::-;;;:::i;72023:49::-;;;:::i;28342:306::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;28342:306:0;;;;;;;;;;:::i;79186:210::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;79186:210:0;-1:-1:-1;;;;;79186:210:0;;:::i;29351:119::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;29351:119:0;;:::i;30119:242::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;30119:242:0;;:::i;29547:194::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;29547:194:0;;:::i;73591:127::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;73591:127:0;;:::i;81060:194::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;81060:194:0;;:::i;75492:230::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;75492:230:0;;;;;;-1:-1:-1;;;;;75492:230:0;;:::i;28720:166::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;28720:166:0;;;;;;;;;;:::i;35187:237::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;35187:237:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;35187:237:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;35187:237:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;35187:237:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;35187:237:0;;-1:-1:-1;35187:237:0;;-1:-1:-1;;;;;35187:237:0:i;60349:244::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;60349:244:0;-1:-1:-1;;;;;60349:244:0;;:::i;27405:305::-;27489:7;-1:-1:-1;;;;;27517:19:0;;27509:55;;;;;-1:-1:-1;;;27509:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27581:9;27587:2;27581:5;:9::i;:::-;27577:86;;;27614:11;;;;:7;:11;;;;;;-1:-1:-1;;;;;27629:14:0;;27614:29;:37;;27650:1;27614:37;;;27646:1;27614:37;27607:44;;;;;;27577:86;-1:-1:-1;27682:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;27682:20:0;;;;;;;;;;27405:305;;;;;:::o;8968:142::-;-1:-1:-1;;;;;;9069:33:0;;9045:4;9069:33;;;;;;;;;;;;;8968:142;;;;:::o;80309:45::-;;;;;;;;;;;;;;;;;;;:::o;81756:369::-;78670:22;78679:12;:10;:12::i;:::-;78670:8;:22::i;:::-;78662:83;;;;-1:-1:-1;;;78662:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81946:37:::1;81961:2;81965:3;;81946:37;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16:::0;::::1;74:27:::0;;;;-1:-1;;81946:37:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;-1:-1:-1;81970:6:0;;-1:-1:-1;81970:6:0;;;;81946:37;::::1;::::0;81970:6;;81946:37;81970:6;81946:37;1:33:-1::1;99:1;81:16:::0;::::1;74:27:::0;;;;-1:-1;;81946:37:0::1;::::0;;::::1;137:4:-1;81946:37:0::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;81978:4:0;;-1:-1:-1;81978:4:0;;;;81946:37;::::1;81978:4:::0;;;;81946:37;1:33:-1::1;99:1;81:16:::0;::::1;74:27:::0;;;;-1:-1;81946:14:0::1;::::0;-1:-1:-1;;;81946:37:0:i:1;:::-;81999:9;81994:124;82010:14:::0;;::::1;81994:124;;82054:18;82065:3;;82069:1;82065:6;;;;;;;;;;;;;82054:10;:18::i;:::-;82046:60;;;::::0;;-1:-1:-1;;;82046:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;82026:3;;81994:124;;;;81756:369:::0;;;;;;;:::o;29060:114::-;29125:13;29158:8;29163:2;29158:4;:8::i;82798:156::-;82920:26;82930:4;82936:2;82940:5;82920:9;:26::i;:::-;82798:156;;;:::o;74644:114::-;74701:7;74728:12;;;:6;:12;;;;;:22;;;;74644:114::o;35501:269::-;35711:51;35734:4;35740:2;35744:3;35749:6;35757:4;35711:22;:51::i;:::-;35501:269;;;;;:::o;75020:227::-;75112:12;;;;:6;:12;;;;;:22;;;75104:45;;75136:12;:10;:12::i;:::-;75104:7;:45::i;:::-;75096:105;;;;-1:-1:-1;;;75096:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75214:25;75225:4;75231:7;75214:10;:25::i;:::-;75020:227;;:::o;76229:209::-;76327:12;:10;:12::i;:::-;-1:-1:-1;;;;;76316:23:0;:7;-1:-1:-1;;;;;76316:23:0;;76308:83;;;;-1:-1:-1;;;76308:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76404:26;76416:4;76422:7;76404:11;:26::i;27780:489::-;27934:16;27993:3;:10;27976:6;:13;:27;27968:70;;;;;-1:-1:-1;;;27968:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28051:25;28093:6;:13;28079:28;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;28079:28:0;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;28079:28:0;-1:-1:-1;28051:56:0;-1:-1:-1;28125:9:0;28120:114;28145:6;:13;28140:1;:18;28120:114;;28194:28;28204:6;28211:1;28204:9;;;;;;;;;;;;;;28215:3;28219:1;28215:6;;;;;;;;;;;;;;28194:9;:28::i;:::-;28180:8;28189:1;28180:11;;;;;;;;;;;;;;;;;:42;28160:3;;28120:114;;;-1:-1:-1;28253:8:0;27780:489;-1:-1:-1;;;27780:489:0:o;82493:199::-;82563:7;82592:19;82598:12;82592:5;:19::i;:::-;82591:20;82583:60;;;;;-1:-1:-1;;;82583:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82661:23:0;;;;:9;:23;;;;;;-1:-1:-1;;;;;82661:23:0;;82493:199::o;61851:29::-;;;;;;;;;;;;;;;-1:-1:-1;;61851:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;81366:266::-;78670:22;78679:12;:10;:12::i;78670:22::-;78662:83;;;;-1:-1:-1;;;78662:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81535:14:::1;81546:2;81535:10;:14::i;:::-;81527:56;;;::::0;;-1:-1:-1;;;81527:56:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;81594:30;81604:2;81608;81612:5;81619:4;;81594:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16:::0;::::1;74:27:::0;;;;-1:-1;81594:9:0::1;::::0;-1:-1:-1;;;81594:30:0:i:1;29813:230::-:0;29883:7;29927:14;;;:7;:14;;;;;;-1:-1:-1;;;;;29961:19:0;;29953:59;;;;;-1:-1:-1;;;29953:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;60046:148;59626:12;:10;:12::i;:::-;59616:6;;-1:-1:-1;;;;;59616:6:0;;;:22;;;59608:67;;;;;-1:-1:-1;;;59608:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60137:6:::1;::::0;60116:40:::1;::::0;60153:1:::1;::::0;-1:-1:-1;;;;;60137:6:0::1;::::0;60116:40:::1;::::0;60153:1;;60116:40:::1;60167:6;:19:::0;;-1:-1:-1;;60167:19:0::1;::::0;;60046:148::o;61889:186::-;59626:12;:10;:12::i;:::-;59616:6;;-1:-1:-1;;;;;59616:6:0;;;:22;;;59608:67;;;;;-1:-1:-1;;;59608:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61981:34:::1;:15;61999:16:::0;;61981:34:::1;:::i;:::-;;62031:36;62050:16;;62031:36;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16:::0;;::::1;74:27:::0;62031:36:0::1;::::0;137:4:-1::1;117:14:::0;;::::1;-1:-1:::0;;113:30:::1;157:16:::0;;::::1;62031:36:0::0;;::::1;::::0;-1:-1:-1;62031:36:0;;-1:-1:-1;;;;62031:36:0::1;61889:186:::0;;:::o;83069:192::-;83220:33;83235:4;83241:3;;83220:33;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;83220:33:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;83246:6:0;;-1:-1:-1;83246:6:0;;;;83220:33;;;83246:6;;83220:33;83246:6;83220:33;1::-1;99:1;81:16;;74:27;;;;-1:-1;83220:14:0;;-1:-1:-1;;;83220:33:0:i;59404:79::-;59469:6;;-1:-1:-1;;;;;59469:6:0;59404:79;;:::o;74317:138::-;74390:7;74417:12;;;:6;:12;;;;;:30;;74441:5;74417:30;:23;:30;:::i;:::-;74410:37;74317:138;-1:-1:-1;;;74317:138:0:o;73278:139::-;73347:4;73371:12;;;:6;:12;;;;;:38;;73401:7;73371:38;:29;:38;:::i;30693:137::-;30749:4;26238:8;30774:12;;30773:19;;;;:49;;-1:-1:-1;;;;;;;30797:19:0;:24;;;30693:137::o;79534:230::-;78670:22;78679:12;:10;:12::i;78670:22::-;78662:83;;;;-1:-1:-1;;;78662:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79608:17:::1;79617:7;79608:8;:17::i;:::-;79607:18;79599:72;;;;-1:-1:-1::0;;;79599:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79682:38;72068:4;79712:7:::0;79682:9:::1;:38::i;:::-;79736:20;::::0;-1:-1:-1;;;;;79736:20:0;::::1;::::0;::::1;::::0;;;::::1;79534:230:::0;:::o;79833:152::-;78670:22;78679:12;:10;:12::i;78670:22::-;78662:83;;;;-1:-1:-1;;;78662:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79888:46:::1;72068:4;79921:12;:10;:12::i;:::-;79888;:46::i;:::-;79964:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;79950:27:0::1;;;;;;;;;;;79833:152::o:0;72023:49::-;72068:4;72023:49;:::o;28342:306::-;28437:14;28454:12;:10;:12::i;:::-;28437:29;;28497:6;-1:-1:-1;;;;;28485:18:0;:8;-1:-1:-1;;;;;28485:18:0;;;28477:55;;;;;-1:-1:-1;;;28477:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28543:18:0;;;;;;;:10;:18;;;;;;;;:28;;;;;;;;;;;;;:39;;-1:-1:-1;;28543:39:0;;;;;;;;;;28598:42;;;;;;;;;;;;;;;;;28342:306;;;:::o;79186:210::-;79242:4;-1:-1:-1;;;;;79267:21:0;;79259:75;;;;-1:-1:-1;;;79259:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79352:36;72068:4;79380:7;79352;:36::i;29351:119::-;26238:8;29445:12;:17;;29351:119::o;30119:242::-;30190:7;30214:9;30220:2;30214:5;:9::i;:::-;30210:144;;;30279:1;30255:11;;;:7;:11;;;;;;-1:-1:-1;;;;;30247:34:0;;:42;;30288:1;30247:42;;;30284:1;30247:42;30240:49;;;;;;30210:144;-1:-1:-1;30329:13:0;;;;:9;:13;;;;;;30322:20;;29547:194;29622:7;29650:12;29656:5;29650;:12::i;:::-;29642:46;;;;;-1:-1:-1;;;29642:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;29706:27:0;;29547:194::o;73591:127::-;73654:7;73681:12;;;:6;:12;;;;;:29;;:27;:29::i;81060:194::-;59626:12;:10;:12::i;:::-;59616:6;;-1:-1:-1;;;;;59616:6:0;;;:22;;;59608:67;;;;;-1:-1:-1;;;59608:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81146:24:::1;81157:12;81146:10;:24::i;:::-;81138:66;;;::::0;;-1:-1:-1;;;81138:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;81215:31;81233:12;81215:17;:31::i;:::-;81060:194:::0;:::o;75492:230::-;75585:12;;;;:6;:12;;;;;:22;;;75577:45;;75609:12;:10;:12::i;75577:45::-;75569:106;;;;-1:-1:-1;;;75569:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28720:166;-1:-1:-1;;;;;28846:22:0;;;28822:4;28846:22;;;:10;:22;;;;;;;;:32;;;;;;;;;;;;;;;28720:166::o;35187:237::-;35372:44;35390:4;35396:2;35400;35404:5;35411:4;35372:17;:44::i;60349:244::-;59626:12;:10;:12::i;:::-;59616:6;;-1:-1:-1;;;;;59616:6:0;;;:22;;;59608:67;;;;;-1:-1:-1;;;59608:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60438:22:0;::::1;60430:73;;;;-1:-1:-1::0;;;60430:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60540:6;::::0;60519:38:::1;::::0;-1:-1:-1;;;;;60519:38:0;;::::1;::::0;60540:6:::1;::::0;60519:38:::1;::::0;60540:6:::1;::::0;60519:38:::1;60568:6;:17:::0;;-1:-1:-1;;60568:17:0::1;-1:-1:-1::0;;;;;60568:17:0;;;::::1;::::0;;;::::1;::::0;;60349:244::o;67294:143::-;67364:4;67388:41;67393:3;-1:-1:-1;;;;;67413:14:0;;67388:4;:41::i;6778:106::-;6866:10;6778:106;:::o;39795:1874::-;-1:-1:-1;;;;;39976:16:0;;39968:56;;;;;-1:-1:-1;;;39968:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40052:10;;40091:13;;40081:23;;40073:66;;;;;-1:-1:-1;;;40073:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40152:22;40185:25;40226:9;40221:1072;40241:6;40237:1;:10;40221:1072;;;40269:10;40282:3;40286:1;40282:6;;;;;;;;;;;;;;40269:19;;40303:13;40319:6;40326:1;40319:9;;;;;;;;;;;;;;40303:25;;40347:14;40358:2;40347:10;:14::i;:::-;40343:939;;;40382:28;40396:2;40400;40404:5;40382:13;:28::i;:::-;40343:939;;;-1:-1:-1;;;;;40437:19:0;;:24;40433:849;;40482:29;40491:2;40495;40499:5;40506:4;40482:8;:29::i;:::-;-1:-1:-1;;;;;;40557:24:0;;40604:19;40600:591;;40665:16;40648:33;;40724:1;40704:21;;40600:591;;;40798:14;40778:16;:34;40774:398;;40841:25;;;;:9;:25;;;;;;;;-1:-1:-1;;;;;40841:29:0;;;;;;;;;:50;;;;;;40918:25;;;:9;:25;;;;;;:46;;;;;;;;-1:-1:-1;;41008:16:0;40774:398;;;41129:19;;;;;40774:398;40433:849;;;;41231:35;;;-1:-1:-1;;;41231:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;40433:849;-1:-1:-1;;40249:3:0;;40221:1072;;;-1:-1:-1;41309:19:0;;41305:163;;41345:25;;;;:9;:25;;;;;;;;-1:-1:-1;;;;;41345:29:0;;;;;;;;;:50;;;;;;41410:25;;;:9;:25;;;;;:46;;;;;;41305:163;-1:-1:-1;;;;;41485:56:0;;41521:1;41499:12;:10;:12::i;:::-;-1:-1:-1;;;;;41485:56:0;;41529:3;41534:6;41485:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;41485:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;41485:56:0;;;;;;;;;;;;;;;;;;;41556:15;:2;-1:-1:-1;;;;;41556:13:0;;:15::i;:::-;41552:110;;;41588:62;41624:1;41628:2;41632:3;41637:6;41645:4;41588:27;:62::i;:::-;39795:1874;;;;;;;:::o;83555:162::-;83652:13;83685:24;83706:2;83685:20;:24::i;49800:553::-;49914:14;49931:12;:10;:12::i;:::-;49914:29;;49962:27;49976:4;49982:6;49962:13;:27::i;:::-;49954:70;;;;;-1:-1:-1;;;49954:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;50041:14;50052:2;50041:10;:14::i;:::-;50037:240;;;50072:30;50086:4;50092:2;50096:5;50072:13;:30::i;:::-;50037:240;;;-1:-1:-1;;;;;50124:19:0;;:24;50120:157;;50165:32;50174:4;50180:2;50184:5;50191;50165:8;:32::i;50120:157::-;50331:1;-1:-1:-1;;;;;50294:51:0;50317:4;-1:-1:-1;;;;;50294:51:0;50309:6;-1:-1:-1;;;;;50294:51:0;;50335:2;50339:5;50294:51;;;;;;;;;;;;;;;;;;;;;;;;49800:553;;;;:::o;45756:2040::-;-1:-1:-1;;;;;45968:16:0;;45960:56;;;;;-1:-1:-1;;;45960:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46044:10;;46083:13;;46073:23;;46065:66;;;;;-1:-1:-1;;;46065:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46142:14;46159:12;:10;:12::i;:::-;46142:29;;46190:27;46204:4;46210:6;46190:13;:27::i;:::-;46182:70;;;;;-1:-1:-1;;;46182:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46265:22;46298:25;46339:9;46334:1098;46354:6;46350:1;:10;46334:1098;;;46382:10;46395:3;46399:1;46395:6;;;;;;;;;;;;;;46382:19;;46416:13;46432:6;46439:1;46432:9;;;;;;;;;;;;;;46416:25;;46460:14;46471:2;46460:10;:14::i;:::-;46456:965;;;46495:38;46513:4;46519:2;46523;46527:5;46495:17;:38::i;:::-;46456:965;;;-1:-1:-1;;;;;46560:19:0;;:24;46556:865;;46605:39;46618:4;46624:2;46628;46632:5;46639:4;46605:12;:39::i;:::-;-1:-1:-1;;;;;;46690:24:0;;46737:19;46733:597;;46798:16;46781:33;;46857:1;46837:21;;46733:597;;;46931:14;46911:16;:34;46907:404;;47009:17;46974:9;:25;46984:14;46974:25;;;;;;;;;;;:31;47000:4;-1:-1:-1;;;;;46974:31:0;-1:-1:-1;;;;;46974:31:0;;;;;;;;;;;;;:52;;;;;;;;;;;47086:17;47053:9;:25;47063:14;47053:25;;;;;;;;;;;:29;47079:2;-1:-1:-1;;;;;47053:29:0;-1:-1:-1;;;;;47053:29:0;;;;;;;;;;;;;:50;;;;;;;;;;;47147:16;47130:33;;47210:1;47190:21;;46907:404;;;47268:19;;;;;46907:404;46556:865;;-1:-1:-1;;46362:3:0;;46334:1098;;;-1:-1:-1;47448:19:0;;47444:169;;47484:25;;;;:9;:25;;;;;;;;-1:-1:-1;;;;;47484:31:0;;;;;;;;;;:52;;;;;;;47551:29;;;;;;;:50;;;;;;47444:169;47658:2;-1:-1:-1;;;;;47630:44:0;47652:4;-1:-1:-1;;;;;47630:44:0;47644:6;-1:-1:-1;;;;;47630:44:0;;47662:3;47667:6;47630:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;47630:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;47630:44:0;;;;;;;;;;;;;;;;;;;47689:15;:2;-1:-1:-1;;;;;47689:13:0;;:15::i;:::-;47685:104;;;47721:56;47749:4;47755:2;47759:3;47764:6;47772:4;47721:27;:56::i;:::-;45756:2040;;;;;;;;;:::o;77472:188::-;77546:12;;;;:6;:12;;;;;:33;;77571:7;77546:33;:24;:33;:::i;:::-;77542:111;;;77628:12;:10;:12::i;:::-;-1:-1:-1;;;;;77601:40:0;77619:7;-1:-1:-1;;;;;77601:40:0;77613:4;77601:40;;;;;;;;;;77472:188;;:::o;77668:192::-;77743:12;;;;:6;:12;;;;;:36;;77771:7;77743:36;:27;:36;:::i;:::-;77739:114;;;77828:12;:10;:12::i;:::-;-1:-1:-1;;;;;77801:40:0;77819:7;-1:-1:-1;;;;;77801:40:0;77813:4;77801:40;;;;;;;;;;77668:192;;:::o;38130:638::-;-1:-1:-1;;;;;38278:16:0;;38270:56;;;;;-1:-1:-1;;;38270:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38343:14;38354:2;38343:10;:14::i;:::-;38339:236;;;38374:28;38388:2;38392;38396:5;38374:13;:28::i;:::-;38339:236;;;-1:-1:-1;;;;;38424:19:0;;:24;38420:155;;38465:30;38474:2;38478;38482:5;38489;38465:8;:30::i;38420:155::-;-1:-1:-1;;;;;38592:55:0;;38629:1;38607:12;:10;:12::i;:::-;-1:-1:-1;;;;;38592:55:0;;38637:2;38641:5;38592:55;;;;;;;;;;;;;;;;;;;;;;;;38662:15;:2;-1:-1:-1;;;;;38662:13:0;;:15::i;:::-;38658:103;;;38694:55;38725:1;38729:2;38733;38737:5;38744:4;38694:22;:55::i;:::-;38130:638;;;;:::o;51199:1788::-;51363:10;;51402:13;;51392:23;;51384:66;;;;;-1:-1:-1;;;51384:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51463:14;51480:12;:10;:12::i;:::-;51463:29;;51511:27;51525:4;51531:6;51511:13;:27::i;:::-;51503:70;;;;;-1:-1:-1;;;51503:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51586:22;51619:25;51660:9;51655:1078;51675:6;51671:1;:10;51655:1078;;;51703:10;51716:3;51720:1;51716:6;;;;;;;;;;;;;;51703:19;;51737:13;51753:6;51760:1;51753:9;;;;;;;;;;;;;;51737:25;;51781:14;51792:2;51781:10;:14::i;:::-;51777:945;;;51816:30;51830:4;51836:2;51840:5;51816:13;:30::i;:::-;51777:945;;;-1:-1:-1;;;;;51873:19:0;;:24;51869:853;;51918:31;51927:4;51933:2;51937:5;51944:4;51918:8;:31::i;:::-;-1:-1:-1;;;;;;51995:24:0;;52042:19;52038:593;;52103:16;52086:33;;52162:1;52142:21;;52038:593;;;52236:14;52216:16;:34;52212:400;;52279:25;;;;:9;:25;;;;;;;;-1:-1:-1;;;;;52279:31:0;;;;;;;;;:52;;;;;;;52358:25;;;:9;:25;;;;;;:46;;;;;;;;;-1:-1:-1;;52448:16:0;52212:400;;;52569:19;;;;;52212:400;51869:853;;-1:-1:-1;;51683:3:0;;51655:1078;;;-1:-1:-1;52749:19:0;;52745:165;;52785:25;;;;:9;:25;;;;;;;;-1:-1:-1;;;;;52785:31:0;;;;;;;;;:52;;;;;;;52852:25;;;:9;:25;;;;;:46;;;;;;;52745:165;52963:1;-1:-1:-1;;;;;52927:52:0;52949:4;-1:-1:-1;;;;;52927:52:0;52941:6;-1:-1:-1;;;;;52927:52:0;;52967:3;52972:6;52927:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;52927:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;52927:52:0;;;;;;;;;;;;;;;;;;;51199:1788;;;;;;;:::o;68553:149::-;68627:7;68670:22;68674:3;68686:5;68670:3;:22::i;67848:158::-;67928:4;67952:46;67962:3;-1:-1:-1;;;;;67982:14:0;;67952:9;:46::i;68092:117::-;68155:7;68182:19;68190:3;68182:7;:19::i;31272:358::-;31358:19;31364:12;31358:5;:19::i;:::-;31357:20;31349:60;;;;;-1:-1:-1;;;31349:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31463:1;31428:23;;;:9;:23;;;;;;-1:-1:-1;;;;;31428:23:0;:37;31420:80;;;;;-1:-1:-1;;;31420:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31537:12;:10;:12::i;:::-;31511:23;;;;:9;:23;;;;;:38;;-1:-1:-1;;31511:38:0;-1:-1:-1;;;;;31511:38:0;;;;;;;;;;31597:24;31511:23;31597:10;:24::i;:::-;31565:57;;31583:12;31565:57;;;;;;;;;;31272:358;:::o;43950:792::-;44121:14;44138:12;:10;:12::i;:::-;44121:29;-1:-1:-1;;;;;;44169:16:0;;44161:56;;;;;-1:-1:-1;;;44161:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;44236:27;44250:4;44256:6;44236:13;:27::i;:::-;44228:70;;;;;-1:-1:-1;;;44228:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;44315:14;44326:2;44315:10;:14::i;:::-;44311:256;;;44346:38;44364:4;44370:2;44374;44378:5;44346:17;:38::i;:::-;44311:256;;;-1:-1:-1;;;;;44406:19:0;;:24;44402:165;;44447:40;44460:4;44466:2;44470;44474:5;44481;44447:12;:40::i;44402:165::-;44613:2;-1:-1:-1;;;;;44584:43:0;44607:4;-1:-1:-1;;;;;44584:43:0;44599:6;-1:-1:-1;;;;;44584:43:0;;44617:2;44621:5;44584:43;;;;;;;;;;;;;;;;;;;;;;;;44642:15;:2;-1:-1:-1;;;;;44642:13:0;;:15::i;:::-;44638:97;;;44674:49;44697:4;44703:2;44707;44711:5;44718:4;44674:22;:49::i;:::-;43950:792;;;;;;:::o;63948:414::-;64011:4;64033:21;64043:3;64048:5;64033:9;:21::i;:::-;64028:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;64071:11:0;:23;;;;;;;;;;;;;64254:18;;64232:19;;;:12;;;:19;;;;;;:40;;;;64287:11;;64028:327;-1:-1:-1;64338:5:0;64331:12;;35883:488;36007:10;35999:44;;;;;-1:-1:-1;;;35999:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36054:14;36071:13;;;:9;:13;;;;;;36115:14;;;36148:18;;;36140:57;;;;;-1:-1:-1;;;36140:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36208:13;;;;:9;:13;;;;;;;;:25;;;;36337:9;:13;;;;;-1:-1:-1;;;;;36337:17:0;;;;;;;;;-1:-1:-1;36337:17:0;;;:26;;;;;;;35883:488::o;36379:692::-;36521:5;36530:1;36521:10;36513:49;;;;;-1:-1:-1;;;36513:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36581:11;;;;:7;:11;;;;;;:16;36573:58;;;;;-1:-1:-1;;;36573:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36644:11;;;;:7;:11;;;;;-1:-1:-1;;;;;36658:11:0;;36644:25;;36687:7;36682:382;;-1:-1:-1;;;;;;;;36734:24:0;36711:20;36927:23;;;:9;:23;;;;;;;;36925:25;;;;;;;;;37025:9;:23;;;;;-1:-1:-1;;;;;37025:27:0;;;;;;;;;;;;37023:29;;;;;;;36379:692::o;867:422::-;1234:20;1273:8;;;867:422::o;33801:417::-;34132:23;-1:-1:-1;;;;;34024:48:0;;25907:10;34073:12;:10;:12::i;:::-;34087:4;34093:3;34098:6;34106:4;34024:87;;;;;;;;;;;;;-1:-1:-1;;;;;34024:87:0;-1:-1:-1;;;;;34024:87:0;;;;;;-1:-1:-1;;;;;34024:87:0;-1:-1:-1;;;;;34024:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;34024:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;34024:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;34024:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;34024:87:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34024:87:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;34024:87:0;-1:-1:-1;;;;;;34024:131:0;;34002:208;;;;;-1:-1:-1;;;34002:208:0;;;;;;;;;;;;;;;;;;;;;;;;;;;62083:161;62140:13;62197:15;62214:20;:2;:18;:20::i;:::-;62180:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62180:55:0;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;62180:55:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;62180:55:0;;;62166:70;;62083:161;;;:::o;32185:160::-;32269:4;32302:6;-1:-1:-1;;;;;32294:14:0;:4;-1:-1:-1;;;;;32294:14:0;;32293:44;;;-1:-1:-1;;;;;;;32313:16:0;;;;;;;:10;:16;;;;;;;;:24;;;;;;;;;;;;;;;32185:160::o;47909:397::-;48035:10;48027:44;;;;;-1:-1:-1;;;48027:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;48082:15;48100:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;48100:19:0;;;;;;;;;;48138:16;;;;48130:58;;;;;-1:-1:-1;;;48130:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;48199:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;48199:19:0;;;;;;;;;;;48221:15;;;;48199:37;;;48276:13;;;:9;:13;;;;;:22;;;;;;;;47909:397::o;48314:604::-;48458:5;48467:1;48458:10;48450:49;;;;;-1:-1:-1;;;48450:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;48534:11;;;;:7;:11;;;;;;-1:-1:-1;;;;;48518:28:0;;;;;;48510:65;;;;;-1:-1:-1;;;48510:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;48586:11;;;;:7;:11;;;;;26024:66;48586:30;;48634:7;48629:282;;-1:-1:-1;;;;;;48681:24:0;;48658:20;48797:23;;;:9;:23;;;;;;;;-1:-1:-1;;;;;48797:29:0;;;;;;;;;48795:31;;-1:-1:-1;;48795:31:0;;;;;;48876:23;;;:9;:23;;;;;48874:25;;;;;;;48314:604;;;;:::o;41783:451::-;41934:10;41926:44;;;;;-1:-1:-1;;;41926:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41981:15;41999:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;41999:19:0;;;;;;;;;;42037:16;;;;42029:58;;;;;-1:-1:-1;;;42029:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42098:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;42098:19:0;;;;;;;;;;;42120:15;;;;42098:37;;;42200:17;;;;;;;:26;;;;;;;41783:451::o;42242:656::-;42411:5;42420:1;42411:10;42403:49;;;;;-1:-1:-1;;;42403:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42487:11;;;;:7;:11;;;;;;-1:-1:-1;;;;;42471:28:0;;;;;;42463:65;;;;;-1:-1:-1;;;42463:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42539:11;;;;:7;:11;;;;;-1:-1:-1;;;;;42553:11:0;;42539:25;;42580:7;42575:316;;-1:-1:-1;;;;;;;;42627:24:0;42604:20;42740:23;;;:9;:23;;;;;;;;-1:-1:-1;;;;;42740:29:0;;;;;;;;;;;:34;;-1:-1:-1;;42740:34:0;;;42847:27;;;;;;;;:32;;-1:-1:-1;42847:32:0;;;42242:656::o;67613:149::-;67686:4;67710:44;67718:3;-1:-1:-1;;;;;67738:14:0;;67710:7;:44::i;32943:362::-;33225:17;-1:-1:-1;;;;;33141:43:0;;25742:10;33185:12;:10;:12::i;:::-;33199:4;33205:2;33209:5;33216:4;33141:80;;;;;;;;;;;;;-1:-1:-1;;;;;33141:80:0;-1:-1:-1;;;;;33141:80:0;;;;;;-1:-1:-1;;;;;33141:80:0;-1:-1:-1;;;;;33141:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;33141:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;66836:204:0;66931:18;;66903:7;;66931:26;-1:-1:-1;66923:73:0;;;;-1:-1:-1;;;66923:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67014:3;:11;;67026:5;67014:18;;;;;;;;;;;;;;;;67007:25;;66836:204;;;;:::o;66168:129::-;66241:4;66265:19;;;:12;;;;;:19;;;;;;:24;;;66168:129::o;66383:109::-;66466:18;;66383:109::o;60776:787::-;60839:13;61096:10;61092:53;;-1:-1:-1;61123:10:0;;;;;;;;;;;;;;;;;;;61092:53;61170:5;61155:12;61211:78;61218:9;;61211:78;;61244:8;;61275:2;61267:10;;;;61211:78;;;61299:19;61331:6;61321:17;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;61321:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;61321:17:0;87:42:-1;143:17;;-1:-1;61321:17:0;-1:-1:-1;61393:5:0;;-1:-1:-1;61299:39:0;-1:-1:-1;;;61365:10:0;;61409:115;61416:9;;61409:115;;61483:2;61476:4;:9;61471:2;:14;61460:27;;61442:6;61449:7;;;;;;;61442:15;;;;;;;;;;;:45;;;;;;;;;;-1:-1:-1;61510:2:0;61502:10;;;;61409:115;;;-1:-1:-1;61548:6:0;60776:787;-1:-1:-1;;;;60776:787:0:o;64538:1544::-;64604:4;64743:19;;;:12;;;:19;;;;;;64779:15;;64775:1300;;65214:18;;-1:-1:-1;;65165:14:0;;;;65214:22;;;;65141:21;;65214:3;;:22;;65501;;;;;;;;;;;;;;65481:42;;65647:9;65618:3;:11;;65630:13;65618:26;;;;;;;;;;;;;;;;;;;:38;;;;65724:23;;;65766:1;65724:12;;;:23;;;;;;65750:17;;;65724:43;;65876:17;;65724:3;;65876:17;;;;;;;;;;;;;;;;;;;;;;65971:3;:12;;:19;65984:5;65971:19;;;;;;;;;;;65964:26;;;66014:4;66007:11;;;;;;;;64775:1300;66058:5;66051:12;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://d90c5ca1ae096b880ef0fbde383c771beff89dff35876b7e28589dd0b134811c
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.