Contract Overview
[ Download CSV Export ]
Contract Name:
MCSShinCard
Compiler Version
v0.8.1+commit.df193b15
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-06-22 */ // Sources flattened with hardhat v2.0.8 https://hardhat.org // File openzeppelin-solidity/contracts/introspection/[email protected] // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File openzeppelin-solidity/contracts/introspection/[email protected] pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(type(IERC165).interfaceId); } /** * @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; } } // File openzeppelin-solidity/contracts/utils/[email protected] pragma solidity ^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 Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File openzeppelin-solidity/contracts/GSN/[email protected] pragma solidity ^0.8.0; // File openzeppelin-solidity/contracts/token/ERC721/[email protected] pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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-solidity/contracts/token/ERC721/[email protected] pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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-solidity/contracts/token/ERC721/[email protected] pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @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); } // File openzeppelin-solidity/contracts/utils/[email protected] pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies 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 Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); 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); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(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-solidity/contracts/utils/[email protected] pragma solidity ^0.8.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 EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // 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-solidity/contracts/utils/[email protected] pragma solidity ^0.8.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 EnumerableMap { // 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. */ 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-solidity/contracts/utils/[email protected] pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { /** * @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; temp = value; while (temp != 0) { buffer[--index] = bytes1(uint8(48 + uint256(temp % 10))); temp /= 10; } return string(buffer); } } // File contracts/erc/ERC721.sol pragma solidity ^0.8.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings 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 => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _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. */ constructor (string memory name_, string memory symbol_) { _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; } /** * Original function */ function getTokenURI(uint256 tokenId) public view returns (string memory) { require(_exists(tokenId), "getTokenURI query for nonexistent token"); return _tokenURIs[tokenId]; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) virtual 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 {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) virtual 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( IERC721Receiver(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) virtual internal { _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 { } } // File contracts/roles/Roles.sol pragma solidity ^0.8.0; library Roles { struct Role { mapping(address => bool) bearer; } function add(Role storage role, address account) internal { require(!has(role, account), "role already has the account"); role.bearer[account] = true; } function remove(Role storage role, address account) internal { require(has(role, account), "role dosen't have the account"); role.bearer[account] = false; } function has(Role storage role, address account) internal view returns (bool) { return role.bearer[account]; } } // File contracts/roles/ERC173.sol pragma solidity ^0.8.0; /// @title ERC-173 Contract Ownership Standard /// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-173.md /// Note: the ERC-165 identifier for this interface is 0x7f5828d0 interface IERC173 /* is ERC165 */ { /// @dev This emits when ownership of a contract changes. event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /// @notice Get the address of the owner /// @return The address of the owner. function owner() external view returns (address); /// @notice Set the address of the new owner of the contract /// @param _newOwner The address of the new owner of the contract function transferOwnership(address _newOwner) external; } abstract contract ERC173 is IERC173, ERC165 { address private _owner; constructor() { _registerInterface(0x7f5828d0); _transferOwnership(msg.sender); } modifier onlyOwner() { require(msg.sender == owner(), "Must be owner"); _; } function owner() override public view returns (address) { return _owner; } function transferOwnership(address _newOwner) virtual override public onlyOwner() { _transferOwnership(_newOwner); } function _transferOwnership(address _newOwner) internal { address previousOwner = owner(); _owner = _newOwner; emit OwnershipTransferred(previousOwner, _newOwner); } } // File contracts/roles/Operatable.sol pragma solidity ^0.8.0; abstract contract Operatable is ERC173 { using Roles for Roles.Role; event OperatorAdded(address indexed account); event OperatorRemoved(address indexed account); event Paused(address account); event Unpaused(address account); bool private _paused; Roles.Role private operators; constructor() { operators.add(msg.sender); _paused = false; } modifier onlyOperator() { require(isOperator(msg.sender), "Must be operator"); _; } modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } function transferOwnership(address _newOwner) public override onlyOperator() { _transferOwnership(_newOwner); } function isOperator(address account) public view returns (bool) { return operators.has(account); } function addOperator(address account) public onlyOperator() { operators.add(account); emit OperatorAdded(account); } function removeOperator(address account) public onlyOperator() { operators.remove(account); emit OperatorRemoved(account); } function paused() public view returns (bool) { return _paused; } function pause() public onlyOperator() whenNotPaused() { _paused = true; emit Paused(msg.sender); } function unpause() public onlyOperator() whenPaused() { _paused = false; emit Unpaused(msg.sender); } } // File contracts/erc/ERC721ApprovalProxy.sol pragma solidity ^0.8.0; interface IApprovalProxy { function setApprovalForAll(address _owner, address _spender, bool _approved) external; function isApprovedForAll(address _owner, address _spender, bool _original) external view returns (bool); } abstract contract ERC721ApprovalProxy is ERC721, Operatable { event UpdateApprovalProxy(address _newProxyContract); IApprovalProxy public approvalProxy; constructor(address _approvalProxy) { setApprovalProxy(_approvalProxy); } function setApprovalProxy(address _new) public onlyOperator() { approvalProxy = IApprovalProxy(_new); emit UpdateApprovalProxy(_new); } function setApprovalForAll(address _spender, bool _approved) virtual override public { if (address(approvalProxy) != address(0x0) && Address.isContract(_spender)) { approvalProxy.setApprovalForAll(msg.sender, _spender, _approved); } super.setApprovalForAll(_spender, _approved); } function isApprovedForAll(address _owner, address _spender) virtual override public view returns (bool) { bool original = super.isApprovedForAll(_owner, _spender); if (address(approvalProxy) != address(0x0)) { return approvalProxy.isApprovedForAll(_owner, _spender, original); } return original; } } // File contracts/erc/ERC721TokenPausable.sol pragma solidity ^0.8.0; abstract contract ERC721TokenPausable is ERC721, Operatable { using Address for address; using Roles for Roles.Role; Roles.Role private tokenPauser; event TokenPauserAdded(address indexed account); event TokenPauserRemoved(address indexed account); event TokenPaused(uint256 indexed tokenId); event TokenUnpaused(uint256 indexed tokenId); event SetDefaultTokenPaused(bool defaultTokenPaused); // tokenId => bool mapping(uint256 => bool) private _tokenPaused; bool defaultTokenPaused = false; constructor() { tokenPauser.add(msg.sender); } modifier onlyTokenPauser() { require( isTokenPauser(msg.sender), "Only token pauser can call this method" ); _; } modifier whenNotTokenPaused(uint256 _tokenId) { // tokenPauser can do if tokenPaused if (!isTokenPauser(msg.sender)) { require(!isTokenPaused(_tokenId), "TokenPausable: paused"); } _; } modifier whenTokenPaused(uint256 _tokenId) { require(isTokenPaused(_tokenId), "TokenPausable: not paused"); _; } function setDefaultTokenPaused(bool _defaultTokenPaused) public onlyOperator { defaultTokenPaused = _defaultTokenPaused; emit SetDefaultTokenPaused(_defaultTokenPaused); } function isDefaultTokenPaused() public view returns (bool) { return defaultTokenPaused; } function pauseToken(uint256 _tokenId) public onlyTokenPauser() { require(!isTokenPaused(_tokenId), "Token is already paused"); _pauseToken(_tokenId); } function _pauseToken(uint256 _tokenId) internal { _tokenPaused[_tokenId] = true; emit TokenPaused(_tokenId); } function unpauseToken(uint256 _tokenId) public onlyTokenPauser() { require(isTokenPaused(_tokenId), "Token is not paused"); _unpauseToken(_tokenId); } function _unpauseToken(uint256 _tokenId) internal { _tokenPaused[_tokenId] = false; emit TokenUnpaused(_tokenId); } function isTokenPaused(uint256 _tokenId) public view returns (bool) { return _tokenPaused[_tokenId]; } function isTokenPauser(address account) public view returns (bool) { return tokenPauser.has(account); } function addTokenPauser(address account) public onlyOperator() { require(account.isContract(), "TokenPauser must be contract"); tokenPauser.add(account); emit TokenPauserAdded(account); } function removeTokenPauser(address account) public onlyOperator() { tokenPauser.remove(account); emit TokenPauserRemoved(account); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override whenNotPaused() whenNotTokenPaused(tokenId) { super._beforeTokenTransfer(from, to, tokenId); } } // File contracts/erc/ERC721Mintable.sol pragma solidity ^0.8.0; interface IERC721Mintable { event MinterAdded(address indexed account); event MinterRemoved(address indexed account); function exists(uint256 _tokenId) external view returns (bool); function mint(address _to, uint256 _tokenId) external; function isMinter(address account) external view returns (bool); function addMinter(address account) external; function removeMinter(address account) external; } abstract contract ERC721Mintable is ERC721, IERC721Mintable, Operatable { using Roles for Roles.Role; Roles.Role private minters; constructor () { addMinter(msg.sender); } modifier onlyMinter() { require(isMinter(msg.sender), "Must be minter"); _; } function isMinter(address account) override public view returns (bool) { return minters.has(account); } function addMinter(address account) override public onlyOperator() { minters.add(account); emit MinterAdded(account); } function removeMinter(address account) override public onlyOperator() { minters.remove(account); emit MinterRemoved(account); } function exists(uint256 tokenId) override public view returns (bool) { return super._exists(tokenId); } function mint(address to, uint256 tokenId) virtual override public onlyMinter() { super._mint(to, tokenId); } } // File contracts/erc/ERC721Burnable.sol pragma solidity ^0.8.0; abstract contract ERC721Burnable is ERC721, Operatable { using Address for address; using Roles for Roles.Role; Roles.Role private burners; modifier onlyBurner() { require(isBurner(msg.sender), "Must be burner"); _; } event BurnerAdded(address indexed account); event BurnerRemoved(address indexed account); constructor () {} function isBurner(address account) public view returns (bool) { return burners.has(account); } function addBurner(address account) public onlyOperator() { require(account.isContract(), "Burner must be contract"); burners.add(account); emit BurnerAdded(account); } function removeBurner(address account) public onlyOperator() { burners.remove(account); emit BurnerRemoved(account); } function burn(uint256 tokenId) virtual public onlyBurner { require(_isApprovedOrOwner(msg.sender, tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } } // File contracts/erc/ERC721CappedSupply.sol pragma solidity ^0.8.0; interface IERC721CappedSupply /* IERC721Mintable, IERC721 */ { event SetUnitCap(uint32 _assetType, uint32 _unitCap); event SetTypeCap(uint256 _typeCap); function totalSupply() external view returns (uint256); function getTypeOffset() external view returns (uint256); function getTypeCap() external view returns (uint256); function setTypeCap(uint32 _newTypeCap) external; function getTypeCount() external view returns (uint256); function existingType(uint32 _assetType) external view returns (bool); function getUnitCap(uint32 _assetType) external view returns (uint32); function setUnitCap(uint32 _assetType, uint32 _newUnitCap) external; function mint(address _to, uint256 _tokenId) external; function burn(uint256 _tokenId) external; } /// @title ERC-721 Capped Supply /// @author double jump.tokyo inc. /// @dev see https://medium.com/@makzent/the-2x2-matrix-for-blockchain-game-ecosystems-2645be502704 abstract contract ERC721CappedSupply is IERC721CappedSupply, ERC721Mintable, ERC721Burnable { uint32 private assetTypeOffset; mapping(uint32 => uint32) private unitCap; mapping(uint32 => uint32) private unitCount; uint256 private assetTypeCap = 2**256-1; uint256 private assetTypeCount = 0; uint256 private totalCount = 0; constructor(uint32 _assetTypeOffset) { _setTypeOffset(_assetTypeOffset); } function _isValidOffset(uint32 _offset) private pure returns (bool) { for (uint32 i = _offset; i > 0; i = uint32(i / 10)) { if (i == 10) { return true; } if (i % 10 != 0) { return false; } } return false; } function totalSupply() override virtual public view returns (uint256) { return totalCount; } function _setTypeOffset(uint32 _assetTypeOffset) private { require(_isValidOffset(_assetTypeOffset), "Offset is invalid"); assetTypeCap = assetTypeCap / _assetTypeOffset; assetTypeOffset = _assetTypeOffset; } function getTypeOffset() override public view returns (uint256) { return assetTypeOffset; } function setTypeCap(uint32 _newTypeCap) override public onlyMinter() { require(_newTypeCap < assetTypeCap, "New type cap cannot be less than existing type cap"); require(_newTypeCap >= assetTypeCount, "New type cap must be more than current type count"); assetTypeCap = _newTypeCap; emit SetTypeCap(_newTypeCap); } function getTypeCap() override public view returns (uint256) { return assetTypeCap; } function getTypeCount() override public view returns (uint256) { return assetTypeCount; } function existingType(uint32 _assetType) override public view returns (bool) { return (unitCap[_assetType] > 0); } function setUnitCap(uint32 _assetType, uint32 _newUnitCap) override public onlyMinter() { require(_assetType != 0, "Asset Type must not be 0"); require(_newUnitCap < assetTypeOffset, "New unit cap must be less than asset type offset"); if (!existingType(_assetType)) { assetTypeCount++; require(assetTypeCount <= assetTypeCap, "Asset type cap is exceeded"); } else { require(_newUnitCap < getUnitCap(_assetType), "New unit cap must be less than previous unit cap"); require(_newUnitCap >= getUnitCount(_assetType), "New unit cap must be more than current unit count"); } unitCap[_assetType] = _newUnitCap; emit SetUnitCap(_assetType, _newUnitCap); } function getUnitCap(uint32 _assetType) override public view returns (uint32) { require(existingType(_assetType), "Asset type does not exist"); return unitCap[_assetType]; } function getUnitCount(uint32 _assetType) public view returns (uint32) { return unitCount[_assetType]; } function mint(address _to, uint256 _tokenId) virtual override(ERC721Mintable,IERC721CappedSupply) public onlyMinter() { require((_tokenId % assetTypeOffset) != 0, "Index must not be 0"); uint32 assetType = uint32(_tokenId / assetTypeOffset); unitCount[assetType]++; totalCount++; require(unitCount[assetType] <= getUnitCap(assetType), "Asset unit cap is exceed"); super.mint(_to, _tokenId); } function burn(uint256 _tokenId) override(ERC721Burnable,IERC721CappedSupply) public onlyBurner() { require((_tokenId % assetTypeOffset) != 0, "Index must not be 0"); uint32 assetType = uint32(_tokenId / assetTypeOffset); unitCount[assetType]--; totalCount--; super.burn(_tokenId); } } // File openzeppelin-solidity/contracts/cryptography/[email protected] pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length if (signature.length != 65) { revert("ECDSA: invalid signature length"); } // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover-bytes32-bytes-} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value"); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * replicates the behavior of the * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`] * JSON-RPC method. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } } // File openzeppelin-solidity/contracts/utils/[email protected] pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value - 1; } } // File openzeppelin-solidity/contracts/drafts/[email protected] pragma solidity ^0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) { return keccak256( abi.encode( typeHash, name, version, block.chainid, address(this) ) ); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", _domainSeparatorV4(), structHash)); } } // File contracts/erc/ERC721Permit.sol pragma solidity ^0.8.0; interface IERC721Permit { function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; function nonces(address owner) external view returns (uint256); function DOMAIN_SEPARATOR() external view returns (bytes32); } /** * @dev Implementation of the ERC721 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC721 allowance (see {IERC721-allowance}) by * presenting a message signed by the account. By not relying on `{IERC721-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ abstract contract ERC721Permit is ERC721, IERC721Permit, EIP712 { using Counters for Counters.Counter; mapping (address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 tokenId,uint256 nonce,uint256 deadline)"); /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC721 token name. */ constructor(string memory name) EIP712(name, "1") { } /** * @dev See {IERC721Permit-permit}. */ function permit(address owner, address spender, uint256 tokenId, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override { address tokenOwner = ownerOf(tokenId); require(spender != tokenOwner, "ERC721Permit: approval to current owner"); require(tokenOwner == owner || isApprovedForAll(tokenOwner, owner), "ERC721Permit: approve signer is not owner nor approved for all" ); // solhint-disable-next-line not-rely-on-time require(block.timestamp <= deadline, "ERC721Permit: expired deadline"); bytes32 structHash = keccak256( abi.encode( _PERMIT_TYPEHASH, owner, spender, tokenId, _nonces[owner].current(), deadline ) ); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC721Permit: invalid signature"); _nonces[owner].increment(); super._approve(spender, tokenId); } /** * @dev See {IERC721Permit-nonces}. */ function nonces(address owner) public view override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC721Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } function getDigest(bytes32 structHash) public view returns (bytes32) { return _hashTypedDataV4(structHash); } } // File openzeppelin-solidity/contracts/access/[email protected] pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } } // File contracts/matic/AccessControlMixin.sol pragma solidity ^0.8.0; contract AccessControlMixin is AccessControl { string private _revertMsg; function _setupContractId(string memory contractId) internal { _revertMsg = string(abi.encodePacked(contractId, ": INSUFFICIENT_PERMISSIONS")); } modifier only(bytes32 role) { require( hasRole(role, _msgSender()), _revertMsg ); _; } } // File contracts/matic/Initializable.sol pragma solidity ^0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } } // File contracts/matic/EIP712Base.sol pragma solidity ^0.8.0; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string constant public ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contractsa that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712( string memory name ) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } } // File contracts/matic/NativeMetaTransaction.sol pragma solidity ^0.8.0; contract NativeMetaTransaction is EIP712Base { bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces_; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces_[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces_[userAddress] = nonces_[userAddress] + 1; emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces_[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } } // File contracts/matic/ContextMixin.sol pragma solidity ^0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = msg.sender; } return sender; } } // File contracts/erc/ERC721MetaTransaction.sol pragma solidity ^0.8.0; abstract contract ERC721MetaTransaction is ERC721, AccessControlMixin, NativeMetaTransaction, ContextMixin { constructor(string memory _name) { _setupContractId("ERC721MetaTransaction"); //for errorMessage _initializeEIP712(_name); } // This is to support Native meta transactions // never use msg.sender directly, use _msgSender() instead function _msgSender() virtual internal override view returns (address) { return ContextMixin.msgSender(); } } // File contracts/erc/ERC721DefaultMetadata.sol pragma solidity ^0.8.0; interface IERC721DefaultMetadata { event UpdateDefaultURI(string defaultURI); event UpdateBaseURI(string baseURI); event UpdateTokenURI(uint256 tokenId, string tokenURI); function setDefaultURI(string memory defaultURI_) external; function tokenURI(uint256 tokenId) external view returns (string memory); function setBaseURI(string memory baseURI_) external; function setTokenURI(uint256 tokenId, string memory _tokenURI) external; } abstract contract ERC721DefaultMetadata is IERC721DefaultMetadata, ERC721, Operatable { using Strings for uint256; string private _defaultURI; constructor(string memory name_, string memory symbol_, string memory defaultURI_) ERC721(name_, symbol_) { setDefaultURI(defaultURI_); } function setDefaultURI(string memory defaultURI_) override public onlyOperator() { _defaultURI = defaultURI_; emit UpdateDefaultURI(_defaultURI); } function setBaseURI(string memory baseURI_) override public onlyOperator() { super._setBaseURI(baseURI_); emit UpdateBaseURI(baseURI_); } // set specific uri by tokenID function setTokenURI(uint256 tokenId, string memory _tokenURI) override public onlyOperator() { super._setTokenURI(tokenId, _tokenURI); emit UpdateTokenURI(tokenId, _tokenURI); } function tokenURI(uint256 tokenId) virtual public view override(IERC721DefaultMetadata, ERC721) returns (string memory) { string memory _tokenURI = getTokenURI(tokenId); // baseURI + sepecific _tokenURI if (bytes(_tokenURI).length > 0) { return super.tokenURI(tokenId); } // If there is no tokenURI, defaultURI + tokenID return string(abi.encodePacked(_defaultURI, tokenId.toString())); } } // File contracts/MCSShinCard.sol pragma solidity 0.8.1; contract MCSShinCard is ERC721ApprovalProxy, ERC721TokenPausable, ERC721CappedSupply(10000), ERC721Permit("MCS:ShinCard"), ERC721MetaTransaction("MCS:ShinCard"), ERC721DefaultMetadata( "MCS:ShinCard", "MCSS", "https://core.mycryptosaga.net/api/metadata/card/" ) { constructor(address _approvalProxy) ERC721ApprovalProxy(_approvalProxy) {} // pause token when minted function mint(address to, uint256 tokenId) public override onlyMinter() { super.mint(to, tokenId); if(isDefaultTokenPaused()) { super._pauseToken(tokenId); } } //overrides function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721TokenPausable, ERC721) whenNotPaused() whenNotTokenPaused(tokenId) { super._beforeTokenTransfer(from, to, tokenId); } function tokenURI(uint256 _tokenId) public view override(ERC721DefaultMetadata, ERC721) returns (string memory) { return super.tokenURI(_tokenId); } function totalSupply() public view override returns (uint256) { return super.totalSupply(); } function setApprovalForAll(address _spender, bool _approved) public override(ERC721ApprovalProxy, ERC721) { super.setApprovalForAll(_spender, _approved); } function isApprovedForAll(address _owner, address _spender) public view override(ERC721ApprovalProxy, ERC721) returns (bool) { return super.isApprovedForAll(_owner, _spender); } function _msgSender() virtual internal override(ERC721MetaTransaction, Context) view returns (address) { return super._msgSender(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_approvalProxy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BurnerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BurnerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"OperatorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"OperatorRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"defaultTokenPaused","type":"bool"}],"name":"SetDefaultTokenPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_typeCap","type":"uint256"}],"name":"SetTypeCap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"_assetType","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"_unitCap","type":"uint32"}],"name":"SetUnitCap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"TokenPauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"TokenPauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenUnpaused","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newProxyContract","type":"address"}],"name":"UpdateApprovalProxy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"UpdateBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"defaultURI","type":"string"}],"name":"UpdateDefaultURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"tokenURI","type":"string"}],"name":"UpdateTokenURI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addTokenPauser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"approvalProxy","outputs":[{"internalType":"contract IApprovalProxy","name":"","type":"address"}],"stateMutability":"view","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":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_assetType","type":"uint32"}],"name":"existingType","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"structHash","type":"bytes32"}],"name":"getDigest","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTypeCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTypeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTypeOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_assetType","type":"uint32"}],"name":"getUnitCap","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_assetType","type":"uint32"}],"name":"getUnitCount","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBurner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDefaultTokenPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isTokenPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isTokenPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"pauseToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeTokenPauser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"_spender","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new","type":"address"}],"name":"setApprovalProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_defaultTokenPaused","type":"bool"}],"name":"setDefaultTokenPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"defaultURI_","type":"string"}],"name":"setDefaultURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_newTypeCap","type":"uint32"}],"name":"setTypeCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_assetType","type":"uint32"},{"internalType":"uint32","name":"_newUnitCap","type":"uint32"}],"name":"setUnitCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_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":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"unpauseToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610140604052600f805460ff19908116909155600019601555600060168190556017557f48d39b37a35214940203bbbd4f383519797769b13d936f387d89430afef2768861012052601b805490911690553480156200005d57600080fd5b5060405162005edf38038062005edf8339810160408190526200008091620008a6565b6040518060400160405280600c81526020016b1350d4ce94da1a5b90d85c9960a21b815250604051806040016040528060048152602001634d43535360e01b81525060405180606001604052806030815260200162005eaf603091396040518060400160405280600c81526020016b1350d4ce94da1a5b90d85c9960a21b8152506040518060400160405280600c81526020016b1350d4ce94da1a5b90d85c9960a21b81525080604051806040016040528060018152602001603160f81b8152506127108888886200015f6301ffc9a760e01b6200030460201b60201c565b81516200017490600690602085019062000800565b5080516200018a90600790602084019062000800565b506200019d6380ac58cd60e01b62000304565b620001af635b5e139f60e01b62000304565b620001c163780e9d6360e01b62000304565b50620001d690506307f5828d60e41b62000304565b620001e1336200035f565b620001fc33600b620003bf60201b620020ed1790919060201c565b600a805460ff60a01b19169055620002148162000410565b506200023033600d620003bf60201b620020ed1790919060201c565b6200023b3362000492565b62000246816200050e565b50815160208084019190912082519183019190912060c082905260e08190524660a0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620002978184846200056d565b60805261010052505060408051808201909152601581527f4552433732314d6574615472616e73616374696f6e00000000000000000000006020820152620002e39350915050620005a9565b620002ee81620005e6565b50620002fa8162000627565b5050505062000c0f565b6001600160e01b031980821614156200033a5760405162461bcd60e51b8152600401620003319062000a83565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60006200036b62000699565b600a80546001600160a01b0319166001600160a01b0385811691821790925560405192935091908316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003cb8282620006a8565b15620003eb5760405162461bcd60e51b8152600401620003319062000ae5565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6200041b33620006c7565b6200043a5760405162461bcd60e51b8152600401620003319062000a59565b600c80546001600160a01b0319166001600160a01b0383161790556040517f12be4820d03362d1f48434d870b2fc1549b3a3d16d891eeaac7c3073f3ded8b7906200048790839062000937565b60405180910390a150565b6200049d33620006c7565b620004bc5760405162461bcd60e51b8152600401620003319062000a59565b620004d7816010620003bf60201b620020ed1790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6200051981620006ec565b620005385760405162461bcd60e51b8152600401620003319062000aba565b8063ffffffff166015546200054e919062000b59565b6015556012805463ffffffff191663ffffffff92909216919091179055565b600083838346306040516020016200058a95949392919062000977565b6040516020818303038152906040528051906020012090509392505050565b80604051602001620005bc9190620008d6565b604051602081830303815290604052601a9080519060200190620005e292919062000800565b5050565b601b5460ff16156200060c5760405162461bcd60e51b8152600401620003319062000b1c565b62000617816200075a565b50601b805460ff19166001179055565b6200063233620006c7565b620006515760405162461bcd60e51b8152600401620003319062000a59565b80516200066690601e90602084019062000800565b507f2405b30cce1d59580c3cc7fbdce2d552bd8e943d5dc4f66a37053027fc7ce880601e604051620004879190620009a3565b600a546001600160a01b031690565b6001600160a01b03166000908152602091909152604090205460ff1690565b6000620006e482600b620006a860201b620021391790919060201c565b90505b919050565b6000815b63ffffffff81161562000751578063ffffffff16600a141562000718576001915050620006e7565b62000725600a8262000bd3565b63ffffffff16156200073c576000915050620006e7565b62000749600a8262000b70565b9050620006f0565b50600092915050565b6040518060800160405280604f815260200162005e60604f913980516020918201208251838301206040805180820190915260018152603160f81b930192909252907fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc630620007c8620007fc565b604051620007de9594939291906020016200094b565b60408051601f198184030181529190528051602090910120601c5550565b4690565b8280546200080e9062000b96565b90600052602060002090601f0160209004810192826200083257600085556200087d565b82601f106200084d57805160ff19168380011785556200087d565b828001600101855582156200087d579182015b828111156200087d57825182559160200191906001019062000860565b506200088b9291506200088f565b5090565b5b808211156200088b576000815560010162000890565b600060208284031215620008b8578081fd5b81516001600160a01b0381168114620008cf578182fd5b9392505050565b60008251815b81811015620008f85760208186018101518583015201620008dc565b81811115620009075782828501525b507f3a20494e53554646494349454e545f5045524d495353494f4e53000000000000920191825250601a01919050565b6001600160a01b0391909116815260200190565b948552602085019390935260408401919091526001600160a01b03166060830152608082015260a00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b6000602080835281845483600282049050600180831680620009c657607f831692505b858310811415620009e557634e487b7160e01b87526022600452602487fd5b620009f383878a0162000b50565b81801562000a0a576001811462000a1c5762000a4a565b60ff1986168252878201965062000a4a565b62000a278b62000b44565b895b8681101562000a445781548482015290850190890162000a29565b83019750505b50949998505050505050505050565b60208082526010908201526f26bab9ba1031329037b832b930ba37b960811b604082015260600190565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b60208082526011908201527013d9999cd95d081a5cc81a5b9d985b1a59607a1b604082015260600190565b6020808252601c908201527f726f6c6520616c72656164792068617320746865206163636f756e7400000000604082015260600190565b6020808252600e908201526d185b1c9958591e481a5b9a5d195960921b604082015260600190565b60009081526020902090565b90815260200190565b60008262000b6b5762000b6b62000bf9565b500490565b600063ffffffff8084168062000b8a5762000b8a62000bf9565b92169190910492915050565b60028104600182168062000bab57607f821691505b6020821081141562000bcd57634e487b7160e01b600052602260045260246000fd5b50919050565b600063ffffffff8084168062000bed5762000bed62000bf9565b92169190910692915050565b634e487b7160e01b600052601260045260246000fd5b60805160a05160c05160e051610100516101205161520162000c5f6000396000611e1701526000612567015260006125a901526000612588015260006125150152600061253e01526152016000f3fe6080604052600436106104105760003560e01c80636d70f7ae1161021e578063ac8a584a11610123578063d547741f116100ab578063ed841bf11161007a578063ed841bf114610bce578063f2fde38b14610bee578063f44637ba14610c0e578063f9613ab214610c2e578063fbd395f814610c4e57610410565b8063d547741f14610b4e578063d644736814610b6e578063da1b9e0814610b8e578063e985e9c514610bae57610410565b8063c2508c46116100f2578063c2508c4614610aae578063c87b56dd14610ace578063ca15c87314610aee578063ca1728fd14610b0e578063d505accf14610b2e57610410565b8063ac8a584a14610a39578063b88d4fde14610a59578063b97d789514610a79578063c000582714610a9957610410565b80639010d07c116101a65780639870d7fe116101755780639870d7fe146109a45780639bb5c9c3146109c4578063a217fddf146109e4578063a22cb465146109f9578063aa271e1a14610a1957610410565b80639010d07c1461092f57806391d148541461094f57806395d89b411461096f578063983b2d561461098457610410565b8063776ab634116101ed578063776ab634146108b05780637d02b1a3146108d05780637ecebe00146108e55780638456cb59146109055780638da5cb5b1461091a57610410565b80636d70f7ae1461083057806370a0823114610850578063739f66871461087057806374db07d81461089057610410565b80633408e4701161032457806344734a98116102ac57806355f804b31161027b57806355f804b3146107a65780635c975abb146107c657806362977e2c146107db5780636352211e146107fb5780636c0360eb1461081b57610410565b806344734a98146107245780634dd09f33146107445780634f558e7914610759578063532efe601461077957610410565b80633f4ba83a116102f35780633f4ba83a1461068f57806340c10f19146106a457806342842e0e146106c457806342966c68146106e45780634334614a1461070457610410565b80633408e470146106255780633644e5151461063a57806336568abe1461064f5780633bb3a24d1461066f57610410565b8063175cf763116103a7578063248a9ca311610376578063248a9ca3146105905780632cff5b39146105b05780632d0335ab146105c55780632f2ff15d146105e55780633092afd51461060557610410565b8063175cf7631461052457806318160ddd1461053957806320379ee51461055b57806323b872dd1461057057610410565b8063095ea7b3116103e3578063095ea7b3146104bc5780630c53c51c146104dc5780630f7e5970146104ef578063162094c41461050457610410565b806301ffc9a714610415578063028468581461044b57806306fdde031461046d578063081812fc1461048f575b600080fd5b34801561042157600080fd5b50610435610430366004613d7a565b610c6e565b6040516104429190614028565b60405180910390f35b34801561045757600080fd5b5061046b610466366004613ac2565b610c91565b005b34801561047957600080fd5b50610482610d01565b60405161044291906140de565b34801561049b57600080fd5b506104af6104aa366004613d1f565b610d94565b6040516104429190613f87565b3480156104c857600080fd5b5061046b6104d7366004613cbe565b610dd7565b6104826104ea366004613c4e565b610e6f565b3480156104fb57600080fd5b50610482610fef565b34801561051057600080fd5b5061046b61051f366004613de5565b61100c565b34801561053057600080fd5b50610435611078565b34801561054557600080fd5b5061054e611081565b6040516104429190614033565b34801561056757600080fd5b5061054e611090565b34801561057c57600080fd5b5061046b61058b366004613b0e565b611096565b34801561059c57600080fd5b5061054e6105ab366004613d1f565b6110ce565b3480156105bc57600080fd5b5061054e6110e3565b3480156105d157600080fd5b5061054e6105e0366004613ac2565b6110e9565b3480156105f157600080fd5b5061046b610600366004613d37565b611104565b34801561061157600080fd5b5061046b610620366004613ac2565b61114c565b34801561063157600080fd5b5061054e6111b3565b34801561064657600080fd5b5061054e6111b7565b34801561065b57600080fd5b5061046b61066a366004613d37565b6111c1565b34801561067b57600080fd5b5061048261068a366004613d1f565b611203565b34801561069b57600080fd5b5061046b6112c8565b3480156106b057600080fd5b5061046b6106bf366004613cbe565b61135d565b3480156106d057600080fd5b5061046b6106df366004613b0e565b6113a2565b3480156106f057600080fd5b5061046b6106ff366004613d1f565b6113bd565b34801561071057600080fd5b5061043561071f366004613ac2565b611491565b34801561073057600080fd5b5061046b61073f366004613ce7565b6114a4565b34801561075057600080fd5b506104af611512565b34801561076557600080fd5b50610435610774366004613d1f565b611521565b34801561078557600080fd5b50610799610794366004613e2a565b61152c565b6040516104429190614f6b565b3480156107b257600080fd5b5061046b6107c1366004613db2565b611547565b3480156107d257600080fd5b506104356115a4565b3480156107e757600080fd5b5061046b6107f6366004613e2a565b6115b4565b34801561080757600080fd5b506104af610816366004613d1f565b611662565b34801561082757600080fd5b5061048261168a565b34801561083c57600080fd5b5061043561084b366004613ac2565b611699565b34801561085c57600080fd5b5061054e61086b366004613ac2565b6116a6565b34801561087c57600080fd5b5061079961088b366004613e2a565b6116ef565b34801561089c57600080fd5b5061046b6108ab366004613ac2565b611732565b3480156108bc57600080fd5b5061046b6108cb366004613d1f565b6117c7565b3480156108dc57600080fd5b5061054e61181d565b3480156108f157600080fd5b5061054e610900366004613ac2565b611823565b34801561091157600080fd5b5061046b611844565b34801561092657600080fd5b506104af6118d6565b34801561093b57600080fd5b506104af61094a366004613d59565b6118e5565b34801561095b57600080fd5b5061043561096a366004613d37565b611904565b34801561097b57600080fd5b5061048261191c565b34801561099057600080fd5b5061046b61099f366004613ac2565b61192b565b3480156109b057600080fd5b5061046b6109bf366004613ac2565b611992565b3480156109d057600080fd5b5061046b6109df366004613ac2565b6119f9565b3480156109f057600080fd5b5061054e611a69565b348015610a0557600080fd5b5061046b610a14366004613c18565b611a6e565b348015610a2557600080fd5b50610435610a34366004613ac2565b611a78565b348015610a4557600080fd5b5061046b610a54366004613ac2565b611a85565b348015610a6557600080fd5b5061046b610a74366004613b49565b611aec565b348015610a8557600080fd5b50610435610a94366004613e2a565b611b2b565b348015610aa557600080fd5b5061054e611b48565b348015610aba57600080fd5b5061046b610ac9366004613ac2565b611b54565b348015610ada57600080fd5b50610482610ae9366004613d1f565b611bbb565b348015610afa57600080fd5b5061054e610b09366004613d1f565b611bc6565b348015610b1a57600080fd5b5061046b610b29366004613e44565b611bdd565b348015610b3a57600080fd5b5061046b610b49366004613baf565b611d5d565b348015610b5a57600080fd5b5061046b610b69366004613d37565b611efa565b348015610b7a57600080fd5b50610435610b89366004613d1f565b611f34565b348015610b9a57600080fd5b5061046b610ba9366004613db2565b611f49565b348015610bba57600080fd5b50610435610bc9366004613adc565b611fb2565b348015610bda57600080fd5b50610435610be9366004613ac2565b611fbe565b348015610bfa57600080fd5b5061046b610c09366004613ac2565b611fcb565b348015610c1a57600080fd5b5061046b610c29366004613ac2565b611ff9565b348015610c3a57600080fd5b5061054e610c49366004613d1f565b61208e565b348015610c5a57600080fd5b5061046b610c69366004613d1f565b612099565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b610c9a33611699565b610cbf5760405162461bcd60e51b8152600401610cb690614309565b60405180910390fd5b610cca601182612158565b6040516001600160a01b038216907f90eabbc0c667db2a5029ed6bc0f5fe9f356d11684a4ca9fcfaec0e53f12b9c8e90600090a250565b606060068054610d1090615039565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3c90615039565b8015610d895780601f10610d5e57610100808354040283529160200191610d89565b820191906000526020600020905b815481529060010190602001808311610d6c57829003601f168201915b505050505090505b90565b6000610d9f826121a0565b610dbb5760405162461bcd60e51b8152600401610cb6906149bf565b506000908152600460205260409020546001600160a01b031690565b6000610de282611662565b9050806001600160a01b0316836001600160a01b03161415610e165760405162461bcd60e51b8152600401610cb690614bfd565b806001600160a01b0316610e286121ad565b6001600160a01b03161480610e445750610e4481610bc96121ad565b610e605760405162461bcd60e51b8152600401610cb69061482d565b610e6a83836121b7565b505050565b60408051606081810183526001600160a01b0388166000818152601d602090815290859020548452830152918101869052610ead8782878787612225565b610ec95760405162461bcd60e51b8152600401610cb690614aff565b6001600160a01b0387166000908152601d6020526040902054610eed906001614f93565b6001600160a01b0388166000908152601d60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610f3d90899033908a90613f9b565b60405180910390a1600080306001600160a01b0316888a604051602001610f65929190613eb5565b60408051601f1981840301815290829052610f7f91613e99565b6000604051808303816000865af19150503d8060008114610fbc576040519150601f19603f3d011682016040523d82523d6000602084013e610fc1565b606091505b509150915081610fe35760405162461bcd60e51b8152600401610cb690614404565b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b61101533611699565b6110315760405162461bcd60e51b8152600401610cb690614309565b61103b82826122cb565b7f0418254f69edc41d3d2b429767526234e99f60018e7e21cda80307bf3ef28cc4828260405161106c929190614f52565b60405180910390a15050565b600f5460ff1690565b600061108b61230f565b905090565b601c5490565b6110a76110a16121ad565b82612315565b6110c35760405162461bcd60e51b8152600401610cb690614cc7565b610e6a83838361239a565b60009081526019602052604090206002015490565b60155490565b6001600160a01b03166000908152601d602052604090205490565b6000828152601960205260409020600201546111229061096a6121ad565b61113e5760405162461bcd60e51b8152600401610cb69061423b565b61114882826124a8565b5050565b61115533611699565b6111715760405162461bcd60e51b8152600401610cb690614309565b61117c601082612158565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b4690565b600061108b612511565b6111c96121ad565b6001600160a01b0316816001600160a01b0316146111f95760405162461bcd60e51b8152600401610cb690614f03565b61114882826125d4565b606061120e826121a0565b61122a5760405162461bcd60e51b8152600401610cb6906148d4565b6000828152600860205260409020805461124390615039565b80601f016020809104026020016040519081016040528092919081815260200182805461126f90615039565b80156112bc5780601f10611291576101008083540402835291602001916112bc565b820191906000526020600020905b81548152906001019060200180831161129f57829003601f168201915b50505050509050919050565b6112d133611699565b6112ed5760405162461bcd60e51b8152600401610cb690614309565b600a54600160a01b900460ff166113165760405162461bcd60e51b8152600401610cb69061428a565b600a805460ff60a01b191690556040517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa90611353903390613f87565b60405180910390a1565b61136633611a78565b6113825760405162461bcd60e51b8152600401610cb690614d86565b61138c828261263d565b611394611078565b156111485761114881612755565b610e6a83838360405180602001604052806000815250611aec565b6113c633611491565b6113e25760405162461bcd60e51b8152600401610cb690614ad7565b6012546113f59063ffffffff16826150b3565b6114115760405162461bcd60e51b8152600401610cb690614534565b6012546000906114279063ffffffff1683614fab565b63ffffffff8082166000908152601460205260408120805493945092909116919061145183615019565b91906101000a81548163ffffffff021916908363ffffffff160217905550506017600081548092919061148390615002565b919050555061114882612798565b600061149e601183612139565b92915050565b6114ad33611699565b6114c95760405162461bcd60e51b8152600401610cb690614309565b600f805460ff19168215151790556040517fedf46a128f11ef41061cbc776d34f11f530d06579b03cceab02aee9db206bbc190611507908390614028565b60405180910390a150565b600c546001600160a01b031681565b600061149e826121a0565b63ffffffff9081166000908152601460205260409020541690565b61155033611699565b61156c5760405162461bcd60e51b8152600401610cb690614309565b611575816127ec565b7f157d450c8fb1377294d9db75af1de2753efc52d8e5578551d70d2c7d9cd74df98160405161150791906140de565b600a54600160a01b900460ff1690565b6115bd33611a78565b6115d95760405162461bcd60e51b8152600401610cb690614d86565b6015548163ffffffff16106116005760405162461bcd60e51b8152600401610cb690614c75565b6016548163ffffffff1610156116285760405162461bcd60e51b8152600401610cb690614dae565b63ffffffff81166015556040517fcffe07c9e7982b6c56cb569d21caedd78c8fbc68a0cbdc4d963c21eae6e8f91090611507908390614f6b565b600061149e826040518060600160405280602981526020016151a360299139600291906127ff565b606060098054610d1090615039565b600061149e600b83612139565b60006001600160a01b0382166116ce5760405162461bcd60e51b8152600401610cb69061488a565b6001600160a01b038216600090815260016020526040902061149e9061280c565b60006116fa82611b2b565b6117165760405162461bcd60e51b8152600401610cb6906145da565b5063ffffffff9081166000908152601360205260409020541690565b61173b33611699565b6117575760405162461bcd60e51b8152600401610cb690614309565b611769816001600160a01b0316612817565b6117855760405162461bcd60e51b8152600401610cb690614787565b611790600d826120ed565b6040516001600160a01b038216907fff12d576e2fecf516eb406e6618d5e97bcc8046690863b984069b15ada11d61290600090a250565b6117d033611fbe565b6117ec5760405162461bcd60e51b8152600401610cb690614ebd565b6117f581611f34565b6118115760405162461bcd60e51b8152600401610cb69061495d565b61181a8161281d565b50565b60165490565b6001600160a01b038116600090815260186020526040812061149e9061285d565b61184d33611699565b6118695760405162461bcd60e51b8152600401610cb690614309565b600a54600160a01b900460ff16156118935760405162461bcd60e51b8152600401610cb690614803565b600a805460ff60a01b1916600160a01b1790556040517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25890611353903390613f87565b600a546001600160a01b031690565b60008281526019602052604081206118fd9083612861565b9392505050565b60008281526019602052604081206118fd908361286d565b606060078054610d1090615039565b61193433611699565b6119505760405162461bcd60e51b8152600401610cb690614309565b61195b6010826120ed565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61199b33611699565b6119b75760405162461bcd60e51b8152600401610cb690614309565b6119c2600b826120ed565b6040516001600160a01b038216907fac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d90600090a250565b611a0233611699565b611a1e5760405162461bcd60e51b8152600401610cb690614309565b600c80546001600160a01b0319166001600160a01b0383161790556040517f12be4820d03362d1f48434d870b2fc1549b3a3d16d891eeaac7c3073f3ded8b790611507908390613f87565b600081565b6111488282612882565b600061149e601083612139565b611a8e33611699565b611aaa5760405162461bcd60e51b8152600401610cb690614309565b611ab5600b82612158565b6040516001600160a01b038216907f80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d90600090a250565b611afd611af76121ad565b83612315565b611b195760405162461bcd60e51b8152600401610cb690614cc7565b611b2584848484612916565b50505050565b63ffffffff90811660009081526013602052604090205416151590565b60125463ffffffff1690565b611b5d33611699565b611b795760405162461bcd60e51b8152600401610cb690614309565b611b84600d82612158565b6040516001600160a01b038216907f2186c7d8e4b2d6a73790355b1a465872175798d2366146e638fc885d54460b8590600090a250565b606061149e82612949565b600081815260196020526040812061149e9061280c565b611be633611a78565b611c025760405162461bcd60e51b8152600401610cb690614d86565b63ffffffff8216611c255760405162461bcd60e51b8152600401610cb690614c3e565b60125463ffffffff90811690821610611c505760405162461bcd60e51b8152600401610cb690614333565b611c5982611b2b565b611c9b5760168054906000611c6d83615074565b91905055506015546016541115611c965760405162461bcd60e51b8152600401610cb690614700565b611d02565b611ca4826116ef565b63ffffffff168163ffffffff1610611cce5760405162461bcd60e51b8152600401610cb6906141eb565b611cd78261152c565b63ffffffff168163ffffffff161015611d025760405162461bcd60e51b8152600401610cb6906142b8565b63ffffffff82811660009081526013602052604090819020805463ffffffff191692841692909217909155517f30525f07d1d2ff6b7c2b1817c13c37935c691304253dd353909b5c0381a9dc409061106c9084908490614f7c565b6000611d6886611662565b9050806001600160a01b0316876001600160a01b03161415611d9c5760405162461bcd60e51b8152600401610cb690614472565b876001600160a01b0316816001600160a01b03161480611dc15750611dc18189611fb2565b611ddd5760405162461bcd60e51b8152600401610cb690614657565b84421115611dfd5760405162461bcd60e51b8152600401610cb690614a57565b6001600160a01b03881660009081526018602052604081207f0000000000000000000000000000000000000000000000000000000000000000908a908a908a90611e469061285d565b8a604051602001611e5c9695949392919061403c565b6040516020818303038152906040528051906020012090506000611e7f826129a4565b90506000611e8f828888886129dd565b90508a6001600160a01b0316816001600160a01b031614611ec25760405162461bcd60e51b8152600401610cb690614561565b6001600160a01b038b166000908152601860205260409020611ee390612ad3565b611eed8a8a6121b7565b5050505050505050505050565b600082815260196020526040902060020154611f189061096a6121ad565b6111f95760405162461bcd60e51b8152600401610cb690614737565b6000908152600e602052604090205460ff1690565b611f5233611699565b611f6e5760405162461bcd60e51b8152600401610cb690614309565b8051611f8190601e90602084019061392e565b507f2405b30cce1d59580c3cc7fbdce2d552bd8e943d5dc4f66a37053027fc7ce880601e60405161150791906140f1565b60006118fd8383612af0565b600061149e600d83612139565b611fd433611699565b611ff05760405162461bcd60e51b8152600401610cb690614309565b61181a81612b9d565b61200233611699565b61201e5760405162461bcd60e51b8152600401610cb690614309565b612030816001600160a01b0316612817565b61204c5760405162461bcd60e51b8152600401610cb690614dff565b6120576011826120ed565b6040516001600160a01b038216907f86e57fd2b90329052917118de7c3f521f400d439b9650deaa906a25b08b9456090600090a250565b600061149e826129a4565b6120a233611fbe565b6120be5760405162461bcd60e51b8152600401610cb690614ebd565b6120c781611f34565b156120e45760405162461bcd60e51b8152600401610cb690614d4f565b61181a81612755565b6120f78282612139565b156121145760405162461bcd60e51b8152600401610cb690614b8f565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b03166000908152602091909152604090205460ff1690565b6121628282612139565b61217e5760405162461bcd60e51b8152600401610cb690614e86565b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600061149e600283612bfb565b600061108b612c07565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906121ec82611662565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b03861661224d5760405162461bcd60e51b8152600401610cb6906147be565b600161226061225b87612c11565b612c52565b8386866040516000815260200160405260405161228094939291906140c0565b6020604051602081039080840390855afa1580156122a2573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6122d4826121a0565b6122f05760405162461bcd60e51b8152600401610cb690614a0b565b60008281526008602090815260409091208251610e6a9284019061392e565b60175490565b6000612320826121a0565b61233c5760405162461bcd60e51b8152600401610cb6906146b4565b600061234783611662565b9050806001600160a01b0316846001600160a01b031614806123825750836001600160a01b031661237784610d94565b6001600160a01b0316145b8061239257506123928185611fb2565b949350505050565b826001600160a01b03166123ad82611662565b6001600160a01b0316146123d35760405162461bcd60e51b8152600401610cb690614a8e565b6001600160a01b0382166123f95760405162461bcd60e51b8152600401610cb6906144b9565b612404838383612c5c565b61240f6000826121b7565b6001600160a01b03831660009081526001602052604090206124319082612cc5565b506001600160a01b03821660009081526001602052604090206124549082612cd1565b5061246160028284612cdd565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008281526019602052604090206124c09082612cf3565b15611148576124cd6121ad565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60007f000000000000000000000000000000000000000000000000000000000000000046141561256257507f0000000000000000000000000000000000000000000000000000000000000000610d91565b6125cd7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612d08565b9050610d91565b60008281526019602052604090206125ec9082612d42565b15611148576125f96121ad565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b61264633611a78565b6126625760405162461bcd60e51b8152600401610cb690614d86565b6012546126759063ffffffff16826150b3565b6126915760405162461bcd60e51b8152600401610cb690614534565b6012546000906126a79063ffffffff1683614fab565b63ffffffff808216600090815260146020526040812080549394509290911691906126d18361508f565b91906101000a81548163ffffffff021916908363ffffffff160217905550506017600081548092919061270390615074565b9190505550612711816116ef565b63ffffffff8281166000908152601460205260409020549181169116111561274b5760405162461bcd60e51b8152600401610cb690614bc6565b610e6a8383612d57565b6000818152600e6020526040808220805460ff191660011790555182917fc2d830ac158eec7b589dfadf012044c95b8646222991556ab4cd311e38bc77d191a250565b6127a133611491565b6127bd5760405162461bcd60e51b8152600401610cb690614ad7565b6127c73382612315565b6127e35760405162461bcd60e51b8152600401610cb690614e36565b61181a81612d86565b805161114890600990602084019061392e565b6000612392848484612e4c565b600061149e8261285d565b3b151590565b6000818152600e6020526040808220805460ff191690555182917f0cfa9cc56bacd896c88effb6a4051b954fcaaf2de7ae98882e39f294ea65184391a250565b5490565b60006118fd8383612ec3565b60006118fd836001600160a01b038416612f1c565b600c546001600160a01b0316158015906128a057506128a082612817565b1561290c57600c54604051631b3b02e560e11b81526001600160a01b039091169063367605ca906128d990339086908690600401613fc7565b600060405180830381600087803b1580156128f357600080fd5b505af1158015612907573d6000803e3d6000fd5b505050505b6111488282612f34565b61292184848461239a565b61292d84848484613002565b611b255760405162461bcd60e51b8152600401610cb6906143b2565b6060600061295683611203565b80519091501561297157612969836130e1565b915050610c8c565b601e61297c846131f6565b60405160200161298d929190613eec565b604051602081830303815290604052915050919050565b60006129ae612511565b826040516020016129c0929190613f6c565b604051602081830303815290604052805190602001209050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612a1f5760405162461bcd60e51b8152600401610cb690614598565b8360ff16601b1480612a3457508360ff16601c145b612a505760405162461bcd60e51b8152600401610cb69061491b565b600060018686868660405160008152602001604052604051612a7594939291906140c0565b6020604051602081039080840390855afa158015612a97573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612aca5760405162461bcd60e51b8152600401610cb690614172565b95945050505050565b6001816000016000828254612ae89190614f93565b909155505050565b600080612afd848461331c565b600c549091506001600160a01b0316156118fd57600c546040516346e67e2960e11b81526001600160a01b0390911690638dccfc5290612b4590879087908690600401613fc7565b60206040518083038186803b158015612b5d57600080fd5b505afa158015612b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b959190613d03565b91505061149e565b6000612ba76118d6565b600a80546001600160a01b0319166001600160a01b0385811691821790925560405192935091908316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006118fd8383612f1c565b600061108b61334a565b600060405180608001604052806043815260200161516060439139805160209182012083518483015160408087015180519086012090516129c0950161409c565b60006129ae611090565b600a54600160a01b900460ff1615612c865760405162461bcd60e51b8152600401610cb690614803565b80612c9033611fbe565b612cba57612c9d81611f34565b15612cba5760405162461bcd60e51b8152600401610cb690614383565b611b258484846133a6565b60006118fd838361340f565b60006118fd838361352c565b600061239284846001600160a01b038516613576565b60006118fd836001600160a01b03841661352c565b60008383834630604051602001612d23959493929190614070565b6040516020818303038152906040528051906020012090509392505050565b60006118fd836001600160a01b03841661340f565b612d6033611a78565b612d7c5760405162461bcd60e51b8152600401610cb690614d86565b6111488282613625565b6000612d9182611662565b9050612d9f81600084612c5c565b612daa6000836121b7565b60008281526008602052604090208054612dc390615039565b159050612de1576000828152600860205260408120612de1916139b2565b6001600160a01b0381166000908152600160205260409020612e039083612cc5565b50612e0f6002836136e9565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008281526001840160205260408120548281612e7c5760405162461bcd60e51b8152600401610cb691906140de565b5084612e89600183614fbf565b81548110612ea757634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549150509392505050565b81546000908210612ee65760405162461bcd60e51b8152600401610cb6906141a9565b826000018281548110612f0957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b612f3c6121ad565b6001600160a01b0316826001600160a01b03161415612f6d5760405162461bcd60e51b8152600401610cb6906144fd565b8060056000612f7a6121ad565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155612fbe6121ad565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ff69190614028565b60405180910390a35050565b6000613016846001600160a01b0316612817565b61302257506001612392565b60006130aa630a85bd0160e11b6130376121ad565b88878760405160240161304d9493929190613feb565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161512e603291396001600160a01b03881691906136f5565b90506000818060200190518101906130c29190613d96565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60606130ec826121a0565b6131085760405162461bcd60e51b8152600401610cb690614b40565b6000828152600860205260408120805461312190615039565b80601f016020809104026020016040519081016040528092919081815260200182805461314d90615039565b801561319a5780601f1061316f5761010080835404028352916020019161319a565b820191906000526020600020905b81548152906001019060200180831161317d57829003601f168201915b50505050509050600980546131ae90615039565b151590506131bd579050610c8c565b8051156131ef576009816040516020016131d8929190613eec565b604051602081830303815290604052915050610c8c565b600961297c845b60608161321b57506040805180820190915260018152600360fc1b6020820152610c8c565b8160005b8115613245578061322f81615074565b915061323e9050600a83614fab565b915061321f565b60008167ffffffffffffffff81111561326e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613298576020820181803683370190505b508593509050815b8315613313576132b1600a856150b3565b6132bc906030614f93565b60f81b826132c983615002565b925082815181106132ea57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061330c600a85614fab565b93506132a0565b50949350505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000333014156133a157600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150610d919050565b503390565b600a54600160a01b900460ff16156133d05760405162461bcd60e51b8152600401610cb690614803565b806133da33611fbe565b613404576133e781611f34565b156134045760405162461bcd60e51b8152600401610cb690614383565b611b25848484610e6a565b60008181526001830160205260408120548015613522576000613433600183614fbf565b855490915060009061344790600190614fbf565b9050600086600001828154811061346e57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061349f57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001556134b6836001614f93565b600082815260018901602052604090205586548790806134e657634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061149e565b600091505061149e565b60006135388383612f1c565b61356e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561149e565b50600061149e565b6000828152600184016020526040812054806135db5750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556118fd565b82856135e8600184614fbf565b8154811061360657634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016001018190555060009150506118fd565b6001600160a01b03821661364b5760405162461bcd60e51b8152600401610cb69061498a565b613654816121a0565b156136715760405162461bcd60e51b8152600401610cb69061443b565b61367d60008383612c5c565b6001600160a01b038216600090815260016020526040902061369f9082612cd1565b506136ac60028284612cdd565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006118fd8383613704565b60606123928484600085613835565b60008181526001830160205260408120548015613522576000613728600183614fbf565b855490915060009061373c90600190614fbf565b9050600086600001828154811061376357634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508087600001848154811061379757634e487b7160e01b600052603260045260246000fd5b600091825260209091208254600290920201908155600191820154908201556137c1908490614f93565b8154600090815260018901602052604090205586548790806137f357634e487b7160e01b600052603160045260246000fd5b600082815260208082206002600019909401938402018281556001908101839055929093558881528982019092526040822091909155945061149e9350505050565b6060824710156138575760405162461bcd60e51b8152600401610cb690614611565b61386085612817565b61387c5760405162461bcd60e51b8152600401610cb690614d18565b600080866001600160a01b031685876040516138989190613e99565b60006040518083038185875af1925050503d80600081146138d5576040519150601f19603f3d011682016040523d82523d6000602084013e6138da565b606091505b50915091506138ea8282866138f5565b979650505050505050565b606083156139045750816118fd565b8251156139145782518084602001fd5b8160405162461bcd60e51b8152600401610cb691906140de565b82805461393a90615039565b90600052602060002090601f01602090048101928261395c57600085556139a2565b82601f1061397557805160ff19168380011785556139a2565b828001600101855582156139a2579182015b828111156139a2578251825591602001919060010190613987565b506139ae9291506139ea565b5090565b5080546139be90615039565b6000825580601f106139d0575061181a565b601f01602090049060005260206000209081019061181a91905b5b808211156139ae57600081556001016139eb565b80356001600160a01b0381168114610c8c57600080fd5b600082601f830112613a26578081fd5b813567ffffffffffffffff80821115613a4157613a416150f3565b604051601f8301601f19908116603f01168101908282118183101715613a6957613a696150f3565b81604052838152866020858801011115613a81578485fd5b8360208701602083013792830160200193909352509392505050565b803563ffffffff81168114610c8c57600080fd5b803560ff81168114610c8c57600080fd5b600060208284031215613ad3578081fd5b6118fd826139ff565b60008060408385031215613aee578081fd5b613af7836139ff565b9150613b05602084016139ff565b90509250929050565b600080600060608486031215613b22578081fd5b613b2b846139ff565b9250613b39602085016139ff565b9150604084013590509250925092565b60008060008060808587031215613b5e578081fd5b613b67856139ff565b9350613b75602086016139ff565b925060408501359150606085013567ffffffffffffffff811115613b97578182fd5b613ba387828801613a16565b91505092959194509250565b600080600080600080600060e0888a031215613bc9578283fd5b613bd2886139ff565b9650613be0602089016139ff565b95506040880135945060608801359350613bfc60808901613ab1565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215613c2a578182fd5b613c33836139ff565b91506020830135613c4381615109565b809150509250929050565b600080600080600060a08688031215613c65578081fd5b613c6e866139ff565b9450602086013567ffffffffffffffff811115613c89578182fd5b613c9588828901613a16565b9450506040860135925060608601359150613cb260808701613ab1565b90509295509295909350565b60008060408385031215613cd0578182fd5b613cd9836139ff565b946020939093013593505050565b600060208284031215613cf8578081fd5b81356118fd81615109565b600060208284031215613d14578081fd5b81516118fd81615109565b600060208284031215613d30578081fd5b5035919050565b60008060408385031215613d49578182fd5b82359150613b05602084016139ff565b60008060408385031215613d6b578182fd5b50508035926020909101359150565b600060208284031215613d8b578081fd5b81356118fd81615117565b600060208284031215613da7578081fd5b81516118fd81615117565b600060208284031215613dc3578081fd5b813567ffffffffffffffff811115613dd9578182fd5b61239284828501613a16565b60008060408385031215613df7578182fd5b82359150602083013567ffffffffffffffff811115613e14578182fd5b613e2085828601613a16565b9150509250929050565b600060208284031215613e3b578081fd5b6118fd82613a9d565b60008060408385031215613e56578182fd5b613e5f83613a9d565b9150613b0560208401613a9d565b60008151808452613e85816020860160208601614fd6565b601f01601f19169290920160200192915050565b60008251613eab818460208701614fd6565b9190910192915050565b60008351613ec7818460208801614fd6565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b6000808454613efa81615039565b60018281168015613f125760018114613f2357613f4f565b60ff19841687528287019450613f4f565b8886526020808720875b85811015613f465781548a820152908401908201613f2d565b50505082870194505b505050508351613f63818360208801614fd6565b01949350505050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03848116825283166020820152606060408201819052600090612aca90830184613e6d565b6001600160a01b039384168152919092166020820152901515604082015260600190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061401e90830184613e6d565b9695505050505050565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260208401929092526001600160a01b03166040830152606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526118fd6020830184613e6d565b6000602080835281845461410481615039565b80848701526040600180841660008114614125576001811461413957614164565b60ff19851689840152606089019550614164565b898852868820885b8581101561415c5781548b8201860152908301908801614141565b8a0184019650505b509398975050505050505050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526030908201527f4e657720756e697420636170206d757374206265206c657373207468616e207060408201526f0726576696f757320756e6974206361760841b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526031908201527f4e657720756e697420636170206d757374206265206d6f7265207468616e20636040820152701d5c9c995b9d081d5b9a5d0818dbdd5b9d607a1b606082015260800190565b60208082526010908201526f26bab9ba1031329037b832b930ba37b960811b604082015260600190565b60208082526030908201527f4e657720756e697420636170206d757374206265206c657373207468616e206160408201526f1cdcd95d081d1e5c19481bd9999cd95d60821b606082015260800190565b602080825260159082015274151bdad95b94185d5cd8589b194e881c185d5cd959605a1b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526027908201527f4552433732315065726d69743a20617070726f76616c20746f2063757272656e6040820152663a1037bbb732b960c91b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601390820152720496e646578206d757374206e6f74206265203606c1b604082015260600190565b6020808252601f908201527f4552433732315065726d69743a20696e76616c6964207369676e617475726500604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b60208082526019908201527f4173736574207479706520646f6573206e6f7420657869737400000000000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252603e908201527f4552433732315065726d69743a20617070726f7665207369676e65722069732060408201527f6e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601a908201527f4173736574207479706520636170206973206578636565646564000000000000604082015260600190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b6020808252601c908201527f546f6b656e506175736572206d75737420626520636f6e747261637400000000604082015260600190565b60208082526025908201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360408201526424a3a722a960d91b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526027908201527f676574546f6b656e55524920717565727920666f72206e6f6e6578697374656e6040820152663a103a37b5b2b760c91b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b602080825260139082015272151bdad95b881a5cc81b9bdd081c185d5cd959606a1b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601e908201527f4552433732315065726d69743a206578706972656420646561646c696e650000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252600e908201526d26bab9ba10313290313ab93732b960911b604082015260600190565b60208082526021908201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636040820152600d60fb1b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601c908201527f726f6c6520616c72656164792068617320746865206163636f756e7400000000604082015260600190565b60208082526018908201527f417373657420756e697420636170206973206578636565640000000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526018908201527f41737365742054797065206d757374206e6f7420626520300000000000000000604082015260600190565b60208082526032908201527f4e65772074797065206361702063616e6e6f74206265206c657373207468616e6040820152710206578697374696e672074797065206361760741b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526017908201527f546f6b656e20697320616c726561647920706175736564000000000000000000604082015260600190565b6020808252600e908201526d26bab9ba1031329036b4b73a32b960911b604082015260600190565b60208082526031908201527f4e6577207479706520636170206d757374206265206d6f7265207468616e20636040820152701d5c9c995b9d081d1e5c194818dbdd5b9d607a1b606082015260800190565b60208082526017908201527f4275726e6572206d75737420626520636f6e7472616374000000000000000000604082015260600190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b6020808252601d908201527f726f6c6520646f73656e2774206861766520746865206163636f756e74000000604082015260600190565b60208082526026908201527f4f6e6c7920746f6b656e207061757365722063616e2063616c6c2074686973206040820152651b595d1a1bd960d21b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6000838252604060208301526123926040830184613e6d565b63ffffffff91909116815260200190565b63ffffffff92831681529116602082015260400190565b60008219821115614fa657614fa66150c7565b500190565b600082614fba57614fba6150dd565b500490565b600082821015614fd157614fd16150c7565b500390565b60005b83811015614ff1578181015183820152602001614fd9565b83811115611b255750506000910152565b600081615011576150116150c7565b506000190190565b600063ffffffff82168061502f5761502f6150c7565b6000190192915050565b60028104600182168061504d57607f821691505b6020821081141561506e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615088576150886150c7565b5060010190565b600063ffffffff808316818114156150a9576150a96150c7565b6001019392505050565b6000826150c2576150c26150dd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461181a57600080fd5b6001600160e01b03198116811461181a57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220a8ff1c8bc62d488c97a74f29b1c01f7cb5add9325040284251b455b21d66262c64736f6c63430008010033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f636f72652e6d7963727970746f736167612e6e65742f6170692f6d657461646174612f636172642f000000000000000000000000f574ebcf4be9bc8d9104c19cfe13d02446f8faba
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f574ebcf4be9bc8d9104c19cfe13d02446f8faba
-----Decoded View---------------
Arg [0] : _approvalProxy (address): 0xf574ebcf4be9bc8d9104c19cfe13d02446f8faba
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f574ebcf4be9bc8d9104c19cfe13d02446f8faba
Deployed ByteCode Sourcemap
101392:1956:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1822:150;;;;;;;;;;-1:-1:-1;1822:150:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66095:141;;;;;;;;;;-1:-1:-1;66095:141:0;;;;;:::i;:::-;;:::i;:::-;;43093:92;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;45282:213::-;;;;;;;;;;-1:-1:-1;45282:213:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;44826:390::-;;;;;;;;;;-1:-1:-1;44826:390:0;;;;;:::i;:::-;;:::i;95749:1151::-;;;;;;:::i;:::-;;:::i;92961:43::-;;;;;;;;;;;;;:::i;100633:201::-;;;;;;;;;;-1:-1:-1;100633:201:0;;;;;:::i;:::-;;:::i;62124:103::-;;;;;;;;;;;;;:::i;102591:107::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;93971:101::-;;;;;;;;;;;;;:::i;46164:305::-;;;;;;;;;;-1:-1:-1;46164:305:0;;;;;:::i;:::-;;:::i;88743:114::-;;;;;;;;;;-1:-1:-1;88743:114:0;;;;;:::i;:::-;;:::i;69136:99::-;;;;;;;;;;;;;:::i;97326:108::-;;;;;;;;;;-1:-1:-1;97326:108:0;;;;;:::i;:::-;;:::i;89119:227::-;;;;;;;;;;-1:-1:-1;89119:227:0;;;;;:::i;:::-;;:::i;64880:150::-;;;;;;;;;;-1:-1:-1;64880:150:0;;;;;:::i;:::-;;:::i;94080:161::-;;;;;;;;;;;;;:::i;84143:115::-;;;;;;;;;;;;;:::i;90328:209::-;;;;;;;;;;-1:-1:-1;90328:209:0;;;;;:::i;:::-;;:::i;43402:200::-;;;;;;;;;;-1:-1:-1;43402:200:0;;;;;:::i;:::-;;:::i;59060:124::-;;;;;;;;;;;;;:::i;101840:204::-;;;;;;;;;;-1:-1:-1;101840:204:0;;;;;:::i;:::-;;:::i;46540:151::-;;;;;;;;;;-1:-1:-1;46540:151:0;;;;;:::i;:::-;;:::i;71058:332::-;;;;;;;;;;-1:-1:-1;71058:332:0;;;;;:::i;:::-;;:::i;65771:108::-;;;;;;;;;;-1:-1:-1;65771:108:0;;;;;:::i;:::-;;:::i;61918:194::-;;;;;;;;;;-1:-1:-1;61918:194:0;;;;;:::i;:::-;;:::i;59635:35::-;;;;;;;;;;;;;:::i;65042:117::-;;;;;;;;;;-1:-1:-1;65042:117:0;;;;;:::i;:::-;;:::i;70474:::-;;;;;;;;;;-1:-1:-1;70474:117:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;100429:160::-;;;;;;;;;;-1:-1:-1;100429:160:0;;;;;:::i;:::-;;:::i;58844:78::-;;;;;;;;;;;;;:::i;68773:355::-;;;;;;;;;;-1:-1:-1;68773:355:0;;;;;:::i;:::-;;:::i;42857:169::-;;;;;;;;;;-1:-1:-1;42857:169:0;;;;;:::i;:::-;;:::i;44675:89::-;;;;;;;;;;;;;:::i;58422:112::-;;;;;;;;;;-1:-1:-1;58422:112:0;;;;;:::i;:::-;;:::i;42580:215::-;;;;;;;;;;-1:-1:-1;42580:215:0;;;;;:::i;:::-;;:::i;70271:195::-;;;;;;;;;;-1:-1:-1;70271:195:0;;;;;:::i;:::-;;:::i;63134:219::-;;;;;;;;;;-1:-1:-1;63134:219:0;;;;;:::i;:::-;;:::i;62558:173::-;;;;;;;;;;-1:-1:-1;62558:173:0;;;;;:::i;:::-;;:::i;69243:103::-;;;;;;;;;;;;;:::i;83892:120::-;;;;;;;;;;-1:-1:-1;83892:120:0;;;;;:::i;:::-;;:::i;58930:122::-;;;;;;;;;;;;;:::i;57016:88::-;;;;;;;;;;;;;:::i;88416:138::-;;;;;;;;;;-1:-1:-1;88416:138:0;;;;;:::i;:::-;;:::i;87377:139::-;;;;;;;;;;-1:-1:-1;87377:139:0;;;;;:::i;:::-;;:::i;43254:96::-;;;;;;;;;;;;;:::i;64730:142::-;;;;;;;;;;-1:-1:-1;64730:142:0;;;;;:::i;:::-;;:::i;58542:139::-;;;;;;;;;;-1:-1:-1;58542:139:0;;;;;:::i;:::-;;:::i;59774:158::-;;;;;;;;;;-1:-1:-1;59774:158:0;;;;;:::i;:::-;;:::i;86122:49::-;;;;;;;;;;;;;:::i;102706:192::-;;;;;;;;;;-1:-1:-1;102706:192:0;;;;;:::i;:::-;;:::i;64605:117::-;;;;;;;;;;-1:-1:-1;64605:117:0;;;;;:::i;:::-;;:::i;58689:147::-;;;;;;;;;;-1:-1:-1;58689:147:0;;;;;:::i;:::-;;:::i;46762:285::-;;;;;;;;;;-1:-1:-1;46762:285:0;;;;;:::i;:::-;;:::i;69354:128::-;;;;;;;;;;-1:-1:-1;69354:128:0;;;;;:::i;:::-;;:::i;68660:105::-;;;;;;;;;;;;;:::i;63361:155::-;;;;;;;;;;-1:-1:-1;63361:155:0;;;;;:::i;:::-;;:::i;102380:203::-;;;;;;;;;;-1:-1:-1;102380:203:0;;;;;:::i;:::-;;:::i;87690:127::-;;;;;;;;;;-1:-1:-1;87690:127:0;;;;;:::i;:::-;;:::i;69490:773::-;;;;;;;;;;-1:-1:-1;69490:773:0;;;;;:::i;:::-;;:::i;82699:1126::-;;;;;;;;;;-1:-1:-1;82699:1126:0;;;;;:::i;:::-;;:::i;89591:230::-;;;;;;;;;;-1:-1:-1;89591:230:0;;;;;:::i;:::-;;:::i;62885:116::-;;;;;;;;;;-1:-1:-1;62885:116:0;;;;;:::i;:::-;;:::i;100251:170::-;;;;;;;;;;-1:-1:-1;100251:170:0;;;;;:::i;:::-;;:::i;102906:232::-;;;;;;;;;;-1:-1:-1;102906:232:0;;;;;:::i;:::-;;:::i;63009:117::-;;;;;;;;;;-1:-1:-1;63009:117:0;;;;;:::i;:::-;;:::i;58257:157::-;;;;;;;;;;-1:-1:-1;58257:157:0;;;;;:::i;:::-;;:::i;65887:200::-;;;;;;;;;;-1:-1:-1;65887:200:0;;;;;:::i;:::-;;:::i;84266:123::-;;;;;;;;;;-1:-1:-1;84266:123:0;;;;;:::i;:::-;;:::i;62235:174::-;;;;;;;;;;-1:-1:-1;62235:174:0;;;;;:::i;:::-;;:::i;1822:150::-;-1:-1:-1;;;;;;1931:33:0;;1907:4;1931:33;;;;;;;;;;;;;1822:150;;;;:::o;66095:141::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;;;;;;;;;66167:23:::1;:7;66182::::0;66167:14:::1;:23::i;:::-;66206:22;::::0;-1:-1:-1;;;;;66206:22:0;::::1;::::0;::::1;::::0;;;::::1;66095:141:::0;:::o;43093:92::-;43139:13;43172:5;43165:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43093:92;;:::o;45282:213::-;45350:7;45378:16;45386:7;45378;:16::i;:::-;45370:73;;;;-1:-1:-1;;;45370:73:0;;;;;;;:::i;:::-;-1:-1:-1;45463:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45463:24:0;;45282:213::o;44826:390::-;44907:13;44923:16;44931:7;44923;:16::i;:::-;44907:32;;44964:5;-1:-1:-1;;;;;44958:11:0;:2;-1:-1:-1;;;;;44958:11:0;;;44950:57;;;;-1:-1:-1;;;44950:57:0;;;;;;;:::i;:::-;45044:5;-1:-1:-1;;;;;45028:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;45028:21:0;;:62;;;;45053:37;45070:5;45077:12;:10;:12::i;45053:37::-;45020:154;;;;-1:-1:-1;;;45020:154:0;;;;;;;:::i;:::-;45187:21;45196:2;45200:7;45187:8;:21::i;:::-;44826:390;;;:::o;95749:1151::-;96007:153;;;95950:12;96007:153;;;;;-1:-1:-1;;;;;96045:20:0;;95975:29;96045:20;;;:7;:20;;;;;;;;;96007:153;;;;;;;;;;;96195:45;96053:11;96007:153;96223:4;96229;96235;96195:6;:45::i;:::-;96173:128;;;;-1:-1:-1;;;96173:128:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;96391:20:0;;;;;;:7;:20;;;;;;:24;;96414:1;96391:24;:::i;:::-;-1:-1:-1;;;;;96368:20:0;;;;;;:7;:20;;;;;;;:47;;;;96433:126;;;;;96376:11;;96505:10;;96531:17;;96433:126;:::i;:::-;;;;;;;;96670:12;96684:23;96719:4;-1:-1:-1;;;;;96711:18:0;96761:17;96780:11;96744:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;96744:48:0;;;;;;;;;;96711:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96669:134;;;;96822:7;96814:48;;;;-1:-1:-1;;;96814:48:0;;;;;;;:::i;:::-;96882:10;95749:1151;-1:-1:-1;;;;;;;;95749:1151:0:o;92961:43::-;;;;;;;;;;;;;;-1:-1:-1;;;92961:43:0;;;;:::o;100633:201::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;100738:38:::1;100757:7;100766:9;100738:18;:38::i;:::-;100792:34;100807:7;100816:9;100792:34;;;;;;;:::i;:::-;;;;;;;;100633:201:::0;;:::o;62124:103::-;62201:18;;;;62124:103;:::o;102591:107::-;102644:7;102671:19;:17;:19::i;:::-;102664:26;;102591:107;:::o;93971:101::-;94049:15;;93971:101;:::o;46164:305::-;46325:41;46344:12;:10;:12::i;:::-;46358:7;46325:18;:41::i;:::-;46317:103;;;;-1:-1:-1;;;46317:103:0;;;;;;;:::i;:::-;46433:28;46443:4;46449:2;46453:7;46433:9;:28::i;88743:114::-;88800:7;88827:12;;;:6;:12;;;;;:22;;;;88743:114::o;69136:99::-;69215:12;;69136:99;:::o;97326:108::-;-1:-1:-1;;;;;97413:13:0;97379;97413;;;:7;:13;;;;;;;97326:108::o;89119:227::-;89211:12;;;;:6;:12;;;;;:22;;;89203:45;;89235:12;:10;:12::i;89203:45::-;89195:105;;;;-1:-1:-1;;;89195:105:0;;;;;;;:::i;:::-;89313:25;89324:4;89330:7;89313:10;:25::i;:::-;89119:227;;:::o;64880:150::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;64961:23:::1;:7;64976::::0;64961:14:::1;:23::i;:::-;65000:22;::::0;-1:-1:-1;;;;;65000:22:0;::::1;::::0;::::1;::::0;;;::::1;64880:150:::0;:::o;94080:161::-;94194:9;94080:161;:::o;84143:115::-;84203:7;84230:20;:18;:20::i;90328:209::-;90426:12;:10;:12::i;:::-;-1:-1:-1;;;;;90415:23:0;:7;-1:-1:-1;;;;;90415:23:0;;90407:83;;;;-1:-1:-1;;;90407:83:0;;;;;;;:::i;:::-;90503:26;90515:4;90521:7;90503:11;:26::i;43402:200::-;43461:13;43495:16;43503:7;43495;:16::i;:::-;43487:68;;;;-1:-1:-1;;;43487:68:0;;;;;;;:::i;:::-;43575:19;;;;:10;:19;;;;;43568:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43402:200;;;:::o;59060:124::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;58197:7:::1;::::0;-1:-1:-1;;;58197:7:0;::::1;;;58189:40;;;;-1:-1:-1::0;;;58189:40:0::1;;;;;;;:::i;:::-;59125:7:::2;:15:::0;;-1:-1:-1;;;;59125:15:0::2;::::0;;59156:20:::2;::::0;::::2;::::0;::::2;::::0;59165:10:::2;::::0;59156:20:::2;:::i;:::-;;;;;;;;59060:124::o:0;101840:204::-;64538:20;64547:10;64538:8;:20::i;:::-;64530:47;;;;-1:-1:-1;;;64530:47:0;;;;;;;:::i;:::-;101923:23:::1;101934:2;101938:7;101923:10;:23::i;:::-;101960:22;:20;:22::i;:::-;101957:80;;;101999:26;102017:7;101999:17;:26::i;46540:151::-:0;46644:39;46661:4;46667:2;46671:7;46644:39;;;;;;;;;;;;:16;:39::i;71058:332::-;65577:20;65586:10;65577:8;:20::i;:::-;65569:47;;;;-1:-1:-1;;;65569:47:0;;;;;;;:::i;:::-;71186:15:::1;::::0;71175:26:::1;::::0;71186:15:::1;;71175:8:::0;:26:::1;:::i;:::-;71166:65;;;;-1:-1:-1::0;;;71166:65:0::1;;;;;;;:::i;:::-;71279:15;::::0;71242:16:::1;::::0;71268:26:::1;::::0;71279:15:::1;;71268:8:::0;:26:::1;:::i;:::-;71306:20;::::0;;::::1;;::::0;;;:9:::1;:20;::::0;;;;:22;;71242:53;;-1:-1:-1;71306:22:0;;;::::1;::::0;:20;:22:::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;71339:10;;:12;;;;;;;;;:::i;:::-;;;;;;71362:20;71373:8;71362:10;:20::i;65771:108::-:0;65827:4;65851:20;:7;65863;65851:11;:20::i;:::-;65844:27;65771:108;-1:-1:-1;;65771:108:0:o;61918:194::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;62006:18:::1;:40:::0;;-1:-1:-1;;62006:40:0::1;::::0;::::1;;;::::0;;62062:42:::1;::::0;::::1;::::0;::::1;::::0;62006:40;;62062:42:::1;:::i;:::-;;;;;;;;61918:194:::0;:::o;59635:35::-;;;-1:-1:-1;;;;;59635:35:0;;:::o;65042:117::-;65105:4;65129:22;65143:7;65129:13;:22::i;70474:117::-;70562:21;;;;70536:6;70562:21;;;:9;:21;;;;;;;;70474:117::o;100429:160::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;100515:27:::1;100533:8;100515:17;:27::i;:::-;100558:23;100572:8;100558:23;;;;;;:::i;58844:78::-:0;58907:7;;-1:-1:-1;;;58907:7:0;;;;;58844:78::o;68773:355::-;64538:20;64547:10;64538:8;:20::i;:::-;64530:47;;;;-1:-1:-1;;;64530:47:0;;;;;;;:::i;:::-;68875:12:::1;;68861:11;:26;;;68853:89;;;;-1:-1:-1::0;;;68853:89:0::1;;;;;;;:::i;:::-;68976:14;;68961:11;:29;;;;68953:91;;;;-1:-1:-1::0;;;68953:91:0::1;;;;;;;:::i;:::-;69055:26;::::0;::::1;:12;:26:::0;69097:23:::1;::::0;::::1;::::0;::::1;::::0;69070:11;;69097:23:::1;:::i;42857:169::-:0;42921:7;42948:70;42965:7;42948:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;44675:89::-;44715:13;44748:8;44741:15;;;;;:::i;58422:112::-;58480:4;58504:22;:9;58518:7;58504:13;:22::i;42580:215::-;42644:7;-1:-1:-1;;;;;42672:19:0;;42664:74;;;;-1:-1:-1;;;42664:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42758:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;70271:195::-;70340:6;70367:24;70380:10;70367:12;:24::i;:::-;70359:62;;;;-1:-1:-1;;;70359:62:0;;;;;;;:::i;:::-;-1:-1:-1;70439:19:0;;;;;;;;:7;:19;;;;;;;;70271:195::o;63134:219::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;63216:20:::1;:7;-1:-1:-1::0;;;;;63216:18:0::1;;:20::i;:::-;63208:61;;;;-1:-1:-1::0;;;63208:61:0::1;;;;;;;:::i;:::-;63280:24;:11;63296:7:::0;63280:15:::1;:24::i;:::-;63320:25;::::0;-1:-1:-1;;;;;63320:25:0;::::1;::::0;::::1;::::0;;;::::1;63134:219:::0;:::o;62558:173::-;61405:25;61419:10;61405:13;:25::i;:::-;61383:113;;;;-1:-1:-1;;;61383:113:0;;;;;;;:::i;:::-;62642:23:::1;62656:8;62642:13;:23::i;:::-;62634:55;;;;-1:-1:-1::0;;;62634:55:0::1;;;;;;;:::i;:::-;62700:23;62714:8;62700:13;:23::i;:::-;62558:173:::0;:::o;69243:103::-;69324:14;;69243:103;:::o;83892:120::-;-1:-1:-1;;;;;83980:14:0;;83953:7;83980:14;;;:7;:14;;;;;:24;;:22;:24::i;58930:122::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;58100:7:::1;::::0;-1:-1:-1;;;58100:7:0;::::1;;;58099:8;58091:37;;;;-1:-1:-1::0;;;58091:37:0::1;;;;;;;:::i;:::-;58996:7:::2;:14:::0;;-1:-1:-1;;;;58996:14:0::2;-1:-1:-1::0;;;58996:14:0::2;::::0;;59026:18:::2;::::0;::::2;::::0;::::2;::::0;59033:10:::2;::::0;59026:18:::2;:::i;57016:88::-:0;57090:6;;-1:-1:-1;;;;;57090:6:0;57016:88;:::o;88416:138::-;88489:7;88516:12;;;:6;:12;;;;;:30;;88540:5;88516:23;:30::i;:::-;88509:37;88416:138;-1:-1:-1;;;88416:138:0:o;87377:139::-;87446:4;87470:12;;;:6;:12;;;;;:38;;87500:7;87470:29;:38::i;43254:96::-;43302:13;43335:7;43328:14;;;;;:::i;64730:142::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;64808:20:::1;:7;64820::::0;64808:11:::1;:20::i;:::-;64844;::::0;-1:-1:-1;;;;;64844:20:0;::::1;::::0;::::1;::::0;;;::::1;64730:142:::0;:::o;58542:139::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;58613:22:::1;:9;58627:7:::0;58613:13:::1;:22::i;:::-;58651;::::0;-1:-1:-1;;;;;58651:22:0;::::1;::::0;::::1;::::0;;;::::1;58542:139:::0;:::o;59774:158::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;59847:13:::1;:36:::0;;-1:-1:-1;;;;;;59847:36:0::1;-1:-1:-1::0;;;;;59847:36:0;::::1;;::::0;;59899:25:::1;::::0;::::1;::::0;::::1;::::0;59847:36;;59899:25:::1;:::i;86122:49::-:0;86167:4;86122:49;:::o;102706:192::-;102846:44;102870:8;102880:9;102846:23;:44::i;64605:117::-;64670:4;64694:20;:7;64706;64694:11;:20::i;58689:147::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;58763:25:::1;:9;58780:7:::0;58763:16:::1;:25::i;:::-;58804:24;::::0;-1:-1:-1;;;;;58804:24:0;::::1;::::0;::::1;::::0;;;::::1;58689:147:::0;:::o;46762:285::-;46894:41;46913:12;:10;:12::i;:::-;46927:7;46894:18;:41::i;:::-;46886:103;;;;-1:-1:-1;;;46886:103:0;;;;;;;:::i;:::-;47000:39;47014:4;47020:2;47024:7;47033:5;47000:13;:39::i;:::-;46762:285;;;;:::o;69354:128::-;69450:19;;;;69425:4;69450:19;;;:7;:19;;;;;;;:23;;;69354:128::o;68660:105::-;68742:15;;;;68660:105;:::o;63361:155::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;63438:27:::1;:11;63457:7:::0;63438:18:::1;:27::i;:::-;63481;::::0;-1:-1:-1;;;;;63481:27:0;::::1;::::0;::::1;::::0;;;::::1;63361:155:::0;:::o;102380:203::-;102513:13;102551:24;102566:8;102551:14;:24::i;87690:127::-;87753:7;87780:12;;;:6;:12;;;;;:29;;:27;:29::i;69490:773::-;64538:20;64547:10;64538:8;:20::i;:::-;64530:47;;;;-1:-1:-1;;;64530:47:0;;;;;;;:::i;:::-;69597:15:::1;::::0;::::1;69589:52;;;;-1:-1:-1::0;;;69589:52:0::1;;;;;;;:::i;:::-;69674:15;::::0;::::1;::::0;;::::1;69660:29:::0;;::::1;;69652:90;;;;-1:-1:-1::0;;;69652:90:0::1;;;;;;;:::i;:::-;69760:24;69773:10;69760:12;:24::i;:::-;69755:404;;69801:14;:16:::0;;;:14:::1;:16;::::0;::::1;:::i;:::-;;;;;;69858:12;;69840:14;;:30;;69832:69;;;;-1:-1:-1::0;;;69832:69:0::1;;;;;;;:::i;:::-;69755:404;;;69956:22;69967:10;69956;:22::i;:::-;69942:36;;:11;:36;;;69934:97;;;;-1:-1:-1::0;;;69934:97:0::1;;;;;;;:::i;:::-;70069:24;70082:10;70069:12;:24::i;:::-;70054:39;;:11;:39;;;;70046:101;;;;-1:-1:-1::0;;;70046:101:0::1;;;;;;;:::i;:::-;70171:19;::::0;;::::1;;::::0;;;:7:::1;:19;::::0;;;;;;:33;;-1:-1:-1;;70171:33:0::1;::::0;;::::1;::::0;;;::::1;::::0;;;70220:35;::::1;::::0;::::1;::::0;70171:19;;:33;;70220:35:::1;:::i;82699:1126::-:0;82850:18;82871:16;82879:7;82871;:16::i;:::-;82850:37;;82917:10;-1:-1:-1;;;;;82906:21:0;:7;-1:-1:-1;;;;;82906:21:0;;;82898:73;;;;-1:-1:-1;;;82898:73:0;;;;;;;:::i;:::-;83004:5;-1:-1:-1;;;;;82990:19:0;:10;-1:-1:-1;;;;;82990:19:0;;:58;;;;83013:35;83030:10;83042:5;83013:16;:35::i;:::-;82982:156;;;;-1:-1:-1;;;82982:156:0;;;;;;;:::i;:::-;83233:8;83214:15;:27;;83206:70;;;;-1:-1:-1;;;83206:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;83474:14:0;;83289:18;83474:14;;;:7;:14;;;;;83363:16;;83398:5;;83422:7;;83448;;83474:24;;:22;:24::i;:::-;83517:8;83334:206;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83310:241;;;;;;83289:262;;83564:12;83579:28;83596:10;83579:16;:28::i;:::-;83564:43;;83620:14;83637:28;83651:4;83657:1;83660;83663;83637:13;:28::i;:::-;83620:45;;83694:5;-1:-1:-1;;;;;83684:15:0;:6;-1:-1:-1;;;;;83684:15:0;;83676:59;;;;-1:-1:-1;;;83676:59:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;83748:14:0;;;;;;:7;:14;;;;;:26;;:24;:26::i;:::-;83785:32;83800:7;83809;83785:14;:32::i;:::-;82699:1126;;;;;;;;;;;:::o;89591:230::-;89684:12;;;;:6;:12;;;;;:22;;;89676:45;;89708:12;:10;:12::i;89676:45::-;89668:106;;;;-1:-1:-1;;;89668:106:0;;;;;;;:::i;62885:116::-;62947:4;62971:22;;;:12;:22;;;;;;;;;62885:116::o;100251:170::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;100343:25;;::::1;::::0;:11:::1;::::0;:25:::1;::::0;::::1;::::0;::::1;:::i;:::-;;100384:29;100401:11;100384:29;;;;;;:::i;102906:232::-:0;103061:4;103090:40;103113:6;103121:8;103090:22;:40::i;63009:117::-;63070:4;63094:24;:11;63110:7;63094:15;:24::i;58257:157::-;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;58377:29:::1;58396:9;58377:18;:29::i;65887:200::-:0;57984:22;57995:10;57984;:22::i;:::-;57976:51;;;;-1:-1:-1;;;57976:51:0;;;;;;;:::i;:::-;65964:20:::1;:7;-1:-1:-1::0;;;;;65964:18:0::1;;:20::i;:::-;65956:56;;;;-1:-1:-1::0;;;65956:56:0::1;;;;;;;:::i;:::-;66023:20;:7;66035::::0;66023:11:::1;:20::i;:::-;66059;::::0;-1:-1:-1;;;;;66059:20:0;::::1;::::0;::::1;::::0;;;::::1;65887:200:::0;:::o;84266:123::-;84326:7;84353:28;84370:10;84353:16;:28::i;62235:174::-;61405:25;61419:10;61405:13;:25::i;:::-;61383:113;;;;-1:-1:-1;;;61383:113:0;;;;;;;:::i;:::-;62318:23:::1;62332:8;62318:13;:23::i;:::-;62317:24;62309:60;;;;-1:-1:-1::0;;;62309:60:0::1;;;;;;;:::i;:::-;62380:21;62392:8;62380:11;:21::i;55380:175::-:0;55458:18;55462:4;55468:7;55458:3;:18::i;:::-;55457:19;55449:60;;;;-1:-1:-1;;;55449:60:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55520:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;55520:27:0;55543:4;55520:27;;;55380:175::o;55750:156::-;-1:-1:-1;;;;;55878:20:0;55849:4;55878:20;;;;;;;;;;;;;;;55750:156::o;55563:179::-;55643:18;55647:4;55653:7;55643:3;:18::i;:::-;55635:60;;;;-1:-1:-1;;;55635:60:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55706:20:0;55729:5;55706:20;;;;;;;;;;;:28;;-1:-1:-1;;55706:28:0;;;55563:179::o;48514:119::-;48571:4;48595:30;:12;48617:7;48595:21;:30::i;103146:197::-;103285:7;103317:18;:16;:18::i;54341:167::-;54416:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;54416:29:0;-1:-1:-1;;;;;54416:29:0;;;;;;;;:24;;54470:16;54416:24;54470:7;:16::i;:::-;-1:-1:-1;;;;;54461:39:0;;;;;;;;;;;54341:167;;:::o;97442:486::-;97620:4;-1:-1:-1;;;;;97645:20:0;;97637:70;;;;-1:-1:-1;;;97637:70:0;;;;;;;:::i;:::-;97761:159;97789:47;97808:27;97828:6;97808:19;:27::i;:::-;97789:18;:47::i;:::-;97855:4;97878;97901;97761:159;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;97738:182:0;:6;-1:-1:-1;;;;;97738:182:0;;97718:202;;97442:486;;;;;;;:::o;52619:215::-;52719:16;52727:7;52719;:16::i;:::-;52711:73;;;;-1:-1:-1;;;52711:73:0;;;;;;;:::i;:::-;52795:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;68297:106::-;68385:10;;68297:106;:::o;48800:333::-;48885:4;48910:16;48918:7;48910;:16::i;:::-;48902:73;;;;-1:-1:-1;;;48902:73:0;;;;;;;:::i;:::-;48986:13;49002:16;49010:7;49002;:16::i;:::-;48986:32;;49048:5;-1:-1:-1;;;;;49037:16:0;:7;-1:-1:-1;;;;;49037:16:0;;:51;;;;49081:7;-1:-1:-1;;;;;49057:31:0;:20;49069:7;49057:11;:20::i;:::-;-1:-1:-1;;;;;49057:31:0;;49037:51;:87;;;;49092:32;49109:5;49116:7;49092:16;:32::i;:::-;49029:96;48800:333;-1:-1:-1;;;;48800:333:0:o;51889:574::-;52007:4;-1:-1:-1;;;;;51987:24:0;:16;51995:7;51987;:16::i;:::-;-1:-1:-1;;;;;51987:24:0;;51979:78;;;;-1:-1:-1;;;51979:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;52076:16:0;;52068:65;;;;-1:-1:-1;;;52068:65:0;;;;;;;:::i;:::-;52146:39;52167:4;52173:2;52177:7;52146:20;:39::i;:::-;52250:29;52267:1;52271:7;52250:8;:29::i;:::-;-1:-1:-1;;;;;52292:19:0;;;;;;:13;:19;;;;;:35;;52319:7;52292:26;:35::i;:::-;-1:-1:-1;;;;;;52338:17:0;;;;;;:13;:17;;;;;:30;;52360:7;52338:21;:30::i;:::-;-1:-1:-1;52381:29:0;:12;52398:7;52407:2;52381:16;:29::i;:::-;;52447:7;52443:2;-1:-1:-1;;;;;52428:27:0;52437:4;-1:-1:-1;;;;;52428:27:0;;;;;;;;;;;51889:574;;;:::o;91571:188::-;91645:12;;;;:6;:12;;;;;:33;;91670:7;91645:24;:33::i;:::-;91641:111;;;91727:12;:10;:12::i;:::-;-1:-1:-1;;;;;91700:40:0;91718:7;-1:-1:-1;;;;;91700:40:0;91712:4;91700:40;;;;;;;;;;91571:188;;:::o;79628:281::-;79681:7;79722:16;79705:13;:33;79701:201;;;-1:-1:-1;79762:24:0;79755:31;;79701:201;79826:64;79848:10;79860:12;79874:15;79826:21;:64::i;:::-;79819:71;;;;91767:192;91842:12;;;;:6;:12;;;;;:36;;91870:7;91842:27;:36::i;:::-;91838:114;;;91927:12;:10;:12::i;:::-;-1:-1:-1;;;;;91900:40:0;91918:7;-1:-1:-1;;;;;91900:40:0;91912:4;91900:40;;;;;;;;;;91767:192;;:::o;70599:451::-;64538:20;64547:10;64538:8;:20::i;:::-;64530:47;;;;-1:-1:-1;;;64530:47:0;;;;;;;:::i;:::-;70748:15:::1;::::0;70737:26:::1;::::0;70748:15:::1;;70737:8:::0;:26:::1;:::i;:::-;70728:65;;;;-1:-1:-1::0;;;70728:65:0::1;;;;;;;:::i;:::-;70841:15;::::0;70804:16:::1;::::0;70830:26:::1;::::0;70841:15:::1;;70830:8:::0;:26:::1;:::i;:::-;70868:20;::::0;;::::1;;::::0;;;:9:::1;:20;::::0;;;;:22;;70804:53;;-1:-1:-1;70868:22:0;;;::::1;::::0;:20;:22:::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;70901:10;;:12;;;;;;;;;:::i;:::-;;;;;;70956:21;70967:9;70956:10;:21::i;:::-;70932:45;:20:::0;;::::1;;::::0;;;:9:::1;:20;::::0;;;;;:45;;::::1;:20:::0;::::1;:45;;70924:82;;;;-1:-1:-1::0;;;70924:82:0::1;;;;;;;:::i;:::-;71017:25;71028:3;71033:8;71017:10;:25::i;62417:133::-:0;62476:22;;;;:12;:22;;;;;;:29;;-1:-1:-1;;62476:29:0;62501:4;62476:29;;;62521:21;62489:8;;62521:21;;;62417:133;:::o;66244:201::-;65577:20;65586:10;65577:8;:20::i;:::-;65569:47;;;;-1:-1:-1;;;65569:47:0;;;;;;;:::i;:::-;66320:39:::1;66339:10;66351:7;66320:18;:39::i;:::-;66312:100;;;;-1:-1:-1::0;;;66312:100:0::1;;;;;;;:::i;:::-;66423:14;66429:7;66423:5;:14::i;53064:100::-:0;53137:19;;;;:8;;:19;;;;;:::i;37669:213::-;37776:7;37827:44;37832:3;37852;37858:12;37827:4;:44::i;27279:114::-;27339:7;27366:19;27374:3;27366:7;:19::i;10891:422::-;11258:20;11297:8;;;10891:422::o;62739:138::-;62825:5;62800:22;;;:12;:22;;;;;;:30;;-1:-1:-1;;62800:30:0;;;62846:23;62813:8;;62846:23;;;62739:138;:::o;76274:114::-;76366:14;;76274:114::o;26109:158::-;26183:7;26234:22;26238:3;26250:5;26234:3;:22::i;25395:167::-;25475:4;25499:55;25509:3;-1:-1:-1;;;;;25529:23:0;;25499:9;:55::i;59940:325::-;60048:13;;-1:-1:-1;;;;;60048:13:0;60040:38;;;;:70;;;60082:28;60101:8;60082:18;:28::i;:::-;60036:167;;;60127:13;;:64;;-1:-1:-1;;;60127:64:0;;-1:-1:-1;;;;;60127:13:0;;;;:31;;:64;;60159:10;;60171:8;;60181:9;;60127:64;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60036:167;60213:44;60237:8;60247:9;60213:23;:44::i;47929:272::-;48043:28;48053:4;48059:2;48063:7;48043:9;:28::i;:::-;48090:48;48113:4;48119:2;48123:7;48132:5;48090:22;:48::i;:::-;48082:111;;;;-1:-1:-1;;;48082:111:0;;;;;;;:::i;100842:464::-;100947:13;100973:23;100999:20;101011:7;100999:11;:20::i;:::-;101078:23;;100973:46;;-1:-1:-1;101078:27:0;101074:90;;101129:23;101144:7;101129:14;:23::i;:::-;101122:30;;;;;101074:90;101265:11;101278:18;:7;:16;:18::i;:::-;101248:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;101234:64;;;100842:464;;;:::o;80896:185::-;80973:7;81039:20;:18;:20::i;:::-;81061:10;81010:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;81000:73;;;;;;80993:80;;80896:185;;;:::o;73452:1432::-;73537:7;74462:66;74448:80;;;74440:127;;;;-1:-1:-1;;;74440:127:0;;;;;;;:::i;:::-;74586:1;:7;;74591:2;74586:7;:18;;;;74597:1;:7;;74602:2;74597:7;74586:18;74578:65;;;;-1:-1:-1;;;74578:65:0;;;;;;;:::i;:::-;74741:14;74758:24;74768:4;74774:1;74777;74780;74758:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;74758:24:0;;-1:-1:-1;;74758:24:0;;;-1:-1:-1;;;;;;;74801:20:0;;74793:57;;;;-1:-1:-1;;;74793:57:0;;;;;;;:::i;:::-;74870:6;73452:1432;-1:-1:-1;;;;;73452:1432:0:o;76396:91::-;76478:1;76460:7;:14;;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;;;76396:91:0:o;60273:351::-;60371:4;60388:13;60404:40;60427:6;60435:8;60404:22;:40::i;:::-;60467:13;;60388:56;;-1:-1:-1;;;;;;60467:13:0;60459:38;60455:136;;60521:13;;:58;;-1:-1:-1;;;60521:58:0;;-1:-1:-1;;;;;60521:13:0;;;;:30;;:58;;60552:6;;60560:8;;60570;;60521:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60514:65;;;;;57250:190;57317:21;57341:7;:5;:7::i;:::-;57352:6;:18;;-1:-1:-1;;;;;;57352:18:0;-1:-1:-1;;;;;57352:18:0;;;;;;;;;57386:46;;57317:31;;-1:-1:-1;57352:18:0;57386:46;;;;;;-1:-1:-1;;57386:46:0;57250:190;;:::o;35722:151::-;35806:4;35830:35;35840:3;35860;35830:9;:35::i;99183:171::-;99290:7;99322:24;:22;:24::i;96908:410::-;97018:7;95084:100;;;;;;;;;;;;;;;;;95064:127;;;;;;;97172:12;;97207:11;;;;97251:24;;;;;97241:35;;;;;;97091:204;;;;;;:::i;94610:258::-;94709:7;94811:20;:18;:20::i;102069:303::-;58100:7;;-1:-1:-1;;;58100:7:0;;;;58099:8;58091:37;;;;-1:-1:-1;;;58091:37:0;;;;;;;:::i;:::-;102294:7:::1;61632:25;61646:10;61632:13;:25::i;:::-;61627:117;;61683:23;61697:8;61683:13;:23::i;:::-;61682:24;61674:58;;;;-1:-1:-1::0;;;61674:58:0::1;;;;;;;:::i;:::-;102319:45:::2;102346:4;102352:2;102356:7;102319:26;:45::i;26824:137::-:0;26894:4;26918:35;26926:3;26946:5;26918:7;:35::i;26517:131::-;26584:4;26608:32;26613:3;26633:5;26608:4;:32::i;35145:185::-;35234:4;35258:64;35263:3;35283;-1:-1:-1;;;;;35297:23:0;;35258:4;:64::i;24823:152::-;24893:4;24917:50;24922:3;-1:-1:-1;;;;;24942:23:0;;24917:4;:50::i;79917:337::-;80019:7;80099:8;80126:4;80149:7;80175:13;80215:4;80070:165;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;80046:200;;;;;;80039:207;;79917:337;;;;;:::o;25151:158::-;25224:4;25248:53;25256:3;-1:-1:-1;;;;;25276:23:0;;25248:7;:53::i;65167:123::-;64538:20;64547:10;64538:8;:20::i;:::-;64530:47;;;;-1:-1:-1;;;64530:47:0;;;;;;;:::i;:::-;65258:24:::1;65270:2;65274:7;65258:11;:24::i;51032:520::-:0;51092:13;51108:16;51116:7;51108;:16::i;:::-;51092:32;;51137:48;51158:5;51173:1;51177:7;51137:20;:48::i;:::-;51226:29;51243:1;51247:7;51226:8;:29::i;:::-;51314:19;;;;:10;:19;;;;;51308:33;;;;;:::i;:::-;:38;;-1:-1:-1;51304:97:0;;51370:19;;;;:10;:19;;;;;51363:26;;;:::i;:::-;-1:-1:-1;;;;;51413:20:0;;;;;;:13;:20;;;;;:36;;51441:7;51413:27;:36::i;:::-;-1:-1:-1;51462:28:0;:12;51482:7;51462:19;:28::i;:::-;-1:-1:-1;51508:36:0;;51536:7;;51532:1;;-1:-1:-1;;;;;51508:36:0;;;;;51532:1;;51508:36;51032:520;;:::o;34502:319::-;34596:7;34635:17;;;:12;;;:17;;;;;;34686:12;34671:13;34663:36;;;;-1:-1:-1;;;34663:36:0;;;;;;;;:::i;:::-;-1:-1:-1;34753:3:0;34766:12;34777:1;34766:8;:12;:::i;:::-;34753:26;;;;;;-1:-1:-1;;;34753:26:0;;;;;;;;;;;;;;;;;;;:33;;;34746:40;;;34502:319;;;;;:::o;22775:204::-;22870:18;;22842:7;;22870:26;-1:-1:-1;22862:73:0;;;;-1:-1:-1;;;22862:73:0;;;;;;;:::i;:::-;22953:3;:11;;22965:5;22953:18;;;;;;-1:-1:-1;;;22953:18:0;;;;;;;;;;;;;;;;;22946:25;;22775:204;;;;:::o;22107:129::-;22180:4;22204:19;;;:12;;;;;:19;;;;;;:24;;;22107:129::o;45567:295::-;45682:12;:10;:12::i;:::-;-1:-1:-1;;;;;45670:24:0;:8;-1:-1:-1;;;;;45670:24:0;;;45662:62;;;;-1:-1:-1;;;45662:62:0;;;;;;;:::i;:::-;45782:8;45737:18;:32;45756:12;:10;:12::i;:::-;-1:-1:-1;;;;;45737:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;45737:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;45737:53:0;;;;;;;;;;;45821:12;:10;:12::i;:::-;-1:-1:-1;;;;;45806:48:0;;45845:8;45806:48;;;;;;:::i;:::-;;;;;;;;45567:295;;:::o;53729:604::-;53850:4;53877:15;:2;-1:-1:-1;;;;;53877:13:0;;:15::i;:::-;53872:60;;-1:-1:-1;53916:4:0;53909:11;;53872:60;53942:23;53968:252;-1:-1:-1;;;54081:12:0;:10;:12::i;:::-;54108:4;54127:7;54149:5;53984:181;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;53984:181:0;;;;;;;-1:-1:-1;;;;;53984:181:0;;;;;;;;;;;53968:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53968:15:0;;;:252;:15;:252::i;:::-;53942:278;;54231:13;54258:10;54247:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;54298:26:0;-1:-1:-1;;;54298:26:0;;-1:-1:-1;;;53729:604:0;;;;;;:::o;43673:763::-;43746:13;43780:16;43788:7;43780;:16::i;:::-;43772:76;;;;-1:-1:-1;;;43772:76:0;;;;;;;:::i;:::-;43861:23;43887:19;;;:10;:19;;;;;43861:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43988:8;43982:22;;;;;:::i;:::-;:27;43978:76;;-1:-1:-1;43978:76:0;;44033:9;-1:-1:-1;44026:16:0;;43978:76;44158:23;;:27;44154:112;;44233:8;44243:9;44216:37;;;;;;;;;:::i;:::-;;;;;;;;;;;;;44202:52;;;;;44154:112;44398:8;44408:18;:7;38148:751;38204:13;38425:10;38421:53;;-1:-1:-1;38452:10:0;;;;;;;;;;;;-1:-1:-1;;;38452:10:0;;;;;;38421:53;38499:5;38484:12;38540:78;38547:9;;38540:78;;38573:8;;;;:::i;:::-;;-1:-1:-1;38596:10:0;;-1:-1:-1;38604:2:0;38596:10;;:::i;:::-;;;38540:78;;;38628:19;38660:6;38650:17;;;;;;-1:-1:-1;;;38650:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38650:17:0;-1:-1:-1;38718:5:0;;-1:-1:-1;38628:39:0;-1:-1:-1;38694:6:0;38734:126;38741:9;;38734:126;;38811:9;38818:2;38811:4;:9;:::i;:::-;38798:23;;:2;:23;:::i;:::-;38785:38;;38767:6;38774:7;;;:::i;:::-;;;;38767:15;;;;;;-1:-1:-1;;;38767:15:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;38767:56:0;;;;;;;;-1:-1:-1;38838:10:0;38846:2;38838:10;;:::i;:::-;;;38734:126;;;-1:-1:-1;38884:6:0;38148:751;-1:-1:-1;;;;38148:751:0:o;45933:164::-;-1:-1:-1;;;;;46054:25:0;;;46030:4;46054:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45933:164::o;98048:633::-;98119:14;98155:10;98177:4;98155:27;98151:499;;;98199:18;98220:8;;98199:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;98259:8:0;98470:17;98464:24;-1:-1:-1;;;;;98438:134:0;;-1:-1:-1;98298:289:0;;-1:-1:-1;98298:289:0;;-1:-1:-1;98628:10:0;98048:633;:::o;63524:241::-;58100:7;;-1:-1:-1;;;58100:7:0;;;;58099:8;58091:37;;;;-1:-1:-1;;;58091:37:0;;;;;;;:::i;:::-;63692:7:::1;61632:25;61646:10;61632:13;:25::i;:::-;61627:117;;61683:23;61697:8;61683:13;:23::i;:::-;61682:24;61674:58;;;;-1:-1:-1::0;;;61674:58:0::1;;;;;;;:::i;:::-;63712:45:::2;63739:4;63745:2;63749:7;63712:26;:45::i;20477:1544::-:0;20543:4;20682:19;;;:12;;;:19;;;;;;20718:15;;20714:1300;;21080:21;21104:14;21117:1;21104:10;:14;:::i;:::-;21153:18;;21080:38;;-1:-1:-1;21133:17:0;;21153:22;;21174:1;;21153:22;:::i;:::-;21133:42;;21420:17;21440:3;:11;;21452:9;21440:22;;;;;;-1:-1:-1;;;21440:22:0;;;;;;;;;;;;;;;;;21420:42;;21586:9;21557:3;:11;;21569:13;21557:26;;;;;;-1:-1:-1;;;21557:26:0;;;;;;;;;;;;;;;;;;:38;21689:17;:13;21705:1;21689:17;:::i;:::-;21663:23;;;;:12;;;:23;;;;;:43;21815:17;;21663:3;;21815:17;;;-1:-1:-1;;;21815:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;21910:3;:12;;:19;21923:5;21910:19;;;;;;;;;;;21903:26;;;21953:4;21946:11;;;;;;;;20714:1300;21997:5;21990:12;;;;;19887:414;19950:4;19972:21;19982:3;19987:5;19972:9;:21::i;:::-;19967:327;;-1:-1:-1;20010:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;20193:18;;20171:19;;;:12;;;:19;;;;;;:40;;;;20226:11;;19967:327;-1:-1:-1;20277:5:0;20270:12;;29820:692;29896:4;30031:17;;;:12;;;:17;;;;;;30065:13;30061:444;;-1:-1:-1;;30150:38:0;;;;;;;;;;;;;;;;;;30132:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;30347:19;;30327:17;;;:12;;;:17;;;;;;;:39;30381:11;;30061:444;30461:5;30425:3;30438:12;30449:1;30438:8;:12;:::i;:::-;30425:26;;;;;;-1:-1:-1;;;30425:26:0;;;;;;;;;;;;;;;;;;;:33;;:41;;;;30488:5;30481:12;;;;;50399:404;-1:-1:-1;;;;;50479:16:0;;50471:61;;;;-1:-1:-1;;;50471:61:0;;;;;;;:::i;:::-;50552:16;50560:7;50552;:16::i;:::-;50551:17;50543:58;;;;-1:-1:-1;;;50543:58:0;;;;;;;:::i;:::-;50614:45;50643:1;50647:2;50651:7;50614:20;:45::i;:::-;-1:-1:-1;;;;;50672:17:0;;;;;;:13;:17;;;;;:30;;50694:7;50672:21;:30::i;:::-;-1:-1:-1;50715:29:0;:12;50732:7;50741:2;50715:16;:29::i;:::-;-1:-1:-1;50762:33:0;;50787:7;;-1:-1:-1;;;;;50762:33:0;;;50779:1;;50762:33;;50779:1;;50762:33;50399:404;;:::o;35496:142::-;35573:4;35597:33;35605:3;35625;35597:7;:33::i;13809:195::-;13912:12;13944:52;13966:6;13974:4;13980:1;13983:12;13944:21;:52::i;30687:1549::-;30751:4;30886:17;;;:12;;;:17;;;;;;30920:13;;30916:1313;;31281:21;31305:12;31316:1;31305:8;:12;:::i;:::-;31352:19;;31281:36;;-1:-1:-1;31332:17:0;;31352:23;;31374:1;;31352:23;:::i;:::-;31332:43;;31620:26;31649:3;:12;;31662:9;31649:23;;;;;;-1:-1:-1;;;31649:23:0;;;;;;;;;;;;;;;;;;;31620:52;;31797:9;31767:3;:12;;31780:13;31767:27;;;;;;-1:-1:-1;;;31767:27:0;;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;31905:17;;:13;;:17;:::i;:::-;31887:14;;31874:28;;;;:12;;;:28;;;;;:48;32031:18;;31874:3;;32031:18;;;-1:-1:-1;;;32031:18:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;32031:18:0;;;;;;;;;;;;;;;;;;;;;32127:17;;;:12;;;:17;;;;;;32120:24;;;;32031:18;-1:-1:-1;32161:11:0;;-1:-1:-1;;;;32161:11:0;14861:530;14988:12;15046:5;15021:21;:30;;15013:81;;;;-1:-1:-1;;;15013:81:0;;;;;;;:::i;:::-;15113:18;15124:6;15113:10;:18::i;:::-;15105:60;;;;-1:-1:-1;;;15105:60:0;;;;;;;:::i;:::-;15239:12;15253:23;15280:6;-1:-1:-1;;;;;15280:11:0;15300:5;15308:4;15280:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15238:75;;;;15331:52;15349:7;15358:10;15370:12;15331:17;:52::i;:::-;15324:59;14861:530;-1:-1:-1;;;;;;;14861:530:0:o;17401:742::-;17516:12;17545:7;17541:595;;;-1:-1:-1;17576:10:0;17569:17;;17541:595;17690:17;;:21;17686:439;;17953:10;17947:17;18014:15;18001:10;17997:2;17993:19;17986:44;17901:148;18096:12;18089:20;;-1:-1:-1;;;18089:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:175:1;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:740;;291:3;284:4;276:6;272:17;268:27;258:2;;313:5;306;299:20;258:2;353:6;340:20;379:18;416:2;412;409:10;406:2;;;422:18;;:::i;:::-;497:2;491:9;465:2;551:13;;-1:-1:-1;;547:22:1;;;571:2;543:31;539:40;527:53;;;595:18;;;615:22;;;592:46;589:2;;;641:18;;:::i;:::-;681:10;677:2;670:22;716:2;708:6;701:18;762:3;755:4;750:2;742:6;738:15;734:26;731:35;728:2;;;783:5;776;769:20;728:2;851;844:4;836:6;832:17;825:4;817:6;813:17;800:54;874:15;;;891:4;870:26;863:41;;;;-1:-1:-1;878:6:1;248:686;-1:-1:-1;;;248:686:1:o;939:165::-;1008:20;;1068:10;1057:22;;1047:33;;1037:2;;1094:1;1091;1084:12;1109:158;1177:20;;1237:4;1226:16;;1216:27;;1206:2;;1257:1;1254;1247:12;1272:198;;1384:2;1372:9;1363:7;1359:23;1355:32;1352:2;;;1405:6;1397;1390:22;1352:2;1433:31;1454:9;1433:31;:::i;1475:274::-;;;1604:2;1592:9;1583:7;1579:23;1575:32;1572:2;;;1625:6;1617;1610:22;1572:2;1653:31;1674:9;1653:31;:::i;:::-;1643:41;;1703:40;1739:2;1728:9;1724:18;1703:40;:::i;:::-;1693:50;;1562:187;;;;;:::o;1754:342::-;;;;1900:2;1888:9;1879:7;1875:23;1871:32;1868:2;;;1921:6;1913;1906:22;1868:2;1949:31;1970:9;1949:31;:::i;:::-;1939:41;;1999:40;2035:2;2024:9;2020:18;1999:40;:::i;:::-;1989:50;;2086:2;2075:9;2071:18;2058:32;2048:42;;1858:238;;;;;:::o;2101:563::-;;;;;2273:3;2261:9;2252:7;2248:23;2244:33;2241:2;;;2295:6;2287;2280:22;2241:2;2323:31;2344:9;2323:31;:::i;:::-;2313:41;;2373:40;2409:2;2398:9;2394:18;2373:40;:::i;:::-;2363:50;;2460:2;2449:9;2445:18;2432:32;2422:42;;2515:2;2504:9;2500:18;2487:32;2542:18;2534:6;2531:30;2528:2;;;2579:6;2571;2564:22;2528:2;2607:51;2650:7;2641:6;2630:9;2626:22;2607:51;:::i;:::-;2597:61;;;2231:433;;;;;;;:::o;2669:622::-;;;;;;;;2881:3;2869:9;2860:7;2856:23;2852:33;2849:2;;;2903:6;2895;2888:22;2849:2;2931:31;2952:9;2931:31;:::i;:::-;2921:41;;2981:40;3017:2;3006:9;3002:18;2981:40;:::i;:::-;2971:50;;3068:2;3057:9;3053:18;3040:32;3030:42;;3119:2;3108:9;3104:18;3091:32;3081:42;;3142:39;3176:3;3165:9;3161:19;3142:39;:::i;:::-;3132:49;;3228:3;3217:9;3213:19;3200:33;3190:43;;3280:3;3269:9;3265:19;3252:33;3242:43;;2839:452;;;;;;;;;;:::o;3296:329::-;;;3422:2;3410:9;3401:7;3397:23;3393:32;3390:2;;;3443:6;3435;3428:22;3390:2;3471:31;3492:9;3471:31;:::i;:::-;3461:41;;3552:2;3541:9;3537:18;3524:32;3565:30;3589:5;3565:30;:::i;:::-;3614:5;3604:15;;;3380:245;;;;;:::o;3630:628::-;;;;;;3817:3;3805:9;3796:7;3792:23;3788:33;3785:2;;;3839:6;3831;3824:22;3785:2;3867:31;3888:9;3867:31;:::i;:::-;3857:41;;3949:2;3938:9;3934:18;3921:32;3976:18;3968:6;3965:30;3962:2;;;4013:6;4005;3998:22;3962:2;4041:51;4084:7;4075:6;4064:9;4060:22;4041:51;:::i;:::-;4031:61;;;4139:2;4128:9;4124:18;4111:32;4101:42;;4190:2;4179:9;4175:18;4162:32;4152:42;;4213:39;4247:3;4236:9;4232:19;4213:39;:::i;:::-;4203:49;;3775:483;;;;;;;;:::o;4263:266::-;;;4392:2;4380:9;4371:7;4367:23;4363:32;4360:2;;;4413:6;4405;4398:22;4360:2;4441:31;4462:9;4441:31;:::i;:::-;4431:41;4519:2;4504:18;;;;4491:32;;-1:-1:-1;;;4350:179:1:o;4534:253::-;;4643:2;4631:9;4622:7;4618:23;4614:32;4611:2;;;4664:6;4656;4649:22;4611:2;4708:9;4695:23;4727:30;4751:5;4727:30;:::i;4792:257::-;;4912:2;4900:9;4891:7;4887:23;4883:32;4880:2;;;4933:6;4925;4918:22;4880:2;4970:9;4964:16;4989:30;5013:5;4989:30;:::i;5054:190::-;;5166:2;5154:9;5145:7;5141:23;5137:32;5134:2;;;5187:6;5179;5172:22;5134:2;-1:-1:-1;5215:23:1;;5124:120;-1:-1:-1;5124:120:1:o;5249:266::-;;;5378:2;5366:9;5357:7;5353:23;5349:32;5346:2;;;5399:6;5391;5384:22;5346:2;5440:9;5427:23;5417:33;;5469:40;5505:2;5494:9;5490:18;5469:40;:::i;5520:258::-;;;5649:2;5637:9;5628:7;5624:23;5620:32;5617:2;;;5670:6;5662;5655:22;5617:2;-1:-1:-1;;5698:23:1;;;5768:2;5753:18;;;5740:32;;-1:-1:-1;5607:171:1:o;5783:257::-;;5894:2;5882:9;5873:7;5869:23;5865:32;5862:2;;;5915:6;5907;5900:22;5862:2;5959:9;5946:23;5978:32;6004:5;5978:32;:::i;6045:261::-;;6167:2;6155:9;6146:7;6142:23;6138:32;6135:2;;;6188:6;6180;6173:22;6135:2;6225:9;6219:16;6244:32;6270:5;6244:32;:::i;6311:343::-;;6433:2;6421:9;6412:7;6408:23;6404:32;6401:2;;;6454:6;6446;6439:22;6401:2;6499:9;6486:23;6532:18;6524:6;6521:30;6518:2;;;6569:6;6561;6554:22;6518:2;6597:51;6640:7;6631:6;6620:9;6616:22;6597:51;:::i;6854:411::-;;;6993:2;6981:9;6972:7;6968:23;6964:32;6961:2;;;7014:6;7006;6999:22;6961:2;7055:9;7042:23;7032:33;;7116:2;7105:9;7101:18;7088:32;7143:18;7135:6;7132:30;7129:2;;;7180:6;7172;7165:22;7129:2;7208:51;7251:7;7242:6;7231:9;7227:22;7208:51;:::i;:::-;7198:61;;;6951:314;;;;;:::o;7270:196::-;;7381:2;7369:9;7360:7;7356:23;7352:32;7349:2;;;7402:6;7394;7387:22;7349:2;7430:30;7450:9;7430:30;:::i;7471:270::-;;;7598:2;7586:9;7577:7;7573:23;7569:32;7566:2;;;7619:6;7611;7604:22;7566:2;7647:30;7667:9;7647:30;:::i;:::-;7637:40;;7696:39;7731:2;7720:9;7716:18;7696:39;:::i;7746:259::-;;7827:5;7821:12;7854:6;7849:3;7842:19;7870:63;7926:6;7919:4;7914:3;7910:14;7903:4;7896:5;7892:16;7870:63;:::i;:::-;7987:2;7966:15;-1:-1:-1;;7962:29:1;7953:39;;;;7994:4;7949:50;;7797:208;-1:-1:-1;;7797:208:1:o;8010:274::-;;8177:6;8171:13;8193:53;8239:6;8234:3;8227:4;8219:6;8215:17;8193:53;:::i;:::-;8262:16;;;;;8147:137;-1:-1:-1;;8147:137:1:o;8289:415::-;;8484:6;8478:13;8500:53;8546:6;8541:3;8534:4;8526:6;8522:17;8500:53;:::i;:::-;8622:2;8618:15;;;;-1:-1:-1;;8614:53:1;8575:16;;;;8600:68;;;8695:2;8684:14;;8454:250;-1:-1:-1;;8454:250:1:o;8709:986::-;;8914:3;8949:6;8943:13;8979:36;9005:9;8979:36;:::i;:::-;9034:1;9051:18;;;9078:104;;;;9196:1;9191:362;;;;9044:509;;9078:104;-1:-1:-1;;9111:24:1;;9099:37;;9156:16;;;;-1:-1:-1;9078:104:1;;9191:362;9224:6;9219:3;9212:19;9254:4;9301:2;9296:3;9286:18;9326:3;9342:165;9356:6;9353:1;9350:13;9342:165;;;9434:14;;9421:11;;;9414:35;9477:16;;;;9371:10;;9342:165;;;9346:3;;;9536:6;9531:3;9527:16;9520:23;;9044:509;;;;;9584:6;9578:13;9600:55;9646:8;9641:3;9634:4;9626:6;9622:17;9600:55;:::i;:::-;9671:18;;8893:802;-1:-1:-1;;;;8893:802:1:o;9700:392::-;-1:-1:-1;;;9958:27:1;;10010:1;10001:11;;9994:27;;;;10046:2;10037:12;;10030:28;10083:2;10074:12;;9948:144::o;10097:203::-;-1:-1:-1;;;;;10261:32:1;;;;10243:51;;10231:2;10216:18;;10198:102::o;10305:433::-;-1:-1:-1;;;;;10562:15:1;;;10544:34;;10614:15;;10609:2;10594:18;;10587:43;10666:2;10661;10646:18;;10639:30;;;10305:433;;10686:46;;10713:18;;10705:6;10686:46;:::i;10743:385::-;-1:-1:-1;;;;;10995:15:1;;;10977:34;;11047:15;;;;11042:2;11027:18;;11020:43;11106:14;;11099:22;11094:2;11079:18;;11072:50;10927:2;10912:18;;10894:234::o;11133:490::-;-1:-1:-1;;;;;11402:15:1;;;11384:34;;11454:15;;11449:2;11434:18;;11427:43;11501:2;11486:18;;11479:34;;;11549:3;11544:2;11529:18;;11522:31;;;11133:490;;11570:47;;11597:19;;11589:6;11570:47;:::i;:::-;11562:55;11336:287;-1:-1:-1;;;;;;11336:287:1:o;11628:187::-;11793:14;;11786:22;11768:41;;11756:2;11741:18;;11723:92::o;11820:177::-;11966:25;;;11954:2;11939:18;;11921:76::o;12002:591::-;12289:25;;;-1:-1:-1;;;;;12388:15:1;;;12383:2;12368:18;;12361:43;12440:15;;;;12435:2;12420:18;;12413:43;12487:2;12472:18;;12465:34;12530:3;12515:19;;12508:35;;;;12341:3;12559:19;;12552:35;12276:3;12261:19;;12243:350::o;12598:489::-;12857:25;;;12913:2;12898:18;;12891:34;;;;12956:2;12941:18;;12934:34;;;;12999:2;12984:18;;12977:34;-1:-1:-1;;;;;13048:32:1;13042:3;13027:19;;13020:61;12844:3;12829:19;;12811:276::o;13092:417::-;13323:25;;;13379:2;13364:18;;13357:34;;;;-1:-1:-1;;;;;13427:32:1;13422:2;13407:18;;13400:60;13491:2;13476:18;;13469:34;13310:3;13295:19;;13277:232::o;13514:398::-;13741:25;;;13814:4;13802:17;;;;13797:2;13782:18;;13775:45;13851:2;13836:18;;13829:34;13894:2;13879:18;;13872:34;13728:3;13713:19;;13695:217::o;13917:219::-;;14064:2;14053:9;14046:21;14084:46;14126:2;14115:9;14111:18;14103:6;14084:46;:::i;14598:938::-;;14736:2;14765;14754:9;14747:21;14788:4;14824:6;14818:13;14854:36;14880:9;14854:36;:::i;:::-;14926:6;14921:2;14910:9;14906:18;14899:34;14952:2;14973:1;15005:2;14994:9;14990:18;15022:1;15017:121;;;;15152:1;15147:363;;;;14983:527;;15017:121;-1:-1:-1;;15065:24:1;;15045:18;;;15038:52;15125:2;15110:18;;;-1:-1:-1;15017:121:1;;15147:363;15181:6;15175:4;15168:20;15232:2;15226:4;15216:19;15257:4;15274:180;15288:6;15285:1;15282:13;15274:180;;;15381:14;;15357:17;;;15353:26;;15346:50;15424:16;;;;15303:10;;15274:180;;;15478:17;;15474:26;;;-1:-1:-1;;14983:527:1;-1:-1:-1;15527:3:1;;14716:820;-1:-1:-1;;;;;;;;14716:820:1:o;15541:348::-;15743:2;15725:21;;;15782:2;15762:18;;;15755:30;15821:26;15816:2;15801:18;;15794:54;15880:2;15865:18;;15715:174::o;15894:398::-;16096:2;16078:21;;;16135:2;16115:18;;;16108:30;16174:34;16169:2;16154:18;;16147:62;-1:-1:-1;;;16240:2:1;16225:18;;16218:32;16282:3;16267:19;;16068:224::o;16297:412::-;16499:2;16481:21;;;16538:2;16518:18;;;16511:30;16577:34;16572:2;16557:18;;16550:62;-1:-1:-1;;;16643:2:1;16628:18;;16621:46;16699:3;16684:19;;16471:238::o;16714:411::-;16916:2;16898:21;;;16955:2;16935:18;;;16928:30;16994:34;16989:2;16974:18;;16967:62;-1:-1:-1;;;17060:2:1;17045:18;;17038:45;17115:3;17100:19;;16888:237::o;17130:344::-;17332:2;17314:21;;;17371:2;17351:18;;;17344:30;-1:-1:-1;;;17405:2:1;17390:18;;17383:50;17465:2;17450:18;;17304:170::o;17479:413::-;17681:2;17663:21;;;17720:2;17700:18;;;17693:30;17759:34;17754:2;17739:18;;17732:62;-1:-1:-1;;;17825:2:1;17810:18;;17803:47;17882:3;17867:19;;17653:239::o;17897:340::-;18099:2;18081:21;;;18138:2;18118:18;;;18111:30;-1:-1:-1;;;18172:2:1;18157:18;;18150:46;18228:2;18213:18;;18071:166::o;18242:412::-;18444:2;18426:21;;;18483:2;18463:18;;;18456:30;18522:34;18517:2;18502:18;;18495:62;-1:-1:-1;;;18588:2:1;18573:18;;18566:46;18644:3;18629:19;;18416:238::o;18659:345::-;18861:2;18843:21;;;18900:2;18880:18;;;18873:30;-1:-1:-1;;;18934:2:1;18919:18;;18912:51;18995:2;18980:18;;18833:171::o;19009:414::-;19211:2;19193:21;;;19250:2;19230:18;;;19223:30;19289:34;19284:2;19269:18;;19262:62;-1:-1:-1;;;19355:2:1;19340:18;;19333:48;19413:3;19398:19;;19183:240::o;19428:352::-;19630:2;19612:21;;;19669:2;19649:18;;;19642:30;19708;19703:2;19688:18;;19681:58;19771:2;19756:18;;19602:178::o;19785:352::-;19987:2;19969:21;;;20026:2;20006:18;;;19999:30;20065;20060:2;20045:18;;20038:58;20128:2;20113:18;;19959:178::o;20142:403::-;20344:2;20326:21;;;20383:2;20363:18;;;20356:30;20422:34;20417:2;20402:18;;20395:62;-1:-1:-1;;;20488:2:1;20473:18;;20466:37;20535:3;20520:19;;20316:229::o;20550:400::-;20752:2;20734:21;;;20791:2;20771:18;;;20764:30;20830:34;20825:2;20810:18;;20803:62;-1:-1:-1;;;20896:2:1;20881:18;;20874:34;20940:3;20925:19;;20724:226::o;20955:349::-;21157:2;21139:21;;;21196:2;21176:18;;;21169:30;21235:27;21230:2;21215:18;;21208:55;21295:2;21280:18;;21129:175::o;21309:343::-;21511:2;21493:21;;;21550:2;21530:18;;;21523:30;-1:-1:-1;;;21584:2:1;21569:18;;21562:49;21643:2;21628:18;;21483:169::o;21657:355::-;21859:2;21841:21;;;21898:2;21878:18;;;21871:30;21937:33;21932:2;21917:18;;21910:61;22003:2;21988:18;;21831:181::o;22017:398::-;22219:2;22201:21;;;22258:2;22238:18;;;22231:30;22297:34;22292:2;22277:18;;22270:62;-1:-1:-1;;;22363:2:1;22348:18;;22341:32;22405:3;22390:19;;22191:224::o;22420:349::-;22622:2;22604:21;;;22661:2;22641:18;;;22634:30;22700:27;22695:2;22680:18;;22673:55;22760:2;22745:18;;22594:175::o;22774:402::-;22976:2;22958:21;;;23015:2;22995:18;;;22988:30;23054:34;23049:2;23034:18;;23027:62;-1:-1:-1;;;23120:2:1;23105:18;;23098:36;23166:3;23151:19;;22948:228::o;23181:426::-;23383:2;23365:21;;;23422:2;23402:18;;;23395:30;23461:34;23456:2;23441:18;;23434:62;23532:32;23527:2;23512:18;;23505:60;23597:3;23582:19;;23355:252::o;23612:408::-;23814:2;23796:21;;;23853:2;23833:18;;;23826:30;23892:34;23887:2;23872:18;;23865:62;-1:-1:-1;;;23958:2:1;23943:18;;23936:42;24010:3;23995:19;;23786:234::o;24025:350::-;24227:2;24209:21;;;24266:2;24246:18;;;24239:30;24305:28;24300:2;24285:18;;24278:56;24366:2;24351:18;;24199:176::o;24380:412::-;24582:2;24564:21;;;24621:2;24601:18;;;24594:30;24660:34;24655:2;24640:18;;24633:62;-1:-1:-1;;;24726:2:1;24711:18;;24704:46;24782:3;24767:19;;24554:238::o;24797:352::-;24999:2;24981:21;;;25038:2;25018:18;;;25011:30;25077;25072:2;25057:18;;25050:58;25140:2;25125:18;;24971:178::o;25154:401::-;25356:2;25338:21;;;25395:2;25375:18;;;25368:30;25434:34;25429:2;25414:18;;25407:62;-1:-1:-1;;;25500:2:1;25485:18;;25478:35;25545:3;25530:19;;25328:227::o;25560:340::-;25762:2;25744:21;;;25801:2;25781:18;;;25774:30;-1:-1:-1;;;25835:2:1;25820:18;;25813:46;25891:2;25876:18;;25734:166::o;25905:420::-;26107:2;26089:21;;;26146:2;26126:18;;;26119:30;26185:34;26180:2;26165:18;;26158:62;26256:26;26251:2;26236:18;;26229:54;26315:3;26300:19;;26079:246::o;26330:406::-;26532:2;26514:21;;;26571:2;26551:18;;;26544:30;26610:34;26605:2;26590:18;;26583:62;-1:-1:-1;;;26676:2:1;26661:18;;26654:40;26726:3;26711:19;;26504:232::o;26741:403::-;26943:2;26925:21;;;26982:2;26962:18;;;26955:30;27021:34;27016:2;27001:18;;26994:62;-1:-1:-1;;;27087:2:1;27072:18;;27065:37;27134:3;27119:19;;26915:229::o;27149:398::-;27351:2;27333:21;;;27390:2;27370:18;;;27363:30;27429:34;27424:2;27409:18;;27402:62;-1:-1:-1;;;27495:2:1;27480:18;;27473:32;27537:3;27522:19;;27323:224::o;27552:343::-;27754:2;27736:21;;;27793:2;27773:18;;;27766:30;-1:-1:-1;;;27827:2:1;27812:18;;27805:49;27886:2;27871:18;;27726:169::o;27900:356::-;28102:2;28084:21;;;28121:18;;;28114:30;28180:34;28175:2;28160:18;;28153:62;28247:2;28232:18;;28074:182::o;28261:408::-;28463:2;28445:21;;;28502:2;28482:18;;;28475:30;28541:34;28536:2;28521:18;;28514:62;-1:-1:-1;;;28607:2:1;28592:18;;28585:42;28659:3;28644:19;;28435:234::o;28674:408::-;28876:2;28858:21;;;28915:2;28895:18;;;28888:30;28954:34;28949:2;28934:18;;28927:62;-1:-1:-1;;;29020:2:1;29005:18;;28998:42;29072:3;29057:19;;28848:234::o;29087:354::-;29289:2;29271:21;;;29328:2;29308:18;;;29301:30;29367:32;29362:2;29347:18;;29340:60;29432:2;29417:18;;29261:180::o;29446:405::-;29648:2;29630:21;;;29687:2;29667:18;;;29660:30;29726:34;29721:2;29706:18;;29699:62;-1:-1:-1;;;29792:2:1;29777:18;;29770:39;29841:3;29826:19;;29620:231::o;29856:338::-;30058:2;30040:21;;;30097:2;30077:18;;;30070:30;-1:-1:-1;;;30131:2:1;30116:18;;30109:44;30185:2;30170:18;;30030:164::o;30199:397::-;30401:2;30383:21;;;30440:2;30420:18;;;30413:30;30479:34;30474:2;30459:18;;30452:62;-1:-1:-1;;;30545:2:1;30530:18;;30523:31;30586:3;30571:19;;30373:223::o;30601:411::-;30803:2;30785:21;;;30842:2;30822:18;;;30815:30;30881:34;30876:2;30861:18;;30854:62;-1:-1:-1;;;30947:2:1;30932:18;;30925:45;31002:3;30987:19;;30775:237::o;31017:352::-;31219:2;31201:21;;;31258:2;31238:18;;;31231:30;31297;31292:2;31277:18;;31270:58;31360:2;31345:18;;31191:178::o;31374:348::-;31576:2;31558:21;;;31615:2;31595:18;;;31588:30;31654:26;31649:2;31634:18;;31627:54;31713:2;31698:18;;31548:174::o;31727:397::-;31929:2;31911:21;;;31968:2;31948:18;;;31941:30;32007:34;32002:2;31987:18;;31980:62;-1:-1:-1;;;32073:2:1;32058:18;;32051:31;32114:3;32099:19;;31901:223::o;32129:348::-;32331:2;32313:21;;;32370:2;32350:18;;;32343:30;32409:26;32404:2;32389:18;;32382:54;32468:2;32453:18;;32303:174::o;32482:414::-;32684:2;32666:21;;;32723:2;32703:18;;;32696:30;32762:34;32757:2;32742:18;;32735:62;-1:-1:-1;;;32828:2:1;32813:18;;32806:48;32886:3;32871:19;;32656:240::o;32901:413::-;33103:2;33085:21;;;33142:2;33122:18;;;33115:30;33181:34;33176:2;33161:18;;33154:62;-1:-1:-1;;;33247:2:1;33232:18;;33225:47;33304:3;33289:19;;33075:239::o;33319:353::-;33521:2;33503:21;;;33560:2;33540:18;;;33533:30;33599:31;33594:2;33579:18;;33572:59;33663:2;33648:18;;33493:179::o;33677:347::-;33879:2;33861:21;;;33918:2;33898:18;;;33891:30;33957:25;33952:2;33937:18;;33930:53;34015:2;34000:18;;33851:173::o;34029:338::-;34231:2;34213:21;;;34270:2;34250:18;;;34243:30;-1:-1:-1;;;34304:2:1;34289:18;;34282:44;34358:2;34343:18;;34203:164::o;34372:413::-;34574:2;34556:21;;;34613:2;34593:18;;;34586:30;34652:34;34647:2;34632:18;;34625:62;-1:-1:-1;;;34718:2:1;34703:18;;34696:47;34775:3;34760:19;;34546:239::o;34790:347::-;34992:2;34974:21;;;35031:2;35011:18;;;35004:30;35070:25;35065:2;35050:18;;35043:53;35128:2;35113:18;;34964:173::o;35142:412::-;35344:2;35326:21;;;35383:2;35363:18;;;35356:30;35422:34;35417:2;35402:18;;35395:62;-1:-1:-1;;;35488:2:1;35473:18;;35466:46;35544:3;35529:19;;35316:238::o;35559:353::-;35761:2;35743:21;;;35800:2;35780:18;;;35773:30;35839:31;35834:2;35819:18;;35812:59;35903:2;35888:18;;35733:179::o;35917:402::-;36119:2;36101:21;;;36158:2;36138:18;;;36131:30;36197:34;36192:2;36177:18;;36170:62;-1:-1:-1;;;36263:2:1;36248:18;;36241:36;36309:3;36294:19;;36091:228::o;36324:411::-;36526:2;36508:21;;;36565:2;36545:18;;;36538:30;36604:34;36599:2;36584:18;;36577:62;-1:-1:-1;;;36670:2:1;36655:18;;36648:45;36725:3;36710:19;;36498:237::o;36922:292::-;;37099:6;37088:9;37081:25;37142:2;37137;37126:9;37122:18;37115:30;37162:46;37204:2;37193:9;37189:18;37181:6;37162:46;:::i;37219:193::-;37394:10;37382:23;;;;37364:42;;37352:2;37337:18;;37319:93::o;37614:291::-;37794:10;37831:15;;;37813:34;;37883:15;;37878:2;37863:18;;37856:43;37772:2;37757:18;;37739:166::o;37910:128::-;;37981:1;37977:6;37974:1;37971:13;37968:2;;;37987:18;;:::i;:::-;-1:-1:-1;38023:9:1;;37958:80::o;38043:120::-;;38109:1;38099:2;;38114:18;;:::i;:::-;-1:-1:-1;38148:9:1;;38089:74::o;38168:125::-;;38236:1;38233;38230:8;38227:2;;;38241:18;;:::i;:::-;-1:-1:-1;38278:9:1;;38217:76::o;38298:258::-;38370:1;38380:113;38394:6;38391:1;38388:13;38380:113;;;38470:11;;;38464:18;38451:11;;;38444:39;38416:2;38409:10;38380:113;;;38511:6;38508:1;38505:13;38502:2;;;-1:-1:-1;;38546:1:1;38528:16;;38521:27;38351:205::o;38561:136::-;;38628:5;38618:2;;38637:18;;:::i;:::-;-1:-1:-1;;;38673:18:1;;38608:89::o;38702:185::-;;38784:10;38777:5;38773:22;38814:7;38804:2;;38825:18;;:::i;:::-;-1:-1:-1;;38861:20:1;;38748:139;-1:-1:-1;;38748:139:1:o;38892:380::-;38977:1;38967:12;;39024:1;39014:12;;;39035:2;;39089:4;39081:6;39077:17;39067:27;;39035:2;39142;39134:6;39131:14;39111:18;39108:38;39105:2;;;39188:10;39183:3;39179:20;39176:1;39169:31;39223:4;39220:1;39213:15;39251:4;39248:1;39241:15;39105:2;;38947:325;;;:::o;39277:135::-;;-1:-1:-1;;39337:17:1;;39334:2;;;39357:18;;:::i;:::-;-1:-1:-1;39404:1:1;39393:13;;39324:88::o;39417:201::-;;39483:10;39528:2;39521:5;39517:14;39555:2;39546:7;39543:15;39540:2;;;39561:18;;:::i;:::-;39610:1;39597:15;;39463:155;-1:-1:-1;;;39463:155:1:o;39623:112::-;;39681:1;39671:2;;39686:18;;:::i;:::-;-1:-1:-1;39720:9:1;;39661:74::o;39740:127::-;39801:10;39796:3;39792:20;39789:1;39782:31;39832:4;39829:1;39822:15;39856:4;39853:1;39846:15;39872:127;39933:10;39928:3;39924:20;39921:1;39914:31;39964:4;39961:1;39954:15;39988:4;39985:1;39978:15;40004:127;40065:10;40060:3;40056:20;40053:1;40046:31;40096:4;40093:1;40086:15;40120:4;40117:1;40110:15;40136:120;40224:5;40217:13;40210:21;40203:5;40200:32;40190:2;;40246:1;40243;40236:12;40261:133;-1:-1:-1;;;;;;40337:32:1;;40327:43;;40317:2;;40384:1;40381;40374:12
Swarm Source
ipfs://a8ff1c8bc62d488c97a74f29b1c01f7cb5add9325040284251b455b21d66262c
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.