Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
NFT
Overview
Max Total Supply
40,572 F1DTI
Holders
1,431
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 |
---|
This contract contains unverified libraries: Bytes
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
DeltaTimeInventory
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-02-24 */ // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Roles.sol pragma solidity ^0.5.0; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } // File: @openzeppelin/contracts/access/roles/PauserRole.sol pragma solidity ^0.5.0; contract PauserRole is Context { using Roles for Roles.Role; event PauserAdded(address indexed account); event PauserRemoved(address indexed account); Roles.Role private _pausers; constructor () internal { _addPauser(_msgSender()); } modifier onlyPauser() { require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role"); _; } function isPauser(address account) public view returns (bool) { return _pausers.has(account); } function addPauser(address account) public onlyPauser { _addPauser(account); } function renouncePauser() public { _removePauser(_msgSender()); } function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); } function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); } } // File: @openzeppelin/contracts/lifecycle/Pausable.sol pragma solidity ^0.5.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract Pausable is Context, PauserRole { /** * @dev Emitted when the pause is triggered by a pauser (`account`). */ event Paused(address account); /** * @dev Emitted when the pause is lifted by a pauser (`account`). */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. Assigns the Pauser role * to the deployer. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Called by a pauser to pause, triggers stopped state. */ function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Called by a pauser to unpause, returns to normal state. */ function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @animocabrands/contracts-inventory/contracts/token/ERC1155/ERC1155PausableCollections.sol pragma solidity =0.5.16; contract ERC1155PausableCollections is Pausable { event CollectionsPaused(uint256[] collectionIds, address pauser); event CollectionsUnpaused(uint256[] collectionIds, address pauser); mapping(uint256 => bool) internal _pausedCollections; /** * @dev Called by an admin to pause a list of collections. */ function pauseCollections(uint256[] memory collectionIds) public; /** * @dev Called by an admin to unpause a list of collection. */ function unpauseCollections(uint256[] memory collectionIds) public; } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: @openzeppelin/contracts/introspection/IERC165.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.5.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ contract IERC721Receiver { /** * @notice Handle the receipt of an NFT * @dev The ERC721 smart contract calls this function on the recipient * after a {IERC721-safeTransferFrom}. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onERC721Received.selector`. This * function MAY throw to revert and reject the transfer. * Note: the ERC721 contract address is always the message sender. * @param operator The address which called `safeTransferFrom` function * @param from The address which previously owned the token * @param tokenId The NFT identifier which is being transferred * @param data Additional data with no specified format * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` */ function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data) public returns (bytes4); } // File: @animocabrands/contracts-inventory/contracts/token/ERC721/IERC721.sol pragma solidity = 0.5.16; /** @title ERC721 Non-Fungible Token Standard, basic interface @dev See https://eips.ethereum.org/EIPS/eip-721 Note: The ERC-165 identifier for this interface is 0x80ac58cd. */ contract IERC721 { event Transfer( address indexed _from, address indexed _to, uint256 indexed _tokenId ); event Approval( address indexed _owner, address indexed _approved, uint256 indexed _tokenId ); event ApprovalForAll( address indexed _owner, address indexed _operator, bool _approved ); /** * @dev Gets the balance of the specified address * @param owner address to query the balance of * @return uint256 representing the amount owned by the passed address */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Gets the owner of the specified ID * @param tokenId uint256 ID to query the owner of * @return owner address currently marked as the owner of the given ID */ function ownerOf(uint256 tokenId) public view returns (address owner); /** * @dev Approves another address to transfer the given token ID * The zero address indicates there is no approved address. * There can only be one approved address per token at a given time. * Can only be called by the token owner or an approved operator. * @param to address to be approved for the given token ID * @param tokenId uint256 ID of the token to be approved */ function approve(address to, uint256 tokenId) external; /** * @dev Gets the approved address for a token ID, or zero if no address set * Reverts if the token ID does not exist. * @param tokenId uint256 ID of the token to query the approval of * @return address currently approved for the given token ID */ function getApproved(uint256 tokenId) public view returns (address operator); /** * @dev Sets or unsets the approval of a given operator * An operator is allowed to transfer all tokens of the sender on their behalf * @param operator operator address to set the approval * @param approved representing the status of the approval to be set */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Tells whether an operator is approved by a given owner * @param owner owner address which you want to query the approval of * @param operator operator address which you want to query the approval of * @return bool whether the given operator is approved by the given owner */ function isApprovedForAll(address owner,address operator) external view returns (bool); /** * @dev Transfers the ownership of a given token ID to another address * Usage of this method is discouraged, use `safeTransferFrom` whenever possible * Requires the msg sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * * Requires the msg sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param data bytes data to send along with a safe transfer check */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } // File: @animocabrands/contracts-inventory/contracts/token/ERC721/IERC721Metadata.sol pragma solidity = 0.5.16; /** @title ERC721 Non-Fungible Token Standard, optional metadata extension @dev See https://eips.ethereum.org/EIPS/eip-721 Note: The ERC-165 identifier for this interface is 0x5b5e139f. */ interface IERC721Metadata { /** * @dev Gets the token name * @return string representing the token name */ function name() external view returns (string memory); /** * @dev Gets the token symbol * @return string representing the token symbol */ function symbol() external view returns (string memory); /** * @dev Returns an URI for a given token ID * Throws if the token ID does not exist. May return an empty string. * @param tokenId uint256 ID of the token to query * @return string URI of given token ID */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @animocabrands/contracts-inventory/contracts/token/ERC1155/IERC1155.sol pragma solidity = 0.5.16; /** @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. */ contract 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). MUST revert if `to` is the zero address. MUST revert if balance of holder for token `id` is lower than the `value` sent. MUST revert on any other error. MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard). 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 memory data ) public; /** @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). MUST revert if `to` is the zero address. MUST revert if length of `ids` is not the same as length of `values`. 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. MUST revert on any other error. MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard). Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc). 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[] memory ids, uint256[] memory values, bytes memory data ) public; /** @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) public 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[] memory owners, uint256[] memory ids ) public 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) public; /** @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) public view returns (bool); } // File: @animocabrands/contracts-inventory/contracts/token/ERC1155/IERC1155MetadataURI.sol pragma solidity = 0.5.16; /** @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. The URI MUST point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema". The uri function SHOULD be used to retrieve values if no event was emitted. The uri function MUST return the same value as the latest event for an _id if it was emitted. 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: @animocabrands/contracts-inventory/contracts/token/ERC1155/IERC1155AssetCollections.sol pragma solidity = 0.5.16; /** @title ERC-1155 Multi Token Standard, optional Asset Collections extension @dev See https://eips.ethereum.org/EIPS/eip-xxxx Interface for fungible/non-fungible collections management on a 1155-compliant contract. This proposal attempts to rationalize the co-existence of fungible and non-fungible tokens within the same contract. We consider that there can be up to several: (a) Fungible Collections, each representing a supply of fungible token, (b) Non-Fungible Collections, each representing a set of non-fungible tokens, (c) Non-Fungible Tokens. `balanceOf` and `balanceOfBatch`: - when applied to a Non-Fungible Collection, MAY return the balance of Non-Fungible Tokens for this collection, - when applied to a Non-Fungible Token, SHOULD return 1. Note: The ERC-165 identifier for this interface is 0x09ce5c46. */ contract IERC1155AssetCollections { /** @dev Returns the parent collection ID of a Non-Fungible Token ID. This function returns either a Fungible Collection ID or a Non-Fungible Collection ID. This function SHOULD NOT be used to check the existence of a Non-Fungible Token. This function MAY return a value for a non-existing Non-Fungible Token. @param id The ID to query. id must represent an existing/non-existing Non-Fungible Token, else it throws. @return uint256 the parent collection ID. */ function collectionOf(uint256 id) public view returns (uint256); /** @dev Returns whether or not an ID represents a Fungible Collection. @param id The ID to query. @return bool true if id represents a Fungible Collection, false otherwise. */ function isFungible(uint256 id) public view returns (bool); /** @dev Returns the owner of a Non-Fungible Token. @param tokenId The ID to query. MUST represent an existing Non-Fungible Token, else it throws. @return owner address currently marked as the owner of the Non-Fungible Token. */ function ownerOf(uint256 tokenId) public view returns (address owner); } // File: @animocabrands/contracts-inventory/contracts/token/ERC1155/IERC1155TokenReceiver.sol pragma solidity = 0.5.16; /** @title ERC-1155 Multi Token Standard, token receiver @dev See https://eips.ethereum.org/EIPS/eip-1155 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(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: @animocabrands/contracts-inventory/contracts/token/ERC1155721/AssetsInventory.sol pragma solidity = 0.5.16; /** @title AssetsInventory, a contract which manages up to multiple collections of fungible and non-fungible tokens @dev In this implementation, with N representing the non-fungible bitmask length, IDs are composed as follow: (a) Fungible Collection IDs: - most significant bit == 0 (b) Non-Fungible Collection IDs: - most significant bit == 1 - (256-N) least significant bits == 0 (c) Non-Fungible Token IDs: - most significant bit == 1 - (256-N) least significant bits != 0 If non-fungible bitmask length == 0, all the IDs represent a Fungible Collection. If non-fungible bitmask length == 1, there is one Non-Fungible Collection represented by the most significant bit set to 1 and other bits set to 0. If non-fungible bitmask length > 1, there are multiple Non-Fungible Collections. */ contract AssetsInventory is IERC165, IERC721, IERC1155, IERC1155AssetCollections, IERC721Metadata, IERC1155MetadataURI, Context { // id (collection) => owner => balance mapping(uint256 => mapping(address => uint256)) internal _balances; // owner => operator => approved mapping(address => mapping(address => bool)) internal _operatorApprovals; // id (nft) => operator mapping(uint256 => address) internal _tokenApprovals; // id (collection or nft) => owner mapping(uint256 => address) internal _owners; // owner => nb nfts owned mapping(address => uint256) internal _nftBalances; // Mask for the non-fungible flag in ids uint256 internal constant NF_BIT_MASK = 1 << 255; // Mask for non-fungible collection in ids (it includes the nf bit) uint256 internal NF_COLLECTION_MASK; /** * @dev Constructor function * @param nfMaskLength number of bits in the Non-Fungible Collection mask * if nfMaskLength == 0, the contract doesn't support non-fungible tokens * if nfMaskLength == 1, the single non-fungible collection which is represented by only the non-fungible bit set to 1 * if nfMaskLength > 1, there are several */ constructor(uint256 nfMaskLength) public { require(nfMaskLength < 256); if (nfMaskLength == 0) { NF_COLLECTION_MASK = 0; } else { uint256 mask = (1 << nfMaskLength) - 1; mask = mask << (256 - nfMaskLength); NF_COLLECTION_MASK = mask; } } /////////////////////////////////////////// ERC165 ///////////////////////////////////////////// /** * @dev Check if support an interface id * @param interfaceId interface id to query * @return bool if support the given interface id */ function supportsInterface(bytes4 interfaceId) public view returns (bool) { return ( // ERC165 interface id interfaceId == 0x01ffc9a7 || // ERC721 interface id interfaceId == 0x80ac58cd || // ERC721Metadata interface id interfaceId == 0x5b5e139f || // ERC721Exists interface id interfaceId == 0x4f558e79 || // ERC1155 interface id interfaceId == 0xd9b67a26 || // ERC1155AssetCollections interface id interfaceId == 0x09ce5c46 || // ERC1155MetadataURI interface id interfaceId == 0x0e89341c ); } /////////////////////////////////////////// ERC721 ///////////////////////////////////////////// function balanceOf(address tokenOwner) public view returns (uint256) { require(tokenOwner != address(0x0)); return _nftBalances[tokenOwner]; } function ownerOf(uint256 tokenId) public view returns (address) { require(isNFT(tokenId)); address tokenOwner = _owners[tokenId]; require(tokenOwner != address(0x0)); return tokenOwner; } function approve(address to, uint256 tokenId) public { address tokenOwner = ownerOf(tokenId); require(to != tokenOwner); // solium-disable-line error-reason address sender = _msgSender(); require(sender == tokenOwner || _operatorApprovals[tokenOwner][sender]); // solium-disable-line error-reason _tokenApprovals[tokenId] = to; emit Approval(tokenOwner, to, tokenId); } function getApproved(uint256 tokenId) public view returns (address) { require(isNFT(tokenId) && exists(tokenId)); return _tokenApprovals[tokenId]; } function setApprovalForAll(address to, bool approved) public { address sender = _msgSender(); require(to != sender); _setApprovalForAll(sender, to, approved); } function _setApprovalForAll(address sender, address operator, bool approved) internal { _operatorApprovals[sender][operator] = approved; emit ApprovalForAll(sender, operator, approved); } function isApprovedForAll(address tokenOwner, address operator) public view returns (bool) { return _operatorApprovals[tokenOwner][operator]; } function transferFrom(address from, address to, uint256 tokenId) public { _transferFrom(from, to, tokenId, "", false); } function safeTransferFrom(address from, address to, uint256 tokenId) public { _transferFrom(from, to, tokenId, "", true); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public { _transferFrom(from, to, tokenId, data, true); } /////////////////////////////////////////// ERC1155 ///////////////////////////////////////////// function safeTransferFrom( address from, address to, uint256 id, uint256 value, bytes memory data ) public { require(to != address(0x0)); address sender = _msgSender(); bool operatable = (from == sender || _operatorApprovals[from][sender] == true); if (isFungible(id) && value > 0) { require(operatable); _transferFungible(from, to, id, value); } else if (isNFT(id) && value == 1) { _transferNonFungible(from, to, id, operatable); emit Transfer(from, to, id); } else { revert(); } emit TransferSingle(sender, from, to, id, value); require(_checkERC1155AndCallSafeTransfer(sender, from, to, id, value, data, false, false)); } function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) public { require(to != address(0x0)); require(ids.length == values.length); // Only supporting a global operator approval allows to do a single check and not to touch storage to handle allowances. address sender = _msgSender(); require(from == sender || _operatorApprovals[from][sender] == true); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 value = values[i]; if (isFungible(id) && value > 0) { _transferFungible(from, to, id, value); } else if (isNFT(id) && value == 1) { _transferNonFungible(from, to, id, true); emit Transfer(from, to, id); } else { revert(); } } emit TransferBatch(sender, from, to, ids, values); require(_checkERC1155AndCallSafeBatchTransfer(sender, from, to, ids, values, data)); } function balanceOf(address tokenOwner, uint256 id) public view returns (uint256) { require(tokenOwner != address(0x0)); if (isNFT(id)) { return _owners[id] == tokenOwner ? 1 : 0; } return _balances[id][tokenOwner]; } function balanceOfBatch( address[] memory tokenOwners, uint256[] memory ids ) public view returns (uint256[] memory) { require(tokenOwners.length == ids.length); uint256[] memory balances = new uint256[](tokenOwners.length); for (uint256 i = 0; i < tokenOwners.length; ++i) { require(tokenOwners[i] != address(0x0)); uint256 id = ids[i]; if (isNFT(id)) { balances[i] = _owners[id] == tokenOwners[i] ? 1 : 0; } else { balances[i] = _balances[id][tokenOwners[i]]; } } return balances; } /////////////////////////////////////////// ERC1155AssetCollections ///////////////////////////////////////////// function collectionOf(uint256 id) public view returns (uint256) { require(isNFT(id)); return id & NF_COLLECTION_MASK; } /** @dev Tells whether an id represents a fungible collection @param id The ID to query @return bool whether the given id is fungible */ function isFungible(uint256 id) public view returns (bool) { return id & (NF_BIT_MASK) == 0; } /** @dev Tells whether an id represents a non-fungible token @param id The ID to query @return bool whether the given id is non-fungible token */ function isNFT(uint256 id) internal view returns (bool) { // A base type has the NF bit and an index return (id & (NF_BIT_MASK) != 0) && (id & (~NF_COLLECTION_MASK) != 0); } /** * @dev Returns whether the NFT belongs to someone * @param id uint256 ID of the NFT * @return whether the NFT belongs to someone */ function exists(uint256 id) public view returns (bool) { address tokenOwner = _owners[id]; return tokenOwner != address(0x0); } /////////////////////////////////////////// Transfer Internal Functions /////////////////////////////////////// /** * @dev Internal function to transfer the ownership of a given NFT to another address * Emits Transfer and TransferSingle events * Requires the msg sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param safe bool to indicate whether the transfer is safe */ function _transferFrom(address from, address to, uint256 tokenId, bytes memory data, bool safe) internal { require(to != address(0x0)); require(isNFT(tokenId)); address sender = _msgSender(); bool operatable = (from == sender || _operatorApprovals[from][sender] == true); _transferNonFungible(from, to, tokenId, operatable); emit Transfer(from, to, tokenId); emit TransferSingle(sender, from, to, tokenId, 1); require(_checkERC1155AndCallSafeTransfer(sender, from, to, tokenId, 1, data, true, safe)); } /** * @dev Internal function to transfer the ownership of a given token ID to another address * Requires the msg sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param id uint256 ID of the token to be transferred * @param operatable bool to indicate whether the msg sender is operator */ function _transferNonFungible(address from, address to, uint256 id, bool operatable) internal { require(from == _owners[id]); address sender = _msgSender(); require(operatable || ownerOf(id) == sender || getApproved(id) == sender); // clear approval if (_tokenApprovals[id] != address(0x0)) { _tokenApprovals[id] = address(0x0); } uint256 nfCollection = id & NF_COLLECTION_MASK; _balances[nfCollection][from] = SafeMath.sub(_balances[nfCollection][from], 1); _balances[nfCollection][to] = SafeMath.add(_balances[nfCollection][to], 1); _nftBalances[from] = SafeMath.sub(_nftBalances[from], 1); _nftBalances[to] = SafeMath.add(_nftBalances[to], 1); _owners[id] = to; } /** * @dev Internal function to move `collectionId` fungible tokens `value` from `from` to `to`. * @param from current owner of the `collectionId` fungible token * @param to address to receive the ownership of the given `collectionId` fungible token * @param collectionId uint256 ID of the fungible token to be transferred * @param value uint256 transfer amount */ function _transferFungible(address from, address to, uint256 collectionId, uint256 value) internal { _balances[collectionId][from] = SafeMath.sub(_balances[collectionId][from], value); _balances[collectionId][to] = SafeMath.add(_balances[collectionId][to], value); } /////////////////////////////////////////// Receiver Internal Functions /////////////////////////////////////// /** * @dev public function to invoke `onERC721Received` on a target address * The call is not executed if the target address is not a contract * @param operator transfer msg sender * @param from address representing the previous owner of the given token ID * @param to target address that will receive the token * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return whether the call correctly returned the expected magic value */ function _checkERC721AndCallSafeTransfer( address operator, address from, address to, uint256 tokenId, bytes memory data ) internal returns(bool) { if (!Address.isContract(to)) { return true; } return (IERC721Receiver(to).onERC721Received(operator, from, tokenId, data) == 0x150b7a02); // 0x150b7a02: ERC721 receive magic value } /** * @dev public function to invoke `onERC1155Received` on a target address * The call is not executed if the target address is not a contract * @param operator transfer msg sender * @param from address representing the previous owner of the given ID * @param to target address that will receive the token * @param id uint256 ID of the `non-fungible token / non-fungible collection / fungible collection` to be transferred * @param data bytes optional data to send along with the call * @param erc721 bool whether transfer to ERC721 contract * @param erc721Safe bool whether transfer to ERC721 contract safely * @return whether the call correctly returned the expected magic value */ function _checkERC1155AndCallSafeTransfer( address operator, address from, address to, uint256 id, uint256 value, bytes memory data, bool erc721, bool erc721Safe ) internal returns (bool) { if (!Address.isContract(to)) { return true; } if (erc721) { if (!_checkIsERC1155Receiver(to)) { if (erc721Safe) { return _checkERC721AndCallSafeTransfer(operator, from, to, id, data); } else { return true; } } } return IERC1155TokenReceiver(to).onERC1155Received(operator, from, id, value, data) == 0xf23a6e61; // 0xf23a6e61: ERC1155 receive magic value } /** * @dev public function to invoke `onERC1155BatchReceived` on a target address * The call is not executed if the target address is not a contract * @param operator transfer msg sender * @param from address representing the previous owner of the given IDs * @param to target address that will receive the tokens * @param ids uint256 ID of the `non-fungible token / non-fungible collection / fungible collection` to be transferred * @param values uint256 transfer amounts of the `non-fungible token / non-fungible collection / fungible collection` * @param data bytes optional data to send along with the call * @return whether the call correctly returned the expected magic value */ function _checkERC1155AndCallSafeBatchTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) internal returns (bool) { if (!Address.isContract(to)) { return true; } bytes4 retval = IERC1155TokenReceiver(to).onERC1155BatchReceived(operator, from, ids, values, data); return (retval == 0xbc197c81); // 0xbc197c81: ERC1155 batch receive magic value } /** * @dev public function to tell wheter a contract is ERC1155 Receiver contract * @param _contract address query contract addrss * @return wheter the given contract is ERC1155 Receiver contract */ function _checkIsERC1155Receiver(address _contract) internal view returns(bool) { bytes4 erc1155ReceiverID = 0x4e2312e0; bytes4 INTERFACE_ID_ERC165 = 0x01ffc9a7; bool success; uint256 result; // solium-disable-next-line security/no-inline-assembly assembly { let x:= mload(0x40) // Find empty storage location using "free memory pointer" mstore(x, INTERFACE_ID_ERC165) // Place signature at beginning of empty storage mstore(add(x, 0x04), erc1155ReceiverID) // Place first argument directly next to signature success:= staticcall( 10000, // 10k gas _contract, // To addr x, // Inputs are stored at location x 0x24, // Inputs are 36 bytes long x, // Store output over input (saves space) 0x20) // Outputs are 32 bytes long result:= mload(x) // Load the result } // (10000 / 63) "not enough for supportsInterface(...)" // consume all gas, so caller can potentially know that there was not enough gas assert(gasleft() > 158); return success && result == 1; } } // File: @animocabrands/contracts-inventory/contracts/token/ERC1155721/PausableInventory.sol pragma solidity = 0.5.16; /** @title PausableInventory,an inventory contract with pausable collections @dev See https:// Note: . */ contract PausableInventory is AssetsInventory, ERC1155PausableCollections { constructor(uint256 nfMaskLength) public AssetsInventory(nfMaskLength) {} /////////////////////////////////////////// ERC1155PausableCollections ///////////////////////////////////////////// modifier whenIdPaused(uint256 id) { require(idPaused(id)); _; } modifier whenIdNotPaused(uint256 id) { require(!idPaused(id) ); _; } function idPaused(uint256 id) public view returns (bool) { if (isNFT(id)) { return _pausedCollections[collectionOf(id)]; } else { return _pausedCollections[id]; } } function pauseCollections(uint256[] memory collectionIds) public onlyPauser { for (uint256 i=0; i<collectionIds.length; i++) { uint256 collectionId = collectionIds[i]; require(!isNFT(collectionId)); // only works on collections _pausedCollections[collectionId] = true; } emit CollectionsPaused(collectionIds, _msgSender()); } function unpauseCollections(uint256[] memory collectionIds) public onlyPauser { for (uint256 i=0; i<collectionIds.length; i++) { uint256 collectionId = collectionIds[i]; require(!isNFT(collectionId)); // only works on collections _pausedCollections[collectionId] = false; } emit CollectionsUnpaused(collectionIds, _msgSender()); } /////////////////////////////////////////// ERC721 ///////////////////////////////////////////// function approve(address to, uint256 tokenId ) public whenNotPaused whenIdNotPaused(tokenId) { super.approve(to, tokenId); } function setApprovalForAll(address to, bool approved ) public whenNotPaused { super.setApprovalForAll(to, approved); } function transferFrom(address from, address to, uint256 tokenId ) public whenNotPaused whenIdNotPaused(tokenId) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId ) public whenNotPaused whenIdNotPaused(tokenId) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data ) public whenNotPaused whenIdNotPaused(tokenId) { super.safeTransferFrom(from, to, tokenId, data); } /////////////////////////////////////////// ERC1155 ///////////////////////////////////////////// function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data ) public whenNotPaused whenIdNotPaused(id) { super.safeTransferFrom(from, to, id, value, data); } function safeBatchTransferFrom(address from, address to, uint256[] memory ids, uint256[] memory values, bytes memory data ) public whenNotPaused { for (uint256 i = 0; i < ids.length; ++i) { require(!idPaused(ids[i])); } super.safeBatchTransferFrom(from, to, ids, values, data); } } // File: @openzeppelin/contracts/GSN/IRelayRecipient.sol pragma solidity ^0.5.0; /** * @dev Base interface for a contract that will be called via the GSN from {IRelayHub}. * * TIP: You don't need to write an implementation yourself! Inherit from {GSNRecipient} instead. */ interface IRelayRecipient { /** * @dev Returns the address of the {IRelayHub} instance this recipient interacts with. */ function getHubAddr() external view returns (address); /** * @dev Called by {IRelayHub} to validate if this recipient accepts being charged for a relayed call. Note that the * recipient will be charged regardless of the execution result of the relayed call (i.e. if it reverts or not). * * The relay request was originated by `from` and will be served by `relay`. `encodedFunction` is the relayed call * calldata, so its first four bytes are the function selector. The relayed call will be forwarded `gasLimit` gas, * and the transaction executed with a gas price of at least `gasPrice`. `relay`'s fee is `transactionFee`, and the * recipient will be charged at most `maxPossibleCharge` (in wei). `nonce` is the sender's (`from`) nonce for * replay attack protection in {IRelayHub}, and `approvalData` is a optional parameter that can be used to hold a signature * over all or some of the previous values. * * Returns a tuple, where the first value is used to indicate approval (0) or rejection (custom non-zero error code, * values 1 to 10 are reserved) and the second one is data to be passed to the other {IRelayRecipient} functions. * * {acceptRelayedCall} is called with 50k gas: if it runs out during execution, the request will be considered * rejected. A regular revert will also trigger a rejection. */ function acceptRelayedCall( address relay, address from, bytes calldata encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes calldata approvalData, uint256 maxPossibleCharge ) external view returns (uint256, bytes memory); /** * @dev Called by {IRelayHub} on approved relay call requests, before the relayed call is executed. This allows to e.g. * pre-charge the sender of the transaction. * * `context` is the second value returned in the tuple by {acceptRelayedCall}. * * Returns a value to be passed to {postRelayedCall}. * * {preRelayedCall} is called with 100k gas: if it runs out during exection or otherwise reverts, the relayed call * will not be executed, but the recipient will still be charged for the transaction's cost. */ function preRelayedCall(bytes calldata context) external returns (bytes32); /** * @dev Called by {IRelayHub} on approved relay call requests, after the relayed call is executed. This allows to e.g. * charge the user for the relayed call costs, return any overcharges from {preRelayedCall}, or perform * contract-specific bookkeeping. * * `context` is the second value returned in the tuple by {acceptRelayedCall}. `success` is the execution status of * the relayed call. `actualCharge` is an estimate of how much the recipient will be charged for the transaction, * not including any gas used by {postRelayedCall} itself. `preRetVal` is {preRelayedCall}'s return value. * * * {postRelayedCall} is called with 100k gas: if it runs out during execution or otherwise reverts, the relayed call * and the call to {preRelayedCall} will be reverted retroactively, but the recipient will still be charged for the * transaction's cost. */ function postRelayedCall(bytes calldata context, bool success, uint256 actualCharge, bytes32 preRetVal) external; } // File: @openzeppelin/contracts/GSN/IRelayHub.sol pragma solidity ^0.5.0; /** * @dev Interface for `RelayHub`, the core contract of the GSN. Users should not need to interact with this contract * directly. * * See the https://github.com/OpenZeppelin/openzeppelin-gsn-helpers[OpenZeppelin GSN helpers] for more information on * how to deploy an instance of `RelayHub` on your local test network. */ interface IRelayHub { // Relay management /** * @dev Adds stake to a relay and sets its `unstakeDelay`. If the relay does not exist, it is created, and the caller * of this function becomes its owner. If the relay already exists, only the owner can call this function. A relay * cannot be its own owner. * * All Ether in this function call will be added to the relay's stake. * Its unstake delay will be assigned to `unstakeDelay`, but the new value must be greater or equal to the current one. * * Emits a {Staked} event. */ function stake(address relayaddr, uint256 unstakeDelay) external payable; /** * @dev Emitted when a relay's stake or unstakeDelay are increased */ event Staked(address indexed relay, uint256 stake, uint256 unstakeDelay); /** * @dev Registers the caller as a relay. * The relay must be staked for, and not be a contract (i.e. this function must be called directly from an EOA). * * This function can be called multiple times, emitting new {RelayAdded} events. Note that the received * `transactionFee` is not enforced by {relayCall}. * * Emits a {RelayAdded} event. */ function registerRelay(uint256 transactionFee, string calldata url) external; /** * @dev Emitted when a relay is registered or re-registerd. Looking at these events (and filtering out * {RelayRemoved} events) lets a client discover the list of available relays. */ event RelayAdded(address indexed relay, address indexed owner, uint256 transactionFee, uint256 stake, uint256 unstakeDelay, string url); /** * @dev Removes (deregisters) a relay. Unregistered (but staked for) relays can also be removed. * * Can only be called by the owner of the relay. After the relay's `unstakeDelay` has elapsed, {unstake} will be * callable. * * Emits a {RelayRemoved} event. */ function removeRelayByOwner(address relay) external; /** * @dev Emitted when a relay is removed (deregistered). `unstakeTime` is the time when unstake will be callable. */ event RelayRemoved(address indexed relay, uint256 unstakeTime); /** Deletes the relay from the system, and gives back its stake to the owner. * * Can only be called by the relay owner, after `unstakeDelay` has elapsed since {removeRelayByOwner} was called. * * Emits an {Unstaked} event. */ function unstake(address relay) external; /** * @dev Emitted when a relay is unstaked for, including the returned stake. */ event Unstaked(address indexed relay, uint256 stake); // States a relay can be in enum RelayState { Unknown, // The relay is unknown to the system: it has never been staked for Staked, // The relay has been staked for, but it is not yet active Registered, // The relay has registered itself, and is active (can relay calls) Removed // The relay has been removed by its owner and can no longer relay calls. It must wait for its unstakeDelay to elapse before it can unstake } /** * @dev Returns a relay's status. Note that relays can be deleted when unstaked or penalized, causing this function * to return an empty entry. */ function getRelay(address relay) external view returns (uint256 totalStake, uint256 unstakeDelay, uint256 unstakeTime, address payable owner, RelayState state); // Balance management /** * @dev Deposits Ether for a contract, so that it can receive (and pay for) relayed transactions. * * Unused balance can only be withdrawn by the contract itself, by calling {withdraw}. * * Emits a {Deposited} event. */ function depositFor(address target) external payable; /** * @dev Emitted when {depositFor} is called, including the amount and account that was funded. */ event Deposited(address indexed recipient, address indexed from, uint256 amount); /** * @dev Returns an account's deposits. These can be either a contracts's funds, or a relay owner's revenue. */ function balanceOf(address target) external view returns (uint256); /** * Withdraws from an account's balance, sending it back to it. Relay owners call this to retrieve their revenue, and * contracts can use it to reduce their funding. * * Emits a {Withdrawn} event. */ function withdraw(uint256 amount, address payable dest) external; /** * @dev Emitted when an account withdraws funds from `RelayHub`. */ event Withdrawn(address indexed account, address indexed dest, uint256 amount); // Relaying /** * @dev Checks if the `RelayHub` will accept a relayed operation. * Multiple things must be true for this to happen: * - all arguments must be signed for by the sender (`from`) * - the sender's nonce must be the current one * - the recipient must accept this transaction (via {acceptRelayedCall}) * * Returns a `PreconditionCheck` value (`OK` when the transaction can be relayed), or a recipient-specific error * code if it returns one in {acceptRelayedCall}. */ function canRelay( address relay, address from, address to, bytes calldata encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes calldata signature, bytes calldata approvalData ) external view returns (uint256 status, bytes memory recipientContext); // Preconditions for relaying, checked by canRelay and returned as the corresponding numeric values. enum PreconditionCheck { OK, // All checks passed, the call can be relayed WrongSignature, // The transaction to relay is not signed by requested sender WrongNonce, // The provided nonce has already been used by the sender AcceptRelayedCallReverted, // The recipient rejected this call via acceptRelayedCall InvalidRecipientStatusCode // The recipient returned an invalid (reserved) status code } /** * @dev Relays a transaction. * * For this to succeed, multiple conditions must be met: * - {canRelay} must `return PreconditionCheck.OK` * - the sender must be a registered relay * - the transaction's gas price must be larger or equal to the one that was requested by the sender * - the transaction must have enough gas to not run out of gas if all internal transactions (calls to the * recipient) use all gas available to them * - the recipient must have enough balance to pay the relay for the worst-case scenario (i.e. when all gas is * spent) * * If all conditions are met, the call will be relayed and the recipient charged. {preRelayedCall}, the encoded * function and {postRelayedCall} will be called in that order. * * Parameters: * - `from`: the client originating the request * - `to`: the target {IRelayRecipient} contract * - `encodedFunction`: the function call to relay, including data * - `transactionFee`: fee (%) the relay takes over actual gas cost * - `gasPrice`: gas price the client is willing to pay * - `gasLimit`: gas to forward when calling the encoded function * - `nonce`: client's nonce * - `signature`: client's signature over all previous params, plus the relay and RelayHub addresses * - `approvalData`: dapp-specific data forwared to {acceptRelayedCall}. This value is *not* verified by the * `RelayHub`, but it still can be used for e.g. a signature. * * Emits a {TransactionRelayed} event. */ function relayCall( address from, address to, bytes calldata encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes calldata signature, bytes calldata approvalData ) external; /** * @dev Emitted when an attempt to relay a call failed. * * This can happen due to incorrect {relayCall} arguments, or the recipient not accepting the relayed call. The * actual relayed call was not executed, and the recipient not charged. * * The `reason` parameter contains an error code: values 1-10 correspond to `PreconditionCheck` entries, and values * over 10 are custom recipient error codes returned from {acceptRelayedCall}. */ event CanRelayFailed(address indexed relay, address indexed from, address indexed to, bytes4 selector, uint256 reason); /** * @dev Emitted when a transaction is relayed. * Useful when monitoring a relay's operation and relayed calls to a contract * * Note that the actual encoded function might be reverted: this is indicated in the `status` parameter. * * `charge` is the Ether value deducted from the recipient's balance, paid to the relay's owner. */ event TransactionRelayed(address indexed relay, address indexed from, address indexed to, bytes4 selector, RelayCallStatus status, uint256 charge); // Reason error codes for the TransactionRelayed event enum RelayCallStatus { OK, // The transaction was successfully relayed and execution successful - never included in the event RelayedCallFailed, // The transaction was relayed, but the relayed call failed PreRelayedFailed, // The transaction was not relayed due to preRelatedCall reverting PostRelayedFailed, // The transaction was relayed and reverted due to postRelatedCall reverting RecipientBalanceChanged // The transaction was relayed and reverted due to the recipient's balance changing } /** * @dev Returns how much gas should be forwarded to a call to {relayCall}, in order to relay a transaction that will * spend up to `relayedCallStipend` gas. */ function requiredGas(uint256 relayedCallStipend) external view returns (uint256); /** * @dev Returns the maximum recipient charge, given the amount of gas forwarded, gas price and relay fee. */ function maxPossibleCharge(uint256 relayedCallStipend, uint256 gasPrice, uint256 transactionFee) external view returns (uint256); // Relay penalization. // Any account can penalize relays, removing them from the system immediately, and rewarding the // reporter with half of the relay's stake. The other half is burned so that, even if the relay penalizes itself, it // still loses half of its stake. /** * @dev Penalize a relay that signed two transactions using the same nonce (making only the first one valid) and * different data (gas price, gas limit, etc. may be different). * * The (unsigned) transaction data and signature for both transactions must be provided. */ function penalizeRepeatedNonce(bytes calldata unsignedTx1, bytes calldata signature1, bytes calldata unsignedTx2, bytes calldata signature2) external; /** * @dev Penalize a relay that sent a transaction that didn't target `RelayHub`'s {registerRelay} or {relayCall}. */ function penalizeIllegalTransaction(bytes calldata unsignedTx, bytes calldata signature) external; /** * @dev Emitted when a relay is penalized. */ event Penalized(address indexed relay, address sender, uint256 amount); /** * @dev Returns an account's nonce in `RelayHub`. */ function getNonce(address from) external view returns (uint256); } // File: @openzeppelin/contracts/GSN/GSNRecipient.sol pragma solidity ^0.5.0; /** * @dev Base GSN recipient contract: includes the {IRelayRecipient} interface * and enables GSN support on all contracts in the inheritance tree. * * TIP: This contract is abstract. The functions {IRelayRecipient-acceptRelayedCall}, * {_preRelayedCall}, and {_postRelayedCall} are not implemented and must be * provided by derived contracts. See the * xref:ROOT:gsn-strategies.adoc#gsn-strategies[GSN strategies] for more * information on how to use the pre-built {GSNRecipientSignature} and * {GSNRecipientERC20Fee}, or how to write your own. */ contract GSNRecipient is IRelayRecipient, Context { // Default RelayHub address, deployed on mainnet and all testnets at the same address address private _relayHub = 0xD216153c06E857cD7f72665E0aF1d7D82172F494; uint256 constant private RELAYED_CALL_ACCEPTED = 0; uint256 constant private RELAYED_CALL_REJECTED = 11; // How much gas is forwarded to postRelayedCall uint256 constant internal POST_RELAYED_CALL_MAX_GAS = 100000; /** * @dev Emitted when a contract changes its {IRelayHub} contract to a new one. */ event RelayHubChanged(address indexed oldRelayHub, address indexed newRelayHub); /** * @dev Returns the address of the {IRelayHub} contract for this recipient. */ function getHubAddr() public view returns (address) { return _relayHub; } /** * @dev Switches to a new {IRelayHub} instance. This method is added for future-proofing: there's no reason to not * use the default instance. * * IMPORTANT: After upgrading, the {GSNRecipient} will no longer be able to receive relayed calls from the old * {IRelayHub} instance. Additionally, all funds should be previously withdrawn via {_withdrawDeposits}. */ function _upgradeRelayHub(address newRelayHub) internal { address currentRelayHub = _relayHub; require(newRelayHub != address(0), "GSNRecipient: new RelayHub is the zero address"); require(newRelayHub != currentRelayHub, "GSNRecipient: new RelayHub is the current one"); emit RelayHubChanged(currentRelayHub, newRelayHub); _relayHub = newRelayHub; } /** * @dev Returns the version string of the {IRelayHub} for which this recipient implementation was built. If * {_upgradeRelayHub} is used, the new {IRelayHub} instance should be compatible with this version. */ // This function is view for future-proofing, it may require reading from // storage in the future. function relayHubVersion() public view returns (string memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return "1.0.0"; } /** * @dev Withdraws the recipient's deposits in `RelayHub`. * * Derived contracts should expose this in an external interface with proper access control. */ function _withdrawDeposits(uint256 amount, address payable payee) internal { IRelayHub(_relayHub).withdraw(amount, payee); } // Overrides for Context's functions: when called from RelayHub, sender and // data require some pre-processing: the actual sender is stored at the end // of the call data, which in turns means it needs to be removed from it // when handling said data. /** * @dev Replacement for msg.sender. Returns the actual sender of a transaction: msg.sender for regular transactions, * and the end-user for GSN relayed calls (where msg.sender is actually `RelayHub`). * * IMPORTANT: Contracts derived from {GSNRecipient} should never use `msg.sender`, and use {_msgSender} instead. */ function _msgSender() internal view returns (address payable) { if (msg.sender != _relayHub) { return msg.sender; } else { return _getRelayedCallSender(); } } /** * @dev Replacement for msg.data. Returns the actual calldata of a transaction: msg.data for regular transactions, * and a reduced version for GSN relayed calls (where msg.data contains additional information). * * IMPORTANT: Contracts derived from {GSNRecipient} should never use `msg.data`, and use {_msgData} instead. */ function _msgData() internal view returns (bytes memory) { if (msg.sender != _relayHub) { return msg.data; } else { return _getRelayedCallData(); } } // Base implementations for pre and post relayedCall: only RelayHub can invoke them, and data is forwarded to the // internal hook. /** * @dev See `IRelayRecipient.preRelayedCall`. * * This function should not be overriden directly, use `_preRelayedCall` instead. * * * Requirements: * * - the caller must be the `RelayHub` contract. */ function preRelayedCall(bytes calldata context) external returns (bytes32) { require(msg.sender == getHubAddr(), "GSNRecipient: caller is not RelayHub"); return _preRelayedCall(context); } /** * @dev See `IRelayRecipient.preRelayedCall`. * * Called by `GSNRecipient.preRelayedCall`, which asserts the caller is the `RelayHub` contract. Derived contracts * must implement this function with any relayed-call preprocessing they may wish to do. * */ function _preRelayedCall(bytes memory context) internal returns (bytes32); /** * @dev See `IRelayRecipient.postRelayedCall`. * * This function should not be overriden directly, use `_postRelayedCall` instead. * * * Requirements: * * - the caller must be the `RelayHub` contract. */ function postRelayedCall(bytes calldata context, bool success, uint256 actualCharge, bytes32 preRetVal) external { require(msg.sender == getHubAddr(), "GSNRecipient: caller is not RelayHub"); _postRelayedCall(context, success, actualCharge, preRetVal); } /** * @dev See `IRelayRecipient.postRelayedCall`. * * Called by `GSNRecipient.postRelayedCall`, which asserts the caller is the `RelayHub` contract. Derived contracts * must implement this function with any relayed-call postprocessing they may wish to do. * */ function _postRelayedCall(bytes memory context, bool success, uint256 actualCharge, bytes32 preRetVal) internal; /** * @dev Return this in acceptRelayedCall to proceed with the execution of a relayed call. Note that this contract * will be charged a fee by RelayHub */ function _approveRelayedCall() internal pure returns (uint256, bytes memory) { return _approveRelayedCall(""); } /** * @dev See `GSNRecipient._approveRelayedCall`. * * This overload forwards `context` to _preRelayedCall and _postRelayedCall. */ function _approveRelayedCall(bytes memory context) internal pure returns (uint256, bytes memory) { return (RELAYED_CALL_ACCEPTED, context); } /** * @dev Return this in acceptRelayedCall to impede execution of a relayed call. No fees will be charged. */ function _rejectRelayedCall(uint256 errorCode) internal pure returns (uint256, bytes memory) { return (RELAYED_CALL_REJECTED + errorCode, ""); } /* * @dev Calculates how much RelayHub will charge a recipient for using `gas` at a `gasPrice`, given a relayer's * `serviceFee`. */ function _computeCharge(uint256 gas, uint256 gasPrice, uint256 serviceFee) internal pure returns (uint256) { // The fee is expressed as a percentage. E.g. a value of 40 stands for a 40% fee, so the recipient will be // charged for 1.4 times the spent amount. return (gas * gasPrice * (100 + serviceFee)) / 100; } function _getRelayedCallSender() private pure returns (address payable result) { // We need to read 20 bytes (an address) located at array index msg.data.length - 20. In memory, the array // is prefixed with a 32-byte length value, so we first add 32 to get the memory read index. However, doing // so would leave the address in the upper 20 bytes of the 32-byte word, which is inconvenient and would // require bit shifting. We therefore subtract 12 from the read index so the address lands on the lower 20 // bytes. This can always be done due to the 32-byte prefix. // The final memory read index is msg.data.length - 20 + 32 - 12 = msg.data.length. Using inline assembly is the // easiest/most-efficient way to perform this operation. // These fields are not accessible from assembly bytes memory array = msg.data; uint256 index = msg.data.length; // solhint-disable-next-line no-inline-assembly assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. result := and(mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff) } return result; } function _getRelayedCallData() private pure returns (bytes memory) { // RelayHub appends the sender address at the end of the calldata, so in order to retrieve the actual msg.data, // we must strip the last 20 bytes (length of an address type) from it. uint256 actualDataLength = msg.data.length - 20; bytes memory actualData = new bytes(actualDataLength); for (uint256 i = 0; i < actualDataLength; ++i) { actualData[i] = msg.data[i]; } return actualData; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/ownership/Ownable.sol pragma solidity ^0.5.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { 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(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @animocabrands/contracts-inventory/contracts/metatx/ERC20Fees.sol pragma solidity = 0.5.16; /** @title ERC20Fees @dev a GSNRecipient contract with support for ERC-20 fees Note: . */ contract ERC20Fees is GSNRecipient, Ownable { enum ErrorCodes { INSUFFICIENT_BALANCE } IERC20 public _gasToken; address public _payoutWallet; uint public _gasPriceScaling = GAS_PRICE_SCALING_SCALE; uint constant internal GAS_PRICE_SCALING_SCALE = 1000; /** * @dev Constructor function */ constructor(address gasTokenAddress, address payoutWallet) internal { setGasToken(gasTokenAddress); setPayoutWallet(payoutWallet); } function setGasToken(address gasTokenAddress) public onlyOwner { _gasToken = IERC20(gasTokenAddress); } function setPayoutWallet(address payoutWallet) public onlyOwner { require(payoutWallet != address(this)); _payoutWallet = payoutWallet; } function setGasPrice(uint gasPriceScaling) public onlyOwner { _gasPriceScaling = gasPriceScaling; } /** * @dev Withdraws the recipient's deposits in `RelayHub`. */ function withdrawDeposits(uint256 amount, address payable payee) external onlyOwner { _withdrawDeposits(amount, payee); } /////////////////////////////////////////// GSNRecipient /////////////////////////////////// /** * @dev Ensures that only users with enough gas payment token balance can have transactions relayed through the GSN. */ function acceptRelayedCall( address, address from, bytes memory, uint256 transactionFee, uint256 gasPrice, uint256, uint256, bytes memory, uint256 maxPossibleCharge ) public view returns (uint256, bytes memory) { if (_gasToken.balanceOf(from) < (maxPossibleCharge * _gasPriceScaling / GAS_PRICE_SCALING_SCALE)) { return _rejectRelayedCall(uint256(ErrorCodes.INSUFFICIENT_BALANCE)); } return _approveRelayedCall(abi.encode(from, maxPossibleCharge, transactionFee, gasPrice)); } /** * @dev Implements the precharge to the user. The maximum possible charge (depending on gas limit, gas price, and * fee) will be deducted from the user balance of gas payment token. Note that this is an overestimation of the * actual charge, necessary because we cannot predict how much gas the execution will actually need. The remainder * is returned to the user in {_postRelayedCall}. */ function _preRelayedCall(bytes memory context) internal returns (bytes32) { (address from, uint256 maxPossibleCharge) = abi.decode(context, (address, uint256)); // The maximum token charge is pre-charged from the user require(_gasToken.transferFrom(from, _payoutWallet, maxPossibleCharge * _gasPriceScaling / GAS_PRICE_SCALING_SCALE)); } /** * @dev Returns to the user the extra amount that was previously charged, once the actual execution cost is known. */ function _postRelayedCall(bytes memory context, bool, uint256 actualCharge, bytes32) internal { (address from, uint256 maxPossibleCharge, uint256 transactionFee, uint256 gasPrice) = abi.decode(context, (address, uint256, uint256, uint256)); // actualCharge is an _estimated_ charge, which assumes postRelayedCall will use all available gas. // This implementation's gas cost can be roughly estimated as 10k gas, for the two SSTORE operations in an // ERC20 transfer. uint256 overestimation = _computeCharge(SafeMath.sub(POST_RELAYED_CALL_MAX_GAS, 10000), gasPrice, transactionFee); actualCharge = SafeMath.sub(actualCharge, overestimation); // After the relayed call has been executed and the actual charge estimated, the excess pre-charge is returned require(_gasToken.transferFrom(_payoutWallet, from, SafeMath.sub(maxPossibleCharge, actualCharge) * _gasPriceScaling / GAS_PRICE_SCALING_SCALE)); } } // File: @openzeppelin/contracts/access/roles/MinterRole.sol pragma solidity ^0.5.0; contract MinterRole is Context { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(_msgSender()); } modifier onlyMinter() { require(isMinter(_msgSender()), "MinterRole: caller does not have the Minter role"); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(_msgSender()); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } } // File: contracts/library/Bytes.sol pragma solidity = 0.5.16; library Bytes { /** * @dev public function to convert bytes32 to string * @param _hash bytes32 hash to convert * @return string string convert from given bytes32 */ function hash2base32(bytes32 _hash) public pure returns(string memory _uintAsString) { bytes32 base32Alphabet = 0x6162636465666768696A6B6C6D6E6F707172737475767778797A323334353637; uint256 _i = uint256(_hash); uint256 k = 52; bytes memory bstr = new bytes(k); bstr[--k] = base32Alphabet[uint8((_i % 8) << 2)]; // uint8 s = uint8((256 - skip) % 5); // (_i % (2**s)) << (5-s) _i /= 8; while (k > 0) { bstr[--k] = base32Alphabet[_i % 32]; _i /= 32; } return string(bstr); } /** * @dev public function to convert uint256 to string * @param num uint256 integer to convert * @return string string convert from given uint256 */ function uint2str(uint256 num) public pure returns(string memory _uintAsString) { if (num == 0) { return "0"; } uint256 j = num; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 k = len - 1; while (num != 0) { bstr[k--] = bytes1(uint8(48 + (num % 10))); num /= 10; } return string(bstr); } function uint2hexstr(uint i) public pure returns(string memory) { uint length = 64; uint mask = 15; bytes memory bstr = new bytes(length); int k = int(length - 1); while (i != 0) { uint curr = (i & mask); bstr[uint(k--)] = curr > 9 ? byte(uint8(87 + curr)) : byte(uint8(48 + curr)); // 87 = 97 - 10 i = i >> 4; } while (k >= 0) { bstr[uint(k--)] = byte(uint8(48)); } return string(bstr); } } // File: contracts/token/ERC1155721/DeltaTimeInventory.sol pragma solidity = 0.5.16; /** * @title F1 Delta Time Inventory Contract */ contract DeltaTimeInventory is PausableInventory, ERC20Fees, MinterRole { event FungibleCollection(address indexed id); event NonFungibleCollection(address indexed id); bool private _ipfsMigrated; string private _uriPrefix = "https://nft.f1deltatime.com/json/"; string private _ipfsUriPrefix = "/ipfs/bafkrei"; // Mapping Mapping from ID to URI mapping(uint256 => bytes32) private _uris; /** * @dev Constructor * @dev 32 DeltaTimeInventory collection type length */ constructor(address gasTokenAddress, address payoutWallet ) public PausableInventory(32) ERC20Fees(gasTokenAddress, payoutWallet) { _ipfsMigrated = false; } /** * @dev This function creates the collection id. * @param collectionId collection without fungible/non-fungible identifier * @return uint256 collectionId to create */ function createCollection(uint256 collectionId, bytes32 byteUri) onlyMinter external { require(_ipfsMigrated? uint256(byteUri) > 0: uint256(byteUri) == 0); require(!isNFT(collectionId)); _setURI(collectionId, byteUri); } /////////////////////////////////////////// Mint /////////////////////////////////////// /** * @dev Public function to mint a batch of new tokens * Reverts if some the given token IDs already exist * @param to address[] List of addresses that will own the minted tokens * @param ids uint256[] List of ids of the tokens to be minted * @param uris bytes32[] Concatenated metadata URIs of nfts to be minted * @param values uint256[] List of quantities of ft to be minted */ function batchMint(address[] memory to, uint256[] memory ids, bytes32[] memory uris, uint256[] memory values, bool safe) public onlyMinter { require(ids.length == to.length && ids.length == uris.length && ids.length == values.length); for (uint i = 0; i < ids.length; i++) { if (isNFT(ids[i]) && values[i] == 1) { _mintNonFungible(to[i], ids[i], uris[i], safe); } else if (isFungible(ids[i]) && uint256(uris[i]) == 0) { _mintFungible(to[i], ids[i], values[i]); } else { revert(); } } } /** * @dev Public function to mint one non fungible token id * Reverts if the given token ID is not non fungible token id * @param to address recipient that will own the minted tokens * @param tokenId uint256 ID of the token to be minted * @param byteUri bytes32 Concatenated metadata URI of nft to be minted */ function mintNonFungible(address to, uint256 tokenId, bytes32 byteUri, bool safe) external onlyMinter { require(isNFT(tokenId)); // solium-disable-line error-reason _mintNonFungible(to, tokenId, byteUri, safe); } /** * @dev Internal function to mint one non fungible token * Reverts if the given token ID already exist * @param to address recipient that will own the minted tokens * @param id uint256 ID of the token to be minted * @param byteUri bytes32 Concatenated metadata URI of nft to be minted */ function _mintNonFungible(address to, uint256 id, bytes32 byteUri, bool safe) internal { require(to != address(0x0)); require(!exists(id)); uint256 collection = id & NF_COLLECTION_MASK; _owners[id] = to; _nftBalances[to] = SafeMath.add(_nftBalances[to], 1); _balances[collection][to] = SafeMath.add(_balances[collection][to], 1); emit Transfer(address(0x0), to, id); emit TransferSingle(_msgSender(), address(0x0), to, id, 1); _setURI(id, byteUri); if (safe) { require( // solium-disable-line error-reason _checkERC1155AndCallSafeTransfer(_msgSender(), address(0x0), to, id, 1, "", false, false), "failCheck" ); } } /** * @dev Public function to mint fungible token * Reverts if the given ID is not fungible collection ID * @param to address recipient that will own the minted tokens * @param collection uint256 ID of the fungible collection to be minted * @param value uint256 amount to mint */ function mintFungible(address to, uint256 collection, uint256 value) external onlyMinter { require(isFungible(collection)); _mintFungible(to, collection, value); } /** * @dev Internal function to mint fungible token * Reverts if the given ID is not exsit * @param to address recipient that will own the minted tokens * @param collection uint256 ID of the fungible collection to be minted * @param value uint256 amount to mint */ function _mintFungible(address to, uint256 collection, uint256 value) internal { require(to != address(0x0)); require(value > 0); _balances[collection][to] = SafeMath.add(_balances[collection][to], value); emit TransferSingle(_msgSender(), address(0x0), to, collection, value); require( // solium-disable-line error-reason _checkERC1155AndCallSafeTransfer(_msgSender(), address(0x0), to, collection, value, "", false, false), "failCheck" ); } /////////////////////////////////////////// TokenURI//////////////////////////////////// /** * @dev Public function to update the metadata URI prefix * @param uriPrefix string the new URI prefix */ function setUriPrefix(string calldata uriPrefix) external onlyOwner { _uriPrefix = uriPrefix; } /** * @dev Public function to update the metadata IPFS URI prefix * @param ipfsUriPrefix string the new IPFS URI prefix */ function setIPFSUriPrefix(string calldata ipfsUriPrefix) external onlyOwner { _ipfsUriPrefix = ipfsUriPrefix; } /** * @dev Public function to set the URI for a given ID * Reverts if the ID does not exist or metadata has migrated to IPFS * @param id uint256 ID to set its URI * @param byteUri bytes32 URI to assign */ function setURI(uint256 id, bytes32 byteUri) external onlyMinter { require(!_ipfsMigrated && uint256(byteUri) > 0); require(exists(id)); _setURI(id, byteUri); } /** * @dev Internal function to set the URI for a given ID * Reverts if the ID does not exist * @param id uint256 ID to set its URI * @param byteUri bytes32 URI to assign */ function _setURI(uint256 id, bytes32 byteUri) internal { if (uint256(byteUri) > 0) { _uris[id] = byteUri; emit URI(_fullUriFromHash(byteUri), id); } else { emit URI(_fullUriFromId(id), id); } } /** * @dev Internal function to convert bytes32 hash to full uri string * @param byteUri bytes32 URI to convert * @return string URI convert from given hash */ function _fullUriFromHash(bytes32 byteUri) private view returns(string memory) { return string(abi.encodePacked(_ipfsUriPrefix, Bytes.hash2base32(byteUri))); } /** * @dev Internal function to convert id to full uri string * @param id uint256 ID to convert * @return string URI convert from given ID */ function _fullUriFromId(uint256 id) private view returns(string memory) { return string(abi.encodePacked(abi.encodePacked(_uriPrefix, Bytes.uint2str(id)))); } /////////////////////////////////////////// IPFS migration /////////////////////////////////// /** * @dev Sets IPFS migration flag true */ function migrateToIPFS() public onlyMinter { _ipfsMigrated = true; } /////////////////////////////////////////// ERC1155MetadataURI /////////////////////////////////// /** * @dev Returns an URI for a given ID * @param id uint256 ID of the tokenId / collectionId to query * @return string URI of given ID */ function uri(uint256 id) public view returns(string memory) { if (uint256(_uris[id]) == 0) { return _fullUriFromId(id); } return _fullUriFromHash(_uris[id]); } /////////////////////////////////////////// ERC721Metadata /////////////////////////////////// /** * @dev Gets the token name * @return string representing the token name */ function name() external view returns(string memory) { return "F1® Delta Time Inventory"; } /** * @dev Gets the token symbol * @return string representing the token symbol */ function symbol() external view returns(string memory) { return "F1DTI"; } /** * @dev Returns an URI for a given token ID * Throws if the token ID does not exist. May return an empty string. * @param tokenId uint256 ID of the token to query * @return string URI of given token ID */ function tokenURI(uint256 tokenId) external view returns (string memory) { require(exists(tokenId)); return uri(tokenId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"gasTokenAddress","type":"address"},{"internalType":"address","name":"payoutWallet","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"_approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"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":"uint256[]","name":"collectionIds","type":"uint256[]"},{"indexed":false,"internalType":"address","name":"pauser","type":"address"}],"name":"CollectionsPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"collectionIds","type":"uint256[]"},{"indexed":false,"internalType":"address","name":"pauser","type":"address"}],"name":"CollectionsUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"id","type":"address"}],"name":"FungibleCollection","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":"id","type":"address"}],"name":"NonFungibleCollection","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldRelayHub","type":"address"},{"indexed":true,"internalType":"address","name":"newRelayHub","type":"address"}],"name":"RelayHubChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Transfer","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"constant":true,"inputs":[],"name":"_gasPriceScaling","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_gasToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_payoutWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"transactionFee","type":"uint256"},{"internalType":"uint256","name":"gasPrice","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"maxPossibleCharge","type":"uint256"}],"name":"acceptRelayedCall","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address[]","name":"tokenOwners","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"bytes32[]","name":"uris","type":"bytes32[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bool","name":"safe","type":"bool"}],"name":"batchMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"collectionOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"collectionId","type":"uint256"},{"internalType":"bytes32","name":"byteUri","type":"bytes32"}],"name":"createCollection","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getHubAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"idPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"isFungible","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"migrateToIPFS","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"collection","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mintFungible","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes32","name":"byteUri","type":"bytes32"},{"internalType":"bool","name":"safe","type":"bool"}],"name":"mintNonFungible","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256[]","name":"collectionIds","type":"uint256[]"}],"name":"pauseCollections","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"bool","name":"success","type":"bool"},{"internalType":"uint256","name":"actualCharge","type":"uint256"},{"internalType":"bytes32","name":"preRetVal","type":"bytes32"}],"name":"postRelayedCall","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"context","type":"bytes"}],"name":"preRelayedCall","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"relayHubVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"gasPriceScaling","type":"uint256"}],"name":"setGasPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"gasTokenAddress","type":"address"}],"name":"setGasToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"ipfsUriPrefix","type":"string"}],"name":"setIPFSUriPrefix","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"payoutWallet","type":"address"}],"name":"setPayoutWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes32","name":"byteUri","type":"bytes32"}],"name":"setURI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256[]","name":"collectionIds","type":"uint256[]"}],"name":"unpauseCollections","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"payee","type":"address"}],"name":"withdrawDeposits","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600980546001600160a01b03191673d216153c06e857cd7f72665e0af1d7d82172f4941790556103e8600d5560e06040526021608081815290620050c960a039805162000055916010916020909101906200051b565b5060408051808201909152600d8082526c2f697066732f6261666b72656960981b60209092019182526200008c916011916200051b565b503480156200009a57600080fd5b506040516200512c3803806200512c83398181016040526040811015620000c057600080fd5b5080516020918201516001600160e01b0319600555909182908290620000f8620000e9620001c9565b6001600160e01b036200020016565b506007805460ff191690556000620001186001600160e01b03620001c916565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200017a826001600160e01b036200025216565b6200018e816001600160e01b03620002c816565b50620001b79050620001a86001600160e01b03620001c916565b6001600160e01b036200035516565b5050600f805460ff19169055620005bd565b6009546000906001600160a01b03163314620001e7575033620001fd565b620001fa6001600160e01b03620003a716565b90505b90565b6200021b816006620003f460201b6200454d1790919060201c565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b620002656001600160e01b036200048116565b620002a6576040805162461bcd60e51b81526020600482018190526024820152600080516020620050ea833981519152604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b620002db6001600160e01b036200048116565b6200031c576040805162461bcd60e51b81526020600482018190526024820152600080516020620050ea833981519152604482015290519081900360640190fd5b6001600160a01b0381163014156200033357600080fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6200037081600e620003f460201b6200454d1790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b600060606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031692915050565b6200040982826001600160e01b03620004b216565b156200045c576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b600a546000906001600160a01b0316620004a36001600160e01b03620001c916565b6001600160a01b031614905090565b60006001600160a01b038216620004fb5760405162461bcd60e51b81526004018080602001828103825260228152602001806200510a6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200055e57805160ff19168380011785556200058e565b828001600101855582156200058e579182015b828111156200058e57825182559160200191906001019062000571565b506200059c929150620005a0565b5090565b620001fd91905b808211156200059c5760008155600101620005a7565b614afc80620005cd6000396000f3fe608060405234801561001057600080fd5b50600436106103825760003560e01c80637ec4a659116101de578063aa271e1a1161010f578063c87b56dd116100ad578063e985e9c51161007c578063e985e9c5146113c3578063ebb4f272146113f1578063f242432a146113f9578063f2fde38b146114c257610382565b8063c87b56dd146110f9578063cdb50a4214611116578063e06e0e221461111e578063e6fd76fe1461119a57610382565b8063b88d4fde116100e9578063b88d4fde14610fcf578063bf1fe42014611093578063c2db1abe146110b0578063c7778baa146110dc57610382565b8063aa271e1a14610f84578063ad61ccd514610faa578063adebf6f214610fb257610382565b80639220dd041161017c57806398650275116101565780639865027514610e0c578063a1231a4a14610e14578063a22cb46514610eb5578063a51183be14610ee357610382565b80639220dd0414610da457806395d89b4114610dde578063983b2d5614610de657610382565b806383947ea0116101b857806383947ea014610bb05780638456cb5914610d8c5780638da5cb5b14610d945780638f32d59b14610d9c57610382565b80637ec4a65914610aae57806380274db714610b1c57806382dc1ec414610b8a57610382565b806342842e0e116102b85780636352211e1161025657806370a082311161023057806370a0823114610a55578063715018a614610a7b57806374e861d614610a8357806377f1d21f14610a8b57610382565b80636352211e14610a0a5780636b8f9c4314610a275780636ef8d66d14610a4d57610382565b80634f558e79116102925780634f558e79146109ab57806358ea82e6146109c85780635c975abb146109fa5780635e66d0e414610a0257610382565b806342842e0e146107dc57806346fbf68e146108125780634e1273f41461083857610382565b80631e9f8aad116103255780632886bc07116102ff5780632886bc07146105825780632eb2c2d6146105a557806338d6d5c2146107665780633f4ba83a146107d457610382565b80631e9f8aad1461051e578063220b74101461054457806323b872dd1461054c57610382565b8063081812fc11610361578063081812fc1461047d578063095ea7b3146104b65780630e89341c146104e457806312b8f7871461050157610382565b8062fdd58e1461038757806301ffc9a7146103c557806306fdde0314610400575b600080fd5b6103b36004803603604081101561039d57600080fd5b506001600160a01b0381351690602001356114e8565b60408051918252519081900360200190f35b6103ec600480360360208110156103db57600080fd5b50356001600160e01b031916611569565b604080519115158252519081900360200190f35b610408611629565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561044257818101518382015260200161042a565b50505050905090810190601f16801561046f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61049a6004803603602081101561049357600080fd5b5035611661565b604080516001600160a01b039092168252519081900360200190f35b6104e2600480360360408110156104cc57600080fd5b506001600160a01b0381351690602001356116a1565b005b610408600480360360208110156104fa57600080fd5b503561170f565b6103ec6004803603602081101561051757600080fd5b503561174d565b6104e26004803603602081101561053457600080fd5b50356001600160a01b031661179d565b61049a611806565b6104e26004803603606081101561056257600080fd5b506001600160a01b03813581169160208101359091169060400135611815565b6104e26004803603604081101561059857600080fd5b5080359060200135611885565b6104e2600480360360a08110156105bb57600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156105ee57600080fd5b82018360208201111561060057600080fd5b803590602001918460208302840111600160201b8311171561062157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561067057600080fd5b82018360208201111561068257600080fd5b803590602001918460208302840111600160201b831117156106a357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156106f257600080fd5b82018360208201111561070457600080fd5b803590602001918460018302840111600160201b8311171561072557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061190b945050505050565b6104e26004803603602081101561077c57600080fd5b810190602081018135600160201b81111561079657600080fd5b8201836020820111156107a857600080fd5b803590602001918460018302840111600160201b831117156107c957600080fd5b5090925090506119a5565b6104e26119f8565b6104e2600480360360608110156107f257600080fd5b506001600160a01b03813581169160208101359091169060400135611ae1565b6103ec6004803603602081101561082857600080fd5b50356001600160a01b0316611b4b565b61095b6004803603604081101561084e57600080fd5b810190602081018135600160201b81111561086857600080fd5b82018360208201111561087a57600080fd5b803590602001918460208302840111600160201b8311171561089b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156108ea57600080fd5b8201836020820111156108fc57600080fd5b803590602001918460208302840111600160201b8311171561091d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611b5e945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561099757818101518382015260200161097f565b505050509050019250505060405180910390f35b6103ec600480360360208110156109c157600080fd5b5035611cda565b6104e2600480360360608110156109de57600080fd5b506001600160a01b038135169060208101359060400135611cf7565b6103ec611d5a565b61049a611d63565b61049a60048036036020811015610a2057600080fd5b5035611d72565b6104e260048036036020811015610a3d57600080fd5b50356001600160a01b0316611da8565b6104e2611e27565b6103b360048036036020811015610a6b57600080fd5b50356001600160a01b0316611e39565b6104e2611e6a565b61049a611efb565b6104e260048036036040811015610aa157600080fd5b5080359060200135611f0a565b6104e260048036036020811015610ac457600080fd5b810190602081018135600160201b811115610ade57600080fd5b820183602082011115610af057600080fd5b803590602001918460018302840111600160201b83111715610b1157600080fd5b509092509050611f81565b6103b360048036036020811015610b3257600080fd5b810190602081018135600160201b811115610b4c57600080fd5b820183602082011115610b5e57600080fd5b803590602001918460018302840111600160201b83111715610b7f57600080fd5b509092509050611fd4565b6104e260048036036020811015610ba057600080fd5b50356001600160a01b0316612073565b610d0d6004803603610120811015610bc757600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b811115610bfa57600080fd5b820183602082011115610c0c57600080fd5b803590602001918460018302840111600160201b83111715610c2d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929584359560208601359560408101359550606081013594509192509060a081019060800135600160201b811115610c9757600080fd5b820183602082011115610ca957600080fd5b803590602001918460018302840111600160201b83111715610cca57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506120c5915050565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610d50578181015183820152602001610d38565b50505050905090810190601f168015610d7d5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b6104e26121c3565b61049a61228a565b6103ec612299565b6104e260048036036080811015610dba57600080fd5b506001600160a01b03813516906020810135906040810135906060013515156122bf565b610408612323565b6104e260048036036020811015610dfc57600080fd5b50356001600160a01b0316612342565b6104e2612391565b6104e260048036036020811015610e2a57600080fd5b810190602081018135600160201b811115610e4457600080fd5b820183602082011115610e5657600080fd5b803590602001918460208302840111600160201b83111715610e7757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506123a1945050505050565b6104e260048036036040811015610ecb57600080fd5b506001600160a01b03813516906020013515156124da565b6104e260048036036020811015610ef957600080fd5b810190602081018135600160201b811115610f1357600080fd5b820183602082011115610f2557600080fd5b803590602001918460208302840111600160201b83111715610f4657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061252f945050505050565b6103ec60048036036020811015610f9a57600080fd5b50356001600160a01b03166125f5565b610408612608565b6103ec60048036036020811015610fc857600080fd5b5035612627565b6104e260048036036080811015610fe557600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561101f57600080fd5b82018360208201111561103157600080fd5b803590602001918460018302840111600160201b8311171561105257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612631945050505050565b6104e2600480360360208110156110a957600080fd5b503561269c565b6104e2600480360360408110156110c657600080fd5b50803590602001356001600160a01b03166126e8565b6103b3600480360360208110156110f257600080fd5b5035612739565b6104086004803603602081101561110f57600080fd5b5035612755565b6103b3612772565b6104e26004803603608081101561113457600080fd5b810190602081018135600160201b81111561114e57600080fd5b82018360208201111561116057600080fd5b803590602001918460018302840111600160201b8311171561118157600080fd5b9193509150803515159060208101359060400135612778565b6104e2600480360360a08110156111b057600080fd5b810190602081018135600160201b8111156111ca57600080fd5b8201836020820111156111dc57600080fd5b803590602001918460208302840111600160201b831117156111fd57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561124c57600080fd5b82018360208201111561125e57600080fd5b803590602001918460208302840111600160201b8311171561127f57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156112ce57600080fd5b8201836020820111156112e057600080fd5b803590602001918460208302840111600160201b8311171561130157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561135057600080fd5b82018360208201111561136257600080fd5b803590602001918460208302840111600160201b8311171561138357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505050503515159050612813565b6103ec600480360360408110156113d957600080fd5b506001600160a01b03813581169160200135166129ae565b6104e26129dc565b6104e2600480360360a081101561140f57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561144e57600080fd5b82018360208201111561146057600080fd5b803590602001918460018302840111600160201b8311171561148157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612a31945050505050565b6104e2600480360360208110156114d857600080fd5b50356001600160a01b0316612a9d565b60006001600160a01b0383166114fd57600080fd5b61150682612aed565b15611540576000828152600360205260409020546001600160a01b03848116911614611533576000611536565b60015b60ff169050611563565b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006301ffc9a760e01b6001600160e01b03198316148061159a57506380ac58cd60e01b6001600160e01b03198316145b806115b55750635b5e139f60e01b6001600160e01b03198316145b806115d05750634f558e7960e01b6001600160e01b03198316145b806115eb5750636cdb3d1360e11b6001600160e01b03198316145b8061160657506304e72e2360e11b6001600160e01b03198316145b8061162157506303a24d0760e21b6001600160e01b03198316145b90505b919050565b60408051808201909152601981527f4631c2ae2044656c74612054696d6520496e76656e746f72790000000000000060208201525b90565b600061166c82612aed565b801561167c575061167c82611cda565b61168557600080fd5b506000908152600260205260409020546001600160a01b031690565b60075460ff16156116ec576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b806116f68161174d565b1561170057600080fd5b61170a8383612b0a565b505050565b6000818152601260205260409020546060906117355761172e82612bed565b9050611624565b60008281526012602052604090205461162190612e57565b600061175882612aed565b15611785576008600061176a84612739565b815260208101919091526040016000205460ff169050611624565b5060008181526008602052604090205460ff16611624565b6117a5612299565b6117e4576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031681565b60075460ff1615611860576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b8061186a8161174d565b1561187457600080fd5b61187f84848461305b565b50505050565b611895611890613078565b6125f5565b6118d05760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b600f5460ff161580156118e257508015155b6118eb57600080fd5b6118f482611cda565b6118fd57600080fd5b61190782826130a3565b5050565b60075460ff1615611956576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60005b83518110156119905761197e84828151811061197157fe5b602002602001015161174d565b1561198857600080fd5b600101611959565b5061199e8585858585613201565b5050505050565b6119ad612299565b6119ec576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b61170a601183836148e2565b611a08611a03613078565b611b4b565b611a435760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b60075460ff16611a91576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ac4613078565b604080516001600160a01b039092168252519081900360200190a1565b60075460ff1615611b2c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b80611b368161174d565b15611b4057600080fd5b61187f84848461343a565b600061162160068363ffffffff61345716565b60608151835114611b6e57600080fd5b60608351604051908082528060200260200182016040528015611b9b578160200160208202803883390190505b50905060005b8451811015611cd25760006001600160a01b0316858281518110611bc157fe5b60200260200101516001600160a01b03161415611bdd57600080fd5b6000848281518110611beb57fe5b60200260200101519050611bfe81612aed565b15611c6757858281518110611c0f57fe5b602090810291909101810151600083815260039092526040909120546001600160a01b03908116911614611c44576000611c47565b60015b60ff16838381518110611c5657fe5b602002602001018181525050611cc9565b6000808281526020019081526020016000206000878481518110611c8757fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054838381518110611cbc57fe5b6020026020010181815250505b50600101611ba1565b509392505050565b6000908152600360205260409020546001600160a01b0316151590565b611d02611890613078565b611d3d5760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b611d4682612627565b611d4f57600080fd5b61170a8383836134be565b60075460ff1690565b600c546001600160a01b031681565b6000611d7d82612aed565b611d8657600080fd5b6000828152600360205260409020546001600160a01b03168061162157600080fd5b611db0612299565b611def576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b6001600160a01b038116301415611e0557600080fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b611e37611e32613078565b6135d0565b565b60006001600160a01b038216611e4e57600080fd5b506001600160a01b031660009081526004602052604090205490565b611e72612299565b611eb1576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b6009546001600160a01b031690565b611f15611890613078565b611f505760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b600f5460ff16611f61578015611f65565b8015155b611f6e57600080fd5b611f7782612aed565b156118fd57600080fd5b611f89612299565b611fc8576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b61170a601083836148e2565b6000611fde611efb565b6001600160a01b0316336001600160a01b03161461202d5760405162461bcd60e51b8152600401808060200182810382526024815260200180614aa46024913960400191505060405180910390fd5b61206c83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061361892505050565b9392505050565b61207e611a03613078565b6120b95760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b6120c2816136e0565b50565b600060606103e8600d548402816120d857fe5b600b54604080516370a0823160e01b81526001600160a01b038f81166004830152915194909304939116916370a08231916024808301926020929190829003018186803b15801561212857600080fd5b505afa15801561213c573d6000803e3d6000fd5b505050506040513d602081101561215257600080fd5b5051101561216d576121646000613728565b915091506121b5565b604080516001600160a01b038c166020820152808201859052606081018a905260808082018a90528251808303909101815260a09091019091526121b090613740565b915091505b995099975050505050505050565b6121ce611a03613078565b6122095760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b60075460ff1615612254576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ac4613078565b600a546001600160a01b031690565b600a546000906001600160a01b03166122b0613078565b6001600160a01b031614905090565b6122ca611890613078565b6123055760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b61230e83612aed565b61231757600080fd5b61187f84848484613745565b604080518082019091526005815264463144544960d81b602082015290565b61234d611890613078565b6123885760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b6120c2816138ef565b611e3761239c613078565b613937565b6123ac611a03613078565b6123e75760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b60005b815181101561244057600082828151811061240157fe5b6020026020010151905061241481612aed565b1561241e57600080fd5b6000908152600860205260409020805460ff19166001908117909155016123ea565b507f544b233d0a424675b228569e0cd5f4469159768edb0aaf89496e229d52c743b18161246b613078565b6040518080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019060200280838360005b838110156124c35781810151838201526020016124ab565b50505050905001935050505060405180910390a150565b60075460ff1615612525576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611907828261397f565b61253a611a03613078565b6125755760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b60005b81518110156125ca57600082828151811061258f57fe5b602002602001015190506125a281612aed565b156125ac57600080fd5b6000908152600860205260409020805460ff19169055600101612578565b507f7b63f21aac0ba7d47a2acbd39181fd15997b6cd9726c8de842548a73fda502208161246b613078565b6000611621600e8363ffffffff61345716565b6040805180820190915260058152640312e302e360dc1b602082015290565b600160ff1b161590565b60075460ff161561267c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b816126868161174d565b1561269057600080fd5b61199e858585856139b5565b6126a4612299565b6126e3576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b600d55565b6126f0612299565b61272f576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b61190782826139c3565b600061274482612aed565b61274d57600080fd5b506005541690565b606061276082611cda565b61276957600080fd5b6116218261170f565b600d5481565b612780611efb565b6001600160a01b0316336001600160a01b0316146127cf5760405162461bcd60e51b8152600401808060200182810382526024815260200180614aa46024913960400191505060405180910390fd5b61199e85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250879250869150859050613a2a565b61281e611890613078565b6128595760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b8451845114801561286b575082518451145b8015612878575081518451145b61288157600080fd5b60005b84518110156129a6576128a985828151811061289c57fe5b6020026020010151612aed565b80156128c857508281815181106128bc57fe5b60200260200101516001145b15612917576129128682815181106128dc57fe5b60200260200101518683815181106128f057fe5b602002602001015186848151811061290457fe5b602002602001015185613745565b61299e565b61293385828151811061292657fe5b6020026020010151612627565b8015612955575083818151811061294657fe5b602002602001015160001c6000145b156103825761291286828151811061296957fe5b602002602001015186838151811061297d57fe5b602002602001015185848151811061299157fe5b60200260200101516134be565b600101612884565b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6129e7611890613078565b612a225760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b600f805460ff19166001179055565b60075460ff1615612a7c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b82612a868161174d565b15612a9057600080fd5b6129a68686868686613b6c565b612aa5612299565b612ae4576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b6120c281613cd2565b6000600160ff1b8216158015906116215750506005541916151590565b6000612b1582611d72565b9050806001600160a01b0316836001600160a01b03161415612b3657600080fd5b6000612b40613078565b9050816001600160a01b0316816001600160a01b03161480612b8757506001600160a01b0380831660009081526001602090815260408083209385168352929052205460ff165b612b9057600080fd5b60008381526002602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918616917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6060601073a9748c651c8af8d6c94160f83e61905fa7035b7863f76f950e846040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015612c4057600080fd5b505af4158015612c54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612c7d57600080fd5b8101908080516040519392919084600160201b821115612c9c57600080fd5b908301906020820185811115612cb157600080fd5b8251600160201b811182820188101715612cca57600080fd5b82525081516020918201929091019080838360005b83811015612cf7578181015183820152602001612cdf565b50505050905090810190601f168015612d245780820380516001836020036101000a031916815260200191505b506040525050506040516020018083805460018160011615610100020316600290048015612d895780601f10612d67576101008083540402835291820191612d89565b820191906000526020600020905b815481529060010190602001808311612d75575b5050825160208401908083835b60208310612db55780518252601f199092019160209182019101612d96565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040526040516020018082805190602001908083835b60208310612e1c5780518252601f199092019160209182019101612dfd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040529050919050565b6060601173a9748c651c8af8d6c94160f83e61905fa7035b7863a85796eb846040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015612eaa57600080fd5b505af4158015612ebe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612ee757600080fd5b8101908080516040519392919084600160201b821115612f0657600080fd5b908301906020820185811115612f1b57600080fd5b8251600160201b811182820188101715612f3457600080fd5b82525081516020918201929091019080838360005b83811015612f61578181015183820152602001612f49565b50505050905090810190601f168015612f8e5780820380516001836020036101000a031916815260200191505b506040525050506040516020018083805460018160011615610100020316600290048015612ff35780601f10612fd1576101008083540402835291820191612ff3565b820191906000526020600020905b815481529060010190602001808311612fdf575b5050825160208401908083835b6020831061301f5780518252601f199092019160209182019101613000565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529050919050565b61170a838383604051806020016040528060008152506000613d73565b6009546000906001600160a01b0316331461309457503361165e565b61309c613e8b565b905061165e565b801561315e576000828152601260205260409020819055817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b6130e583612e57565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561311f578181015183820152602001613107565b50505050905090810190601f16801561314c5780820380516001836020036101000a031916815260200191505b509250505060405180910390a2611907565b817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61318984612bed565b6040805160208082528351818301528351919283929083019185019080838360005b838110156131c35781810151838201526020016131ab565b50505050905090810190601f1680156131f05780820380516001836020036101000a031916815260200191505b509250505060405180910390a25050565b6001600160a01b03841661321457600080fd5b815183511461322257600080fd5b600061322c613078565b9050806001600160a01b0316866001600160a01b0316148061327857506001600160a01b03808716600090815260016020818152604080842094861684529390529190205460ff161515145b61328157600080fd5b60005b845181101561334957600085828151811061329b57fe5b6020026020010151905060008583815181106132b357fe5b602002602001015190506132c682612627565b80156132d25750600081115b156132e8576132e389898484613ed8565b61333f565b6132f182612aed565b80156132fd5750806001145b156103825761330f8989846001613f63565b81886001600160a01b03168a6001600160a01b0316600080516020614a8483398151915260405160405180910390a45b5050600101613284565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156133cf5781810151838201526020016133b7565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561340e5781810151838201526020016133f6565b5050505090500194505050505060405180910390a4613431818787878787614138565b6129a657600080fd5b61170a838383604051806020016040528060008152506001613d73565b60006001600160a01b03821661349e5760405162461bcd60e51b8152600401808060200182810382526022815260200180614a626022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b0383166134d157600080fd5b600081116134de57600080fd5b6000828152602081815260408083206001600160a01b03871684529091529020546135099082614306565b6000838152602081815260408083206001600160a01b0388168085529252822092909255613535613078565b6001600160a01b031660008051602061497b8339815191528585604051808381526020018281526020019250505060405180910390a4613593613576613078565b600085858560405180602001604052806000815250600080614360565b61170a576040805162461bcd60e51b81526020600482015260096024820152686661696c436865636b60b81b604482015290519081900360640190fd5b6135e160068263ffffffff6144e616565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b600080600083806020019051604081101561363257600080fd5b508051602091820151600b54600c54600d54604080516323b872dd60e01b81526001600160a01b03808816600483015293841660248201526103e89286029290920460448301525194975092955016926323b872dd926064808401938290030181600087803b1580156136a457600080fd5b505af11580156136b8573d6000803e3d6000fd5b505050506040513d60208110156136ce57600080fd5b50516136d957600080fd5b5050919050565b6136f160068263ffffffff61454d16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b604080516020810190915260008152600b9190910191565b600091565b6001600160a01b03841661375857600080fd5b61376183611cda565b1561376b57600080fd5b600554600084815260036020908152604080832080546001600160a01b0319166001600160a01b038a1690811790915583526004909152902054908416906137b4906001614306565b6001600160a01b0386166000818152600460209081526040808320949094558482528181528382209282529190915220546137f0906001614306565b6000828152602081815260408083206001600160a01b038a16808552925280832093909355915186929190600080516020614a84833981519152908290a46001600160a01b0385166000613842613078565b6001600160a01b031660008051602061497b833981519152876001604051808381526020018281526020019250505060405180910390a461388384846130a3565b811561199e576138b2613894613078565b60008787600160405180602001604052806000815250600080614360565b61199e576040805162461bcd60e51b81526020600482015260096024820152686661696c436865636b60b81b604482015290519081900360640190fd5b613900600e8263ffffffff61454d16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b613948600e8263ffffffff6144e616565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000613989613078565b9050806001600160a01b0316836001600160a01b031614156139aa57600080fd5b61170a8184846145ce565b61187f848484846001613d73565b60095460408051627b8a6760e11b8152600481018590526001600160a01b0384811660248301529151919092169162f714ce91604480830192600092919082900301818387803b158015613a1657600080fd5b505af11580156129a6573d6000803e3d6000fd5b600080600080878060200190516080811015613a4557600080fd5b50805160208201516040830151606090930151919650945090925090506000613a7d613a76620186a061271061463c565b838561467e565b9050613a89878261463c565b600b54600c54600d549299506001600160a01b03918216926323b872dd929091169088906103e890613abb8a8e61463c565b0281613ac357fe5b046040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015613b2c57600080fd5b505af1158015613b40573d6000803e3d6000fd5b505050506040513d6020811015613b5657600080fd5b5051613b6157600080fd5b505050505050505050565b6001600160a01b038416613b7f57600080fd5b6000613b89613078565b90506000816001600160a01b0316876001600160a01b03161480613bd757506001600160a01b03808816600090815260016020818152604080842094871684529390529190205460ff161515145b9050613be285612627565b8015613bee5750600084115b15613c0e5780613bfd57600080fd5b613c0987878787613ed8565b613c64565b613c1785612aed565b8015613c235750836001145b1561038257613c3487878784613f63565b84866001600160a01b0316886001600160a01b0316600080516020614a8483398151915260405160405180910390a45b856001600160a01b0316876001600160a01b0316836001600160a01b031660008051602061497b8339815191528888604051808381526020018281526020019250505060405180910390a4613cc0828888888888600080614360565b613cc957600080fd5b50505050505050565b6001600160a01b038116613d175760405162461bcd60e51b81526004018080602001828103825260268152602001806149cb6026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038416613d8657600080fd5b613d8f83612aed565b613d9857600080fd5b6000613da2613078565b90506000816001600160a01b0316876001600160a01b03161480613df057506001600160a01b03808816600090815260016020818152604080842094871684529390529190205460ff161515145b9050613dfe87878784613f63565b84866001600160a01b0316886001600160a01b0316600080516020614a8483398151915260405160405180910390a4856001600160a01b0316876001600160a01b0316836001600160a01b031660008051602061497b833981519152886001604051808381526020018281526020019250505060405180910390a4613cc08288888860018960018a614360565b600060606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031692915050565b6000828152602081815260408083206001600160a01b0388168452909152902054613f03908261463c565b6000838152602081815260408083206001600160a01b038981168552925280832093909355851681522054613f389082614306565b6000928352602083815260408085206001600160a01b03909616855294905292909120919091555050565b6000828152600360205260409020546001600160a01b03858116911614613f8957600080fd5b6000613f93613078565b90508180613fba5750806001600160a01b0316613faf84611d72565b6001600160a01b0316145b80613fde5750806001600160a01b0316613fd384611661565b6001600160a01b0316145b613fe757600080fd5b6000838152600260205260409020546001600160a01b03161561402157600083815260026020526040902080546001600160a01b03191690555b60055483166000818152602081815260408083206001600160a01b038a16845290915290205461405290600161463c565b6000828152602081815260408083206001600160a01b038b81168552925280832093909355871681522054614088906001614306565b6000828152602081815260408083206001600160a01b03808b1685529083528184209490945592891682526004905220546140c490600161463c565b6001600160a01b0380881660009081526004602052604080822093909355908716815220546140f4906001614306565b6001600160a01b0390951660008181526004602090815260408083209890985595815260039095529490932080546001600160a01b03191690941790935550505050565b60006141438561468c565b61414f575060016142fc565b6000856001600160a01b031663bc197c8189898888886040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156141ec5781810151838201526020016141d4565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561422b578181015183820152602001614213565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561426757818101518382015260200161424f565b50505050905090810190601f1680156142945780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b1580156142b957600080fd5b505af11580156142cd573d6000803e3d6000fd5b505050506040513d60208110156142e357600080fd5b50516001600160e01b03191663bc197c8160e01b149150505b9695505050505050565b60008282018381101561206c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061436b8761468c565b614377575060016144da565b82156143ac57614386876146c8565b6143ac5781156143a45761439d898989898861471f565b90506144da565b5060016144da565b866001600160a01b031663f23a6e618a8a8989896040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614448578181015183820152602001614430565b50505050905090810190601f1680156144755780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561449857600080fd5b505af11580156144ac573d6000803e3d6000fd5b505050506040513d60208110156144c257600080fd5b50516001600160e01b03191663f23a6e6160e01b1490505b98975050505050505050565b6144f08282613457565b61452b5760405162461bcd60e51b8152600401808060200182810382526021815260200180614a216021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6145578282613457565b156145a9576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff1916861515908117909155825190815291517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319281900390910190a3505050565b600061206c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061484b565b606490810191909202020490565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906146c057508115155b949350505050565b6040516301ffc9a760e01b808252630271189760e51b60048301819052600092909190839081906020816024818a612710fa92508051915050609e5a1161470b57fe5b8180156142fc575060011495945050505050565b600061472a8461468c565b61473657506001614842565b604051630a85bd0160e11b81526001600160a01b03878116600483019081528782166024840152604483018690526080606484019081528551608485015285519288169363150b7a02938b938b938a938a9360a490910190602085019080838360005b838110156147b1578181015183820152602001614799565b50505050905090810190601f1680156147de5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561480057600080fd5b505af1158015614814573d6000803e3d6000fd5b505050506040513d602081101561482a57600080fd5b50516001600160e01b031916630a85bd0160e11b1490505b95945050505050565b600081848411156148da5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561489f578181015183820152602001614887565b50505050905090810190601f1680156148cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106149235782800160ff19823516178555614950565b82800160010185558215614950579182015b82811115614950578235825591602001919060010190614935565b5061495c929150614960565b5090565b61165e91905b8082111561495c576000815560010161496656fec3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef47534e526563697069656e743a2063616c6c6572206973206e6f742052656c6179487562a265627a7a72315820aeb2269f737ca6a2b6bdd31c852fe51c4693148178650241e64698e032f12e1064736f6c6343000510003268747470733a2f2f6e66742e663164656c746174696d652e636f6d2f6a736f6e2f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f206164647265737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103825760003560e01c80637ec4a659116101de578063aa271e1a1161010f578063c87b56dd116100ad578063e985e9c51161007c578063e985e9c5146113c3578063ebb4f272146113f1578063f242432a146113f9578063f2fde38b146114c257610382565b8063c87b56dd146110f9578063cdb50a4214611116578063e06e0e221461111e578063e6fd76fe1461119a57610382565b8063b88d4fde116100e9578063b88d4fde14610fcf578063bf1fe42014611093578063c2db1abe146110b0578063c7778baa146110dc57610382565b8063aa271e1a14610f84578063ad61ccd514610faa578063adebf6f214610fb257610382565b80639220dd041161017c57806398650275116101565780639865027514610e0c578063a1231a4a14610e14578063a22cb46514610eb5578063a51183be14610ee357610382565b80639220dd0414610da457806395d89b4114610dde578063983b2d5614610de657610382565b806383947ea0116101b857806383947ea014610bb05780638456cb5914610d8c5780638da5cb5b14610d945780638f32d59b14610d9c57610382565b80637ec4a65914610aae57806380274db714610b1c57806382dc1ec414610b8a57610382565b806342842e0e116102b85780636352211e1161025657806370a082311161023057806370a0823114610a55578063715018a614610a7b57806374e861d614610a8357806377f1d21f14610a8b57610382565b80636352211e14610a0a5780636b8f9c4314610a275780636ef8d66d14610a4d57610382565b80634f558e79116102925780634f558e79146109ab57806358ea82e6146109c85780635c975abb146109fa5780635e66d0e414610a0257610382565b806342842e0e146107dc57806346fbf68e146108125780634e1273f41461083857610382565b80631e9f8aad116103255780632886bc07116102ff5780632886bc07146105825780632eb2c2d6146105a557806338d6d5c2146107665780633f4ba83a146107d457610382565b80631e9f8aad1461051e578063220b74101461054457806323b872dd1461054c57610382565b8063081812fc11610361578063081812fc1461047d578063095ea7b3146104b65780630e89341c146104e457806312b8f7871461050157610382565b8062fdd58e1461038757806301ffc9a7146103c557806306fdde0314610400575b600080fd5b6103b36004803603604081101561039d57600080fd5b506001600160a01b0381351690602001356114e8565b60408051918252519081900360200190f35b6103ec600480360360208110156103db57600080fd5b50356001600160e01b031916611569565b604080519115158252519081900360200190f35b610408611629565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561044257818101518382015260200161042a565b50505050905090810190601f16801561046f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61049a6004803603602081101561049357600080fd5b5035611661565b604080516001600160a01b039092168252519081900360200190f35b6104e2600480360360408110156104cc57600080fd5b506001600160a01b0381351690602001356116a1565b005b610408600480360360208110156104fa57600080fd5b503561170f565b6103ec6004803603602081101561051757600080fd5b503561174d565b6104e26004803603602081101561053457600080fd5b50356001600160a01b031661179d565b61049a611806565b6104e26004803603606081101561056257600080fd5b506001600160a01b03813581169160208101359091169060400135611815565b6104e26004803603604081101561059857600080fd5b5080359060200135611885565b6104e2600480360360a08110156105bb57600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156105ee57600080fd5b82018360208201111561060057600080fd5b803590602001918460208302840111600160201b8311171561062157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561067057600080fd5b82018360208201111561068257600080fd5b803590602001918460208302840111600160201b831117156106a357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156106f257600080fd5b82018360208201111561070457600080fd5b803590602001918460018302840111600160201b8311171561072557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061190b945050505050565b6104e26004803603602081101561077c57600080fd5b810190602081018135600160201b81111561079657600080fd5b8201836020820111156107a857600080fd5b803590602001918460018302840111600160201b831117156107c957600080fd5b5090925090506119a5565b6104e26119f8565b6104e2600480360360608110156107f257600080fd5b506001600160a01b03813581169160208101359091169060400135611ae1565b6103ec6004803603602081101561082857600080fd5b50356001600160a01b0316611b4b565b61095b6004803603604081101561084e57600080fd5b810190602081018135600160201b81111561086857600080fd5b82018360208201111561087a57600080fd5b803590602001918460208302840111600160201b8311171561089b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156108ea57600080fd5b8201836020820111156108fc57600080fd5b803590602001918460208302840111600160201b8311171561091d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611b5e945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561099757818101518382015260200161097f565b505050509050019250505060405180910390f35b6103ec600480360360208110156109c157600080fd5b5035611cda565b6104e2600480360360608110156109de57600080fd5b506001600160a01b038135169060208101359060400135611cf7565b6103ec611d5a565b61049a611d63565b61049a60048036036020811015610a2057600080fd5b5035611d72565b6104e260048036036020811015610a3d57600080fd5b50356001600160a01b0316611da8565b6104e2611e27565b6103b360048036036020811015610a6b57600080fd5b50356001600160a01b0316611e39565b6104e2611e6a565b61049a611efb565b6104e260048036036040811015610aa157600080fd5b5080359060200135611f0a565b6104e260048036036020811015610ac457600080fd5b810190602081018135600160201b811115610ade57600080fd5b820183602082011115610af057600080fd5b803590602001918460018302840111600160201b83111715610b1157600080fd5b509092509050611f81565b6103b360048036036020811015610b3257600080fd5b810190602081018135600160201b811115610b4c57600080fd5b820183602082011115610b5e57600080fd5b803590602001918460018302840111600160201b83111715610b7f57600080fd5b509092509050611fd4565b6104e260048036036020811015610ba057600080fd5b50356001600160a01b0316612073565b610d0d6004803603610120811015610bc757600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b811115610bfa57600080fd5b820183602082011115610c0c57600080fd5b803590602001918460018302840111600160201b83111715610c2d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929584359560208601359560408101359550606081013594509192509060a081019060800135600160201b811115610c9757600080fd5b820183602082011115610ca957600080fd5b803590602001918460018302840111600160201b83111715610cca57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506120c5915050565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610d50578181015183820152602001610d38565b50505050905090810190601f168015610d7d5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b6104e26121c3565b61049a61228a565b6103ec612299565b6104e260048036036080811015610dba57600080fd5b506001600160a01b03813516906020810135906040810135906060013515156122bf565b610408612323565b6104e260048036036020811015610dfc57600080fd5b50356001600160a01b0316612342565b6104e2612391565b6104e260048036036020811015610e2a57600080fd5b810190602081018135600160201b811115610e4457600080fd5b820183602082011115610e5657600080fd5b803590602001918460208302840111600160201b83111715610e7757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506123a1945050505050565b6104e260048036036040811015610ecb57600080fd5b506001600160a01b03813516906020013515156124da565b6104e260048036036020811015610ef957600080fd5b810190602081018135600160201b811115610f1357600080fd5b820183602082011115610f2557600080fd5b803590602001918460208302840111600160201b83111715610f4657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061252f945050505050565b6103ec60048036036020811015610f9a57600080fd5b50356001600160a01b03166125f5565b610408612608565b6103ec60048036036020811015610fc857600080fd5b5035612627565b6104e260048036036080811015610fe557600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561101f57600080fd5b82018360208201111561103157600080fd5b803590602001918460018302840111600160201b8311171561105257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612631945050505050565b6104e2600480360360208110156110a957600080fd5b503561269c565b6104e2600480360360408110156110c657600080fd5b50803590602001356001600160a01b03166126e8565b6103b3600480360360208110156110f257600080fd5b5035612739565b6104086004803603602081101561110f57600080fd5b5035612755565b6103b3612772565b6104e26004803603608081101561113457600080fd5b810190602081018135600160201b81111561114e57600080fd5b82018360208201111561116057600080fd5b803590602001918460018302840111600160201b8311171561118157600080fd5b9193509150803515159060208101359060400135612778565b6104e2600480360360a08110156111b057600080fd5b810190602081018135600160201b8111156111ca57600080fd5b8201836020820111156111dc57600080fd5b803590602001918460208302840111600160201b831117156111fd57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561124c57600080fd5b82018360208201111561125e57600080fd5b803590602001918460208302840111600160201b8311171561127f57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156112ce57600080fd5b8201836020820111156112e057600080fd5b803590602001918460208302840111600160201b8311171561130157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561135057600080fd5b82018360208201111561136257600080fd5b803590602001918460208302840111600160201b8311171561138357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505050503515159050612813565b6103ec600480360360408110156113d957600080fd5b506001600160a01b03813581169160200135166129ae565b6104e26129dc565b6104e2600480360360a081101561140f57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561144e57600080fd5b82018360208201111561146057600080fd5b803590602001918460018302840111600160201b8311171561148157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612a31945050505050565b6104e2600480360360208110156114d857600080fd5b50356001600160a01b0316612a9d565b60006001600160a01b0383166114fd57600080fd5b61150682612aed565b15611540576000828152600360205260409020546001600160a01b03848116911614611533576000611536565b60015b60ff169050611563565b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006301ffc9a760e01b6001600160e01b03198316148061159a57506380ac58cd60e01b6001600160e01b03198316145b806115b55750635b5e139f60e01b6001600160e01b03198316145b806115d05750634f558e7960e01b6001600160e01b03198316145b806115eb5750636cdb3d1360e11b6001600160e01b03198316145b8061160657506304e72e2360e11b6001600160e01b03198316145b8061162157506303a24d0760e21b6001600160e01b03198316145b90505b919050565b60408051808201909152601981527f4631c2ae2044656c74612054696d6520496e76656e746f72790000000000000060208201525b90565b600061166c82612aed565b801561167c575061167c82611cda565b61168557600080fd5b506000908152600260205260409020546001600160a01b031690565b60075460ff16156116ec576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b806116f68161174d565b1561170057600080fd5b61170a8383612b0a565b505050565b6000818152601260205260409020546060906117355761172e82612bed565b9050611624565b60008281526012602052604090205461162190612e57565b600061175882612aed565b15611785576008600061176a84612739565b815260208101919091526040016000205460ff169050611624565b5060008181526008602052604090205460ff16611624565b6117a5612299565b6117e4576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031681565b60075460ff1615611860576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b8061186a8161174d565b1561187457600080fd5b61187f84848461305b565b50505050565b611895611890613078565b6125f5565b6118d05760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b600f5460ff161580156118e257508015155b6118eb57600080fd5b6118f482611cda565b6118fd57600080fd5b61190782826130a3565b5050565b60075460ff1615611956576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60005b83518110156119905761197e84828151811061197157fe5b602002602001015161174d565b1561198857600080fd5b600101611959565b5061199e8585858585613201565b5050505050565b6119ad612299565b6119ec576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b61170a601183836148e2565b611a08611a03613078565b611b4b565b611a435760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b60075460ff16611a91576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ac4613078565b604080516001600160a01b039092168252519081900360200190a1565b60075460ff1615611b2c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b80611b368161174d565b15611b4057600080fd5b61187f84848461343a565b600061162160068363ffffffff61345716565b60608151835114611b6e57600080fd5b60608351604051908082528060200260200182016040528015611b9b578160200160208202803883390190505b50905060005b8451811015611cd25760006001600160a01b0316858281518110611bc157fe5b60200260200101516001600160a01b03161415611bdd57600080fd5b6000848281518110611beb57fe5b60200260200101519050611bfe81612aed565b15611c6757858281518110611c0f57fe5b602090810291909101810151600083815260039092526040909120546001600160a01b03908116911614611c44576000611c47565b60015b60ff16838381518110611c5657fe5b602002602001018181525050611cc9565b6000808281526020019081526020016000206000878481518110611c8757fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054838381518110611cbc57fe5b6020026020010181815250505b50600101611ba1565b509392505050565b6000908152600360205260409020546001600160a01b0316151590565b611d02611890613078565b611d3d5760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b611d4682612627565b611d4f57600080fd5b61170a8383836134be565b60075460ff1690565b600c546001600160a01b031681565b6000611d7d82612aed565b611d8657600080fd5b6000828152600360205260409020546001600160a01b03168061162157600080fd5b611db0612299565b611def576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b6001600160a01b038116301415611e0557600080fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b611e37611e32613078565b6135d0565b565b60006001600160a01b038216611e4e57600080fd5b506001600160a01b031660009081526004602052604090205490565b611e72612299565b611eb1576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b6009546001600160a01b031690565b611f15611890613078565b611f505760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b600f5460ff16611f61578015611f65565b8015155b611f6e57600080fd5b611f7782612aed565b156118fd57600080fd5b611f89612299565b611fc8576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b61170a601083836148e2565b6000611fde611efb565b6001600160a01b0316336001600160a01b03161461202d5760405162461bcd60e51b8152600401808060200182810382526024815260200180614aa46024913960400191505060405180910390fd5b61206c83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061361892505050565b9392505050565b61207e611a03613078565b6120b95760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b6120c2816136e0565b50565b600060606103e8600d548402816120d857fe5b600b54604080516370a0823160e01b81526001600160a01b038f81166004830152915194909304939116916370a08231916024808301926020929190829003018186803b15801561212857600080fd5b505afa15801561213c573d6000803e3d6000fd5b505050506040513d602081101561215257600080fd5b5051101561216d576121646000613728565b915091506121b5565b604080516001600160a01b038c166020820152808201859052606081018a905260808082018a90528251808303909101815260a09091019091526121b090613740565b915091505b995099975050505050505050565b6121ce611a03613078565b6122095760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b60075460ff1615612254576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ac4613078565b600a546001600160a01b031690565b600a546000906001600160a01b03166122b0613078565b6001600160a01b031614905090565b6122ca611890613078565b6123055760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b61230e83612aed565b61231757600080fd5b61187f84848484613745565b604080518082019091526005815264463144544960d81b602082015290565b61234d611890613078565b6123885760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b6120c2816138ef565b611e3761239c613078565b613937565b6123ac611a03613078565b6123e75760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b60005b815181101561244057600082828151811061240157fe5b6020026020010151905061241481612aed565b1561241e57600080fd5b6000908152600860205260409020805460ff19166001908117909155016123ea565b507f544b233d0a424675b228569e0cd5f4469159768edb0aaf89496e229d52c743b18161246b613078565b6040518080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019060200280838360005b838110156124c35781810151838201526020016124ab565b50505050905001935050505060405180910390a150565b60075460ff1615612525576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611907828261397f565b61253a611a03613078565b6125755760405162461bcd60e51b815260040180806020018281038252603081526020018061499b6030913960400191505060405180910390fd5b60005b81518110156125ca57600082828151811061258f57fe5b602002602001015190506125a281612aed565b156125ac57600080fd5b6000908152600860205260409020805460ff19169055600101612578565b507f7b63f21aac0ba7d47a2acbd39181fd15997b6cd9726c8de842548a73fda502208161246b613078565b6000611621600e8363ffffffff61345716565b6040805180820190915260058152640312e302e360dc1b602082015290565b600160ff1b161590565b60075460ff161561267c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b816126868161174d565b1561269057600080fd5b61199e858585856139b5565b6126a4612299565b6126e3576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b600d55565b6126f0612299565b61272f576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b61190782826139c3565b600061274482612aed565b61274d57600080fd5b506005541690565b606061276082611cda565b61276957600080fd5b6116218261170f565b600d5481565b612780611efb565b6001600160a01b0316336001600160a01b0316146127cf5760405162461bcd60e51b8152600401808060200182810382526024815260200180614aa46024913960400191505060405180910390fd5b61199e85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250879250869150859050613a2a565b61281e611890613078565b6128595760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b8451845114801561286b575082518451145b8015612878575081518451145b61288157600080fd5b60005b84518110156129a6576128a985828151811061289c57fe5b6020026020010151612aed565b80156128c857508281815181106128bc57fe5b60200260200101516001145b15612917576129128682815181106128dc57fe5b60200260200101518683815181106128f057fe5b602002602001015186848151811061290457fe5b602002602001015185613745565b61299e565b61293385828151811061292657fe5b6020026020010151612627565b8015612955575083818151811061294657fe5b602002602001015160001c6000145b156103825761291286828151811061296957fe5b602002602001015186838151811061297d57fe5b602002602001015185848151811061299157fe5b60200260200101516134be565b600101612884565b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6129e7611890613078565b612a225760405162461bcd60e51b81526004018080602001828103825260308152602001806149f16030913960400191505060405180910390fd5b600f805460ff19166001179055565b60075460ff1615612a7c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b82612a868161174d565b15612a9057600080fd5b6129a68686868686613b6c565b612aa5612299565b612ae4576040805162461bcd60e51b81526020600482018190526024820152600080516020614a42833981519152604482015290519081900360640190fd5b6120c281613cd2565b6000600160ff1b8216158015906116215750506005541916151590565b6000612b1582611d72565b9050806001600160a01b0316836001600160a01b03161415612b3657600080fd5b6000612b40613078565b9050816001600160a01b0316816001600160a01b03161480612b8757506001600160a01b0380831660009081526001602090815260408083209385168352929052205460ff165b612b9057600080fd5b60008381526002602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918616917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6060601073a9748c651c8af8d6c94160f83e61905fa7035b7863f76f950e846040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015612c4057600080fd5b505af4158015612c54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612c7d57600080fd5b8101908080516040519392919084600160201b821115612c9c57600080fd5b908301906020820185811115612cb157600080fd5b8251600160201b811182820188101715612cca57600080fd5b82525081516020918201929091019080838360005b83811015612cf7578181015183820152602001612cdf565b50505050905090810190601f168015612d245780820380516001836020036101000a031916815260200191505b506040525050506040516020018083805460018160011615610100020316600290048015612d895780601f10612d67576101008083540402835291820191612d89565b820191906000526020600020905b815481529060010190602001808311612d75575b5050825160208401908083835b60208310612db55780518252601f199092019160209182019101612d96565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040526040516020018082805190602001908083835b60208310612e1c5780518252601f199092019160209182019101612dfd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040529050919050565b6060601173a9748c651c8af8d6c94160f83e61905fa7035b7863a85796eb846040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b158015612eaa57600080fd5b505af4158015612ebe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612ee757600080fd5b8101908080516040519392919084600160201b821115612f0657600080fd5b908301906020820185811115612f1b57600080fd5b8251600160201b811182820188101715612f3457600080fd5b82525081516020918201929091019080838360005b83811015612f61578181015183820152602001612f49565b50505050905090810190601f168015612f8e5780820380516001836020036101000a031916815260200191505b506040525050506040516020018083805460018160011615610100020316600290048015612ff35780601f10612fd1576101008083540402835291820191612ff3565b820191906000526020600020905b815481529060010190602001808311612fdf575b5050825160208401908083835b6020831061301f5780518252601f199092019160209182019101613000565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529050919050565b61170a838383604051806020016040528060008152506000613d73565b6009546000906001600160a01b0316331461309457503361165e565b61309c613e8b565b905061165e565b801561315e576000828152601260205260409020819055817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b6130e583612e57565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561311f578181015183820152602001613107565b50505050905090810190601f16801561314c5780820380516001836020036101000a031916815260200191505b509250505060405180910390a2611907565b817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61318984612bed565b6040805160208082528351818301528351919283929083019185019080838360005b838110156131c35781810151838201526020016131ab565b50505050905090810190601f1680156131f05780820380516001836020036101000a031916815260200191505b509250505060405180910390a25050565b6001600160a01b03841661321457600080fd5b815183511461322257600080fd5b600061322c613078565b9050806001600160a01b0316866001600160a01b0316148061327857506001600160a01b03808716600090815260016020818152604080842094861684529390529190205460ff161515145b61328157600080fd5b60005b845181101561334957600085828151811061329b57fe5b6020026020010151905060008583815181106132b357fe5b602002602001015190506132c682612627565b80156132d25750600081115b156132e8576132e389898484613ed8565b61333f565b6132f182612aed565b80156132fd5750806001145b156103825761330f8989846001613f63565b81886001600160a01b03168a6001600160a01b0316600080516020614a8483398151915260405160405180910390a45b5050600101613284565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156133cf5781810151838201526020016133b7565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561340e5781810151838201526020016133f6565b5050505090500194505050505060405180910390a4613431818787878787614138565b6129a657600080fd5b61170a838383604051806020016040528060008152506001613d73565b60006001600160a01b03821661349e5760405162461bcd60e51b8152600401808060200182810382526022815260200180614a626022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b0383166134d157600080fd5b600081116134de57600080fd5b6000828152602081815260408083206001600160a01b03871684529091529020546135099082614306565b6000838152602081815260408083206001600160a01b0388168085529252822092909255613535613078565b6001600160a01b031660008051602061497b8339815191528585604051808381526020018281526020019250505060405180910390a4613593613576613078565b600085858560405180602001604052806000815250600080614360565b61170a576040805162461bcd60e51b81526020600482015260096024820152686661696c436865636b60b81b604482015290519081900360640190fd5b6135e160068263ffffffff6144e616565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b600080600083806020019051604081101561363257600080fd5b508051602091820151600b54600c54600d54604080516323b872dd60e01b81526001600160a01b03808816600483015293841660248201526103e89286029290920460448301525194975092955016926323b872dd926064808401938290030181600087803b1580156136a457600080fd5b505af11580156136b8573d6000803e3d6000fd5b505050506040513d60208110156136ce57600080fd5b50516136d957600080fd5b5050919050565b6136f160068263ffffffff61454d16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b604080516020810190915260008152600b9190910191565b600091565b6001600160a01b03841661375857600080fd5b61376183611cda565b1561376b57600080fd5b600554600084815260036020908152604080832080546001600160a01b0319166001600160a01b038a1690811790915583526004909152902054908416906137b4906001614306565b6001600160a01b0386166000818152600460209081526040808320949094558482528181528382209282529190915220546137f0906001614306565b6000828152602081815260408083206001600160a01b038a16808552925280832093909355915186929190600080516020614a84833981519152908290a46001600160a01b0385166000613842613078565b6001600160a01b031660008051602061497b833981519152876001604051808381526020018281526020019250505060405180910390a461388384846130a3565b811561199e576138b2613894613078565b60008787600160405180602001604052806000815250600080614360565b61199e576040805162461bcd60e51b81526020600482015260096024820152686661696c436865636b60b81b604482015290519081900360640190fd5b613900600e8263ffffffff61454d16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b613948600e8263ffffffff6144e616565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000613989613078565b9050806001600160a01b0316836001600160a01b031614156139aa57600080fd5b61170a8184846145ce565b61187f848484846001613d73565b60095460408051627b8a6760e11b8152600481018590526001600160a01b0384811660248301529151919092169162f714ce91604480830192600092919082900301818387803b158015613a1657600080fd5b505af11580156129a6573d6000803e3d6000fd5b600080600080878060200190516080811015613a4557600080fd5b50805160208201516040830151606090930151919650945090925090506000613a7d613a76620186a061271061463c565b838561467e565b9050613a89878261463c565b600b54600c54600d549299506001600160a01b03918216926323b872dd929091169088906103e890613abb8a8e61463c565b0281613ac357fe5b046040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015613b2c57600080fd5b505af1158015613b40573d6000803e3d6000fd5b505050506040513d6020811015613b5657600080fd5b5051613b6157600080fd5b505050505050505050565b6001600160a01b038416613b7f57600080fd5b6000613b89613078565b90506000816001600160a01b0316876001600160a01b03161480613bd757506001600160a01b03808816600090815260016020818152604080842094871684529390529190205460ff161515145b9050613be285612627565b8015613bee5750600084115b15613c0e5780613bfd57600080fd5b613c0987878787613ed8565b613c64565b613c1785612aed565b8015613c235750836001145b1561038257613c3487878784613f63565b84866001600160a01b0316886001600160a01b0316600080516020614a8483398151915260405160405180910390a45b856001600160a01b0316876001600160a01b0316836001600160a01b031660008051602061497b8339815191528888604051808381526020018281526020019250505060405180910390a4613cc0828888888888600080614360565b613cc957600080fd5b50505050505050565b6001600160a01b038116613d175760405162461bcd60e51b81526004018080602001828103825260268152602001806149cb6026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038416613d8657600080fd5b613d8f83612aed565b613d9857600080fd5b6000613da2613078565b90506000816001600160a01b0316876001600160a01b03161480613df057506001600160a01b03808816600090815260016020818152604080842094871684529390529190205460ff161515145b9050613dfe87878784613f63565b84866001600160a01b0316886001600160a01b0316600080516020614a8483398151915260405160405180910390a4856001600160a01b0316876001600160a01b0316836001600160a01b031660008051602061497b833981519152886001604051808381526020018281526020019250505060405180910390a4613cc08288888860018960018a614360565b600060606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031692915050565b6000828152602081815260408083206001600160a01b0388168452909152902054613f03908261463c565b6000838152602081815260408083206001600160a01b038981168552925280832093909355851681522054613f389082614306565b6000928352602083815260408085206001600160a01b03909616855294905292909120919091555050565b6000828152600360205260409020546001600160a01b03858116911614613f8957600080fd5b6000613f93613078565b90508180613fba5750806001600160a01b0316613faf84611d72565b6001600160a01b0316145b80613fde5750806001600160a01b0316613fd384611661565b6001600160a01b0316145b613fe757600080fd5b6000838152600260205260409020546001600160a01b03161561402157600083815260026020526040902080546001600160a01b03191690555b60055483166000818152602081815260408083206001600160a01b038a16845290915290205461405290600161463c565b6000828152602081815260408083206001600160a01b038b81168552925280832093909355871681522054614088906001614306565b6000828152602081815260408083206001600160a01b03808b1685529083528184209490945592891682526004905220546140c490600161463c565b6001600160a01b0380881660009081526004602052604080822093909355908716815220546140f4906001614306565b6001600160a01b0390951660008181526004602090815260408083209890985595815260039095529490932080546001600160a01b03191690941790935550505050565b60006141438561468c565b61414f575060016142fc565b6000856001600160a01b031663bc197c8189898888886040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156141ec5781810151838201526020016141d4565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561422b578181015183820152602001614213565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561426757818101518382015260200161424f565b50505050905090810190601f1680156142945780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b1580156142b957600080fd5b505af11580156142cd573d6000803e3d6000fd5b505050506040513d60208110156142e357600080fd5b50516001600160e01b03191663bc197c8160e01b149150505b9695505050505050565b60008282018381101561206c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061436b8761468c565b614377575060016144da565b82156143ac57614386876146c8565b6143ac5781156143a45761439d898989898861471f565b90506144da565b5060016144da565b866001600160a01b031663f23a6e618a8a8989896040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614448578181015183820152602001614430565b50505050905090810190601f1680156144755780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561449857600080fd5b505af11580156144ac573d6000803e3d6000fd5b505050506040513d60208110156144c257600080fd5b50516001600160e01b03191663f23a6e6160e01b1490505b98975050505050505050565b6144f08282613457565b61452b5760405162461bcd60e51b8152600401808060200182810382526021815260200180614a216021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6145578282613457565b156145a9576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff1916861515908117909155825190815291517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319281900390910190a3505050565b600061206c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061484b565b606490810191909202020490565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906146c057508115155b949350505050565b6040516301ffc9a760e01b808252630271189760e51b60048301819052600092909190839081906020816024818a612710fa92508051915050609e5a1161470b57fe5b8180156142fc575060011495945050505050565b600061472a8461468c565b61473657506001614842565b604051630a85bd0160e11b81526001600160a01b03878116600483019081528782166024840152604483018690526080606484019081528551608485015285519288169363150b7a02938b938b938a938a9360a490910190602085019080838360005b838110156147b1578181015183820152602001614799565b50505050905090810190601f1680156147de5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561480057600080fd5b505af1158015614814573d6000803e3d6000fd5b505050506040513d602081101561482a57600080fd5b50516001600160e01b031916630a85bd0160e11b1490505b95945050505050565b600081848411156148da5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561489f578181015183820152602001614887565b50505050905090810190601f1680156148cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106149235782800160ff19823516178555614950565b82800160010185558215614950579182015b82811115614950578235825591602001919060010190614935565b5061495c929150614960565b5090565b61165e91905b8082111561495c576000815560010161496656fec3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef47534e526563697069656e743a2063616c6c6572206973206e6f742052656c6179487562a265627a7a72315820aeb2269f737ca6a2b6bdd31c852fe51c4693148178650241e64698e032f12e1064736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : gasTokenAddress (address): 0x0000000000000000000000000000000000000000
Arg [1] : payoutWallet (address): 0x0000000000000000000000000000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
96366:9319:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;96366:9319:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42771:278;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;42771:278:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;37793:699;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37793:699:0;-1:-1:-1;;;;;;37793:699:0;;:::i;:::-;;;;;;;;;;;;;;;;;;104977:106;;;:::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;104977:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39447:171;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39447:171:0;;:::i;:::-;;;;-1:-1:-1;;;;;39447:171:0;;;;;;;;;;;;;;55661:143;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;55661:143:0;;;;;;;;:::i;:::-;;104563:206;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;104563:206:0;;:::i;54516:222::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54516:222:0;;:::i;89562:117::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;89562:117:0;-1:-1:-1;;;;;89562:117:0;;:::i;89157:23::-;;;:::i;55957:173::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;55957:173:0;;;;;;;;;;;;;;;;;:::i;102640:194::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;102640:194:0;;;;;;;:::i;56863:329::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;56863:329:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;56863:329:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;56863:329:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;56863:329:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;56863:329:0;;;;;;;;-1:-1:-1;56863:329:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;56863:329:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;56863:329:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;56863:329:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;56863:329:0;;;;;;;;-1:-1:-1;56863:329:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;56863:329:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;56863:329:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;56863:329:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;56863:329:0;;-1:-1:-1;56863:329:0;;-1:-1:-1;;;;;56863:329:0:i;102267:125::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;102267:125:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;102267:125:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;102267:125:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;102267:125:0;;-1:-1:-1;102267:125:0;-1:-1:-1;102267:125:0;:::i;5315:120::-;;;:::i;56138:181::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;56138:181:0;;;;;;;;;;;;;;;;;:::i;2794:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2794:109:0;-1:-1:-1;;;;;2794:109:0;;:::i;43057:671::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;43057:671:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;43057:671:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;43057:671:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;43057:671:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;43057:671:0;;;;;;;;-1:-1:-1;43057:671:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;43057:671:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;43057:671:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;43057:671:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;43057:671:0;;-1:-1:-1;43057:671:0;;-1:-1:-1;;;;;43057:671: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;43057:671:0;;;;;;;;;;;;;;;;;44847:150;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44847:150:0;;:::i;100752:186::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;100752:186:0;;;;;;;;;;;;;:::i;4522:78::-;;;:::i;89187:28::-;;;:::i;38771:228::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38771:228:0;;:::i;89687:160::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;89687:160:0;-1:-1:-1;;;;;89687:160:0;;:::i;3011:79::-;;;:::i;38598:165::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38598:165:0;-1:-1:-1;;;;;38598:165:0;;:::i;88074:140::-;;;:::i;74929:87::-;;;:::i;97288:252::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;97288:252:0;;;;;;;:::i;102004:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;102004:109:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;102004:109:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;102004:109:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;102004:109:0;;-1:-1:-1;102004:109:0;-1:-1:-1;102004:109:0;:::i;78592:211::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;78592:211:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;78592:211:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;78592:211:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;78592:211:0;;-1:-1:-1;78592:211:0;-1:-1:-1;78592:211:0;:::i;2911:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2911:92:0;-1:-1:-1;;;;;2911:92:0;;:::i;90434:641::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;90434:641:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;90434:641:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;90434:641:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;90434:641:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;90434:641:0;;;;;;;;;;;;;;;-1:-1:-1;90434:641:0;;;;;-1:-1:-1;90434:641:0;;-1:-1:-1;90434:641:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;90434:641:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;90434:641:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;90434:641:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;90434:641:0;;-1:-1:-1;;90434:641:0;;;-1:-1:-1;90434:641:0;;-1:-1:-1;;90434:641:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;90434:641:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5102:118;;;:::i;87263:79::-;;;:::i;87629:94::-;;;:::i;99076:235::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;99076:235:0;;;;;;;;;;;;;;;;;;;;:::i;105197:88::-;;;:::i;93671:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;93671:92:0;-1:-1:-1;;;;;93671:92:0;;:::i;93771:79::-;;;:::i;54746:396::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;54746:396:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;54746:396:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;54746:396:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;54746:396:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;54746:396:0;;-1:-1:-1;54746:396:0;;-1:-1:-1;;;;;54746:396:0:i;55812:137::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;55812:137:0;;;;;;;;;;:::i;55150:401::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;55150:401:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;55150:401:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;55150:401:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;55150:401:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;55150:401:0;;-1:-1:-1;55150:401:0;;-1:-1:-1;;;;;55150:401:0:i;93554:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;93554:109:0;-1:-1:-1;;;;;93554:109:0;;:::i;76187:230::-;;;:::i;44178:108::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44178:108:0;;:::i;56327:206::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;56327:206:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;56327:206:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;56327:206:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;56327:206:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;56327:206:0;;-1:-1:-1;56327:206:0;;-1:-1:-1;;;;;56327:206:0:i;89855:113::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;89855:113:0;;:::i;90057:135::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;90057:135:0;;;;;;-1:-1:-1;;;;;90057:135:0;;:::i;43853:142::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43853:142:0;;:::i;105536:146::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;105536:146:0;;:::i;89222:54::-;;;:::i;79452:277::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;79452:277:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;79452:277:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;79452:277:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;79452:277:0;;-1:-1:-1;79452:277:0;-1:-1:-1;79452:277:0;;;;;;;;;;;;;;:::i;98067:648::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;98067:648:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;98067:648:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;98067:648:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;98067:648:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;98067:648:0;;;;;;;;-1:-1:-1;98067:648:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;98067:648:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;98067:648:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;98067:648:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;98067:648:0;;;;;;;;-1:-1:-1;98067:648:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;98067:648:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;98067:648:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;98067:648:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;98067:648:0;;;;;;;;-1:-1:-1;98067:648:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;98067:648:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;98067:648:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;98067:648:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;98067:648:0;;-1:-1:-1;;;;98067:648:0;;;;-1:-1:-1;98067:648:0;:::i;40044:157::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;40044:157:0;;;;;;;;;;:::i;104203:82::-;;;:::i;56642:213::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;56642:213:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;56642:213:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;56642:213:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;56642:213:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;56642:213:0;;-1:-1:-1;56642:213:0;;-1:-1:-1;;;;;56642:213:0:i;88369:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;88369:109:0;-1:-1:-1;;;;;88369:109:0;;:::i;42771:278::-;42843:7;-1:-1:-1;;;;;42871:26:0;;42863:35;;;;;;42915:9;42921:2;42915:5;:9::i;:::-;42911:82;;;42948:11;;;;:7;:11;;;;;;-1:-1:-1;;;;;42948:25:0;;;:11;;:25;:33;;42980:1;42948:33;;;42976:1;42948:33;42941:40;;;;;;42911:82;-1:-1:-1;43016:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;43016:25:0;;;;;;;;;;42771:278;;;;;:::o;37793:699::-;37861:4;-1:-1:-1;;;;;;;;;37936:25:0;;;;:103;;-1:-1:-1;;;;;;;;;;38014:25:0;;;37936:103;:189;;;-1:-1:-1;;;;;;;;;;38100:25:0;;;37936:189;:273;;;-1:-1:-1;;;;;;;;;;38184:25:0;;;37936:273;:352;;;-1:-1:-1;;;;;;;;;;38263:25:0;;;37936:352;:447;;;-1:-1:-1;;;;;;;;;;38358:25:0;;;37936:447;:537;;;-1:-1:-1;;;;;;;;;;38448:25:0;;;37936:537;37878:606;;37793:699;;;;:::o;104977:106::-;105041:34;;;;;;;;;;;;;;;;;104977:106;;:::o;39447:171::-;39506:7;39534:14;39540:7;39534:5;:14::i;:::-;:33;;;;;39552:15;39559:7;39552:6;:15::i;:::-;39526:42;;;;;;-1:-1:-1;39586:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39586:24:0;;39447:171::o;55661:143::-;4759:7;;;;4758:8;4750:37;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;;;;55750:7;54383:12;54392:2;54383:8;:12::i;:::-;54382:13;54374:114;;;;;;55770:26;55784:2;55788:7;55770:13;:26::i;:::-;4798:1;55661:143;;:::o;104563:206::-;104646:9;;;;:5;:9;;;;;;104608:13;;104634:81;;104685:18;104700:2;104685:14;:18::i;:::-;104678:25;;;;104634:81;104751:9;;;;:5;:9;;;;;;104734:27;;:16;:27::i;54516:222::-;54567:4;54588:9;54594:2;54588:5;:9::i;:::-;54584:147;;;54621:18;:36;54640:16;54653:2;54640:12;:16::i;:::-;54621:36;;;;;;;;;;;-1:-1:-1;54621:36:0;;;;;-1:-1:-1;54614:43:0;;54584:147;-1:-1:-1;54697:22:0;;;;:18;:22;;;;;;;;54690:29;;89562:117;87475:9;:7;:9::i;:::-;87467:54;;;;;-1:-1:-1;;;87467:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;87467:54:0;;;;;;;;;;;;;;;89636:9;:35;;-1:-1:-1;;;;;;89636:35:0;-1:-1:-1;;;;;89636:35:0;;;;;;;;;;89562:117::o;89157:23::-;;;-1:-1:-1;;;;;89157:23:0;;:::o;55957:173::-;4759:7;;;;4758:8;4750:37;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;;;;56065:7;54383:12;54392:2;54383:8;:12::i;:::-;54382:13;54374:114;;;;;;56085:37;56104:4;56110:2;56114:7;56085:18;:37::i;:::-;4798:1;55957:173;;;:::o;102640:194::-;93451:22;93460:12;:10;:12::i;:::-;93451:8;:22::i;:::-;93443:83;;;;-1:-1:-1;;;93443:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102725:13;;;;102724:14;:38;;;;-1:-1:-1;102742:20:0;;;102724:38;102716:47;;;;;;102782:10;102789:2;102782:6;:10::i;:::-;102774:19;;;;;;102806:20;102814:2;102818:7;102806;:20::i;:::-;102640:194;;:::o;56863:329::-;4759:7;;;;4758:8;4750:37;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;;;;57029:9;57024:94;57048:3;:10;57044:1;:14;57024:94;;;57089:16;57098:3;57102:1;57098:6;;;;;;;;;;;;;;57089:8;:16::i;:::-;57088:17;57080:26;;;;;;57060:3;;57024:94;;;;57128:56;57156:4;57162:2;57166:3;57171:6;57179:4;57128:27;:56::i;:::-;56863:329;;;;;:::o;102267:125::-;87475:9;:7;:9::i;:::-;87467:54;;;;;-1:-1:-1;;;87467:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;87467:54:0;;;;;;;;;;;;;;;102354:30;:14;102371:13;;102354:30;:::i;5315:120::-;2691:22;2700:12;:10;:12::i;:::-;2691:8;:22::i;:::-;2683:83;;;;-1:-1:-1;;;2683:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4958:7;;;;4950:40;;;;;-1:-1:-1;;;4950:40:0;;;;;;;;;;;;-1:-1:-1;;;4950:40:0;;;;;;;;;;;;;;;5374:7;:15;;-1:-1:-1;;5374:15:0;;;5405:22;5414:12;:10;:12::i;:::-;5405:22;;;-1:-1:-1;;;;;5405:22:0;;;;;;;;;;;;;;5315:120::o;56138:181::-;4759:7;;;;4758:8;4750:37;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;;;;56250:7;54383:12;54392:2;54383:8;:12::i;:::-;54382:13;54374:114;;;;;;56270:41;56293:4;56299:2;56303:7;56270:22;:41::i;2794:109::-;2850:4;2874:21;:8;2887:7;2874:21;:12;:21;:::i;43057:671::-;43179:16;43243:3;:10;43221:11;:18;:32;43213:41;;;;;;43267:25;43309:11;:18;43295:33;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;43295:33:0;-1:-1:-1;43267:61:0;-1:-1:-1;43346:9:0;43341:352;43365:11;:18;43361:1;:22;43341:352;;;43439:3;-1:-1:-1;;;;;43413:30:0;:11;43425:1;43413:14;;;;;;;;;;;;;;-1:-1:-1;;;;;43413:30:0;;;43405:39;;;;;;43461:10;43474:3;43478:1;43474:6;;;;;;;;;;;;;;43461:19;;43501:9;43507:2;43501:5;:9::i;:::-;43497:185;;;43560:11;43572:1;43560:14;;;;;;;;;;;;;;;;;;;43545:11;;;;:7;:11;;;;;;;;-1:-1:-1;;;;;43545:11:0;;;:29;;;:37;;43581:1;43545:37;;;43577:1;43545:37;43531:51;;:8;43540:1;43531:11;;;;;;;;;;;;;:51;;;;;43497:185;;;43637:9;:13;43647:2;43637:13;;;;;;;;;;;:29;43651:11;43663:1;43651:14;;;;;;;;;;;;;;-1:-1:-1;;;;;43637:29:0;-1:-1:-1;;;;;43637:29:0;;;;;;;;;;;;;43623:8;43632:1;43623:11;;;;;;;;;;;;;:43;;;;;43497:185;-1:-1:-1;43385:3:0;;43341:352;;;-1:-1:-1;43712:8:0;43057:671;-1:-1:-1;;;43057:671:0:o;44847:150::-;44896:4;44934:11;;;:7;:11;;;;;;-1:-1:-1;;;;;44934:11:0;44963:26;;;44847:150::o;100752:186::-;93451:22;93460:12;:10;:12::i;93451:22::-;93443:83;;;;-1:-1:-1;;;93443:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100860:22;100871:10;100860;:22::i;:::-;100852:31;;;;;;100894:36;100908:2;100912:10;100924:5;100894:13;:36::i;4522:78::-;4585:7;;;;4522:78;:::o;89187:28::-;;;-1:-1:-1;;;;;89187:28:0;;:::o;38771:228::-;38826:7;38854:14;38860:7;38854:5;:14::i;:::-;38846:23;;;;;;38880:18;38901:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38901:16:0;38936:26;38928:35;;;;;89687:160;87475:9;:7;:9::i;:::-;87467:54;;;;;-1:-1:-1;;;87467:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;87467:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;89770:29:0;;89794:4;89770:29;;89762:38;;;;;;89811:13;:28;;-1:-1:-1;;;;;;89811:28:0;-1:-1:-1;;;;;89811:28:0;;;;;;;;;;89687:160::o;3011:79::-;3055:27;3069:12;:10;:12::i;:::-;3055:13;:27::i;:::-;3011:79::o;38598:165::-;38658:7;-1:-1:-1;;;;;38686:26:0;;38678:35;;;;;;-1:-1:-1;;;;;;38731:24:0;;;;;:12;:24;;;;;;;38598:165::o;88074:140::-;87475:9;:7;:9::i;:::-;87467:54;;;;;-1:-1:-1;;;87467:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;87467:54:0;;;;;;;;;;;;;;;88157:6;;88136:40;;88173:1;;-1:-1:-1;;;;;88157:6:0;;88136:40;;88173:1;;88136:40;88187:6;:19;;-1:-1:-1;;;;;;88187:19:0;;;88074:140::o;74929:87::-;74999:9;;-1:-1:-1;;;;;74999:9:0;74929:87;:::o;97288:252::-;93451:22;93460:12;:10;:12::i;93451:22::-;93443:83;;;;-1:-1:-1;;;93443:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97392:13;;;;:58;;97429:21;;97392:58;;;97407:20;;;97392:58;97384:67;;;;;;97471:19;97477:12;97471:5;:19::i;:::-;97470:20;97462:29;;;;;102004:109;87475:9;:7;:9::i;:::-;87467:54;;;;;-1:-1:-1;;;87467:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;87467:54:0;;;;;;;;;;;;;;;102083:22;:10;102096:9;;102083:22;:::i;78592:211::-;78658:7;78700:12;:10;:12::i;:::-;-1:-1:-1;;;;;78686:26:0;:10;-1:-1:-1;;;;;78686:26:0;;78678:75;;;;-1:-1:-1;;;78678:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78771:24;78787:7;;78771:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;78771:15:0;;-1:-1:-1;;;78771:24:0:i;:::-;78764:31;78592:211;-1:-1:-1;;;78592:211:0:o;2911:92::-;2691:22;2700:12;:10;:12::i;2691:22::-;2683:83;;;;-1:-1:-1;;;2683:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2976:19;2987:7;2976:10;:19::i;:::-;2911:92;:::o;90434:641::-;90735:7;90744:12;89334:4;90827:16;;90807:17;:36;:62;;;;;90778:9;;:25;;;-1:-1:-1;;;90778:25:0;;-1:-1:-1;;;;;90778:25:0;;;;;;;;;90807:62;;;;;90778:9;;;:19;;:25;;;;;;;;;;;;;;:9;:25;;;5:2:-1;;;;30:1;27;20:12;5:2;90778:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;90778:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;90778:25:0;:92;90774:192;;;90894:60;90921:31;90894:18;:60::i;:::-;90887:67;;;;;;90774:192;91005:61;;;-1:-1:-1;;;;;91005:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;91005:61:0;;;;;;;90985:82;;:19;:82::i;:::-;90978:89;;;;90434:641;;;;;;;;;;;;;:::o;5102:118::-;2691:22;2700:12;:10;:12::i;2691:22::-;2683:83;;;;-1:-1:-1;;;2683:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4759:7;;;;4758:8;4750:37;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;;;;5162:7;:14;;-1:-1:-1;;5162:14:0;5172:4;5162:14;;;5192:20;5199:12;:10;:12::i;87263:79::-;87328:6;;-1:-1:-1;;;;;87328:6:0;87263:79;:::o;87629:94::-;87709:6;;87669:4;;-1:-1:-1;;;;;87709:6:0;87693:12;:10;:12::i;:::-;-1:-1:-1;;;;;87693:22:0;;87686:29;;87629:94;:::o;99076:235::-;93451:22;93460:12;:10;:12::i;93451:22::-;93443:83;;;;-1:-1:-1;;;93443:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99197:14;99203:7;99197:5;:14::i;:::-;99189:23;;;;;;99259:44;99276:2;99280:7;99289;99298:4;99259:16;:44::i;105197:88::-;105263:14;;;;;;;;;;;;-1:-1:-1;;;105263:14:0;;;;105197:88;:::o;93671:92::-;93451:22;93460:12;:10;:12::i;93451:22::-;93443:83;;;;-1:-1:-1;;;93443:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93736:19;93747:7;93736:10;:19::i;93771:79::-;93815:27;93829:12;:10;:12::i;:::-;93815:13;:27::i;54746:396::-;2691:22;2700:12;:10;:12::i;2691:22::-;2683:83;;;;-1:-1:-1;;;2683:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54838:9;54833:240;54853:13;:20;54851:1;:22;54833:240;;;54895:20;54918:13;54932:1;54918:16;;;;;;;;;;;;;;54895:39;;54958:19;54964:12;54958:5;:19::i;:::-;54957:20;54949:29;;;;;;55022:32;;;;:18;:32;;;;;:39;;-1:-1:-1;;55022:39:0;55057:4;55022:39;;;;;;54875:3;54833:240;;;;55088:46;55106:13;55121:12;:10;:12::i;:::-;55088:46;;;;;;;-1:-1:-1;;;;;55088:46:0;-1:-1:-1;;;;;55088:46: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;55088:46:0;;;;;;;;;;;;;;;;;;54746:396;:::o;55812:137::-;4759:7;;;;4758:8;4750:37;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;;;;55904;55928:2;55932:8;55904:23;:37::i;55150:401::-;2691:22;2700:12;:10;:12::i;2691:22::-;2683:83;;;;-1:-1:-1;;;2683:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55244:9;55239:241;55259:13;:20;55257:1;:22;55239:241;;;55301:20;55324:13;55338:1;55324:16;;;;;;;;;;;;;;55301:39;;55364:19;55370:12;55364:5;:19::i;:::-;55363:20;55355:29;;;;;;55463:5;55428:32;;;:18;:32;;;;;:40;;-1:-1:-1;;55428:40:0;;;;55281:3;55239:241;;;;55495:48;55515:13;55530:12;:10;:12::i;93554:109::-;93610:4;93634:21;:8;93647:7;93634:21;:12;:21;:::i;76187:230::-;76395:14;;;;;;;;;;;;-1:-1:-1;;;76395:14:0;;;;76187:230;:::o;44178:108::-;-1:-1:-1;;;44255:18:0;:23;;44178:108::o;56327:206::-;4759:7;;;;4758:8;4750:37;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;;;;56458:7;54383:12;54392:2;54383:8;:12::i;:::-;54382:13;54374:114;;;;;;56478:47;56501:4;56507:2;56511:7;56520:4;56478:22;:47::i;89855:113::-;87475:9;:7;:9::i;:::-;87467:54;;;;;-1:-1:-1;;;87467:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;87467:54:0;;;;;;;;;;;;;;;89926:16;:34;89855:113::o;90057:135::-;87475:9;:7;:9::i;:::-;87467:54;;;;;-1:-1:-1;;;87467:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;87467:54:0;;;;;;;;;;;;;;;90152:32;90170:6;90178:5;90152:17;:32::i;43853:142::-;43908:7;43936:9;43942:2;43936:5;:9::i;:::-;43928:18;;;;;;-1:-1:-1;43969:18:0;;43964:23;;43853:142::o;105536:146::-;105594:13;105628:15;105635:7;105628:6;:15::i;:::-;105620:24;;;;;;105662:12;105666:7;105662:3;:12::i;89222:54::-;;;;:::o;79452:277::-;79598:12;:10;:12::i;:::-;-1:-1:-1;;;;;79584:26:0;:10;-1:-1:-1;;;;;79584:26:0;;79576:75;;;;-1:-1:-1;;;79576:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79662:59;79679:7;;79662:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;79688:7:0;;-1:-1:-1;79697:12:0;;-1:-1:-1;79711:9:0;;-1:-1:-1;79662:16:0;:59::i;98067:648::-;93451:22;93460:12;:10;:12::i;93451:22::-;93443:83;;;;-1:-1:-1;;;93443:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98239:2;:9;98225:3;:10;:23;:65;;;;;98279:4;:11;98265:3;:10;:25;98225:65;:109;;;;;98321:6;:13;98307:3;:10;:27;98225:109;98217:118;;;;;;98353:6;98348:360;98369:3;:10;98365:1;:14;98348:360;;;98405:13;98411:3;98415:1;98411:6;;;;;;;;;;;;;;98405:5;:13::i;:::-;:31;;;;;98422:6;98429:1;98422:9;;;;;;;;;;;;;;98435:1;98422:14;98405:31;98401:296;;;98457:46;98474:2;98477:1;98474:5;;;;;;;;;;;;;;98481:3;98485:1;98481:6;;;;;;;;;;;;;;98489:4;98494:1;98489:7;;;;;;;;;;;;;;98498:4;98457:16;:46::i;:::-;98401:296;;;98529:18;98540:3;98544:1;98540:6;;;;;;;;;;;;;;98529:10;:18::i;:::-;:43;;;;;98559:4;98564:1;98559:7;;;;;;;;;;;;;;98551:16;;98571:1;98551:21;98529:43;98525:172;;;98593:39;98607:2;98610:1;98607:5;;;;;;;;;;;;;;98614:3;98618:1;98614:6;;;;;;;;;;;;;;98622;98629:1;98622:9;;;;;;;;;;;;;;98593:13;:39::i;98525:172::-;98381:3;;98348:360;;;;98067:648;;;;;:::o;40044:157::-;-1:-1:-1;;;;;40153:30:0;;;40129:4;40153:30;;;:18;:30;;;;;;;;:40;;;;;;;;;;;;;;;40044:157::o;104203:82::-;93451:22;93460:12;:10;:12::i;93451:22::-;93443:83;;;;-1:-1:-1;;;93443:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104257:13;:20;;-1:-1:-1;;104257:20:0;104273:4;104257:20;;;104203:82::o;56642:213::-;4759:7;;;;4758:8;4750:37;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;-1:-1:-1;;;4750:37:0;;;;;;;;;;;;;;;56783:2;54383:12;54392:2;54383:8;:12::i;:::-;54382:13;54374:114;;;;;;56798:49;56821:4;56827:2;56831;56835:5;56842:4;56798:22;:49::i;88369:109::-;87475:9;:7;:9::i;:::-;87467:54;;;;;-1:-1:-1;;;87467:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;87467:54:0;;;;;;;;;;;;;;;88442:28;88461:8;88442:18;:28::i;44478:196::-;44528:4;-1:-1:-1;;;44605:18:0;;:23;;;;44604:62;;-1:-1:-1;;44641:18:0;;44640:19;44634:26;:31;;;44478:196::o;39007:432::-;39071:18;39092:16;39100:7;39092;:16::i;:::-;39071:37;;39133:10;-1:-1:-1;;;;;39127:16:0;:2;-1:-1:-1;;;;;39127:16:0;;;39119:25;;;;;;39193:14;39210:12;:10;:12::i;:::-;39193:29;;39251:10;-1:-1:-1;;;;;39241:20:0;:6;-1:-1:-1;;;;;39241:20:0;;:62;;;-1:-1:-1;;;;;;39265:30:0;;;;;;;:18;:30;;;;;;;;:38;;;;;;;;;;;;39241:62;39233:71;;;;;;39353:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39353:29:0;-1:-1:-1;;;;;39353:29:0;;;;;;;;;39398:33;;39353:24;;39398:33;;;;;;;39007:432;;;;:::o;103864:172::-;103921:13;103995:10;104007:5;:14;104022:2;104007:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;104007:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;104007:18:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;104007:18:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;104007:18:0;;;;;;;;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;-1:-1;;;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;372:25;;-1:-1;104007:18:0;;420:4:-1;411:14;;;;104007:18:0;;;;;411:14:-1;104007:18: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;104007:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103978:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;103978:48: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;;;103978:48:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;103978:48:0;;;103961:66;;;;;;;;;;;;;;;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;;;103961:66:0;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;103961:66:0;;;103947:81;;103864:172;;;:::o;103512:173::-;103576:13;103633:14;103649:5;:17;103667:7;103649:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;103649:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;103649:26:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;103649:26:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;103649:26:0;;;;;;;;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;-1:-1;;;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;372:25;;-1:-1;103649:26:0;;420:4:-1;411:14;;;;103649:26:0;;;;;411:14:-1;103649:26: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;103649:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103616:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;103616:60: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;;;103616:60:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;103616:60:0;;;103602:75;;103512:173;;;:::o;40209:134::-;40292:43;40306:4;40312:2;40316:7;40292:43;;;;;;;;;;;;40329:5;40292:13;:43::i;77389:216::-;77480:9;;77434:15;;-1:-1:-1;;;;;77480:9:0;77466:10;:23;77462:136;;-1:-1:-1;77513:10:0;77506:17;;77462:136;77563:23;:21;:23::i;:::-;77556:30;;;;103051:264;103121:20;;103117:191;;103158:9;;;;:5;:9;;;;;:19;;;103164:2;103197:34;103201:25;103170:7;103201:16;:25::i;:::-;103197:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;103197:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103117:191;;;103293:2;103269:27;103273:18;103288:2;103273:14;:18::i;:::-;103269:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;103269:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103051:264;;:::o;41611:1152::-;-1:-1:-1;;;;;41817:18:0;;41809:27;;;;;;41869:6;:13;41855:3;:10;:27;41847:36;;;;;;42026:14;42043:12;:10;:12::i;:::-;42026:29;;42082:6;-1:-1:-1;;;;;42074:14:0;:4;-1:-1:-1;;;;;42074:14:0;;:58;;;-1:-1:-1;;;;;;42092:24:0;;;;;;;:18;:24;;;;;;;;:32;;;;;;;;;;;;;;:40;;;42074:58;42066:67;;;;;;42151:9;42146:454;42170:3;:10;42166:1;:14;42146:454;;;42202:10;42215:3;42219:1;42215:6;;;;;;;;;;;;;;42202:19;;42236:13;42252:6;42259:1;42252:9;;;;;;;;;;;;;;42236:25;;42282:14;42293:2;42282:10;:14::i;:::-;:27;;;;;42308:1;42300:5;:9;42282:27;42278:311;;;42330:38;42348:4;42354:2;42358;42362:5;42330:17;:38::i;:::-;42278:311;;;42394:9;42400:2;42394:5;:9::i;:::-;:23;;;;;42407:5;42416:1;42407:10;42394:23;42390:199;;;42438:40;42459:4;42465:2;42469;42473:4;42438:20;:40::i;:::-;42521:2;42517;-1:-1:-1;;;;;42502:22:0;42511:4;-1:-1:-1;;;;;42502:22:0;-1:-1:-1;;;;;;;;;;;42502:22:0;;;;;;;;;42390:199;-1:-1:-1;;42182:3:0;;42146:454;;;;42645:2;-1:-1:-1;;;;;42617:44:0;42639:4;-1:-1:-1;;;;;42617:44:0;42631:6;-1:-1:-1;;;;;42617:44:0;;42649:3;42654:6;42617: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;42617: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;42617:44:0;;;;;;;;;;;;;;;;;;;42680:74;42718:6;42726:4;42732:2;42736:3;42741:6;42749:4;42680:37;:74::i;:::-;42672:83;;;;;40351:137;40438:42;40452:4;40458:2;40462:7;40438:42;;;;;;;;;;;;40475:4;40438:13;:42::i;2059:203::-;2131:4;-1:-1:-1;;;;;2156:21:0;;2148:68;;;;-1:-1:-1;;;2148:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2234:20:0;:11;:20;;;;;;;;;;;;;;;2059:203::o;101252:520::-;-1:-1:-1;;;;;101350:18:0;;101342:27;;;;;;101396:1;101388:5;:9;101380:18;;;;;;101452:9;:21;;;;;;;;;;;-1:-1:-1;;;;;101452:25:0;;;;;;;;;;101439:46;;101479:5;101439:12;:46::i;:::-;101411:9;:21;;;;;;;;;;;-1:-1:-1;;;;;101411:25:0;;;;;;;;;:74;;;;101518:12;:10;:12::i;:::-;-1:-1:-1;;;;;101503:65:0;-1:-1:-1;;;;;;;;;;;101550:10:0;101562:5;101503:65;;;;;;;;;;;;;;;;;;;;;;;;101639:101;101672:12;:10;:12::i;:::-;101694:3;101700:2;101704:10;101716:5;101639:101;;;;;;;;;;;;101727:5;101734;101639:32;:101::i;:::-;101581:183;;;;;-1:-1:-1;;;101581:183:0;;;;;;;;;;;;-1:-1:-1;;;101581:183:0;;;;;;;;;;;;;;3228:130;3288:24;:8;3304:7;3288:24;:15;:24;:::i;:::-;3328:22;;-1:-1:-1;;;;;3328:22:0;;;;;;;;3228:130;:::o;91512:371::-;91577:7;91598:12;91612:25;91652:7;91641:39;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;91641:39:0;;;;;;;91767:9;;91796:13;;91831:16;;91767:107;;;-1:-1:-1;;;91767:107:0;;-1:-1:-1;;;;;91767:107:0;;;;;;;91796:13;;;91767:107;;;;89334:4;91811:36;;;:62;;;;91767:107;;;;;91641:39;;-1:-1:-1;91641:39:0;;-1:-1:-1;91767:9:0;;:22;;:107;;;;;;;;;;-1:-1:-1;91767:9:0;:107;;;5:2:-1;;;;30:1;27;20:12;5:2;91767:107:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;91767:107:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;91767:107:0;91759:116;;;;;;91512:371;;;;;:::o;3098:122::-;3155:21;:8;3168:7;3155:21;:12;:21;:::i;:::-;3192:20;;-1:-1:-1;;;;;3192:20:0;;;;;;;;3098:122;:::o;80924:158::-;81028:46;;;;;;;;;-1:-1:-1;81028:46:0;;74507:2;81036:33;;;;;80924:158::o;80633:155::-;80707:7;;80633:155::o;99651:772::-;-1:-1:-1;;;;;99757:18:0;;99749:27;;;;;;99796:10;99803:2;99796:6;:10::i;:::-;99795:11;99787:20;;;;;;99846:18;;99820;99877:11;;;:7;:11;;;;;;;;:16;;-1:-1:-1;;;;;;99877:16:0;-1:-1:-1;;;;;99877:16:0;;;;;;;;99936;;:12;:16;;;;;;99841:23;;;;99923:33;;-1:-1:-1;99923:12:0;:33::i;:::-;-1:-1:-1;;;;;99904:16:0;;;;;;:12;:16;;;;;;;;:52;;;;100008:21;;;;;;;;;:25;;;;;;;;;99995:42;;100035:1;99995:12;:42::i;:::-;99967:9;:21;;;;;;;;;;;-1:-1:-1;;;;;99967:25:0;;;;;;;;;;:70;;;;100055:30;;100082:2;;99967:25;:9;-1:-1:-1;;;;;;;;;;;100055:30:0;99967:9;;100055:30;-1:-1:-1;;;;;100101:53:0;;100138:3;100116:12;:10;:12::i;:::-;-1:-1:-1;;;;;100101:53:0;-1:-1:-1;;;;;;;;;;;100148:2:0;100152:1;100101:53;;;;;;;;;;;;;;;;;;;;;;;;100167:20;100175:2;100179:7;100167;:20::i;:::-;100204:4;100200:216;;;100287:89;100320:12;:10;:12::i;:::-;100342:3;100348:2;100352;100356:1;100287:89;;;;;;;;;;;;100363:5;100370;100287:32;:89::i;:::-;100225:179;;;;;-1:-1:-1;;;100225:179:0;;;;;;;;;;;;-1:-1:-1;;;100225:179:0;;;;;;;;;;;;;;93858:122;93915:21;:8;93928:7;93915:21;:12;:21;:::i;:::-;93952:20;;-1:-1:-1;;;;;93952:20:0;;;;;;;;93858:122;:::o;93988:130::-;94048:24;:8;94064:7;94048:24;:15;:24;:::i;:::-;94088:22;;-1:-1:-1;;;;;94088:22:0;;;;;;;;93988:130;:::o;39626:192::-;39698:14;39715:12;:10;:12::i;:::-;39698:29;;39752:6;-1:-1:-1;;;;;39746:12:0;:2;-1:-1:-1;;;;;39746:12:0;;;39738:21;;;;;;39770:40;39789:6;39797:2;39801:8;39770:18;:40::i;40496:158::-;40602:44;40616:4;40622:2;40626:7;40635:4;40641;40602:13;:44::i;76612:138::-;76708:9;;76698:44;;;-1:-1:-1;;;76698:44:0;;;;;;;;-1:-1:-1;;;;;76698:44:0;;;;;;;;;76708:9;;;;;76698:29;;:44;;;;;76708:9;;76698:44;;;;;;;76708:9;;76698:44;;;5:2:-1;;;;30:1;27;20:12;5:2;76698:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;92029:993:0;92135:12;92149:25;92176:22;92200:16;92244:7;92233:57;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;92233:57:0;;;;;;;;;;;;;;;;;-1:-1:-1;92233:57:0;-1:-1:-1;92233:57:0;;-1:-1:-1;92233:57:0;-1:-1:-1;92556:22:0;92581:88;92596:46;74625:6;92636:5;92596:12;:46::i;:::-;92644:8;92654:14;92581;:88::i;:::-;92556:113;;92695:42;92708:12;92722:14;92695:12;:42::i;:::-;92878:9;;92901:13;;92970:16;;92680:57;;-1:-1:-1;;;;;;92878:9:0;;;;:22;;92901:13;;;;92916:4;;89334;;92922:45;92935:17;92680:57;92922:12;:45::i;:::-;:64;:90;;;;;;92878:135;;;;;;;;;;;;;-1:-1:-1;;;;;92878:135:0;-1:-1:-1;;;;;92878:135:0;;;;;;-1:-1:-1;;;;;92878:135:0;-1:-1:-1;;;;;92878:135:0;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;92878:135:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;92878:135:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;92878:135:0;92870:144;;;;;;92029:993;;;;;;;;;:::o;40767:836::-;-1:-1:-1;;;;;40948:18:0;;40940:27;;;;;;40980:14;40997:12;:10;:12::i;:::-;40980:29;;41020:15;41047:6;-1:-1:-1;;;;;41039:14:0;:4;-1:-1:-1;;;;;41039:14:0;;:58;;;-1:-1:-1;;;;;;41057:24:0;;;;;;;:18;:24;;;;;;;;:32;;;;;;;;;;;;;;:40;;;41039:58;41020:78;;41115:14;41126:2;41115:10;:14::i;:::-;:27;;;;;41141:1;41133:5;:9;41115:27;41111:323;;;41167:10;41159:19;;;;;;41193:38;41211:4;41217:2;41221;41225:5;41193:17;:38::i;:::-;41111:323;;;41253:9;41259:2;41253:5;:9::i;:::-;:23;;;;;41266:5;41275:1;41266:10;41253:23;41249:185;;;41293:46;41314:4;41320:2;41324;41328:10;41293:20;:46::i;:::-;41378:2;41374;-1:-1:-1;;;;;41359:22:0;41368:4;-1:-1:-1;;;;;41359:22:0;-1:-1:-1;;;;;;;;;;;41359:22:0;;;;;;;;;41249:185;41480:2;-1:-1:-1;;;;;41451:43:0;41474:4;-1:-1:-1;;;;;41451:43:0;41466:6;-1:-1:-1;;;;;41451:43:0;-1:-1:-1;;;;;;;;;;;41484:2:0;41488:5;41451:43;;;;;;;;;;;;;;;;;;;;;;;;41513:81;41546:6;41554:4;41560:2;41564;41568:5;41575:4;41581:5;41588;41513:32;:81::i;:::-;41505:90;;;;;;40767:836;;;;;;;:::o;88584:229::-;-1:-1:-1;;;;;88658:22:0;;88650:73;;;;-1:-1:-1;;;88650:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88760:6;;88739:38;;-1:-1:-1;;;;;88739:38:0;;;;88760:6;;88739:38;;88760:6;;88739:38;88788:6;:17;;-1:-1:-1;;;;;;88788:17:0;-1:-1:-1;;;;;88788:17:0;;;;;;;;;;88584:229::o;45599:587::-;-1:-1:-1;;;;;45723:18:0;;45715:27;;;;;;45761:14;45767:7;45761:5;:14::i;:::-;45753:23;;;;;;45789:14;45806:12;:10;:12::i;:::-;45789:29;;45829:15;45856:6;-1:-1:-1;;;;;45848:14:0;:4;-1:-1:-1;;;;;45848:14:0;;:58;;;-1:-1:-1;;;;;;45866:24:0;;;;;;;:18;:24;;;;;;;;:32;;;;;;;;;;;;;;:40;;;45848:58;45829:78;;45920:51;45941:4;45947:2;45951:7;45960:10;45920:20;:51::i;:::-;46008:7;46004:2;-1:-1:-1;;;;;45989:27:0;45998:4;-1:-1:-1;;;;;45989:27:0;-1:-1:-1;;;;;;;;;;;45989:27:0;;;;;;;;;46061:2;-1:-1:-1;;;;;46032:44:0;46055:4;-1:-1:-1;;;;;46032:44:0;46047:6;-1:-1:-1;;;;;46032:44:0;-1:-1:-1;;;;;;;;;;;46065:7:0;46074:1;46032:44;;;;;;;;;;;;;;;;;;;;;;;;46097:80;46130:6;46138:4;46144:2;46148:7;46157:1;46160:4;46166;46172;46097:32;:80::i;81598:1270::-;81653:22;82471:18;82492:8;;82471:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;82527:8:0;82763:17;82757:24;-1:-1:-1;;;;;82753:73:0;;81598:1270;-1:-1:-1;;81598:1270:0:o;47860:289::-;48015:9;:23;;;;;;;;;;;-1:-1:-1;;;;;48015:29:0;;;;;;;;;;48002:50;;48046:5;48002:12;:50::i;:::-;47970:9;:23;;;;;;;;;;;-1:-1:-1;;;;;47970:29:0;;;;;;;;;;:82;;;;48106:27;;;;;;48093:48;;48135:5;48093:12;:48::i;:::-;48063:9;:23;;;;;;;;;;;-1:-1:-1;;;;;48063:27:0;;;;;;;;;;;;:78;;;;-1:-1:-1;;47860:289:0:o;46636:810::-;46757:11;;;;:7;:11;;;;;;-1:-1:-1;;;;;46749:19:0;;;46757:11;;46749:19;46741:28;;;;;;46782:14;46799:12;:10;:12::i;:::-;46782:29;;46830:10;:35;;;;46859:6;-1:-1:-1;;;;;46844:21:0;:11;46852:2;46844:7;:11::i;:::-;-1:-1:-1;;;;;46844:21:0;;46830:35;:64;;;;46888:6;-1:-1:-1;;;;;46869:25:0;:15;46881:2;46869:11;:15::i;:::-;-1:-1:-1;;;;;46869:25:0;;46830:64;46822:73;;;;;;46970:3;46939:19;;;:15;:19;;;;;;-1:-1:-1;;;;;46939:19:0;:35;46935:102;;47021:3;46991:19;;;:15;:19;;;;;:34;;-1:-1:-1;;;;;;46991:34:0;;;46935:102;47077:18;;47072:23;;47049:20;47151:23;;;;;;;;;;;-1:-1:-1;;;;;47151:29:0;;;;;;;;;;47138:46;;47182:1;47138:12;:46::i;:::-;47106:9;:23;;;;;;;;;;;-1:-1:-1;;;;;47106:29:0;;;;;;;;;;:78;;;;47238:27;;;;;;47225:44;;47267:1;47225:12;:44::i;:::-;47195:9;:23;;;;;;;;;;;-1:-1:-1;;;;;47195:27:0;;;;;;;;;;;:74;;;;47320:18;;;;;:12;:18;;;;47307:35;;47340:1;47307:12;:35::i;:::-;-1:-1:-1;;;;;47286:18:0;;;;;;;:12;:18;;;;;;:56;;;;47385:16;;;;;;;47372:33;;47403:1;47372:12;:33::i;:::-;-1:-1:-1;;;;;47353:16:0;;;;;;;:12;:16;;;;;;;;:52;;;;47422:11;;;:7;:11;;;;;;;:16;;-1:-1:-1;;;;;;47422:16:0;;;;;;;-1:-1:-1;;;;46636:810:0:o;51598:531::-;51834:4;51861:22;51880:2;51861:18;:22::i;:::-;51856:67;;-1:-1:-1;51907:4:0;51900:11;;51856:67;51933:13;51971:2;-1:-1:-1;;;;;51949:48:0;;51998:8;52008:4;52014:3;52019:6;52027:4;51949:83;;;;;;;;;;;;;-1:-1:-1;;;;;51949:83:0;-1:-1:-1;;;;;51949:83:0;;;;;;-1:-1:-1;;;;;51949:83:0;-1:-1:-1;;;;;51949:83: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;51949:83: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;51949:83: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;51949:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51949:83:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51949:83:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51949:83:0;-1:-1:-1;;;;;;52051:20:0;-1:-1:-1;;;52051:20:0;;-1:-1:-1;;51598:531:0;;;;;;;;;:::o;7061:181::-;7119:7;7151:5;;;7175:6;;;;7167:46;;;;;-1:-1:-1;;;7167:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;50031:809;50290:4;50317:22;50336:2;50317:18;:22::i;:::-;50312:67;;-1:-1:-1;50363:4:0;50356:11;;50312:67;50393:6;50389:293;;;50421:27;50445:2;50421:23;:27::i;:::-;50416:255;;50473:10;50469:187;;;50515:61;50547:8;50557:4;50563:2;50567;50571:4;50515:31;:61::i;:::-;50508:68;;;;50469:187;-1:-1:-1;50632:4:0;50625:11;;50469:187;50721:2;-1:-1:-1;;;;;50699:43:0;;50743:8;50753:4;50759:2;50763:5;50770:4;50699:76;;;;;;;;;;;;;-1:-1:-1;;;;;50699:76:0;-1:-1:-1;;;;;50699:76:0;;;;;;-1:-1:-1;;;;;50699:76:0;-1:-1:-1;;;;;50699:76: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;50699:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50699:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50699:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50699:76:0;-1:-1:-1;;;;;;50699:90:0;-1:-1:-1;;;50699:90:0;;-1:-1:-1;50031:809:0;;;;;;;;;;;:::o;1781:183::-;1861:18;1865:4;1871:7;1861:3;:18::i;:::-;1853:64;;;;-1:-1:-1;;;1853:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1928:20:0;1951:5;1928:20;;;;;;;;;;;:28;;-1:-1:-1;;1928:28:0;;;1781:183::o;1523:178::-;1601:18;1605:4;1611:7;1601:3;:18::i;:::-;1600:19;1592:63;;;;;-1:-1:-1;;;1592:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1666:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;1666:27:0;1689:4;1666:27;;;1523:178::o;39826:210::-;-1:-1:-1;;;;;39923:26:0;;;;;;;:18;:26;;;;;;;;:36;;;;;;;;;;;;;:47;;-1:-1:-1;;39923:47:0;;;;;;;;;;39986:42;;;;;;;;;;;;;;;;;39826:210;;;:::o;7517:136::-;7575:7;7602:43;7606:1;7609;7602:43;;;;;;;;;;;;;;;;;:3;:43::i;81246:344::-;81579:3;81558:16;;;81540:14;;;;:35;81539:43;;81246:344::o;12421:619::-;12481:4;12949:20;;12792:66;12989:23;;;;;;:42;;-1:-1:-1;13016:15:0;;;12989:42;12981:51;12421:619;-1:-1:-1;;;;12421:619:0:o;52365:1321::-;52705:4;52699:11;-1:-1:-1;;;52797:30:0;;;-1:-1:-1;;;52919:4:0;52912:12;;52905:39;;;52439:4;;52456:37;;52504:39;52439:4;;;;53337;52699:11;53204:4;52699:11;53094:9;53050:5;53021:321;53011:331;;53411:1;53405:8;53396:17;;52676:783;53634:3;53622:9;:15;53615:23;;;;53656:7;:22;;;;-1:-1:-1;53677:1:0;53667:11;;53649:29;-1:-1:-1;;;;;52365:1321:0:o;48838:429::-;49028:4;49055:22;49074:2;49055:18;:22::i;:::-;49050:67;;-1:-1:-1;49101:4:0;49094:11;;49050:67;49135;;-1:-1:-1;;;49135:67:0;;-1:-1:-1;;;;;49135:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:36;;;;;;49172:8;;49182:4;;49188:7;;49197:4;;49135:67;;;;;;;;;;;;-1:-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;49135:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49135:67:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49135:67:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49135:67:0;-1:-1:-1;;;;;;49135:81:0;-1:-1:-1;;;49135:81:0;;-1:-1:-1;48838:429:0;;;;;;;;:::o;7990:192::-;8076:7;8112:12;8104:6;;;;8096:29;;;;-1:-1:-1;;;8096:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8096:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8148:5:0;;;7990:192::o;96366:9319::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;96366:9319:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96366:9319:0;;;-1:-1:-1;96366:9319:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://aeb2269f737ca6a2b6bdd31c852fe51c4693148178650241e64698e032f12e10
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.