ERC-721
Overview
Max Total Supply
1,600 SRGF
Holders
1,397
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SRGFLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SpaceRidersGalacticForge
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-21 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require( leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof" ); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require( leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof" ); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _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); } } // File: contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer( uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to ); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ""; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or( owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags) ) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); ( uint256 approvedAddressSlot, address approvedAddress ) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if ( !_isSenderApprovedOrOwner( approvedAddress, from, _msgSenderERC721A() ) ) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received( _msgSenderERC721A(), from, tokenId, _data ) returns (bytes4 retval) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer( startTokenId, startTokenId + quantity - 1, address(0), to ); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if ( !_checkContractOnERC721Received( address(0), to, index++, _data ) ) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ""); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); ( uint256 approvedAddressSlot, address approvedAddress ) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if ( !_isSenderApprovedOrOwner( approvedAddress, from, _msgSenderERC721A() ) ) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/IERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: contracts/ERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[]( tokenIdsLength ); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for ( uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i ) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for ( uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i ) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: contracts/SpaceRidersDockable.sol pragma solidity >=0.8.12 <0.9.0; interface StarToken { function balanceOf(address _address) external view returns (uint256 balance); function spend(address _from, uint256 _amount) external; function mint(address to, uint256 amount) external; } interface SpaceRiders { function balanceOf(address owner) external view returns (uint256 balance); } interface SpaceRidersRewards { function getReward(address _to, uint256 _dockingPeriod) external; } error NoSpaceRider(); error OnlyBoardOwner(); error BoardDocked(); error BoardUndocked(); error BoardDockingClosed(); error WalletDocked(); error TokenClaimed(); error WalletClaimed(); error TransferNotAllowedBoardDocked(); error DockingPeriodDoesNotExist(); error DockingPeriodExists(); abstract contract SpaceRidersDockable is ERC721A, ERC721AQueryable, Ownable, ReentrancyGuard { SpaceRiders public spaceRiders = SpaceRiders(0xC9d198089D6c31d0Ca5Cc5B92C97a57A97BBfdE2); StarToken public starToken = StarToken(0xDaa58A1851672a6490E2bb9Fdc8868918cDd86e6); SpaceRidersRewards public spaceRidersRewards; struct Dock { uint256 ts; uint256 tokenId; uint256 period; uint256 periodLength; } struct DockingPeriod { uint256 periodId; uint256 periodLength; uint256 rewardTokenId; uint256 starRewardAmount; bool isOpen; } mapping(uint256 => uint256) private dockingStarted; mapping(uint256 => mapping(uint256 => bool)) public rewardClaimed; mapping(uint256 => DockingPeriod) public dockingPeriods; mapping(address => Dock) public dockedWallets; mapping(address => mapping(uint256 => bool)) public walletClaimed; event Docked(uint256 indexed tokenId); event Undocked(uint256 indexed tokenId); event Terminated(uint256 indexed tokenId); constructor(string memory _name, string memory _symbol) ERC721A(_name, _symbol) {} function dockBoard(uint256 tokenId, uint256 dockingPeriodId) external { if (dockingPeriods[dockingPeriodId].periodId == 0) revert DockingPeriodDoesNotExist(); if (!canDock(dockingPeriodId)) revert BoardDockingClosed(); if (dockingStarted[tokenId] != 0) revert BoardDocked(); if (dockedWallets[msg.sender].tokenId != 0) revert WalletDocked(); if (rewardClaimed[tokenId][dockingPeriodId]) revert TokenClaimed(); if (walletClaimed[msg.sender][dockingPeriodId]) revert WalletClaimed(); if (spaceRiders.balanceOf(msg.sender) == 0) revert NoSpaceRider(); toggleBoardDocking(tokenId, dockingPeriodId); } function undockBoard(uint256 tokenId) external { if (dockingStarted[tokenId] == 0) revert BoardUndocked(); toggleBoardDocking(tokenId, 0); } function canDock(uint256 _dockingPeriodId) public view returns (bool) { return dockingPeriods[_dockingPeriodId].isOpen; } function dockedTimeOfToken(uint256 tokenId) public view returns ( uint256 current, uint256 period, uint256 periodLength ) { uint256 start = dockingStarted[tokenId]; if (start != 0) { return ( block.timestamp - start, dockedWallets[_ownershipOf(tokenId).addr].period, dockedWallets[_ownershipOf(tokenId).addr].periodLength ); } } /* ------- Owner Functions ------- */ function setSpaceRiders(address _contract) external onlyOwner { spaceRiders = SpaceRiders(_contract); } function setStarToken(address _contract) external onlyOwner { starToken = StarToken(_contract); } function setRewards(address _contract) external onlyOwner { spaceRidersRewards = SpaceRidersRewards(_contract); } function setDockingPeriodDetails( uint256 _dockingPeriodId, uint256 _dockingPeriodLength, uint256 _rewardTokenId, uint256 _starRewardAmount, bool _isOpen ) external onlyOwner { if (dockingPeriods[_dockingPeriodId].periodId != 0) revert DockingPeriodExists(); dockingPeriods[_dockingPeriodId] = DockingPeriod( uint256(_dockingPeriodId), uint256(_dockingPeriodLength), uint256(_rewardTokenId), uint256(_starRewardAmount), bool(_isOpen) ); } function updateDockingPeriodDetails( uint256 _dockingPeriodId, uint256 _dockingPeriodLength, uint256 _rewardTokenId, uint256 _starRewardAmount ) external onlyOwner { if (dockingPeriods[_dockingPeriodId].periodId == 0) revert DockingPeriodDoesNotExist(); dockingPeriods[_dockingPeriodId].periodLength = _dockingPeriodLength; dockingPeriods[_dockingPeriodId].rewardTokenId = _rewardTokenId; dockingPeriods[_dockingPeriodId].starRewardAmount = _starRewardAmount; } function toggleCanDock(uint256 _dockingPeriodId) external onlyOwner { if (dockingPeriods[_dockingPeriodId].periodId == 0) revert DockingPeriodDoesNotExist(); dockingPeriods[_dockingPeriodId].isOpen = !dockingPeriods[ _dockingPeriodId ].isOpen; } /** @dev Allows the owner of the contract to terminate docking for multiple token Ids. @param tokenIds The token Ids to be terminated from docking. */ function terminateFromDock(uint256[] calldata tokenIds) external onlyOwner { for (uint256 i = 0; i < tokenIds.length; ++i) { uint256 tokenId = tokenIds[i]; if (dockingStarted[tokenId] == 0) revert BoardUndocked(); address owner = _ownershipOf(tokenId).addr; ( uint256 dockedTime, uint256 periodId, uint256 periodLength ) = dockedTimeOfToken(tokenId); if ( dockedTime > periodLength && !rewardClaimed[tokenId][periodId] && !walletClaimed[owner][periodId] ) { dockingStarted[tokenId] = 0; walletClaimed[owner][periodId] = true; rewardClaimed[tokenId][periodId] = true; delete dockedWallets[owner]; uint256 rewardTokenId = dockingPeriods[periodId].rewardTokenId; uint256 starRewardAmount = dockingPeriods[periodId] .starRewardAmount; if (rewardTokenId != 0) { spaceRidersRewards.getReward(owner, rewardTokenId); } if (starRewardAmount != 0) { starToken.mint(owner, starRewardAmount); } } else { dockingStarted[tokenId] = 0; delete dockedWallets[owner]; } emit Undocked(tokenId); emit Terminated(tokenId); } } /* ------- Internal Functions ------- */ function _startTokenId() internal view virtual override returns (uint256) { return 1; } function toggleBoardDocking(uint256 tokenId, uint256 dockingPeriodId) private { if (_ownershipOf(tokenId).addr != msg.sender) revert OnlyBoardOwner(); if (dockingStarted[tokenId] == 0) { uint256 timestamp = block.timestamp; dockingStarted[tokenId] = timestamp; dockedWallets[msg.sender] = Dock( uint32(timestamp), uint256(tokenId), uint256(dockingPeriodId), uint256(dockingPeriods[dockingPeriodId].periodLength) ); emit Docked(tokenId); } else { ( uint256 dockedTime, uint256 periodId, uint256 periodLength ) = dockedTimeOfToken(tokenId); if ( dockedTime > periodLength && !rewardClaimed[tokenId][periodId] && !walletClaimed[msg.sender][periodId] ) { dockingStarted[tokenId] = 0; walletClaimed[msg.sender][periodId] = true; rewardClaimed[tokenId][periodId] = true; delete dockedWallets[msg.sender]; uint256 rewardTokenId = dockingPeriods[periodId].rewardTokenId; uint256 starRewardAmount = dockingPeriods[periodId] .starRewardAmount; if (rewardTokenId != 0) { spaceRidersRewards.getReward(msg.sender, rewardTokenId); } if (starRewardAmount != 0) { starToken.mint(msg.sender, starRewardAmount); } } else { dockingStarted[tokenId] = 0; delete dockedWallets[msg.sender]; } emit Undocked(tokenId); } } /** @dev Block transfers while docked. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual override { super._beforeTokenTransfers(from, to, startTokenId, quantity); uint256 tokenId = startTokenId; for (uint256 end = tokenId + quantity; tokenId != end; ++tokenId) { if (dockingStarted[tokenId] > 0) revert TransferNotAllowedBoardDocked(); } } } // File: contracts/SpaceRidersGalacticForge.sol pragma solidity >=0.8.12 <0.9.0; interface OgPass { function balanceOf(address owner) external view returns (uint256 balance); } error Paused(); error EthSalePaused(); error MaxMintAmountExceed(); error SupplyExceeded(); error NotWhitelistedForBoard(); error InsufficientStar(); error InvalidValue(); error InvalidTokenType(); error TokenDoesntExist(); error NewSupplyToLow(); error NoBalanceToWithdraw(); error WithdrawFailed(); contract SpaceRidersGalacticForge is SpaceRidersDockable { using MerkleProof for bytes32[]; uint256 private constant RIDER = 0; uint256 private constant CELESTIAL = 1; uint256 private constant SRX = 2; uint256 private constant ANCIENT = 3; uint256 public cost = 0.02 ether; uint256[4] public mintRates = [ 250 ether, 1000 ether, 5000 ether, 10000 ether ]; uint256[4] public minted = [0, 0, 0, 0]; uint256[4] public supplies = [2973, 250, 90, 20]; bytes32[4] private merkleRoots; string public baseURI; uint256 public mintStatus = 0; mapping(uint256 => uint256) private _tokenTypes; OgPass public ogPass = OgPass(0xBa2aa4B18752E75e210FBa0424e565AF3AFb8fC7); event NewBoardMinted(address sender); constructor( string memory _name, string memory _symbol, string memory _baseURI ) SpaceRidersDockable(_name, _symbol) { setBaseURI(_baseURI); } function mint(uint256 _id, bytes32[] calldata proof) external { if (_id > supplies.length || _id < 0) revert InvalidTokenType(); if (mintStatus == 0) revert Paused(); if ( !proof.verify( merkleRoots[_id], keccak256(abi.encodePacked(msg.sender)) ) ) revert NotWhitelistedForBoard(); _validateMint(_id); uint256 starCost = ( ogPass.balanceOf(msg.sender) > 0 ? mintRates[_id] / 2 : mintRates[_id] ); if (starToken.balanceOf(msg.sender) < starCost) revert InsufficientStar(); starToken.spend(msg.sender, starCost); _processMint(_id); } function mintWithEth() external payable { if (mintStatus != 2) revert EthSalePaused(); if (msg.value != cost) revert InvalidValue(); _validateMint(RIDER); _processMint(RIDER); } /* ------- Internal Functions ------- */ function _validateMint(uint256 _tokenTypeId) internal view { if (spaceRiders.balanceOf(msg.sender) == 0) revert NoSpaceRider(); if (minted[_tokenTypeId] + 1 > supplies[_tokenTypeId]) revert SupplyExceeded(); if (mintedTotalOfAddress(msg.sender) > 0) revert MaxMintAmountExceed(); } function _processMint(uint256 _tokenTypeId) internal { _tokenTypes[_nextTokenId()] = _tokenTypeId; ++minted[_tokenTypeId]; _setAux(msg.sender, 1); _safeMint(msg.sender, 1); emit NewBoardMinted(msg.sender); } /* ------- View Functions ------- */ function tokenURI(uint256 _tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) { if (!_exists(_tokenId)) revert OwnerQueryForNonexistentToken(); return bytes(baseURI).length > 0 ? string( abi.encodePacked(baseURI, _toString(_tokenId), ".json") ) : ""; } function mintedTotalOfAddress(address _address) public view returns (uint64) { return uint64(_getAux(_address)); } function remainingSupplyOfTokenType(uint256 _id) public view returns (uint256) { return supplies[_id] - minted[_id]; } function tokenType(uint256 _tokenId) public view returns (uint256) { if (!_exists(_tokenId)) revert OwnerQueryForNonexistentToken(); return _tokenTypes[_tokenId] + 1; } /* ------- Owner Functions ------- */ function setOgPass(address _contract) external onlyOwner { ogPass = OgPass(_contract); } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function setMintStatus(uint256 _mintStatus) external onlyOwner { mintStatus = _mintStatus; } function setMintRates(uint256[4] calldata _mintRates) external onlyOwner { mintRates = _mintRates; } function setCost(uint256 _newCost) external onlyOwner { cost = _newCost; } function setSupplies(uint256[4] calldata _supplies) external onlyOwner { for (uint256 i = 0; i < 4; ++i) { if (_supplies[i] < minted[i]) revert NewSupplyToLow(); supplies[i] = _supplies[i]; } } function setMerkleRootForTokenTypes(bytes32[4] calldata _merkleRoots) external onlyOwner { merkleRoots = _merkleRoots; } function mintMultipleToAddress( uint256 _id, uint256 _amount, address _address ) external onlyOwner { if (_id > supplies.length || _id < 0) revert InvalidTokenType(); if (_amount > remainingSupplyOfTokenType(_id)) revert SupplyExceeded(); uint256 mintIndex = _nextTokenId(); for ( uint256 nextTokenId = mintIndex; nextTokenId < (mintIndex + _amount); ++nextTokenId ) { _tokenTypes[nextTokenId] = _id; } minted[_id] += _amount; _safeMint(_address, _amount); } function withdraw() public payable onlyOwner { (bool success, ) = payable(0x2A76bAA2F2cFB1b17aE672C995B3C41398e86cCD) .call{value: address(this).balance}(""); if (!success) revert WithdrawFailed(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BoardDocked","type":"error"},{"inputs":[],"name":"BoardDockingClosed","type":"error"},{"inputs":[],"name":"BoardUndocked","type":"error"},{"inputs":[],"name":"DockingPeriodDoesNotExist","type":"error"},{"inputs":[],"name":"DockingPeriodExists","type":"error"},{"inputs":[],"name":"EthSalePaused","type":"error"},{"inputs":[],"name":"InsufficientStar","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"InvalidTokenType","type":"error"},{"inputs":[],"name":"InvalidValue","type":"error"},{"inputs":[],"name":"MaxMintAmountExceed","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NewSupplyToLow","type":"error"},{"inputs":[],"name":"NoSpaceRider","type":"error"},{"inputs":[],"name":"NotWhitelistedForBoard","type":"error"},{"inputs":[],"name":"OnlyBoardOwner","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"Paused","type":"error"},{"inputs":[],"name":"SupplyExceeded","type":"error"},{"inputs":[],"name":"TokenClaimed","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferNotAllowedBoardDocked","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WalletClaimed","type":"error"},{"inputs":[],"name":"WalletDocked","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Docked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"NewBoardMinted","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"}],"name":"Terminated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Undocked","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dockingPeriodId","type":"uint256"}],"name":"canDock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"dockingPeriodId","type":"uint256"}],"name":"dockBoard","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"dockedTimeOfToken","outputs":[{"internalType":"uint256","name":"current","type":"uint256"},{"internalType":"uint256","name":"period","type":"uint256"},{"internalType":"uint256","name":"periodLength","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"dockedWallets","outputs":[{"internalType":"uint256","name":"ts","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"period","type":"uint256"},{"internalType":"uint256","name":"periodLength","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dockingPeriods","outputs":[{"internalType":"uint256","name":"periodId","type":"uint256"},{"internalType":"uint256","name":"periodLength","type":"uint256"},{"internalType":"uint256","name":"rewardTokenId","type":"uint256"},{"internalType":"uint256","name":"starRewardAmount","type":"uint256"},{"internalType":"bool","name":"isOpen","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","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":"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":"_id","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"mintMultipleToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintRates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintWithEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"mintedTotalOfAddress","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogPass","outputs":[{"internalType":"contract OgPass","name":"","type":"address"}],"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":"_id","type":"uint256"}],"name":"remainingSupplyOfTokenType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"payable","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":"payable","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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dockingPeriodId","type":"uint256"},{"internalType":"uint256","name":"_dockingPeriodLength","type":"uint256"},{"internalType":"uint256","name":"_rewardTokenId","type":"uint256"},{"internalType":"uint256","name":"_starRewardAmount","type":"uint256"},{"internalType":"bool","name":"_isOpen","type":"bool"}],"name":"setDockingPeriodDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[4]","name":"_merkleRoots","type":"bytes32[4]"}],"name":"setMerkleRootForTokenTypes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[4]","name":"_mintRates","type":"uint256[4]"}],"name":"setMintRates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintStatus","type":"uint256"}],"name":"setMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setOgPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setSpaceRiders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setStarToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[4]","name":"_supplies","type":"uint256[4]"}],"name":"setSupplies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"spaceRiders","outputs":[{"internalType":"contract SpaceRiders","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spaceRidersRewards","outputs":[{"internalType":"contract SpaceRidersRewards","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"starToken","outputs":[{"internalType":"contract StarToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplies","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenIds","type":"uint256[]"}],"name":"terminateFromDock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dockingPeriodId","type":"uint256"}],"name":"toggleCanDock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"undockBoard","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dockingPeriodId","type":"uint256"},{"internalType":"uint256","name":"_dockingPeriodLength","type":"uint256"},{"internalType":"uint256","name":"_rewardTokenId","type":"uint256"},{"internalType":"uint256","name":"_starRewardAmount","type":"uint256"}],"name":"updateDockingPeriodDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"walletClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
600a80546001600160a01b031990811673c9d198089d6c31d0ca5cc5b92c97a57a97bbfde217909155600b805490911673daa58a1851672a6490e2bb9fdc8868918cdd86e617905566470de4df820000601255610100604052680d8d726b7177a800006080908152683635c9adc5dea0000060a05269010f0cf064dd5920000060c05269021e19e0c9bab240000060e052620000a090601390600462000286565b50604080516080810182526000808252602082018190529181018290526060810191909152620000d5906017906004620002d4565b5060408051608081018252610b9d815260fa6020820152605a91810191909152601460608201526200010c90601b9060046200030a565b506000602455602680546001600160a01b03191673ba2aa4b18752e75e210fba0424e565af3afb8fc71790553480156200014557600080fd5b5060405162003dce38038062003dce83398101604081905262000168916200041d565b8282818160026200017a83826200053d565b5060036200018982826200053d565b50506001600055506200019c33620001b7565b50506001600955620001ae8162000209565b50505062000609565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200021362000225565b60236200022182826200053d565b5050565b6008546001600160a01b03163314620002845760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b8260048101928215620002c2579160200282015b82811115620002c257825182906001600160501b03169055916020019190600101906200029a565b50620002d092915062000341565b5090565b8260048101928215620002c2579160200282015b82811115620002c2578251829060ff16905591602001919060010190620002e8565b8260048101928215620002c2579160200282015b82811115620002c2578251829061ffff169055916020019190600101906200031e565b5b80821115620002d0576000815560010162000342565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200038057600080fd5b81516001600160401b03808211156200039d576200039d62000358565b604051601f8301601f19908116603f01168101908282118183101715620003c857620003c862000358565b81604052838152602092508683858801011115620003e557600080fd5b600091505b83821015620004095785820183015181830184015290820190620003ea565b600093810190920192909252949350505050565b6000806000606084860312156200043357600080fd5b83516001600160401b03808211156200044b57600080fd5b62000459878388016200036e565b945060208601519150808211156200047057600080fd5b6200047e878388016200036e565b935060408601519150808211156200049557600080fd5b50620004a4868287016200036e565b9150509250925092565b600181811c90821680620004c357607f821691505b602082108103620004e457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200053857600081815260208120601f850160051c81016020861015620005135750805b601f850160051c820191505b8181101562000534578281556001016200051f565b5050505b505050565b81516001600160401b0381111562000559576200055962000358565b62000571816200056a8454620004ae565b84620004ea565b602080601f831160018114620005a95760008415620005905750858301515b600019600386901b1c1916600185901b17855562000534565b600085815260208120601f198616915b82811015620005da57888601518255948401946001909101908401620005b9565b5085821015620005f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6137b580620006196000396000f3fe6080604052600436106103975760003560e01c8063715018a6116101dc578063b7ca51e811610102578063dcce1600116100a0578063ec38a8621161006f578063ec38a86214610b87578063ec73fac114610ba7578063f2fde38b14610be2578063fbe145e614610c0257600080fd5b8063dcce160014610ade578063e6c3b1f614610afe578063e985e9c514610b1e578063eac0020314610b6757600080fd5b8063c23dc68f116100dc578063c23dc68f14610a51578063c87b56dd14610a7e578063d707a56b14610a9e578063d8d0b50114610abe57600080fd5b8063b7ca51e8146109fe578063b88d4fde14610a1e578063ba41b0c614610a3157600080fd5b806395d89b411161017a5780639da3f8fd116101495780639da3f8fd14610975578063a22cb4651461098b578063abd2aaee146109ab578063af79dd83146109cb57600080fd5b806395d89b411461090057806399a2557a146109155780639c293c19146109355780639d9744e31461095557600080fd5b80638462151c116101b65780638462151c14610875578063887fee31146108a25780638da5cb5b146108c257806391c106f2146108e057600080fd5b8063715018a614610820578063756e0afa146108355780637dc0bf3f1461085557600080fd5b80632b6a8be6116102c15780634bbe4f741161025f5780636352211e1161022e5780636352211e14610754578063643c4fb2146107745780636c0360eb146107eb57806370a082311461080057600080fd5b80634bbe4f74146106c757806355f804b3146106e757806356df5361146107075780635bbb21771461072757600080fd5b806342842e0e1161029b57806342842e0e1461065457806343f85102146106675780634488c7cd1461068757806344a0d68a146106a757600080fd5b80632b6a8be61461060c578063334d491d1461062c5780633ccfd60b1461064c57600080fd5b806310d82ae31161033957806318160ddd1161030857806318160ddd1461059c57806323b872dd146105b957806326e14ce6146105cc57806326f1a1fd146105ec57600080fd5b806310d82ae3146104a357806313faede6146104db578063157ea1c6146104ff578063164603751461053a57600080fd5b8063081812fc11610375578063081812fc1461042e578063095ea7b3146104665780630ad641f11461047b578063103402361461048357600080fd5b806301ffc9a71461039c57806302afb41a146103d157806306fdde031461040c575b600080fd5b3480156103a857600080fd5b506103bc6103b7366004612eeb565b610c22565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103bc6103ec366004612f24565b601160209081526000928352604080842090915290825290205460ff1681565b34801561041857600080fd5b50610421610c74565b6040516103c89190612f9e565b34801561043a57600080fd5b5061044e610449366004612fb1565b610d06565b6040516001600160a01b0390911681526020016103c8565b610479610474366004612f24565b610d4a565b005b610479610dea565b34801561048f57600080fd5b5061047961049e366004612fdb565b610e45565b3480156104af57600080fd5b506104c36104be366004612ff7565b610e5e565b6040516001600160401b0390911681526020016103c8565b3480156104e757600080fd5b506104f160125481565b6040519081526020016103c8565b34801561050b57600080fd5b506103bc61051a366004613012565b600e60209081526000928352604080842090915290825290205460ff1681565b34801561054657600080fd5b5061057c610555366004612ff7565b60106020526000908152604090208054600182015460028301546003909301549192909184565b6040805194855260208501939093529183015260608201526080016103c8565b3480156105a857600080fd5b5060015460005403600019016104f1565b6104796105c7366004613034565b610e7f565b3480156105d857600080fd5b506104796105e73660046130bb565b611025565b3480156105f857600080fd5b506104f1610607366004612fb1565b611325565b34801561061857600080fd5b506104f1610627366004612fb1565b61133c565b34801561063857600080fd5b50610479610647366004612ff7565b611372565b61047961139c565b610479610662366004613034565b611424565b34801561067357600080fd5b50610479610682366004612ff7565b61143f565b34801561069357600080fd5b506104796106a2366004613012565b611469565b3480156106b357600080fd5b506104796106c2366004612fb1565b611634565b3480156106d357600080fd5b506104796106e2366004612fdb565b611641565b3480156106f357600080fd5b50610479610702366004613187565b6116dc565b34801561071357600080fd5b506104796107223660046131df565b6116f0565b34801561073357600080fd5b506107476107423660046130bb565b61178c565b6040516103c89190613264565b34801561076057600080fd5b5061044e61076f366004612fb1565b611857565b34801561078057600080fd5b506107c161078f366004612fb1565b600f60205260009081526040902080546001820154600283015460038401546004909401549293919290919060ff1685565b6040805195865260208601949094529284019190915260608301521515608082015260a0016103c8565b3480156107f757600080fd5b50610421611862565b34801561080c57600080fd5b506104f161081b366004612ff7565b6118f0565b34801561082c57600080fd5b5061047961193e565b34801561084157600080fd5b50610479610850366004612fb1565b611950565b34801561086157600080fd5b506104f1610870366004612fb1565b6119a9565b34801561088157600080fd5b50610895610890366004612ff7565b6119b9565b6040516103c891906132a6565b3480156108ae57600080fd5b506104796108bd366004612fb1565b611ac1565b3480156108ce57600080fd5b506008546001600160a01b031661044e565b3480156108ec57600080fd5b50600a5461044e906001600160a01b031681565b34801561090c57600080fd5b50610421611ace565b34801561092157600080fd5b506108956109303660046132de565b611add565b34801561094157600080fd5b50610479610950366004612fb1565b611c64565b34801561096157600080fd5b506104f1610970366004612fb1565b611c9d565b34801561098157600080fd5b506104f160245481565b34801561099757600080fd5b506104796109a6366004613311565b611cad565b3480156109b757600080fd5b506104796109c6366004612fdb565b611d19565b3480156109d757600080fd5b506103bc6109e6366004612fb1565b6000908152600f602052604090206004015460ff1690565b348015610a0a57600080fd5b50600b5461044e906001600160a01b031681565b610479610a2c366004613344565b611d2e565b348015610a3d57600080fd5b50610479610a4c3660046133bf565b611d78565b348015610a5d57600080fd5b50610a71610a6c366004612fb1565b612023565b6040516103c8919061340a565b348015610a8a57600080fd5b50610421610a99366004612fb1565b6120ab565b348015610aaa57600080fd5b50610479610ab9366004612ff7565b61212f565b348015610aca57600080fd5b50610479610ad9366004613418565b612159565b348015610aea57600080fd5b50610479610af936600461344a565b6121b1565b348015610b0a57600080fd5b506104f1610b19366004612fb1565b612279565b348015610b2a57600080fd5b506103bc610b3936600461347f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b7357600080fd5b5060265461044e906001600160a01b031681565b348015610b9357600080fd5b50610479610ba2366004612ff7565b6122bb565b348015610bb357600080fd5b50610bc7610bc2366004612fb1565b6122e5565b604080519384526020840192909252908201526060016103c8565b348015610bee57600080fd5b50610479610bfd366004612ff7565b612387565b348015610c0e57600080fd5b50600c5461044e906001600160a01b031681565b60006301ffc9a760e01b6001600160e01b031983161480610c5357506380ac58cd60e01b6001600160e01b03198316145b80610c6e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610c83906134a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610caf906134a9565b8015610cfc5780601f10610cd157610100808354040283529160200191610cfc565b820191906000526020600020905b815481529060010190602001808311610cdf57829003601f168201915b5050505050905090565b6000610d1182612402565b610d2e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610d5582611857565b9050336001600160a01b03821614610d8e57610d718133610b39565b610d8e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b602454600214610e0d57604051631698e69360e21b815260040160405180910390fd5b6012543414610e2f57604051632a9ffab760e21b815260040160405180910390fd5b610e396000612437565b610e43600061254a565b565b610e4d6125f1565b610e5a601f826004612e82565b5050565b6001600160a01b03811660009081526005602052604081205460c01c610c6e565b6000610e8a8261264b565b9050836001600160a01b0316816001600160a01b031614610ebd5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610f0a57610eed8633610b39565b610f0a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f3157604051633a954ecd60e21b815260040160405180910390fd5b610f3e86868660016126ba565b8015610f4957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610fdb57600184016000818152600460205260408120549003610fd9576000548114610fd95760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61102d6125f1565b60005b8181101561132057600083838381811061104c5761104c6134e3565b905060200201359050600d6000828152602001908152602001600020546000036110895760405163488d388360e11b815260040160405180910390fd5b60006110948261270e565b519050600080806110a4856122e5565b92509250925080831180156110d357506000858152600e6020908152604080832085845290915290205460ff16155b801561110357506001600160a01b038416600090815260116020908152604080832085845290915290205460ff16155b15611277576000858152600d602090815260408083208390556001600160a01b0387168084526011835281842086855283528184208054600160ff1991821681179092558a8652600e855283862088875285528386208054909116821790559084526010835281842084815590810184905560028082018590556003918201859055868552600f909352922090810154910154811561120357600c54604051637a3a646760e11b81526001600160a01b038881166004830152602482018590529091169063f474c8ce90604401600060405180830381600087803b1580156111ea57600080fd5b505af11580156111fe573d6000803e3d6000fd5b505050505b801561127057600b546040516340c10f1960e01b81526001600160a01b03888116600483015260248201849052909116906340c10f1990604401600060405180830381600087803b15801561125757600080fd5b505af115801561126b573d6000803e3d6000fd5b505050505b50506112b4565b6000858152600d602090815260408083208390556001600160a01b0387168352601090915281208181556001810182905560028101829055600301555b60405185907fbe3bd10a58937b86abba43e343331f0a9bff726ac1549b064fac1348cc9bd0d590600090a260405185907f9a9cad27a1bdce3d7cb0602aaf727dfaad03ba6524d9bca7b9615867fa6802b490600090a25050505050806113199061350f565b9050611030565b505050565b601b816004811061133557600080fd5b0154905081565b600060178260048110611351576113516134e3565b0154601b8360048110611366576113666134e3565b0154610c6e9190613528565b61137a6125f1565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113a46125f1565b604051600090732a76baa2f2cfb1b17ae672c995b3c41398e86ccd9047908381818185875af1925050503d80600081146113fa576040519150601f19603f3d011682016040523d82523d6000602084013e6113ff565b606091505b505090508061142157604051631d42c86760e21b815260040160405180910390fd5b50565b61132083838360405180602001604052806000815250611d2e565b6114476125f1565b602680546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600f6020526040812054900361149757604051636e0e853f60e01b815260040160405180910390fd5b6000818152600f602052604090206004015460ff166114c957604051630be2aebf60e41b815260040160405180910390fd5b6000828152600d6020526040902054156114f657604051630ba4a71560e11b815260040160405180910390fd5b33600090815260106020526040902060010154156115275760405163188530c160e31b815260040160405180910390fd5b6000828152600e6020908152604080832084845290915290205460ff1615611562576040516369a2ce9160e11b815260040160405180910390fd5b33600090815260116020908152604080832084845290915290205460ff161561159e57604051631174352960e01b815260040160405180910390fd5b600a546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156115e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160a919061353b565b60000361162a57604051635806c58560e11b815260040160405180910390fd5b610e5a8282612743565b61163c6125f1565b601255565b6116496125f1565b60005b6004811015610e5a5760178160048110611668576116686134e3565b015482826004811061167c5761167c6134e3565b602002013510156116a057604051631fd7d66f60e01b815260040160405180910390fd5b8181600481106116b2576116b26134e3565b6020020135601b82600481106116ca576116ca6134e3565b01556116d58161350f565b905061164c565b6116e46125f1565b6023610e5a828261359a565b6116f86125f1565b6000858152600f6020526040902054156117255760405163d7feaef760e01b815260040160405180910390fd5b6040805160a081018252868152602080820196875281830195865260608201948552921515608082019081526000978852600f9093529520945185559251600185015590516002840155516003830155516004909101805460ff1916911515919091179055565b6060816000816001600160401b038111156117a9576117a96130fc565b6040519080825280602002602001820160405280156117fb57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816117c75790505b50905060005b82811461184e5761182986868381811061181d5761181d6134e3565b90506020020135612023565b82828151811061183b5761183b6134e3565b6020908102919091010152600101611801565b50949350505050565b6000610c6e8261264b565b6023805461186f906134a9565b80601f016020809104026020016040519081016040528092919081815260200182805461189b906134a9565b80156118e85780601f106118bd576101008083540402835291602001916118e8565b820191906000526020600020905b8154815290600101906020018083116118cb57829003601f168201915b505050505081565b60006001600160a01b038216611919576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6119466125f1565b610e436000612a5c565b6119586125f1565b6000818152600f6020526040812054900361198657604051636e0e853f60e01b815260040160405180910390fd5b6000908152600f60205260409020600401805460ff19811660ff90911615179055565b6017816004811061133557600080fd5b606060008060006119c9856118f0565b90506000816001600160401b038111156119e5576119e56130fc565b604051908082528060200260200182016040528015611a0e578160200160208202803683370190505b509050611a3b60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614611ab557611a4e81612aae565b91508160400151611aad5781516001600160a01b031615611a6e57815194505b876001600160a01b0316856001600160a01b031603611aad5780838780600101985081518110611aa057611aa06134e3565b6020026020010181815250505b600101611a3e565b50909695505050505050565b611ac96125f1565b602455565b606060038054610c83906134a9565b6060818310611aff57604051631960ccad60e11b815260040160405180910390fd5b600080611b0b60005490565b90506001851015611b1b57600194505b80841115611b27578093505b6000611b32876118f0565b905084861015611b515785850381811015611b4b578091505b50611b55565b5060005b6000816001600160401b03811115611b6f57611b6f6130fc565b604051908082528060200260200182016040528015611b98578160200160208202803683370190505b50905081600003611bae579350611c5d92505050565b6000611bb988612023565b905060008160400151611bca575080515b885b888114158015611bdc5750848714155b15611c5157611bea81612aae565b92508260400151611c495782516001600160a01b031615611c0a57825191505b8a6001600160a01b0316826001600160a01b031603611c495780848880600101995081518110611c3c57611c3c6134e3565b6020026020010181815250505b600101611bcc565b50505092835250909150505b9392505050565b6000818152600d60205260408120549003611c925760405163488d388360e11b815260040160405180910390fd5b611421816000612743565b6013816004811061133557600080fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611d216125f1565b610e5a6013826004612e82565b611d39848484610e7f565b6001600160a01b0383163b15611d7257611d5584848484612aea565b611d72576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6004831180611d85575060005b15611da35760405163a1e9dd9d60e01b815260040160405180910390fd5b602454600003611dc6576040516313d0ff5960e31b815260040160405180910390fd5b611e4f601f8460048110611ddc57611ddc6134e3565b01546040516bffffffffffffffffffffffff193360601b16602082015260340160405160208183030381529060405280519060200120848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929493925050612bd69050565b611e6c57604051634a56920160e11b815260040160405180910390fd5b611e7583612437565b6026546040516370a0823160e01b815233600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee6919061353b565b11611f055760138460048110611efe57611efe6134e3565b0154611f26565b600260138560048110611f1a57611f1a6134e3565b0154611f269190613659565b600b546040516370a0823160e01b815233600482015291925082916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f97919061353b565b1015611fb6576040516326b2b89960e11b815260040160405180910390fd5b600b5460405163af7d6ca360e01b8152336004820152602481018390526001600160a01b039091169063af7d6ca390604401600060405180830381600087803b15801561200257600080fd5b505af1158015612016573d6000803e3d6000fd5b50505050611d728461254a565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061207c57506000548310155b156120875792915050565b61209083612aae565b90508060400151156120a25792915050565b611c5d8361270e565b60606120b682612402565b6120d357604051636f96cda160e11b815260040160405180910390fd5b6000602380546120e2906134a9565b9050116120fe5760405180602001604052806000815250610c6e565b602361210983612bec565b60405160200161211a92919061367b565b60405160208183030381529060405292915050565b6121376125f1565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6121616125f1565b6000848152600f6020526040812054900361218f57604051636e0e853f60e01b815260040160405180910390fd5b6000938452600f60205260409093206001810192909255600282015560030155565b6121b96125f1565b60048311806121c6575060005b156121e45760405163a1e9dd9d60e01b815260040160405180910390fd5b6121ed8361133c565b82111561220d57604051637d3d824960e01b815260040160405180910390fd5b600054805b61221c8483613712565b81101561224457600081815260256020526040902085905561223d8161350f565b9050612212565b508260178560048110612259576122596134e3565b0160008282546122699190613712565b90915550611d7290508284612c30565b600061228482612402565b6122a157604051636f96cda160e11b815260040160405180910390fd5b600082815260256020526040902054610c6e906001613712565b6122c36125f1565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600d602052604081205481908190801561237e576123088142613528565b601060006123158861270e565b600001516001600160a01b03166001600160a01b03168152602001908152602001600020600201546010600061234a8961270e565b600001516001600160a01b03166001600160a01b031681526020019081526020016000206003015493509350935050612380565b505b9193909250565b61238f6125f1565b6001600160a01b0381166123f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61142181612a5c565b600081600111158015612416575060005482105b8015610c6e575050600090815260046020526040902054600160e01b161590565b600a546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561247f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a3919061353b565b6000036124c357604051635806c58560e11b815260040160405180910390fd5b601b81600481106124d6576124d66134e3565b0154601782600481106124eb576124eb6134e3565b01546124f8906001613712565b111561251757604051637d3d824960e01b815260040160405180910390fd5b600061252233610e5e565b6001600160401b03161115611421576040516323153d8560e21b815260040160405180910390fd5b806025600061255860005490565b81526020810191909152604001600020556017816004811061257c5761257c6134e3565b016000815461258a9061350f565b9091555033600090815260056020526040902080546001600160c01b0316600160c01b1790556125bb336001612c30565b6040513381527ff84b68998b558bc822e69ef00642fdd66e123093244007bbf4d95adaf29d436f9060200160405180910390a150565b6008546001600160a01b03163314610e435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016123f0565b600081806001116126a1576000548110156126a15760008181526004602052604081205490600160e01b8216900361269f575b80600003611c5d57506000190160008181526004602052604090205461267e565b505b604051636f96cda160e11b815260040160405180910390fd5b8160006126c78383613712565b90505b80821461101d576000828152600d6020526040902054156126fe5760405163ea2f4c4160e01b815260040160405180910390fd5b6127078261350f565b91506126ca565b604080516080810182526000808252602082018190529181018290526060810191909152610c6e61273e8361264b565b612c4a565b3361274d8361270e565b516001600160a01b03161461277557604051634ce141ef60e11b815260040160405180910390fd5b6000828152600d6020526040812054900361282b576000828152600d602090815260408083204290819055815160808101835263ffffffff82168152808401878152818401878152878752600f865284872060019081015460608501908152338952601090975285882093518455915191830191909155516002820155925160039093019290925551909184917f117a07d6ffef9bfd888fe44591f4309837b7c8c14f55f55c55bb2bffefbab2599190a2505050565b6000806000612839856122e5565b925092509250808311801561286857506000858152600e6020908152604080832085845290915290205460ff16155b801561288f575033600090815260116020908152604080832085845290915290205460ff16155b156129f6576000858152600d60209081526040808320839055338084526011835281842086855283528184208054600160ff1991821681179092558a8652600e855283862088875285528386208054909116821790559084526010835281842084815590810184905560028082018590556003918201859055868552600f909352922090810154910154811561298457600c54604051637a3a646760e11b8152336004820152602481018490526001600160a01b039091169063f474c8ce90604401600060405180830381600087803b15801561296b57600080fd5b505af115801561297f573d6000803e3d6000fd5b505050505b80156129ef57600b546040516340c10f1960e01b8152336004820152602481018390526001600160a01b03909116906340c10f1990604401600060405180830381600087803b1580156129d657600080fd5b505af11580156129ea573d6000803e3d6000fd5b505050505b5050612a2a565b6000858152600d60209081526040808320839055338352601090915281208181556001810182905560028101829055600301555b60405185907fbe3bd10a58937b86abba43e343331f0a9bff726ac1549b064fac1348cc9bd0d590600090a25050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610c6e90612c4a565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612b1f903390899088908890600401613725565b6020604051808303816000875af1925050508015612b5a575060408051601f3d908101601f19168201909252612b5791810190613762565b60015b612bb8573d808015612b88576040519150601f19603f3d011682016040523d82523d6000602084013e612b8d565b606091505b508051600003612bb0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600082612be38584612c91565b14949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612c065750819003601f19909101908152919050565b610e5a828260405180602001604052806000815250612cde565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b8451811015612cd657612cc282868381518110612cb557612cb56134e3565b6020026020010151612d4b565b915080612cce8161350f565b915050612c96565b509392505050565b612ce88383612d77565b6001600160a01b0383163b15611320576000548281035b612d126000868380600101945086612aea565b612d2f576040516368d2bf6b60e11b815260040160405180910390fd5b818110612cff578160005414612d4457600080fd5b5050505050565b6000818310612d67576000828152602084905260409020611c5d565b5060009182526020526040902090565b6000805490829003612d9c5760405163b562e8dd60e01b815260040160405180910390fd5b612da960008483856126ba565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612e5857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612e20565b5081600003612e7957604051622e076360e81b815260040160405180910390fd5b60005550505050565b8260048101928215612eb0579160200282015b82811115612eb0578235825591602001919060010190612e95565b50612ebc929150612ec0565b5090565b5b80821115612ebc5760008155600101612ec1565b6001600160e01b03198116811461142157600080fd5b600060208284031215612efd57600080fd5b8135611c5d81612ed5565b80356001600160a01b0381168114612f1f57600080fd5b919050565b60008060408385031215612f3757600080fd5b612f4083612f08565b946020939093013593505050565b60005b83811015612f69578181015183820152602001612f51565b50506000910152565b60008151808452612f8a816020860160208601612f4e565b601f01601f19169290920160200192915050565b602081526000611c5d6020830184612f72565b600060208284031215612fc357600080fd5b5035919050565b8060808101831015610c6e57600080fd5b600060808284031215612fed57600080fd5b611c5d8383612fca565b60006020828403121561300957600080fd5b611c5d82612f08565b6000806040838503121561302557600080fd5b50508035926020909101359150565b60008060006060848603121561304957600080fd5b61305284612f08565b925061306060208501612f08565b9150604084013590509250925092565b60008083601f84011261308257600080fd5b5081356001600160401b0381111561309957600080fd5b6020830191508360208260051b85010111156130b457600080fd5b9250929050565b600080602083850312156130ce57600080fd5b82356001600160401b038111156130e457600080fd5b6130f085828601613070565b90969095509350505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561312c5761312c6130fc565b604051601f8501601f19908116603f01168101908282118183101715613154576131546130fc565b8160405280935085815286868601111561316d57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561319957600080fd5b81356001600160401b038111156131af57600080fd5b8201601f810184136131c057600080fd5b612bce84823560208401613112565b80358015158114612f1f57600080fd5b600080600080600060a086880312156131f757600080fd5b8535945060208601359350604086013592506060860135915061321c608087016131cf565b90509295509295909350565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611ab557613293838551613228565b9284019260809290920191600101613280565b6020808252825182820181905260009190848201906040850190845b81811015611ab5578351835292840192918401916001016132c2565b6000806000606084860312156132f357600080fd5b6132fc84612f08565b95602085013595506040909401359392505050565b6000806040838503121561332457600080fd5b61332d83612f08565b915061333b602084016131cf565b90509250929050565b6000806000806080858703121561335a57600080fd5b61336385612f08565b935061337160208601612f08565b92506040850135915060608501356001600160401b0381111561339357600080fd5b8501601f810187136133a457600080fd5b6133b387823560208401613112565b91505092959194509250565b6000806000604084860312156133d457600080fd5b8335925060208401356001600160401b038111156133f157600080fd5b6133fd86828701613070565b9497909650939450505050565b60808101610c6e8284613228565b6000806000806080858703121561342e57600080fd5b5050823594602084013594506040840135936060013592509050565b60008060006060848603121561345f57600080fd5b833592506020840135915061347660408501612f08565b90509250925092565b6000806040838503121561349257600080fd5b61349b83612f08565b915061333b60208401612f08565b600181811c908216806134bd57607f821691505b6020821081036134dd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613521576135216134f9565b5060010190565b81810381811115610c6e57610c6e6134f9565b60006020828403121561354d57600080fd5b5051919050565b601f82111561132057600081815260208120601f850160051c8101602086101561357b5750805b601f850160051c820191505b8181101561101d57828155600101613587565b81516001600160401b038111156135b3576135b36130fc565b6135c7816135c184546134a9565b84613554565b602080601f8311600181146135fc57600084156135e45750858301515b600019600386901b1c1916600185901b17855561101d565b600085815260208120601f198616915b8281101561362b5788860151825594840194600190910190840161360c565b50858210156136495787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008261367657634e487b7160e01b600052601260045260246000fd5b500490565b6000808454613689816134a9565b600182811680156136a157600181146136b6576136e5565b60ff19841687528215158302870194506136e5565b8860005260208060002060005b858110156136dc5781548a8201529084019082016136c3565b50505082870194505b5050505083516136f9818360208801612f4e565b64173539b7b760d91b9101908152600501949350505050565b80820180821115610c6e57610c6e6134f9565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061375890830184612f72565b9695505050505050565b60006020828403121561377457600080fd5b8151611c5d81612ed556fea264697066735822122073b1db5a99b435c89df9ae98e5d9014875ace097b354c432b38dc324da46c68d64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001b5370616365205269646572732047616c616374696320466f726765000000000000000000000000000000000000000000000000000000000000000000000000045352474600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f6170692e73706163657269646572732e78797a2f626f617264732f6d657461646174612f0000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103975760003560e01c8063715018a6116101dc578063b7ca51e811610102578063dcce1600116100a0578063ec38a8621161006f578063ec38a86214610b87578063ec73fac114610ba7578063f2fde38b14610be2578063fbe145e614610c0257600080fd5b8063dcce160014610ade578063e6c3b1f614610afe578063e985e9c514610b1e578063eac0020314610b6757600080fd5b8063c23dc68f116100dc578063c23dc68f14610a51578063c87b56dd14610a7e578063d707a56b14610a9e578063d8d0b50114610abe57600080fd5b8063b7ca51e8146109fe578063b88d4fde14610a1e578063ba41b0c614610a3157600080fd5b806395d89b411161017a5780639da3f8fd116101495780639da3f8fd14610975578063a22cb4651461098b578063abd2aaee146109ab578063af79dd83146109cb57600080fd5b806395d89b411461090057806399a2557a146109155780639c293c19146109355780639d9744e31461095557600080fd5b80638462151c116101b65780638462151c14610875578063887fee31146108a25780638da5cb5b146108c257806391c106f2146108e057600080fd5b8063715018a614610820578063756e0afa146108355780637dc0bf3f1461085557600080fd5b80632b6a8be6116102c15780634bbe4f741161025f5780636352211e1161022e5780636352211e14610754578063643c4fb2146107745780636c0360eb146107eb57806370a082311461080057600080fd5b80634bbe4f74146106c757806355f804b3146106e757806356df5361146107075780635bbb21771461072757600080fd5b806342842e0e1161029b57806342842e0e1461065457806343f85102146106675780634488c7cd1461068757806344a0d68a146106a757600080fd5b80632b6a8be61461060c578063334d491d1461062c5780633ccfd60b1461064c57600080fd5b806310d82ae31161033957806318160ddd1161030857806318160ddd1461059c57806323b872dd146105b957806326e14ce6146105cc57806326f1a1fd146105ec57600080fd5b806310d82ae3146104a357806313faede6146104db578063157ea1c6146104ff578063164603751461053a57600080fd5b8063081812fc11610375578063081812fc1461042e578063095ea7b3146104665780630ad641f11461047b578063103402361461048357600080fd5b806301ffc9a71461039c57806302afb41a146103d157806306fdde031461040c575b600080fd5b3480156103a857600080fd5b506103bc6103b7366004612eeb565b610c22565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103bc6103ec366004612f24565b601160209081526000928352604080842090915290825290205460ff1681565b34801561041857600080fd5b50610421610c74565b6040516103c89190612f9e565b34801561043a57600080fd5b5061044e610449366004612fb1565b610d06565b6040516001600160a01b0390911681526020016103c8565b610479610474366004612f24565b610d4a565b005b610479610dea565b34801561048f57600080fd5b5061047961049e366004612fdb565b610e45565b3480156104af57600080fd5b506104c36104be366004612ff7565b610e5e565b6040516001600160401b0390911681526020016103c8565b3480156104e757600080fd5b506104f160125481565b6040519081526020016103c8565b34801561050b57600080fd5b506103bc61051a366004613012565b600e60209081526000928352604080842090915290825290205460ff1681565b34801561054657600080fd5b5061057c610555366004612ff7565b60106020526000908152604090208054600182015460028301546003909301549192909184565b6040805194855260208501939093529183015260608201526080016103c8565b3480156105a857600080fd5b5060015460005403600019016104f1565b6104796105c7366004613034565b610e7f565b3480156105d857600080fd5b506104796105e73660046130bb565b611025565b3480156105f857600080fd5b506104f1610607366004612fb1565b611325565b34801561061857600080fd5b506104f1610627366004612fb1565b61133c565b34801561063857600080fd5b50610479610647366004612ff7565b611372565b61047961139c565b610479610662366004613034565b611424565b34801561067357600080fd5b50610479610682366004612ff7565b61143f565b34801561069357600080fd5b506104796106a2366004613012565b611469565b3480156106b357600080fd5b506104796106c2366004612fb1565b611634565b3480156106d357600080fd5b506104796106e2366004612fdb565b611641565b3480156106f357600080fd5b50610479610702366004613187565b6116dc565b34801561071357600080fd5b506104796107223660046131df565b6116f0565b34801561073357600080fd5b506107476107423660046130bb565b61178c565b6040516103c89190613264565b34801561076057600080fd5b5061044e61076f366004612fb1565b611857565b34801561078057600080fd5b506107c161078f366004612fb1565b600f60205260009081526040902080546001820154600283015460038401546004909401549293919290919060ff1685565b6040805195865260208601949094529284019190915260608301521515608082015260a0016103c8565b3480156107f757600080fd5b50610421611862565b34801561080c57600080fd5b506104f161081b366004612ff7565b6118f0565b34801561082c57600080fd5b5061047961193e565b34801561084157600080fd5b50610479610850366004612fb1565b611950565b34801561086157600080fd5b506104f1610870366004612fb1565b6119a9565b34801561088157600080fd5b50610895610890366004612ff7565b6119b9565b6040516103c891906132a6565b3480156108ae57600080fd5b506104796108bd366004612fb1565b611ac1565b3480156108ce57600080fd5b506008546001600160a01b031661044e565b3480156108ec57600080fd5b50600a5461044e906001600160a01b031681565b34801561090c57600080fd5b50610421611ace565b34801561092157600080fd5b506108956109303660046132de565b611add565b34801561094157600080fd5b50610479610950366004612fb1565b611c64565b34801561096157600080fd5b506104f1610970366004612fb1565b611c9d565b34801561098157600080fd5b506104f160245481565b34801561099757600080fd5b506104796109a6366004613311565b611cad565b3480156109b757600080fd5b506104796109c6366004612fdb565b611d19565b3480156109d757600080fd5b506103bc6109e6366004612fb1565b6000908152600f602052604090206004015460ff1690565b348015610a0a57600080fd5b50600b5461044e906001600160a01b031681565b610479610a2c366004613344565b611d2e565b348015610a3d57600080fd5b50610479610a4c3660046133bf565b611d78565b348015610a5d57600080fd5b50610a71610a6c366004612fb1565b612023565b6040516103c8919061340a565b348015610a8a57600080fd5b50610421610a99366004612fb1565b6120ab565b348015610aaa57600080fd5b50610479610ab9366004612ff7565b61212f565b348015610aca57600080fd5b50610479610ad9366004613418565b612159565b348015610aea57600080fd5b50610479610af936600461344a565b6121b1565b348015610b0a57600080fd5b506104f1610b19366004612fb1565b612279565b348015610b2a57600080fd5b506103bc610b3936600461347f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b7357600080fd5b5060265461044e906001600160a01b031681565b348015610b9357600080fd5b50610479610ba2366004612ff7565b6122bb565b348015610bb357600080fd5b50610bc7610bc2366004612fb1565b6122e5565b604080519384526020840192909252908201526060016103c8565b348015610bee57600080fd5b50610479610bfd366004612ff7565b612387565b348015610c0e57600080fd5b50600c5461044e906001600160a01b031681565b60006301ffc9a760e01b6001600160e01b031983161480610c5357506380ac58cd60e01b6001600160e01b03198316145b80610c6e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610c83906134a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610caf906134a9565b8015610cfc5780601f10610cd157610100808354040283529160200191610cfc565b820191906000526020600020905b815481529060010190602001808311610cdf57829003601f168201915b5050505050905090565b6000610d1182612402565b610d2e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610d5582611857565b9050336001600160a01b03821614610d8e57610d718133610b39565b610d8e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b602454600214610e0d57604051631698e69360e21b815260040160405180910390fd5b6012543414610e2f57604051632a9ffab760e21b815260040160405180910390fd5b610e396000612437565b610e43600061254a565b565b610e4d6125f1565b610e5a601f826004612e82565b5050565b6001600160a01b03811660009081526005602052604081205460c01c610c6e565b6000610e8a8261264b565b9050836001600160a01b0316816001600160a01b031614610ebd5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610f0a57610eed8633610b39565b610f0a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f3157604051633a954ecd60e21b815260040160405180910390fd5b610f3e86868660016126ba565b8015610f4957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610fdb57600184016000818152600460205260408120549003610fd9576000548114610fd95760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61102d6125f1565b60005b8181101561132057600083838381811061104c5761104c6134e3565b905060200201359050600d6000828152602001908152602001600020546000036110895760405163488d388360e11b815260040160405180910390fd5b60006110948261270e565b519050600080806110a4856122e5565b92509250925080831180156110d357506000858152600e6020908152604080832085845290915290205460ff16155b801561110357506001600160a01b038416600090815260116020908152604080832085845290915290205460ff16155b15611277576000858152600d602090815260408083208390556001600160a01b0387168084526011835281842086855283528184208054600160ff1991821681179092558a8652600e855283862088875285528386208054909116821790559084526010835281842084815590810184905560028082018590556003918201859055868552600f909352922090810154910154811561120357600c54604051637a3a646760e11b81526001600160a01b038881166004830152602482018590529091169063f474c8ce90604401600060405180830381600087803b1580156111ea57600080fd5b505af11580156111fe573d6000803e3d6000fd5b505050505b801561127057600b546040516340c10f1960e01b81526001600160a01b03888116600483015260248201849052909116906340c10f1990604401600060405180830381600087803b15801561125757600080fd5b505af115801561126b573d6000803e3d6000fd5b505050505b50506112b4565b6000858152600d602090815260408083208390556001600160a01b0387168352601090915281208181556001810182905560028101829055600301555b60405185907fbe3bd10a58937b86abba43e343331f0a9bff726ac1549b064fac1348cc9bd0d590600090a260405185907f9a9cad27a1bdce3d7cb0602aaf727dfaad03ba6524d9bca7b9615867fa6802b490600090a25050505050806113199061350f565b9050611030565b505050565b601b816004811061133557600080fd5b0154905081565b600060178260048110611351576113516134e3565b0154601b8360048110611366576113666134e3565b0154610c6e9190613528565b61137a6125f1565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6113a46125f1565b604051600090732a76baa2f2cfb1b17ae672c995b3c41398e86ccd9047908381818185875af1925050503d80600081146113fa576040519150601f19603f3d011682016040523d82523d6000602084013e6113ff565b606091505b505090508061142157604051631d42c86760e21b815260040160405180910390fd5b50565b61132083838360405180602001604052806000815250611d2e565b6114476125f1565b602680546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600f6020526040812054900361149757604051636e0e853f60e01b815260040160405180910390fd5b6000818152600f602052604090206004015460ff166114c957604051630be2aebf60e41b815260040160405180910390fd5b6000828152600d6020526040902054156114f657604051630ba4a71560e11b815260040160405180910390fd5b33600090815260106020526040902060010154156115275760405163188530c160e31b815260040160405180910390fd5b6000828152600e6020908152604080832084845290915290205460ff1615611562576040516369a2ce9160e11b815260040160405180910390fd5b33600090815260116020908152604080832084845290915290205460ff161561159e57604051631174352960e01b815260040160405180910390fd5b600a546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156115e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160a919061353b565b60000361162a57604051635806c58560e11b815260040160405180910390fd5b610e5a8282612743565b61163c6125f1565b601255565b6116496125f1565b60005b6004811015610e5a5760178160048110611668576116686134e3565b015482826004811061167c5761167c6134e3565b602002013510156116a057604051631fd7d66f60e01b815260040160405180910390fd5b8181600481106116b2576116b26134e3565b6020020135601b82600481106116ca576116ca6134e3565b01556116d58161350f565b905061164c565b6116e46125f1565b6023610e5a828261359a565b6116f86125f1565b6000858152600f6020526040902054156117255760405163d7feaef760e01b815260040160405180910390fd5b6040805160a081018252868152602080820196875281830195865260608201948552921515608082019081526000978852600f9093529520945185559251600185015590516002840155516003830155516004909101805460ff1916911515919091179055565b6060816000816001600160401b038111156117a9576117a96130fc565b6040519080825280602002602001820160405280156117fb57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816117c75790505b50905060005b82811461184e5761182986868381811061181d5761181d6134e3565b90506020020135612023565b82828151811061183b5761183b6134e3565b6020908102919091010152600101611801565b50949350505050565b6000610c6e8261264b565b6023805461186f906134a9565b80601f016020809104026020016040519081016040528092919081815260200182805461189b906134a9565b80156118e85780601f106118bd576101008083540402835291602001916118e8565b820191906000526020600020905b8154815290600101906020018083116118cb57829003601f168201915b505050505081565b60006001600160a01b038216611919576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6119466125f1565b610e436000612a5c565b6119586125f1565b6000818152600f6020526040812054900361198657604051636e0e853f60e01b815260040160405180910390fd5b6000908152600f60205260409020600401805460ff19811660ff90911615179055565b6017816004811061133557600080fd5b606060008060006119c9856118f0565b90506000816001600160401b038111156119e5576119e56130fc565b604051908082528060200260200182016040528015611a0e578160200160208202803683370190505b509050611a3b60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614611ab557611a4e81612aae565b91508160400151611aad5781516001600160a01b031615611a6e57815194505b876001600160a01b0316856001600160a01b031603611aad5780838780600101985081518110611aa057611aa06134e3565b6020026020010181815250505b600101611a3e565b50909695505050505050565b611ac96125f1565b602455565b606060038054610c83906134a9565b6060818310611aff57604051631960ccad60e11b815260040160405180910390fd5b600080611b0b60005490565b90506001851015611b1b57600194505b80841115611b27578093505b6000611b32876118f0565b905084861015611b515785850381811015611b4b578091505b50611b55565b5060005b6000816001600160401b03811115611b6f57611b6f6130fc565b604051908082528060200260200182016040528015611b98578160200160208202803683370190505b50905081600003611bae579350611c5d92505050565b6000611bb988612023565b905060008160400151611bca575080515b885b888114158015611bdc5750848714155b15611c5157611bea81612aae565b92508260400151611c495782516001600160a01b031615611c0a57825191505b8a6001600160a01b0316826001600160a01b031603611c495780848880600101995081518110611c3c57611c3c6134e3565b6020026020010181815250505b600101611bcc565b50505092835250909150505b9392505050565b6000818152600d60205260408120549003611c925760405163488d388360e11b815260040160405180910390fd5b611421816000612743565b6013816004811061133557600080fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611d216125f1565b610e5a6013826004612e82565b611d39848484610e7f565b6001600160a01b0383163b15611d7257611d5584848484612aea565b611d72576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6004831180611d85575060005b15611da35760405163a1e9dd9d60e01b815260040160405180910390fd5b602454600003611dc6576040516313d0ff5960e31b815260040160405180910390fd5b611e4f601f8460048110611ddc57611ddc6134e3565b01546040516bffffffffffffffffffffffff193360601b16602082015260340160405160208183030381529060405280519060200120848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929493925050612bd69050565b611e6c57604051634a56920160e11b815260040160405180910390fd5b611e7583612437565b6026546040516370a0823160e01b815233600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee6919061353b565b11611f055760138460048110611efe57611efe6134e3565b0154611f26565b600260138560048110611f1a57611f1a6134e3565b0154611f269190613659565b600b546040516370a0823160e01b815233600482015291925082916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f97919061353b565b1015611fb6576040516326b2b89960e11b815260040160405180910390fd5b600b5460405163af7d6ca360e01b8152336004820152602481018390526001600160a01b039091169063af7d6ca390604401600060405180830381600087803b15801561200257600080fd5b505af1158015612016573d6000803e3d6000fd5b50505050611d728461254a565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061207c57506000548310155b156120875792915050565b61209083612aae565b90508060400151156120a25792915050565b611c5d8361270e565b60606120b682612402565b6120d357604051636f96cda160e11b815260040160405180910390fd5b6000602380546120e2906134a9565b9050116120fe5760405180602001604052806000815250610c6e565b602361210983612bec565b60405160200161211a92919061367b565b60405160208183030381529060405292915050565b6121376125f1565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6121616125f1565b6000848152600f6020526040812054900361218f57604051636e0e853f60e01b815260040160405180910390fd5b6000938452600f60205260409093206001810192909255600282015560030155565b6121b96125f1565b60048311806121c6575060005b156121e45760405163a1e9dd9d60e01b815260040160405180910390fd5b6121ed8361133c565b82111561220d57604051637d3d824960e01b815260040160405180910390fd5b600054805b61221c8483613712565b81101561224457600081815260256020526040902085905561223d8161350f565b9050612212565b508260178560048110612259576122596134e3565b0160008282546122699190613712565b90915550611d7290508284612c30565b600061228482612402565b6122a157604051636f96cda160e11b815260040160405180910390fd5b600082815260256020526040902054610c6e906001613712565b6122c36125f1565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600d602052604081205481908190801561237e576123088142613528565b601060006123158861270e565b600001516001600160a01b03166001600160a01b03168152602001908152602001600020600201546010600061234a8961270e565b600001516001600160a01b03166001600160a01b031681526020019081526020016000206003015493509350935050612380565b505b9193909250565b61238f6125f1565b6001600160a01b0381166123f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61142181612a5c565b600081600111158015612416575060005482105b8015610c6e575050600090815260046020526040902054600160e01b161590565b600a546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561247f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a3919061353b565b6000036124c357604051635806c58560e11b815260040160405180910390fd5b601b81600481106124d6576124d66134e3565b0154601782600481106124eb576124eb6134e3565b01546124f8906001613712565b111561251757604051637d3d824960e01b815260040160405180910390fd5b600061252233610e5e565b6001600160401b03161115611421576040516323153d8560e21b815260040160405180910390fd5b806025600061255860005490565b81526020810191909152604001600020556017816004811061257c5761257c6134e3565b016000815461258a9061350f565b9091555033600090815260056020526040902080546001600160c01b0316600160c01b1790556125bb336001612c30565b6040513381527ff84b68998b558bc822e69ef00642fdd66e123093244007bbf4d95adaf29d436f9060200160405180910390a150565b6008546001600160a01b03163314610e435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016123f0565b600081806001116126a1576000548110156126a15760008181526004602052604081205490600160e01b8216900361269f575b80600003611c5d57506000190160008181526004602052604090205461267e565b505b604051636f96cda160e11b815260040160405180910390fd5b8160006126c78383613712565b90505b80821461101d576000828152600d6020526040902054156126fe5760405163ea2f4c4160e01b815260040160405180910390fd5b6127078261350f565b91506126ca565b604080516080810182526000808252602082018190529181018290526060810191909152610c6e61273e8361264b565b612c4a565b3361274d8361270e565b516001600160a01b03161461277557604051634ce141ef60e11b815260040160405180910390fd5b6000828152600d6020526040812054900361282b576000828152600d602090815260408083204290819055815160808101835263ffffffff82168152808401878152818401878152878752600f865284872060019081015460608501908152338952601090975285882093518455915191830191909155516002820155925160039093019290925551909184917f117a07d6ffef9bfd888fe44591f4309837b7c8c14f55f55c55bb2bffefbab2599190a2505050565b6000806000612839856122e5565b925092509250808311801561286857506000858152600e6020908152604080832085845290915290205460ff16155b801561288f575033600090815260116020908152604080832085845290915290205460ff16155b156129f6576000858152600d60209081526040808320839055338084526011835281842086855283528184208054600160ff1991821681179092558a8652600e855283862088875285528386208054909116821790559084526010835281842084815590810184905560028082018590556003918201859055868552600f909352922090810154910154811561298457600c54604051637a3a646760e11b8152336004820152602481018490526001600160a01b039091169063f474c8ce90604401600060405180830381600087803b15801561296b57600080fd5b505af115801561297f573d6000803e3d6000fd5b505050505b80156129ef57600b546040516340c10f1960e01b8152336004820152602481018390526001600160a01b03909116906340c10f1990604401600060405180830381600087803b1580156129d657600080fd5b505af11580156129ea573d6000803e3d6000fd5b505050505b5050612a2a565b6000858152600d60209081526040808320839055338352601090915281208181556001810182905560028101829055600301555b60405185907fbe3bd10a58937b86abba43e343331f0a9bff726ac1549b064fac1348cc9bd0d590600090a25050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610c6e90612c4a565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612b1f903390899088908890600401613725565b6020604051808303816000875af1925050508015612b5a575060408051601f3d908101601f19168201909252612b5791810190613762565b60015b612bb8573d808015612b88576040519150601f19603f3d011682016040523d82523d6000602084013e612b8d565b606091505b508051600003612bb0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600082612be38584612c91565b14949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612c065750819003601f19909101908152919050565b610e5a828260405180602001604052806000815250612cde565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b8451811015612cd657612cc282868381518110612cb557612cb56134e3565b6020026020010151612d4b565b915080612cce8161350f565b915050612c96565b509392505050565b612ce88383612d77565b6001600160a01b0383163b15611320576000548281035b612d126000868380600101945086612aea565b612d2f576040516368d2bf6b60e11b815260040160405180910390fd5b818110612cff578160005414612d4457600080fd5b5050505050565b6000818310612d67576000828152602084905260409020611c5d565b5060009182526020526040902090565b6000805490829003612d9c5760405163b562e8dd60e01b815260040160405180910390fd5b612da960008483856126ba565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612e5857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612e20565b5081600003612e7957604051622e076360e81b815260040160405180910390fd5b60005550505050565b8260048101928215612eb0579160200282015b82811115612eb0578235825591602001919060010190612e95565b50612ebc929150612ec0565b5090565b5b80821115612ebc5760008155600101612ec1565b6001600160e01b03198116811461142157600080fd5b600060208284031215612efd57600080fd5b8135611c5d81612ed5565b80356001600160a01b0381168114612f1f57600080fd5b919050565b60008060408385031215612f3757600080fd5b612f4083612f08565b946020939093013593505050565b60005b83811015612f69578181015183820152602001612f51565b50506000910152565b60008151808452612f8a816020860160208601612f4e565b601f01601f19169290920160200192915050565b602081526000611c5d6020830184612f72565b600060208284031215612fc357600080fd5b5035919050565b8060808101831015610c6e57600080fd5b600060808284031215612fed57600080fd5b611c5d8383612fca565b60006020828403121561300957600080fd5b611c5d82612f08565b6000806040838503121561302557600080fd5b50508035926020909101359150565b60008060006060848603121561304957600080fd5b61305284612f08565b925061306060208501612f08565b9150604084013590509250925092565b60008083601f84011261308257600080fd5b5081356001600160401b0381111561309957600080fd5b6020830191508360208260051b85010111156130b457600080fd5b9250929050565b600080602083850312156130ce57600080fd5b82356001600160401b038111156130e457600080fd5b6130f085828601613070565b90969095509350505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561312c5761312c6130fc565b604051601f8501601f19908116603f01168101908282118183101715613154576131546130fc565b8160405280935085815286868601111561316d57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561319957600080fd5b81356001600160401b038111156131af57600080fd5b8201601f810184136131c057600080fd5b612bce84823560208401613112565b80358015158114612f1f57600080fd5b600080600080600060a086880312156131f757600080fd5b8535945060208601359350604086013592506060860135915061321c608087016131cf565b90509295509295909350565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611ab557613293838551613228565b9284019260809290920191600101613280565b6020808252825182820181905260009190848201906040850190845b81811015611ab5578351835292840192918401916001016132c2565b6000806000606084860312156132f357600080fd5b6132fc84612f08565b95602085013595506040909401359392505050565b6000806040838503121561332457600080fd5b61332d83612f08565b915061333b602084016131cf565b90509250929050565b6000806000806080858703121561335a57600080fd5b61336385612f08565b935061337160208601612f08565b92506040850135915060608501356001600160401b0381111561339357600080fd5b8501601f810187136133a457600080fd5b6133b387823560208401613112565b91505092959194509250565b6000806000604084860312156133d457600080fd5b8335925060208401356001600160401b038111156133f157600080fd5b6133fd86828701613070565b9497909650939450505050565b60808101610c6e8284613228565b6000806000806080858703121561342e57600080fd5b5050823594602084013594506040840135936060013592509050565b60008060006060848603121561345f57600080fd5b833592506020840135915061347660408501612f08565b90509250925092565b6000806040838503121561349257600080fd5b61349b83612f08565b915061333b60208401612f08565b600181811c908216806134bd57607f821691505b6020821081036134dd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613521576135216134f9565b5060010190565b81810381811115610c6e57610c6e6134f9565b60006020828403121561354d57600080fd5b5051919050565b601f82111561132057600081815260208120601f850160051c8101602086101561357b5750805b601f850160051c820191505b8181101561101d57828155600101613587565b81516001600160401b038111156135b3576135b36130fc565b6135c7816135c184546134a9565b84613554565b602080601f8311600181146135fc57600084156135e45750858301515b600019600386901b1c1916600185901b17855561101d565b600085815260208120601f198616915b8281101561362b5788860151825594840194600190910190840161360c565b50858210156136495787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008261367657634e487b7160e01b600052601260045260246000fd5b500490565b6000808454613689816134a9565b600182811680156136a157600181146136b6576136e5565b60ff19841687528215158302870194506136e5565b8860005260208060002060005b858110156136dc5781548a8201529084019082016136c3565b50505082870194505b5050505083516136f9818360208801612f4e565b64173539b7b760d91b9101908152600501949350505050565b80820180821115610c6e57610c6e6134f9565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061375890830184612f72565b9695505050505050565b60006020828403121561377457600080fd5b8151611c5d81612ed556fea264697066735822122073b1db5a99b435c89df9ae98e5d9014875ace097b354c432b38dc324da46c68d64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001b5370616365205269646572732047616c616374696320466f726765000000000000000000000000000000000000000000000000000000000000000000000000045352474600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f6170692e73706163657269646572732e78797a2f626f617264732f6d657461646174612f0000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Space Riders Galactic Forge
Arg [1] : _symbol (string): SRGF
Arg [2] : _baseURI (string): https://api.spaceriders.xyz/boards/metadata/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [4] : 5370616365205269646572732047616c616374696320466f7267650000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 5352474600000000000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000002c
Arg [8] : 68747470733a2f2f6170692e73706163657269646572732e78797a2f626f6172
Arg [9] : 64732f6d657461646174612f0000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
89433:5578:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35202:689;;;;;;;;;;-1:-1:-1;35202:689:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;35202:689:0;;;;;;;;80876:65;;;;;;;;;;-1:-1:-1;80876:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;36154:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43092:268::-;;;;;;;;;;-1:-1:-1;43092:268:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2134:32:1;;;2116:51;;2104:2;2089:18;43092:268:0;1970:203:1;42484:449:0;;;;;;:::i;:::-;;:::i;:::-;;91208:218;;;:::i;93979:157::-;;;;;;;;;;-1:-1:-1;93979:157:0;;;;;:::i;:::-;;:::i;92589:160::-;;;;;;;;;;-1:-1:-1;92589:160:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2937:31:1;;;2919:50;;2907:2;2892:18;92589:160:0;2775:200:1;89705:32:0;;;;;;;;;;;;;;;;;;;3126:25:1;;;3114:2;3099:18;89705:32:0;2980:177:1;80690:65:0;;;;;;;;;;-1:-1:-1;80690:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;80824:45;;;;;;;;;;-1:-1:-1;80824:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3646:25:1;;;3702:2;3687:18;;3680:34;;;;3730:18;;;3723:34;3788:2;3773:18;;3766:34;3633:3;3618:19;80824:45:0;3415:391:1;31727:323:0;;;;;;;;;;-1:-1:-1;86513:1:0;32001:12;31788:7;31985:13;:28;-1:-1:-1;;31985:46:0;31727:323;;46863:3003;;;;;;:::i;:::-;;:::i;84813:1544::-;;;;;;;;;;-1:-1:-1;84813:1544:0;;;;;:::i;:::-;;:::i;89918:48::-;;;;;;;;;;-1:-1:-1;89918:48:0;;;;;:::i;:::-;;:::i;92757:164::-;;;;;;;;;;-1:-1:-1;92757:164:0;;;;;:::i;:::-;;:::i;82907:111::-;;;;;;;;;;-1:-1:-1;82907:111:0;;;;;:::i;:::-;;:::i;94773:235::-;;;:::i;49962:193::-;;;;;;:::i;:::-;;:::i;93181:102::-;;;;;;;;;;-1:-1:-1;93181:102:0;;;;;:::i;:::-;;:::i;81194:688::-;;;;;;;;;;-1:-1:-1;81194:688:0;;;;;:::i;:::-;;:::i;93633:88::-;;;;;;;;;;-1:-1:-1;93633:88:0;;;;;:::i;:::-;;:::i;93729:242::-;;;;;;;;;;-1:-1:-1;93729:242:0;;;;;:::i;:::-;;:::i;93291:98::-;;;;;;;;;;-1:-1:-1;93291:98:0;;;;;:::i;:::-;;:::i;83161:598::-;;;;;;;;;;-1:-1:-1;83161:598:0;;;;;:::i;:::-;;:::i;74087:560::-;;;;;;;;;;-1:-1:-1;74087:560:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;37644:202::-;;;;;;;;;;-1:-1:-1;37644:202:0;;;;;:::i;:::-;;:::i;80762:55::-;;;;;;;;;;-1:-1:-1;80762:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8382:25:1;;;8438:2;8423:18;;8416:34;;;;8466:18;;;8459:34;;;;8524:2;8509:18;;8502:34;8580:14;8573:22;8567:3;8552:19;;8545:51;8369:3;8354:19;80762:55:0;8129:473:1;90010:21:0;;;;;;;;;;;;;:::i;32911:283::-;;;;;;;;;;-1:-1:-1;32911:283:0;;;;;:::i;:::-;;:::i;15639:103::-;;;;;;;;;;;;;:::i;84331:303::-;;;;;;;;;;-1:-1:-1;84331:303:0;;;;;:::i;:::-;;:::i;89872:39::-;;;;;;;;;;-1:-1:-1;89872:39:0;;;;;:::i;:::-;;:::i;78061:1016::-;;;;;;;;;;-1:-1:-1;78061:1016:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;93397:106::-;;;;;;;;;;-1:-1:-1;93397:106:0;;;;;:::i;:::-;;:::i;14991:87::-;;;;;;;;;;-1:-1:-1;15064:6:0;;-1:-1:-1;;;;;15064:6:0;14991:87;;80067:97;;;;;;;;;;-1:-1:-1;80067:97:0;;;;-1:-1:-1;;;;;80067:97:0;;;36330:104;;;;;;;;;;;;;:::i;75035:2579::-;;;;;;;;;;-1:-1:-1;75035:2579:0;;;;;:::i;:::-;;:::i;81890:163::-;;;;;;;;;;-1:-1:-1;81890:163:0;;;;;:::i;:::-;;:::i;89744:121::-;;;;;;;;;;-1:-1:-1;89744:121:0;;;;;:::i;:::-;;:::i;90038:29::-;;;;;;;;;;;;;;;;43700:266;;;;;;;;;;-1:-1:-1;43700:266:0;;;;;:::i;:::-;;:::i;93511:114::-;;;;;;;;;;-1:-1:-1;93511:114:0;;;;;:::i;:::-;;:::i;82061:135::-;;;;;;;;;;-1:-1:-1;82061:135:0;;;;;:::i;:::-;82125:4;82149:32;;;:14;:32;;;;;:39;;;;;;82061:135;80171:91;;;;;;;;;;-1:-1:-1;80171:91:0;;;;-1:-1:-1;;;;;80171:91:0;;;50753:407;;;;;;:::i;:::-;;:::i;90454:746::-;;;;;;;;;;-1:-1:-1;90454:746:0;;;;;:::i;:::-;;:::i;73450:478::-;;;;;;;;;;-1:-1:-1;73450:478:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;92141:440::-;;;;;;;;;;-1:-1:-1;92141:440:0;;;;;:::i;:::-;;:::i;82782:117::-;;;;;;;;;;-1:-1:-1;82782:117:0;;;;;:::i;:::-;;:::i;83767:556::-;;;;;;;;;;-1:-1:-1;83767:556:0;;;;;:::i;:::-;;:::i;94144:621::-;;;;;;;;;;-1:-1:-1;94144:621:0;;;;;:::i;:::-;;:::i;92929:191::-;;;;;;;;;;-1:-1:-1;92929:191:0;;;;;:::i;:::-;;:::i;44123:214::-;;;;;;;;;;-1:-1:-1;44123:214:0;;;;;:::i;:::-;-1:-1:-1;;;;;44294:25:0;;;44265:4;44294:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44123:214;90130:73;;;;;;;;;;-1:-1:-1;90130:73:0;;;;-1:-1:-1;;;;;90130:73:0;;;83026:127;;;;;;;;;;-1:-1:-1;83026:127:0;;;;;:::i;:::-;;:::i;82204:517::-;;;;;;;;;;-1:-1:-1;82204:517:0;;;;;:::i;:::-;;:::i;:::-;;;;13144:25:1;;;13200:2;13185:18;;13178:34;;;;13228:18;;;13221:34;13132:2;13117:18;82204:517:0;12942:319:1;15897:238:0;;;;;;;;;;-1:-1:-1;15897:238:0;;;;;:::i;:::-;;:::i;80269:44::-;;;;;;;;;;-1:-1:-1;80269:44:0;;;;-1:-1:-1;;;;;80269:44:0;;;35202:689;35332:4;-1:-1:-1;;;;;;;;;35661:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;35738:25:0;;;35661:102;:179;;;-1:-1:-1;;;;;;;;;;35815:25:0;;;35661:179;35641:199;35202:689;-1:-1:-1;;35202:689:0:o;36154:100::-;36208:13;36241:5;36234:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36154:100;:::o;43092:268::-;43213:7;43243:16;43251:7;43243;:16::i;:::-;43238:64;;43268:34;;-1:-1:-1;;;43268:34:0;;;;;;;;;;;43238:64;-1:-1:-1;43322:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43322:30:0;;43092:268::o;42484:449::-;42614:13;42630:16;42638:7;42630;:16::i;:::-;42614:32;-1:-1:-1;67899:10:0;-1:-1:-1;;;;;42663:28:0;;;42659:175;;42711:44;42728:5;67899:10;44123:214;:::i;42711:44::-;42706:128;;42783:35;;-1:-1:-1;;;42783:35:0;;;;;;;;;;;42706:128;42846:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;42846:35:0;-1:-1:-1;;;;;42846:35:0;;;;;;;;;42897:28;;42846:24;;42897:28;;;;;;;42603:330;42484:449;;:::o;91208:218::-;91263:10;;91277:1;91263:15;91259:43;;91287:15;;-1:-1:-1;;;91287:15:0;;;;;;;;;;;91259:43;91330:4;;91317:9;:17;91313:44;;91343:14;;-1:-1:-1;;;91343:14:0;;;;;;;;;;;91313:44;91368:20;89570:1;91368:13;:20::i;:::-;91399:19;89570:1;91399:12;:19::i;:::-;91208:218::o;93979:157::-;14877:13;:11;:13::i;:::-;94102:26:::1;:11;94116:12:::0;94102:26:::1;;:::i;:::-;;93979:157:::0;:::o;92589:160::-;-1:-1:-1;;;;;33988:25:0;;92685:6;33988:25;;;:18;:25;;;;;;27444:3;33988:40;92723:17;33900:137;46863:3003;47005:27;47035;47054:7;47035:18;:27::i;:::-;47005:57;;47120:4;-1:-1:-1;;;;;47079:45:0;47095:19;-1:-1:-1;;;;;47079:45:0;;47075:99;;47146:28;;-1:-1:-1;;;47146:28:0;;;;;;;;;;;47075:99;47202:27;45971:24;;;:15;:24;;;;;46199:26;;67899:10;45596:30;;;-1:-1:-1;;;;;45289:28:0;;45574:20;;;45571:56;47411:287;;47594:43;47611:4;67899:10;44123:214;:::i;47594:43::-;47589:109;;47663:35;;-1:-1:-1;;;47663:35:0;;;;;;;;;;;47589:109;-1:-1:-1;;;;;47715:16:0;;47711:52;;47740:23;;-1:-1:-1;;;47740:23:0;;;;;;;;;;;47711:52;47776:43;47798:4;47804:2;47808:7;47817:1;47776:21;:43::i;:::-;47912:15;47909:160;;;48052:1;48031:19;48024:30;47909:160;-1:-1:-1;;;;;48449:24:0;;;;;;;:18;:24;;;;;;48447:26;;-1:-1:-1;;48447:26:0;;;48518:22;;;;;;;;;48516:24;;-1:-1:-1;48516:24:0;;;41296:11;41271:23;41267:41;41219:112;-1:-1:-1;;;41219:112:0;48811:26;;;;:17;:26;;;;;:196;;;;-1:-1:-1;;;49127:47:0;;:52;;49123:627;;49232:1;49222:11;;49200:19;49355:30;;;:17;:30;;;;;;:35;;49351:384;;49493:13;;49478:11;:28;49474:242;;49640:30;;;;:17;:30;;;;;:52;;;49474:242;49181:569;49123:627;49797:7;49793:2;-1:-1:-1;;;;;49778:27:0;49787:4;-1:-1:-1;;;;;49778:27:0;;;;;;;;;;;49816:42;46994:2872;;;46863:3003;;;:::o;84813:1544::-;14877:13;:11;:13::i;:::-;84904:9:::1;84899:1451;84919:19:::0;;::::1;84899:1451;;;84960:15;84978:8;;84987:1;84978:11;;;;;;;:::i;:::-;;;;;;;84960:29;;85008:14;:23;85023:7;85008:23;;;;;;;;;;;;85035:1;85008:28:::0;85004:56:::1;;85045:15;;-1:-1:-1::0;;;85045:15:0::1;;;;;;;;;;;85004:56;85077:13;85093:21;85106:7;85093:12;:21::i;:::-;:26:::0;;-1:-1:-1;85093:26:0::1;::::0;;85263::::1;85281:7:::0;85263:17:::1;:26::i;:::-;85134:155;;;;;;85339:12;85326:10;:25;:79;;;;-1:-1:-1::0;85373:22:0::1;::::0;;;:13:::1;:22;::::0;;;;;;;:32;;;;;;;;;::::1;;85372:33;85326:79;:131;;;;-1:-1:-1::0;;;;;;85427:20:0;::::1;;::::0;;;:13:::1;:20;::::0;;;;;;;:30;;;;;;;;;::::1;;85426:31;85326:131;85304:957;;;85518:1;85492:23:::0;;;:14:::1;:23;::::0;;;;;;;:27;;;-1:-1:-1;;;;;85538:20:0;::::1;::::0;;;:13:::1;:20:::0;;;;;:30;;;;;;;;:37;;85571:4:::1;-1:-1:-1::0;;85538:37:0;;::::1;::::0;::::1;::::0;;;85594:22;;;:13:::1;:22:::0;;;;;:32;;;;;;;;:39;;;;::::1;::::0;::::1;::::0;;85659:20;;;:13:::1;:20:::0;;;;;85652:27;;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;85722:24;;;:14:::1;:24:::0;;;;;:38;;::::1;::::0;85806:63;::::1;::::0;85892:18;;85888:117:::1;;85935:18;::::0;:50:::1;::::0;-1:-1:-1;;;85935:50:0;;-1:-1:-1;;;;;14210:32:1;;;85935:50:0::1;::::0;::::1;14192:51:1::0;14259:18;;;14252:34;;;85935:18:0;;::::1;::::0;:28:::1;::::0;14165:18:1;;85935:50:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;85888:117;86027:21:::0;;86023:109:::1;;86073:9;::::0;:39:::1;::::0;-1:-1:-1;;;86073:39:0;;-1:-1:-1;;;;;14210:32:1;;;86073:39:0::1;::::0;::::1;14192:51:1::0;14259:18;;;14252:34;;;86073:9:0;;::::1;::::0;:14:::1;::::0;14165:18:1;;86073:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;86023:109;85473:674;;85304:957;;;86198:1;86172:23:::0;;;:14:::1;:23;::::0;;;;;;;:27;;;-1:-1:-1;;;;;86225:20:0;::::1;::::0;;:13:::1;:20:::0;;;;;86218:27;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;;::::0;85304:957:::1;86282:17;::::0;86291:7;;86282:17:::1;::::0;;;::::1;86319:19;::::0;86330:7;;86319:19:::1;::::0;;;::::1;84945:1405;;;;;84940:3;;;;:::i;:::-;;;84899:1451;;;;84813:1544:::0;;:::o;89918:48::-;;;;;;;;;;;;;;;-1:-1:-1;89918:48:0;:::o;92757:164::-;92854:7;92902:6;92909:3;92902:11;;;;;;;:::i;:::-;;;92886:8;92895:3;92886:13;;;;;;;:::i;:::-;;;:27;;;;:::i;82907:111::-;14877:13;:11;:13::i;:::-;82978:9:::1;:32:::0;;-1:-1:-1;;;;;;82978:32:0::1;-1:-1:-1::0;;;;;82978:32:0;;;::::1;::::0;;;::::1;::::0;;82907:111::o;94773:235::-;14877:13;:11;:13::i;:::-;94848:104:::1;::::0;94830:12:::1;::::0;94856:42:::1;::::0;94926:21:::1;::::0;94830:12;94848:104;94830:12;94848:104;94926:21;94856:42;94848:104:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94829:123;;;94968:7;94963:37;;94984:16;;-1:-1:-1::0;;;94984:16:0::1;;;;;;;;;;;94963:37;94818:190;94773:235::o:0;49962:193::-;50108:39;50125:4;50131:2;50135:7;50108:39;;;;;;;;;;;;:16;:39::i;93181:102::-;14877:13;:11;:13::i;:::-;93249:6:::1;:26:::0;;-1:-1:-1;;;;;;93249:26:0::1;-1:-1:-1::0;;;;;93249:26:0;;;::::1;::::0;;;::::1;::::0;;93181:102::o;81194:688::-;81279:31;;;;:14;:31;;;;;:40;:45;;81275:98;;81346:27;;-1:-1:-1;;;81346:27:0;;;;;;;;;;;81275:98;82125:4;82149:32;;;:14;:32;;;;;:39;;;;;81384:58;;81422:20;;-1:-1:-1;;;81422:20:0;;;;;;;;;;;81384:58;81457:23;;;;:14;:23;;;;;;:28;81453:54;;81494:13;;-1:-1:-1;;;81494:13:0;;;;;;;;;;;81453:54;81536:10;81522:25;;;;:13;:25;;;;;:33;;;:38;81518:65;;81569:14;;-1:-1:-1;;;81569:14:0;;;;;;;;;;;81518:65;81598:22;;;;:13;:22;;;;;;;;:39;;;;;;;;;;;81594:66;;;81646:14;;-1:-1:-1;;;81646:14:0;;;;;;;;;;;81594:66;81689:10;81675:25;;;;:13;:25;;;;;;;;:42;;;;;;;;;;;81671:70;;;81726:15;;-1:-1:-1;;;81726:15:0;;;;;;;;;;;81671:70;81756:11;;:33;;-1:-1:-1;;;81756:33:0;;81778:10;81756:33;;;2116:51:1;-1:-1:-1;;;;;81756:11:0;;;;:21;;2089:18:1;;81756:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;81793:1;81756:38;81752:65;;81803:14;;-1:-1:-1;;;81803:14:0;;;;;;;;;;;81752:65;81830:44;81849:7;81858:15;81830:18;:44::i;93633:88::-;14877:13;:11;:13::i;:::-;93698:4:::1;:15:::0;93633:88::o;93729:242::-;14877:13;:11;:13::i;:::-;93816:9:::1;93811:153;93835:1;93831;:5;93811:153;;;93877:6;93884:1;93877:9;;;;;;;:::i;:::-;;;93862;93872:1;93862:12;;;;;;;:::i;:::-;;;;;:24;93858:53;;;93895:16;;-1:-1:-1::0;;;93895:16:0::1;;;;;;;;;;;93858:53;93940:9;93950:1;93940:12;;;;;;;:::i;:::-;;;;;93926:8;93935:1;93926:11;;;;;;;:::i;:::-;;:26:::0;93838:3:::1;::::0;::::1;:::i;:::-;;;93811:153;;93291:98:::0;14877:13;:11;:13::i;:::-;93363:7:::1;:18;93373:8:::0;93363:7;:18:::1;:::i;83161:598::-:0;14877:13;:11;:13::i;:::-;83401:32:::1;::::0;;;:14:::1;:32;::::0;;;;:41;:46;83397:93:::1;;83469:21;;-1:-1:-1::0;;;83469:21:0::1;;;;;;;;;;;83397:93;83536:215;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;::::1;;::::0;;;;;;-1:-1:-1;83501:32:0;;;:14:::1;:32:::0;;;;;:250;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;83501:250:0::1;::::0;::::1;;::::0;;;::::1;::::0;;83161:598::o;74087:560::-;74231:23;74322:8;74297:22;74322:8;-1:-1:-1;;;;;74389:68:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74389:68:0;;-1:-1:-1;;74389:68:0;;;;;;;;;;;;74352:105;;74477:9;74472:125;74493:14;74488:1;:19;74472:125;;74549:32;74569:8;;74578:1;74569:11;;;;;;;:::i;:::-;;;;;;;74549:19;:32::i;:::-;74533:10;74544:1;74533:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;74509:3;;74472:125;;;-1:-1:-1;74618:10:0;74087:560;-1:-1:-1;;;;74087:560:0:o;37644:202::-;37761:7;37809:27;37828:7;37809:18;:27::i;90010:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;32911:283::-;33028:7;-1:-1:-1;;;;;33057:19:0;;33053:60;;33085:28;;-1:-1:-1;;;33085:28:0;;;;;;;;;;;33053:60;-1:-1:-1;;;;;;33131:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;33131:55:0;;32911:283::o;15639:103::-;14877:13;:11;:13::i;:::-;15704:30:::1;15731:1;15704:18;:30::i;84331:303::-:0;14877:13;:11;:13::i;:::-;84414:32:::1;::::0;;;:14:::1;:32;::::0;;;;:41;:46;;84410:99:::1;;84482:27;;-1:-1:-1::0;;;84482:27:0::1;;;;;;;;;;;84410:99;84563:56;::::0;;;:14:::1;:56;::::0;;;;:63:::1;;::::0;;-1:-1:-1;;84520:106:0;::::1;84563:63;::::0;;::::1;84562:64;84520:106;::::0;;84331:303::o;89872:39::-;;;;;;;;;;;78061:1016;78184:16;78243:19;78277:25;78317:22;78342:16;78352:5;78342:9;:16::i;:::-;78317:41;;78373:25;78415:14;-1:-1:-1;;;;;78401:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78401:29:0;;78373:57;;78445:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78445:31:0;86513:1;78491:538;78575:14;78560:11;:29;78491:538;;78658:15;78671:1;78658:12;:15::i;:::-;78646:27;;78696:9;:16;;;78737:8;78692:73;78787:14;;-1:-1:-1;;;;;78787:28:0;;78783:111;;78860:14;;;-1:-1:-1;78783:111:0;78937:5;-1:-1:-1;;;;;78916:26:0;:17;-1:-1:-1;;;;;78916:26:0;;78912:102;;78993:1;78967:8;78976:13;;;;;;78967:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;78912:102;78608:3;;78491:538;;;-1:-1:-1;79050:8:0;;78061:1016;-1:-1:-1;;;;;;78061:1016:0:o;93397:106::-;14877:13;:11;:13::i;:::-;93471:10:::1;:24:::0;93397:106::o;36330:104::-;36386:13;36419:7;36412:14;;;;;:::i;75035:2579::-;75178:16;75245:4;75236:5;:13;75232:45;;75258:19;;-1:-1:-1;;;75258:19:0;;;;;;;;;;;75232:45;75292:19;75326:17;75346:14;31469:7;31496:13;;31414:103;75346:14;75326:34;-1:-1:-1;86513:1:0;75438:5;:23;75434:87;;;86513:1;75482:23;;75434:87;75597:9;75590:4;:16;75586:73;;;75634:9;75627:16;;75586:73;75673:25;75701:16;75711:5;75701:9;:16::i;:::-;75673:44;;75895:4;75887:5;:12;75883:278;;;75942:12;;;75977:31;;;75973:111;;;76053:11;76033:31;;75973:111;75901:198;75883:278;;;-1:-1:-1;76144:1:0;75883:278;76175:25;76217:17;-1:-1:-1;;;;;76203:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76203:32:0;;76175:60;;76254:17;76275:1;76254:22;76250:78;;76304:8;-1:-1:-1;76297:15:0;;-1:-1:-1;;;76297:15:0;76250:78;76472:31;76506:26;76526:5;76506:19;:26::i;:::-;76472:60;;76547:25;76792:9;:16;;;76787:92;;-1:-1:-1;76849:14:0;;76787:92;76928:5;76893:544;76957:4;76952:1;:9;;:45;;;;;76980:17;76965:11;:32;;76952:45;76893:544;;;77066:15;77079:1;77066:12;:15::i;:::-;77054:27;;77104:9;:16;;;77145:8;77100:73;77195:14;;-1:-1:-1;;;;;77195:28:0;;77191:111;;77268:14;;;-1:-1:-1;77191:111:0;77345:5;-1:-1:-1;;;;;77324:26:0;:17;-1:-1:-1;;;;;77324:26:0;;77320:102;;77401:1;77375:8;77384:13;;;;;;77375:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;77320:102;77016:3;;76893:544;;;-1:-1:-1;;;77522:29:0;;;-1:-1:-1;77529:8:0;;-1:-1:-1;;75035:2579:0;;;;;;:::o;81890:163::-;81952:23;;;;:14;:23;;;;;;:28;;81948:56;;81989:15;;-1:-1:-1;;;81989:15:0;;;;;;;;;;;81948:56;82015:30;82034:7;82043:1;82015:18;:30::i;89744:121::-;;;;;;;;;;;43700:266;67899:10;43827:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;43827:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;43827:60:0;;;;;;;;;;43903:55;;540:41:1;;;43827:49:0;;67899:10;43903:55;;513:18:1;43903:55:0;;;;;;;43700:266;;:::o;93511:114::-;14877:13;:11;:13::i;:::-;93595:22:::1;:9;93607:10:::0;93595:22:::1;;:::i;50753:407::-:0;50928:31;50941:4;50947:2;50951:7;50928:12;:31::i;:::-;-1:-1:-1;;;;;50974:14:0;;;:19;50970:183;;51013:56;51044:4;51050:2;51054:7;51063:5;51013:30;:56::i;:::-;51008:145;;51097:40;;-1:-1:-1;;;51097:40:0;;;;;;;;;;;51008:145;50753:407;;;;:::o;90454:746::-;90537:15;90531:3;:21;:32;;;-1:-1:-1;90562:1:0;90531:32;90527:63;;;90572:18;;-1:-1:-1;;;90572:18:0;;;;;;;;;;;90527:63;90605:10;;90619:1;90605:15;90601:36;;90629:8;;-1:-1:-1;;;90629:8:0;;;;;;;;;;;90601:36;90667:120;90698:11;90710:3;90698:16;;;;;;;:::i;:::-;;;90743:28;;-1:-1:-1;;90760:10:0;17454:2:1;17450:15;17446:53;90743:28:0;;;17434:66:1;17516:12;;90743:28:0;;;;;;;;;;;;90733:39;;;;;;90667:5;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90667:12:0;;:120;;-1:-1:-1;;90667:12:0;:120;-1:-1:-1;90667:120:0:i;:::-;90648:182;;90806:24;;-1:-1:-1;;;90806:24:0;;;;;;;;;;;90648:182;90841:18;90855:3;90841:13;:18::i;:::-;90904:6;;:28;;-1:-1:-1;;;90904:28:0;;90921:10;90904:28;;;2116:51:1;90870:16:0;;;;-1:-1:-1;;;;;90904:6:0;;;;:16;;2089:18:1;;90904:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:32;:104;;90994:9;91004:3;90994:14;;;;;;;:::i;:::-;;;90904:104;;;90973:1;90956:9;90966:3;90956:14;;;;;;;:::i;:::-;;;:18;;;;:::i;:::-;91034:9;;:31;;-1:-1:-1;;;91034:31:0;;91054:10;91034:31;;;2116:51:1;90870:149:0;;-1:-1:-1;90870:149:0;;-1:-1:-1;;;;;91034:9:0;;;;:19;;2089:18:1;;91034:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:42;91030:86;;;91098:18;;-1:-1:-1;;;91098:18:0;;;;;;;;;;;91030:86;91127:9;;:37;;-1:-1:-1;;;91127:37:0;;91143:10;91127:37;;;14192:51:1;14259:18;;;14252:34;;;-1:-1:-1;;;;;91127:9:0;;;;:15;;14165:18:1;;91127:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91175:17;91188:3;91175:12;:17::i;73450:478::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86513:1:0;73664:7;:25;:54;;;-1:-1:-1;31469:7:0;31496:13;73693:7;:25;;73664:54;73660:103;;;73742:9;73450:478;-1:-1:-1;;73450:478:0:o;73660:103::-;73785:21;73798:7;73785:12;:21::i;:::-;73773:33;;73821:9;:16;;;73817:65;;;73861:9;73450:478;-1:-1:-1;;73450:478:0:o;73817:65::-;73899:21;73912:7;73899:12;:21::i;92141:440::-;92279:13;92315:17;92323:8;92315:7;:17::i;:::-;92310:62;;92341:31;;-1:-1:-1;;;92341:31:0;;;;;;;;;;;92310:62;92427:1;92409:7;92403:21;;;;;:::i;:::-;;;:25;:170;;;;;;;;;;;;;;;;;92494:7;92503:19;92513:8;92503:9;:19::i;:::-;92477:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;92383:190;92141:440;-1:-1:-1;;92141:440:0:o;82782:117::-;14877:13;:11;:13::i;:::-;82855:11:::1;:36:::0;;-1:-1:-1;;;;;;82855:36:0::1;-1:-1:-1::0;;;;;82855:36:0;;;::::1;::::0;;;::::1;::::0;;82782:117::o;83767:556::-;14877:13;:11;:13::i;:::-;83987:32:::1;::::0;;;:14:::1;:32;::::0;;;;:41;:46;;83983:99:::1;;84055:27;;-1:-1:-1::0;;;84055:27:0::1;;;;;;;;;;;83983:99;84093:32;::::0;;;:14:::1;:32;::::0;;;;;:45:::1;::::0;::::1;:68:::0;;;;84172:46:::1;::::0;::::1;:63:::0;84246:49:::1;;:69:::0;83767:556::o;94144:621::-;14877:13;:11;:13::i;:::-;94297:15:::1;94291:3;:21;:32;;;-1:-1:-1::0;94322:1:0::1;94291:32;94287:63;;;94332:18;;-1:-1:-1::0;;;94332:18:0::1;;;;;;;;;;;94287:63;94375:31;94402:3;94375:26;:31::i;:::-;94365:7;:41;94361:70;;;94415:16;;-1:-1:-1::0;;;94415:16:0::1;;;;;;;;;;;94361:70;94444:17;31496:13:::0;;94489:197:::1;94569:19;94581:7:::0;94569:9;:19:::1;:::i;:::-;94554:11;:35;94489:197;;;94644:24;::::0;;;:11:::1;:24;::::0;;;;:30;;;94604:13:::1;94656:11:::0;94604:13:::1;:::i;:::-;;;94489:197;;;;94711:7;94696:6;94703:3;94696:11;;;;;;;:::i;:::-;;;:22;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;94729:28:0::1;::::0;-1:-1:-1;94739:8:0;94749:7;94729:9:::1;:28::i;92929:191::-:0;92987:7;93012:17;93020:8;93012:7;:17::i;:::-;93007:62;;93038:31;;-1:-1:-1;;;93038:31:0;;;;;;;;;;;93007:62;93087:21;;;;:11;:21;;;;;;:25;;93111:1;93087:25;:::i;83026:127::-;14877:13;:11;:13::i;:::-;83095:18:::1;:50:::0;;-1:-1:-1;;;;;;83095:50:0::1;-1:-1:-1::0;;;;;83095:50:0;;;::::1;::::0;;;::::1;::::0;;83026:127::o;82204:517::-;82310:15;82433:23;;;:14;:23;;;;;;82310:15;;;;82471:10;;82467:247;;82524:23;82542:5;82524:15;:23;:::i;:::-;82566:13;:41;82580:21;82593:7;82580:12;:21::i;:::-;:26;;;-1:-1:-1;;;;;82566:41:0;-1:-1:-1;;;;;82566:41:0;;;;;;;;;;;;:48;;;82633:13;:41;82647:21;82660:7;82647:12;:21::i;:::-;:26;;;-1:-1:-1;;;;;82633:41:0;-1:-1:-1;;;;;82633:41:0;;;;;;;;;;;;:54;;;82498:204;;;;;;;;;82467:247;82406:315;82204:517;;;;;;:::o;15897:238::-;14877:13;:11;:13::i;:::-;-1:-1:-1;;;;;16000:22:0;::::1;15978:110;;;::::0;-1:-1:-1;;;15978:110:0;;19285:2:1;15978:110:0::1;::::0;::::1;19267:21:1::0;19324:2;19304:18;;;19297:30;19363:34;19343:18;;;19336:62;-1:-1:-1;;;19414:18:1;;;19407:36;19460:19;;15978:110:0::1;;;;;;;;;16099:28;16118:8;16099:18;:28::i;44595:282::-:0;44660:4;44716:7;86513:1;44697:26;;:66;;;;;44750:13;;44740:7;:23;44697:66;:153;;;;-1:-1:-1;;44801:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44801:44:0;:49;;44595:282::o;91490:326::-;91564:11;;:33;;-1:-1:-1;;;91564:33:0;;91586:10;91564:33;;;2116:51:1;-1:-1:-1;;;;;91564:11:0;;;;:21;;2089:18:1;;91564:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;91601:1;91564:38;91560:65;;91611:14;;-1:-1:-1;;;91611:14:0;;;;;;;;;;;91560:65;91667:8;91676:12;91667:22;;;;;;;:::i;:::-;;;91640:6;91647:12;91640:20;;;;;;;:::i;:::-;;;:24;;91663:1;91640:24;:::i;:::-;:49;91636:91;;;91711:16;;-1:-1:-1;;;91711:16:0;;;;;;;;;;;91636:91;91777:1;91742:32;91763:10;91742:20;:32::i;:::-;-1:-1:-1;;;;;91742:36:0;;91738:70;;;91787:21;;-1:-1:-1;;;91787:21:0;;;;;;;;;;;91824:257;91918:12;91888:11;:27;91900:14;31469:7;31496:13;;31414:103;91900:14;91888:27;;;;;;;;;;;-1:-1:-1;91888:27:0;:42;91943:6;91950:12;91943:20;;;;;;;:::i;:::-;;;91941:22;;;;;:::i;:::-;;;;-1:-1:-1;91982:10:0;34297:14;34314:25;;;:18;:25;;;;;;;-1:-1:-1;;;;;34527:32:0;-1:-1:-1;;;34526:76:0;34613:34;;92007:24;92017:10;92029:1;92007:9;:24::i;:::-;92047:26;;92062:10;2116:51:1;;92047:26:0;;2104:2:1;2089:18;92047:26:0;;;;;;;91824:257;:::o;15156:132::-;15064:6;;-1:-1:-1;;;;;15064:6:0;67899:10;15220:23;15212:68;;;;-1:-1:-1;;;15212:68:0;;19692:2:1;15212:68:0;;;19674:21:1;;;19711:18;;;19704:30;19770:34;19750:18;;;19743:62;19822:18;;15212:68:0;19490:356:1;38931:1307:0;39025:7;39065;;86513:1;39114:23;39110:1061;;39167:13;;39160:4;:20;39156:1015;;;39205:14;39222:23;;;:17;:23;;;;;;;-1:-1:-1;;;39311:24:0;;:29;;39307:845;;39976:113;39983:6;39993:1;39983:11;39976:113;;-1:-1:-1;;;40054:6:0;40036:25;;;;:17;:25;;;;;;39976:113;;39307:845;39182:989;39156:1015;40199:31;;-1:-1:-1;;;40199:31:0;;;;;;;;;;;88441:478;88708:12;88690:15;88750:18;88760:8;88708:12;88750:18;:::i;:::-;88736:32;;88731:181;88781:3;88770:7;:14;88731:181;;88842:1;88816:23;;;:14;:23;;;;;;:27;88812:88;;88869:31;;-1:-1:-1;;;88869:31:0;;;;;;;;;;;88812:88;88786:9;;;:::i;:::-;;;88731:181;;38035:207;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38187:47:0;38206:27;38225:7;38206:18;:27::i;:::-;38187:18;:47::i;86530:1845::-;86667:10;86637:21;86650:7;86637:12;:21::i;:::-;:26;-1:-1:-1;;;;;86637:40:0;;86633:69;;86686:16;;-1:-1:-1;;;86686:16:0;;;;;;;;;;;86633:69;86717:23;;;;:14;:23;;;;;;:28;;86713:1655;;86762:17;86812:23;;;:14;:23;;;;;;;;86782:15;86812:35;;;;86890:205;;;;;;;;;;;;;;;;;;;;;;;;87035:31;;;:14;:31;;;;;:44;;;;;86890:205;;;;;;86876:10;86862:25;;:13;:25;;;;;;:233;;;;;;;;;;;;;;;;;;;;;;;;;;;;87115:15;86782;;86827:7;;87115:15;;86762:17;87115:15;86747:395;94102:26:::1;93979:157:::0;:::o;86713:1655::-;87182:18;87219:16;87254:20;87292:26;87310:7;87292:17;:26::i;:::-;87163:155;;;;;;87368:12;87355:10;:25;:79;;;;-1:-1:-1;87402:22:0;;;;:13;:22;;;;;;;;:32;;;;;;;;;;;87401:33;87355:79;:136;;;;-1:-1:-1;87470:10:0;87456:25;;;;:13;:25;;;;;;;;:35;;;;;;;;;;;87455:36;87355:136;87333:987;;;87552:1;87526:23;;;:14;:23;;;;;;;;:27;;;87586:10;87572:25;;;:13;:25;;;;;:35;;;;;;;;:42;;87610:4;-1:-1:-1;;87572:42:0;;;;;;;;87633:22;;;:13;:22;;;;;:32;;;;;;;;:39;;;;;;;;;87698:25;;;:13;:25;;;;;87691:32;;;;;;;;;;;;;;;;;;;;;;;87766:24;;;:14;:24;;;;;:38;;;;87850:63;;;87936:18;;87932:122;;87979:18;;:55;;-1:-1:-1;;;87979:55:0;;88008:10;87979:55;;;14192:51:1;14259:18;;;14252:34;;;-1:-1:-1;;;;;87979:18:0;;;;:28;;14165:18:1;;87979:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87932:122;88076:21;;88072:114;;88122:9;;:44;;-1:-1:-1;;;88122:44:0;;88137:10;88122:44;;;14192:51:1;14259:18;;;14252:34;;;-1:-1:-1;;;;;88122:9:0;;;;:14;;14165:18:1;;88122:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88072:114;87507:694;;87333:987;;;88252:1;88226:23;;;:14;:23;;;;;;;;:27;;;88293:10;88279:25;;:13;:25;;;;;88272:32;;;;;;;;;;;;;;;;;;87333:987;88339:17;;88348:7;;88339:17;;;;;87148:1220;;;86530:1845;;:::o;16295:191::-;16388:6;;;-1:-1:-1;;;;;16405:17:0;;;-1:-1:-1;;;;;;16405:17:0;;;;;;;16438:40;;16388:6;;;16405:17;16388:6;;16438:40;;16369:16;;16438:40;16358:128;16295:191;:::o;38338:202::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38507:24:0;;;;:17;:24;;;;;;38488:44;;:18;:44::i;53244:831::-;53441:171;;-1:-1:-1;;;53441:171:0;;53407:4;;-1:-1:-1;;;;;53441:45:0;;;;;:171;;67899:10;;53543:4;;53566:7;;53592:5;;53441:171;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53441:171:0;;;;;;;;-1:-1:-1;;53441:171:0;;;;;;;;;;;;:::i;:::-;;;53424:644;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53826:6;:13;53843:1;53826:18;53822:235;;53872:40;;-1:-1:-1;;;53872:40:0;;;;;;;;;;;53822:235;54015:6;54009:13;54000:6;53996:2;53992:15;53985:38;53424:644;-1:-1:-1;;;;;;53685:81:0;-1:-1:-1;;;53685:81:0;;-1:-1:-1;53424:644:0;53244:831;;;;;;:::o;1255:190::-;1380:4;1433;1404:25;1417:5;1424:4;1404:12;:25::i;:::-;:33;;1255:190;-1:-1:-1;;;;1255:190:0:o;68019:1786::-;68120:17;68559:4;68552;68546:11;68542:22;68651:1;68645:4;68638:15;68726:4;68723:1;68719:12;68712:19;;;68808:1;68803:3;68796:14;68912:3;69151:5;69133:428;69199:1;69194:3;69190:11;69183:18;;69370:2;69364:4;69360:13;69356:2;69352:22;69347:3;69339:36;69464:2;69454:13;;69521:25;69133:428;69521:25;-1:-1:-1;69591:13:0;;;-1:-1:-1;;69706:14:0;;;69768:19;;;69706:14;68019:1786;-1:-1:-1;68019:1786:0:o;61425:112::-;61502:27;61512:2;61516:8;61502:27;;;;;;;;;;;;:9;:27::i;40337:398::-;-1:-1:-1;;;;;;;;;;;;;40479:41:0;;;;27729:3;40565:33;;;-1:-1:-1;;;;;40531:68:0;-1:-1:-1;;;40531:68:0;-1:-1:-1;;;40629:24:0;;:29;;-1:-1:-1;;;40610:48:0;;;;28250:3;40698:28;;;;-1:-1:-1;;;40669:58:0;-1:-1:-1;40337:398:0:o;2122:328::-;2232:7;2280:4;2232:7;2295:118;2319:5;:12;2315:1;:16;2295:118;;;2368:33;2378:12;2392:5;2398:1;2392:8;;;;;;;;:::i;:::-;;;;;;;2368:9;:33::i;:::-;2353:48;-1:-1:-1;2333:3:0;;;;:::i;:::-;;;;2295:118;;;-1:-1:-1;2430:12:0;2122:328;-1:-1:-1;;;2122:328:0:o;60461:880::-;60592:19;60598:2;60602:8;60592:5;:19::i;:::-;-1:-1:-1;;;;;60653:14:0;;;:19;60649:674;;60693:11;60707:13;60755:14;;;60788:424;60845:205;60914:1;60947:2;60980:7;;;;;;61018:5;60845:30;:205::i;:::-;60814:358;;61108:40;;-1:-1:-1;;;61108:40:0;;;;;;;;;;;60814:358;61207:3;61199:5;:11;60788:424;;61294:3;61277:13;;:20;61273:34;;61299:8;;;61273:34;60674:649;;60461:880;;;:::o;9436:149::-;9499:7;9530:1;9526;:5;:51;;9688:13;9787:15;;;9823:4;9816:15;;;9870:4;9854:21;;9526:51;;;-1:-1:-1;9688:13:0;9787:15;;;9823:4;9816:15;9870:4;9854:21;;;9436:149::o;54537:3021::-;54610:20;54633:13;;;54661;;;54657:44;;54683:18;;-1:-1:-1;;;54683:18:0;;;;;;;;;;;54657:44;54714:61;54744:1;54748:2;54752:12;54766:8;54714:21;:61::i;:::-;-1:-1:-1;;;;;55189:22:0;;;;;;:18;:22;;;;27208:2;55189:22;;;:105;;55261:32;55232:62;;55189:105;;;55537:31;;;:17;:31;;;;;-1:-1:-1;41773:15:0;;41747:24;41743:46;41296:11;41271:23;41267:41;41264:52;41219:112;;55537:194;;55793:23;;;;55537:31;;55189:22;;56558:25;55189:22;;56411:335;57072:1;57058:12;57054:20;57012:346;57113:3;57104:7;57101:16;57012:346;;57331:7;57321:8;57318:1;57291:25;57288:1;57285;57280:59;57166:1;57153:15;57012:346;;;57016:77;57391:8;57403:1;57391:13;57387:45;;57413:19;;-1:-1:-1;;;57413:19:0;;;;;;;;;;;57387:45;57449:13;:19;-1:-1:-1;84899:1451:0::1;84813:1544:::0;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::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:254::-;838:6;846;899:2;887:9;878:7;874:23;870:32;867:52;;;915:1;912;905:12;867:52;938:29;957:9;938:29;:::i;:::-;928:39;1014:2;999:18;;;;986:32;;-1:-1:-1;;;770:254:1:o;1029:250::-;1114:1;1124:113;1138:6;1135:1;1132:13;1124:113;;;1214:11;;;1208:18;1195:11;;;1188:39;1160:2;1153:10;1124:113;;;-1:-1:-1;;1271:1:1;1253:16;;1246:27;1029:250::o;1284:271::-;1326:3;1364:5;1358:12;1391:6;1386:3;1379:19;1407:76;1476:6;1469:4;1464:3;1460:14;1453:4;1446:5;1442:16;1407:76;:::i;:::-;1537:2;1516:15;-1:-1:-1;;1512:29:1;1503:39;;;;1544:4;1499:50;;1284:271;-1:-1:-1;;1284:271:1:o;1560:220::-;1709:2;1698:9;1691:21;1672:4;1729:45;1770:2;1759:9;1755:18;1747:6;1729:45;:::i;1785:180::-;1844:6;1897:2;1885:9;1876:7;1872:23;1868:32;1865:52;;;1913:1;1910;1903:12;1865:52;-1:-1:-1;1936:23:1;;1785:180;-1:-1:-1;1785:180:1:o;2178:160::-;2272:6;2305:3;2293:16;;2290:25;-1:-1:-1;2287:45:1;;;2328:1;2325;2318:12;2343:236;2427:6;2480:3;2468:9;2459:7;2455:23;2451:33;2448:53;;;2497:1;2494;2487:12;2448:53;2520;2565:7;2554:9;2520:53;:::i;2584:186::-;2643:6;2696:2;2684:9;2675:7;2671:23;2667:32;2664:52;;;2712:1;2709;2702:12;2664:52;2735:29;2754:9;2735:29;:::i;3162:248::-;3230:6;3238;3291:2;3279:9;3270:7;3266:23;3262:32;3259:52;;;3307:1;3304;3297:12;3259:52;-1:-1:-1;;3330:23:1;;;3400:2;3385:18;;;3372:32;;-1:-1:-1;3162:248:1:o;3811:328::-;3888:6;3896;3904;3957:2;3945:9;3936:7;3932:23;3928:32;3925:52;;;3973:1;3970;3963:12;3925:52;3996:29;4015:9;3996:29;:::i;:::-;3986:39;;4044:38;4078:2;4067:9;4063:18;4044:38;:::i;:::-;4034:48;;4129:2;4118:9;4114:18;4101:32;4091:42;;3811:328;;;;;:::o;4144:367::-;4207:8;4217:6;4271:3;4264:4;4256:6;4252:17;4248:27;4238:55;;4289:1;4286;4279:12;4238:55;-1:-1:-1;4312:20:1;;-1:-1:-1;;;;;4344:30:1;;4341:50;;;4387:1;4384;4377:12;4341:50;4424:4;4416:6;4412:17;4400:29;;4484:3;4477:4;4467:6;4464:1;4460:14;4452:6;4448:27;4444:38;4441:47;4438:67;;;4501:1;4498;4491:12;4438:67;4144:367;;;;;:::o;4516:437::-;4602:6;4610;4663:2;4651:9;4642:7;4638:23;4634:32;4631:52;;;4679:1;4676;4669:12;4631:52;4719:9;4706:23;-1:-1:-1;;;;;4744:6:1;4741:30;4738:50;;;4784:1;4781;4774:12;4738:50;4823:70;4885:7;4876:6;4865:9;4861:22;4823:70;:::i;:::-;4912:8;;4797:96;;-1:-1:-1;4516:437:1;-1:-1:-1;;;;4516:437:1:o;5199:127::-;5260:10;5255:3;5251:20;5248:1;5241:31;5291:4;5288:1;5281:15;5315:4;5312:1;5305:15;5331:632;5396:5;-1:-1:-1;;;;;5467:2:1;5459:6;5456:14;5453:40;;;5473:18;;:::i;:::-;5548:2;5542:9;5516:2;5602:15;;-1:-1:-1;;5598:24:1;;;5624:2;5594:33;5590:42;5578:55;;;5648:18;;;5668:22;;;5645:46;5642:72;;;5694:18;;:::i;:::-;5734:10;5730:2;5723:22;5763:6;5754:15;;5793:6;5785;5778:22;5833:3;5824:6;5819:3;5815:16;5812:25;5809:45;;;5850:1;5847;5840:12;5809:45;5900:6;5895:3;5888:4;5880:6;5876:17;5863:44;5955:1;5948:4;5939:6;5931;5927:19;5923:30;5916:41;;;;5331:632;;;;;:::o;5968:451::-;6037:6;6090:2;6078:9;6069:7;6065:23;6061:32;6058:52;;;6106:1;6103;6096:12;6058:52;6146:9;6133:23;-1:-1:-1;;;;;6171:6:1;6168:30;6165:50;;;6211:1;6208;6201:12;6165:50;6234:22;;6287:4;6279:13;;6275:27;-1:-1:-1;6265:55:1;;6316:1;6313;6306:12;6265:55;6339:74;6405:7;6400:2;6387:16;6382:2;6378;6374:11;6339:74;:::i;6424:160::-;6489:20;;6545:13;;6538:21;6528:32;;6518:60;;6574:1;6571;6564:12;6589:454;6681:6;6689;6697;6705;6713;6766:3;6754:9;6745:7;6741:23;6737:33;6734:53;;;6783:1;6780;6773:12;6734:53;6819:9;6806:23;6796:33;;6876:2;6865:9;6861:18;6848:32;6838:42;;6927:2;6916:9;6912:18;6899:32;6889:42;;6978:2;6967:9;6963:18;6950:32;6940:42;;7001:36;7032:3;7021:9;7017:19;7001:36;:::i;:::-;6991:46;;6589:454;;;;;;;;:::o;7048:349::-;7132:12;;-1:-1:-1;;;;;7128:38:1;7116:51;;7220:4;7209:16;;;7203:23;-1:-1:-1;;;;;7199:48:1;7183:14;;;7176:72;7311:4;7300:16;;;7294:23;7287:31;7280:39;7264:14;;;7257:63;7373:4;7362:16;;;7356:23;7381:8;7352:38;7336:14;;7329:62;7048:349::o;7402:722::-;7635:2;7687:21;;;7757:13;;7660:18;;;7779:22;;;7606:4;;7635:2;7858:15;;;;7832:2;7817:18;;;7606:4;7901:197;7915:6;7912:1;7909:13;7901:197;;;7964:52;8012:3;8003:6;7997:13;7964:52;:::i;:::-;8073:15;;;;8045:4;8036:14;;;;;7937:1;7930:9;7901:197;;8607:632;8778:2;8830:21;;;8900:13;;8803:18;;;8922:22;;;8749:4;;8778:2;9001:15;;;;8975:2;8960:18;;;8749:4;9044:169;9058:6;9055:1;9052:13;9044:169;;;9119:13;;9107:26;;9188:15;;;;9153:12;;;;9080:1;9073:9;9044:169;;9472:322;9549:6;9557;9565;9618:2;9606:9;9597:7;9593:23;9589:32;9586:52;;;9634:1;9631;9624:12;9586:52;9657:29;9676:9;9657:29;:::i;:::-;9647:39;9733:2;9718:18;;9705:32;;-1:-1:-1;9784:2:1;9769:18;;;9756:32;;9472:322;-1:-1:-1;;;9472:322:1:o;9799:254::-;9864:6;9872;9925:2;9913:9;9904:7;9900:23;9896:32;9893:52;;;9941:1;9938;9931:12;9893:52;9964:29;9983:9;9964:29;:::i;:::-;9954:39;;10012:35;10043:2;10032:9;10028:18;10012:35;:::i;:::-;10002:45;;9799:254;;;;;:::o;10284:667::-;10379:6;10387;10395;10403;10456:3;10444:9;10435:7;10431:23;10427:33;10424:53;;;10473:1;10470;10463:12;10424:53;10496:29;10515:9;10496:29;:::i;:::-;10486:39;;10544:38;10578:2;10567:9;10563:18;10544:38;:::i;:::-;10534:48;;10629:2;10618:9;10614:18;10601:32;10591:42;;10684:2;10673:9;10669:18;10656:32;-1:-1:-1;;;;;10703:6:1;10700:30;10697:50;;;10743:1;10740;10733:12;10697:50;10766:22;;10819:4;10811:13;;10807:27;-1:-1:-1;10797:55:1;;10848:1;10845;10838:12;10797:55;10871:74;10937:7;10932:2;10919:16;10914:2;10910;10906:11;10871:74;:::i;:::-;10861:84;;;10284:667;;;;;;;:::o;10956:505::-;11051:6;11059;11067;11120:2;11108:9;11099:7;11095:23;11091:32;11088:52;;;11136:1;11133;11126:12;11088:52;11172:9;11159:23;11149:33;;11233:2;11222:9;11218:18;11205:32;-1:-1:-1;;;;;11252:6:1;11249:30;11246:50;;;11292:1;11289;11282:12;11246:50;11331:70;11393:7;11384:6;11373:9;11369:22;11331:70;:::i;:::-;10956:505;;11420:8;;-1:-1:-1;11305:96:1;;-1:-1:-1;;;;10956:505:1:o;11466:266::-;11662:3;11647:19;;11675:51;11651:9;11708:6;11675:51;:::i;11737:385::-;11823:6;11831;11839;11847;11900:3;11888:9;11879:7;11875:23;11871:33;11868:53;;;11917:1;11914;11907:12;11868:53;-1:-1:-1;;11940:23:1;;;12010:2;11995:18;;11982:32;;-1:-1:-1;12061:2:1;12046:18;;12033:32;;12112:2;12097:18;12084:32;;-1:-1:-1;11737:385:1;-1:-1:-1;11737:385:1:o;12127:322::-;12204:6;12212;12220;12273:2;12261:9;12252:7;12248:23;12244:32;12241:52;;;12289:1;12286;12279:12;12241:52;12325:9;12312:23;12302:33;;12382:2;12371:9;12367:18;12354:32;12344:42;;12405:38;12439:2;12428:9;12424:18;12405:38;:::i;:::-;12395:48;;12127:322;;;;;:::o;12454:260::-;12522:6;12530;12583:2;12571:9;12562:7;12558:23;12554:32;12551:52;;;12599:1;12596;12589:12;12551:52;12622:29;12641:9;12622:29;:::i;:::-;12612:39;;12670:38;12704:2;12693:9;12689:18;12670:38;:::i;13501:380::-;13580:1;13576:12;;;;13623;;;13644:61;;13698:4;13690:6;13686:17;13676:27;;13644:61;13751:2;13743:6;13740:14;13720:18;13717:38;13714:161;;13797:10;13792:3;13788:20;13785:1;13778:31;13832:4;13829:1;13822:15;13860:4;13857:1;13850:15;13714:161;;13501:380;;;:::o;13886:127::-;13947:10;13942:3;13938:20;13935:1;13928:31;13978:4;13975:1;13968:15;14002:4;13999:1;13992:15;14297:127;14358:10;14353:3;14349:20;14346:1;14339:31;14389:4;14386:1;14379:15;14413:4;14410:1;14403:15;14429:135;14468:3;14489:17;;;14486:43;;14509:18;;:::i;:::-;-1:-1:-1;14556:1:1;14545:13;;14429:135::o;14569:128::-;14636:9;;;14657:11;;;14654:37;;;14671:18;;:::i;14912:184::-;14982:6;15035:2;15023:9;15014:7;15010:23;15006:32;15003:52;;;15051:1;15048;15041:12;15003:52;-1:-1:-1;15074:16:1;;14912:184;-1:-1:-1;14912:184:1:o;15227:545::-;15329:2;15324:3;15321:11;15318:448;;;15365:1;15390:5;15386:2;15379:17;15435:4;15431:2;15421:19;15505:2;15493:10;15489:19;15486:1;15482:27;15476:4;15472:38;15541:4;15529:10;15526:20;15523:47;;;-1:-1:-1;15564:4:1;15523:47;15619:2;15614:3;15610:12;15607:1;15603:20;15597:4;15593:31;15583:41;;15674:82;15692:2;15685:5;15682:13;15674:82;;;15737:17;;;15718:1;15707:13;15674:82;;15948:1352;16074:3;16068:10;-1:-1:-1;;;;;16093:6:1;16090:30;16087:56;;;16123:18;;:::i;:::-;16152:97;16242:6;16202:38;16234:4;16228:11;16202:38;:::i;:::-;16196:4;16152:97;:::i;:::-;16304:4;;16368:2;16357:14;;16385:1;16380:663;;;;17087:1;17104:6;17101:89;;;-1:-1:-1;17156:19:1;;;17150:26;17101:89;-1:-1:-1;;15905:1:1;15901:11;;;15897:24;15893:29;15883:40;15929:1;15925:11;;;15880:57;17203:81;;16350:944;;16380:663;15174:1;15167:14;;;15211:4;15198:18;;-1:-1:-1;;16416:20:1;;;16534:236;16548:7;16545:1;16542:14;16534:236;;;16637:19;;;16631:26;16616:42;;16729:27;;;;16697:1;16685:14;;;;16564:19;;16534:236;;;16538:3;16798:6;16789:7;16786:19;16783:201;;;16859:19;;;16853:26;-1:-1:-1;;16942:1:1;16938:14;;;16954:3;16934:24;16930:37;16926:42;16911:58;16896:74;;16783:201;-1:-1:-1;;;;;17030:1:1;17014:14;;;17010:22;16997:36;;-1:-1:-1;15948:1352:1:o;17539:217::-;17579:1;17605;17595:132;;17649:10;17644:3;17640:20;17637:1;17630:31;17684:4;17681:1;17674:15;17712:4;17709:1;17702:15;17595:132;-1:-1:-1;17741:9:1;;17539:217::o;17761:1187::-;18038:3;18067:1;18100:6;18094:13;18130:36;18156:9;18130:36;:::i;:::-;18185:1;18202:18;;;18229:133;;;;18376:1;18371:356;;;;18195:532;;18229:133;-1:-1:-1;;18262:24:1;;18250:37;;18335:14;;18328:22;18316:35;;18307:45;;;-1:-1:-1;18229:133:1;;18371:356;18402:6;18399:1;18392:17;18432:4;18477:2;18474:1;18464:16;18502:1;18516:165;18530:6;18527:1;18524:13;18516:165;;;18608:14;;18595:11;;;18588:35;18651:16;;;;18545:10;;18516:165;;;18520:3;;;18710:6;18705:3;18701:16;18694:23;;18195:532;;;;;18758:6;18752:13;18774:68;18833:8;18828:3;18821:4;18813:6;18809:17;18774:68;:::i;:::-;-1:-1:-1;;;18864:18:1;;18891:22;;;18940:1;18929:13;;17761:1187;-1:-1:-1;;;;17761:1187:1:o;18953:125::-;19018:9;;;19039:10;;;19036:36;;;19052:18;;:::i;19851:489::-;-1:-1:-1;;;;;20120:15:1;;;20102:34;;20172:15;;20167:2;20152:18;;20145:43;20219:2;20204:18;;20197:34;;;20267:3;20262:2;20247:18;;20240:31;;;20045:4;;20288:46;;20314:19;;20306:6;20288:46;:::i;:::-;20280:54;19851:489;-1:-1:-1;;;;;;19851:489:1:o;20345:249::-;20414:6;20467:2;20455:9;20446:7;20442:23;20438:32;20435:52;;;20483:1;20480;20473:12;20435:52;20515:9;20509:16;20534:30;20558:5;20534:30;:::i
Swarm Source
ipfs://73b1db5a99b435c89df9ae98e5d9014875ace097b354c432b38dc324da46c68d
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.