ERC-721
Overview
Max Total Supply
2,500 UDW
Holders
241
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 UDWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
UW
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-17 */ // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @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); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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); } } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @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) } } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: contracts/UW.sol pragma solidity ^0.8.0; contract UW is ERC721A, Ownable { using Address for address; using Strings for uint256; // URI variables in IPFS string private uriPrefix = ""; string private uriSuffix = ".json"; string public hiddenMetadataUri; // Initializing variables uint256 public whitelistPrice = 0.02 ether; uint256 public publicPrice = 0.03 ether; uint256 public maxSupply = 2500; uint256 public maxMintAmountWhitelist = 10; uint256 public maxMintAmountPublic = 25; mapping(address => uint256) public allowlistCount; // Initialized as paused and not revealed. bool public paused = true; bool public revealed = false; uint32 public publicSaleStartTime; uint32 public whitelistSaleStartTime; bytes32 private whitelistMerkleRoot; constructor() ERC721A("The Underworld", "UDW") { // set hidden uri from IPFS setHiddenMetadataUri("ipfs://QmNVFkrsLQtmF252kAXPKKh8csiERS6hbKy7V7smyVcbYJ/Hidden.json"); // public launch time, update to prevent botting setPublicSaleStartTime(1661094000); setWhitelistSaleStartTime(1661007600); // held back on contract launch for team _safeMint(msg.sender, 200); } // checkes total supply does not exceed max supply and contract not paused modifier mintCompliance(uint256 _mintAmount) { require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); require(!paused, "NFT is not available for mint"); _; } // general mint function publicMint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) { require(isPublicSaleOn() == true, "Public sale has not begun yet"); require(_mintAmount > 0 && _numberMinted(msg.sender) + _mintAmount - allowlistCount[msg.sender] <= maxMintAmountPublic, "Invalid mint amount!"); require(msg.value >= publicPrice * _mintAmount, "Insufficient funds!"); _safeMint(msg.sender, _mintAmount); refundIfOver(publicPrice * _mintAmount); } // allowlist Mint function allowlistMint(bytes32[] calldata merkleProof, uint256 _mintAmount) public payable mintCompliance(_mintAmount) isValidMerkleProof(merkleProof, whitelistMerkleRoot){ require(isWhitelistSaleOn() == true, "Whitelist sale has not begun yet"); require(_mintAmount > 0 && _numberMinted(msg.sender) + _mintAmount <= maxMintAmountWhitelist, "Invalid mint amount!"); require(msg.value >= whitelistPrice * _mintAmount, "Insufficient funds!"); allowlistCount[msg.sender]+=_mintAmount; _safeMint(msg.sender, _mintAmount); refundIfOver(whitelistPrice * _mintAmount); } // set whitelist merkleroot node function setWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner { whitelistMerkleRoot = merkleRoot; } // verify merkle proof modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) { require(MerkleProof.verify( merkleProof, root, keccak256(abi.encodePacked(msg.sender))), "Address does not exist in list" ); _; } // for dev minting etc function devMint(uint256 _mintAmount) external onlyOwner { require(totalSupply() + _mintAmount <= maxSupply, "Too many already minted before dev mint"); _safeMint(msg.sender, _mintAmount); } // refund if value sent is more than price function refundIfOver(uint256 price) private { require(msg.value <= price, "Need to send more ETH."); if (msg.value > price) { payable(msg.sender).transfer(msg.value - price); } } // check if public sale is on function isPublicSaleOn() public view returns (bool) { return block.timestamp >= publicSaleStartTime; } // check if whitelist sale is on function isWhitelistSaleOn() public view returns (bool) { return block.timestamp >= whitelistSaleStartTime; } /* Setters and Getters */ function setPublicPrice(uint32 _publicPrice) public onlyOwner{ publicPrice = _publicPrice; } function setWhitelistPrice(uint32 _whitelistPrice) public onlyOwner{ whitelistPrice = _whitelistPrice; } // set public sale start time function setPublicSaleStartTime(uint32 timestamp) public onlyOwner{ publicSaleStartTime = timestamp; } // set whitelist sale start time function setWhitelistSaleStartTime(uint32 timestamp) public onlyOwner{ whitelistSaleStartTime = timestamp; } // set whitelist max mint if needed function setMaxMintAmountWhitelist(uint32 _maxMintAmountWhitelist) public onlyOwner{ maxMintAmountWhitelist = _maxMintAmountWhitelist; } // set public max mint if needed function setMaxMintAmountPublic(uint32 _maxMintAmountPublic) public onlyOwner{ maxMintAmountPublic = _maxMintAmountPublic; } // reveal function toggleReveal() public onlyOwner { revealed = !revealed; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setMaxSupply(uint32 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPause(bool _state) public onlyOwner { paused = _state; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); if (revealed == false) { return bytes(hiddenMetadataUri).length != 0 ? string(abi.encodePacked(hiddenMetadataUri)) : ''; } string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), uriSuffix)) : ''; } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function withdraw() public payable onlyOwner { // This will payout the owner the contract balance. // Do not remove this otherwise you will not be able to withdraw the funds. // ============================================================================= (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); // ============================================================================= } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"isPublicSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_maxMintAmountPublic","type":"uint32"}],"name":"setMaxMintAmountPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_maxMintAmountWhitelist","type":"uint32"}],"name":"setMaxMintAmountWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_maxSupply","type":"uint32"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_publicPrice","type":"uint32"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"timestamp","type":"uint32"}],"name":"setPublicSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_whitelistPrice","type":"uint32"}],"name":"setWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"timestamp","type":"uint32"}],"name":"setWhitelistSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","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":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleStartTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b9160099162000505565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600a9162000505565b5066470de4df820000600c55666a94d74f430000600d556109c4600e55600a600f5560196010556012805461ffff191660011790553480156200008c57600080fd5b50604080518082018252600e81526d151a1948155b99195c9ddbdc9b1960921b60208083019182528351808501909452600384526255445760e81b908401528151919291620000de9160029162000505565b508051620000f490600390602084019062000505565b5050600080555062000106336200015b565b6200012a60405180608001604052806041815260200162002a1f60419139620001ad565b620001396363024870620001d0565b62000148636300f6f0620001fe565b620001553360c862000231565b62000696565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001b762000253565b8051620001cc90600b90602084019062000505565b5050565b620001da62000253565b6012805463ffffffff909216620100000265ffffffff000019909216919091179055565b6200020862000253565b6012805463ffffffff90921666010000000000000263ffffffff60301b19909216919091179055565b620001cc828260405180602001604052806000815250620002b460201b60201c565b6008546001600160a01b03163314620002b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b620002c083836200032b565b6001600160a01b0383163b1562000326576000548281035b6001810190620002ee9060009087908662000404565b6200030c576040516368d2bf6b60e11b815260040160405180910390fd5b818110620002d85781600054146200032357600080fd5b50505b505050565b600054816200034d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620029ff8339815191528180a4600183015b818114620003dc5780836000600080516020620029ff833981519152600080a4600101620003b3565b5081620003fb57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200043b903390899088908890600401620005de565b602060405180830381600087803b1580156200045657600080fd5b505af192505050801562000489575060408051601f3d908101601f191682019092526200048691810190620005ab565b60015b620004e8573d808015620004ba576040519150601f19603f3d011682016040523d82523d6000602084013e620004bf565b606091505b508051620004e0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620005139062000659565b90600052602060002090601f01602090048101928262000537576000855562000582565b82601f106200055257805160ff191683800117855562000582565b8280016001018555821562000582579182015b828111156200058257825182559160200191906001019062000565565b506200059092915062000594565b5090565b5b8082111562000590576000815560010162000595565b600060208284031215620005be57600080fd5b81516001600160e01b031981168114620005d757600080fd5b9392505050565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b828110156200062d5785810182015185820160a0015281016200060f565b828111156200064057600060a084870101525b5050601f01601f19169190910160a00195945050505050565b600181811c908216806200066e57607f821691505b602082108114156200069057634e487b7160e01b600052602260045260246000fd5b50919050565b61235980620006a66000396000f3fe6080604052600436106102885760003560e01c80635fd84c281161015a578063a945bf80116100c1578063d5abeb011161007a578063d5abeb0114610792578063d8d988da146107a8578063e985e9c5146107c8578063f2fde38b14610811578063f9da322414610831578063fc1a1c361461085157600080fd5b8063a945bf80146106d7578063ac5227cf146106ed578063b88d4fde14610712578063bd32fb6614610732578063bedb86fb14610752578063c87b56dd1461077257600080fd5b80637de86909116101135780637de869091461062f5780637ec4a6591461064f5780638da5cb5b1461066f57806395d89b411461068d578063a22cb465146106a2578063a45ba8e7146106c257600080fd5b80635fd84c28146105815780636352211e146105a15780636bb7b1d9146105c157806370a08231146105e4578063715018a61461060457806374d9e7ac1461061957600080fd5b8063230b43f4116101fe5780633f5e4741116101b75780633f5e4741146104cf57806342842e0e146104f35780634fdd43cb1461051357806351830227146105335780635b8ad429146105525780635c975abb1461056757600080fd5b8063230b43f41461041b57806323b872dd1461045457806326a32627146104745780632db1154414610494578063375a069a146104a75780633ccfd60b146104c757600080fd5b80631338a83f116102505780631338a83f1461035e57806316ba10e01461037157806317c862a21461039157806317f7bece146103b157806318160ddd146103d55780631e16ffba146103ee57600080fd5b806301ffc9a71461028d57806306fdde03146102c2578063081812fc146102e4578063095ea7b31461031c5780630c888ffd1461033e575b600080fd5b34801561029957600080fd5b506102ad6102a8366004611fb5565b610867565b60405190151581526020015b60405180910390f35b3480156102ce57600080fd5b506102d76108b9565b6040516102b991906121aa565b3480156102f057600080fd5b506103046102ff366004611f9c565b61094b565b6040516001600160a01b0390911681526020016102b9565b34801561032857600080fd5b5061033c610337366004611edc565b61098f565b005b34801561034a57600080fd5b5061033c610359366004612038565b610a2f565b61033c61036c366004611f06565b610a42565b34801561037d57600080fd5b5061033c61038c366004611fef565b610d40565b34801561039d57600080fd5b5061033c6103ac366004612038565b610d5f565b3480156103bd57600080fd5b506103c760105481565b6040519081526020016102b9565b3480156103e157600080fd5b50600154600054036103c7565b3480156103fa57600080fd5b506103c7610409366004611dac565b60116020526000908152604090205481565b34801561042757600080fd5b5060125461043f90600160301b900463ffffffff1681565b60405163ffffffff90911681526020016102b9565b34801561046057600080fd5b5061033c61046f366004611dfa565b610d72565b34801561048057600080fd5b5061033c61048f366004612038565b610f03565b61033c6104a2366004611f9c565b610f16565b3480156104b357600080fd5b5061033c6104c2366004611f9c565b61112e565b61033c6111bc565b3480156104db57600080fd5b5060125462010000900463ffffffff164210156102ad565b3480156104ff57600080fd5b5061033c61050e366004611dfa565b611235565b34801561051f57600080fd5b5061033c61052e366004611fef565b611255565b34801561053f57600080fd5b506012546102ad90610100900460ff1681565b34801561055e57600080fd5b5061033c611270565b34801561057357600080fd5b506012546102ad9060ff1681565b34801561058d57600080fd5b5061033c61059c366004612038565b611295565b3480156105ad57600080fd5b506103046105bc366004611f9c565b6112c1565b3480156105cd57600080fd5b5060125461043f9062010000900463ffffffff1681565b3480156105f057600080fd5b506103c76105ff366004611dac565b6112cc565b34801561061057600080fd5b5061033c61131b565b34801561062557600080fd5b506103c7600f5481565b34801561063b57600080fd5b5061033c61064a366004612038565b61132f565b34801561065b57600080fd5b5061033c61066a366004611fef565b611360565b34801561067b57600080fd5b506008546001600160a01b0316610304565b34801561069957600080fd5b506102d761137b565b3480156106ae57600080fd5b5061033c6106bd366004611eb2565b61138a565b3480156106ce57600080fd5b506102d7611420565b3480156106e357600080fd5b506103c7600d5481565b3480156106f957600080fd5b50601254600160301b900463ffffffff164210156102ad565b34801561071e57600080fd5b5061033c61072d366004611e36565b6114ae565b34801561073e57600080fd5b5061033c61074d366004611f9c565b6114f8565b34801561075e57600080fd5b5061033c61076d366004611f81565b611505565b34801561077e57600080fd5b506102d761078d366004611f9c565b611520565b34801561079e57600080fd5b506103c7600e5481565b3480156107b457600080fd5b5061033c6107c3366004612038565b611608565b3480156107d457600080fd5b506102ad6107e3366004611dc7565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561081d57600080fd5b5061033c61082c366004611dac565b61161b565b34801561083d57600080fd5b5061033c61084c366004612038565b611691565b34801561085d57600080fd5b506103c7600c5481565b60006301ffc9a760e01b6001600160e01b03198316148061089857506380ac58cd60e01b6001600160e01b03198316145b806108b35750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108c89061224b565b80601f01602080910402602001604051908101604052809291908181526020018280546108f49061224b565b80156109415780601f1061091657610100808354040283529160200191610941565b820191906000526020600020905b81548152906001019060200180831161092457829003601f168201915b5050505050905090565b6000610956826116a4565b610973576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061099a826112c1565b9050336001600160a01b038216146109d3576109b681336107e3565b6109d3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a376116cb565b63ffffffff16600f55565b80600e5481610a546001546000540390565b610a5e91906121bd565b1115610aa85760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b60448201526064015b60405180910390fd5b60125460ff1615610afb5760405162461bcd60e51b815260206004820152601d60248201527f4e4654206973206e6f7420617661696c61626c6520666f72206d696e740000006044820152606401610a9f565b8383601354610b72838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b166020820152859250603401905060405160208183030381529060405280519060200120611725565b610bbe5760405162461bcd60e51b815260206004820152601e60248201527f4164647265737320646f6573206e6f7420657869737420696e206c69737400006044820152606401610a9f565b601254600160301b900463ffffffff164210151515600114610c225760405162461bcd60e51b815260206004820181905260248201527f57686974656c6973742073616c6520686173206e6f7420626567756e207965746044820152606401610a9f565b600085118015610c5c5750600f5433600090815260056020526040908190205487911c67ffffffffffffffff16610c5991906121bd565b11155b610c9f5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610a9f565b84600c54610cad91906121e9565b341015610cf25760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a9f565b3360009081526011602052604081208054879290610d119084906121bd565b90915550610d219050338661173b565b610d3785600c54610d3291906121e9565b611755565b50505050505050565b610d486116cb565b8051610d5b90600a906020840190611c71565b5050565b610d676116cb565b63ffffffff16601055565b6000610d7d826117dc565b9050836001600160a01b0316816001600160a01b031614610db05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610dfd57610de086336107e3565b610dfd57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e2457604051633a954ecd60e21b815260040160405180910390fd5b8015610e2f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610eba5760018401600081815260046020526040902054610eb8576000548114610eb85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610f0b6116cb565b63ffffffff16600c55565b80600e5481610f286001546000540390565b610f3291906121bd565b1115610f775760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610a9f565b60125460ff1615610fca5760405162461bcd60e51b815260206004820152601d60248201527f4e4654206973206e6f7420617661696c61626c6520666f72206d696e740000006044820152606401610a9f565b60125462010000900463ffffffff16421015151560011461102d5760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610a9f565b60008211801561107d5750601054336000908152601160209081526040808320546005909252918290205490916110709186911c67ffffffffffffffff166121bd565b61107a9190612208565b11155b6110c05760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610a9f565b81600d546110ce91906121e9565b3410156111135760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a9f565b61111d338361173b565b610d5b82600d54610d3291906121e9565b6111366116cb565b600e54816111476001546000540390565b61115191906121bd565b11156111af5760405162461bcd60e51b815260206004820152602760248201527f546f6f206d616e7920616c7265616479206d696e746564206265666f72652064604482015266195d881b5a5b9d60ca1b6064820152608401610a9f565b6111b9338261173b565b50565b6111c46116cb565b60006111d86008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611222576040519150601f19603f3d011682016040523d82523d6000602084013e611227565b606091505b50509050806111b957600080fd5b611250838383604051806020016040528060008152506114ae565b505050565b61125d6116cb565b8051610d5b90600b906020840190611c71565b6112786116cb565b6012805461ff001981166101009182900460ff1615909102179055565b61129d6116cb565b6012805463ffffffff909216620100000265ffffffff000019909216919091179055565b60006108b3826117dc565b60006001600160a01b0382166112f5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6113236116cb565b61132d600061183d565b565b6113376116cb565b6012805463ffffffff909216600160301b0269ffffffff00000000000019909216919091179055565b6113686116cb565b8051610d5b906009906020840190611c71565b6060600380546108c89061224b565b6001600160a01b0382163314156113b45760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b805461142d9061224b565b80601f01602080910402602001604051908101604052809291908181526020018280546114599061224b565b80156114a65780601f1061147b576101008083540402835291602001916114a6565b820191906000526020600020905b81548152906001019060200180831161148957829003601f168201915b505050505081565b6114b9848484610d72565b6001600160a01b0383163b156114f2576114d58484848461188f565b6114f2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6115006116cb565b601355565b61150d6116cb565b6012805460ff1916911515919091179055565b606061152b826116a4565b61154857604051630a14c4b560e41b815260040160405180910390fd5b601254610100900460ff166115a857600b80546115649061224b565b1515905061158157604051806020016040528060008152506108b3565b600b6040516020016115939190612161565b60405160208183030381529060405292915050565b60006115b2611987565b90508051600014156115d35760405180602001604052806000815250611601565b806115dd84611996565b600a6040516020016115f193929190612124565b6040516020818303038152906040525b9392505050565b6116106116cb565b63ffffffff16600d55565b6116236116cb565b6001600160a01b0381166116885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a9f565b6111b98161183d565b6116996116cb565b63ffffffff16600e55565b60008054821080156108b3575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b0316331461132d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a9f565b6000826117328584611a94565b14949350505050565b610d5b828260405180602001604052806000815250611ae1565b8034111561179e5760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610a9f565b803411156111b957336108fc6117b48334612208565b6040518115909202916000818181858888f19350505050158015610d5b573d6000803e3d6000fd5b60008160005481101561182457600081815260046020526040902054600160e01b8116611822575b80611601575060001901600081815260046020526040902054611804565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118c490339089908890889060040161216d565b602060405180830381600087803b1580156118de57600080fd5b505af192505050801561190e575060408051601f3d908101601f1916820190925261190b91810190611fd2565b60015b611969573d80801561193c576040519150601f19603f3d011682016040523d82523d6000602084013e611941565b606091505b508051611961576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546108c89061224b565b6060816119ba5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119e457806119ce81612286565b91506119dd9050600a836121d5565b91506119be565b60008167ffffffffffffffff8111156119ff576119ff6122f7565b6040519080825280601f01601f191660200182016040528015611a29576020820181803683370190505b5090505b841561197f57611a3e600183612208565b9150611a4b600a866122a1565b611a569060306121bd565b60f81b818381518110611a6b57611a6b6122e1565b60200101906001600160f81b031916908160001a905350611a8d600a866121d5565b9450611a2d565b600081815b8451811015611ad957611ac582868381518110611ab857611ab86122e1565b6020026020010151611b4e565b915080611ad181612286565b915050611a99565b509392505050565b611aeb8383611b7a565b6001600160a01b0383163b15611250576000548281035b611b15600086838060010194508661188f565b611b32576040516368d2bf6b60e11b815260040160405180910390fd5b818110611b02578160005414611b4757600080fd5b5050505050565b6000818310611b6a576000828152602084905260409020611601565b5060009182526020526040902090565b60005481611b9b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611c4a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611c12565b5081611c6857604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611c7d9061224b565b90600052602060002090601f016020900481019282611c9f5760008555611ce5565b82601f10611cb857805160ff1916838001178555611ce5565b82800160010185558215611ce5579182015b82811115611ce5578251825591602001919060010190611cca565b50611cf1929150611cf5565b5090565b5b80821115611cf15760008155600101611cf6565b600067ffffffffffffffff80841115611d2557611d256122f7565b604051601f8501601f19908116603f01168101908282118183101715611d4d57611d4d6122f7565b81604052809350858152868686011115611d6657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611d9757600080fd5b919050565b80358015158114611d9757600080fd5b600060208284031215611dbe57600080fd5b61160182611d80565b60008060408385031215611dda57600080fd5b611de383611d80565b9150611df160208401611d80565b90509250929050565b600080600060608486031215611e0f57600080fd5b611e1884611d80565b9250611e2660208501611d80565b9150604084013590509250925092565b60008060008060808587031215611e4c57600080fd5b611e5585611d80565b9350611e6360208601611d80565b925060408501359150606085013567ffffffffffffffff811115611e8657600080fd5b8501601f81018713611e9757600080fd5b611ea687823560208401611d0a565b91505092959194509250565b60008060408385031215611ec557600080fd5b611ece83611d80565b9150611df160208401611d9c565b60008060408385031215611eef57600080fd5b611ef883611d80565b946020939093013593505050565b600080600060408486031215611f1b57600080fd5b833567ffffffffffffffff80821115611f3357600080fd5b818601915086601f830112611f4757600080fd5b813581811115611f5657600080fd5b8760208260051b8501011115611f6b57600080fd5b6020928301989097509590910135949350505050565b600060208284031215611f9357600080fd5b61160182611d9c565b600060208284031215611fae57600080fd5b5035919050565b600060208284031215611fc757600080fd5b81356116018161230d565b600060208284031215611fe457600080fd5b81516116018161230d565b60006020828403121561200157600080fd5b813567ffffffffffffffff81111561201857600080fd5b8201601f8101841361202957600080fd5b61197f84823560208401611d0a565b60006020828403121561204a57600080fd5b813563ffffffff8116811461160157600080fd5b6000815180845261207681602086016020860161221f565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806120a457607f831692505b60208084108214156120c657634e487b7160e01b600052602260045260246000fd5b8180156120da57600181146120eb57612118565b60ff19861689528489019650612118565b60008881526020902060005b868110156121105781548b8201529085019083016120f7565b505084890196505b50505050505092915050565b6000845161213681846020890161221f565b84519083019061214a81836020890161221f565b6121568183018661208a565b979650505050505050565b6000611601828461208a565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121a09083018461205e565b9695505050505050565b602081526000611601602083018461205e565b600082198211156121d0576121d06122b5565b500190565b6000826121e4576121e46122cb565b500490565b6000816000190483118215151615612203576122036122b5565b500290565b60008282101561221a5761221a6122b5565b500390565b60005b8381101561223a578181015183820152602001612222565b838111156114f25750506000910152565b600181811c9082168061225f57607f821691505b6020821081141561228057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561229a5761229a6122b5565b5060010190565b6000826122b0576122b06122cb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146111b957600080fdfea26469706673582212202cc4ca4a0a2af61dde17d4c4a80dbbf6b77ef9baa4f71a4c10b3269242f6415e64736f6c63430008070033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef697066733a2f2f516d4e56466b72734c51746d463235326b4158504b4b68386373694552533668624b79375637736d79566362594a2f48696464656e2e6a736f6e
Deployed Bytecode
0x6080604052600436106102885760003560e01c80635fd84c281161015a578063a945bf80116100c1578063d5abeb011161007a578063d5abeb0114610792578063d8d988da146107a8578063e985e9c5146107c8578063f2fde38b14610811578063f9da322414610831578063fc1a1c361461085157600080fd5b8063a945bf80146106d7578063ac5227cf146106ed578063b88d4fde14610712578063bd32fb6614610732578063bedb86fb14610752578063c87b56dd1461077257600080fd5b80637de86909116101135780637de869091461062f5780637ec4a6591461064f5780638da5cb5b1461066f57806395d89b411461068d578063a22cb465146106a2578063a45ba8e7146106c257600080fd5b80635fd84c28146105815780636352211e146105a15780636bb7b1d9146105c157806370a08231146105e4578063715018a61461060457806374d9e7ac1461061957600080fd5b8063230b43f4116101fe5780633f5e4741116101b75780633f5e4741146104cf57806342842e0e146104f35780634fdd43cb1461051357806351830227146105335780635b8ad429146105525780635c975abb1461056757600080fd5b8063230b43f41461041b57806323b872dd1461045457806326a32627146104745780632db1154414610494578063375a069a146104a75780633ccfd60b146104c757600080fd5b80631338a83f116102505780631338a83f1461035e57806316ba10e01461037157806317c862a21461039157806317f7bece146103b157806318160ddd146103d55780631e16ffba146103ee57600080fd5b806301ffc9a71461028d57806306fdde03146102c2578063081812fc146102e4578063095ea7b31461031c5780630c888ffd1461033e575b600080fd5b34801561029957600080fd5b506102ad6102a8366004611fb5565b610867565b60405190151581526020015b60405180910390f35b3480156102ce57600080fd5b506102d76108b9565b6040516102b991906121aa565b3480156102f057600080fd5b506103046102ff366004611f9c565b61094b565b6040516001600160a01b0390911681526020016102b9565b34801561032857600080fd5b5061033c610337366004611edc565b61098f565b005b34801561034a57600080fd5b5061033c610359366004612038565b610a2f565b61033c61036c366004611f06565b610a42565b34801561037d57600080fd5b5061033c61038c366004611fef565b610d40565b34801561039d57600080fd5b5061033c6103ac366004612038565b610d5f565b3480156103bd57600080fd5b506103c760105481565b6040519081526020016102b9565b3480156103e157600080fd5b50600154600054036103c7565b3480156103fa57600080fd5b506103c7610409366004611dac565b60116020526000908152604090205481565b34801561042757600080fd5b5060125461043f90600160301b900463ffffffff1681565b60405163ffffffff90911681526020016102b9565b34801561046057600080fd5b5061033c61046f366004611dfa565b610d72565b34801561048057600080fd5b5061033c61048f366004612038565b610f03565b61033c6104a2366004611f9c565b610f16565b3480156104b357600080fd5b5061033c6104c2366004611f9c565b61112e565b61033c6111bc565b3480156104db57600080fd5b5060125462010000900463ffffffff164210156102ad565b3480156104ff57600080fd5b5061033c61050e366004611dfa565b611235565b34801561051f57600080fd5b5061033c61052e366004611fef565b611255565b34801561053f57600080fd5b506012546102ad90610100900460ff1681565b34801561055e57600080fd5b5061033c611270565b34801561057357600080fd5b506012546102ad9060ff1681565b34801561058d57600080fd5b5061033c61059c366004612038565b611295565b3480156105ad57600080fd5b506103046105bc366004611f9c565b6112c1565b3480156105cd57600080fd5b5060125461043f9062010000900463ffffffff1681565b3480156105f057600080fd5b506103c76105ff366004611dac565b6112cc565b34801561061057600080fd5b5061033c61131b565b34801561062557600080fd5b506103c7600f5481565b34801561063b57600080fd5b5061033c61064a366004612038565b61132f565b34801561065b57600080fd5b5061033c61066a366004611fef565b611360565b34801561067b57600080fd5b506008546001600160a01b0316610304565b34801561069957600080fd5b506102d761137b565b3480156106ae57600080fd5b5061033c6106bd366004611eb2565b61138a565b3480156106ce57600080fd5b506102d7611420565b3480156106e357600080fd5b506103c7600d5481565b3480156106f957600080fd5b50601254600160301b900463ffffffff164210156102ad565b34801561071e57600080fd5b5061033c61072d366004611e36565b6114ae565b34801561073e57600080fd5b5061033c61074d366004611f9c565b6114f8565b34801561075e57600080fd5b5061033c61076d366004611f81565b611505565b34801561077e57600080fd5b506102d761078d366004611f9c565b611520565b34801561079e57600080fd5b506103c7600e5481565b3480156107b457600080fd5b5061033c6107c3366004612038565b611608565b3480156107d457600080fd5b506102ad6107e3366004611dc7565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561081d57600080fd5b5061033c61082c366004611dac565b61161b565b34801561083d57600080fd5b5061033c61084c366004612038565b611691565b34801561085d57600080fd5b506103c7600c5481565b60006301ffc9a760e01b6001600160e01b03198316148061089857506380ac58cd60e01b6001600160e01b03198316145b806108b35750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108c89061224b565b80601f01602080910402602001604051908101604052809291908181526020018280546108f49061224b565b80156109415780601f1061091657610100808354040283529160200191610941565b820191906000526020600020905b81548152906001019060200180831161092457829003601f168201915b5050505050905090565b6000610956826116a4565b610973576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061099a826112c1565b9050336001600160a01b038216146109d3576109b681336107e3565b6109d3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a376116cb565b63ffffffff16600f55565b80600e5481610a546001546000540390565b610a5e91906121bd565b1115610aa85760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b60448201526064015b60405180910390fd5b60125460ff1615610afb5760405162461bcd60e51b815260206004820152601d60248201527f4e4654206973206e6f7420617661696c61626c6520666f72206d696e740000006044820152606401610a9f565b8383601354610b72838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b166020820152859250603401905060405160208183030381529060405280519060200120611725565b610bbe5760405162461bcd60e51b815260206004820152601e60248201527f4164647265737320646f6573206e6f7420657869737420696e206c69737400006044820152606401610a9f565b601254600160301b900463ffffffff164210151515600114610c225760405162461bcd60e51b815260206004820181905260248201527f57686974656c6973742073616c6520686173206e6f7420626567756e207965746044820152606401610a9f565b600085118015610c5c5750600f5433600090815260056020526040908190205487911c67ffffffffffffffff16610c5991906121bd565b11155b610c9f5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610a9f565b84600c54610cad91906121e9565b341015610cf25760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a9f565b3360009081526011602052604081208054879290610d119084906121bd565b90915550610d219050338661173b565b610d3785600c54610d3291906121e9565b611755565b50505050505050565b610d486116cb565b8051610d5b90600a906020840190611c71565b5050565b610d676116cb565b63ffffffff16601055565b6000610d7d826117dc565b9050836001600160a01b0316816001600160a01b031614610db05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610dfd57610de086336107e3565b610dfd57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e2457604051633a954ecd60e21b815260040160405180910390fd5b8015610e2f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610eba5760018401600081815260046020526040902054610eb8576000548114610eb85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610f0b6116cb565b63ffffffff16600c55565b80600e5481610f286001546000540390565b610f3291906121bd565b1115610f775760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610a9f565b60125460ff1615610fca5760405162461bcd60e51b815260206004820152601d60248201527f4e4654206973206e6f7420617661696c61626c6520666f72206d696e740000006044820152606401610a9f565b60125462010000900463ffffffff16421015151560011461102d5760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610a9f565b60008211801561107d5750601054336000908152601160209081526040808320546005909252918290205490916110709186911c67ffffffffffffffff166121bd565b61107a9190612208565b11155b6110c05760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610a9f565b81600d546110ce91906121e9565b3410156111135760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a9f565b61111d338361173b565b610d5b82600d54610d3291906121e9565b6111366116cb565b600e54816111476001546000540390565b61115191906121bd565b11156111af5760405162461bcd60e51b815260206004820152602760248201527f546f6f206d616e7920616c7265616479206d696e746564206265666f72652064604482015266195d881b5a5b9d60ca1b6064820152608401610a9f565b6111b9338261173b565b50565b6111c46116cb565b60006111d86008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611222576040519150601f19603f3d011682016040523d82523d6000602084013e611227565b606091505b50509050806111b957600080fd5b611250838383604051806020016040528060008152506114ae565b505050565b61125d6116cb565b8051610d5b90600b906020840190611c71565b6112786116cb565b6012805461ff001981166101009182900460ff1615909102179055565b61129d6116cb565b6012805463ffffffff909216620100000265ffffffff000019909216919091179055565b60006108b3826117dc565b60006001600160a01b0382166112f5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6113236116cb565b61132d600061183d565b565b6113376116cb565b6012805463ffffffff909216600160301b0269ffffffff00000000000019909216919091179055565b6113686116cb565b8051610d5b906009906020840190611c71565b6060600380546108c89061224b565b6001600160a01b0382163314156113b45760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b805461142d9061224b565b80601f01602080910402602001604051908101604052809291908181526020018280546114599061224b565b80156114a65780601f1061147b576101008083540402835291602001916114a6565b820191906000526020600020905b81548152906001019060200180831161148957829003601f168201915b505050505081565b6114b9848484610d72565b6001600160a01b0383163b156114f2576114d58484848461188f565b6114f2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6115006116cb565b601355565b61150d6116cb565b6012805460ff1916911515919091179055565b606061152b826116a4565b61154857604051630a14c4b560e41b815260040160405180910390fd5b601254610100900460ff166115a857600b80546115649061224b565b1515905061158157604051806020016040528060008152506108b3565b600b6040516020016115939190612161565b60405160208183030381529060405292915050565b60006115b2611987565b90508051600014156115d35760405180602001604052806000815250611601565b806115dd84611996565b600a6040516020016115f193929190612124565b6040516020818303038152906040525b9392505050565b6116106116cb565b63ffffffff16600d55565b6116236116cb565b6001600160a01b0381166116885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a9f565b6111b98161183d565b6116996116cb565b63ffffffff16600e55565b60008054821080156108b3575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b0316331461132d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a9f565b6000826117328584611a94565b14949350505050565b610d5b828260405180602001604052806000815250611ae1565b8034111561179e5760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610a9f565b803411156111b957336108fc6117b48334612208565b6040518115909202916000818181858888f19350505050158015610d5b573d6000803e3d6000fd5b60008160005481101561182457600081815260046020526040902054600160e01b8116611822575b80611601575060001901600081815260046020526040902054611804565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118c490339089908890889060040161216d565b602060405180830381600087803b1580156118de57600080fd5b505af192505050801561190e575060408051601f3d908101601f1916820190925261190b91810190611fd2565b60015b611969573d80801561193c576040519150601f19603f3d011682016040523d82523d6000602084013e611941565b606091505b508051611961576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546108c89061224b565b6060816119ba5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119e457806119ce81612286565b91506119dd9050600a836121d5565b91506119be565b60008167ffffffffffffffff8111156119ff576119ff6122f7565b6040519080825280601f01601f191660200182016040528015611a29576020820181803683370190505b5090505b841561197f57611a3e600183612208565b9150611a4b600a866122a1565b611a569060306121bd565b60f81b818381518110611a6b57611a6b6122e1565b60200101906001600160f81b031916908160001a905350611a8d600a866121d5565b9450611a2d565b600081815b8451811015611ad957611ac582868381518110611ab857611ab86122e1565b6020026020010151611b4e565b915080611ad181612286565b915050611a99565b509392505050565b611aeb8383611b7a565b6001600160a01b0383163b15611250576000548281035b611b15600086838060010194508661188f565b611b32576040516368d2bf6b60e11b815260040160405180910390fd5b818110611b02578160005414611b4757600080fd5b5050505050565b6000818310611b6a576000828152602084905260409020611601565b5060009182526020526040902090565b60005481611b9b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611c4a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611c12565b5081611c6857604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611c7d9061224b565b90600052602060002090601f016020900481019282611c9f5760008555611ce5565b82601f10611cb857805160ff1916838001178555611ce5565b82800160010185558215611ce5579182015b82811115611ce5578251825591602001919060010190611cca565b50611cf1929150611cf5565b5090565b5b80821115611cf15760008155600101611cf6565b600067ffffffffffffffff80841115611d2557611d256122f7565b604051601f8501601f19908116603f01168101908282118183101715611d4d57611d4d6122f7565b81604052809350858152868686011115611d6657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611d9757600080fd5b919050565b80358015158114611d9757600080fd5b600060208284031215611dbe57600080fd5b61160182611d80565b60008060408385031215611dda57600080fd5b611de383611d80565b9150611df160208401611d80565b90509250929050565b600080600060608486031215611e0f57600080fd5b611e1884611d80565b9250611e2660208501611d80565b9150604084013590509250925092565b60008060008060808587031215611e4c57600080fd5b611e5585611d80565b9350611e6360208601611d80565b925060408501359150606085013567ffffffffffffffff811115611e8657600080fd5b8501601f81018713611e9757600080fd5b611ea687823560208401611d0a565b91505092959194509250565b60008060408385031215611ec557600080fd5b611ece83611d80565b9150611df160208401611d9c565b60008060408385031215611eef57600080fd5b611ef883611d80565b946020939093013593505050565b600080600060408486031215611f1b57600080fd5b833567ffffffffffffffff80821115611f3357600080fd5b818601915086601f830112611f4757600080fd5b813581811115611f5657600080fd5b8760208260051b8501011115611f6b57600080fd5b6020928301989097509590910135949350505050565b600060208284031215611f9357600080fd5b61160182611d9c565b600060208284031215611fae57600080fd5b5035919050565b600060208284031215611fc757600080fd5b81356116018161230d565b600060208284031215611fe457600080fd5b81516116018161230d565b60006020828403121561200157600080fd5b813567ffffffffffffffff81111561201857600080fd5b8201601f8101841361202957600080fd5b61197f84823560208401611d0a565b60006020828403121561204a57600080fd5b813563ffffffff8116811461160157600080fd5b6000815180845261207681602086016020860161221f565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806120a457607f831692505b60208084108214156120c657634e487b7160e01b600052602260045260246000fd5b8180156120da57600181146120eb57612118565b60ff19861689528489019650612118565b60008881526020902060005b868110156121105781548b8201529085019083016120f7565b505084890196505b50505050505092915050565b6000845161213681846020890161221f565b84519083019061214a81836020890161221f565b6121568183018661208a565b979650505050505050565b6000611601828461208a565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121a09083018461205e565b9695505050505050565b602081526000611601602083018461205e565b600082198211156121d0576121d06122b5565b500190565b6000826121e4576121e46122cb565b500490565b6000816000190483118215151615612203576122036122b5565b500290565b60008282101561221a5761221a6122b5565b500390565b60005b8381101561223a578181015183820152602001612222565b838111156114f25750506000910152565b600181811c9082168061225f57607f821691505b6020821081141561228057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561229a5761229a6122b5565b5060010190565b6000826122b0576122b06122cb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146111b957600080fdfea26469706673582212202cc4ca4a0a2af61dde17d4c4a80dbbf6b77ef9baa4f71a4c10b3269242f6415e64736f6c63430008070033
Deployed Bytecode Sourcemap
74738:6872:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41856:639;;;;;;;;;;-1:-1:-1;41856:639:0;;;;;:::i;:::-;;:::i;:::-;;;8767:14:1;;8760:22;8742:41;;8730:2;8715:18;41856:639:0;;;;;;;;42758:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;49241:218::-;;;;;;;;;;-1:-1:-1;49241:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8065:32:1;;;8047:51;;8035:2;8020:18;49241:218:0;7901:203:1;48682:400:0;;;;;;;;;;-1:-1:-1;48682:400:0;;;;;:::i;:::-;;:::i;:::-;;79497:150;;;;;;;;;;-1:-1:-1;79497:150:0;;;;;:::i;:::-;;:::i;76854:622::-;;;;;;:::i;:::-;;:::i;80315:106::-;;;;;;;;;;-1:-1:-1;80315:106:0;;;;;:::i;:::-;;:::i;79693:138::-;;;;;;;;;;-1:-1:-1;79693:138:0;;;;;:::i;:::-;;:::i;75205:39::-;;;;;;;;;;;;;;;;;;;13173:25:1;;;13161:2;13146:18;75205:39:0;13027:177:1;38509:323:0;;;;;;;;;;-1:-1:-1;38783:12:0;;38570:7;38767:13;:28;38509:323;;75251:49;;;;;;;;;;-1:-1:-1;75251:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;75465:36;;;;;;;;;;-1:-1:-1;75465:36:0;;;;-1:-1:-1;;;75465:36:0;;;;;;;;;13383:10:1;13371:23;;;13353:42;;13341:2;13326:18;75465:36:0;13209:192:1;52948:2817:0;;;;;;;;;;-1:-1:-1;52948:2817:0;;;;;:::i;:::-;;:::i;78999:118::-;;;;;;;;;;-1:-1:-1;78999:118:0;;;;;:::i;:::-;;:::i;76324:499::-;;;;;;:::i;:::-;;:::i;78018:223::-;;;;;;;;;;-1:-1:-1;78018:223:0;;;;;:::i;:::-;;:::i;81126:481::-;;;:::i;78560:117::-;;;;;;;;;;-1:-1:-1;78650:19:0;;;;;;;78631:15;:38;;78560:117;;55861:185;;;;;;;;;;-1:-1:-1;55861:185:0;;;;;:::i;:::-;;:::i;79948:138::-;;;;;;;;;;-1:-1:-1;79948:138:0;;;;;:::i;:::-;;:::i;75390:28::-;;;;;;;;;;-1:-1:-1;75390:28:0;;;;;;;;;;;79856:80;;;;;;;;;;;;;:::i;75358:25::-;;;;;;;;;;-1:-1:-1;75358:25:0;;;;;;;;79164:116;;;;;;;;;;-1:-1:-1;79164:116:0;;;;;:::i;:::-;;:::i;44151:152::-;;;;;;;;;;-1:-1:-1;44151:152:0;;;;;:::i;:::-;;:::i;75425:33::-;;;;;;;;;;-1:-1:-1;75425:33:0;;;;;;;;;;;39693:233;;;;;;;;;;-1:-1:-1;39693:233:0;;;;;:::i;:::-;;:::i;13826:103::-;;;;;;;;;;;;;:::i;75156:42::-;;;;;;;;;;;;;;;;79326:122;;;;;;;;;;-1:-1:-1;79326:122:0;;;;;:::i;:::-;;:::i;80201:106::-;;;;;;;;;;-1:-1:-1;80201:106:0;;;;;:::i;:::-;;:::i;13178:87::-;;;;;;;;;;-1:-1:-1;13251:6:0;;-1:-1:-1;;;;;13251:6:0;13178:87;;42934:104;;;;;;;;;;;;;:::i;49799:308::-;;;;;;;;;;-1:-1:-1;49799:308:0;;;;;:::i;:::-;;:::i;74950:31::-;;;;;;;;;;;;;:::i;75071:39::-;;;;;;;;;;;;;;;;78723:123;;;;;;;;;;-1:-1:-1;78816:22:0;;-1:-1:-1;;;78816:22:0;;;;78797:15;:41;;78723:123;;56644:399;;;;;;;;;;-1:-1:-1;56644:399:0;;;;;:::i;:::-;;:::i;77522:122::-;;;;;;;;;;-1:-1:-1;77522:122:0;;;;;:::i;:::-;;:::i;80429:82::-;;;;;;;;;;-1:-1:-1;80429:82:0;;;;;:::i;:::-;;:::i;80519:481::-;;;;;;;;;;-1:-1:-1;80519:481:0;;;;;:::i;:::-;;:::i;75118:31::-;;;;;;;;;;;;;;;;78885:106;;;;;;;;;;-1:-1:-1;78885:106:0;;;;;:::i;:::-;;:::i;50264:164::-;;;;;;;;;;-1:-1:-1;50264:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;50385:25:0;;;50361:4;50385:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;50264:164;14084:201;;;;;;;;;;-1:-1:-1;14084:201:0;;;;;:::i;:::-;;:::i;80094:99::-;;;;;;;;;;-1:-1:-1;80094:99:0;;;;;:::i;:::-;;:::i;75021:42::-;;;;;;;;;;;;;;;;41856:639;41941:4;-1:-1:-1;;;;;;;;;42265:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;42342:25:0;;;42265:102;:179;;;-1:-1:-1;;;;;;;;;;42419:25:0;;;42265:179;42245:199;41856:639;-1:-1:-1;;41856:639:0:o;42758:100::-;42812:13;42845:5;42838:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42758:100;:::o;49241:218::-;49317:7;49342:16;49350:7;49342;:16::i;:::-;49337:64;;49367:34;;-1:-1:-1;;;49367:34:0;;;;;;;;;;;49337:64;-1:-1:-1;49421:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;49421:30:0;;49241:218::o;48682:400::-;48763:13;48779:16;48787:7;48779;:16::i;:::-;48763:32;-1:-1:-1;72539:10:0;-1:-1:-1;;;;;48812:28:0;;;48808:175;;48860:44;48877:5;72539:10;50264:164;:::i;48860:44::-;48855:128;;48932:35;;-1:-1:-1;;;48932:35:0;;;;;;;;;;;48855:128;48995:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;48995:35:0;-1:-1:-1;;;;;48995:35:0;;;;;;;;;49046:28;;48995:24;;49046:28;;;;;;;48752:330;48682:400;;:::o;79497:150::-;13064:13;:11;:13::i;:::-;79591:48:::1;;:22;:48:::0;79497:150::o;76854:622::-;76960:11;76181:9;;76166:11;76150:13;38783:12;;38570:7;38767:13;:28;;38509:323;76150:13;:27;;;;:::i;:::-;:40;;76142:73;;;;-1:-1:-1;;;76142:73:0;;11823:2:1;76142:73:0;;;11805:21:1;11862:2;11842:18;;;11835:30;-1:-1:-1;;;11881:18:1;;;11874:50;11941:18;;76142:73:0;;;;;;;;;76235:6;;;;76234:7;76226:49;;;;-1:-1:-1;;;76226:49:0;;12172:2:1;76226:49:0;;;12154:21:1;12211:2;12191:18;;;12184:30;12250:31;12230:18;;;12223:59;12299:18;;76226:49:0;11970:353:1;76226:49:0;76992:11:::1;;77005:19;;77774:130;77811:11;;77774:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;77874:28:0::1;::::0;-1:-1:-1;;77891:10:0::1;6849:2:1::0;6845:15;6841:53;77874:28:0::1;::::0;::::1;6829:66:1::0;77841:4:0;;-1:-1:-1;6911:12:1;;;-1:-1:-1;77874:28:0::1;;;;;;;;;;;;77864:39;;;;;;77774:18;:130::i;:::-;77766:196;;;::::0;-1:-1:-1;;;77766:196:0;;10334:2:1;77766:196:0::1;::::0;::::1;10316:21:1::0;10373:2;10353:18;;;10346:30;10412:32;10392:18;;;10385:60;10462:18;;77766:196:0::1;10132:354:1::0;77766:196:0::1;78816:22:::0;;-1:-1:-1;;;78816:22:0;;;;78797:15;:41;;77044:27:::2;;77067:4;77044:27;77036:72;;;::::0;-1:-1:-1;;;77036:72:0;;11462:2:1;77036:72:0::2;::::0;::::2;11444:21:1::0;;;11481:18;;;11474:30;11540:34;11520:18;;;11513:62;11592:18;;77036:72:0::2;11260:356:1::0;77036:72:0::2;77141:1;77127:11;:15;:84;;;;-1:-1:-1::0;77189:22:0::2;::::0;77160:10:::2;40069:7:::0;40097:25;;;:18;:25;;33990:2;40097:25;;;;;77174:11;;40097:50;33852:13;40096:82;77146:39:::2;;;;:::i;:::-;:65;;77127:84;77119:117;;;::::0;-1:-1:-1;;;77119:117:0;;9985:2:1;77119:117:0::2;::::0;::::2;9967:21:1::0;10024:2;10004:18;;;9997:30;-1:-1:-1;;;10043:18:1;;;10036:50;10103:18;;77119:117:0::2;9783:344:1::0;77119:117:0::2;77285:11;77268:14;;:28;;;;:::i;:::-;77255:9;:41;;77247:73;;;::::0;-1:-1:-1;;;77247:73:0;;12881:2:1;77247:73:0::2;::::0;::::2;12863:21:1::0;12920:2;12900:18;;;12893:30;-1:-1:-1;;;12939:18:1;;;12932:49;12998:18;;77247:73:0::2;12679:343:1::0;77247:73:0::2;77346:10;77331:26;::::0;;;:14:::2;:26;::::0;;;;:39;;77359:11;;77331:26;:39:::2;::::0;77359:11;;77331:39:::2;:::i;:::-;::::0;;;-1:-1:-1;77381:34:0::2;::::0;-1:-1:-1;77391:10:0::2;77403:11:::0;77381:9:::2;:34::i;:::-;77426:42;77456:11;77439:14;;:28;;;;:::i;:::-;77426:12;:42::i;:::-;76286:1:::1;;;76854:622:::0;;;;:::o;80315:106::-;13064:13;:11;:13::i;:::-;80391:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;80315:106:::0;:::o;79693:138::-;13064:13;:11;:13::i;:::-;79781:42:::1;;:19;:42:::0;79693:138::o;52948:2817::-;53082:27;53112;53131:7;53112:18;:27::i;:::-;53082:57;;53197:4;-1:-1:-1;;;;;53156:45:0;53172:19;-1:-1:-1;;;;;53156:45:0;;53152:86;;53210:28;;-1:-1:-1;;;53210:28:0;;;;;;;;;;;53152:86;53252:27;52062:24;;;:15;:24;;;;;52284:26;;72539:10;51687:30;;;-1:-1:-1;;;;;51380:28:0;;51665:20;;;51662:56;53438:180;;53531:43;53548:4;72539:10;50264:164;:::i;53531:43::-;53526:92;;53583:35;;-1:-1:-1;;;53583:35:0;;;;;;;;;;;53526:92;-1:-1:-1;;;;;53635:16:0;;53631:52;;53660:23;;-1:-1:-1;;;53660:23:0;;;;;;;;;;;53631:52;53832:15;53829:160;;;53972:1;53951:19;53944:30;53829:160;-1:-1:-1;;;;;54369:24:0;;;;;;;:18;:24;;;;;;54367:26;;-1:-1:-1;;54367:26:0;;;54438:22;;;;;;;;;54436:24;;-1:-1:-1;54436:24:0;;;47540:11;47515:23;47511:41;47498:63;-1:-1:-1;;;47498:63:0;54731:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;55026:47:0;;55022:627;;55131:1;55121:11;;55099:19;55254:30;;;:17;:30;;;;;;55250:384;;55392:13;;55377:11;:28;55373:242;;55539:30;;;;:17;:30;;;;;:52;;;55373:242;55080:569;55022:627;55696:7;55692:2;-1:-1:-1;;;;;55677:27:0;55686:4;-1:-1:-1;;;;;55677:27:0;;;;;;;;;;;53071:2694;;;52948:2817;;;:::o;78999:118::-;13064:13;:11;:13::i;:::-;79077:32:::1;;:14;:32:::0;78999:118::o;76324:499::-;76395:11;76181:9;;76166:11;76150:13;38783:12;;38570:7;38767:13;:28;;38509:323;76150:13;:27;;;;:::i;:::-;:40;;76142:73;;;;-1:-1:-1;;;76142:73:0;;11823:2:1;76142:73:0;;;11805:21:1;11862:2;11842:18;;;11835:30;-1:-1:-1;;;11881:18:1;;;11874:50;11941:18;;76142:73:0;11621:344:1;76142:73:0;76235:6;;;;76234:7;76226:49;;;;-1:-1:-1;;;76226:49:0;;12172:2:1;76226:49:0;;;12154:21:1;12211:2;12191:18;;;12184:30;12250:31;12230:18;;;12223:59;12299:18;;76226:49:0;11970:353:1;76226:49:0;78650:19;;;;;;;78631:15;:38;;76427:24:::1;;76447:4;76427:24;76419:66;;;::::0;-1:-1:-1;;;76419:66:0;;9220:2:1;76419:66:0::1;::::0;::::1;9202:21:1::0;9259:2;9239:18;;;9232:30;9298:31;9278:18;;;9271:59;9347:18;;76419:66:0::1;9018:353:1::0;76419:66:0::1;76518:1;76504:11;:15;:110;;;;-1:-1:-1::0;76595:19:0::1;::::0;76580:10:::1;76565:26;::::0;;;:14:::1;:26;::::0;;;;;;;;40097:18;:25;;;;;;;;76565:26;;76523:39:::1;::::0;76551:11;;40097:50;33852:13;40096:82;76523:39:::1;:::i;:::-;:68;;;;:::i;:::-;:91;;76504:110;76496:143;;;::::0;-1:-1:-1;;;76496:143:0;;9985:2:1;76496:143:0::1;::::0;::::1;9967:21:1::0;10024:2;10004:18;;;9997:30;-1:-1:-1;;;10043:18:1;;;10036:50;10103:18;;76496:143:0::1;9783:344:1::0;76496:143:0::1;76685:11;76671;;:25;;;;:::i;:::-;76658:9;:38;;76650:70;;;::::0;-1:-1:-1;;;76650:70:0;;12881:2:1;76650:70:0::1;::::0;::::1;12863:21:1::0;12920:2;12900:18;;;12893:30;-1:-1:-1;;;12939:18:1;;;12932:49;12998:18;;76650:70:0::1;12679:343:1::0;76650:70:0::1;76731:34;76741:10;76753:11;76731:9;:34::i;:::-;76776:39;76803:11;76789;;:25;;;;:::i;78018:223::-:0;13064:13;:11;:13::i;:::-;78125:9:::1;;78110:11;78094:13;38783:12:::0;;38570:7;38767:13;:28;;38509:323;78094:13:::1;:27;;;;:::i;:::-;:40;;78086:92;;;::::0;-1:-1:-1;;;78086:92:0;;11054:2:1;78086:92:0::1;::::0;::::1;11036:21:1::0;11093:2;11073:18;;;11066:30;11132:34;11112:18;;;11105:62;-1:-1:-1;;;11183:18:1;;;11176:37;11230:19;;78086:92:0::1;10852:403:1::0;78086:92:0::1;78189:34;78199:10;78211:11;78189:9;:34::i;:::-;78018:223:::0;:::o;81126:481::-;13064:13;:11;:13::i;:::-;81419:7:::1;81440;13251:6:::0;;-1:-1:-1;;;;;13251:6:0;;13178:87;81440:7:::1;-1:-1:-1::0;;;;;81432:21:0::1;81461;81432:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81418:69;;;81506:2;81498:11;;;::::0;::::1;55861:185:::0;55999:39;56016:4;56022:2;56026:7;55999:39;;;;;;;;;;;;:16;:39::i;:::-;55861:185;;;:::o;79948:138::-;13064:13;:11;:13::i;:::-;80040:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;79856:80::-:0;13064:13;:11;:13::i;:::-;79920:8:::1;::::0;;-1:-1:-1;;79908:20:0;::::1;79920:8;::::0;;;::::1;;;79919:9;79908:20:::0;;::::1;;::::0;;79856:80::o;79164:116::-;13064:13;:11;:13::i;:::-;79241:19:::1;:31:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;79241:31:0;;::::1;::::0;;;::::1;::::0;;79164:116::o;44151:152::-;44223:7;44266:27;44285:7;44266:18;:27::i;39693:233::-;39765:7;-1:-1:-1;;;;;39789:19:0;;39785:60;;39817:28;;-1:-1:-1;;;39817:28:0;;;;;;;;;;;39785:60;-1:-1:-1;;;;;;39863:25:0;;;;;:18;:25;;;;;;33852:13;39863:55;;39693:233::o;13826:103::-;13064:13;:11;:13::i;:::-;13891:30:::1;13918:1;13891:18;:30::i;:::-;13826:103::o:0;79326:122::-;13064:13;:11;:13::i;:::-;79406:22:::1;:34:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;79406:34:0::1;-1:-1:-1::0;;79406:34:0;;::::1;::::0;;;::::1;::::0;;79326:122::o;80201:106::-;13064:13;:11;:13::i;:::-;80277:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;42934:104::-:0;42990:13;43023:7;43016:14;;;;;:::i;49799:308::-;-1:-1:-1;;;;;49898:31:0;;72539:10;49898:31;49894:61;;;49938:17;;-1:-1:-1;;;49938:17:0;;;;;;;;;;;49894:61;72539:10;49968:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;49968:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;49968:60:0;;;;;;;;;;50044:55;;8742:41:1;;;49968:49:0;;72539:10;50044:55;;8715:18:1;50044:55:0;;;;;;;49799:308;;:::o;74950:31::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;56644:399::-;56811:31;56824:4;56830:2;56834:7;56811:12;:31::i;:::-;-1:-1:-1;;;;;56857:14:0;;;:19;56853:183;;56896:56;56927:4;56933:2;56937:7;56946:5;56896:30;:56::i;:::-;56891:145;;56980:40;;-1:-1:-1;;;56980:40:0;;;;;;;;;;;56891:145;56644:399;;;;:::o;77522:122::-;13064:13;:11;:13::i;:::-;77604:19:::1;:32:::0;77522:122::o;80429:82::-;13064:13;:11;:13::i;:::-;80488:6:::1;:15:::0;;-1:-1:-1;;80488:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;80429:82::o;80519:481::-;80592:13;80623:16;80631:7;80623;:16::i;:::-;80618:59;;80648:29;;-1:-1:-1;;;80648:29:0;;;;;;;;;;;80618:59;80692:8;;;;;;;80688:144;;80739:17;80733:31;;;;;:::i;:::-;:36;;;-1:-1:-1;80733:87:0;;;;;;;;;;;;;;;;;80796:17;80779:35;;;;;;;;:::i;:::-;;;;;;;;;;;;;80726:94;80519:481;-1:-1:-1;;80519:481:0:o;80688:144::-;80842:21;80866:10;:8;:10::i;:::-;80842:34;;80900:7;80894:21;80919:1;80894:26;;:98;;;;;;;;;;;;;;;;;80947:7;80956:18;:7;:16;:18::i;:::-;80976:9;80930:56;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;80894:98;80887:105;80519:481;-1:-1:-1;;;80519:481:0:o;78885:106::-;13064:13;:11;:13::i;:::-;78957:26:::1;;:11;:26:::0;78885:106::o;14084:201::-;13064:13;:11;:13::i;:::-;-1:-1:-1;;;;;14173:22:0;::::1;14165:73;;;::::0;-1:-1:-1;;;14165:73:0;;9578:2:1;14165:73:0::1;::::0;::::1;9560:21:1::0;9617:2;9597:18;;;9590:30;9656:34;9636:18;;;9629:62;-1:-1:-1;;;9707:18:1;;;9700:36;9753:19;;14165:73:0::1;9376:402:1::0;14165:73:0::1;14249:28;14268:8;14249:18;:28::i;80094:99::-:0;13064:13;:11;:13::i;:::-;80163:22:::1;;:9;:22:::0;80094:99::o;50686:282::-;50751:4;50841:13;;50831:7;:23;50788:153;;;;-1:-1:-1;;50892:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;50892:44:0;:49;;50686:282::o;13343:132::-;13251:6;;-1:-1:-1;;;;;13251:6:0;72539:10;13407:23;13399:68;;;;-1:-1:-1;;;13399:68:0;;10693:2:1;13399:68:0;;;10675:21:1;;;10712:18;;;10705:30;10771:34;10751:18;;;10744:62;10823:18;;13399:68:0;10491:356:1;15915:190:0;16040:4;16093;16064:25;16077:5;16084:4;16064:12;:25::i;:::-;:33;;15915:190;-1:-1:-1;;;;15915:190:0:o;66284:112::-;66361:27;66371:2;66375:8;66361:27;;;;;;;;;;;;:9;:27::i;78297:220::-;78374:5;78361:9;:18;;78353:53;;;;-1:-1:-1;;;78353:53:0;;12530:2:1;78353:53:0;;;12512:21:1;12569:2;12549:18;;;12542:30;-1:-1:-1;;;12588:18:1;;;12581:52;12650:18;;78353:53:0;12328:346:1;78353:53:0;78433:5;78421:9;:17;78417:93;;;78459:10;78451:47;78480:17;78492:5;78480:9;:17;:::i;:::-;78451:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45306:1275;45373:7;45408;45510:13;;45503:4;:20;45499:1015;;;45548:14;45565:23;;;:17;:23;;;;;;-1:-1:-1;;;45654:24:0;;45650:845;;46319:113;46326:11;46319:113;;-1:-1:-1;;;46397:6:0;46379:25;;;;:17;:25;;;;;;46319:113;;45650:845;45525:989;45499:1015;46542:31;;-1:-1:-1;;;46542:31:0;;;;;;;;;;;14445:191;14538:6;;;-1:-1:-1;;;;;14555:17:0;;;-1:-1:-1;;;;;;14555:17:0;;;;;;;14588:40;;14538:6;;;14555:17;14538:6;;14588:40;;14519:16;;14588:40;14508:128;14445:191;:::o;59127:716::-;59311:88;;-1:-1:-1;;;59311:88:0;;59290:4;;-1:-1:-1;;;;;59311:45:0;;;;;:88;;72539:10;;59378:4;;59384:7;;59393:5;;59311:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59311:88:0;;;;;;;;-1:-1:-1;;59311:88:0;;;;;;;;;;;;:::i;:::-;;;59307:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59594:13:0;;59590:235;;59640:40;;-1:-1:-1;;;59640:40:0;;;;;;;;;;;59590:235;59783:6;59777:13;59768:6;59764:2;59760:15;59753:38;59307:529;-1:-1:-1;;;;;;59470:64:0;-1:-1:-1;;;59470:64:0;;-1:-1:-1;59307:529:0;59127:716;;;;;;:::o;81008:110::-;81068:13;81101:9;81094:16;;;;;:::i;430:723::-;486:13;707:10;703:53;;-1:-1:-1;;734:10:0;;;;;;;;;;;;-1:-1:-1;;;734:10:0;;;;;430:723::o;703:53::-;781:5;766:12;822:78;829:9;;822:78;;855:8;;;;:::i;:::-;;-1:-1:-1;878:10:0;;-1:-1:-1;886:2:0;878:10;;:::i;:::-;;;822:78;;;910:19;942:6;932:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;932:17:0;;910:39;;960:154;967:10;;960:154;;994:11;1004:1;994:11;;:::i;:::-;;-1:-1:-1;1063:10:0;1071:2;1063:5;:10;:::i;:::-;1050:24;;:2;:24;:::i;:::-;1037:39;;1020:6;1027;1020:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1020:56:0;;;;;;;;-1:-1:-1;1091:11:0;1100:2;1091:11;;:::i;:::-;;;960:154;;16782:296;16865:7;16908:4;16865:7;16923:118;16947:5;:12;16943:1;:16;16923:118;;;16996:33;17006:12;17020:5;17026:1;17020:8;;;;;;;;:::i;:::-;;;;;;;16996:9;:33::i;:::-;16981:48;-1:-1:-1;16961:3:0;;;;:::i;:::-;;;;16923:118;;;-1:-1:-1;17058:12:0;16782:296;-1:-1:-1;;;16782:296:0:o;65511:689::-;65642:19;65648:2;65652:8;65642:5;:19::i;:::-;-1:-1:-1;;;;;65703:14:0;;;:19;65699:483;;65743:11;65757:13;65805:14;;;65838:233;65869:62;65908:1;65912:2;65916:7;;;;;;65925:5;65869:30;:62::i;:::-;65864:167;;65967:40;;-1:-1:-1;;;65967:40:0;;;;;;;;;;;65864:167;66066:3;66058:5;:11;65838:233;;66153:3;66136:13;;:20;66132:34;;66158:8;;;66132:34;65724:458;;65511:689;;;:::o;22989:149::-;23052:7;23083:1;23079;:5;:51;;23214:13;23308:15;;;23344:4;23337:15;;;23391:4;23375:21;;23079:51;;;-1:-1:-1;23214:13:0;23308:15;;;23344:4;23337:15;23391:4;23375:21;;;22989:149::o;60305:2454::-;60378:20;60401:13;60429;60425:44;;60451:18;;-1:-1:-1;;;60451:18:0;;;;;;;;;;;60425:44;-1:-1:-1;;;;;60957:22:0;;;;;;:18;:22;;;;33990:2;60957:22;;;:71;;60995:32;60983:45;;60957:71;;;61271:31;;;:17;:31;;;;;-1:-1:-1;47971:15:0;;47945:24;47941:46;47540:11;47515:23;47511:41;47508:52;47498:63;;61271:173;;61506:23;;;;61271:31;;60957:22;;62005:25;60957:22;;61858:335;62273:1;62259:12;62255:20;62213:346;62314:3;62305:7;62302:16;62213:346;;62532:7;62522:8;62519:1;62492:25;62489:1;62486;62481:59;62367:1;62354:15;62213:346;;;-1:-1:-1;62592:13:0;62588:45;;62614:19;;-1:-1:-1;;;62614:19:0;;;;;;;;;;;62588:45;62650:13;:19;-1:-1:-1;55861:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:689::-;3066:6;3074;3082;3135:2;3123:9;3114:7;3110:23;3106:32;3103:52;;;3151:1;3148;3141:12;3103:52;3191:9;3178:23;3220:18;3261:2;3253:6;3250:14;3247:34;;;3277:1;3274;3267:12;3247:34;3315:6;3304:9;3300:22;3290:32;;3360:7;3353:4;3349:2;3345:13;3341:27;3331:55;;3382:1;3379;3372:12;3331:55;3422:2;3409:16;3448:2;3440:6;3437:14;3434:34;;;3464:1;3461;3454:12;3434:34;3519:7;3512:4;3502:6;3499:1;3495:14;3491:2;3487:23;3483:34;3480:47;3477:67;;;3540:1;3537;3530:12;3477:67;3571:4;3563:13;;;;3595:6;;-1:-1:-1;3633:20:1;;;;3620:34;;2971:689;-1:-1:-1;;;;2971:689:1:o;3665:180::-;3721:6;3774:2;3762:9;3753:7;3749:23;3745:32;3742:52;;;3790:1;3787;3780:12;3742:52;3813:26;3829:9;3813:26;:::i;3850:180::-;3909:6;3962:2;3950:9;3941:7;3937:23;3933:32;3930:52;;;3978:1;3975;3968:12;3930:52;-1:-1:-1;4001:23:1;;3850:180;-1:-1:-1;3850:180:1:o;4035:245::-;4093:6;4146:2;4134:9;4125:7;4121:23;4117:32;4114:52;;;4162:1;4159;4152:12;4114:52;4201:9;4188:23;4220:30;4244:5;4220:30;:::i;4285:249::-;4354:6;4407:2;4395:9;4386:7;4382:23;4378:32;4375:52;;;4423:1;4420;4413:12;4375:52;4455:9;4449:16;4474:30;4498:5;4474:30;:::i;4539:450::-;4608:6;4661:2;4649:9;4640:7;4636:23;4632:32;4629:52;;;4677:1;4674;4667:12;4629:52;4717:9;4704:23;4750:18;4742:6;4739:30;4736:50;;;4782:1;4779;4772:12;4736:50;4805:22;;4858:4;4850:13;;4846:27;-1:-1:-1;4836:55:1;;4887:1;4884;4877:12;4836:55;4910:73;4975:7;4970:2;4957:16;4952:2;4948;4944:11;4910:73;:::i;5179:276::-;5237:6;5290:2;5278:9;5269:7;5265:23;5261:32;5258:52;;;5306:1;5303;5296:12;5258:52;5345:9;5332:23;5395:10;5388:5;5384:22;5377:5;5374:33;5364:61;;5421:1;5418;5411:12;5460:257;5501:3;5539:5;5533:12;5566:6;5561:3;5554:19;5582:63;5638:6;5631:4;5626:3;5622:14;5615:4;5608:5;5604:16;5582:63;:::i;:::-;5699:2;5678:15;-1:-1:-1;;5674:29:1;5665:39;;;;5706:4;5661:50;;5460:257;-1:-1:-1;;5460:257:1:o;5722:973::-;5807:12;;5772:3;;5862:1;5882:18;;;;5935;;;;5962:61;;6016:4;6008:6;6004:17;5994:27;;5962:61;6042:2;6090;6082:6;6079:14;6059:18;6056:38;6053:161;;;6136:10;6131:3;6127:20;6124:1;6117:31;6171:4;6168:1;6161:15;6199:4;6196:1;6189:15;6053:161;6230:18;6257:104;;;;6375:1;6370:319;;;;6223:466;;6257:104;-1:-1:-1;;6290:24:1;;6278:37;;6335:16;;;;-1:-1:-1;6257:104:1;;6370:319;13479:1;13472:14;;;13516:4;13503:18;;6464:1;6478:165;6492:6;6489:1;6486:13;6478:165;;;6570:14;;6557:11;;;6550:35;6613:16;;;;6507:10;;6478:165;;;6482:3;;6672:6;6667:3;6663:16;6656:23;;6223:466;;;;;;;5722:973;;;;:::o;6934:550::-;7158:3;7196:6;7190:13;7212:53;7258:6;7253:3;7246:4;7238:6;7234:17;7212:53;:::i;:::-;7328:13;;7287:16;;;;7350:57;7328:13;7287:16;7384:4;7372:17;;7350:57;:::i;:::-;7423:55;7468:8;7461:5;7457:20;7449:6;7423:55;:::i;:::-;7416:62;6934:550;-1:-1:-1;;;;;;;6934:550:1:o;7489:197::-;7617:3;7642:38;7676:3;7668:6;7642:38;:::i;8109:488::-;-1:-1:-1;;;;;8378:15:1;;;8360:34;;8430:15;;8425:2;8410:18;;8403:43;8477:2;8462:18;;8455:34;;;8525:3;8520:2;8505:18;;8498:31;;;8303:4;;8546:45;;8571:19;;8563:6;8546:45;:::i;:::-;8538:53;8109:488;-1:-1:-1;;;;;;8109:488:1:o;8794:219::-;8943:2;8932:9;8925:21;8906:4;8963:44;9003:2;8992:9;8988:18;8980:6;8963:44;:::i;13532:128::-;13572:3;13603:1;13599:6;13596:1;13593:13;13590:39;;;13609:18;;:::i;:::-;-1:-1:-1;13645:9:1;;13532:128::o;13665:120::-;13705:1;13731;13721:35;;13736:18;;:::i;:::-;-1:-1:-1;13770:9:1;;13665:120::o;13790:168::-;13830:7;13896:1;13892;13888:6;13884:14;13881:1;13878:21;13873:1;13866:9;13859:17;13855:45;13852:71;;;13903:18;;:::i;:::-;-1:-1:-1;13943:9:1;;13790:168::o;13963:125::-;14003:4;14031:1;14028;14025:8;14022:34;;;14036:18;;:::i;:::-;-1:-1:-1;14073:9:1;;13963:125::o;14093:258::-;14165:1;14175:113;14189:6;14186:1;14183:13;14175:113;;;14265:11;;;14259:18;14246:11;;;14239:39;14211:2;14204:10;14175:113;;;14306:6;14303:1;14300:13;14297:48;;;-1:-1:-1;;14341:1:1;14323:16;;14316:27;14093:258::o;14356:380::-;14435:1;14431:12;;;;14478;;;14499:61;;14553:4;14545:6;14541:17;14531:27;;14499:61;14606:2;14598:6;14595:14;14575:18;14572:38;14569:161;;;14652:10;14647:3;14643:20;14640:1;14633:31;14687:4;14684:1;14677:15;14715:4;14712:1;14705:15;14569:161;;14356:380;;;:::o;14741:135::-;14780:3;-1:-1:-1;;14801:17:1;;14798:43;;;14821:18;;:::i;:::-;-1:-1:-1;14868:1:1;14857:13;;14741:135::o;14881:112::-;14913:1;14939;14929:35;;14944:18;;:::i;:::-;-1:-1:-1;14978:9:1;;14881:112::o;14998:127::-;15059:10;15054:3;15050:20;15047:1;15040:31;15090:4;15087:1;15080:15;15114:4;15111:1;15104:15;15130:127;15191:10;15186:3;15182:20;15179:1;15172:31;15222:4;15219:1;15212:15;15246:4;15243:1;15236:15;15262:127;15323:10;15318:3;15314:20;15311:1;15304:31;15354:4;15351:1;15344:15;15378:4;15375:1;15368:15;15394:127;15455:10;15450:3;15446:20;15443:1;15436:31;15486:4;15483:1;15476:15;15510:4;15507:1;15500:15;15526:131;-1:-1:-1;;;;;;15600:32:1;;15590:43;;15580:71;;15647:1;15644;15637:12
Swarm Source
ipfs://2cc4ca4a0a2af61dde17d4c4a80dbbf6b77ef9baa4f71a4c10b3269242f6415e
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.