ERC-721
Overview
Max Total Supply
334 SGE
Holders
157
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SGELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Surge
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-17 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.19; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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. */ 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _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} * * _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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _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} * * _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) } } } /** * @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() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}( data ); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require( feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice" ); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require( feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice" ); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries( address registrant, address registrantToCopy ) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator( address registrant, address operator, bool filtered ) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators( address registrant, address[] calldata operators, bool filtered ) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash( address registrant, bytes32 codehash, bool filtered ) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes( address registrant, bytes32[] calldata codeHashes, bool filtered ) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe( address(this), subscriptionOrRegistrantToCopy ); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries( address(this), subscriptionOrRegistrantToCopy ); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if ( !OPERATOR_FILTER_REGISTRY.isOperatorAllowed( address(this), operator ) ) { revert OperatorNotAllowed(operator); } } } } /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } /** * @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; } } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: address zero is not a valid owner" ); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved" ); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } /** * @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); } } /* ______ __ __ _______ ______ ________ / \ | \ | \ | \ / \ | \ | $$$$$$\ | $$ | $$ | $$$$$$$\ | $$$$$$\ | $$$$$$$$ | $$___\$$ | $$ | $$ | $$__| $$ | $$ __\$$ | $$__ \$$ \ | $$ | $$ | $$ $$ | $$| \ | $$ \ _\$$$$$$\ | $$ | $$ | $$$$$$$\ | $$ \$$$$ | $$$$$ | \__| $$ | $$__/ $$ | $$ | $$ | $$__| $$ | $$_____ \$$ $$ \$$ $$ | $$ | $$ \$$ $$ | $$ \ \$$$$$$ \$$$$$$ \$$ \$$ \$$$$$$ \$$$$$$$$ */ /** * @title Surge (https://surgenft.xyz/) * @author Exodia Studio (https://exodia.studio/) */ contract Surge is ERC721, Pausable, Ownable, ReentrancyGuard, DefaultOperatorFilterer, ERC2981 { // ------------------------------------------------------------------------------------------------------- // // ---------------------------------------------- INITIALIZATION ----------------------------------------- // // ------------------------------------------------------------------------------------------------------- // constructor() ERC721("Surge", "SGE") { _pause(); unchecked { for (uint256 i; i < 20; ) { _mint(msg.sender, tokenIdCounter); ++i; ++tokenIdCounter; } } } // ------------------------------------------------------------------------------------------------------- // // ------------------------------------------------ LIBRARIES -------------------------------------------- // // ------------------------------------------------------------------------------------------------------- // using Strings for uint256; // ------------------------------------------------------------------------------------------------------- // // ------------------------------------------------ MODIFIERS -------------------------------------------- // // ------------------------------------------------------------------------------------------------------- // modifier checkRequirements(uint256 amount) { uint256 cost = price * amount; require(msg.value == cost, "Incorrect value!"); require(amount <= maxPerTx, "Exceeds max per tx!"); require(tokenIdCounter + amount <= MAX_SUPPLY, "Exceeds max supply!"); _; } // ------------------------------------------------------------------------------------------------------- // // ------------------------------------------------ VARIABLES -------------------------------------------- // // ------------------------------------------------------------------------------------------------------- // /* ------------------------------------------------ CONSTANTS -------------------------------------------- */ uint256 private constant MAX_SUPPLY = 2500; /* ------------------------------------------------ UPDATABLE -------------------------------------------- */ bool private metadataLock; bool private publicMintPhase; uint256 private maxPerTx = 2; uint256 private tokenIdCounter; uint256 private maxPerWallet = 2; uint256 private price = 0.019 ether; string private uri = "ipfs://bafybeiciguidsf2iklibchqn4beptqxbtovi7ss3uvgk4daaadum3ccw3q/"; bytes32 private merkleRoot = 0x35f076cc6a8aac4109a7f23f6b973878f81476c48e92c2ae19088c18cf1fe0b1; // ------------------------------------------------------------------------------------------------------- // // ------------------------------------------------ MAPPINGS --------------------------------------------- // // ------------------------------------------------------------------------------------------------------- // mapping(address => uint256) private _publicMinted; mapping(address => uint256) private _banditsMinted; // ------------------------------------------------------------------------------------------------------- // // ------------------------------------------------- EVENTS ---------------------------------------------- // // ------------------------------------------------------------------------------------------------------- // event Reveal(string indexed uri); event SetPrice(uint256 indexed value); event SetMaxPerTx(uint256 indexed value); event SetMaxPerWallet(uint256 indexed value); event SetMerkleRoot(bytes32 indexed merkleRoot); event SetPublicMintPhase(bool indexed check); // ------------------------------------------------------------------------------------------------------- // // ------------------------------------------------- GETTERS --------------------------------------------- // // ------------------------------------------------------------------------------------------------------- // function totalSupply() public view returns (uint256) { return tokenIdCounter; } function getPrice() public view returns (uint256) { return price; } function getMaxPerTx() public view returns (uint256) { return maxPerTx; } function getMaxPerWallet() public view returns (uint256) { return maxPerWallet; } function checkPublicMintPhase() public view returns (bool) { return publicMintPhase; } function getPublicMintedByWallet(address wallet) public view returns (uint256) { return _publicMinted[wallet]; } function getBanditsMintedByWallet(address wallet) public view returns (uint256) { return _banditsMinted[wallet]; } function isWhitelisted(address wallet, bytes32[] calldata merkleProof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(wallet)); return MerkleProof.verify(merkleProof, merkleRoot, leaf); } // ------------------------------------------------------------------------------------------------------- // // ------------------------------------------------- SETTERS --------------------------------------------- // // ------------------------------------------------------------------------------------------------------- // /* ----------------------------------------------- CENTRALIZED ------------------------------------------- */ function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } function switchMintPhase() external onlyOwner { publicMintPhase = !publicMintPhase; emit SetPublicMintPhase(publicMintPhase); } function reveal(string memory _uri) external onlyOwner { require(!metadataLock, "Already revealed!"); metadataLock = true; uri = _uri; emit Reveal(_uri); } function setPrice(uint256 _price) external onlyOwner { price = _price; emit SetPrice(_price); } function setMaxPerTx(uint256 _maxPerTx) external onlyOwner { maxPerTx = _maxPerTx; emit SetMaxPerTx(_maxPerTx); } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; emit SetMerkleRoot(_merkleRoot); } function setMaxPerWallet(uint256 _maxPerWallet) external onlyOwner { maxPerWallet = _maxPerWallet; emit SetMaxPerWallet(_maxPerWallet); } function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } /* -------------------------------------------------- PUBLIC --------------------------------------------- */ function publicMint(uint256 amount) external payable nonReentrant checkRequirements(amount) { require(publicMintPhase, "Public sale finished!"); require( _publicMinted[msg.sender] + amount <= maxPerWallet, "Exceeds max per wallet!" ); unchecked { _publicMinted[msg.sender] += amount; for (uint256 i; i < amount; ) { _mint(msg.sender, tokenIdCounter); ++tokenIdCounter; ++i; } } } function banditMint(uint256 amount, bytes32[] calldata merkleProof) external payable nonReentrant checkRequirements(amount) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(!publicMintPhase, "Whitelist sale finished!"); require( MerkleProof.verify(merkleProof, merkleRoot, leaf), "NOT_WHITELISTED!" ); require( _banditsMinted[msg.sender] + amount <= maxPerWallet, "Exceeds max per wallet!" ); unchecked { _banditsMinted[msg.sender] += amount; for (uint256 i; i < amount; ) { _mint(msg.sender, tokenIdCounter); ++tokenIdCounter; ++i; } } } // ------------------------------------------------------------------------------------------------------- // // ------------------------------------------------ OVERRIDES -------------------------------------------- // // ------------------------------------------------------------------------------------------------------- // function _baseURI() internal view override returns (string memory) { return uri; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : ""; } /** * @dev See {IERC721-setApprovalForAll}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } /** * @dev See {IERC721-approve}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } /** * @dev See {IERC721-transferFrom}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function transferFrom( address from, address to, uint256 tokenId ) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. * In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"uri","type":"string"}],"name":"Reveal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetMaxPerTx","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetMaxPerWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"SetMerkleRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetPrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"check","type":"bool"}],"name":"SetPublicMintPhase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"banditMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"checkPublicMintPhase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getBanditsMintedByWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getPublicMintedByWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"wallet","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"switchMintPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6002600b819055600d55664380663abb8000600e55610100604052604360808181529062002f3760a039600f906200003890826200057c565b507f35f076cc6a8aac4109a7f23f6b973878f81476c48e92c2ae19088c18cf1fe0b16010553480156200006a57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb6600160405180604001604052806005815260200164537572676560d81b8152506040518060400160405280600381526020016253474560e81b8152508160009081620000cd91906200057c565b506001620000dc82826200057c565b50506006805460ff1916905550620000f43362000286565b60016007556daaeb6d7670e522a718067333cd4e3b156200023e5780156200018c57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200016d57600080fd5b505af115801562000182573d6000803e3d6000fd5b505050506200023e565b6001600160a01b03821615620001dd5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000152565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200022457600080fd5b505af115801562000239573d6000803e3d6000fd5b505050505b506200024b9050620002e0565b60005b60148110156200027f576200026c33600c546200033d60201b60201c565b600c80546001908101909155016200024e565b5062000670565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002ea62000489565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620003203390565b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216620003995760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064015b60405180910390fd5b6000818152600260205260409020546001600160a01b031615620004005760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000390565b6001600160a01b03821660009081526003602052604081208054600192906200042b90849062000648565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60065460ff1615620004d15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000390565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200050357607f821691505b6020821081036200052457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004d357600081815260208120601f850160051c81016020861015620005535750805b601f850160051c820191505b8181101562000574578281556001016200055f565b505050505050565b81516001600160401b03811115620005985762000598620004d8565b620005b081620005a98454620004ee565b846200052a565b602080601f831160018114620005e85760008415620005cf5750858301515b600019600386901b1c1916600185901b17855562000574565b600085815260208120601f198616915b828110156200061957888601518255948401946001909101908401620005f8565b5085821015620006385787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200066a57634e487b7160e01b600052601160045260246000fd5b92915050565b6128b780620006806000396000f3fe6080604052600436106102305760003560e01c806368ad645f1161012e57806395d89b41116100ab578063c6f6f2161161006f578063c6f6f2161461066d578063c87b56dd1461068d578063e268e4d3146106ad578063e985e9c5146106cd578063f2fde38b146106ed57600080fd5b806395d89b41146105cd57806398d5fdca146105e2578063a22cb465146105f7578063ac59b95e14610617578063b88d4fde1461064d57600080fd5b80637edd4370116100f25780637edd43701461052c5780638456cb59146105625780638da5cb5b1461057757806391b7f5ed1461059a57806395c15af2146105ba57600080fd5b806368ad645f146104a55780636bbc4291146104c257806370a08231146104d7578063715018a6146104f75780637cb647591461050c57600080fd5b80632a55205a116101bc57806342842e0e1161018057806342842e0e1461040d5780634c2612471461042d5780635a23dd991461044d5780635c975abb1461046d5780636352211e1461048557600080fd5b80632a55205a1461036f5780632db11544146103ae5780633ccfd60b146103c15780633f4ba83a146103d657806341f43434146103eb57600080fd5b8063095ea7b311610203578063095ea7b3146102e65780630ea1b51114610306578063104203441461032557806318160ddd1461033a57806323b872dd1461034f57600080fd5b806301ffc9a71461023557806304634d8d1461026a57806306fdde031461028c578063081812fc146102ae575b600080fd5b34801561024157600080fd5b506102556102503660046120e3565b61070d565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061028a61028536600461211c565b61071e565b005b34801561029857600080fd5b506102a1610734565b60405161026191906121af565b3480156102ba57600080fd5b506102ce6102c93660046121c2565b6107c6565b6040516001600160a01b039091168152602001610261565b3480156102f257600080fd5b5061028a6103013660046121db565b6107ed565b34801561031257600080fd5b50600b545b604051908152602001610261565b34801561033157600080fd5b5061028a610806565b34801561034657600080fd5b50600c54610317565b34801561035b57600080fd5b5061028a61036a366004612205565b610863565b34801561037b57600080fd5b5061038f61038a366004612241565b61088e565b604080516001600160a01b039093168352602083019190915201610261565b61028a6103bc3660046121c2565b61093c565b3480156103cd57600080fd5b5061028a610b88565b3480156103e257600080fd5b5061028a610bbf565b3480156103f757600080fd5b506102ce6daaeb6d7670e522a718067333cd4e81565b34801561041957600080fd5b5061028a610428366004612205565b610bd1565b34801561043957600080fd5b5061028a6104483660046122ef565b610bf6565b34801561045957600080fd5b5061025561046836600461237d565b610ca0565b34801561047957600080fd5b5060065460ff16610255565b34801561049157600080fd5b506102ce6104a03660046121c2565b610d26565b3480156104b157600080fd5b50600a54610100900460ff16610255565b3480156104ce57600080fd5b50600d54610317565b3480156104e357600080fd5b506103176104f23660046123d0565b610d86565b34801561050357600080fd5b5061028a610e0c565b34801561051857600080fd5b5061028a6105273660046121c2565b610e1e565b34801561053857600080fd5b506103176105473660046123d0565b6001600160a01b031660009081526011602052604090205490565b34801561056e57600080fd5b5061028a610e59565b34801561058357600080fd5b5060065461010090046001600160a01b03166102ce565b3480156105a657600080fd5b5061028a6105b53660046121c2565b610e69565b61028a6105c83660046123eb565b610ea4565b3480156105d957600080fd5b506102a16111ae565b3480156105ee57600080fd5b50600e54610317565b34801561060357600080fd5b5061028a61061236600461242c565b6111bd565b34801561062357600080fd5b506103176106323660046123d0565b6001600160a01b031660009081526012602052604090205490565b34801561065957600080fd5b5061028a610668366004612458565b6111d1565b34801561067957600080fd5b5061028a6106883660046121c2565b6111fe565b34801561069957600080fd5b506102a16106a83660046121c2565b611239565b3480156106b957600080fd5b5061028a6106c83660046121c2565b6112a0565b3480156106d957600080fd5b506102556106e83660046124d4565b6112db565b3480156106f957600080fd5b5061028a6107083660046123d0565b611309565b60006107188261137f565b92915050565b6107266113a4565b6107308282611404565b5050565b60606000805461074390612507565b80601f016020809104026020016040519081016040528092919081815260200182805461076f90612507565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b60006107d182611501565b506000908152600460205260409020546001600160a01b031690565b816107f781611560565b6108018383611619565b505050565b61080e6113a4565b600a805460ff610100808304821615810261ff00199093169290921792839055604051919092049091161515907f6bd2755ff2a14c3a3bebdb6465ebfedbb8579e97014f7b332149ac235afe894f90600090a2565b826001600160a01b038116331461087d5761087d33611560565b610888848484611729565b50505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109035750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610922906001600160601b031687612557565b61092c9190612584565b91519350909150505b9250929050565b6002600754036109935760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600755600e5481906000906109ab908390612557565b90508034146109ef5760405162461bcd60e51b815260206004820152601060248201526f496e636f72726563742076616c75652160801b604482015260640161098a565b600b54821115610a375760405162461bcd60e51b815260206004820152601360248201527245786365656473206d6178207065722074782160681b604482015260640161098a565b6109c482600c54610a489190612598565b1115610a8c5760405162461bcd60e51b815260206004820152601360248201527245786365656473206d617820737570706c792160681b604482015260640161098a565b600a54610100900460ff16610adb5760405162461bcd60e51b81526020600482015260156024820152745075626c69632073616c652066696e69736865642160581b604482015260640161098a565b600d5433600090815260116020526040902054610af9908590612598565b1115610b415760405162461bcd60e51b815260206004820152601760248201527645786365656473206d6178207065722077616c6c65742160481b604482015260640161098a565b3360009081526011602052604081208054850190555b83811015610b7d57610b6b33600c5461175a565b600c8054600190810190915501610b57565b505060016007555050565b610b906113a4565b60405133904780156108fc02916000818181858888f19350505050158015610bbc573d6000803e3d6000fd5b50565b610bc76113a4565b610bcf61189c565b565b826001600160a01b0381163314610beb57610beb33611560565b6108888484846118ee565b610bfe6113a4565b600a5460ff1615610c455760405162461bcd60e51b8152602060048201526011602482015270416c72656164792072657665616c65642160781b604482015260640161098a565b600a805460ff19166001179055600f610c5e82826125f9565b5080604051610c6d91906126b9565b604051908190038120907ff040279f20c4475afca9a566d33b14e09c92fcb6460fb4121fadf563ab9ecc1f90600090a250565b6040516bffffffffffffffffffffffff19606085901b1660208201526000908190603401604051602081830303815290604052805190602001209050610d1d848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611909565b95945050505050565b6000818152600260205260408120546001600160a01b0316806107185760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161098a565b60006001600160a01b038216610df05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161098a565b506001600160a01b031660009081526003602052604090205490565b610e146113a4565b610bcf600061191f565b610e266113a4565b601081905560405181907f914960aef5e033ce5cae8a7992d4b7a6f0f9741227b66acb67c605b7019f8a4690600090a250565b610e616113a4565b610bcf611979565b610e716113a4565b600e81905560405181907f4f5539c0409dfc4cb06f64cbd31237e1fbfe443f531584bf4dd77ec7fc5ba7b190600090a250565b600260075403610ef65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161098a565b6002600755600e548390600090610f0e908390612557565b9050803414610f525760405162461bcd60e51b815260206004820152601060248201526f496e636f72726563742076616c75652160801b604482015260640161098a565b600b54821115610f9a5760405162461bcd60e51b815260206004820152601360248201527245786365656473206d6178207065722074782160681b604482015260640161098a565b6109c482600c54610fab9190612598565b1115610fef5760405162461bcd60e51b815260206004820152601360248201527245786365656473206d617820737570706c792160681b604482015260640161098a565b604080516bffffffffffffffffffffffff193360601b166020808301919091528251808303601401815260349092019092528051910120600a54610100900460ff161561107e5760405162461bcd60e51b815260206004820152601860248201527f57686974656c6973742073616c652066696e6973686564210000000000000000604482015260640161098a565b6110bf858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611909565b6110fe5760405162461bcd60e51b815260206004820152601060248201526f4e4f545f57484954454c49535445442160801b604482015260640161098a565b600d543360009081526012602052604090205461111c908890612598565b11156111645760405162461bcd60e51b815260206004820152601760248201527645786365656473206d6178207065722077616c6c65742160481b604482015260640161098a565b3360009081526012602052604081208054880190555b868110156111a05761118e33600c5461175a565b600c805460019081019091550161117a565b505060016007555050505050565b60606001805461074390612507565b816111c781611560565b61080183836119b6565b836001600160a01b03811633146111eb576111eb33611560565b6111f7858585856119c1565b5050505050565b6112066113a4565b600b81905560405181907fecaae3bb1732170f6f614e6c50a2dfeab91c4e71b9f26fcfd742ee3b212180d390600090a250565b606061124482611501565b600061124e6119f3565b9050600081511161126e5760405180602001604052806000815250611299565b8061127884611a02565b6040516020016112899291906126d5565b6040516020818303038152906040525b9392505050565b6112a86113a4565b600d81905560405181907f40532828d73d53d59eb97977ab23ce325d9da71d8e0b4b861fa4ec8b1e625ff190600090a250565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6113116113a4565b6001600160a01b0381166113765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161098a565b610bbc8161191f565b60006001600160e01b0319821663152a902d60e11b1480610718575061071882611b0b565b6006546001600160a01b03610100909104163314610bcf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161098a565b6127106001600160601b03821611156114725760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161098a565b6001600160a01b0382166114c85760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161098a565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b6000818152600260205260409020546001600160a01b0316610bbc5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161098a565b6daaeb6d7670e522a718067333cd4e3b15610bbc57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f19190612714565b610bbc57604051633b79c77360e21b81526001600160a01b038216600482015260240161098a565b600061162482610d26565b9050806001600160a01b0316836001600160a01b0316036116915760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161098a565b336001600160a01b03821614806116ad57506116ad81336112db565b61171f5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161098a565b6108018383611b5b565b6117333382611bc9565b61174f5760405162461bcd60e51b815260040161098a90612731565b610801838383611c27565b6001600160a01b0382166117b05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161098a565b6000818152600260205260409020546001600160a01b0316156118155760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161098a565b6001600160a01b038216600090815260036020526040812080546001929061183e908490612598565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6118a4611dc3565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610801838383604051806020016040528060008152506111d1565b6000826119168584611e0c565b14949350505050565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611981611e59565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118d13390565b610730338383611e9f565b6119cb3383611bc9565b6119e75760405162461bcd60e51b815260040161098a90612731565b61088884848484611f6d565b6060600f805461074390612507565b606081600003611a295750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a535780611a3d8161277f565b9150611a4c9050600a83612584565b9150611a2d565b60008167ffffffffffffffff811115611a6e57611a6e612263565b6040519080825280601f01601f191660200182016040528015611a98576020820181803683370190505b5090505b8415611b0357611aad600183612798565b9150611aba600a866127ab565b611ac5906030612598565b60f81b818381518110611ada57611ada6127bf565b60200101906001600160f81b031916908160001a905350611afc600a86612584565b9450611a9c565b949350505050565b60006001600160e01b031982166380ac58cd60e01b1480611b3c57506001600160e01b03198216635b5e139f60e01b145b8061071857506301ffc9a760e01b6001600160e01b0319831614610718565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b9082610d26565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611bd583610d26565b9050806001600160a01b0316846001600160a01b03161480611bfc5750611bfc81856112db565b80611b035750836001600160a01b0316611c15846107c6565b6001600160a01b031614949350505050565b826001600160a01b0316611c3a82610d26565b6001600160a01b031614611c9e5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161098a565b6001600160a01b038216611d005760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161098a565b611d0b600082611b5b565b6001600160a01b0383166000908152600360205260408120805460019290611d34908490612798565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d62908490612598565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60065460ff16610bcf5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161098a565b600081815b8451811015611e5157611e3d82868381518110611e3057611e306127bf565b6020026020010151611fa0565b915080611e498161277f565b915050611e11565b509392505050565b60065460ff1615610bcf5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161098a565b816001600160a01b0316836001600160a01b031603611f005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161098a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f78848484611c27565b611f8484848484611fcc565b6108885760405162461bcd60e51b815260040161098a906127d5565b6000818310611fbc576000828152602084905260409020611299565b5060009182526020526040902090565b60006001600160a01b0384163b156120c257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612010903390899088908890600401612827565b6020604051808303816000875af192505050801561204b575060408051601f3d908101601f1916820190925261204891810190612864565b60015b6120a8573d808015612079576040519150601f19603f3d011682016040523d82523d6000602084013e61207e565b606091505b5080516000036120a05760405162461bcd60e51b815260040161098a906127d5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b03565b506001949350505050565b6001600160e01b031981168114610bbc57600080fd5b6000602082840312156120f557600080fd5b8135611299816120cd565b80356001600160a01b038116811461211757600080fd5b919050565b6000806040838503121561212f57600080fd5b61213883612100565b915060208301356001600160601b038116811461215457600080fd5b809150509250929050565b60005b8381101561217a578181015183820152602001612162565b50506000910152565b6000815180845261219b81602086016020860161215f565b601f01601f19169290920160200192915050565b6020815260006112996020830184612183565b6000602082840312156121d457600080fd5b5035919050565b600080604083850312156121ee57600080fd5b6121f783612100565b946020939093013593505050565b60008060006060848603121561221a57600080fd5b61222384612100565b925061223160208501612100565b9150604084013590509250925092565b6000806040838503121561225457600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561229457612294612263565b604051601f8501601f19908116603f011681019082821181831017156122bc576122bc612263565b816040528093508581528686860111156122d557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561230157600080fd5b813567ffffffffffffffff81111561231857600080fd5b8201601f8101841361232957600080fd5b611b0384823560208401612279565b60008083601f84011261234a57600080fd5b50813567ffffffffffffffff81111561236257600080fd5b6020830191508360208260051b850101111561093557600080fd5b60008060006040848603121561239257600080fd5b61239b84612100565b9250602084013567ffffffffffffffff8111156123b757600080fd5b6123c386828701612338565b9497909650939450505050565b6000602082840312156123e257600080fd5b61129982612100565b60008060006040848603121561240057600080fd5b83359250602084013567ffffffffffffffff8111156123b757600080fd5b8015158114610bbc57600080fd5b6000806040838503121561243f57600080fd5b61244883612100565b915060208301356121548161241e565b6000806000806080858703121561246e57600080fd5b61247785612100565b935061248560208601612100565b925060408501359150606085013567ffffffffffffffff8111156124a857600080fd5b8501601f810187136124b957600080fd5b6124c887823560208401612279565b91505092959194509250565b600080604083850312156124e757600080fd5b6124f083612100565b91506124fe60208401612100565b90509250929050565b600181811c9082168061251b57607f821691505b60208210810361253b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761071857610718612541565b634e487b7160e01b600052601260045260246000fd5b6000826125935761259361256e565b500490565b8082018082111561071857610718612541565b601f82111561080157600081815260208120601f850160051c810160208610156125d25750805b601f850160051c820191505b818110156125f1578281556001016125de565b505050505050565b815167ffffffffffffffff81111561261357612613612263565b612627816126218454612507565b846125ab565b602080601f83116001811461265c57600084156126445750858301515b600019600386901b1c1916600185901b1785556125f1565b600085815260208120601f198616915b8281101561268b5788860151825594840194600190910190840161266c565b50858210156126a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516126cb81846020870161215f565b9190910192915050565b600083516126e781846020880161215f565b8351908301906126fb81836020880161215f565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561272657600080fd5b81516112998161241e565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60006001820161279157612791612541565b5060010190565b8181038181111561071857610718612541565b6000826127ba576127ba61256e565b500690565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061285a90830184612183565b9695505050505050565b60006020828403121561287657600080fd5b8151611299816120cd56fea26469706673582212204cc7d134fa76432a9b3899c23a937c595b2a30579757492c39952210125eda1b64736f6c63430008130033697066733a2f2f62616679626569636967756964736632696b6c69626368716e3462657074717862746f7669377373337576676b346461616164756d3363637733712f
Deployed Bytecode
0x6080604052600436106102305760003560e01c806368ad645f1161012e57806395d89b41116100ab578063c6f6f2161161006f578063c6f6f2161461066d578063c87b56dd1461068d578063e268e4d3146106ad578063e985e9c5146106cd578063f2fde38b146106ed57600080fd5b806395d89b41146105cd57806398d5fdca146105e2578063a22cb465146105f7578063ac59b95e14610617578063b88d4fde1461064d57600080fd5b80637edd4370116100f25780637edd43701461052c5780638456cb59146105625780638da5cb5b1461057757806391b7f5ed1461059a57806395c15af2146105ba57600080fd5b806368ad645f146104a55780636bbc4291146104c257806370a08231146104d7578063715018a6146104f75780637cb647591461050c57600080fd5b80632a55205a116101bc57806342842e0e1161018057806342842e0e1461040d5780634c2612471461042d5780635a23dd991461044d5780635c975abb1461046d5780636352211e1461048557600080fd5b80632a55205a1461036f5780632db11544146103ae5780633ccfd60b146103c15780633f4ba83a146103d657806341f43434146103eb57600080fd5b8063095ea7b311610203578063095ea7b3146102e65780630ea1b51114610306578063104203441461032557806318160ddd1461033a57806323b872dd1461034f57600080fd5b806301ffc9a71461023557806304634d8d1461026a57806306fdde031461028c578063081812fc146102ae575b600080fd5b34801561024157600080fd5b506102556102503660046120e3565b61070d565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061028a61028536600461211c565b61071e565b005b34801561029857600080fd5b506102a1610734565b60405161026191906121af565b3480156102ba57600080fd5b506102ce6102c93660046121c2565b6107c6565b6040516001600160a01b039091168152602001610261565b3480156102f257600080fd5b5061028a6103013660046121db565b6107ed565b34801561031257600080fd5b50600b545b604051908152602001610261565b34801561033157600080fd5b5061028a610806565b34801561034657600080fd5b50600c54610317565b34801561035b57600080fd5b5061028a61036a366004612205565b610863565b34801561037b57600080fd5b5061038f61038a366004612241565b61088e565b604080516001600160a01b039093168352602083019190915201610261565b61028a6103bc3660046121c2565b61093c565b3480156103cd57600080fd5b5061028a610b88565b3480156103e257600080fd5b5061028a610bbf565b3480156103f757600080fd5b506102ce6daaeb6d7670e522a718067333cd4e81565b34801561041957600080fd5b5061028a610428366004612205565b610bd1565b34801561043957600080fd5b5061028a6104483660046122ef565b610bf6565b34801561045957600080fd5b5061025561046836600461237d565b610ca0565b34801561047957600080fd5b5060065460ff16610255565b34801561049157600080fd5b506102ce6104a03660046121c2565b610d26565b3480156104b157600080fd5b50600a54610100900460ff16610255565b3480156104ce57600080fd5b50600d54610317565b3480156104e357600080fd5b506103176104f23660046123d0565b610d86565b34801561050357600080fd5b5061028a610e0c565b34801561051857600080fd5b5061028a6105273660046121c2565b610e1e565b34801561053857600080fd5b506103176105473660046123d0565b6001600160a01b031660009081526011602052604090205490565b34801561056e57600080fd5b5061028a610e59565b34801561058357600080fd5b5060065461010090046001600160a01b03166102ce565b3480156105a657600080fd5b5061028a6105b53660046121c2565b610e69565b61028a6105c83660046123eb565b610ea4565b3480156105d957600080fd5b506102a16111ae565b3480156105ee57600080fd5b50600e54610317565b34801561060357600080fd5b5061028a61061236600461242c565b6111bd565b34801561062357600080fd5b506103176106323660046123d0565b6001600160a01b031660009081526012602052604090205490565b34801561065957600080fd5b5061028a610668366004612458565b6111d1565b34801561067957600080fd5b5061028a6106883660046121c2565b6111fe565b34801561069957600080fd5b506102a16106a83660046121c2565b611239565b3480156106b957600080fd5b5061028a6106c83660046121c2565b6112a0565b3480156106d957600080fd5b506102556106e83660046124d4565b6112db565b3480156106f957600080fd5b5061028a6107083660046123d0565b611309565b60006107188261137f565b92915050565b6107266113a4565b6107308282611404565b5050565b60606000805461074390612507565b80601f016020809104026020016040519081016040528092919081815260200182805461076f90612507565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b60006107d182611501565b506000908152600460205260409020546001600160a01b031690565b816107f781611560565b6108018383611619565b505050565b61080e6113a4565b600a805460ff610100808304821615810261ff00199093169290921792839055604051919092049091161515907f6bd2755ff2a14c3a3bebdb6465ebfedbb8579e97014f7b332149ac235afe894f90600090a2565b826001600160a01b038116331461087d5761087d33611560565b610888848484611729565b50505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109035750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610922906001600160601b031687612557565b61092c9190612584565b91519350909150505b9250929050565b6002600754036109935760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600755600e5481906000906109ab908390612557565b90508034146109ef5760405162461bcd60e51b815260206004820152601060248201526f496e636f72726563742076616c75652160801b604482015260640161098a565b600b54821115610a375760405162461bcd60e51b815260206004820152601360248201527245786365656473206d6178207065722074782160681b604482015260640161098a565b6109c482600c54610a489190612598565b1115610a8c5760405162461bcd60e51b815260206004820152601360248201527245786365656473206d617820737570706c792160681b604482015260640161098a565b600a54610100900460ff16610adb5760405162461bcd60e51b81526020600482015260156024820152745075626c69632073616c652066696e69736865642160581b604482015260640161098a565b600d5433600090815260116020526040902054610af9908590612598565b1115610b415760405162461bcd60e51b815260206004820152601760248201527645786365656473206d6178207065722077616c6c65742160481b604482015260640161098a565b3360009081526011602052604081208054850190555b83811015610b7d57610b6b33600c5461175a565b600c8054600190810190915501610b57565b505060016007555050565b610b906113a4565b60405133904780156108fc02916000818181858888f19350505050158015610bbc573d6000803e3d6000fd5b50565b610bc76113a4565b610bcf61189c565b565b826001600160a01b0381163314610beb57610beb33611560565b6108888484846118ee565b610bfe6113a4565b600a5460ff1615610c455760405162461bcd60e51b8152602060048201526011602482015270416c72656164792072657665616c65642160781b604482015260640161098a565b600a805460ff19166001179055600f610c5e82826125f9565b5080604051610c6d91906126b9565b604051908190038120907ff040279f20c4475afca9a566d33b14e09c92fcb6460fb4121fadf563ab9ecc1f90600090a250565b6040516bffffffffffffffffffffffff19606085901b1660208201526000908190603401604051602081830303815290604052805190602001209050610d1d848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611909565b95945050505050565b6000818152600260205260408120546001600160a01b0316806107185760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161098a565b60006001600160a01b038216610df05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161098a565b506001600160a01b031660009081526003602052604090205490565b610e146113a4565b610bcf600061191f565b610e266113a4565b601081905560405181907f914960aef5e033ce5cae8a7992d4b7a6f0f9741227b66acb67c605b7019f8a4690600090a250565b610e616113a4565b610bcf611979565b610e716113a4565b600e81905560405181907f4f5539c0409dfc4cb06f64cbd31237e1fbfe443f531584bf4dd77ec7fc5ba7b190600090a250565b600260075403610ef65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161098a565b6002600755600e548390600090610f0e908390612557565b9050803414610f525760405162461bcd60e51b815260206004820152601060248201526f496e636f72726563742076616c75652160801b604482015260640161098a565b600b54821115610f9a5760405162461bcd60e51b815260206004820152601360248201527245786365656473206d6178207065722074782160681b604482015260640161098a565b6109c482600c54610fab9190612598565b1115610fef5760405162461bcd60e51b815260206004820152601360248201527245786365656473206d617820737570706c792160681b604482015260640161098a565b604080516bffffffffffffffffffffffff193360601b166020808301919091528251808303601401815260349092019092528051910120600a54610100900460ff161561107e5760405162461bcd60e51b815260206004820152601860248201527f57686974656c6973742073616c652066696e6973686564210000000000000000604482015260640161098a565b6110bf858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611909565b6110fe5760405162461bcd60e51b815260206004820152601060248201526f4e4f545f57484954454c49535445442160801b604482015260640161098a565b600d543360009081526012602052604090205461111c908890612598565b11156111645760405162461bcd60e51b815260206004820152601760248201527645786365656473206d6178207065722077616c6c65742160481b604482015260640161098a565b3360009081526012602052604081208054880190555b868110156111a05761118e33600c5461175a565b600c805460019081019091550161117a565b505060016007555050505050565b60606001805461074390612507565b816111c781611560565b61080183836119b6565b836001600160a01b03811633146111eb576111eb33611560565b6111f7858585856119c1565b5050505050565b6112066113a4565b600b81905560405181907fecaae3bb1732170f6f614e6c50a2dfeab91c4e71b9f26fcfd742ee3b212180d390600090a250565b606061124482611501565b600061124e6119f3565b9050600081511161126e5760405180602001604052806000815250611299565b8061127884611a02565b6040516020016112899291906126d5565b6040516020818303038152906040525b9392505050565b6112a86113a4565b600d81905560405181907f40532828d73d53d59eb97977ab23ce325d9da71d8e0b4b861fa4ec8b1e625ff190600090a250565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6113116113a4565b6001600160a01b0381166113765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161098a565b610bbc8161191f565b60006001600160e01b0319821663152a902d60e11b1480610718575061071882611b0b565b6006546001600160a01b03610100909104163314610bcf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161098a565b6127106001600160601b03821611156114725760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161098a565b6001600160a01b0382166114c85760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161098a565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b6000818152600260205260409020546001600160a01b0316610bbc5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161098a565b6daaeb6d7670e522a718067333cd4e3b15610bbc57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f19190612714565b610bbc57604051633b79c77360e21b81526001600160a01b038216600482015260240161098a565b600061162482610d26565b9050806001600160a01b0316836001600160a01b0316036116915760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161098a565b336001600160a01b03821614806116ad57506116ad81336112db565b61171f5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161098a565b6108018383611b5b565b6117333382611bc9565b61174f5760405162461bcd60e51b815260040161098a90612731565b610801838383611c27565b6001600160a01b0382166117b05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161098a565b6000818152600260205260409020546001600160a01b0316156118155760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161098a565b6001600160a01b038216600090815260036020526040812080546001929061183e908490612598565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6118a4611dc3565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610801838383604051806020016040528060008152506111d1565b6000826119168584611e0c565b14949350505050565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611981611e59565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118d13390565b610730338383611e9f565b6119cb3383611bc9565b6119e75760405162461bcd60e51b815260040161098a90612731565b61088884848484611f6d565b6060600f805461074390612507565b606081600003611a295750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a535780611a3d8161277f565b9150611a4c9050600a83612584565b9150611a2d565b60008167ffffffffffffffff811115611a6e57611a6e612263565b6040519080825280601f01601f191660200182016040528015611a98576020820181803683370190505b5090505b8415611b0357611aad600183612798565b9150611aba600a866127ab565b611ac5906030612598565b60f81b818381518110611ada57611ada6127bf565b60200101906001600160f81b031916908160001a905350611afc600a86612584565b9450611a9c565b949350505050565b60006001600160e01b031982166380ac58cd60e01b1480611b3c57506001600160e01b03198216635b5e139f60e01b145b8061071857506301ffc9a760e01b6001600160e01b0319831614610718565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b9082610d26565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611bd583610d26565b9050806001600160a01b0316846001600160a01b03161480611bfc5750611bfc81856112db565b80611b035750836001600160a01b0316611c15846107c6565b6001600160a01b031614949350505050565b826001600160a01b0316611c3a82610d26565b6001600160a01b031614611c9e5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161098a565b6001600160a01b038216611d005760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161098a565b611d0b600082611b5b565b6001600160a01b0383166000908152600360205260408120805460019290611d34908490612798565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d62908490612598565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60065460ff16610bcf5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161098a565b600081815b8451811015611e5157611e3d82868381518110611e3057611e306127bf565b6020026020010151611fa0565b915080611e498161277f565b915050611e11565b509392505050565b60065460ff1615610bcf5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161098a565b816001600160a01b0316836001600160a01b031603611f005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161098a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f78848484611c27565b611f8484848484611fcc565b6108885760405162461bcd60e51b815260040161098a906127d5565b6000818310611fbc576000828152602084905260409020611299565b5060009182526020526040902090565b60006001600160a01b0384163b156120c257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612010903390899088908890600401612827565b6020604051808303816000875af192505050801561204b575060408051601f3d908101601f1916820190925261204891810190612864565b60015b6120a8573d808015612079576040519150601f19603f3d011682016040523d82523d6000602084013e61207e565b606091505b5080516000036120a05760405162461bcd60e51b815260040161098a906127d5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b03565b506001949350505050565b6001600160e01b031981168114610bbc57600080fd5b6000602082840312156120f557600080fd5b8135611299816120cd565b80356001600160a01b038116811461211757600080fd5b919050565b6000806040838503121561212f57600080fd5b61213883612100565b915060208301356001600160601b038116811461215457600080fd5b809150509250929050565b60005b8381101561217a578181015183820152602001612162565b50506000910152565b6000815180845261219b81602086016020860161215f565b601f01601f19169290920160200192915050565b6020815260006112996020830184612183565b6000602082840312156121d457600080fd5b5035919050565b600080604083850312156121ee57600080fd5b6121f783612100565b946020939093013593505050565b60008060006060848603121561221a57600080fd5b61222384612100565b925061223160208501612100565b9150604084013590509250925092565b6000806040838503121561225457600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561229457612294612263565b604051601f8501601f19908116603f011681019082821181831017156122bc576122bc612263565b816040528093508581528686860111156122d557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561230157600080fd5b813567ffffffffffffffff81111561231857600080fd5b8201601f8101841361232957600080fd5b611b0384823560208401612279565b60008083601f84011261234a57600080fd5b50813567ffffffffffffffff81111561236257600080fd5b6020830191508360208260051b850101111561093557600080fd5b60008060006040848603121561239257600080fd5b61239b84612100565b9250602084013567ffffffffffffffff8111156123b757600080fd5b6123c386828701612338565b9497909650939450505050565b6000602082840312156123e257600080fd5b61129982612100565b60008060006040848603121561240057600080fd5b83359250602084013567ffffffffffffffff8111156123b757600080fd5b8015158114610bbc57600080fd5b6000806040838503121561243f57600080fd5b61244883612100565b915060208301356121548161241e565b6000806000806080858703121561246e57600080fd5b61247785612100565b935061248560208601612100565b925060408501359150606085013567ffffffffffffffff8111156124a857600080fd5b8501601f810187136124b957600080fd5b6124c887823560208401612279565b91505092959194509250565b600080604083850312156124e757600080fd5b6124f083612100565b91506124fe60208401612100565b90509250929050565b600181811c9082168061251b57607f821691505b60208210810361253b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761071857610718612541565b634e487b7160e01b600052601260045260246000fd5b6000826125935761259361256e565b500490565b8082018082111561071857610718612541565b601f82111561080157600081815260208120601f850160051c810160208610156125d25750805b601f850160051c820191505b818110156125f1578281556001016125de565b505050505050565b815167ffffffffffffffff81111561261357612613612263565b612627816126218454612507565b846125ab565b602080601f83116001811461265c57600084156126445750858301515b600019600386901b1c1916600185901b1785556125f1565b600085815260208120601f198616915b8281101561268b5788860151825594840194600190910190840161266c565b50858210156126a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516126cb81846020870161215f565b9190910192915050565b600083516126e781846020880161215f565b8351908301906126fb81836020880161215f565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561272657600080fd5b81516112998161241e565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60006001820161279157612791612541565b5060010190565b8181038181111561071857610718612541565b6000826127ba576127ba61256e565b500690565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061285a90830184612183565b9695505050505050565b60006020828403121561287657600080fd5b8151611299816120cd56fea26469706673582212204cc7d134fa76432a9b3899c23a937c595b2a30579757492c39952210125eda1b64736f6c63430008130033
Deployed Bytecode Sourcemap
69068:11899:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80744:220;;;;;;;;;;-1:-1:-1;80744:220:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;80744:220:0;;;;;;;;76158:169;;;;;;;;;;-1:-1:-1;76158:169:0;;;;;:::i;:::-;;:::i;:::-;;50107:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;51717:221::-;;;;;;;;;;-1:-1:-1;51717:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2246:32:1;;;2228:51;;2216:2;2201:18;51717:221:0;2082:203:1;79285:189:0;;;;;;;;;;-1:-1:-1;79285:189:0;;;;;:::i;:::-;;:::i;73561:87::-;;;;;;;;;;-1:-1:-1;73632:8:0;;73561:87;;;2695:25:1;;;2683:2;2668:18;73561:87:0;2549:177:1;75202:150:0;;;;;;;;;;;;;:::i;73371:93::-;;;;;;;;;;-1:-1:-1;73442:14:0;;73371:93;;79657:197;;;;;;;;;;-1:-1:-1;79657:197:0;;;;;:::i;:::-;;:::i;27566:505::-;;;;;;;;;;-1:-1:-1;27566:505:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3509:32:1;;;3491:51;;3573:2;3558:18;;3551:34;;;;3464:18;27566:505:0;3317:274:1;76452:588:0;;;;;;:::i;:::-;;:::i;75085:109::-;;;;;;;;;;;;;:::i;75010:67::-;;;;;;;;;;;;;:::i;43533:143::-;;;;;;;;;;;;35765:42;43533:143;;80041:205;;;;;;;;;;-1:-1:-1;80041:205:0;;;;;:::i;:::-;;:::i;75360:196::-;;;;;;;;;;-1:-1:-1;75360:196:0;;;;;:::i;:::-;;:::i;74201:266::-;;;;;;;;;;-1:-1:-1;74201:266:0;;;;;:::i;:::-;;:::i;64496:86::-;;;;;;;;;;-1:-1:-1;64567:7:0;;;;64496:86;;49768:272;;;;;;;;;;-1:-1:-1;49768:272:0;;;;;:::i;:::-;;:::i;73759:100::-;;;;;;;;;;-1:-1:-1;73836:15:0;;;;;;;73759:100;;73656:95;;;;;;;;;;-1:-1:-1;73731:12:0;;73656:95;;49412:294;;;;;;;;;;-1:-1:-1;49412:294:0;;;;;:::i;:::-;;:::i;67228:103::-;;;;;;;;;;;;;:::i;75834:148::-;;;;;;;;;;-1:-1:-1;75834:148:0;;;;;:::i;:::-;;:::i;73867:158::-;;;;;;;;;;-1:-1:-1;73867:158:0;;;;;:::i;:::-;-1:-1:-1;;;;;73996:21:0;73964:7;73996:21;;;:13;:21;;;;;;;73867:158;74939:63;;;;;;;;;;;;;:::i;66580:87::-;;;;;;;;;;-1:-1:-1;66653:6:0;;;;;-1:-1:-1;;;;;66653:6:0;66580:87;;75564:118;;;;;;;;;;-1:-1:-1;75564:118:0;;;;;:::i;:::-;;:::i;77048:819::-;;;;;;:::i;:::-;;:::i;50276:104::-;;;;;;;;;;;;;:::i;73472:81::-;;;;;;;;;;-1:-1:-1;73540:5:0;;73472:81;;78899:208;;;;;;;;;;-1:-1:-1;78899:208:0;;;;;:::i;:::-;;:::i;74033:160::-;;;;;;;;;;-1:-1:-1;74033:160:0;;;;;:::i;:::-;-1:-1:-1;;;;;74163:22:0;74131:7;74163:22;;;:14;:22;;;;;;;74033:160;80433:239;;;;;;;;;;-1:-1:-1;80433:239:0;;;;;:::i;:::-;;:::i;75690:136::-;;;;;;;;;;-1:-1:-1;75690:136:0;;;;;:::i;:::-;;:::i;78326:385::-;;;;;;;;;;-1:-1:-1;78326:385:0;;;;;:::i;:::-;;:::i;75990:160::-;;;;;;;;;;-1:-1:-1;75990:160:0;;;;;:::i;:::-;;:::i;52268:214::-;;;;;;;;;;-1:-1:-1;52268:214:0;;;;;:::i;:::-;;:::i;67486:238::-;;;;;;;;;;-1:-1:-1;67486:238:0;;;;;:::i;:::-;;:::i;80744:220::-;80891:4;80920:36;80944:11;80920:23;:36::i;:::-;80913:43;80744:220;-1:-1:-1;;80744:220:0:o;76158:169::-;66466:13;:11;:13::i;:::-;76277:42:::1;76296:8;76306:12;76277:18;:42::i;:::-;76158:169:::0;;:::o;50107:100::-;50161:13;50194:5;50187:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50107:100;:::o;51717:221::-;51838:7;51863:23;51878:7;51863:14;:23::i;:::-;-1:-1:-1;51906:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;51906:24:0;;51717:221::o;79285:189::-;79408:8;45449:30;45470:8;45449:20;:30::i;:::-;79434:32:::1;79448:8;79458:7;79434:13;:32::i;:::-;79285:189:::0;;;:::o;75202:150::-;66466:13;:11;:13::i;:::-;75278:15:::1;::::0;;::::1;;::::0;;::::1;::::0;::::1;75277:16;75259:34:::0;::::1;-1:-1:-1::0;;75259:34:0;;::::1;::::0;;;::::1;::::0;;;;75309:35:::1;::::0;75328:15;;;::::1;::::0;;::::1;75309:35;;::::0;::::1;::::0;-1:-1:-1;;75309:35:0::1;75202:150::o:0;79657:197::-;79792:4;-1:-1:-1;;;;;45175:18:0;;45183:10;45175:18;45171:83;;45210:32;45231:10;45210:20;:32::i;:::-;79809:37:::1;79828:4;79834:2;79838:7;79809:18;:37::i;:::-;79657:197:::0;;;;:::o;27566:505::-;27708:7;27771:27;;;:17;:27;;;;;;;;27742:56;;;;;;;;;-1:-1:-1;;;;;27742:56:0;;;;;-1:-1:-1;;;27742:56:0;;;-1:-1:-1;;;;;27742:56:0;;;;;;;;27708:7;;27811:92;;-1:-1:-1;27862:29:0;;;;;;;;;27872:19;27862:29;-1:-1:-1;;;;;27862:29:0;;;;-1:-1:-1;;;27862:29:0;;-1:-1:-1;;;;;27862:29:0;;;;;27811:92;27953:23;;;;27915:21;;28437:5;;27940:36;;-1:-1:-1;;;;;27940:36:0;:10;:36;:::i;:::-;27939:71;;;;:::i;:::-;28031:16;;;-1:-1:-1;27915:95:0;;-1:-1:-1;;27566:505:0;;;;;;:::o;76452:588::-;10556:1;11154:7;;:19;11146:63;;;;-1:-1:-1;;;11146:63:0;;9364:2:1;11146:63:0;;;9346:21:1;9403:2;9383:18;;;9376:30;9442:33;9422:18;;;9415:61;9493:18;;11146:63:0;;;;;;;;;10556:1;11287:7;:18;70614:5:::1;::::0;76572:6;;70599:12:::1;::::0;70614:14:::1;::::0;76572:6;;70614:14:::1;:::i;:::-;70599:29;;70662:4;70649:9;:17;70641:46;;;::::0;-1:-1:-1;;;70641:46:0;;9724:2:1;70641:46:0::1;::::0;::::1;9706:21:1::0;9763:2;9743:18;;;9736:30;-1:-1:-1;;;9782:18:1;;;9775:46;9838:18;;70641:46:0::1;9522:340:1::0;70641:46:0::1;70716:8;;70706:6;:18;;70698:50;;;::::0;-1:-1:-1;;;70698:50:0;;10069:2:1;70698:50:0::1;::::0;::::1;10051:21:1::0;10108:2;10088:18;;;10081:30;-1:-1:-1;;;10127:18:1;;;10120:49;10186:18;;70698:50:0::1;9867:343:1::0;70698:50:0::1;71358:4;70784:6;70767:14;;:23;;;;:::i;:::-;:37;;70759:69;;;::::0;-1:-1:-1;;;70759:69:0;;10547:2:1;70759:69:0::1;::::0;::::1;10529:21:1::0;10586:2;10566:18;;;10559:30;-1:-1:-1;;;10605:18:1;;;10598:49;10664:18;;70759:69:0::1;10345:343:1::0;70759:69:0::1;76604:15:::2;::::0;::::2;::::0;::::2;;;76596:49;;;::::0;-1:-1:-1;;;76596:49:0;;10895:2:1;76596:49:0::2;::::0;::::2;10877:21:1::0;10934:2;10914:18;;;10907:30;-1:-1:-1;;;10953:18:1;;;10946:51;11014:18;;76596:49:0::2;10693:345:1::0;76596:49:0::2;76716:12;::::0;76692:10:::2;76678:25;::::0;;;:13:::2;:25;::::0;;;;;:34:::2;::::0;76706:6;;76678:34:::2;:::i;:::-;:50;;76656:123;;;::::0;-1:-1:-1;;;76656:123:0;;11245:2:1;76656:123:0::2;::::0;::::2;11227:21:1::0;11284:2;11264:18;;;11257:30;-1:-1:-1;;;11303:18:1;;;11296:53;11366:18;;76656:123:0::2;11043:347:1::0;76656:123:0::2;76829:10;76815:25;::::0;;;:13:::2;:25;::::0;;;;:35;;;::::2;::::0;;76867:155:::2;76887:6;76883:1;:10;76867:155;;;76916:33;76922:10;76934:14;;76916:5;:33::i;:::-;76970:14;76968:16:::0;;::::2;::::0;;::::2;::::0;;;77003:3:::2;76867:155;;;-1:-1:-1::0;;10512:1:0;11466:7;:22;-1:-1:-1;;76452:588:0:o;75085:109::-;66466:13;:11;:13::i;:::-;75135:51:::1;::::0;75143:10:::1;::::0;75164:21:::1;75135:51:::0;::::1;;;::::0;::::1;::::0;;;75164:21;75143:10;75135:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;75085:109::o:0;75010:67::-;66466:13;:11;:13::i;:::-;75059:10:::1;:8;:10::i;:::-;75010:67::o:0;80041:205::-;80180:4;-1:-1:-1;;;;;45175:18:0;;45183:10;45175:18;45171:83;;45210:32;45231:10;45210:20;:32::i;:::-;80197:41:::1;80220:4;80226:2;80230:7;80197:22;:41::i;75360:196::-:0;66466:13;:11;:13::i;:::-;75435:12:::1;::::0;::::1;;75434:13;75426:43;;;::::0;-1:-1:-1;;;75426:43:0;;11597:2:1;75426:43:0::1;::::0;::::1;11579:21:1::0;11636:2;11616:18;;;11609:30;-1:-1:-1;;;11655:18:1;;;11648:47;11712:18;;75426:43:0::1;11395:341:1::0;75426:43:0::1;75480:12;:19:::0;;-1:-1:-1;;75480:19:0::1;75495:4;75480:19;::::0;;75510:3:::1;:10;75516:4:::0;75510:3;:10:::1;:::i;:::-;;75543:4;75536:12;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;75360:196:::0;:::o;74201:266::-;74367:24;;-1:-1:-1;;14388:2:1;14384:15;;;14380:53;74367:24:0;;;14368:66:1;74320:4:0;;;;14450:12:1;;74367:24:0;;;;;;;;;;;;74357:35;;;;;;74342:50;;74410:49;74429:11;;74410:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;74442:10:0;;;-1:-1:-1;74454:4:0;;-1:-1:-1;74410:18:0;:49::i;:::-;74403:56;74201:266;-1:-1:-1;;;;;74201:266:0:o;49768:272::-;49885:7;49926:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49926:16:0;;49953:56;;;;-1:-1:-1;;;49953:56:0;;14675:2:1;49953:56:0;;;14657:21:1;14714:2;14694:18;;;14687:30;-1:-1:-1;;;14733:18:1;;;14726:54;14797:18;;49953:56:0;14473:348:1;49412:294:0;49529:7;-1:-1:-1;;;;;49576:19:0;;49554:110;;;;-1:-1:-1;;;49554:110:0;;15028:2:1;49554:110:0;;;15010:21:1;15067:2;15047:18;;;15040:30;15106:34;15086:18;;;15079:62;-1:-1:-1;;;15157:18:1;;;15150:39;15206:19;;49554:110:0;14826:405:1;49554:110:0;-1:-1:-1;;;;;;49682:16:0;;;;;:9;:16;;;;;;;49412:294::o;67228:103::-;66466:13;:11;:13::i;:::-;67293:30:::1;67320:1;67293:18;:30::i;75834:148::-:0;66466:13;:11;:13::i;:::-;75908:10:::1;:24:::0;;;75948:26:::1;::::0;75921:11;;75948:26:::1;::::0;;;::::1;75834:148:::0;:::o;74939:63::-;66466:13;:11;:13::i;:::-;74986:8:::1;:6;:8::i;75564:118::-:0;66466:13;:11;:13::i;:::-;75628:5:::1;:14:::0;;;75658:16:::1;::::0;75636:6;;75658:16:::1;::::0;;;::::1;75564:118:::0;:::o;77048:819::-;10556:1;11154:7;;:19;11146:63;;;;-1:-1:-1;;;11146:63:0;;9364:2:1;11146:63:0;;;9346:21:1;9403:2;9383:18;;;9376:30;9442:33;9422:18;;;9415:61;9493:18;;11146:63:0;9162:355:1;11146:63:0;10556:1;11287:7;:18;70614:5:::1;::::0;77200:6;;70599:12:::1;::::0;70614:14:::1;::::0;77200:6;;70614:14:::1;:::i;:::-;70599:29;;70662:4;70649:9;:17;70641:46;;;::::0;-1:-1:-1;;;70641:46:0;;9724:2:1;70641:46:0::1;::::0;::::1;9706:21:1::0;9763:2;9743:18;;;9736:30;-1:-1:-1;;;9782:18:1;;;9775:46;9838:18;;70641:46:0::1;9522:340:1::0;70641:46:0::1;70716:8;;70706:6;:18;;70698:50;;;::::0;-1:-1:-1;;;70698:50:0;;10069:2:1;70698:50:0::1;::::0;::::1;10051:21:1::0;10108:2;10088:18;;;10081:30;-1:-1:-1;;;10127:18:1;;;10120:49;10186:18;;70698:50:0::1;9867:343:1::0;70698:50:0::1;71358:4;70784:6;70767:14;;:23;;;;:::i;:::-;:37;;70759:69;;;::::0;-1:-1:-1;;;70759:69:0;;10547:2:1;70759:69:0::1;::::0;::::1;10529:21:1::0;10586:2;10566:18;;;10559:30;-1:-1:-1;;;10605:18:1;;;10598:49;10664:18;;70759:69:0::1;10345:343:1::0;70759:69:0::1;77249:28:::2;::::0;;-1:-1:-1;;77266:10:0::2;14388:2:1::0;14384:15;14380:53;77249:28:0::2;::::0;;::::2;14368:66:1::0;;;;77249:28:0;;;;;;;;;14450:12:1;;;;77249:28:0;;;77239:39;;;::::2;::::0;77298:15:::2;::::0;::::2;::::0;::::2;;;77297:16;77289:53;;;::::0;-1:-1:-1;;;77289:53:0;;15438:2:1;77289:53:0::2;::::0;::::2;15420:21:1::0;15477:2;15457:18;;;15450:30;15516:26;15496:18;;;15489:54;15560:18;;77289:53:0::2;15236:348:1::0;77289:53:0::2;77375:49;77394:11;;77375:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;77407:10:0::2;::::0;;-1:-1:-1;77419:4:0;;-1:-1:-1;77375:18:0::2;:49::i;:::-;77353:115;;;::::0;-1:-1:-1;;;77353:115:0;;15791:2:1;77353:115:0::2;::::0;::::2;15773:21:1::0;15830:2;15810:18;;;15803:30;-1:-1:-1;;;15849:18:1;;;15842:46;15905:18;;77353:115:0::2;15589:340:1::0;77353:115:0::2;77542:12;::::0;77518:10:::2;77503:26;::::0;;;:14:::2;:26;::::0;;;;;:35:::2;::::0;77532:6;;77503:35:::2;:::i;:::-;:51;;77481:124;;;::::0;-1:-1:-1;;;77481:124:0;;11245:2:1;77481:124:0::2;::::0;::::2;11227:21:1::0;11284:2;11264:18;;;11257:30;-1:-1:-1;;;11303:18:1;;;11296:53;11366:18;;77481:124:0::2;11043:347:1::0;77481:124:0::2;77656:10;77641:26;::::0;;;:14:::2;:26;::::0;;;;:36;;;::::2;::::0;;77694:155:::2;77714:6;77710:1;:10;77694:155;;;77743:33;77749:10;77761:14;;77743:5;:33::i;:::-;77797:14;77795:16:::0;;::::2;::::0;;::::2;::::0;;;77830:3:::2;77694:155;;;-1:-1:-1::0;;10512:1:0;11466:7;:22;-1:-1:-1;;;;;77048:819:0:o;50276:104::-;50332:13;50365:7;50358:14;;;;;:::i;78899:208::-;79030:8;45449:30;45470:8;45449:20;:30::i;:::-;79056:43:::1;79080:8;79090;79056:23;:43::i;80433:239::-:0;80600:4;-1:-1:-1;;;;;45175:18:0;;45183:10;45175:18;45171:83;;45210:32;45231:10;45210:20;:32::i;:::-;80617:47:::1;80640:4;80646:2;80650:7;80659:4;80617:22;:47::i;:::-;80433:239:::0;;;;;:::o;75690:136::-;66466:13;:11;:13::i;:::-;75760:8:::1;:20:::0;;;75796:22:::1;::::0;75771:9;;75796:22:::1;::::0;;;::::1;75690:136:::0;:::o;78326:385::-;78444:13;78475:23;78490:7;78475:14;:23::i;:::-;78509:21;78533:10;:8;:10::i;:::-;78509:34;;78598:1;78580:7;78574:21;:25;:129;;;;;;;;;;;;;;;;;78643:7;78652:18;:7;:16;:18::i;:::-;78626:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78574:129;78554:149;78326:385;-1:-1:-1;;;78326:385:0:o;75990:160::-;66466:13;:11;:13::i;:::-;76068:12:::1;:28:::0;;;76112:30:::1;::::0;76083:13;;76112:30:::1;::::0;;;::::1;75990:160:::0;:::o;52268:214::-;-1:-1:-1;;;;;52439:25:0;;;52410:4;52439:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;52268:214::o;67486:238::-;66466:13;:11;:13::i;:::-;-1:-1:-1;;;;;67589:22:0;::::1;67567:110;;;::::0;-1:-1:-1;;;67567:110:0;;16804:2:1;67567:110:0::1;::::0;::::1;16786:21:1::0;16843:2;16823:18;;;16816:30;16882:34;16862:18;;;16855:62;-1:-1:-1;;;16933:18:1;;;16926:36;16979:19;;67567:110:0::1;16602:402:1::0;67567:110:0::1;67688:28;67707:8;67688:18;:28::i;27220:291::-:0;27367:4;-1:-1:-1;;;;;;27409:41:0;;-1:-1:-1;;;27409:41:0;;:94;;;27467:36;27491:11;27467:23;:36::i;66745:132::-;66653:6;;-1:-1:-1;;;;;66653:6:0;;;;;47632:10;66809:23;66801:68;;;;-1:-1:-1;;;66801:68:0;;17211:2:1;66801:68:0;;;17193:21:1;;;17230:18;;;17223:30;17289:34;17269:18;;;17262:62;17341:18;;66801:68:0;17009:356:1;28721:392:0;28437:5;-1:-1:-1;;;;;28861:33:0;;;;28839:125;;;;-1:-1:-1;;;28839:125:0;;17572:2:1;28839:125:0;;;17554:21:1;17611:2;17591:18;;;17584:30;17650:34;17630:18;;;17623:62;-1:-1:-1;;;17701:18:1;;;17694:40;17751:19;;28839:125:0;17370:406:1;28839:125:0;-1:-1:-1;;;;;28983:22:0;;28975:60;;;;-1:-1:-1;;;28975:60:0;;17983:2:1;28975:60:0;;;17965:21:1;18022:2;18002:18;;;17995:30;18061:27;18041:18;;;18034:55;18106:18;;28975:60:0;17781:349:1;28975:60:0;29070:35;;;;;;;;;-1:-1:-1;;;;;29070:35:0;;;;;;-1:-1:-1;;;;;29070:35:0;;;;;;;;;;-1:-1:-1;;;29048:57:0;;;;:19;:57;28721:392::o;60039:135::-;55218:4;55242:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55242:16:0;60113:53;;;;-1:-1:-1;;;60113:53:0;;14675:2:1;60113:53:0;;;14657:21:1;14714:2;14694:18;;;14687:30;-1:-1:-1;;;14733:18:1;;;14726:54;14797:18;;60113:53:0;14473:348:1;45592:740:0;35765:42;45783:45;:49;45779:546;;46100:128;;-1:-1:-1;;;46100:128:0;;46173:4;46100:128;;;18347:34:1;-1:-1:-1;;;;;18417:15:1;;18397:18;;;18390:43;35765:42:0;;46100;;18282:18:1;;46100:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46077:237;;46270:28;;-1:-1:-1;;;46270:28:0;;-1:-1:-1;;;;;2246:32:1;;46270:28:0;;;2228:51:1;2201:18;;46270:28:0;2082:203:1;51234:417:0;51315:13;51331:23;51346:7;51331:14;:23::i;:::-;51315:39;;51379:5;-1:-1:-1;;;;;51373:11:0;:2;-1:-1:-1;;;;;51373:11:0;;51365:57;;;;-1:-1:-1;;;51365:57:0;;18896:2:1;51365:57:0;;;18878:21:1;18935:2;18915:18;;;18908:30;18974:34;18954:18;;;18947:62;-1:-1:-1;;;19025:18:1;;;19018:31;19066:19;;51365:57:0;18694:397:1;51365:57:0;47632:10;-1:-1:-1;;;;;51457:21:0;;;;:62;;-1:-1:-1;51482:37:0;51499:5;47632:10;52268:214;:::i;51482:37::-;51435:174;;;;-1:-1:-1;;;51435:174:0;;19298:2:1;51435:174:0;;;19280:21:1;19337:2;19317:18;;;19310:30;19376:34;19356:18;;;19349:62;19447:32;19427:18;;;19420:60;19497:19;;51435:174:0;19096:426:1;51435:174:0;51622:21;51631:2;51635:7;51622:8;:21::i;52549:373::-;52758:41;47632:10;52791:7;52758:18;:41::i;:::-;52736:137;;;;-1:-1:-1;;;52736:137:0;;;;;;;:::i;:::-;52886:28;52896:4;52902:2;52906:7;52886:9;:28::i;57112:439::-;-1:-1:-1;;;;;57192:16:0;;57184:61;;;;-1:-1:-1;;;57184:61:0;;20144:2:1;57184:61:0;;;20126:21:1;;;20163:18;;;20156:30;20222:34;20202:18;;;20195:62;20274:18;;57184:61:0;19942:356:1;57184:61:0;55218:4;55242:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55242:16:0;:30;57256:58;;;;-1:-1:-1;;;57256:58:0;;20505:2:1;57256:58:0;;;20487:21:1;20544:2;20524:18;;;20517:30;20583;20563:18;;;20556:58;20631:18;;57256:58:0;20303:352:1;57256:58:0;-1:-1:-1;;;;;57385:13:0;;;;;;:9;:13;;;;;:18;;57402:1;;57385:13;:18;;57402:1;;57385:18;:::i;:::-;;;;-1:-1:-1;;57414:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;57414:21:0;-1:-1:-1;;;;;57414:21:0;;;;;;;;57453:33;;57414:16;;;57453:33;;57414:16;;57453:33;76158:169;;:::o;65351:120::-;64360:16;:14;:16::i;:::-;65410:7:::1;:15:::0;;-1:-1:-1;;65410:15:0::1;::::0;;65441:22:::1;47632:10:::0;65450:12:::1;65441:22;::::0;-1:-1:-1;;;;;2246:32:1;;;2228:51;;2216:2;2201:18;65441:22:0::1;;;;;;;65351:120::o:0;52993:185::-;53131:39;53148:4;53154:2;53158:7;53131:39;;;;;;;;;;;;:16;:39::i;1093:190::-;1218:4;1271;1242:25;1255:5;1262:4;1242:12;:25::i;:::-;:33;;1093:190;-1:-1:-1;;;;1093:190:0:o;67884:191::-;67977:6;;;-1:-1:-1;;;;;67994:17:0;;;67977:6;67994:17;;;-1:-1:-1;;;;;;67994:17:0;;;;;;68027:40;;67977:6;;;;;;;;68027:40;;67958:16;;68027:40;67947:128;67884:191;:::o;65092:118::-;64101:19;:17;:19::i;:::-;65152:7:::1;:14:::0;;-1:-1:-1;;65152:14:0::1;65162:4;65152:14;::::0;;65182:20:::1;65189:12;47632:10:::0;;47552:98;52010:187;52137:52;47632:10;52170:8;52180;52137:18;:52::i;53249:360::-;53437:41;47632:10;53470:7;53437:18;:41::i;:::-;53415:137;;;;-1:-1:-1;;;53415:137:0;;;;;;;:::i;:::-;53563:38;53577:4;53583:2;53587:7;53596:4;53563:13;:38::i;78222:96::-;78274:13;78307:3;78300:10;;;;;:::i;11779:723::-;11835:13;12056:5;12065:1;12056:10;12052:53;;-1:-1:-1;;12083:10:0;;;;;;;;;;;;-1:-1:-1;;;12083:10:0;;;;;11779:723::o;12052:53::-;12130:5;12115:12;12171:78;12178:9;;12171:78;;12204:8;;;;:::i;:::-;;-1:-1:-1;12227:10:0;;-1:-1:-1;12235:2:0;12227:10;;:::i;:::-;;;12171:78;;;12259:19;12291:6;12281:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12281:17:0;;12259:39;;12309:154;12316:10;;12309:154;;12343:11;12353:1;12343:11;;:::i;:::-;;-1:-1:-1;12412:10:0;12420:2;12412:5;:10;:::i;:::-;12399:24;;:2;:24;:::i;:::-;12386:39;;12369:6;12376;12369:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;12369:56:0;;;;;;;;-1:-1:-1;12440:11:0;12449:2;12440:11;;:::i;:::-;;;12309:154;;;12487:6;11779:723;-1:-1:-1;;;;11779:723:0:o;48993:355::-;49140:4;-1:-1:-1;;;;;;49182:40:0;;-1:-1:-1;;;49182:40:0;;:105;;-1:-1:-1;;;;;;;49239:48:0;;-1:-1:-1;;;49239:48:0;49182:105;:158;;;-1:-1:-1;;;;;;;;;;25951:40:0;;;49304:36;25792:207;59318:174;59393:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;59393:29:0;-1:-1:-1;;;;;59393:29:0;;;;;;;;:24;;59447:23;59393:24;59447:14;:23::i;:::-;-1:-1:-1;;;;;59438:46:0;;;;;;;;;;;59318:174;;:::o;55447:331::-;55576:4;55598:13;55614:23;55629:7;55614:14;:23::i;:::-;55598:39;;55667:5;-1:-1:-1;;;;;55656:16:0;:7;-1:-1:-1;;;;;55656:16:0;;:65;;;;55689:32;55706:5;55713:7;55689:16;:32::i;:::-;55656:113;;;;55762:7;-1:-1:-1;;;;;55738:31:0;:20;55750:7;55738:11;:20::i;:::-;-1:-1:-1;;;;;55738:31:0;;55648:122;55447:331;-1:-1:-1;;;;55447:331:0:o;58537:662::-;58710:4;-1:-1:-1;;;;;58683:31:0;:23;58698:7;58683:14;:23::i;:::-;-1:-1:-1;;;;;58683:31:0;;58661:118;;;;-1:-1:-1;;;58661:118:0;;21384:2:1;58661:118:0;;;21366:21:1;21423:2;21403:18;;;21396:30;21462:34;21442:18;;;21435:62;-1:-1:-1;;;21513:18:1;;;21506:35;21558:19;;58661:118:0;21182:401:1;58661:118:0;-1:-1:-1;;;;;58798:16:0;;58790:65;;;;-1:-1:-1;;;58790:65:0;;21790:2:1;58790:65:0;;;21772:21:1;21829:2;21809:18;;;21802:30;21868:34;21848:18;;;21841:62;-1:-1:-1;;;21919:18:1;;;21912:34;21963:19;;58790:65:0;21588:400:1;58790:65:0;58972:29;58989:1;58993:7;58972:8;:29::i;:::-;-1:-1:-1;;;;;59014:15:0;;;;;;:9;:15;;;;;:20;;59033:1;;59014:15;:20;;59033:1;;59014:20;:::i;:::-;;;;-1:-1:-1;;;;;;;59045:13:0;;;;;;:9;:13;;;;;:18;;59062:1;;59045:13;:18;;59062:1;;59045:18;:::i;:::-;;;;-1:-1:-1;;59074:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;59074:21:0;-1:-1:-1;;;;;59074:21:0;;;;;;;;;59113:27;;59074:16;;59113:27;;;;;;;79285:189;;;:::o;64840:108::-;64567:7;;;;64899:41;;;;-1:-1:-1;;;64899:41:0;;22195:2:1;64899:41:0;;;22177:21:1;22234:2;22214:18;;;22207:30;-1:-1:-1;;;22253:18:1;;;22246:50;22313:18;;64899:41:0;21993:344:1;1960:328:0;2070:7;2118:4;2070:7;2133:118;2157:5;:12;2153:1;:16;2133:118;;;2206:33;2216:12;2230:5;2236:1;2230:8;;;;;;;;:::i;:::-;;;;;;;2206:9;:33::i;:::-;2191:48;-1:-1:-1;2171:3:0;;;;:::i;:::-;;;;2133:118;;;-1:-1:-1;2268:12:0;1960:328;-1:-1:-1;;;1960:328:0:o;64655:108::-;64567:7;;;;64725:9;64717:38;;;;-1:-1:-1;;;64717:38:0;;22544:2:1;64717:38:0;;;22526:21:1;22583:2;22563:18;;;22556:30;-1:-1:-1;;;22602:18:1;;;22595:46;22658:18;;64717:38:0;22342:340:1;59635:315:0;59790:8;-1:-1:-1;;;;;59781:17:0;:5;-1:-1:-1;;;;;59781:17:0;;59773:55;;;;-1:-1:-1;;;59773:55:0;;22889:2:1;59773:55:0;;;22871:21:1;22928:2;22908:18;;;22901:30;22967:27;22947:18;;;22940:55;23012:18;;59773:55:0;22687:349:1;59773:55:0;-1:-1:-1;;;;;59839:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;59839:46:0;;;;;;;;;;59901:41;;540::1;;;59901::0;;513:18:1;59901:41:0;;;;;;;59635:315;;;:::o;54490:350::-;54646:28;54656:4;54662:2;54666:7;54646:9;:28::i;:::-;54707:47;54730:4;54736:2;54740:7;54749:4;54707:22;:47::i;:::-;54685:147;;;;-1:-1:-1;;;54685:147:0;;;;;;;:::i;8441:149::-;8504:7;8535:1;8531;:5;:51;;8693:13;8792:15;;;8828:4;8821:15;;;8875:4;8859:21;;8531:51;;;-1:-1:-1;8693:13:0;8792:15;;;8828:4;8821:15;8875:4;8859:21;;;8441:149::o;60738:1034::-;60892:4;-1:-1:-1;;;;;60913:13:0;;15252:19;:23;60909:856;;60966:174;;-1:-1:-1;;;60966:174:0;;-1:-1:-1;;;;;60966:36:0;;;;;:174;;47632:10;;61060:4;;61087:7;;61117:4;;60966:174;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60966:174:0;;;;;;;;-1:-1:-1;;60966:174:0;;;;;;;;;;;;:::i;:::-;;;60945:765;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61323:6;:13;61340:1;61323:18;61319:376;;61366:108;;-1:-1:-1;;;61366:108:0;;;;;;;:::i;61319:376::-;61645:6;61639:13;61630:6;61626:2;61622:15;61615:38;60945:765;-1:-1:-1;;;;;;61204:51:0;-1:-1:-1;;;61204:51:0;;-1:-1:-1;61197:58:0;;60909:856;-1:-1:-1;61749:4:0;60738:1034;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:366::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:250::-;1226:1;1236:113;1250:6;1247:1;1244:13;1236:113;;;1326:11;;;1320:18;1307:11;;;1300:39;1272:2;1265:10;1236:113;;;-1:-1:-1;;1383:1:1;1365:16;;1358:27;1141:250::o;1396:271::-;1438:3;1476:5;1470:12;1503:6;1498:3;1491:19;1519:76;1588:6;1581:4;1576:3;1572:14;1565:4;1558:5;1554:16;1519:76;:::i;:::-;1649:2;1628:15;-1:-1:-1;;1624:29:1;1615:39;;;;1656:4;1611:50;;1396:271;-1:-1:-1;;1396:271:1:o;1672:220::-;1821:2;1810:9;1803:21;1784:4;1841:45;1882:2;1871:9;1867:18;1859:6;1841:45;:::i;1897:180::-;1956:6;2009:2;1997:9;1988:7;1984:23;1980:32;1977:52;;;2025:1;2022;2015:12;1977:52;-1:-1:-1;2048:23:1;;1897:180;-1:-1:-1;1897:180:1:o;2290:254::-;2358:6;2366;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;2458:29;2477:9;2458:29;:::i;:::-;2448:39;2534:2;2519:18;;;;2506:32;;-1:-1:-1;;;2290:254:1:o;2731:328::-;2808:6;2816;2824;2877:2;2865:9;2856:7;2852:23;2848:32;2845:52;;;2893:1;2890;2883:12;2845:52;2916:29;2935:9;2916:29;:::i;:::-;2906:39;;2964:38;2998:2;2987:9;2983:18;2964:38;:::i;:::-;2954:48;;3049:2;3038:9;3034:18;3021:32;3011:42;;2731:328;;;;;:::o;3064:248::-;3132:6;3140;3193:2;3181:9;3172:7;3168:23;3164:32;3161:52;;;3209:1;3206;3199:12;3161:52;-1:-1:-1;;3232:23:1;;;3302:2;3287:18;;;3274:32;;-1:-1:-1;3064:248:1:o;3836:127::-;3897:10;3892:3;3888:20;3885:1;3878:31;3928:4;3925:1;3918:15;3952:4;3949:1;3942:15;3968:632;4033:5;4063:18;4104:2;4096:6;4093:14;4090:40;;;4110:18;;:::i;:::-;4185:2;4179:9;4153:2;4239:15;;-1:-1:-1;;4235:24:1;;;4261:2;4231:33;4227:42;4215:55;;;4285:18;;;4305:22;;;4282:46;4279:72;;;4331:18;;:::i;:::-;4371:10;4367:2;4360:22;4400:6;4391:15;;4430:6;4422;4415:22;4470:3;4461:6;4456:3;4452:16;4449:25;4446:45;;;4487:1;4484;4477:12;4446:45;4537:6;4532:3;4525:4;4517:6;4513:17;4500:44;4592:1;4585:4;4576:6;4568;4564:19;4560:30;4553:41;;;;3968:632;;;;;:::o;4605:451::-;4674:6;4727:2;4715:9;4706:7;4702:23;4698:32;4695:52;;;4743:1;4740;4733:12;4695:52;4783:9;4770:23;4816:18;4808:6;4805:30;4802:50;;;4848:1;4845;4838:12;4802:50;4871:22;;4924:4;4916:13;;4912:27;-1:-1:-1;4902:55:1;;4953:1;4950;4943:12;4902:55;4976:74;5042:7;5037:2;5024:16;5019:2;5015;5011:11;4976:74;:::i;5061:367::-;5124:8;5134:6;5188:3;5181:4;5173:6;5169:17;5165:27;5155:55;;5206:1;5203;5196:12;5155:55;-1:-1:-1;5229:20:1;;5272:18;5261:30;;5258:50;;;5304:1;5301;5294:12;5258:50;5341:4;5333:6;5329:17;5317:29;;5401:3;5394:4;5384:6;5381:1;5377:14;5369:6;5365:27;5361:38;5358:47;5355:67;;;5418:1;5415;5408:12;5433:511;5528:6;5536;5544;5597:2;5585:9;5576:7;5572:23;5568:32;5565:52;;;5613:1;5610;5603:12;5565:52;5636:29;5655:9;5636:29;:::i;:::-;5626:39;;5716:2;5705:9;5701:18;5688:32;5743:18;5735:6;5732:30;5729:50;;;5775:1;5772;5765:12;5729:50;5814:70;5876:7;5867:6;5856:9;5852:22;5814:70;:::i;:::-;5433:511;;5903:8;;-1:-1:-1;5788:96:1;;-1:-1:-1;;;;5433:511:1:o;5949:186::-;6008:6;6061:2;6049:9;6040:7;6036:23;6032:32;6029:52;;;6077:1;6074;6067:12;6029:52;6100:29;6119:9;6100:29;:::i;6325:505::-;6420:6;6428;6436;6489:2;6477:9;6468:7;6464:23;6460:32;6457:52;;;6505:1;6502;6495:12;6457:52;6541:9;6528:23;6518:33;;6602:2;6591:9;6587:18;6574:32;6629:18;6621:6;6618:30;6615:50;;;6661:1;6658;6651:12;6835:118;6921:5;6914:13;6907:21;6900:5;6897:32;6887:60;;6943:1;6940;6933:12;6958:315;7023:6;7031;7084:2;7072:9;7063:7;7059:23;7055:32;7052:52;;;7100:1;7097;7090:12;7052:52;7123:29;7142:9;7123:29;:::i;:::-;7113:39;;7202:2;7191:9;7187:18;7174:32;7215:28;7237:5;7215:28;:::i;7278:667::-;7373:6;7381;7389;7397;7450:3;7438:9;7429:7;7425:23;7421:33;7418:53;;;7467:1;7464;7457:12;7418:53;7490:29;7509:9;7490:29;:::i;:::-;7480:39;;7538:38;7572:2;7561:9;7557:18;7538:38;:::i;:::-;7528:48;;7623:2;7612:9;7608:18;7595:32;7585:42;;7678:2;7667:9;7663:18;7650:32;7705:18;7697:6;7694:30;7691:50;;;7737:1;7734;7727:12;7691:50;7760:22;;7813:4;7805:13;;7801:27;-1:-1:-1;7791:55:1;;7842:1;7839;7832:12;7791:55;7865:74;7931:7;7926:2;7913:16;7908:2;7904;7900:11;7865:74;:::i;:::-;7855:84;;;7278:667;;;;;;;:::o;7950:260::-;8018:6;8026;8079:2;8067:9;8058:7;8054:23;8050:32;8047:52;;;8095:1;8092;8085:12;8047:52;8118:29;8137:9;8118:29;:::i;:::-;8108:39;;8166:38;8200:2;8189:9;8185:18;8166:38;:::i;:::-;8156:48;;7950:260;;;;;:::o;8215:380::-;8294:1;8290:12;;;;8337;;;8358:61;;8412:4;8404:6;8400:17;8390:27;;8358:61;8465:2;8457:6;8454:14;8434:18;8431:38;8428:161;;8511:10;8506:3;8502:20;8499:1;8492:31;8546:4;8543:1;8536:15;8574:4;8571:1;8564:15;8428:161;;8215:380;;;:::o;8600:127::-;8661:10;8656:3;8652:20;8649:1;8642:31;8692:4;8689:1;8682:15;8716:4;8713:1;8706:15;8732:168;8805:9;;;8836;;8853:15;;;8847:22;;8833:37;8823:71;;8874:18;;:::i;8905:127::-;8966:10;8961:3;8957:20;8954:1;8947:31;8997:4;8994:1;8987:15;9021:4;9018:1;9011:15;9037:120;9077:1;9103;9093:35;;9108:18;;:::i;:::-;-1:-1:-1;9142:9:1;;9037:120::o;10215:125::-;10280:9;;;10301:10;;;10298:36;;;10314:18;;:::i;11867:545::-;11969:2;11964:3;11961:11;11958:448;;;12005:1;12030:5;12026:2;12019:17;12075:4;12071:2;12061:19;12145:2;12133:10;12129:19;12126:1;12122:27;12116:4;12112:38;12181:4;12169:10;12166:20;12163:47;;;-1:-1:-1;12204:4:1;12163:47;12259:2;12254:3;12250:12;12247:1;12243:20;12237:4;12233:31;12223:41;;12314:82;12332:2;12325:5;12322:13;12314:82;;;12377:17;;;12358:1;12347:13;12314:82;;;12318:3;;;11867:545;;;:::o;12588:1352::-;12714:3;12708:10;12741:18;12733:6;12730:30;12727:56;;;12763:18;;:::i;:::-;12792:97;12882:6;12842:38;12874:4;12868:11;12842:38;:::i;:::-;12836:4;12792:97;:::i;:::-;12944:4;;13008:2;12997:14;;13025:1;13020:663;;;;13727:1;13744:6;13741:89;;;-1:-1:-1;13796:19:1;;;13790:26;13741:89;-1:-1:-1;;12545:1:1;12541:11;;;12537:24;12533:29;12523:40;12569:1;12565:11;;;12520:57;13843:81;;12990:944;;13020:663;11814:1;11807:14;;;11851:4;11838:18;;-1:-1:-1;;13056:20:1;;;13174:236;13188:7;13185:1;13182:14;13174:236;;;13277:19;;;13271:26;13256:42;;13369:27;;;;13337:1;13325:14;;;;13204:19;;13174:236;;;13178:3;13438:6;13429:7;13426:19;13423:201;;;13499:19;;;13493:26;-1:-1:-1;;13582:1:1;13578:14;;;13594:3;13574:24;13570:37;13566:42;13551:58;13536:74;;13423:201;-1:-1:-1;;;;;13670:1:1;13654:14;;;13650:22;13637:36;;-1:-1:-1;12588:1352:1:o;13945:289::-;14076:3;14114:6;14108:13;14130:66;14189:6;14184:3;14177:4;14169:6;14165:17;14130:66;:::i;:::-;14212:16;;;;;13945:289;-1:-1:-1;;13945:289:1:o;15934:663::-;16214:3;16252:6;16246:13;16268:66;16327:6;16322:3;16315:4;16307:6;16303:17;16268:66;:::i;:::-;16397:13;;16356:16;;;;16419:70;16397:13;16356:16;16466:4;16454:17;;16419:70;:::i;:::-;-1:-1:-1;;;16511:20:1;;16540:22;;;16589:1;16578:13;;15934:663;-1:-1:-1;;;;15934:663:1:o;18444:245::-;18511:6;18564:2;18552:9;18543:7;18539:23;18535:32;18532:52;;;18580:1;18577;18570:12;18532:52;18612:9;18606:16;18631:28;18653:5;18631:28;:::i;19527:410::-;19729:2;19711:21;;;19768:2;19748:18;;;19741:30;19807:34;19802:2;19787:18;;19780:62;-1:-1:-1;;;19873:2:1;19858:18;;19851:44;19927:3;19912:19;;19527:410::o;20660:135::-;20699:3;20720:17;;;20717:43;;20740:18;;:::i;:::-;-1:-1:-1;20787:1:1;20776:13;;20660:135::o;20800:128::-;20867:9;;;20888:11;;;20885:37;;;20902:18;;:::i;20933:112::-;20965:1;20991;20981:35;;20996:18;;:::i;:::-;-1:-1:-1;21030:9:1;;20933:112::o;21050:127::-;21111:10;21106:3;21102:20;21099:1;21092:31;21142:4;21139:1;21132:15;21166:4;21163:1;21156:15;23041:414;23243:2;23225:21;;;23282:2;23262:18;;;23255:30;23321:34;23316:2;23301:18;;23294:62;-1:-1:-1;;;23387:2:1;23372:18;;23365:48;23445:3;23430:19;;23041:414::o;23460:489::-;-1:-1:-1;;;;;23729:15:1;;;23711:34;;23781:15;;23776:2;23761:18;;23754:43;23828:2;23813:18;;23806:34;;;23876:3;23871:2;23856:18;;23849:31;;;23654:4;;23897:46;;23923:19;;23915:6;23897:46;:::i;:::-;23889:54;23460:489;-1:-1:-1;;;;;;23460:489:1:o;23954:249::-;24023:6;24076:2;24064:9;24055:7;24051:23;24047:32;24044:52;;;24092:1;24089;24082:12;24044:52;24124:9;24118:16;24143:30;24167:5;24143:30;:::i
Swarm Source
ipfs://4cc7d134fa76432a9b3899c23a937c595b2a30579757492c39952210125eda1b
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.