ERC-721
Overview
Max Total Supply
0 DIDGD
Holders
338
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DIDGDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DigiDaigakuGiantDragons
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-14 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.9; /** * @title Quest * @author Limit Break, Inc. * @notice Quest data structure for {IAdventurous} contracts. */ struct Quest { bool isActive; uint32 questId; uint64 startTimestamp; uint32 arrayIndex; } // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } /** * @title IAdventurous * @author Limit Break, Inc. * @notice The base interface that all `Adventurous` token contracts must conform to in order to support adventures and quests. * @dev All contracts that support adventures and quests are required to implement this interface. */ interface IAdventurous is IERC165 { /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets, for special in-game adventures. */ event AdventureApprovalForAll(address indexed tokenOwner, address indexed operator, bool approved); /** * @dev Emitted when a token enters or exits a quest */ event QuestUpdated(uint256 indexed tokenId, address indexed tokenOwner, address indexed adventure, uint256 questId, bool active, bool booted); /** * @notice Transfers a player's token if they have opted into an authorized, whitelisted adventure. */ function adventureTransferFrom(address from, address to, uint256 tokenId) external; /** * @notice Safe transfers a player's token if they have opted into an authorized, whitelisted adventure. */ function adventureSafeTransferFrom(address from, address to, uint256 tokenId) external; /** * @notice Burns a player's token if they have opted into an authorized, whitelisted adventure. */ function adventureBurn(uint256 tokenId) external; /** * @notice Enters a player's token into a quest if they have opted into an authorized, whitelisted adventure. */ function enterQuest(uint256 tokenId, uint256 questId) external; /** * @notice Exits a player's token from a quest if they have opted into an authorized, whitelisted adventure. */ function exitQuest(uint256 tokenId, uint256 questId) external; /** * @notice Returns the number of quests a token is actively participating in for a specified adventure */ function getQuestCount(uint256 tokenId, address adventure) external view returns (uint256); /** * @notice Returns the amount of time a token has been participating in the specified quest */ function getTimeOnQuest(uint256 tokenId, address adventure, uint256 questId) external view returns (uint256); /** * @notice Returns whether or not a token is currently participating in the specified quest as well as the time it was started and the quest index */ function isParticipatingInQuest(uint256 tokenId, address adventure, uint256 questId) external view returns (bool participatingInQuest, uint256 startTimestamp, uint256 index); /** * @notice Returns a list of all active quests for the specified token id and adventure */ function getActiveQuests(uint256 tokenId, address adventure) external view returns (Quest[] memory activeQuests); } /** * @title IAdventure * @author Limit Break, Inc. * @notice The base interface that all `Adventure` contracts must conform to. * @dev All contracts that implement the adventure/quest system and interact with an {IAdventurous} token are required to implement this interface. */ interface IAdventure is IERC165 { /** * @dev Returns whether or not quests on this adventure lock tokens. * Developers of adventure contract should ensure that this is immutable * after deployment of the adventure contract. Failure to do so * can lead to error that deadlock token transfers. */ function questsLockTokens() external view returns (bool); /** * @dev A callback function that AdventureERC721 must invoke when a quest has been successfully entered. * Throws if the caller is not an expected AdventureERC721 contract designed to work with the Adventure. * Not permitted to throw in any other case, as this could lead to tokens being locked in quests. */ function onQuestEntered(address adventurer, uint256 tokenId, uint256 questId) external; /** * @dev A callback function that AdventureERC721 must invoke when a quest has been successfully exited. * Throws if the caller is not an expected AdventureERC721 contract designed to work with the Adventure. * Not permitted to throw in any other case, as this could lead to tokens being locked in quests. */ function onQuestExited(address adventurer, uint256 tokenId, uint256 questId, uint256 questStartTimestamp) external; } /** * @title IOwnableInitializer * @author Limit Break, Inc. * @notice Allows cloneable contracts to include OpenZeppelin Ownable functionality. * @dev See https://eips.ethereum.org/EIPS/eip-1167 for details. */ interface IOwnableInitializer is IERC165 { /** * @notice Initializes the contract owner to the specified address */ function initializeOwner(address owner_) external; /** * @notice Transfers ownership of the contract to the specified owner */ function transferOwnership(address newOwner) external; } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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 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) { return msg.data; } } error CallerIsNotTheContractOwner(); error NewOwnerIsTheZeroAddress(); error OwnerAlreadyInitialized(); /** * @title InitializableOwnable * @author Limit Break, Inc. and OpenZeppelin * @notice A tailored version of the {Ownable} permissions component from OpenZeppelin that is compatible with EIP-1167. * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * Based on OpenZeppelin contracts commit hash 3dac7bbed7b4c0dbf504180c33e8ed8e350b93eb. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. * * This version adds an `initializeOwner` call for use with EIP-1167, * as the constructor will not be called during an EIP-1167 operation. * Because initializeOwner should only be called once and requires that * the owner is not assigned, the `renounceOwnership` function has been removed to avoid * a scenario where a contract could be left without an owner to perform admin protected functions. */ abstract contract InitializableOwnable is Context, IOwnableInitializer { address private _owner; /// @dev Emitted when contract ownership has been transferred. event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev When EIP-1167 is used to clone a contract that inherits Ownable permissions, * this is required to assign the initial contract owner, as the constructor is * not called during the cloning process. */ function initializeOwner(address owner_) public override { if(_owner != address(0)) { revert OwnerAlreadyInitialized(); } _transferOwnership(owner_); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if(owner() != _msgSender()) { revert CallerIsNotTheContractOwner(); } } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { if(newOwner == address(0)) { revert NewOwnerIsTheZeroAddress(); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) /** * @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`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); } error AdventureIsStillWhitelisted(); error AlreadyWhitelisted(); error ArrayIndexOverflowsUint128(); error CallerNotAWhitelistedAdventure(); error InvalidAdventureContract(); error NotWhitelisted(); /** * @title AdventureWhitelist * @author Limit Break, Inc. * @notice Implements the basic security features of the {IAdventurous} token standard for ERC721-compliant tokens. * This includes a whitelist for trusted Adventure contracts designed to interoperate with this token. */ abstract contract AdventureWhitelist is InitializableOwnable { struct AdventureDetails { bool isWhitelisted; uint128 arrayIndex; } /// @dev Emitted when the adventure whitelist is updated event AdventureWhitelistUpdated(address indexed adventure, bool whitelisted); /// @dev Whitelist array for iteration address[] public whitelistedAdventureList; /// @dev Whitelist mapping mapping (address => AdventureDetails) public whitelistedAdventures; /// @notice Returns whether the specified account is a whitelisted adventure function isAdventureWhitelisted(address account) public view returns (bool) { return whitelistedAdventures[account].isWhitelisted; } /// @notice Whitelists an adventure and specifies whether or not the quests in that adventure lock token transfers /// Throws when the adventure is already in the whitelist. /// Throws when the specified address does not implement the IAdventure interface. /// /// Postconditions: /// The specified adventure contract is in the whitelist. /// An `AdventureWhitelistUpdate` event has been emitted. function whitelistAdventure(address adventure) external onlyOwner { if(isAdventureWhitelisted(adventure)) { revert AlreadyWhitelisted(); } if(!IERC165(adventure).supportsInterface(type(IAdventure).interfaceId)) { revert InvalidAdventureContract(); } uint256 arrayIndex = whitelistedAdventureList.length; if(arrayIndex > type(uint128).max) { revert ArrayIndexOverflowsUint128(); } whitelistedAdventures[adventure].isWhitelisted = true; whitelistedAdventures[adventure].arrayIndex = uint128(arrayIndex); whitelistedAdventureList.push(adventure); emit AdventureWhitelistUpdated(adventure, true); } /// @notice Removes an adventure from the whitelist /// Throws when the adventure is not in the whitelist. /// /// Postconditions: /// The specified adventure contract is no longer in the whitelist. /// An `AdventureWhitelistUpdate` event has been emitted. function unwhitelistAdventure(address adventure) external onlyOwner { if(!isAdventureWhitelisted(adventure)) { revert NotWhitelisted(); } uint128 itemPositionToDelete = whitelistedAdventures[adventure].arrayIndex; uint256 arrayEndIndex = whitelistedAdventureList.length - 1; if(itemPositionToDelete != arrayEndIndex) { whitelistedAdventureList[itemPositionToDelete] = whitelistedAdventureList[arrayEndIndex]; whitelistedAdventures[whitelistedAdventureList[itemPositionToDelete]].arrayIndex = itemPositionToDelete; } whitelistedAdventureList.pop(); delete whitelistedAdventures[adventure]; emit AdventureWhitelistUpdated(adventure, false); } /// @dev Validates that the caller is a whitelisted adventure /// Throws when the caller is not in the adventure whitelist. function _requireCallerIsWhitelistedAdventure() internal view { if(!isAdventureWhitelisted(_msgSender())) { revert CallerNotAWhitelistedAdventure(); } } /// @dev Validates that the specified adventure has been removed from the whitelist /// to prevent early backdoor exiting from adventures. /// Throws when specified adventure is still whitelisted. function _requireAdventureRemovedFromWhitelist(address adventure) internal view { if(isAdventureWhitelisted(adventure)) { revert AdventureIsStillWhitelisted(); } } } /** * @title IAdventureERC721Initializer * @author Limit Break, Inc. * @notice Allows cloneable contracts to include Adventure ERC721 functionality. * @dev See https://eips.ethereum.org/EIPS/eip-1167 for details. */ interface IAdventureERC721Initializer is IERC165 { /** * @notice Initializes parameters of {AdventureERC721} contracts */ function initializeAdventureERC721(uint256 maxSimultaneousQuests_) external; } /** * @title IERC721Initializer * @author Limit Break, Inc. * @notice Allows cloneable contracts to include OpenZeppelin ERC721 functionality. * @dev See https://eips.ethereum.org/EIPS/eip-1167 for details. */ interface IERC721Initializer is IERC721 { /** * @notice Initializes parameters of {ERC721} contracts */ function initializeERC721(string memory name_, string memory symbol_) external; } // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) /** * @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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) /** * @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); } // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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"); (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"); (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"); (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.4._ */ 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.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal 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); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @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_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual 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: caller is not token 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: caller is not token 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 virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `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); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(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 = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(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(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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` and `to` are never both zero. * * 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } error AlreadyInitializedERC721(); /** * @title InitializableERC721 * @author Limit Break, Inc. * @notice Wraps OpenZeppelin ERC721 implementation and makes it compatible with EIP-1167. * @dev Because OpenZeppelin's `_name` and `_symbol` storage variables are private and inaccessible, * this contract defines two new storage variables `_contractName` and `_contractSymbol` and returns them * from the `name()` and `symbol()` functions instead. */ abstract contract InitializableERC721 is InitializableOwnable, ERC721, IERC721Initializer { /// @notice Specifies whether or not the contract is initialized bool private initializedERC721; // Token name string internal _contractName; // Token symbol string internal _contractSymbol; /// @dev Initializes parameters of ERC721 tokens. /// These cannot be set in the constructor because this contract is optionally compatible with EIP-1167. function initializeERC721(string memory name_, string memory symbol_) public override onlyOwner { if(initializedERC721) { revert AlreadyInitializedERC721(); } _contractName = name_; _contractSymbol = symbol_; initializedERC721 = true; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) { return interfaceId == type(IERC721Initializer).interfaceId || super.supportsInterface(interfaceId); } function name() public view virtual override returns (string memory) { return _contractName; } function symbol() public view virtual override returns (string memory) { return _contractSymbol; } } error AdventureApprovalToCaller(); error AlreadyInitializedAdventureERC721(); error AlreadyOnQuest(); error AnActiveQuestIsPreventingTransfers(); error CallerNotApprovedForAdventure(); error CallerNotTokenOwner(); error MaxSimultaneousQuestsCannotBeZero(); error MaxSimultaneousQuestsExceeded(); error NotOnQuest(); error QuestIdOutOfRange(); error TooManyActiveQuests(); /** * @title AdventureERC721 * @author Limit Break, Inc. * @notice Implements the {IAdventurous} token standard for ERC721-compliant tokens. * Includes a user approval mechanism specific to {IAdventurous} functionality. * @dev Inherits {InitializableERC721} to provide the option to support EIP-1167. */ abstract contract AdventureERC721 is InitializableERC721, AdventureWhitelist, IAdventurous, IAdventureERC721Initializer { /// @notice Specifies an upper bound for the maximum number of simultaneous quests per adventure. uint256 private constant MAX_CONCURRENT_QUESTS = 100; /// @dev A value denoting a transfer originating from transferFrom or safeTransferFrom uint256 internal constant TRANSFERRING_VIA_ERC721 = 1; /// @dev A value denoting a transfer originating from adventureTransferFrom or adventureSafeTransferFrom uint256 internal constant TRANSFERRING_VIA_ADVENTURE = 2; /// @notice Specifies whether or not the contract is initialized bool private initializedAdventureERC721; /// @dev Specifies the type of transfer that is actively being used uint256 internal transferType; /// @dev The most simultaneous quests the token may participate in at a time uint256 private _maxSimultaneousQuests; /// @dev Maps each token id to the number of blocking quests it is currently entered into mapping (uint256 => uint256) internal blockingQuestCounts; /// @dev Mapping from owner to operator approvals for special gameplay behavior mapping (address => mapping (address => bool)) private operatorAdventureApprovals; /// @dev Maps each token id to a mapping that can enumerate all active quests within an adventure mapping (uint256 => mapping (address => uint32[])) public activeQuestList; /// @dev Maps each token id to a mapping from adventure address to a mapping of quest ids to quest details mapping (uint256 => mapping (address => mapping (uint32 => Quest))) public activeQuestLookup; /// @dev Initializes parameters of AdventureERC721 tokens. /// These cannot be set in the constructor because this contract is optionally compatible with EIP-1167. function initializeAdventureERC721(uint256 maxSimultaneousQuests_) public override onlyOwner { if(initializedAdventureERC721) { revert AlreadyInitializedAdventureERC721(); } _validateMaxSimultaneousQuests(maxSimultaneousQuests_); _maxSimultaneousQuests = maxSimultaneousQuests_; initializedAdventureERC721 = true; transferType = TRANSFERRING_VIA_ERC721; } /// @dev ERC-165 interface support function supportsInterface(bytes4 interfaceId) public view virtual override (InitializableERC721, IERC165) returns (bool) { return interfaceId == type(IAdventurous).interfaceId || interfaceId == type(IAdventureERC721Initializer).interfaceId || super.supportsInterface(interfaceId); } /// @notice Transfers a player's token if they have opted into an authorized, whitelisted adventure. function adventureTransferFrom(address from, address to, uint256 tokenId) external override { _requireCallerIsWhitelistedAdventure(); _requireCallerApprovedForAdventure(tokenId); transferType = TRANSFERRING_VIA_ADVENTURE; _transfer(from, to, tokenId); transferType = TRANSFERRING_VIA_ERC721; } /// @notice Safe transfers a player's token if they have opted into an authorized, whitelisted adventure. function adventureSafeTransferFrom(address from, address to, uint256 tokenId) external override { _requireCallerIsWhitelistedAdventure(); _requireCallerApprovedForAdventure(tokenId); transferType = TRANSFERRING_VIA_ADVENTURE; _safeTransfer(from, to, tokenId, ""); transferType = TRANSFERRING_VIA_ERC721; } /// @notice Burns a player's token if they have opted into an authorized, whitelisted adventure. function adventureBurn(uint256 tokenId) external override { _requireCallerIsWhitelistedAdventure(); _requireCallerApprovedForAdventure(tokenId); transferType = TRANSFERRING_VIA_ADVENTURE; _burn(tokenId); transferType = TRANSFERRING_VIA_ERC721; } /// @notice Enters a player's token into a quest if they have opted into an authorized, whitelisted adventure. function enterQuest(uint256 tokenId, uint256 questId) external override { _requireCallerIsWhitelistedAdventure(); _requireCallerApprovedForAdventure(tokenId); _enterQuest(tokenId, _msgSender(), questId); } /// @notice Exits a player's token from a quest if they have opted into an authorized, whitelisted adventure. /// For developers of adventure contracts that perform adventure burns, be aware that the adventure must exitQuest /// before the adventure burn occurs, as _exitQuest emits the owner of the token, which would revert after burning. function exitQuest(uint256 tokenId, uint256 questId) external override { _requireCallerIsWhitelistedAdventure(); _requireCallerApprovedForAdventure(tokenId); _exitQuest(tokenId, _msgSender(), questId); } /// @notice Admin-only ability to boot a token from all quests on an adventure. /// This ability is only unlocked in the event that an adventure has been unwhitelisted, as early exiting /// from quests can cause out of sync state between the ERC721 token contract and the adventure/quest. function bootFromAllQuests(uint256 tokenId, address adventure) external onlyOwner { _requireAdventureRemovedFromWhitelist(adventure); _exitAllQuests(tokenId, adventure, true); } /// @notice Gives the player the ability to exit a quest without interacting directly with the approved, whitelisted adventure /// This ability is only unlocked in the event that an adventure has been unwhitelisted, as early exiting /// from quests can cause out of sync state between the ERC721 token contract and the adventure/quest. function userExitQuest(uint256 tokenId, address adventure, uint256 questId) external { _requireAdventureRemovedFromWhitelist(adventure); _requireCallerOwnsToken(tokenId); _exitQuest(tokenId, adventure, questId); } /// @notice Gives the player the ability to exit all quests on an adventure without interacting directly with the approved, whitelisted adventure /// This ability is only unlocked in the event that an adventure has been unwhitelisted, as early exiting /// from quests can cause out of sync state between the ERC721 token contract and the adventure/quest. function userExitAllQuests(uint256 tokenId, address adventure) external { _requireAdventureRemovedFromWhitelist(adventure); _requireCallerOwnsToken(tokenId); _exitAllQuests(tokenId, adventure, false); } /// @notice Similar to {IERC721-setApprovalForAll}, but for special in-game adventures only function setAdventuresApprovedForAll(address operator, bool approved) external { address tokenOwner = _msgSender(); if(tokenOwner == operator) { revert AdventureApprovalToCaller(); } operatorAdventureApprovals[tokenOwner][operator] = approved; emit AdventureApprovalForAll(tokenOwner, operator, approved); } /// @notice Similar to {IERC721-isApprovedForAll}, but for special in-game adventures only function areAdventuresApprovedForAll(address owner, address operator) public view returns (bool) { return operatorAdventureApprovals[owner][operator]; } /// @notice Returns the number of quests a token is actively participating in for a specified adventure function getQuestCount(uint256 tokenId, address adventure) public override view returns (uint256) { return activeQuestList[tokenId][adventure].length; } /// @notice Returns the amount of time a token has been participating in the specified quest function getTimeOnQuest(uint256 tokenId, address adventure, uint256 questId) public override view returns (uint256) { (bool participatingInQuest, uint256 startTimestamp,) = isParticipatingInQuest(tokenId, adventure, questId); return participatingInQuest ? (block.timestamp - startTimestamp) : 0; } /// @notice Returns whether or not a token is currently participating in the specified quest as well as the time it was started and the quest index function isParticipatingInQuest(uint256 tokenId, address adventure, uint256 questId) public override view returns (bool participatingInQuest, uint256 startTimestamp, uint256 index) { if(questId > type(uint32).max) { revert QuestIdOutOfRange(); } Quest storage quest = activeQuestLookup[tokenId][adventure][uint32(questId)]; participatingInQuest = quest.isActive; startTimestamp = quest.startTimestamp; index = quest.arrayIndex; return (participatingInQuest, startTimestamp, index); } /// @notice Returns a list of all active quests for the specified token id and adventure function getActiveQuests(uint256 tokenId, address adventure) public override view returns (Quest[] memory activeQuests) { uint256 questCount = getQuestCount(tokenId, adventure); activeQuests = new Quest[](questCount); uint32[] memory activeQuestIdList = activeQuestList[tokenId][adventure]; for(uint256 i = 0; i < questCount; ++i) { activeQuests[i] = activeQuestLookup[tokenId][adventure][activeQuestIdList[i]]; } return activeQuests; } /// @notice Returns the maximum number of simultaneous quests the token can be in per adventure. function maxSimultaneousQuests() public view returns (uint256) { return _maxSimultaneousQuests; } /// @dev Enters the specified quest for a token id. /// Throws if the token is already participating in the specified quest. /// Throws if the number of active quests exceeds the max allowable for the given adventure. /// Emits a QuestUpdated event for off-chain processing. function _enterQuest(uint256 tokenId, address adventure, uint256 questId) internal { (bool participatingInQuest,,) = isParticipatingInQuest(tokenId, adventure, questId); if(participatingInQuest) { revert AlreadyOnQuest(); } uint256 currentQuestCount = getQuestCount(tokenId, adventure); if(currentQuestCount >= _maxSimultaneousQuests) { revert TooManyActiveQuests(); } uint32 castedQuestId = uint32(questId); activeQuestList[tokenId][adventure].push(castedQuestId); activeQuestLookup[tokenId][adventure][castedQuestId].isActive = true; activeQuestLookup[tokenId][adventure][castedQuestId].startTimestamp = uint64(block.timestamp); activeQuestLookup[tokenId][adventure][castedQuestId].questId = castedQuestId; activeQuestLookup[tokenId][adventure][castedQuestId].arrayIndex = uint32(currentQuestCount); address ownerOfToken = ownerOf(tokenId); emit QuestUpdated(tokenId, ownerOfToken, adventure, questId, true, false); if(IAdventure(adventure).questsLockTokens()) { unchecked { ++blockingQuestCounts[tokenId]; } } // Invoke callback to the adventure to facilitate state synchronization as needed IAdventure(adventure).onQuestEntered(ownerOfToken, tokenId, questId); } /// @dev Exits the specified quest for a token id. /// Throws if the token is not currently participating on the specified quest. /// Emits a QuestUpdated event for off-chain processing. function _exitQuest(uint256 tokenId, address adventure, uint256 questId) internal { (bool participatingInQuest, uint256 startTimestamp, uint256 index) = isParticipatingInQuest(tokenId, adventure, questId); if(!participatingInQuest) { revert NotOnQuest(); } uint32 castedQuestId = uint32(questId); uint256 lastArrayIndex = getQuestCount(tokenId, adventure) - 1; if(index != lastArrayIndex) { activeQuestList[tokenId][adventure][index] = activeQuestList[tokenId][adventure][lastArrayIndex]; activeQuestLookup[tokenId][adventure][activeQuestList[tokenId][adventure][lastArrayIndex]].arrayIndex = uint32(index); } activeQuestList[tokenId][adventure].pop(); delete activeQuestLookup[tokenId][adventure][castedQuestId]; address ownerOfToken = ownerOf(tokenId); emit QuestUpdated(tokenId, ownerOfToken, adventure, questId, false, false); if(IAdventure(adventure).questsLockTokens()) { --blockingQuestCounts[tokenId]; } // Invoke callback to the adventure to facilitate state synchronization as needed IAdventure(adventure).onQuestExited(ownerOfToken, tokenId, questId, startTimestamp); } /// @dev Removes the specified token id from all quests on the specified adventure function _exitAllQuests(uint256 tokenId, address adventure, bool booted) internal { address tokenOwner = ownerOf(tokenId); uint256 questCount = getQuestCount(tokenId, adventure); if(IAdventure(adventure).questsLockTokens()) { blockingQuestCounts[tokenId] -= questCount; } for(uint256 i = 0; i < questCount;) { uint32 questId = activeQuestList[tokenId][adventure][i]; Quest memory quest = activeQuestLookup[tokenId][adventure][questId]; uint256 startTimestamp = quest.startTimestamp; emit QuestUpdated(tokenId, tokenOwner, adventure, questId, false, booted); delete activeQuestLookup[tokenId][adventure][questId]; // Invoke callback to the adventure to facilitate state synchronization as needed IAdventure(adventure).onQuestExited(tokenOwner, tokenId, questId, startTimestamp); unchecked { ++i; } } delete activeQuestList[tokenId][adventure]; } /// @dev By default, tokens that are participating in quests are transferrable. However, if a token is participating /// in a quest on an adventure that was designated as a token locker, the transfer will revert and keep the token /// locked. function _beforeTokenTransfer(address /*from*/, address /*to*/, uint256 tokenId) internal virtual override { if(blockingQuestCounts[tokenId] > 0) { revert AnActiveQuestIsPreventingTransfers(); } } /// @dev Validates that the caller is approved for adventure on the specified token id /// Throws when the caller has not been approved by the user. function _requireCallerApprovedForAdventure(uint256 tokenId) internal view { if(!areAdventuresApprovedForAll(ownerOf(tokenId), _msgSender())) { revert CallerNotApprovedForAdventure(); } } /// @dev Validates that the caller owns the specified token /// Throws when the caller does not own the specified token. function _requireCallerOwnsToken(uint256 tokenId) internal view { if(ownerOf(tokenId) != _msgSender()) { revert CallerNotTokenOwner(); } } /// @dev Validates that the specified value of max simultaneous quests is in range [1-MAX_CONCURRENT_QUESTS] /// Throws when `maxSimultaneousQuests_` is zero. /// Throws when `maxSimultaneousQuests_` is more than MAX_CONCURRENT_QUESTS. function _validateMaxSimultaneousQuests(uint256 maxSimultaneousQuests_) internal pure { if(maxSimultaneousQuests_ == 0) { revert MaxSimultaneousQuestsCannotBeZero(); } if(maxSimultaneousQuests_ > MAX_CONCURRENT_QUESTS) { revert MaxSimultaneousQuestsExceeded(); } } } /** * @title IRoyaltiesInitializer * @author Limit Break, Inc. * @notice Allows cloneable contracts to include OpenZeppelin ERC2981 functionality. * @dev See https://eips.ethereum.org/EIPS/eip-1167 for details. */ interface IRoyaltiesInitializer is IERC165 { /** * @notice Initializes royalty parameters */ function initializeRoyalties(address receiver, uint96 feeNumerator) external; } /** * @title IURIInitializer * @author Limit Break, Inc. * @notice Allows cloneable contracts to include a base uri and suffix uri. * @dev See https://eips.ethereum.org/EIPS/eip-1167 for details. */ interface IURIInitializer is IERC165 { /** * @notice Initializes uri parameters */ function initializeURI(string memory baseURI_, string memory suffixURI_) external; } // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } error AlreadyInitializedRoyalties(); error AlreadyInitializedURI(); error ExceedsMaxRoyaltyFee(); error NonexistentToken(); /** * @title AdventureNFT * @author Limit Break, Inc. * @notice Standardizes commonly shared boilerplate code that adds base/suffix URI and EIP-2981 royalties to {AdventureERC721} contracts. */ abstract contract AdventureNFT is AdventureERC721, ERC2981, IRoyaltiesInitializer, IURIInitializer { using Strings for uint256; /// @dev The maximum allowable royalty fee is 100% uint96 private constant MAX_ROYALTY_FEE_NUMERATOR = 10000; /// @notice Specifies whether or not the contract is initialized bool private initializedRoyalties; /// @notice Specifies whether or not the contract is initialized bool private initializedURI; /// @dev Base token uri string public baseTokenURI; /// @dev Token uri suffix/extension string public suffixURI = ".json"; /// @dev Emitted when base URI is set. event BaseURISet(string baseTokenURI); /// @dev Emitted when suffix URI is set. event SuffixURISet(string suffixURI); /// @dev Emitted when royalty is set. event RoyaltySet(address receiver, uint96 feeNumerator); /// @dev Initializes parameters of tokens with royalties. /// These cannot be set in the constructor because this contract is optionally compatible with EIP-1167. function initializeRoyalties(address receiver, uint96 feeNumerator) public override onlyOwner { if(initializedRoyalties) { revert AlreadyInitializedRoyalties(); } setRoyaltyInfo(receiver, feeNumerator); initializedRoyalties = true; } /// @dev Initializes parameters of tokens with uri values. /// These cannot be set in the constructor because this contract is optionally compatible with EIP-1167. function initializeURI(string memory baseURI_, string memory suffixURI_) public override onlyOwner { if(initializedURI) { revert AlreadyInitializedURI(); } setBaseURI(baseURI_); setSuffixURI(suffixURI_); initializedURI = true; } /// @dev Required to return baseTokenURI for tokenURI function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } /// @notice Sets base URI function setBaseURI(string memory baseTokenURI_) public onlyOwner { baseTokenURI = baseTokenURI_; emit BaseURISet(baseTokenURI_); } /// @notice Sets suffix URI function setSuffixURI(string memory suffixURI_) public onlyOwner { suffixURI = suffixURI_; emit SuffixURISet(suffixURI_); } /// @notice Sets royalty information function setRoyaltyInfo(address receiver, uint96 feeNumerator) public onlyOwner { if(feeNumerator > MAX_ROYALTY_FEE_NUMERATOR) { revert ExceedsMaxRoyaltyFee(); } _setDefaultRoyalty(receiver, feeNumerator); emit RoyaltySet(receiver, feeNumerator); } /// @notice Returns tokenURI if baseURI is set function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if(!_exists(tokenId)) { revert NonexistentToken(); } string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), suffixURI)) : ""; } function supportsInterface(bytes4 interfaceId) public view virtual override (AdventureERC721, ERC2981, IERC165) returns (bool) { return interfaceId == type(IRoyaltiesInitializer).interfaceId || interfaceId == type(IURIInitializer).interfaceId || super.supportsInterface(interfaceId); } } interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } /** * @title IOperatorFiltererInitializer * @author Limit Break, Inc. * @notice Allows cloneable contracts to include OpenSea's OperatorFilterer functionality. * @dev See https://eips.ethereum.org/EIPS/eip-1167 for details. */ interface IOperatorFiltererInitializer { /** * @notice Initializes parameters of OperatorFilterer contracts */ function initializeOperatorFilterer(address subscriptionOrRegistrantToCopy, bool subscribe) external; } /** * @title InitializableOperatorFilterer * @notice Abstract contract whose initializer function automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * This is safe for use in EIP-1167 clones */ abstract contract InitializableOperatorFilterer is IOperatorFiltererInitializer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function initializeOperatorFilterer(address subscriptionOrRegistrantToCopy, bool subscribe) public virtual override { if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } /** * @title InitializableDefaultOperatorFilterer * @notice Inherits from InitializableOperatorFilterer and automatically subscribes to the default OpenSea subscription during initialization. */ abstract contract InitializableDefaultOperatorFilterer is InitializableOperatorFilterer { /// @dev The default subscription address address internal constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); /// @dev The parameters are ignored, and the default subscription values are used instead. function initializeOperatorFilterer(address /*subscriptionOrRegistrantToCopy*/, bool /*subscribe*/) public virtual override { super.initializeOperatorFilterer(DEFAULT_SUBSCRIPTION, true); } } /** * @title BlacklistedTransferAdventureNFT * @author Limit Break, Inc. * @notice Extends AdventureNFT, adding whitelisted transfer mechanisms. */ abstract contract BlacklistedTransferAdventureNFT is AdventureNFT, InitializableDefaultOperatorFilterer { function setApprovalForAll(address operator, bool approved) public virtual override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public virtual override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public virtual override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } } /** * @title DigiDaigakuGiantDragons * @author Limit Break, Inc. * @notice Giant Dragons minted from Baby Dragons by going on the Dragon Quest. */ contract DigiDaigakuGiantDragons is BlacklistedTransferAdventureNFT { error DigiDaigakuGiantDragons__MinterAlreadyWhitelisted(); error DigiDaigakuGiantDragons__MinterNotWhitelisted(); /// @dev Whitelisted minter mapping mapping (address => bool) public whitelistedMinters; /// @dev Emitted when a dragon is minted. /// @dev Dragon token ID is in reference to both Baby and Giant Dragons. event GiantDragonMinted(address indexed to, uint256 indexed dragonTokenId, uint256 indexed dragonEssenceId); /// @dev Emitted when the minter whitelist is updated event MinterWhitelistUpdated(address indexed minter, bool indexed whitelisted); constructor(address royaltyReceiver_, uint96 royaltyFeeNumerator_) ERC721("", "") { initializeERC721("DigiDaigakuGiantDragons", "DIDGD"); initializeURI("https://digidaigaku.com/giant-dragons/metadata/", ".json"); initializeAdventureERC721(100); initializeRoyalties(royaltyReceiver_, royaltyFeeNumerator_); initializeOperatorFilterer(address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6), true); } /// @notice Whitelists a minter function whitelistMinter(address minter) external onlyOwner { _requireMinterIsNotWhitelisted(minter); whitelistedMinters[minter] = true; emit MinterWhitelistUpdated(minter, true); } /// @notice Removes a minter from the whitelist function unwhitelistMinter(address minter) external onlyOwner { _requireMinterIsWhitelisted(minter); delete whitelistedMinters[minter]; emit MinterWhitelistUpdated(minter, false); } /** * @notice Mints multiple Giant Dragons created with the specified Baby Dragon and Dragon Essence tokens. * * @dev Throws if `to` address is zero address. * @dev Throws if the quantity is zero. * @dev Throws if the caller is not a whitelisted minter. * @dev Throws if minting would exceed the max supply. * * @dev <h4>Postconditions:</h4> * @dev 1. `quantity` Giant Dragons have been minted to the specified `to` address, where `quantity` is the length of the token id arrays. * @dev 2. `quantity` DragonMinted events has been emitted, where `quantity` is the length of the token id arrays. * * @param to The address of the destination of the Giant Dragons. * @param babyDragonTokenIds An array of Baby DragonTokenIds to be used to mint the Giant Dragons. * @param dragonEssenceTokenIds An array of DragonEssenceTokenIds to be used to mint the Giant Dragons. */ function mintDragonsBatch( address to, uint256[] calldata babyDragonTokenIds, uint256[] calldata dragonEssenceTokenIds ) external { _requireMinterIsWhitelisted(_msgSender()); unchecked { for (uint256 i = 0; i < dragonEssenceTokenIds.length; ++i) { _mint(to, babyDragonTokenIds[i]); emit GiantDragonMinted(to, babyDragonTokenIds[i], dragonEssenceTokenIds[i]); } } } function _requireMinterIsWhitelisted(address minter) private view { if(!whitelistedMinters[minter]) { revert DigiDaigakuGiantDragons__MinterNotWhitelisted(); } } function _requireMinterIsNotWhitelisted(address minter) private view { if(whitelistedMinters[minter]) { revert DigiDaigakuGiantDragons__MinterAlreadyWhitelisted(); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"royaltyReceiver_","type":"address"},{"internalType":"uint96","name":"royaltyFeeNumerator_","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AdventureApprovalToCaller","type":"error"},{"inputs":[],"name":"AdventureIsStillWhitelisted","type":"error"},{"inputs":[],"name":"AlreadyInitializedAdventureERC721","type":"error"},{"inputs":[],"name":"AlreadyInitializedERC721","type":"error"},{"inputs":[],"name":"AlreadyInitializedRoyalties","type":"error"},{"inputs":[],"name":"AlreadyInitializedURI","type":"error"},{"inputs":[],"name":"AlreadyOnQuest","type":"error"},{"inputs":[],"name":"AlreadyWhitelisted","type":"error"},{"inputs":[],"name":"AnActiveQuestIsPreventingTransfers","type":"error"},{"inputs":[],"name":"ArrayIndexOverflowsUint128","type":"error"},{"inputs":[],"name":"CallerIsNotTheContractOwner","type":"error"},{"inputs":[],"name":"CallerNotAWhitelistedAdventure","type":"error"},{"inputs":[],"name":"CallerNotApprovedForAdventure","type":"error"},{"inputs":[],"name":"CallerNotTokenOwner","type":"error"},{"inputs":[],"name":"DigiDaigakuGiantDragons__MinterAlreadyWhitelisted","type":"error"},{"inputs":[],"name":"DigiDaigakuGiantDragons__MinterNotWhitelisted","type":"error"},{"inputs":[],"name":"ExceedsMaxRoyaltyFee","type":"error"},{"inputs":[],"name":"InvalidAdventureContract","type":"error"},{"inputs":[],"name":"MaxSimultaneousQuestsCannotBeZero","type":"error"},{"inputs":[],"name":"MaxSimultaneousQuestsExceeded","type":"error"},{"inputs":[],"name":"NewOwnerIsTheZeroAddress","type":"error"},{"inputs":[],"name":"NonexistentToken","type":"error"},{"inputs":[],"name":"NotOnQuest","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerAlreadyInitialized","type":"error"},{"inputs":[],"name":"QuestIdOutOfRange","type":"error"},{"inputs":[],"name":"TooManyActiveQuests","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"AdventureApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"adventure","type":"address"},{"indexed":false,"internalType":"bool","name":"whitelisted","type":"bool"}],"name":"AdventureWhitelistUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"BaseURISet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"dragonTokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"dragonEssenceId","type":"uint256"}],"name":"GiantDragonMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"bool","name":"whitelisted","type":"bool"}],"name":"MinterWhitelistUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"adventure","type":"address"},{"indexed":false,"internalType":"uint256","name":"questId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"},{"indexed":false,"internalType":"bool","name":"booted","type":"bool"}],"name":"QuestUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"RoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"suffixURI","type":"string"}],"name":"SuffixURISet","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"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"activeQuestList","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"activeQuestLookup","outputs":[{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint32","name":"questId","type":"uint32"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"uint32","name":"arrayIndex","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"adventureBurn","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":"adventureSafeTransferFrom","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":"adventureTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"areAdventuresApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"adventure","type":"address"}],"name":"bootFromAllQuests","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"questId","type":"uint256"}],"name":"enterQuest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"questId","type":"uint256"}],"name":"exitQuest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"adventure","type":"address"}],"name":"getActiveQuests","outputs":[{"components":[{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint32","name":"questId","type":"uint32"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"uint32","name":"arrayIndex","type":"uint32"}],"internalType":"struct Quest[]","name":"activeQuests","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"adventure","type":"address"}],"name":"getQuestCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"adventure","type":"address"},{"internalType":"uint256","name":"questId","type":"uint256"}],"name":"getTimeOnQuest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSimultaneousQuests_","type":"uint256"}],"name":"initializeAdventureERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"name":"initializeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"}],"name":"initializeOperatorFilterer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"initializeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"initializeRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"string","name":"suffixURI_","type":"string"}],"name":"initializeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isAdventureWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"adventure","type":"address"},{"internalType":"uint256","name":"questId","type":"uint256"}],"name":"isParticipatingInQuest","outputs":[{"internalType":"bool","name":"participatingInQuest","type":"bool"},{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSimultaneousQuests","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"babyDragonTokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"dragonEssenceTokenIds","type":"uint256[]"}],"name":"mintDragonsBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setAdventuresApprovedForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"suffixURI_","type":"string"}],"name":"setSuffixURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"suffixURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[{"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":[{"internalType":"address","name":"adventure","type":"address"}],"name":"unwhitelistAdventure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"unwhitelistMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"adventure","type":"address"}],"name":"userExitAllQuests","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"adventure","type":"address"},{"internalType":"uint256","name":"questId","type":"uint256"}],"name":"userExitQuest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adventure","type":"address"}],"name":"whitelistAdventure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"whitelistMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAdventureList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAdventures","outputs":[{"internalType":"bool","name":"isWhitelisted","type":"bool"},{"internalType":"uint128","name":"arrayIndex","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedMinters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a090815262000028916017919062000744565b503480156200003657600080fd5b50604051620045ec380380620045ec8339810160408190526200005991620007ea565b60408051602080820183526000808352835191820190935291825290620000803362000193565b81516200009590600190602085019062000744565b508051620000ab90600290602084019062000744565b505050620001126040518060400160405280601781526020017f4469676944616967616b754769616e74447261676f6e730000000000000000008152506040518060400160405280600581526020016411125111d160da1b815250620001e360201b60201c565b620001526040518060600160405280602f8152602001620045bd602f9139604080518082019091526005815264173539b7b760d91b60208201526200024f565b6200015e6064620002ac565b6200016a8282620002fe565b6200018b733cc6cdda760b79bafa08df41ecfa224f810dceb660016200034a565b5050620008d4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620001ed6200037a565b60075460ff161562000212576040516376f1a0b360e01b815260040160405180910390fd5b81516200022790600890602085019062000744565b5080516200023d90600990602084019062000744565b50506007805460ff1916600117905550565b620002596200037a565b601554610100900460ff16156200028357604051635b79f68360e01b815260040160405180910390fd5b6200028e82620003a8565b620002998162000404565b50506015805461ff001916610100179055565b620002b66200037a565b600c5460ff1615620002db57604051630e009cb560e11b815260040160405180910390fd5b620002e68162000455565b600e55600c805460ff19166001908117909155600d55565b620003086200037a565b60155460ff16156200032d57604051639383013960e01b815260040160405180910390fd5b6200033982826200049a565b50506015805460ff19166001179055565b62000376733cc6cdda760b79bafa08df41ecfa224f810dceb660016200052b60201b62001ab91760201c565b5050565b6000546001600160a01b03163314620003a65760405163097b5fdb60e31b815260040160405180910390fd5b565b620003b26200037a565b8051620003c790601690602084019062000744565b507ff9c7803e94e0d3c02900d8a90893a6d5e90dd04d32a4cfe825520f82bf9f32f681604051620003f991906200083f565b60405180910390a150565b6200040e6200037a565b80516200042390601790602084019062000744565b507f65ccd57f8a46e7a6cfc4d214d84094e8ba5561ab50fd328f26e4c44052ffeba081604051620003f991906200083f565b80620004745760405163318ccdef60e11b815260040160405180910390fd5b60648111156200049757604051639cb75faf60e01b815260040160405180910390fd5b50565b620004a46200037a565b6127106001600160601b0382161115620004d157604051631557c04f60e21b815260040160405180910390fd5b620004dd82826200063f565b604080516001600160a01b03841681526001600160601b03831660208201527f23813f5ad446622633cb58c75ceef768a2111751b0f30477a63e06fcaedcff60910160405180910390a15050565b6daaeb6d7670e522a718067333cd4e3b1562000376578015620005bc57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200059f57600080fd5b505af1158015620005b4573d6000803e3d6000fd5b505050505050565b6001600160a01b038216156200060d5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000584565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e4869060240162000584565b6127106001600160601b0382161115620006b35760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200070b5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620006aa565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601355565b828054620007529062000897565b90600052602060002090601f016020900481019282620007765760008555620007c1565b82601f106200079157805160ff1916838001178555620007c1565b82800160010185558215620007c1579182015b82811115620007c1578251825591602001919060010190620007a4565b50620007cf929150620007d3565b5090565b5b80821115620007cf5760008155600101620007d4565b60008060408385031215620007fe57600080fd5b82516001600160a01b03811681146200081657600080fd5b60208401519092506001600160601b03811681146200083457600080fd5b809150509250929050565b600060208083528351808285015260005b818110156200086e5785810183015185820160400152820162000850565b8181111562000881576000604083870101525b50601f01601f1916929092016040019392505050565b600181811c90821680620008ac57607f821691505b60208210811415620008ce57634e487b7160e01b600052602260045260246000fd5b50919050565b613cd980620008e46000396000f3fe608060405234801561001057600080fd5b50600436106103425760003560e01c8063816a1501116101b8578063b39fa00011610104578063e2989f4c116100a2578063e9b4f7aa1161007c578063e9b4f7aa14610898578063ed1e0085146108ab578063f1e923c5146108ce578063f2fde38b146108e157600080fd5b8063e2989f4c14610836578063e370ab4614610849578063e985e9c51461085c57600080fd5b8063c05e2f44116100de578063c05e2f44146107f5578063c87b56dd14610808578063d147c97a1461081b578063d547cfb71461082e57600080fd5b8063b39fa000146107c7578063b3bcea48146107da578063b88d4fde146107e257600080fd5b806395d89b41116101715780639bc17ea41161014b5780639bc17ea41461073c578063a22cb4651461074f578063aa6cab5a14610762578063aca139f7146107b457600080fd5b806395d89b411461070e57806395fa0ff5146107165780639bb257ad1461072957600080fd5b8063816a1501146106a9578063869f9110146106bc5780638be18e57146106c45780638c5f36bb146106d75780638da5cb5b146106ea57806391623718146106fb57600080fd5b80632a55205a1161029257806353401df911610230578063703fa9291161020a578063703fa9291461060957806370a08231146106395780637e10b35b1461065a5780637f1a5ce11461066d57600080fd5b806353401df9146105d057806355f804b3146105e35780636352211e146105f657600080fd5b806341f434341161026c57806341f434341461056d57806342842e0e146105825780634e02c0781461059557806351dadc28146105a857600080fd5b80632a55205a146104fc5780632ebb386a1461052e578063301be7401461054157600080fd5b80630f3d911c116102ff5780631c35ba4e116102d95780631c35ba4e146104b0578063225848cf146104c357806323b872dd146104d6578063247946c9146104e957600080fd5b80630f3d911c146103ea578063113405571461040a57806311ad40811461049d57600080fd5b806301ffc9a71461034757806302fa7c471461036f57806306fdde0314610384578063070cba1714610399578063081812fc146103ac578063095ea7b3146103d7575b600080fd5b61035a6103553660046133fd565b6108f4565b60405190151581526020015b60405180910390f35b61038261037d366004613436565b61093a565b005b61038c6109c6565b60405161036691906134d1565b6103826103a73660046134e4565b610a58565b6103bf6103ba3660046134ff565b610c5e565b6040516001600160a01b039091168152602001610366565b6103826103e5366004613518565b610c85565b6103fd6103f8366004613542565b610c9e565b604051610366919061356e565b6104676104183660046135e6565b601260209081526000938452604080852082529284528284209052825290205460ff81169063ffffffff61010082048116916001600160401b03600160281b82041691600160681b9091041684565b60408051941515855263ffffffff93841660208601526001600160401b0390921691840191909152166060820152608001610366565b6103826104ab36600461362f565b610e9e565b6103826104be366004613695565b610ebe565b6103826104d1366004613723565b610f6c565b6103826104e436600461374f565b610f8b565b6103826104f7366004613836565b610fb6565b61050f61050a36600461362f565b61100c565b604080516001600160a01b039093168352602083019190915201610366565b61038261053c366004613542565b6110ba565b61035a61054f3660046134e4565b6001600160a01b03166000908152600b602052604090205460ff1690565b6103bf6daaeb6d7670e522a718067333cd4e81565b61038261059036600461374f565b6110d8565b6103826105a3366004613899565b6110fd565b6105bb6105b6366004613899565b61111a565b60405163ffffffff9091168152602001610366565b6103826105de36600461362f565b611170565b6103826105f13660046138be565b61118c565b6103bf6106043660046134ff565b6111e2565b61061c610617366004613899565b611247565b604080519315158452602084019290925290820152606001610366565b61064c6106473660046134e4565b6112cb565b604051908152602001610366565b6103826106683660046134e4565b611351565b61035a61067b3660046138f2565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205460ff1690565b61064c6106b7366004613899565b61150a565b600e5461064c565b6103826106d23660046138be565b61153f565b6103826106e53660046134e4565b61158a565b6000546001600160a01b03166103bf565b61064c610709366004613542565b6115c0565b61038c6115e8565b610382610724366004613436565b6115f7565b6103826107373660046134e4565b61163e565b61038261074a3660046134ff565b6116a1565b61038261075d366004613723565b6116c8565b6107956107703660046134e4565b600b6020526000908152604090205460ff81169061010090046001600160801b031682565b6040805192151583526001600160801b03909116602083015201610366565b6103826107c236600461374f565b6116dc565b6103826107d53660046134ff565b61171a565b61038c611767565b6103826107f036600461391c565b6117f5565b610382610803366004613723565b611822565b61038c6108163660046134ff565b6118bb565b610382610829366004613836565b611952565b61038c6119b7565b6103bf6108443660046134ff565b6119c4565b61038261085736600461374f565b6119ee565b61035a61086a3660046138f2565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6103826108a63660046134e4565b611a0f565b61035a6108b93660046134e4565b60186020526000908152604090205460ff1681565b6103826108dc366004613542565b611a6d565b6103826108ef3660046134e4565b611a8a565b60006001600160e01b031982166395fa0ff560e01b148061092557506001600160e01b0319821663247946c960e01b145b80610934575061093482611bbe565b92915050565b610942611be3565b6127106001600160601b038216111561096e57604051631557c04f60e21b815260040160405180910390fd5b6109788282611c10565b604080516001600160a01b03841681526001600160601b03831660208201527f23813f5ad446622633cb58c75ceef768a2111751b0f30477a63e06fcaedcff60910160405180910390a15050565b6060600880546109d590613997565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0190613997565b8015610a4e5780601f10610a2357610100808354040283529160200191610a4e565b820191906000526020600020905b815481529060010190602001808311610a3157829003601f168201915b5050505050905090565b610a60611be3565b6001600160a01b0381166000908152600b602052604090205460ff16610a9957604051630b094f2760e31b815260040160405180910390fd5b6001600160a01b0381166000908152600b6020526040812054600a546101009091046001600160801b03169190610ad2906001906139e8565b905080826001600160801b031614610bce57600a8181548110610af757610af76139ff565b600091825260209091200154600a80546001600160a01b03909216916001600160801b038516908110610b2c57610b2c6139ff565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081600b6000600a856001600160801b031681548110610b7b57610b7b6139ff565b60009182526020808320909101546001600160a01b03168352820192909252604001902080546001600160801b03929092166101000270ffffffffffffffffffffffffffffffff00199092169190911790555b600a805480610bdf57610bdf613a15565b60008281526020808220600019908401810180546001600160a01b03191690559092019092556001600160a01b038516808352600b8252604080842080546001600160881b031916905551928352917fe152843d7324c2cb58e95865f2b78d38f2dab6ce9eadf09438ec2c41e78c705e910160405180910390a2505050565b6000610c6982611d0d565b506000908152600560205260409020546001600160a01b031690565b81610c8f81611d6c565b610c998383611e34565b505050565b60606000610cac84846115c0565b9050806001600160401b03811115610cc657610cc661378b565b604051908082528060200260200182016040528015610d1857816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610ce45790505b5060008581526011602090815260408083206001600160a01b0388168452825280832080548251818502810185019093528083529496509293909291830182828015610daf57602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411610d725790505b5050505050905060005b82811015610e955760008681526012602090815260408083206001600160a01b038916845290915281208351909190849084908110610dfa57610dfa6139ff565b60209081029190910181015163ffffffff90811683528282019390935260409182016000208251608081018452905460ff81161515825261010081048516928201929092526001600160401b03600160281b83041692810192909252600160681b900490911660608201528451859083908110610e7957610e796139ff565b602002602001018190525080610e8e90613a2b565b9050610db9565b50505092915050565b610ea6611f45565b610eaf82611f6b565b610eba823383611f9a565b5050565b610ec733612369565b60005b81811015610f6457610ef486868684818110610ee857610ee86139ff565b905060200201356123a2565b828282818110610f0657610f066139ff565b90506020020135858583818110610f1f57610f1f6139ff565b90506020020135876001600160a01b03167f36e764f92c1cd42070fc439a6dd8996b2dcf00b8fbad487a0767868bb9bc317a60405160405180910390a4600101610eca565b505050505050565b610eba733cc6cdda760b79bafa08df41ecfa224f810dceb66001611ab9565b826001600160a01b0381163314610fa557610fa533611d6c565b610fb08484846124f0565b50505050565b610fbe611be3565b601554610100900460ff1615610fe757604051635b79f68360e01b815260040160405180910390fd5b610ff08261118c565b610ff98161153f565b50506015805461ff001916610100179055565b60008281526014602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916110815750604080518082019091526013546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906110a0906001600160601b031687613a46565b6110aa9190613a7b565b91519350909150505b9250929050565b6110c381612521565b6110cc8261255b565b610eba8282600061258c565b826001600160a01b03811633146110f2576110f233611d6c565b610fb084848461284a565b61110682612521565b61110f8361255b565b610c99838383611f9a565b6011602052826000526040600020602052816000526040600020818154811061114257600080fd5b906000526020600020906008918282040191900660040292509250509054906101000a900463ffffffff1681565b611178611f45565b61118182611f6b565b610eba823383612865565b611194611be3565b80516111a790601690602084019061332d565b507ff9c7803e94e0d3c02900d8a90893a6d5e90dd04d32a4cfe825520f82bf9f32f6816040516111d791906134d1565b60405180910390a150565b6000818152600360205260408120546001600160a01b0316806109345760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064015b60405180910390fd5b6000808063ffffffff841115611270576040516307f159d160e31b815260040160405180910390fd5b50505060009283526012602090815260408085206001600160a01b0394909416855292815282842063ffffffff9283168552905291205460ff811692600160281b82046001600160401b031692600160681b90920490911690565b60006001600160a01b0382166113355760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161123e565b506001600160a01b031660009081526004602052604090205490565b611359611be3565b6001600160a01b0381166000908152600b602052604090205460ff16156113935760405163b73e95e160e01b815260040160405180910390fd5b6040516301ffc9a760e01b81526325df830760e21b60048201526001600160a01b038216906301ffc9a79060240160206040518083038186803b1580156113d957600080fd5b505afa1580156113ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114119190613a8f565b61142e576040516390c51dd760e01b815260040160405180910390fd5b600a546001600160801b0381111561145957604051636ab8f7f960e11b815260040160405180910390fd5b6001600160a01b0382166000818152600b60209081526040808320805460016001600160881b03199091166101006001600160801b03891602178117909155600a8054808301825594527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a890930180546001600160a01b03191685179055519182527fe152843d7324c2cb58e95865f2b78d38f2dab6ce9eadf09438ec2c41e78c705e910160405180910390a25050565b600080600061151a868686611247565b50915091508161152b576000611535565b61153581426139e8565b9695505050505050565b611547611be3565b805161155a90601790602084019061332d565b507f65ccd57f8a46e7a6cfc4d214d84094e8ba5561ab50fd328f26e4c44052ffeba0816040516111d791906134d1565b6000546001600160a01b0316156115b457604051631360e86560e31b815260040160405180910390fd5b6115bd81612af5565b50565b60009182526011602090815260408084206001600160a01b0393909316845291905290205490565b6060600980546109d590613997565b6115ff611be3565b60155460ff161561162357604051639383013960e01b815260040160405180910390fd5b61162d828261093a565b50506015805460ff19166001179055565b611646611be3565b61164f81612b45565b6001600160a01b038116600081815260186020526040808220805460ff1916600190811790915590519092917f04eca792f863d6d8cd8aba48f8ec67d4db239c7a3cb7ea94daffa825dafa676891a350565b6116a9611f45565b6116b281611f6b565b6002600d556116c081612b7f565b506001600d55565b816116d281611d6c565b610c998383612c26565b6116e4611f45565b6116ed81611f6b565b6002600d8190555061171083838360405180602001604052806000815250612c31565b50506001600d5550565b611722611be3565b600c5460ff161561174657604051630e009cb560e11b815260040160405180910390fd5b61174f81612c64565b600e55600c805460ff19166001908117909155600d55565b6017805461177490613997565b80601f01602080910402602001604051908101604052809291908181526020018280546117a090613997565b80156117ed5780601f106117c2576101008083540402835291602001916117ed565b820191906000526020600020905b8154815290600101906020018083116117d057829003601f168201915b505050505081565b836001600160a01b038116331461180f5761180f33611d6c565b61181b85858585612ca4565b5050505050565b336001600160a01b03831681141561184d576040516353ff677360e11b815260040160405180910390fd5b6001600160a01b03818116600081815260106020908152604080832094881680845294825291829020805460ff191687151590811790915591519182527f83347dcc77580bb841ae3bac834b5b8ac5ccd2326276d265e638987eb6b2c05691015b60405180910390a3505050565b6000818152600360205260409020546060906001600160a01b03166118f35760405163163a09e160e31b815260040160405180910390fd5b60006118fd612cd6565b9050600081511161191d576040518060200160405280600081525061194b565b8061192784612ce5565b601760405160200161193b93929190613aac565b6040516020818303038152906040525b9392505050565b61195a611be3565b60075460ff161561197e576040516376f1a0b360e01b815260040160405180910390fd5b815161199190600890602085019061332d565b5080516119a590600990602084019061332d565b50506007805460ff1916600117905550565b6016805461177490613997565b600a81815481106119d457600080fd5b6000918252602090912001546001600160a01b0316905081565b6119f6611f45565b6119ff81611f6b565b6002600d55611710838383612dea565b611a17611be3565b611a2081612369565b6001600160a01b038116600081815260186020526040808220805460ff19169055519091907f04eca792f863d6d8cd8aba48f8ec67d4db239c7a3cb7ea94daffa825dafa6768908390a350565b611a75611be3565b611a7e81612521565b610eba8282600161258c565b611a92611be3565b6001600160a01b0381166115b45760405163f82d512f60e01b815260040160405180910390fd5b6daaeb6d7670e522a718067333cd4e3b15610eba578015611b3e57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015611b2a57600080fd5b505af1158015610f64573d6000803e3d6000fd5b6001600160a01b03821615611b8d5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401611b10565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401611b10565b60006001600160e01b0319821663152a902d60e11b1480610934575061093482612f91565b6000546001600160a01b03163314611c0e5760405163097b5fdb60e31b815260040160405180910390fd5b565b6127106001600160601b0382161115611c7e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161123e565b6001600160a01b038216611cd45760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161123e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601355565b6000818152600360205260409020546001600160a01b03166115bd5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161123e565b6daaeb6d7670e522a718067333cd4e3b156115bd57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015611dd457600080fd5b505afa158015611de8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0c9190613a8f565b6115bd57604051633b79c77360e21b81526001600160a01b038216600482015260240161123e565b6000611e3f826111e2565b9050806001600160a01b0316836001600160a01b03161415611ead5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161123e565b336001600160a01b0382161480611ec95750611ec9813361086a565b611f3b5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161123e565b610c998383612fd0565b611f4e3361054f565b611c0e57604051639eea455560e01b815260040160405180910390fd5b611f7d611f77826111e2565b3361067b565b6115bd576040516306c5be1b60e31b815260040160405180910390fd5b6000806000611faa868686611247565b92509250925082611fce5760405163107acf8360e11b815260040160405180910390fd5b8360006001611fdd89896115c0565b611fe791906139e8565b905080831461214c5760008881526011602090815260408083206001600160a01b038b1684529091529020805482908110612024576120246139ff565b600091825260208083206008830401548b84526011825260408085206001600160a01b038d1686529092529220805460079092166004026101000a90920463ffffffff1691908590811061207a5761207a6139ff565b600091825260208083206008830401805460079093166004026101000a63ffffffff8181021990941695909316929092029390931790558981526012825260408082206001600160a01b038b168084529084528183208c8452601185528284209184529352812080548693929190859081106120f8576120f86139ff565b6000918252602080832060088304015460079092166004026101000a90910463ffffffff90811684529083019390935260409091019020805463ffffffff60681b1916600160681b93909216929092021790555b60008881526011602090815260408083206001600160a01b038b168452909152902080548061217d5761217d613a15565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a810219909116909155929093558a81526012835260408082206001600160a01b038c1683528452808220928616825291909252812080546001600160881b03191690556121f1896111e2565b9050876001600160a01b0316816001600160a01b03168a7f1171d71105bda3fa01f863317a96e01684416ccb1e5416de7c09510bdfbe6aee8a60008060405161224f9392919092835290151560208301521515604082015260600190565b60405180910390a4876001600160a01b03166392b612946040518163ffffffff1660e01b815260040160206040518083038186803b15801561229057600080fd5b505afa1580156122a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c89190613a8f565b156122ee576000898152600f6020526040812080549091906122e990613b70565b909155505b604051636d4229c960e01b81526001600160a01b038281166004830152602482018b90526044820189905260648201879052891690636d4229c990608401600060405180830381600087803b15801561234657600080fd5b505af115801561235a573d6000803e3d6000fd5b50505050505050505050505050565b6001600160a01b03811660009081526018602052604090205460ff166115bd576040516343dc699b60e01b815260040160405180910390fd5b6001600160a01b0382166123f85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161123e565b6000818152600360205260409020546001600160a01b03161561245d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161123e565b6124696000838361303e565b6001600160a01b0382166000908152600460205260408120805460019290612492908490613b87565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6124fa338261306b565b6125165760405162461bcd60e51b815260040161123e90613b9f565b610c99838383612dea565b6001600160a01b0381166000908152600b602052604090205460ff16156115bd5760405163c0f8cffb60e01b815260040160405180910390fd5b33612565826111e2565b6001600160a01b0316146115bd5760405163b23b68b760e01b815260040160405180910390fd5b6000612597846111e2565b905060006125a585856115c0565b9050836001600160a01b03166392b612946040518163ffffffff1660e01b815260040160206040518083038186803b1580156125e057600080fd5b505afa1580156125f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126189190613a8f565b15612641576000858152600f60205260408120805483929061263b9084906139e8565b90915550505b60005b8181101561281e5760008681526011602090815260408083206001600160a01b03891684529091528120805483908110612680576126806139ff565b600091825260208083206008830401548a84526012825260408085206001600160a01b038c8116808852918552828720600790961660040261010090810a90940463ffffffff9081168089529686528388208451608081018652905460ff811615158252958604821681880152600160281b86046001600160401b0316818601819052600160681b9096049091166060808301919091528451888152968701989098528c151593860193909352949650909491939092908916918c917f1171d71105bda3fa01f863317a96e01684416ccb1e5416de7c09510bdfbe6aee910160405180910390a460008981526012602090815260408083206001600160a01b038c811680865291845282852063ffffffff891680875294529382902080546001600160881b03191690559051636d4229c960e01b81529289166004840152602483018c905260448301919091526064820183905290636d4229c990608401600060405180830381600087803b1580156127f857600080fd5b505af115801561280c573d6000803e3d6000fd5b50505050836001019350505050612644565b5060008581526011602090815260408083206001600160a01b0388168452909152812061181b916133b1565b610c99838383604051806020016040528060008152506117f5565b6000612872848484611247565b50509050801561289557604051637f53cfe360e01b815260040160405180910390fd5b60006128a185856115c0565b9050600e5481106128c55760405163f8315a8760e01b815260040160405180910390fd5b60008581526011602090815260408083206001600160a01b03881680855290835281842080546001808201835591865284862060088204018054600790921660040261010090810a63ffffffff818102199094168c8516918202179092558c88526012875285882094885293865284872081885290955292852080546cffffffffffffffff00000000ff1916600160281b426001600160401b0316021790911770ffffffff0000000000000000ffffffff0019169190930263ffffffff60681b191617600160681b9185169190910217905583906129a2876111e2565b604080518781526001602082015260008183015290519192506001600160a01b0388811692908416918a917f1171d71105bda3fa01f863317a96e01684416ccb1e5416de7c09510bdfbe6aee9181900360600190a4856001600160a01b03166392b612946040518163ffffffff1660e01b815260040160206040518083038186803b158015612a3057600080fd5b505afa158015612a44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a689190613a8f565b15612a83576000878152600f60205260409020805460010190555b60405163688a374160e01b81526001600160a01b038281166004830152602482018990526044820187905287169063688a374190606401600060405180830381600087803b158015612ad457600080fd5b505af1158015612ae8573d6000803e3d6000fd5b5050505050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526018602052604090205460ff16156115bd57604051637e23155b60e01b815260040160405180910390fd5b6000612b8a826111e2565b9050612b988160008461303e565b612ba3600083612fd0565b6001600160a01b0381166000908152600460205260408120805460019290612bcc9084906139e8565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610eba3383836130e9565b612c3c848484612dea565b612c48848484846131b0565b610fb05760405162461bcd60e51b815260040161123e90613bed565b80612c825760405163318ccdef60e11b815260040160405180910390fd5b60648111156115bd57604051639cb75faf60e01b815260040160405180910390fd5b612cae338361306b565b612cca5760405162461bcd60e51b815260040161123e90613b9f565b610fb084848484612c31565b6060601680546109d590613997565b606081612d095750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d335780612d1d81613a2b565b9150612d2c9050600a83613a7b565b9150612d0d565b6000816001600160401b03811115612d4d57612d4d61378b565b6040519080825280601f01601f191660200182016040528015612d77576020820181803683370190505b5090505b8415612de257612d8c6001836139e8565b9150612d99600a86613c3f565b612da4906030613b87565b60f81b818381518110612db957612db96139ff565b60200101906001600160f81b031916908160001a905350612ddb600a86613a7b565b9450612d7b565b949350505050565b826001600160a01b0316612dfd826111e2565b6001600160a01b031614612e615760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161123e565b6001600160a01b038216612ec35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161123e565b612ece83838361303e565b612ed9600082612fd0565b6001600160a01b0383166000908152600460205260408120805460019290612f029084906139e8565b90915550506001600160a01b0382166000908152600460205260408120805460019290612f30908490613b87565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160e01b0319821663f9f7ab4160e01b1480612fc157506001600160e01b0319821662059cfd60ed1b145b806109345750610934826132bd565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613005826111e2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600f602052604090205415610c99576040516302579f0160e61b815260040160405180910390fd5b600080613077836111e2565b9050806001600160a01b0316846001600160a01b031614806130be57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80612de25750836001600160a01b03166130d784610c5e565b6001600160a01b031614949350505050565b816001600160a01b0316836001600160a01b0316141561314b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161123e565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191016118ae565b60006001600160a01b0384163b156132b257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131f4903390899088908890600401613c53565b602060405180830381600087803b15801561320e57600080fd5b505af192505050801561323e575060408051601f3d908101601f1916820190925261323b91810190613c86565b60015b613298573d80801561326c576040519150601f19603f3d011682016040523d82523d6000602084013e613271565b606091505b5080516132905760405162461bcd60e51b815260040161123e90613bed565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612de2565b506001949350505050565b60006001600160e01b031982166368a3e4bd60e11b148061093457506109348260006001600160e01b031982166380ac58cd60e01b148061330e57506001600160e01b03198216635b5e139f60e01b145b8061093457506301ffc9a760e01b6001600160e01b0319831614610934565b82805461333990613997565b90600052602060002090601f01602090048101928261335b57600085556133a1565b82601f1061337457805160ff19168380011785556133a1565b828001600101855582156133a1579182015b828111156133a1578251825591602001919060010190613386565b506133ad9291506133d2565b5090565b5080546000825560070160089004906000526020600020908101906115bd91905b5b808211156133ad57600081556001016133d3565b6001600160e01b0319811681146115bd57600080fd5b60006020828403121561340f57600080fd5b813561194b816133e7565b80356001600160a01b038116811461343157600080fd5b919050565b6000806040838503121561344957600080fd5b6134528361341a565b915060208301356001600160601b038116811461346e57600080fd5b809150509250929050565b60005b8381101561349457818101518382015260200161347c565b83811115610fb05750506000910152565b600081518084526134bd816020860160208601613479565b601f01601f19169290920160200192915050565b60208152600061194b60208301846134a5565b6000602082840312156134f657600080fd5b61194b8261341a565b60006020828403121561351157600080fd5b5035919050565b6000806040838503121561352b57600080fd5b6135348361341a565b946020939093013593505050565b6000806040838503121561355557600080fd5b823591506135656020840161341a565b90509250929050565b602080825282518282018190526000919060409081850190868401855b828110156135d95781518051151585528681015163ffffffff90811688870152868201516001600160401b03168787015260609182015116908501526080909301929085019060010161358b565b5091979650505050505050565b6000806000606084860312156135fb57600080fd5b8335925061360b6020850161341a565b9150604084013563ffffffff8116811461362457600080fd5b809150509250925092565b6000806040838503121561364257600080fd5b50508035926020909101359150565b60008083601f84011261366357600080fd5b5081356001600160401b0381111561367a57600080fd5b6020830191508360208260051b85010111156110b357600080fd5b6000806000806000606086880312156136ad57600080fd5b6136b68661341a565b945060208601356001600160401b03808211156136d257600080fd5b6136de89838a01613651565b909650945060408801359150808211156136f757600080fd5b5061370488828901613651565b969995985093965092949392505050565b80151581146115bd57600080fd5b6000806040838503121561373657600080fd5b61373f8361341a565b9150602083013561346e81613715565b60008060006060848603121561376457600080fd5b61376d8461341a565b925061377b6020850161341a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156137bb576137bb61378b565b604051601f8501601f19908116603f011681019082821181831017156137e3576137e361378b565b816040528093508581528686860111156137fc57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261382757600080fd5b61194b838335602085016137a1565b6000806040838503121561384957600080fd5b82356001600160401b038082111561386057600080fd5b61386c86838701613816565b9350602085013591508082111561388257600080fd5b5061388f85828601613816565b9150509250929050565b6000806000606084860312156138ae57600080fd5b8335925061377b6020850161341a565b6000602082840312156138d057600080fd5b81356001600160401b038111156138e657600080fd5b612de284828501613816565b6000806040838503121561390557600080fd5b61390e8361341a565b91506135656020840161341a565b6000806000806080858703121561393257600080fd5b61393b8561341a565b93506139496020860161341a565b92506040850135915060608501356001600160401b0381111561396b57600080fd5b8501601f8101871361397c57600080fd5b61398b878235602084016137a1565b91505092959194509250565b600181811c908216806139ab57607f821691505b602082108114156139cc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156139fa576139fa6139d2565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000600019821415613a3f57613a3f6139d2565b5060010190565b6000816000190483118215151615613a6057613a606139d2565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613a8a57613a8a613a65565b500490565b600060208284031215613aa157600080fd5b815161194b81613715565b600084516020613abf8285838a01613479565b855191840191613ad28184848a01613479565b8554920191600090600181811c9080831680613aef57607f831692505b858310811415613b0d57634e487b7160e01b85526022600452602485fd5b808015613b215760018114613b3257613b5f565b60ff19851688528388019550613b5f565b60008b81526020902060005b85811015613b575781548a820152908401908801613b3e565b505083880195505b50939b9a5050505050505050505050565b600081613b7f57613b7f6139d2565b506000190190565b60008219821115613b9a57613b9a6139d2565b500190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082613c4e57613c4e613a65565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611535908301846134a5565b600060208284031215613c9857600080fd5b815161194b816133e756fea2646970667358221220762ac9dbc211e95d7b91a546505380d1361358a71218440fd0c840b5765da38f64736f6c6343000809003368747470733a2f2f6469676964616967616b752e636f6d2f6769616e742d647261676f6e732f6d657461646174612f000000000000000000000000fd8541601a98346738834da26f752228ad97344700000000000000000000000000000000000000000000000000000000000003e8
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103425760003560e01c8063816a1501116101b8578063b39fa00011610104578063e2989f4c116100a2578063e9b4f7aa1161007c578063e9b4f7aa14610898578063ed1e0085146108ab578063f1e923c5146108ce578063f2fde38b146108e157600080fd5b8063e2989f4c14610836578063e370ab4614610849578063e985e9c51461085c57600080fd5b8063c05e2f44116100de578063c05e2f44146107f5578063c87b56dd14610808578063d147c97a1461081b578063d547cfb71461082e57600080fd5b8063b39fa000146107c7578063b3bcea48146107da578063b88d4fde146107e257600080fd5b806395d89b41116101715780639bc17ea41161014b5780639bc17ea41461073c578063a22cb4651461074f578063aa6cab5a14610762578063aca139f7146107b457600080fd5b806395d89b411461070e57806395fa0ff5146107165780639bb257ad1461072957600080fd5b8063816a1501146106a9578063869f9110146106bc5780638be18e57146106c45780638c5f36bb146106d75780638da5cb5b146106ea57806391623718146106fb57600080fd5b80632a55205a1161029257806353401df911610230578063703fa9291161020a578063703fa9291461060957806370a08231146106395780637e10b35b1461065a5780637f1a5ce11461066d57600080fd5b806353401df9146105d057806355f804b3146105e35780636352211e146105f657600080fd5b806341f434341161026c57806341f434341461056d57806342842e0e146105825780634e02c0781461059557806351dadc28146105a857600080fd5b80632a55205a146104fc5780632ebb386a1461052e578063301be7401461054157600080fd5b80630f3d911c116102ff5780631c35ba4e116102d95780631c35ba4e146104b0578063225848cf146104c357806323b872dd146104d6578063247946c9146104e957600080fd5b80630f3d911c146103ea578063113405571461040a57806311ad40811461049d57600080fd5b806301ffc9a71461034757806302fa7c471461036f57806306fdde0314610384578063070cba1714610399578063081812fc146103ac578063095ea7b3146103d7575b600080fd5b61035a6103553660046133fd565b6108f4565b60405190151581526020015b60405180910390f35b61038261037d366004613436565b61093a565b005b61038c6109c6565b60405161036691906134d1565b6103826103a73660046134e4565b610a58565b6103bf6103ba3660046134ff565b610c5e565b6040516001600160a01b039091168152602001610366565b6103826103e5366004613518565b610c85565b6103fd6103f8366004613542565b610c9e565b604051610366919061356e565b6104676104183660046135e6565b601260209081526000938452604080852082529284528284209052825290205460ff81169063ffffffff61010082048116916001600160401b03600160281b82041691600160681b9091041684565b60408051941515855263ffffffff93841660208601526001600160401b0390921691840191909152166060820152608001610366565b6103826104ab36600461362f565b610e9e565b6103826104be366004613695565b610ebe565b6103826104d1366004613723565b610f6c565b6103826104e436600461374f565b610f8b565b6103826104f7366004613836565b610fb6565b61050f61050a36600461362f565b61100c565b604080516001600160a01b039093168352602083019190915201610366565b61038261053c366004613542565b6110ba565b61035a61054f3660046134e4565b6001600160a01b03166000908152600b602052604090205460ff1690565b6103bf6daaeb6d7670e522a718067333cd4e81565b61038261059036600461374f565b6110d8565b6103826105a3366004613899565b6110fd565b6105bb6105b6366004613899565b61111a565b60405163ffffffff9091168152602001610366565b6103826105de36600461362f565b611170565b6103826105f13660046138be565b61118c565b6103bf6106043660046134ff565b6111e2565b61061c610617366004613899565b611247565b604080519315158452602084019290925290820152606001610366565b61064c6106473660046134e4565b6112cb565b604051908152602001610366565b6103826106683660046134e4565b611351565b61035a61067b3660046138f2565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205460ff1690565b61064c6106b7366004613899565b61150a565b600e5461064c565b6103826106d23660046138be565b61153f565b6103826106e53660046134e4565b61158a565b6000546001600160a01b03166103bf565b61064c610709366004613542565b6115c0565b61038c6115e8565b610382610724366004613436565b6115f7565b6103826107373660046134e4565b61163e565b61038261074a3660046134ff565b6116a1565b61038261075d366004613723565b6116c8565b6107956107703660046134e4565b600b6020526000908152604090205460ff81169061010090046001600160801b031682565b6040805192151583526001600160801b03909116602083015201610366565b6103826107c236600461374f565b6116dc565b6103826107d53660046134ff565b61171a565b61038c611767565b6103826107f036600461391c565b6117f5565b610382610803366004613723565b611822565b61038c6108163660046134ff565b6118bb565b610382610829366004613836565b611952565b61038c6119b7565b6103bf6108443660046134ff565b6119c4565b61038261085736600461374f565b6119ee565b61035a61086a3660046138f2565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6103826108a63660046134e4565b611a0f565b61035a6108b93660046134e4565b60186020526000908152604090205460ff1681565b6103826108dc366004613542565b611a6d565b6103826108ef3660046134e4565b611a8a565b60006001600160e01b031982166395fa0ff560e01b148061092557506001600160e01b0319821663247946c960e01b145b80610934575061093482611bbe565b92915050565b610942611be3565b6127106001600160601b038216111561096e57604051631557c04f60e21b815260040160405180910390fd5b6109788282611c10565b604080516001600160a01b03841681526001600160601b03831660208201527f23813f5ad446622633cb58c75ceef768a2111751b0f30477a63e06fcaedcff60910160405180910390a15050565b6060600880546109d590613997565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0190613997565b8015610a4e5780601f10610a2357610100808354040283529160200191610a4e565b820191906000526020600020905b815481529060010190602001808311610a3157829003601f168201915b5050505050905090565b610a60611be3565b6001600160a01b0381166000908152600b602052604090205460ff16610a9957604051630b094f2760e31b815260040160405180910390fd5b6001600160a01b0381166000908152600b6020526040812054600a546101009091046001600160801b03169190610ad2906001906139e8565b905080826001600160801b031614610bce57600a8181548110610af757610af76139ff565b600091825260209091200154600a80546001600160a01b03909216916001600160801b038516908110610b2c57610b2c6139ff565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081600b6000600a856001600160801b031681548110610b7b57610b7b6139ff565b60009182526020808320909101546001600160a01b03168352820192909252604001902080546001600160801b03929092166101000270ffffffffffffffffffffffffffffffff00199092169190911790555b600a805480610bdf57610bdf613a15565b60008281526020808220600019908401810180546001600160a01b03191690559092019092556001600160a01b038516808352600b8252604080842080546001600160881b031916905551928352917fe152843d7324c2cb58e95865f2b78d38f2dab6ce9eadf09438ec2c41e78c705e910160405180910390a2505050565b6000610c6982611d0d565b506000908152600560205260409020546001600160a01b031690565b81610c8f81611d6c565b610c998383611e34565b505050565b60606000610cac84846115c0565b9050806001600160401b03811115610cc657610cc661378b565b604051908082528060200260200182016040528015610d1857816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610ce45790505b5060008581526011602090815260408083206001600160a01b0388168452825280832080548251818502810185019093528083529496509293909291830182828015610daf57602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411610d725790505b5050505050905060005b82811015610e955760008681526012602090815260408083206001600160a01b038916845290915281208351909190849084908110610dfa57610dfa6139ff565b60209081029190910181015163ffffffff90811683528282019390935260409182016000208251608081018452905460ff81161515825261010081048516928201929092526001600160401b03600160281b83041692810192909252600160681b900490911660608201528451859083908110610e7957610e796139ff565b602002602001018190525080610e8e90613a2b565b9050610db9565b50505092915050565b610ea6611f45565b610eaf82611f6b565b610eba823383611f9a565b5050565b610ec733612369565b60005b81811015610f6457610ef486868684818110610ee857610ee86139ff565b905060200201356123a2565b828282818110610f0657610f066139ff565b90506020020135858583818110610f1f57610f1f6139ff565b90506020020135876001600160a01b03167f36e764f92c1cd42070fc439a6dd8996b2dcf00b8fbad487a0767868bb9bc317a60405160405180910390a4600101610eca565b505050505050565b610eba733cc6cdda760b79bafa08df41ecfa224f810dceb66001611ab9565b826001600160a01b0381163314610fa557610fa533611d6c565b610fb08484846124f0565b50505050565b610fbe611be3565b601554610100900460ff1615610fe757604051635b79f68360e01b815260040160405180910390fd5b610ff08261118c565b610ff98161153f565b50506015805461ff001916610100179055565b60008281526014602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916110815750604080518082019091526013546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906110a0906001600160601b031687613a46565b6110aa9190613a7b565b91519350909150505b9250929050565b6110c381612521565b6110cc8261255b565b610eba8282600061258c565b826001600160a01b03811633146110f2576110f233611d6c565b610fb084848461284a565b61110682612521565b61110f8361255b565b610c99838383611f9a565b6011602052826000526040600020602052816000526040600020818154811061114257600080fd5b906000526020600020906008918282040191900660040292509250509054906101000a900463ffffffff1681565b611178611f45565b61118182611f6b565b610eba823383612865565b611194611be3565b80516111a790601690602084019061332d565b507ff9c7803e94e0d3c02900d8a90893a6d5e90dd04d32a4cfe825520f82bf9f32f6816040516111d791906134d1565b60405180910390a150565b6000818152600360205260408120546001600160a01b0316806109345760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064015b60405180910390fd5b6000808063ffffffff841115611270576040516307f159d160e31b815260040160405180910390fd5b50505060009283526012602090815260408085206001600160a01b0394909416855292815282842063ffffffff9283168552905291205460ff811692600160281b82046001600160401b031692600160681b90920490911690565b60006001600160a01b0382166113355760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161123e565b506001600160a01b031660009081526004602052604090205490565b611359611be3565b6001600160a01b0381166000908152600b602052604090205460ff16156113935760405163b73e95e160e01b815260040160405180910390fd5b6040516301ffc9a760e01b81526325df830760e21b60048201526001600160a01b038216906301ffc9a79060240160206040518083038186803b1580156113d957600080fd5b505afa1580156113ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114119190613a8f565b61142e576040516390c51dd760e01b815260040160405180910390fd5b600a546001600160801b0381111561145957604051636ab8f7f960e11b815260040160405180910390fd5b6001600160a01b0382166000818152600b60209081526040808320805460016001600160881b03199091166101006001600160801b03891602178117909155600a8054808301825594527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a890930180546001600160a01b03191685179055519182527fe152843d7324c2cb58e95865f2b78d38f2dab6ce9eadf09438ec2c41e78c705e910160405180910390a25050565b600080600061151a868686611247565b50915091508161152b576000611535565b61153581426139e8565b9695505050505050565b611547611be3565b805161155a90601790602084019061332d565b507f65ccd57f8a46e7a6cfc4d214d84094e8ba5561ab50fd328f26e4c44052ffeba0816040516111d791906134d1565b6000546001600160a01b0316156115b457604051631360e86560e31b815260040160405180910390fd5b6115bd81612af5565b50565b60009182526011602090815260408084206001600160a01b0393909316845291905290205490565b6060600980546109d590613997565b6115ff611be3565b60155460ff161561162357604051639383013960e01b815260040160405180910390fd5b61162d828261093a565b50506015805460ff19166001179055565b611646611be3565b61164f81612b45565b6001600160a01b038116600081815260186020526040808220805460ff1916600190811790915590519092917f04eca792f863d6d8cd8aba48f8ec67d4db239c7a3cb7ea94daffa825dafa676891a350565b6116a9611f45565b6116b281611f6b565b6002600d556116c081612b7f565b506001600d55565b816116d281611d6c565b610c998383612c26565b6116e4611f45565b6116ed81611f6b565b6002600d8190555061171083838360405180602001604052806000815250612c31565b50506001600d5550565b611722611be3565b600c5460ff161561174657604051630e009cb560e11b815260040160405180910390fd5b61174f81612c64565b600e55600c805460ff19166001908117909155600d55565b6017805461177490613997565b80601f01602080910402602001604051908101604052809291908181526020018280546117a090613997565b80156117ed5780601f106117c2576101008083540402835291602001916117ed565b820191906000526020600020905b8154815290600101906020018083116117d057829003601f168201915b505050505081565b836001600160a01b038116331461180f5761180f33611d6c565b61181b85858585612ca4565b5050505050565b336001600160a01b03831681141561184d576040516353ff677360e11b815260040160405180910390fd5b6001600160a01b03818116600081815260106020908152604080832094881680845294825291829020805460ff191687151590811790915591519182527f83347dcc77580bb841ae3bac834b5b8ac5ccd2326276d265e638987eb6b2c05691015b60405180910390a3505050565b6000818152600360205260409020546060906001600160a01b03166118f35760405163163a09e160e31b815260040160405180910390fd5b60006118fd612cd6565b9050600081511161191d576040518060200160405280600081525061194b565b8061192784612ce5565b601760405160200161193b93929190613aac565b6040516020818303038152906040525b9392505050565b61195a611be3565b60075460ff161561197e576040516376f1a0b360e01b815260040160405180910390fd5b815161199190600890602085019061332d565b5080516119a590600990602084019061332d565b50506007805460ff1916600117905550565b6016805461177490613997565b600a81815481106119d457600080fd5b6000918252602090912001546001600160a01b0316905081565b6119f6611f45565b6119ff81611f6b565b6002600d55611710838383612dea565b611a17611be3565b611a2081612369565b6001600160a01b038116600081815260186020526040808220805460ff19169055519091907f04eca792f863d6d8cd8aba48f8ec67d4db239c7a3cb7ea94daffa825dafa6768908390a350565b611a75611be3565b611a7e81612521565b610eba8282600161258c565b611a92611be3565b6001600160a01b0381166115b45760405163f82d512f60e01b815260040160405180910390fd5b6daaeb6d7670e522a718067333cd4e3b15610eba578015611b3e57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015611b2a57600080fd5b505af1158015610f64573d6000803e3d6000fd5b6001600160a01b03821615611b8d5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401611b10565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401611b10565b60006001600160e01b0319821663152a902d60e11b1480610934575061093482612f91565b6000546001600160a01b03163314611c0e5760405163097b5fdb60e31b815260040160405180910390fd5b565b6127106001600160601b0382161115611c7e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161123e565b6001600160a01b038216611cd45760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161123e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601355565b6000818152600360205260409020546001600160a01b03166115bd5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161123e565b6daaeb6d7670e522a718067333cd4e3b156115bd57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015611dd457600080fd5b505afa158015611de8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0c9190613a8f565b6115bd57604051633b79c77360e21b81526001600160a01b038216600482015260240161123e565b6000611e3f826111e2565b9050806001600160a01b0316836001600160a01b03161415611ead5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161123e565b336001600160a01b0382161480611ec95750611ec9813361086a565b611f3b5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161123e565b610c998383612fd0565b611f4e3361054f565b611c0e57604051639eea455560e01b815260040160405180910390fd5b611f7d611f77826111e2565b3361067b565b6115bd576040516306c5be1b60e31b815260040160405180910390fd5b6000806000611faa868686611247565b92509250925082611fce5760405163107acf8360e11b815260040160405180910390fd5b8360006001611fdd89896115c0565b611fe791906139e8565b905080831461214c5760008881526011602090815260408083206001600160a01b038b1684529091529020805482908110612024576120246139ff565b600091825260208083206008830401548b84526011825260408085206001600160a01b038d1686529092529220805460079092166004026101000a90920463ffffffff1691908590811061207a5761207a6139ff565b600091825260208083206008830401805460079093166004026101000a63ffffffff8181021990941695909316929092029390931790558981526012825260408082206001600160a01b038b168084529084528183208c8452601185528284209184529352812080548693929190859081106120f8576120f86139ff565b6000918252602080832060088304015460079092166004026101000a90910463ffffffff90811684529083019390935260409091019020805463ffffffff60681b1916600160681b93909216929092021790555b60008881526011602090815260408083206001600160a01b038b168452909152902080548061217d5761217d613a15565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a810219909116909155929093558a81526012835260408082206001600160a01b038c1683528452808220928616825291909252812080546001600160881b03191690556121f1896111e2565b9050876001600160a01b0316816001600160a01b03168a7f1171d71105bda3fa01f863317a96e01684416ccb1e5416de7c09510bdfbe6aee8a60008060405161224f9392919092835290151560208301521515604082015260600190565b60405180910390a4876001600160a01b03166392b612946040518163ffffffff1660e01b815260040160206040518083038186803b15801561229057600080fd5b505afa1580156122a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c89190613a8f565b156122ee576000898152600f6020526040812080549091906122e990613b70565b909155505b604051636d4229c960e01b81526001600160a01b038281166004830152602482018b90526044820189905260648201879052891690636d4229c990608401600060405180830381600087803b15801561234657600080fd5b505af115801561235a573d6000803e3d6000fd5b50505050505050505050505050565b6001600160a01b03811660009081526018602052604090205460ff166115bd576040516343dc699b60e01b815260040160405180910390fd5b6001600160a01b0382166123f85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161123e565b6000818152600360205260409020546001600160a01b03161561245d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161123e565b6124696000838361303e565b6001600160a01b0382166000908152600460205260408120805460019290612492908490613b87565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6124fa338261306b565b6125165760405162461bcd60e51b815260040161123e90613b9f565b610c99838383612dea565b6001600160a01b0381166000908152600b602052604090205460ff16156115bd5760405163c0f8cffb60e01b815260040160405180910390fd5b33612565826111e2565b6001600160a01b0316146115bd5760405163b23b68b760e01b815260040160405180910390fd5b6000612597846111e2565b905060006125a585856115c0565b9050836001600160a01b03166392b612946040518163ffffffff1660e01b815260040160206040518083038186803b1580156125e057600080fd5b505afa1580156125f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126189190613a8f565b15612641576000858152600f60205260408120805483929061263b9084906139e8565b90915550505b60005b8181101561281e5760008681526011602090815260408083206001600160a01b03891684529091528120805483908110612680576126806139ff565b600091825260208083206008830401548a84526012825260408085206001600160a01b038c8116808852918552828720600790961660040261010090810a90940463ffffffff9081168089529686528388208451608081018652905460ff811615158252958604821681880152600160281b86046001600160401b0316818601819052600160681b9096049091166060808301919091528451888152968701989098528c151593860193909352949650909491939092908916918c917f1171d71105bda3fa01f863317a96e01684416ccb1e5416de7c09510bdfbe6aee910160405180910390a460008981526012602090815260408083206001600160a01b038c811680865291845282852063ffffffff891680875294529382902080546001600160881b03191690559051636d4229c960e01b81529289166004840152602483018c905260448301919091526064820183905290636d4229c990608401600060405180830381600087803b1580156127f857600080fd5b505af115801561280c573d6000803e3d6000fd5b50505050836001019350505050612644565b5060008581526011602090815260408083206001600160a01b0388168452909152812061181b916133b1565b610c99838383604051806020016040528060008152506117f5565b6000612872848484611247565b50509050801561289557604051637f53cfe360e01b815260040160405180910390fd5b60006128a185856115c0565b9050600e5481106128c55760405163f8315a8760e01b815260040160405180910390fd5b60008581526011602090815260408083206001600160a01b03881680855290835281842080546001808201835591865284862060088204018054600790921660040261010090810a63ffffffff818102199094168c8516918202179092558c88526012875285882094885293865284872081885290955292852080546cffffffffffffffff00000000ff1916600160281b426001600160401b0316021790911770ffffffff0000000000000000ffffffff0019169190930263ffffffff60681b191617600160681b9185169190910217905583906129a2876111e2565b604080518781526001602082015260008183015290519192506001600160a01b0388811692908416918a917f1171d71105bda3fa01f863317a96e01684416ccb1e5416de7c09510bdfbe6aee9181900360600190a4856001600160a01b03166392b612946040518163ffffffff1660e01b815260040160206040518083038186803b158015612a3057600080fd5b505afa158015612a44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a689190613a8f565b15612a83576000878152600f60205260409020805460010190555b60405163688a374160e01b81526001600160a01b038281166004830152602482018990526044820187905287169063688a374190606401600060405180830381600087803b158015612ad457600080fd5b505af1158015612ae8573d6000803e3d6000fd5b5050505050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526018602052604090205460ff16156115bd57604051637e23155b60e01b815260040160405180910390fd5b6000612b8a826111e2565b9050612b988160008461303e565b612ba3600083612fd0565b6001600160a01b0381166000908152600460205260408120805460019290612bcc9084906139e8565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610eba3383836130e9565b612c3c848484612dea565b612c48848484846131b0565b610fb05760405162461bcd60e51b815260040161123e90613bed565b80612c825760405163318ccdef60e11b815260040160405180910390fd5b60648111156115bd57604051639cb75faf60e01b815260040160405180910390fd5b612cae338361306b565b612cca5760405162461bcd60e51b815260040161123e90613b9f565b610fb084848484612c31565b6060601680546109d590613997565b606081612d095750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d335780612d1d81613a2b565b9150612d2c9050600a83613a7b565b9150612d0d565b6000816001600160401b03811115612d4d57612d4d61378b565b6040519080825280601f01601f191660200182016040528015612d77576020820181803683370190505b5090505b8415612de257612d8c6001836139e8565b9150612d99600a86613c3f565b612da4906030613b87565b60f81b818381518110612db957612db96139ff565b60200101906001600160f81b031916908160001a905350612ddb600a86613a7b565b9450612d7b565b949350505050565b826001600160a01b0316612dfd826111e2565b6001600160a01b031614612e615760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161123e565b6001600160a01b038216612ec35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161123e565b612ece83838361303e565b612ed9600082612fd0565b6001600160a01b0383166000908152600460205260408120805460019290612f029084906139e8565b90915550506001600160a01b0382166000908152600460205260408120805460019290612f30908490613b87565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160e01b0319821663f9f7ab4160e01b1480612fc157506001600160e01b0319821662059cfd60ed1b145b806109345750610934826132bd565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613005826111e2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600f602052604090205415610c99576040516302579f0160e61b815260040160405180910390fd5b600080613077836111e2565b9050806001600160a01b0316846001600160a01b031614806130be57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80612de25750836001600160a01b03166130d784610c5e565b6001600160a01b031614949350505050565b816001600160a01b0316836001600160a01b0316141561314b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161123e565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191016118ae565b60006001600160a01b0384163b156132b257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131f4903390899088908890600401613c53565b602060405180830381600087803b15801561320e57600080fd5b505af192505050801561323e575060408051601f3d908101601f1916820190925261323b91810190613c86565b60015b613298573d80801561326c576040519150601f19603f3d011682016040523d82523d6000602084013e613271565b606091505b5080516132905760405162461bcd60e51b815260040161123e90613bed565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612de2565b506001949350505050565b60006001600160e01b031982166368a3e4bd60e11b148061093457506109348260006001600160e01b031982166380ac58cd60e01b148061330e57506001600160e01b03198216635b5e139f60e01b145b8061093457506301ffc9a760e01b6001600160e01b0319831614610934565b82805461333990613997565b90600052602060002090601f01602090048101928261335b57600085556133a1565b82601f1061337457805160ff19168380011785556133a1565b828001600101855582156133a1579182015b828111156133a1578251825591602001919060010190613386565b506133ad9291506133d2565b5090565b5080546000825560070160089004906000526020600020908101906115bd91905b5b808211156133ad57600081556001016133d3565b6001600160e01b0319811681146115bd57600080fd5b60006020828403121561340f57600080fd5b813561194b816133e7565b80356001600160a01b038116811461343157600080fd5b919050565b6000806040838503121561344957600080fd5b6134528361341a565b915060208301356001600160601b038116811461346e57600080fd5b809150509250929050565b60005b8381101561349457818101518382015260200161347c565b83811115610fb05750506000910152565b600081518084526134bd816020860160208601613479565b601f01601f19169290920160200192915050565b60208152600061194b60208301846134a5565b6000602082840312156134f657600080fd5b61194b8261341a565b60006020828403121561351157600080fd5b5035919050565b6000806040838503121561352b57600080fd5b6135348361341a565b946020939093013593505050565b6000806040838503121561355557600080fd5b823591506135656020840161341a565b90509250929050565b602080825282518282018190526000919060409081850190868401855b828110156135d95781518051151585528681015163ffffffff90811688870152868201516001600160401b03168787015260609182015116908501526080909301929085019060010161358b565b5091979650505050505050565b6000806000606084860312156135fb57600080fd5b8335925061360b6020850161341a565b9150604084013563ffffffff8116811461362457600080fd5b809150509250925092565b6000806040838503121561364257600080fd5b50508035926020909101359150565b60008083601f84011261366357600080fd5b5081356001600160401b0381111561367a57600080fd5b6020830191508360208260051b85010111156110b357600080fd5b6000806000806000606086880312156136ad57600080fd5b6136b68661341a565b945060208601356001600160401b03808211156136d257600080fd5b6136de89838a01613651565b909650945060408801359150808211156136f757600080fd5b5061370488828901613651565b969995985093965092949392505050565b80151581146115bd57600080fd5b6000806040838503121561373657600080fd5b61373f8361341a565b9150602083013561346e81613715565b60008060006060848603121561376457600080fd5b61376d8461341a565b925061377b6020850161341a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156137bb576137bb61378b565b604051601f8501601f19908116603f011681019082821181831017156137e3576137e361378b565b816040528093508581528686860111156137fc57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261382757600080fd5b61194b838335602085016137a1565b6000806040838503121561384957600080fd5b82356001600160401b038082111561386057600080fd5b61386c86838701613816565b9350602085013591508082111561388257600080fd5b5061388f85828601613816565b9150509250929050565b6000806000606084860312156138ae57600080fd5b8335925061377b6020850161341a565b6000602082840312156138d057600080fd5b81356001600160401b038111156138e657600080fd5b612de284828501613816565b6000806040838503121561390557600080fd5b61390e8361341a565b91506135656020840161341a565b6000806000806080858703121561393257600080fd5b61393b8561341a565b93506139496020860161341a565b92506040850135915060608501356001600160401b0381111561396b57600080fd5b8501601f8101871361397c57600080fd5b61398b878235602084016137a1565b91505092959194509250565b600181811c908216806139ab57607f821691505b602082108114156139cc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156139fa576139fa6139d2565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000600019821415613a3f57613a3f6139d2565b5060010190565b6000816000190483118215151615613a6057613a606139d2565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613a8a57613a8a613a65565b500490565b600060208284031215613aa157600080fd5b815161194b81613715565b600084516020613abf8285838a01613479565b855191840191613ad28184848a01613479565b8554920191600090600181811c9080831680613aef57607f831692505b858310811415613b0d57634e487b7160e01b85526022600452602485fd5b808015613b215760018114613b3257613b5f565b60ff19851688528388019550613b5f565b60008b81526020902060005b85811015613b575781548a820152908401908801613b3e565b505083880195505b50939b9a5050505050505050505050565b600081613b7f57613b7f6139d2565b506000190190565b60008219821115613b9a57613b9a6139d2565b500190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082613c4e57613c4e613a65565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611535908301846134a5565b600060208284031215613c9857600080fd5b815161194b816133e756fea2646970667358221220762ac9dbc211e95d7b91a546505380d1361358a71218440fd0c840b5765da38f64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fd8541601a98346738834da26f752228ad97344700000000000000000000000000000000000000000000000000000000000003e8
-----Decoded View---------------
Arg [0] : royaltyReceiver_ (address): 0xfD8541601a98346738834da26f752228aD973447
Arg [1] : royaltyFeeNumerator_ (uint96): 1000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000fd8541601a98346738834da26f752228ad973447
Arg [1] : 00000000000000000000000000000000000000000000000000000000000003e8
Deployed Bytecode Sourcemap
83561:3593:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75999:326;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;75999:326:0;;;;;;;;75259:304;;;;;;:::i;:::-;;:::i;:::-;;49888:108;;;:::i;:::-;;;;;;;:::i;17976:779::-;;;;;;:::i;:::-;;:::i;37619:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2432:32:1;;;2414:51;;2402:2;2387:18;37619:171:0;2268:203:1;82655:165:0;;;;;;:::i;:::-;;:::i;59836:512::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;52438:92::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;52438:92:0;;;;-1:-1:-1;;;52438:92:0;;;;;;;;;;4718:14:1;;4711:22;4693:41;;4753:10;4799:15;;;4794:2;4779:18;;4772:43;-1:-1:-1;;;;;4851:31:1;;;4831:18;;;4824:59;;;;4919:15;4914:2;4899:18;;4892:43;4680:3;4665:19;52438:92:0;4474:467:1;55579:235:0;;;;;;:::i;:::-;;:::i;86245:490::-;;;;;;:::i;:::-;;:::i;81983:203::-;;;;;;:::i;:::-;;:::i;82828:171::-;;;;;;:::i;:::-;;:::i;74350:295::-;;;;;;:::i;:::-;;:::i;69959:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;8935:32:1;;;8917:51;;8999:2;8984:18;;8977:34;;;;8890:18;69959:442:0;8743:274:1;57308:234:0;;;;;;:::i;:::-;;:::i;16350:146::-;;;;;;:::i;:::-;-1:-1:-1;;;;;16444:30:0;16420:4;16444:30;;;:21;:30;;;;;:44;;;;16350:146;79666:134;;79757:42;79666:134;;83007:179;;;;;;:::i;:::-;;:::i;56685:245::-;;;;;;:::i;:::-;;:::i;52244:73::-;;;;;;:::i;:::-;;:::i;:::-;;;9763:10:1;9751:23;;;9733:42;;9721:2;9706:18;52244:73:0;9589:192:1;54978:237:0;;;;;;:::i;:::-;;:::i;74864:156::-;;;;;;:::i;:::-;;:::i;35817:222::-;;;;;;:::i;:::-;;:::i;59168:566::-;;;;;;:::i;:::-;;:::i;:::-;;;;10334:14:1;;10327:22;10309:41;;10381:2;10366:18;;10359:34;;;;10409:18;;;10402:34;10297:2;10282:18;59168:566:0;10113:329:1;35548:207:0;;;;;;:::i;:::-;;:::i;:::-;;;10593:25:1;;;10581:2;10566:18;35548:207:0;10447:177:1;16936:745:0;;;;;;:::i;:::-;;:::i;58123:166::-;;;;;;:::i;:::-;-1:-1:-1;;;;;58238:33:0;;;58214:4;58238:33;;;:26;:33;;;;;;;;:43;;;;;;;;;;;;;;;58123:166;58686:320;;;;;;:::i;:::-;;:::i;60458:111::-;60539:22;;60458:111;;75061:148;;;;;;:::i;:::-;;:::i;9140:190::-;;;;;;:::i;:::-;;:::i;9411:87::-;9457:7;9484:6;-1:-1:-1;;;;;9484:6:0;9411:87;;58414:166;;;;;;:::i;:::-;;:::i;50004:112::-;;;:::i;73877:291::-;;;;;;:::i;:::-;;:::i;84741:213::-;;;;;;:::i;:::-;;:::i;54559:295::-;;;;;;:::i;:::-;;:::i;82463:184::-;;;;;;:::i;:::-;;:::i;16193:66::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16193:66:0;;;;;;;11087:14:1;;11080:22;11062:41;;-1:-1:-1;;;;;11139:47:1;;;11134:2;11119:18;;11112:75;11035:18;16193:66:0;10894:299:1;54094:355:0;;;;;;:::i;:::-;;:::i;52713:431::-;;;;;;:::i;:::-;;:::i;73374:33::-;;;:::i;83194:204::-;;;;;;:::i;:::-;;:::i;57647:372::-;;;;;;:::i;:::-;;:::i;75623:368::-;;;;;;:::i;:::-;;:::i;49318:303::-;;;;;;:::i;:::-;;:::i;73298:26::-;;;:::i;16111:41::-;;;;;;:::i;:::-;;:::i;53632:343::-;;;;;;:::i;:::-;;:::i;38088:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;38209:25:0;;;38185:4;38209:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;38088:164;85015:213;;;;;;:::i;:::-;;:::i;83805:51::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;56126:200;;;;;;:::i;:::-;;:::i;9885:225::-;;;;;;:::i;:::-;;:::i;75999:326::-;76120:4;-1:-1:-1;;;;;;76153:54:0;;-1:-1:-1;;;76153:54:0;;:115;;-1:-1:-1;;;;;;;76220:48:0;;-1:-1:-1;;;76220:48:0;76153:115;:164;;;;76281:36;76305:11;76281:23;:36::i;:::-;76137:180;75999:326;-1:-1:-1;;75999:326:0:o;75259:304::-;8859:13;:11;:13::i;:::-;73037:5:::1;-1:-1:-1::0;;;;;75353:40:0;::::1;;75350:101;;;75417:22;;-1:-1:-1::0;;;75417:22:0::1;;;;;;;;;;;75350:101;75461:42;75480:8;75490:12;75461:18;:42::i;:::-;75521:34;::::0;;-1:-1:-1;;;;;12060:32:1;;12042:51;;-1:-1:-1;;;;;12129:39:1;;12124:2;12109:18;;12102:67;75521:34:0::1;::::0;12015:18:1;75521:34:0::1;;;;;;;75259:304:::0;;:::o;49888:108::-;49942:13;49975;49968:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49888:108;:::o;17976:779::-;8859:13;:11;:13::i;:::-;-1:-1:-1;;;;;16444:30:0;;16420:4;16444:30;;;:21;:30;;;;;:44;;;18055:89:::1;;18116:16;;-1:-1:-1::0;;;18116:16:0::1;;;;;;;;;;;18055:89;-1:-1:-1::0;;;;;18195:32:0;::::1;18164:28;18195:32:::0;;;:21:::1;:32;::::0;;;;:43;18273:24:::1;:31:::0;18195:43:::1;::::0;;::::1;-1:-1:-1::0;;;;;18195:43:0::1;::::0;18164:28;18273:35:::1;::::0;18195:43:::1;::::0;18273:35:::1;:::i;:::-;18249:59;;18346:13;18322:20;-1:-1:-1::0;;;;;18322:37:0::1;;18319:275;;18425:24;18450:13;18425:39;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;18376:24:::1;:46:::0;;-1:-1:-1;;;;;18425:39:0;;::::1;::::0;-1:-1:-1;;;;;18376:46:0;::::1;::::0;;::::1;;;;;:::i;:::-;;;;;;;;;:88;;;;;-1:-1:-1::0;;;;;18376:88:0::1;;;;;-1:-1:-1::0;;;;;18376:88:0::1;;;;;;18562:20;18479:21;:69;18501:24;18526:20;-1:-1:-1::0;;;;;18501:46:0::1;;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;18501:46:0::1;18479:69:::0;;;::::1;::::0;;;;;;;;:103;;-1:-1:-1;;;;;18479:103:0;;;::::1;18501:46;18479:103;-1:-1:-1::0;;18479:103:0;;::::1;::::0;;;::::1;::::0;;18319:275:::1;18606:24;:30;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;-1:-1:-1;;18606:30:0;;;;;;;-1:-1:-1;;;;;;18606:30:0::1;::::0;;;;;;;;-1:-1:-1;;;;;18654:32:0;::::1;::::0;;;:21:::1;:32:::0;;;;;;18647:39;;-1:-1:-1;;;;;;18647:39:0;;;18704:43;540:41:1;;;18654:32:0;18704:43:::1;::::0;513:18:1;18704:43:0::1;;;;;;;18044:711;;17976:779:::0;:::o;37619:171::-;37695:7;37715:23;37730:7;37715:14;:23::i;:::-;-1:-1:-1;37758:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;37758:24:0;;37619:171::o;82655:165::-;82759:8;80254:30;80275:8;80254:20;:30::i;:::-;82780:32:::1;82794:8;82804:7;82780:13;:32::i;:::-;82655:165:::0;;;:::o;59836:512::-;59927:27;59967:18;59988:33;60002:7;60011:9;59988:13;:33::i;:::-;59967:54;;60059:10;-1:-1:-1;;;;;60047:23:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60047:23:0;;-1:-1:-1;;60047:23:0;;;;;;;;;;;-1:-1:-1;60081:33:0;60117:24;;;:15;:24;;;;;;;;-1:-1:-1;;;;;60117:35:0;;;;;;;;;60081:71;;;;;;;;;;;;;;;;;60032:38;;-1:-1:-1;60081:33:0;;:71;;60117:35;60081:71;;60117:35;60081:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60169:9;60165:144;60188:10;60184:1;:14;60165:144;;;60238:26;;;;:17;:26;;;;;;;;-1:-1:-1;;;;;60238:37:0;;;;;;;;;60276:20;;60238:37;;:26;60276:17;;60294:1;;60276:20;;;;;;:::i;:::-;;;;;;;;;;;;60238:59;;;;;;;;;;;;;;;;;-1:-1:-1;60238:59:0;60220:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;60220:77:0;;;;;;;;;;-1:-1:-1;;;60220:77:0;;;;;;;;;:15;;:12;;60233:1;;60220:15;;;;;;:::i;:::-;;;;;;:77;;;;60200:3;;;;:::i;:::-;;;60165:144;;;;60321:19;;59836:512;;;;:::o;55579:235::-;55661:38;:36;:38::i;:::-;55710:43;55745:7;55710:34;:43::i;:::-;55764:42;55775:7;6842:10;55798:7;55764:10;:42::i;:::-;55579:235;;:::o;86245:490::-;86418:41;6842:10;86418:27;:41::i;:::-;86502:9;86497:220;86517:32;;;86497:220;;;86575:32;86581:2;86585:18;;86604:1;86585:21;;;;;;;:::i;:::-;;;;;;;86575:5;:32::i;:::-;86676:21;;86698:1;86676:24;;;;;;;:::i;:::-;;;;;;;86653:18;;86672:1;86653:21;;;;;;;:::i;:::-;;;;;;;86649:2;-1:-1:-1;;;;;86631:70:0;;;;;;;;;;;86551:3;;86497:220;;;;86245:490;;;;;:::o;81983:203::-;82118:60;81835:42;82173:4;82118:32;:60::i;82828:171::-;82937:4;-1:-1:-1;;;;;80074:18:0;;80082:10;80074:18;80070:83;;80109:32;80130:10;80109:20;:32::i;:::-;82954:37:::1;82973:4;82979:2;82983:7;82954:18;:37::i;:::-;82828:171:::0;;;;:::o;74350:295::-;8859:13;:11;:13::i;:::-;74463:14:::1;::::0;::::1;::::0;::::1;;;74460:76;;;74501:23;;-1:-1:-1::0;;;74501:23:0::1;;;;;;;;;;;74460:76;74548:20;74559:8;74548:10;:20::i;:::-;74579:24;74592:10;74579:12;:24::i;:::-;-1:-1:-1::0;;74616:14:0::1;:21:::0;;-1:-1:-1;;74616:21:0::1;;;::::0;;74350:295::o;69959:442::-;70056:7;70114:27;;;:17;:27;;;;;;;;70085:56;;;;;;;;;-1:-1:-1;;;;;70085:56:0;;;;;-1:-1:-1;;;70085:56:0;;;-1:-1:-1;;;;;70085:56:0;;;;;;;;70056:7;;70154:92;;-1:-1:-1;70205:29:0;;;;;;;;;70215:19;70205:29;-1:-1:-1;;;;;70205:29:0;;;;-1:-1:-1;;;70205:29:0;;-1:-1:-1;;;;;70205:29:0;;;;;70154:92;70296:23;;;;70258:21;;70767:5;;70283:36;;-1:-1:-1;;;;;70283:36:0;:10;:36;:::i;:::-;70282:58;;;;:::i;:::-;70361:16;;;-1:-1:-1;70258:82:0;;-1:-1:-1;;69959:442:0;;;;;;:::o;57308:234::-;57391:48;57429:9;57391:37;:48::i;:::-;57450:32;57474:7;57450:23;:32::i;:::-;57493:41;57508:7;57517:9;57528:5;57493:14;:41::i;83007:179::-;83120:4;-1:-1:-1;;;;;80074:18:0;;80082:10;80074:18;80070:83;;80109:32;80130:10;80109:20;:32::i;:::-;83137:41:::1;83160:4;83166:2;83170:7;83137:22;:41::i;56685:245::-:0;56781:48;56819:9;56781:37;:48::i;:::-;56840:32;56864:7;56840:23;:32::i;:::-;56883:39;56894:7;56903:9;56914:7;56883:10;:39::i;52244:73::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;54978:237::-;55061:38;:36;:38::i;:::-;55110:43;55145:7;55110:34;:43::i;:::-;55164;55176:7;6842:10;55199:7;55164:11;:43::i;74864:156::-;8859:13;:11;:13::i;:::-;74941:28;;::::1;::::0;:12:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;:::-;;74987:25;74998:13;74987:25;;;;;;:::i;:::-;;;;;;;;74864:156:::0;:::o;35817:222::-;35889:7;35925:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35925:16:0;35960:19;35952:56;;;;-1:-1:-1;;;35952:56:0;;13863:2:1;35952:56:0;;;13845:21:1;13902:2;13882:18;;;13875:30;-1:-1:-1;;;13921:18:1;;;13914:54;13985:18;;35952:56:0;;;;;;;;59168:566;59283:25;;;59373:16;59363:26;;59360:84;;;59413:19;;-1:-1:-1;;;59413:19:0;;;;;;;;;;;59360:84;-1:-1:-1;;;59456:19:0;59478:26;;;:17;:26;;;;;;;;-1:-1:-1;;;;;59478:37:0;;;;;;;;;;;;:54;;;;;;;;;;59566:14;;;;;-1:-1:-1;;;59608:20:0;;-1:-1:-1;;;;;59608:20:0;;-1:-1:-1;;;59647:16:0;;;;;;;59168:566::o;35548:207::-;35620:7;-1:-1:-1;;;;;35648:19:0;;35640:73;;;;-1:-1:-1;;;35640:73:0;;14216:2:1;35640:73:0;;;14198:21:1;14255:2;14235:18;;;14228:30;14294:34;14274:18;;;14267:62;-1:-1:-1;;;14345:18:1;;;14338:39;14394:19;;35640:73:0;14014:405:1;35640:73:0;-1:-1:-1;;;;;;35731:16:0;;;;;:9;:16;;;;;;;35548:207::o;16936:745::-;8859:13;:11;:13::i;:::-;-1:-1:-1;;;;;16444:30:0;;16420:4;16444:30;;;:21;:30;;;;;:44;;;17013:92:::1;;;17073:20;;-1:-1:-1::0;;;17073:20:0::1;;;;;;;;;;;17013:92;17121:66;::::0;-1:-1:-1;;;17121:66:0;;-1:-1:-1;;;17121:66:0::1;::::0;::::1;14568:52:1::0;-1:-1:-1;;;;;17121:36:0;::::1;::::0;::::1;::::0;14541:18:1;;17121:66:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17117:132;;17211:26;;-1:-1:-1::0;;;17211:26:0::1;;;;;;;;;;;17117:132;17282:24;:31:::0;-1:-1:-1;;;;;17327:30:0;::::1;17324:97;;;17381:28;;-1:-1:-1::0;;;17381:28:0::1;;;;;;;;;;;17324:97;-1:-1:-1::0;;;;;17433:32:0;::::1;;::::0;;;:21:::1;:32;::::0;;;;;;;:53;;17482:4:::1;-1:-1:-1::0;;;;;;17497:65:0;;;17433:53:::1;-1:-1:-1::0;;;;;17497:65:0;::::1;;::::0;;;;;;17573:24:::1;:40:::0;;;;::::1;::::0;;;;;;;::::1;::::0;;-1:-1:-1;;;;;;17573:40:0::1;::::0;::::1;::::0;;17631:42;540:41:1;;;17631:42:0::1;::::0;513:18:1;17631:42:0::1;;;;;;;17002:679;16936:745:::0;:::o;58686:320::-;58793:7;58814:25;58841:22;58868:51;58891:7;58900:9;58911:7;58868:22;:51::i;:::-;58813:106;;;;;58937:20;:61;;58997:1;58937:61;;;58961:32;58979:14;58961:15;:32;:::i;:::-;58930:68;58686:320;-1:-1:-1;;;;;;58686:320:0:o;75061:148::-;8859:13;:11;:13::i;:::-;75137:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;75177:24;75190:10;75177:24;;;;;;:::i;9140:190::-:0;9227:1;9209:6;-1:-1:-1;;;;;9209:6:0;:20;9206:80;;9251:25;;-1:-1:-1;;;9251:25:0;;;;;;;;;;;9206:80;9296:26;9315:6;9296:18;:26::i;:::-;9140:190;:::o;58414:166::-;58503:7;58530:24;;;:15;:24;;;;;;;;-1:-1:-1;;;;;58530:35:0;;;;;;;;;;;:42;;58414:166::o;50004:112::-;50060:13;50093:15;50086:22;;;;;:::i;73877:291::-;8859:13;:11;:13::i;:::-;73985:20:::1;::::0;::::1;;73982:88;;;74029:29;;-1:-1:-1::0;;;74029:29:0::1;;;;;;;;;;;73982:88;74082:38;74097:8;74107:12;74082:14;:38::i;:::-;-1:-1:-1::0;;74133:20:0::1;:27:::0;;-1:-1:-1;;74133:27:0::1;74156:4;74133:27;::::0;;73877:291::o;84741:213::-;8859:13;:11;:13::i;:::-;84812:38:::1;84843:6;84812:30;:38::i;:::-;-1:-1:-1::0;;;;;84861:26:0;::::1;;::::0;;;:18:::1;:26;::::0;;;;;:33;;-1:-1:-1;;84861:33:0::1;84890:4;84861:33:::0;;::::1;::::0;;;84910:36;;84890:4;;84861:26;84910:36:::1;::::0;::::1;84741:213:::0;:::o;54559:295::-;54628:38;:36;:38::i;:::-;54677:43;54712:7;54677:34;:43::i;:::-;51437:1;54731:12;:41;54783:14;54789:7;54783:5;:14::i;:::-;-1:-1:-1;51262:1:0;54808:12;:38;54559:295::o;82463:184::-;82575:8;80254:30;80275:8;80254:20;:30::i;:::-;82596:43:::1;82620:8;82630;82596:23;:43::i;54094:355::-:0;54201:38;:36;:38::i;:::-;54250:43;54285:7;54250:34;:43::i;:::-;51437:1;54304:12;:41;;;;54356:36;54370:4;54376:2;54380:7;54356:36;;;;;;;;;;;;:13;:36::i;:::-;-1:-1:-1;;51262:1:0;54403:12;:38;-1:-1:-1;54094:355:0:o;52713:431::-;8859:13;:11;:13::i;:::-;52820:26:::1;::::0;::::1;;52817:100;;;52870:35;;-1:-1:-1::0;;;52870:35:0::1;;;;;;;;;;;52817:100;52929:54;52960:22;52929:30;:54::i;:::-;52994:22;:47:::0;53054:26:::1;:33:::0;;-1:-1:-1;;53054:33:0::1;53083:4;53054:33:::0;;::::1;::::0;;;53098:12:::1;:38:::0;52713:431::o;73374:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;83194:204::-;83326:4;-1:-1:-1;;;;;80074:18:0;;80082:10;80074:18;80070:83;;80109:32;80130:10;80109:20;:32::i;:::-;83343:47:::1;83366:4;83372:2;83376:7;83385:4;83343:22;:47::i;:::-;83194:204:::0;;;;;:::o;57647:372::-;6842:10;-1:-1:-1;;;;;57786:22:0;;;;57783:88;;;57832:27;;-1:-1:-1;;;57832:27:0;;;;;;;;;;;57783:88;-1:-1:-1;;;;;57881:38:0;;;;;;;:26;:38;;;;;;;;:48;;;;;;;;;;;;;:59;;-1:-1:-1;;57881:59:0;;;;;;;;;;57956:55;;540:41:1;;;57956:55:0;;513:18:1;57956:55:0;;;;;;;;57726:293;57647:372;;:::o;75623:368::-;40877:4;40901:16;;;:7;:16;;;;;;75696:13;;-1:-1:-1;;;;;40901:16:0;75722:74;;75766:18;;-1:-1:-1;;;75766:18:0;;;;;;;;;;;75722:74;75808:21;75832:10;:8;:10::i;:::-;75808:34;;75884:1;75866:7;75860:21;:25;:123;;;;;;;;;;;;;;;;;75925:7;75934:18;:7;:16;:18::i;:::-;75954:9;75908:56;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;75860:123;75853:130;75623:368;-1:-1:-1;;;75623:368:0:o;49318:303::-;8859:13;:11;:13::i;:::-;49428:17:::1;::::0;::::1;;49425:82;;;49469:26;;-1:-1:-1::0;;;49469:26:0::1;;;;;;;;;;;49425:82;49519:21:::0;;::::1;::::0;:13:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;49551:25:0;;::::1;::::0;:15:::1;::::0;:25:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;49589:17:0::1;:24:::0;;-1:-1:-1;;49589:24:0::1;49609:4;49589:24;::::0;;-1:-1:-1;49318:303:0:o;73298:26::-;;;;;;;:::i;16111:41::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16111:41:0;;-1:-1:-1;16111:41:0;:::o;53632:343::-;53735:38;:36;:38::i;:::-;53784:43;53819:7;53784:34;:43::i;:::-;51437:1;53838:12;:41;53890:28;53900:4;53906:2;53910:7;53890:9;:28::i;85015:213::-;8859:13;:11;:13::i;:::-;85088:35:::1;85116:6;85088:27;:35::i;:::-;-1:-1:-1::0;;;;;85141:26:0;::::1;;::::0;;;:18:::1;:26;::::0;;;;;85134:33;;-1:-1:-1;;85134:33:0::1;::::0;;85183:37;85141:26;;;85183:37:::1;::::0;85141:26;;85183:37:::1;85015:213:::0;:::o;56126:200::-;8859:13;:11;:13::i;:::-;56219:48:::1;56257:9;56219:37;:48::i;:::-;56278:40;56293:7;56302:9;56313:4;56278:14;:40::i;9885:225::-:0;8859:13;:11;:13::i;:::-;-1:-1:-1;;;;;9978:22:0;::::1;9975:87;;10024:26;;-1:-1:-1::0;;;10024:26:0::1;;;;;;;;;;;80312:681:::0;79757:42;80443:45;:49;80439:547;;80513:9;80509:466;;;80543:92;;-1:-1:-1;;;80543:92:0;;80597:4;80543:92;;;16751:34:1;-1:-1:-1;;;;;16821:15:1;;16801:18;;;16794:43;79757:42:0;;80543:45;;16686:18:1;;80543:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80509:466;-1:-1:-1;;;;;80680:44:0;;;80676:284;;80749:94;;-1:-1:-1;;;80749:94:0;;80805:4;80749:94;;;16751:34:1;-1:-1:-1;;;;;16821:15:1;;16801:18;;;16794:43;79757:42:0;;80749:47;;16686:18:1;;80749:94:0;16539:304:1;80676:284:0;80892:48;;-1:-1:-1;;;80892:48:0;;80934:4;80892:48;;;2414:51:1;79757:42:0;;80892:33;;2387:18:1;;80892:48:0;2268:203:1;69689:215:0;69791:4;-1:-1:-1;;;;;;69815:41:0;;-1:-1:-1;;;69815:41:0;;:81;;;69860:36;69884:11;69860:23;:36::i;9576:154::-;9457:7;9484:6;-1:-1:-1;;;;;9484:6:0;6842:10;9635:23;9632:91;;9682:29;;-1:-1:-1;;;9682:29:0;;;;;;;;;;;9632:91;9576:154::o;71051:332::-;70767:5;-1:-1:-1;;;;;71154:33:0;;;;71146:88;;;;-1:-1:-1;;;71146:88:0;;17050:2:1;71146:88:0;;;17032:21:1;17089:2;17069:18;;;17062:30;17128:34;17108:18;;;17101:62;-1:-1:-1;;;17179:18:1;;;17172:40;17229:19;;71146:88:0;16848:406:1;71146:88:0;-1:-1:-1;;;;;71253:22:0;;71245:60;;;;-1:-1:-1;;;71245:60:0;;17461:2:1;71245:60:0;;;17443:21:1;17500:2;17480:18;;;17473:30;17539:27;17519:18;;;17512:55;17584:18;;71245:60:0;17259:349:1;71245:60:0;71340:35;;;;;;;;;-1:-1:-1;;;;;71340:35:0;;;;;;-1:-1:-1;;;;;71340:35:0;;;;;;;;;;-1:-1:-1;;;71318:57:0;;;;:19;:57;71051:332::o;45594:135::-;40877:4;40901:16;;;:7;:16;;;;;;-1:-1:-1;;;;;40901:16:0;45668:53;;;;-1:-1:-1;;;45668:53:0;;13863:2:1;45668:53:0;;;13845:21:1;13902:2;13882:18;;;13875:30;-1:-1:-1;;;13921:18:1;;;13914:54;13985:18;;45668:53:0;13661:348:1;81001:419:0;79757:42;81192:45;:49;81188:225;;81263:67;;-1:-1:-1;;;81263:67:0;;81314:4;81263:67;;;16751:34:1;-1:-1:-1;;;;;16821:15:1;;16801:18;;;16794:43;79757:42:0;;81263;;16686:18:1;;81263:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;81258:144;;81358:28;;-1:-1:-1;;;81358:28:0;;-1:-1:-1;;;;;2432:32:1;;81358:28:0;;;2414:51:1;2387:18;;81358:28:0;2268:203:1;37136:417:0;37217:13;37233:23;37248:7;37233:14;:23::i;:::-;37217:39;;37281:5;-1:-1:-1;;;;;37275:11:0;:2;-1:-1:-1;;;;;37275:11:0;;;37267:57;;;;-1:-1:-1;;;37267:57:0;;17815:2:1;37267:57:0;;;17797:21:1;17854:2;17834:18;;;17827:30;17893:34;17873:18;;;17866:62;-1:-1:-1;;;17944:18:1;;;17937:31;17985:19;;37267:57:0;17613:397:1;37267:57:0;6842:10;-1:-1:-1;;;;;37359:21:0;;;;:62;;-1:-1:-1;37384:37:0;37401:5;6842:10;38088:164;:::i;37384:37::-;37337:174;;;;-1:-1:-1;;;37337:174:0;;18217:2:1;37337:174:0;;;18199:21:1;18256:2;18236:18;;;18229:30;18295:34;18275:18;;;18268:62;18366:32;18346:18;;;18339:60;18416:19;;37337:174:0;18015:426:1;37337:174:0;37524:21;37533:2;37537:7;37524:8;:21::i;18897:188::-;18974:36;6842:10;16350:146;:::i;18974:36::-;18970:108;;19034:32;;-1:-1:-1;;;19034:32:0;;;;;;;;;;;65623:223;65713:59;65741:16;65749:7;65741;:16::i;:::-;6842:10;58123:166;:::i;65713:59::-;65709:130;;65796:31;;-1:-1:-1;;;65796:31:0;;;;;;;;;;;62494:1282;62588:25;62615:22;62639:13;62656:51;62679:7;62688:9;62699:7;62656:22;:51::i;:::-;62587:120;;;;;;62722:20;62718:72;;62766:12;;-1:-1:-1;;;62766:12:0;;;;;;;;;;;62718:72;62832:7;62802:20;62912:1;62876:33;62890:7;62899:9;62876:13;:33::i;:::-;:37;;;;:::i;:::-;62851:62;;62936:14;62927:5;:23;62924:283;;63012:24;;;;:15;:24;;;;;;;;-1:-1:-1;;;;;63012:35:0;;;;;;;;;:51;;63048:14;;63012:51;;;;;;:::i;:::-;;;;;;;;;;;;;;62967:24;;;:15;:24;;;;;;-1:-1:-1;;;;;62967:35:0;;;;;;;;;:42;;63012:51;;;;;;;;;;;;;;62967:35;63003:5;;62967:42;;;;;;:::i;:::-;;;;;;;;;;;;;:96;;:42;;;;;;:96;;;;;;;;;;;;;;;;;;;;;;;;63078:26;;;:17;:26;;;;;;-1:-1:-1;;;;;63078:37:0;;;;;;;;;;;63116:24;;;:15;:24;;;;;:35;;;;;;;:51;;63189:5;;63078:37;62967:42;63116:35;63152:14;;63116:51;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63078:90;;;;;;;;;;;;;;;:117;;-1:-1:-1;;;;63078:117:0;-1:-1:-1;;;63078:117:0;;;;;;;;;;;62924:283;63219:24;;;;:15;:24;;;;;;;;-1:-1:-1;;;;;63219:35:0;;;;;;;;;:41;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;63219:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63278:26;;;:17;:26;;;;;;-1:-1:-1;;;;;63278:37:0;;;;;;;;;:52;;;;;;;;;;;63271:59;;-1:-1:-1;;;;;;63271:59:0;;;63366:16;63296:7;63366;:16::i;:::-;63343:39;;63434:9;-1:-1:-1;;;;;63398:69:0;63420:12;-1:-1:-1;;;;;63398:69:0;63411:7;63398:69;63445:7;63454:5;63461;63398:69;;;;;;;18636:25:1;;;18704:14;;18697:22;18692:2;18677:18;;18670:50;18763:14;18756:22;18751:2;18736:18;;18729:50;18624:2;18609:18;;18446:339;63398:69:0;;;;;;;;63494:9;-1:-1:-1;;;;;63483:38:0;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63480:102;;;63542:28;;;;:19;:28;;;;;63540:30;;63542:28;;;63540:30;;;:::i;:::-;;;;-1:-1:-1;63480:102:0;63685:83;;-1:-1:-1;;;63685:83:0;;-1:-1:-1;;;;;19180:32:1;;;63685:83:0;;;19162:51:1;19229:18;;;19222:34;;;19272:18;;;19265:34;;;19315:18;;;19308:34;;;63685:35:0;;;;;19134:19:1;;63685:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62576:1200;;;;;;62494:1282;;;:::o;86743:197::-;-1:-1:-1;;;;;86824:26:0;;;;;;:18;:26;;;;;;;;86820:113;;86874:47;;-1:-1:-1;;;86874:47:0;;;;;;;;;;;42704:439;-1:-1:-1;;;;;42784:16:0;;42776:61;;;;-1:-1:-1;;;42776:61:0;;19555:2:1;42776:61:0;;;19537:21:1;;;19574:18;;;19567:30;19633:34;19613:18;;;19606:62;19685:18;;42776:61:0;19353:356:1;42776:61:0;40877:4;40901:16;;;:7;:16;;;;;;-1:-1:-1;;;;;40901:16:0;:30;42848:58;;;;-1:-1:-1;;;42848:58:0;;19916:2:1;42848:58:0;;;19898:21:1;19955:2;19935:18;;;19928:30;19994;19974:18;;;19967:58;20042:18;;42848:58:0;19714:352:1;42848:58:0;42919:45;42948:1;42952:2;42956:7;42919:20;:45::i;:::-;-1:-1:-1;;;;;42977:13:0;;;;;;:9;:13;;;;;:18;;42994:1;;42977:13;:18;;42994:1;;42977:18;:::i;:::-;;;;-1:-1:-1;;43006:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;43006:21:0;-1:-1:-1;;;;;43006:21:0;;;;;;;;43045:33;;43006:16;;;43045:33;;43006:16;;43045:33;55579:235;;:::o;38319:336::-;38514:41;6842:10;38547:7;38514:18;:41::i;:::-;38506:100;;;;-1:-1:-1;;;38506:100:0;;;;;;;:::i;:::-;38619:28;38629:4;38635:2;38639:7;38619:9;:28::i;19305:199::-;-1:-1:-1;;;;;16444:30:0;;16420:4;16444:30;;;:21;:30;;;;;:44;;;19396:101;;;19456:29;;-1:-1:-1;;;19456:29:0;;;;;;;;;;;65985:174;6842:10;66063:16;66071:7;66063;:16::i;:::-;-1:-1:-1;;;;;66063:32:0;;66060:92;;66119:21;;-1:-1:-1;;;66119:21:0;;;;;;;;;;;63872:1085;63965:18;63986:16;63994:7;63986;:16::i;:::-;63965:37;;64013:18;64034:33;64048:7;64057:9;64034:13;:33::i;:::-;64013:54;;64094:9;-1:-1:-1;;;;;64083:38:0;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64080:114;;;64140:28;;;;:19;:28;;;;;:42;;64172:10;;64140:28;:42;;64172:10;;64140:42;:::i;:::-;;;;-1:-1:-1;;64080:114:0;64210:9;64206:689;64229:10;64225:1;:14;64206:689;;;64257:14;64274:24;;;:15;:24;;;;;;;;-1:-1:-1;;;;;64274:35:0;;;;;;;;;:38;;64310:1;;64274:38;;;;;;:::i;:::-;;;;;;;;;;;;;;64350:26;;;:17;:26;;;;;;-1:-1:-1;;;;;64350:37:0;;;;;;;;;;;;64274:38;;;;;;;;;;;;;;;;;64350:46;;;;;;;;;64329:67;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;64329:67:0;;-1:-1:-1;;;;;64329:67:0;;;;;;;-1:-1:-1;;;64329:67:0;;;;;;;;;;;;;;64478:68;;20808:42:1;;;20866:18;;;20859:50;;;;20952:14;;20945:22;20925:18;;;20918:50;;;;64274:38:0;;-1:-1:-1;64329:67:0;;;;64350:37;;64478:68;;;;64350:26;;64478:68;;20781:18:1;64478:68:0;;;;;;;64568:26;;;;:17;:26;;;;;;;;-1:-1:-1;;;;;64568:37:0;;;;;;;;;;;;:46;;;;;;;;;;;;64561:53;;-1:-1:-1;;;;;;64561:53:0;;;64738:81;;-1:-1:-1;;;64738:81:0;;21227:32:1;;;64738:81:0;;;21209:51:1;21276:18;;;21269:34;;;21319:18;;;21312:51;;;;21379:18;;;21372:34;;;64568:37:0;64738:35;;21181:19:1;;64738:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64865:3;;;;;64242:653;;;64206:689;;;-1:-1:-1;64914:24:0;;;;:15;:24;;;;;;;;-1:-1:-1;;;;;64914:35:0;;;;;;;;;64907:42;;;:::i;38726:185::-;38864:39;38881:4;38887:2;38891:7;38864:39;;;;;;;;;;;;:16;:39::i;60872:1412::-;60967:25;60998:51;61021:7;61030:9;61041:7;60998:22;:51::i;:::-;60966:83;;;;61063:20;61060:75;;;61107:16;;-1:-1:-1;;;61107:16:0;;;;;;;;;;;61060:75;61147:25;61175:33;61189:7;61198:9;61175:13;:33::i;:::-;61147:61;;61243:22;;61222:17;:43;61219:103;;61289:21;;-1:-1:-1;;;61289:21:0;;;;;;;;;;;61219:103;61334:20;61383:24;;;:15;:24;;;;;;;;-1:-1:-1;;;;;61383:35:0;;;;;;;;;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61449:26;;;:17;:26;;;;;:37;;;;;;;;;:52;;;;;;;;;:68;;-1:-1:-1;;61528:93:0;-1:-1:-1;;;61605:15:0;-1:-1:-1;;;;;61528:93:0;;;;;;-1:-1:-1;;61719:91:0;61632:76;;;;-1:-1:-1;;;;61719:91:0;;-1:-1:-1;;;61719:91:0;;;;;;;;;;61383:55;;61846:16;61383:24;61846:7;:16::i;:::-;61878:68;;;18636:25:1;;;61934:4:0;18692:2:1;18677:18;;18670:50;-1:-1:-1;18736:18:1;;;18729:50;61878:68:0;;61823:39;;-1:-1:-1;;;;;;61878:68:0;;;;;;;;61891:7;;61878:68;;;;;18624:2:1;61878:68:0;;;61973:9;-1:-1:-1;;;;;61962:38:0;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61959:146;;;62050:28;;;;:19;:28;;;;;62048:30;;;;;;61959:146;62208:68;;-1:-1:-1;;;62208:68:0;;-1:-1:-1;;;;;21637:32:1;;;62208:68:0;;;21619:51:1;21686:18;;;21679:34;;;21729:18;;;21722:34;;;62208:36:0;;;;;21592:18:1;;62208:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60955:1329;;;;60872:1412;;;:::o;10270:191::-;10344:16;10363:6;;-1:-1:-1;;;;;10380:17:0;;;-1:-1:-1;;;;;;10380:17:0;;;;;;10413:40;;10363:6;;;;;;;10413:40;;10344:16;10413:40;10333:128;10270:191;:::o;86948:203::-;-1:-1:-1;;;;;87031:26:0;;;;;;:18;:26;;;;;;;;87028:116;;;87081:51;;-1:-1:-1;;;87081:51:0;;;;;;;;;;;43372:420;43432:13;43448:23;43463:7;43448:14;:23::i;:::-;43432:39;;43484:48;43505:5;43520:1;43524:7;43484:20;:48::i;:::-;43573:29;43590:1;43594:7;43573:8;:29::i;:::-;-1:-1:-1;;;;;43615:16:0;;;;;;:9;:16;;;;;:21;;43635:1;;43615:16;:21;;43635:1;;43615:21;:::i;:::-;;;;-1:-1:-1;;43654:16:0;;;;:7;:16;;;;;;43647:23;;-1:-1:-1;;;;;;43647:23:0;;;43688:36;43662:7;;43654:16;-1:-1:-1;;;;;43688:36:0;;;;;43654:16;;43688:36;55579:235;;:::o;37862:155::-;37957:52;6842:10;37990:8;38000;37957:18;:52::i;40186:313::-;40342:28;40352:4;40358:2;40362:7;40342:9;:28::i;:::-;40389:47;40412:4;40418:2;40422:7;40431:4;40389:22;:47::i;:::-;40381:110;;;;-1:-1:-1;;;40381:110:0;;;;;;;:::i;66418:333::-;66518:27;66515:101;;66569:35;;-1:-1:-1;;;66569:35:0;;;;;;;;;;;66515:101;51106:3;66631:22;:46;66628:116;;;66701:31;;-1:-1:-1;;;66701:31:0;;;;;;;;;;;38982:323;39156:41;6842:10;39189:7;39156:18;:41::i;:::-;39148:100;;;;-1:-1:-1;;;39148:100:0;;;;;;;:::i;:::-;39259:38;39273:4;39279:2;39283:7;39292:4;39259:13;:38::i;74712:113::-;74772:13;74805:12;74798:19;;;;;:::i;30954:723::-;31010:13;31231:10;31227:53;;-1:-1:-1;;31258:10:0;;;;;;;;;;;;-1:-1:-1;;;31258:10:0;;;;;30954:723::o;31227:53::-;31305:5;31290:12;31346:78;31353:9;;31346:78;;31379:8;;;;:::i;:::-;;-1:-1:-1;31402:10:0;;-1:-1:-1;31410:2:0;31402:10;;:::i;:::-;;;31346:78;;;31434:19;31466:6;-1:-1:-1;;;;;31456:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31456:17:0;;31434:39;;31484:154;31491:10;;31484:154;;31518:11;31528:1;31518:11;;:::i;:::-;;-1:-1:-1;31587:10:0;31595:2;31587:5;:10;:::i;:::-;31574:24;;:2;:24;:::i;:::-;31561:39;;31544:6;31551;31544:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;31544:56:0;;;;;;;;-1:-1:-1;31615:11:0;31624:2;31615:11;;:::i;:::-;;;31484:154;;;31662:6;30954:723;-1:-1:-1;;;;30954:723:0:o;44129:625::-;44288:4;-1:-1:-1;;;;;44261:31:0;:23;44276:7;44261:14;:23::i;:::-;-1:-1:-1;;;;;44261:31:0;;44253:81;;;;-1:-1:-1;;;44253:81:0;;22505:2:1;44253:81:0;;;22487:21:1;22544:2;22524:18;;;22517:30;22583:34;22563:18;;;22556:62;-1:-1:-1;;;22634:18:1;;;22627:35;22679:19;;44253:81:0;22303:401:1;44253:81:0;-1:-1:-1;;;;;44353:16:0;;44345:65;;;;-1:-1:-1;;;44345:65:0;;22911:2:1;44345:65:0;;;22893:21:1;22950:2;22930:18;;;22923:30;22989:34;22969:18;;;22962:62;-1:-1:-1;;;23040:18:1;;;23033:34;23084:19;;44345:65:0;22709:400:1;44345:65:0;44423:39;44444:4;44450:2;44454:7;44423:20;:39::i;:::-;44527:29;44544:1;44548:7;44527:8;:29::i;:::-;-1:-1:-1;;;;;44569:15:0;;;;;;:9;:15;;;;;:20;;44588:1;;44569:15;:20;;44588:1;;44569:20;:::i;:::-;;;;-1:-1:-1;;;;;;;44600:13:0;;;;;;:9;:13;;;;;:18;;44617:1;;44600:13;:18;;44617:1;;44600:18;:::i;:::-;;;;-1:-1:-1;;44629:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;44629:21:0;-1:-1:-1;;;;;44629:21:0;;;;;;;;;44668:27;;44629:16;;44668:27;;;;;;;82655:165;;;:::o;53192:326::-;53308:4;-1:-1:-1;;;;;;53342:45:0;;-1:-1:-1;;;53342:45:0;;:119;;-1:-1:-1;;;;;;;53401:60:0;;-1:-1:-1;;;53401:60:0;53342:119;:168;;;;53474:36;53498:11;53474:23;:36::i;44873:174::-;44948:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;44948:29:0;-1:-1:-1;;;;;44948:29:0;;;;;;;;:24;;45002:23;44948:24;45002:14;:23::i;:::-;-1:-1:-1;;;;;44993:46:0;;;;;;;;;;;44873:174;;:::o;65224:232::-;65376:1;65345:28;;;:19;:28;;;;;;:32;65342:107;;65401:36;;-1:-1:-1;;;65401:36:0;;;;;;;;;;;41106:264;41199:4;41216:13;41232:23;41247:7;41232:14;:23::i;:::-;41216:39;;41285:5;-1:-1:-1;;;;;41274:16:0;:7;-1:-1:-1;;;;;41274:16:0;;:52;;;-1:-1:-1;;;;;;38209:25:0;;;38185:4;38209:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;41294:32;41274:87;;;;41354:7;-1:-1:-1;;;;;41330:31:0;:20;41342:7;41330:11;:20::i;:::-;-1:-1:-1;;;;;41330:31:0;;41266:96;41106:264;-1:-1:-1;;;;41106:264:0:o;45190:315::-;45345:8;-1:-1:-1;;;;;45336:17:0;:5;-1:-1:-1;;;;;45336:17:0;;;45328:55;;;;-1:-1:-1;;;45328:55:0;;23316:2:1;45328:55:0;;;23298:21:1;23355:2;23335:18;;;23328:30;23394:27;23374:18;;;23367:55;23439:18;;45328:55:0;23114:349:1;45328:55:0;-1:-1:-1;;;;;45394:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;45394:46:0;;;;;;;;;;45456:41;;540::1;;;45456::0;;513:18:1;45456:41:0;400:187:1;46293:853:0;46447:4;-1:-1:-1;;;;;46468:13:0;;23582:19;:23;46464:675;;46504:71;;-1:-1:-1;;;46504:71:0;;-1:-1:-1;;;;;46504:36:0;;;;;:71;;6842:10;;46555:4;;46561:7;;46570:4;;46504:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46504:71:0;;;;;;;;-1:-1:-1;;46504:71:0;;;;;;;;;;;;:::i;:::-;;;46500:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46745:13:0;;46741:328;;46788:60;;-1:-1:-1;;;46788:60:0;;;;;;;:::i;46741:328::-;47019:6;47013:13;47004:6;47000:2;46996:15;46989:38;46500:584;-1:-1:-1;;;;;;46626:51:0;-1:-1:-1;;;46626:51:0;;-1:-1:-1;46619:58:0;;46464:675;-1:-1:-1;47123:4:0;46293:853;;;;;;:::o;49629:251::-;49731:4;-1:-1:-1;;;;;;49768:51:0;;-1:-1:-1;;;49768:51:0;;:104;;;49836:36;49860:11;35281:4;-1:-1:-1;;;;;;35318:40:0;;-1:-1:-1;;;35318:40:0;;:105;;-1:-1:-1;;;;;;;35375:48:0;;-1:-1:-1;;;35375:48:0;35318:105;:158;;;-1:-1:-1;;;;;;;;;;33897:40:0;;;35440:36;33788:157;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:366::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:258::-;1213:1;1223:113;1237:6;1234:1;1231:13;1223:113;;;1313:11;;;1307:18;1294:11;;;1287:39;1259:2;1252:10;1223:113;;;1354:6;1351:1;1348:13;1345:48;;;-1:-1:-1;;1389:1:1;1371:16;;1364:27;1141:258::o;1404:::-;1446:3;1484:5;1478:12;1511:6;1506:3;1499:19;1527:63;1583:6;1576:4;1571:3;1567:14;1560:4;1553:5;1549:16;1527:63;:::i;:::-;1644:2;1623:15;-1:-1:-1;;1619:29:1;1610:39;;;;1651:4;1606:50;;1404:258;-1:-1:-1;;1404:258:1:o;1667:220::-;1816:2;1805:9;1798:21;1779:4;1836:45;1877:2;1866:9;1862:18;1854:6;1836:45;:::i;1892:186::-;1951:6;2004:2;1992:9;1983:7;1979:23;1975:32;1972:52;;;2020:1;2017;2010:12;1972:52;2043:29;2062:9;2043:29;:::i;2083:180::-;2142:6;2195:2;2183:9;2174:7;2170:23;2166:32;2163:52;;;2211:1;2208;2201:12;2163:52;-1:-1:-1;2234:23:1;;2083:180;-1:-1:-1;2083:180:1:o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:::-;2803:6;2811;2864:2;2852:9;2843:7;2839:23;2835:32;2832:52;;;2880:1;2877;2870:12;2832:52;2916:9;2903:23;2893:33;;2945:38;2979:2;2968:9;2964:18;2945:38;:::i;:::-;2935:48;;2735:254;;;;;:::o;2994:1052::-;3207:2;3259:21;;;3329:13;;3232:18;;;3351:22;;;3178:4;;3207:2;3392;;3410:18;;;;3451:15;;;3178:4;3494:526;3508:6;3505:1;3502:13;3494:526;;;3567:13;;3619:9;;3612:17;3605:25;3593:38;;3670:11;;;3664:18;3705:10;3749:21;;;3735:12;;;3728:43;3815:11;;;3809:18;-1:-1:-1;;;;;3805:43:1;3791:12;;;3784:65;3872:4;3920:11;;;3914:18;3910:27;3896:12;;;3889:49;3967:4;3958:14;;;;3995:15;;;;3530:1;3523:9;3494:526;;;-1:-1:-1;4037:3:1;;2994:1052;-1:-1:-1;;;;;;;2994:1052:1:o;4051:418::-;4127:6;4135;4143;4196:2;4184:9;4175:7;4171:23;4167:32;4164:52;;;4212:1;4209;4202:12;4164:52;4248:9;4235:23;4225:33;;4277:38;4311:2;4300:9;4296:18;4277:38;:::i;:::-;4267:48;;4365:2;4354:9;4350:18;4337:32;4409:10;4402:5;4398:22;4391:5;4388:33;4378:61;;4435:1;4432;4425:12;4378:61;4458:5;4448:15;;;4051:418;;;;;:::o;4946:248::-;5014:6;5022;5075:2;5063:9;5054:7;5050:23;5046:32;5043:52;;;5091:1;5088;5081:12;5043:52;-1:-1:-1;;5114:23:1;;;5184:2;5169:18;;;5156:32;;-1:-1:-1;4946:248:1:o;5199:367::-;5262:8;5272:6;5326:3;5319:4;5311:6;5307:17;5303:27;5293:55;;5344:1;5341;5334:12;5293:55;-1:-1:-1;5367:20:1;;-1:-1:-1;;;;;5399:30:1;;5396:50;;;5442:1;5439;5432:12;5396:50;5479:4;5471:6;5467:17;5455:29;;5539:3;5532:4;5522:6;5519:1;5515:14;5507:6;5503:27;5499:38;5496:47;5493:67;;;5556:1;5553;5546:12;5571:847;5702:6;5710;5718;5726;5734;5787:2;5775:9;5766:7;5762:23;5758:32;5755:52;;;5803:1;5800;5793:12;5755:52;5826:29;5845:9;5826:29;:::i;:::-;5816:39;;5906:2;5895:9;5891:18;5878:32;-1:-1:-1;;;;;5970:2:1;5962:6;5959:14;5956:34;;;5986:1;5983;5976:12;5956:34;6025:70;6087:7;6078:6;6067:9;6063:22;6025:70;:::i;:::-;6114:8;;-1:-1:-1;5999:96:1;-1:-1:-1;6202:2:1;6187:18;;6174:32;;-1:-1:-1;6218:16:1;;;6215:36;;;6247:1;6244;6237:12;6215:36;;6286:72;6350:7;6339:8;6328:9;6324:24;6286:72;:::i;:::-;5571:847;;;;-1:-1:-1;5571:847:1;;-1:-1:-1;6377:8:1;;6260:98;5571:847;-1:-1:-1;;;5571:847:1:o;6423:118::-;6509:5;6502:13;6495:21;6488:5;6485:32;6475:60;;6531:1;6528;6521:12;6546:315;6611:6;6619;6672:2;6660:9;6651:7;6647:23;6643:32;6640:52;;;6688:1;6685;6678:12;6640:52;6711:29;6730:9;6711:29;:::i;:::-;6701:39;;6790:2;6779:9;6775:18;6762:32;6803:28;6825:5;6803:28;:::i;6866:328::-;6943:6;6951;6959;7012:2;7000:9;6991:7;6987:23;6983:32;6980:52;;;7028:1;7025;7018:12;6980:52;7051:29;7070:9;7051:29;:::i;:::-;7041:39;;7099:38;7133:2;7122:9;7118:18;7099:38;:::i;:::-;7089:48;;7184:2;7173:9;7169:18;7156:32;7146:42;;6866:328;;;;;:::o;7199:127::-;7260:10;7255:3;7251:20;7248:1;7241:31;7291:4;7288:1;7281:15;7315:4;7312:1;7305:15;7331:632;7396:5;-1:-1:-1;;;;;7467:2:1;7459:6;7456:14;7453:40;;;7473:18;;:::i;:::-;7548:2;7542:9;7516:2;7602:15;;-1:-1:-1;;7598:24:1;;;7624:2;7594:33;7590:42;7578:55;;;7648:18;;;7668:22;;;7645:46;7642:72;;;7694:18;;:::i;:::-;7734:10;7730:2;7723:22;7763:6;7754:15;;7793:6;7785;7778:22;7833:3;7824:6;7819:3;7815:16;7812:25;7809:45;;;7850:1;7847;7840:12;7809:45;7900:6;7895:3;7888:4;7880:6;7876:17;7863:44;7955:1;7948:4;7939:6;7931;7927:19;7923:30;7916:41;;;;7331:632;;;;;:::o;7968:222::-;8011:5;8064:3;8057:4;8049:6;8045:17;8041:27;8031:55;;8082:1;8079;8072:12;8031:55;8104:80;8180:3;8171:6;8158:20;8151:4;8143:6;8139:17;8104:80;:::i;8195:543::-;8283:6;8291;8344:2;8332:9;8323:7;8319:23;8315:32;8312:52;;;8360:1;8357;8350:12;8312:52;8400:9;8387:23;-1:-1:-1;;;;;8470:2:1;8462:6;8459:14;8456:34;;;8486:1;8483;8476:12;8456:34;8509:50;8551:7;8542:6;8531:9;8527:22;8509:50;:::i;:::-;8499:60;;8612:2;8601:9;8597:18;8584:32;8568:48;;8641:2;8631:8;8628:16;8625:36;;;8657:1;8654;8647:12;8625:36;;8680:52;8724:7;8713:8;8702:9;8698:24;8680:52;:::i;:::-;8670:62;;;8195:543;;;;;:::o;9262:322::-;9339:6;9347;9355;9408:2;9396:9;9387:7;9383:23;9379:32;9376:52;;;9424:1;9421;9414:12;9376:52;9460:9;9447:23;9437:33;;9489:38;9523:2;9512:9;9508:18;9489:38;:::i;9786:322::-;9855:6;9908:2;9896:9;9887:7;9883:23;9879:32;9876:52;;;9924:1;9921;9914:12;9876:52;9964:9;9951:23;-1:-1:-1;;;;;9989:6:1;9986:30;9983:50;;;10029:1;10026;10019:12;9983:50;10052;10094:7;10085:6;10074:9;10070:22;10052:50;:::i;10629:260::-;10697:6;10705;10758:2;10746:9;10737:7;10733:23;10729:32;10726:52;;;10774:1;10771;10764:12;10726:52;10797:29;10816:9;10797:29;:::i;:::-;10787:39;;10845:38;10879:2;10868:9;10864:18;10845:38;:::i;11198:667::-;11293:6;11301;11309;11317;11370:3;11358:9;11349:7;11345:23;11341:33;11338:53;;;11387:1;11384;11377:12;11338:53;11410:29;11429:9;11410:29;:::i;:::-;11400:39;;11458:38;11492:2;11481:9;11477:18;11458:38;:::i;:::-;11448:48;;11543:2;11532:9;11528:18;11515:32;11505:42;;11598:2;11587:9;11583:18;11570:32;-1:-1:-1;;;;;11617:6:1;11614:30;11611:50;;;11657:1;11654;11647:12;11611:50;11680:22;;11733:4;11725:13;;11721:27;-1:-1:-1;11711:55:1;;11762:1;11759;11752:12;11711:55;11785:74;11851:7;11846:2;11833:16;11828:2;11824;11820:11;11785:74;:::i;:::-;11775:84;;;11198:667;;;;;;;:::o;12180:380::-;12259:1;12255:12;;;;12302;;;12323:61;;12377:4;12369:6;12365:17;12355:27;;12323:61;12430:2;12422:6;12419:14;12399:18;12396:38;12393:161;;;12476:10;12471:3;12467:20;12464:1;12457:31;12511:4;12508:1;12501:15;12539:4;12536:1;12529:15;12393:161;;12180:380;;;:::o;12565:127::-;12626:10;12621:3;12617:20;12614:1;12607:31;12657:4;12654:1;12647:15;12681:4;12678:1;12671:15;12697:125;12737:4;12765:1;12762;12759:8;12756:34;;;12770:18;;:::i;:::-;-1:-1:-1;12807:9:1;;12697:125::o;12827:127::-;12888:10;12883:3;12879:20;12876:1;12869:31;12919:4;12916:1;12909:15;12943:4;12940:1;12933:15;12959:127;13020:10;13015:3;13011:20;13008:1;13001:31;13051:4;13048:1;13041:15;13075:4;13072:1;13065:15;13091:135;13130:3;-1:-1:-1;;13151:17:1;;13148:43;;;13171:18;;:::i;:::-;-1:-1:-1;13218:1:1;13207:13;;13091:135::o;13231:168::-;13271:7;13337:1;13333;13329:6;13325:14;13322:1;13319:21;13314:1;13307:9;13300:17;13296:45;13293:71;;;13344:18;;:::i;:::-;-1:-1:-1;13384:9:1;;13231:168::o;13404:127::-;13465:10;13460:3;13456:20;13453:1;13446:31;13496:4;13493:1;13486:15;13520:4;13517:1;13510:15;13536:120;13576:1;13602;13592:35;;13607:18;;:::i;:::-;-1:-1:-1;13641:9:1;;13536:120::o;14631:245::-;14698:6;14751:2;14739:9;14730:7;14726:23;14722:32;14719:52;;;14767:1;14764;14757:12;14719:52;14799:9;14793:16;14818:28;14840:5;14818:28;:::i;15007:1527::-;15231:3;15269:6;15263:13;15295:4;15308:51;15352:6;15347:3;15342:2;15334:6;15330:15;15308:51;:::i;:::-;15422:13;;15381:16;;;;15444:55;15422:13;15381:16;15466:15;;;15444:55;:::i;:::-;15588:13;;15521:20;;;15561:1;;15648;15670:18;;;;15723;;;;15750:93;;15828:4;15818:8;15814:19;15802:31;;15750:93;15891:2;15881:8;15878:16;15858:18;15855:40;15852:167;;;-1:-1:-1;;;15918:33:1;;15974:4;15971:1;15964:15;16004:4;15925:3;15992:17;15852:167;16035:18;16062:110;;;;16186:1;16181:328;;;;16028:481;;16062:110;-1:-1:-1;;16097:24:1;;16083:39;;16142:20;;;;-1:-1:-1;16062:110:1;;16181:328;14954:1;14947:14;;;14991:4;14978:18;;16276:1;16290:169;16304:8;16301:1;16298:15;16290:169;;;16386:14;;16371:13;;;16364:37;16429:16;;;;16321:10;;16290:169;;;16294:3;;16490:8;16483:5;16479:20;16472:27;;16028:481;-1:-1:-1;16525:3:1;;15007:1527;-1:-1:-1;;;;;;;;;;;15007:1527:1:o;18790:136::-;18829:3;18857:5;18847:39;;18866:18;;:::i;:::-;-1:-1:-1;;;18902:18:1;;18790:136::o;20071:128::-;20111:3;20142:1;20138:6;20135:1;20132:13;20129:39;;;20148:18;;:::i;:::-;-1:-1:-1;20184:9:1;;20071:128::o;20204:410::-;20406:2;20388:21;;;20445:2;20425:18;;;20418:30;20484:34;20479:2;20464:18;;20457:62;-1:-1:-1;;;20550:2:1;20535:18;;20528:44;20604:3;20589:19;;20204:410::o;21767:414::-;21969:2;21951:21;;;22008:2;21988:18;;;21981:30;22047:34;22042:2;22027:18;;22020:62;-1:-1:-1;;;22113:2:1;22098:18;;22091:48;22171:3;22156:19;;21767:414::o;22186:112::-;22218:1;22244;22234:35;;22249:18;;:::i;:::-;-1:-1:-1;22283:9:1;;22186:112::o;23468:489::-;-1:-1:-1;;;;;23737:15:1;;;23719:34;;23789:15;;23784:2;23769:18;;23762:43;23836:2;23821:18;;23814:34;;;23884:3;23879:2;23864:18;;23857:31;;;23662:4;;23905:46;;23931:19;;23923:6;23905:46;:::i;23962:249::-;24031:6;24084:2;24072:9;24063:7;24059:23;24055:32;24052:52;;;24100:1;24097;24090:12;24052:52;24132:9;24126:16;24151:30;24175:5;24151:30;:::i
Swarm Source
ipfs://762ac9dbc211e95d7b91a546505380d1361358a71218440fd0c840b5765da38f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.