Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,112 AIRUGS
Holders
233
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 AIRUGSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AIRUGSNFT
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-18 */ // SPDX-License-Identifier: MIT // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // 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 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 { 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; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { 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 ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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 { _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 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); 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 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _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 { 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 Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _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)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { 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 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; } /** * @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 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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * - `extraData` = `0` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * - `extraData` = `<Extra data when token was burned>` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` * - `extraData` = `<Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. It the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. // We also know that `k`, the position of the most significant bit, is such that `msb(a) = 2**k`. // This gives `2**k < a <= 2**(k+1)` → `2**(k/2) <= sqrt(a) < 2 ** (k/2+1)`. // Using an algorithm similar to the msb conmputation, we are able to compute `result = 2**(k/2)` which is a // good first aproximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1; uint256 x = a; if (x >> 128 > 0) { x >>= 128; result <<= 64; } if (x >> 64 > 0) { x >>= 64; result <<= 32; } if (x >> 32 > 0) { x >>= 32; result <<= 16; } if (x >> 16 > 0) { x >>= 16; result <<= 8; } if (x >> 8 > 0) { x >>= 8; result <<= 4; } if (x >> 4 > 0) { x >>= 4; result <<= 2; } if (x >> 2 > 0) { result <<= 1; } // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { uint256 result = sqrt(a); if (rounding == Rounding.Up && result * result < a) { result += 1; } return result; } } // File: @openzeppelin/contracts/utils/Arrays.sol // OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to array types. */ library Arrays { /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (array[mid] > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && array[low - 1] == element) { return low - 1; } else { return low; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // 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; } } // File: contracts/TheRug.sol pragma solidity >=0.8.13 <0.9.0; contract AIRUGSNFT is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; // ================== Variables Start ======================= string public uri; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public cost1 = 0 ether; uint256 public cost2 = 0.005 ether; uint256 public supplyLimitPremint = 1111; uint256 public supplyLimit = 2222; uint256 public maxMintAmountPerTxPhase1 = 5; uint256 public maxMintAmountPerTxPhase2 = 1000; uint256 public maxLimitPerWallet = 2220; bool public sale = false; bool public revealed = false; bool public premintWhitelistMintStart = false; // ================== Variables End ======================= // ================== Constructor Start ======================= constructor( string memory _uri, string memory _hiddenMetadataUri ) ERC721A("AI Rugs", "AIRUGS") { seturi(_uri); setHiddenMetadataUri(_hiddenMetadataUri); } // ================== Mint Functions Start ======================= function UpdateCost(uint256 _mintAmount) internal view returns (uint256 _cost) { if (balanceOf(msg.sender) + _mintAmount <= maxMintAmountPerTxPhase1 && totalSupply() < supplyLimitPremint) { return cost1; } if (balanceOf(msg.sender) + _mintAmount <= supplyLimit){ return cost2; } } function Mint(uint256 _mintAmount) public payable { // Normal requirements require(sale, 'The Sale is paused!'); require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTxPhase2, 'Invalid mint amount!'); require(totalSupply() + _mintAmount <= supplyLimit, 'Max supply exceeded!'); require(balanceOf(msg.sender) + _mintAmount <= maxLimitPerWallet, 'Max mint per wallet exceeded!'); require(msg.value >= UpdateCost(_mintAmount) * _mintAmount, 'Insufficient funds!'); _safeMint(_msgSender(), _mintAmount); } function Airdrop(uint256 _mintAmount, address _receiver) public onlyOwner { require(totalSupply() + _mintAmount <= supplyLimit, 'Max supply exceeded!'); _safeMint(_receiver, _mintAmount); } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function seturi(string memory _uri) public onlyOwner { uri = _uri; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setSaleStatus(bool _sale) public onlyOwner { sale = _sale; } function setMaxMintAmountPerTxPhase1(uint256 _maxMintAmountPerTxPhase1) public onlyOwner { maxMintAmountPerTxPhase1 = _maxMintAmountPerTxPhase1; } function setMaxMintAmountPerTxPhase2(uint256 _maxMintAmountPerTxPhase2) public onlyOwner { maxMintAmountPerTxPhase2 = _maxMintAmountPerTxPhase2; } function setmaxLimitPerWallet(uint256 _maxLimitPerWallet) public onlyOwner { maxLimitPerWallet = _maxLimitPerWallet; } function setPremintSaleStatus(bool _premintWhitelistMintStart) public onlyOwner { premintWhitelistMintStart = _premintWhitelistMintStart; } function setcost1(uint256 _cost1) public onlyOwner { cost1 = _cost1; } function setcost2(uint256 _cost2) public onlyOwner { cost2 = _cost2; } function setsupplyLimit(uint256 _supplyLimit) public onlyOwner { supplyLimit = _supplyLimit; } function withdraw() public onlyOwner { (bool hs, ) = payable(0x281E6045A66A005658b842a29B5941f9C24a4702).call{value: address(this).balance * 15 / 100}(""); require(hs); (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } function price(uint256 _mintAmount) public view returns (uint256){ if (balanceOf(msg.sender) + _mintAmount <= maxMintAmountPerTxPhase1 && totalSupply() < supplyLimitPremint) { return cost1; } if (balanceOf(msg.sender) + _mintAmount <= supplyLimit && totalSupply() < supplyLimit){ return cost2; } return cost2; } function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256[] memory a = new uint256[](balanceOf(owner)); uint256 end = _nextTokenId(); uint256 tokenIdsIdx; address currOwnershipAddr; for (uint256 i; i < end; i++) { TokenOwnership memory ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { a[tokenIdsIdx++] = i; } } return a; } } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function _baseURI() internal view virtual override returns (string memory) { return uri; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost2","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":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTxPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTxPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premintWhitelistMintStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTxPhase1","type":"uint256"}],"name":"setMaxMintAmountPerTxPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTxPhase2","type":"uint256"}],"name":"setMaxMintAmountPerTxPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_premintWhitelistMintStart","type":"bool"}],"name":"setPremintSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sale","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost1","type":"uint256"}],"name":"setcost1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost2","type":"uint256"}],"name":"setcost2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxLimitPerWallet","type":"uint256"}],"name":"setmaxLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supplyLimit","type":"uint256"}],"name":"setsupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"seturi","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyLimitPremint","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526005608090815264173539b7b760d91b60a052600b90620000269082620002b1565b506000600d556611c37937e08000600e55610457600f556108ae60105560056011556103e86012556108ac6013556014805462ffffff191690553480156200006d57600080fd5b506040516200265438038062002654833981016040819052620000909162000434565b604051806040016040528060078152602001664149205275677360c81b8152506040518060400160405280600681526020016541495255475360d01b8152508160029081620000e09190620002b1565b506003620000ef8282620002b1565b5050600160005550620001023362000125565b6001600955620001128262000177565b6200011d8162000193565b50506200049e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000181620001ab565b600a6200018f8282620002b1565b5050565b6200019d620001ab565b600c6200018f8282620002b1565b6008546001600160a01b031633146200020a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200023757607f821691505b6020821081036200025857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002ac57600081815260208120601f850160051c81016020861015620002875750805b601f850160051c820191505b81811015620002a85782815560010162000293565b5050505b505050565b81516001600160401b03811115620002cd57620002cd6200020c565b620002e581620002de845462000222565b846200025e565b602080601f8311600181146200031d5760008415620003045750858301515b600019600386901b1c1916600185901b178555620002a8565b600085815260208120601f198616915b828110156200034e578886015182559484019460019091019084016200032d565b50858210156200036d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f8301126200038f57600080fd5b81516001600160401b0380821115620003ac57620003ac6200020c565b604051601f8301601f19908116603f01168101908282118183101715620003d757620003d76200020c565b81604052838152602092508683858801011115620003f457600080fd5b600091505b83821015620004185785820183015181830184015290820190620003f9565b838211156200042a5760008385830101525b9695505050505050565b600080604083850312156200044857600080fd5b82516001600160401b03808211156200046057600080fd5b6200046e868387016200037d565b935060208501519150808211156200048557600080fd5b5062000494858286016200037d565b9150509250929050565b6121a680620004ae6000396000f3fe6080604052600436106102875760003560e01c8063684ed5f21161015a578063b88d4fde116100c1578063de351f091161007a578063de351f0914610764578063e0a808531461077a578063e985e9c51461079a578063eac989f8146107e3578063f2fde38b146107f8578063f64849801461081857600080fd5b8063b88d4fde146106a4578063c87b56dd146106c4578063d897833e146106e4578063d9f0a67114610704578063da5e1f4d14610724578063dc0138251461074457600080fd5b80638462151c116101135780638462151c146105f95780638da5cb5b1461062657806395d89b41146106445780639a1b288514610659578063a22cb4651461066f578063a45ba8e71461068f57600080fd5b8063684ed5f2146105545780636ad1fe021461056a57806370a0823114610584578063715018a6146105a457806378380641146105b95780637871e154146105d957600080fd5b806323b872dd116101fe5780634fdd43cb116101b75780634fdd43cb146104aa57806351830227146104ca5780635503a0e8146104e95780635a0b8b23146104fe57806360bb41b6146105145780636352211e1461053457600080fd5b806323b872dd146103ff57806326a49e371461041f57806333573dc21461043f5780633ccfd60b146104555780633e16c5961461046a57806342842e0e1461048a57600080fd5b8063095ea7b311610250578063095ea7b31461035057806316ba10e01461037057806318160ddd1461039057806319d1997a146103b357806321a3c248146103c957806321f6b017146103e957600080fd5b806275770a1461028c57806301ffc9a7146102ae57806306fdde03146102e35780630788370314610305578063081812fc14610318575b600080fd5b34801561029857600080fd5b506102ac6102a7366004611ad6565b610838565b005b3480156102ba57600080fd5b506102ce6102c9366004611b05565b610845565b60405190151581526020015b60405180910390f35b3480156102ef57600080fd5b506102f8610897565b6040516102da9190611b7a565b6102ac610313366004611ad6565b610929565b34801561032457600080fd5b50610338610333366004611ad6565b610af1565b6040516001600160a01b0390911681526020016102da565b34801561035c57600080fd5b506102ac61036b366004611ba4565b610b35565b34801561037c57600080fd5b506102ac61038b366004611c5a565b610bd5565b34801561039c57600080fd5b506103a5610bed565b6040519081526020016102da565b3480156103bf57600080fd5b506103a560105481565b3480156103d557600080fd5b506102ac6103e4366004611ad6565b610bfb565b3480156103f557600080fd5b506103a560115481565b34801561040b57600080fd5b506102ac61041a366004611ca3565b610c08565b34801561042b57600080fd5b506103a561043a366004611ad6565b610da1565b34801561044b57600080fd5b506103a5600d5481565b34801561046157600080fd5b506102ac610e1f565b34801561047657600080fd5b506102ac610485366004611cef565b610f15565b34801561049657600080fd5b506102ac6104a5366004611ca3565b610f39565b3480156104b657600080fd5b506102ac6104c5366004611c5a565b610f59565b3480156104d657600080fd5b506014546102ce90610100900460ff1681565b3480156104f557600080fd5b506102f8610f6d565b34801561050a57600080fd5b506103a560135481565b34801561052057600080fd5b506102ac61052f366004611ad6565b610ffb565b34801561054057600080fd5b5061033861054f366004611ad6565b611008565b34801561056057600080fd5b506103a560125481565b34801561057657600080fd5b506014546102ce9060ff1681565b34801561059057600080fd5b506103a561059f366004611d0a565b611013565b3480156105b057600080fd5b506102ac611062565b3480156105c557600080fd5b506102ac6105d4366004611ad6565b611076565b3480156105e557600080fd5b506102ac6105f4366004611d25565b611083565b34801561060557600080fd5b50610619610614366004611d0a565b6110f0565b6040516102da9190611d51565b34801561063257600080fd5b506008546001600160a01b0316610338565b34801561065057600080fd5b506102f86111e2565b34801561066557600080fd5b506103a5600e5481565b34801561067b57600080fd5b506102ac61068a366004611d95565b6111f1565b34801561069b57600080fd5b506102f8611286565b3480156106b057600080fd5b506102ac6106bf366004611dbf565b611293565b3480156106d057600080fd5b506102f86106df366004611ad6565b6112dd565b3480156106f057600080fd5b506102ac6106ff366004611cef565b611451565b34801561071057600080fd5b506102ac61071f366004611ad6565b61146c565b34801561073057600080fd5b506102ac61073f366004611ad6565b611479565b34801561075057600080fd5b506014546102ce9062010000900460ff1681565b34801561077057600080fd5b506103a5600f5481565b34801561078657600080fd5b506102ac610795366004611cef565b611486565b3480156107a657600080fd5b506102ce6107b5366004611e3b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107ef57600080fd5b506102f86114a8565b34801561080457600080fd5b506102ac610813366004611d0a565b6114b5565b34801561082457600080fd5b506102ac610833366004611c5a565b61152b565b61084061153f565b601055565b60006301ffc9a760e01b6001600160e01b03198316148061087657506380ac58cd60e01b6001600160e01b03198316145b806108915750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108a690611e65565b80601f01602080910402602001604051908101604052809291908181526020018280546108d290611e65565b801561091f5780601f106108f45761010080835404028352916020019161091f565b820191906000526020600020905b81548152906001019060200180831161090257829003601f168201915b5050505050905090565b60145460ff166109765760405162461bcd60e51b81526020600482015260136024820152725468652053616c65206973207061757365642160681b60448201526064015b60405180910390fd5b60008111801561098857506012548111155b6109cb5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b604482015260640161096d565b601054816109d7610bed565b6109e19190611eb5565b1115610a265760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161096d565b60135481610a3333611013565b610a3d9190611eb5565b1115610a8b5760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c657420657863656564656421000000604482015260640161096d565b80610a9582611599565b610a9f9190611ecd565b341015610ae45760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b604482015260640161096d565b610aee33826115fe565b50565b6000610afc82611618565b610b19576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b4082611008565b9050336001600160a01b03821614610b7957610b5c81336107b5565b610b79576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610bdd61153f565b600b610be98282611f32565b5050565b600154600054036000190190565b610c0361153f565b600e55565b6000610c138261164d565b9050836001600160a01b0316816001600160a01b031614610c465760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c9357610c7686336107b5565b610c9357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cba57604051633a954ecd60e21b815260040160405180910390fd5b8015610cc557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610d5757600184016000818152600460205260408120549003610d55576000548114610d555760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600060115482610db033611013565b610dba9190611eb5565b11158015610dd05750600f54610dce610bed565b105b15610ddd575050600d5490565b60105482610dea33611013565b610df49190611eb5565b11158015610e0a5750601054610e08610bed565b105b15610e17575050600e5490565b5050600e5490565b610e2761153f565b600073281e6045a66a005658b842a29b5941f9c24a47026064610e4b47600f611ecd565b610e559190612008565b604051600081818185875af1925050503d8060008114610e91576040519150601f19603f3d011682016040523d82523d6000602084013e610e96565b606091505b5050905080610ea457600080fd5b6000610eb86008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610f02576040519150601f19603f3d011682016040523d82523d6000602084013e610f07565b606091505b5050905080610be957600080fd5b610f1d61153f565b60148054911515620100000262ff000019909216919091179055565b610f5483838360405180602001604052806000815250611293565b505050565b610f6161153f565b600c610be98282611f32565b600b8054610f7a90611e65565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa690611e65565b8015610ff35780601f10610fc857610100808354040283529160200191610ff3565b820191906000526020600020905b815481529060010190602001808311610fd657829003601f168201915b505050505081565b61100361153f565b601155565b60006108918261164d565b60006001600160a01b03821661103c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61106a61153f565b61107460006116bc565b565b61107e61153f565b601255565b61108b61153f565b60105482611097610bed565b6110a19190611eb5565b11156110e65760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161096d565b610be981836115fe565b606060006110fd83611013565b67ffffffffffffffff81111561111557611115611bce565b60405190808252806020026020018201604052801561113e578160200160208202803683370190505b509050600061114c60005490565b905060008060005b838110156111d75760006111678261170e565b905080604001511561117957506111cf565b80516001600160a01b03161561118e57805192505b876001600160a01b0316836001600160a01b0316036111cd57818685806001019650815181106111c0576111c061201c565b6020026020010181815250505b505b600101611154565b509295945050505050565b6060600380546108a690611e65565b336001600160a01b0383160361121a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c8054610f7a90611e65565b61129e848484610c08565b6001600160a01b0383163b156112d7576112ba8484848461178d565b6112d7576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606112e882611618565b61134c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161096d565b601454610100900460ff1615156000036113f257600c805461136d90611e65565b80601f016020809104026020016040519081016040528092919081815260200182805461139990611e65565b80156113e65780601f106113bb576101008083540402835291602001916113e6565b820191906000526020600020905b8154815290600101906020018083116113c957829003601f168201915b50505050509050919050565b60006113fc611879565b9050600081511161141c576040518060200160405280600081525061144a565b8061142684611888565b600b60405160200161143a93929190612032565b6040516020818303038152906040525b9392505050565b61145961153f565b6014805460ff1916911515919091179055565b61147461153f565b601355565b61148161153f565b600d55565b61148e61153f565b601480549115156101000261ff0019909216919091179055565b600a8054610f7a90611e65565b6114bd61153f565b6001600160a01b0381166115225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161096d565b610aee816116bc565b61153361153f565b600a610be98282611f32565b6008546001600160a01b031633146110745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161096d565b6000601154826115a833611013565b6115b29190611eb5565b111580156115c85750600f546115c6610bed565b105b156115d5575050600d5490565b601054826115e233611013565b6115ec9190611eb5565b116115f9575050600e5490565b919050565b610be9828260405180602001604052806000815250611989565b60008160011115801561162c575060005482105b8015610891575050600090815260046020526040902054600160e01b161590565b600081806001116116a3576000548110156116a35760008181526004602052604081205490600160e01b821690036116a1575b8060000361144a575060001901600081815260046020526040902054611680565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461089190604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117c29033908990889088906004016120d2565b6020604051808303816000875af19250505080156117fd575060408051601f3d908101601f191682019092526117fa9181019061210f565b60015b61185b573d80801561182b576040519150601f19603f3d011682016040523d82523d6000602084013e611830565b606091505b508051600003611853576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a80546108a690611e65565b6060816000036118af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118d957806118c38161212c565b91506118d29050600a83612008565b91506118b3565b60008167ffffffffffffffff8111156118f4576118f4611bce565b6040519080825280601f01601f19166020018201604052801561191e576020820181803683370190505b5090505b841561187157611933600183612145565b9150611940600a8661215c565b61194b906030611eb5565b60f81b8183815181106119605761196061201c565b60200101906001600160f81b031916908160001a905350611982600a86612008565b9450611922565b61199383836119f6565b6001600160a01b0383163b15610f54576000548281035b6119bd600086838060010194508661178d565b6119da576040516368d2bf6b60e11b815260040160405180910390fd5b8181106119aa5781600054146119ef57600080fd5b5050505050565b6000546001600160a01b038316611a1f57604051622e076360e81b815260040160405180910390fd5b81600003611a405760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a8a5760005550505050565b600060208284031215611ae857600080fd5b5035919050565b6001600160e01b031981168114610aee57600080fd5b600060208284031215611b1757600080fd5b813561144a81611aef565b60005b83811015611b3d578181015183820152602001611b25565b838111156112d75750506000910152565b60008151808452611b66816020860160208601611b22565b601f01601f19169290920160200192915050565b60208152600061144a6020830184611b4e565b80356001600160a01b03811681146115f957600080fd5b60008060408385031215611bb757600080fd5b611bc083611b8d565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611bff57611bff611bce565b604051601f8501601f19908116603f01168101908282118183101715611c2757611c27611bce565b81604052809350858152868686011115611c4057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c6c57600080fd5b813567ffffffffffffffff811115611c8357600080fd5b8201601f81018413611c9457600080fd5b61187184823560208401611be4565b600080600060608486031215611cb857600080fd5b611cc184611b8d565b9250611ccf60208501611b8d565b9150604084013590509250925092565b803580151581146115f957600080fd5b600060208284031215611d0157600080fd5b61144a82611cdf565b600060208284031215611d1c57600080fd5b61144a82611b8d565b60008060408385031215611d3857600080fd5b82359150611d4860208401611b8d565b90509250929050565b6020808252825182820181905260009190848201906040850190845b81811015611d8957835183529284019291840191600101611d6d565b50909695505050505050565b60008060408385031215611da857600080fd5b611db183611b8d565b9150611d4860208401611cdf565b60008060008060808587031215611dd557600080fd5b611dde85611b8d565b9350611dec60208601611b8d565b925060408501359150606085013567ffffffffffffffff811115611e0f57600080fd5b8501601f81018713611e2057600080fd5b611e2f87823560208401611be4565b91505092959194509250565b60008060408385031215611e4e57600080fd5b611e5783611b8d565b9150611d4860208401611b8d565b600181811c90821680611e7957607f821691505b602082108103611e9957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ec857611ec8611e9f565b500190565b6000816000190483118215151615611ee757611ee7611e9f565b500290565b601f821115610f5457600081815260208120601f850160051c81016020861015611f135750805b601f850160051c820191505b81811015610d9957828155600101611f1f565b815167ffffffffffffffff811115611f4c57611f4c611bce565b611f6081611f5a8454611e65565b84611eec565b602080601f831160018114611f955760008415611f7d5750858301515b600019600386901b1c1916600185901b178555610d99565b600085815260208120601f198616915b82811015611fc457888601518255948401946001909101908401611fa5565b5085821015611fe25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b60008261201757612017611ff2565b500490565b634e487b7160e01b600052603260045260246000fd5b6000845160206120458285838a01611b22565b8551918401916120588184848a01611b22565b855492019160009061206981611e65565b600182811680156120815760018114612096576120c2565b60ff19841687528215158302870194506120c2565b896000528560002060005b848110156120ba578154898201529083019087016120a1565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061210590830184611b4e565b9695505050505050565b60006020828403121561212157600080fd5b815161144a81611aef565b60006001820161213e5761213e611e9f565b5060010190565b60008282101561215757612157611e9f565b500390565b60008261216b5761216b611ff2565b50069056fea26469706673582212208abd6631a64fb6fb2e4c5436b7e2fa9fe411c60cbd1c97ab16a863108d2b38cb64736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d623265695a7461575357765148666d513953354578336b70675678654a4e667532387a5354566d4e3375694b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d58647a693144785839656e4b70313363794565375a3854777a43464771786f5843736b456e616277517144312f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102875760003560e01c8063684ed5f21161015a578063b88d4fde116100c1578063de351f091161007a578063de351f0914610764578063e0a808531461077a578063e985e9c51461079a578063eac989f8146107e3578063f2fde38b146107f8578063f64849801461081857600080fd5b8063b88d4fde146106a4578063c87b56dd146106c4578063d897833e146106e4578063d9f0a67114610704578063da5e1f4d14610724578063dc0138251461074457600080fd5b80638462151c116101135780638462151c146105f95780638da5cb5b1461062657806395d89b41146106445780639a1b288514610659578063a22cb4651461066f578063a45ba8e71461068f57600080fd5b8063684ed5f2146105545780636ad1fe021461056a57806370a0823114610584578063715018a6146105a457806378380641146105b95780637871e154146105d957600080fd5b806323b872dd116101fe5780634fdd43cb116101b75780634fdd43cb146104aa57806351830227146104ca5780635503a0e8146104e95780635a0b8b23146104fe57806360bb41b6146105145780636352211e1461053457600080fd5b806323b872dd146103ff57806326a49e371461041f57806333573dc21461043f5780633ccfd60b146104555780633e16c5961461046a57806342842e0e1461048a57600080fd5b8063095ea7b311610250578063095ea7b31461035057806316ba10e01461037057806318160ddd1461039057806319d1997a146103b357806321a3c248146103c957806321f6b017146103e957600080fd5b806275770a1461028c57806301ffc9a7146102ae57806306fdde03146102e35780630788370314610305578063081812fc14610318575b600080fd5b34801561029857600080fd5b506102ac6102a7366004611ad6565b610838565b005b3480156102ba57600080fd5b506102ce6102c9366004611b05565b610845565b60405190151581526020015b60405180910390f35b3480156102ef57600080fd5b506102f8610897565b6040516102da9190611b7a565b6102ac610313366004611ad6565b610929565b34801561032457600080fd5b50610338610333366004611ad6565b610af1565b6040516001600160a01b0390911681526020016102da565b34801561035c57600080fd5b506102ac61036b366004611ba4565b610b35565b34801561037c57600080fd5b506102ac61038b366004611c5a565b610bd5565b34801561039c57600080fd5b506103a5610bed565b6040519081526020016102da565b3480156103bf57600080fd5b506103a560105481565b3480156103d557600080fd5b506102ac6103e4366004611ad6565b610bfb565b3480156103f557600080fd5b506103a560115481565b34801561040b57600080fd5b506102ac61041a366004611ca3565b610c08565b34801561042b57600080fd5b506103a561043a366004611ad6565b610da1565b34801561044b57600080fd5b506103a5600d5481565b34801561046157600080fd5b506102ac610e1f565b34801561047657600080fd5b506102ac610485366004611cef565b610f15565b34801561049657600080fd5b506102ac6104a5366004611ca3565b610f39565b3480156104b657600080fd5b506102ac6104c5366004611c5a565b610f59565b3480156104d657600080fd5b506014546102ce90610100900460ff1681565b3480156104f557600080fd5b506102f8610f6d565b34801561050a57600080fd5b506103a560135481565b34801561052057600080fd5b506102ac61052f366004611ad6565b610ffb565b34801561054057600080fd5b5061033861054f366004611ad6565b611008565b34801561056057600080fd5b506103a560125481565b34801561057657600080fd5b506014546102ce9060ff1681565b34801561059057600080fd5b506103a561059f366004611d0a565b611013565b3480156105b057600080fd5b506102ac611062565b3480156105c557600080fd5b506102ac6105d4366004611ad6565b611076565b3480156105e557600080fd5b506102ac6105f4366004611d25565b611083565b34801561060557600080fd5b50610619610614366004611d0a565b6110f0565b6040516102da9190611d51565b34801561063257600080fd5b506008546001600160a01b0316610338565b34801561065057600080fd5b506102f86111e2565b34801561066557600080fd5b506103a5600e5481565b34801561067b57600080fd5b506102ac61068a366004611d95565b6111f1565b34801561069b57600080fd5b506102f8611286565b3480156106b057600080fd5b506102ac6106bf366004611dbf565b611293565b3480156106d057600080fd5b506102f86106df366004611ad6565b6112dd565b3480156106f057600080fd5b506102ac6106ff366004611cef565b611451565b34801561071057600080fd5b506102ac61071f366004611ad6565b61146c565b34801561073057600080fd5b506102ac61073f366004611ad6565b611479565b34801561075057600080fd5b506014546102ce9062010000900460ff1681565b34801561077057600080fd5b506103a5600f5481565b34801561078657600080fd5b506102ac610795366004611cef565b611486565b3480156107a657600080fd5b506102ce6107b5366004611e3b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107ef57600080fd5b506102f86114a8565b34801561080457600080fd5b506102ac610813366004611d0a565b6114b5565b34801561082457600080fd5b506102ac610833366004611c5a565b61152b565b61084061153f565b601055565b60006301ffc9a760e01b6001600160e01b03198316148061087657506380ac58cd60e01b6001600160e01b03198316145b806108915750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108a690611e65565b80601f01602080910402602001604051908101604052809291908181526020018280546108d290611e65565b801561091f5780601f106108f45761010080835404028352916020019161091f565b820191906000526020600020905b81548152906001019060200180831161090257829003601f168201915b5050505050905090565b60145460ff166109765760405162461bcd60e51b81526020600482015260136024820152725468652053616c65206973207061757365642160681b60448201526064015b60405180910390fd5b60008111801561098857506012548111155b6109cb5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b604482015260640161096d565b601054816109d7610bed565b6109e19190611eb5565b1115610a265760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161096d565b60135481610a3333611013565b610a3d9190611eb5565b1115610a8b5760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c657420657863656564656421000000604482015260640161096d565b80610a9582611599565b610a9f9190611ecd565b341015610ae45760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b604482015260640161096d565b610aee33826115fe565b50565b6000610afc82611618565b610b19576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b4082611008565b9050336001600160a01b03821614610b7957610b5c81336107b5565b610b79576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610bdd61153f565b600b610be98282611f32565b5050565b600154600054036000190190565b610c0361153f565b600e55565b6000610c138261164d565b9050836001600160a01b0316816001600160a01b031614610c465760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c9357610c7686336107b5565b610c9357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cba57604051633a954ecd60e21b815260040160405180910390fd5b8015610cc557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610d5757600184016000818152600460205260408120549003610d55576000548114610d555760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600060115482610db033611013565b610dba9190611eb5565b11158015610dd05750600f54610dce610bed565b105b15610ddd575050600d5490565b60105482610dea33611013565b610df49190611eb5565b11158015610e0a5750601054610e08610bed565b105b15610e17575050600e5490565b5050600e5490565b610e2761153f565b600073281e6045a66a005658b842a29b5941f9c24a47026064610e4b47600f611ecd565b610e559190612008565b604051600081818185875af1925050503d8060008114610e91576040519150601f19603f3d011682016040523d82523d6000602084013e610e96565b606091505b5050905080610ea457600080fd5b6000610eb86008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610f02576040519150601f19603f3d011682016040523d82523d6000602084013e610f07565b606091505b5050905080610be957600080fd5b610f1d61153f565b60148054911515620100000262ff000019909216919091179055565b610f5483838360405180602001604052806000815250611293565b505050565b610f6161153f565b600c610be98282611f32565b600b8054610f7a90611e65565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa690611e65565b8015610ff35780601f10610fc857610100808354040283529160200191610ff3565b820191906000526020600020905b815481529060010190602001808311610fd657829003601f168201915b505050505081565b61100361153f565b601155565b60006108918261164d565b60006001600160a01b03821661103c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61106a61153f565b61107460006116bc565b565b61107e61153f565b601255565b61108b61153f565b60105482611097610bed565b6110a19190611eb5565b11156110e65760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161096d565b610be981836115fe565b606060006110fd83611013565b67ffffffffffffffff81111561111557611115611bce565b60405190808252806020026020018201604052801561113e578160200160208202803683370190505b509050600061114c60005490565b905060008060005b838110156111d75760006111678261170e565b905080604001511561117957506111cf565b80516001600160a01b03161561118e57805192505b876001600160a01b0316836001600160a01b0316036111cd57818685806001019650815181106111c0576111c061201c565b6020026020010181815250505b505b600101611154565b509295945050505050565b6060600380546108a690611e65565b336001600160a01b0383160361121a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c8054610f7a90611e65565b61129e848484610c08565b6001600160a01b0383163b156112d7576112ba8484848461178d565b6112d7576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606112e882611618565b61134c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161096d565b601454610100900460ff1615156000036113f257600c805461136d90611e65565b80601f016020809104026020016040519081016040528092919081815260200182805461139990611e65565b80156113e65780601f106113bb576101008083540402835291602001916113e6565b820191906000526020600020905b8154815290600101906020018083116113c957829003601f168201915b50505050509050919050565b60006113fc611879565b9050600081511161141c576040518060200160405280600081525061144a565b8061142684611888565b600b60405160200161143a93929190612032565b6040516020818303038152906040525b9392505050565b61145961153f565b6014805460ff1916911515919091179055565b61147461153f565b601355565b61148161153f565b600d55565b61148e61153f565b601480549115156101000261ff0019909216919091179055565b600a8054610f7a90611e65565b6114bd61153f565b6001600160a01b0381166115225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161096d565b610aee816116bc565b61153361153f565b600a610be98282611f32565b6008546001600160a01b031633146110745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161096d565b6000601154826115a833611013565b6115b29190611eb5565b111580156115c85750600f546115c6610bed565b105b156115d5575050600d5490565b601054826115e233611013565b6115ec9190611eb5565b116115f9575050600e5490565b919050565b610be9828260405180602001604052806000815250611989565b60008160011115801561162c575060005482105b8015610891575050600090815260046020526040902054600160e01b161590565b600081806001116116a3576000548110156116a35760008181526004602052604081205490600160e01b821690036116a1575b8060000361144a575060001901600081815260046020526040902054611680565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461089190604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117c29033908990889088906004016120d2565b6020604051808303816000875af19250505080156117fd575060408051601f3d908101601f191682019092526117fa9181019061210f565b60015b61185b573d80801561182b576040519150601f19603f3d011682016040523d82523d6000602084013e611830565b606091505b508051600003611853576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a80546108a690611e65565b6060816000036118af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118d957806118c38161212c565b91506118d29050600a83612008565b91506118b3565b60008167ffffffffffffffff8111156118f4576118f4611bce565b6040519080825280601f01601f19166020018201604052801561191e576020820181803683370190505b5090505b841561187157611933600183612145565b9150611940600a8661215c565b61194b906030611eb5565b60f81b8183815181106119605761196061201c565b60200101906001600160f81b031916908160001a905350611982600a86612008565b9450611922565b61199383836119f6565b6001600160a01b0383163b15610f54576000548281035b6119bd600086838060010194508661178d565b6119da576040516368d2bf6b60e11b815260040160405180910390fd5b8181106119aa5781600054146119ef57600080fd5b5050505050565b6000546001600160a01b038316611a1f57604051622e076360e81b815260040160405180910390fd5b81600003611a405760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a8a5760005550505050565b600060208284031215611ae857600080fd5b5035919050565b6001600160e01b031981168114610aee57600080fd5b600060208284031215611b1757600080fd5b813561144a81611aef565b60005b83811015611b3d578181015183820152602001611b25565b838111156112d75750506000910152565b60008151808452611b66816020860160208601611b22565b601f01601f19169290920160200192915050565b60208152600061144a6020830184611b4e565b80356001600160a01b03811681146115f957600080fd5b60008060408385031215611bb757600080fd5b611bc083611b8d565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611bff57611bff611bce565b604051601f8501601f19908116603f01168101908282118183101715611c2757611c27611bce565b81604052809350858152868686011115611c4057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c6c57600080fd5b813567ffffffffffffffff811115611c8357600080fd5b8201601f81018413611c9457600080fd5b61187184823560208401611be4565b600080600060608486031215611cb857600080fd5b611cc184611b8d565b9250611ccf60208501611b8d565b9150604084013590509250925092565b803580151581146115f957600080fd5b600060208284031215611d0157600080fd5b61144a82611cdf565b600060208284031215611d1c57600080fd5b61144a82611b8d565b60008060408385031215611d3857600080fd5b82359150611d4860208401611b8d565b90509250929050565b6020808252825182820181905260009190848201906040850190845b81811015611d8957835183529284019291840191600101611d6d565b50909695505050505050565b60008060408385031215611da857600080fd5b611db183611b8d565b9150611d4860208401611cdf565b60008060008060808587031215611dd557600080fd5b611dde85611b8d565b9350611dec60208601611b8d565b925060408501359150606085013567ffffffffffffffff811115611e0f57600080fd5b8501601f81018713611e2057600080fd5b611e2f87823560208401611be4565b91505092959194509250565b60008060408385031215611e4e57600080fd5b611e5783611b8d565b9150611d4860208401611b8d565b600181811c90821680611e7957607f821691505b602082108103611e9957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ec857611ec8611e9f565b500190565b6000816000190483118215151615611ee757611ee7611e9f565b500290565b601f821115610f5457600081815260208120601f850160051c81016020861015611f135750805b601f850160051c820191505b81811015610d9957828155600101611f1f565b815167ffffffffffffffff811115611f4c57611f4c611bce565b611f6081611f5a8454611e65565b84611eec565b602080601f831160018114611f955760008415611f7d5750858301515b600019600386901b1c1916600185901b178555610d99565b600085815260208120601f198616915b82811015611fc457888601518255948401946001909101908401611fa5565b5085821015611fe25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b60008261201757612017611ff2565b500490565b634e487b7160e01b600052603260045260246000fd5b6000845160206120458285838a01611b22565b8551918401916120588184848a01611b22565b855492019160009061206981611e65565b600182811680156120815760018114612096576120c2565b60ff19841687528215158302870194506120c2565b896000528560002060005b848110156120ba578154898201529083019087016120a1565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061210590830184611b4e565b9695505050505050565b60006020828403121561212157600080fd5b815161144a81611aef565b60006001820161213e5761213e611e9f565b5060010190565b60008282101561215757612157611e9f565b500390565b60008261216b5761216b611ff2565b50069056fea26469706673582212208abd6631a64fb6fb2e4c5436b7e2fa9fe411c60cbd1c97ab16a863108d2b38cb64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d623265695a7461575357765148666d513953354578336b70675678654a4e667532387a5354566d4e3375694b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d58647a693144785839656e4b70313363794565375a3854777a43464771786f5843736b456e616277517144312f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): ipfs://Qmb2eiZtaWSWvQHfmQ9S5Ex3kpgVxeJNfu28zSTVmN3uiK/
Arg [1] : _hiddenMetadataUri (string): ipfs://QmXdzi1DxX9enKp13cyEe7Z8TwzCFGqxoXCskEnabwQqD1/hidden.json
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d623265695a7461575357765148666d513953354578336b
Arg [4] : 70675678654a4e667532387a5354566d4e3375694b2f00000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [6] : 697066733a2f2f516d58647a693144785839656e4b70313363794565375a3854
Arg [7] : 777a43464771786f5843736b456e616277517144312f68696464656e2e6a736f
Arg [8] : 6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
73150:5585:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76583:102;;;;;;;;;;-1:-1:-1;76583:102:0;;;;;:::i;:::-;;:::i;:::-;;14625:615;;;;;;;;;;-1:-1:-1;14625:615:0;;;;;:::i;:::-;;:::i;:::-;;;750:14:1;;743:22;725:41;;713:2;698:18;14625:615:0;;;;;;;;20272:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;74541:553::-;;;;;;:::i;:::-;;:::i;22218:204::-;;;;;;;;;;-1:-1:-1;22218:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;22218:204:0;1528:203:1;21766:386:0;;;;;;;;;;-1:-1:-1;21766:386:0;;;;;:::i;:::-;;:::i;75617:100::-;;;;;;;;;;-1:-1:-1;75617:100:0;;;;;:::i;:::-;;:::i;13679:315::-;;;;;;;;;;;;;:::i;:::-;;;3544:25:1;;;3532:2;3517:18;13679:315:0;3398:177:1;73526:33:0;;;;;;;;;;;;;;;;76497:78;;;;;;;;;;-1:-1:-1;76497:78:0;;;;;:::i;:::-;;:::i;73564:43::-;;;;;;;;;;;;;;;;31483:2800;;;;;;;;;;-1:-1:-1;31483:2800:0;;;;;:::i;:::-;;:::i;76975:385::-;;;;;;;;;;-1:-1:-1;76975:385:0;;;;;:::i;:::-;;:::i;73406:30::-;;;;;;;;;;;;;;;;76691:277;;;;;;;;;;;;;:::i;76258:147::-;;;;;;;;;;-1:-1:-1;76258:147:0;;;;;:::i;:::-;;:::i;23108:185::-;;;;;;;;;;-1:-1:-1;23108:185:0;;;;;:::i;:::-;;:::i;75479:132::-;;;;;;;;;;-1:-1:-1;75479:132:0;;;;;:::i;:::-;;:::i;73736:28::-;;;;;;;;;;-1:-1:-1;73736:28:0;;;;;;;;;;;73332:33;;;;;;;;;;;;;:::i;73663:39::-;;;;;;;;;;;;;;;;75806:154;;;;;;;;;;-1:-1:-1;75806:154:0;;;;;:::i;:::-;;:::i;20061:144::-;;;;;;;;;;-1:-1:-1;20061:144:0;;;;;:::i;:::-;;:::i;73612:46::-;;;;;;;;;;;;;;;;73707:24;;;;;;;;;;-1:-1:-1;73707:24:0;;;;;;;;15304:224;;;;;;;;;;-1:-1:-1;15304:224:0;;;;;:::i;:::-;;:::i;69489:103::-;;;;;;;;;;;;;:::i;75966:154::-;;;;;;;;;;-1:-1:-1;75966:154:0;;;;;:::i;:::-;;:::i;75102:202::-;;;;;;;;;;-1:-1:-1;75102:202:0;;;;;:::i;:::-;;:::i;77364:712::-;;;;;;;;;;-1:-1:-1;77364:712:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;68841:87::-;;;;;;;;;;-1:-1:-1;68914:6:0;;-1:-1:-1;;;;;68914:6:0;68841:87;;20441:104;;;;;;;;;;;;;:::i;73441:34::-;;;;;;;;;;;;;;;;22494:308;;;;;;;;;;-1:-1:-1;22494:308:0;;;;;:::i;:::-;;:::i;73370:31::-;;;;;;;;;;;;;:::i;23364:399::-;;;;;;;;;;-1:-1:-1;23364:399:0;;;;;:::i;:::-;;:::i;78183:445::-;;;;;;;;;;-1:-1:-1;78183:445:0;;;;;:::i;:::-;;:::i;75723:77::-;;;;;;;;;;-1:-1:-1;75723:77:0;;;;;:::i;:::-;;:::i;76126:126::-;;;;;;;;;;-1:-1:-1;76126:126:0;;;;;:::i;:::-;;:::i;76411:78::-;;;;;;;;;;-1:-1:-1;76411:78:0;;;;;:::i;:::-;;:::i;73769:45::-;;;;;;;;;;-1:-1:-1;73769:45:0;;;;;;;;;;;73480:40;;;;;;;;;;;;;;;;75310:81;;;;;;;;;;-1:-1:-1;75310:81:0;;;;;:::i;:::-;;:::i;22873:164::-;;;;;;;;;;-1:-1:-1;22873:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;22994:25:0;;;22970:4;22994:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22873:164;73310:17;;;;;;;;;;;;;:::i;69747:201::-;;;;;;;;;;-1:-1:-1;69747:201:0;;;;;:::i;:::-;;:::i;75397:76::-;;;;;;;;;;-1:-1:-1;75397:76:0;;;;;:::i;:::-;;:::i;76583:102::-;68727:13;:11;:13::i;:::-;76653:11:::1;:26:::0;76583:102::o;14625:615::-;14710:4;-1:-1:-1;;;;;;;;;15010:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15087:25:0;;;15010:102;:179;;;-1:-1:-1;;;;;;;;;;15164:25:0;;;15010:179;14990:199;14625:615;-1:-1:-1;;14625:615:0:o;20272:100::-;20326:13;20359:5;20352:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20272:100;:::o;74541:553::-;74635:4;;;;74627:36;;;;-1:-1:-1;;;74627:36:0;;7133:2:1;74627:36:0;;;7115:21:1;7172:2;7152:18;;;7145:30;-1:-1:-1;;;7191:18:1;;;7184:49;7250:18;;74627:36:0;;;;;;;;;74692:1;74678:11;:15;:58;;;;;74712:24;;74697:11;:39;;74678:58;74670:91;;;;-1:-1:-1;;;74670:91:0;;7481:2:1;74670:91:0;;;7463:21:1;7520:2;7500:18;;;7493:30;-1:-1:-1;;;7539:18:1;;;7532:50;7599:18;;74670:91:0;7279:344:1;74670:91:0;74807:11;;74792;74776:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:42;;74768:75;;;;-1:-1:-1;;;74768:75:0;;8095:2:1;74768:75:0;;;8077:21:1;8134:2;8114:18;;;8107:30;-1:-1:-1;;;8153:18:1;;;8146:50;8213:18;;74768:75:0;7893:344:1;74768:75:0;74897:17;;74882:11;74858:21;74868:10;74858:9;:21::i;:::-;:35;;;;:::i;:::-;:56;;74850:98;;;;-1:-1:-1;;;74850:98:0;;8444:2:1;74850:98:0;;;8426:21:1;8483:2;8463:18;;;8456:30;8522:31;8502:18;;;8495:59;8571:18;;74850:98:0;8242:353:1;74850:98:0;75002:11;74976:23;74987:11;74976:10;:23::i;:::-;:37;;;;:::i;:::-;74963:9;:50;;74955:82;;;;-1:-1:-1;;;74955:82:0;;8975:2:1;74955:82:0;;;8957:21:1;9014:2;8994:18;;;8987:30;-1:-1:-1;;;9033:18:1;;;9026:49;9092:18;;74955:82:0;8773:343:1;74955:82:0;75052:36;67472:10;75076:11;75052:9;:36::i;:::-;74541:553;:::o;22218:204::-;22286:7;22311:16;22319:7;22311;:16::i;:::-;22306:64;;22336:34;;-1:-1:-1;;;22336:34:0;;;;;;;;;;;22306:64;-1:-1:-1;22390:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22390:24:0;;22218:204::o;21766:386::-;21839:13;21855:16;21863:7;21855;:16::i;:::-;21839:32;-1:-1:-1;67472:10:0;-1:-1:-1;;;;;21888:28:0;;;21884:175;;21936:44;21953:5;67472:10;22873:164;:::i;21936:44::-;21931:128;;22008:35;;-1:-1:-1;;;22008:35:0;;;;;;;;;;;21931:128;22071:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22071:29:0;-1:-1:-1;;;;;22071:29:0;;;;;;;;;22116:28;;22071:24;;22116:28;;;;;;;21828:324;21766:386;;:::o;75617:100::-;68727:13;:11;:13::i;:::-;75689:9:::1;:22;75701:10:::0;75689:9;:22:::1;:::i;:::-;;75617:100:::0;:::o;13679:315::-;78170:1;13945:12;13732:7;13929:13;:28;-1:-1:-1;;13929:46:0;;13679:315::o;76497:78::-;68727:13;:11;:13::i;:::-;76555:5:::1;:14:::0;76497:78::o;31483:2800::-;31617:27;31647;31666:7;31647:18;:27::i;:::-;31617:57;;31732:4;-1:-1:-1;;;;;31691:45:0;31707:19;-1:-1:-1;;;;;31691:45:0;;31687:86;;31745:28;;-1:-1:-1;;;31745:28:0;;;;;;;;;;;31687:86;31787:27;30213:21;;;30040:15;30255:4;30248:36;30337:4;30321:21;;30427:26;;67472:10;31180:30;;;-1:-1:-1;;;;;30878:26:0;;31159:19;;;31156:55;31966:174;;32053:43;32070:4;67472:10;22873:164;:::i;32053:43::-;32048:92;;32105:35;;-1:-1:-1;;;32105:35:0;;;;;;;;;;;32048:92;-1:-1:-1;;;;;32157:16:0;;32153:52;;32182:23;;-1:-1:-1;;;32182:23:0;;;;;;;;;;;32153:52;32354:15;32351:160;;;32494:1;32473:19;32466:30;32351:160;-1:-1:-1;;;;;32889:24:0;;;;;;;:18;:24;;;;;;32887:26;;-1:-1:-1;;32887:26:0;;;32958:22;;;;;;;;;32956:24;;-1:-1:-1;32956:24:0;;;19960:11;19936:22;19932:40;19919:62;-1:-1:-1;;;19919:62:0;33251:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;33545:46:0;;:51;;33541:626;;33649:1;33639:11;;33617:19;33772:30;;;:17;:30;;;;;;:35;;33768:384;;33910:13;;33895:11;:28;33891:242;;34057:30;;;;:17;:30;;;;;:52;;;33891:242;33598:569;33541:626;34214:7;34210:2;-1:-1:-1;;;;;34195:27:0;34204:4;-1:-1:-1;;;;;34195:27:0;;;;;;;;;;;34233:42;31606:2677;;;31483:2800;;;:::o;76975:385::-;77032:7;77095:24;;77080:11;77056:21;77066:10;77056:9;:21::i;:::-;:35;;;;:::i;:::-;:63;;:101;;;;;77139:18;;77123:13;:11;:13::i;:::-;:34;77056:101;77052:146;;;-1:-1:-1;;77179:5:0;;;76975:385::o;77052:146::-;77252:11;;77237;77213:21;77223:10;77213:9;:21::i;:::-;:35;;;;:::i;:::-;:50;;:81;;;;;77283:11;;77267:13;:11;:13::i;:::-;:27;77213:81;77209:123;;;-1:-1:-1;;77315:5:0;;;76975:385::o;77209:123::-;-1:-1:-1;;77349:5:0;;;76975:385::o;76691:277::-;68727:13;:11;:13::i;:::-;76736:7:::1;76757:42;76842:3;76813:26;:21;76837:2;76813:26;:::i;:::-;:32;;;;:::i;:::-;76749:101;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76735:115;;;76865:2;76857:11;;;::::0;::::1;;76876:7;76897;68914:6:::0;;-1:-1:-1;;;;;68914:6:0;;68841:87;76897:7:::1;-1:-1:-1::0;;;;;76889:21:0::1;76918;76889:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76875:69;;;76959:2;76951:11;;;::::0;::::1;76258:147:::0;68727:13;:11;:13::i;:::-;76345:25:::1;:54:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;76345:54:0;;::::1;::::0;;;::::1;::::0;;76258:147::o;23108:185::-;23246:39;23263:4;23269:2;23273:7;23246:39;;;;;;;;;;;;:16;:39::i;:::-;23108:185;;;:::o;75479:132::-;68727:13;:11;:13::i;:::-;75567:17:::1;:38;75587:18:::0;75567:17;:38:::1;:::i;73332:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;75806:154::-;68727:13;:11;:13::i;:::-;75902:24:::1;:52:::0;75806:154::o;20061:144::-;20125:7;20168:27;20187:7;20168:18;:27::i;15304:224::-;15368:7;-1:-1:-1;;;;;15392:19:0;;15388:60;;15420:28;;-1:-1:-1;;;15420:28:0;;;;;;;;;;;15388:60;-1:-1:-1;;;;;;15466:25:0;;;;;:18;:25;;;;;;9859:13;15466:54;;15304:224::o;69489:103::-;68727:13;:11;:13::i;:::-;69554:30:::1;69581:1;69554:18;:30::i;:::-;69489:103::o:0;75966:154::-;68727:13;:11;:13::i;:::-;76062:24:::1;:52:::0;75966:154::o;75102:202::-;68727:13;:11;:13::i;:::-;75222:11:::1;;75207;75191:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:42;;75183:75;;;::::0;-1:-1:-1;;;75183:75:0;;8095:2:1;75183:75:0::1;::::0;::::1;8077:21:1::0;8134:2;8114:18;;;8107:30;-1:-1:-1;;;8153:18:1;;;8146:50;8213:18;;75183:75:0::1;7893:344:1::0;75183:75:0::1;75265:33;75275:9;75286:11;75265:9;:33::i;77364:712::-:0;77425:16;77471:18;77506:16;77516:5;77506:9;:16::i;:::-;77492:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77492:31:0;;77471:52;;77535:11;77549:14;13421:7;13448:13;;13374:95;77549:14;77535:28;;77574:19;77604:25;77645:9;77640:403;77660:3;77656:1;:7;77640:403;;;77685:31;77719:15;77732:1;77719:12;:15::i;:::-;77685:49;;77753:9;:16;;;77749:65;;;77790:8;;;77749:65;77832:14;;-1:-1:-1;;;;;77832:28:0;;77828:103;;77901:14;;;-1:-1:-1;77828:103:0;77970:5;-1:-1:-1;;;;;77949:26:0;:17;-1:-1:-1;;;;;77949:26:0;;77945:87;;78015:1;77996;77998:13;;;;;;77996:16;;;;;;;;:::i;:::-;;;;;;:20;;;;;77945:87;77670:373;77640:403;77665:3;;77640:403;;;-1:-1:-1;78060:1:0;;77364:712;-1:-1:-1;;;;;77364:712:0:o;20441:104::-;20497:13;20530:7;20523:14;;;;;:::i;22494:308::-;67472:10;-1:-1:-1;;;;;22593:31:0;;;22589:61;;22633:17;;-1:-1:-1;;;22633:17:0;;;;;;;;;;;22589:61;67472:10;22663:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22663:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22663:60:0;;;;;;;;;;22739:55;;725:41:1;;;22663:49:0;;67472:10;22739:55;;698:18:1;22739:55:0;;;;;;;22494:308;;:::o;73370:31::-;;;;;;;:::i;23364:399::-;23531:31;23544:4;23550:2;23554:7;23531:12;:31::i;:::-;-1:-1:-1;;;;;23577:14:0;;;:19;23573:183;;23616:56;23647:4;23653:2;23657:7;23666:5;23616:30;:56::i;:::-;23611:145;;23700:40;;-1:-1:-1;;;23700:40:0;;;;;;;;;;;23611:145;23364:399;;;;:::o;78183:445::-;78257:13;78287:17;78295:8;78287:7;:17::i;:::-;78279:77;;;;-1:-1:-1;;;78279:77:0;;12126:2:1;78279:77:0;;;12108:21:1;12165:2;12145:18;;;12138:30;12204:34;12184:18;;;12177:62;-1:-1:-1;;;12255:18:1;;;12248:45;12310:19;;78279:77:0;11924:411:1;78279:77:0;78369:8;;;;;;;:17;;78381:5;78369:17;78365:64;;78404:17;78397:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78183:445;;;:::o;78365:64::-;78437:28;78468:10;:8;:10::i;:::-;78437:41;;78523:1;78498:14;78492:28;:32;:130;;;;;;;;;;;;;;;;;78560:14;78576:19;:8;:17;:19::i;:::-;78597:9;78543:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78492:130;78485:137;78183:445;-1:-1:-1;;;78183:445:0:o;75723:77::-;68727:13;:11;:13::i;:::-;75782:4:::1;:12:::0;;-1:-1:-1;;75782:12:0::1;::::0;::::1;;::::0;;;::::1;::::0;;75723:77::o;76126:126::-;68727:13;:11;:13::i;:::-;76208:17:::1;:38:::0;76126:126::o;76411:78::-;68727:13;:11;:13::i;:::-;76469:5:::1;:14:::0;76411:78::o;75310:81::-;68727:13;:11;:13::i;:::-;75368:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;75368:17:0;;::::1;::::0;;;::::1;::::0;;75310:81::o;73310:17::-;;;;;;;:::i;69747:201::-;68727:13;:11;:13::i;:::-;-1:-1:-1;;;;;69836:22:0;::::1;69828:73;;;::::0;-1:-1:-1;;;69828:73:0;;13777:2:1;69828:73:0::1;::::0;::::1;13759:21:1::0;13816:2;13796:18;;;13789:30;13855:34;13835:18;;;13828:62;-1:-1:-1;;;13906:18:1;;;13899:36;13952:19;;69828:73:0::1;13575:402:1::0;69828:73:0::1;69912:28;69931:8;69912:18;:28::i;75397:76::-:0;68727:13;:11;:13::i;:::-;75457:3:::1;:10;75463:4:::0;75457:3;:10:::1;:::i;69006:132::-:0;68914:6;;-1:-1:-1;;;;;68914:6:0;67472:10;69070:23;69062:68;;;;-1:-1:-1;;;69062:68:0;;14184:2:1;69062:68:0;;;14166:21:1;;;14203:18;;;14196:30;14262:34;14242:18;;;14235:62;14314:18;;69062:68:0;13982:356:1;74209:324:0;74274:13;74341:24;;74326:11;74302:21;74312:10;74302:9;:21::i;:::-;:35;;;;:::i;:::-;:63;;:101;;;;;74385:18;;74369:13;:11;:13::i;:::-;:34;74302:101;74298:138;;;-1:-1:-1;;74423:5:0;;;74209:324::o;74298:138::-;74485:11;;74470;74446:21;74456:10;74446:9;:21::i;:::-;:35;;;;:::i;:::-;:50;74442:86;;-1:-1:-1;;74515:5:0;;;74209:324::o;74442:86::-;74209:324;;;:::o;24375:104::-;24444:27;24454:2;24458:8;24444:27;;;;;;;;;;;;:9;:27::i;24018:273::-;24075:4;24131:7;78170:1;24112:26;;:66;;;;;24165:13;;24155:7;:23;24112:66;:152;;;;-1:-1:-1;;24216:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24216:43:0;:48;;24018:273::o;16978:1129::-;17045:7;17080;;78170:1;17129:23;17125:915;;17182:13;;17175:4;:20;17171:869;;;17220:14;17237:23;;;:17;:23;;;;;;;-1:-1:-1;;;17326:23:0;;:28;;17322:699;;17845:113;17852:6;17862:1;17852:11;17845:113;;-1:-1:-1;;;17923:6:0;17905:25;;;;:17;:25;;;;;;17845:113;;17322:699;17197:843;17171:869;18068:31;;-1:-1:-1;;;18068:31:0;;;;;;;;;;;70108:191;70201:6;;;-1:-1:-1;;;;;70218:17:0;;;-1:-1:-1;;;;;;70218:17:0;;;;;;;70251:40;;70201:6;;;70218:17;70201:6;;70251:40;;70182:16;;70251:40;70171:128;70108:191;:::o;18655:153::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18775:24:0;;;;:17;:24;;;;;;18756:44;;-1:-1:-1;;;;;;;;;;;;;18311:41:0;;;;10513:3;18397:32;;;18363:67;;-1:-1:-1;;;18363:67:0;-1:-1:-1;;;18460:23:0;;:28;;-1:-1:-1;;;18441:47:0;;;;11030:3;18528:27;;;;-1:-1:-1;;;18499:57:0;-1:-1:-1;18201:363:0;38234:716;38418:88;;-1:-1:-1;;;38418:88:0;;38397:4;;-1:-1:-1;;;;;38418:45:0;;;;;:88;;67472:10;;38485:4;;38491:7;;38500:5;;38418:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38418:88:0;;;;;;;;-1:-1:-1;;38418:88:0;;;;;;;;;;;;:::i;:::-;;;38414:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38701:6;:13;38718:1;38701:18;38697:235;;38747:40;;-1:-1:-1;;;38747:40:0;;;;;;;;;;;38697:235;38890:6;38884:13;38875:6;38871:2;38867:15;38860:38;38414:529;-1:-1:-1;;;;;;38577:64:0;-1:-1:-1;;;38577:64:0;;-1:-1:-1;38414:529:0;38234:716;;;;;;:::o;78634:98::-;78694:13;78723:3;78716:10;;;;;:::i;53992:723::-;54048:13;54269:5;54278:1;54269:10;54265:53;;-1:-1:-1;;54296:10:0;;;;;;;;;;;;-1:-1:-1;;;54296:10:0;;;;;53992:723::o;54265:53::-;54343:5;54328:12;54384:78;54391:9;;54384:78;;54417:8;;;;:::i;:::-;;-1:-1:-1;54440:10:0;;-1:-1:-1;54448:2:0;54440:10;;:::i;:::-;;;54384:78;;;54472:19;54504:6;54494:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54494:17:0;;54472:39;;54522:154;54529:10;;54522:154;;54556:11;54566:1;54556:11;;:::i;:::-;;-1:-1:-1;54625:10:0;54633:2;54625:5;:10;:::i;:::-;54612:24;;:2;:24;:::i;:::-;54599:39;;54582:6;54589;54582:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;54582:56:0;;;;;;;;-1:-1:-1;54653:11:0;54662:2;54653:11;;:::i;:::-;;;54522:154;;24895:681;25018:19;25024:2;25028:8;25018:5;:19::i;:::-;-1:-1:-1;;;;;25079:14:0;;;:19;25075:483;;25119:11;25133:13;25181:14;;;25214:233;25245:62;25284:1;25288:2;25292:7;;;;;;25301:5;25245:30;:62::i;:::-;25240:167;;25343:40;;-1:-1:-1;;;25343:40:0;;;;;;;;;;;25240:167;25442:3;25434:5;:11;25214:233;;25529:3;25512:13;;:20;25508:34;;25534:8;;;25508:34;25100:458;;24895:681;;;:::o;25849:1529::-;25914:20;25937:13;-1:-1:-1;;;;;25965:16:0;;25961:48;;25990:19;;-1:-1:-1;;;25990:19:0;;;;;;;;;;;25961:48;26024:8;26036:1;26024:13;26020:44;;26046:18;;-1:-1:-1;;;26046:18:0;;;;;;;;;;;26020:44;-1:-1:-1;;;;;26552:22:0;;;;;;:18;:22;;9996:2;26552:22;;:70;;26590:31;26578:44;;26552:70;;;19960:11;19936:22;19932:40;-1:-1:-1;21670:15:0;;21645:23;21641:45;19929:51;19919:62;26865:31;;;;:17;:31;;;;;:173;26883:12;27114:23;;;27152:101;27179:35;;27204:9;;;;;-1:-1:-1;;;;;27179:35:0;;;27196:1;;27179:35;;27196:1;;27179:35;27248:3;27238:7;:13;27152:101;;27269:13;:19;-1:-1:-1;23108:185:0;;;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;199:131::-;-1:-1:-1;;;;;;273:32:1;;263:43;;253:71;;320:1;317;310:12;335:245;393:6;446:2;434:9;425:7;421:23;417:32;414:52;;;462:1;459;452:12;414:52;501:9;488:23;520:30;544:5;520:30;:::i;777:258::-;849:1;859:113;873:6;870:1;867:13;859:113;;;949:11;;;943:18;930:11;;;923:39;895:2;888:10;859:113;;;990:6;987:1;984:13;981:48;;;-1:-1:-1;;1025:1:1;1007:16;;1000:27;777:258::o;1040:::-;1082:3;1120:5;1114:12;1147:6;1142:3;1135:19;1163:63;1219:6;1212:4;1207:3;1203:14;1196:4;1189:5;1185:16;1163:63;:::i;:::-;1280:2;1259:15;-1:-1:-1;;1255:29:1;1246:39;;;;1287:4;1242:50;;1040:258;-1:-1:-1;;1040:258:1:o;1303:220::-;1452:2;1441:9;1434:21;1415:4;1472:45;1513:2;1502:9;1498:18;1490:6;1472:45;:::i;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1914:254;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2173:127::-;2234:10;2229:3;2225:20;2222:1;2215:31;2265:4;2262:1;2255:15;2289:4;2286:1;2279:15;2305:632;2370:5;2400:18;2441:2;2433:6;2430:14;2427:40;;;2447:18;;:::i;:::-;2522:2;2516:9;2490:2;2576:15;;-1:-1:-1;;2572:24:1;;;2598:2;2568:33;2564:42;2552:55;;;2622:18;;;2642:22;;;2619:46;2616:72;;;2668:18;;:::i;:::-;2708:10;2704:2;2697:22;2737:6;2728:15;;2767:6;2759;2752:22;2807:3;2798:6;2793:3;2789:16;2786:25;2783:45;;;2824:1;2821;2814:12;2783:45;2874:6;2869:3;2862:4;2854:6;2850:17;2837:44;2929:1;2922:4;2913:6;2905;2901:19;2897:30;2890:41;;;;2305:632;;;;;:::o;2942:451::-;3011:6;3064:2;3052:9;3043:7;3039:23;3035:32;3032:52;;;3080:1;3077;3070:12;3032:52;3120:9;3107:23;3153:18;3145:6;3142:30;3139:50;;;3185:1;3182;3175:12;3139:50;3208:22;;3261:4;3253:13;;3249:27;-1:-1:-1;3239:55:1;;3290:1;3287;3280:12;3239:55;3313:74;3379:7;3374:2;3361:16;3356:2;3352;3348:11;3313:74;:::i;3580:328::-;3657:6;3665;3673;3726:2;3714:9;3705:7;3701:23;3697:32;3694:52;;;3742:1;3739;3732:12;3694:52;3765:29;3784:9;3765:29;:::i;:::-;3755:39;;3813:38;3847:2;3836:9;3832:18;3813:38;:::i;:::-;3803:48;;3898:2;3887:9;3883:18;3870:32;3860:42;;3580:328;;;;;:::o;3913:160::-;3978:20;;4034:13;;4027:21;4017:32;;4007:60;;4063:1;4060;4053:12;4078:180;4134:6;4187:2;4175:9;4166:7;4162:23;4158:32;4155:52;;;4203:1;4200;4193:12;4155:52;4226:26;4242:9;4226:26;:::i;4263:186::-;4322:6;4375:2;4363:9;4354:7;4350:23;4346:32;4343:52;;;4391:1;4388;4381:12;4343:52;4414:29;4433:9;4414:29;:::i;4454:254::-;4522:6;4530;4583:2;4571:9;4562:7;4558:23;4554:32;4551:52;;;4599:1;4596;4589:12;4551:52;4635:9;4622:23;4612:33;;4664:38;4698:2;4687:9;4683:18;4664:38;:::i;:::-;4654:48;;4454:254;;;;;:::o;4713:632::-;4884:2;4936:21;;;5006:13;;4909:18;;;5028:22;;;4855:4;;4884:2;5107:15;;;;5081:2;5066:18;;;4855:4;5150:169;5164:6;5161:1;5158:13;5150:169;;;5225:13;;5213:26;;5294:15;;;;5259:12;;;;5186:1;5179:9;5150:169;;;-1:-1:-1;5336:3:1;;4713:632;-1:-1:-1;;;;;;4713:632:1:o;5350:254::-;5415:6;5423;5476:2;5464:9;5455:7;5451:23;5447:32;5444:52;;;5492:1;5489;5482:12;5444:52;5515:29;5534:9;5515:29;:::i;:::-;5505:39;;5563:35;5594:2;5583:9;5579:18;5563:35;:::i;5609:667::-;5704:6;5712;5720;5728;5781:3;5769:9;5760:7;5756:23;5752:33;5749:53;;;5798:1;5795;5788:12;5749:53;5821:29;5840:9;5821:29;:::i;:::-;5811:39;;5869:38;5903:2;5892:9;5888:18;5869:38;:::i;:::-;5859:48;;5954:2;5943:9;5939:18;5926:32;5916:42;;6009:2;5998:9;5994:18;5981:32;6036:18;6028:6;6025:30;6022:50;;;6068:1;6065;6058:12;6022:50;6091:22;;6144:4;6136:13;;6132:27;-1:-1:-1;6122:55:1;;6173:1;6170;6163:12;6122:55;6196:74;6262:7;6257:2;6244:16;6239:2;6235;6231:11;6196:74;:::i;:::-;6186:84;;;5609:667;;;;;;;:::o;6281:260::-;6349:6;6357;6410:2;6398:9;6389:7;6385:23;6381:32;6378:52;;;6426:1;6423;6416:12;6378:52;6449:29;6468:9;6449:29;:::i;:::-;6439:39;;6497:38;6531:2;6520:9;6516:18;6497:38;:::i;6546:380::-;6625:1;6621:12;;;;6668;;;6689:61;;6743:4;6735:6;6731:17;6721:27;;6689:61;6796:2;6788:6;6785:14;6765:18;6762:38;6759:161;;6842:10;6837:3;6833:20;6830:1;6823:31;6877:4;6874:1;6867:15;6905:4;6902:1;6895:15;6759:161;;6546:380;;;:::o;7628:127::-;7689:10;7684:3;7680:20;7677:1;7670:31;7720:4;7717:1;7710:15;7744:4;7741:1;7734:15;7760:128;7800:3;7831:1;7827:6;7824:1;7821:13;7818:39;;;7837:18;;:::i;:::-;-1:-1:-1;7873:9:1;;7760:128::o;8600:168::-;8640:7;8706:1;8702;8698:6;8694:14;8691:1;8688:21;8683:1;8676:9;8669:17;8665:45;8662:71;;;8713:18;;:::i;:::-;-1:-1:-1;8753:9:1;;8600:168::o;9247:545::-;9349:2;9344:3;9341:11;9338:448;;;9385:1;9410:5;9406:2;9399:17;9455:4;9451:2;9441:19;9525:2;9513:10;9509:19;9506:1;9502:27;9496:4;9492:38;9561:4;9549:10;9546:20;9543:47;;;-1:-1:-1;9584:4:1;9543:47;9639:2;9634:3;9630:12;9627:1;9623:20;9617:4;9613:31;9603:41;;9694:82;9712:2;9705:5;9702:13;9694:82;;;9757:17;;;9738:1;9727:13;9694:82;;9968:1352;10094:3;10088:10;10121:18;10113:6;10110:30;10107:56;;;10143:18;;:::i;:::-;10172:97;10262:6;10222:38;10254:4;10248:11;10222:38;:::i;:::-;10216:4;10172:97;:::i;:::-;10324:4;;10388:2;10377:14;;10405:1;10400:663;;;;11107:1;11124:6;11121:89;;;-1:-1:-1;11176:19:1;;;11170:26;11121:89;-1:-1:-1;;9925:1:1;9921:11;;;9917:24;9913:29;9903:40;9949:1;9945:11;;;9900:57;11223:81;;10370:944;;10400:663;9194:1;9187:14;;;9231:4;9218:18;;-1:-1:-1;;10436:20:1;;;10554:236;10568:7;10565:1;10562:14;10554:236;;;10657:19;;;10651:26;10636:42;;10749:27;;;;10717:1;10705:14;;;;10584:19;;10554:236;;;10558:3;10818:6;10809:7;10806:19;10803:201;;;10879:19;;;10873:26;-1:-1:-1;;10962:1:1;10958:14;;;10974:3;10954:24;10950:37;10946:42;10931:58;10916:74;;10803:201;-1:-1:-1;;;;;11050:1:1;11034:14;;;11030:22;11017:36;;-1:-1:-1;9968:1352:1:o;11325:127::-;11386:10;11381:3;11377:20;11374:1;11367:31;11417:4;11414:1;11407:15;11441:4;11438:1;11431:15;11457:120;11497:1;11523;11513:35;;11528:18;;:::i;:::-;-1:-1:-1;11562:9:1;;11457:120::o;11792:127::-;11853:10;11848:3;11844:20;11841:1;11834:31;11884:4;11881:1;11874:15;11908:4;11905:1;11898:15;12340:1230;12564:3;12602:6;12596:13;12628:4;12641:51;12685:6;12680:3;12675:2;12667:6;12663:15;12641:51;:::i;:::-;12755:13;;12714:16;;;;12777:55;12755:13;12714:16;12799:15;;;12777:55;:::i;:::-;12921:13;;12854:20;;;12894:1;;12959:36;12921:13;12959:36;:::i;:::-;13014:1;13031:18;;;13058:141;;;;13213:1;13208:337;;;;13024:521;;13058:141;-1:-1:-1;;13093:24:1;;13079:39;;13170:16;;13163:24;13149:39;;13138:51;;;-1:-1:-1;13058:141:1;;13208:337;13239:6;13236:1;13229:17;13287:2;13284:1;13274:16;13312:1;13326:169;13340:8;13337:1;13334:15;13326:169;;;13422:14;;13407:13;;;13400:37;13465:16;;;;13357:10;;13326:169;;;13330:3;;13526:8;13519:5;13515:20;13508:27;;13024:521;-1:-1:-1;13561:3:1;;12340:1230;-1:-1:-1;;;;;;;;;;12340:1230:1:o;14343:489::-;-1:-1:-1;;;;;14612:15:1;;;14594:34;;14664:15;;14659:2;14644:18;;14637:43;14711:2;14696:18;;14689:34;;;14759:3;14754:2;14739:18;;14732:31;;;14537:4;;14780:46;;14806:19;;14798:6;14780:46;:::i;:::-;14772:54;14343:489;-1:-1:-1;;;;;;14343:489:1:o;14837:249::-;14906:6;14959:2;14947:9;14938:7;14934:23;14930:32;14927:52;;;14975:1;14972;14965:12;14927:52;15007:9;15001:16;15026:30;15050:5;15026:30;:::i;15091:135::-;15130:3;15151:17;;;15148:43;;15171:18;;:::i;:::-;-1:-1:-1;15218:1:1;15207:13;;15091:135::o;15231:125::-;15271:4;15299:1;15296;15293:8;15290:34;;;15304:18;;:::i;:::-;-1:-1:-1;15341:9:1;;15231:125::o;15361:112::-;15393:1;15419;15409:35;;15424:18;;:::i;:::-;-1:-1:-1;15458:9:1;;15361:112::o
Swarm Source
ipfs://8abd6631a64fb6fb2e4c5436b7e2fa9fe411c60cbd1c97ab16a863108d2b38cb
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.