ERC-721
Overview
Max Total Supply
4,444 PXYDXY
Holders
468
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 PXYDXYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PixyDixy
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-07-07 */ // SPDX-License-Identifier: MIT // File: operator-filter-registry/src/lib/Constants.sol pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: pixydixy final.sol pragma solidity >=0.7.0 <0.9.0; contract PixyDixy is ERC721A, Ownable, ReentrancyGuard, DefaultOperatorFilterer { string public baseURI = "ipfs://bafybeiaz46q32tes5htanf4cqzy6xj5e4wgv53jshoreir2fxaok7o2g7m/"; uint256 public cost = 0.0044 ether; uint256 public maxSupply = 4444; uint256 public MaxperWallet = 10; bool public paused = true; mapping(address => bool) public FreeClaimed; constructor() ERC721A("PixyDixy", "PXYDXY") {} function mintyourPixy(uint256 tokens) public payable nonReentrant { if(paused) revert("Sale Paused"); if(tokens > MaxperWallet) revert("You can mint 10 in a transaction"); if(totalSupply() + tokens > maxSupply) revert("Sold out"); if(numberMinted(_msgSenderERC721A()) + tokens > MaxperWallet) revert("Wallet limit reached"); if (!FreeClaimed[_msgSenderERC721A()]) { uint256 pricetopay = tokens - 1; require(msg.value >= cost * pricetopay, "Incorrcet ETH amount"); FreeClaimed[_msgSenderERC721A()] = true; } else { require(msg.value >= cost * tokens, "Incorrcet ETH amount"); } _safeMint(_msgSenderERC721A(), tokens); } function ownermint(uint256 _mintAmount, address[] calldata destination) public onlyOwner nonReentrant { require( totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded" ); for (uint256 i = 0; i < destination.length; i++) { _safeMint(destination[i], _mintAmount); } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721AMetadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, _toString(tokenId), ".json" ) ) : ""; } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function tokensOfOwner(address owner) public view 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; } } function setMaxPerWallet(uint256 _limit) public onlyOwner { MaxperWallet = _limit; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setMaxsupply(uint256 _newsupply) public onlyOwner { maxSupply = _newsupply; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function pause(bool _state) public onlyOwner { paused = _state; } function withdraw() public payable onlyOwner nonReentrant { uint256 balance = address(this).balance; payable(_msgSenderERC721A()).transfer(balance); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function transferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"FreeClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mintyourPixy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address[]","name":"destination","type":"address[]"}],"name":"ownermint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
61010060405260436080818152906200218960a039600a9062000023908262000316565b50660fa1c6d5030000600b5561115c600c55600a600d55600e805460ff1916600117905534801562000053575f80fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb6600160405180604001604052806008815260200167506978794469787960c01b8152506040518060400160405280600681526020016550585944585960d01b8152508160029081620000bc919062000316565b506003620000cb828262000316565b505060015f5550620000dd3362000225565b60016009556daaeb6d7670e522a718067333cd4e3b156200021d5780156200017057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b5f604051808303815f87803b15801562000153575f80fd5b505af115801562000166573d5f803e3d5ffd5b505050506200021d565b6001600160a01b03821615620001c15760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200013b565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e486906024015f604051808303815f87803b15801562000205575f80fd5b505af115801562000218573d5f803e3d5ffd5b505050505b5050620003de565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200029f57607f821691505b602082108103620002be57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000311575f81815260208120601f850160051c81016020861015620002ec5750805b601f850160051c820191505b818110156200030d57828155600101620002f8565b5050505b505050565b81516001600160401b0381111562000332576200033262000276565b6200034a816200034384546200028a565b84620002c4565b602080601f83116001811462000380575f8415620003685750858301515b5f19600386901b1c1916600185901b1785556200030d565b5f85815260208120601f198616915b82811015620003b0578886015182559484019460019091019084016200038f565b5085821015620003ce57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b611d9d80620003ec5f395ff3fe6080604052600436106101f1575f3560e01c80636352211e11610108578063a22cb4651161009d578063d5abeb011161006d578063d5abeb0114610540578063dc33e68114610555578063e268e4d314610574578063e985e9c514610593578063f2fde38b146105b2575f80fd5b8063a22cb465146104da578063b88d4fde146104f9578063bd7a19981461050c578063c87b56dd14610521575f80fd5b80638462151c116100d85780638462151c1461046a5780638da5cb5b1461049657806395d89b41146104b35780639ae636ed146104c7575f80fd5b80636352211e146104045780636c0360eb1461042357806370a0823114610437578063715018a614610456575f80fd5b806323b872dd1161018957806342842e0e1161015957806342842e0e1461037b578063435286951461038e57806344a0d68a146103ad57806355f804b3146103cc5780635c975abb146103eb575f80fd5b806323b872dd1461031157806339bd1767146103245780633ccfd60b1461035257806341f434341461035a575f80fd5b8063095ea7b3116101c4578063095ea7b3146102a257806313faede6146102b5578063149835a0146102d857806318160ddd146102f7575f80fd5b806301ffc9a7146101f557806302329a291461022957806306fdde031461024a578063081812fc1461026b575b5f80fd5b348015610200575f80fd5b5061021461020f36600461175b565b6105d1565b60405190151581526020015b60405180910390f35b348015610234575f80fd5b50610248610243366004611783565b610622565b005b348015610255575f80fd5b5061025e61063d565b60405161022091906117eb565b348015610276575f80fd5b5061028a6102853660046117fd565b6106cd565b6040516001600160a01b039091168152602001610220565b6102486102b036600461182f565b61070f565b3480156102c0575f80fd5b506102ca600b5481565b604051908152602001610220565b3480156102e3575f80fd5b506102486102f23660046117fd565b6107ad565b348015610302575f80fd5b506001545f54035f19016102ca565b61024861031f366004611857565b6107ba565b34801561032f575f80fd5b5061021461033e366004611890565b600f6020525f908152604090205460ff1681565b6102486107e5565b348015610365575f80fd5b5061028a6daaeb6d7670e522a718067333cd4e81565b610248610389366004611857565b61082f565b348015610399575f80fd5b506102486103a83660046118a9565b610854565b3480156103b8575f80fd5b506102486103c73660046117fd565b610925565b3480156103d7575f80fd5b506102486103e63660046119a8565b610932565b3480156103f6575f80fd5b50600e546102149060ff1681565b34801561040f575f80fd5b5061028a61041e3660046117fd565b61094a565b34801561042e575f80fd5b5061025e610954565b348015610442575f80fd5b506102ca610451366004611890565b6109e0565b348015610461575f80fd5b50610248610a2d565b348015610475575f80fd5b50610489610484366004611890565b610a3e565b60405161022091906119ed565b3480156104a1575f80fd5b506008546001600160a01b031661028a565b3480156104be575f80fd5b5061025e610b43565b6102486104d53660046117fd565b610b52565b3480156104e5575f80fd5b506102486104f4366004611a24565b610d9d565b610248610507366004611a59565b610e08565b348015610517575f80fd5b506102ca600d5481565b34801561052c575f80fd5b5061025e61053b3660046117fd565b610e35565b34801561054b575f80fd5b506102ca600c5481565b348015610560575f80fd5b506102ca61056f366004611890565b610efe565b34801561057f575f80fd5b5061024861058e3660046117fd565b610f28565b34801561059e575f80fd5b506102146105ad366004611ad0565b610f35565b3480156105bd575f80fd5b506102486105cc366004611890565b610f62565b5f6301ffc9a760e01b6001600160e01b03198316148061060157506380ac58cd60e01b6001600160e01b03198316145b8061061c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b61062a610fd8565b600e805460ff1916911515919091179055565b60606002805461064c90611b01565b80601f016020809104026020016040519081016040528092919081815260200182805461067890611b01565b80156106c35780601f1061069a576101008083540402835291602001916106c3565b820191905f5260205f20905b8154815290600101906020018083116106a657829003601f168201915b5050505050905090565b5f6106d782611032565b6106f4576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6107198261094a565b9050336001600160a01b03821614610752576107358133610f35565b610752576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107b5610fd8565b600c55565b826001600160a01b03811633146107d4576107d433611064565b6107df84848461111b565b50505050565b6107ed610fd8565b6107f56112ab565b6040514790339082156108fc029083905f818181858888f19350505050158015610821573d5f803e3d5ffd5b505061082d6001600955565b565b826001600160a01b03811633146108495761084933611064565b6107df848484611304565b61085c610fd8565b6108646112ab565b600c546001545f54859190035f190161087d9190611b4d565b11156108c95760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064015b60405180910390fd5b5f5b81811015610915576109038383838181106108e8576108e8611b60565b90506020020160208101906108fd9190611890565b8561131e565b8061090d81611b74565b9150506108cb565b506109206001600955565b505050565b61092d610fd8565b600b55565b61093a610fd8565b600a6109468282611bd1565b5050565b5f61061c82611337565b600a805461096190611b01565b80601f016020809104026020016040519081016040528092919081815260200182805461098d90611b01565b80156109d85780601f106109af576101008083540402835291602001916109d8565b820191905f5260205f20905b8154815290600101906020018083116109bb57829003601f168201915b505050505081565b5f6001600160a01b038216610a08576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610a35610fd8565b61082d5f6113a0565b60605f805f610a4c856109e0565b90505f8167ffffffffffffffff811115610a6857610a68611921565b604051908082528060200260200182016040528015610a91578160200160208202803683370190505b509050610abd604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b838614610b3757610ad0816113f1565b91508160400151610b2f5781516001600160a01b031615610af057815194505b876001600160a01b0316856001600160a01b031603610b2f5780838780600101985081518110610b2257610b22611b60565b6020026020010181815250505b600101610ac0565b50909695505050505050565b60606003805461064c90611b01565b610b5a6112ab565b600e5460ff1615610b9b5760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b60448201526064016108c0565b600d54811115610bed5760405162461bcd60e51b815260206004820181905260248201527f596f752063616e206d696e7420313020696e2061207472616e73616374696f6e60448201526064016108c0565b600c546001545f54839190035f1901610c069190611b4d565b1115610c3f5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b60448201526064016108c0565b600d5481610c4c33610efe565b610c569190611b4d565b1115610c9b5760405162461bcd60e51b815260206004820152601460248201527315d85b1b195d081b1a5b5a5d081c995858da195960621b60448201526064016108c0565b335f908152600f602052604090205460ff16610d32575f610cbd600183611c8d565b905080600b54610ccd9190611ca0565b341015610d135760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c98d95d0811551208185b5bdd5b9d60621b60448201526064016108c0565b50335f908152600f60205260409020805460ff19166001179055610d86565b80600b54610d409190611ca0565b341015610d865760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c98d95d0811551208185b5bdd5b9d60621b60448201526064016108c0565b610d90338261131e565b610d9a6001600955565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836001600160a01b0381163314610e2257610e2233611064565b610e2e8585858561146e565b5050505050565b6060610e4082611032565b610ea55760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084016108c0565b5f610eae6114b2565b90505f815111610ecc5760405180602001604052805f815250610ef7565b80610ed6846114c1565b604051602001610ee7929190611cb7565b6040516020818303038152906040525b9392505050565b6001600160a01b0381165f908152600560205260408082205467ffffffffffffffff911c1661061c565b610f30610fd8565b600d55565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610f6a610fd8565b6001600160a01b038116610fcf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c0565b610d9a816113a0565b6008546001600160a01b0316331461082d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b5f8160011115801561104457505f5482105b801561061c5750505f90815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610d9a57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156110cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f39190611cf5565b610d9a57604051633b79c77360e21b81526001600160a01b03821660048201526024016108c0565b5f61112582611337565b9050836001600160a01b0316816001600160a01b0316146111585760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176111a4576111878633610f35565b6111a457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166111cb57604051633a954ecd60e21b815260040160405180910390fd5b80156111d5575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361126157600184015f81815260046020526040812054900361125f575f54811461125f575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6002600954036112fd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c0565b6002600955565b61092083838360405180602001604052805f815250610e08565b610946828260405180602001604052805f815250611504565b5f8180600111611387575f54811015611387575f8181526004602052604081205490600160e01b82169003611385575b805f03610ef757505f19015f81815260046020526040902054611367565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f8281526004602052604090205461061c90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6114798484846107ba565b6001600160a01b0383163b156107df5761149584848484611566565b6107df576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a805461064c90611b01565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806114da5750819003601f19909101908152919050565b61150e838361164e565b6001600160a01b0383163b15610920575f548281035b6115365f868380600101945086611566565b611553576040516368d2bf6b60e11b815260040160405180910390fd5b81811061152457815f5414610e2e575f80fd5b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061159a903390899088908890600401611d10565b6020604051808303815f875af19250505080156115d4575060408051601f3d908101601f191682019092526115d191810190611d4c565b60015b611630573d808015611601576040519150601f19603f3d011682016040523d82523d5f602084013e611606565b606091505b5080515f03611628576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b5f8054908290036116725760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461171e5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001016116e8565b50815f0361173e57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b031981168114610d9a575f80fd5b5f6020828403121561176b575f80fd5b8135610ef781611746565b8015158114610d9a575f80fd5b5f60208284031215611793575f80fd5b8135610ef781611776565b5f5b838110156117b85781810151838201526020016117a0565b50505f910152565b5f81518084526117d781602086016020860161179e565b601f01601f19169290920160200192915050565b602081525f610ef760208301846117c0565b5f6020828403121561180d575f80fd5b5035919050565b80356001600160a01b038116811461182a575f80fd5b919050565b5f8060408385031215611840575f80fd5b61184983611814565b946020939093013593505050565b5f805f60608486031215611869575f80fd5b61187284611814565b925061188060208501611814565b9150604084013590509250925092565b5f602082840312156118a0575f80fd5b610ef782611814565b5f805f604084860312156118bb575f80fd5b83359250602084013567ffffffffffffffff808211156118d9575f80fd5b818601915086601f8301126118ec575f80fd5b8135818111156118fa575f80fd5b8760208260051b850101111561190e575f80fd5b6020830194508093505050509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff8084111561194f5761194f611921565b604051601f8501601f19908116603f0116810190828211818310171561197757611977611921565b8160405280935085815286868601111561198f575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156119b8575f80fd5b813567ffffffffffffffff8111156119ce575f80fd5b8201601f810184136119de575f80fd5b61164684823560208401611935565b602080825282518282018190525f9190848201906040850190845b81811015610b3757835183529284019291840191600101611a08565b5f8060408385031215611a35575f80fd5b611a3e83611814565b91506020830135611a4e81611776565b809150509250929050565b5f805f8060808587031215611a6c575f80fd5b611a7585611814565b9350611a8360208601611814565b925060408501359150606085013567ffffffffffffffff811115611aa5575f80fd5b8501601f81018713611ab5575f80fd5b611ac487823560208401611935565b91505092959194509250565b5f8060408385031215611ae1575f80fd5b611aea83611814565b9150611af860208401611814565b90509250929050565b600181811c90821680611b1557607f821691505b602082108103611b3357634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561061c5761061c611b39565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611b8557611b85611b39565b5060010190565b601f821115610920575f81815260208120601f850160051c81016020861015611bb25750805b601f850160051c820191505b818110156112a357828155600101611bbe565b815167ffffffffffffffff811115611beb57611beb611921565b611bff81611bf98454611b01565b84611b8c565b602080601f831160018114611c32575f8415611c1b5750858301515b5f19600386901b1c1916600185901b1785556112a3565b5f85815260208120601f198616915b82811015611c6057888601518255948401946001909101908401611c41565b5085821015611c7d57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561061c5761061c611b39565b808202811582820484141761061c5761061c611b39565b5f8351611cc881846020880161179e565b835190830190611cdc81836020880161179e565b64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611d05575f80fd5b8151610ef781611776565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d42908301846117c0565b9695505050505050565b5f60208284031215611d5c575f80fd5b8151610ef78161174656fea26469706673582212202d09cade6b75f6c2ce7bacc65e0e7a1e49387b7ef56689564fbdfa5de0ed424c64736f6c63430008140033697066733a2f2f62616679626569617a3436713332746573356874616e663463717a7936786a35653477677635336a73686f72656972326678616f6b376f3267376d2f
Deployed Bytecode
0x6080604052600436106101f1575f3560e01c80636352211e11610108578063a22cb4651161009d578063d5abeb011161006d578063d5abeb0114610540578063dc33e68114610555578063e268e4d314610574578063e985e9c514610593578063f2fde38b146105b2575f80fd5b8063a22cb465146104da578063b88d4fde146104f9578063bd7a19981461050c578063c87b56dd14610521575f80fd5b80638462151c116100d85780638462151c1461046a5780638da5cb5b1461049657806395d89b41146104b35780639ae636ed146104c7575f80fd5b80636352211e146104045780636c0360eb1461042357806370a0823114610437578063715018a614610456575f80fd5b806323b872dd1161018957806342842e0e1161015957806342842e0e1461037b578063435286951461038e57806344a0d68a146103ad57806355f804b3146103cc5780635c975abb146103eb575f80fd5b806323b872dd1461031157806339bd1767146103245780633ccfd60b1461035257806341f434341461035a575f80fd5b8063095ea7b3116101c4578063095ea7b3146102a257806313faede6146102b5578063149835a0146102d857806318160ddd146102f7575f80fd5b806301ffc9a7146101f557806302329a291461022957806306fdde031461024a578063081812fc1461026b575b5f80fd5b348015610200575f80fd5b5061021461020f36600461175b565b6105d1565b60405190151581526020015b60405180910390f35b348015610234575f80fd5b50610248610243366004611783565b610622565b005b348015610255575f80fd5b5061025e61063d565b60405161022091906117eb565b348015610276575f80fd5b5061028a6102853660046117fd565b6106cd565b6040516001600160a01b039091168152602001610220565b6102486102b036600461182f565b61070f565b3480156102c0575f80fd5b506102ca600b5481565b604051908152602001610220565b3480156102e3575f80fd5b506102486102f23660046117fd565b6107ad565b348015610302575f80fd5b506001545f54035f19016102ca565b61024861031f366004611857565b6107ba565b34801561032f575f80fd5b5061021461033e366004611890565b600f6020525f908152604090205460ff1681565b6102486107e5565b348015610365575f80fd5b5061028a6daaeb6d7670e522a718067333cd4e81565b610248610389366004611857565b61082f565b348015610399575f80fd5b506102486103a83660046118a9565b610854565b3480156103b8575f80fd5b506102486103c73660046117fd565b610925565b3480156103d7575f80fd5b506102486103e63660046119a8565b610932565b3480156103f6575f80fd5b50600e546102149060ff1681565b34801561040f575f80fd5b5061028a61041e3660046117fd565b61094a565b34801561042e575f80fd5b5061025e610954565b348015610442575f80fd5b506102ca610451366004611890565b6109e0565b348015610461575f80fd5b50610248610a2d565b348015610475575f80fd5b50610489610484366004611890565b610a3e565b60405161022091906119ed565b3480156104a1575f80fd5b506008546001600160a01b031661028a565b3480156104be575f80fd5b5061025e610b43565b6102486104d53660046117fd565b610b52565b3480156104e5575f80fd5b506102486104f4366004611a24565b610d9d565b610248610507366004611a59565b610e08565b348015610517575f80fd5b506102ca600d5481565b34801561052c575f80fd5b5061025e61053b3660046117fd565b610e35565b34801561054b575f80fd5b506102ca600c5481565b348015610560575f80fd5b506102ca61056f366004611890565b610efe565b34801561057f575f80fd5b5061024861058e3660046117fd565b610f28565b34801561059e575f80fd5b506102146105ad366004611ad0565b610f35565b3480156105bd575f80fd5b506102486105cc366004611890565b610f62565b5f6301ffc9a760e01b6001600160e01b03198316148061060157506380ac58cd60e01b6001600160e01b03198316145b8061061c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b61062a610fd8565b600e805460ff1916911515919091179055565b60606002805461064c90611b01565b80601f016020809104026020016040519081016040528092919081815260200182805461067890611b01565b80156106c35780601f1061069a576101008083540402835291602001916106c3565b820191905f5260205f20905b8154815290600101906020018083116106a657829003601f168201915b5050505050905090565b5f6106d782611032565b6106f4576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6107198261094a565b9050336001600160a01b03821614610752576107358133610f35565b610752576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107b5610fd8565b600c55565b826001600160a01b03811633146107d4576107d433611064565b6107df84848461111b565b50505050565b6107ed610fd8565b6107f56112ab565b6040514790339082156108fc029083905f818181858888f19350505050158015610821573d5f803e3d5ffd5b505061082d6001600955565b565b826001600160a01b03811633146108495761084933611064565b6107df848484611304565b61085c610fd8565b6108646112ab565b600c546001545f54859190035f190161087d9190611b4d565b11156108c95760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b60448201526064015b60405180910390fd5b5f5b81811015610915576109038383838181106108e8576108e8611b60565b90506020020160208101906108fd9190611890565b8561131e565b8061090d81611b74565b9150506108cb565b506109206001600955565b505050565b61092d610fd8565b600b55565b61093a610fd8565b600a6109468282611bd1565b5050565b5f61061c82611337565b600a805461096190611b01565b80601f016020809104026020016040519081016040528092919081815260200182805461098d90611b01565b80156109d85780601f106109af576101008083540402835291602001916109d8565b820191905f5260205f20905b8154815290600101906020018083116109bb57829003601f168201915b505050505081565b5f6001600160a01b038216610a08576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610a35610fd8565b61082d5f6113a0565b60605f805f610a4c856109e0565b90505f8167ffffffffffffffff811115610a6857610a68611921565b604051908082528060200260200182016040528015610a91578160200160208202803683370190505b509050610abd604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b838614610b3757610ad0816113f1565b91508160400151610b2f5781516001600160a01b031615610af057815194505b876001600160a01b0316856001600160a01b031603610b2f5780838780600101985081518110610b2257610b22611b60565b6020026020010181815250505b600101610ac0565b50909695505050505050565b60606003805461064c90611b01565b610b5a6112ab565b600e5460ff1615610b9b5760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b60448201526064016108c0565b600d54811115610bed5760405162461bcd60e51b815260206004820181905260248201527f596f752063616e206d696e7420313020696e2061207472616e73616374696f6e60448201526064016108c0565b600c546001545f54839190035f1901610c069190611b4d565b1115610c3f5760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b60448201526064016108c0565b600d5481610c4c33610efe565b610c569190611b4d565b1115610c9b5760405162461bcd60e51b815260206004820152601460248201527315d85b1b195d081b1a5b5a5d081c995858da195960621b60448201526064016108c0565b335f908152600f602052604090205460ff16610d32575f610cbd600183611c8d565b905080600b54610ccd9190611ca0565b341015610d135760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c98d95d0811551208185b5bdd5b9d60621b60448201526064016108c0565b50335f908152600f60205260409020805460ff19166001179055610d86565b80600b54610d409190611ca0565b341015610d865760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c98d95d0811551208185b5bdd5b9d60621b60448201526064016108c0565b610d90338261131e565b610d9a6001600955565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836001600160a01b0381163314610e2257610e2233611064565b610e2e8585858561146e565b5050505050565b6060610e4082611032565b610ea55760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084016108c0565b5f610eae6114b2565b90505f815111610ecc5760405180602001604052805f815250610ef7565b80610ed6846114c1565b604051602001610ee7929190611cb7565b6040516020818303038152906040525b9392505050565b6001600160a01b0381165f908152600560205260408082205467ffffffffffffffff911c1661061c565b610f30610fd8565b600d55565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610f6a610fd8565b6001600160a01b038116610fcf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c0565b610d9a816113a0565b6008546001600160a01b0316331461082d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b5f8160011115801561104457505f5482105b801561061c5750505f90815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610d9a57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156110cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f39190611cf5565b610d9a57604051633b79c77360e21b81526001600160a01b03821660048201526024016108c0565b5f61112582611337565b9050836001600160a01b0316816001600160a01b0316146111585760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176111a4576111878633610f35565b6111a457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166111cb57604051633a954ecd60e21b815260040160405180910390fd5b80156111d5575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361126157600184015f81815260046020526040812054900361125f575f54811461125f575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6002600954036112fd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c0565b6002600955565b61092083838360405180602001604052805f815250610e08565b610946828260405180602001604052805f815250611504565b5f8180600111611387575f54811015611387575f8181526004602052604081205490600160e01b82169003611385575b805f03610ef757505f19015f81815260046020526040902054611367565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f8281526004602052604090205461061c90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6114798484846107ba565b6001600160a01b0383163b156107df5761149584848484611566565b6107df576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a805461064c90611b01565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806114da5750819003601f19909101908152919050565b61150e838361164e565b6001600160a01b0383163b15610920575f548281035b6115365f868380600101945086611566565b611553576040516368d2bf6b60e11b815260040160405180910390fd5b81811061152457815f5414610e2e575f80fd5b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061159a903390899088908890600401611d10565b6020604051808303815f875af19250505080156115d4575060408051601f3d908101601f191682019092526115d191810190611d4c565b60015b611630573d808015611601576040519150601f19603f3d011682016040523d82523d5f602084013e611606565b606091505b5080515f03611628576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b5f8054908290036116725760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461171e5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001016116e8565b50815f0361173e57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b031981168114610d9a575f80fd5b5f6020828403121561176b575f80fd5b8135610ef781611746565b8015158114610d9a575f80fd5b5f60208284031215611793575f80fd5b8135610ef781611776565b5f5b838110156117b85781810151838201526020016117a0565b50505f910152565b5f81518084526117d781602086016020860161179e565b601f01601f19169290920160200192915050565b602081525f610ef760208301846117c0565b5f6020828403121561180d575f80fd5b5035919050565b80356001600160a01b038116811461182a575f80fd5b919050565b5f8060408385031215611840575f80fd5b61184983611814565b946020939093013593505050565b5f805f60608486031215611869575f80fd5b61187284611814565b925061188060208501611814565b9150604084013590509250925092565b5f602082840312156118a0575f80fd5b610ef782611814565b5f805f604084860312156118bb575f80fd5b83359250602084013567ffffffffffffffff808211156118d9575f80fd5b818601915086601f8301126118ec575f80fd5b8135818111156118fa575f80fd5b8760208260051b850101111561190e575f80fd5b6020830194508093505050509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff8084111561194f5761194f611921565b604051601f8501601f19908116603f0116810190828211818310171561197757611977611921565b8160405280935085815286868601111561198f575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156119b8575f80fd5b813567ffffffffffffffff8111156119ce575f80fd5b8201601f810184136119de575f80fd5b61164684823560208401611935565b602080825282518282018190525f9190848201906040850190845b81811015610b3757835183529284019291840191600101611a08565b5f8060408385031215611a35575f80fd5b611a3e83611814565b91506020830135611a4e81611776565b809150509250929050565b5f805f8060808587031215611a6c575f80fd5b611a7585611814565b9350611a8360208601611814565b925060408501359150606085013567ffffffffffffffff811115611aa5575f80fd5b8501601f81018713611ab5575f80fd5b611ac487823560208401611935565b91505092959194509250565b5f8060408385031215611ae1575f80fd5b611aea83611814565b9150611af860208401611814565b90509250929050565b600181811c90821680611b1557607f821691505b602082108103611b3357634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561061c5761061c611b39565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611b8557611b85611b39565b5060010190565b601f821115610920575f81815260208120601f850160051c81016020861015611bb25750805b601f850160051c820191505b818110156112a357828155600101611bbe565b815167ffffffffffffffff811115611beb57611beb611921565b611bff81611bf98454611b01565b84611b8c565b602080601f831160018114611c32575f8415611c1b5750858301515b5f19600386901b1c1916600185901b1785556112a3565b5f85815260208120601f198616915b82811015611c6057888601518255948401946001909101908401611c41565b5085821015611c7d57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561061c5761061c611b39565b808202811582820484141761061c5761061c611b39565b5f8351611cc881846020880161179e565b835190830190611cdc81836020880161179e565b64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611d05575f80fd5b8151610ef781611776565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d42908301846117c0565b9695505050505050565b5f60208284031215611d5c575f80fd5b8151610ef78161174656fea26469706673582212202d09cade6b75f6c2ce7bacc65e0e7a1e49387b7ef56689564fbdfa5de0ed424c64736f6c63430008140033
Deployed Bytecode Sourcemap
69460:4976:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36351:639;;;;;;;;;;-1:-1:-1;36351:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36351:639:0;;;;;;;;73253:79;;;;;;;;;;-1:-1:-1;73253:79:0;;;;;:::i;:::-;;:::i;:::-;;37253:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43744:218::-;;;;;;;;;;-1:-1:-1;43744:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;43744:218:0;1902:203:1;43177:408:0;;;;;;:::i;:::-;;:::i;69668:34::-;;;;;;;;;;;;;;;;;;;2693:25:1;;;2681:2;2666:18;69668:34:0;2547:177:1;73033:100:0;;;;;;;;;;-1:-1:-1;73033:100:0;;;;;:::i;:::-;;:::i;33004:323::-;;;;;;;;;;-1:-1:-1;73733:1:0;33278:12;33065:7;33262:13;:28;-1:-1:-1;;33262:46:0;33004:323;;73752:205;;;;;;:::i;:::-;;:::i;69818:43::-;;;;;;;;;;-1:-1:-1;69818:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;73340:173;;;:::i;7768:143::-;;;;;;;;;;;;184:42;7768:143;;73965:213;;;;;;:::i;:::-;;:::i;70681:389::-;;;;;;;;;;-1:-1:-1;70681:389:0;;;;;:::i;:::-;;:::i;72939:86::-;;;;;;;;;;-1:-1:-1;72939:86:0;;;;;:::i;:::-;;:::i;73141:104::-;;;;;;;;;;-1:-1:-1;73141:104:0;;;;;:::i;:::-;;:::i;69786:25::-;;;;;;;;;;-1:-1:-1;69786:25:0;;;;;;;;38646:152;;;;;;;;;;-1:-1:-1;38646:152:0;;;;;:::i;:::-;;:::i;69568:93::-;;;;;;;;;;;;;:::i;34188:233::-;;;;;;;;;;-1:-1:-1;34188:233:0;;;;;:::i;:::-;;:::i;17130:103::-;;;;;;;;;;;;;:::i;71844:979::-;;;;;;;;;;-1:-1:-1;71844:979:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;16489:87::-;;;;;;;;;;-1:-1:-1;16562:6:0;;-1:-1:-1;;;;;16562:6:0;16489:87;;37429:104;;;;;;;;;;;;;:::i;69926:749::-;;;;;;:::i;:::-;;:::i;44302:234::-;;;;;;;;;;-1:-1:-1;44302:234:0;;;;;:::i;:::-;;:::i;74186:247::-;;;;;;:::i;:::-;;:::i;69747:32::-;;;;;;;;;;;;;;;;71078:637;;;;;;;;;;-1:-1:-1;71078:637:0;;;;;:::i;:::-;;:::i;69709:31::-;;;;;;;;;;;;;;;;71723:113;;;;;;;;;;-1:-1:-1;71723:113:0;;;;;:::i;:::-;;:::i;72833:98::-;;;;;;;;;;-1:-1:-1;72833:98:0;;;;;:::i;:::-;;:::i;44693:164::-;;;;;;;;;;-1:-1:-1;44693:164:0;;;;;:::i;:::-;;:::i;17388:201::-;;;;;;;;;;-1:-1:-1;17388:201:0;;;;;:::i;:::-;;:::i;36351:639::-;36436:4;-1:-1:-1;;;;;;;;;36760:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36837:25:0;;;36760:102;:179;;;-1:-1:-1;;;;;;;;;;36914:25:0;;;36760:179;36740:199;36351:639;-1:-1:-1;;36351:639:0:o;73253:79::-;16375:13;:11;:13::i;:::-;73309:6:::1;:15:::0;;-1:-1:-1;;73309:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;73253:79::o;37253:100::-;37307:13;37340:5;37333:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37253:100;:::o;43744:218::-;43820:7;43845:16;43853:7;43845;:16::i;:::-;43840:64;;43870:34;;-1:-1:-1;;;43870:34:0;;;;;;;;;;;43840:64;-1:-1:-1;43924:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43924:30:0;;43744:218::o;43177:408::-;43266:13;43282:16;43290:7;43282;:16::i;:::-;43266:32;-1:-1:-1;67510:10:0;-1:-1:-1;;;;;43315:28:0;;;43311:175;;43363:44;43380:5;67510:10;44693:164;:::i;43363:44::-;43358:128;;43435:35;;-1:-1:-1;;;43435:35:0;;;;;;;;;;;43358:128;43498:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43498:35:0;-1:-1:-1;;;;;43498:35:0;;;;;;;;;43549:28;;43498:24;;43549:28;;;;;;;43255:330;43177:408;;:::o;73033:100::-;16375:13;:11;:13::i;:::-;73103:9:::1;:22:::0;73033:100::o;73752:205::-;73895:4;-1:-1:-1;;;;;9276:18:0;;9284:10;9276:18;9272:83;;9311:32;9332:10;9311:20;:32::i;:::-;73912:37:::1;73931:4;73937:2;73941:7;73912:18;:37::i;:::-;73752:205:::0;;;;:::o;73340:173::-;16375:13;:11;:13::i;:::-;13466:21:::1;:19;:21::i;:::-;73459:46:::2;::::0;73427:21:::2;::::0;67510:10;;73459:46;::::2;;;::::0;73427:21;;73459:46:::2;::::0;;;73427:21;67510:10;73459:46;::::2;;;;;;;;;;;;;::::0;::::2;;;;;;73398:115;13510:20:::1;12904:1:::0;14030:7;:22;13847:213;13510:20:::1;73340:173::o:0;73965:213::-;74112:4;-1:-1:-1;;;;;9276:18:0;;9284:10;9276:18;9272:83;;9311:32;9332:10;9311:20;:32::i;:::-;74129:41:::1;74152:4;74158:2;74162:7;74129:22;:41::i;70681:389::-:0;16375:13;:11;:13::i;:::-;13466:21:::1;:19;:21::i;:::-;70879:9:::2;::::0;73733:1;33278:12;33065:7;33262:13;70864:11;;33262:28;;-1:-1:-1;;33262:46:0;70848:27:::2;;;;:::i;:::-;:40;;70826:112;;;::::0;-1:-1:-1;;;70826:112:0;;8148:2:1;70826:112:0::2;::::0;::::2;8130:21:1::0;8187:2;8167:18;;;8160:30;-1:-1:-1;;;8206:18:1;;;8199:52;8268:18;;70826:112:0::2;;;;;;;;;70954:9;70949:114;70969:22:::0;;::::2;70949:114;;;71013:38;71023:11;;71035:1;71023:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;71039:11;71013:9;:38::i;:::-;70993:3:::0;::::2;::::0;::::2;:::i;:::-;;;;70949:114;;;;13510:20:::1;12904:1:::0;14030:7;:22;13847:213;13510:20:::1;70681:389:::0;;;:::o;72939:86::-;16375:13;:11;:13::i;:::-;73002:4:::1;:15:::0;72939:86::o;73141:104::-;16375:13;:11;:13::i;:::-;73216:7:::1;:21;73226:11:::0;73216:7;:21:::1;:::i;:::-;;73141:104:::0;:::o;38646:152::-;38718:7;38761:27;38780:7;38761:18;:27::i;69568:93::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;34188:233::-;34260:7;-1:-1:-1;;;;;34284:19:0;;34280:60;;34312:28;;-1:-1:-1;;;34312:28:0;;;;;;;;;;;34280:60;-1:-1:-1;;;;;;34358:25:0;;;;;:18;:25;;;;;;28347:13;34358:55;;34188:233::o;17130:103::-;16375:13;:11;:13::i;:::-;17195:30:::1;17222:1;17195:18;:30::i;71844:979::-:0;71930:16;71989:19;72023:25;72063:22;72088:16;72098:5;72088:9;:16::i;:::-;72063:41;;72119:25;72161:14;72147:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72147:29:0;;72119:57;;72191:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72191:31:0;73733:1;72237:538;72321:14;72306:11;:29;72237:538;;72404:15;72417:1;72404:12;:15::i;:::-;72392:27;;72442:9;:16;;;72483:8;72438:73;72533:14;;-1:-1:-1;;;;;72533:28:0;;72529:111;;72606:14;;;-1:-1:-1;72529:111:0;72683:5;-1:-1:-1;;;;;72662:26:0;:17;-1:-1:-1;;;;;72662:26:0;;72658:102;;72739:1;72713:8;72722:13;;;;;;72713:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;72658:102;72354:3;;72237:538;;;-1:-1:-1;72796:8:0;;71844:979;-1:-1:-1;;;;;;71844:979:0:o;37429:104::-;37485:13;37518:7;37511:14;;;;;:::i;69926:749::-;13466:21;:19;:21::i;:::-;70006:6:::1;::::0;::::1;;70003:32;;;70014:21;::::0;-1:-1:-1;;;70014:21:0;;10975:2:1;70014:21:0::1;::::0;::::1;10957::1::0;11014:2;10994:18;;;10987:30;-1:-1:-1;;;11033:18:1;;;11026:41;11084:18;;70014:21:0::1;10773:335:1::0;70003:32:0::1;70058:12;;70049:6;:21;70046:68;;;70072:42;::::0;-1:-1:-1;;;70072:42:0;;11315:2:1;70072:42:0::1;::::0;::::1;11297:21:1::0;;;11334:18;;;11327:30;11393:34;11373:18;;;11366:62;11445:18;;70072:42:0::1;11113:356:1::0;70046:68:0::1;70153:9;::::0;73733:1;33278:12;33065:7;33262:13;70144:6;;33262:28;;-1:-1:-1;;33262:46:0;70128:22:::1;;;;:::i;:::-;:34;70125:57;;;70164:18;::::0;-1:-1:-1;;;70164:18:0;;11676:2:1;70164:18:0::1;::::0;::::1;11658:21:1::0;11715:1;11695:18;;;11688:29;-1:-1:-1;;;11733:18:1;;;11726:38;11781:18;;70164::0::1;11474:331:1::0;70125:57:0::1;70241:12;::::0;70232:6;70196:33:::1;67510:10:::0;71723:113;:::i;70196:33::-:1;:42;;;;:::i;:::-;:57;70193:92;;;70255:30;::::0;-1:-1:-1;;;70255:30:0;;12012:2:1;70255:30:0::1;::::0;::::1;11994:21:1::0;12051:2;12031:18;;;12024:30;-1:-1:-1;;;12070:18:1;;;12063:50;12130:18;;70255:30:0::1;11810:344:1::0;70193:92:0::1;67510:10:::0;70303:32:::1;::::0;;;:11:::1;:32;::::0;;;;;::::1;;70298:321;;70352:18;70373:10;70382:1;70373:6:::0;:10:::1;:::i;:::-;70352:31;;70426:10;70419:4;;:17;;;;:::i;:::-;70406:9;:30;;70398:63;;;::::0;-1:-1:-1;;;70398:63:0;;12667:2:1;70398:63:0::1;::::0;::::1;12649:21:1::0;12706:2;12686:18;;;12679:30;-1:-1:-1;;;12725:18:1;;;12718:50;12785:18;;70398:63:0::1;12465:344:1::0;70398:63:0::1;-1:-1:-1::0;67510:10:0;70476:32:::1;::::0;;;:11:::1;:32;::::0;;;;:39;;-1:-1:-1;;70476:39:0::1;70511:4;70476:39;::::0;;70298:321:::1;;;70576:6;70569:4;;:13;;;;:::i;:::-;70556:9;:26;;70548:59;;;::::0;-1:-1:-1;;;70548:59:0;;12667:2:1;70548:59:0::1;::::0;::::1;12649:21:1::0;12706:2;12686:18;;;12679:30;-1:-1:-1;;;12725:18:1;;;12718:50;12785:18;;70548:59:0::1;12465:344:1::0;70548:59:0::1;70629:38;67510:10:::0;70660:6:::1;70629:9;:38::i;:::-;13510:20:::0;12904:1;14030:7;:22;13847:213;13510:20;69926:749;:::o;44302:234::-;67510:10;44397:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44397:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44397:60:0;;;;;;;;;;44473:55;;540:41:1;;;44397:49:0;;67510:10;44473:55;;513:18:1;44473:55:0;;;;;;;44302:234;;:::o;74186:247::-;74361:4;-1:-1:-1;;;;;9276:18:0;;9284:10;9276:18;9272:83;;9311:32;9332:10;9311:20;:32::i;:::-;74378:47:::1;74401:4;74407:2;74411:7;74420:4;74378:22;:47::i;:::-;74186:247:::0;;;;;:::o;71078:637::-;71196:13;71249:16;71257:7;71249;:16::i;:::-;71227:114;;;;-1:-1:-1;;;71227:114:0;;13016:2:1;71227:114:0;;;12998:21:1;13055:2;13035:18;;;13028:30;13094:34;13074:18;;;13067:62;-1:-1:-1;;;13145:18:1;;;13138:46;13201:19;;71227:114:0;12814:412:1;71227:114:0;71354:28;71385:10;:8;:10::i;:::-;71354:41;;71457:1;71432:14;71426:28;:32;:281;;;;;;;;;;;;;;;;;71550:14;71591:18;71601:7;71591:9;:18::i;:::-;71507:159;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71426:281;71406:301;71078:637;-1:-1:-1;;;71078:637:0:o;71723:113::-;-1:-1:-1;;;;;34592:25:0;;71781:7;34592:25;;;:18;:25;;28485:2;34592:25;;;;28347:13;34592:50;;34591:82;71808:20;34503:178;72833:98;16375:13;:11;:13::i;:::-;72902:12:::1;:21:::0;72833:98::o;44693:164::-;-1:-1:-1;;;;;44814:25:0;;;44790:4;44814:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44693:164::o;17388:201::-;16375:13;:11;:13::i;:::-;-1:-1:-1;;;;;17477:22:0;::::1;17469:73;;;::::0;-1:-1:-1;;;17469:73:0;;14101:2:1;17469:73:0::1;::::0;::::1;14083:21:1::0;14140:2;14120:18;;;14113:30;14179:34;14159:18;;;14152:62;-1:-1:-1;;;14230:18:1;;;14223:36;14276:19;;17469:73:0::1;13899:402:1::0;17469:73:0::1;17553:28;17572:8;17553:18;:28::i;16654:132::-:0;16562:6;;-1:-1:-1;;;;;16562:6:0;67510:10;16718:23;16710:68;;;;-1:-1:-1;;;16710:68:0;;14508:2:1;16710:68:0;;;14490:21:1;;;14527:18;;;14520:30;14586:34;14566:18;;;14559:62;14638:18;;16710:68:0;14306:356:1;45115:282:0;45180:4;45236:7;73733:1;45217:26;;:66;;;;;45270:13;;45260:7;:23;45217:66;:153;;;;-1:-1:-1;;45321:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;45321:44:0;:49;;45115:282::o;9693:647::-;184:42;9884:45;:49;9880:453;;10183:67;;-1:-1:-1;;;10183:67:0;;10234:4;10183:67;;;14879:34:1;-1:-1:-1;;;;;14949:15:1;;14929:18;;;14922:43;184:42:0;;10183;;14814:18:1;;10183:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10178:144;;10278:28;;-1:-1:-1;;;10278:28:0;;-1:-1:-1;;;;;2066:32:1;;10278:28:0;;;2048:51:1;2021:18;;10278:28:0;1902:203:1;47383:2825:0;47525:27;47555;47574:7;47555:18;:27::i;:::-;47525:57;;47640:4;-1:-1:-1;;;;;47599:45:0;47615:19;-1:-1:-1;;;;;47599:45:0;;47595:86;;47653:28;;-1:-1:-1;;;47653:28:0;;;;;;;;;;;47595:86;47695:27;46491:24;;;:15;:24;;;;;46719:26;;67510:10;46116:30;;;-1:-1:-1;;;;;45809:28:0;;46094:20;;;46091:56;47881:180;;47974:43;47991:4;67510:10;44693:164;:::i;47974:43::-;47969:92;;48026:35;;-1:-1:-1;;;48026:35:0;;;;;;;;;;;47969:92;-1:-1:-1;;;;;48078:16:0;;48074:52;;48103:23;;-1:-1:-1;;;48103:23:0;;;;;;;;;;;48074:52;48275:15;48272:160;;;48415:1;48394:19;48387:30;48272:160;-1:-1:-1;;;;;48812:24:0;;;;;;;:18;:24;;;;;;48810:26;;-1:-1:-1;;48810:26:0;;;48881:22;;;;;;;;;48879:24;;-1:-1:-1;48879:24:0;;;42035:11;42010:23;42006:41;41993:63;-1:-1:-1;;;41993:63:0;49174:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;49469:47:0;;:52;;49465:627;;49574:1;49564:11;;49542:19;49697:30;;;:17;:30;;;;;;:35;;49693:384;;49835:13;;49820:11;:28;49816:242;;49982:30;;;;:17;:30;;;;;:52;;;49816:242;49523:569;49465:627;50139:7;50135:2;-1:-1:-1;;;;;50120:27:0;50129:4;-1:-1:-1;;;;;50120:27:0;;;;;;;;;;;50158:42;47514:2694;;;47383:2825;;;:::o;13546:293::-;12948:1;13680:7;;:19;13672:63;;;;-1:-1:-1;;;13672:63:0;;15428:2:1;13672:63:0;;;15410:21:1;15467:2;15447:18;;;15440:30;15506:33;15486:18;;;15479:61;15557:18;;13672:63:0;15226:355:1;13672:63:0;12948:1;13813:7;:18;13546:293::o;50304:193::-;50450:39;50467:4;50473:2;50477:7;50450:39;;;;;;;;;;;;:16;:39::i;61255:112::-;61332:27;61342:2;61346:8;61332:27;;;;;;;;;;;;:9;:27::i;39801:1275::-;39868:7;39903;;73733:1;39952:23;39948:1061;;40005:13;;39998:4;:20;39994:1015;;;40043:14;40060:23;;;:17;:23;;;;;;;-1:-1:-1;;;40149:24:0;;:29;;40145:845;;40814:113;40821:6;40831:1;40821:11;40814:113;;-1:-1:-1;;;40892:6:0;40874:25;;;;:17;:25;;;;;;40814:113;;40145:845;40020:989;39994:1015;41037:31;;-1:-1:-1;;;41037:31:0;;;;;;;;;;;17749:191;17842:6;;;-1:-1:-1;;;;;17859:17:0;;;-1:-1:-1;;;;;;17859:17:0;;;;;;;17892:40;;17842:6;;;17859:17;17842:6;;17892:40;;17823:16;;17892:40;17812:128;17749:191;:::o;39249:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39377:24:0;;;;:17;:24;;;;;;39358:44;;-1:-1:-1;;;;;;;;;;;;;41285:41:0;;;;29006:3;41371:33;;;41337:68;;-1:-1:-1;;;41337:68:0;-1:-1:-1;;;41435:24:0;;:29;;-1:-1:-1;;;41416:48:0;;;;29527:3;41504:28;;;;-1:-1:-1;;;41475:58:0;-1:-1:-1;41175:366:0;51095:407;51270:31;51283:4;51289:2;51293:7;51270:12;:31::i;:::-;-1:-1:-1;;;;;51316:14:0;;;:19;51312:183;;51355:56;51386:4;51392:2;51396:7;51405:5;51355:30;:56::i;:::-;51350:145;;51439:40;;-1:-1:-1;;;51439:40:0;;;;;;;;;;;73525:108;73585:13;73618:7;73611:14;;;;;:::i;67630:1745::-;67695:17;68129:4;68122;68116:11;68112:22;68221:1;68215:4;68208:15;68296:4;68293:1;68289:12;68282:19;;;68378:1;68373:3;68366:14;68482:3;68721:5;68703:428;68769:1;68764:3;68760:11;68753:18;;68940:2;68934:4;68930:13;68926:2;68922:22;68917:3;68909:36;69034:2;69024:13;;69091:25;68703:428;69091:25;-1:-1:-1;69161:13:0;;;-1:-1:-1;;69276:14:0;;;69338:19;;;69276:14;67630:1745;-1:-1:-1;67630:1745:0:o;60482:689::-;60613:19;60619:2;60623:8;60613:5;:19::i;:::-;-1:-1:-1;;;;;60674:14:0;;;:19;60670:483;;60714:11;60728:13;60776:14;;;60809:233;60840:62;60879:1;60883:2;60887:7;;;;;;60896:5;60840:30;:62::i;:::-;60835:167;;60938:40;;-1:-1:-1;;;60938:40:0;;;;;;;;;;;60835:167;61037:3;61029:5;:11;60809:233;;61124:3;61107:13;;:20;61103:34;;61129:8;;;53586:716;53770:88;;-1:-1:-1;;;53770:88:0;;53749:4;;-1:-1:-1;;;;;53770:45:0;;;;;:88;;67510:10;;53837:4;;53843:7;;53852:5;;53770:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53770:88:0;;;;;;;;-1:-1:-1;;53770:88:0;;;;;;;;;;;;:::i;:::-;;;53766:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54053:6;:13;54070:1;54053:18;54049:235;;54099:40;;-1:-1:-1;;;54099:40:0;;;;;;;;;;;54049:235;54242:6;54236:13;54227:6;54223:2;54219:15;54212:38;53766:529;-1:-1:-1;;;;;;53929:64:0;-1:-1:-1;;;53929:64:0;;-1:-1:-1;53766:529:0;53586:716;;;;;;:::o;54764:2966::-;54837:20;54860:13;;;54888;;;54884:44;;54910:18;;-1:-1:-1;;;54910:18:0;;;;;;;;;;;54884:44;-1:-1:-1;;;;;55416:22:0;;;;;;:18;:22;;;;28485:2;55416:22;;;:71;;55454:32;55442:45;;55416:71;;;55730:31;;;:17;:31;;;;;-1:-1:-1;42466:15:0;;42440:24;42436:46;42035:11;42010:23;42006:41;42003:52;41993:63;;55730:173;;55965:23;;;;55730:31;;55416:22;;56730:25;55416:22;;56583:335;57244:1;57230:12;57226:20;57184:346;57285:3;57276:7;57273:16;57184:346;;57503:7;57493:8;57490:1;57463:25;57460:1;57457;57452:59;57338:1;57325:15;57184:346;;;57188:77;57563:8;57575:1;57563:13;57559:45;;57585:19;;-1:-1:-1;;;57585:19:0;;;;;;;;;;;57559:45;57621:13;:19;-1:-1:-1;70681:389:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:118::-;678:5;671:13;664:21;657:5;654:32;644:60;;700:1;697;690:12;715:241;771:6;824:2;812:9;803:7;799:23;795:32;792:52;;;840:1;837;830:12;792:52;879:9;866:23;898:28;920:5;898:28;:::i;961:250::-;1046:1;1056:113;1070:6;1067:1;1064:13;1056:113;;;1146:11;;;1140:18;1127:11;;;1120:39;1092:2;1085:10;1056:113;;;-1:-1:-1;;1203:1:1;1185:16;;1178:27;961:250::o;1216:271::-;1258:3;1296:5;1290:12;1323:6;1318:3;1311:19;1339:76;1408:6;1401:4;1396:3;1392:14;1385:4;1378:5;1374:16;1339:76;:::i;:::-;1469:2;1448:15;-1:-1:-1;;1444:29:1;1435:39;;;;1476:4;1431:50;;1216:271;-1:-1:-1;;1216:271:1:o;1492:220::-;1641:2;1630:9;1623:21;1604:4;1661:45;1702:2;1691:9;1687:18;1679:6;1661:45;:::i;1717:180::-;1776:6;1829:2;1817:9;1808:7;1804:23;1800:32;1797:52;;;1845:1;1842;1835:12;1797:52;-1:-1:-1;1868:23:1;;1717:180;-1:-1:-1;1717:180:1:o;2110:173::-;2178:20;;-1:-1:-1;;;;;2227:31:1;;2217:42;;2207:70;;2273:1;2270;2263:12;2207:70;2110:173;;;:::o;2288:254::-;2356:6;2364;2417:2;2405:9;2396:7;2392:23;2388:32;2385:52;;;2433:1;2430;2423:12;2385:52;2456:29;2475:9;2456:29;:::i;:::-;2446:39;2532:2;2517:18;;;;2504:32;;-1:-1:-1;;;2288:254:1:o;2729:328::-;2806:6;2814;2822;2875:2;2863:9;2854:7;2850:23;2846:32;2843:52;;;2891:1;2888;2881:12;2843:52;2914:29;2933:9;2914:29;:::i;:::-;2904:39;;2962:38;2996:2;2985:9;2981:18;2962:38;:::i;:::-;2952:48;;3047:2;3036:9;3032:18;3019:32;3009:42;;2729:328;;;;;:::o;3062:186::-;3121:6;3174:2;3162:9;3153:7;3149:23;3145:32;3142:52;;;3190:1;3187;3180:12;3142:52;3213:29;3232:9;3213:29;:::i;3492:683::-;3587:6;3595;3603;3656:2;3644:9;3635:7;3631:23;3627:32;3624:52;;;3672:1;3669;3662:12;3624:52;3708:9;3695:23;3685:33;;3769:2;3758:9;3754:18;3741:32;3792:18;3833:2;3825:6;3822:14;3819:34;;;3849:1;3846;3839:12;3819:34;3887:6;3876:9;3872:22;3862:32;;3932:7;3925:4;3921:2;3917:13;3913:27;3903:55;;3954:1;3951;3944:12;3903:55;3994:2;3981:16;4020:2;4012:6;4009:14;4006:34;;;4036:1;4033;4026:12;4006:34;4089:7;4084:2;4074:6;4071:1;4067:14;4063:2;4059:23;4055:32;4052:45;4049:65;;;4110:1;4107;4100:12;4049:65;4141:2;4137;4133:11;4123:21;;4163:6;4153:16;;;;;3492:683;;;;;:::o;4180:127::-;4241:10;4236:3;4232:20;4229:1;4222:31;4272:4;4269:1;4262:15;4296:4;4293:1;4286:15;4312:632;4377:5;4407:18;4448:2;4440:6;4437:14;4434:40;;;4454:18;;:::i;:::-;4529:2;4523:9;4497:2;4583:15;;-1:-1:-1;;4579:24:1;;;4605:2;4575:33;4571:42;4559:55;;;4629:18;;;4649:22;;;4626:46;4623:72;;;4675:18;;:::i;:::-;4715:10;4711:2;4704:22;4744:6;4735:15;;4774:6;4766;4759:22;4814:3;4805:6;4800:3;4796:16;4793:25;4790:45;;;4831:1;4828;4821:12;4790:45;4881:6;4876:3;4869:4;4861:6;4857:17;4844:44;4936:1;4929:4;4920:6;4912;4908:19;4904:30;4897:41;;;;4312:632;;;;;:::o;4949:451::-;5018:6;5071:2;5059:9;5050:7;5046:23;5042:32;5039:52;;;5087:1;5084;5077:12;5039:52;5127:9;5114:23;5160:18;5152:6;5149:30;5146:50;;;5192:1;5189;5182:12;5146:50;5215:22;;5268:4;5260:13;;5256:27;-1:-1:-1;5246:55:1;;5297:1;5294;5287:12;5246:55;5320:74;5386:7;5381:2;5368:16;5363:2;5359;5355:11;5320:74;:::i;5405:632::-;5576:2;5628:21;;;5698:13;;5601:18;;;5720:22;;;5547:4;;5576:2;5799:15;;;;5773:2;5758:18;;;5547:4;5842:169;5856:6;5853:1;5850:13;5842:169;;;5917:13;;5905:26;;5986:15;;;;5951:12;;;;5878:1;5871:9;5842:169;;6042:315;6107:6;6115;6168:2;6156:9;6147:7;6143:23;6139:32;6136:52;;;6184:1;6181;6174:12;6136:52;6207:29;6226:9;6207:29;:::i;:::-;6197:39;;6286:2;6275:9;6271:18;6258:32;6299:28;6321:5;6299:28;:::i;:::-;6346:5;6336:15;;;6042:315;;;;;:::o;6362:667::-;6457:6;6465;6473;6481;6534:3;6522:9;6513:7;6509:23;6505:33;6502:53;;;6551:1;6548;6541:12;6502:53;6574:29;6593:9;6574:29;:::i;:::-;6564:39;;6622:38;6656:2;6645:9;6641:18;6622:38;:::i;:::-;6612:48;;6707:2;6696:9;6692:18;6679:32;6669:42;;6762:2;6751:9;6747:18;6734:32;6789:18;6781:6;6778:30;6775:50;;;6821:1;6818;6811:12;6775:50;6844:22;;6897:4;6889:13;;6885:27;-1:-1:-1;6875:55:1;;6926:1;6923;6916:12;6875:55;6949:74;7015:7;7010:2;6997:16;6992:2;6988;6984:11;6949:74;:::i;:::-;6939:84;;;6362:667;;;;;;;:::o;7034:260::-;7102:6;7110;7163:2;7151:9;7142:7;7138:23;7134:32;7131:52;;;7179:1;7176;7169:12;7131:52;7202:29;7221:9;7202:29;:::i;:::-;7192:39;;7250:38;7284:2;7273:9;7269:18;7250:38;:::i;:::-;7240:48;;7034:260;;;;;:::o;7299:380::-;7378:1;7374:12;;;;7421;;;7442:61;;7496:4;7488:6;7484:17;7474:27;;7442:61;7549:2;7541:6;7538:14;7518:18;7515:38;7512:161;;7595:10;7590:3;7586:20;7583:1;7576:31;7630:4;7627:1;7620:15;7658:4;7655:1;7648:15;7512:161;;7299:380;;;:::o;7684:127::-;7745:10;7740:3;7736:20;7733:1;7726:31;7776:4;7773:1;7766:15;7800:4;7797:1;7790:15;7816:125;7881:9;;;7902:10;;;7899:36;;;7915:18;;:::i;8297:127::-;8358:10;8353:3;8349:20;8346:1;8339:31;8389:4;8386:1;8379:15;8413:4;8410:1;8403:15;8429:135;8468:3;8489:17;;;8486:43;;8509:18;;:::i;:::-;-1:-1:-1;8556:1:1;8545:13;;8429:135::o;8695:545::-;8797:2;8792:3;8789:11;8786:448;;;8833:1;8858:5;8854:2;8847:17;8903:4;8899:2;8889:19;8973:2;8961:10;8957:19;8954:1;8950:27;8944:4;8940:38;9009:4;8997:10;8994:20;8991:47;;;-1:-1:-1;9032:4:1;8991:47;9087:2;9082:3;9078:12;9075:1;9071:20;9065:4;9061:31;9051:41;;9142:82;9160:2;9153:5;9150:13;9142:82;;;9205:17;;;9186:1;9175:13;9142:82;;9416:1352;9542:3;9536:10;9569:18;9561:6;9558:30;9555:56;;;9591:18;;:::i;:::-;9620:97;9710:6;9670:38;9702:4;9696:11;9670:38;:::i;:::-;9664:4;9620:97;:::i;:::-;9772:4;;9836:2;9825:14;;9853:1;9848:663;;;;10555:1;10572:6;10569:89;;;-1:-1:-1;10624:19:1;;;10618:26;10569:89;-1:-1:-1;;9373:1:1;9369:11;;;9365:24;9361:29;9351:40;9397:1;9393:11;;;9348:57;10671:81;;9818:944;;9848:663;8642:1;8635:14;;;8679:4;8666:18;;-1:-1:-1;;9884:20:1;;;10002:236;10016:7;10013:1;10010:14;10002:236;;;10105:19;;;10099:26;10084:42;;10197:27;;;;10165:1;10153:14;;;;10032:19;;10002:236;;;10006:3;10266:6;10257:7;10254:19;10251:201;;;10327:19;;;10321:26;-1:-1:-1;;10410:1:1;10406:14;;;10422:3;10402:24;10398:37;10394:42;10379:58;10364:74;;10251:201;-1:-1:-1;;;;;10498:1:1;10482:14;;;10478:22;10465:36;;-1:-1:-1;9416:1352:1:o;12159:128::-;12226:9;;;12247:11;;;12244:37;;;12261:18;;:::i;12292:168::-;12365:9;;;12396;;12413:15;;;12407:22;;12393:37;12383:71;;12434:18;;:::i;13231:663::-;13511:3;13549:6;13543:13;13565:66;13624:6;13619:3;13612:4;13604:6;13600:17;13565:66;:::i;:::-;13694:13;;13653:16;;;;13716:70;13694:13;13653:16;13763:4;13751:17;;13716:70;:::i;:::-;-1:-1:-1;;;13808:20:1;;13837:22;;;13886:1;13875:13;;13231:663;-1:-1:-1;;;;13231:663:1:o;14976:245::-;15043:6;15096:2;15084:9;15075:7;15071:23;15067:32;15064:52;;;15112:1;15109;15102:12;15064:52;15144:9;15138:16;15163:28;15185:5;15163:28;:::i;15586:489::-;-1:-1:-1;;;;;15855:15:1;;;15837:34;;15907:15;;15902:2;15887:18;;15880:43;15954:2;15939:18;;15932:34;;;16002:3;15997:2;15982:18;;15975:31;;;15780:4;;16023:46;;16049:19;;16041:6;16023:46;:::i;:::-;16015:54;15586:489;-1:-1:-1;;;;;;15586:489:1:o;16080:249::-;16149:6;16202:2;16190:9;16181:7;16177:23;16173:32;16170:52;;;16218:1;16215;16208:12;16170:52;16250:9;16244:16;16269:30;16293:5;16269:30;:::i
Swarm Source
ipfs://2d09cade6b75f6c2ce7bacc65e0e7a1e49387b7ef56689564fbdfa5de0ed424c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.