Overview
TokenID
95
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
GorillaApex
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at apescan.io on 2024-10-25 */ //watch out apes gorillas taking over! //2222 pyscho gorilla ready to beat apes //X: https://x.com/gorillapex_ //website: https://gorillapex.xyz/ // SPDX-License-Identifier: MIT // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.3.0 // 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(); /** * `_sequentialUpTo()` must be greater than `_startTokenId()`. */ error SequentialUpToTooSmall(); /** * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`. */ error SequentialMintExceedsLimit(); /** * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`. */ error SpotMintTokenIdTooSmall(); /** * Cannot mint over a token that already exists. */ error TokenAlreadyExists(); /** * The feature is not compatible with spot mints. */ error NotCompatibleWithSpotMints(); // ============================================================= // 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.3.0 // 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()`. * * The `_sequentialUpTo()` function can be overriden to enable spot mints * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`. * * 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; // The amount of tokens minted above `_sequentialUpTo()`. // We call these spot mints (i.e. non-sequential mints). uint256 private _spotMinted; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID for sequential mints. * * Override this function to change the starting token ID for sequential mints. * * Note: The value returned must never change after any tokens have been minted. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the maximum token ID (inclusive) for sequential mints. * * Override this function to return a value less than 2**256 - 1, * but greater than `_startTokenId()`, to enable spot (non-sequential) mints. * * Note: The value returned must never change after any tokens have been minted. */ function _sequentialUpTo() internal view virtual returns (uint256) { return type(uint256).max; } /** * @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 result) { // Counter underflow is impossible as `_burnCounter` cannot be incremented // more than `_currentIndex + _spotMinted - _startTokenId()` times. unchecked { // With spot minting, the intermediate `result` can be temporarily negative, // and the computation must be unchecked. result = _currentIndex - _burnCounter - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256 result) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { result = _currentIndex - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @dev Returns the total number of tokens that are spot-minted. */ function _totalSpotMinted() internal view virtual returns (uint256) { return _spotMinted; } // ============================================================= // 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.selector); 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.selector); 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 Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @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); } } /** * @dev Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; if (tokenId > _sequentialUpTo()) { if (_packedOwnershipExists(packed)) return packed; _revert(OwnerQueryForNonexistentToken.selector); } // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); 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 result) { if (_startTokenId() <= tokenId) { if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]); if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `packed` represents a token that exists. */ function _packedOwnershipExists(uint256 packed) private pure returns (bool result) { assembly { // The following is equivalent to `owner != address(0) && burned == false`. // Symbolically tested. result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_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); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _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.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) _revert(MintToZeroAddress.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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) ); if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); 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.selector); } } while (index < end); // This prevents reentrancy to `_safeMint`. // It does not prevent reentrancy to `_safeMintSpot`. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } /** * @dev Mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * Emits a {Transfer} event for each mint. */ function _mintSpot(address to, uint256 tokenId) internal virtual { if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector); uint256 prevOwnershipPacked = _packedOwnerships[tokenId]; if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector); _beforeTokenTransfers(address(0), to, tokenId, 1); // Overflows are incredibly unrealistic. // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1. // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `true` (as `quantity == 1`). _packedOwnerships[tokenId] = _packOwnershipData( to, _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked) ); // Updates: // - `balance += 1`. // - `numberMinted += 1`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1; // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); assembly { // 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`. tokenId // `tokenId`. ) } ++_spotMinted; } _afterTokenTransfers(address(0), to, tokenId, 1); } /** * @dev Safely mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * See {_mintSpot}. * * Emits a {Transfer} event. */ function _safeMintSpot( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mintSpot(to, tokenId); unchecked { if (to.code.length != 0) { uint256 currentSpotMinted = _spotMinted; if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } // This prevents reentrancy to `_safeMintSpot`. // It does not prevent reentrancy to `_safeMint`. if (_spotMinted != currentSpotMinted) revert(); } } } /** * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`. */ function _safeMintSpot(address to, uint256 tokenId) internal virtual { _safeMintSpot(to, tokenId, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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 + _spotMinted` 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.selector); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: contracts/apeGorilla.sol pragma solidity ^0.8.9; contract GorillaApex is ERC721A, Ownable { string public baseURI; string private uriSuffix = ".json"; uint256 public maxSupply = 2222; uint256 public maxPerTx = 20; bool public sale = false; uint256 public cost = 2 ether; // 2 APE COIN error Paused(); error MaxPerTx(); error NotEnoughETH(); error MaxSupply(); constructor() ERC721A("Gorilla ApeX", "ApeX") Ownable(msg.sender) {} function mint(uint256 _amount) external payable { if (!sale) revert Paused(); if (_totalMinted() + _amount > maxSupply) revert MaxSupply(); if (_amount > maxPerTx) revert MaxPerTx(); if (msg.value < cost * _amount) revert NotEnoughETH(); _mint(msg.sender, _amount); } function airdrop(address _to, uint256 _amount) external onlyOwner { require(totalSupply() + _amount < maxSupply, "Max supply"); _mint(_to, _amount); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); return string(abi.encodePacked(baseURI, _toString(tokenId), uriSuffix)); } function _startTokenId() internal pure override returns (uint256) { return 1; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string calldata _newURI) external onlyOwner { baseURI = _newURI; } function setMaxPerTx(uint256 _maxPerTx) external onlyOwner { maxPerTx = _maxPerTx; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function saleToggle() external onlyOwner { sale = !sale; } function withdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxPerTx","type":"error"},{"inputs":[],"name":"MaxSupply","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[],"name":"NotEnoughETH","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"Paused","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleToggle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90816100489190610519565b506108ae600c556014600d555f600e5f6101000a81548160ff021916908315150217905550671bc16d674ec80000600f55348015610084575f80fd5b50336040518060400160405280600c81526020017f476f72696c6c61204170655800000000000000000000000000000000000000008152506040518060400160405280600481526020017f417065580000000000000000000000000000000000000000000000000000000081525081600290816101019190610519565b5080600390816101119190610519565b506101206101e560201b60201c565b5f819055506101336101e560201b60201c565b6101416101ed60201b60201c565b101561015e5761015d63fed8210f60e01b61021460201b60201c565b5b50505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101d0575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101c79190610627565b60405180910390fd5b6101df8161021c60201b60201c565b50610640565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b805f5260045ffd5b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061035a57607f821691505b60208210810361036d5761036c610316565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026103cf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610394565b6103d98683610394565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61041d610418610413846103f1565b6103fa565b6103f1565b9050919050565b5f819050919050565b61043683610403565b61044a61044282610424565b8484546103a0565b825550505050565b5f90565b61045e610452565b61046981848461042d565b505050565b5b8181101561048c576104815f82610456565b60018101905061046f565b5050565b601f8211156104d1576104a281610373565b6104ab84610385565b810160208510156104ba578190505b6104ce6104c685610385565b83018261046e565b50505b505050565b5f82821c905092915050565b5f6104f15f19846008026104d6565b1980831691505092915050565b5f61050983836104e2565b9150826002028217905092915050565b610522826102df565b67ffffffffffffffff81111561053b5761053a6102e9565b5b6105458254610343565b610550828285610490565b5f60209050601f831160018114610581575f841561056f578287015190505b61057985826104fe565b8655506105e0565b601f19841661058f86610373565b5f5b828110156105b657848901518255600182019150602085019450602081019050610591565b868310156105d357848901516105cf601f8916826104e2565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610611826105e8565b9050919050565b61062181610607565b82525050565b5f60208201905061063a5f830184610618565b92915050565b6128268061064d5f395ff3fe6080604052600436106101c1575f3560e01c80636f8b44b0116100f6578063a22cb46511610094578063d5abeb0111610063578063d5abeb01146105ad578063e985e9c5146105d7578063f2fde38b14610613578063f968adbe1461063b576101c1565b8063a22cb46514610505578063b88d4fde1461052d578063c6f6f21614610549578063c87b56dd14610571576101c1565b80638ba4cc3c116100d05780638ba4cc3c1461046d5780638da5cb5b1461049557806395d89b41146104bf578063a0712d68146104e9576101c1565b80636f8b44b0146103f357806370a082311461041b578063715018a614610457576101c1565b80633ccfd60b1161016357806355f804b31161013d57806355f804b31461033b5780636352211e146103635780636ad1fe021461039f5780636c0360eb146103c9576101c1565b80633ccfd60b146102f357806342842e0e146103095780634639edeb14610325576101c1565b8063095ea7b31161019f578063095ea7b31461026757806313faede61461028357806318160ddd146102ad57806323b872dd146102d7576101c1565b806301ffc9a7146101c557806306fdde0314610201578063081812fc1461022b575b5f80fd5b3480156101d0575f80fd5b506101eb60048036038101906101e69190611bd8565b610665565b6040516101f89190611c1d565b60405180910390f35b34801561020c575f80fd5b506102156106f6565b6040516102229190611ca6565b60405180910390f35b348015610236575f80fd5b50610251600480360381019061024c9190611cf9565b610786565b60405161025e9190611d63565b60405180910390f35b610281600480360381019061027c9190611da6565b6107df565b005b34801561028e575f80fd5b506102976107ef565b6040516102a49190611df3565b60405180910390f35b3480156102b8575f80fd5b506102c16107f5565b6040516102ce9190611df3565b60405180910390f35b6102f160048036038101906102ec9190611e0c565b610840565b005b3480156102fe575f80fd5b50610307610aeb565b005b610323600480360381019061031e9190611e0c565b610b9e565b005b348015610330575f80fd5b50610339610bbd565b005b348015610346575f80fd5b50610361600480360381019061035c9190611ebd565b610bef565b005b34801561036e575f80fd5b5061038960048036038101906103849190611cf9565b610c0d565b6040516103969190611d63565b60405180910390f35b3480156103aa575f80fd5b506103b3610c1e565b6040516103c09190611c1d565b60405180910390f35b3480156103d4575f80fd5b506103dd610c30565b6040516103ea9190611ca6565b60405180910390f35b3480156103fe575f80fd5b5061041960048036038101906104149190611cf9565b610cbc565b005b348015610426575f80fd5b50610441600480360381019061043c9190611f08565b610cce565b60405161044e9190611df3565b60405180910390f35b348015610462575f80fd5b5061046b610d62565b005b348015610478575f80fd5b50610493600480360381019061048e9190611da6565b610d75565b005b3480156104a0575f80fd5b506104a9610de1565b6040516104b69190611d63565b60405180910390f35b3480156104ca575f80fd5b506104d3610e09565b6040516104e09190611ca6565b60405180910390f35b61050360048036038101906104fe9190611cf9565b610e99565b005b348015610510575f80fd5b5061052b60048036038101906105269190611f5d565b610fbc565b005b610547600480360381019061054291906120c3565b6110c2565b005b348015610554575f80fd5b5061056f600480360381019061056a9190611cf9565b611113565b005b34801561057c575f80fd5b5061059760048036038101906105929190611cf9565b611125565b6040516105a49190611ca6565b60405180910390f35b3480156105b8575f80fd5b506105c161119b565b6040516105ce9190611df3565b60405180910390f35b3480156105e2575f80fd5b506105fd60048036038101906105f89190612143565b6111a1565b60405161060a9190611c1d565b60405180910390f35b34801561061e575f80fd5b5061063960048036038101906106349190611f08565b61122f565b005b348015610646575f80fd5b5061064f6112b3565b60405161065c9190611df3565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106bf57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106ef5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610705906121ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610731906121ae565b801561077c5780601f106107535761010080835404028352916020019161077c565b820191905f5260205f20905b81548152906001019060200180831161075f57829003601f168201915b5050505050905090565b5f610790826112b9565b6107a5576107a463cf4700e460e01b61135c565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6107eb82826001611364565b5050565b600f5481565b5f6107fe61148e565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610830611496565b1461083d57600854810190505b90565b5f61084a826114bd565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108bf576108be63a114810060e01b61135c565b5b5f806108ca846115cc565b915091506108e081876108db6115ef565b6115f6565b61090b576108f5866108f06115ef565b6111a1565b61090a576109096359c896be60e01b61135c565b5b5b6109188686866001611639565b8015610922575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600101919050819055506109ea856109c688888761163f565b7c020000000000000000000000000000000000000000000000000000000017611666565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610a66575f6001850190505f60045f8381526020019081526020015f205403610a64575f548114610a63578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610ad557610ad463ea553b3460e01b61135c565b5b610ae28787876001611690565b50505050505050565b610af3611696565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610b189061220b565b5f6040518083038185875af1925050503d805f8114610b52576040519150601f19603f3d011682016040523d82523d5f602084013e610b57565b606091505b5050905080610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9290612269565b60405180910390fd5b50565b610bb883838360405180602001604052805f8152506110c2565b505050565b610bc5611696565b600e5f9054906101000a900460ff1615600e5f6101000a81548160ff021916908315150217905550565b610bf7611696565b8181600a9182610c0892919061242e565b505050565b5f610c17826114bd565b9050919050565b600e5f9054906101000a900460ff1681565b600a8054610c3d906121ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610c69906121ae565b8015610cb45780601f10610c8b57610100808354040283529160200191610cb4565b820191905f5260205f20905b815481529060010190602001808311610c9757829003601f168201915b505050505081565b610cc4611696565b80600c8190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d1357610d12638f4eb60460e01b61135c565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610d6a611696565b610d735f61171d565b565b610d7d611696565b600c5481610d896107f5565b610d939190612528565b10610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca906125a5565b60405180910390fd5b610ddd82826117e0565b5050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610e18906121ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610e44906121ae565b8015610e8f5780601f10610e6657610100808354040283529160200191610e8f565b820191905f5260205f20905b815481529060010190602001808311610e7257829003601f168201915b5050505050905090565b600e5f9054906101000a900460ff16610ede576040517f9e87fac800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5481610eea611954565b610ef49190612528565b1115610f2c576040517fb36c128400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d54811115610f68576040517f5d25f4ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f54610f7691906125c3565b341015610faf576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb933826117e0565b50565b8060075f610fc86115ef565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110716115ef565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110b69190611c1d565b60405180910390a35050565b6110cd848484610840565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461110d576110f78484848461199b565b61110c5761110b63d1a57ed660e01b61135c565b5b5b50505050565b61111b611696565b80600d8190555050565b6060611130826112b9565b611166576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a61117183611ac5565b600b604051602001611185939291906126be565b6040516020818303038152906040529050919050565b600c5481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611237611696565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112a7575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161129e9190611d63565b60405180910390fd5b6112b08161171d565b50565b600d5481565b5f816112c361148e565b11611356576112d0611496565b8211156112f8576112f160045f8481526020019081526020015f2054611b14565b9050611357565b5f54821015611355575f5b5f60045f8581526020019081526020015f20549150810361132f5782611328906126ee565b9250611303565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f61136e83610c0d565b90508180156113b057508073ffffffffffffffffffffffffffffffffffffffff166113976115ef565b73ffffffffffffffffffffffffffffffffffffffff1614155b156113dc576113c6816113c16115ef565b6111a1565b6113db576113da63cfb3b94260e01b61135c565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f816114c761148e565b116115b65760045f8381526020019081526020015f205490506114e8611496565b82111561150d576114f881611b14565b6115c75761150c63df2d9b4260e01b61135c565b5b5f810361158e575f54821061152d5761152c63df2d9b4260e01b61135c565b5b5b60045f836001900393508381526020019081526020015f205490505f810315611589575f7c0100000000000000000000000000000000000000000000000000000000821603156115c75761158863df2d9b4260e01b61135c565b5b61152e565b5f7c0100000000000000000000000000000000000000000000000000000000821603156115c7575b6115c663df2d9b4260e01b61135c565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611655868684611b54565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61169e611b5c565b73ffffffffffffffffffffffffffffffffffffffff166116bc610de1565b73ffffffffffffffffffffffffffffffffffffffff161461171b576116df611b5c565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117129190611d63565b60405180910390fd5b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f805490505f82036117fd576117fc63b562e8dd60e01b61135c565b5b6118095f848385611639565b611827836118185f865f61163f565b61182185611b63565b17611666565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f81036118d8576118d7632e07630060e01b61135c565b5b5f83830190505f8390506118ea611496565b600183031115611905576119046381647e3a60e01b61135c565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361190657815f8190555050505061194f5f848385611690565b505050565b5f61195d61148e565b5f540390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61198b611496565b1461199857600854810190505b90565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026119c06115ef565b8786866040518563ffffffff1660e01b81526004016119e29493929190612767565b6020604051808303815f875af1925050508015611a1d57506040513d601f19601f82011682018060405250810190611a1a91906127c5565b60015b611a72573d805f8114611a4b576040519150601f19603f3d011682016040523d82523d5f602084013e611a50565b606091505b505f815103611a6a57611a6963d1a57ed660e01b61135c565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b600115611aff57600184039350600a81066030018453600a8104905080611add575b50828103602084039350808452505050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611bb781611b83565b8114611bc1575f80fd5b50565b5f81359050611bd281611bae565b92915050565b5f60208284031215611bed57611bec611b7b565b5b5f611bfa84828501611bc4565b91505092915050565b5f8115159050919050565b611c1781611c03565b82525050565b5f602082019050611c305f830184611c0e565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611c7882611c36565b611c828185611c40565b9350611c92818560208601611c50565b611c9b81611c5e565b840191505092915050565b5f6020820190508181035f830152611cbe8184611c6e565b905092915050565b5f819050919050565b611cd881611cc6565b8114611ce2575f80fd5b50565b5f81359050611cf381611ccf565b92915050565b5f60208284031215611d0e57611d0d611b7b565b5b5f611d1b84828501611ce5565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611d4d82611d24565b9050919050565b611d5d81611d43565b82525050565b5f602082019050611d765f830184611d54565b92915050565b611d8581611d43565b8114611d8f575f80fd5b50565b5f81359050611da081611d7c565b92915050565b5f8060408385031215611dbc57611dbb611b7b565b5b5f611dc985828601611d92565b9250506020611dda85828601611ce5565b9150509250929050565b611ded81611cc6565b82525050565b5f602082019050611e065f830184611de4565b92915050565b5f805f60608486031215611e2357611e22611b7b565b5b5f611e3086828701611d92565b9350506020611e4186828701611d92565b9250506040611e5286828701611ce5565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611e7d57611e7c611e5c565b5b8235905067ffffffffffffffff811115611e9a57611e99611e60565b5b602083019150836001820283011115611eb657611eb5611e64565b5b9250929050565b5f8060208385031215611ed357611ed2611b7b565b5b5f83013567ffffffffffffffff811115611ef057611eef611b7f565b5b611efc85828601611e68565b92509250509250929050565b5f60208284031215611f1d57611f1c611b7b565b5b5f611f2a84828501611d92565b91505092915050565b611f3c81611c03565b8114611f46575f80fd5b50565b5f81359050611f5781611f33565b92915050565b5f8060408385031215611f7357611f72611b7b565b5b5f611f8085828601611d92565b9250506020611f9185828601611f49565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611fd582611c5e565b810181811067ffffffffffffffff82111715611ff457611ff3611f9f565b5b80604052505050565b5f612006611b72565b90506120128282611fcc565b919050565b5f67ffffffffffffffff82111561203157612030611f9f565b5b61203a82611c5e565b9050602081019050919050565b828183375f83830152505050565b5f61206761206284612017565b611ffd565b90508281526020810184848401111561208357612082611f9b565b5b61208e848285612047565b509392505050565b5f82601f8301126120aa576120a9611e5c565b5b81356120ba848260208601612055565b91505092915050565b5f805f80608085870312156120db576120da611b7b565b5b5f6120e887828801611d92565b94505060206120f987828801611d92565b935050604061210a87828801611ce5565b925050606085013567ffffffffffffffff81111561212b5761212a611b7f565b5b61213787828801612096565b91505092959194509250565b5f806040838503121561215957612158611b7b565b5b5f61216685828601611d92565b925050602061217785828601611d92565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806121c557607f821691505b6020821081036121d8576121d7612181565b5b50919050565b5f81905092915050565b50565b5f6121f65f836121de565b9150612201826121e8565b5f82019050919050565b5f612215826121eb565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f612253601083611c40565b915061225e8261221f565b602082019050919050565b5f6020820190508181035f83015261228081612247565b9050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026122ed7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826122b2565b6122f786836122b2565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61233261232d61232884611cc6565b61230f565b611cc6565b9050919050565b5f819050919050565b61234b83612318565b61235f61235782612339565b8484546122be565b825550505050565b5f90565b612373612367565b61237e818484612342565b505050565b5b818110156123a1576123965f8261236b565b600181019050612384565b5050565b601f8211156123e6576123b781612291565b6123c0846122a3565b810160208510156123cf578190505b6123e36123db856122a3565b830182612383565b50505b505050565b5f82821c905092915050565b5f6124065f19846008026123eb565b1980831691505092915050565b5f61241e83836123f7565b9150826002028217905092915050565b6124388383612287565b67ffffffffffffffff81111561245157612450611f9f565b5b61245b82546121ae565b6124668282856123a5565b5f601f831160018114612493575f8415612481578287013590505b61248b8582612413565b8655506124f2565b601f1984166124a186612291565b5f5b828110156124c8578489013582556001820191506020850194506020810190506124a3565b868310156124e557848901356124e1601f8916826123f7565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61253282611cc6565b915061253d83611cc6565b9250828201905080821115612555576125546124fb565b5b92915050565b7f4d617820737570706c79000000000000000000000000000000000000000000005f82015250565b5f61258f600a83611c40565b915061259a8261255b565b602082019050919050565b5f6020820190508181035f8301526125bc81612583565b9050919050565b5f6125cd82611cc6565b91506125d883611cc6565b92508282026125e681611cc6565b915082820484148315176125fd576125fc6124fb565b5b5092915050565b5f81905092915050565b5f815461261a816121ae565b6126248186612604565b9450600182165f811461263e576001811461265357612685565b60ff1983168652811515820286019350612685565b61265c85612291565b5f5b8381101561267d5781548189015260018201915060208101905061265e565b838801955050505b50505092915050565b5f61269882611c36565b6126a28185612604565b93506126b2818560208601611c50565b80840191505092915050565b5f6126c9828661260e565b91506126d5828561268e565b91506126e1828461260e565b9150819050949350505050565b5f6126f882611cc6565b91505f820361270a576127096124fb565b5b600182039050919050565b5f81519050919050565b5f82825260208201905092915050565b5f61273982612715565b612743818561271f565b9350612753818560208601611c50565b61275c81611c5e565b840191505092915050565b5f60808201905061277a5f830187611d54565b6127876020830186611d54565b6127946040830185611de4565b81810360608301526127a6818461272f565b905095945050505050565b5f815190506127bf81611bae565b92915050565b5f602082840312156127da576127d9611b7b565b5b5f6127e7848285016127b1565b9150509291505056fea26469706673582212200e7463b904fb0fad1f27e571b49df249d5841450bd198b5cbc1758e11d693fff64736f6c634300081a0033
Deployed Bytecode
0x6080604052600436106101c1575f3560e01c80636f8b44b0116100f6578063a22cb46511610094578063d5abeb0111610063578063d5abeb01146105ad578063e985e9c5146105d7578063f2fde38b14610613578063f968adbe1461063b576101c1565b8063a22cb46514610505578063b88d4fde1461052d578063c6f6f21614610549578063c87b56dd14610571576101c1565b80638ba4cc3c116100d05780638ba4cc3c1461046d5780638da5cb5b1461049557806395d89b41146104bf578063a0712d68146104e9576101c1565b80636f8b44b0146103f357806370a082311461041b578063715018a614610457576101c1565b80633ccfd60b1161016357806355f804b31161013d57806355f804b31461033b5780636352211e146103635780636ad1fe021461039f5780636c0360eb146103c9576101c1565b80633ccfd60b146102f357806342842e0e146103095780634639edeb14610325576101c1565b8063095ea7b31161019f578063095ea7b31461026757806313faede61461028357806318160ddd146102ad57806323b872dd146102d7576101c1565b806301ffc9a7146101c557806306fdde0314610201578063081812fc1461022b575b5f80fd5b3480156101d0575f80fd5b506101eb60048036038101906101e69190611bd8565b610665565b6040516101f89190611c1d565b60405180910390f35b34801561020c575f80fd5b506102156106f6565b6040516102229190611ca6565b60405180910390f35b348015610236575f80fd5b50610251600480360381019061024c9190611cf9565b610786565b60405161025e9190611d63565b60405180910390f35b610281600480360381019061027c9190611da6565b6107df565b005b34801561028e575f80fd5b506102976107ef565b6040516102a49190611df3565b60405180910390f35b3480156102b8575f80fd5b506102c16107f5565b6040516102ce9190611df3565b60405180910390f35b6102f160048036038101906102ec9190611e0c565b610840565b005b3480156102fe575f80fd5b50610307610aeb565b005b610323600480360381019061031e9190611e0c565b610b9e565b005b348015610330575f80fd5b50610339610bbd565b005b348015610346575f80fd5b50610361600480360381019061035c9190611ebd565b610bef565b005b34801561036e575f80fd5b5061038960048036038101906103849190611cf9565b610c0d565b6040516103969190611d63565b60405180910390f35b3480156103aa575f80fd5b506103b3610c1e565b6040516103c09190611c1d565b60405180910390f35b3480156103d4575f80fd5b506103dd610c30565b6040516103ea9190611ca6565b60405180910390f35b3480156103fe575f80fd5b5061041960048036038101906104149190611cf9565b610cbc565b005b348015610426575f80fd5b50610441600480360381019061043c9190611f08565b610cce565b60405161044e9190611df3565b60405180910390f35b348015610462575f80fd5b5061046b610d62565b005b348015610478575f80fd5b50610493600480360381019061048e9190611da6565b610d75565b005b3480156104a0575f80fd5b506104a9610de1565b6040516104b69190611d63565b60405180910390f35b3480156104ca575f80fd5b506104d3610e09565b6040516104e09190611ca6565b60405180910390f35b61050360048036038101906104fe9190611cf9565b610e99565b005b348015610510575f80fd5b5061052b60048036038101906105269190611f5d565b610fbc565b005b610547600480360381019061054291906120c3565b6110c2565b005b348015610554575f80fd5b5061056f600480360381019061056a9190611cf9565b611113565b005b34801561057c575f80fd5b5061059760048036038101906105929190611cf9565b611125565b6040516105a49190611ca6565b60405180910390f35b3480156105b8575f80fd5b506105c161119b565b6040516105ce9190611df3565b60405180910390f35b3480156105e2575f80fd5b506105fd60048036038101906105f89190612143565b6111a1565b60405161060a9190611c1d565b60405180910390f35b34801561061e575f80fd5b5061063960048036038101906106349190611f08565b61122f565b005b348015610646575f80fd5b5061064f6112b3565b60405161065c9190611df3565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106bf57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106ef5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610705906121ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610731906121ae565b801561077c5780601f106107535761010080835404028352916020019161077c565b820191905f5260205f20905b81548152906001019060200180831161075f57829003601f168201915b5050505050905090565b5f610790826112b9565b6107a5576107a463cf4700e460e01b61135c565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6107eb82826001611364565b5050565b600f5481565b5f6107fe61148e565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610830611496565b1461083d57600854810190505b90565b5f61084a826114bd565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108bf576108be63a114810060e01b61135c565b5b5f806108ca846115cc565b915091506108e081876108db6115ef565b6115f6565b61090b576108f5866108f06115ef565b6111a1565b61090a576109096359c896be60e01b61135c565b5b5b6109188686866001611639565b8015610922575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600101919050819055506109ea856109c688888761163f565b7c020000000000000000000000000000000000000000000000000000000017611666565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610a66575f6001850190505f60045f8381526020019081526020015f205403610a64575f548114610a63578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610ad557610ad463ea553b3460e01b61135c565b5b610ae28787876001611690565b50505050505050565b610af3611696565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610b189061220b565b5f6040518083038185875af1925050503d805f8114610b52576040519150601f19603f3d011682016040523d82523d5f602084013e610b57565b606091505b5050905080610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9290612269565b60405180910390fd5b50565b610bb883838360405180602001604052805f8152506110c2565b505050565b610bc5611696565b600e5f9054906101000a900460ff1615600e5f6101000a81548160ff021916908315150217905550565b610bf7611696565b8181600a9182610c0892919061242e565b505050565b5f610c17826114bd565b9050919050565b600e5f9054906101000a900460ff1681565b600a8054610c3d906121ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610c69906121ae565b8015610cb45780601f10610c8b57610100808354040283529160200191610cb4565b820191905f5260205f20905b815481529060010190602001808311610c9757829003601f168201915b505050505081565b610cc4611696565b80600c8190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d1357610d12638f4eb60460e01b61135c565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610d6a611696565b610d735f61171d565b565b610d7d611696565b600c5481610d896107f5565b610d939190612528565b10610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca906125a5565b60405180910390fd5b610ddd82826117e0565b5050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610e18906121ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610e44906121ae565b8015610e8f5780601f10610e6657610100808354040283529160200191610e8f565b820191905f5260205f20905b815481529060010190602001808311610e7257829003601f168201915b5050505050905090565b600e5f9054906101000a900460ff16610ede576040517f9e87fac800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5481610eea611954565b610ef49190612528565b1115610f2c576040517fb36c128400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d54811115610f68576040517f5d25f4ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f54610f7691906125c3565b341015610faf576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb933826117e0565b50565b8060075f610fc86115ef565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110716115ef565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110b69190611c1d565b60405180910390a35050565b6110cd848484610840565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461110d576110f78484848461199b565b61110c5761110b63d1a57ed660e01b61135c565b5b5b50505050565b61111b611696565b80600d8190555050565b6060611130826112b9565b611166576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a61117183611ac5565b600b604051602001611185939291906126be565b6040516020818303038152906040529050919050565b600c5481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611237611696565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112a7575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161129e9190611d63565b60405180910390fd5b6112b08161171d565b50565b600d5481565b5f816112c361148e565b11611356576112d0611496565b8211156112f8576112f160045f8481526020019081526020015f2054611b14565b9050611357565b5f54821015611355575f5b5f60045f8581526020019081526020015f20549150810361132f5782611328906126ee565b9250611303565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f61136e83610c0d565b90508180156113b057508073ffffffffffffffffffffffffffffffffffffffff166113976115ef565b73ffffffffffffffffffffffffffffffffffffffff1614155b156113dc576113c6816113c16115ef565b6111a1565b6113db576113da63cfb3b94260e01b61135c565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f816114c761148e565b116115b65760045f8381526020019081526020015f205490506114e8611496565b82111561150d576114f881611b14565b6115c75761150c63df2d9b4260e01b61135c565b5b5f810361158e575f54821061152d5761152c63df2d9b4260e01b61135c565b5b5b60045f836001900393508381526020019081526020015f205490505f810315611589575f7c0100000000000000000000000000000000000000000000000000000000821603156115c75761158863df2d9b4260e01b61135c565b5b61152e565b5f7c0100000000000000000000000000000000000000000000000000000000821603156115c7575b6115c663df2d9b4260e01b61135c565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611655868684611b54565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61169e611b5c565b73ffffffffffffffffffffffffffffffffffffffff166116bc610de1565b73ffffffffffffffffffffffffffffffffffffffff161461171b576116df611b5c565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117129190611d63565b60405180910390fd5b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f805490505f82036117fd576117fc63b562e8dd60e01b61135c565b5b6118095f848385611639565b611827836118185f865f61163f565b61182185611b63565b17611666565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f81036118d8576118d7632e07630060e01b61135c565b5b5f83830190505f8390506118ea611496565b600183031115611905576119046381647e3a60e01b61135c565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361190657815f8190555050505061194f5f848385611690565b505050565b5f61195d61148e565b5f540390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61198b611496565b1461199857600854810190505b90565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026119c06115ef565b8786866040518563ffffffff1660e01b81526004016119e29493929190612767565b6020604051808303815f875af1925050508015611a1d57506040513d601f19601f82011682018060405250810190611a1a91906127c5565b60015b611a72573d805f8114611a4b576040519150601f19603f3d011682016040523d82523d5f602084013e611a50565b606091505b505f815103611a6a57611a6963d1a57ed660e01b61135c565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b600115611aff57600184039350600a81066030018453600a8104905080611add575b50828103602084039350808452505050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f9392505050565b5f33905090565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611bb781611b83565b8114611bc1575f80fd5b50565b5f81359050611bd281611bae565b92915050565b5f60208284031215611bed57611bec611b7b565b5b5f611bfa84828501611bc4565b91505092915050565b5f8115159050919050565b611c1781611c03565b82525050565b5f602082019050611c305f830184611c0e565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611c7882611c36565b611c828185611c40565b9350611c92818560208601611c50565b611c9b81611c5e565b840191505092915050565b5f6020820190508181035f830152611cbe8184611c6e565b905092915050565b5f819050919050565b611cd881611cc6565b8114611ce2575f80fd5b50565b5f81359050611cf381611ccf565b92915050565b5f60208284031215611d0e57611d0d611b7b565b5b5f611d1b84828501611ce5565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611d4d82611d24565b9050919050565b611d5d81611d43565b82525050565b5f602082019050611d765f830184611d54565b92915050565b611d8581611d43565b8114611d8f575f80fd5b50565b5f81359050611da081611d7c565b92915050565b5f8060408385031215611dbc57611dbb611b7b565b5b5f611dc985828601611d92565b9250506020611dda85828601611ce5565b9150509250929050565b611ded81611cc6565b82525050565b5f602082019050611e065f830184611de4565b92915050565b5f805f60608486031215611e2357611e22611b7b565b5b5f611e3086828701611d92565b9350506020611e4186828701611d92565b9250506040611e5286828701611ce5565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611e7d57611e7c611e5c565b5b8235905067ffffffffffffffff811115611e9a57611e99611e60565b5b602083019150836001820283011115611eb657611eb5611e64565b5b9250929050565b5f8060208385031215611ed357611ed2611b7b565b5b5f83013567ffffffffffffffff811115611ef057611eef611b7f565b5b611efc85828601611e68565b92509250509250929050565b5f60208284031215611f1d57611f1c611b7b565b5b5f611f2a84828501611d92565b91505092915050565b611f3c81611c03565b8114611f46575f80fd5b50565b5f81359050611f5781611f33565b92915050565b5f8060408385031215611f7357611f72611b7b565b5b5f611f8085828601611d92565b9250506020611f9185828601611f49565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611fd582611c5e565b810181811067ffffffffffffffff82111715611ff457611ff3611f9f565b5b80604052505050565b5f612006611b72565b90506120128282611fcc565b919050565b5f67ffffffffffffffff82111561203157612030611f9f565b5b61203a82611c5e565b9050602081019050919050565b828183375f83830152505050565b5f61206761206284612017565b611ffd565b90508281526020810184848401111561208357612082611f9b565b5b61208e848285612047565b509392505050565b5f82601f8301126120aa576120a9611e5c565b5b81356120ba848260208601612055565b91505092915050565b5f805f80608085870312156120db576120da611b7b565b5b5f6120e887828801611d92565b94505060206120f987828801611d92565b935050604061210a87828801611ce5565b925050606085013567ffffffffffffffff81111561212b5761212a611b7f565b5b61213787828801612096565b91505092959194509250565b5f806040838503121561215957612158611b7b565b5b5f61216685828601611d92565b925050602061217785828601611d92565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806121c557607f821691505b6020821081036121d8576121d7612181565b5b50919050565b5f81905092915050565b50565b5f6121f65f836121de565b9150612201826121e8565b5f82019050919050565b5f612215826121eb565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f612253601083611c40565b915061225e8261221f565b602082019050919050565b5f6020820190508181035f83015261228081612247565b9050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026122ed7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826122b2565b6122f786836122b2565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61233261232d61232884611cc6565b61230f565b611cc6565b9050919050565b5f819050919050565b61234b83612318565b61235f61235782612339565b8484546122be565b825550505050565b5f90565b612373612367565b61237e818484612342565b505050565b5b818110156123a1576123965f8261236b565b600181019050612384565b5050565b601f8211156123e6576123b781612291565b6123c0846122a3565b810160208510156123cf578190505b6123e36123db856122a3565b830182612383565b50505b505050565b5f82821c905092915050565b5f6124065f19846008026123eb565b1980831691505092915050565b5f61241e83836123f7565b9150826002028217905092915050565b6124388383612287565b67ffffffffffffffff81111561245157612450611f9f565b5b61245b82546121ae565b6124668282856123a5565b5f601f831160018114612493575f8415612481578287013590505b61248b8582612413565b8655506124f2565b601f1984166124a186612291565b5f5b828110156124c8578489013582556001820191506020850194506020810190506124a3565b868310156124e557848901356124e1601f8916826123f7565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61253282611cc6565b915061253d83611cc6565b9250828201905080821115612555576125546124fb565b5b92915050565b7f4d617820737570706c79000000000000000000000000000000000000000000005f82015250565b5f61258f600a83611c40565b915061259a8261255b565b602082019050919050565b5f6020820190508181035f8301526125bc81612583565b9050919050565b5f6125cd82611cc6565b91506125d883611cc6565b92508282026125e681611cc6565b915082820484148315176125fd576125fc6124fb565b5b5092915050565b5f81905092915050565b5f815461261a816121ae565b6126248186612604565b9450600182165f811461263e576001811461265357612685565b60ff1983168652811515820286019350612685565b61265c85612291565b5f5b8381101561267d5781548189015260018201915060208101905061265e565b838801955050505b50505092915050565b5f61269882611c36565b6126a28185612604565b93506126b2818560208601611c50565b80840191505092915050565b5f6126c9828661260e565b91506126d5828561268e565b91506126e1828461260e565b9150819050949350505050565b5f6126f882611cc6565b91505f820361270a576127096124fb565b5b600182039050919050565b5f81519050919050565b5f82825260208201905092915050565b5f61273982612715565b612743818561271f565b9350612753818560208601611c50565b61275c81611c5e565b840191505092915050565b5f60808201905061277a5f830187611d54565b6127876020830186611d54565b6127946040830185611de4565b81810360608301526127a6818461272f565b905095945050505050565b5f815190506127bf81611bae565b92915050565b5f602082840312156127da576127d9611b7b565b5b5f6127e7848285016127b1565b9150509291505056fea26469706673582212200e7463b904fb0fad1f27e571b49df249d5841450bd198b5cbc1758e11d693fff64736f6c634300081a0033
Deployed Bytecode Sourcemap
85293:2066:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20789:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21691:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28931:227;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28648:124;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85514:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16893:573;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33203:3523;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87183:173;;;;;;;;;;;;;:::i;:::-;;36822:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87103:72;;;;;;;;;;;;;:::i;:::-;;86779:100;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;23093:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85483:24;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85341:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;86993:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18617:242;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64353:103;;;;;;;;;;;;;:::i;:::-;;86073:173;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;63678:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21867:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85746:319;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;29498:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;37613:416;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;86887:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;86256:298;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85410:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29889:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64611:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85448:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20789:639;20874:4;21213:10;21198:25;;:11;:25;;;;:102;;;;21290:10;21275:25;;:11;:25;;;;21198:102;:179;;;;21367:10;21352:25;;:11;:25;;;;21198:179;21178:199;;20789:639;;;:::o;21691:100::-;21745:13;21778:5;21771:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21691:100;:::o;28931:227::-;29007:7;29032:16;29040:7;29032;:16::i;:::-;29027:73;;29050:50;29058:41;;;29050:7;:50::i;:::-;29027:73;29120:15;:24;29136:7;29120:24;;;;;;;;;;;:30;;;;;;;;;;;;29113:37;;28931:227;;;:::o;28648:124::-;28737:27;28746:2;28750:7;28759:4;28737:8;:27::i;:::-;28648:124;;:::o;85514:29::-;;;;:::o;16893:573::-;16954:14;17352:15;:13;:15::i;:::-;17337:12;;17321:13;;:28;:46;17312:55;;17407:17;17386;:15;:17::i;:::-;:38;17382:65;;17436:11;;17426:21;;;;17382:65;16893:573;:::o;33203:3523::-;33345:27;33375;33394:7;33375:18;:27::i;:::-;33345:57;;12835:14;33546:4;33530:22;;:41;33507:66;;33631:4;33590:45;;33606:19;33590:45;;;33586:95;;33637:44;33645:35;;;33637:7;:44::i;:::-;33586:95;33695:27;33724:23;33751:35;33778:7;33751:26;:35::i;:::-;33694:92;;;;33886:68;33911:15;33928:4;33934:19;:17;:19::i;:::-;33886:24;:68::i;:::-;33881:189;;33974:43;33991:4;33997:19;:17;:19::i;:::-;33974:16;:43::i;:::-;33969:101;;34019:51;34027:42;;;34019:7;:51::i;:::-;33969:101;33881:189;34083:43;34105:4;34111:2;34115:7;34124:1;34083:21;:43::i;:::-;34219:15;34216:160;;;34359:1;34338:19;34331:30;34216:160;34756:18;:24;34775:4;34756:24;;;;;;;;;;;;;;;;34754:26;;;;;;;;;;;;34825:18;:22;34844:2;34825:22;;;;;;;;;;;;;;;;34823:24;;;;;;;;;;;35147:146;35184:2;35233:45;35248:4;35254:2;35258:19;35233:14;:45::i;:::-;12433:8;35205:73;35147:18;:146::i;:::-;35118:17;:26;35136:7;35118:26;;;;;;;;;;;:175;;;;35464:1;12433:8;35413:19;:47;:52;35409:627;;35486:19;35518:1;35508:7;:11;35486:33;;35675:1;35641:17;:30;35659:11;35641:30;;;;;;;;;;;;:35;35637:384;;35779:13;;35764:11;:28;35760:242;;35959:19;35926:17;:30;35944:11;35926:30;;;;;;;;;;;:52;;;;35760:242;35637:384;35467:569;35409:627;36149:16;12835:14;36184:2;36168:20;;:39;36149:58;;36548:7;36512:8;36478:4;36420:25;36365:1;36308;36285:299;36621:1;36609:8;:13;36605:58;;36624:39;36632:30;;;36624:7;:39::i;:::-;36605:58;36676:42;36697:4;36703:2;36707:7;36716:1;36676:20;:42::i;:::-;33334:3392;;;;33203:3523;;;:::o;87183:173::-;63564:13;:11;:13::i;:::-;87234:12:::1;87252:10;:15;;87275:21;87252:49;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87233:68;;;87320:7;87312:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;87222:134;87183:173::o:0;36822:193::-;36968:39;36985:4;36991:2;36995:7;36968:39;;;;;;;;;;;;:16;:39::i;:::-;36822:193;;;:::o;87103:72::-;63564:13;:11;:13::i;:::-;87163:4:::1;;;;;;;;;;;87162:5;87155:4;;:12;;;;;;;;;;;;;;;;;;87103:72::o:0;86779:100::-;63564:13;:11;:13::i;:::-;86864:7:::1;;86854;:17;;;;;;;:::i;:::-;;86779:100:::0;;:::o;23093:152::-;23165:7;23208:27;23227:7;23208:18;:27::i;:::-;23185:52;;23093:152;;;:::o;85483:24::-;;;;;;;;;;;;;:::o;85341:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;86993:102::-;63564:13;:11;:13::i;:::-;87077:10:::1;87065:9;:22;;;;86993:102:::0;:::o;18617:242::-;18689:7;18730:1;18713:19;;:5;:19;;;18709:69;;18734:44;18742:35;;;18734:7;:44::i;:::-;18709:69;11377:13;18796:18;:25;18815:5;18796:25;;;;;;;;;;;;;;;;:55;18789:62;;18617:242;;;:::o;64353:103::-;63564:13;:11;:13::i;:::-;64418:30:::1;64445:1;64418:18;:30::i;:::-;64353:103::o:0;86073:173::-;63564:13;:11;:13::i;:::-;86184:9:::1;;86174:7;86158:13;:11;:13::i;:::-;:23;;;;:::i;:::-;:35;86150:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;86219:19;86225:3;86230:7;86219:5;:19::i;:::-;86073:173:::0;;:::o;63678:87::-;63724:7;63751:6;;;;;;;;;;;63744:13;;63678:87;:::o;21867:104::-;21923:13;21956:7;21949:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21867:104;:::o;85746:319::-;85810:4;;;;;;;;;;;85805:26;;85823:8;;;;;;;;;;;;;;85805:26;85873:9;;85863:7;85846:14;:12;:14::i;:::-;:24;;;;:::i;:::-;:36;85842:60;;;85891:11;;;;;;;;;;;;;;85842:60;85927:8;;85917:7;:18;85913:41;;;85944:10;;;;;;;;;;;;;;85913:41;85988:7;85981:4;;:14;;;;:::i;:::-;85969:9;:26;85965:53;;;86004:14;;;;;;;;;;;;;;85965:53;86031:26;86037:10;86049:7;86031:5;:26::i;:::-;85746:319;:::o;29498:234::-;29645:8;29593:18;:39;29612:19;:17;:19::i;:::-;29593:39;;;;;;;;;;;;;;;:49;29633:8;29593:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;29705:8;29669:55;;29684:19;:17;:19::i;:::-;29669:55;;;29715:8;29669:55;;;;;;:::i;:::-;;;;;;;;29498:234;;:::o;37613:416::-;37788:31;37801:4;37807:2;37811:7;37788:12;:31::i;:::-;37852:1;37834:2;:14;;;:19;37830:192;;37873:56;37904:4;37910:2;37914:7;37923:5;37873:30;:56::i;:::-;37868:154;;37950:56;37958:47;;;37950:7;:56::i;:::-;37868:154;37830:192;37613:416;;;;:::o;86887:98::-;63564:13;:11;:13::i;:::-;86968:9:::1;86957:8;:20;;;;86887:98:::0;:::o;86256:298::-;86374:13;86410:16;86418:7;86410;:16::i;:::-;86405:59;;86435:29;;;;;;;;;;;;;;86405:59;86506:7;86515:18;86525:7;86515:9;:18::i;:::-;86535:9;86489:56;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;86475:71;;86256:298;;;:::o;85410:31::-;;;;:::o;29889:164::-;29986:4;30010:18;:25;30029:5;30010:25;;;;;;;;;;;;;;;:35;30036:8;30010:35;;;;;;;;;;;;;;;;;;;;;;;;;30003:42;;29889:164;;;;:::o;64611:220::-;63564:13;:11;:13::i;:::-;64716:1:::1;64696:22;;:8;:22;;::::0;64692:93:::1;;64770:1;64742:31;;;;;;;;;;;:::i;:::-;;;;;;;;64692:93;64795:28;64814:8;64795:18;:28::i;:::-;64611:220:::0;:::o;85448:28::-;;;;:::o;30311:475::-;30376:11;30423:7;30404:15;:13;:15::i;:::-;:26;30400:379;;30461:17;:15;:17::i;:::-;30451:7;:27;30447:90;;;30487:50;30510:17;:26;30528:7;30510:26;;;;;;;;;;;;30487:22;:50::i;:::-;30480:57;;;;30447:90;30568:13;;30558:7;:23;30554:214;;;30602:14;30635:60;30683:1;30652:17;:26;30670:7;30652:26;;;;;;;;;;;;30643:35;;;30642:42;30635:60;;30686:9;;;;:::i;:::-;;;30635:60;;;30751:1;12153:8;30723:6;:24;:29;30714:38;;30583:185;30554:214;30400:379;30311:475;;;;:::o;60820:165::-;60921:13;60915:4;60908:27;60962:4;60956;60949:18;52235:474;52364:13;52380:16;52388:7;52380;:16::i;:::-;52364:32;;52413:13;:45;;;;;52453:5;52430:28;;:19;:17;:19::i;:::-;:28;;;;52413:45;52409:201;;;52478:44;52495:5;52502:19;:17;:19::i;:::-;52478:16;:44::i;:::-;52473:137;;52543:51;52551:42;;;52543:7;:51::i;:::-;52473:137;52409:201;52655:2;52622:15;:24;52638:7;52622:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;52693:7;52689:2;52673:28;;52682:5;52673:28;;;;;;;;;;;;52353:356;52235:474;;;:::o;86562:93::-;86619:7;86646:1;86639:8;;86562:93;:::o;16391:110::-;16449:7;16476:17;16469:24;;16391:110;:::o;24578:2213::-;24645:14;24695:7;24676:15;:13;:15::i;:::-;:26;24672:2054;;24728:17;:26;24746:7;24728:26;;;;;;;;;;;;24719:35;;24785:17;:15;:17::i;:::-;24775:7;:27;24771:183;;;24827:30;24850:6;24827:22;:30::i;:::-;24859:13;24823:49;24891:47;24899:38;;;24891:7;:47::i;:::-;24771:183;25065:1;25055:6;:11;25051:1292;;25102:13;;25091:7;:24;25087:77;;25117:47;25125:38;;;25117:7;:47::i;:::-;25087:77;25721:607;25799:17;:28;25817:9;;;;;;;25799:28;;;;;;;;;;;;25790:37;;25887:1;25877:6;:11;25873:25;25890:8;25873:25;25953:1;12153:8;25925:6;:24;:29;25921:48;25956:13;25921:48;26261:47;26269:38;;;26261:7;:47::i;:::-;25721:607;;;25051:1292;26698:1;12153:8;26670:6;:24;:29;26666:48;26701:13;26666:48;24672:2054;26736:47;26744:38;;;26736:7;:47::i;:::-;24578:2213;;;;:::o;32098:485::-;32200:27;32229:23;32270:38;32311:15;:24;32327:7;32311:24;;;;;;;;;;;32270:65;;32488:18;32465:41;;32545:19;32539:26;32520:45;;32450:126;32098:485;;;:::o;58801:105::-;58861:7;58888:10;58881:17;;58801:105;:::o;31326:659::-;31475:11;31640:16;31633:5;31629:28;31620:37;;31800:16;31789:9;31785:32;31772:45;;31950:15;31939:9;31936:30;31928:5;31917:9;31914:20;31911:56;31901:66;;31326:659;;;;;:::o;38691:159::-;;;;;:::o;58110:311::-;58245:7;58265:16;12557:3;58291:19;:41;;58265:68;;12557:3;58359:31;58370:4;58376:2;58380:9;58359:10;:31::i;:::-;58351:40;;:62;;58344:69;;;58110:311;;;;;:::o;27339:450::-;27419:14;27587:16;27580:5;27576:28;27567:37;;27764:5;27750:11;27725:23;27721:41;27718:52;27711:5;27708:63;27698:73;;27339:450;;;;:::o;39515:158::-;;;;;:::o;63843:166::-;63914:12;:10;:12::i;:::-;63903:23;;:7;:5;:7::i;:::-;:23;;;63899:103;;63977:12;:10;:12::i;:::-;63950:40;;;;;;;;;;;:::i;:::-;;;;;;;;63899:103;63843:166::o;64991:191::-;65065:16;65084:6;;;;;;;;;;;65065:25;;65110:8;65101:6;;:17;;;;;;;;;;;;;;;;;;65165:8;65134:40;;65155:8;65134:40;;;;;;;;;;;;65054:128;64991:191;:::o;41266:2399::-;41339:20;41362:13;;41339:36;;41402:1;41390:8;:13;41386:53;;41405:34;41413:25;;;41405:7;:34::i;:::-;41386:53;41452:61;41482:1;41486:2;41490:12;41504:8;41452:21;:61::i;:::-;41986:139;42023:2;42077:33;42100:1;42104:2;42108:1;42077:14;:33::i;:::-;42044:30;42065:8;42044:20;:30::i;:::-;:66;41986:18;:139::i;:::-;41952:17;:31;41970:12;41952:31;;;;;;;;;;;:173;;;;42412:1;11515:2;42382:1;:26;;42381:32;42369:8;:45;42343:18;:22;42362:2;42343:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;42525:16;12835:14;42560:2;42544:20;;:39;42525:58;;42616:1;42604:8;:13;42600:54;;42619:35;42627:26;;;42619:7;:35::i;:::-;42600:54;42671:11;42700:8;42685:12;:23;42671:37;;42723:15;42741:12;42723:30;;42784:17;:15;:17::i;:::-;42780:1;42774:3;:7;:27;42770:77;;;42803:44;42811:35;;;42803:7;:44::i;:::-;42770:77;42864:676;43283:7;43239:8;43194:1;43128:25;43065:1;43000;42969:358;43535:3;43522:9;;;;;;:16;42864:676;;43572:3;43556:13;:19;;;;41701:1886;;;43597:60;43626:1;43630:2;43634:12;43648:8;43597:20;:60::i;:::-;41328:2337;41266:2399;;:::o;17564:385::-;17619:14;17835:15;:13;:15::i;:::-;17819:13;;:31;17810:40;;17890:17;17869;:15;:17::i;:::-;:38;17865:65;;17919:11;;17909:21;;;;17865:65;17564:385;:::o;40113:691::-;40276:4;40322:2;40297:45;;;40343:19;:17;:19::i;:::-;40364:4;40370:7;40379:5;40297:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;40293:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40597:1;40580:6;:13;:18;40576:115;;40619:56;40627:47;;;40619:7;:56::i;:::-;40576:115;40763:6;40757:13;40748:6;40744:2;40740:15;40733:38;40293:504;40466:54;;;40456:64;;;:6;:64;;;;40449:71;;;40113:691;;;;;;:::o;59008:1745::-;59073:17;59507:4;59500;59494:11;59490:22;59599:1;59593:4;59586:15;59674:4;59671:1;59667:12;59660:19;;59756:1;59751:3;59744:14;59860:3;60099:5;60081:428;60107:1;60081:428;;;60147:1;60142:3;60138:11;60131:18;;60318:2;60312:4;60308:13;60304:2;60300:22;60295:3;60287:36;60412:2;60406:4;60402:13;60394:21;;60479:4;60081:428;60469:25;60081:428;60085:21;60548:3;60543;60539:13;60663:4;60658:3;60654:14;60647:21;;60728:6;60723:3;60716:19;59112:1634;;;59008:1745;;;:::o;30882:335::-;30952:11;31182:15;31174:6;31170:28;31151:16;31143:6;31139:29;31136:63;31126:73;;30882:335;;;:::o;57811:147::-;57948:6;57811:147;;;;;:::o;61687:98::-;61740:7;61767:10;61760:17;;61687:98;:::o;27891:324::-;27961:14;28194:1;28184:8;28181:15;28155:24;28151:46;28141:56;;27891:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:139::-;1887:6;1882:3;1877;1871:23;1928:1;1919:6;1914:3;1910:16;1903:27;1798:139;;;:::o;1943:102::-;1984:6;2035:2;2031:7;2026:2;2019:5;2015:14;2011:28;2001:38;;1943:102;;;:::o;2051:377::-;2139:3;2167:39;2200:5;2167:39;:::i;:::-;2222:71;2286:6;2281:3;2222:71;:::i;:::-;2215:78;;2302:65;2360:6;2355:3;2348:4;2341:5;2337:16;2302:65;:::i;:::-;2392:29;2414:6;2392:29;:::i;:::-;2387:3;2383:39;2376:46;;2143:285;2051:377;;;;:::o;2434:313::-;2547:4;2585:2;2574:9;2570:18;2562:26;;2634:9;2628:4;2624:20;2620:1;2609:9;2605:17;2598:47;2662:78;2735:4;2726:6;2662:78;:::i;:::-;2654:86;;2434:313;;;;:::o;2753:77::-;2790:7;2819:5;2808:16;;2753:77;;;:::o;2836:122::-;2909:24;2927:5;2909:24;:::i;:::-;2902:5;2899:35;2889:63;;2948:1;2945;2938:12;2889:63;2836:122;:::o;2964:139::-;3010:5;3048:6;3035:20;3026:29;;3064:33;3091:5;3064:33;:::i;:::-;2964:139;;;;:::o;3109:329::-;3168:6;3217:2;3205:9;3196:7;3192:23;3188:32;3185:119;;;3223:79;;:::i;:::-;3185:119;3343:1;3368:53;3413:7;3404:6;3393:9;3389:22;3368:53;:::i;:::-;3358:63;;3314:117;3109:329;;;;:::o;3444:126::-;3481:7;3521:42;3514:5;3510:54;3499:65;;3444:126;;;:::o;3576:96::-;3613:7;3642:24;3660:5;3642:24;:::i;:::-;3631:35;;3576:96;;;:::o;3678:118::-;3765:24;3783:5;3765:24;:::i;:::-;3760:3;3753:37;3678:118;;:::o;3802:222::-;3895:4;3933:2;3922:9;3918:18;3910:26;;3946:71;4014:1;4003:9;3999:17;3990:6;3946:71;:::i;:::-;3802:222;;;;:::o;4030:122::-;4103:24;4121:5;4103:24;:::i;:::-;4096:5;4093:35;4083:63;;4142:1;4139;4132:12;4083:63;4030:122;:::o;4158:139::-;4204:5;4242:6;4229:20;4220:29;;4258:33;4285:5;4258:33;:::i;:::-;4158:139;;;;:::o;4303:474::-;4371:6;4379;4428:2;4416:9;4407:7;4403:23;4399:32;4396:119;;;4434:79;;:::i;:::-;4396:119;4554:1;4579:53;4624:7;4615:6;4604:9;4600:22;4579:53;:::i;:::-;4569:63;;4525:117;4681:2;4707:53;4752:7;4743:6;4732:9;4728:22;4707:53;:::i;:::-;4697:63;;4652:118;4303:474;;;;;:::o;4783:118::-;4870:24;4888:5;4870:24;:::i;:::-;4865:3;4858:37;4783:118;;:::o;4907:222::-;5000:4;5038:2;5027:9;5023:18;5015:26;;5051:71;5119:1;5108:9;5104:17;5095:6;5051:71;:::i;:::-;4907:222;;;;:::o;5135:619::-;5212:6;5220;5228;5277:2;5265:9;5256:7;5252:23;5248:32;5245:119;;;5283:79;;:::i;:::-;5245:119;5403:1;5428:53;5473:7;5464:6;5453:9;5449:22;5428:53;:::i;:::-;5418:63;;5374:117;5530:2;5556:53;5601:7;5592:6;5581:9;5577:22;5556:53;:::i;:::-;5546:63;;5501:118;5658:2;5684:53;5729:7;5720:6;5709:9;5705:22;5684:53;:::i;:::-;5674:63;;5629:118;5135:619;;;;;:::o;5760:117::-;5869:1;5866;5859:12;5883:117;5992:1;5989;5982:12;6006:117;6115:1;6112;6105:12;6143:553;6201:8;6211:6;6261:3;6254:4;6246:6;6242:17;6238:27;6228:122;;6269:79;;:::i;:::-;6228:122;6382:6;6369:20;6359:30;;6412:18;6404:6;6401:30;6398:117;;;6434:79;;:::i;:::-;6398:117;6548:4;6540:6;6536:17;6524:29;;6602:3;6594:4;6586:6;6582:17;6572:8;6568:32;6565:41;6562:128;;;6609:79;;:::i;:::-;6562:128;6143:553;;;;;:::o;6702:529::-;6773:6;6781;6830:2;6818:9;6809:7;6805:23;6801:32;6798:119;;;6836:79;;:::i;:::-;6798:119;6984:1;6973:9;6969:17;6956:31;7014:18;7006:6;7003:30;7000:117;;;7036:79;;:::i;:::-;7000:117;7149:65;7206:7;7197:6;7186:9;7182:22;7149:65;:::i;:::-;7131:83;;;;6927:297;6702:529;;;;;:::o;7237:329::-;7296:6;7345:2;7333:9;7324:7;7320:23;7316:32;7313:119;;;7351:79;;:::i;:::-;7313:119;7471:1;7496:53;7541:7;7532:6;7521:9;7517:22;7496:53;:::i;:::-;7486:63;;7442:117;7237:329;;;;:::o;7572:116::-;7642:21;7657:5;7642:21;:::i;:::-;7635:5;7632:32;7622:60;;7678:1;7675;7668:12;7622:60;7572:116;:::o;7694:133::-;7737:5;7775:6;7762:20;7753:29;;7791:30;7815:5;7791:30;:::i;:::-;7694:133;;;;:::o;7833:468::-;7898:6;7906;7955:2;7943:9;7934:7;7930:23;7926:32;7923:119;;;7961:79;;:::i;:::-;7923:119;8081:1;8106:53;8151:7;8142:6;8131:9;8127:22;8106:53;:::i;:::-;8096:63;;8052:117;8208:2;8234:50;8276:7;8267:6;8256:9;8252:22;8234:50;:::i;:::-;8224:60;;8179:115;7833:468;;;;;:::o;8307:117::-;8416:1;8413;8406:12;8430:180;8478:77;8475:1;8468:88;8575:4;8572:1;8565:15;8599:4;8596:1;8589:15;8616:281;8699:27;8721:4;8699:27;:::i;:::-;8691:6;8687:40;8829:6;8817:10;8814:22;8793:18;8781:10;8778:34;8775:62;8772:88;;;8840:18;;:::i;:::-;8772:88;8880:10;8876:2;8869:22;8659:238;8616:281;;:::o;8903:129::-;8937:6;8964:20;;:::i;:::-;8954:30;;8993:33;9021:4;9013:6;8993:33;:::i;:::-;8903:129;;;:::o;9038:307::-;9099:4;9189:18;9181:6;9178:30;9175:56;;;9211:18;;:::i;:::-;9175:56;9249:29;9271:6;9249:29;:::i;:::-;9241:37;;9333:4;9327;9323:15;9315:23;;9038:307;;;:::o;9351:148::-;9449:6;9444:3;9439;9426:30;9490:1;9481:6;9476:3;9472:16;9465:27;9351:148;;;:::o;9505:423::-;9582:5;9607:65;9623:48;9664:6;9623:48;:::i;:::-;9607:65;:::i;:::-;9598:74;;9695:6;9688:5;9681:21;9733:4;9726:5;9722:16;9771:3;9762:6;9757:3;9753:16;9750:25;9747:112;;;9778:79;;:::i;:::-;9747:112;9868:54;9915:6;9910:3;9905;9868:54;:::i;:::-;9588:340;9505:423;;;;;:::o;9947:338::-;10002:5;10051:3;10044:4;10036:6;10032:17;10028:27;10018:122;;10059:79;;:::i;:::-;10018:122;10176:6;10163:20;10201:78;10275:3;10267:6;10260:4;10252:6;10248:17;10201:78;:::i;:::-;10192:87;;10008:277;9947:338;;;;:::o;10291:943::-;10386:6;10394;10402;10410;10459:3;10447:9;10438:7;10434:23;10430:33;10427:120;;;10466:79;;:::i;:::-;10427:120;10586:1;10611:53;10656:7;10647:6;10636:9;10632:22;10611:53;:::i;:::-;10601:63;;10557:117;10713:2;10739:53;10784:7;10775:6;10764:9;10760:22;10739:53;:::i;:::-;10729:63;;10684:118;10841:2;10867:53;10912:7;10903:6;10892:9;10888:22;10867:53;:::i;:::-;10857:63;;10812:118;10997:2;10986:9;10982:18;10969:32;11028:18;11020:6;11017:30;11014:117;;;11050:79;;:::i;:::-;11014:117;11155:62;11209:7;11200:6;11189:9;11185:22;11155:62;:::i;:::-;11145:72;;10940:287;10291:943;;;;;;;:::o;11240:474::-;11308:6;11316;11365:2;11353:9;11344:7;11340:23;11336:32;11333:119;;;11371:79;;:::i;:::-;11333:119;11491:1;11516:53;11561:7;11552:6;11541:9;11537:22;11516:53;:::i;:::-;11506:63;;11462:117;11618:2;11644:53;11689:7;11680:6;11669:9;11665:22;11644:53;:::i;:::-;11634:63;;11589:118;11240:474;;;;;:::o;11720:180::-;11768:77;11765:1;11758:88;11865:4;11862:1;11855:15;11889:4;11886:1;11879:15;11906:320;11950:6;11987:1;11981:4;11977:12;11967:22;;12034:1;12028:4;12024:12;12055:18;12045:81;;12111:4;12103:6;12099:17;12089:27;;12045:81;12173:2;12165:6;12162:14;12142:18;12139:38;12136:84;;12192:18;;:::i;:::-;12136:84;11957:269;11906:320;;;:::o;12232:147::-;12333:11;12370:3;12355:18;;12232:147;;;;:::o;12385:114::-;;:::o;12505:398::-;12664:3;12685:83;12766:1;12761:3;12685:83;:::i;:::-;12678:90;;12777:93;12866:3;12777:93;:::i;:::-;12895:1;12890:3;12886:11;12879:18;;12505:398;;;:::o;12909:379::-;13093:3;13115:147;13258:3;13115:147;:::i;:::-;13108:154;;13279:3;13272:10;;12909:379;;;:::o;13294:166::-;13434:18;13430:1;13422:6;13418:14;13411:42;13294:166;:::o;13466:366::-;13608:3;13629:67;13693:2;13688:3;13629:67;:::i;:::-;13622:74;;13705:93;13794:3;13705:93;:::i;:::-;13823:2;13818:3;13814:12;13807:19;;13466:366;;;:::o;13838:419::-;14004:4;14042:2;14031:9;14027:18;14019:26;;14091:9;14085:4;14081:20;14077:1;14066:9;14062:17;14055:47;14119:131;14245:4;14119:131;:::i;:::-;14111:139;;13838:419;;;:::o;14263:97::-;14322:6;14350:3;14340:13;;14263:97;;;;:::o;14366:141::-;14415:4;14438:3;14430:11;;14461:3;14458:1;14451:14;14495:4;14492:1;14482:18;14474:26;;14366:141;;;:::o;14513:93::-;14550:6;14597:2;14592;14585:5;14581:14;14577:23;14567:33;;14513:93;;;:::o;14612:107::-;14656:8;14706:5;14700:4;14696:16;14675:37;;14612:107;;;;:::o;14725:393::-;14794:6;14844:1;14832:10;14828:18;14867:97;14897:66;14886:9;14867:97;:::i;:::-;14985:39;15015:8;15004:9;14985:39;:::i;:::-;14973:51;;15057:4;15053:9;15046:5;15042:21;15033:30;;15106:4;15096:8;15092:19;15085:5;15082:30;15072:40;;14801:317;;14725:393;;;;;:::o;15124:60::-;15152:3;15173:5;15166:12;;15124:60;;;:::o;15190:142::-;15240:9;15273:53;15291:34;15300:24;15318:5;15300:24;:::i;:::-;15291:34;:::i;:::-;15273:53;:::i;:::-;15260:66;;15190:142;;;:::o;15338:75::-;15381:3;15402:5;15395:12;;15338:75;;;:::o;15419:269::-;15529:39;15560:7;15529:39;:::i;:::-;15590:91;15639:41;15663:16;15639:41;:::i;:::-;15631:6;15624:4;15618:11;15590:91;:::i;:::-;15584:4;15577:105;15495:193;15419:269;;;:::o;15694:73::-;15739:3;15694:73;:::o;15773:189::-;15850:32;;:::i;:::-;15891:65;15949:6;15941;15935:4;15891:65;:::i;:::-;15826:136;15773:189;;:::o;15968:186::-;16028:120;16045:3;16038:5;16035:14;16028:120;;;16099:39;16136:1;16129:5;16099:39;:::i;:::-;16072:1;16065:5;16061:13;16052:22;;16028:120;;;15968:186;;:::o;16160:543::-;16261:2;16256:3;16253:11;16250:446;;;16295:38;16327:5;16295:38;:::i;:::-;16379:29;16397:10;16379:29;:::i;:::-;16369:8;16365:44;16562:2;16550:10;16547:18;16544:49;;;16583:8;16568:23;;16544:49;16606:80;16662:22;16680:3;16662:22;:::i;:::-;16652:8;16648:37;16635:11;16606:80;:::i;:::-;16265:431;;16250:446;16160:543;;;:::o;16709:117::-;16763:8;16813:5;16807:4;16803:16;16782:37;;16709:117;;;;:::o;16832:169::-;16876:6;16909:51;16957:1;16953:6;16945:5;16942:1;16938:13;16909:51;:::i;:::-;16905:56;16990:4;16984;16980:15;16970:25;;16883:118;16832:169;;;;:::o;17006:295::-;17082:4;17228:29;17253:3;17247:4;17228:29;:::i;:::-;17220:37;;17290:3;17287:1;17283:11;17277:4;17274:21;17266:29;;17006:295;;;;:::o;17306:1403::-;17430:44;17470:3;17465;17430:44;:::i;:::-;17539:18;17531:6;17528:30;17525:56;;;17561:18;;:::i;:::-;17525:56;17605:38;17637:4;17631:11;17605:38;:::i;:::-;17690:67;17750:6;17742;17736:4;17690:67;:::i;:::-;17784:1;17813:2;17805:6;17802:14;17830:1;17825:632;;;;18501:1;18518:6;18515:84;;;18574:9;18569:3;18565:19;18552:33;18543:42;;18515:84;18625:67;18685:6;18678:5;18625:67;:::i;:::-;18619:4;18612:81;18474:229;17795:908;;17825:632;17877:4;17873:9;17865:6;17861:22;17911:37;17943:4;17911:37;:::i;:::-;17970:1;17984:215;17998:7;17995:1;17992:14;17984:215;;;18084:9;18079:3;18075:19;18062:33;18054:6;18047:49;18135:1;18127:6;18123:14;18113:24;;18182:2;18171:9;18167:18;18154:31;;18021:4;18018:1;18014:12;18009:17;;17984:215;;;18227:6;18218:7;18215:19;18212:186;;;18292:9;18287:3;18283:19;18270:33;18335:48;18377:4;18369:6;18365:17;18354:9;18335:48;:::i;:::-;18327:6;18320:64;18235:163;18212:186;18444:1;18440;18432:6;18428:14;18424:22;18418:4;18411:36;17832:625;;;17795:908;;17405:1304;;;17306:1403;;;:::o;18715:180::-;18763:77;18760:1;18753:88;18860:4;18857:1;18850:15;18884:4;18881:1;18874:15;18901:191;18941:3;18960:20;18978:1;18960:20;:::i;:::-;18955:25;;18994:20;19012:1;18994:20;:::i;:::-;18989:25;;19037:1;19034;19030:9;19023:16;;19058:3;19055:1;19052:10;19049:36;;;19065:18;;:::i;:::-;19049:36;18901:191;;;;:::o;19098:160::-;19238:12;19234:1;19226:6;19222:14;19215:36;19098:160;:::o;19264:366::-;19406:3;19427:67;19491:2;19486:3;19427:67;:::i;:::-;19420:74;;19503:93;19592:3;19503:93;:::i;:::-;19621:2;19616:3;19612:12;19605:19;;19264:366;;;:::o;19636:419::-;19802:4;19840:2;19829:9;19825:18;19817:26;;19889:9;19883:4;19879:20;19875:1;19864:9;19860:17;19853:47;19917:131;20043:4;19917:131;:::i;:::-;19909:139;;19636:419;;;:::o;20061:410::-;20101:7;20124:20;20142:1;20124:20;:::i;:::-;20119:25;;20158:20;20176:1;20158:20;:::i;:::-;20153:25;;20213:1;20210;20206:9;20235:30;20253:11;20235:30;:::i;:::-;20224:41;;20414:1;20405:7;20401:15;20398:1;20395:22;20375:1;20368:9;20348:83;20325:139;;20444:18;;:::i;:::-;20325:139;20109:362;20061:410;;;;:::o;20477:148::-;20579:11;20616:3;20601:18;;20477:148;;;;:::o;20655:874::-;20758:3;20795:5;20789:12;20824:36;20850:9;20824:36;:::i;:::-;20876:89;20958:6;20953:3;20876:89;:::i;:::-;20869:96;;20996:1;20985:9;20981:17;21012:1;21007:166;;;;21187:1;21182:341;;;;20974:549;;21007:166;21091:4;21087:9;21076;21072:25;21067:3;21060:38;21153:6;21146:14;21139:22;21131:6;21127:35;21122:3;21118:45;21111:52;;21007:166;;21182:341;21249:38;21281:5;21249:38;:::i;:::-;21309:1;21323:154;21337:6;21334:1;21331:13;21323:154;;;21411:7;21405:14;21401:1;21396:3;21392:11;21385:35;21461:1;21452:7;21448:15;21437:26;;21359:4;21356:1;21352:12;21347:17;;21323:154;;;21506:6;21501:3;21497:16;21490:23;;21189:334;;20974:549;;20762:767;;20655:874;;;;:::o;21535:390::-;21641:3;21669:39;21702:5;21669:39;:::i;:::-;21724:89;21806:6;21801:3;21724:89;:::i;:::-;21717:96;;21822:65;21880:6;21875:3;21868:4;21861:5;21857:16;21822:65;:::i;:::-;21912:6;21907:3;21903:16;21896:23;;21645:280;21535:390;;;;:::o;21931:583::-;22153:3;22175:92;22263:3;22254:6;22175:92;:::i;:::-;22168:99;;22284:95;22375:3;22366:6;22284:95;:::i;:::-;22277:102;;22396:92;22484:3;22475:6;22396:92;:::i;:::-;22389:99;;22505:3;22498:10;;21931:583;;;;;;:::o;22520:171::-;22559:3;22582:24;22600:5;22582:24;:::i;:::-;22573:33;;22628:4;22621:5;22618:15;22615:41;;22636:18;;:::i;:::-;22615:41;22683:1;22676:5;22672:13;22665:20;;22520:171;;;:::o;22697:98::-;22748:6;22782:5;22776:12;22766:22;;22697:98;;;:::o;22801:168::-;22884:11;22918:6;22913:3;22906:19;22958:4;22953:3;22949:14;22934:29;;22801:168;;;;:::o;22975:373::-;23061:3;23089:38;23121:5;23089:38;:::i;:::-;23143:70;23206:6;23201:3;23143:70;:::i;:::-;23136:77;;23222:65;23280:6;23275:3;23268:4;23261:5;23257:16;23222:65;:::i;:::-;23312:29;23334:6;23312:29;:::i;:::-;23307:3;23303:39;23296:46;;23065:283;22975:373;;;;:::o;23354:640::-;23549:4;23587:3;23576:9;23572:19;23564:27;;23601:71;23669:1;23658:9;23654:17;23645:6;23601:71;:::i;:::-;23682:72;23750:2;23739:9;23735:18;23726:6;23682:72;:::i;:::-;23764;23832:2;23821:9;23817:18;23808:6;23764:72;:::i;:::-;23883:9;23877:4;23873:20;23868:2;23857:9;23853:18;23846:48;23911:76;23982:4;23973:6;23911:76;:::i;:::-;23903:84;;23354:640;;;;;;;:::o;24000:141::-;24056:5;24087:6;24081:13;24072:22;;24103:32;24129:5;24103:32;:::i;:::-;24000:141;;;;:::o;24147:349::-;24216:6;24265:2;24253:9;24244:7;24240:23;24236:32;24233:119;;;24271:79;;:::i;:::-;24233:119;24391:1;24416:63;24471:7;24462:6;24451:9;24447:22;24416:63;:::i;:::-;24406:73;;24362:127;24147:349;;;;:::o
Swarm Source
ipfs://0e7463b904fb0fad1f27e571b49df249d5841450bd198b5cbc1758e11d693fff
[ 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.