ERC-721
Overview
Max Total Supply
263 pAYXIS
Holders
71
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 pAYXISLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PlanetAyxis
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-16 */ // SPDX-License-Identifier: MIT // File: operator-filter-registry/src/lib/Constants.sol pragma solidity ^0.8.17; 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.8.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; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: 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: ayxis.sol pragma solidity >=0.7.0 <0.9.0; contract PlanetAyxis is ERC721A, Ownable, ReentrancyGuard, DefaultOperatorFilterer { uint256 public PRICE = 0.005 ether; uint256 public SUPPLY = 4000; uint256 public WalletLimit = 10; uint256 public TXLimit = 5; bool public paused = true; bool public isrevealed = false; string public BaseURI; string public HiddenURI; constructor() ERC721A("Planet Ayxis", "pAYXIS") {} function mintAyxis(uint256 nfts) public payable nonReentrant { require(!paused, "PAUSED"); require(nfts <= TXLimit, "TOO MUCH NFT TO MINT"); require(totalSupply() + nfts <= SUPPLY, "SOLDOUT"); require( numberMinted(_msgSenderERC721A()) + nfts <= WalletLimit, "WALLET LIMIT REACHED" ); require(msg.value >= PRICE * nfts, "NOT ENOUGH ETH"); _safeMint(_msgSenderERC721A(), nfts); } function ownermint(uint256 _mintAmount, address _address) public onlyOwner nonReentrant { require( totalSupply() + _mintAmount <= SUPPLY, "max NFT limit exceeded" ); _safeMint(_address, _mintAmount); } function burnAyxis(uint256 tokenId) external nonReentrant { require(ownerOf(tokenId) == _msgSenderERC721A(), "Not owner"); _burn(tokenId); } 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); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721AMetadata: URI query for nonexistent token" ); if (isrevealed == false) { return HiddenURI; } 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 numberBurned(address owner) public view returns (uint256) { return _numberBurned(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 reveal(bool _state) public onlyOwner { isrevealed = _state; } function setWalletLimit(uint256 _limit) public onlyOwner { WalletLimit = _limit; } function setTXLimit(uint256 _limit) public onlyOwner { TXLimit = _limit; } function setPrice(uint256 _newprice) public onlyOwner { PRICE = _newprice; } function setSupply(uint256 _newsupply) public onlyOwner { SUPPLY = _newsupply; } function setBASEURI(string memory _newBaseURI) public onlyOwner { BaseURI = _newBaseURI; } function setHiddenURI(string memory _newHidden) public onlyOwner { HiddenURI = _newHidden; } function pause(bool _state) public onlyOwner { paused = _state; } function withdrawFunds() public payable onlyOwner nonReentrant { uint256 balance = address(this).balance; payable(_msgSenderERC721A()).transfer(balance); } }
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":[],"name":"BaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TXLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnAyxis","outputs":[],"stateMutability":"nonpayable","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":"isrevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nfts","type":"uint256"}],"name":"mintAyxis","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":"numberBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_address","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":"bool","name":"_state","type":"bool"}],"name":"reveal","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":"string","name":"_newHidden","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newprice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setTXLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setWalletLimit","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":"withdrawFunds","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526611c37937e08000600a908155610fa0600b55600c556005600d55600e805461ffff191660011790553480156200003a57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600c81526020016b506c616e657420417978697360a01b8152506040518060400160405280600681526020016570415958495360d01b8152508160029081620000a7919062000312565b506003620000b6828262000312565b5050600160005550620000c9336200021b565b60016009556daaeb6d7670e522a718067333cd4e3b15620002135780156200016157604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014257600080fd5b505af115801562000157573d6000803e3d6000fd5b5050505062000213565b6001600160a01b03821615620001b25760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000127565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001f957600080fd5b505af11580156200020e573d6000803e3d6000fd5b505050505b5050620003de565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029857607f821691505b602082108103620002b957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030d57600081815260208120601f850160051c81016020861015620002e85750805b601f850160051c820191505b818110156200030957828155600101620002f4565b5050505b505050565b81516001600160401b038111156200032e576200032e6200026d565b62000346816200033f845462000283565b84620002bf565b602080601f8311600181146200037e5760008415620003655750858301515b600019600386901b1c1916600185901b17855562000309565b600085815260208120601f198616915b82811015620003af578886015182559484019460019091019084016200038e565b5085821015620003ce5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61208f80620003ee6000396000f3fe6080604052600436106102465760003560e01c80638d859f3e11610139578063bbaac02f116100b6578063e985e9c51161007a578063e985e9c514610654578063f1d5f51714610674578063f2fde38b14610694578063f4626e10146106b4578063faa22930146106c7578063ffcc43c4146106e757600080fd5b8063bbaac02f146105be578063c50497ae146105de578063c87b56dd146105f4578063d1320f7b14610614578063dc33e6811461063457600080fd5b80639bd5bdf3116100fd5780639bd5bdf3146105365780639c7eaa7614610556578063a22cb46514610575578063a4af744914610595578063b88d4fde146105ab57600080fd5b80638d859f3e146104ad5780638da5cb5b146104c357806391b7f5ed146104e1578063940cd05b1461050157806395d89b411461052157600080fd5b80632478d639116101c75780635c975abb1161018b5780635c975abb146104115780636352211e1461042b57806370a082311461044b578063715018a61461046b5780638462151c1461048057600080fd5b80632478d639146103865780633b4c4b25146103a657806341f43434146103c657806342842e0e146103e85780635426a580146103fb57600080fd5b806311d382431161020e57806311d382431461030f57806318160ddd1461032f5780631c6c46e31461035657806323b872dd1461036b57806324600fc31461037e57600080fd5b806301ffc9a71461024b57806302329a291461028057806306fdde03146102a2578063081812fc146102c4578063095ea7b3146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004611a76565b6106fc565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102a061029b366004611aa1565b61074e565b005b3480156102ae57600080fd5b506102b7610769565b6040516102779190611b0e565b3480156102d057600080fd5b506102e46102df366004611b21565b6107fb565b6040516001600160a01b039091168152602001610277565b6102a061030a366004611b56565b61083f565b34801561031b57600080fd5b506102a061032a366004611c0c565b6108df565b34801561033b57600080fd5b5060015460005403600019015b604051908152602001610277565b34801561036257600080fd5b506102b76108f7565b6102a0610379366004611c55565b610985565b6102a06109b0565b34801561039257600080fd5b506103486103a1366004611c91565b6109fd565b3480156103b257600080fd5b506102a06103c1366004611b21565b610a2b565b3480156103d257600080fd5b506102e46daaeb6d7670e522a718067333cd4e81565b6102a06103f6366004611c55565b610a38565b34801561040757600080fd5b50610348600c5481565b34801561041d57600080fd5b50600e5461026b9060ff1681565b34801561043757600080fd5b506102e4610446366004611b21565b610a5d565b34801561045757600080fd5b50610348610466366004611c91565b610a68565b34801561047757600080fd5b506102a0610ab7565b34801561048c57600080fd5b506104a061049b366004611c91565b610ac9565b6040516102779190611cac565b3480156104b957600080fd5b50610348600a5481565b3480156104cf57600080fd5b506008546001600160a01b03166102e4565b3480156104ed57600080fd5b506102a06104fc366004611b21565b610bd2565b34801561050d57600080fd5b506102a061051c366004611aa1565b610bdf565b34801561052d57600080fd5b506102b7610c01565b34801561054257600080fd5b506102a0610551366004611b21565b610c10565b34801561056257600080fd5b50600e5461026b90610100900460ff1681565b34801561058157600080fd5b506102a0610590366004611ce4565b610c7f565b3480156105a157600080fd5b50610348600d5481565b6102a06105b9366004611d1b565b610ceb565b3480156105ca57600080fd5b506102a06105d9366004611c0c565b610d18565b3480156105ea57600080fd5b50610348600b5481565b34801561060057600080fd5b506102b761060f366004611b21565b610d2c565b34801561062057600080fd5b506102a061062f366004611b21565b610e9e565b34801561064057600080fd5b5061034861064f366004611c91565b610eab565b34801561066057600080fd5b5061026b61066f366004611d97565b610ed6565b34801561068057600080fd5b506102a061068f366004611b21565b610f04565b3480156106a057600080fd5b506102a06106af366004611c91565b610f11565b6102a06106c2366004611b21565b610f87565b3480156106d357600080fd5b506102a06106e2366004611dca565b61111b565b3480156106f357600080fd5b506102b76111a1565b60006301ffc9a760e01b6001600160e01b03198316148061072d57506380ac58cd60e01b6001600160e01b03198316145b806107485750635b5e139f60e01b6001600160e01b03198316145b92915050565b6107566111ae565b600e805460ff1916911515919091179055565b60606002805461077890611ded565b80601f01602080910402602001604051908101604052809291908181526020018280546107a490611ded565b80156107f15780601f106107c6576101008083540402835291602001916107f1565b820191906000526020600020905b8154815290600101906020018083116107d457829003601f168201915b5050505050905090565b600061080682611208565b610823576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061084a82610a5d565b9050336001600160a01b03821614610883576108668133610ed6565b610883576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108e76111ae565b600f6108f38282611e6d565b5050565b6010805461090490611ded565b80601f016020809104026020016040519081016040528092919081815260200182805461093090611ded565b801561097d5780601f106109525761010080835404028352916020019161097d565b820191906000526020600020905b81548152906001019060200180831161096057829003601f168201915b505050505081565b826001600160a01b038116331461099f5761099f3361123d565b6109aa8484846112f6565b50505050565b6109b86111ae565b6109c0611487565b6040514790339082156108fc029083906000818181858888f193505050501580156109ef573d6000803e3d6000fd5b50506109fb6001600955565b565b6000610748826001600160a01b031660009081526005602052604090205460801c67ffffffffffffffff1690565b610a336111ae565b600b55565b826001600160a01b0381163314610a5257610a523361123d565b6109aa8484846114e0565b600061074882611500565b60006001600160a01b038216610a91576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610abf6111ae565b6109fb600061156f565b60606000806000610ad985610a68565b905060008167ffffffffffffffff811115610af657610af6611b80565b604051908082528060200260200182016040528015610b1f578160200160208202803683370190505b509050610b4c60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610bc657610b5f816115c1565b91508160400151610bbe5781516001600160a01b031615610b7f57815194505b876001600160a01b0316856001600160a01b031603610bbe5780838780600101985081518110610bb157610bb1611f2d565b6020026020010181815250505b600101610b4f565b50909695505050505050565b610bda6111ae565b600a55565b610be76111ae565b600e80549115156101000261ff0019909216919091179055565b60606003805461077890611ded565b610c18611487565b33610c2282610a5d565b6001600160a01b031614610c695760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b60448201526064015b60405180910390fd5b610c7281611640565b610c7c6001600955565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836001600160a01b0381163314610d0557610d053361123d565b610d118585858561164b565b5050505050565b610d206111ae565b60106108f38282611e6d565b6060610d3782611208565b610d9c5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610c60565b600e54610100900460ff161515600003610e425760108054610dbd90611ded565b80601f0160208091040260200160405190810160405280929190818152602001828054610de990611ded565b8015610e365780601f10610e0b57610100808354040283529160200191610e36565b820191906000526020600020905b815481529060010190602001808311610e1957829003601f168201915b50505050509050919050565b6000610e4c61168f565b90506000815111610e6c5760405180602001604052806000815250610e97565b80610e768461169e565b604051602001610e87929190611f43565b6040516020818303038152906040525b9392505050565b610ea66111ae565b600d55565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610748565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f0c6111ae565b600c55565b610f196111ae565b6001600160a01b038116610f7e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c60565b610c7c8161156f565b610f8f611487565b600e5460ff1615610fcb5760405162461bcd60e51b815260206004820152600660248201526514105554d15160d21b6044820152606401610c60565b600d548111156110145760405162461bcd60e51b81526020600482015260146024820152731513d3c8135550d208139195081513c81352539560621b6044820152606401610c60565b600b54600154600054839190036000190161102f9190611f98565b11156110675760405162461bcd60e51b815260206004820152600760248201526614d3d31113d55560ca1b6044820152606401610c60565b600c548161107433610eab565b61107e9190611f98565b11156110c35760405162461bcd60e51b815260206004820152601460248201527315d0531311550813125352550814915050d2115160621b6044820152606401610c60565b80600a546110d19190611fab565b3410156111115760405162461bcd60e51b815260206004820152600e60248201526d09c9ea8408a9c9eaa8e90408aa8960931b6044820152606401610c60565b610c7233826116e2565b6111236111ae565b61112b611487565b600b5460015460005484919003600019016111469190611f98565b111561118d5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610c60565b61119781836116e2565b6108f36001600955565b600f805461090490611ded565b6008546001600160a01b031633146109fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c60565b60008160011115801561121c575060005482105b8015610748575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610c7c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156112aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ce9190611fc2565b610c7c57604051633b79c77360e21b81526001600160a01b0382166004820152602401610c60565b600061130182611500565b9050836001600160a01b0316816001600160a01b0316146113345760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546113608187335b6001600160a01b039081169116811491141790565b61138b5761136e8633610ed6565b61138b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166113b257604051633a954ecd60e21b815260040160405180910390fd5b80156113bd57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361144f5760018401600081815260046020526040812054900361144d57600054811461144d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b031660008051602061203a83398151915260405160405180910390a45b505050505050565b6002600954036114d95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c60565b6002600955565b6114fb83838360405180602001604052806000815250610ceb565b505050565b60008180600111611556576000548110156115565760008181526004602052604081205490600160e01b82169003611554575b80600003610e97575060001901600081815260046020526040902054611533565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461074890604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b610c7c8160006116fc565b611656848484610985565b6001600160a01b0383163b156109aa5761167284848484611834565b6109aa576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f805461077890611ded565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806116b85750819003601f19909101908152919050565b6108f3828260405180602001604052806000815250611920565b600061170783611500565b90508060008061172586600090815260066020526040902080549091565b9150915084156117655761173a81843361134b565b611765576117488333610ed6565b61176557604051632ce44b5f60e11b815260040160405180910390fd5b801561177057600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036117fe576001860160008181526004602052604081205490036117fc5760005481146117fc5760008181526004602052604090208590555b505b60405186906000906001600160a01b0386169060008051602061203a833981519152908390a45050600180548101905550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611869903390899088908890600401611fdf565b6020604051808303816000875af19250505080156118a4575060408051601f3d908101601f191682019092526118a19181019061201c565b60015b611902573d8080156118d2576040519150601f19603f3d011682016040523d82523d6000602084013e6118d7565b606091505b5080516000036118fa576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b61192a8383611986565b6001600160a01b0383163b156114fb576000548281035b6119546000868380600101945086611834565b611971576040516368d2bf6b60e11b815260040160405180910390fd5b818110611941578160005414610d1157600080fd5b60008054908290036119ab5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b1783179055828401908390839060008051602061203a8339815191528180a4600183015b818114611a36578083600060008051602061203a833981519152600080a4600101611a10565b5081600003611a5757604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610c7c57600080fd5b600060208284031215611a8857600080fd5b8135610e9781611a60565b8015158114610c7c57600080fd5b600060208284031215611ab357600080fd5b8135610e9781611a93565b60005b83811015611ad9578181015183820152602001611ac1565b50506000910152565b60008151808452611afa816020860160208601611abe565b601f01601f19169290920160200192915050565b602081526000610e976020830184611ae2565b600060208284031215611b3357600080fd5b5035919050565b80356001600160a01b0381168114611b5157600080fd5b919050565b60008060408385031215611b6957600080fd5b611b7283611b3a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611bb157611bb1611b80565b604051601f8501601f19908116603f01168101908282118183101715611bd957611bd9611b80565b81604052809350858152868686011115611bf257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c1e57600080fd5b813567ffffffffffffffff811115611c3557600080fd5b8201601f81018413611c4657600080fd5b61191884823560208401611b96565b600080600060608486031215611c6a57600080fd5b611c7384611b3a565b9250611c8160208501611b3a565b9150604084013590509250925092565b600060208284031215611ca357600080fd5b610e9782611b3a565b6020808252825182820181905260009190848201906040850190845b81811015610bc657835183529284019291840191600101611cc8565b60008060408385031215611cf757600080fd5b611d0083611b3a565b91506020830135611d1081611a93565b809150509250929050565b60008060008060808587031215611d3157600080fd5b611d3a85611b3a565b9350611d4860208601611b3a565b925060408501359150606085013567ffffffffffffffff811115611d6b57600080fd5b8501601f81018713611d7c57600080fd5b611d8b87823560208401611b96565b91505092959194509250565b60008060408385031215611daa57600080fd5b611db383611b3a565b9150611dc160208401611b3a565b90509250929050565b60008060408385031215611ddd57600080fd5b82359150611dc160208401611b3a565b600181811c90821680611e0157607f821691505b602082108103611e2157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114fb57600081815260208120601f850160051c81016020861015611e4e5750805b601f850160051c820191505b8181101561147f57828155600101611e5a565b815167ffffffffffffffff811115611e8757611e87611b80565b611e9b81611e958454611ded565b84611e27565b602080601f831160018114611ed05760008415611eb85750858301515b600019600386901b1c1916600185901b17855561147f565b600085815260208120601f198616915b82811015611eff57888601518255948401946001909101908401611ee0565b5085821015611f1d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60008351611f55818460208801611abe565b835190830190611f69818360208801611abe565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074857610748611f82565b808202811582820484141761074857610748611f82565b600060208284031215611fd457600080fd5b8151610e9781611a93565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061201290830184611ae2565b9695505050505050565b60006020828403121561202e57600080fd5b8151610e9781611a6056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122021e076f60aa4d3bf3089fc72b6b3a97e0a464d21cb660807684dc1defddf1def64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102465760003560e01c80638d859f3e11610139578063bbaac02f116100b6578063e985e9c51161007a578063e985e9c514610654578063f1d5f51714610674578063f2fde38b14610694578063f4626e10146106b4578063faa22930146106c7578063ffcc43c4146106e757600080fd5b8063bbaac02f146105be578063c50497ae146105de578063c87b56dd146105f4578063d1320f7b14610614578063dc33e6811461063457600080fd5b80639bd5bdf3116100fd5780639bd5bdf3146105365780639c7eaa7614610556578063a22cb46514610575578063a4af744914610595578063b88d4fde146105ab57600080fd5b80638d859f3e146104ad5780638da5cb5b146104c357806391b7f5ed146104e1578063940cd05b1461050157806395d89b411461052157600080fd5b80632478d639116101c75780635c975abb1161018b5780635c975abb146104115780636352211e1461042b57806370a082311461044b578063715018a61461046b5780638462151c1461048057600080fd5b80632478d639146103865780633b4c4b25146103a657806341f43434146103c657806342842e0e146103e85780635426a580146103fb57600080fd5b806311d382431161020e57806311d382431461030f57806318160ddd1461032f5780631c6c46e31461035657806323b872dd1461036b57806324600fc31461037e57600080fd5b806301ffc9a71461024b57806302329a291461028057806306fdde03146102a2578063081812fc146102c4578063095ea7b3146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004611a76565b6106fc565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102a061029b366004611aa1565b61074e565b005b3480156102ae57600080fd5b506102b7610769565b6040516102779190611b0e565b3480156102d057600080fd5b506102e46102df366004611b21565b6107fb565b6040516001600160a01b039091168152602001610277565b6102a061030a366004611b56565b61083f565b34801561031b57600080fd5b506102a061032a366004611c0c565b6108df565b34801561033b57600080fd5b5060015460005403600019015b604051908152602001610277565b34801561036257600080fd5b506102b76108f7565b6102a0610379366004611c55565b610985565b6102a06109b0565b34801561039257600080fd5b506103486103a1366004611c91565b6109fd565b3480156103b257600080fd5b506102a06103c1366004611b21565b610a2b565b3480156103d257600080fd5b506102e46daaeb6d7670e522a718067333cd4e81565b6102a06103f6366004611c55565b610a38565b34801561040757600080fd5b50610348600c5481565b34801561041d57600080fd5b50600e5461026b9060ff1681565b34801561043757600080fd5b506102e4610446366004611b21565b610a5d565b34801561045757600080fd5b50610348610466366004611c91565b610a68565b34801561047757600080fd5b506102a0610ab7565b34801561048c57600080fd5b506104a061049b366004611c91565b610ac9565b6040516102779190611cac565b3480156104b957600080fd5b50610348600a5481565b3480156104cf57600080fd5b506008546001600160a01b03166102e4565b3480156104ed57600080fd5b506102a06104fc366004611b21565b610bd2565b34801561050d57600080fd5b506102a061051c366004611aa1565b610bdf565b34801561052d57600080fd5b506102b7610c01565b34801561054257600080fd5b506102a0610551366004611b21565b610c10565b34801561056257600080fd5b50600e5461026b90610100900460ff1681565b34801561058157600080fd5b506102a0610590366004611ce4565b610c7f565b3480156105a157600080fd5b50610348600d5481565b6102a06105b9366004611d1b565b610ceb565b3480156105ca57600080fd5b506102a06105d9366004611c0c565b610d18565b3480156105ea57600080fd5b50610348600b5481565b34801561060057600080fd5b506102b761060f366004611b21565b610d2c565b34801561062057600080fd5b506102a061062f366004611b21565b610e9e565b34801561064057600080fd5b5061034861064f366004611c91565b610eab565b34801561066057600080fd5b5061026b61066f366004611d97565b610ed6565b34801561068057600080fd5b506102a061068f366004611b21565b610f04565b3480156106a057600080fd5b506102a06106af366004611c91565b610f11565b6102a06106c2366004611b21565b610f87565b3480156106d357600080fd5b506102a06106e2366004611dca565b61111b565b3480156106f357600080fd5b506102b76111a1565b60006301ffc9a760e01b6001600160e01b03198316148061072d57506380ac58cd60e01b6001600160e01b03198316145b806107485750635b5e139f60e01b6001600160e01b03198316145b92915050565b6107566111ae565b600e805460ff1916911515919091179055565b60606002805461077890611ded565b80601f01602080910402602001604051908101604052809291908181526020018280546107a490611ded565b80156107f15780601f106107c6576101008083540402835291602001916107f1565b820191906000526020600020905b8154815290600101906020018083116107d457829003601f168201915b5050505050905090565b600061080682611208565b610823576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061084a82610a5d565b9050336001600160a01b03821614610883576108668133610ed6565b610883576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108e76111ae565b600f6108f38282611e6d565b5050565b6010805461090490611ded565b80601f016020809104026020016040519081016040528092919081815260200182805461093090611ded565b801561097d5780601f106109525761010080835404028352916020019161097d565b820191906000526020600020905b81548152906001019060200180831161096057829003601f168201915b505050505081565b826001600160a01b038116331461099f5761099f3361123d565b6109aa8484846112f6565b50505050565b6109b86111ae565b6109c0611487565b6040514790339082156108fc029083906000818181858888f193505050501580156109ef573d6000803e3d6000fd5b50506109fb6001600955565b565b6000610748826001600160a01b031660009081526005602052604090205460801c67ffffffffffffffff1690565b610a336111ae565b600b55565b826001600160a01b0381163314610a5257610a523361123d565b6109aa8484846114e0565b600061074882611500565b60006001600160a01b038216610a91576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610abf6111ae565b6109fb600061156f565b60606000806000610ad985610a68565b905060008167ffffffffffffffff811115610af657610af6611b80565b604051908082528060200260200182016040528015610b1f578160200160208202803683370190505b509050610b4c60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610bc657610b5f816115c1565b91508160400151610bbe5781516001600160a01b031615610b7f57815194505b876001600160a01b0316856001600160a01b031603610bbe5780838780600101985081518110610bb157610bb1611f2d565b6020026020010181815250505b600101610b4f565b50909695505050505050565b610bda6111ae565b600a55565b610be76111ae565b600e80549115156101000261ff0019909216919091179055565b60606003805461077890611ded565b610c18611487565b33610c2282610a5d565b6001600160a01b031614610c695760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b60448201526064015b60405180910390fd5b610c7281611640565b610c7c6001600955565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836001600160a01b0381163314610d0557610d053361123d565b610d118585858561164b565b5050505050565b610d206111ae565b60106108f38282611e6d565b6060610d3782611208565b610d9c5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610c60565b600e54610100900460ff161515600003610e425760108054610dbd90611ded565b80601f0160208091040260200160405190810160405280929190818152602001828054610de990611ded565b8015610e365780601f10610e0b57610100808354040283529160200191610e36565b820191906000526020600020905b815481529060010190602001808311610e1957829003601f168201915b50505050509050919050565b6000610e4c61168f565b90506000815111610e6c5760405180602001604052806000815250610e97565b80610e768461169e565b604051602001610e87929190611f43565b6040516020818303038152906040525b9392505050565b610ea66111ae565b600d55565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610748565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f0c6111ae565b600c55565b610f196111ae565b6001600160a01b038116610f7e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c60565b610c7c8161156f565b610f8f611487565b600e5460ff1615610fcb5760405162461bcd60e51b815260206004820152600660248201526514105554d15160d21b6044820152606401610c60565b600d548111156110145760405162461bcd60e51b81526020600482015260146024820152731513d3c8135550d208139195081513c81352539560621b6044820152606401610c60565b600b54600154600054839190036000190161102f9190611f98565b11156110675760405162461bcd60e51b815260206004820152600760248201526614d3d31113d55560ca1b6044820152606401610c60565b600c548161107433610eab565b61107e9190611f98565b11156110c35760405162461bcd60e51b815260206004820152601460248201527315d0531311550813125352550814915050d2115160621b6044820152606401610c60565b80600a546110d19190611fab565b3410156111115760405162461bcd60e51b815260206004820152600e60248201526d09c9ea8408a9c9eaa8e90408aa8960931b6044820152606401610c60565b610c7233826116e2565b6111236111ae565b61112b611487565b600b5460015460005484919003600019016111469190611f98565b111561118d5760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610c60565b61119781836116e2565b6108f36001600955565b600f805461090490611ded565b6008546001600160a01b031633146109fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c60565b60008160011115801561121c575060005482105b8015610748575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610c7c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156112aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ce9190611fc2565b610c7c57604051633b79c77360e21b81526001600160a01b0382166004820152602401610c60565b600061130182611500565b9050836001600160a01b0316816001600160a01b0316146113345760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546113608187335b6001600160a01b039081169116811491141790565b61138b5761136e8633610ed6565b61138b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166113b257604051633a954ecd60e21b815260040160405180910390fd5b80156113bd57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361144f5760018401600081815260046020526040812054900361144d57600054811461144d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b031660008051602061203a83398151915260405160405180910390a45b505050505050565b6002600954036114d95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c60565b6002600955565b6114fb83838360405180602001604052806000815250610ceb565b505050565b60008180600111611556576000548110156115565760008181526004602052604081205490600160e01b82169003611554575b80600003610e97575060001901600081815260046020526040902054611533565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461074890604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b610c7c8160006116fc565b611656848484610985565b6001600160a01b0383163b156109aa5761167284848484611834565b6109aa576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f805461077890611ded565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806116b85750819003601f19909101908152919050565b6108f3828260405180602001604052806000815250611920565b600061170783611500565b90508060008061172586600090815260066020526040902080549091565b9150915084156117655761173a81843361134b565b611765576117488333610ed6565b61176557604051632ce44b5f60e11b815260040160405180910390fd5b801561177057600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036117fe576001860160008181526004602052604081205490036117fc5760005481146117fc5760008181526004602052604090208590555b505b60405186906000906001600160a01b0386169060008051602061203a833981519152908390a45050600180548101905550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611869903390899088908890600401611fdf565b6020604051808303816000875af19250505080156118a4575060408051601f3d908101601f191682019092526118a19181019061201c565b60015b611902573d8080156118d2576040519150601f19603f3d011682016040523d82523d6000602084013e6118d7565b606091505b5080516000036118fa576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b61192a8383611986565b6001600160a01b0383163b156114fb576000548281035b6119546000868380600101945086611834565b611971576040516368d2bf6b60e11b815260040160405180910390fd5b818110611941578160005414610d1157600080fd5b60008054908290036119ab5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b1783179055828401908390839060008051602061203a8339815191528180a4600183015b818114611a36578083600060008051602061203a833981519152600080a4600101611a10565b5081600003611a5757604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610c7c57600080fd5b600060208284031215611a8857600080fd5b8135610e9781611a60565b8015158114610c7c57600080fd5b600060208284031215611ab357600080fd5b8135610e9781611a93565b60005b83811015611ad9578181015183820152602001611ac1565b50506000910152565b60008151808452611afa816020860160208601611abe565b601f01601f19169290920160200192915050565b602081526000610e976020830184611ae2565b600060208284031215611b3357600080fd5b5035919050565b80356001600160a01b0381168114611b5157600080fd5b919050565b60008060408385031215611b6957600080fd5b611b7283611b3a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611bb157611bb1611b80565b604051601f8501601f19908116603f01168101908282118183101715611bd957611bd9611b80565b81604052809350858152868686011115611bf257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c1e57600080fd5b813567ffffffffffffffff811115611c3557600080fd5b8201601f81018413611c4657600080fd5b61191884823560208401611b96565b600080600060608486031215611c6a57600080fd5b611c7384611b3a565b9250611c8160208501611b3a565b9150604084013590509250925092565b600060208284031215611ca357600080fd5b610e9782611b3a565b6020808252825182820181905260009190848201906040850190845b81811015610bc657835183529284019291840191600101611cc8565b60008060408385031215611cf757600080fd5b611d0083611b3a565b91506020830135611d1081611a93565b809150509250929050565b60008060008060808587031215611d3157600080fd5b611d3a85611b3a565b9350611d4860208601611b3a565b925060408501359150606085013567ffffffffffffffff811115611d6b57600080fd5b8501601f81018713611d7c57600080fd5b611d8b87823560208401611b96565b91505092959194509250565b60008060408385031215611daa57600080fd5b611db383611b3a565b9150611dc160208401611b3a565b90509250929050565b60008060408385031215611ddd57600080fd5b82359150611dc160208401611b3a565b600181811c90821680611e0157607f821691505b602082108103611e2157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114fb57600081815260208120601f850160051c81016020861015611e4e5750805b601f850160051c820191505b8181101561147f57828155600101611e5a565b815167ffffffffffffffff811115611e8757611e87611b80565b611e9b81611e958454611ded565b84611e27565b602080601f831160018114611ed05760008415611eb85750858301515b600019600386901b1c1916600185901b17855561147f565b600085815260208120601f198616915b82811015611eff57888601518255948401946001909101908401611ee0565b5085821015611f1d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60008351611f55818460208801611abe565b835190830190611f69818360208801611abe565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074857610748611f82565b808202811582820484141761074857610748611f82565b600060208284031215611fd457600080fd5b8151610e9781611a93565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061201290830184611ae2565b9695505050505050565b60006020828403121561202e57600080fd5b8151610e9781611a6056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122021e076f60aa4d3bf3089fc72b6b3a97e0a464d21cb660807684dc1defddf1def64736f6c63430008110033
Deployed Bytecode Sourcemap
69164:5257:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36064:639;;;;;;;;;;-1:-1:-1;36064:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36064:639:0;;;;;;;;74153:79;;;;;;;;;;-1:-1:-1;74153:79:0;;;;;:::i;:::-;;:::i;:::-;;36966:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43457:218::-;;;;;;;;;;-1:-1:-1;43457:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;43457:218:0;1902:203:1;42890:408:0;;;;;;:::i;:::-;;:::i;73927:104::-;;;;;;;;;;-1:-1:-1;73927:104:0;;;;;:::i;:::-;;:::i;32717:323::-;;;;;;;;;;-1:-1:-1;70771:1:0;32991:12;32778:7;32975:13;:28;-1:-1:-1;;32975:46:0;32717:323;;;3918:25:1;;;3906:2;3891:18;32717:323:0;3772:177:1;69519:23:0;;;;;;;;;;;;;:::i;70788:205::-;;;;;;:::i;:::-;;:::i;74240:178::-;;;:::i;72323:113::-;;;;;;;;;;-1:-1:-1;72323:113:0;;;;;:::i;:::-;;:::i;73825:94::-;;;;;;;;;;-1:-1:-1;73825:94:0;;;;;:::i;:::-;;:::i;7768:143::-;;;;;;;;;;;;184:42;7768:143;;71001:213;;;;;;:::i;:::-;;:::i;69351:31::-;;;;;;;;;;;;;;;;69422:25;;;;;;;;;;-1:-1:-1;69422:25:0;;;;;;;;38359:152;;;;;;;;;;-1:-1:-1;38359:152:0;;;;;:::i;:::-;;:::i;33901:233::-;;;;;;;;;;-1:-1:-1;33901:233:0;;;;;:::i;:::-;;:::i;16843:103::-;;;;;;;;;;;;;:::i;72444:979::-;;;;;;;;;;-1:-1:-1;72444:979:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;69275:34::-;;;;;;;;;;;;;;;;16195:87;;;;;;;;;;-1:-1:-1;16268:6:0;;-1:-1:-1;;;;;16268:6:0;16195:87;;73727:90;;;;;;;;;;-1:-1:-1;73727:90:0;;;;;:::i;:::-;;:::i;73431:84::-;;;;;;;;;;-1:-1:-1;73431:84:0;;;;;:::i;:::-;;:::i;37142:104::-;;;;;;;;;;;;;:::i;70392:163::-;;;;;;;;;;-1:-1:-1;70392:163:0;;;;;:::i;:::-;;:::i;69454:30::-;;;;;;;;;;-1:-1:-1;69454:30:0;;;;;;;;;;;44015:234;;;;;;;;;;-1:-1:-1;44015:234:0;;;;;:::i;:::-;;:::i;69389:26::-;;;;;;;;;;;;;;;;71222:247;;;;;;:::i;:::-;;:::i;74039:106::-;;;;;;;;;;-1:-1:-1;74039:106:0;;;;;:::i;:::-;;:::i;69316:28::-;;;;;;;;;;;;;;;;71477:717;;;;;;;;;;-1:-1:-1;71477:717:0;;;;;:::i;:::-;;:::i;73631:88::-;;;;;;;;;;-1:-1:-1;73631:88:0;;;;;:::i;:::-;;:::i;72202:113::-;;;;;;;;;;-1:-1:-1;72202:113:0;;;;;:::i;:::-;;:::i;44406:164::-;;;;;;;;;;-1:-1:-1;44406:164:0;;;;;:::i;:::-;;:::i;73523:96::-;;;;;;;;;;-1:-1:-1;73523:96:0;;;;;:::i;:::-;;:::i;17101:201::-;;;;;;;;;;-1:-1:-1;17101:201:0;;;;;:::i;:::-;;:::i;69609:474::-;;;;;;:::i;:::-;;:::i;70091:293::-;;;;;;;;;;-1:-1:-1;70091:293:0;;;;;:::i;:::-;;:::i;69491:21::-;;;;;;;;;;;;;:::i;36064:639::-;36149:4;-1:-1:-1;;;;;;;;;36473:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36550:25:0;;;36473:102;:179;;;-1:-1:-1;;;;;;;;;;36627:25:0;;;36473:179;36453:199;36064:639;-1:-1:-1;;36064:639:0:o;74153:79::-;16081:13;:11;:13::i;:::-;74209:6:::1;:15:::0;;-1:-1:-1;;74209:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;74153:79::o;36966:100::-;37020:13;37053:5;37046:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36966:100;:::o;43457:218::-;43533:7;43558:16;43566:7;43558;:16::i;:::-;43553:64;;43583:34;;-1:-1:-1;;;43583:34:0;;;;;;;;;;;43553:64;-1:-1:-1;43637:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43637:30:0;;43457:218::o;42890:408::-;42979:13;42995:16;43003:7;42995;:16::i;:::-;42979:32;-1:-1:-1;67223:10:0;-1:-1:-1;;;;;43028:28:0;;;43024:175;;43076:44;43093:5;67223:10;44406:164;:::i;43076:44::-;43071:128;;43148:35;;-1:-1:-1;;;43148:35:0;;;;;;;;;;;43071:128;43211:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43211:35:0;-1:-1:-1;;;;;43211:35:0;;;;;;;;;43262:28;;43211:24;;43262:28;;;;;;;42968:330;42890:408;;:::o;73927:104::-;16081:13;:11;:13::i;:::-;74002:7:::1;:21;74012:11:::0;74002:7;:21:::1;:::i;:::-;;73927:104:::0;:::o;69519:23::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;70788:205::-;70931:4;-1:-1:-1;;;;;9276:18:0;;9284:10;9276:18;9272:83;;9311:32;9332:10;9311:20;:32::i;:::-;70948:37:::1;70967:4;70973:2;70977:7;70948:18;:37::i;:::-;70788:205:::0;;;;:::o;74240:178::-;16081:13;:11;:13::i;:::-;13466:21:::1;:19;:21::i;:::-;74364:46:::2;::::0;74332:21:::2;::::0;67223:10;;74364:46;::::2;;;::::0;74332:21;;74364:46:::2;::::0;;;74332:21;67223:10;74364:46;::::2;;;;;;;;;;;;;::::0;::::2;;;;;;74303:115;13510:20:::1;12904:1:::0;14030:7;:22;13847:213;13510:20:::1;74240:178::o:0;72323:113::-;72381:7;72408:20;72422:5;-1:-1:-1;;;;;34581:25:0;34553:7;34581:25;;;:18;:25;;;;;;28325:3;34581:50;28060:13;34580:82;;34492:178;73825:94;16081:13;:11;:13::i;:::-;73892:6:::1;:19:::0;73825:94::o;71001:213::-;71148:4;-1:-1:-1;;;;;9276:18:0;;9284:10;9276:18;9272:83;;9311:32;9332:10;9311:20;:32::i;:::-;71165:41:::1;71188:4;71194:2;71198:7;71165:22;:41::i;38359:152::-:0;38431:7;38474:27;38493:7;38474:18;:27::i;33901:233::-;33973:7;-1:-1:-1;;;;;33997:19:0;;33993:60;;34025:28;;-1:-1:-1;;;34025:28:0;;;;;;;;;;;33993:60;-1:-1:-1;;;;;;34071:25:0;;;;;:18;:25;;;;;;28060:13;34071:55;;33901:233::o;16843:103::-;16081:13;:11;:13::i;:::-;16908:30:::1;16935:1;16908:18;:30::i;72444:979::-:0;72530:16;72589:19;72623:25;72663:22;72688:16;72698:5;72688:9;:16::i;:::-;72663:41;;72719:25;72761:14;72747:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72747:29:0;;72719:57;;72791:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72791:31:0;70771:1;72837:538;72921:14;72906:11;:29;72837:538;;73004:15;73017:1;73004:12;:15::i;:::-;72992:27;;73042:9;:16;;;73083:8;73038:73;73133:14;;-1:-1:-1;;;;;73133:28:0;;73129:111;;73206:14;;;-1:-1:-1;73129:111:0;73283:5;-1:-1:-1;;;;;73262:26:0;:17;-1:-1:-1;;;;;73262:26:0;;73258:102;;73339:1;73313:8;73322:13;;;;;;73313:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;73258:102;72954:3;;72837:538;;;-1:-1:-1;73396:8:0;;72444:979;-1:-1:-1;;;;;;72444:979:0:o;73727:90::-;16081:13;:11;:13::i;:::-;73792:5:::1;:17:::0;73727:90::o;73431:84::-;16081:13;:11;:13::i;:::-;73488:10:::1;:19:::0;;;::::1;;;;-1:-1:-1::0;;73488:19:0;;::::1;::::0;;;::::1;::::0;;73431:84::o;37142:104::-;37198:13;37231:7;37224:14;;;;;:::i;70392:163::-;13466:21;:19;:21::i;:::-;67223:10;70469:16:::1;70477:7:::0;70469::::1;:16::i;:::-;-1:-1:-1::0;;;;;70469:39:0::1;;70461:61;;;::::0;-1:-1:-1;;;70461:61:0;;9793:2:1;70461:61:0::1;::::0;::::1;9775:21:1::0;9832:1;9812:18;;;9805:29;-1:-1:-1;;;9850:18:1;;;9843:39;9899:18;;70461:61:0::1;;;;;;;;;70533:14;70539:7;70533:5;:14::i;:::-;13510:20:::0;12904:1;14030:7;:22;13847:213;13510:20;70392:163;:::o;44015:234::-;67223:10;44110:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44110:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44110:60:0;;;;;;;;;;44186:55;;540:41:1;;;44110:49:0;;67223:10;44186:55;;513:18:1;44186:55:0;;;;;;;44015:234;;:::o;71222:247::-;71397:4;-1:-1:-1;;;;;9276:18:0;;9284:10;9276:18;9272:83;;9311:32;9332:10;9311:20;:32::i;:::-;71414:47:::1;71437:4;71443:2;71447:7;71456:4;71414:22;:47::i;:::-;71222:247:::0;;;;;:::o;74039:106::-;16081:13;:11;:13::i;:::-;74115:9:::1;:22;74127:10:::0;74115:9;:22:::1;:::i;71477:717::-:0;71595:13;71648:16;71656:7;71648;:16::i;:::-;71626:114;;;;-1:-1:-1;;;71626:114:0;;10130:2:1;71626:114:0;;;10112:21:1;10169:2;10149:18;;;10142:30;10208:34;10188:18;;;10181:62;-1:-1:-1;;;10259:18:1;;;10252:46;10315:19;;71626:114:0;9928:412:1;71626:114:0;71757:10;;;;;;;:19;;71771:5;71757:19;71753:68;;71800:9;71793:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71477:717;;;:::o;71753:68::-;71833:28;71864:10;:8;:10::i;:::-;71833:41;;71936:1;71911:14;71905:28;:32;:281;;;;;;;;;;;;;;;;;72029:14;72070:18;72080:7;72070:9;:18::i;:::-;71986:159;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71905:281;71885:301;71477:717;-1:-1:-1;;;71477:717:0:o;73631:88::-;16081:13;:11;:13::i;:::-;73695:7:::1;:16:::0;73631:88::o;72202:113::-;-1:-1:-1;;;;;34305:25:0;;72260:7;34305:25;;;:18;:25;;28198:2;34305:25;;;;28060:13;34305:50;;34304:82;72287:20;34216:178;44406:164;-1:-1:-1;;;;;44527:25:0;;;44503:4;44527:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44406:164::o;73523:96::-;16081:13;:11;:13::i;:::-;73591:11:::1;:20:::0;73523:96::o;17101:201::-;16081:13;:11;:13::i;:::-;-1:-1:-1;;;;;17190:22:0;::::1;17182:73;;;::::0;-1:-1:-1;;;17182:73:0;;11215:2:1;17182:73:0::1;::::0;::::1;11197:21:1::0;11254:2;11234:18;;;11227:30;11293:34;11273:18;;;11266:62;-1:-1:-1;;;11344:18:1;;;11337:36;11390:19;;17182:73:0::1;11013:402:1::0;17182:73:0::1;17266:28;17285:8;17266:18;:28::i;69609:474::-:0;13466:21;:19;:21::i;:::-;69690:6:::1;::::0;::::1;;69689:7;69681:26;;;::::0;-1:-1:-1;;;69681:26:0;;11622:2:1;69681:26:0::1;::::0;::::1;11604:21:1::0;11661:1;11641:18;;;11634:29;-1:-1:-1;;;11679:18:1;;;11672:36;11725:18;;69681:26:0::1;11420:329:1::0;69681:26:0::1;69734:7;;69726:4;:15;;69718:48;;;::::0;-1:-1:-1;;;69718:48:0;;11956:2:1;69718:48:0::1;::::0;::::1;11938:21:1::0;11995:2;11975:18;;;11968:30;-1:-1:-1;;;12014:18:1;;;12007:50;12074:18;;69718:48:0::1;11754:344:1::0;69718:48:0::1;69809:6;::::0;70771:1;32991:12;32778:7;32975:13;69801:4;;32975:28;;-1:-1:-1;;32975:46:0;69785:20:::1;;;;:::i;:::-;:30;;69777:50;;;::::0;-1:-1:-1;;;69777:50:0;;12567:2:1;69777:50:0::1;::::0;::::1;12549:21:1::0;12606:1;12586:18;;;12579:29;-1:-1:-1;;;12624:18:1;;;12617:37;12671:18;;69777:50:0::1;12365:330:1::0;69777:50:0::1;69904:11;::::0;69896:4;69860:33:::1;67223:10:::0;72202:113;:::i;69860:33::-:1;:40;;;;:::i;:::-;:55;;69838:125;;;::::0;-1:-1:-1;;;69838:125:0;;12902:2:1;69838:125:0::1;::::0;::::1;12884:21:1::0;12941:2;12921:18;;;12914:30;-1:-1:-1;;;12960:18:1;;;12953:50;13020:18;;69838:125:0::1;12700:344:1::0;69838:125:0::1;70003:4;69995:5;;:12;;;;:::i;:::-;69982:9;:25;;69974:52;;;::::0;-1:-1:-1;;;69974:52:0;;13424:2:1;69974:52:0::1;::::0;::::1;13406:21:1::0;13463:2;13443:18;;;13436:30;-1:-1:-1;;;13482:18:1;;;13475:44;13536:18;;69974:52:0::1;13222:338:1::0;69974:52:0::1;70039:36;67223:10:::0;70070:4:::1;70039:9;:36::i;70091:293::-:0;16081:13;:11;:13::i;:::-;13466:21:::1;:19;:21::i;:::-;70275:6:::2;::::0;70771:1;32991:12;32778:7;32975:13;70260:11;;32975:28;;-1:-1:-1;;32975:46:0;70244:27:::2;;;;:::i;:::-;:37;;70222:109;;;::::0;-1:-1:-1;;;70222:109:0;;13767:2:1;70222:109:0::2;::::0;::::2;13749:21:1::0;13806:2;13786:18;;;13779:30;-1:-1:-1;;;13825:18:1;;;13818:52;13887:18;;70222:109:0::2;13565:346:1::0;70222:109:0::2;70344:32;70354:8;70364:11;70344:9;:32::i;:::-;13510:20:::1;12904:1:::0;14030:7;:22;13847:213;69491:21;;;;;;;:::i;16360:132::-;16268:6;;-1:-1:-1;;;;;16268:6:0;67223:10;16424:23;16416:68;;;;-1:-1:-1;;;16416:68:0;;14118:2:1;16416:68:0;;;14100:21:1;;;14137:18;;;14130:30;14196:34;14176:18;;;14169:62;14248:18;;16416:68:0;13916:356:1;44828:282:0;44893:4;44949:7;70771:1;44930:26;;:66;;;;;44983:13;;44973:7;:23;44930:66;:153;;;;-1:-1:-1;;45034:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;45034:44:0;:49;;44828:282::o;9693:647::-;184:42;9884:45;:49;9880:453;;10183:67;;-1:-1:-1;;;10183:67:0;;10234:4;10183:67;;;14489:34:1;-1:-1:-1;;;;;14559:15:1;;14539:18;;;14532:43;184:42:0;;10183;;14424: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;47096:2825:0;47238:27;47268;47287:7;47268:18;:27::i;:::-;47238:57;;47353:4;-1:-1:-1;;;;;47312:45:0;47328:19;-1:-1:-1;;;;;47312:45:0;;47308:86;;47366:28;;-1:-1:-1;;;47366:28:0;;;;;;;;;;;47308:86;47408:27;46204:24;;;:15;:24;;;;;46432:26;;47599:68;46432:26;47641:4;67223:10;47647:19;-1:-1:-1;;;;;45678:32:0;;;45522:28;;45807:20;;45829:30;;45804:56;;45219:659;47599:68;47594:180;;47687:43;47704:4;67223:10;44406:164;:::i;47687:43::-;47682:92;;47739:35;;-1:-1:-1;;;47739:35:0;;;;;;;;;;;47682:92;-1:-1:-1;;;;;47791:16:0;;47787:52;;47816:23;;-1:-1:-1;;;47816:23:0;;;;;;;;;;;47787:52;47988:15;47985:160;;;48128:1;48107:19;48100:30;47985:160;-1:-1:-1;;;;;48525:24:0;;;;;;;:18;:24;;;;;;48523:26;;-1:-1:-1;;48523:26:0;;;48594:22;;;;;;;;;48592:24;;-1:-1:-1;48592:24:0;;;41748:11;41723:23;41719:41;41706:63;-1:-1:-1;;;41706:63:0;48887:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;49182:47:0;;:52;;49178:627;;49287:1;49277:11;;49255:19;49410:30;;;:17;:30;;;;;;:35;;49406:384;;49548:13;;49533:11;:28;49529:242;;49695:30;;;;:17;:30;;;;;:52;;;49529:242;49236:569;49178:627;49852:7;49848:2;-1:-1:-1;;;;;49833:27:0;49842:4;-1:-1:-1;;;;;49833:27:0;-1:-1:-1;;;;;;;;;;;49833:27:0;;;;;;;;;49871:42;47227:2694;;;47096:2825;;;:::o;13546:293::-;12948:1;13680:7;;:19;13672:63;;;;-1:-1:-1;;;13672:63:0;;15038:2:1;13672:63:0;;;15020:21:1;15077:2;15057:18;;;15050:30;15116:33;15096:18;;;15089:61;15167:18;;13672:63:0;14836:355:1;13672:63:0;12948:1;13813:7;:18;13546:293::o;50017:193::-;50163:39;50180:4;50186:2;50190:7;50163:39;;;;;;;;;;;;:16;:39::i;:::-;50017:193;;;:::o;39514:1275::-;39581:7;39616;;70771:1;39665:23;39661:1061;;39718:13;;39711:4;:20;39707:1015;;;39756:14;39773:23;;;:17;:23;;;;;;;-1:-1:-1;;;39862:24:0;;:29;;39858:845;;40527:113;40534:6;40544:1;40534:11;40527:113;;-1:-1:-1;;;40605:6:0;40587:25;;;;:17;:25;;;;;;40527:113;;39858:845;39733:989;39707:1015;40750:31;;-1:-1:-1;;;40750:31:0;;;;;;;;;;;17462:191;17555:6;;;-1:-1:-1;;;;;17572:17:0;;;-1:-1:-1;;;;;;17572:17:0;;;;;;;17605:40;;17555:6;;;17572:17;17555:6;;17605:40;;17536:16;;17605:40;17525:128;17462:191;:::o;38962:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39090:24:0;;;;:17;:24;;;;;;39071:44;;-1:-1:-1;;;;;;;;;;;;;40998:41:0;;;;28719:3;41084:33;;;41050:68;;-1:-1:-1;;;41050:68:0;-1:-1:-1;;;41148:24:0;;:29;;-1:-1:-1;;;41129:48:0;;;;29240:3;41217:28;;;;-1:-1:-1;;;41188:58:0;-1:-1:-1;40888:366:0;61347:89;61407:21;61413:7;61422:5;61407;:21::i;50808:407::-;50983:31;50996:4;51002:2;51006:7;50983:12;:31::i;:::-;-1:-1:-1;;;;;51029:14:0;;;:19;51025:183;;51068:56;51099:4;51105:2;51109:7;51118:5;51068:30;:56::i;:::-;51063:145;;51152:40;;-1:-1:-1;;;51152:40:0;;;;;;;;;;;70563:108;70623:13;70656:7;70649:14;;;;;:::i;67343:1745::-;67408:17;67842:4;67835;67829:11;67825:22;67934:1;67928:4;67921:15;68009:4;68006:1;68002:12;67995:19;;;68091:1;68086:3;68079:14;68195:3;68434:5;68416:428;68482:1;68477:3;68473:11;68466:18;;68653:2;68647:4;68643:13;68639:2;68635:22;68630:3;68622:36;68747:2;68737:13;;68804:25;68416:428;68804:25;-1:-1:-1;68874:13:0;;;-1:-1:-1;;68989:14:0;;;69051:19;;;68989:14;67343:1745;-1:-1:-1;67343:1745:0:o;60968:112::-;61045:27;61055:2;61059:8;61045:27;;;;;;;;;;;;:9;:27::i;61665:3081::-;61745:27;61775;61794:7;61775:18;:27::i;:::-;61745:57;-1:-1:-1;61745:57:0;61815:12;;61937:35;61964:7;46093:27;46204:24;;;:15;:24;;;;;46432:26;;46204:24;;45991:485;61937:35;61880:92;;;;61989:13;61985:316;;;62110:68;62135:15;62152:4;67223:10;62158:19;67136:105;62110:68;62105:184;;62202:43;62219:4;67223:10;44406:164;:::i;62202:43::-;62197:92;;62254:35;;-1:-1:-1;;;62254:35:0;;;;;;;;;;;62197:92;62457:15;62454:160;;;62597:1;62576:19;62569:30;62454:160;-1:-1:-1;;;;;63216:24:0;;;;;;:18;:24;;;;;:60;;63244:32;63216:60;;;41748:11;41723:23;41719:41;41706:63;-1:-1:-1;;;41706:63:0;63514:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;63839:47:0;;:52;;63835:627;;63944:1;63934:11;;63912:19;64067:30;;;:17;:30;;;;;;:35;;64063:384;;64205:13;;64190:11;:28;64186:242;;64352:30;;;;:17;:30;;;;;:52;;;64186:242;63893:569;63835:627;64490:35;;64517:7;;64513:1;;-1:-1:-1;;;;;64490:35:0;;;-1:-1:-1;;;;;;;;;;;64490:35:0;64513:1;;64490:35;-1:-1:-1;;64713:12:0;:14;;;;;;-1:-1:-1;;;;61665:3081:0:o;53299:716::-;53483:88;;-1:-1:-1;;;53483:88:0;;53462:4;;-1:-1:-1;;;;;53483:45:0;;;;;:88;;67223:10;;53550:4;;53556:7;;53565:5;;53483:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53483:88:0;;;;;;;;-1:-1:-1;;53483:88:0;;;;;;;;;;;;:::i;:::-;;;53479:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53766:6;:13;53783:1;53766:18;53762:235;;53812:40;;-1:-1:-1;;;53812:40:0;;;;;;;;;;;53762:235;53955:6;53949:13;53940:6;53936:2;53932:15;53925:38;53479:529;-1:-1:-1;;;;;;53642:64:0;-1:-1:-1;;;53642:64:0;;-1:-1:-1;53479:529:0;53299:716;;;;;;:::o;60195:689::-;60326:19;60332:2;60336:8;60326:5;:19::i;:::-;-1:-1:-1;;;;;60387:14:0;;;:19;60383:483;;60427:11;60441:13;60489:14;;;60522:233;60553:62;60592:1;60596:2;60600:7;;;;;;60609:5;60553:30;:62::i;:::-;60548:167;;60651:40;;-1:-1:-1;;;60651:40:0;;;;;;;;;;;60548:167;60750:3;60742:5;:11;60522:233;;60837:3;60820:13;;:20;60816:34;;60842:8;;;54477:2966;54550:20;54573:13;;;54601;;;54597:44;;54623:18;;-1:-1:-1;;;54623:18:0;;;;;;;;;;;54597:44;-1:-1:-1;;;;;55129:22:0;;;;;;:18;:22;;;;28198:2;55129:22;;;:71;;55167:32;55155:45;;55129:71;;;55443:31;;;:17;:31;;;;;-1:-1:-1;42179:15:0;;42153:24;42149:46;41748:11;41723:23;41719:41;41716:52;41706:63;;55443:173;;55678:23;;;;55443:31;;55129:22;;-1:-1:-1;;;;;;;;;;;55129:22:0;;56296:335;56957:1;56943:12;56939:20;56897:346;56998:3;56989:7;56986:16;56897:346;;57216:7;57206:8;57203:1;-1:-1:-1;;;;;;;;;;;57173:1:0;57170;57165:59;57051:1;57038:15;56897:346;;;56901:77;57276:8;57288:1;57276:13;57272:45;;57298:19;;-1:-1:-1;;;57298:19:0;;;;;;;;;;;57272:45;57334:13;:19;-1:-1:-1;50017:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592: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;2547:127::-;2608:10;2603:3;2599:20;2596:1;2589:31;2639:4;2636:1;2629:15;2663:4;2660:1;2653:15;2679:632;2744:5;2774:18;2815:2;2807:6;2804:14;2801:40;;;2821:18;;:::i;:::-;2896:2;2890:9;2864:2;2950:15;;-1:-1:-1;;2946:24:1;;;2972:2;2942:33;2938:42;2926:55;;;2996:18;;;3016:22;;;2993:46;2990:72;;;3042:18;;:::i;:::-;3082:10;3078:2;3071:22;3111:6;3102:15;;3141:6;3133;3126:22;3181:3;3172:6;3167:3;3163:16;3160:25;3157:45;;;3198:1;3195;3188:12;3157:45;3248:6;3243:3;3236:4;3228:6;3224:17;3211:44;3303:1;3296:4;3287:6;3279;3275:19;3271:30;3264:41;;;;2679:632;;;;;:::o;3316:451::-;3385:6;3438:2;3426:9;3417:7;3413:23;3409:32;3406:52;;;3454:1;3451;3444:12;3406:52;3494:9;3481:23;3527:18;3519:6;3516:30;3513:50;;;3559:1;3556;3549:12;3513:50;3582:22;;3635:4;3627:13;;3623:27;-1:-1:-1;3613:55:1;;3664:1;3661;3654:12;3613:55;3687:74;3753:7;3748:2;3735:16;3730:2;3726;3722:11;3687:74;:::i;3954:328::-;4031:6;4039;4047;4100:2;4088:9;4079:7;4075:23;4071:32;4068:52;;;4116:1;4113;4106:12;4068:52;4139:29;4158:9;4139:29;:::i;:::-;4129:39;;4187:38;4221:2;4210:9;4206:18;4187:38;:::i;:::-;4177:48;;4272:2;4261:9;4257:18;4244:32;4234:42;;3954:328;;;;;:::o;4287:186::-;4346:6;4399:2;4387:9;4378:7;4374:23;4370:32;4367:52;;;4415:1;4412;4405:12;4367:52;4438:29;4457:9;4438:29;:::i;4717:632::-;4888:2;4940:21;;;5010:13;;4913:18;;;5032:22;;;4859:4;;4888:2;5111:15;;;;5085:2;5070:18;;;4859:4;5154:169;5168:6;5165:1;5162:13;5154:169;;;5229:13;;5217:26;;5298:15;;;;5263:12;;;;5190:1;5183:9;5154:169;;5354:315;5419:6;5427;5480:2;5468:9;5459:7;5455:23;5451:32;5448:52;;;5496:1;5493;5486:12;5448:52;5519:29;5538:9;5519:29;:::i;:::-;5509:39;;5598:2;5587:9;5583:18;5570:32;5611:28;5633:5;5611:28;:::i;:::-;5658:5;5648:15;;;5354:315;;;;;:::o;5674:667::-;5769:6;5777;5785;5793;5846:3;5834:9;5825:7;5821:23;5817:33;5814:53;;;5863:1;5860;5853:12;5814:53;5886:29;5905:9;5886:29;:::i;:::-;5876:39;;5934:38;5968:2;5957:9;5953:18;5934:38;:::i;:::-;5924:48;;6019:2;6008:9;6004:18;5991:32;5981:42;;6074:2;6063:9;6059:18;6046:32;6101:18;6093:6;6090:30;6087:50;;;6133:1;6130;6123:12;6087:50;6156:22;;6209:4;6201:13;;6197:27;-1:-1:-1;6187:55:1;;6238:1;6235;6228:12;6187:55;6261:74;6327:7;6322:2;6309:16;6304:2;6300;6296:11;6261:74;:::i;:::-;6251:84;;;5674:667;;;;;;;:::o;6346:260::-;6414:6;6422;6475:2;6463:9;6454:7;6450:23;6446:32;6443:52;;;6491:1;6488;6481:12;6443:52;6514:29;6533:9;6514:29;:::i;:::-;6504:39;;6562:38;6596:2;6585:9;6581:18;6562:38;:::i;:::-;6552:48;;6346:260;;;;;:::o;6611:254::-;6679:6;6687;6740:2;6728:9;6719:7;6715:23;6711:32;6708:52;;;6756:1;6753;6746:12;6708:52;6792:9;6779:23;6769:33;;6821:38;6855:2;6844:9;6840:18;6821:38;:::i;6870:380::-;6949:1;6945:12;;;;6992;;;7013:61;;7067:4;7059:6;7055:17;7045:27;;7013:61;7120:2;7112:6;7109:14;7089:18;7086:38;7083:161;;7166:10;7161:3;7157:20;7154:1;7147:31;7201:4;7198:1;7191:15;7229:4;7226:1;7219:15;7083:161;;6870:380;;;:::o;7381:545::-;7483:2;7478:3;7475:11;7472:448;;;7519:1;7544:5;7540:2;7533:17;7589:4;7585:2;7575:19;7659:2;7647:10;7643:19;7640:1;7636:27;7630:4;7626:38;7695:4;7683:10;7680:20;7677:47;;;-1:-1:-1;7718:4:1;7677:47;7773:2;7768:3;7764:12;7761:1;7757:20;7751:4;7747:31;7737:41;;7828:82;7846:2;7839:5;7836:13;7828:82;;;7891:17;;;7872:1;7861:13;7828:82;;8102:1352;8228:3;8222:10;8255:18;8247:6;8244:30;8241:56;;;8277:18;;:::i;:::-;8306:97;8396:6;8356:38;8388:4;8382:11;8356:38;:::i;:::-;8350:4;8306:97;:::i;:::-;8458:4;;8522:2;8511:14;;8539:1;8534:663;;;;9241:1;9258:6;9255:89;;;-1:-1:-1;9310:19:1;;;9304:26;9255:89;-1:-1:-1;;8059:1:1;8055:11;;;8051:24;8047:29;8037:40;8083:1;8079:11;;;8034:57;9357:81;;8504:944;;8534:663;7328:1;7321:14;;;7365:4;7352:18;;-1:-1:-1;;8570:20:1;;;8688:236;8702:7;8699:1;8696:14;8688:236;;;8791:19;;;8785:26;8770:42;;8883:27;;;;8851:1;8839:14;;;;8718:19;;8688:236;;;8692:3;8952:6;8943:7;8940:19;8937:201;;;9013:19;;;9007:26;-1:-1:-1;;9096:1:1;9092:14;;;9108:3;9088:24;9084:37;9080:42;9065:58;9050:74;;8937:201;-1:-1:-1;;;;;9184:1:1;9168:14;;;9164:22;9151:36;;-1:-1:-1;8102:1352:1:o;9459:127::-;9520:10;9515:3;9511:20;9508:1;9501:31;9551:4;9548:1;9541:15;9575:4;9572:1;9565:15;10345:663;10625:3;10663:6;10657:13;10679:66;10738:6;10733:3;10726:4;10718:6;10714:17;10679:66;:::i;:::-;10808:13;;10767:16;;;;10830:70;10808:13;10767:16;10877:4;10865:17;;10830:70;:::i;:::-;-1:-1:-1;;;10922:20:1;;10951:22;;;11000:1;10989:13;;10345:663;-1:-1:-1;;;;10345:663:1:o;12103:127::-;12164:10;12159:3;12155:20;12152:1;12145:31;12195:4;12192:1;12185:15;12219:4;12216:1;12209:15;12235:125;12300:9;;;12321:10;;;12318:36;;;12334:18;;:::i;13049:168::-;13122:9;;;13153;;13170:15;;;13164:22;;13150:37;13140:71;;13191:18;;:::i;14586:245::-;14653:6;14706:2;14694:9;14685:7;14681:23;14677:32;14674:52;;;14722:1;14719;14712:12;14674:52;14754:9;14748:16;14773:28;14795:5;14773:28;:::i;15196:489::-;-1:-1:-1;;;;;15465:15:1;;;15447:34;;15517:15;;15512:2;15497:18;;15490:43;15564:2;15549:18;;15542:34;;;15612:3;15607:2;15592:18;;15585:31;;;15390:4;;15633:46;;15659:19;;15651:6;15633:46;:::i;:::-;15625:54;15196:489;-1:-1:-1;;;;;;15196:489:1:o;15690:249::-;15759:6;15812:2;15800:9;15791:7;15787:23;15783:32;15780:52;;;15828:1;15825;15818:12;15780:52;15860:9;15854:16;15879:30;15903:5;15879:30;:::i
Swarm Source
ipfs://21e076f60aa4d3bf3089fc72b6b3a97e0a464d21cb660807684dc1defddf1def
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.