Token
AVATAR (AVT)
ERC-721
Overview
Max Total Supply
512 AVT
Holders
7
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
7 AVTLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
Buddy
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at mumbai.polygonscan.com on 2022-03-11 */ // SPDX-License-Identifier: UNLICENSED // Sources flattened with hardhat v2.4.1 https://hardhat.org // File @openzeppelin/contracts-upgradeable/introspection/[email protected] pragma solidity ^0.7.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 IERC165Upgradeable { /** * @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-upgradeable/utils/[email protected] pragma solidity ^0.7.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{value: value}( data ); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts-upgradeable/proxy/[email protected] // solhint-disable-next-line compiler-version pragma solidity >=0.4.24 <0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require( _initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized" ); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } } // File @openzeppelin/contracts-upgradeable/introspection/[email protected] pragma solidity ^0.7.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } uint256[49] private __gap; } // File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected] /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the name of token. */ function name() external view returns (string memory); /** * @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 ); } pragma solidity ^0.7.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected] pragma solidity ^0.7.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected] pragma solidity ^0.7.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721EnumerableUpgradeable is IERC721Upgradeable { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected] pragma solidity ^0.7.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721ReceiverUpgradeable { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } pragma solidity ^0.7.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface collectionContract { function lock(uint256 tokenId) external; function ownerOf(uint256 tokenId) external view returns (address); } // File @openzeppelin/contracts-upgradeable/math/[email protected] pragma solidity ^0.7.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 SafeMathUpgradeable { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File @openzeppelin/contracts-upgradeable/utils/[email protected] pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer {} function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } uint256[50] private __gap; } // File @openzeppelin/contracts-upgradeable/utils/[email protected] pragma solidity ^0.7.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSetUpgradeable { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require( set._values.length > index, "EnumerableSet: index out of bounds" ); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File @openzeppelin/contracts-upgradeable/utils/[email protected] pragma solidity ^0.7.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMapUpgradeable { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping(bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set( Map storage map, bytes32 key, bytes32 value ) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({_key: key, _value: value})); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require( map._entries.length > index, "EnumerableMap: index out of bounds" ); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get( Map storage map, bytes32 key, string memory errorMessage ) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( UintToAddressMap storage map, uint256 key, address value ) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( UintToAddressMap storage map, uint256 key, string memory errorMessage ) internal view returns (address) { return address( uint160(uint256(_get(map._inner, bytes32(key), errorMessage))) ); } } // File @openzeppelin/contracts-upgradeable/utils/[email protected] pragma solidity ^0.7.0; /** * @dev String operations. */ library StringsUpgradeable { /** * @dev Converts a `uint256` to its ASCII `string` representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = bytes1(uint8(48 + (temp % 10))); temp /= 10; } return string(buffer); } } // File contracts/mixins/ERC721Upgradeable.sol // solhint-disable /** * Copied from the OpenZeppelin repository in order to make `_tokenURIs` internal instead of private. */ pragma solidity ^0.7.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable, IERC721EnumerableUpgradeable { using SafeMathUpgradeable for uint256; using AddressUpgradeable for address; using EnumerableSetUpgradeable for EnumerableSetUpgradeable.UintSet; using EnumerableMapUpgradeable for EnumerableMapUpgradeable.UintToAddressMap; using StringsUpgradeable for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping(address => EnumerableSetUpgradeable.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMapUpgradeable.UintToAddressMap private _tokenOwners; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; //Mapping from tokenId to Properties mapping(uint256 => string[]) public tokenIdToProp; ////Mapping from Properties to its value mapping(uint256 => mapping(string => string[])) public propTovalue; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping(uint256 => string) internal _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ function __ERC721_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _tokenOwners.get( tokenId, "ERC721: owner query for nonexistent token" ); } /** * @dev See {IERC721Metadata-name}. */ function name() public view override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory _tokenURI = _tokenURIs[tokenId]; // If there is no base URI, return the token URI. if (bytes(_baseURI).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(_baseURI, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(_baseURI, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require( _exists(tokenId), "ERC721Metadata: URI set of nonexistent token" ); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (!to.isContract()) { return true; } bytes memory returndata = to.functionCall( abi.encodeWithSelector( IERC721ReceiverUpgradeable(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer" ); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } function _approve(address to, uint256 tokenId) private { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} uint256[41] private __gap; } // File contracts/roles/TreasuryNode.sol pragma solidity ^0.7.0; /** * @notice A mixin that stores a reference to the Buddy treasury contract. */ abstract contract TreasuryNode is Initializable { using AddressUpgradeable for address payable; address payable private treasury; /** * @dev Called once after the initial deployment to set the Buddy treasury address. */ function _initializeTreasuryNode(address payable _treasury) internal initializer { require( _treasury.isContract(), "TreasuryNode: Address is not a contract" ); treasury = _treasury; } /** * @notice Returns the address of the Buddy treasury. */ function getBuddyTreasury() public view returns (address payable) { return treasury; } // `______gap` is added to each mixin to allow adding new data slots or additional mixins in an upgrade-safe way. uint256[2000] private __gap; } // File contracts/interfaces/IAdminRole.sol pragma solidity ^0.7.0; /** * @notice Interface for AdminRole which wraps the default admin role from * OpenZeppelin's AccessControl for easy integration. */ interface IAdminRole { function isAdmin(address account) external view returns (bool); } // File contracts/roles/BuddyAdminRole.sol pragma solidity ^0.7.0; /** * @notice Allows a contract to leverage the admin role defined by the Buddy treasury. */ abstract contract BuddyAdminRole is TreasuryNode { // This file uses 0 data slots (other than what's included via TreasuryNode) modifier onlyBuddyAdmin() { require( _isBuddyAdmin(), "BuddyAdminRole: caller does not have the Admin role" ); _; } function _isBuddyAdmin() internal view returns (bool) { return IAdminRole(getBuddyTreasury()).isAdmin(msg.sender); } } // File contracts/interfaces/IOperatorRole.sol pragma solidity ^0.7.0; /** * @notice Interface for OperatorRole which wraps a role from * OpenZeppelin's AccessControl for easy integration. */ interface IOperatorRole { function isOperator(address account) external view returns (bool); } // File contracts/roles/BuddyOperatorRole.sol pragma solidity ^0.7.0; /** * @notice Allows a contract to leverage the operator role defined by the Buddy treasury. */ abstract contract BuddyOperatorRole is TreasuryNode { // This file uses 0 data slots (other than what's included via TreasuryNode) function _isBuddyOperator() internal view returns (bool) { return IOperatorRole(getBuddyTreasury()).isOperator(msg.sender); } } // File contracts/mixins/NFT721Core.sol pragma solidity ^0.7.0; /** * @notice A place for common modifiers and functions used by various NFT721 mixins, if any. * @dev This also leaves a gap which can be used to add a new mixin to the top of the inheritance tree. */ abstract contract NFT721Core { uint256[1000] private ______gap; } // File contracts/mixins/NFT721Creator.sol pragma solidity ^0.7.0; /** * @notice Allows each token to be associated with a creator. */ abstract contract NFT721Creator is Initializable, ERC721Upgradeable { mapping(uint256 => address payable) private tokenIdToCreator; /** * @dev Stores an optional alternate address to receive creator revenue and royalty payments. */ event TokenCreatorUpdated( address indexed fromCreator, address indexed toCreator, uint256 indexed tokenId ); /* * bytes4(keccak256('tokenCreator(uint256)')) == 0x40c1a064 */ bytes4 private constant _INTERFACE_TOKEN_CREATOR = 0x40c1a064; /* * bytes4(keccak256('getTokenCreatorPaymentAddress(uint256)')) == 0xec5f752e; */ bytes4 private constant _INTERFACE_TOKEN_CREATOR_PAYMENT_ADDRESS = 0xec5f752e; modifier onlyCreatorAndOwner(uint256 tokenId) { require( tokenIdToCreator[tokenId] == msg.sender, "NFT721Creator: Caller is not creator" ); require( ownerOf(tokenId) == msg.sender, "NFT721Creator: Caller does not own the NFT" ); _; } /** * @dev Called once after the initial deployment to register the interface with ERC165. */ function _initializeNFT721Creator() internal initializer { _registerInterface(_INTERFACE_TOKEN_CREATOR); } /** * @notice Allows ERC165 interfaces which were not included originally to be registered. * @dev Currently this is the only new interface, but later other mixins can overload this function to do the same. */ function registerInterfaces() public { _registerInterface(_INTERFACE_TOKEN_CREATOR_PAYMENT_ADDRESS); } /** * @notice Returns the creator's address for a given tokenId. */ function tokenCreator(uint256 tokenId) public view returns (address payable) { return tokenIdToCreator[tokenId]; } function _updateTokenCreator(uint256 tokenId, address payable creator) internal { emit TokenCreatorUpdated(tokenIdToCreator[tokenId], creator, tokenId); tokenIdToCreator[tokenId] = creator; } /** * @notice Allows the creator to burn if they currently own the NFT. */ function burn(uint256 tokenId) public onlyCreatorAndOwner(tokenId) { _burn(tokenId); } /** * @dev Remove the creator record when burned. */ function _burn(uint256 tokenId) internal virtual override { delete tokenIdToCreator[tokenId]; super._burn(tokenId); } uint256[999] private ______gap; } // File contracts/mixins/NFT721Metadata.sol pragma solidity ^0.7.0; /** * @notice A mixin to extend the OpenZeppelin metadata implementation. */ abstract contract NFT721Metadata is NFT721Creator { //address DefaultNFT; //address defaultNFTAdmin; uint256 transferTokenId=1; using StringsUpgradeable for uint256; /** * @dev Stores hashes minted by a creator to prevent duplicates. */ mapping(address => mapping(string => bool)) private creatorToIPFSHashToMinted; event BaseURIUpdated(string baseURI); event TokenIPFSPathUpdated( uint256 indexed tokenId, string indexed indexedTokenIPFSPath, string tokenIPFSPath ); // This event was used in an order version of the contract event NFTMetadataUpdated(string name, string symbol, string baseURI); /** * @notice Returns the IPFSPath to the metadata JSON file for a given NFT. */ function getTokenIPFSPath(uint256 tokenId) public view returns (string memory) { return _tokenURIs[tokenId]; } /** * @notice Checks if the creator has already minted a given NFT. */ function getHasCreatorMintedIPFSHash( address creator, string memory tokenIPFSPath ) public view returns (bool) { return creatorToIPFSHashToMinted[creator][tokenIPFSPath]; } function _updateBaseURI(string memory _baseURI) internal { _setBaseURI(_baseURI); emit BaseURIUpdated(_baseURI); } /** * @dev The IPFS path should be the CID + file.extension, e.g. * `QmfPsfGwLhiJrU8t9HpG4wuyjgPo9bk8go4aQqSu9Qg4h7/metadata.json` */ function _setTokenIPFSPath(uint256 tokenId, string memory _tokenIPFSPath) internal { // 46 is the minimum length for an IPFS content hash, it may be longer if paths are used require( bytes(_tokenIPFSPath).length >= 46, "NFT721Metadata: Invalid IPFS path" ); require( !creatorToIPFSHashToMinted[msg.sender][_tokenIPFSPath], "NFT721Metadata: NFT was already minted" ); creatorToIPFSHashToMinted[msg.sender][_tokenIPFSPath] = true; _setTokenURI(tokenId, _tokenIPFSPath); } /** * @dev When a token is burned, remove record of it allowing that creator to re-mint the same NFT again in the future. */ function _burn(uint256 tokenId) internal virtual override { delete creatorToIPFSHashToMinted[msg.sender][_tokenURIs[tokenId]]; super._burn(tokenId); } uint256[999] private ______gap; } // File contracts/mixins/NFT721Mint.sol pragma solidity ^0.7.0; pragma experimental ABIEncoderV2; /** * @notice Allows creators to mint NFTs. */ abstract contract NFT721Mint is Initializable, ERC721Upgradeable, NFT721Creator, NFT721Metadata, BuddyAdminRole { //mapping tokens to feesAmount mapping(address => uint256) public feesAmount; mapping(address => uint256) public updateFee; mapping(address => bool) public tokenAddress; mapping(uint256 => mapping(address => uint256[])) mapTokenIds; uint256 private nextTokenId; event Minted( address indexed creator, uint256 indexed tokenId, string indexed indexedTokenIPFSPath, string tokenIPFSPath, string[] category, string[] values ); event Updated( address indexed creator, uint256 indexed tokenId, string indexed indexedTokenIPFSPath, string tokenIPFSPath, string[] category, string[] values ); event TokenUpdated( address indexed tokenAddress, bool status, uint256 mintFee, uint256 uriUpdateFee ); event TokenFeesUpdated( address indexed tokenAddress, uint256 mintFee, uint256 uriUpdateFee ); /** * @notice Gets the tokenId of the next NFT minted. */ function getNextTokenId() public view returns (uint256) { return nextTokenId; } /** * @dev Called once after the initial deployment to set the initial tokenId. */ function _initializeNFT721Mint() internal initializer { // Use ID 1 for the first NFT tokenId nextTokenId = 1; } /** * @notice Allows a creator to mint an NFT. */ function mint( string memory tokenIPFSPath, address paymentMode, uint256[] memory tokenIds, address[] memory collectionAddress, string[] memory properties, string[] memory values ) public payable returns (uint256 tokenId) { require(tokenAddress[paymentMode] == true, "Buddy: Payment mode is not accepted"); if (paymentMode != address(0)) { IERC20(paymentMode).transferFrom(msg.sender, getBuddyTreasury(), feesAmount[paymentMode]); } else { require( msg.value >= feesAmount[paymentMode], "Buddy: Fees Amount is low" ); getBuddyTreasury().transfer(address(this).balance); } tokenId = nextTokenId++; if(tokenIds[0]!=0) { for(uint256 i=0 ;i< tokenIds.length; i++) { require(msg.sender == collectionContract(collectionAddress[i]).ownerOf(tokenIds[i]),"Buddy: You are not the owner"); collectionContract(collectionAddress[i]).lock(tokenIds[i]); mapTokenIds[tokenId][collectionAddress[i]].push(tokenIds[i]); } } _mint(msg.sender, tokenId); _updateTokenCreator(tokenId, msg.sender); _setTokenIPFSPath(tokenId, tokenIPFSPath); for(uint256 i=0; i < properties.length; i++) { tokenIdToProp[tokenId].push(properties[i]); } for(uint256 i=0; i< properties.length; i++) { propTovalue[tokenId][properties[i]].push(values[i]); } emit Minted(msg.sender, tokenId, tokenIPFSPath, tokenIPFSPath, properties, values); } /** * @notice Allows a creator to update an NFT. */ function updateTokenURI(uint256 tokenId, string memory tokenIPFSPath, address paymentMode,uint256[] memory tokenIds, address[] memory collectionAddress, string[] memory properties, string[] memory values) public payable { address owner = ownerOf(tokenId); require(msg.sender == owner, "NFT721Mint:ADDRESS_NOT_AUTHORIZED"); require(tokenAddress[paymentMode] == true, "Buddy: Payment mode is not accepted"); if (paymentMode != address(0)) { IERC20(paymentMode).transferFrom(msg.sender, getBuddyTreasury(), updateFee[paymentMode]); } else { require( msg.value >= updateFee[paymentMode], "Buddy: Fees Amount is low" ); getBuddyTreasury().transfer(address(this).balance); } _setTokenIPFSPath(tokenId, tokenIPFSPath); if(tokenIds[0]!=0) { for(uint256 i=0 ;i< tokenIds.length; i++) { require(msg.sender == collectionContract(collectionAddress[i]).ownerOf(tokenIds[i]),"Buddy: You are not the owner"); collectionContract(collectionAddress[i]).lock(tokenIds[i]); mapTokenIds[tokenId][collectionAddress[i]].push(tokenIds[i]); } } for(uint256 i=0; i < properties.length; i++) { tokenIdToProp[tokenId].push(properties[i]); } for(uint256 i=0; i< properties.length; i++) { propTovalue[tokenId][properties[i]].push(values[i]); } emit Updated(msg.sender, tokenId, tokenIPFSPath, tokenIPFSPath, properties, values); } /** * @dev Explicit override to address compile errors. */ function _burn(uint256 tokenId) internal virtual override(ERC721Upgradeable, NFT721Creator, NFT721Metadata) { super._burn(tokenId); } uint256[1000] private ______gap; } pragma solidity ^0.7.0; /** * @title Buddy NFTs implemented using the ERC-721 standard. * @dev This top level file holds no data directly to ease future upgrades. */ contract Buddy is ERC165Upgradeable, ERC721Upgradeable, NFT721Core, NFT721Creator, NFT721Metadata, TreasuryNode, NFT721Mint { /** * @notice Called once to configure the contract after the initial deployment. * @dev This farms the initialize call out to inherited contracts as needed. */ function initialize( address payable treasury, string memory name, string memory symbol ) public initializer { TreasuryNode._initializeTreasuryNode(treasury); ERC721Upgradeable.__ERC721_init(name, symbol); NFT721Creator._initializeNFT721Creator(); // leave NFT721Mint._initializeNFT721Mint(); adminUpdateConfig("https://ipfs.io/ipfs/"); } /** * @notice Allows a Buddy admin to update NFT config variables. * @dev This must be called right after the initial call to `initialize`. */ function adminUpdateConfig(string memory baseURI) public onlyBuddyAdmin { _updateBaseURI(baseURI); } /** * @dev This is a no-op, just an explicit override to address compile errors due to inheritance. */ function _burn(uint256 tokenId) internal virtual override(ERC721Upgradeable, NFT721Creator, NFT721Metadata, NFT721Mint) { super._burn(tokenId); } /** * @notice Allows Admin to add token address and set fees. */ function adminUpdateToken( address _tokenAddress, bool status, uint256 _mintFee, uint256 _updateFee ) public onlyBuddyAdmin { tokenAddress[_tokenAddress] = status; feesAmount[_tokenAddress] = _mintFee; updateFee[_tokenAddress] = _updateFee; emit TokenUpdated(_tokenAddress, status,_mintFee,_updateFee); } function adminUpdateFees( address _tokenAddress, uint256 _mintFee, uint256 _updateFee ) public onlyBuddyAdmin { feesAmount[_tokenAddress] = _mintFee; updateFee[_tokenAddress] = _updateFee; emit TokenFeesUpdated(_tokenAddress,_mintFee,_updateFee); } }
[{"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":"string","name":"baseURI","type":"string"}],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"creator","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"string","name":"indexedTokenIPFSPath","type":"string"},{"indexed":false,"internalType":"string","name":"tokenIPFSPath","type":"string"},{"indexed":false,"internalType":"string[]","name":"category","type":"string[]"},{"indexed":false,"internalType":"string[]","name":"values","type":"string[]"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"},{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"NFTMetadataUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fromCreator","type":"address"},{"indexed":true,"internalType":"address","name":"toCreator","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenCreatorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"uriUpdateFee","type":"uint256"}],"name":"TokenFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"string","name":"indexedTokenIPFSPath","type":"string"},{"indexed":false,"internalType":"string","name":"tokenIPFSPath","type":"string"}],"name":"TokenIPFSPathUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"},{"indexed":false,"internalType":"uint256","name":"mintFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"uriUpdateFee","type":"uint256"}],"name":"TokenUpdated","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":"creator","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"string","name":"indexedTokenIPFSPath","type":"string"},{"indexed":false,"internalType":"string","name":"tokenIPFSPath","type":"string"},{"indexed":false,"internalType":"string[]","name":"category","type":"string[]"},{"indexed":false,"internalType":"string[]","name":"values","type":"string[]"}],"name":"Updated","type":"event"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"adminUpdateConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_mintFee","type":"uint256"},{"internalType":"uint256","name":"_updateFee","type":"uint256"}],"name":"adminUpdateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"bool","name":"status","type":"bool"},{"internalType":"uint256","name":"_mintFee","type":"uint256"},{"internalType":"uint256","name":"_updateFee","type":"uint256"}],"name":"adminUpdateToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"feesAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBuddyTreasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"creator","type":"address"},{"internalType":"string","name":"tokenIPFSPath","type":"string"}],"name":"getHasCreatorMintedIPFSHash","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenIPFSPath","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"treasury","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tokenIPFSPath","type":"string"},{"internalType":"address","name":"paymentMode","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"collectionAddress","type":"address[]"},{"internalType":"string[]","name":"properties","type":"string[]"},{"internalType":"string[]","name":"values","type":"string[]"}],"name":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"propTovalue","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"registerInterfaces","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenCreator","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToProp","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"updateFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenIPFSPath","type":"string"},{"internalType":"address","name":"paymentMode","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"collectionAddress","type":"address[]"},{"internalType":"string[]","name":"properties","type":"string[]"},{"internalType":"string[]","name":"values","type":"string[]"}],"name":"updateTokenURI","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405260016108695534801561001657600080fd5b50614184806100266000396000f3fe6080604052600436106102045760003560e01c806370a082311161011857806398ef26f1116100a0578063caa0f92a1161006f578063caa0f92a146105ac578063dac28cce146105c1578063e004d6c8146105e1578063e985e9c514610601578063f6356da01461062157610204565b806398ef26f11461052c578063a22cb4651461054c578063b88d4fde1461056c578063c87b56dd1461058c57610204565b806385624bc4116100e757806385624bc4146104a457806389ca8b71146104b757806390657147146104d757806395d89b41146104f75780639884e8011461050c57610204565b806370a08231146104315780637a924d16146104515780637db025401461047157806380eb7bf01461048457610204565b80633647d4a21161019b57806342966c681161016a57806342966c68146103a7578063454473e2146103c75780634f6ccce7146103dc5780636352211e146103fc5780636c0360eb1461041c57610204565b80633647d4a2146103275780633ef83a081461034757806340c1a0641461036757806342842e0e1461038757610204565b806318160ddd116101d757806318160ddd146102b057806323b872dd146102d25780632f745c59146102f2578063324d45bf1461031257610204565b806301ffc9a71461020957806306fdde031461023f578063081812fc14610261578063095ea7b31461028e575b600080fd5b34801561021557600080fd5b5061022961022436600461334d565b610641565b60405161023691906137b1565b60405180910390f35b34801561024b57600080fd5b50610254610664565b60405161023691906137d4565b34801561026d57600080fd5b5061028161027c366004613493565b6106fa565b604051610236919061373c565b34801561029a57600080fd5b506102ae6102a93660046132d2565b610746565b005b3480156102bc57600080fd5b506102c56107de565b6040516102369190614035565b3480156102de57600080fd5b506102ae6102ed366004613155565b6107ef565b3480156102fe57600080fd5b506102c561030d3660046132d2565b610827565b34801561031e57600080fd5b50610281610852565b34801561033357600080fd5b506102546103423660046135df565b610862565b34801561035357600080fd5b506102ae610362366004613385565b610919565b34801561037357600080fd5b50610281610382366004613493565b610949565b34801561039357600080fd5b506102ae6103a2366004613155565b610965565b3480156103b357600080fd5b506102ae6103c2366004613493565b610980565b3480156103d357600080fd5b506102ae6109f6565b3480156103e857600080fd5b506102c56103f7366004613493565b610a08565b34801561040857600080fd5b50610281610417366004613493565b610a1e565b34801561042857600080fd5b50610254610a46565b34801561043d57600080fd5b506102c561044c366004613072565b610aa7565b34801561045d57600080fd5b5061025461046c366004613591565b610af0565b6102ae61047f3660046134ab565b610b90565b34801561049057600080fd5b506102c561049f366004613072565b6110a0565b6102c56104b23660046133b8565b6110b3565b3480156104c357600080fd5b506102296104d2366004613284565b6115af565b3480156104e357600080fd5b506102ae6104f23660046130aa565b6115f1565b34801561050357600080fd5b506102546116d0565b34801561051857600080fd5b50610229610527366004613072565b611731565b34801561053857600080fd5b506102c5610547366004613072565b611747565b34801561055857600080fd5b506102ae610567366004613212565b61175a565b34801561057857600080fd5b506102ae610587366004613195565b611828565b34801561059857600080fd5b506102546105a7366004613493565b611861565b3480156105b857600080fd5b506102c56119a9565b3480156105cd57600080fd5b506102546105dc366004613493565b6119b0565b3480156105ed57600080fd5b506102ae6105fc3660046132fd565b611a51565b34801561060d57600080fd5b5061022961061c36600461311d565b611ade565b34801561062d57600080fd5b506102ae61063c36600461323f565b611b0c565b6001600160e01b0319811660009081526033602052604090205460ff165b919050565b606c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106f05780601f106106c5576101008083540402835291602001916106f0565b820191906000526020600020905b8154815290600101906020018083116106d357829003601f168201915b5050505050905090565b600061070582611bb0565b61072a5760405162461bcd60e51b815260040161072190613db1565b60405180910390fd5b506000908152606860205260409020546001600160a01b031690565b600061075182610a1e565b9050806001600160a01b0316836001600160a01b031614156107855760405162461bcd60e51b815260040161072190613f22565b806001600160a01b0316610797611bbd565b6001600160a01b031614806107b357506107b38161061c611bbd565b6107cf5760405162461bcd60e51b815260040161072190613b68565b6107d98383611bc1565b505050565b60006107ea6066611c2f565b905090565b6108006107fa611bbd565b82611c3a565b61081c5760405162461bcd60e51b815260040161072190613f63565b6107d9838383611cbf565b6001600160a01b03821660009081526065602052604081206108499083611dcd565b90505b92915050565b610c52546001600160a01b031690565b606a602052816000526040600020818154811061087e57600080fd5b600091825260209182902001805460408051601f600260001961010060018716150201909416939093049283018590048502810185019091528181529450909250908301828280156109115780601f106108e657610100808354040283529160200191610911565b820191906000526020600020905b8154815290600101906020018083116108f457829003601f168201915b505050505081565b610921611dd9565b61093d5760405162461bcd60e51b815260040161072190613d5e565b61094681611e5e565b50565b600090815261048160205260409020546001600160a01b031690565b6107d983838360405180602001604052806000815250611828565b6000818152610481602052604090205481906001600160a01b031633146109b95760405162461bcd60e51b81526004016107219061399f565b336109c382610a1e565b6001600160a01b0316146109e95760405162461bcd60e51b815260040161072190613feb565b6109f282611ea1565b5050565b610a0663762fba9760e11b611eaa565b565b600080610a16606684611ef9565b509392505050565b600061084c826040518060600160405280602981526020016141266029913960669190611f15565b606f8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106f05780601f106106c5576101008083540402835291602001916106f0565b60006001600160a01b038216610acf5760405162461bcd60e51b815260040161072190613bc5565b6001600160a01b038216600090815260656020526040902061084c90611c2f565b606b6020908152600084815260409020835180850183018051928152908301928501929092209152805482908110610b2757600080fd5b600091825260209182902001805460408051601f60026000196101006001871615020190941693909304928301859004850281018501909152818152955090935091508301828280156109115780601f106108e657610100808354040283529160200191610911565b6000610b9b88610a1e565b9050336001600160a01b03821614610bc55760405162461bcd60e51b815260040161072190613b27565b6001600160a01b0386166000908152611425602052604090205460ff161515600114610c035760405162461bcd60e51b815260040161072190613c5d565b6001600160a01b03861615610cc057856001600160a01b03166323b872dd33610c2a610852565b6001600160a01b038a1660009081526114246020526040908190205490516001600160e01b031960e086901b168152610c6893929190600401613750565b602060405180830381600087803b158015610c8257600080fd5b505af1158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190613331565b50610d3b565b6001600160a01b03861660009081526114246020526040902054341015610cf95760405162461bcd60e51b815260040161072190613a5e565b610d01610852565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610d39573d6000803e3d6000fd5b505b610d458888611f2c565b84600081518110610d5257fe5b6020026020010151600014610f435760005b8551811015610f4157848181518110610d7957fe5b60200260200101516001600160a01b0316636352211e878381518110610d9b57fe5b60200260200101516040518263ffffffff1660e01b8152600401610dbf9190614035565b60206040518083038186803b158015610dd757600080fd5b505afa158015610deb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0f919061308e565b6001600160a01b0316336001600160a01b031614610e3f5760405162461bcd60e51b815260040161072190613862565b848181518110610e4b57fe5b60200260200101516001600160a01b031663dd467064878381518110610e6d57fe5b60200260200101516040518263ffffffff1660e01b8152600401610e919190614035565b600060405180830381600087803b158015610eab57600080fd5b505af1158015610ebf573d6000803e3d6000fd5b50505060008a8152611426602052604081208751909250879084908110610ee257fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020868281518110610f1657fe5b6020908102919091018101518254600181810185556000948552929093209092019190915501610d64565b505b60005b8351811015610fa6576000898152606a602052604090208451859083908110610f6b57fe5b60209081029190910181015182546001810184556000938452928290208151610f9d9491909101929190910190612df1565b50600101610f46565b5060005b8351811015611039576000898152606b602052604090208451859083908110610fcf57fe5b6020026020010151604051610fe491906136ef565b9081526020016040518091039020838281518110610ffe57fe5b602090810291909101810151825460018101845560009384529282902081516110309491909101929190910190612df1565b50600101610faa565b508660405161104891906136ef565b604051809103902088336001600160a01b03167f4a57f4fa186c41753dc7202e87554d09f4fba6ae76bed7957168d07d539af5e98a878760405161108e939291906137e7565b60405180910390a45050505050505050565b6114246020526000908152604090205481565b6001600160a01b0385166000908152611425602052604081205460ff1615156001146110f15760405162461bcd60e51b815260040161072190613c5d565b6001600160a01b038616156111ae57856001600160a01b03166323b872dd33611118610852565b6001600160a01b038a1660009081526114236020526040908190205490516001600160e01b031960e086901b16815261115693929190600401613750565b602060405180830381600087803b15801561117057600080fd5b505af1158015611184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a89190613331565b50611229565b6001600160a01b038616600090815261142360205260409020543410156111e75760405162461bcd60e51b815260040161072190613a5e565b6111ef610852565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015611227573d6000803e3d6000fd5b505b506114278054600181019091558451859060009061124357fe5b60200260200101516000146114345760005b85518110156114325784818151811061126a57fe5b60200260200101516001600160a01b0316636352211e87838151811061128c57fe5b60200260200101516040518263ffffffff1660e01b81526004016112b09190614035565b60206040518083038186803b1580156112c857600080fd5b505afa1580156112dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611300919061308e565b6001600160a01b0316336001600160a01b0316146113305760405162461bcd60e51b815260040161072190613862565b84818151811061133c57fe5b60200260200101516001600160a01b031663dd46706487838151811061135e57fe5b60200260200101516040518263ffffffff1660e01b81526004016113829190614035565b600060405180830381600087803b15801561139c57600080fd5b505af11580156113b0573d6000803e3d6000fd5b50505060008381526114266020526040812087519092508790849081106113d357fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002086828151811061140757fe5b6020908102919091018101518254600181810185556000948552929093209092019190915501611255565b505b61143e3382611fea565b61144881336120ae565b6114528188611f2c565b60005b83518110156114b5576000828152606a60205260409020845185908390811061147a57fe5b602090810291909101810151825460018101845560009384529282902081516114ac9491909101929190910190612df1565b50600101611455565b5060005b8351811015611548576000828152606b6020526040902084518590839081106114de57fe5b60200260200101516040516114f391906136ef565b908152602001604051809103902083828151811061150d57fe5b6020908102919091018101518254600181018455600093845292829020815161153f9491909101929190910190612df1565b506001016114b9565b508660405161155791906136ef565b604051809103902081336001600160a01b03167ff153d838fbbd60fe3d96f9c1dd666315f91cf07268daae76ad4d24c9cc4970308a878760405161159d939291906137e7565b60405180910390a49695505050505050565b6001600160a01b038216600090815261086a602052604080822090516115d69084906136ef565b9081526040519081900360200190205460ff16905092915050565b600054610100900460ff168061160a575061160a612124565b80611618575060005460ff16155b6116345760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff1615801561165f576000805460ff1961ff0019909116610100171660011790555b61166884612135565b6116728383612202565b61167a6122a0565b611682612332565b6116b86040518060400160405280601581526020017468747470733a2f2f697066732e696f2f697066732f60581b815250610919565b80156116ca576000805461ff00191690555b50505050565b606d8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106f05780601f106106c5576101008083540402835291602001916106f0565b6114256020526000908152604090205460ff1681565b6114236020526000908152604090205481565b611762611bbd565b6001600160a01b0316826001600160a01b031614156117935760405162461bcd60e51b815260040161072190613a27565b80606960006117a0611bbd565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556117e4611bbd565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161181c91906137b1565b60405180910390a35050565b611839611833611bbd565b83611c3a565b6118555760405162461bcd60e51b815260040161072190613f63565b6116ca848484846123ba565b606061186c82611bb0565b6118885760405162461bcd60e51b815260040161072190613e92565b6000828152606e602090815260408083208054825160026001831615610100026000190190921691909104601f81018590048502820185019093528281529290919083018282801561191b5780601f106118f05761010080835404028352916020019161191b565b820191906000526020600020905b8154815290600101906020018083116118fe57829003601f168201915b5050606f549394505050506002600019610100600184161502019091160461194457905061065f565b80511561197657606f8160405160200161195f929190613717565b60405160208183030381529060405291505061065f565b606f611981846123ed565b604051602001611992929190613717565b604051602081830303815290604052915050919050565b6114275490565b6000818152606e602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611a455780601f10611a1a57610100808354040283529160200191611a45565b820191906000526020600020905b815481529060010190602001808311611a2857829003601f168201915b50505050509050919050565b611a59611dd9565b611a755760405162461bcd60e51b815260040161072190613d5e565b6001600160a01b03831660008181526114236020908152604080832086905561142490915290819020839055517f9e7ff7da634894a65a8025ad03805890e1936360f544ed5cc186317b30918d9790611ad1908590859061403e565b60405180910390a2505050565b6001600160a01b03918216600090815260696020908152604080832093909416825291909152205460ff1690565b611b14611dd9565b611b305760405162461bcd60e51b815260040161072190613d5e565b6001600160a01b038416600081815261142560209081526040808320805460ff1916881515179055611423825280832086905561142490915290819020839055517f6bdc68a0cc0836232f7f5050ac2cbfa71448bb6ff91969e3f457759ba3932f6290611ba2908690869086906137bc565b60405180910390a250505050565b600061084c6066836124c8565b3390565b600081815260686020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bf682610a1e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061084c826124d4565b6000611c4582611bb0565b611c615760405162461bcd60e51b815260040161072190613adb565b6000611c6c83610a1e565b9050806001600160a01b0316846001600160a01b03161480611ca75750836001600160a01b0316611c9c846106fa565b6001600160a01b0316145b80611cb75750611cb78185611ade565b949350505050565b826001600160a01b0316611cd282610a1e565b6001600160a01b031614611cf85760405162461bcd60e51b815260040161072190613e49565b6001600160a01b038216611d1e5760405162461bcd60e51b8152600401610721906139e3565b611d298383836107d9565b611d34600082611bc1565b6001600160a01b0383166000908152606560205260409020611d5690826124d8565b506001600160a01b0382166000908152606560205260409020611d7990826124e4565b50611d86606682846124f0565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006108498383612506565b6000611de3610852565b6001600160a01b03166324d7806c336040518263ffffffff1660e01b8152600401611e0e919061373c565b60206040518083038186803b158015611e2657600080fd5b505afa158015611e3a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ea9190613331565b611e678161254b565b7f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad81604051611e9691906137d4565b60405180910390a150565b6109468161255e565b6001600160e01b03198082161415611ed45760405162461bcd60e51b815260040161072190613931565b6001600160e01b0319166000908152603360205260409020805460ff19166001179055565b6000808080611f088686612567565b9097909650945050505050565b6000611f228484846125c3565b90505b9392505050565b602e81511015611f4e5760405162461bcd60e51b815260040161072190613ee1565b33600090815261086a6020526040908190209051611f6d9083906136ef565b9081526040519081900360200190205460ff1615611f9d5760405162461bcd60e51b8152600401610721906138eb565b33600090815261086a602052604090819020905160019190611fc09084906136ef565b908152604051908190036020019020805491151560ff199092169190911790556109f28282612622565b6001600160a01b0382166120105760405162461bcd60e51b815260040161072190613ce2565b61201981611bb0565b156120365760405162461bcd60e51b815260040161072190613968565b612042600083836107d9565b6001600160a01b038216600090815260656020526040902061206490826124e4565b50612071606682846124f0565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000828152610481602052604080822054905184926001600160a01b038086169316917febd529444fe852bfccb40075e8f8cae7612ea20edebdf5143c72718ccb157f759190a46000918252610481602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b600061212f30612666565b15905090565b600054610100900460ff168061214e575061214e612124565b8061215c575060005460ff16155b6121785760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff161580156121a3576000805460ff1961ff0019909116610100171660011790555b6121b5826001600160a01b0316612666565b6121d15760405162461bcd60e51b815260040161072190613d17565b610c5280546001600160a01b0319166001600160a01b03841617905580156109f2576000805461ff00191690555050565b600054610100900460ff168061221b575061221b612124565b80612229575060005460ff16155b6122455760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff16158015612270576000805460ff1961ff0019909116610100171660011790555b61227861266c565b6122806126ed565b61228a838361276b565b80156107d9576000805461ff0019169055505050565b600054610100900460ff16806122b957506122b9612124565b806122c7575060005460ff16155b6122e35760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff1615801561230e576000805460ff1961ff0019909116610100171660011790555b61231e631030681960e21b611eaa565b8015610946576000805461ff001916905550565b600054610100900460ff168061234b575061234b612124565b80612359575060005460ff16155b6123755760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff161580156123a0576000805460ff1961ff0019909116610100171660011790555b6001611427558015610946576000805461ff001916905550565b6123c5848484611cbf565b6123d184848484612831565b6116ca5760405162461bcd60e51b815260040161072190613899565b60608161241257506040805180820190915260018152600360fc1b602082015261065f565b8160005b811561242a57600101600a82049150612416565b60008167ffffffffffffffff8111801561244357600080fd5b506040519080825280601f01601f19166020018201604052801561246e576020820181803683370190505b50859350905060001982015b83156124bf57600a840660300160f81b8282806001900393508151811061249d57fe5b60200101906001600160f81b031916908160001a905350600a8404935061247a565b50949350505050565b60006108498383612910565b5490565b60006108498383612928565b600061084983836129ee565b6000611f2284846001600160a01b038516612a38565b815460009082106125295760405162461bcd60e51b815260040161072190613820565b82600001828154811061253857fe5b9060005260206000200154905092915050565b80516109f290606f906020840190612df1565b61094681612acf565b81546000908190831061258c5760405162461bcd60e51b815260040161072190613ca0565b600084600001848154811061259d57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816125f35760405162461bcd60e51b815260040161072191906137d4565b5084600001600182038154811061260657fe5b9060005260206000209060020201600101549150509392505050565b61262b82611bb0565b6126475760405162461bcd60e51b815260040161072190613dfd565b6000828152606e6020908152604090912082516107d992840190612df1565b3b151590565b600054610100900460ff16806126855750612685612124565b80612693575060005460ff16155b6126af5760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff1615801561231e576000805460ff1961ff0019909116610100171660011790558015610946576000805461ff001916905550565b600054610100900460ff16806127065750612706612124565b80612714575060005460ff16155b6127305760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff1615801561275b576000805460ff1961ff0019909116610100171660011790555b61231e6301ffc9a760e01b611eaa565b600054610100900460ff16806127845750612784612124565b80612792575060005460ff16155b6127ae5760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff161580156127d9576000805460ff1961ff0019909116610100171660011790555b82516127ec90606c906020860190612df1565b50815161280090606d906020850190612df1565b506128116380ac58cd60e01b611eaa565b612821635b5e139f60e01b611eaa565b61228a63780e9d6360e01b611eaa565b6000612845846001600160a01b0316612666565b61285157506001611cb7565b60006128d9630a85bd0160e11b612866611bbd565b88878760405160240161287c9493929190613774565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016140f4603291396001600160a01b0388169190612b1b565b90506000818060200190518101906128f19190613369565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156129e4578354600019808301919081019060009087908390811061295b57fe5b906000526020600020015490508087600001848154811061297857fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806129a857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061084c565b600091505061084c565b60006129fa8383612910565b612a305750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561084c565b50600061084c565b600082815260018401602052604081205480612a9d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611f25565b82856000016001830381548110612ab057fe5b9060005260206000209060020201600101819055506000915050611f25565b33600090815261086a60209081526040808320848452606e9092529182902091519091612afb9161370b565b908152604051908190036020019020805460ff1916905561094681612b2a565b6060611f228484600085612b50565b60008181526104816020526040902080546001600160a01b031916905561094681612c10565b606082471015612b725760405162461bcd60e51b815260040161072190613a95565b612b7b85612666565b612b975760405162461bcd60e51b815260040161072190613fb4565b600080866001600160a01b03168587604051612bb391906136ef565b60006040518083038185875af1925050503d8060008114612bf0576040519150601f19603f3d011682016040523d82523d6000602084013e612bf5565b606091505b5091509150612c05828286612cdd565b979650505050505050565b6000612c1b82610a1e565b9050612c29816000846107d9565b612c34600083611bc1565b6000828152606e60205260409020546002600019610100600184161502019091160415612c72576000828152606e60205260408120612c7291612e7d565b6001600160a01b0381166000908152606560205260409020612c9490836124d8565b50612ca0606683612d16565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60608315612cec575081611f25565b825115612cfc5782518084602001fd5b8160405162461bcd60e51b815260040161072191906137d4565b60006108498383600081815260018301602052604081205480156129e45783546000198083019190810190600090879083908110612d5057fe5b9060005260206000209060020201905080876000018481548110612d7057fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080612daf57fe5b600082815260208082206002600019909401938402018281556001908101839055929093558881528982019092526040822091909155945061084c9350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282612e275760008555612e6d565b82601f10612e4057805160ff1916838001178555612e6d565b82800160010185558215612e6d579182015b82811115612e6d578251825591602001919060010190612e52565b50612e79929150612ebd565b5090565b50805460018160011615610100020316600290046000825580601f10612ea35750610946565b601f01602090049060005260206000209081019061094691905b5b80821115612e795760008155600101612ebe565b600067ffffffffffffffff831115612ee657fe5b612ef9601f8401601f191660200161404c565b9050828152838383011115612f0d57600080fd5b828260208301376000602084830101529392505050565b803561065f816140ba565b600082601f830112612f3f578081fd5b81356020612f54612f4f83614070565b61404c565b8281528181019085830183850287018401881015612f70578586fd5b855b85811015612f97578135612f85816140ba565b84529284019290840190600101612f72565b5090979650505050505050565b600082601f830112612fb4578081fd5b81356020612fc4612f4f83614070565b82815281810190858301855b85811015612f9757612fe7898684358b0101613053565b84529284019290840190600101612fd0565b600082601f830112613009578081fd5b81356020613019612f4f83614070565b8281528181019085830183850287018401881015613035578586fd5b855b85811015612f9757813584529284019290840190600101613037565b600082601f830112613063578081fd5b61084983833560208501612ed2565b600060208284031215613083578081fd5b8135611f25816140ba565b60006020828403121561309f578081fd5b8151611f25816140ba565b6000806000606084860312156130be578182fd5b83356130c9816140ba565b9250602084013567ffffffffffffffff808211156130e5578384fd5b6130f187838801613053565b93506040860135915080821115613106578283fd5b5061311386828701613053565b9150509250925092565b6000806040838503121561312f578182fd5b823561313a816140ba565b9150602083013561314a816140ba565b809150509250929050565b600080600060608486031215613169578283fd5b8335613174816140ba565b92506020840135613184816140ba565b929592945050506040919091013590565b600080600080608085870312156131aa578081fd5b84356131b5816140ba565b935060208501356131c5816140ba565b925060408501359150606085013567ffffffffffffffff8111156131e7578182fd5b8501601f810187136131f7578182fd5b61320687823560208401612ed2565b91505092959194509250565b60008060408385031215613224578182fd5b823561322f816140ba565b9150602083013561314a816140cf565b60008060008060808587031215613254578182fd5b843561325f816140ba565b9350602085013561326f816140cf565b93969395505050506040820135916060013590565b60008060408385031215613296578182fd5b82356132a1816140ba565b9150602083013567ffffffffffffffff8111156132bc578182fd5b6132c885828601613053565b9150509250929050565b600080604083850312156132e4578182fd5b82356132ef816140ba565b946020939093013593505050565b600080600060608486031215613311578081fd5b833561331c816140ba565b95602085013595506040909401359392505050565b600060208284031215613342578081fd5b8151611f25816140cf565b60006020828403121561335e578081fd5b8135611f25816140dd565b60006020828403121561337a578081fd5b8151611f25816140dd565b600060208284031215613396578081fd5b813567ffffffffffffffff8111156133ac578182fd5b611cb784828501613053565b60008060008060008060c087890312156133d0578384fd5b863567ffffffffffffffff808211156133e7578586fd5b6133f38a838b01613053565b975061340160208a01612f24565b96506040890135915080821115613416578586fd5b6134228a838b01612ff9565b95506060890135915080821115613437578384fd5b6134438a838b01612f2f565b94506080890135915080821115613458578384fd5b6134648a838b01612fa4565b935060a0890135915080821115613479578283fd5b5061348689828a01612fa4565b9150509295509295509295565b6000602082840312156134a4578081fd5b5035919050565b600080600080600080600060e0888a0312156134c5578485fd5b87359650602088013567ffffffffffffffff808211156134e3578687fd5b6134ef8b838c01613053565b97506134fd60408b01612f24565b965060608a0135915080821115613512578283fd5b61351e8b838c01612ff9565b955060808a0135915080821115613533578283fd5b61353f8b838c01612f2f565b945060a08a0135915080821115613554578283fd5b6135608b838c01612fa4565b935060c08a0135915080821115613575578283fd5b506135828a828b01612fa4565b91505092959891949750929550565b6000806000606084860312156135a5578081fd5b83359250602084013567ffffffffffffffff8111156135c2578182fd5b6135ce86828701613053565b925050604084013590509250925092565b600080604083850312156135f1578182fd5b50508035926020909101359150565b6000815180845260208085018081965082840281019150828601855b85811015613646578284038952613634848351613653565b9885019893509084019060010161361c565b5091979650505050505050565b6000815180845261366b81602086016020860161408e565b601f01601f19169290920160200192915050565b6000815460018082166000811461369d57600181146136b4576136e6565b60ff198316865260028304607f16860193506136e6565b600283048560005260208060002060005b838110156136de5781548a8201529085019082016136c5565b505050860193505b50505092915050565b6000825161370181846020870161408e565b9190910192915050565b6000610849828461367f565b6000613723828561367f565b835161373381836020880161408e565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137a790830184613653565b9695505050505050565b901515815260200190565b92151583526020830191909152604082015260600190565b6000602082526108496020830184613653565b6000606082526137fa6060830186613653565b828103602084015261380c8186613600565b905082810360408401526137a78185613600565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601c908201527f42756464793a20596f7520617265206e6f7420746865206f776e657200000000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4e46543732314d657461646174613a204e46542077617320616c7265616479206040820152651b5a5b9d195960d21b606082015260800190565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4e465437323143726561746f723a2043616c6c6572206973206e6f742063726560408201526330ba37b960e11b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526019908201527f42756464793a204665657320416d6f756e74206973206c6f7700000000000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526021908201527f4e46543732314d696e743a414444524553535f4e4f545f415554484f52495a456040820152601160fa1b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526023908201527f42756464793a205061796d656e74206d6f6465206973206e6f742061636365706040820152621d195960ea1b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526027908201527f54726561737572794e6f64653a2041646472657373206973206e6f74206120636040820152661bdb9d1c9858dd60ca1b606082015260800190565b60208082526033908201527f427564647941646d696e526f6c653a2063616c6c657220646f6573206e6f742060408201527268617665207468652041646d696e20726f6c6560681b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4e46543732314d657461646174613a20496e76616c69642049504653207061746040820152600d60fb1b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f4e465437323143726561746f723a2043616c6c657220646f6573206e6f74206f6040820152691ddb881d1a194813919560b21b606082015260800190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff8111828210171561406857fe5b604052919050565b600067ffffffffffffffff82111561408457fe5b5060209081020190565b60005b838110156140a9578181015183820152602001614091565b838111156116ca5750506000910152565b6001600160a01b038116811461094657600080fd5b801515811461094657600080fd5b6001600160e01b03198116811461094657600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122020496570bbbb70ce34ac3342d11006e27e53f953b76b19765d4a49d4f9c29bb164736f6c63430007060033
Deployed Bytecode
0x6080604052600436106102045760003560e01c806370a082311161011857806398ef26f1116100a0578063caa0f92a1161006f578063caa0f92a146105ac578063dac28cce146105c1578063e004d6c8146105e1578063e985e9c514610601578063f6356da01461062157610204565b806398ef26f11461052c578063a22cb4651461054c578063b88d4fde1461056c578063c87b56dd1461058c57610204565b806385624bc4116100e757806385624bc4146104a457806389ca8b71146104b757806390657147146104d757806395d89b41146104f75780639884e8011461050c57610204565b806370a08231146104315780637a924d16146104515780637db025401461047157806380eb7bf01461048457610204565b80633647d4a21161019b57806342966c681161016a57806342966c68146103a7578063454473e2146103c75780634f6ccce7146103dc5780636352211e146103fc5780636c0360eb1461041c57610204565b80633647d4a2146103275780633ef83a081461034757806340c1a0641461036757806342842e0e1461038757610204565b806318160ddd116101d757806318160ddd146102b057806323b872dd146102d25780632f745c59146102f2578063324d45bf1461031257610204565b806301ffc9a71461020957806306fdde031461023f578063081812fc14610261578063095ea7b31461028e575b600080fd5b34801561021557600080fd5b5061022961022436600461334d565b610641565b60405161023691906137b1565b60405180910390f35b34801561024b57600080fd5b50610254610664565b60405161023691906137d4565b34801561026d57600080fd5b5061028161027c366004613493565b6106fa565b604051610236919061373c565b34801561029a57600080fd5b506102ae6102a93660046132d2565b610746565b005b3480156102bc57600080fd5b506102c56107de565b6040516102369190614035565b3480156102de57600080fd5b506102ae6102ed366004613155565b6107ef565b3480156102fe57600080fd5b506102c561030d3660046132d2565b610827565b34801561031e57600080fd5b50610281610852565b34801561033357600080fd5b506102546103423660046135df565b610862565b34801561035357600080fd5b506102ae610362366004613385565b610919565b34801561037357600080fd5b50610281610382366004613493565b610949565b34801561039357600080fd5b506102ae6103a2366004613155565b610965565b3480156103b357600080fd5b506102ae6103c2366004613493565b610980565b3480156103d357600080fd5b506102ae6109f6565b3480156103e857600080fd5b506102c56103f7366004613493565b610a08565b34801561040857600080fd5b50610281610417366004613493565b610a1e565b34801561042857600080fd5b50610254610a46565b34801561043d57600080fd5b506102c561044c366004613072565b610aa7565b34801561045d57600080fd5b5061025461046c366004613591565b610af0565b6102ae61047f3660046134ab565b610b90565b34801561049057600080fd5b506102c561049f366004613072565b6110a0565b6102c56104b23660046133b8565b6110b3565b3480156104c357600080fd5b506102296104d2366004613284565b6115af565b3480156104e357600080fd5b506102ae6104f23660046130aa565b6115f1565b34801561050357600080fd5b506102546116d0565b34801561051857600080fd5b50610229610527366004613072565b611731565b34801561053857600080fd5b506102c5610547366004613072565b611747565b34801561055857600080fd5b506102ae610567366004613212565b61175a565b34801561057857600080fd5b506102ae610587366004613195565b611828565b34801561059857600080fd5b506102546105a7366004613493565b611861565b3480156105b857600080fd5b506102c56119a9565b3480156105cd57600080fd5b506102546105dc366004613493565b6119b0565b3480156105ed57600080fd5b506102ae6105fc3660046132fd565b611a51565b34801561060d57600080fd5b5061022961061c36600461311d565b611ade565b34801561062d57600080fd5b506102ae61063c36600461323f565b611b0c565b6001600160e01b0319811660009081526033602052604090205460ff165b919050565b606c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106f05780601f106106c5576101008083540402835291602001916106f0565b820191906000526020600020905b8154815290600101906020018083116106d357829003601f168201915b5050505050905090565b600061070582611bb0565b61072a5760405162461bcd60e51b815260040161072190613db1565b60405180910390fd5b506000908152606860205260409020546001600160a01b031690565b600061075182610a1e565b9050806001600160a01b0316836001600160a01b031614156107855760405162461bcd60e51b815260040161072190613f22565b806001600160a01b0316610797611bbd565b6001600160a01b031614806107b357506107b38161061c611bbd565b6107cf5760405162461bcd60e51b815260040161072190613b68565b6107d98383611bc1565b505050565b60006107ea6066611c2f565b905090565b6108006107fa611bbd565b82611c3a565b61081c5760405162461bcd60e51b815260040161072190613f63565b6107d9838383611cbf565b6001600160a01b03821660009081526065602052604081206108499083611dcd565b90505b92915050565b610c52546001600160a01b031690565b606a602052816000526040600020818154811061087e57600080fd5b600091825260209182902001805460408051601f600260001961010060018716150201909416939093049283018590048502810185019091528181529450909250908301828280156109115780601f106108e657610100808354040283529160200191610911565b820191906000526020600020905b8154815290600101906020018083116108f457829003601f168201915b505050505081565b610921611dd9565b61093d5760405162461bcd60e51b815260040161072190613d5e565b61094681611e5e565b50565b600090815261048160205260409020546001600160a01b031690565b6107d983838360405180602001604052806000815250611828565b6000818152610481602052604090205481906001600160a01b031633146109b95760405162461bcd60e51b81526004016107219061399f565b336109c382610a1e565b6001600160a01b0316146109e95760405162461bcd60e51b815260040161072190613feb565b6109f282611ea1565b5050565b610a0663762fba9760e11b611eaa565b565b600080610a16606684611ef9565b509392505050565b600061084c826040518060600160405280602981526020016141266029913960669190611f15565b606f8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106f05780601f106106c5576101008083540402835291602001916106f0565b60006001600160a01b038216610acf5760405162461bcd60e51b815260040161072190613bc5565b6001600160a01b038216600090815260656020526040902061084c90611c2f565b606b6020908152600084815260409020835180850183018051928152908301928501929092209152805482908110610b2757600080fd5b600091825260209182902001805460408051601f60026000196101006001871615020190941693909304928301859004850281018501909152818152955090935091508301828280156109115780601f106108e657610100808354040283529160200191610911565b6000610b9b88610a1e565b9050336001600160a01b03821614610bc55760405162461bcd60e51b815260040161072190613b27565b6001600160a01b0386166000908152611425602052604090205460ff161515600114610c035760405162461bcd60e51b815260040161072190613c5d565b6001600160a01b03861615610cc057856001600160a01b03166323b872dd33610c2a610852565b6001600160a01b038a1660009081526114246020526040908190205490516001600160e01b031960e086901b168152610c6893929190600401613750565b602060405180830381600087803b158015610c8257600080fd5b505af1158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190613331565b50610d3b565b6001600160a01b03861660009081526114246020526040902054341015610cf95760405162461bcd60e51b815260040161072190613a5e565b610d01610852565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610d39573d6000803e3d6000fd5b505b610d458888611f2c565b84600081518110610d5257fe5b6020026020010151600014610f435760005b8551811015610f4157848181518110610d7957fe5b60200260200101516001600160a01b0316636352211e878381518110610d9b57fe5b60200260200101516040518263ffffffff1660e01b8152600401610dbf9190614035565b60206040518083038186803b158015610dd757600080fd5b505afa158015610deb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0f919061308e565b6001600160a01b0316336001600160a01b031614610e3f5760405162461bcd60e51b815260040161072190613862565b848181518110610e4b57fe5b60200260200101516001600160a01b031663dd467064878381518110610e6d57fe5b60200260200101516040518263ffffffff1660e01b8152600401610e919190614035565b600060405180830381600087803b158015610eab57600080fd5b505af1158015610ebf573d6000803e3d6000fd5b50505060008a8152611426602052604081208751909250879084908110610ee257fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020868281518110610f1657fe5b6020908102919091018101518254600181810185556000948552929093209092019190915501610d64565b505b60005b8351811015610fa6576000898152606a602052604090208451859083908110610f6b57fe5b60209081029190910181015182546001810184556000938452928290208151610f9d9491909101929190910190612df1565b50600101610f46565b5060005b8351811015611039576000898152606b602052604090208451859083908110610fcf57fe5b6020026020010151604051610fe491906136ef565b9081526020016040518091039020838281518110610ffe57fe5b602090810291909101810151825460018101845560009384529282902081516110309491909101929190910190612df1565b50600101610faa565b508660405161104891906136ef565b604051809103902088336001600160a01b03167f4a57f4fa186c41753dc7202e87554d09f4fba6ae76bed7957168d07d539af5e98a878760405161108e939291906137e7565b60405180910390a45050505050505050565b6114246020526000908152604090205481565b6001600160a01b0385166000908152611425602052604081205460ff1615156001146110f15760405162461bcd60e51b815260040161072190613c5d565b6001600160a01b038616156111ae57856001600160a01b03166323b872dd33611118610852565b6001600160a01b038a1660009081526114236020526040908190205490516001600160e01b031960e086901b16815261115693929190600401613750565b602060405180830381600087803b15801561117057600080fd5b505af1158015611184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a89190613331565b50611229565b6001600160a01b038616600090815261142360205260409020543410156111e75760405162461bcd60e51b815260040161072190613a5e565b6111ef610852565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015611227573d6000803e3d6000fd5b505b506114278054600181019091558451859060009061124357fe5b60200260200101516000146114345760005b85518110156114325784818151811061126a57fe5b60200260200101516001600160a01b0316636352211e87838151811061128c57fe5b60200260200101516040518263ffffffff1660e01b81526004016112b09190614035565b60206040518083038186803b1580156112c857600080fd5b505afa1580156112dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611300919061308e565b6001600160a01b0316336001600160a01b0316146113305760405162461bcd60e51b815260040161072190613862565b84818151811061133c57fe5b60200260200101516001600160a01b031663dd46706487838151811061135e57fe5b60200260200101516040518263ffffffff1660e01b81526004016113829190614035565b600060405180830381600087803b15801561139c57600080fd5b505af11580156113b0573d6000803e3d6000fd5b50505060008381526114266020526040812087519092508790849081106113d357fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002086828151811061140757fe5b6020908102919091018101518254600181810185556000948552929093209092019190915501611255565b505b61143e3382611fea565b61144881336120ae565b6114528188611f2c565b60005b83518110156114b5576000828152606a60205260409020845185908390811061147a57fe5b602090810291909101810151825460018101845560009384529282902081516114ac9491909101929190910190612df1565b50600101611455565b5060005b8351811015611548576000828152606b6020526040902084518590839081106114de57fe5b60200260200101516040516114f391906136ef565b908152602001604051809103902083828151811061150d57fe5b6020908102919091018101518254600181018455600093845292829020815161153f9491909101929190910190612df1565b506001016114b9565b508660405161155791906136ef565b604051809103902081336001600160a01b03167ff153d838fbbd60fe3d96f9c1dd666315f91cf07268daae76ad4d24c9cc4970308a878760405161159d939291906137e7565b60405180910390a49695505050505050565b6001600160a01b038216600090815261086a602052604080822090516115d69084906136ef565b9081526040519081900360200190205460ff16905092915050565b600054610100900460ff168061160a575061160a612124565b80611618575060005460ff16155b6116345760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff1615801561165f576000805460ff1961ff0019909116610100171660011790555b61166884612135565b6116728383612202565b61167a6122a0565b611682612332565b6116b86040518060400160405280601581526020017468747470733a2f2f697066732e696f2f697066732f60581b815250610919565b80156116ca576000805461ff00191690555b50505050565b606d8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106f05780601f106106c5576101008083540402835291602001916106f0565b6114256020526000908152604090205460ff1681565b6114236020526000908152604090205481565b611762611bbd565b6001600160a01b0316826001600160a01b031614156117935760405162461bcd60e51b815260040161072190613a27565b80606960006117a0611bbd565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556117e4611bbd565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161181c91906137b1565b60405180910390a35050565b611839611833611bbd565b83611c3a565b6118555760405162461bcd60e51b815260040161072190613f63565b6116ca848484846123ba565b606061186c82611bb0565b6118885760405162461bcd60e51b815260040161072190613e92565b6000828152606e602090815260408083208054825160026001831615610100026000190190921691909104601f81018590048502820185019093528281529290919083018282801561191b5780601f106118f05761010080835404028352916020019161191b565b820191906000526020600020905b8154815290600101906020018083116118fe57829003601f168201915b5050606f549394505050506002600019610100600184161502019091160461194457905061065f565b80511561197657606f8160405160200161195f929190613717565b60405160208183030381529060405291505061065f565b606f611981846123ed565b604051602001611992929190613717565b604051602081830303815290604052915050919050565b6114275490565b6000818152606e602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611a455780601f10611a1a57610100808354040283529160200191611a45565b820191906000526020600020905b815481529060010190602001808311611a2857829003601f168201915b50505050509050919050565b611a59611dd9565b611a755760405162461bcd60e51b815260040161072190613d5e565b6001600160a01b03831660008181526114236020908152604080832086905561142490915290819020839055517f9e7ff7da634894a65a8025ad03805890e1936360f544ed5cc186317b30918d9790611ad1908590859061403e565b60405180910390a2505050565b6001600160a01b03918216600090815260696020908152604080832093909416825291909152205460ff1690565b611b14611dd9565b611b305760405162461bcd60e51b815260040161072190613d5e565b6001600160a01b038416600081815261142560209081526040808320805460ff1916881515179055611423825280832086905561142490915290819020839055517f6bdc68a0cc0836232f7f5050ac2cbfa71448bb6ff91969e3f457759ba3932f6290611ba2908690869086906137bc565b60405180910390a250505050565b600061084c6066836124c8565b3390565b600081815260686020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bf682610a1e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061084c826124d4565b6000611c4582611bb0565b611c615760405162461bcd60e51b815260040161072190613adb565b6000611c6c83610a1e565b9050806001600160a01b0316846001600160a01b03161480611ca75750836001600160a01b0316611c9c846106fa565b6001600160a01b0316145b80611cb75750611cb78185611ade565b949350505050565b826001600160a01b0316611cd282610a1e565b6001600160a01b031614611cf85760405162461bcd60e51b815260040161072190613e49565b6001600160a01b038216611d1e5760405162461bcd60e51b8152600401610721906139e3565b611d298383836107d9565b611d34600082611bc1565b6001600160a01b0383166000908152606560205260409020611d5690826124d8565b506001600160a01b0382166000908152606560205260409020611d7990826124e4565b50611d86606682846124f0565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006108498383612506565b6000611de3610852565b6001600160a01b03166324d7806c336040518263ffffffff1660e01b8152600401611e0e919061373c565b60206040518083038186803b158015611e2657600080fd5b505afa158015611e3a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ea9190613331565b611e678161254b565b7f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad81604051611e9691906137d4565b60405180910390a150565b6109468161255e565b6001600160e01b03198082161415611ed45760405162461bcd60e51b815260040161072190613931565b6001600160e01b0319166000908152603360205260409020805460ff19166001179055565b6000808080611f088686612567565b9097909650945050505050565b6000611f228484846125c3565b90505b9392505050565b602e81511015611f4e5760405162461bcd60e51b815260040161072190613ee1565b33600090815261086a6020526040908190209051611f6d9083906136ef565b9081526040519081900360200190205460ff1615611f9d5760405162461bcd60e51b8152600401610721906138eb565b33600090815261086a602052604090819020905160019190611fc09084906136ef565b908152604051908190036020019020805491151560ff199092169190911790556109f28282612622565b6001600160a01b0382166120105760405162461bcd60e51b815260040161072190613ce2565b61201981611bb0565b156120365760405162461bcd60e51b815260040161072190613968565b612042600083836107d9565b6001600160a01b038216600090815260656020526040902061206490826124e4565b50612071606682846124f0565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000828152610481602052604080822054905184926001600160a01b038086169316917febd529444fe852bfccb40075e8f8cae7612ea20edebdf5143c72718ccb157f759190a46000918252610481602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b600061212f30612666565b15905090565b600054610100900460ff168061214e575061214e612124565b8061215c575060005460ff16155b6121785760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff161580156121a3576000805460ff1961ff0019909116610100171660011790555b6121b5826001600160a01b0316612666565b6121d15760405162461bcd60e51b815260040161072190613d17565b610c5280546001600160a01b0319166001600160a01b03841617905580156109f2576000805461ff00191690555050565b600054610100900460ff168061221b575061221b612124565b80612229575060005460ff16155b6122455760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff16158015612270576000805460ff1961ff0019909116610100171660011790555b61227861266c565b6122806126ed565b61228a838361276b565b80156107d9576000805461ff0019169055505050565b600054610100900460ff16806122b957506122b9612124565b806122c7575060005460ff16155b6122e35760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff1615801561230e576000805460ff1961ff0019909116610100171660011790555b61231e631030681960e21b611eaa565b8015610946576000805461ff001916905550565b600054610100900460ff168061234b575061234b612124565b80612359575060005460ff16155b6123755760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff161580156123a0576000805460ff1961ff0019909116610100171660011790555b6001611427558015610946576000805461ff001916905550565b6123c5848484611cbf565b6123d184848484612831565b6116ca5760405162461bcd60e51b815260040161072190613899565b60608161241257506040805180820190915260018152600360fc1b602082015261065f565b8160005b811561242a57600101600a82049150612416565b60008167ffffffffffffffff8111801561244357600080fd5b506040519080825280601f01601f19166020018201604052801561246e576020820181803683370190505b50859350905060001982015b83156124bf57600a840660300160f81b8282806001900393508151811061249d57fe5b60200101906001600160f81b031916908160001a905350600a8404935061247a565b50949350505050565b60006108498383612910565b5490565b60006108498383612928565b600061084983836129ee565b6000611f2284846001600160a01b038516612a38565b815460009082106125295760405162461bcd60e51b815260040161072190613820565b82600001828154811061253857fe5b9060005260206000200154905092915050565b80516109f290606f906020840190612df1565b61094681612acf565b81546000908190831061258c5760405162461bcd60e51b815260040161072190613ca0565b600084600001848154811061259d57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816125f35760405162461bcd60e51b815260040161072191906137d4565b5084600001600182038154811061260657fe5b9060005260206000209060020201600101549150509392505050565b61262b82611bb0565b6126475760405162461bcd60e51b815260040161072190613dfd565b6000828152606e6020908152604090912082516107d992840190612df1565b3b151590565b600054610100900460ff16806126855750612685612124565b80612693575060005460ff16155b6126af5760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff1615801561231e576000805460ff1961ff0019909116610100171660011790558015610946576000805461ff001916905550565b600054610100900460ff16806127065750612706612124565b80612714575060005460ff16155b6127305760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff1615801561275b576000805460ff1961ff0019909116610100171660011790555b61231e6301ffc9a760e01b611eaa565b600054610100900460ff16806127845750612784612124565b80612792575060005460ff16155b6127ae5760405162461bcd60e51b815260040161072190613c0f565b600054610100900460ff161580156127d9576000805460ff1961ff0019909116610100171660011790555b82516127ec90606c906020860190612df1565b50815161280090606d906020850190612df1565b506128116380ac58cd60e01b611eaa565b612821635b5e139f60e01b611eaa565b61228a63780e9d6360e01b611eaa565b6000612845846001600160a01b0316612666565b61285157506001611cb7565b60006128d9630a85bd0160e11b612866611bbd565b88878760405160240161287c9493929190613774565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016140f4603291396001600160a01b0388169190612b1b565b90506000818060200190518101906128f19190613369565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156129e4578354600019808301919081019060009087908390811061295b57fe5b906000526020600020015490508087600001848154811061297857fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806129a857fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061084c565b600091505061084c565b60006129fa8383612910565b612a305750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561084c565b50600061084c565b600082815260018401602052604081205480612a9d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611f25565b82856000016001830381548110612ab057fe5b9060005260206000209060020201600101819055506000915050611f25565b33600090815261086a60209081526040808320848452606e9092529182902091519091612afb9161370b565b908152604051908190036020019020805460ff1916905561094681612b2a565b6060611f228484600085612b50565b60008181526104816020526040902080546001600160a01b031916905561094681612c10565b606082471015612b725760405162461bcd60e51b815260040161072190613a95565b612b7b85612666565b612b975760405162461bcd60e51b815260040161072190613fb4565b600080866001600160a01b03168587604051612bb391906136ef565b60006040518083038185875af1925050503d8060008114612bf0576040519150601f19603f3d011682016040523d82523d6000602084013e612bf5565b606091505b5091509150612c05828286612cdd565b979650505050505050565b6000612c1b82610a1e565b9050612c29816000846107d9565b612c34600083611bc1565b6000828152606e60205260409020546002600019610100600184161502019091160415612c72576000828152606e60205260408120612c7291612e7d565b6001600160a01b0381166000908152606560205260409020612c9490836124d8565b50612ca0606683612d16565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60608315612cec575081611f25565b825115612cfc5782518084602001fd5b8160405162461bcd60e51b815260040161072191906137d4565b60006108498383600081815260018301602052604081205480156129e45783546000198083019190810190600090879083908110612d5057fe5b9060005260206000209060020201905080876000018481548110612d7057fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080612daf57fe5b600082815260208082206002600019909401938402018281556001908101839055929093558881528982019092526040822091909155945061084c9350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282612e275760008555612e6d565b82601f10612e4057805160ff1916838001178555612e6d565b82800160010185558215612e6d579182015b82811115612e6d578251825591602001919060010190612e52565b50612e79929150612ebd565b5090565b50805460018160011615610100020316600290046000825580601f10612ea35750610946565b601f01602090049060005260206000209081019061094691905b5b80821115612e795760008155600101612ebe565b600067ffffffffffffffff831115612ee657fe5b612ef9601f8401601f191660200161404c565b9050828152838383011115612f0d57600080fd5b828260208301376000602084830101529392505050565b803561065f816140ba565b600082601f830112612f3f578081fd5b81356020612f54612f4f83614070565b61404c565b8281528181019085830183850287018401881015612f70578586fd5b855b85811015612f97578135612f85816140ba565b84529284019290840190600101612f72565b5090979650505050505050565b600082601f830112612fb4578081fd5b81356020612fc4612f4f83614070565b82815281810190858301855b85811015612f9757612fe7898684358b0101613053565b84529284019290840190600101612fd0565b600082601f830112613009578081fd5b81356020613019612f4f83614070565b8281528181019085830183850287018401881015613035578586fd5b855b85811015612f9757813584529284019290840190600101613037565b600082601f830112613063578081fd5b61084983833560208501612ed2565b600060208284031215613083578081fd5b8135611f25816140ba565b60006020828403121561309f578081fd5b8151611f25816140ba565b6000806000606084860312156130be578182fd5b83356130c9816140ba565b9250602084013567ffffffffffffffff808211156130e5578384fd5b6130f187838801613053565b93506040860135915080821115613106578283fd5b5061311386828701613053565b9150509250925092565b6000806040838503121561312f578182fd5b823561313a816140ba565b9150602083013561314a816140ba565b809150509250929050565b600080600060608486031215613169578283fd5b8335613174816140ba565b92506020840135613184816140ba565b929592945050506040919091013590565b600080600080608085870312156131aa578081fd5b84356131b5816140ba565b935060208501356131c5816140ba565b925060408501359150606085013567ffffffffffffffff8111156131e7578182fd5b8501601f810187136131f7578182fd5b61320687823560208401612ed2565b91505092959194509250565b60008060408385031215613224578182fd5b823561322f816140ba565b9150602083013561314a816140cf565b60008060008060808587031215613254578182fd5b843561325f816140ba565b9350602085013561326f816140cf565b93969395505050506040820135916060013590565b60008060408385031215613296578182fd5b82356132a1816140ba565b9150602083013567ffffffffffffffff8111156132bc578182fd5b6132c885828601613053565b9150509250929050565b600080604083850312156132e4578182fd5b82356132ef816140ba565b946020939093013593505050565b600080600060608486031215613311578081fd5b833561331c816140ba565b95602085013595506040909401359392505050565b600060208284031215613342578081fd5b8151611f25816140cf565b60006020828403121561335e578081fd5b8135611f25816140dd565b60006020828403121561337a578081fd5b8151611f25816140dd565b600060208284031215613396578081fd5b813567ffffffffffffffff8111156133ac578182fd5b611cb784828501613053565b60008060008060008060c087890312156133d0578384fd5b863567ffffffffffffffff808211156133e7578586fd5b6133f38a838b01613053565b975061340160208a01612f24565b96506040890135915080821115613416578586fd5b6134228a838b01612ff9565b95506060890135915080821115613437578384fd5b6134438a838b01612f2f565b94506080890135915080821115613458578384fd5b6134648a838b01612fa4565b935060a0890135915080821115613479578283fd5b5061348689828a01612fa4565b9150509295509295509295565b6000602082840312156134a4578081fd5b5035919050565b600080600080600080600060e0888a0312156134c5578485fd5b87359650602088013567ffffffffffffffff808211156134e3578687fd5b6134ef8b838c01613053565b97506134fd60408b01612f24565b965060608a0135915080821115613512578283fd5b61351e8b838c01612ff9565b955060808a0135915080821115613533578283fd5b61353f8b838c01612f2f565b945060a08a0135915080821115613554578283fd5b6135608b838c01612fa4565b935060c08a0135915080821115613575578283fd5b506135828a828b01612fa4565b91505092959891949750929550565b6000806000606084860312156135a5578081fd5b83359250602084013567ffffffffffffffff8111156135c2578182fd5b6135ce86828701613053565b925050604084013590509250925092565b600080604083850312156135f1578182fd5b50508035926020909101359150565b6000815180845260208085018081965082840281019150828601855b85811015613646578284038952613634848351613653565b9885019893509084019060010161361c565b5091979650505050505050565b6000815180845261366b81602086016020860161408e565b601f01601f19169290920160200192915050565b6000815460018082166000811461369d57600181146136b4576136e6565b60ff198316865260028304607f16860193506136e6565b600283048560005260208060002060005b838110156136de5781548a8201529085019082016136c5565b505050860193505b50505092915050565b6000825161370181846020870161408e565b9190910192915050565b6000610849828461367f565b6000613723828561367f565b835161373381836020880161408e565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137a790830184613653565b9695505050505050565b901515815260200190565b92151583526020830191909152604082015260600190565b6000602082526108496020830184613653565b6000606082526137fa6060830186613653565b828103602084015261380c8186613600565b905082810360408401526137a78185613600565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601c908201527f42756464793a20596f7520617265206e6f7420746865206f776e657200000000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4e46543732314d657461646174613a204e46542077617320616c7265616479206040820152651b5a5b9d195960d21b606082015260800190565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4e465437323143726561746f723a2043616c6c6572206973206e6f742063726560408201526330ba37b960e11b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526019908201527f42756464793a204665657320416d6f756e74206973206c6f7700000000000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526021908201527f4e46543732314d696e743a414444524553535f4e4f545f415554484f52495a456040820152601160fa1b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526023908201527f42756464793a205061796d656e74206d6f6465206973206e6f742061636365706040820152621d195960ea1b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526027908201527f54726561737572794e6f64653a2041646472657373206973206e6f74206120636040820152661bdb9d1c9858dd60ca1b606082015260800190565b60208082526033908201527f427564647941646d696e526f6c653a2063616c6c657220646f6573206e6f742060408201527268617665207468652041646d696e20726f6c6560681b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4e46543732314d657461646174613a20496e76616c69642049504653207061746040820152600d60fb1b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f4e465437323143726561746f723a2043616c6c657220646f6573206e6f74206f6040820152691ddb881d1a194813919560b21b606082015260800190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff8111828210171561406857fe5b604052919050565b600067ffffffffffffffff82111561408457fe5b5060209081020190565b60005b838110156140a9578181015183820152602001614091565b838111156116ca5750506000910152565b6001600160a01b038116811461094657600080fd5b801515811461094657600080fd5b6001600160e01b03198116811461094657600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122020496570bbbb70ce34ac3342d11006e27e53f953b76b19765d4a49d4f9c29bb164736f6c63430007060033
Deployed Bytecode Sourcemap
86663:2216:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10595:200;;;;;;;;;;-1:-1:-1;10595:200:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58676:92;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;61541:291::-;;;;;;;;;;-1:-1:-1;61541:291:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;61071:404::-;;;;;;;;;;-1:-1:-1;61071:404:0;;;;;:::i;:::-;;:::i;:::-;;60524:203;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;62566:376::-;;;;;;;;;;-1:-1:-1;62566:376:0;;;;;:::i;:::-;;:::i;60253:195::-;;;;;;;;;;-1:-1:-1;60253:195:0;;;;;:::i;:::-;;:::i;73107:100::-;;;;;;;;;;;;;:::i;55105:49::-;;;;;;;;;;-1:-1:-1;55105:49:0;;;;;:::i;:::-;;:::i;87614:139::-;;;;;;;;;;-1:-1:-1;87614:139:0;;;;;:::i;:::-;;:::i;77382:160::-;;;;;;;;;;-1:-1:-1;77382:160:0;;;;;:::i;:::-;;:::i;63013:185::-;;;;;;;;;;-1:-1:-1;63013:185:0;;;;;:::i;:::-;;:::i;77880:100::-;;;;;;;;;;-1:-1:-1;77880:100:0;;;;;:::i;:::-;;:::i;77173:116::-;;;;;;;;;;;;;:::i;60804:205::-;;;;;;;;;;-1:-1:-1;60804:205:0;;;;;:::i;:::-;;:::i;58378:231::-;;;;;;;;;;-1:-1:-1;58378:231:0;;;;;:::i;:::-;;:::i;60080:89::-;;;;;;;;;;;;;:::i;58064:252::-;;;;;;;;;;-1:-1:-1;58064:252:0;;;;;:::i;:::-;;:::i;55209:66::-;;;;;;;;;;-1:-1:-1;55209:66:0;;;;;:::i;:::-;;:::i;84524:1653::-;;;;;;:::i;:::-;;:::i;81348:44::-;;;;;;;;;;-1:-1:-1;81348:44:0;;;;;:::i;:::-;;:::i;82786:1661::-;;;;;;:::i;:::-;;:::i;79463:210::-;;;;;;;;;;-1:-1:-1;79463:210:0;;;;;:::i;:::-;;:::i;87018:422::-;;;;;;;;;;-1:-1:-1;87018:422:0;;;;;:::i;:::-;;:::i;58837:96::-;;;;;;;;;;;;;:::i;81399:44::-;;;;;;;;;;-1:-1:-1;81399:44:0;;;;;:::i;:::-;;:::i;81296:45::-;;;;;;;;;;-1:-1:-1;81296:45:0;;;;;:::i;:::-;;:::i;61904:327::-;;;;;;;;;;-1:-1:-1;61904:327:0;;;;;:::i;:::-;;:::i;63269:365::-;;;;;;;;;;-1:-1:-1;63269:365:0;;;;;:::i;:::-;;:::i;59004:833::-;;;;;;;;;;-1:-1:-1;59004:833:0;;;;;:::i;:::-;;:::i;82374:93::-;;;;;;;;;;;;;:::i;79211:156::-;;;;;;;;;;-1:-1:-1;79211:156:0;;;;;:::i;:::-;;:::i;88564:312::-;;;;;;;;;;-1:-1:-1;88564:312:0;;;;;:::i;:::-;;:::i;62302:197::-;;;;;;;;;;-1:-1:-1;62302:197:0;;;;;:::i;:::-;;:::i;88166:390::-;;;;;;;;;;-1:-1:-1;88166:390:0;;;;;:::i;:::-;;:::i;10595:200::-;-1:-1:-1;;;;;;10754:33:0;;10725:4;10754:33;;;:20;:33;;;;;;;;10595:200;;;;:::o;58676:92::-;58755:5;58748:12;;;;;;;;-1:-1:-1;;58748:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58722:13;;58748:12;;58755:5;;58748:12;;58755:5;58748:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58676:92;:::o;61541:291::-;61645:7;61692:16;61700:7;61692;:16::i;:::-;61670:110;;;;-1:-1:-1;;;61670:110:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;61800:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;61800:24:0;;61541:291::o;61071:404::-;61152:13;61168:16;61176:7;61168;:16::i;:::-;61152:32;;61209:5;-1:-1:-1;;;;;61203:11:0;:2;-1:-1:-1;;;;;61203:11:0;;;61195:57;;;;-1:-1:-1;;;61195:57:0;;;;;;;:::i;:::-;61303:5;-1:-1:-1;;;;;61287:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;61287:21:0;;:62;;;;61312:37;61329:5;61336:12;:10;:12::i;61312:37::-;61265:168;;;;-1:-1:-1;;;61265:168:0;;;;;;;:::i;:::-;61446:21;61455:2;61459:7;61446:8;:21::i;:::-;61071:404;;;:::o;60524:203::-;60577:7;60698:21;:12;:19;:21::i;:::-;60691:28;;60524:203;:::o;62566:376::-;62775:41;62794:12;:10;:12::i;:::-;62808:7;62775:18;:41::i;:::-;62753:140;;;;-1:-1:-1;;;62753:140:0;;;;;;;:::i;:::-;62906:28;62916:4;62922:2;62926:7;62906:9;:28::i;60253:195::-;-1:-1:-1;;;;;60410:20:0;;60378:7;60410:20;;;:13;:20;;;;;:30;;60434:5;60410:23;:30::i;:::-;60403:37;;60253:195;;;;;:::o;73107:100::-;73191:8;;-1:-1:-1;;;;;73191:8:0;73107:100;:::o;55105:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55105:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55105:49:0;;-1:-1:-1;55105:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;87614:139::-;74052:15;:13;:15::i;:::-;74030:116;;;;-1:-1:-1;;;74030:116:0;;;;;;;:::i;:::-;87720:23:::1;87735:7;87720:14;:23::i;:::-;87614:139:::0;:::o;77382:160::-;77469:15;77509:25;;;:16;:25;;;;;;-1:-1:-1;;;;;77509:25:0;;77382:160::o;63013:185::-;63151:39;63168:4;63174:2;63178:7;63151:39;;;;;;;;;;;;:16;:39::i;77880:100::-;76437:25;;;;:16;:25;;;;;;77938:7;;-1:-1:-1;;;;;76437:25:0;76466:10;76437:39;76415:125;;;;-1:-1:-1;;;76415:125:0;;;;;;;:::i;:::-;76593:10;76573:16;76581:7;76573;:16::i;:::-;-1:-1:-1;;;;;76573:30:0;;76551:122;;;;-1:-1:-1;;;76551:122:0;;;;;;;:::i;:::-;77958:14:::1;77964:7;77958:5;:14::i;:::-;77880:100:::0;;:::o;77173:116::-;77221:60;-1:-1:-1;;;77221:18:0;:60::i;:::-;77173:116::o;60804:205::-;60907:7;;60954:22;:12;60970:5;60954:15;:22::i;:::-;-1:-1:-1;60932:44:0;60804:205;-1:-1:-1;;;60804:205:0:o;58378:231::-;58442:7;58482:119;58517:7;58482:119;;;;;;;;;;;;;;;;;:12;;:119;:16;:119::i;60080:89::-;60153:8;60146:15;;;;;;;;-1:-1:-1;;60146:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60120:13;;60146:15;;60153:8;;60146:15;;60153:8;60146:15;;;;;;;;;;;;;;;;;;;;;;;;58064:252;58128:7;-1:-1:-1;;;;;58170:19:0;;58148:111;;;;-1:-1:-1;;;58148:111:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58279:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;55209:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55209:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55209:66:0;;-1:-1:-1;55209:66:0;-1:-1:-1;55209:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;84524:1653;84787:13;84803:16;84811:7;84803;:16::i;:::-;84787:32;-1:-1:-1;84838:10:0;-1:-1:-1;;;;;84838:19:0;;;84830:65;;;;-1:-1:-1;;;84830:65:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;84914:25:0;;;;;;:12;:25;;;;;;;;:33;;:25;:33;84906:81;;;;-1:-1:-1;;;84906:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;85002:25:0;;;84998:367;;85051:11;-1:-1:-1;;;;;85044:32:0;;85077:10;85089:18;:16;:18::i;:::-;-1:-1:-1;;;;;85109:22:0;;;;;;:9;:22;;;;;;;;85044:88;;-1:-1:-1;;;;;;85044:88:0;;;;;;;;;;;85109:22;85044:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;84998:367;;;-1:-1:-1;;;;;85205:22:0;;;;;;:9;:22;;;;;;85192:9;:35;;85166:122;;;;-1:-1:-1;;;85166:122:0;;;;;;;:::i;:::-;85303:18;:16;:18::i;:::-;-1:-1:-1;;;;;85303:27:0;:50;85331:21;85303:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84998:367;85375:41;85393:7;85402:13;85375:17;:41::i;:::-;85430:8;85439:1;85430:11;;;;;;;;;;;;;;85443:1;85430:14;85427:393;;85465:9;85461:348;85481:8;:15;85478:1;:18;85461:348;;;85563:17;85581:1;85563:20;;;;;;;;;;;;;;-1:-1:-1;;;;;85544:48:0;;85593:8;85602:1;85593:11;;;;;;;;;;;;;;85544:61;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;85530:75:0;:10;-1:-1:-1;;;;;85530:75:0;;85522:115;;;;-1:-1:-1;;;85522:115:0;;;;;;;:::i;:::-;85675:17;85693:1;85675:20;;;;;;;;;;;;;;-1:-1:-1;;;;;85656:45:0;;85702:8;85711:1;85702:11;;;;;;;;;;;;;;85656:58;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;85733:20:0;;;;:11;:20;;;;;85754;;85733;;-1:-1:-1;85754:17:0;;85772:1;;85754:20;;;;;;;;;;;;-1:-1:-1;;;;;85733:42:0;-1:-1:-1;;;;;85733:42:0;;;;;;;;;;;;85781:8;85790:1;85781:11;;;;;;;;;;;;;;;;;;;85733:60;;;;;;;;-1:-1:-1;85733:60:0;;;;;;;;;;;;;;85498:3;85461:348;;;;85427:393;85834:9;85830:114;85851:10;:17;85847:1;:21;85830:114;;;85890:22;;;;:13;:22;;;;;85918:13;;:10;;85929:1;;85918:13;;;;;;;;;;;;;;;;;85890:42;;;;;;;-1:-1:-1;85890:42:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;85870:3:0;;85830:114;;;;85958:9;85954:122;85974:10;:17;85971:1;:20;85954:122;;;86013:20;;;;:11;:20;;;;;86034:13;;:10;;86045:1;;86034:13;;;;;;;;;;;;86013:35;;;;;;:::i;:::-;;;;;;;;;;;;;86054:6;86061:1;86054:9;;;;;;;;;;;;;;;;;;;86013:51;;;;;;;-1:-1:-1;86013:51:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;85993:3:0;;85954:122;;;;86120:13;86091:78;;;;;;:::i;:::-;;;;;;;;86111:7;86099:10;-1:-1:-1;;;;;86091:78:0;;86135:13;86150:10;86162:6;86091:78;;;;;;;;:::i;:::-;;;;;;;;84524:1653;;;;;;;;:::o;81348:44::-;;;;;;;;;;;;;:::o;82786:1661::-;-1:-1:-1;;;;;83059:25:0;;83023:15;83059:25;;;:12;:25;;;;;;;;:33;;:25;:33;83051:81;;;;-1:-1:-1;;;83051:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;83147:25:0;;;83143:369;;83196:11;-1:-1:-1;;;;;83189:32:0;;83222:10;83234:18;:16;:18::i;:::-;-1:-1:-1;;;;;83254:23:0;;;;;;:10;:23;;;;;;;;83189:89;;-1:-1:-1;;;;;;83189:89:0;;;;;;;;;;;83254:23;83189:89;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;83143:369;;;-1:-1:-1;;;;;83351:23:0;;;;;;:10;:23;;;;;;83338:9;:36;;83312:123;;;;-1:-1:-1;;;83312:123:0;;;;;;;:::i;:::-;83450:18;:16;:18::i;:::-;-1:-1:-1;;;;;83450:27:0;:50;83478:21;83450:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83143:369;-1:-1:-1;83534:11:0;:13;;;;;;;;83561:11;;:8;;83534:11;;83561;;;;;;;;;;83574:1;83561:14;83558:393;;83596:9;83592:348;83612:8;:15;83609:1;:18;83592:348;;;83694:17;83712:1;83694:20;;;;;;;;;;;;;;-1:-1:-1;;;;;83675:48:0;;83724:8;83733:1;83724:11;;;;;;;;;;;;;;83675:61;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;83661:75:0;:10;-1:-1:-1;;;;;83661:75:0;;83653:115;;;;-1:-1:-1;;;83653:115:0;;;;;;;:::i;:::-;83806:17;83824:1;83806:20;;;;;;;;;;;;;;-1:-1:-1;;;;;83787:45:0;;83833:8;83842:1;83833:11;;;;;;;;;;;;;;83787:58;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;83864:20:0;;;;:11;:20;;;;;83885;;83864;;-1:-1:-1;83885:17:0;;83903:1;;83885:20;;;;;;;;;;;;-1:-1:-1;;;;;83864:42:0;-1:-1:-1;;;;;83864:42:0;;;;;;;;;;;;83912:8;83921:1;83912:11;;;;;;;;;;;;;;;;;;;83864:60;;;;;;;;-1:-1:-1;83864:60:0;;;;;;;;;;;;;;83629:3;83592:348;;;;83558:393;83961:26;83967:10;83979:7;83961:5;:26::i;:::-;83998:40;84018:7;84027:10;83998:19;:40::i;:::-;84049:41;84067:7;84076:13;84049:17;:41::i;:::-;84105:9;84101:114;84122:10;:17;84118:1;:21;84101:114;;;84161:22;;;;:13;:22;;;;;84189:13;;:10;;84200:1;;84189:13;;;;;;;;;;;;;;;;;84161:42;;;;;;;-1:-1:-1;84161:42:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;84141:3:0;;84101:114;;;;84229:9;84225:122;84245:10;:17;84242:1;:20;84225:122;;;84284:20;;;;:11;:20;;;;;84305:13;;:10;;84316:1;;84305:13;;;;;;;;;;;;84284:35;;;;;;:::i;:::-;;;;;;;;;;;;;84325:6;84332:1;84325:9;;;;;;;;;;;;;;;;;;;84284:51;;;;;;;-1:-1:-1;84284:51:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;84264:3:0;;84225:122;;;;84390:13;84362:77;;;;;;:::i;:::-;;;;;;;;84381:7;84369:10;-1:-1:-1;;;;;84362:77:0;;84405:13;84420:10;84432:6;84362:77;;;;;;;;:::i;:::-;;;;;;;;82786:1661;;;;;;;;:::o;79463:210::-;-1:-1:-1;;;;;79616:34:0;;79592:4;79616:34;;;:25;:34;;;;;;:49;;;;79651:13;;79616:49;:::i;:::-;;;;;;;;;;;;;;;;;;-1:-1:-1;79463:210:0;;;;:::o;87018:422::-;8789:13;;;;;;;;:33;;;8806:16;:14;:16::i;:::-;8789:50;;;-1:-1:-1;8827:12:0;;;;8826:13;8789:50;8767:146;;;;-1:-1:-1;;;8767:146:0;;;;;;;:::i;:::-;8926:19;8949:13;;;;;;8948:14;8973:101;;;;9008:13;:20;;-1:-1:-1;;;;9008:20:0;;;;;9043:19;9024:4;9043:19;;;8973:101;87170:46:::1;87207:8;87170:36;:46::i;:::-;87227:45;87259:4;87265:6;87227:31;:45::i;:::-;87283:40;:38;:40::i;:::-;87343:34;:32;:34::i;:::-;87388:42;;;;;;;;;;;;;;-1:-1:-1::0;;;87388:42:0::1;;::::0;:17:::1;:42::i;:::-;9104:14:::0;9100:68;;;9151:5;9135:21;;-1:-1:-1;;9135:21:0;;;9100:68;87018:422;;;;:::o;58837:96::-;58918:7;58911:14;;;;;;;;-1:-1:-1;;58911:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58885:13;;58911:14;;58918:7;;58911:14;;58918:7;58911:14;;;;;;;;;;;;;;;;;;;;;;;;81399:44;;;;;;;;;;;;;;;:::o;81296:45::-;;;;;;;;;;;;;:::o;61904:327::-;62051:12;:10;:12::i;:::-;-1:-1:-1;;;;;62039:24:0;:8;-1:-1:-1;;;;;62039:24:0;;;62031:62;;;;-1:-1:-1;;;62031:62:0;;;;;;;:::i;:::-;62151:8;62106:18;:32;62125:12;:10;:12::i;:::-;-1:-1:-1;;;;;62106:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;62106:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;62106:53:0;;;;;;;;;;;62190:12;:10;:12::i;:::-;-1:-1:-1;;;;;62175:48:0;;62214:8;62175:48;;;;;;:::i;:::-;;;;;;;;61904:327;;:::o;63269:365::-;63458:41;63477:12;:10;:12::i;:::-;63491:7;63458:18;:41::i;:::-;63436:140;;;;-1:-1:-1;;;63436:140:0;;;;;;;:::i;:::-;63587:39;63601:4;63607:2;63611:7;63620:5;63587:13;:39::i;59004:833::-;59105:13;59158:16;59166:7;59158;:16::i;:::-;59136:113;;;;-1:-1:-1;;;59136:113:0;;;;;;;:::i;:::-;59262:23;59288:19;;;:10;:19;;;;;;;;59262:45;;;;;;;;;;;-1:-1:-1;;59262:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;59288:19;;59262:45;;;59288:19;59262:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;59389:8:0;59383:22;59262:45;;-1:-1:-1;;;;59383:22:0;-1:-1:-1;;59383:22:0;;;;;;;;;;;59379:76;;59434:9;-1:-1:-1;59427:16:0;;59379:76;59559:23;;:27;59555:112;;59634:8;59644:9;59617:37;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59603:52;;;;;59555:112;59799:8;59809:18;:7;:16;:18::i;:::-;59782:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59768:61;;;59004:833;;;:::o;82374:93::-;82448:11;;82374:93;:::o;79211:156::-;79340:19;;;;:10;:19;;;;;;;;;79333:26;;;;;;-1:-1:-1;;79333:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79302:13;;79333:26;;;79340:19;79333:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79211:156;;;:::o;88564:312::-;74052:15;:13;:15::i;:::-;74030:116;;;;-1:-1:-1;;;74030:116:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;88717:25:0;::::1;;::::0;;;:10:::1;:25;::::0;;;;;;;:36;;;88764:9:::1;:24:::0;;;;;;;:37;;;88817:51;::::1;::::0;::::1;::::0;88745:8;;88791:10;;88817:51:::1;:::i;:::-;;;;;;;;88564:312:::0;;;:::o;62302:197::-;-1:-1:-1;;;;;62456:25:0;;;62427:4;62456:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;62302:197::o;88166:390::-;74052:15;:13;:15::i;:::-;74030:116;;;;-1:-1:-1;;;74030:116:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;88342:27:0;::::1;;::::0;;;:12:::1;:27;::::0;;;;;;;:36;;-1:-1:-1;;88342:36:0::1;::::0;::::1;;;::::0;;88389:10:::1;:25:::0;;;;;:36;;;88436:9:::1;:24:::0;;;;;;;:37;;;88493:55;::::1;::::0;::::1;::::0;88342:36;;88389;;88436:37;;88493:55:::1;:::i;:::-;;;;;;;;88166:390:::0;;;;:::o;65181:119::-;65238:4;65262:30;:12;65284:7;65262:21;:30::i;31227:106::-;31315:10;31227:106;:::o;71406:158::-;71472:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;71472:29:0;-1:-1:-1;;;;;71472:29:0;;;;;;;;:24;;71526:16;71472:24;71526:7;:16::i;:::-;-1:-1:-1;;;;;71517:39:0;;;;;;;;;;;71406:158;;:::o;50247:155::-;50343:7;50375:19;50383:3;50375:7;:19::i;65467:428::-;65579:4;65623:16;65631:7;65623;:16::i;:::-;65601:110;;;;-1:-1:-1;;;65601:110:0;;;;;;;:::i;:::-;65722:13;65738:16;65746:7;65738;:16::i;:::-;65722:32;;65784:5;-1:-1:-1;;;;;65773:16:0;:7;-1:-1:-1;;;;;65773:16:0;;:64;;;;65830:7;-1:-1:-1;;;;;65806:31:0;:20;65818:7;65806:11;:20::i;:::-;-1:-1:-1;;;;;65806:31:0;;65773:64;:113;;;;65854:32;65871:5;65878:7;65854:16;:32::i;:::-;65765:122;65467:428;-1:-1:-1;;;;65467:428:0:o;68722:645::-;68888:4;-1:-1:-1;;;;;68868:24:0;:16;68876:7;68868;:16::i;:::-;-1:-1:-1;;;;;68868:24:0;;68846:115;;;;-1:-1:-1;;;68846:115:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;68980:16:0;;68972:65;;;;-1:-1:-1;;;68972:65:0;;;;;;;:::i;:::-;69050:39;69071:4;69077:2;69081:7;69050:20;:39::i;:::-;69154:29;69171:1;69175:7;69154:8;:29::i;:::-;-1:-1:-1;;;;;69196:19:0;;;;;;:13;:19;;;;;:35;;69223:7;69196:26;:35::i;:::-;-1:-1:-1;;;;;;69242:17:0;;;;;;:13;:17;;;;;:30;;69264:7;69242:21;:30::i;:::-;-1:-1:-1;69285:29:0;:12;69302:7;69311:2;69285:16;:29::i;:::-;;69351:7;69347:2;-1:-1:-1;;;;;69332:27:0;69341:4;-1:-1:-1;;;;;69332:27:0;;;;;;;;;;;68722:645;;;:::o;41648:169::-;41746:7;41786:22;41790:3;41802:5;41786:3;:22::i;74174:130::-;74222:4;74257:18;:16;:18::i;:::-;-1:-1:-1;;;;;74246:38:0;;74285:10;74246:50;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;79681:139::-;79749:21;79761:8;79749:11;:21::i;:::-;79788:24;79803:8;79788:24;;;;;;:::i;:::-;;;;;;;;79681:139;:::o;87881:191::-;88044:20;88056:7;88044:11;:20::i;11202:201::-;-1:-1:-1;;;;;;11286:25:0;;;;;11278:66;;;;-1:-1:-1;;;11278:66:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;11355:33:0;;;;;:20;:33;;;;;:40;;-1:-1:-1;;11355:40:0;11391:4;11355:40;;;11202:201::o;50750:268::-;50857:7;;;;50922:22;50926:3;50938:5;50922:3;:22::i;:::-;50891:53;;;;-1:-1:-1;50750:268:0;-1:-1:-1;;;;;50750:268:0:o;52132:292::-;52273:7;52355:44;52360:3;52380;52386:12;52355:4;:44::i;:::-;52347:53;-1:-1:-1;52132:292:0;;;;;;:::o;79985:605::-;80245:2;80219:14;80213:28;:34;;80191:117;;;;-1:-1:-1;;;80191:117:0;;;;;;;:::i;:::-;80368:10;80342:37;;;;:25;:37;;;;;;;:53;;;;80380:14;;80342:53;:::i;:::-;;;;;;;;;;;;;;;;;80341:54;80319:142;;;;-1:-1:-1;;;80319:142:0;;;;;;;:::i;:::-;80500:10;80474:37;;;;:25;:37;;;;;;;:53;;80530:4;;80474:37;:53;;80512:14;;80474:53;:::i;:::-;;;;;;;;;;;;;;:60;;;;;-1:-1:-1;;80474:60:0;;;;;;;;;80545:37;80558:7;80567:14;80545:12;:37::i;67232:404::-;-1:-1:-1;;;;;67312:16:0;;67304:61;;;;-1:-1:-1;;;67304:61:0;;;;;;;:::i;:::-;67385:16;67393:7;67385;:16::i;:::-;67384:17;67376:58;;;;-1:-1:-1;;;67376:58:0;;;;;;;:::i;:::-;67447:45;67476:1;67480:2;67484:7;67447:20;:45::i;:::-;-1:-1:-1;;;;;67505:17:0;;;;;;:13;:17;;;;;:30;;67527:7;67505:21;:30::i;:::-;-1:-1:-1;67548:29:0;:12;67565:7;67574:2;67548:16;:29::i;:::-;-1:-1:-1;67595:33:0;;67620:7;;-1:-1:-1;;;;;67595:33:0;;;67612:1;;67595:33;;67612:1;;67595:33;67232:404;;:::o;77550:230::-;77680:25;;;;:16;:25;;;;;;;77660:64;;77716:7;;-1:-1:-1;;;;;77660:64:0;;;;77680:25;;77660:64;;77680:25;77660:64;77737:25;;;;:16;:25;;;;;;:35;;-1:-1:-1;;;;;;77737:35:0;-1:-1:-1;;;;;77737:35:0;;;;;;;;;77550:230::o;9268:125::-;9316:4;9341:44;9379:4;9341:29;:44::i;:::-;9340:45;9333:52;;9268:125;:::o;72757:265::-;8789:13;;;;;;;;:33;;;8806:16;:14;:16::i;:::-;8789:50;;;-1:-1:-1;8827:12:0;;;;8826:13;8789:50;8767:146;;;;-1:-1:-1;;;8767:146:0;;;;;;;:::i;:::-;8926:19;8949:13;;;;;;8948:14;8973:101;;;;9008:13;:20;;-1:-1:-1;;;;9008:20:0;;;;;9043:19;9024:4;9043:19;;;8973:101;72894:22:::1;:9;-1:-1:-1::0;;;;;72894:20:0::1;;:22::i;:::-;72872:111;;;;-1:-1:-1::0;;;72872:111:0::1;;;;;;;:::i;:::-;72994:8;:20:::0;;-1:-1:-1;;;;;;72994:20:0::1;-1:-1:-1::0;;;;;72994:20:0;::::1;;::::0;;9100:68;;;;9151:5;9135:21;;-1:-1:-1;;9135:21:0;;;72757:265;;:::o;57316:242::-;8789:13;;;;;;;;:33;;;8806:16;:14;:16::i;:::-;8789:50;;;-1:-1:-1;8827:12:0;;;;8826:13;8789:50;8767:146;;;;-1:-1:-1;;;8767:146:0;;;;;;;:::i;:::-;8926:19;8949:13;;;;;;8948:14;8973:101;;;;9008:13;:20;;-1:-1:-1;;;;9008:20:0;;;;;9043:19;9024:4;9043:19;;;8973:101;57438:26:::1;:24;:26::i;:::-;57475:25;:23;:25::i;:::-;57511:39;57535:5;57542:7;57511:23;:39::i;:::-;9104:14:::0;9100:68;;;9151:5;9135:21;;-1:-1:-1;;9135:21:0;;;57316:242;;;:::o;76812:120::-;8789:13;;;;;;;;:33;;;8806:16;:14;:16::i;:::-;8789:50;;;-1:-1:-1;8827:12:0;;;;8826:13;8789:50;8767:146;;;;-1:-1:-1;;;8767:146:0;;;;;;;:::i;:::-;8926:19;8949:13;;;;;;8948:14;8973:101;;;;9008:13;:20;;-1:-1:-1;;;;9008:20:0;;;;;9043:19;9024:4;9043:19;;;8973:101;76880:44:::1;-1:-1:-1::0;;;76880:18:0::1;:44::i;:::-;9104:14:::0;9100:68;;;9151:5;9135:21;;-1:-1:-1;;9135:21:0;;;76812:120;:::o;82575:135::-;8789:13;;;;;;;;:33;;;8806:16;:14;:16::i;:::-;8789:50;;;-1:-1:-1;8827:12:0;;;;8826:13;8789:50;8767:146;;;;-1:-1:-1;;;8767:146:0;;;;;;;:::i;:::-;8926:19;8949:13;;;;;;8948:14;8973:101;;;;9008:13;:20;;-1:-1:-1;;;;9008:20:0;;;;;9043:19;9024:4;9043:19;;;8973:101;82701:1:::1;82687:11;:15:::0;9100:68;;;;9151:5;9135:21;;-1:-1:-1;;9135:21:0;;;82575:135;:::o;64516:352::-;64673:28;64683:4;64689:2;64693:7;64673:9;:28::i;:::-;64734:48;64757:4;64763:2;64767:7;64776:5;64734:22;:48::i;:::-;64712:148;;;;-1:-1:-1;;;64712:148:0;;;;;;;:::i;52712:748::-;52768:13;52989:10;52985:53;;-1:-1:-1;53016:10:0;;;;;;;;;;;;-1:-1:-1;;;53016:10:0;;;;;;52985:53;53063:5;53048:12;53104:78;53111:9;;53104:78;;53137:8;;53168:2;53160:10;;;;53104:78;;;53192:19;53224:6;53214:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53214:17:0;-1:-1:-1;53286:5:0;;-1:-1:-1;53192:39:0;-1:-1:-1;;;53258:10:0;;53302:119;53309:9;;53302:119;;53379:2;53372:4;:9;53366:2;:16;53353:31;;53335:6;53342:7;;;;;;;53335:15;;;;;;;;;;;:49;-1:-1:-1;;;;;53335:49:0;;;;;;;;-1:-1:-1;53407:2:0;53399:10;;;;53302:119;;;-1:-1:-1;53445:6:0;52712:748;-1:-1:-1;;;;52712:748:0:o;49976:183::-;50087:4;50116:35;50126:3;50146;50116:9;:35::i;46592:110::-;46675:19;;46592:110::o;40670:160::-;40758:4;40787:35;40795:3;40815:5;40787:7;:35::i;40363:131::-;40430:4;40454:32;40459:3;40479:5;40454:4;:32::i;49342:219::-;49465:4;49489:64;49494:3;49514;-1:-1:-1;;;;;49528:23:0;;49489:4;:64::i;36314:273::-;36455:18;;36408:7;;36455:26;-1:-1:-1;36433:110:0;;;;-1:-1:-1;;;36433:110:0;;;;;;;:::i;:::-;36561:3;:11;;36573:5;36561:18;;;;;;;;;;;;;;;;36554:25;;36314:273;;;;:::o;70028:100::-;70101:19;;;;:8;;:19;;;;;:::i;86261:179::-;86412:20;86424:7;86412:11;:20::i;47067:348::-;47217:19;;47161:7;;;;47217:27;-1:-1:-1;47195:111:0;;;;-1:-1:-1;;;47195:111:0;;;;;;;:::i;:::-;47319:22;47344:3;:12;;47357:5;47344:19;;;;;;;;;;;;;;;;;;47319:44;;47382:5;:10;;;47394:5;:12;;;47374:33;;;;;47067:348;;;;;:::o;48665:353::-;48793:7;48832:17;;;:12;;;:17;;;;;;48883:12;48868:13;48860:36;;;;-1:-1:-1;;;48860:36:0;;;;;;;;:::i;:::-;;48950:3;:12;;48974:1;48963:8;:12;48950:26;;;;;;;;;;;;;;;;;;:33;;;48943:40;;;48665:353;;;;;:::o;69523:275::-;69660:16;69668:7;69660;:16::i;:::-;69638:110;;;;-1:-1:-1;;;69638:110:0;;;;;;;:::i;:::-;69759:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;1807:444::-;2187:20;2235:8;;;1807:444::o;31160:59::-;8789:13;;;;;;;;:33;;;8806:16;:14;:16::i;:::-;8789:50;;;-1:-1:-1;8827:12:0;;;;8826:13;8789:50;8767:146;;;;-1:-1:-1;;;8767:146:0;;;;;;;:::i;:::-;8926:19;8949:13;;;;;;8948:14;8973:101;;;;9008:13;:20;;-1:-1:-1;;;;9008:20:0;;;;;9043:19;9024:4;9043:19;;;9104:14;9100:68;;;9151:5;9135:21;;-1:-1:-1;;9135:21:0;;;31160:59;:::o;10185:253::-;8789:13;;;;;;;;:33;;;8806:16;:14;:16::i;:::-;8789:50;;;-1:-1:-1;8827:12:0;;;;8826:13;8789:50;8767:146;;;;-1:-1:-1;;;8767:146:0;;;;;;;:::i;:::-;8926:19;8949:13;;;;;;8948:14;8973:101;;;;9008:13;:20;;-1:-1:-1;;;;9008:20:0;;;;;9043:19;9024:4;9043:19;;;8973:101;10390:40:::1;-1:-1:-1::0;;;10390:18:0::1;:40::i;57566:434::-:0;8789:13;;;;;;;;:33;;;8806:16;:14;:16::i;:::-;8789:50;;;-1:-1:-1;8827:12:0;;;;8826:13;8789:50;8767:146;;;;-1:-1:-1;;;8767:146:0;;;;;;;:::i;:::-;8926:19;8949:13;;;;;;8948:14;8973:101;;;;9008:13;:20;;-1:-1:-1;;;;9008:20:0;;;;;9043:19;9024:4;9043:19;;;8973:101;57698:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;57722:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;57830:40:0::1;-1:-1:-1::0;;;57830:18:0::1;:40::i;:::-;57881:49;-1:-1:-1::0;;;57881:18:0::1;:49::i;:::-;57941:51;-1:-1:-1::0;;;57941:18:0::1;:51::i;70693:705::-:0;70848:4;70870:15;:2;-1:-1:-1;;;;;70870:13:0;;:15::i;:::-;70865:60;;-1:-1:-1;70909:4:0;70902:11;;70865:60;70935:23;70961:324;-1:-1:-1;;;71107:12:0;:10;:12::i;:::-;71138:4;71161:7;71187:5;70991:216;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;70991:216:0;;;;;;;-1:-1:-1;;;;;70991:216:0;;;;;;;;;;;70961:324;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;70961:15:0;;;:324;:15;:324::i;:::-;70935:350;;71296:13;71323:10;71312:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;71363:26:0;-1:-1:-1;;;71363:26:0;;-1:-1:-1;;;70693:705:0;;;;;;:::o;46340:157::-;46438:4;46467:17;;;:12;;;;;:17;;;;;;:22;;;46340:157::o;33961:1557::-;34027:4;34166:19;;;:12;;;:19;;;;;;34202:15;;34198:1313;;34650:18;;-1:-1:-1;;34601:14:0;;;;34650:22;;;;34577:21;;34650:3;;:22;;34937;;;;;;;;;;;;;;34917:42;;35083:9;35054:3;:11;;35066:13;35054:26;;;;;;;;;;;;;;;;;;;:38;;;;35160:23;;;35202:1;35160:12;;;:23;;;;;;35186:17;;;35160:43;;35312:17;;35160:3;;35312:17;;;;;;;;;;;;;;;;;;;;;;35407:3;:12;;:19;35420:5;35407:19;;;;;;;;;;;35400:26;;;35450:4;35443:11;;;;;;;;34198:1313;35494:5;35487:12;;;;;33371:414;33434:4;33456:21;33466:3;33471:5;33456:9;:21::i;:::-;33451:327;;-1:-1:-1;33494:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;33677:18;;33655:19;;;:12;;;:19;;;;;;:40;;;;33710:11;;33451:327;-1:-1:-1;33761:5:0;33754:12;;43782:737;43892:4;44027:17;;;:12;;;:17;;;;;;44061:13;44057:455;;-1:-1:-1;;44159:36:0;;;;;;;;;;;;;;;;;;44141:55;;;;;;;;:12;:55;;;;;;;;;;;;;;;;;;;;;;;;44354:19;;44334:17;;;:12;;;:17;;;;;;;:39;44388:11;;44057:455;44468:5;44432:3;:12;;44456:1;44445:8;:12;44432:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;44495:5;44488:12;;;;;80740:173;80842:10;80816:37;;;;:25;:37;;;;;;;;80854:19;;;:10;:19;;;;;;;80816:58;;:37;;:58;;;:::i;:::-;;;;;;;;;;;;;;80809:65;;-1:-1:-1;;80809:65:0;;;80885:20;80897:7;80885:11;:20::i;3440:229::-;3577:12;3609:52;3631:6;3639:4;3645:1;3648:12;3609:21;:52::i;78058:142::-;78134:25;;;;:16;:25;;;;;78127:32;;-1:-1:-1;;;;;;78127:32:0;;;78172:20;78151:7;78172:11;:20::i;4656:632::-;4826:12;4898:5;4873:21;:30;;4851:118;;;;-1:-1:-1;;;4851:118:0;;;;;;;:::i;:::-;4988:18;4999:6;4988:10;:18::i;:::-;4980:60;;;;-1:-1:-1;;;4980:60:0;;;;;;;:::i;:::-;5114:12;5128:23;5155:6;-1:-1:-1;;;;;5155:11:0;5174:5;5195:4;5155:55;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5113:97;;;;5228:52;5246:7;5255:10;5267:12;5228:17;:52::i;:::-;5221:59;4656:632;-1:-1:-1;;;;;;;4656:632:0:o;67865:520::-;67925:13;67941:16;67949:7;67941;:16::i;:::-;67925:32;;67970:48;67991:5;68006:1;68010:7;67970:20;:48::i;:::-;68059:29;68076:1;68080:7;68059:8;:29::i;:::-;68147:19;;;;:10;:19;;;;;68141:33;;-1:-1:-1;;68141:33:0;;;;;;;;;;;:38;68137:97;;68203:19;;;;:10;:19;;;;;68196:26;;;:::i;:::-;-1:-1:-1;;;;;68246:20:0;;;;;;:13;:20;;;;;:36;;68274:7;68246:27;:36::i;:::-;-1:-1:-1;68295:28:0;:12;68315:7;68295:19;:28::i;:::-;-1:-1:-1;68341:36:0;;68369:7;;68365:1;;-1:-1:-1;;;;;68341:36:0;;;;;68365:1;;68341:36;67865:520;;:::o;6439:777::-;6589:12;6618:7;6614:595;;;-1:-1:-1;6649:10:0;6642:17;;6614:595;6763:17;;:21;6759:439;;7026:10;7020:17;7087:15;7074:10;7070:2;7066:19;7059:44;6974:148;7169:12;7162:20;;-1:-1:-1;;;7162:20:0;;;;;;;;:::i;49727:165::-;49822:4;49851:33;49859:3;49879;44758:4;44893:17;;;:12;;;:17;;;;;;44927:13;;44923:1326;;45372:19;;-1:-1:-1;;45325:12:0;;;;45372:23;;;;45301:21;;45372:3;;:23;;45669;;;;;;;;;;;;;;;;45640:52;;45817:9;45787:3;:12;;45800:13;45787:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;45907:14;;45894:28;;:12;;;:28;;;;;45925:17;;;45894:48;;46051:18;;45894:3;;46051:18;;;;;;;;;;;;;;-1:-1:-1;;46051:18:0;;;;;;;;;;;;;;;;;;;;;46147:17;;;:12;;;:17;;;;;;46140:24;;;;46051:18;-1:-1:-1;46181:11:0;;-1:-1:-1;;;;46181:11:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:400:1;;114:18;106:6;103:30;100:2;;;136:9;100:2;165:58;211:2;188:17;;-1:-1:-1;;184:31:1;217:4;180:42;165:58;:::i;:::-;156:67;;246:6;239:5;232:21;286:3;277:6;272:3;268:16;265:25;262:2;;;303:1;300;293:12;262:2;352:6;347:3;340:4;333:5;329:16;316:43;406:1;399:4;390:6;383:5;379:18;375:29;368:40;90:324;;;;;:::o;419:138::-;489:20;;518:33;489:20;518:33;:::i;562:782::-;;675:3;668:4;660:6;656:17;652:27;642:2;;697:5;690;683:20;642:2;737:6;724:20;763:4;787:65;802:49;848:2;802:49;:::i;:::-;787:65;:::i;:::-;886:15;;;917:12;;;;949:15;;;995:11;;;983:24;;979:33;;976:42;-1:-1:-1;973:2:1;;;1035:5;1028;1021:20;973:2;1061:5;1075:240;1089:2;1086:1;1083:9;1075:240;;;1160:3;1147:17;1177:33;1204:5;1177:33;:::i;:::-;1223:18;;1261:12;;;;1293;;;;1107:1;1100:9;1075:240;;;-1:-1:-1;1333:5:1;;632:712;-1:-1:-1;;;;;;;632:712:1:o;1349:673::-;;1461:3;1454:4;1446:6;1442:17;1438:27;1428:2;;1483:5;1476;1469:20;1428:2;1523:6;1510:20;1549:4;1573:65;1588:49;1634:2;1588:49;:::i;1573:65::-;1672:15;;;1703:12;;;;1735:15;;;1768:5;1782:211;1796:2;1793:1;1790:9;1782:211;;;1853:65;1914:3;1909:2;1902:3;1889:17;1881:6;1877:30;1873:39;1853:65;:::i;:::-;1841:78;;1939:12;;;;1971;;;;1814:1;1807:9;1782:211;;2027:705;;2140:3;2133:4;2125:6;2121:17;2117:27;2107:2;;2162:5;2155;2148:20;2107:2;2202:6;2189:20;2228:4;2252:65;2267:49;2313:2;2267:49;:::i;2252:65::-;2351:15;;;2382:12;;;;2414:15;;;2460:11;;;2448:24;;2444:33;;2441:42;-1:-1:-1;2438:2:1;;;2500:5;2493;2486:20;2438:2;2526:5;2540:163;2554:2;2551:1;2548:9;2540:163;;;2611:17;;2599:30;;2649:12;;;;2681;;;;2572:1;2565:9;2540:163;;2737:233;;2835:3;2828:4;2820:6;2816:17;2812:27;2802:2;;2857:5;2850;2843:20;2802:2;2883:81;2960:3;2951:6;2938:20;2931:4;2923:6;2919:17;2883:81;:::i;2975:259::-;;3087:2;3075:9;3066:7;3062:23;3058:32;3055:2;;;3108:6;3100;3093:22;3055:2;3152:9;3139:23;3171:33;3198:5;3171:33;:::i;3239:263::-;;3362:2;3350:9;3341:7;3337:23;3333:32;3330:2;;;3383:6;3375;3368:22;3330:2;3420:9;3414:16;3439:33;3466:5;3439:33;:::i;3507:722::-;;;;3681:2;3669:9;3660:7;3656:23;3652:32;3649:2;;;3702:6;3694;3687:22;3649:2;3746:9;3733:23;3765:33;3792:5;3765:33;:::i;:::-;3817:5;-1:-1:-1;3873:2:1;3858:18;;3845:32;3896:18;3926:14;;;3923:2;;;3958:6;3950;3943:22;3923:2;3986:52;4030:7;4021:6;4010:9;4006:22;3986:52;:::i;:::-;3976:62;;4091:2;4080:9;4076:18;4063:32;4047:48;;4120:2;4110:8;4107:16;4104:2;;;4141:6;4133;4126:22;4104:2;;4169:54;4215:7;4204:8;4193:9;4189:24;4169:54;:::i;:::-;4159:64;;;3639:590;;;;;:::o;4234:402::-;;;4363:2;4351:9;4342:7;4338:23;4334:32;4331:2;;;4384:6;4376;4369:22;4331:2;4428:9;4415:23;4447:33;4474:5;4447:33;:::i;:::-;4499:5;-1:-1:-1;4556:2:1;4541:18;;4528:32;4569:35;4528:32;4569:35;:::i;:::-;4623:7;4613:17;;;4321:315;;;;;:::o;4641:470::-;;;;4787:2;4775:9;4766:7;4762:23;4758:32;4755:2;;;4808:6;4800;4793:22;4755:2;4852:9;4839:23;4871:33;4898:5;4871:33;:::i;:::-;4923:5;-1:-1:-1;4980:2:1;4965:18;;4952:32;4993:35;4952:32;4993:35;:::i;:::-;4745:366;;5047:7;;-1:-1:-1;;;5101:2:1;5086:18;;;;5073:32;;4745:366::o;5116:830::-;;;;;5288:3;5276:9;5267:7;5263:23;5259:33;5256:2;;;5310:6;5302;5295:22;5256:2;5354:9;5341:23;5373:33;5400:5;5373:33;:::i;:::-;5425:5;-1:-1:-1;5482:2:1;5467:18;;5454:32;5495:35;5454:32;5495:35;:::i;:::-;5549:7;-1:-1:-1;5603:2:1;5588:18;;5575:32;;-1:-1:-1;5658:2:1;5643:18;;5630:32;5685:18;5674:30;;5671:2;;;5722:6;5714;5707:22;5671:2;5750:22;;5803:4;5795:13;;5791:27;-1:-1:-1;5781:2:1;;5837:6;5829;5822:22;5781:2;5865:75;5932:7;5927:2;5914:16;5909:2;5905;5901:11;5865:75;:::i;:::-;5855:85;;;5246:700;;;;;;;:::o;5951:396::-;;;6077:2;6065:9;6056:7;6052:23;6048:32;6045:2;;;6098:6;6090;6083:22;6045:2;6142:9;6129:23;6161:33;6188:5;6161:33;:::i;:::-;6213:5;-1:-1:-1;6270:2:1;6255:18;;6242:32;6283;6242;6283;:::i;6352:533::-;;;;;6512:3;6500:9;6491:7;6487:23;6483:33;6480:2;;;6534:6;6526;6519:22;6480:2;6578:9;6565:23;6597:33;6624:5;6597:33;:::i;:::-;6649:5;-1:-1:-1;6706:2:1;6691:18;;6678:32;6719;6678;6719;:::i;:::-;6470:415;;6770:7;;-1:-1:-1;;;;6824:2:1;6809:18;;6796:32;;6875:2;6860:18;6847:32;;6470:415::o;6890:481::-;;;7029:2;7017:9;7008:7;7004:23;7000:32;6997:2;;;7050:6;7042;7035:22;6997:2;7094:9;7081:23;7113:33;7140:5;7113:33;:::i;:::-;7165:5;-1:-1:-1;7221:2:1;7206:18;;7193:32;7248:18;7237:30;;7234:2;;;7285:6;7277;7270:22;7234:2;7313:52;7357:7;7348:6;7337:9;7333:22;7313:52;:::i;:::-;7303:62;;;6987:384;;;;;:::o;7376:327::-;;;7505:2;7493:9;7484:7;7480:23;7476:32;7473:2;;;7526:6;7518;7511:22;7473:2;7570:9;7557:23;7589:33;7616:5;7589:33;:::i;:::-;7641:5;7693:2;7678:18;;;;7665:32;;-1:-1:-1;;;7463:240:1:o;7708:395::-;;;;7854:2;7842:9;7833:7;7829:23;7825:32;7822:2;;;7875:6;7867;7860:22;7822:2;7919:9;7906:23;7938:33;7965:5;7938:33;:::i;:::-;7990:5;8042:2;8027:18;;8014:32;;-1:-1:-1;8093:2:1;8078:18;;;8065:32;;7812:291;-1:-1:-1;;;7812:291:1:o;8108:257::-;;8228:2;8216:9;8207:7;8203:23;8199:32;8196:2;;;8249:6;8241;8234:22;8196:2;8286:9;8280:16;8305:30;8329:5;8305:30;:::i;8370:257::-;;8481:2;8469:9;8460:7;8456:23;8452:32;8449:2;;;8502:6;8494;8487:22;8449:2;8546:9;8533:23;8565:32;8591:5;8565:32;:::i;8632:261::-;;8754:2;8742:9;8733:7;8729:23;8725:32;8722:2;;;8775:6;8767;8760:22;8722:2;8812:9;8806:16;8831:32;8857:5;8831:32;:::i;8898:344::-;;9020:2;9008:9;8999:7;8995:23;8991:32;8988:2;;;9041:6;9033;9026:22;8988:2;9086:9;9073:23;9119:18;9111:6;9108:30;9105:2;;;9156:6;9148;9141:22;9105:2;9184:52;9228:7;9219:6;9208:9;9204:22;9184:52;:::i;9247:1430::-;;;;;;;9574:3;9562:9;9553:7;9549:23;9545:33;9542:2;;;9596:6;9588;9581:22;9542:2;9641:9;9628:23;9670:18;9711:2;9703:6;9700:14;9697:2;;;9732:6;9724;9717:22;9697:2;9760:52;9804:7;9795:6;9784:9;9780:22;9760:52;:::i;:::-;9750:62;;9831:40;9867:2;9856:9;9852:18;9831:40;:::i;:::-;9821:50;;9924:2;9913:9;9909:18;9896:32;9880:48;;9953:2;9943:8;9940:16;9937:2;;;9974:6;9966;9959:22;9937:2;10002:69;10063:7;10052:8;10041:9;10037:24;10002:69;:::i;:::-;9992:79;;10124:2;10113:9;10109:18;10096:32;10080:48;;10153:2;10143:8;10140:16;10137:2;;;10174:6;10166;10159:22;10137:2;10202:69;10263:7;10252:8;10241:9;10237:24;10202:69;:::i;:::-;10192:79;;10324:3;10313:9;10309:19;10296:33;10280:49;;10354:2;10344:8;10341:16;10338:2;;;10375:6;10367;10360:22;10338:2;10403:68;10463:7;10452:8;10441:9;10437:24;10403:68;:::i;:::-;10393:78;;10524:3;10513:9;10509:19;10496:33;10480:49;;10554:2;10544:8;10541:16;10538:2;;;10575:6;10567;10560:22;10538:2;;10603:68;10663:7;10652:8;10641:9;10637:24;10603:68;:::i;:::-;10593:78;;;9532:1145;;;;;;;;:::o;10682:190::-;;10794:2;10782:9;10773:7;10769:23;10765:32;10762:2;;;10815:6;10807;10800:22;10762:2;-1:-1:-1;10843:23:1;;10752:120;-1:-1:-1;10752:120:1:o;10877:1499::-;;;;;;;;11221:3;11209:9;11200:7;11196:23;11192:33;11189:2;;;11243:6;11235;11228:22;11189:2;11284:9;11271:23;11261:33;;11345:2;11334:9;11330:18;11317:32;11368:18;11409:2;11401:6;11398:14;11395:2;;;11430:6;11422;11415:22;11395:2;11458:52;11502:7;11493:6;11482:9;11478:22;11458:52;:::i;:::-;11448:62;;11529:40;11565:2;11554:9;11550:18;11529:40;:::i;:::-;11519:50;;11622:2;11611:9;11607:18;11594:32;11578:48;;11651:2;11641:8;11638:16;11635:2;;;11672:6;11664;11657:22;11635:2;11700:69;11761:7;11750:8;11739:9;11735:24;11700:69;:::i;:::-;11690:79;;11822:3;11811:9;11807:19;11794:33;11778:49;;11852:2;11842:8;11839:16;11836:2;;;11873:6;11865;11858:22;11836:2;11901:69;11962:7;11951:8;11940:9;11936:24;11901:69;:::i;:::-;11891:79;;12023:3;12012:9;12008:19;11995:33;11979:49;;12053:2;12043:8;12040:16;12037:2;;;12074:6;12066;12059:22;12037:2;12102:68;12162:7;12151:8;12140:9;12136:24;12102:68;:::i;:::-;12092:78;;12223:3;12212:9;12208:19;12195:33;12179:49;;12253:2;12243:8;12240:16;12237:2;;;12274:6;12266;12259:22;12237:2;;12302:68;12362:7;12351:8;12340:9;12336:24;12302:68;:::i;:::-;12292:78;;;11179:1197;;;;;;;;;;:::o;12381:480::-;;;;12537:2;12525:9;12516:7;12512:23;12508:32;12505:2;;;12558:6;12550;12543:22;12505:2;12599:9;12586:23;12576:33;;12660:2;12649:9;12645:18;12632:32;12687:18;12679:6;12676:30;12673:2;;;12724:6;12716;12709:22;12673:2;12752:52;12796:7;12787:6;12776:9;12772:22;12752:52;:::i;:::-;12742:62;;;12851:2;12840:9;12836:18;12823:32;12813:42;;12495:366;;;;;:::o;12866:258::-;;;12995:2;12983:9;12974:7;12970:23;12966:32;12963:2;;;13016:6;13008;13001:22;12963:2;-1:-1:-1;;13044:23:1;;;13114:2;13099:18;;;13086:32;;-1:-1:-1;12953:171:1:o;13129:626::-;;13225:5;13219:12;13252:6;13247:3;13240:19;13278:4;13319:2;13314:3;13310:12;13344:11;13371;13364:18;;13426:2;13418:6;13414:15;13407:5;13403:27;13391:39;;13464:2;13457:5;13453:14;13485:3;13497:232;13511:6;13508:1;13505:13;13497:232;;;13582:5;13576:4;13572:16;13567:3;13560:29;13610:39;13644:4;13635:6;13629:13;13610:39;:::i;:::-;13707:12;;;;13602:47;-1:-1:-1;13672:15:1;;;;13533:1;13526:9;13497:232;;;-1:-1:-1;13745:4:1;;13195:560;-1:-1:-1;;;;;;;13195:560:1:o;13760:259::-;;13841:5;13835:12;13868:6;13863:3;13856:19;13884:63;13940:6;13933:4;13928:3;13924:14;13917:4;13910:5;13906:16;13884:63;:::i;:::-;14001:2;13980:15;-1:-1:-1;;13976:29:1;13967:39;;;;14008:4;13963:50;;13811:208;-1:-1:-1;;13811:208:1:o;14024:702::-;;14117:5;14111:12;14142:1;14174:2;14163:9;14159:18;14191:1;14186:126;;;;14326:1;14321:399;;;;14152:568;;14186:126;-1:-1:-1;;14219:24:1;;14207:37;;14292:1;14277:17;;14296:4;14273:28;14264:38;;;-1:-1:-1;14186:126:1;;14321:399;14371:1;14360:9;14356:17;14396:5;14393:1;14386:16;14425:4;14470:2;14467:1;14457:16;14495:1;14509:165;14523:6;14520:1;14517:13;14509:165;;;14601:14;;14588:11;;;14581:35;14644:16;;;;14538:10;;14509:165;;;-1:-1:-1;;;14694:16:1;;;-1:-1:-1;14152:568:1;;;;14084:642;;;;:::o;14731:274::-;;14898:6;14892:13;14914:53;14960:6;14955:3;14948:4;14940:6;14936:17;14914:53;:::i;:::-;14983:16;;;;;14868:137;-1:-1:-1;;14868:137:1:o;15291:199::-;;15444:40;15480:3;15472:6;15444:40;:::i;15495:378::-;;15699:40;15735:3;15727:6;15699:40;:::i;:::-;15768:6;15762:13;15784:52;15829:6;15825:2;15818:4;15810:6;15806:17;15784:52;:::i;:::-;15852:15;;15679:194;-1:-1:-1;;;;15679:194:1:o;15878:203::-;-1:-1:-1;;;;;16042:32:1;;;;16024:51;;16012:2;15997:18;;15979:102::o;16526:391::-;-1:-1:-1;;;;;16800:15:1;;;16782:34;;16852:15;;;;16847:2;16832:18;;16825:43;16899:2;16884:18;;16877:34;;;;16732:2;16717:18;;16699:218::o;16922:506::-;-1:-1:-1;;;;;17207:15:1;;;17189:34;;17259:15;;17254:2;17239:18;;17232:43;17306:2;17291:18;;17284:34;;;17354:3;17349:2;17334:18;;17327:31;;;16922:506;;17375:47;;17402:19;;17394:6;17375:47;:::i;:::-;17367:55;17141:287;-1:-1:-1;;;;;;17141:287:1:o;17433:187::-;17598:14;;17591:22;17573:41;;17561:2;17546:18;;17528:92::o;17625:329::-;17846:14;;17839:22;17821:41;;17893:2;17878:18;;17871:34;;;;17936:2;17921:18;;17914:34;17809:2;17794:18;;17776:178::o;17959:221::-;;18108:2;18097:9;18090:21;18128:46;18170:2;18159:9;18155:18;18147:6;18128:46;:::i;18185:679::-;;18530:2;18519:9;18512:21;18556:46;18598:2;18587:9;18583:18;18575:6;18556:46;:::i;:::-;18650:9;18642:6;18638:22;18633:2;18622:9;18618:18;18611:50;18684:49;18726:6;18718;18684:49;:::i;:::-;18670:63;;18781:9;18773:6;18769:22;18764:2;18753:9;18749:18;18742:50;18809:49;18851:6;18843;18809:49;:::i;18869:398::-;19071:2;19053:21;;;19110:2;19090:18;;;19083:30;19149:34;19144:2;19129:18;;19122:62;-1:-1:-1;;;19215:2:1;19200:18;;19193:32;19257:3;19242:19;;19043:224::o;19272:352::-;19474:2;19456:21;;;19513:2;19493:18;;;19486:30;19552;19547:2;19532:18;;19525:58;19615:2;19600:18;;19446:178::o;19629:414::-;19831:2;19813:21;;;19870:2;19850:18;;;19843:30;19909:34;19904:2;19889:18;;19882:62;-1:-1:-1;;;19975:2:1;19960:18;;19953:48;20033:3;20018:19;;19803:240::o;20048:402::-;20250:2;20232:21;;;20289:2;20269:18;;;20262:30;20328:34;20323:2;20308:18;;20301:62;-1:-1:-1;;;20394:2:1;20379:18;;20372:36;20440:3;20425:19;;20222:228::o;20455:352::-;20657:2;20639:21;;;20696:2;20676:18;;;20669:30;20735;20730:2;20715:18;;20708:58;20798:2;20783:18;;20629:178::o;20812:352::-;21014:2;20996:21;;;21053:2;21033:18;;;21026:30;21092;21087:2;21072:18;;21065:58;21155:2;21140:18;;20986:178::o;21169:400::-;21371:2;21353:21;;;21410:2;21390:18;;;21383:30;21449:34;21444:2;21429:18;;21422:62;-1:-1:-1;;;21515:2:1;21500:18;;21493:34;21559:3;21544:19;;21343:226::o;21574:400::-;21776:2;21758:21;;;21815:2;21795:18;;;21788:30;21854:34;21849:2;21834:18;;21827:62;-1:-1:-1;;;21920:2:1;21905:18;;21898:34;21964:3;21949:19;;21748:226::o;21979:349::-;22181:2;22163:21;;;22220:2;22200:18;;;22193:30;22259:27;22254:2;22239:18;;22232:55;22319:2;22304:18;;22153:175::o;22333:349::-;22535:2;22517:21;;;22574:2;22554:18;;;22547:30;22613:27;22608:2;22593:18;;22586:55;22673:2;22658:18;;22507:175::o;22687:402::-;22889:2;22871:21;;;22928:2;22908:18;;;22901:30;22967:34;22962:2;22947:18;;22940:62;-1:-1:-1;;;23033:2:1;23018:18;;23011:36;23079:3;23064:19;;22861:228::o;23094:408::-;23296:2;23278:21;;;23335:2;23315:18;;;23308:30;23374:34;23369:2;23354:18;;23347:62;-1:-1:-1;;;23440:2:1;23425:18;;23418:42;23492:3;23477:19;;23268:234::o;23507:397::-;23709:2;23691:21;;;23748:2;23728:18;;;23721:30;23787:34;23782:2;23767:18;;23760:62;-1:-1:-1;;;23853:2:1;23838:18;;23831:31;23894:3;23879:19;;23681:223::o;23909:420::-;24111:2;24093:21;;;24150:2;24130:18;;;24123:30;24189:34;24184:2;24169:18;;24162:62;24260:26;24255:2;24240:18;;24233:54;24319:3;24304:19;;24083:246::o;24334:406::-;24536:2;24518:21;;;24575:2;24555:18;;;24548:30;24614:34;24609:2;24594:18;;24587:62;-1:-1:-1;;;24680:2:1;24665:18;;24658:40;24730:3;24715:19;;24508:232::o;24745:410::-;24947:2;24929:21;;;24986:2;24966:18;;;24959:30;25025:34;25020:2;25005:18;;24998:62;-1:-1:-1;;;25091:2:1;25076:18;;25069:44;25145:3;25130:19;;24919:236::o;25160:399::-;25362:2;25344:21;;;25401:2;25381:18;;;25374:30;25440:34;25435:2;25420:18;;25413:62;-1:-1:-1;;;25506:2:1;25491:18;;25484:33;25549:3;25534:19;;25334:225::o;25564:398::-;25766:2;25748:21;;;25805:2;25785:18;;;25778:30;25844:34;25839:2;25824:18;;25817:62;-1:-1:-1;;;25910:2:1;25895:18;;25888:32;25952:3;25937:19;;25738:224::o;25967:356::-;26169:2;26151:21;;;26188:18;;;26181:30;26247:34;26242:2;26227:18;;26220:62;26314:2;26299:18;;26141:182::o;26328:403::-;26530:2;26512:21;;;26569:2;26549:18;;;26542:30;26608:34;26603:2;26588:18;;26581:62;-1:-1:-1;;;26674:2:1;26659:18;;26652:37;26721:3;26706:19;;26502:229::o;26736:415::-;26938:2;26920:21;;;26977:2;26957:18;;;26950:30;27016:34;27011:2;26996:18;;26989:62;-1:-1:-1;;;27082:2:1;27067:18;;27060:49;27141:3;27126:19;;26910:241::o;27156:408::-;27358:2;27340:21;;;27397:2;27377:18;;;27370:30;27436:34;27431:2;27416:18;;27409:62;-1:-1:-1;;;27502:2:1;27487:18;;27480:42;27554:3;27539:19;;27330:234::o;27569:408::-;27771:2;27753:21;;;27810:2;27790:18;;;27783:30;27849:34;27844:2;27829:18;;27822:62;-1:-1:-1;;;27915:2:1;27900:18;;27893:42;27967:3;27952:19;;27743:234::o;27982:405::-;28184:2;28166:21;;;28223:2;28203:18;;;28196:30;28262:34;28257:2;28242:18;;28235:62;-1:-1:-1;;;28328:2:1;28313:18;;28306:39;28377:3;28362:19;;28156:231::o;28392:411::-;28594:2;28576:21;;;28633:2;28613:18;;;28606:30;28672:34;28667:2;28652:18;;28645:62;-1:-1:-1;;;28738:2:1;28723:18;;28716:45;28793:3;28778:19;;28566:237::o;28808:397::-;29010:2;28992:21;;;29049:2;29029:18;;;29022:30;29088:34;29083:2;29068:18;;29061:62;-1:-1:-1;;;29154:2:1;29139:18;;29132:31;29195:3;29180:19;;28982:223::o;29210:397::-;29412:2;29394:21;;;29451:2;29431:18;;;29424:30;29490:34;29485:2;29470:18;;29463:62;-1:-1:-1;;;29556:2:1;29541:18;;29534:31;29597:3;29582:19;;29384:223::o;29612:413::-;29814:2;29796:21;;;29853:2;29833:18;;;29826:30;29892:34;29887:2;29872:18;;29865:62;-1:-1:-1;;;29958:2:1;29943:18;;29936:47;30015:3;30000:19;;29786:239::o;30030:353::-;30232:2;30214:21;;;30271:2;30251:18;;;30244:30;30310:31;30305:2;30290:18;;30283:59;30374:2;30359:18;;30204:179::o;30388:406::-;30590:2;30572:21;;;30629:2;30609:18;;;30602:30;30668:34;30663:2;30648:18;;30641:62;-1:-1:-1;;;30734:2:1;30719:18;;30712:40;30784:3;30769:19;;30562:232::o;30799:177::-;30945:25;;;30933:2;30918:18;;30900:76::o;30981:248::-;31155:25;;;31211:2;31196:18;;31189:34;31143:2;31128:18;;31110:119::o;31234:242::-;31304:2;31298:9;31334:17;;;31381:18;31366:34;;31402:22;;;31363:62;31360:2;;;31428:9;31360:2;31455;31448:22;31278:198;;-1:-1:-1;31278:198:1:o;31481:183::-;;31580:18;31572:6;31569:30;31566:2;;;31602:9;31566:2;-1:-1:-1;31653:4:1;31634:17;;;31630:28;;31556:108::o;31669:258::-;31741:1;31751:113;31765:6;31762:1;31759:13;31751:113;;;31841:11;;;31835:18;31822:11;;;31815:39;31787:2;31780:10;31751:113;;;31882:6;31879:1;31876:13;31873:2;;;-1:-1:-1;;31917:1:1;31899:16;;31892:27;31722:205::o;31932:133::-;-1:-1:-1;;;;;32009:31:1;;31999:42;;31989:2;;32055:1;32052;32045:12;32070:120;32158:5;32151:13;32144:21;32137:5;32134:32;32124:2;;32180:1;32177;32170:12;32195:133;-1:-1:-1;;;;;;32271:32:1;;32261:43;;32251:2;;32318:1;32315;32308:12
Swarm Source
ipfs://20496570bbbb70ce34ac3342d11006e27e53f953b76b19765d4a49d4f9c29bb1
[ 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.