Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 972 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21351812 | 24 days ago | IN | 0 ETH | 0.00080152 | ||||
Safe Transfer Fr... | 21350700 | 24 days ago | IN | 0 ETH | 0.00065983 | ||||
Safe Transfer Fr... | 21331067 | 27 days ago | IN | 0 ETH | 0.00175363 | ||||
Set Approval For... | 21238637 | 40 days ago | IN | 0 ETH | 0.00072095 | ||||
Set Approval For... | 21231187 | 41 days ago | IN | 0 ETH | 0.00073121 | ||||
Set Approval For... | 21210465 | 44 days ago | IN | 0 ETH | 0.00045976 | ||||
Set Approval For... | 21174602 | 49 days ago | IN | 0 ETH | 0.00128839 | ||||
Set Approval For... | 21167025 | 50 days ago | IN | 0 ETH | 0.00182042 | ||||
Set Approval For... | 21161281 | 51 days ago | IN | 0 ETH | 0.00059875 | ||||
Set Approval For... | 21148494 | 53 days ago | IN | 0 ETH | 0.0005705 | ||||
Set Approval For... | 21115011 | 57 days ago | IN | 0 ETH | 0.00030576 | ||||
Safe Transfer Fr... | 21110618 | 58 days ago | IN | 0 ETH | 0.00016064 | ||||
Safe Transfer Fr... | 21089339 | 61 days ago | IN | 0 ETH | 0.00039485 | ||||
Set Approval For... | 21087027 | 61 days ago | IN | 0 ETH | 0.0009388 | ||||
Set Approval For... | 21082042 | 62 days ago | IN | 0 ETH | 0.00042912 | ||||
Set Approval For... | 21082031 | 62 days ago | IN | 0 ETH | 0.00040447 | ||||
Set Approval For... | 21074747 | 63 days ago | IN | 0 ETH | 0.00036151 | ||||
Set Approval For... | 21072300 | 63 days ago | IN | 0 ETH | 0.00072498 | ||||
Set Approval For... | 21071717 | 63 days ago | IN | 0 ETH | 0.00057179 | ||||
Transfer From | 21071680 | 63 days ago | IN | 0 ETH | 0.00074079 | ||||
Set Approval For... | 21047848 | 67 days ago | IN | 0 ETH | 0.00025656 | ||||
Set Approval For... | 20981392 | 76 days ago | IN | 0 ETH | 0.00040199 | ||||
Safe Transfer Fr... | 20929076 | 83 days ago | IN | 0 ETH | 0.00234052 | ||||
Set Approval For... | 20894940 | 88 days ago | IN | 0 ETH | 0.0003056 | ||||
Set Approval For... | 20880681 | 90 days ago | IN | 0 ETH | 0.00037748 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
EAPass
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // // $$\ $$\ $$\ $$\ $$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$\ $$\ $$$$$$\ $$$$$$$\ $$$$$$\ // // $$ | $\ $$ |$$ | $$ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ | $$ __$$\ $$ __$$\ $$ __$$\ // // $$ |$$$\ $$ |$$ | $$ |$$ / $$ |$$ / $$ |$$ | $$ |$$ | $$ |$$ / $$ |$$ / $$ |$$ | $$ | $$ | $$ / $$ |$$ | $$ |$$ / \__| // // $$ $$ $$\$$ |$$$$$$$$ |$$ | $$ |$$ | $$ |$$$$$$$ |$$ | $$ |$$ | $$ |$$ | $$ |$$$$$$$ | $$ | $$$$$$$$ |$$$$$$$\ |\$$$$$$\ // // $$$$ _$$$$ |$$ __$$ |$$ | $$ |$$ | $$ |$$ ____/ $$ | $$ |$$ | $$ |$$ | $$ |$$ ____/ $$ | $$ __$$ |$$ __$$\ \____$$\ // // $$$ / \$$$ |$$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ | $$ | $$ |$$ | $$ |$$\ $$ | // // $$ / \$$ |$$ | $$ | $$$$$$ | $$$$$$ |$$ | $$$$$$$ | $$$$$$ | $$$$$$ |$$ | $$$$$$$$\ $$ | $$ |$$$$$$$ |\$$$$$$ | // // \__/ \__|\__| \__| \______/ \______/ \__| \_______/ \______/ \______/ \__| \________|\__| \__|\_______/ \______/ // // // /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // WhoopDoop Labs (https://whoopdoop.com) // Author: @GrizzlyDesign pragma solidity ^0.8.15; import "./Ownable.sol"; import "./ERC721A.sol"; import "./ERC721AQueryable.sol"; import "./ERC721ABurnable.sol"; import "./MerkleProof.sol"; import "./Address.sol"; contract EAPass is ERC721AQueryable, ERC721ABurnable, Ownable { uint256 public constant MAX_SUPPLY = 300; uint256 public mintableSupply = MAX_SUPPLY; uint256 private maxMint = 1; bool public ogSaleActive = false; bool public regSaleActive = false; bool public revealed = false; bytes32 private ogMerkleRoot; bytes32 private regMerkleRoot; mapping(uint256 => mapping(address => uint256)) private mintCount; string private baseURI; string private unrevealedUri; string private baseExtension = ".json"; constructor( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initUnrevealedUri ) ERC721A(_name, _symbol) { baseURI = _initBaseURI; unrevealedUri = _initUnrevealedUri; } /** * @notice Toggle The OG Claim Period. */ function toggleOgSale() external onlyOwner { ogSaleActive = !ogSaleActive; } modifier isOgSaleActive() { require(ogSaleActive, "OG Claim Not Active"); _; } /** * @notice Toggle The Regular Claim Period. */ function toggleRegSale() external onlyOwner { regSaleActive = !regSaleActive; } modifier isRegSaleActive() { require(regSaleActive, "Regular Claim Not Active"); _; } modifier hasCorrectAmount(uint256 price, uint256 quantity) { require(msg.value >= price * quantity, "Insufficent Funds"); _; } modifier withinMintableSupply(uint256 quantity) { require( _totalMinted() + quantity <= mintableSupply, "Surpasses Supply" ); _; } /** * @notice Reveals The True Token URI */ function reveal() public onlyOwner { revealed = true; } /** * @notice Set the merkle root for the OG list verification * @param _ogMerkleRoot - OG Merkle Root */ function setOgMerkleRoot(bytes32 _ogMerkleRoot) external onlyOwner { ogMerkleRoot = _ogMerkleRoot; } /** * @notice Set the merkle root for the OG list verification * @param _regMerkleRoot - Regular Claim Merkle Root */ function setRegMerkleRoot(bytes32 _regMerkleRoot) external onlyOwner { regMerkleRoot = _regMerkleRoot; } /** * @notice OG List Claim. * @param merkleProof - Proof To Verify OG List. */ function claimOG(bytes32[] calldata merkleProof) public isOgSaleActive hasValidMerkleProof(merkleProof, ogMerkleRoot) withinMintableSupply(1) { uint256 netMinted = (mintCount[0][msg.sender] += 1); require((netMinted <= maxMint), "You have already claimed."); _mint(msg.sender, 1); } /** * @notice Regular List Claim. * @param merkleProof - Proof To Verify Regular List. */ function claimReg(bytes32[] calldata merkleProof) public isRegSaleActive hasValidMerkleProof(merkleProof, regMerkleRoot) withinMintableSupply(1) { uint256 netMinted = (mintCount[0][msg.sender] += 1); require((netMinted <= maxMint), "You have already claimed."); _mint(msg.sender, 1); } modifier hasValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) { require( MerkleProof.verify( merkleProof, root, keccak256(abi.encodePacked(msg.sender)) ), "Merkle Proof Incorrect." ); _; } /** * @notice Admin mint * @param recipient - The receiver of the NFT * @param quantity - The quantity to mint */ function mintAdmin(address recipient, uint256 quantity) external onlyOwner withinMintableSupply(quantity) { _mint(recipient, quantity); } /** * @notice Allow adjustment of max mint * @param limit - Number of allowed mints per wallet. */ function setMaxMint(uint256 limit) external onlyOwner { maxMint = limit; } /** * @notice Allow adjustment of mintable supply * @param supply - Mintable supply, limited to the maximum supply */ function setMintableSupply(uint256 supply) external onlyOwner { require( supply >= _totalMinted() && supply <= MAX_SUPPLY, "Invalid Supply" ); mintableSupply = supply; } /** * @notice Sets the base URI of the NFT * @param baseURI_ - The Base URI of the NFT */ function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } /** * @notice Sets the Unrevealed URI of the NFT * @param _unrevealedURI - The Unrevealed URI of the NFT */ function setUnrevealedURI(string memory _unrevealedURI) public onlyOwner { unrevealedUri = _unrevealedURI; } /** * @dev Returns the Base URI of the NFT */ function _baseURI() internal view virtual override returns (string memory) { if (revealed == false) { return unrevealedUri; } return baseURI; } /** * @notice Returns The URI Of the Specified Token ID * @param tokenId - The ID Of The Token */ function tokenURI(uint256 tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); if (revealed == false) { return bytes(unrevealedUri).length != 0 ? string( abi.encodePacked( unrevealedUri, _toString(tokenId), baseExtension ) ) : ""; } return bytes(baseURI).length != 0 ? string( abi.encodePacked(baseURI, _toString(tokenId), baseExtension) ) : ""; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } /** * @dev Returns the starting token ID. */ function _startTokenId() internal view virtual override returns (uint256) { return 1; } /** * @notice Withdrawal of funds */ function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721A.sol"; /** * @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) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721AQueryable.sol"; import "./ERC721A.sol"; /** * @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; } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721ABurnable.sol"; import "./ERC721A.sol"; /** * @title ERC721A Burnable Token * @dev ERC721A Token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual override { _burn(tokenId, true); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721A.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721A.sol"; /** * @dev Interface of an ERC721ABurnable compliant contract. */ interface IERC721ABurnable is IERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initUnrevealedUri","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":"InvalidQueryRange","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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claimOG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claimReg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintableSupply","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":"ogSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"regSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setMintableSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_ogMerkleRoot","type":"bytes32"}],"name":"setOgMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_regMerkleRoot","type":"bytes32"}],"name":"setRegMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleOgSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleRegSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61012c6009556001600a55600b805462ffffff1916905560c06040526005608090815264173539b7b760d91b60a0526011906200003d9082620001bf565b503480156200004b57600080fd5b506040516200286a3803806200286a8339810160408190526200006e9162000342565b838360026200007e8382620001bf565b5060036200008d8282620001bf565b5050600160005550620000a033620000c8565b600f620000ae8382620001bf565b506010620000bd8282620001bf565b5050505050620003fb565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200014557607f821691505b6020821081036200016657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001ba57600081815260208120601f850160051c81016020861015620001955750805b601f850160051c820191505b81811015620001b657828155600101620001a1565b5050505b505050565b81516001600160401b03811115620001db57620001db6200011a565b620001f381620001ec845462000130565b846200016c565b602080601f8311600181146200022b5760008415620002125750858301515b600019600386901b1c1916600185901b178555620001b6565b600085815260208120601f198616915b828110156200025c578886015182559484019460019091019084016200023b565b50858210156200027b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f8301126200029d57600080fd5b81516001600160401b0380821115620002ba57620002ba6200011a565b604051601f8301601f19908116603f01168101908282118183101715620002e557620002e56200011a565b816040528381526020925086838588010111156200030257600080fd5b600091505b8382101562000326578582018301518183018401529082019062000307565b83821115620003385760008385830101525b9695505050505050565b600080600080608085870312156200035957600080fd5b84516001600160401b03808211156200037157600080fd5b6200037f888389016200028b565b955060208701519150808211156200039657600080fd5b620003a4888389016200028b565b94506040870151915080821115620003bb57600080fd5b620003c9888389016200028b565b93506060870151915080821115620003e057600080fd5b50620003ef878288016200028b565b91505092959194509250565b61245f806200040b6000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c80636352211e11610146578063c23dc68f116100c3578063d8a7ab8911610087578063d8a7ab89146104fc578063da3ef23f1461050f578063e985e9c514610522578063f2fde38b14610535578063f44c562f14610548578063fe2c7fee1461055057600080fd5b8063c23dc68f1461049b578063c3a71999146104bb578063c87b56dd146104ce578063cc5c095c146104e1578063d499d1f5146104ea57600080fd5b806395d89b411161010a57806395d89b411461045257806399a2557a1461045a578063a22cb4651461046d578063a475b5dd14610480578063b88d4fde1461048857600080fd5b80636352211e146103f357806370a0823114610406578063715018a6146104195780638462151c146104215780638da5cb5b1461044157600080fd5b80633905ab64116101d457806351830227116101985780635183022714610387578063547520fe1461039a57806355f804b3146103ad5780635bbb2177146103c05780635c46692c146103e057600080fd5b80633905ab64146103335780633ccfd60b1461034657806342842e0e1461034e57806342966c681461036157806349281f731461037457600080fd5b806318160ddd1161021b57806318160ddd146102dd57806323b872dd146102f757806323c8d4d21461030a57806332cb6b0c146103175780633844d3d31461032057600080fd5b806301ffc9a71461025857806306fdde0314610280578063081812fc14610295578063095ea7b3146102c057806309e95aba146102d5575b600080fd5b61026b610266366004611c3b565b610563565b60405190151581526020015b60405180910390f35b6102886105b5565b6040516102779190611cb0565b6102a86102a3366004611cc3565b610647565b6040516001600160a01b039091168152602001610277565b6102d36102ce366004611cf8565b61068b565b005b6102d361072b565b60015460005403600019015b604051908152602001610277565b6102d3610305366004611d22565b610772565b600b5461026b9060ff1681565b6102e961012c81565b6102d361032e366004611d5e565b610915565b6102d3610341366004611d5e565b610b2e565b6102d3610be6565b6102d361035c366004611d22565b610c68565b6102d361036f366004611cc3565b610c88565b6102d3610382366004611cc3565b610c93565b600b5461026b9062010000900460ff1681565b6102d36103a8366004611cc3565b610d17565b6102d36103bb366004611e6f565b610d46565b6103d36103ce366004611eb7565b610d80565b6040516102779190611f98565b6102d36103ee366004611cc3565b610e4d565b6102a8610401366004611cc3565b610e7c565b6102e9610414366004611fda565b610e87565b6102d3610ed5565b61043461042f366004611fda565b610f0b565b6040516102779190611ff5565b6008546001600160a01b03166102a8565b610288611013565b61043461046836600461202d565b611022565b6102d361047b366004612060565b6111a9565b6102d361123e565b6102d361049636600461209c565b61127b565b6104ae6104a9366004611cc3565b6112c5565b6040516102779190612117565b6102d36104c9366004611cf8565b61134d565b6102886104dc366004611cc3565b6113de565b6102e960095481565b600b5461026b90610100900460ff1681565b6102d361050a366004611cc3565b6114b0565b6102d361051d366004611e6f565b6114df565b61026b610530366004612125565b611515565b6102d3610543366004611fda565b611543565b6102d36115db565b6102d361055e366004611e6f565b611622565b60006301ffc9a760e01b6001600160e01b03198316148061059457506380ac58cd60e01b6001600160e01b03198316145b806105af5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105c490612158565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090612158565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b5050505050905090565b600061065282611658565b61066f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061069682610e7c565b9050336001600160a01b038216146106cf576106b28133611515565b6106cf576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b0316331461075e5760405162461bcd60e51b815260040161075590612192565b60405180910390fd5b600b805460ff19811660ff90911615179055565b600061077d8261168d565b9050836001600160a01b0316816001600160a01b0316146107b05760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546107dc8187335b6001600160a01b039081169116811491141790565b610807576107ea8633611515565b61080757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082e57604051633a954ecd60e21b815260040160405180910390fd5b801561083957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108cb576001840160008181526004602052604081205490036108c95760005481146108c95760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600b5460ff1661095d5760405162461bcd60e51b81526020600482015260136024820152724f4720436c61696d204e6f742041637469766560681b6044820152606401610755565b8181600c546109d5838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015285925060340190505b604051602081830303815290604052805190602001206116fc565b610a215760405162461bcd60e51b815260206004820152601760248201527f4d65726b6c652050726f6f6620496e636f72726563742e0000000000000000006044820152606401610755565b600160095481610a346000546000190190565b610a3e91906121dd565b1115610a7f5760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320537570706c7960801b6044820152606401610755565b3360009081527fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881c602052604081208054600191908390610ac09084906121dd565b9250508190559050600a54811115610b1a5760405162461bcd60e51b815260206004820152601960248201527f596f75206861766520616c726561647920636c61696d65642e000000000000006044820152606401610755565b610b25336001611712565b50505050505050565b600b54610100900460ff16610b855760405162461bcd60e51b815260206004820152601860248201527f526567756c617220436c61696d204e6f742041637469766500000000000000006044820152606401610755565b8181600d546109d5838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015285925060340190506109ba565b6008546001600160a01b03163314610c105760405162461bcd60e51b815260040161075590612192565b604051600090339047908381818185875af1925050503d8060008114610c52576040519150601f19603f3d011682016040523d82523d6000602084013e610c57565b606091505b5050905080610c6557600080fd5b50565b610c838383836040518060200160405280600081525061127b565b505050565b610c658160016117f2565b6008546001600160a01b03163314610cbd5760405162461bcd60e51b815260040161075590612192565b600054600019018110158015610cd5575061012c8111155b610d125760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420537570706c7960901b6044820152606401610755565b600955565b6008546001600160a01b03163314610d415760405162461bcd60e51b815260040161075590612192565b600a55565b6008546001600160a01b03163314610d705760405162461bcd60e51b815260040161075590612192565b600f610d7c828261223b565b5050565b80516060906000816001600160401b03811115610d9f57610d9f611dd2565b604051908082528060200260200182016040528015610df157816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610dbd5790505b50905060005b828114610e4557610e20858281518110610e1357610e136122fa565b60200260200101516112c5565b828281518110610e3257610e326122fa565b6020908102919091010152600101610df7565b509392505050565b6008546001600160a01b03163314610e775760405162461bcd60e51b815260040161075590612192565b600d55565b60006105af8261168d565b60006001600160a01b038216610eb0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610eff5760405162461bcd60e51b815260040161075590612192565b610f09600061193c565b565b60606000806000610f1b85610e87565b90506000816001600160401b03811115610f3757610f37611dd2565b604051908082528060200260200182016040528015610f60578160200160208202803683370190505b509050610f8d60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461100757610fa08161198e565b91508160400151610fff5781516001600160a01b031615610fc057815194505b876001600160a01b0316856001600160a01b031603610fff5780838780600101985081518110610ff257610ff26122fa565b6020026020010181815250505b600101610f90565b50909695505050505050565b6060600380546105c490612158565b606081831061104457604051631960ccad60e11b815260040160405180910390fd5b60008061105060005490565b9050600185101561106057600194505b8084111561106c578093505b600061107787610e87565b9050848610156110965785850381811015611090578091505b5061109a565b5060005b6000816001600160401b038111156110b4576110b4611dd2565b6040519080825280602002602001820160405280156110dd578160200160208202803683370190505b509050816000036110f35793506111a292505050565b60006110fe886112c5565b90506000816040015161110f575080515b885b8881141580156111215750848714155b156111965761112f8161198e565b9250826040015161118e5782516001600160a01b03161561114f57825191505b8a6001600160a01b0316826001600160a01b03160361118e5780848880600101995081518110611181576111816122fa565b6020026020010181815250505b600101611111565b50505092835250909150505b9392505050565b336001600160a01b038316036111d25760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146112685760405162461bcd60e51b815260040161075590612192565b600b805462ff0000191662010000179055565b611286848484610772565b6001600160a01b0383163b156112bf576112a2848484846119ca565b6112bf576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061131e57506000548310155b156113295792915050565b6113328361198e565b90508060400151156113445792915050565b6111a283611ab6565b6008546001600160a01b031633146113775760405162461bcd60e51b815260040161075590612192565b80600954816113896000546000190190565b61139391906121dd565b11156113d45760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320537570706c7960801b6044820152606401610755565b610c838383611712565b60606113e982611658565b61140657604051630a14c4b560e41b815260040160405180910390fd5b600b5462010000900460ff16151560000361147a576010805461142890612158565b905060000361144657604051806020016040528060008152506105af565b601061145183611aeb565b601160405160200161146593929190612383565b60405160208183030381529060405292915050565b600f805461148790612158565b90506000036114a557604051806020016040528060008152506105af565b600f61145183611aeb565b6008546001600160a01b031633146114da5760405162461bcd60e51b815260040161075590612192565b600c55565b6008546001600160a01b031633146115095760405162461bcd60e51b815260040161075590612192565b6011610d7c828261223b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b0316331461156d5760405162461bcd60e51b815260040161075590612192565b6001600160a01b0381166115d25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610755565b610c658161193c565b6008546001600160a01b031633146116055760405162461bcd60e51b815260040161075590612192565b600b805461ff001981166101009182900460ff1615909102179055565b6008546001600160a01b0316331461164c5760405162461bcd60e51b815260040161075590612192565b6010610d7c828261223b565b60008160011115801561166c575060005482105b80156105af575050600090815260046020526040902054600160e01b161590565b600081806001116116e3576000548110156116e35760008181526004602052604081205490600160e01b821690036116e1575b806000036111a25750600019016000818152600460205260409020546116c0565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826117098584611b3a565b14949350505050565b6000546001600160a01b03831661173b57604051622e076360e81b815260040160405180910390fd5b8160000361175c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106117a65760005550505050565b60006117fd8361168d565b90508060008061181b86600090815260066020526040902080549091565b91509150841561185b576118308184336107c7565b61185b5761183e8333611515565b61185b57604051632ce44b5f60e11b815260040160405180910390fd5b801561186657600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036118f4576001860160008181526004602052604081205490036118f25760005481146118f25760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546105af90611bde565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119ff9033908990889088906004016123b6565b6020604051808303816000875af1925050508015611a3a575060408051601f3d908101601f19168201909252611a37918101906123f3565b60015b611a98573d808015611a68576040519150601f19603f3d011682016040523d82523d6000602084013e611a6d565b606091505b508051600003611a90576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526105af611ae68361168d565b611bde565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611b2857600183039250600a81066030018353600a9004611b0a565b50819003601f19909101908152919050565b600081815b8451811015610e45576000858281518110611b5c57611b5c6122fa565b60200260200101519050808311611b9e576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611bcb565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611bd681612410565b915050611b3f565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6001600160e01b031981168114610c6557600080fd5b600060208284031215611c4d57600080fd5b81356111a281611c25565b60005b83811015611c73578181015183820152602001611c5b565b838111156112bf5750506000910152565b60008151808452611c9c816020860160208601611c58565b601f01601f19169290920160200192915050565b6020815260006111a26020830184611c84565b600060208284031215611cd557600080fd5b5035919050565b80356001600160a01b0381168114611cf357600080fd5b919050565b60008060408385031215611d0b57600080fd5b611d1483611cdc565b946020939093013593505050565b600080600060608486031215611d3757600080fd5b611d4084611cdc565b9250611d4e60208501611cdc565b9150604084013590509250925092565b60008060208385031215611d7157600080fd5b82356001600160401b0380821115611d8857600080fd5b818501915085601f830112611d9c57600080fd5b813581811115611dab57600080fd5b8660208260051b8501011115611dc057600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611e1057611e10611dd2565b604052919050565b60006001600160401b03831115611e3157611e31611dd2565b611e44601f8401601f1916602001611de8565b9050828152838383011115611e5857600080fd5b828260208301376000602084830101529392505050565b600060208284031215611e8157600080fd5b81356001600160401b03811115611e9757600080fd5b8201601f81018413611ea857600080fd5b611aae84823560208401611e18565b60006020808385031215611eca57600080fd5b82356001600160401b0380821115611ee157600080fd5b818501915085601f830112611ef557600080fd5b813581811115611f0757611f07611dd2565b8060051b9150611f18848301611de8565b8181529183018401918481019088841115611f3257600080fd5b938501935b83851015611f5057843582529385019390850190611f37565b98975050505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561100757611fc7838551611f5c565b9284019260809290920191600101611fb4565b600060208284031215611fec57600080fd5b6111a282611cdc565b6020808252825182820181905260009190848201906040850190845b8181101561100757835183529284019291840191600101612011565b60008060006060848603121561204257600080fd5b61204b84611cdc565b95602085013595506040909401359392505050565b6000806040838503121561207357600080fd5b61207c83611cdc565b91506020830135801515811461209157600080fd5b809150509250929050565b600080600080608085870312156120b257600080fd5b6120bb85611cdc565b93506120c960208601611cdc565b92506040850135915060608501356001600160401b038111156120eb57600080fd5b8501601f810187136120fc57600080fd5b61210b87823560208401611e18565b91505092959194509250565b608081016105af8284611f5c565b6000806040838503121561213857600080fd5b61214183611cdc565b915061214f60208401611cdc565b90509250929050565b600181811c9082168061216c57607f821691505b60208210810361218c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156121f0576121f06121c7565b500190565b601f821115610c8357600081815260208120601f850160051c8101602086101561221c5750805b601f850160051c820191505b8181101561090d57828155600101612228565b81516001600160401b0381111561225457612254611dd2565b612268816122628454612158565b846121f5565b602080601f83116001811461229d57600084156122855750858301515b600019600386901b1c1916600185901b17855561090d565b600085815260208120601f198616915b828110156122cc578886015182559484019460019091019084016122ad565b50858210156122ea5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000815461231d81612158565b60018281168015612335576001811461234a57612379565b60ff1984168752821515830287019450612379565b8560005260208060002060005b858110156123705781548a820152908401908201612357565b50505082870194505b5050505092915050565b600061238f8286612310565b845161239f818360208901611c58565b6123ab81830186612310565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123e990830184611c84565b9695505050505050565b60006020828403121561240557600080fd5b81516111a281611c25565b600060018201612422576124226121c7565b506001019056fea2646970667358221220a658cd66489472503c200af74a9cb9d6c882d643468c58a6c867a005632fc62e64736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000001157686f6f70736965732045412050617373000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000245410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55584d5145365773767471774e57556252674538334b563362314e365044764361553665645a6131546a62752f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d594c54573766344238415535447a335278534e37794d6f50434776535253616a586345756a693838367558662f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102535760003560e01c80636352211e11610146578063c23dc68f116100c3578063d8a7ab8911610087578063d8a7ab89146104fc578063da3ef23f1461050f578063e985e9c514610522578063f2fde38b14610535578063f44c562f14610548578063fe2c7fee1461055057600080fd5b8063c23dc68f1461049b578063c3a71999146104bb578063c87b56dd146104ce578063cc5c095c146104e1578063d499d1f5146104ea57600080fd5b806395d89b411161010a57806395d89b411461045257806399a2557a1461045a578063a22cb4651461046d578063a475b5dd14610480578063b88d4fde1461048857600080fd5b80636352211e146103f357806370a0823114610406578063715018a6146104195780638462151c146104215780638da5cb5b1461044157600080fd5b80633905ab64116101d457806351830227116101985780635183022714610387578063547520fe1461039a57806355f804b3146103ad5780635bbb2177146103c05780635c46692c146103e057600080fd5b80633905ab64146103335780633ccfd60b1461034657806342842e0e1461034e57806342966c681461036157806349281f731461037457600080fd5b806318160ddd1161021b57806318160ddd146102dd57806323b872dd146102f757806323c8d4d21461030a57806332cb6b0c146103175780633844d3d31461032057600080fd5b806301ffc9a71461025857806306fdde0314610280578063081812fc14610295578063095ea7b3146102c057806309e95aba146102d5575b600080fd5b61026b610266366004611c3b565b610563565b60405190151581526020015b60405180910390f35b6102886105b5565b6040516102779190611cb0565b6102a86102a3366004611cc3565b610647565b6040516001600160a01b039091168152602001610277565b6102d36102ce366004611cf8565b61068b565b005b6102d361072b565b60015460005403600019015b604051908152602001610277565b6102d3610305366004611d22565b610772565b600b5461026b9060ff1681565b6102e961012c81565b6102d361032e366004611d5e565b610915565b6102d3610341366004611d5e565b610b2e565b6102d3610be6565b6102d361035c366004611d22565b610c68565b6102d361036f366004611cc3565b610c88565b6102d3610382366004611cc3565b610c93565b600b5461026b9062010000900460ff1681565b6102d36103a8366004611cc3565b610d17565b6102d36103bb366004611e6f565b610d46565b6103d36103ce366004611eb7565b610d80565b6040516102779190611f98565b6102d36103ee366004611cc3565b610e4d565b6102a8610401366004611cc3565b610e7c565b6102e9610414366004611fda565b610e87565b6102d3610ed5565b61043461042f366004611fda565b610f0b565b6040516102779190611ff5565b6008546001600160a01b03166102a8565b610288611013565b61043461046836600461202d565b611022565b6102d361047b366004612060565b6111a9565b6102d361123e565b6102d361049636600461209c565b61127b565b6104ae6104a9366004611cc3565b6112c5565b6040516102779190612117565b6102d36104c9366004611cf8565b61134d565b6102886104dc366004611cc3565b6113de565b6102e960095481565b600b5461026b90610100900460ff1681565b6102d361050a366004611cc3565b6114b0565b6102d361051d366004611e6f565b6114df565b61026b610530366004612125565b611515565b6102d3610543366004611fda565b611543565b6102d36115db565b6102d361055e366004611e6f565b611622565b60006301ffc9a760e01b6001600160e01b03198316148061059457506380ac58cd60e01b6001600160e01b03198316145b806105af5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105c490612158565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090612158565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b5050505050905090565b600061065282611658565b61066f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061069682610e7c565b9050336001600160a01b038216146106cf576106b28133611515565b6106cf576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b0316331461075e5760405162461bcd60e51b815260040161075590612192565b60405180910390fd5b600b805460ff19811660ff90911615179055565b600061077d8261168d565b9050836001600160a01b0316816001600160a01b0316146107b05760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546107dc8187335b6001600160a01b039081169116811491141790565b610807576107ea8633611515565b61080757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082e57604051633a954ecd60e21b815260040160405180910390fd5b801561083957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108cb576001840160008181526004602052604081205490036108c95760005481146108c95760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600b5460ff1661095d5760405162461bcd60e51b81526020600482015260136024820152724f4720436c61696d204e6f742041637469766560681b6044820152606401610755565b8181600c546109d5838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015285925060340190505b604051602081830303815290604052805190602001206116fc565b610a215760405162461bcd60e51b815260206004820152601760248201527f4d65726b6c652050726f6f6620496e636f72726563742e0000000000000000006044820152606401610755565b600160095481610a346000546000190190565b610a3e91906121dd565b1115610a7f5760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320537570706c7960801b6044820152606401610755565b3360009081527fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881c602052604081208054600191908390610ac09084906121dd565b9250508190559050600a54811115610b1a5760405162461bcd60e51b815260206004820152601960248201527f596f75206861766520616c726561647920636c61696d65642e000000000000006044820152606401610755565b610b25336001611712565b50505050505050565b600b54610100900460ff16610b855760405162461bcd60e51b815260206004820152601860248201527f526567756c617220436c61696d204e6f742041637469766500000000000000006044820152606401610755565b8181600d546109d5838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015285925060340190506109ba565b6008546001600160a01b03163314610c105760405162461bcd60e51b815260040161075590612192565b604051600090339047908381818185875af1925050503d8060008114610c52576040519150601f19603f3d011682016040523d82523d6000602084013e610c57565b606091505b5050905080610c6557600080fd5b50565b610c838383836040518060200160405280600081525061127b565b505050565b610c658160016117f2565b6008546001600160a01b03163314610cbd5760405162461bcd60e51b815260040161075590612192565b600054600019018110158015610cd5575061012c8111155b610d125760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420537570706c7960901b6044820152606401610755565b600955565b6008546001600160a01b03163314610d415760405162461bcd60e51b815260040161075590612192565b600a55565b6008546001600160a01b03163314610d705760405162461bcd60e51b815260040161075590612192565b600f610d7c828261223b565b5050565b80516060906000816001600160401b03811115610d9f57610d9f611dd2565b604051908082528060200260200182016040528015610df157816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610dbd5790505b50905060005b828114610e4557610e20858281518110610e1357610e136122fa565b60200260200101516112c5565b828281518110610e3257610e326122fa565b6020908102919091010152600101610df7565b509392505050565b6008546001600160a01b03163314610e775760405162461bcd60e51b815260040161075590612192565b600d55565b60006105af8261168d565b60006001600160a01b038216610eb0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610eff5760405162461bcd60e51b815260040161075590612192565b610f09600061193c565b565b60606000806000610f1b85610e87565b90506000816001600160401b03811115610f3757610f37611dd2565b604051908082528060200260200182016040528015610f60578160200160208202803683370190505b509050610f8d60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461100757610fa08161198e565b91508160400151610fff5781516001600160a01b031615610fc057815194505b876001600160a01b0316856001600160a01b031603610fff5780838780600101985081518110610ff257610ff26122fa565b6020026020010181815250505b600101610f90565b50909695505050505050565b6060600380546105c490612158565b606081831061104457604051631960ccad60e11b815260040160405180910390fd5b60008061105060005490565b9050600185101561106057600194505b8084111561106c578093505b600061107787610e87565b9050848610156110965785850381811015611090578091505b5061109a565b5060005b6000816001600160401b038111156110b4576110b4611dd2565b6040519080825280602002602001820160405280156110dd578160200160208202803683370190505b509050816000036110f35793506111a292505050565b60006110fe886112c5565b90506000816040015161110f575080515b885b8881141580156111215750848714155b156111965761112f8161198e565b9250826040015161118e5782516001600160a01b03161561114f57825191505b8a6001600160a01b0316826001600160a01b03160361118e5780848880600101995081518110611181576111816122fa565b6020026020010181815250505b600101611111565b50505092835250909150505b9392505050565b336001600160a01b038316036111d25760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146112685760405162461bcd60e51b815260040161075590612192565b600b805462ff0000191662010000179055565b611286848484610772565b6001600160a01b0383163b156112bf576112a2848484846119ca565b6112bf576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061131e57506000548310155b156113295792915050565b6113328361198e565b90508060400151156113445792915050565b6111a283611ab6565b6008546001600160a01b031633146113775760405162461bcd60e51b815260040161075590612192565b80600954816113896000546000190190565b61139391906121dd565b11156113d45760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320537570706c7960801b6044820152606401610755565b610c838383611712565b60606113e982611658565b61140657604051630a14c4b560e41b815260040160405180910390fd5b600b5462010000900460ff16151560000361147a576010805461142890612158565b905060000361144657604051806020016040528060008152506105af565b601061145183611aeb565b601160405160200161146593929190612383565b60405160208183030381529060405292915050565b600f805461148790612158565b90506000036114a557604051806020016040528060008152506105af565b600f61145183611aeb565b6008546001600160a01b031633146114da5760405162461bcd60e51b815260040161075590612192565b600c55565b6008546001600160a01b031633146115095760405162461bcd60e51b815260040161075590612192565b6011610d7c828261223b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b0316331461156d5760405162461bcd60e51b815260040161075590612192565b6001600160a01b0381166115d25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610755565b610c658161193c565b6008546001600160a01b031633146116055760405162461bcd60e51b815260040161075590612192565b600b805461ff001981166101009182900460ff1615909102179055565b6008546001600160a01b0316331461164c5760405162461bcd60e51b815260040161075590612192565b6010610d7c828261223b565b60008160011115801561166c575060005482105b80156105af575050600090815260046020526040902054600160e01b161590565b600081806001116116e3576000548110156116e35760008181526004602052604081205490600160e01b821690036116e1575b806000036111a25750600019016000818152600460205260409020546116c0565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826117098584611b3a565b14949350505050565b6000546001600160a01b03831661173b57604051622e076360e81b815260040160405180910390fd5b8160000361175c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106117a65760005550505050565b60006117fd8361168d565b90508060008061181b86600090815260066020526040902080549091565b91509150841561185b576118308184336107c7565b61185b5761183e8333611515565b61185b57604051632ce44b5f60e11b815260040160405180910390fd5b801561186657600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036118f4576001860160008181526004602052604081205490036118f25760005481146118f25760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546105af90611bde565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119ff9033908990889088906004016123b6565b6020604051808303816000875af1925050508015611a3a575060408051601f3d908101601f19168201909252611a37918101906123f3565b60015b611a98573d808015611a68576040519150601f19603f3d011682016040523d82523d6000602084013e611a6d565b606091505b508051600003611a90576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526105af611ae68361168d565b611bde565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611b2857600183039250600a81066030018353600a9004611b0a565b50819003601f19909101908152919050565b600081815b8451811015610e45576000858281518110611b5c57611b5c6122fa565b60200260200101519050808311611b9e576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611bcb565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611bd681612410565b915050611b3f565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6001600160e01b031981168114610c6557600080fd5b600060208284031215611c4d57600080fd5b81356111a281611c25565b60005b83811015611c73578181015183820152602001611c5b565b838111156112bf5750506000910152565b60008151808452611c9c816020860160208601611c58565b601f01601f19169290920160200192915050565b6020815260006111a26020830184611c84565b600060208284031215611cd557600080fd5b5035919050565b80356001600160a01b0381168114611cf357600080fd5b919050565b60008060408385031215611d0b57600080fd5b611d1483611cdc565b946020939093013593505050565b600080600060608486031215611d3757600080fd5b611d4084611cdc565b9250611d4e60208501611cdc565b9150604084013590509250925092565b60008060208385031215611d7157600080fd5b82356001600160401b0380821115611d8857600080fd5b818501915085601f830112611d9c57600080fd5b813581811115611dab57600080fd5b8660208260051b8501011115611dc057600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611e1057611e10611dd2565b604052919050565b60006001600160401b03831115611e3157611e31611dd2565b611e44601f8401601f1916602001611de8565b9050828152838383011115611e5857600080fd5b828260208301376000602084830101529392505050565b600060208284031215611e8157600080fd5b81356001600160401b03811115611e9757600080fd5b8201601f81018413611ea857600080fd5b611aae84823560208401611e18565b60006020808385031215611eca57600080fd5b82356001600160401b0380821115611ee157600080fd5b818501915085601f830112611ef557600080fd5b813581811115611f0757611f07611dd2565b8060051b9150611f18848301611de8565b8181529183018401918481019088841115611f3257600080fd5b938501935b83851015611f5057843582529385019390850190611f37565b98975050505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561100757611fc7838551611f5c565b9284019260809290920191600101611fb4565b600060208284031215611fec57600080fd5b6111a282611cdc565b6020808252825182820181905260009190848201906040850190845b8181101561100757835183529284019291840191600101612011565b60008060006060848603121561204257600080fd5b61204b84611cdc565b95602085013595506040909401359392505050565b6000806040838503121561207357600080fd5b61207c83611cdc565b91506020830135801515811461209157600080fd5b809150509250929050565b600080600080608085870312156120b257600080fd5b6120bb85611cdc565b93506120c960208601611cdc565b92506040850135915060608501356001600160401b038111156120eb57600080fd5b8501601f810187136120fc57600080fd5b61210b87823560208401611e18565b91505092959194509250565b608081016105af8284611f5c565b6000806040838503121561213857600080fd5b61214183611cdc565b915061214f60208401611cdc565b90509250929050565b600181811c9082168061216c57607f821691505b60208210810361218c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156121f0576121f06121c7565b500190565b601f821115610c8357600081815260208120601f850160051c8101602086101561221c5750805b601f850160051c820191505b8181101561090d57828155600101612228565b81516001600160401b0381111561225457612254611dd2565b612268816122628454612158565b846121f5565b602080601f83116001811461229d57600084156122855750858301515b600019600386901b1c1916600185901b17855561090d565b600085815260208120601f198616915b828110156122cc578886015182559484019460019091019084016122ad565b50858210156122ea5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000815461231d81612158565b60018281168015612335576001811461234a57612379565b60ff1984168752821515830287019450612379565b8560005260208060002060005b858110156123705781548a820152908401908201612357565b50505082870194505b5050505092915050565b600061238f8286612310565b845161239f818360208901611c58565b6123ab81830186612310565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123e990830184611c84565b9695505050505050565b60006020828403121561240557600080fd5b81516111a281611c25565b600060018201612422576124226121c7565b506001019056fea2646970667358221220a658cd66489472503c200af74a9cb9d6c882d643468c58a6c867a005632fc62e64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000001157686f6f70736965732045412050617373000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000245410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55584d5145365773767471774e57556252674538334b563362314e365044764361553665645a6131546a62752f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d594c54573766344238415535447a335278534e37794d6f50434776535253616a586345756a693838367558662f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Whoopsies EA Pass
Arg [1] : _symbol (string): EA
Arg [2] : _initBaseURI (string): ipfs://QmUXMQE6WsvtqwNWUbRgE83KV3b1N6PDvCaU6edZa1Tjbu/
Arg [3] : _initUnrevealedUri (string): ipfs://QmYLTW7f4B8AU5Dz3RxSN7yMoPCGvSRSajXcEuji886uXf/
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [5] : 57686f6f70736965732045412050617373000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 4541000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d55584d5145365773767471774e57556252674538334b56
Arg [10] : 3362314e365044764361553665645a6131546a62752f00000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [12] : 697066733a2f2f516d594c54573766344238415535447a335278534e37794d6f
Arg [13] : 50434776535253616a586345756a693838367558662f00000000000000000000
Deployed Bytecode Sourcemap
2104:6915:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5821:615:3;;;;;;:::i;:::-;;:::i;:::-;;;565:14:11;;558:22;540:41;;528:2;513:18;5821:615:3;;;;;;;;11468:100;;;:::i;:::-;;;;;;;:::i;13414:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:11;;;1674:51;;1662:2;1647:18;13414:204:3;1528:203:11;12962:386:3;;;;;;:::i;:::-;;:::i;:::-;;3022:90:2;;;:::i;4875:315:3:-;8757:1:2;5141:12:3;4928:7;5125:13;:28;-1:-1:-1;;5125:46:3;4875:315;;;2319:25:11;;;2307:2;2292:18;4875:315:3;2173:177:11;22679:2800:3;;;;;;:::i;:::-;;:::i;2307:32:2:-;;;;;;;;;2173:40;;2210:3;2173:40;;4625:355;;;;;;:::i;:::-;;:::i;5101:358::-;;;;;;:::i;:::-;;:::i;8830:186::-;;;:::i;14304:185:3:-;;;;;;:::i;:::-;;:::i;533:94:4:-;;;;;;:::i;:::-;;:::i;6491:227:2:-;;;;;;:::i;:::-;;:::i;2386:28::-;;;;;;;;;;;;6254:88;;;;;;:::i;:::-;;:::i;6839:100::-;;;;;;:::i;:::-;;:::i;1705:468:5:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4396:118:2:-;;;;;;:::i;:::-;;:::i;11257:144:3:-;;;;;;:::i;:::-;;:::i;6500:224::-;;;;;;:::i;:::-;;:::i;1714:103:10:-;;;:::i;5517:892:5:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1063:87:10:-;1136:6;;-1:-1:-1;;;;;1136:6:10;1063:87;;11637:104:3;;;:::i;2563:2505:5:-;;;;;;:::i;:::-;;:::i;13690:308:3:-;;;;;;:::i;:::-;;:::i;3927:69:2:-;;;:::i;14560:399:3:-;;;;;;:::i;:::-;;:::i;1126:420:5:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;5941:183:2:-;;;;;;:::i;:::-;;:::i;7588:848::-;;;;;;:::i;:::-;;:::i;2220:42::-;;;;;;2346:33;;;;;;;;;;;;4133:114;;;;;;:::i;:::-;;:::i;8444:151::-;;;;;;:::i;:::-;;:::i;14069:164:3:-;;;;;;:::i;:::-;;:::i;1972:201:10:-;;;;;;:::i;:::-;;:::i;3296:93:2:-;;;:::i;7078:122::-;;;;;;:::i;:::-;;:::i;5821:615:3:-;5906:4;-1:-1:-1;;;;;;;;;6206:25:3;;;;:102;;-1:-1:-1;;;;;;;;;;6283:25:3;;;6206:102;:179;;;-1:-1:-1;;;;;;;;;;6360:25:3;;;6206:179;6186:199;5821:615;-1:-1:-1;;5821:615:3:o;11468:100::-;11522:13;11555:5;11548:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11468:100;:::o;13414:204::-;13482:7;13507:16;13515:7;13507;:16::i;:::-;13502:64;;13532:34;;-1:-1:-1;;;13532:34:3;;;;;;;;;;;13502:64;-1:-1:-1;13586:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;13586:24:3;;13414:204::o;12962:386::-;13035:13;13051:16;13059:7;13051;:16::i;:::-;13035:32;-1:-1:-1;33862:10:3;-1:-1:-1;;;;;13084:28:3;;;13080:175;;13132:44;13149:5;33862:10;14069:164;:::i;13132:44::-;13127:128;;13204:35;;-1:-1:-1;;;13204:35:3;;;;;;;;;;;13127:128;13267:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;13267:29:3;-1:-1:-1;;;;;13267:29:3;;;;;;;;;13312:28;;13267:24;;13312:28;;;;;;;13024:324;12962:386;;:::o;3022:90:2:-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;;;;;;;;;3092:12:2::1;::::0;;-1:-1:-1;;3076:28:2;::::1;3092:12;::::0;;::::1;3091:13;3076:28;::::0;;3022:90::o;22679:2800:3:-;22813:27;22843;22862:7;22843:18;:27::i;:::-;22813:57;;22928:4;-1:-1:-1;;;;;22887:45:3;22903:19;-1:-1:-1;;;;;22887:45:3;;22883:86;;22941:28;;-1:-1:-1;;;22941:28:3;;;;;;;;;;;22883:86;22983:27;21409:21;;;21236:15;21451:4;21444:36;21533:4;21517:21;;21623:26;;23167:62;21623:26;23203:4;33862:10;23209:19;-1:-1:-1;;;;;22228:31:3;;;22074:26;;22355:19;;22376:30;;22352:55;;21780:645;23167:62;23162:174;;23249:43;23266:4;33862:10;14069:164;:::i;23249:43::-;23244:92;;23301:35;;-1:-1:-1;;;23301:35:3;;;;;;;;;;;23244:92;-1:-1:-1;;;;;23353:16:3;;23349:52;;23378:23;;-1:-1:-1;;;23378:23:3;;;;;;;;;;;23349:52;23550:15;23547:160;;;23690:1;23669:19;23662:30;23547:160;-1:-1:-1;;;;;24085:24:3;;;;;;;:18;:24;;;;;;24083:26;;-1:-1:-1;;24083:26:3;;;24154:22;;;;;;;;;24152:24;;-1:-1:-1;24152:24:3;;;11156:11;11132:22;11128:40;11115:62;-1:-1:-1;;;11115:62:3;24447:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;24741:46:3;;:51;;24737:626;;24845:1;24835:11;;24813:19;24968:30;;;:17;:30;;;;;;:35;;24964:384;;25106:13;;25091:11;:28;25087:242;;25253:30;;;;:17;:30;;;;;:52;;;25087:242;24794:569;24737:626;25410:7;25406:2;-1:-1:-1;;;;;25391:27:3;25400:4;-1:-1:-1;;;;;25391:27:3;;;;;;;;;;;25429:42;22802:2677;;;22679:2800;;;:::o;4625:355:2:-;3165:12;;;;3157:44;;;;-1:-1:-1;;;3157:44:2;;10472:2:11;3157:44:2;;;10454:21:11;10511:2;10491:18;;;10484:30;-1:-1:-1;;;10530:18:11;;;10523:49;10589:18;;3157:44:2;10270:343:11;3157:44:2;4743:11:::1;;4756:12;;5575:144;5612:11;;5575:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;5675:28:2::1;::::0;-1:-1:-1;;5692:10:2::1;10767:2:11::0;10763:15;10759:53;5675:28:2::1;::::0;::::1;10747:66:11::0;5642:4:2;;-1:-1:-1;10829:12:11;;;-1:-1:-1;5675:28:2::1;;;;;;;;;;;;;5665:39;;;;;;5575:18;:144::i;:::-;5553:217;;;::::0;-1:-1:-1;;;5553:217:2;;11054:2:11;5553:217:2::1;::::0;::::1;11036:21:11::0;11093:2;11073:18;;;11066:30;11132:25;11112:18;;;11105:53;11175:18;;5553:217:2::1;10852:347:11::0;5553:217:2::1;4800:1:::2;3780:14;;3768:8;3751:14;5335:7:3::0;5523:13;-1:-1:-1;;5523:31:3;;5288:285;3751:14:2::2;:25;;;;:::i;:::-;:43;;3729:109;;;::::0;-1:-1:-1;;;3729:109:2;;11671:2:11;3729:109:2::2;::::0;::::2;11653:21:11::0;11710:2;11690:18;;;11683:30;-1:-1:-1;;;11729:18:11;;;11722:46;11785:18;;3729:109:2::2;11469:340:11::0;3729:109:2::2;4853:10:::3;4819:17;4840:24:::0;;;:12;::::3;:24:::0;:12;:24;;:29;;4868:1:::3;::::0;4840:24;4819:17;;4840:29:::3;::::0;4868:1;;4840:29:::3;:::i;:::-;;;;;;;4819:51;;4903:7;;4890:9;:20;;4881:60;;;::::0;-1:-1:-1;;;4881:60:2;;12016:2:11;4881:60:2::3;::::0;::::3;11998:21:11::0;12055:2;12035:18;;;12028:30;12094:27;12074:18;;;12067:55;12139:18;;4881:60:2::3;11814:349:11::0;4881:60:2::3;4952:20;4958:10;4970:1;4952:5;:20::i;:::-;4808:172;5781:1:::2;3212::::1;;;4625:355:::0;;:::o;5101:358::-;3443:13;;;;;;;3435:50;;;;-1:-1:-1;;;3435:50:2;;12370:2:11;3435:50:2;;;12352:21:11;12409:2;12389:18;;;12382:30;12448:26;12428:18;;;12421:54;12492:18;;3435:50:2;12168:348:11;3435:50:2;5221:11:::1;;5234:13;;5575:144;5612:11;;5575:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;5675:28:2::1;::::0;-1:-1:-1;;5692:10:2::1;10767:2:11::0;10763:15;10759:53;5675:28:2::1;::::0;::::1;10747:66:11::0;5642:4:2;;-1:-1:-1;10829:12:11;;;-1:-1:-1;5675:28:2::1;10618:229:11::0;8830:186:2;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;8899:82:2::1;::::0;8881:12:::1;::::0;8907:10:::1;::::0;8945:21:::1;::::0;8881:12;8899:82;8881:12;8899:82;8945:21;8907:10;8899:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8880:101;;;9000:7;8992:16;;;::::0;::::1;;8869:147;8830:186::o:0;14304:185:3:-;14442:39;14459:4;14465:2;14469:7;14442:39;;;;;;;;;;;;:16;:39::i;:::-;14304:185;;;:::o;533:94:4:-;599:20;605:7;614:4;599:5;:20::i;6491:227:2:-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;5335:7:3;5523:13;-1:-1:-1;;5523:31:3;6586:6:2::1;:24;;:48;;;;;2210:3;6614:6;:20;;6586:48;6564:112;;;::::0;-1:-1:-1;;;6564:112:2;;12933:2:11;6564:112:2::1;::::0;::::1;12915:21:11::0;12972:2;12952:18;;;12945:30;-1:-1:-1;;;12991:18:11;;;12984:44;13045:18;;6564:112:2::1;12731:338:11::0;6564:112:2::1;6687:14;:23:::0;6491:227::o;6254:88::-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;6319:7:2::1;:15:::0;6254:88::o;6839:100::-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;6913:7:2::1;:18;6923:8:::0;6913:7;:18:::1;:::i;:::-;;6839:100:::0;:::o;1705:468:5:-;1880:15;;1794:23;;1855:22;1880:15;-1:-1:-1;;;;;1947:36:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1947:36:5;;-1:-1:-1;;1947:36:5;;;;;;;;;;;;1910:73;;2003:9;1998:125;2019:14;2014:1;:19;1998:125;;2075:32;2095:8;2104:1;2095:11;;;;;;;;:::i;:::-;;;;;;;2075:19;:32::i;:::-;2059:10;2070:1;2059:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2035:3;;1998:125;;;-1:-1:-1;2144:10:5;1705:468;-1:-1:-1;;;1705:468:5:o;4396:118:2:-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;4476:13:2::1;:30:::0;4396:118::o;11257:144:3:-;11321:7;11364:27;11383:7;11364:18;:27::i;6500:224::-;6564:7;-1:-1:-1;;;;;6588:19:3;;6584:60;;6616:28;;-1:-1:-1;;;6616:28:3;;;;;;;;;;;6584:60;-1:-1:-1;;;;;;6662:25:3;;;;;:18;:25;;;;;;-1:-1:-1;;;;;6662:54:3;;6500:224::o;1714:103:10:-;1136:6;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;1779:30:::1;1806:1;1779:18;:30::i;:::-;1714:103::o:0;5517:892:5:-;5587:16;5641:19;5675:25;5715:22;5740:16;5750:5;5740:9;:16::i;:::-;5715:41;;5771:25;5813:14;-1:-1:-1;;;;;5799:29:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5799:29:5;;5771:57;;5843:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5843:31:5;8757:1:2;5889:472:5;5938:14;5923:11;:29;5889:472;;5990:15;6003:1;5990:12;:15::i;:::-;5978:27;;6028:9;:16;;;6069:8;6024:73;6119:14;;-1:-1:-1;;;;;6119:28:5;;6115:111;;6192:14;;;-1:-1:-1;6115:111:5;6269:5;-1:-1:-1;;;;;6248:26:5;:17;-1:-1:-1;;;;;6248:26:5;;6244:102;;6325:1;6299:8;6308:13;;;;;;6299:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6244:102;5954:3;;5889:472;;;-1:-1:-1;6382:8:5;;5517:892;-1:-1:-1;;;;;;5517:892:5:o;11637:104:3:-;11693:13;11726:7;11719:14;;;;;:::i;2563:2505:5:-;2698:16;2765:4;2756:5;:13;2752:45;;2778:19;;-1:-1:-1;;;2778:19:5;;;;;;;;;;;2752:45;2812:19;2846:17;2866:14;4617:7:3;4644:13;;4570:95;2866:14:5;2846:34;-1:-1:-1;8757:1:2;2958:5:5;:23;2954:87;;;8757:1:2;3002:23:5;;2954:87;3117:9;3110:4;:16;3106:73;;;3154:9;3147:16;;3106:73;3193:25;3221:16;3231:5;3221:9;:16::i;:::-;3193:44;;3415:4;3407:5;:12;3403:278;;;3462:12;;;3497:31;;;3493:111;;;3573:11;3553:31;;3493:111;3421:198;3403:278;;;-1:-1:-1;3664:1:5;3403:278;3695:25;3737:17;-1:-1:-1;;;;;3723:32:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3723:32:5;;3695:60;;3774:17;3795:1;3774:22;3770:78;;3824:8;-1:-1:-1;3817:15:5;;-1:-1:-1;;;3817:15:5;3770:78;3992:31;4026:26;4046:5;4026:19;:26::i;:::-;3992:60;;4067:25;4312:9;:16;;;4307:92;;-1:-1:-1;4369:14:5;;4307:92;4430:5;4413:478;4442:4;4437:1;:9;;:45;;;;;4465:17;4450:11;:32;;4437:45;4413:478;;;4520:15;4533:1;4520:12;:15::i;:::-;4508:27;;4558:9;:16;;;4599:8;4554:73;4649:14;;-1:-1:-1;;;;;4649:28:5;;4645:111;;4722:14;;;-1:-1:-1;4645:111:5;4799:5;-1:-1:-1;;;;;4778:26:5;:17;-1:-1:-1;;;;;4778:26:5;;4774:102;;4855:1;4829:8;4838:13;;;;;;4829:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4774:102;4484:3;;4413:478;;;-1:-1:-1;;;4976:29:5;;;-1:-1:-1;4983:8:5;;-1:-1:-1;;2563:2505:5;;;;;;:::o;13690:308:3:-;33862:10;-1:-1:-1;;;;;13789:31:3;;;13785:61;;13829:17;;-1:-1:-1;;;13829:17:3;;;;;;;;;;;13785:61;33862:10;13859:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;13859:49:3;;;;;;;;;;;;:60;;-1:-1:-1;;13859:60:3;;;;;;;;;;13935:55;;540:41:11;;;13859:49:3;;33862:10;13935:55;;513:18:11;13935:55:3;;;;;;;13690:308;;:::o;3927:69:2:-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;3973:8:2::1;:15:::0;;-1:-1:-1;;3973:15:2::1;::::0;::::1;::::0;;3927:69::o;14560:399:3:-;14727:31;14740:4;14746:2;14750:7;14727:12;:31::i;:::-;-1:-1:-1;;;;;14773:14:3;;;:19;14769:183;;14812:56;14843:4;14849:2;14853:7;14862:5;14812:30;:56::i;:::-;14807:145;;14896:40;;-1:-1:-1;;;14896:40:3;;;;;;;;;;;14807:145;14560:399;;;;:::o;1126:420:5:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8757:1:2;1282:7:5;:25;:54;;;-1:-1:-1;4617:7:3;4644:13;1311:7:5;:25;;1282:54;1278:103;;;1360:9;1126:420;-1:-1:-1;;1126:420:5:o;1278:103::-;1403:21;1416:7;1403:12;:21::i;:::-;1391:33;;1439:9;:16;;;1435:65;;;1479:9;1126:420;-1:-1:-1;;1126:420:5:o;1435:65::-;1517:21;1530:7;1517:12;:21::i;5941:183:2:-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;6064:8:2::1;3780:14;;3768:8;3751:14;5335:7:3::0;5523:13;-1:-1:-1;;5523:31:3;;5288:285;3751:14:2::1;:25;;;;:::i;:::-;:43;;3729:109;;;::::0;-1:-1:-1;;;3729:109:2;;11671:2:11;3729:109:2::1;::::0;::::1;11653:21:11::0;11710:2;11690:18;;;11683:30;-1:-1:-1;;;11729:18:11;;;11722:46;11785:18;;3729:109:2::1;11469:340:11::0;3729:109:2::1;6090:26:::2;6096:9;6107:8;6090:5;:26::i;7588:848::-:0;7725:13;7761:16;7769:7;7761;:16::i;:::-;7756:59;;7786:29;;-1:-1:-1;;;7786:29:2;;;;;;;;;;;7756:59;7832:8;;;;;;;:17;;7844:5;7832:17;7828:392;;7896:13;7890:27;;;;;:::i;:::-;;;7921:1;7890:32;:318;;;;;;;;;;;;;;;;;8026:13;8070:18;8080:7;8070:9;:18::i;:::-;8119:13;7979:180;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;7866:342;7588:848;-1:-1:-1;;7588:848:2:o;7828:392::-;8258:7;8252:21;;;;;:::i;:::-;;;8277:1;8252:26;:176;;;;;;;;;;;;;;;;;8344:7;8353:18;8363:7;8353:9;:18::i;4133:114::-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;4211:12:2::1;:28:::0;4133:114::o;8444:151::-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;8554:13:2::1;:33;8570:17:::0;8554:13;:33:::1;:::i;14069:164:3:-:0;-1:-1:-1;;;;;14190:25:3;;;14166:4;14190:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;14069:164::o;1972:201:10:-;1136:6;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;-1:-1:-1;;;;;2061:22:10;::::1;2053:73;;;::::0;-1:-1:-1;;;2053:73:10;;16800:2:11;2053:73:10::1;::::0;::::1;16782:21:11::0;16839:2;16819:18;;;16812:30;16878:34;16858:18;;;16851:62;-1:-1:-1;;;16929:18:11;;;16922:36;16975:19;;2053:73:10::1;16598:402:11::0;2053:73:10::1;2137:28;2156:8;2137:18;:28::i;3296:93:2:-:0;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;3368:13:2::1;::::0;;-1:-1:-1;;3351:30:2;::::1;3368:13;::::0;;;::::1;;;3367:14;3351:30:::0;;::::1;;::::0;;3296:93::o;7078:122::-;1136:6:10;;-1:-1:-1;;;;;1136:6:10;33862:10:3;1283:23:10;1275:68;;;;-1:-1:-1;;;1275:68:10;;;;;;;:::i;:::-;7162:13:2::1;:30;7178:14:::0;7162:13;:30:::1;:::i;15214:273:3:-:0;15271:4;15327:7;8757:1:2;15308:26:3;;:66;;;;;15361:13;;15351:7;:23;15308:66;:152;;;;-1:-1:-1;;15412:26:3;;;;:17;:26;;;;;;-1:-1:-1;;;15412:43:3;:48;;15214:273::o;8174:1129::-;8241:7;8276;;8757:1:2;8325:23:3;8321:915;;8378:13;;8371:4;:20;8367:869;;;8416:14;8433:23;;;:17;:23;;;;;;;-1:-1:-1;;;8522:23:3;;:28;;8518:699;;9041:113;9048:6;9058:1;9048:11;9041:113;;-1:-1:-1;;;9119:6:3;9101:25;;;;:17;:25;;;;;;9041:113;;8518:699;8393:843;8367:869;9264:31;;-1:-1:-1;;;9264:31:3;;;;;;;;;;;868:190:9;993:4;1046;1017:25;1030:5;1037:4;1017:12;:25::i;:::-;:33;;868:190;-1:-1:-1;;;;868:190:9:o;17045:1529:3:-;17110:20;17133:13;-1:-1:-1;;;;;17161:16:3;;17157:48;;17186:19;;-1:-1:-1;;;17186:19:3;;;;;;;;;;;17157:48;17220:8;17232:1;17220:13;17216:44;;17242:18;;-1:-1:-1;;;17242:18:3;;;;;;;;;;;17216:44;-1:-1:-1;;;;;17748:22:3;;;;;;:18;:22;;1192:2;17748:22;;:70;;17786:31;17774:44;;17748:70;;;11156:11;11132:22;11128:40;-1:-1:-1;12866:15:3;;12841:23;12837:45;11125:51;11115:62;18061:31;;;;:17;:31;;;;;:173;18079:12;18310:23;;;18348:101;18375:35;;18400:9;;;;;-1:-1:-1;;;;;18375:35:3;;;18392:1;;18375:35;;18392:1;;18375:35;18444:3;18434:7;:13;18348:101;;18465:13;:19;-1:-1:-1;14304:185:3;;;:::o;25875:3063::-;25955:27;25985;26004:7;25985:18;:27::i;:::-;25955:57;-1:-1:-1;25955:57:3;26025:12;;26147:28;26167:7;21110:27;21409:21;;;21236:15;21451:4;21444:36;21533:4;21517:21;;21623:26;;21517:21;;21015:652;26147:28;26090:85;;;;26192:13;26188:310;;;26313:62;26332:15;26349:4;33862:10;26355:19;33775:105;26313:62;26308:178;;26399:43;26416:4;33862:10;14069:164;:::i;26399:43::-;26394:92;;26451:35;;-1:-1:-1;;;26451:35:3;;;;;;;;;;;26394:92;26654:15;26651:160;;;26794:1;26773:19;26766:30;26651:160;-1:-1:-1;;;;;27412:24:3;;;;;;:18;:24;;;;;:59;;27440:31;27412:59;;;11156:11;11132:22;11128:40;11115:62;-1:-1:-1;;;11115:62:3;27709:26;;;;:17;:26;;;;;:203;;;;-1:-1:-1;;;28032:46:3;;:51;;28028:626;;28136:1;28126:11;;28104:19;28259:30;;;:17;:30;;;;;;:35;;28255:384;;28397:13;;28382:11;:28;28378:242;;28544:30;;;;:17;:30;;;;;:52;;;28378:242;28085:569;28028:626;28682:35;;28709:7;;28705:1;;-1:-1:-1;;;;;28682:35:3;;;;;28705:1;;28682:35;-1:-1:-1;;28905:12:3;:14;;;;;;-1:-1:-1;;;;25875:3063:3:o;2333:191:10:-;2426:6;;;-1:-1:-1;;;;;2443:17:10;;;-1:-1:-1;;;;;;2443:17:10;;;;;;;2476:40;;2426:6;;;2443:17;2426:6;;2476:40;;2407:16;;2476:40;2396:128;2333:191;:::o;9851:153:3:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9971:24:3;;;;:17;:24;;;;;;9952:44;;:18;:44::i;29430:716::-;29614:88;;-1:-1:-1;;;29614:88:3;;29593:4;;-1:-1:-1;;;;;29614:45:3;;;;;:88;;33862:10;;29681:4;;29687:7;;29696:5;;29614:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29614:88:3;;;;;;;;-1:-1:-1;;29614:88:3;;;;;;;;;;;;:::i;:::-;;;29610:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29897:6;:13;29914:1;29897:18;29893:235;;29943:40;;-1:-1:-1;;;29943:40:3;;;;;;;;;;;29893:235;30086:6;30080:13;30071:6;30067:2;30063:15;30056:38;29610:529;-1:-1:-1;;;;;;29773:64:3;-1:-1:-1;;;29773:64:3;;-1:-1:-1;29610:529:3;29430:716;;;;;;:::o;10507:158::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10610:47:3;10629:27;10648:7;10629:18;:27::i;:::-;10610:18;:47::i;33986:1960::-;34455:4;34449:11;;34462:3;34445:21;;34540:17;;;;35236:11;;;35115:5;35368:2;35382;35372:13;;35364:22;35236:11;35351:36;35423:2;35413:13;;35007:697;35442:4;35007:697;;;35633:1;35628:3;35624:11;35617:18;;35684:2;35678:4;35674:13;35670:2;35666:22;35661:3;35653:36;35537:2;35527:13;;35007:697;;;-1:-1:-1;35734:13:3;;;-1:-1:-1;;35849:12:3;;;35909:19;;;35849:12;33986:1960;-1:-1:-1;33986:1960:3:o;1420:701:9:-;1503:7;1546:4;1503:7;1561:523;1585:5;:12;1581:1;:16;1561:523;;;1619:20;1642:5;1648:1;1642:8;;;;;;;;:::i;:::-;;;;;;;1619:31;;1685:12;1669;:28;1665:408;;1822:44;;;;;;17910:19:11;;;17945:12;;;17938:28;;;17982:12;;1822:44:9;;;;;;;;;;;;1812:55;;;;;;1797:70;;1665:408;;;2012:44;;;;;;17910:19:11;;;17945:12;;;17938:28;;;17982:12;;2012:44:9;;;;;;;;;;;;2002:55;;;;;;1987:70;;1665:408;-1:-1:-1;1599:3:9;;;;:::i;:::-;;;;1561:523;;9397:363:3;-1:-1:-1;;;;;;;;;;;;;9507:41:3;;;;1709:3;9593:32;;;-1:-1:-1;;;;;9559:67:3;-1:-1:-1;;;9559:67:3;-1:-1:-1;;;9656:23:3;;:28;;-1:-1:-1;;;9637:47:3;;;;2226:3;9724:27;;;;-1:-1:-1;;;9695:57:3;-1:-1:-1;9397:363:3:o;14:131:11:-;-1:-1:-1;;;;;;88:32:11;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:11;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:11;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:11:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:11;;1343:180;-1:-1:-1;1343:180:11:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:11;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;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:11:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:615::-;2774:6;2782;2835:2;2823:9;2814:7;2810:23;2806:32;2803:52;;;2851:1;2848;2841:12;2803:52;2891:9;2878:23;-1:-1:-1;;;;;2961:2:11;2953:6;2950:14;2947:34;;;2977:1;2974;2967:12;2947:34;3015:6;3004:9;3000:22;2990:32;;3060:7;3053:4;3049:2;3045:13;3041:27;3031:55;;3082:1;3079;3072:12;3031:55;3122:2;3109:16;3148:2;3140:6;3137:14;3134:34;;;3164:1;3161;3154:12;3134:34;3217:7;3212:2;3202:6;3199:1;3195:14;3191:2;3187:23;3183:32;3180:45;3177:65;;;3238:1;3235;3228:12;3177:65;3269:2;3261:11;;;;;3291:6;;-1:-1:-1;2688:615:11;;-1:-1:-1;;;;2688:615:11:o;3308:127::-;3369:10;3364:3;3360:20;3357:1;3350:31;3400:4;3397:1;3390:15;3424:4;3421:1;3414:15;3440:275;3511:2;3505:9;3576:2;3557:13;;-1:-1:-1;;3553:27:11;3541:40;;-1:-1:-1;;;;;3596:34:11;;3632:22;;;3593:62;3590:88;;;3658:18;;:::i;:::-;3694:2;3687:22;3440:275;;-1:-1:-1;3440:275:11:o;3720:407::-;3785:5;-1:-1:-1;;;;;3811:6:11;3808:30;3805:56;;;3841:18;;:::i;:::-;3879:57;3924:2;3903:15;;-1:-1:-1;;3899:29:11;3930:4;3895:40;3879:57;:::i;:::-;3870:66;;3959:6;3952:5;3945:21;3999:3;3990:6;3985:3;3981:16;3978:25;3975:45;;;4016:1;4013;4006:12;3975:45;4065:6;4060:3;4053:4;4046:5;4042:16;4029:43;4119:1;4112:4;4103:6;4096:5;4092:18;4088:29;4081:40;3720:407;;;;;:::o;4132:451::-;4201:6;4254:2;4242:9;4233:7;4229:23;4225:32;4222:52;;;4270:1;4267;4260:12;4222:52;4310:9;4297:23;-1:-1:-1;;;;;4335:6:11;4332:30;4329:50;;;4375:1;4372;4365:12;4329:50;4398:22;;4451:4;4443:13;;4439:27;-1:-1:-1;4429:55:11;;4480:1;4477;4470:12;4429:55;4503:74;4569:7;4564:2;4551:16;4546:2;4542;4538:11;4503:74;:::i;4588:946::-;4672:6;4703:2;4746;4734:9;4725:7;4721:23;4717:32;4714:52;;;4762:1;4759;4752:12;4714:52;4802:9;4789:23;-1:-1:-1;;;;;4872:2:11;4864:6;4861:14;4858:34;;;4888:1;4885;4878:12;4858:34;4926:6;4915:9;4911:22;4901:32;;4971:7;4964:4;4960:2;4956:13;4952:27;4942:55;;4993:1;4990;4983:12;4942:55;5029:2;5016:16;5051:2;5047;5044:10;5041:36;;;5057:18;;:::i;:::-;5103:2;5100:1;5096:10;5086:20;;5126:28;5150:2;5146;5142:11;5126:28;:::i;:::-;5188:15;;;5258:11;;;5254:20;;;5219:12;;;;5286:19;;;5283:39;;;5318:1;5315;5308:12;5283:39;5342:11;;;;5362:142;5378:6;5373:3;5370:15;5362:142;;;5444:17;;5432:30;;5395:12;;;;5482;;;;5362:142;;;5523:5;4588:946;-1:-1:-1;;;;;;;;4588:946:11:o;5539:349::-;5623:12;;-1:-1:-1;;;;;5619:38:11;5607:51;;5711:4;5700:16;;;5694:23;-1:-1:-1;;;;;5690:48:11;5674:14;;;5667:72;5802:4;5791:16;;;5785:23;5778:31;5771:39;5755:14;;;5748:63;5864:4;5853:16;;;5847:23;5872:8;5843:38;5827:14;;5820:62;5539:349::o;5893:724::-;6128:2;6180:21;;;6250:13;;6153:18;;;6272:22;;;6099:4;;6128:2;6351:15;;;;6325:2;6310:18;;;6099:4;6394:197;6408:6;6405:1;6402:13;6394:197;;;6457:52;6505:3;6496:6;6490:13;6457:52;:::i;:::-;6566:15;;;;6538:4;6529:14;;;;;6430:1;6423:9;6394:197;;6807:186;6866:6;6919:2;6907:9;6898:7;6894:23;6890:32;6887:52;;;6935:1;6932;6925:12;6887:52;6958:29;6977:9;6958:29;:::i;6998:632::-;7169:2;7221:21;;;7291:13;;7194:18;;;7313:22;;;7140:4;;7169:2;7392:15;;;;7366:2;7351:18;;;7140:4;7435:169;7449:6;7446:1;7443:13;7435:169;;;7510:13;;7498:26;;7579:15;;;;7544:12;;;;7471:1;7464:9;7435:169;;7635:322;7712:6;7720;7728;7781:2;7769:9;7760:7;7756:23;7752:32;7749:52;;;7797:1;7794;7787:12;7749:52;7820:29;7839:9;7820:29;:::i;:::-;7810:39;7896:2;7881:18;;7868:32;;-1:-1:-1;7947:2:11;7932:18;;;7919:32;;7635:322;-1:-1:-1;;;7635:322:11:o;7962:347::-;8027:6;8035;8088:2;8076:9;8067:7;8063:23;8059:32;8056:52;;;8104:1;8101;8094:12;8056:52;8127:29;8146:9;8127:29;:::i;:::-;8117:39;;8206:2;8195:9;8191:18;8178:32;8253:5;8246:13;8239:21;8232:5;8229:32;8219:60;;8275:1;8272;8265:12;8219:60;8298:5;8288:15;;;7962:347;;;;;:::o;8314:667::-;8409:6;8417;8425;8433;8486:3;8474:9;8465:7;8461:23;8457:33;8454:53;;;8503:1;8500;8493:12;8454:53;8526:29;8545:9;8526:29;:::i;:::-;8516:39;;8574:38;8608:2;8597:9;8593:18;8574:38;:::i;:::-;8564:48;;8659:2;8648:9;8644:18;8631:32;8621:42;;8714:2;8703:9;8699:18;8686:32;-1:-1:-1;;;;;8733:6:11;8730:30;8727:50;;;8773:1;8770;8763:12;8727:50;8796:22;;8849:4;8841:13;;8837:27;-1:-1:-1;8827:55:11;;8878:1;8875;8868:12;8827:55;8901:74;8967:7;8962:2;8949:16;8944:2;8940;8936:11;8901:74;:::i;:::-;8891:84;;;8314:667;;;;;;;:::o;8986:268::-;9184:3;9169:19;;9197:51;9173:9;9230:6;9197:51;:::i;9259:260::-;9327:6;9335;9388:2;9376:9;9367:7;9363:23;9359:32;9356:52;;;9404:1;9401;9394:12;9356:52;9427:29;9446:9;9427:29;:::i;:::-;9417:39;;9475:38;9509:2;9498:9;9494:18;9475:38;:::i;:::-;9465:48;;9259:260;;;;;:::o;9524:380::-;9603:1;9599:12;;;;9646;;;9667:61;;9721:4;9713:6;9709:17;9699:27;;9667:61;9774:2;9766:6;9763:14;9743:18;9740:38;9737:161;;9820:10;9815:3;9811:20;9808:1;9801:31;9855:4;9852:1;9845:15;9883:4;9880:1;9873:15;9737:161;;9524:380;;;:::o;9909:356::-;10111:2;10093:21;;;10130:18;;;10123:30;10189:34;10184:2;10169:18;;10162:62;10256:2;10241:18;;9909:356::o;11204:127::-;11265:10;11260:3;11256:20;11253:1;11246:31;11296:4;11293:1;11286:15;11320:4;11317:1;11310:15;11336:128;11376:3;11407:1;11403:6;11400:1;11397:13;11394:39;;;11413:18;;:::i;:::-;-1:-1:-1;11449:9:11;;11336:128::o;13200:545::-;13302:2;13297:3;13294:11;13291:448;;;13338:1;13363:5;13359:2;13352:17;13408:4;13404:2;13394:19;13478:2;13466:10;13462:19;13459:1;13455:27;13449:4;13445:38;13514:4;13502:10;13499:20;13496:47;;;-1:-1:-1;13537:4:11;13496:47;13592:2;13587:3;13583:12;13580:1;13576:20;13570:4;13566:31;13556:41;;13647:82;13665:2;13658:5;13655:13;13647:82;;;13710:17;;;13691:1;13680:13;13647:82;;13921:1352;14047:3;14041:10;-1:-1:-1;;;;;14066:6:11;14063:30;14060:56;;;14096:18;;:::i;:::-;14125:97;14215:6;14175:38;14207:4;14201:11;14175:38;:::i;:::-;14169:4;14125:97;:::i;:::-;14277:4;;14341:2;14330:14;;14358:1;14353:663;;;;15060:1;15077:6;15074:89;;;-1:-1:-1;15129:19:11;;;15123:26;15074:89;-1:-1:-1;;13878:1:11;13874:11;;;13870:24;13866:29;13856:40;13902:1;13898:11;;;13853:57;15176:81;;14323:944;;14353:663;13147:1;13140:14;;;13184:4;13171:18;;-1:-1:-1;;14389:20:11;;;14507:236;14521:7;14518:1;14515:14;14507:236;;;14610:19;;;14604:26;14589:42;;14702:27;;;;14670:1;14658:14;;;;14537:19;;14507:236;;;14511:3;14771:6;14762:7;14759:19;14756:201;;;14832:19;;;14826:26;-1:-1:-1;;14915:1:11;14911:14;;;14927:3;14907:24;14903:37;14899:42;14884:58;14869:74;;14756:201;-1:-1:-1;;;;;15003:1:11;14987:14;;;14983:22;14970:36;;-1:-1:-1;13921:1352:11:o;15278:127::-;15339:10;15334:3;15330:20;15327:1;15320:31;15370:4;15367:1;15360:15;15394:4;15391:1;15384:15;15410:722;15460:3;15501:5;15495:12;15530:36;15556:9;15530:36;:::i;:::-;15585:1;15602:18;;;15629:133;;;;15776:1;15771:355;;;;15595:531;;15629:133;-1:-1:-1;;15662:24:11;;15650:37;;15735:14;;15728:22;15716:35;;15707:45;;;-1:-1:-1;15629:133:11;;15771:355;15802:5;15799:1;15792:16;15831:4;15876:2;15873:1;15863:16;15901:1;15915:165;15929:6;15926:1;15923:13;15915:165;;;16007:14;;15994:11;;;15987:35;16050:16;;;;15944:10;;15915:165;;;15919:3;;;16109:6;16104:3;16100:16;16093:23;;15595:531;;;;;15410:722;;;;:::o;16137:456::-;16358:3;16386:38;16420:3;16412:6;16386:38;:::i;:::-;16453:6;16447:13;16469:52;16514:6;16510:2;16503:4;16495:6;16491:17;16469:52;:::i;:::-;16537:50;16579:6;16575:2;16571:15;16563:6;16537:50;:::i;:::-;16530:57;16137:456;-1:-1:-1;;;;;;;16137:456:11:o;17005:489::-;-1:-1:-1;;;;;17274:15:11;;;17256:34;;17326:15;;17321:2;17306:18;;17299:43;17373:2;17358:18;;17351:34;;;17421:3;17416:2;17401:18;;17394:31;;;17199:4;;17442:46;;17468:19;;17460:6;17442:46;:::i;:::-;17434:54;17005:489;-1:-1:-1;;;;;;17005:489:11:o;17499:249::-;17568:6;17621:2;17609:9;17600:7;17596:23;17592:32;17589:52;;;17637:1;17634;17627:12;17589:52;17669:9;17663:16;17688:30;17712:5;17688:30;:::i;18005:135::-;18044:3;18065:17;;;18062:43;;18085:18;;:::i;:::-;-1:-1:-1;18132:1:11;18121:13;;18005:135::o
Swarm Source
ipfs://a658cd66489472503c200af74a9cb9d6c882d643468c58a6c867a005632fc62e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.