ERC-721
Overview
Max Total Supply
1,236 UGFA
Holders
909
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 UGFALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UglyFacesNFT
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-07 */ // File: contracts/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: contracts/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: contracts/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/UglyFacesNFT.sol pragma solidity ^0.8.12; interface UglyFacesMetadataManager { function tokenURI(uint256 tokenId) external view returns (string memory); } contract UglyFacesNFT is ERC721A("Ugly Faces", "UGFA"), Ownable, DefaultOperatorFilterer { uint256 public maxSupply = 3000; bool public saleStarted; bytes32 public merkleRoot; mapping(uint256 => bytes32) public tokenDNA; mapping(uint256 => bytes) public pausedTokenGenes; UglyFacesMetadataManager metadataManager = UglyFacesMetadataManager(0xe2e6bE06f968BE0d6D6967e5d64505E70889a1C2); function setSaleStarted(bool _saleStarted) external onlyOwner { saleStarted = _saleStarted; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { require(_maxSupply < maxSupply, "Can't increase max supply"); require(totalSupply() <= _maxSupply, "Can't decrease max supply below current supply"); maxSupply = _maxSupply; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function setMetadataManager(address _metadataManager) external onlyOwner { metadataManager = UglyFacesMetadataManager(_metadataManager); } function isWhitelisted(address user, uint256 amount, bytes32[] calldata _merkleProof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(user, amount)); return MerkleProof.verify(_merkleProof, merkleRoot, leaf); } function getTokenGenes(uint256 tokenId) public view returns (bytes memory) { if (pausedTokenGenes[tokenId].length == 0) { return abi.encodePacked(tokenDNA[tokenId], (block.timestamp + 25200)/86400); } else { return pausedTokenGenes[tokenId]; } } function isPaused(uint256 tokenId) public view returns (bool) { return pausedTokenGenes[tokenId].length != 0; } function pauseDNAGeneration(uint256 tokenId) external { require(ownerOf(tokenId) == msg.sender, "Only the token owner can pause token DNA"); require(pausedTokenGenes[tokenId].length == 0, "Token DNA is already paused"); pausedTokenGenes[tokenId] = abi.encodePacked(tokenDNA[tokenId], (block.timestamp + 25200)/86400); } function unpauseDNAGeneration(uint256 tokenId) external { require(ownerOf(tokenId) == msg.sender, "Only the token owner can unpause token DNA"); require(pausedTokenGenes[tokenId].length > 0, "Token DNA is already unpaused"); delete pausedTokenGenes[tokenId]; } function mint(uint256 amount, uint256 maxAmount, bytes32[] calldata _merkleProof) external { require(saleStarted, "Sale has not started yet"); require(_totalMinted() + amount <= maxSupply, "Max Supply Exceeded"); require(isWhitelisted(msg.sender, maxAmount, _merkleProof), "Address not whitelisted"); require(_numberMinted(msg.sender) + amount <= maxAmount, "Address cannot mint more tokens"); unchecked { uint256 startToken = _nextTokenId(); for (uint256 i = 0; i < amount; i++) { tokenDNA[startToken + i] = keccak256(abi.encodePacked(msg.sender, startToken + i)); } } _safeMint(msg.sender, amount); } function numberMinted(address user) public view returns (uint256) { return _numberMinted(user); } function adminMint(address to, uint256 amount) external onlyOwner { require(_totalMinted() + amount <= maxSupply, "Max Supply Exceeded"); //require(amount <= 30, "Max mint per transaction exceeded"); unchecked { uint256 startToken = _nextTokenId(); for (uint256 i = 0; i < amount; i++) { tokenDNA[startToken + i] = keccak256(abi.encodePacked(msg.sender, startToken + i)); } } _safeMint(to, amount); } function rescueFunds(address to) external onlyOwner { uint256 balance = address(this).balance; (bool callSuccess, ) = payable(to).call{value: balance}(""); require(callSuccess, "Call failed"); } function rescueToken(address token) external onlyOwner { IERC20 tokenContract = IERC20(token); uint256 balance = tokenContract.balanceOf(address(this)); tokenContract.transfer(msg.sender, balance); } function tokenURI(uint256 tokenId) public view override returns (string memory) { return metadataManager.tokenURI(tokenId); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenGenes","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"pauseDNAGeneration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pausedTokenGenes","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_metadataManager","type":"address"}],"name":"setMetadataManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_saleStarted","type":"bool"}],"name":"setSaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenDNA","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unpauseDNAGeneration","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610bb8600955600e80546001600160a01b03191673e2e6be06f968be0d6d6967e5d64505e70889a1c21790553480156200003d57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a81526020016955676c7920466163657360b01b815250604051806040016040528060048152602001635547464160e01b8152508160029081620000a691906200030b565b506003620000b582826200030b565b50506000805550620000c73362000214565b6daaeb6d7670e522a718067333cd4e3b156200020c5780156200015a57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200013b57600080fd5b505af115801562000150573d6000803e3d6000fd5b505050506200020c565b6001600160a01b03821615620001ab5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000120565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001f257600080fd5b505af115801562000207573d6000803e3d6000fd5b505050505b5050620003d7565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029157607f821691505b602082108103620002b257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030657600081815260208120601f850160051c81016020861015620002e15750805b601f850160051c820191505b818110156200030257828155600101620002ed565b5050505b505050565b81516001600160401b0381111562000327576200032762000266565b6200033f816200033884546200027c565b84620002b8565b602080601f8311600181146200037757600084156200035e5750858301515b600019600386901b1c1916600185901b17855562000302565b600085815260208120601f198616915b82811015620003a85788860151825594840194600190910190840162000387565b5085821015620003c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61232980620003e76000396000f3fe60806040526004361061021a5760003560e01c80637cb6475911610123578063be65d751116100ab578063e58306f91161006f578063e58306f9146105fc578063e6d37b881461061c578063e985e9c51461063c578063f2fde38b1461065c578063faf7a8261461067c57600080fd5b8063be65d75114610559578063c87b56dd14610586578063d5abeb01146105a6578063dc33e681146105bc578063e53b2017146105dc57600080fd5b8063a22cb465116100f2578063a22cb465146104c6578063a854ffba146104e6578063b6fce0d414610506578063b88d4fde14610526578063bdf2a43c1461053957600080fd5b80637cb64759146104535780638069b9af146104735780638da5cb5b1461049357806395d89b41146104b157600080fd5b806341f43434116101a65780635ced2dde116101755780635ced2dde146103be5780636352211e146103de5780636f8b44b0146103fe57806370a082311461041e578063715018a61461043e57600080fd5b806341f434341461034f57806342842e0e146103715780634460d3cf146103845780635c474f9e146103a457600080fd5b8063124cc077116101ed578063124cc077146102c357806313728288146102e357806318160ddd1461030357806323b872dd146103265780632eb4a7ab1461033957600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611c4f565b61069c565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106ee565b60405161024b9190611cbc565b34801561028257600080fd5b50610296610291366004611ccf565b610780565b6040516001600160a01b03909116815260200161024b565b6102c16102bc366004611cff565b6107c4565b005b3480156102cf57600080fd5b506102c16102de366004611d29565b6107dd565b3480156102ef57600080fd5b506102c16102fe366004611ccf565b610807565b34801561030f57600080fd5b50600154600054035b60405190815260200161024b565b6102c1610334366004611d44565b61094a565b34801561034557600080fd5b50610318600b5481565b34801561035b57600080fd5b506102966daaeb6d7670e522a718067333cd4e81565b6102c161037f366004611d44565b610975565b34801561039057600080fd5b506102c161039f366004611d29565b61099a565b3480156103b057600080fd5b50600a5461023f9060ff1681565b3480156103ca57600080fd5b506102696103d9366004611ccf565b610a83565b3480156103ea57600080fd5b506102966103f9366004611ccf565b610b1d565b34801561040a57600080fd5b506102c1610419366004611ccf565b610b28565b34801561042a57600080fd5b50610318610439366004611d29565b610bf9565b34801561044a57600080fd5b506102c1610c48565b34801561045f57600080fd5b506102c161046e366004611ccf565b610c5c565b34801561047f57600080fd5b506102c161048e366004611ccf565b610c69565b34801561049f57600080fd5b506008546001600160a01b0316610296565b3480156104bd57600080fd5b50610269610d5e565b3480156104d257600080fd5b506102c16104e1366004611d8e565b610d6d565b3480156104f257600080fd5b506102c1610501366004611dc5565b610d81565b34801561051257600080fd5b50610269610521366004611ccf565b610d9c565b6102c1610534366004611e51565b610eb6565b34801561054557600080fd5b5061023f610554366004611ccf565b610ee3565b34801561056557600080fd5b50610318610574366004611ccf565b600c6020526000908152604090205481565b34801561059257600080fd5b506102696105a1366004611ccf565b610f05565b3480156105b257600080fd5b5061031860095481565b3480156105c857600080fd5b506103186105d7366004611d29565b610f77565b3480156105e857600080fd5b506102c16105f7366004611d29565b610fa2565b34801561060857600080fd5b506102c1610617366004611cff565b61103b565b34801561062857600080fd5b506102c1610637366004611f48565b6110fd565b34801561064857600080fd5b5061023f610657366004611f9b565b6112d9565b34801561066857600080fd5b506102c1610677366004611d29565b611307565b34801561068857600080fd5b5061023f610697366004611fce565b61137d565b60006301ffc9a760e01b6001600160e01b0319831614806106cd57506380ac58cd60e01b6001600160e01b03198316145b806106e85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106fd90612010565b80601f016020809104026020016040519081016040528092919081815260200182805461072990612010565b80156107765780601f1061074b57610100808354040283529160200191610776565b820191906000526020600020905b81548152906001019060200180831161075957829003601f168201915b5050505050905090565b600061078b826113f8565b6107a8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816107ce8161141f565b6107d883836114d8565b505050565b6107e5611578565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b3361081182610b1d565b6001600160a01b03161461087d5760405162461bcd60e51b815260206004820152602860248201527f4f6e6c792074686520746f6b656e206f776e65722063616e20706175736520746044820152676f6b656e20444e4160c01b60648201526084015b60405180910390fd5b6000818152600d60205260409020805461089690612010565b1590506108e55760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e20444e4120697320616c72656164792070617573656400000000006044820152606401610874565b6000818152600c60205260409020546201518061090442616270612060565b61090e9190612073565b60408051602081019390935282015260600160408051601f198184030181529181526000838152600d602052209061094690826120db565b5050565b826001600160a01b0381163314610964576109643361141f565b61096f8484846115d2565b50505050565b826001600160a01b038116331461098f5761098f3361141f565b61096f84848461176b565b6109a2611578565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156109eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0f919061219b565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610a5f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096f91906121b4565b600d6020526000908152604090208054610a9c90612010565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac890612010565b8015610b155780601f10610aea57610100808354040283529160200191610b15565b820191906000526020600020905b815481529060010190602001808311610af857829003601f168201915b505050505081565b60006106e882611786565b610b30611578565b6009548110610b815760405162461bcd60e51b815260206004820152601960248201527f43616e277420696e637265617365206d617820737570706c79000000000000006044820152606401610874565b80610b8f6001546000540390565b1115610bf45760405162461bcd60e51b815260206004820152602e60248201527f43616e2774206465637265617365206d617820737570706c792062656c6f772060448201526d63757272656e7420737570706c7960901b6064820152608401610874565b600955565b60006001600160a01b038216610c22576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c50611578565b610c5a60006117f4565b565b610c64611578565b600b55565b33610c7382610b1d565b6001600160a01b031614610cdc5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792074686520746f6b656e206f776e65722063616e20756e706175736560448201526920746f6b656e20444e4160b01b6064820152608401610874565b6000818152600d602052604081208054610cf590612010565b905011610d445760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e20444e4120697320616c726561647920756e7061757365640000006044820152606401610874565b6000818152600d60205260408120610d5b91611beb565b50565b6060600380546106fd90612010565b81610d778161141f565b6107d88383611846565b610d89611578565b600a805460ff1916911515919091179055565b6000818152600d60205260409020805460609190610db990612010565b9050600003610e13576000828152600c602052604090205462015180610de142616270612060565b610deb9190612073565b6040805160208101939093528201526060016040516020818303038152906040529050919050565b6000828152600d602052604090208054610e2c90612010565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5890612010565b8015610ea55780601f10610e7a57610100808354040283529160200191610ea5565b820191906000526020600020905b815481529060010190602001808311610e8857829003601f168201915b50505050509050919050565b919050565b836001600160a01b0381163314610ed057610ed03361141f565b610edc858585856118b2565b5050505050565b6000818152600d602052604081208054610efc90612010565b15159392505050565b600e5460405163c87b56dd60e01b8152600481018390526060916001600160a01b03169063c87b56dd90602401600060405180830381865afa158015610f4f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106e891908101906121d1565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166106e8565b610faa611578565b60405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610ff7576040519150601f19603f3d011682016040523d82523d6000602084013e610ffc565b606091505b50509050806107d85760405162461bcd60e51b815260206004820152600b60248201526a10d85b1b0819985a5b195960aa1b6044820152606401610874565b611043611578565b6009548161105060005490565b61105a9190612060565b111561109e5760405162461bcd60e51b815260206004820152601360248201527213585e0814dd5c1c1b1e48115e18d959591959606a1b6044820152606401610874565b60008054905b828110156110f157338183016040516020016110c1929190612248565b60408051601f1981840301815291815281516020928301208484016000908152600c9093529120556001016110a4565b505061094682826118f6565b600a5460ff1661114f5760405162461bcd60e51b815260206004820152601860248201527f53616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610874565b6009548461115c60005490565b6111669190612060565b11156111aa5760405162461bcd60e51b815260206004820152601360248201527213585e0814dd5c1c1b1e48115e18d959591959606a1b6044820152606401610874565b6111b63384848461137d565b6112025760405162461bcd60e51b815260206004820152601760248201527f41646472657373206e6f742077686974656c69737465640000000000000000006044820152606401610874565b336000908152600560205260409081902054849161122c9187911c67ffffffffffffffff16612060565b111561127a5760405162461bcd60e51b815260206004820152601f60248201527f416464726573732063616e6e6f74206d696e74206d6f726520746f6b656e73006044820152606401610874565b60008054905b858110156112cd573381830160405160200161129d929190612248565b60408051601f1981840301815291815281516020928301208484016000908152600c909352912055600101611280565b505061096f33856118f6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61130f611578565b6001600160a01b0381166113745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610874565b610d5b816117f4565b6000808585604051602001611393929190612248565b6040516020818303038152906040528051906020012090506113ec84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611910565b9150505b949350505050565b60008054821080156106e8575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610d5b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561148c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b091906121b4565b610d5b57604051633b79c77360e21b81526001600160a01b0382166004820152602401610874565b60006114e382610b1d565b9050336001600160a01b0382161461151c576114ff81336112d9565b61151c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610c5a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610874565b60006115dd82611786565b9050836001600160a01b0316816001600160a01b0316146116105760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761165d5761164086336112d9565b61165d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661168457604051633a954ecd60e21b815260040160405180910390fd5b801561168f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036117215760018401600081815260046020526040812054900361171f57600054811461171f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6107d883838360405180602001604052806000815250610eb6565b6000816000548110156117db5760008181526004602052604081205490600160e01b821690036117d9575b806000036117d25750600019016000818152600460205260409020546117b1565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6118bd84848461094a565b6001600160a01b0383163b1561096f576118d984848484611926565b61096f576040516368d2bf6b60e11b815260040160405180910390fd5b610946828260405180602001604052806000815250611a0e565b60008261191d8584611a74565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061195b90339089908890889060040161226a565b6020604051808303816000875af1925050508015611996575060408051601f3d908101601f19168201909252611993918101906122a7565b60015b6119f4573d8080156119c4576040519150601f19603f3d011682016040523d82523d6000602084013e6119c9565b606091505b5080516000036119ec576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113f0565b611a188383611ac1565b6001600160a01b0383163b156107d8576000548281035b611a426000868380600101945086611926565b611a5f576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a2f578160005414610edc57600080fd5b600081815b8451811015611ab957611aa582868381518110611a9857611a986122c4565b6020026020010151611bbf565b915080611ab1816122da565b915050611a79565b509392505050565b6000805490829003611ae65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b9557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b5d565b5081600003611bb657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310611bdb5760008281526020849052604090206117d2565b5060009182526020526040902090565b508054611bf790612010565b6000825580601f10611c07575050565b601f016020900490600052602060002090810190610d5b91905b80821115611c355760008155600101611c21565b5090565b6001600160e01b031981168114610d5b57600080fd5b600060208284031215611c6157600080fd5b81356117d281611c39565b60005b83811015611c87578181015183820152602001611c6f565b50506000910152565b60008151808452611ca8816020860160208601611c6c565b601f01601f19169290920160200192915050565b6020815260006117d26020830184611c90565b600060208284031215611ce157600080fd5b5035919050565b80356001600160a01b0381168114610eb157600080fd5b60008060408385031215611d1257600080fd5b611d1b83611ce8565b946020939093013593505050565b600060208284031215611d3b57600080fd5b6117d282611ce8565b600080600060608486031215611d5957600080fd5b611d6284611ce8565b9250611d7060208501611ce8565b9150604084013590509250925092565b8015158114610d5b57600080fd5b60008060408385031215611da157600080fd5b611daa83611ce8565b91506020830135611dba81611d80565b809150509250929050565b600060208284031215611dd757600080fd5b81356117d281611d80565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611e2157611e21611de2565b604052919050565b600067ffffffffffffffff821115611e4357611e43611de2565b50601f01601f191660200190565b60008060008060808587031215611e6757600080fd5b611e7085611ce8565b9350611e7e60208601611ce8565b925060408501359150606085013567ffffffffffffffff811115611ea157600080fd5b8501601f81018713611eb257600080fd5b8035611ec5611ec082611e29565b611df8565b818152886020838501011115611eda57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008083601f840112611f0e57600080fd5b50813567ffffffffffffffff811115611f2657600080fd5b6020830191508360208260051b8501011115611f4157600080fd5b9250929050565b60008060008060608587031215611f5e57600080fd5b8435935060208501359250604085013567ffffffffffffffff811115611f8357600080fd5b611f8f87828801611efc565b95989497509550505050565b60008060408385031215611fae57600080fd5b611fb783611ce8565b9150611fc560208401611ce8565b90509250929050565b60008060008060608587031215611fe457600080fd5b611fed85611ce8565b935060208501359250604085013567ffffffffffffffff811115611f8357600080fd5b600181811c9082168061202457607f821691505b60208210810361204457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106e8576106e861204a565b60008261209057634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156107d857600081815260208120601f850160051c810160208610156120bc5750805b601f850160051c820191505b81811015611763578281556001016120c8565b815167ffffffffffffffff8111156120f5576120f5611de2565b612109816121038454612010565b84612095565b602080601f83116001811461213e57600084156121265750858301515b600019600386901b1c1916600185901b178555611763565b600085815260208120601f198616915b8281101561216d5788860151825594840194600190910190840161214e565b508582101561218b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156121ad57600080fd5b5051919050565b6000602082840312156121c657600080fd5b81516117d281611d80565b6000602082840312156121e357600080fd5b815167ffffffffffffffff8111156121fa57600080fd5b8201601f8101841361220b57600080fd5b8051612219611ec082611e29565b81815285602083850101111561222e57600080fd5b61223f826020830160208601611c6c565b95945050505050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061229d90830184611c90565b9695505050505050565b6000602082840312156122b957600080fd5b81516117d281611c39565b634e487b7160e01b600052603260045260246000fd5b6000600182016122ec576122ec61204a565b506001019056fea264697066735822122017e52403b4e8b17a89f16a0a4c3528ad06993ac85020313c5cc0c244410c82d864736f6c63430008110033
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80637cb6475911610123578063be65d751116100ab578063e58306f91161006f578063e58306f9146105fc578063e6d37b881461061c578063e985e9c51461063c578063f2fde38b1461065c578063faf7a8261461067c57600080fd5b8063be65d75114610559578063c87b56dd14610586578063d5abeb01146105a6578063dc33e681146105bc578063e53b2017146105dc57600080fd5b8063a22cb465116100f2578063a22cb465146104c6578063a854ffba146104e6578063b6fce0d414610506578063b88d4fde14610526578063bdf2a43c1461053957600080fd5b80637cb64759146104535780638069b9af146104735780638da5cb5b1461049357806395d89b41146104b157600080fd5b806341f43434116101a65780635ced2dde116101755780635ced2dde146103be5780636352211e146103de5780636f8b44b0146103fe57806370a082311461041e578063715018a61461043e57600080fd5b806341f434341461034f57806342842e0e146103715780634460d3cf146103845780635c474f9e146103a457600080fd5b8063124cc077116101ed578063124cc077146102c357806313728288146102e357806318160ddd1461030357806323b872dd146103265780632eb4a7ab1461033957600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611c4f565b61069c565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106ee565b60405161024b9190611cbc565b34801561028257600080fd5b50610296610291366004611ccf565b610780565b6040516001600160a01b03909116815260200161024b565b6102c16102bc366004611cff565b6107c4565b005b3480156102cf57600080fd5b506102c16102de366004611d29565b6107dd565b3480156102ef57600080fd5b506102c16102fe366004611ccf565b610807565b34801561030f57600080fd5b50600154600054035b60405190815260200161024b565b6102c1610334366004611d44565b61094a565b34801561034557600080fd5b50610318600b5481565b34801561035b57600080fd5b506102966daaeb6d7670e522a718067333cd4e81565b6102c161037f366004611d44565b610975565b34801561039057600080fd5b506102c161039f366004611d29565b61099a565b3480156103b057600080fd5b50600a5461023f9060ff1681565b3480156103ca57600080fd5b506102696103d9366004611ccf565b610a83565b3480156103ea57600080fd5b506102966103f9366004611ccf565b610b1d565b34801561040a57600080fd5b506102c1610419366004611ccf565b610b28565b34801561042a57600080fd5b50610318610439366004611d29565b610bf9565b34801561044a57600080fd5b506102c1610c48565b34801561045f57600080fd5b506102c161046e366004611ccf565b610c5c565b34801561047f57600080fd5b506102c161048e366004611ccf565b610c69565b34801561049f57600080fd5b506008546001600160a01b0316610296565b3480156104bd57600080fd5b50610269610d5e565b3480156104d257600080fd5b506102c16104e1366004611d8e565b610d6d565b3480156104f257600080fd5b506102c1610501366004611dc5565b610d81565b34801561051257600080fd5b50610269610521366004611ccf565b610d9c565b6102c1610534366004611e51565b610eb6565b34801561054557600080fd5b5061023f610554366004611ccf565b610ee3565b34801561056557600080fd5b50610318610574366004611ccf565b600c6020526000908152604090205481565b34801561059257600080fd5b506102696105a1366004611ccf565b610f05565b3480156105b257600080fd5b5061031860095481565b3480156105c857600080fd5b506103186105d7366004611d29565b610f77565b3480156105e857600080fd5b506102c16105f7366004611d29565b610fa2565b34801561060857600080fd5b506102c1610617366004611cff565b61103b565b34801561062857600080fd5b506102c1610637366004611f48565b6110fd565b34801561064857600080fd5b5061023f610657366004611f9b565b6112d9565b34801561066857600080fd5b506102c1610677366004611d29565b611307565b34801561068857600080fd5b5061023f610697366004611fce565b61137d565b60006301ffc9a760e01b6001600160e01b0319831614806106cd57506380ac58cd60e01b6001600160e01b03198316145b806106e85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106fd90612010565b80601f016020809104026020016040519081016040528092919081815260200182805461072990612010565b80156107765780601f1061074b57610100808354040283529160200191610776565b820191906000526020600020905b81548152906001019060200180831161075957829003601f168201915b5050505050905090565b600061078b826113f8565b6107a8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816107ce8161141f565b6107d883836114d8565b505050565b6107e5611578565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b3361081182610b1d565b6001600160a01b03161461087d5760405162461bcd60e51b815260206004820152602860248201527f4f6e6c792074686520746f6b656e206f776e65722063616e20706175736520746044820152676f6b656e20444e4160c01b60648201526084015b60405180910390fd5b6000818152600d60205260409020805461089690612010565b1590506108e55760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e20444e4120697320616c72656164792070617573656400000000006044820152606401610874565b6000818152600c60205260409020546201518061090442616270612060565b61090e9190612073565b60408051602081019390935282015260600160408051601f198184030181529181526000838152600d602052209061094690826120db565b5050565b826001600160a01b0381163314610964576109643361141f565b61096f8484846115d2565b50505050565b826001600160a01b038116331461098f5761098f3361141f565b61096f84848461176b565b6109a2611578565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156109eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0f919061219b565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610a5f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096f91906121b4565b600d6020526000908152604090208054610a9c90612010565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac890612010565b8015610b155780601f10610aea57610100808354040283529160200191610b15565b820191906000526020600020905b815481529060010190602001808311610af857829003601f168201915b505050505081565b60006106e882611786565b610b30611578565b6009548110610b815760405162461bcd60e51b815260206004820152601960248201527f43616e277420696e637265617365206d617820737570706c79000000000000006044820152606401610874565b80610b8f6001546000540390565b1115610bf45760405162461bcd60e51b815260206004820152602e60248201527f43616e2774206465637265617365206d617820737570706c792062656c6f772060448201526d63757272656e7420737570706c7960901b6064820152608401610874565b600955565b60006001600160a01b038216610c22576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c50611578565b610c5a60006117f4565b565b610c64611578565b600b55565b33610c7382610b1d565b6001600160a01b031614610cdc5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792074686520746f6b656e206f776e65722063616e20756e706175736560448201526920746f6b656e20444e4160b01b6064820152608401610874565b6000818152600d602052604081208054610cf590612010565b905011610d445760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e20444e4120697320616c726561647920756e7061757365640000006044820152606401610874565b6000818152600d60205260408120610d5b91611beb565b50565b6060600380546106fd90612010565b81610d778161141f565b6107d88383611846565b610d89611578565b600a805460ff1916911515919091179055565b6000818152600d60205260409020805460609190610db990612010565b9050600003610e13576000828152600c602052604090205462015180610de142616270612060565b610deb9190612073565b6040805160208101939093528201526060016040516020818303038152906040529050919050565b6000828152600d602052604090208054610e2c90612010565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5890612010565b8015610ea55780601f10610e7a57610100808354040283529160200191610ea5565b820191906000526020600020905b815481529060010190602001808311610e8857829003601f168201915b50505050509050919050565b919050565b836001600160a01b0381163314610ed057610ed03361141f565b610edc858585856118b2565b5050505050565b6000818152600d602052604081208054610efc90612010565b15159392505050565b600e5460405163c87b56dd60e01b8152600481018390526060916001600160a01b03169063c87b56dd90602401600060405180830381865afa158015610f4f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106e891908101906121d1565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166106e8565b610faa611578565b60405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610ff7576040519150601f19603f3d011682016040523d82523d6000602084013e610ffc565b606091505b50509050806107d85760405162461bcd60e51b815260206004820152600b60248201526a10d85b1b0819985a5b195960aa1b6044820152606401610874565b611043611578565b6009548161105060005490565b61105a9190612060565b111561109e5760405162461bcd60e51b815260206004820152601360248201527213585e0814dd5c1c1b1e48115e18d959591959606a1b6044820152606401610874565b60008054905b828110156110f157338183016040516020016110c1929190612248565b60408051601f1981840301815291815281516020928301208484016000908152600c9093529120556001016110a4565b505061094682826118f6565b600a5460ff1661114f5760405162461bcd60e51b815260206004820152601860248201527f53616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610874565b6009548461115c60005490565b6111669190612060565b11156111aa5760405162461bcd60e51b815260206004820152601360248201527213585e0814dd5c1c1b1e48115e18d959591959606a1b6044820152606401610874565b6111b63384848461137d565b6112025760405162461bcd60e51b815260206004820152601760248201527f41646472657373206e6f742077686974656c69737465640000000000000000006044820152606401610874565b336000908152600560205260409081902054849161122c9187911c67ffffffffffffffff16612060565b111561127a5760405162461bcd60e51b815260206004820152601f60248201527f416464726573732063616e6e6f74206d696e74206d6f726520746f6b656e73006044820152606401610874565b60008054905b858110156112cd573381830160405160200161129d929190612248565b60408051601f1981840301815291815281516020928301208484016000908152600c909352912055600101611280565b505061096f33856118f6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61130f611578565b6001600160a01b0381166113745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610874565b610d5b816117f4565b6000808585604051602001611393929190612248565b6040516020818303038152906040528051906020012090506113ec84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611910565b9150505b949350505050565b60008054821080156106e8575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610d5b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561148c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b091906121b4565b610d5b57604051633b79c77360e21b81526001600160a01b0382166004820152602401610874565b60006114e382610b1d565b9050336001600160a01b0382161461151c576114ff81336112d9565b61151c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610c5a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610874565b60006115dd82611786565b9050836001600160a01b0316816001600160a01b0316146116105760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761165d5761164086336112d9565b61165d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661168457604051633a954ecd60e21b815260040160405180910390fd5b801561168f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036117215760018401600081815260046020526040812054900361171f57600054811461171f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6107d883838360405180602001604052806000815250610eb6565b6000816000548110156117db5760008181526004602052604081205490600160e01b821690036117d9575b806000036117d25750600019016000818152600460205260409020546117b1565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6118bd84848461094a565b6001600160a01b0383163b1561096f576118d984848484611926565b61096f576040516368d2bf6b60e11b815260040160405180910390fd5b610946828260405180602001604052806000815250611a0e565b60008261191d8584611a74565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061195b90339089908890889060040161226a565b6020604051808303816000875af1925050508015611996575060408051601f3d908101601f19168201909252611993918101906122a7565b60015b6119f4573d8080156119c4576040519150601f19603f3d011682016040523d82523d6000602084013e6119c9565b606091505b5080516000036119ec576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113f0565b611a188383611ac1565b6001600160a01b0383163b156107d8576000548281035b611a426000868380600101945086611926565b611a5f576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a2f578160005414610edc57600080fd5b600081815b8451811015611ab957611aa582868381518110611a9857611a986122c4565b6020026020010151611bbf565b915080611ab1816122da565b915050611a79565b509392505050565b6000805490829003611ae65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b9557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b5d565b5081600003611bb657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000818310611bdb5760008281526020849052604090206117d2565b5060009182526020526040902090565b508054611bf790612010565b6000825580601f10611c07575050565b601f016020900490600052602060002090810190610d5b91905b80821115611c355760008155600101611c21565b5090565b6001600160e01b031981168114610d5b57600080fd5b600060208284031215611c6157600080fd5b81356117d281611c39565b60005b83811015611c87578181015183820152602001611c6f565b50506000910152565b60008151808452611ca8816020860160208601611c6c565b601f01601f19169290920160200192915050565b6020815260006117d26020830184611c90565b600060208284031215611ce157600080fd5b5035919050565b80356001600160a01b0381168114610eb157600080fd5b60008060408385031215611d1257600080fd5b611d1b83611ce8565b946020939093013593505050565b600060208284031215611d3b57600080fd5b6117d282611ce8565b600080600060608486031215611d5957600080fd5b611d6284611ce8565b9250611d7060208501611ce8565b9150604084013590509250925092565b8015158114610d5b57600080fd5b60008060408385031215611da157600080fd5b611daa83611ce8565b91506020830135611dba81611d80565b809150509250929050565b600060208284031215611dd757600080fd5b81356117d281611d80565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611e2157611e21611de2565b604052919050565b600067ffffffffffffffff821115611e4357611e43611de2565b50601f01601f191660200190565b60008060008060808587031215611e6757600080fd5b611e7085611ce8565b9350611e7e60208601611ce8565b925060408501359150606085013567ffffffffffffffff811115611ea157600080fd5b8501601f81018713611eb257600080fd5b8035611ec5611ec082611e29565b611df8565b818152886020838501011115611eda57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008083601f840112611f0e57600080fd5b50813567ffffffffffffffff811115611f2657600080fd5b6020830191508360208260051b8501011115611f4157600080fd5b9250929050565b60008060008060608587031215611f5e57600080fd5b8435935060208501359250604085013567ffffffffffffffff811115611f8357600080fd5b611f8f87828801611efc565b95989497509550505050565b60008060408385031215611fae57600080fd5b611fb783611ce8565b9150611fc560208401611ce8565b90509250929050565b60008060008060608587031215611fe457600080fd5b611fed85611ce8565b935060208501359250604085013567ffffffffffffffff811115611f8357600080fd5b600181811c9082168061202457607f821691505b60208210810361204457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106e8576106e861204a565b60008261209057634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156107d857600081815260208120601f850160051c810160208610156120bc5750805b601f850160051c820191505b81811015611763578281556001016120c8565b815167ffffffffffffffff8111156120f5576120f5611de2565b612109816121038454612010565b84612095565b602080601f83116001811461213e57600084156121265750858301515b600019600386901b1c1916600185901b178555611763565b600085815260208120601f198616915b8281101561216d5788860151825594840194600190910190840161214e565b508582101561218b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156121ad57600080fd5b5051919050565b6000602082840312156121c657600080fd5b81516117d281611d80565b6000602082840312156121e357600080fd5b815167ffffffffffffffff8111156121fa57600080fd5b8201601f8101841361220b57600080fd5b8051612219611ec082611e29565b81815285602083850101111561222e57600080fd5b61223f826020830160208601611c6c565b95945050505050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061229d90830184611c90565b9695505050505050565b6000602082840312156122b957600080fd5b81516117d281611c39565b634e487b7160e01b600052603260045260246000fd5b6000600182016122ec576122ec61204a565b506001019056fea264697066735822122017e52403b4e8b17a89f16a0a4c3528ad06993ac85020313c5cc0c244410c82d864736f6c63430008110033
Deployed Bytecode Sourcemap
73017:5426:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36194:639;;;;;;;;;;-1:-1:-1;36194:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36194:639:0;;;;;;;;37096:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43587:218::-;;;;;;;;;;-1:-1:-1;43587:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;43587:218:0;1533:203:1;77656:165:0;;;;;;:::i;:::-;;:::i;:::-;;73957:152;;;;;;;;;;-1:-1:-1;73957:152:0;;;;;:::i;:::-;;:::i;74825:351::-;;;;;;;;;;-1:-1:-1;74825:351:0;;;;;:::i;:::-;;:::i;32847:323::-;;;;;;;;;;-1:-1:-1;33121:12:0;;32908:7;33105:13;:28;32847:323;;;2515:25:1;;;2503:2;2488:18;32847:323:0;2369:177:1;77829:171:0;;;;;;:::i;:::-;;:::i;73187:25::-;;;;;;;;;;;;;;;;2889:143;;;;;;;;;;;;2989:42;2889:143;;78008:179;;;;;;:::i;:::-;;:::i;77086:231::-;;;;;;;;;;-1:-1:-1;77086:231:0;;;;;:::i;:::-;;:::i;73157:23::-;;;;;;;;;;-1:-1:-1;73157:23:0;;;;;;;;73271:49;;;;;;;;;;-1:-1:-1;73271:49:0;;;;;:::i;:::-;;:::i;38489:152::-;;;;;;;;;;-1:-1:-1;38489:152:0;;;;;:::i;:::-;;:::i;73565:270::-;;;;;;;;;;-1:-1:-1;73565:270:0;;;;;:::i;:::-;;:::i;34031:233::-;;;;;;;;;;-1:-1:-1;34031:233:0;;;;;:::i;:::-;;:::i;71999:103::-;;;;;;;;;;;;;:::i;73843:106::-;;;;;;;;;;-1:-1:-1;73843:106:0;;;;;:::i;:::-;;:::i;75184:292::-;;;;;;;;;;-1:-1:-1;75184:292:0;;;;;:::i;:::-;;:::i;71351:87::-;;;;;;;;;;-1:-1:-1;71424:6:0;;-1:-1:-1;;;;;71424:6:0;71351:87;;37272:104;;;;;;;;;;;;;:::i;77472:176::-;;;;;;;;;;-1:-1:-1;77472:176:0;;;;;:::i;:::-;;:::i;73450:107::-;;;;;;;;;;-1:-1:-1;73450:107:0;;;;;:::i;:::-;;:::i;74381:303::-;;;;;;;;;;-1:-1:-1;74381:303:0;;;;;:::i;:::-;;:::i;78195:245::-;;;;;;:::i;:::-;;:::i;74692:125::-;;;;;;;;;;-1:-1:-1;74692:125:0;;;;;:::i;:::-;;:::i;73221:43::-;;;;;;;;;;-1:-1:-1;73221:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;77325:139;;;;;;;;;;-1:-1:-1;77325:139:0;;;;;:::i;:::-;;:::i;73113:31::-;;;;;;;;;;;;;;;;76218:111;;;;;;;;;;-1:-1:-1;76218:111:0;;;;;:::i;:::-;;:::i;76852:226::-;;;;;;;;;;-1:-1:-1;76852:226:0;;;;;:::i;:::-;;:::i;76338:506::-;;;;;;;;;;-1:-1:-1;76338:506:0;;;;;:::i;:::-;;:::i;75484:726::-;;;;;;;;;;-1:-1:-1;75484:726:0;;;;;:::i;:::-;;:::i;44536:164::-;;;;;;;;;;-1:-1:-1;44536:164:0;;;;;:::i;:::-;;:::i;72257:201::-;;;;;;;;;;-1:-1:-1;72257:201:0;;;;;:::i;:::-;;:::i;74117:256::-;;;;;;;;;;-1:-1:-1;74117:256:0;;;;;:::i;:::-;;:::i;36194:639::-;36279:4;-1:-1:-1;;;;;;;;;36603:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36680:25:0;;;36603:102;:179;;;-1:-1:-1;;;;;;;;;;36757:25:0;;;36603:179;36583:199;36194:639;-1:-1:-1;;36194:639:0:o;37096:100::-;37150:13;37183:5;37176:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37096:100;:::o;43587:218::-;43663:7;43688:16;43696:7;43688;:16::i;:::-;43683:64;;43713:34;;-1:-1:-1;;;43713:34:0;;;;;;;;;;;43683:64;-1:-1:-1;43767:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43767:30:0;;43587:218::o;77656:165::-;77760:8;4410:30;4431:8;4410:20;:30::i;:::-;77781:32:::1;77795:8;77805:7;77781:13;:32::i;:::-;77656:165:::0;;;:::o;73957:152::-;71237:13;:11;:13::i;:::-;74041:15:::1;:60:::0;;-1:-1:-1;;;;;;74041:60:0::1;-1:-1:-1::0;;;;;74041:60:0;;;::::1;::::0;;;::::1;::::0;;73957:152::o;74825:351::-;74918:10;74898:16;74906:7;74898;:16::i;:::-;-1:-1:-1;;;;;74898:30:0;;74890:83;;;;-1:-1:-1;;;74890:83:0;;8284:2:1;74890:83:0;;;8266:21:1;8323:2;8303:18;;;8296:30;8362:34;8342:18;;;8335:62;-1:-1:-1;;;8413:18:1;;;8406:38;8461:19;;74890:83:0;;;;;;;;;74992:25;;;;:16;:25;;;;;:32;;;;;:::i;:::-;:37;;-1:-1:-1;74984:77:0;;;;-1:-1:-1;;;74984:77:0;;8693:2:1;74984:77:0;;;8675:21:1;8732:2;8712:18;;;8705:30;8771:29;8751:18;;;8744:57;8818:18;;74984:77:0;8491:351:1;74984:77:0;75117:17;;;;:8;:17;;;;;;75162:5;75137:23;:15;75155:5;75137:23;:::i;:::-;75136:31;;;;:::i;:::-;75100:68;;;;;;9488:19:1;;;;9523:12;;9516:28;9560:12;;75100:68:0;;;-1:-1:-1;;75100:68:0;;;;;;;;;75072:25;;;;:16;75100:68;75072:25;;;:96;;:25;:96;:::i;:::-;;74825:351;:::o;77829:171::-;77938:4;-1:-1:-1;;;;;4230:18:0;;4238:10;4230:18;4226:83;;4265:32;4286:10;4265:20;:32::i;:::-;77955:37:::1;77974:4;77980:2;77984:7;77955:18;:37::i;:::-;77829:171:::0;;;;:::o;78008:179::-;78121:4;-1:-1:-1;;;;;4230:18:0;;4238:10;4230:18;4226:83;;4265:32;4286:10;4265:20;:32::i;:::-;78138:41:::1;78161:4;78167:2;78171:7;78138:22;:41::i;77086:231::-:0;71237:13;:11;:13::i;:::-;77217:38:::1;::::0;-1:-1:-1;;;77217:38:0;;77249:4:::1;77217:38;::::0;::::1;1679:51:1::0;77182:5:0;;77152:20:::1;::::0;-1:-1:-1;;;;;77217:23:0;::::1;::::0;::::1;::::0;1652:18:1;;77217:38:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;77266:43;::::0;-1:-1:-1;;;77266:43:0;;77289:10:::1;77266:43;::::0;::::1;12144:51:1::0;12211:18;;;12204:34;;;77199:56:0;;-1:-1:-1;;;;;;77266:22:0;::::1;::::0;::::1;::::0;12117:18:1;;77266:43:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;73271:49::-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38489:152::-;38561:7;38604:27;38623:7;38604:18;:27::i;73565:270::-;71237:13;:11;:13::i;:::-;73658:9:::1;;73645:10;:22;73637:60;;;::::0;-1:-1:-1;;;73637:60:0;;12701:2:1;73637:60:0::1;::::0;::::1;12683:21:1::0;12740:2;12720:18;;;12713:30;12779:27;12759:18;;;12752:55;12824:18;;73637:60:0::1;12499:349:1::0;73637:60:0::1;73733:10;73716:13;33121:12:::0;;32908:7;33105:13;:28;;32847:323;73716:13:::1;:27;;73708:86;;;::::0;-1:-1:-1;;;73708:86:0;;13055:2:1;73708:86:0::1;::::0;::::1;13037:21:1::0;13094:2;13074:18;;;13067:30;13133:34;13113:18;;;13106:62;-1:-1:-1;;;13184:18:1;;;13177:44;13238:19;;73708:86:0::1;12853:410:1::0;73708:86:0::1;73805:9;:22:::0;73565:270::o;34031:233::-;34103:7;-1:-1:-1;;;;;34127:19:0;;34123:60;;34155:28;;-1:-1:-1;;;34155:28:0;;;;;;;;;;;34123:60;-1:-1:-1;;;;;;34201:25:0;;;;;:18;:25;;;;;;28190:13;34201:55;;34031:233::o;71999:103::-;71237:13;:11;:13::i;:::-;72064:30:::1;72091:1;72064:18;:30::i;:::-;71999:103::o:0;73843:106::-;71237:13;:11;:13::i;:::-;73917:10:::1;:24:::0;73843:106::o;75184:292::-;75279:10;75259:16;75267:7;75259;:16::i;:::-;-1:-1:-1;;;;;75259:30:0;;75251:85;;;;-1:-1:-1;;;75251:85:0;;13470:2:1;75251:85:0;;;13452:21:1;13509:2;13489:18;;;13482:30;13548:34;13528:18;;;13521:62;-1:-1:-1;;;13599:18:1;;;13592:40;13649:19;;75251:85:0;13268:406:1;75251:85:0;75390:1;75355:25;;;:16;:25;;;;;:32;;;;;:::i;:::-;;;:36;75347:78;;;;-1:-1:-1;;;75347:78:0;;13881:2:1;75347:78:0;;;13863:21:1;13920:2;13900:18;;;13893:30;13959:31;13939:18;;;13932:59;14008:18;;75347:78:0;13679:353:1;75347:78:0;75443:25;;;;:16;:25;;;;;75436:32;;;:::i;:::-;75184:292;:::o;37272:104::-;37328:13;37361:7;37354:14;;;;;:::i;77472:176::-;77576:8;4410:30;4431:8;4410:20;:30::i;:::-;77597:43:::1;77621:8;77631;77597:23;:43::i;73450:107::-:0;71237:13;:11;:13::i;:::-;73523:11:::1;:26:::0;;-1:-1:-1;;73523:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;73450:107::o;74381:303::-;74471:25;;;;:16;:25;;;;;:32;;74442:12;;74471:25;:32;;;:::i;:::-;;;74507:1;74471:37;74467:210;;74549:17;;;;:8;:17;;;;;;74594:5;74569:23;:15;74587:5;74569:23;:::i;:::-;74568:31;;;;:::i;:::-;74532:68;;;;;;9488:19:1;;;;9523:12;;9516:28;9560:12;;74532:68:0;;;;;;;;;;;;74525:75;;74381:303;;;:::o;74467:210::-;74640:25;;;;:16;:25;;;;;74633:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74381:303;;;:::o;74467:210::-;74381:303;;;:::o;78195:245::-;78363:4;-1:-1:-1;;;;;4230:18:0;;4238:10;4230:18;4226:83;;4265:32;4286:10;4265:20;:32::i;:::-;78385:47:::1;78408:4;78414:2;78418:7;78427:4;78385:22;:47::i;:::-;78195:245:::0;;;;;:::o;74692:125::-;74748:4;74772:25;;;:16;:25;;;;;:32;;;;;:::i;:::-;:37;;;74692:125;-1:-1:-1;;;74692:125:0:o;77325:139::-;77423:15;;:33;;-1:-1:-1;;;77423:33:0;;;;;2515:25:1;;;77390:13:0;;-1:-1:-1;;;;;77423:15:0;;:24;;2488:18:1;;77423:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;77423:33:0;;;;;;;;;;;;:::i;76218:111::-;-1:-1:-1;;;;;34435:25:0;;76275:7;34435:25;;;:18;:25;;28328:2;34435:25;;;;28190:13;34435:50;;34434:82;76302:19;34346:178;76852:226;71237:13;:11;:13::i;:::-;76988:36:::1;::::0;76933:21:::1;::::0;76915:15:::1;::::0;-1:-1:-1;;;;;76988:16:0;::::1;::::0;76933:21;;76915:15;76988:36;76915:15;76988:36;76933:21;76988:16;:36:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76965:59;;;77043:11;77035:35;;;::::0;-1:-1:-1;;;77035:35:0;;15102:2:1;77035:35:0::1;::::0;::::1;15084:21:1::0;15141:2;15121:18;;;15114:30;-1:-1:-1;;;15160:18:1;;;15153:41;15211:18;;77035:35:0::1;14900:335:1::0;76338:506:0;71237:13;:11;:13::i;:::-;76450:9:::1;;76440:6;76423:14;33323:7:::0;33514:13;;33268:296;76423:14:::1;:23;;;;:::i;:::-;:36;;76415:68;;;::::0;-1:-1:-1;;;76415:68:0;;15442:2:1;76415:68:0::1;::::0;::::1;15424:21:1::0;15481:2;15461:18;;;15454:30;-1:-1:-1;;;15500:18:1;;;15493:49;15559:18;;76415:68:0::1;15240:343:1::0;76415:68:0::1;76590:18;32616:13:::0;;;76640:154:::1;76664:6;76660:1;:10;76640:154;;;76750:10;76775:1;76762:10;:14;76733:44;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;76733:44:0;;::::1;::::0;;;;;;76723:55;;76733:44:::1;76723:55:::0;;::::1;::::0;76705:14;;::::1;76696:24;::::0;;;:8:::1;:24:::0;;;;;:82;76672:3:::1;;76640:154;;;;76565:240;76815:21;76825:2;76829:6;76815:9;:21::i;75484:726::-:0;75594:11;;;;75586:48;;;;-1:-1:-1;;;75586:48:0;;16089:2:1;75586:48:0;;;16071:21:1;16128:2;16108:18;;;16101:30;16167:26;16147:18;;;16140:54;16211:18;;75586:48:0;15887:348:1;75586:48:0;75680:9;;75670:6;75653:14;33323:7;33514:13;;33268:296;75653:14;:23;;;;:::i;:::-;:36;;75645:68;;;;-1:-1:-1;;;75645:68:0;;15442:2:1;75645:68:0;;;15424:21:1;15481:2;15461:18;;;15454:30;-1:-1:-1;;;15500:18:1;;;15493:49;15559:18;;75645:68:0;15240:343:1;75645:68:0;75732:50;75746:10;75758:9;75769:12;;75732:13;:50::i;:::-;75724:86;;;;-1:-1:-1;;;75724:86:0;;16442:2:1;75724:86:0;;;16424:21:1;16481:2;16461:18;;;16454:30;16520:25;16500:18;;;16493:53;16563:18;;75724:86:0;16240:347:1;75724:86:0;75843:10;34407:7;34435:25;;;:18;:25;;28328:2;34435:25;;;;;75867:9;;75829:34;;75857:6;;34435:50;28190:13;34434:82;75829:34;:::i;:::-;:47;;75821:91;;;;-1:-1:-1;;;75821:91:0;;16794:2:1;75821:91:0;;;16776:21:1;16833:2;16813:18;;;16806:30;16872:33;16852:18;;;16845:61;16923:18;;75821:91:0;16592:355:1;75821:91:0;75948:18;32616:13;;;75998:154;76022:6;76018:1;:10;75998:154;;;76108:10;76133:1;76120:10;:14;76091:44;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;76091:44:0;;;;;;;;;76081:55;;76091:44;76081:55;;;;76063:14;;;76054:24;;;;:8;:24;;;;;:82;76030:3;;75998:154;;;;75923:240;76173:29;76183:10;76195:6;76173:9;:29::i;44536:164::-;-1:-1:-1;;;;;44657:25:0;;;44633:4;44657:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44536:164::o;72257:201::-;71237:13;:11;:13::i;:::-;-1:-1:-1;;;;;72346:22:0;::::1;72338:73;;;::::0;-1:-1:-1;;;72338:73:0;;17154:2:1;72338:73:0::1;::::0;::::1;17136:21:1::0;17193:2;17173:18;;;17166:30;17232:34;17212:18;;;17205:62;-1:-1:-1;;;17283:18:1;;;17276:36;17329:19;;72338:73:0::1;16952:402:1::0;72338:73:0::1;72422:28;72441:8;72422:18;:28::i;74117:256::-:0;74224:4;74241:12;74283:4;74289:6;74266:30;;;;;;;;;:::i;:::-;;;;;;;;;;;;;74256:41;;;;;;74241:56;;74315:50;74334:12;;74315:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;74348:10:0;;;-1:-1:-1;74360:4:0;;-1:-1:-1;74315:18:0;:50::i;:::-;74308:57;;;74117:256;;;;;;;:::o;44958:282::-;45023:4;45113:13;;45103:7;:23;45060:153;;;;-1:-1:-1;;45164:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;45164:44:0;:49;;44958:282::o;4468:419::-;2989:42;4659:45;:49;4655:225;;4730:67;;-1:-1:-1;;;4730:67:0;;4781:4;4730:67;;;17571:34:1;-1:-1:-1;;;;;17641:15:1;;17621:18;;;17614:43;2989:42:0;;4730;;17506:18:1;;4730:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4725:144;;4825:28;;-1:-1:-1;;;4825:28:0;;-1:-1:-1;;;;;1697:32:1;;4825:28:0;;;1679:51:1;1652:18;;4825:28:0;1533:203:1;43020:408:0;43109:13;43125:16;43133:7;43125;:16::i;:::-;43109:32;-1:-1:-1;67353:10:0;-1:-1:-1;;;;;43158:28:0;;;43154:175;;43206:44;43223:5;67353:10;44536:164;:::i;43206:44::-;43201:128;;43278:35;;-1:-1:-1;;;43278:35:0;;;;;;;;;;;43201:128;43341:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43341:35:0;-1:-1:-1;;;;;43341:35:0;;;;;;;;;43392:28;;43341:24;;43392:28;;;;;;;43098:330;43020:408;;:::o;71516:132::-;71424:6;;-1:-1:-1;;;;;71424:6:0;67353:10;71580:23;71572:68;;;;-1:-1:-1;;;71572:68:0;;17870:2:1;71572:68:0;;;17852:21:1;;;17889:18;;;17882:30;17948:34;17928:18;;;17921:62;18000:18;;71572:68:0;17668:356:1;47226:2825:0;47368:27;47398;47417:7;47398:18;:27::i;:::-;47368:57;;47483:4;-1:-1:-1;;;;;47442:45:0;47458:19;-1:-1:-1;;;;;47442:45:0;;47438:86;;47496:28;;-1:-1:-1;;;47496:28:0;;;;;;;;;;;47438:86;47538:27;46334:24;;;:15;:24;;;;;46562:26;;67353:10;45959:30;;;-1:-1:-1;;;;;45652:28:0;;45937:20;;;45934:56;47724:180;;47817:43;47834:4;67353:10;44536:164;:::i;47817:43::-;47812:92;;47869:35;;-1:-1:-1;;;47869:35:0;;;;;;;;;;;47812:92;-1:-1:-1;;;;;47921:16:0;;47917:52;;47946:23;;-1:-1:-1;;;47946:23:0;;;;;;;;;;;47917:52;48118:15;48115:160;;;48258:1;48237:19;48230:30;48115:160;-1:-1:-1;;;;;48655:24:0;;;;;;;:18;:24;;;;;;48653:26;;-1:-1:-1;;48653:26:0;;;48724:22;;;;;;;;;48722:24;;-1:-1:-1;48722:24:0;;;41878:11;41853:23;41849:41;41836:63;-1:-1:-1;;;41836:63:0;49017:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;49312:47:0;;:52;;49308:627;;49417:1;49407:11;;49385:19;49540:30;;;:17;:30;;;;;;:35;;49536:384;;49678:13;;49663:11;:28;49659:242;;49825:30;;;;:17;:30;;;;;:52;;;49659:242;49366:569;49308:627;49982:7;49978:2;-1:-1:-1;;;;;49963:27:0;49972:4;-1:-1:-1;;;;;49963:27:0;;;;;;;;;;;50001:42;47357:2694;;;47226:2825;;;:::o;50147:193::-;50293:39;50310:4;50316:2;50320:7;50293:39;;;;;;;;;;;;:16;:39::i;39644:1275::-;39711:7;39746;39848:13;;39841:4;:20;39837:1015;;;39886:14;39903:23;;;:17;:23;;;;;;;-1:-1:-1;;;39992:24:0;;:29;;39988:845;;40657:113;40664:6;40674:1;40664:11;40657:113;;-1:-1:-1;;;40735:6:0;40717:25;;;;:17;:25;;;;;;40657:113;;;40803:6;39644:1275;-1:-1:-1;;;39644:1275:0:o;39988:845::-;39863:989;39837:1015;40880:31;;-1:-1:-1;;;40880:31:0;;;;;;;;;;;72618:191;72711:6;;;-1:-1:-1;;;;;72728:17:0;;;-1:-1:-1;;;;;;72728:17:0;;;;;;;72761:40;;72711:6;;;72728:17;72711:6;;72761:40;;72692:16;;72761:40;72681:128;72618:191;:::o;44145:234::-;67353:10;44240:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44240:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44240:60:0;;;;;;;;;;44316:55;;540:41:1;;;44240:49:0;;67353:10;44316:55;;513:18:1;44316:55:0;;;;;;;44145:234;;:::o;50938:407::-;51113:31;51126:4;51132:2;51136:7;51113:12;:31::i;:::-;-1:-1:-1;;;;;51159:14:0;;;:19;51155:183;;51198:56;51229:4;51235:2;51239:7;51248:5;51198:30;:56::i;:::-;51193:145;;51282:40;;-1:-1:-1;;;51282:40:0;;;;;;;;;;;61098:112;61175:27;61185:2;61189:8;61175:27;;;;;;;;;;;;:9;:27::i;9469:190::-;9594:4;9647;9618:25;9631:5;9638:4;9618:12;:25::i;:::-;:33;;9469:190;-1:-1:-1;;;;9469:190:0:o;53429:716::-;53613:88;;-1:-1:-1;;;53613:88:0;;53592:4;;-1:-1:-1;;;;;53613:45:0;;;;;:88;;67353:10;;53680:4;;53686:7;;53695:5;;53613:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53613:88:0;;;;;;;;-1:-1:-1;;53613:88:0;;;;;;;;;;;;:::i;:::-;;;53609:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53896:6;:13;53913:1;53896:18;53892:235;;53942:40;;-1:-1:-1;;;53942:40:0;;;;;;;;;;;53892:235;54085:6;54079:13;54070:6;54066:2;54062:15;54055:38;53609:529;-1:-1:-1;;;;;;53772:64:0;-1:-1:-1;;;53772:64:0;;-1:-1:-1;53765:71:0;;60325:689;60456:19;60462:2;60466:8;60456:5;:19::i;:::-;-1:-1:-1;;;;;60517:14:0;;;:19;60513:483;;60557:11;60571:13;60619:14;;;60652:233;60683:62;60722:1;60726:2;60730:7;;;;;;60739:5;60683:30;:62::i;:::-;60678:167;;60781:40;;-1:-1:-1;;;60781:40:0;;;;;;;;;;;60678:167;60880:3;60872:5;:11;60652:233;;60967:3;60950:13;;:20;60946:34;;60972:8;;;10336:296;10419:7;10462:4;10419:7;10477:118;10501:5;:12;10497:1;:16;10477:118;;;10550:33;10560:12;10574:5;10580:1;10574:8;;;;;;;;:::i;:::-;;;;;;;10550:9;:33::i;:::-;10535:48;-1:-1:-1;10515:3:0;;;;:::i;:::-;;;;10477:118;;;-1:-1:-1;10612:12:0;10336:296;-1:-1:-1;;;10336:296:0:o;54607:2966::-;54680:20;54703:13;;;54731;;;54727:44;;54753:18;;-1:-1:-1;;;54753:18:0;;;;;;;;;;;54727:44;-1:-1:-1;;;;;55259:22:0;;;;;;:18;:22;;;;28328:2;55259:22;;;:71;;55297:32;55285:45;;55259:71;;;55573:31;;;:17;:31;;;;;-1:-1:-1;42309:15:0;;42283:24;42279:46;41878:11;41853:23;41849:41;41846:52;41836:63;;55573:173;;55808:23;;;;55573:31;;55259:22;;56573:25;55259:22;;56426:335;57087:1;57073:12;57069:20;57027:346;57128:3;57119:7;57116:16;57027:346;;57346:7;57336:8;57333:1;57306:25;57303:1;57300;57295:59;57181:1;57168:15;57027:346;;;57031:77;57406:8;57418:1;57406:13;57402:45;;57428:19;;-1:-1:-1;;;57428:19:0;;;;;;;;;;;57402:45;57464:13;:19;-1:-1:-1;77656:165:0;;;:::o;17376:149::-;17439:7;17470:1;17466;:5;:51;;17601:13;17695:15;;;17731:4;17724:15;;;17778:4;17762:21;;17466:51;;;-1:-1:-1;17601:13:0;17695:15;;;17731:4;17724:15;17778:4;17762:21;;;17376:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:186::-;2237:6;2290:2;2278:9;2269:7;2265:23;2261:32;2258:52;;;2306:1;2303;2296:12;2258:52;2329:29;2348:9;2329:29;:::i;2551:328::-;2628:6;2636;2644;2697:2;2685:9;2676:7;2672:23;2668:32;2665:52;;;2713:1;2710;2703:12;2665:52;2736:29;2755:9;2736:29;:::i;:::-;2726:39;;2784:38;2818:2;2807:9;2803:18;2784:38;:::i;:::-;2774:48;;2869:2;2858:9;2854:18;2841:32;2831:42;;2551:328;;;;;:::o;3713:118::-;3799:5;3792:13;3785:21;3778:5;3775:32;3765:60;;3821:1;3818;3811:12;3836:315;3901:6;3909;3962:2;3950:9;3941:7;3937:23;3933:32;3930:52;;;3978:1;3975;3968:12;3930:52;4001:29;4020:9;4001:29;:::i;:::-;3991:39;;4080:2;4069:9;4065:18;4052:32;4093:28;4115:5;4093:28;:::i;:::-;4140:5;4130:15;;;3836:315;;;;;:::o;4156:241::-;4212:6;4265:2;4253:9;4244:7;4240:23;4236:32;4233:52;;;4281:1;4278;4271:12;4233:52;4320:9;4307:23;4339:28;4361:5;4339:28;:::i;4402:127::-;4463:10;4458:3;4454:20;4451:1;4444:31;4494:4;4491:1;4484:15;4518:4;4515:1;4508:15;4534:275;4605:2;4599:9;4670:2;4651:13;;-1:-1:-1;;4647:27:1;4635:40;;4705:18;4690:34;;4726:22;;;4687:62;4684:88;;;4752:18;;:::i;:::-;4788:2;4781:22;4534:275;;-1:-1:-1;4534:275:1:o;4814:186::-;4862:4;4895:18;4887:6;4884:30;4881:56;;;4917:18;;:::i;:::-;-1:-1:-1;4983:2:1;4962:15;-1:-1:-1;;4958:29:1;4989:4;4954:40;;4814:186::o;5005:888::-;5100:6;5108;5116;5124;5177:3;5165:9;5156:7;5152:23;5148:33;5145:53;;;5194:1;5191;5184:12;5145:53;5217:29;5236:9;5217:29;:::i;:::-;5207:39;;5265:38;5299:2;5288:9;5284:18;5265:38;:::i;:::-;5255:48;;5350:2;5339:9;5335:18;5322:32;5312:42;;5405:2;5394:9;5390:18;5377:32;5432:18;5424:6;5421:30;5418:50;;;5464:1;5461;5454:12;5418:50;5487:22;;5540:4;5532:13;;5528:27;-1:-1:-1;5518:55:1;;5569:1;5566;5559:12;5518:55;5605:2;5592:16;5630:48;5646:31;5674:2;5646:31;:::i;:::-;5630:48;:::i;:::-;5701:2;5694:5;5687:17;5741:7;5736:2;5731;5727;5723:11;5719:20;5716:33;5713:53;;;5762:1;5759;5752:12;5713:53;5817:2;5812;5808;5804:11;5799:2;5792:5;5788:14;5775:45;5861:1;5856:2;5851;5844:5;5840:14;5836:23;5829:34;5882:5;5872:15;;;;;5005:888;;;;;;;:::o;5898:367::-;5961:8;5971:6;6025:3;6018:4;6010:6;6006:17;6002:27;5992:55;;6043:1;6040;6033:12;5992:55;-1:-1:-1;6066:20:1;;6109:18;6098:30;;6095:50;;;6141:1;6138;6131:12;6095:50;6178:4;6170:6;6166:17;6154:29;;6238:3;6231:4;6221:6;6218:1;6214:14;6206:6;6202:27;6198:38;6195:47;6192:67;;;6255:1;6252;6245:12;6192:67;5898:367;;;;;:::o;6270:573::-;6374:6;6382;6390;6398;6451:2;6439:9;6430:7;6426:23;6422:32;6419:52;;;6467:1;6464;6457:12;6419:52;6503:9;6490:23;6480:33;;6560:2;6549:9;6545:18;6532:32;6522:42;;6615:2;6604:9;6600:18;6587:32;6642:18;6634:6;6631:30;6628:50;;;6674:1;6671;6664:12;6628:50;6713:70;6775:7;6766:6;6755:9;6751:22;6713:70;:::i;:::-;6270:573;;;;-1:-1:-1;6802:8:1;-1:-1:-1;;;;6270:573:1:o;6848:260::-;6916:6;6924;6977:2;6965:9;6956:7;6952:23;6948:32;6945:52;;;6993:1;6990;6983:12;6945:52;7016:29;7035:9;7016:29;:::i;:::-;7006:39;;7064:38;7098:2;7087:9;7083:18;7064:38;:::i;:::-;7054:48;;6848:260;;;;;:::o;7113:579::-;7217:6;7225;7233;7241;7294:2;7282:9;7273:7;7269:23;7265:32;7262:52;;;7310:1;7307;7300:12;7262:52;7333:29;7352:9;7333:29;:::i;:::-;7323:39;;7409:2;7398:9;7394:18;7381:32;7371:42;;7464:2;7453:9;7449:18;7436:32;7491:18;7483:6;7480:30;7477:50;;;7523:1;7520;7513:12;7697:380;7776:1;7772:12;;;;7819;;;7840:61;;7894:4;7886:6;7882:17;7872:27;;7840:61;7947:2;7939:6;7936:14;7916:18;7913:38;7910:161;;7993:10;7988:3;7984:20;7981:1;7974:31;8028:4;8025:1;8018:15;8056:4;8053:1;8046:15;7910:161;;7697:380;;;:::o;8847:127::-;8908:10;8903:3;8899:20;8896:1;8889:31;8939:4;8936:1;8929:15;8963:4;8960:1;8953:15;8979:125;9044:9;;;9065:10;;;9062:36;;;9078:18;;:::i;9109:217::-;9149:1;9175;9165:132;;9219:10;9214:3;9210:20;9207:1;9200:31;9254:4;9251:1;9244:15;9282:4;9279:1;9272:15;9165:132;-1:-1:-1;9311:9:1;;9109:217::o;9708:544::-;9809:2;9804:3;9801:11;9798:448;;;9845:1;9870:5;9866:2;9859:17;9915:4;9911:2;9901:19;9985:2;9973:10;9969:19;9966:1;9962:27;9956:4;9952:38;10021:4;10009:10;10006:20;10003:47;;;-1:-1:-1;10044:4:1;10003:47;10099:2;10094:3;10090:12;10087:1;10083:20;10077:4;10073:31;10063:41;;10154:82;10172:2;10165:5;10162:13;10154:82;;;10217:17;;;10198:1;10187:13;10154:82;;10428:1348;10552:3;10546:10;10579:18;10571:6;10568:30;10565:56;;;10601:18;;:::i;:::-;10630:96;10719:6;10679:38;10711:4;10705:11;10679:38;:::i;:::-;10673:4;10630:96;:::i;:::-;10781:4;;10845:2;10834:14;;10862:1;10857:662;;;;11563:1;11580:6;11577:89;;;-1:-1:-1;11632:19:1;;;11626:26;11577:89;-1:-1:-1;;10385:1:1;10381:11;;;10377:24;10373:29;10363:40;10409:1;10405:11;;;10360:57;11679:81;;10827:943;;10857:662;9655:1;9648:14;;;9692:4;9679:18;;-1:-1:-1;;10893:20:1;;;11010:236;11024:7;11021:1;11018:14;11010:236;;;11113:19;;;11107:26;11092:42;;11205:27;;;;11173:1;11161:14;;;;11040:19;;11010:236;;;11014:3;11274:6;11265:7;11262:19;11259:201;;;11335:19;;;11329:26;-1:-1:-1;;11418:1:1;11414:14;;;11430:3;11410:24;11406:37;11402:42;11387:58;11372:74;;11259:201;-1:-1:-1;;;;;11506:1:1;11490:14;;;11486:22;11473:36;;-1:-1:-1;10428:1348:1:o;11781:184::-;11851:6;11904:2;11892:9;11883:7;11879:23;11875:32;11872:52;;;11920:1;11917;11910:12;11872:52;-1:-1:-1;11943:16:1;;11781:184;-1:-1:-1;11781:184:1:o;12249:245::-;12316:6;12369:2;12357:9;12348:7;12344:23;12340:32;12337:52;;;12385:1;12382;12375:12;12337:52;12417:9;12411:16;12436:28;12458:5;12436:28;:::i;14037:648::-;14117:6;14170:2;14158:9;14149:7;14145:23;14141:32;14138:52;;;14186:1;14183;14176:12;14138:52;14219:9;14213:16;14252:18;14244:6;14241:30;14238:50;;;14284:1;14281;14274:12;14238:50;14307:22;;14360:4;14352:13;;14348:27;-1:-1:-1;14338:55:1;;14389:1;14386;14379:12;14338:55;14418:2;14412:9;14443:48;14459:31;14487:2;14459:31;:::i;14443:48::-;14514:2;14507:5;14500:17;14554:7;14549:2;14544;14540;14536:11;14532:20;14529:33;14526:53;;;14575:1;14572;14565:12;14526:53;14588:67;14652:2;14647;14640:5;14636:14;14631:2;14627;14623:11;14588:67;:::i;:::-;14674:5;14037:648;-1:-1:-1;;;;;14037:648:1:o;15588:294::-;15765:2;15761:15;;;;-1:-1:-1;;15757:53:1;15745:66;;15836:2;15827:12;;15820:28;15873:2;15864:12;;15588:294::o;18029:489::-;-1:-1:-1;;;;;18298:15:1;;;18280:34;;18350:15;;18345:2;18330:18;;18323:43;18397:2;18382:18;;18375:34;;;18445:3;18440:2;18425:18;;18418:31;;;18223:4;;18466:46;;18492:19;;18484:6;18466:46;:::i;:::-;18458:54;18029:489;-1:-1:-1;;;;;;18029:489:1:o;18523:249::-;18592:6;18645:2;18633:9;18624:7;18620:23;18616:32;18613:52;;;18661:1;18658;18651:12;18613:52;18693:9;18687:16;18712:30;18736:5;18712:30;:::i;18777:127::-;18838:10;18833:3;18829:20;18826:1;18819:31;18869:4;18866:1;18859:15;18893:4;18890:1;18883:15;18909:135;18948:3;18969:17;;;18966:43;;18989:18;;:::i;:::-;-1:-1:-1;19036:1:1;19025:13;;18909:135::o
Swarm Source
ipfs://17e52403b4e8b17a89f16a0a4c3528ad06993ac85020313c5cc0c244410c82d8
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.