Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
286 UNI
Holders
122
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 UNILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UniGangNFT
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-17 */ // SPDX-License-Identifier: MIT // 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); } /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * This Helper is used to return a dynamic value in the overridden _startTokenId() function. * Extending this Helper before the ERC721A contract give us access to the herein set `startTokenId` * to be returned by the overridden `_startTokenId()` function of ERC721A in the ERC721AStartTokenId mocks. */ contract StartTokenIdHelper { uint256 public startTokenId; constructor(uint256 startTokenId_) { startTokenId = startTokenId_; } } /** * @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) } } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success,) = recipient.call{value : amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value : value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } /** * @dev 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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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); } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } contract OwnableDelegateProxy {} /** * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } } /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } } contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string constant public ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712( string memory name ) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } } contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce : nonces[userAddress], from : userAddress, functionSignature : functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } } /** * @title ERC721A Minting Contract for Unigang NFT Collection */ contract UniGangNFT is ERC721A, ContextMixin, NativeMetaTransaction, Ownable, ReentrancyGuard, StartTokenIdHelper { using Strings for uint256; mapping(address => bool) public whitelist; mapping(address => uint256) public freeMinted; mapping(address => uint256) public privateMinted; address proxyRegistryAddress; string public constant collectionName = "UniGang"; string public constant collectionSymbol = "UNI"; uint256 public constant maxQuantityPerMint = 5; uint256 public constant maxQuantityPerWalletPrivate = 3; uint256 public constant maxQuantityPerWalletFree = 1; uint256 public mintPrice = 0.011 ether; uint256 public mintPrivatePrice = 0.01 ether; uint256 public maxTotalSupply = 999; uint256 public constant maxTotalMintedFree = 100; uint256 public totalMintedFree; bool public mintPrivateActive = false; bool public mintActive = false; string public baseTokenURI; string public _contractURI; string public baseExtension = ".json"; constructor( address _proxyRegistryAddress, string memory contractURI_, uint256 startTokenId_ ) StartTokenIdHelper(startTokenId_) ERC721A(collectionName, collectionSymbol) { _contractURI = contractURI_; proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712(collectionName); } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function gift(address to, uint256 quantity) external onlyOwner nonReentrant { require(totalSupply() + quantity <= maxTotalSupply, "Total supply would be exceeded"); _safeMint(to, quantity); } function mint(uint256 quantity) external payable callerIsUser { require(totalSupply() + quantity <= maxTotalSupply, "Total supply would be exceeded"); require(quantity > 0, "Invalid quantity"); uint256 currentPrice = quantity * mintPrice; if (mintActive) { require(mintActive, "Mint is currently paused"); require(quantity <= maxQuantityPerMint, "Mint quantity limit 10"); require(msg.value >= currentPrice, "Not enough payed"); } else { require(mintPrivateActive, "Mint is currently paused"); require(privateMinted[_msgSender()] + quantity <= maxQuantityPerWalletPrivate, "Private mint max 3 nft per wallet"); currentPrice = quantity * mintPrivatePrice; if (totalMintedFree < maxTotalMintedFree) { if (freeMinted[_msgSender()] + 1 <= maxQuantityPerWalletFree) { currentPrice = (quantity - 1) * mintPrivatePrice; } } require(msg.value >= currentPrice, "Not enough payed"); if (totalMintedFree < maxTotalMintedFree) { if (freeMinted[_msgSender()] + 1 <= maxQuantityPerWalletFree) { freeMinted[_msgSender()] += 1; totalMintedFree += 1; } } privateMinted[_msgSender()] += quantity; } _safeMint(_msgSender(), quantity); refundIfOver(currentPrice); } function getMintQuantityForUser(address user) public view returns (uint256) { uint256 quantity = 0; if (mintActive) { quantity = maxQuantityPerMint; } else if (mintPrivateActive) { quantity = maxQuantityPerWalletPrivate - privateMinted[user]; } return quantity; } function getMintPriceForUser(address user, uint256 quantity) public view returns (uint256) { uint256 currentPrice = quantity * mintPrice; if (mintPrivateActive && !mintActive) { currentPrice = quantity * mintPrivatePrice; if (totalMintedFree < maxTotalMintedFree) { if (freeMinted[user] + 1 <= maxQuantityPerWalletFree) { currentPrice = (quantity - 1) * mintPrivatePrice; } } } return currentPrice; } function refundIfOver(uint256 price) private { require(msg.value >= price, "Need to send more ETH."); if (msg.value > price) { payable(msg.sender).transfer(msg.value - price); } } function setMintActive(bool value) public onlyOwner { mintActive = value; } function setPrivateMintActive(bool value) public onlyOwner { mintPrivateActive = value; } function setBaseURI(string calldata baseURI) public onlyOwner { baseTokenURI = baseURI; } function setContractURI(string calldata contractURI_) public onlyOwner { _contractURI = contractURI_; } function setBaseExtension(string calldata extension) public onlyOwner { baseExtension = extension; } function changeMintPrice(uint256 newPrice) public onlyOwner { mintPrice = newPrice; } function changeMintPrivatePrice(uint256 newPrice) public onlyOwner { mintPrivatePrice = newPrice; } function changeTotalSupply(uint256 newSupply) public onlyOwner { maxTotalSupply = newSupply; } function getMintPrice() public view returns (uint256) { return mintPrice; } function _baseURI() internal override view virtual returns (string memory) { return baseTokenURI; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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, tokenId.toString(), baseExtension)) : ''; } function contractURI() public view returns (string memory) { return _contractURI; } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) override public view returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } /** * @notice Add to whitelist */ function addToWhitelist(address[] calldata toAddAddresses) external onlyOwner { for (uint i = 0; i < toAddAddresses.length; i++) { whitelist[toAddAddresses[i]] = true; } } /** * @notice Remove from whitelist */ function removeFromWhitelist(address[] calldata toRemoveAddresses) external onlyOwner { for (uint i = 0; i < toRemoveAddresses.length; i++) { delete whitelist[toRemoveAddresses[i]]; } } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal override view returns (address sender) { return ContextMixin.msgSender(); } function withdraw() public onlyOwner nonReentrant { (bool success,) = msg.sender.call{value : address(this).balance}(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"uint256","name":"startTokenId_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[],"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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"toAddAddresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changeMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changeMintPrivatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"changeTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectionName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMinted","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":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"getMintPriceForUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getMintQuantityForUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxQuantityPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxQuantityPerWalletFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxQuantityPerWalletPrivate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalMintedFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrivateActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrivatePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"privateMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"toRemoveAddresses","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"extension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPrivateMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintedFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6008805460ff191690556627147114878000601255662386f26fc100006013556103e76014556016805461ffff1916905560c06040526005608090815264173539b7b760d91b60a052601990620000579082620003d0565b503480156200006557600080fd5b506040516200354d3803806200354d83398101604081905262000088916200049c565b8060405180604001604052806007815260200166556e6947616e6760c81b81525060405180604001604052806003815260200162554e4960e81b8152508160029081620000d69190620003d0565b506003620000e58282620003d0565b5050600080555062000100620000fa62000164565b62000175565b6001600c55600d556018620001168382620003d0565b50601180546001600160a01b0319166001600160a01b038516179055604080518082019091526007815266556e6947616e6760c81b60208201526200015b90620001c7565b5050506200059b565b6000620001706200022b565b905090565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60085460ff1615620002105760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640160405180910390fd5b6200021b8162000289565b506008805460ff19166001179055565b60003033036200028357600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620002869050565b50335b90565b6040518060800160405280604f8152602001620034fe604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600955565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200035657607f821691505b6020821081036200037757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003cb57600081815260208120601f850160051c81016020861015620003a65750805b601f850160051c820191505b81811015620003c757828155600101620003b2565b5050505b505050565b81516001600160401b03811115620003ec57620003ec6200032b565b6200040481620003fd845462000341565b846200037d565b602080601f8311600181146200043c5760008415620004235750858301515b600019600386901b1c1916600185901b178555620003c7565b600085815260208120601f198616915b828110156200046d578886015182559484019460019091019084016200044c565b50858210156200048c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080600060608486031215620004b257600080fd5b83516001600160a01b0381168114620004ca57600080fd5b602085810151919450906001600160401b0380821115620004ea57600080fd5b818701915087601f830112620004ff57600080fd5b8151818111156200051457620005146200032b565b604051601f8201601f19908116603f011681019083821181831017156200053f576200053f6200032b565b816040528281528a868487010111156200055857600080fd5b600093505b828410156200057c57848401860151818501870152928501926200055d565b6000868483010152809750505050505050604084015190509250925092565b612f5380620005ab6000396000f3fe6080604052600436106103815760003560e01c80636afe79eb116101d1578063c0e7274011610102578063e5326ab1116100a0578063ee1cc9441161006f578063ee1cc944146109d9578063f1177e13146109f9578063f2fde38b14610a0f578063f6647bf614610a2f57600080fd5b8063e5326ab11461095b578063e6798baa1461098e578063e8a3d485146109a4578063e985e9c5146109b957600080fd5b8063cbce4c97116100dc578063cbce4c97146108e6578063cfcf03da14610906578063d547cfb714610926578063da3ef23f1461093b57600080fd5b8063c0e727401461089c578063c6682862146108b1578063c87b56dd146108c657600080fd5b8063950095ea1161016f578063a0712d6811610149578063a0712d6814610841578063a22cb46514610854578063a7f93ebd14610874578063b88d4fde1461088957600080fd5b8063950095ea146107e257806395d89b41146107fc5780639b19251a1461081157600080fd5b80637f649783116101ab5780637f649783146107645780638da5cb5b146107845780638e9c8eb9146107a2578063938e3d7b146107c257600080fd5b80636afe79eb1461071a57806370a082311461072f578063715018a61461074f57600080fd5b80633408e470116102b6578063548db174116102545780636352211e116102235780636352211e146106b957806365c48837146106d95780636817c76c146106ef57806368ed2e3b1461070557600080fd5b8063548db1741461064457806355f804b3146106645780635b07563f14610684578063615112aa1461069957600080fd5b80633fd17366116102905780633fd17366146105d157806342842e0e146105f15780634511dcfb1461060457806352e973261461062457600080fd5b80633408e4701461057c578063389fcf061461058f5780633ccfd60b146105bc57600080fd5b806320379ee5116103235780632a7144f7116102fd5780632a7144f7146104d45780632ab4d052146105015780632d0335ab146105175780632f39352a1461054d57600080fd5b806320379ee51461048d57806323b872dd146104a257806325fd90f3146104b557600080fd5b8063095ea7b31161035f578063095ea7b3146104155780630c53c51c1461042a5780630f7e59701461043d57806318160ddd1461046a57600080fd5b806301ffc9a71461038657806306fdde03146103bb578063081812fc146103dd575b600080fd5b34801561039257600080fd5b506103a66103a13660046126ce565b610a44565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0610a96565b6040516103b2919061273b565b3480156103e957600080fd5b506103fd6103f836600461274e565b610b28565b6040516001600160a01b0390911681526020016103b2565b61042861042336600461277c565b610b6c565b005b6103d061043836600461284b565b610c0c565b34801561044957600080fd5b506103d0604051806040016040528060018152602001603160f81b81525081565b34801561047657600080fd5b50600154600054035b6040519081526020016103b2565b34801561049957600080fd5b5060095461047f565b6104286104b03660046128c9565b610dfb565b3480156104c157600080fd5b506016546103a690610100900460ff1681565b3480156104e057600080fd5b5061047f6104ef36600461290a565b60106020526000908152604090205481565b34801561050d57600080fd5b5061047f60145481565b34801561052357600080fd5b5061047f61053236600461290a565b6001600160a01b03166000908152600a602052604090205490565b34801561055957600080fd5b506103d060405180604001604052806003815260200162554e4960e81b81525081565b34801561058857600080fd5b504661047f565b34801561059b57600080fd5b5061047f6105aa36600461290a565b600f6020526000908152604090205481565b3480156105c857600080fd5b50610428610f94565b3480156105dd57600080fd5b506104286105ec36600461274e565b6110c7565b6104286105ff3660046128c9565b611115565b34801561061057600080fd5b5061042861061f36600461293c565b611135565b34801561063057600080fd5b5061042861063f36600461274e565b611191565b34801561065057600080fd5b5061042861065f366004612957565b6111df565b34801561067057600080fd5b5061042861067f3660046129cc565b611291565b34801561069057600080fd5b5061047f606481565b3480156106a557600080fd5b5061047f6106b436600461277c565b6112e7565b3480156106c557600080fd5b506103fd6106d436600461274e565b611381565b3480156106e557600080fd5b5061047f60155481565b3480156106fb57600080fd5b5061047f60125481565b34801561071157600080fd5b5061047f600581565b34801561072657600080fd5b5061047f600381565b34801561073b57600080fd5b5061047f61074a36600461290a565b61138c565b34801561075b57600080fd5b506104286113db565b34801561077057600080fd5b5061042861077f366004612957565b611430565b34801561079057600080fd5b50600b546001600160a01b03166103fd565b3480156107ae57600080fd5b506104286107bd36600461274e565b6114eb565b3480156107ce57600080fd5b506104286107dd3660046129cc565b611539565b3480156107ee57600080fd5b506016546103a69060ff1681565b34801561080857600080fd5b506103d061158f565b34801561081d57600080fd5b506103a661082c36600461290a565b600e6020526000908152604090205460ff1681565b61042861084f36600461274e565b61159e565b34801561086057600080fd5b5061042861086f366004612a2c565b611a2f565b34801561088057600080fd5b5060125461047f565b610428610897366004612a61565b611a9b565b3480156108a857600080fd5b506103d0611ae5565b3480156108bd57600080fd5b506103d0611b73565b3480156108d257600080fd5b506103d06108e136600461274e565b611b80565b3480156108f257600080fd5b5061042861090136600461277c565b611c06565b34801561091257600080fd5b5061047f61092136600461290a565b611d22565b34801561093257600080fd5b506103d0611d6e565b34801561094757600080fd5b506104286109563660046129cc565b611d7b565b34801561096757600080fd5b506103d060405180604001604052806007815260200166556e6947616e6760c81b81525081565b34801561099a57600080fd5b5061047f600d5481565b3480156109b057600080fd5b506103d0611dd1565b3480156109c557600080fd5b506103a66109d4366004612acd565b611de0565b3480156109e557600080fd5b506104286109f436600461293c565b611ea0565b348015610a0557600080fd5b5061047f60135481565b348015610a1b57600080fd5b50610428610a2a36600461290a565b611f03565b348015610a3b57600080fd5b5061047f600181565b60006301ffc9a760e01b6001600160e01b031983161480610a7557506380ac58cd60e01b6001600160e01b03198316145b80610a905750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610aa590612b06565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad190612b06565b8015610b1e5780601f10610af357610100808354040283529160200191610b1e565b820191906000526020600020905b815481529060010190602001808311610b0157829003601f168201915b5050505050905090565b6000610b3382611fbd565b610b50576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b7782611381565b9050336001600160a01b03821614610bb057610b938133611de0565b610bb0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60408051606081810183526001600160a01b0388166000818152600a602090815290859020548452830152918101869052610c4a8782878787611fe4565b610ca55760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b60648201526084015b60405180910390fd5b6001600160a01b0387166000908152600a6020526040902054610cc99060016120d4565b6001600160a01b0388166000908152600a60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610d1990899033908a90612b40565b60405180910390a1600080306001600160a01b0316888a604051602001610d41929190612b75565b60408051601f1981840301815290829052610d5b91612bac565b6000604051808303816000865af19150503d8060008114610d98576040519150601f19603f3d011682016040523d82523d6000602084013e610d9d565b606091505b509150915081610def5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610c9c565b98975050505050505050565b6000610e06826120e0565b9050836001600160a01b0316816001600160a01b031614610e395760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e8657610e698633611de0565b610e8657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ead57604051633a954ecd60e21b815260040160405180910390fd5b8015610eb857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610f4a57600184016000818152600460205260408120549003610f48576000548114610f485760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610f9c612147565b6001600160a01b0316610fb7600b546001600160a01b031690565b6001600160a01b031614610fdd5760405162461bcd60e51b8152600401610c9c90612bc8565b6002600c540361102f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c9c565b6002600c55604051600090339047908381818185875af1925050503d8060008114611076576040519150601f19603f3d011682016040523d82523d6000602084013e61107b565b606091505b50509050806110bf5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610c9c565b506001600c55565b6110cf612147565b6001600160a01b03166110ea600b546001600160a01b031690565b6001600160a01b0316146111105760405162461bcd60e51b8152600401610c9c90612bc8565b601255565b61113083838360405180602001604052806000815250611a9b565b505050565b61113d612147565b6001600160a01b0316611158600b546001600160a01b031690565b6001600160a01b03161461117e5760405162461bcd60e51b8152600401610c9c90612bc8565b6016805460ff1916911515919091179055565b611199612147565b6001600160a01b03166111b4600b546001600160a01b031690565b6001600160a01b0316146111da5760405162461bcd60e51b8152600401610c9c90612bc8565b601455565b6111e7612147565b6001600160a01b0316611202600b546001600160a01b031690565b6001600160a01b0316146112285760405162461bcd60e51b8152600401610c9c90612bc8565b60005b8181101561113057600e600084848481811061124957611249612bfd565b905060200201602081019061125e919061290a565b6001600160a01b031681526020810191909152604001600020805460ff191690558061128981612c29565b91505061122b565b611299612147565b6001600160a01b03166112b4600b546001600160a01b031690565b6001600160a01b0316146112da5760405162461bcd60e51b8152600401610c9c90612bc8565b6017611130828483612c88565b600080601254836112f89190612d48565b60165490915060ff1680156113155750601654610100900460ff16155b1561137a576013546113279084612d48565b90506064601554101561137a576001600160a01b0384166000908152600f602052604090205460019061135a9082612d5f565b1161137a5760135461136d600185612d72565b6113779190612d48565b90505b9392505050565b6000610a90826120e0565b60006001600160a01b0382166113b5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6113e3612147565b6001600160a01b03166113fe600b546001600160a01b031690565b6001600160a01b0316146114245760405162461bcd60e51b8152600401610c9c90612bc8565b61142e6000612156565b565b611438612147565b6001600160a01b0316611453600b546001600160a01b031690565b6001600160a01b0316146114795760405162461bcd60e51b8152600401610c9c90612bc8565b60005b81811015611130576001600e600085858581811061149c5761149c612bfd565b90506020020160208101906114b1919061290a565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806114e381612c29565b91505061147c565b6114f3612147565b6001600160a01b031661150e600b546001600160a01b031690565b6001600160a01b0316146115345760405162461bcd60e51b8152600401610c9c90612bc8565b601355565b611541612147565b6001600160a01b031661155c600b546001600160a01b031690565b6001600160a01b0316146115825760405162461bcd60e51b8152600401610c9c90612bc8565b6018611130828483612c88565b606060038054610aa590612b06565b3233146115ed5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610c9c565b601454816115fe6001546000540390565b6116089190612d5f565b11156116565760405162461bcd60e51b815260206004820152601e60248201527f546f74616c20737570706c7920776f756c6420626520657863656564656400006044820152606401610c9c565b600081116116995760405162461bcd60e51b815260206004820152601060248201526f496e76616c6964207175616e7469747960801b6044820152606401610c9c565b6000601254826116a99190612d48565b601654909150610100900460ff16156117a057601654610100900460ff1661170e5760405162461bcd60e51b8152602060048201526018602482015277135a5b9d081a5cc818dd5c9c995b9d1b1e481c185d5cd95960421b6044820152606401610c9c565b60058211156117585760405162461bcd60e51b815260206004820152601660248201527504d696e74207175616e74697479206c696d69742031360541b6044820152606401610c9c565b8034101561179b5760405162461bcd60e51b815260206004820152601060248201526f139bdd08195b9bdd59da081c185e595960821b6044820152606401610c9c565b611a11565b60165460ff166117ed5760405162461bcd60e51b8152602060048201526018602482015277135a5b9d081a5cc818dd5c9c995b9d1b1e481c185d5cd95960421b6044820152606401610c9c565b600382601060006117fc612147565b6001600160a01b03166001600160a01b03168152602001908152602001600020546118279190612d5f565b111561187f5760405162461bcd60e51b815260206004820152602160248201527f50726976617465206d696e74206d61782033206e6674207065722077616c6c656044820152601d60fa1b6064820152608401610c9c565b60135461188c9083612d48565b9050606460155410156118ec576001600f60006118a7612147565b6001600160a01b031681526020810191909152604001600020546118cc906001612d5f565b116118ec576013546118df600184612d72565b6118e99190612d48565b90505b8034101561192f5760405162461bcd60e51b815260206004820152601060248201526f139bdd08195b9bdd59da081c185e595960821b6044820152606401610c9c565b606460155410156119cf576001600f6000611948612147565b6001600160a01b0316815260208101919091526040016000205461196d906001612d5f565b116119cf576001600f6000611980612147565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546119af9190612d5f565b925050819055506001601560008282546119c99190612d5f565b90915550505b81601060006119dc612147565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254611a0b9190612d5f565b90915550505b611a22611a1c612147565b836121a8565b611a2b816121c2565b5050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611aa6848484610dfb565b6001600160a01b0383163b15611adf57611ac284848484612249565b611adf576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60188054611af290612b06565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1e90612b06565b8015611b6b5780601f10611b4057610100808354040283529160200191611b6b565b820191906000526020600020905b815481529060010190602001808311611b4e57829003601f168201915b505050505081565b60198054611af290612b06565b6060611b8b82611fbd565b611ba857604051630a14c4b560e41b815260040160405180910390fd5b6000611bb2612334565b90508051600003611bd2576040518060200160405280600081525061137a565b80611bdc84612343565b6019604051602001611bf093929190612d85565b6040516020818303038152906040529392505050565b611c0e612147565b6001600160a01b0316611c29600b546001600160a01b031690565b6001600160a01b031614611c4f5760405162461bcd60e51b8152600401610c9c90612bc8565b6002600c5403611ca15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c9c565b6002600c5560145481611cb76001546000540390565b611cc19190612d5f565b1115611d0f5760405162461bcd60e51b815260206004820152601e60248201527f546f74616c20737570706c7920776f756c6420626520657863656564656400006044820152606401610c9c565b611d1982826121a8565b50506001600c55565b6016546000908190610100900460ff1615611d3f57506005610a90565b60165460ff1615610a90576001600160a01b03831660009081526010602052604090205461137a906003612d72565b60178054611af290612b06565b611d83612147565b6001600160a01b0316611d9e600b546001600160a01b031690565b6001600160a01b031614611dc45760405162461bcd60e51b8152600401610c9c90612bc8565b6019611130828483612c88565b606060188054610aa590612b06565b60115460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611e32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e569190612e25565b6001600160a01b031603611e6e576001915050610a90565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b611ea8612147565b6001600160a01b0316611ec3600b546001600160a01b031690565b6001600160a01b031614611ee95760405162461bcd60e51b8152600401610c9c90612bc8565b601680549115156101000261ff0019909216919091179055565b611f0b612147565b6001600160a01b0316611f26600b546001600160a01b031690565b6001600160a01b031614611f4c5760405162461bcd60e51b8152600401610c9c90612bc8565b6001600160a01b038116611fb15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c9c565b611fba81612156565b50565b6000805482108015610a90575050600090815260046020526040902054600160e01b161590565b60006001600160a01b03861661204a5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610c9c565b600161205d61205887612444565b6124c1565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa1580156120ab573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061137a8284612d5f565b60008160005481101561212e5760008181526004602052604081205490600160e01b8216900361212c575b8060000361137a57506000190160008181526004602052604090205461210b565b505b604051636f96cda160e11b815260040160405180910390fd5b60006121516124f1565b905090565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611a2b82826040518060200160405280600081525061254d565b8034101561220b5760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610c9c565b80341115611fba57336108fc6122218334612d72565b6040518115909202916000818181858888f19350505050158015611a2b573d6000803e3d6000fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061227e903390899088908890600401612e42565b6020604051808303816000875af19250505080156122b9575060408051601f3d908101601f191682019092526122b691810190612e7f565b60015b612317573d8080156122e7576040519150601f19603f3d011682016040523d82523d6000602084013e6122ec565b606091505b50805160000361230f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060178054610aa590612b06565b60608160000361236a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612394578061237e81612c29565b915061238d9050600a83612eb2565b915061236e565b60008167ffffffffffffffff8111156123af576123af6127a8565b6040519080825280601f01601f1916602001820160405280156123d9576020820181803683370190505b5090505b8415611e98576123ee600183612d72565b91506123fb600a86612ec6565b612406906030612d5f565b60f81b81838151811061241b5761241b612bfd565b60200101906001600160f81b031916908160001a90535061243d600a86612eb2565b94506123dd565b6000604051806080016040528060438152602001612edb60439139805160209182012083518483015160408087015180519086012090516124a4950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b60006124cc60095490565b60405161190160f01b60208201526022810191909152604281018390526062016124a4565b600030330361254757600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b0316915061254a9050565b50335b90565b61255783836125ba565b6001600160a01b0383163b15611130576000548281035b6125816000868380600101945086612249565b61259e576040516368d2bf6b60e11b815260040160405180910390fd5b81811061256e5781600054146125b357600080fd5b5050505050565b60008054908290036125df5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461268e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612656565b50816000036126af57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114611fba57600080fd5b6000602082840312156126e057600080fd5b813561137a816126b8565b60005b838110156127065781810151838201526020016126ee565b50506000910152565b600081518084526127278160208601602086016126eb565b601f01601f19169290920160200192915050565b60208152600061137a602083018461270f565b60006020828403121561276057600080fd5b5035919050565b6001600160a01b0381168114611fba57600080fd5b6000806040838503121561278f57600080fd5b823561279a81612767565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126127cf57600080fd5b813567ffffffffffffffff808211156127ea576127ea6127a8565b604051601f8301601f19908116603f01168101908282118183101715612812576128126127a8565b8160405283815286602085880101111561282b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080600060a0868803121561286357600080fd5b853561286e81612767565b9450602086013567ffffffffffffffff81111561288a57600080fd5b612896888289016127be565b9450506040860135925060608601359150608086013560ff811681146128bb57600080fd5b809150509295509295909350565b6000806000606084860312156128de57600080fd5b83356128e981612767565b925060208401356128f981612767565b929592945050506040919091013590565b60006020828403121561291c57600080fd5b813561137a81612767565b8035801515811461293757600080fd5b919050565b60006020828403121561294e57600080fd5b61137a82612927565b6000806020838503121561296a57600080fd5b823567ffffffffffffffff8082111561298257600080fd5b818501915085601f83011261299657600080fd5b8135818111156129a557600080fd5b8660208260051b85010111156129ba57600080fd5b60209290920196919550909350505050565b600080602083850312156129df57600080fd5b823567ffffffffffffffff808211156129f757600080fd5b818501915085601f830112612a0b57600080fd5b813581811115612a1a57600080fd5b8660208285010111156129ba57600080fd5b60008060408385031215612a3f57600080fd5b8235612a4a81612767565b9150612a5860208401612927565b90509250929050565b60008060008060808587031215612a7757600080fd5b8435612a8281612767565b93506020850135612a9281612767565b925060408501359150606085013567ffffffffffffffff811115612ab557600080fd5b612ac1878288016127be565b91505092959194509250565b60008060408385031215612ae057600080fd5b8235612aeb81612767565b91506020830135612afb81612767565b809150509250929050565b600181811c90821680612b1a57607f821691505b602082108103612b3a57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03848116825283166020820152606060408201819052600090612b6c9083018461270f565b95945050505050565b60008351612b878184602088016126eb565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008251612bbe8184602087016126eb565b9190910192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612c3b57612c3b612c13565b5060010190565b601f82111561113057600081815260208120601f850160051c81016020861015612c695750805b601f850160051c820191505b81811015610f8c57828155600101612c75565b67ffffffffffffffff831115612ca057612ca06127a8565b612cb483612cae8354612b06565b83612c42565b6000601f841160018114612ce85760008515612cd05750838201355b600019600387901b1c1916600186901b1783556125b3565b600083815260209020601f19861690835b82811015612d195786850135825560209485019460019092019101612cf9565b5086821015612d365760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082028115828204841417610a9057610a90612c13565b80820180821115610a9057610a90612c13565b81810381811115610a9057610a90612c13565b600084516020612d988285838a016126eb565b855191840191612dab8184848a016126eb565b8554920191600090612dbc81612b06565b60018281168015612dd45760018114612de957612e15565b60ff1984168752821515830287019450612e15565b896000528560002060005b84811015612e0d57815489820152908301908701612df4565b505082870194505b50929a9950505050505050505050565b600060208284031215612e3757600080fd5b815161137a81612767565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e759083018461270f565b9695505050505050565b600060208284031215612e9157600080fd5b815161137a816126b8565b634e487b7160e01b600052601260045260246000fd5b600082612ec157612ec1612e9c565b500490565b600082612ed557612ed5612e9c565b50069056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212203060d47bbc9d18594c2ba3a62406ebaf7cb0f651d4bd2b2fab4ae6c3a012dc3364736f6c63430008130033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6567734d696531655745787a656f5a6d3744706d545169326a47626744784a706d595a424a357336674832680000000000000000000000
Deployed Bytecode
0x6080604052600436106103815760003560e01c80636afe79eb116101d1578063c0e7274011610102578063e5326ab1116100a0578063ee1cc9441161006f578063ee1cc944146109d9578063f1177e13146109f9578063f2fde38b14610a0f578063f6647bf614610a2f57600080fd5b8063e5326ab11461095b578063e6798baa1461098e578063e8a3d485146109a4578063e985e9c5146109b957600080fd5b8063cbce4c97116100dc578063cbce4c97146108e6578063cfcf03da14610906578063d547cfb714610926578063da3ef23f1461093b57600080fd5b8063c0e727401461089c578063c6682862146108b1578063c87b56dd146108c657600080fd5b8063950095ea1161016f578063a0712d6811610149578063a0712d6814610841578063a22cb46514610854578063a7f93ebd14610874578063b88d4fde1461088957600080fd5b8063950095ea146107e257806395d89b41146107fc5780639b19251a1461081157600080fd5b80637f649783116101ab5780637f649783146107645780638da5cb5b146107845780638e9c8eb9146107a2578063938e3d7b146107c257600080fd5b80636afe79eb1461071a57806370a082311461072f578063715018a61461074f57600080fd5b80633408e470116102b6578063548db174116102545780636352211e116102235780636352211e146106b957806365c48837146106d95780636817c76c146106ef57806368ed2e3b1461070557600080fd5b8063548db1741461064457806355f804b3146106645780635b07563f14610684578063615112aa1461069957600080fd5b80633fd17366116102905780633fd17366146105d157806342842e0e146105f15780634511dcfb1461060457806352e973261461062457600080fd5b80633408e4701461057c578063389fcf061461058f5780633ccfd60b146105bc57600080fd5b806320379ee5116103235780632a7144f7116102fd5780632a7144f7146104d45780632ab4d052146105015780632d0335ab146105175780632f39352a1461054d57600080fd5b806320379ee51461048d57806323b872dd146104a257806325fd90f3146104b557600080fd5b8063095ea7b31161035f578063095ea7b3146104155780630c53c51c1461042a5780630f7e59701461043d57806318160ddd1461046a57600080fd5b806301ffc9a71461038657806306fdde03146103bb578063081812fc146103dd575b600080fd5b34801561039257600080fd5b506103a66103a13660046126ce565b610a44565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0610a96565b6040516103b2919061273b565b3480156103e957600080fd5b506103fd6103f836600461274e565b610b28565b6040516001600160a01b0390911681526020016103b2565b61042861042336600461277c565b610b6c565b005b6103d061043836600461284b565b610c0c565b34801561044957600080fd5b506103d0604051806040016040528060018152602001603160f81b81525081565b34801561047657600080fd5b50600154600054035b6040519081526020016103b2565b34801561049957600080fd5b5060095461047f565b6104286104b03660046128c9565b610dfb565b3480156104c157600080fd5b506016546103a690610100900460ff1681565b3480156104e057600080fd5b5061047f6104ef36600461290a565b60106020526000908152604090205481565b34801561050d57600080fd5b5061047f60145481565b34801561052357600080fd5b5061047f61053236600461290a565b6001600160a01b03166000908152600a602052604090205490565b34801561055957600080fd5b506103d060405180604001604052806003815260200162554e4960e81b81525081565b34801561058857600080fd5b504661047f565b34801561059b57600080fd5b5061047f6105aa36600461290a565b600f6020526000908152604090205481565b3480156105c857600080fd5b50610428610f94565b3480156105dd57600080fd5b506104286105ec36600461274e565b6110c7565b6104286105ff3660046128c9565b611115565b34801561061057600080fd5b5061042861061f36600461293c565b611135565b34801561063057600080fd5b5061042861063f36600461274e565b611191565b34801561065057600080fd5b5061042861065f366004612957565b6111df565b34801561067057600080fd5b5061042861067f3660046129cc565b611291565b34801561069057600080fd5b5061047f606481565b3480156106a557600080fd5b5061047f6106b436600461277c565b6112e7565b3480156106c557600080fd5b506103fd6106d436600461274e565b611381565b3480156106e557600080fd5b5061047f60155481565b3480156106fb57600080fd5b5061047f60125481565b34801561071157600080fd5b5061047f600581565b34801561072657600080fd5b5061047f600381565b34801561073b57600080fd5b5061047f61074a36600461290a565b61138c565b34801561075b57600080fd5b506104286113db565b34801561077057600080fd5b5061042861077f366004612957565b611430565b34801561079057600080fd5b50600b546001600160a01b03166103fd565b3480156107ae57600080fd5b506104286107bd36600461274e565b6114eb565b3480156107ce57600080fd5b506104286107dd3660046129cc565b611539565b3480156107ee57600080fd5b506016546103a69060ff1681565b34801561080857600080fd5b506103d061158f565b34801561081d57600080fd5b506103a661082c36600461290a565b600e6020526000908152604090205460ff1681565b61042861084f36600461274e565b61159e565b34801561086057600080fd5b5061042861086f366004612a2c565b611a2f565b34801561088057600080fd5b5060125461047f565b610428610897366004612a61565b611a9b565b3480156108a857600080fd5b506103d0611ae5565b3480156108bd57600080fd5b506103d0611b73565b3480156108d257600080fd5b506103d06108e136600461274e565b611b80565b3480156108f257600080fd5b5061042861090136600461277c565b611c06565b34801561091257600080fd5b5061047f61092136600461290a565b611d22565b34801561093257600080fd5b506103d0611d6e565b34801561094757600080fd5b506104286109563660046129cc565b611d7b565b34801561096757600080fd5b506103d060405180604001604052806007815260200166556e6947616e6760c81b81525081565b34801561099a57600080fd5b5061047f600d5481565b3480156109b057600080fd5b506103d0611dd1565b3480156109c557600080fd5b506103a66109d4366004612acd565b611de0565b3480156109e557600080fd5b506104286109f436600461293c565b611ea0565b348015610a0557600080fd5b5061047f60135481565b348015610a1b57600080fd5b50610428610a2a36600461290a565b611f03565b348015610a3b57600080fd5b5061047f600181565b60006301ffc9a760e01b6001600160e01b031983161480610a7557506380ac58cd60e01b6001600160e01b03198316145b80610a905750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610aa590612b06565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad190612b06565b8015610b1e5780601f10610af357610100808354040283529160200191610b1e565b820191906000526020600020905b815481529060010190602001808311610b0157829003601f168201915b5050505050905090565b6000610b3382611fbd565b610b50576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b7782611381565b9050336001600160a01b03821614610bb057610b938133611de0565b610bb0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60408051606081810183526001600160a01b0388166000818152600a602090815290859020548452830152918101869052610c4a8782878787611fe4565b610ca55760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b60648201526084015b60405180910390fd5b6001600160a01b0387166000908152600a6020526040902054610cc99060016120d4565b6001600160a01b0388166000908152600a60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610d1990899033908a90612b40565b60405180910390a1600080306001600160a01b0316888a604051602001610d41929190612b75565b60408051601f1981840301815290829052610d5b91612bac565b6000604051808303816000865af19150503d8060008114610d98576040519150601f19603f3d011682016040523d82523d6000602084013e610d9d565b606091505b509150915081610def5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610c9c565b98975050505050505050565b6000610e06826120e0565b9050836001600160a01b0316816001600160a01b031614610e395760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e8657610e698633611de0565b610e8657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ead57604051633a954ecd60e21b815260040160405180910390fd5b8015610eb857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610f4a57600184016000818152600460205260408120549003610f48576000548114610f485760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610f9c612147565b6001600160a01b0316610fb7600b546001600160a01b031690565b6001600160a01b031614610fdd5760405162461bcd60e51b8152600401610c9c90612bc8565b6002600c540361102f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c9c565b6002600c55604051600090339047908381818185875af1925050503d8060008114611076576040519150601f19603f3d011682016040523d82523d6000602084013e61107b565b606091505b50509050806110bf5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610c9c565b506001600c55565b6110cf612147565b6001600160a01b03166110ea600b546001600160a01b031690565b6001600160a01b0316146111105760405162461bcd60e51b8152600401610c9c90612bc8565b601255565b61113083838360405180602001604052806000815250611a9b565b505050565b61113d612147565b6001600160a01b0316611158600b546001600160a01b031690565b6001600160a01b03161461117e5760405162461bcd60e51b8152600401610c9c90612bc8565b6016805460ff1916911515919091179055565b611199612147565b6001600160a01b03166111b4600b546001600160a01b031690565b6001600160a01b0316146111da5760405162461bcd60e51b8152600401610c9c90612bc8565b601455565b6111e7612147565b6001600160a01b0316611202600b546001600160a01b031690565b6001600160a01b0316146112285760405162461bcd60e51b8152600401610c9c90612bc8565b60005b8181101561113057600e600084848481811061124957611249612bfd565b905060200201602081019061125e919061290a565b6001600160a01b031681526020810191909152604001600020805460ff191690558061128981612c29565b91505061122b565b611299612147565b6001600160a01b03166112b4600b546001600160a01b031690565b6001600160a01b0316146112da5760405162461bcd60e51b8152600401610c9c90612bc8565b6017611130828483612c88565b600080601254836112f89190612d48565b60165490915060ff1680156113155750601654610100900460ff16155b1561137a576013546113279084612d48565b90506064601554101561137a576001600160a01b0384166000908152600f602052604090205460019061135a9082612d5f565b1161137a5760135461136d600185612d72565b6113779190612d48565b90505b9392505050565b6000610a90826120e0565b60006001600160a01b0382166113b5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6113e3612147565b6001600160a01b03166113fe600b546001600160a01b031690565b6001600160a01b0316146114245760405162461bcd60e51b8152600401610c9c90612bc8565b61142e6000612156565b565b611438612147565b6001600160a01b0316611453600b546001600160a01b031690565b6001600160a01b0316146114795760405162461bcd60e51b8152600401610c9c90612bc8565b60005b81811015611130576001600e600085858581811061149c5761149c612bfd565b90506020020160208101906114b1919061290a565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806114e381612c29565b91505061147c565b6114f3612147565b6001600160a01b031661150e600b546001600160a01b031690565b6001600160a01b0316146115345760405162461bcd60e51b8152600401610c9c90612bc8565b601355565b611541612147565b6001600160a01b031661155c600b546001600160a01b031690565b6001600160a01b0316146115825760405162461bcd60e51b8152600401610c9c90612bc8565b6018611130828483612c88565b606060038054610aa590612b06565b3233146115ed5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610c9c565b601454816115fe6001546000540390565b6116089190612d5f565b11156116565760405162461bcd60e51b815260206004820152601e60248201527f546f74616c20737570706c7920776f756c6420626520657863656564656400006044820152606401610c9c565b600081116116995760405162461bcd60e51b815260206004820152601060248201526f496e76616c6964207175616e7469747960801b6044820152606401610c9c565b6000601254826116a99190612d48565b601654909150610100900460ff16156117a057601654610100900460ff1661170e5760405162461bcd60e51b8152602060048201526018602482015277135a5b9d081a5cc818dd5c9c995b9d1b1e481c185d5cd95960421b6044820152606401610c9c565b60058211156117585760405162461bcd60e51b815260206004820152601660248201527504d696e74207175616e74697479206c696d69742031360541b6044820152606401610c9c565b8034101561179b5760405162461bcd60e51b815260206004820152601060248201526f139bdd08195b9bdd59da081c185e595960821b6044820152606401610c9c565b611a11565b60165460ff166117ed5760405162461bcd60e51b8152602060048201526018602482015277135a5b9d081a5cc818dd5c9c995b9d1b1e481c185d5cd95960421b6044820152606401610c9c565b600382601060006117fc612147565b6001600160a01b03166001600160a01b03168152602001908152602001600020546118279190612d5f565b111561187f5760405162461bcd60e51b815260206004820152602160248201527f50726976617465206d696e74206d61782033206e6674207065722077616c6c656044820152601d60fa1b6064820152608401610c9c565b60135461188c9083612d48565b9050606460155410156118ec576001600f60006118a7612147565b6001600160a01b031681526020810191909152604001600020546118cc906001612d5f565b116118ec576013546118df600184612d72565b6118e99190612d48565b90505b8034101561192f5760405162461bcd60e51b815260206004820152601060248201526f139bdd08195b9bdd59da081c185e595960821b6044820152606401610c9c565b606460155410156119cf576001600f6000611948612147565b6001600160a01b0316815260208101919091526040016000205461196d906001612d5f565b116119cf576001600f6000611980612147565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546119af9190612d5f565b925050819055506001601560008282546119c99190612d5f565b90915550505b81601060006119dc612147565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254611a0b9190612d5f565b90915550505b611a22611a1c612147565b836121a8565b611a2b816121c2565b5050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611aa6848484610dfb565b6001600160a01b0383163b15611adf57611ac284848484612249565b611adf576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60188054611af290612b06565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1e90612b06565b8015611b6b5780601f10611b4057610100808354040283529160200191611b6b565b820191906000526020600020905b815481529060010190602001808311611b4e57829003601f168201915b505050505081565b60198054611af290612b06565b6060611b8b82611fbd565b611ba857604051630a14c4b560e41b815260040160405180910390fd5b6000611bb2612334565b90508051600003611bd2576040518060200160405280600081525061137a565b80611bdc84612343565b6019604051602001611bf093929190612d85565b6040516020818303038152906040529392505050565b611c0e612147565b6001600160a01b0316611c29600b546001600160a01b031690565b6001600160a01b031614611c4f5760405162461bcd60e51b8152600401610c9c90612bc8565b6002600c5403611ca15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c9c565b6002600c5560145481611cb76001546000540390565b611cc19190612d5f565b1115611d0f5760405162461bcd60e51b815260206004820152601e60248201527f546f74616c20737570706c7920776f756c6420626520657863656564656400006044820152606401610c9c565b611d1982826121a8565b50506001600c55565b6016546000908190610100900460ff1615611d3f57506005610a90565b60165460ff1615610a90576001600160a01b03831660009081526010602052604090205461137a906003612d72565b60178054611af290612b06565b611d83612147565b6001600160a01b0316611d9e600b546001600160a01b031690565b6001600160a01b031614611dc45760405162461bcd60e51b8152600401610c9c90612bc8565b6019611130828483612c88565b606060188054610aa590612b06565b60115460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611e32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e569190612e25565b6001600160a01b031603611e6e576001915050610a90565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b611ea8612147565b6001600160a01b0316611ec3600b546001600160a01b031690565b6001600160a01b031614611ee95760405162461bcd60e51b8152600401610c9c90612bc8565b601680549115156101000261ff0019909216919091179055565b611f0b612147565b6001600160a01b0316611f26600b546001600160a01b031690565b6001600160a01b031614611f4c5760405162461bcd60e51b8152600401610c9c90612bc8565b6001600160a01b038116611fb15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c9c565b611fba81612156565b50565b6000805482108015610a90575050600090815260046020526040902054600160e01b161590565b60006001600160a01b03861661204a5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610c9c565b600161205d61205887612444565b6124c1565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa1580156120ab573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061137a8284612d5f565b60008160005481101561212e5760008181526004602052604081205490600160e01b8216900361212c575b8060000361137a57506000190160008181526004602052604090205461210b565b505b604051636f96cda160e11b815260040160405180910390fd5b60006121516124f1565b905090565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611a2b82826040518060200160405280600081525061254d565b8034101561220b5760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610c9c565b80341115611fba57336108fc6122218334612d72565b6040518115909202916000818181858888f19350505050158015611a2b573d6000803e3d6000fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061227e903390899088908890600401612e42565b6020604051808303816000875af19250505080156122b9575060408051601f3d908101601f191682019092526122b691810190612e7f565b60015b612317573d8080156122e7576040519150601f19603f3d011682016040523d82523d6000602084013e6122ec565b606091505b50805160000361230f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060178054610aa590612b06565b60608160000361236a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612394578061237e81612c29565b915061238d9050600a83612eb2565b915061236e565b60008167ffffffffffffffff8111156123af576123af6127a8565b6040519080825280601f01601f1916602001820160405280156123d9576020820181803683370190505b5090505b8415611e98576123ee600183612d72565b91506123fb600a86612ec6565b612406906030612d5f565b60f81b81838151811061241b5761241b612bfd565b60200101906001600160f81b031916908160001a90535061243d600a86612eb2565b94506123dd565b6000604051806080016040528060438152602001612edb60439139805160209182012083518483015160408087015180519086012090516124a4950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b60006124cc60095490565b60405161190160f01b60208201526022810191909152604281018390526062016124a4565b600030330361254757600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b0316915061254a9050565b50335b90565b61255783836125ba565b6001600160a01b0383163b15611130576000548281035b6125816000868380600101945086612249565b61259e576040516368d2bf6b60e11b815260040160405180910390fd5b81811061256e5781600054146125b357600080fd5b5050505050565b60008054908290036125df5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461268e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612656565b50816000036126af57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114611fba57600080fd5b6000602082840312156126e057600080fd5b813561137a816126b8565b60005b838110156127065781810151838201526020016126ee565b50506000910152565b600081518084526127278160208601602086016126eb565b601f01601f19169290920160200192915050565b60208152600061137a602083018461270f565b60006020828403121561276057600080fd5b5035919050565b6001600160a01b0381168114611fba57600080fd5b6000806040838503121561278f57600080fd5b823561279a81612767565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126127cf57600080fd5b813567ffffffffffffffff808211156127ea576127ea6127a8565b604051601f8301601f19908116603f01168101908282118183101715612812576128126127a8565b8160405283815286602085880101111561282b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080600060a0868803121561286357600080fd5b853561286e81612767565b9450602086013567ffffffffffffffff81111561288a57600080fd5b612896888289016127be565b9450506040860135925060608601359150608086013560ff811681146128bb57600080fd5b809150509295509295909350565b6000806000606084860312156128de57600080fd5b83356128e981612767565b925060208401356128f981612767565b929592945050506040919091013590565b60006020828403121561291c57600080fd5b813561137a81612767565b8035801515811461293757600080fd5b919050565b60006020828403121561294e57600080fd5b61137a82612927565b6000806020838503121561296a57600080fd5b823567ffffffffffffffff8082111561298257600080fd5b818501915085601f83011261299657600080fd5b8135818111156129a557600080fd5b8660208260051b85010111156129ba57600080fd5b60209290920196919550909350505050565b600080602083850312156129df57600080fd5b823567ffffffffffffffff808211156129f757600080fd5b818501915085601f830112612a0b57600080fd5b813581811115612a1a57600080fd5b8660208285010111156129ba57600080fd5b60008060408385031215612a3f57600080fd5b8235612a4a81612767565b9150612a5860208401612927565b90509250929050565b60008060008060808587031215612a7757600080fd5b8435612a8281612767565b93506020850135612a9281612767565b925060408501359150606085013567ffffffffffffffff811115612ab557600080fd5b612ac1878288016127be565b91505092959194509250565b60008060408385031215612ae057600080fd5b8235612aeb81612767565b91506020830135612afb81612767565b809150509250929050565b600181811c90821680612b1a57607f821691505b602082108103612b3a57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03848116825283166020820152606060408201819052600090612b6c9083018461270f565b95945050505050565b60008351612b878184602088016126eb565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008251612bbe8184602087016126eb565b9190910192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612c3b57612c3b612c13565b5060010190565b601f82111561113057600081815260208120601f850160051c81016020861015612c695750805b601f850160051c820191505b81811015610f8c57828155600101612c75565b67ffffffffffffffff831115612ca057612ca06127a8565b612cb483612cae8354612b06565b83612c42565b6000601f841160018114612ce85760008515612cd05750838201355b600019600387901b1c1916600186901b1783556125b3565b600083815260209020601f19861690835b82811015612d195786850135825560209485019460019092019101612cf9565b5086821015612d365760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082028115828204841417610a9057610a90612c13565b80820180821115610a9057610a90612c13565b81810381811115610a9057610a90612c13565b600084516020612d988285838a016126eb565b855191840191612dab8184848a016126eb565b8554920191600090612dbc81612b06565b60018281168015612dd45760018114612de957612e15565b60ff1984168752821515830287019450612e15565b896000528560002060005b84811015612e0d57815489820152908301908701612df4565b505082870194505b50929a9950505050505050505050565b600060208284031215612e3757600080fd5b815161137a81612767565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e759083018461270f565b9695505050505050565b600060208284031215612e9157600080fd5b815161137a816126b8565b634e487b7160e01b600052601260045260246000fd5b600082612ec157612ec1612e9c565b500490565b600082612ed557612ed5612e9c565b50069056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212203060d47bbc9d18594c2ba3a62406ebaf7cb0f651d4bd2b2fab4ae6c3a012dc3364736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6567734d696531655745787a656f5a6d3744706d545169326a47626744784a706d595a424a357336674832680000000000000000000000
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : contractURI_ (string): ipfs://QmegsMie1eWExzeoZm7DpmTQi2jGbgDxJpmYZBJ5s6gH2h
Arg [2] : startTokenId_ (uint256): 1
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [4] : 697066733a2f2f516d6567734d696531655745787a656f5a6d3744706d545169
Arg [5] : 326a47626744784a706d595a424a357336674832680000000000000000000000
Deployed Bytecode Sourcemap
79784:7683:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18711:636;;;;;;;;;;-1:-1:-1;18711:636:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18711:636:0;;;;;;;;19610:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26001:218::-;;;;;;;;;;-1:-1:-1;26001:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;26001:218:0;1533:203:1;25434:408:0;;;;;;:::i;:::-;;:::i;:::-;;77607:1142;;;;;;:::i;:::-;;:::i;74900:43::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;74900:43:0;;;;;15388:311;;;;;;;;;;-1:-1:-1;15654:12:0;;15449:7;15638:13;:28;15388:311;;;4184:25:1;;;4172:2;4157:18;15388:311:0;4038:177:1;75901:101:0;;;;;;;;;;-1:-1:-1;75979:15:0;;75901:101;;29613:2735;;;;;;:::i;:::-;;:::i;80706:30::-;;;;;;;;;;-1:-1:-1;80706:30:0;;;;;;;;;;;80046:48;;;;;;;;;;-1:-1:-1;80046:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;80526:35;;;;;;;;;;;;;;;;79131:107;;;;;;;;;;-1:-1:-1;79131:107:0;;;;;:::i;:::-;-1:-1:-1;;;;;79218:12:0;79184:13;79218:12;;;:6;:12;;;;;;;79131:107;80196:47;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;80196:47:0;;;;;76010:161;;;;;;;;;;-1:-1:-1;76124:9:0;76010:161;;79994:45;;;;;;;;;;-1:-1:-1;79994:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;87280:184;;;;;;;;;;;;;:::i;84798:99::-;;;;;;;;;;-1:-1:-1;84798:99:0;;;;;:::i;:::-;;:::i;32444:193::-;;;;;;:::i;:::-;;:::i;84329:103::-;;;;;;;;;;-1:-1:-1;84329:103:0;;;;;:::i;:::-;;:::i;85026:108::-;;;;;;;;;;-1:-1:-1;85026:108:0;;;;;:::i;:::-;;:::i;86757:226::-;;;;;;;;;;-1:-1:-1;86757:226:0;;;;;:::i;:::-;;:::i;84440:103::-;;;;;;;;;;-1:-1:-1;84440:103:0;;;;;:::i;:::-;;:::i;80568:48::-;;;;;;;;;;;;80613:3;80568:48;;83451:541;;;;;;;;;;-1:-1:-1;83451:541:0;;;;;:::i;:::-;;:::i;21003:152::-;;;;;;;;;;-1:-1:-1;21003:152:0;;;;;:::i;:::-;;:::i;80623:30::-;;;;;;;;;;;;;;;;80428:38;;;;;;;;;;;;;;;;80252:46;;;;;;;;;;;;80297:1;80252:46;;80305:55;;;;;;;;;;;;80359:1;80305:55;;16548:233;;;;;;;;;;-1:-1:-1;16548:233:0;;;;;:::i;:::-;;:::i;63614:103::-;;;;;;;;;;;;;:::i;86481:212::-;;;;;;;;;;-1:-1:-1;86481:212:0;;;;;:::i;:::-;;:::i;62963:87::-;;;;;;;;;;-1:-1:-1;63036:6:0;;-1:-1:-1;;;;;63036:6:0;62963:87;;84905:113;;;;;;;;;;-1:-1:-1;84905:113:0;;;;;:::i;:::-;;:::i;84551:117::-;;;;;;;;;;-1:-1:-1;84551:117:0;;;;;:::i;:::-;;:::i;80662:37::-;;;;;;;;;;-1:-1:-1;80662:37:0;;;;;;;;19786:104;;;;;;;;;;;;;:::i;79946:41::-;;;;;;;;;;-1:-1:-1;79946:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;81565:1527;;;;;;:::i;:::-;;:::i;26559:234::-;;;;;;;;;;-1:-1:-1;26559:234:0;;;;;:::i;:::-;;:::i;85142:89::-;;;;;;;;;;-1:-1:-1;85214:9:0;;85142:89;;33235:407;;;;;;:::i;:::-;;:::i;80778:26::-;;;;;;;;;;;;;:::i;80811:37::-;;;;;;;;;;;;;:::i;85423:333::-;;;;;;;;;;-1:-1:-1;85423:333:0;;;;;:::i;:::-;;:::i;81343:214::-;;;;;;;;;;-1:-1:-1;81343:214:0;;;;;:::i;:::-;;:::i;83100:343::-;;;;;;;;;;-1:-1:-1;83100:343:0;;;;;:::i;:::-;;:::i;80745:26::-;;;;;;;;;;;;;:::i;84676:114::-;;;;;;;;;;-1:-1:-1;84676:114:0;;;;;:::i;:::-;;:::i;80140:49::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;80140:49:0;;;;;9616:27;;;;;;;;;;;;;;;;85764:97;;;;;;;;;;;;;:::i;85993:429::-;;;;;;;;;;-1:-1:-1;85993:429:0;;;;;:::i;:::-;;:::i;84232:89::-;;;;;;;;;;-1:-1:-1;84232:89:0;;;;;:::i;:::-;;:::i;80473:44::-;;;;;;;;;;;;;;;;63872:201;;;;;;;;;;-1:-1:-1;63872:201:0;;;;;:::i;:::-;;:::i;80367:52::-;;;;;;;;;;;;80418:1;80367:52;;18711:636;18796:4;-1:-1:-1;;;;;;;;;19116:25:0;;;;:98;;-1:-1:-1;;;;;;;;;;19189:25:0;;;19116:98;:171;;;-1:-1:-1;;;;;;;;;;19262:25:0;;;19116:171;19100:187;18711:636;-1:-1:-1;;18711:636:0:o;19610:100::-;19664:13;19697:5;19690:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19610:100;:::o;26001:218::-;26077:7;26102:16;26110:7;26102;:16::i;:::-;26097:64;;26127:34;;-1:-1:-1;;;26127:34:0;;;;;;;;;;;26097:64;-1:-1:-1;26181:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26181:30:0;;26001:218::o;25434:408::-;25523:13;25539:16;25547:7;25539;:16::i;:::-;25523:32;-1:-1:-1;49155:10:0;-1:-1:-1;;;;;25572:28:0;;;25568:175;;25620:44;25637:5;49155:10;85993:429;:::i;25620:44::-;25615:128;;25692:35;;-1:-1:-1;;;25692:35:0;;;;;;;;;;;25615:128;25755:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25755:35:0;-1:-1:-1;;;;;25755:35:0;;;;;;;;;25806:28;;25755:24;;25806:28;;;;;;;25512:330;25434:408;;:::o;77607:1142::-;77865:143;;;77808:12;77865:143;;;;;-1:-1:-1;;;;;77900:19:0;;77833:29;77900:19;;;:6;:19;;;;;;;;;77865:143;;;;;;;;;;;78043:45;77907:11;77865:143;78071:4;78077;78083;78043:6;:45::i;:::-;78021:128;;;;-1:-1:-1;;;78021:128:0;;8652:2:1;78021:128:0;;;8634:21:1;8691:2;8671:18;;;8664:30;8730:34;8710:18;;;8703:62;-1:-1:-1;;;8781:18:1;;;8774:31;8822:19;;78021:128:0;;;;;;;;;-1:-1:-1;;;;;78238:19:0;;;;;;:6;:19;;;;;;:26;;78262:1;78238:23;:26::i;:::-;-1:-1:-1;;;;;78216:19:0;;;;;;:6;:19;;;;;;;:48;;;;78282:126;;;;;78223:11;;78354:10;;78380:17;;78282:126;:::i;:::-;;;;;;;;78519:12;78533:23;78568:4;-1:-1:-1;;;;;78560:18:0;78610:17;78629:11;78593:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;78593:48:0;;;;;;;;;;78560:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78518:134;;;;78671:7;78663:48;;;;-1:-1:-1;;;78663:48:0;;10216:2:1;78663:48:0;;;10198:21:1;10255:2;10235:18;;;10228:30;10294;10274:18;;;10267:58;10342:18;;78663:48:0;10014:352:1;78663:48:0;78731:10;77607:1142;-1:-1:-1;;;;;;;;77607:1142:0:o;29613:2735::-;29755:27;29785;29804:7;29785:18;:27::i;:::-;29755:57;;29870:4;-1:-1:-1;;;;;29829:45:0;29845:19;-1:-1:-1;;;;;29829:45:0;;29825:86;;29883:28;;-1:-1:-1;;;29883:28:0;;;;;;;;;;;29825:86;29925:27;28721:24;;;:15;:24;;;;;28949:26;;49155:10;28358:30;;;-1:-1:-1;;;;;28059:28:0;;28336:20;;;28333:56;30111:180;;30204:43;30221:4;49155:10;85993:429;:::i;30204:43::-;30199:92;;30256:35;;-1:-1:-1;;;30256:35:0;;;;;;;;;;;30199:92;-1:-1:-1;;;;;30308:16:0;;30304:52;;30333:23;;-1:-1:-1;;;30333:23:0;;;;;;;;;;;30304:52;30505:15;30502:156;;;30641:1;30620:19;30613:30;30502:156;-1:-1:-1;;;;;31026:24:0;;;;;;;:18;:24;;;;;;31024:26;;-1:-1:-1;;31024:26:0;;;31100:22;;;;;;;;;31098:24;;-1:-1:-1;31098:24:0;;;24296:11;24271:23;24267:41;24254:63;-1:-1:-1;;;24254:63:0;31378:26;;;;:17;:26;;;;;:163;;;;-1:-1:-1;;;31653:47:0;;:52;;31649:587;;31754:1;31744:11;;31722:19;31869:30;;;:17;:30;;;;;;:35;;31865:360;;31999:13;;31984:11;:28;31980:230;;32138:30;;;;:17;:30;;;;;:52;;;31980:230;31707:529;31649:587;32279:7;32275:2;-1:-1:-1;;;;;32260:27:0;32269:4;-1:-1:-1;;;;;32260:27:0;;;;;;;;;;;32298:42;29744:2604;;;29613:2735;;;:::o;87280:184::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;66082:1:::1;66678:7;;:19:::0;66670:63:::1;;;::::0;-1:-1:-1;;;66670:63:0;;10934:2:1;66670:63:0::1;::::0;::::1;10916:21:1::0;10973:2;10953:18;;;10946:30;11012:33;10992:18;;;10985:61;11063:18;;66670:63:0::1;10732:355:1::0;66670:63:0::1;66082:1;66811:7;:18:::0;87359:50:::2;::::0;87342:12:::2;::::0;87359:10:::2;::::0;87383:21:::2;::::0;87342:12;87359:50;87342:12;87359:50;87383:21;87359:10;:50:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87341:68;;;87428:7;87420:36;;;::::0;-1:-1:-1;;;87420:36:0;;11504:2:1;87420:36:0::2;::::0;::::2;11486:21:1::0;11543:2;11523:18;;;11516:30;-1:-1:-1;;;11562:18:1;;;11555:46;11618:18;;87420:36:0::2;11302:340:1::0;87420:36:0::2;-1:-1:-1::0;66038:1:0::1;66990:7;:22:::0;87280:184::o;84798:99::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;84869:9:::1;:20:::0;84798:99::o;32444:193::-;32590:39;32607:4;32613:2;32617:7;32590:39;;;;;;;;;;;;:16;:39::i;:::-;32444:193;;;:::o;84329:103::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;84399:17:::1;:25:::0;;-1:-1:-1;;84399:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;84329:103::o;85026:108::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;85100:14:::1;:26:::0;85026:108::o;86757:226::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;86864:6:::1;86859:117;86876:28:::0;;::::1;86859:117;;;86933:9;:31;86943:17;;86961:1;86943:20;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;86933:31:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;86933:31:0;86926:38;;-1:-1:-1;;86926:38:0::1;::::0;;86906:3;::::1;::::0;::::1;:::i;:::-;;;;86859:117;;84440:103:::0;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;84513:12:::1;:22;84528:7:::0;;84513:12;:22:::1;:::i;83451:541::-:0;83533:7;83553:20;83587:9;;83576:8;:20;;;;:::i;:::-;83613:17;;83553:43;;-1:-1:-1;83613:17:0;;:32;;;;-1:-1:-1;83635:10:0;;;;;;;83634:11;83613:32;83609:344;;;83688:16;;83677:27;;:8;:27;:::i;:::-;83662:42;;80613:3;83725:15;;:36;83721:221;;;-1:-1:-1;;;;;83786:16:0;;;;;;:10;:16;;;;;;80418:1;;83786:20;;80418:1;83786:20;:::i;:::-;:48;83782:145;;83891:16;;83875:12;83886:1;83875:8;:12;:::i;:::-;83874:33;;;;:::i;:::-;83859:48;;83782:145;83972:12;83451:541;-1:-1:-1;;;83451:541:0:o;21003:152::-;21075:7;21118:27;21137:7;21118:18;:27::i;16548:233::-;16620:7;-1:-1:-1;;;;;16644:19:0;;16640:60;;16672:28;;-1:-1:-1;;;16672:28:0;;;;;;;;;;;16640:60;-1:-1:-1;;;;;;16718:25:0;;;;;:18;:25;;;;;;10735:13;16718:55;;16548:233::o;63614:103::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;63679:30:::1;63706:1;63679:18;:30::i;:::-;63614:103::o:0;86481:212::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;86580:6:::1;86575:111;86592:25:::0;;::::1;86575:111;;;86670:4;86639:9;:28;86649:14;;86664:1;86649:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;86639:28:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;86639:28:0;:35;;-1:-1:-1;;86639:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;86619:3;::::1;::::0;::::1;:::i;:::-;;;;86575:111;;84905:113:::0;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;84983:16:::1;:27:::0;84905:113::o;84551:117::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;84633:12:::1;:27;84648:12:::0;;84633;:27:::1;:::i;19786:104::-:0;19842:13;19875:7;19868:14;;;;;:::i;81565:1527::-;81257:9;81270:10;81257:23;81249:66;;;;-1:-1:-1;;;81249:66:0;;14747:2:1;81249:66:0;;;14729:21:1;14786:2;14766:18;;;14759:30;14825:32;14805:18;;;14798:60;14875:18;;81249:66:0;14545:354:1;81249:66:0;81674:14:::1;;81662:8;81646:13;15654:12:::0;;15449:7;15638:13;:28;;15388:311;81646:13:::1;:24;;;;:::i;:::-;:42;;81638:85;;;::::0;-1:-1:-1;;;81638:85:0;;15106:2:1;81638:85:0::1;::::0;::::1;15088:21:1::0;15145:2;15125:18;;;15118:30;15184:32;15164:18;;;15157:60;15234:18;;81638:85:0::1;14904:354:1::0;81638:85:0::1;81753:1;81742:8;:12;81734:41;;;::::0;-1:-1:-1;;;81734:41:0;;15465:2:1;81734:41:0::1;::::0;::::1;15447:21:1::0;15504:2;15484:18;;;15477:30;-1:-1:-1;;;15523:18:1;;;15516:46;15579:18;;81734:41:0::1;15263:340:1::0;81734:41:0::1;81788:20;81822:9;;81811:8;:20;;;;:::i;:::-;81848:10;::::0;81788:43;;-1:-1:-1;81848:10:0::1;::::0;::::1;;;81844:1156;;;81883:10;::::0;::::1;::::0;::::1;;;81875:47;;;::::0;-1:-1:-1;;;81875:47:0;;15810:2:1;81875:47:0::1;::::0;::::1;15792:21:1::0;15849:2;15829:18;;;15822:30;-1:-1:-1;;;15868:18:1;;;15861:54;15932:18;;81875:47:0::1;15608:348:1::0;81875:47:0::1;80297:1;81945:8;:30;;81937:65;;;::::0;-1:-1:-1;;;81937:65:0;;16163:2:1;81937:65:0::1;::::0;::::1;16145:21:1::0;16202:2;16182:18;;;16175:30;-1:-1:-1;;;16221:18:1;;;16214:52;16283:18;;81937:65:0::1;15961:346:1::0;81937:65:0::1;82038:12;82025:9;:25;;82017:54;;;::::0;-1:-1:-1;;;82017:54:0;;16514:2:1;82017:54:0::1;::::0;::::1;16496:21:1::0;16553:2;16533:18;;;16526:30;-1:-1:-1;;;16572:18:1;;;16565:46;16628:18;;82017:54:0::1;16312:340:1::0;82017:54:0::1;81844:1156;;;82112:17;::::0;::::1;;82104:54;;;::::0;-1:-1:-1;;;82104:54:0;;15810:2:1;82104:54:0::1;::::0;::::1;15792:21:1::0;15849:2;15829:18;;;15822:30;-1:-1:-1;;;15868:18:1;;;15861:54;15932:18;;82104:54:0::1;15608:348:1::0;82104:54:0::1;80359:1;82211:8;82181:13;:27;82195:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;82181:27:0::1;-1:-1:-1::0;;;;;82181:27:0::1;;;;;;;;;;;;;:38;;;;:::i;:::-;:69;;82173:115;;;::::0;-1:-1:-1;;;82173:115:0;;16859:2:1;82173:115:0::1;::::0;::::1;16841:21:1::0;16898:2;16878:18;;;16871:30;16937:34;16917:18;;;16910:62;-1:-1:-1;;;16988:18:1;;;16981:31;17029:19;;82173:115:0::1;16657:397:1::0;82173:115:0::1;82331:16;::::0;82320:27:::1;::::0;:8;:27:::1;:::i;:::-;82305:42;;80613:3;82368:15;;:36;82364:229;;;80418:1;82429:10;:24;82440:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;82429:24:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;82429:24:0;;:28:::1;::::0;82456:1:::1;82429:28;:::i;:::-;:56;82425:153;;82542:16;::::0;82526:12:::1;82537:1;82526:8:::0;:12:::1;:::i;:::-;82525:33;;;;:::i;:::-;82510:48;;82425:153;82630:12;82617:9;:25;;82609:54;;;::::0;-1:-1:-1;;;82609:54:0;;16514:2:1;82609:54:0::1;::::0;::::1;16496:21:1::0;16553:2;16533:18;;;16526:30;-1:-1:-1;;;16572:18:1;;;16565:46;16628:18;;82609:54:0::1;16312:340:1::0;82609:54:0::1;80613:3;82684:15;;:36;82680:253;;;80418:1;82745:10;:24;82756:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;82745:24:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;82745:24:0;;:28:::1;::::0;82772:1:::1;82745:28;:::i;:::-;:56;82741:177;;82854:1;82826:10;:24;82837:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;82826:24:0::1;-1:-1:-1::0;;;;;82826:24:0::1;;;;;;;;;;;;;:29;;;;;;;:::i;:::-;;;;;;;;82897:1;82878:15;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;82741:177:0::1;82980:8;82949:13;:27;82963:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;82949:27:0::1;-1:-1:-1::0;;;;;82949:27:0::1;;;;;;;;;;;;;:39;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;81844:1156:0::1;83014:33;83024:12;:10;:12::i;:::-;83038:8;83014:9;:33::i;:::-;83058:26;83071:12;83058;:26::i;:::-;81627:1465;81565:1527:::0;:::o;26559:234::-;49155:10;26654:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26654:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26654:60:0;;;;;;;;;;26730:55;;540:41:1;;;26654:49:0;;49155:10;26730:55;;513:18:1;26730:55:0;;;;;;;26559:234;;:::o;33235:407::-;33410:31;33423:4;33429:2;33433:7;33410:12;:31::i;:::-;-1:-1:-1;;;;;33456:14:0;;;:19;33452:183;;33495:56;33526:4;33532:2;33536:7;33545:5;33495:30;:56::i;:::-;33490:145;;33579:40;;-1:-1:-1;;;33579:40:0;;;;;;;;;;;33490:145;33235:407;;;;:::o;80778:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;80811:37::-;;;;;;;:::i;85423:333::-;85496:13;85527:16;85535:7;85527;:16::i;:::-;85522:59;;85552:29;;-1:-1:-1;;;85552:29:0;;;;;;;;;;;85522:59;85594:21;85618:10;:8;:10::i;:::-;85594:34;;85652:7;85646:21;85671:1;85646:26;:102;;;;;;;;;;;;;;;;;85699:7;85708:18;:7;:16;:18::i;:::-;85728:13;85682:60;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;85639:109;85423:333;-1:-1:-1;;;85423:333:0:o;81343:214::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;66082:1:::1;66678:7;;:19:::0;66670:63:::1;;;::::0;-1:-1:-1;;;66670:63:0;;10934:2:1;66670:63:0::1;::::0;::::1;10916:21:1::0;10973:2;10953:18;;;10946:30;11012:33;10992:18;;;10985:61;11063:18;;66670:63:0::1;10732:355:1::0;66670:63:0::1;66082:1;66811:7;:18:::0;81466:14:::2;::::0;81454:8;81438:13:::2;15654:12:::0;;15449:7;15638:13;:28;;15388:311;81438:13:::2;:24;;;;:::i;:::-;:42;;81430:85;;;::::0;-1:-1:-1;;;81430:85:0;;15106:2:1;81430:85:0::2;::::0;::::2;15088:21:1::0;15145:2;15125:18;;;15118:30;15184:32;15164:18;;;15157:60;15234:18;;81430:85:0::2;14904:354:1::0;81430:85:0::2;81526:23;81536:2;81540:8;81526:9;:23::i;:::-;-1:-1:-1::0;;66038:1:0::1;66990:7;:22:::0;81343:214::o;83100:343::-;83224:10;;83167:7;;;;83224:10;;;;;83220:188;;;-1:-1:-1;80297:1:0;83220:188;;;83302:17;;;;83298:110;;;-1:-1:-1;;;;;83377:19:0;;;;;;:13;:19;;;;;;83347:49;;80359:1;83347:49;:::i;80745:26::-;;;;;;;:::i;84676:114::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;84757:13:::1;:25;84773:9:::0;;84757:13;:25:::1;:::i;85764:97::-:0;85808:13;85841:12;85834:19;;;;;:::i;85993:429::-;86231:20;;86275:28;;-1:-1:-1;;;86275:28:0;;-1:-1:-1;;;;;1697:32:1;;;86275:28:0;;;1679:51:1;86102:4:0;;86231:20;;;86267:49;;;;86231:20;;86275:21;;1652:18:1;;86275:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;86267:49:0;;86263:93;;86340:4;86333:11;;;;;86263:93;-1:-1:-1;;;;;27071:25:0;;;27047:4;27071:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;86375:39;86368:46;85993:429;-1:-1:-1;;;;85993:429:0:o;84232:89::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;84295:10:::1;:18:::0;;;::::1;;;;-1:-1:-1::0;;84295:18:0;;::::1;::::0;;;::::1;::::0;;84232:89::o;63872:201::-;63194:12;:10;:12::i;:::-;-1:-1:-1;;;;;63183:23:0;:7;63036:6;;-1:-1:-1;;;;;63036:6:0;;62963:87;63183:7;-1:-1:-1;;;;;63183:23:0;;63175:68;;;;-1:-1:-1;;;63175:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;63961:22:0;::::1;63953:73;;;::::0;-1:-1:-1;;;63953:73:0;;18807:2:1;63953:73:0::1;::::0;::::1;18789:21:1::0;18846:2;18826:18;;;18819:30;18885:34;18865:18;;;18858:62;-1:-1:-1;;;18936:18:1;;;18929:36;18982:19;;63953:73:0::1;18605:402:1::0;63953:73:0::1;64037:28;64056:8;64037:18;:28::i;:::-;63872:201:::0;:::o;27372:279::-;27437:4;27519:13;;27509:7;:23;27470:145;;;;-1:-1:-1;;27566:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27566:44:0;:49;;27372:279::o;79246:458::-;79424:4;-1:-1:-1;;;;;79449:20:0;;79441:70;;;;-1:-1:-1;;;79441:70:0;;19214:2:1;79441:70:0;;;19196:21:1;19253:2;19233:18;;;19226:30;19292:34;19272:18;;;19265:62;-1:-1:-1;;;19343:18:1;;;19336:35;19388:19;;79441:70:0;19012:401:1;79441:70:0;79557:139;79581:47;79600:27;79620:6;79600:19;:27::i;:::-;79581:18;:47::i;:::-;79557:139;;;;;;;;;;;;19645:25:1;;;;19718:4;19706:17;;19686:18;;;19679:45;19740:18;;;19733:34;;;19783:18;;;19776:34;;;19617:19;;79557:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;79538:158:0;:6;-1:-1:-1;;;;;79538:158:0;;79522:174;;79246:458;;;;;;;:::o;70420:98::-;70478:7;70505:5;70509:1;70505;:5;:::i;22158:1187::-;22225:7;22260;22350:13;;22343:4;:20;22339:943;;;22384:14;22401:23;;;:17;:23;;;;;;;-1:-1:-1;;;22482:24:0;;:29;;22478:789;;23107:105;23114:6;23124:1;23114:11;23107:105;;-1:-1:-1;;;23181:6:0;23163:25;;;;:17;:25;;;;;;23107:105;;22478:789;22365:917;22339:943;23306:31;;-1:-1:-1;;;23306:31:0;;;;;;;;;;;87127:145;87201:14;87240:24;:22;:24::i;:::-;87233:31;;87127:145;:::o;64233:191::-;64326:6;;;-1:-1:-1;;;;;64343:17:0;;;-1:-1:-1;;;;;;64343:17:0;;;;;;;64376:40;;64326:6;;;64343:17;64326:6;;64376:40;;64307:16;;64376:40;64296:128;64233:191;:::o;43036:112::-;43113:27;43123:2;43127:8;43113:27;;;;;;;;;;;;:9;:27::i;84000:224::-;84077:5;84064:9;:18;;84056:53;;;;-1:-1:-1;;;84056:53:0;;20023:2:1;84056:53:0;;;20005:21:1;20062:2;20042:18;;;20035:30;-1:-1:-1;;;20081:18:1;;;20074:52;20143:18;;84056:53:0;19821:346:1;84056:53:0;84136:5;84124:9;:17;84120:97;;;84166:10;84158:47;84187:17;84199:5;84187:9;:17;:::i;:::-;84158:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35726:716;35910:88;;-1:-1:-1;;;35910:88:0;;35889:4;;-1:-1:-1;;;;;35910:45:0;;;;;:88;;49155:10;;35977:4;;35983:7;;35992:5;;35910:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35910:88:0;;;;;;;;-1:-1:-1;;35910:88:0;;;;;;;;;;;;:::i;:::-;;;35906:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36193:6;:13;36210:1;36193:18;36189:235;;36239:40;;-1:-1:-1;;;36239:40:0;;;;;;;;;;;36189:235;36382:6;36376:13;36367:6;36363:2;36359:15;36352:38;35906:529;-1:-1:-1;;;;;;36069:64:0;-1:-1:-1;;;36069:64:0;;-1:-1:-1;35726:716:0;;;;;;:::o;85239:113::-;85299:13;85332:12;85325:19;;;;;:::i;60285:723::-;60341:13;60562:5;60571:1;60562:10;60558:53;;-1:-1:-1;;60589:10:0;;;;;;;;;;;;-1:-1:-1;;;60589:10:0;;;;;60285:723::o;60558:53::-;60636:5;60621:12;60677:78;60684:9;;60677:78;;60710:8;;;;:::i;:::-;;-1:-1:-1;60733:10:0;;-1:-1:-1;60741:2:0;60733:10;;:::i;:::-;;;60677:78;;;60765:19;60797:6;60787:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60787:17:0;;60765:39;;60815:154;60822:10;;60815:154;;60849:11;60859:1;60849:11;;:::i;:::-;;-1:-1:-1;60918:10:0;60926:2;60918:5;:10;:::i;:::-;60905:24;;:2;:24;:::i;:::-;60892:39;;60875:6;60882;60875:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;60875:56:0;;;;;;;;-1:-1:-1;60946:11:0;60955:2;60946:11;;:::i;:::-;;;60815:154;;78757:366;78855:7;76939:100;;;;;;;;;;;;;;;;;76919:127;;;;;;;78993:12;;79024:11;;;;79064:24;;;;;79054:35;;;;;;78920:184;;;;;21525:25:1;;;21581:2;21566:18;;21559:34;;;;-1:-1:-1;;;;;21629:32:1;21624:2;21609:18;;21602:60;21693:2;21678:18;;21671:34;21512:3;21497:19;;21294:417;78920:184:0;;;;;;;;;;;;;78896:219;;;;;;78880:235;;78757:366;;;:::o;76540:234::-;76627:7;76721:20;75979:15;;;75901:101;76721:20;76692:63;;-1:-1:-1;;;76692:63:0;;;21974:27:1;22017:11;;;22010:27;;;;22053:12;;;22046:28;;;22090:12;;76692:63:0;21716:392:1;67338:626:0;67397:22;67463:4;67441:10;:27;67437:496;;67485:18;67506:8;;67485:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;67545:8:0;67748:17;67742:24;-1:-1:-1;;;;;67720:126:0;;-1:-1:-1;67437:496:0;;-1:-1:-1;67437:496:0;;-1:-1:-1;67910:10:0;67437:496;67338:626;:::o;42302:650::-;42433:19;42439:2;42443:8;42433:5;:19::i;:::-;-1:-1:-1;;;;;42486:14:0;;;:19;42482:456;;42522:11;42536:13;42580:14;;;42609:230;42636:62;42675:1;42679:2;42683:7;;;;;;42692:5;42636:30;:62::i;:::-;42631:159;;42730:40;;-1:-1:-1;;;42730:40:0;;;;;;;;;;;42631:159;42834:3;42826:5;:11;42609:230;;42913:3;42896:13;;:20;42892:34;;42918:8;;;42892:34;42507:431;;42302:650;;;:::o;36904:2722::-;36977:20;37000:13;;;37028;;;37024:44;;37050:18;;-1:-1:-1;;;37050:18:0;;;;;;;;;;;37024:44;-1:-1:-1;;;;;37528:22:0;;;;;;:18;:22;;;;10873:2;37528:22;;;:71;;37566:32;37554:45;;37528:71;;;37818:31;;;:17;:31;;;;;-1:-1:-1;24723:15:0;;24697:24;24693:46;24296:11;24271:23;24267:41;24264:52;24254:63;;37818:161;;38033:23;;;;37818:31;;37528:22;;38730:25;37528:22;;38607:283;39184:1;39170:12;39166:20;39128:314;39221:3;39212:7;39209:16;39128:314;;39419:7;39409:8;39406:1;39379:25;39376:1;39373;39368:59;39270:1;39257:15;39128:314;;;39132:69;39467:8;39479:1;39467:13;39463:45;;39489:19;;-1:-1:-1;;;39489:19:0;;;;;;;;;;;39463:45;39521:13;:19;-1:-1:-1;32444:193:0;;;:::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:131::-;-1:-1:-1;;;;;1816:31:1;;1806:42;;1796:70;;1862:1;1859;1852:12;1877:315;1945:6;1953;2006:2;1994:9;1985:7;1981:23;1977:32;1974:52;;;2022:1;2019;2012:12;1974:52;2061:9;2048:23;2080:31;2105:5;2080:31;:::i;:::-;2130:5;2182:2;2167:18;;;;2154:32;;-1:-1:-1;;;1877:315:1:o;2197:127::-;2258:10;2253:3;2249:20;2246:1;2239:31;2289:4;2286:1;2279:15;2313:4;2310:1;2303:15;2329:718;2371:5;2424:3;2417:4;2409:6;2405:17;2401:27;2391:55;;2442:1;2439;2432:12;2391:55;2478:6;2465:20;2504:18;2541:2;2537;2534:10;2531:36;;;2547:18;;:::i;:::-;2622:2;2616:9;2590:2;2676:13;;-1:-1:-1;;2672:22:1;;;2696:2;2668:31;2664:40;2652:53;;;2720:18;;;2740:22;;;2717:46;2714:72;;;2766:18;;:::i;:::-;2806:10;2802:2;2795:22;2841:2;2833:6;2826:18;2887:3;2880:4;2875:2;2867:6;2863:15;2859:26;2856:35;2853:55;;;2904:1;2901;2894:12;2853:55;2968:2;2961:4;2953:6;2949:17;2942:4;2934:6;2930:17;2917:54;3015:1;3008:4;3003:2;2995:6;2991:15;2987:26;2980:37;3035:6;3026:15;;;;;;2329:718;;;;:::o;3052:758::-;3154:6;3162;3170;3178;3186;3239:3;3227:9;3218:7;3214:23;3210:33;3207:53;;;3256:1;3253;3246:12;3207:53;3295:9;3282:23;3314:31;3339:5;3314:31;:::i;:::-;3364:5;-1:-1:-1;3420:2:1;3405:18;;3392:32;3447:18;3436:30;;3433:50;;;3479:1;3476;3469:12;3433:50;3502:49;3543:7;3534:6;3523:9;3519:22;3502:49;:::i;:::-;3492:59;;;3598:2;3587:9;3583:18;3570:32;3560:42;;3649:2;3638:9;3634:18;3621:32;3611:42;;3705:3;3694:9;3690:19;3677:33;3754:4;3745:7;3741:18;3732:7;3729:31;3719:59;;3774:1;3771;3764:12;3719:59;3797:7;3787:17;;;3052:758;;;;;;;;:::o;4402:456::-;4479:6;4487;4495;4548:2;4536:9;4527:7;4523:23;4519:32;4516:52;;;4564:1;4561;4554:12;4516:52;4603:9;4590:23;4622:31;4647:5;4622:31;:::i;:::-;4672:5;-1:-1:-1;4729:2:1;4714:18;;4701:32;4742:33;4701:32;4742:33;:::i;:::-;4402:456;;4794:7;;-1:-1:-1;;;4848:2:1;4833:18;;;;4820:32;;4402:456::o;4863:247::-;4922:6;4975:2;4963:9;4954:7;4950:23;4946:32;4943:52;;;4991:1;4988;4981:12;4943:52;5030:9;5017:23;5049:31;5074:5;5049:31;:::i;5115:160::-;5180:20;;5236:13;;5229:21;5219:32;;5209:60;;5265:1;5262;5255:12;5209:60;5115:160;;;:::o;5280:180::-;5336:6;5389:2;5377:9;5368:7;5364:23;5360:32;5357:52;;;5405:1;5402;5395:12;5357:52;5428:26;5444:9;5428:26;:::i;5465:615::-;5551:6;5559;5612:2;5600:9;5591:7;5587:23;5583:32;5580:52;;;5628:1;5625;5618:12;5580:52;5668:9;5655:23;5697:18;5738:2;5730:6;5727:14;5724:34;;;5754:1;5751;5744:12;5724:34;5792:6;5781:9;5777:22;5767:32;;5837:7;5830:4;5826:2;5822:13;5818:27;5808:55;;5859:1;5856;5849:12;5808:55;5899:2;5886:16;5925:2;5917:6;5914:14;5911:34;;;5941:1;5938;5931:12;5911:34;5994:7;5989:2;5979:6;5976:1;5972:14;5968:2;5964:23;5960:32;5957:45;5954:65;;;6015:1;6012;6005:12;5954:65;6046:2;6038:11;;;;;6068:6;;-1:-1:-1;5465:615:1;;-1:-1:-1;;;;5465:615:1:o;6085:592::-;6156:6;6164;6217:2;6205:9;6196:7;6192:23;6188:32;6185:52;;;6233:1;6230;6223:12;6185:52;6273:9;6260:23;6302:18;6343:2;6335:6;6332:14;6329:34;;;6359:1;6356;6349:12;6329:34;6397:6;6386:9;6382:22;6372:32;;6442:7;6435:4;6431:2;6427:13;6423:27;6413:55;;6464:1;6461;6454:12;6413:55;6504:2;6491:16;6530:2;6522:6;6519:14;6516:34;;;6546:1;6543;6536:12;6516:34;6591:7;6586:2;6577:6;6573:2;6569:15;6565:24;6562:37;6559:57;;;6612:1;6609;6602:12;6682:315;6747:6;6755;6808:2;6796:9;6787:7;6783:23;6779:32;6776:52;;;6824:1;6821;6814:12;6776:52;6863:9;6850:23;6882:31;6907:5;6882:31;:::i;:::-;6932:5;-1:-1:-1;6956:35:1;6987:2;6972:18;;6956:35;:::i;:::-;6946:45;;6682:315;;;;;:::o;7002:665::-;7097:6;7105;7113;7121;7174:3;7162:9;7153:7;7149:23;7145:33;7142:53;;;7191:1;7188;7181:12;7142:53;7230:9;7217:23;7249:31;7274:5;7249:31;:::i;:::-;7299:5;-1:-1:-1;7356:2:1;7341:18;;7328:32;7369:33;7328:32;7369:33;:::i;:::-;7421:7;-1:-1:-1;7475:2:1;7460:18;;7447:32;;-1:-1:-1;7530:2:1;7515:18;;7502:32;7557:18;7546:30;;7543:50;;;7589:1;7586;7579:12;7543:50;7612:49;7653:7;7644:6;7633:9;7629:22;7612:49;:::i;:::-;7602:59;;;7002:665;;;;;;;:::o;7672:388::-;7740:6;7748;7801:2;7789:9;7780:7;7776:23;7772:32;7769:52;;;7817:1;7814;7807:12;7769:52;7856:9;7843:23;7875:31;7900:5;7875:31;:::i;:::-;7925:5;-1:-1:-1;7982:2:1;7967:18;;7954:32;7995:33;7954:32;7995:33;:::i;:::-;8047:7;8037:17;;;7672:388;;;;;:::o;8065:380::-;8144:1;8140:12;;;;8187;;;8208:61;;8262:4;8254:6;8250:17;8240:27;;8208:61;8315:2;8307:6;8304:14;8284:18;8281:38;8278:161;;8361:10;8356:3;8352:20;8349:1;8342:31;8396:4;8393:1;8386:15;8424:4;8421:1;8414:15;8278:161;;8065:380;;;:::o;8852:432::-;-1:-1:-1;;;;;9109:15:1;;;9091:34;;9161:15;;9156:2;9141:18;;9134:43;9213:2;9208;9193:18;;9186:30;;;9034:4;;9233:45;;9259:18;;9251:6;9233:45;:::i;:::-;9225:53;8852:432;-1:-1:-1;;;;;8852:432:1:o;9289:428::-;9446:3;9484:6;9478:13;9500:66;9559:6;9554:3;9547:4;9539:6;9535:17;9500:66;:::i;:::-;9635:2;9631:15;;;;-1:-1:-1;;9627:53:1;9588:16;;;;9613:68;;;9708:2;9697:14;;9289:428;-1:-1:-1;;9289:428:1:o;9722:287::-;9851:3;9889:6;9883:13;9905:66;9964:6;9959:3;9952:4;9944:6;9940:17;9905:66;:::i;:::-;9987:16;;;;;9722:287;-1:-1:-1;;9722:287:1:o;10371:356::-;10573:2;10555:21;;;10592:18;;;10585:30;10651:34;10646:2;10631:18;;10624:62;10718:2;10703:18;;10371:356::o;11647:127::-;11708:10;11703:3;11699:20;11696:1;11689:31;11739:4;11736:1;11729:15;11763:4;11760:1;11753:15;11779:127;11840:10;11835:3;11831:20;11828:1;11821:31;11871:4;11868:1;11861:15;11895:4;11892:1;11885:15;11911:135;11950:3;11971:17;;;11968:43;;11991:18;;:::i;:::-;-1:-1:-1;12038:1:1;12027:13;;11911:135::o;12177:545::-;12279:2;12274:3;12271:11;12268:448;;;12315:1;12340:5;12336:2;12329:17;12385:4;12381:2;12371:19;12455:2;12443:10;12439:19;12436:1;12432:27;12426:4;12422:38;12491:4;12479:10;12476:20;12473:47;;;-1:-1:-1;12514:4:1;12473:47;12569:2;12564:3;12560:12;12557:1;12553:20;12547:4;12543:31;12533:41;;12624:82;12642:2;12635:5;12632:13;12624:82;;;12687:17;;;12668:1;12657:13;12624:82;;12898:1206;13022:18;13017:3;13014:27;13011:53;;;13044:18;;:::i;:::-;13073:94;13163:3;13123:38;13155:4;13149:11;13123:38;:::i;:::-;13117:4;13073:94;:::i;:::-;13193:1;13218:2;13213:3;13210:11;13235:1;13230:616;;;;13890:1;13907:3;13904:93;;;-1:-1:-1;13963:19:1;;;13950:33;13904:93;-1:-1:-1;;12855:1:1;12851:11;;;12847:24;12843:29;12833:40;12879:1;12875:11;;;12830:57;14010:78;;13203:895;;13230:616;12124:1;12117:14;;;12161:4;12148:18;;-1:-1:-1;;13266:17:1;;;13367:9;13389:229;13403:7;13400:1;13397:14;13389:229;;;13492:19;;;13479:33;13464:49;;13599:4;13584:20;;;;13552:1;13540:14;;;;13419:12;13389:229;;;13393:3;13646;13637:7;13634:16;13631:159;;;13770:1;13766:6;13760:3;13754;13751:1;13747:11;13743:21;13739:34;13735:39;13722:9;13717:3;13713:19;13700:33;13696:79;13688:6;13681:95;13631:159;;;13833:1;13827:3;13824:1;13820:11;13816:19;13810:4;13803:33;13203:895;;12898:1206;;;:::o;14109:168::-;14182:9;;;14213;;14230:15;;;14224:22;;14210:37;14200:71;;14251:18;;:::i;14282:125::-;14347:9;;;14368:10;;;14365:36;;;14381:18;;:::i;14412:128::-;14479:9;;;14500:11;;;14497:37;;;14514:18;;:::i;17059:1256::-;17283:3;17321:6;17315:13;17347:4;17360:64;17417:6;17412:3;17407:2;17399:6;17395:15;17360:64;:::i;:::-;17487:13;;17446:16;;;;17509:68;17487:13;17446:16;17544:15;;;17509:68;:::i;:::-;17666:13;;17599:20;;;17639:1;;17704:36;17666:13;17704:36;:::i;:::-;17759:1;17776:18;;;17803:141;;;;17958:1;17953:337;;;;17769:521;;17803:141;-1:-1:-1;;17838:24:1;;17824:39;;17915:16;;17908:24;17894:39;;17883:51;;;-1:-1:-1;17803:141:1;;17953:337;17984:6;17981:1;17974:17;18032:2;18029:1;18019:16;18057:1;18071:169;18085:8;18082:1;18079:15;18071:169;;;18167:14;;18152:13;;;18145:37;18210:16;;;;18102:10;;18071:169;;;18075:3;;18271:8;18264:5;18260:20;18253:27;;17769:521;-1:-1:-1;18306:3:1;;17059:1256;-1:-1:-1;;;;;;;;;;17059:1256:1:o;18320:280::-;18419:6;18472:2;18460:9;18451:7;18447:23;18443:32;18440:52;;;18488:1;18485;18478:12;18440:52;18520:9;18514:16;18539:31;18564:5;18539:31;:::i;20172:489::-;-1:-1:-1;;;;;20441:15:1;;;20423:34;;20493:15;;20488:2;20473:18;;20466:43;20540:2;20525:18;;20518:34;;;20588:3;20583:2;20568:18;;20561:31;;;20366:4;;20609:46;;20635:19;;20627:6;20609:46;:::i;:::-;20601:54;20172:489;-1:-1:-1;;;;;;20172:489:1:o;20666:249::-;20735:6;20788:2;20776:9;20767:7;20763:23;20759:32;20756:52;;;20804:1;20801;20794:12;20756:52;20836:9;20830:16;20855:30;20879:5;20855:30;:::i;20920:127::-;20981:10;20976:3;20972:20;20969:1;20962:31;21012:4;21009:1;21002:15;21036:4;21033:1;21026:15;21052:120;21092:1;21118;21108:35;;21123:18;;:::i;:::-;-1:-1:-1;21157:9:1;;21052:120::o;21177:112::-;21209:1;21235;21225:35;;21240:18;;:::i;:::-;-1:-1:-1;21274:9:1;;21177:112::o
Swarm Source
ipfs://3060d47bbc9d18594c2ba3a62406ebaf7cb0f651d4bd2b2fab4ae6c3a012dc33
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.