Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 19 from a total of 19 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21526659 | 4 days ago | IN | 0 ETH | 0.0001189 | ||||
Set Approval For... | 21286765 | 38 days ago | IN | 0 ETH | 0.00074259 | ||||
Set Approval For... | 21182072 | 52 days ago | IN | 0 ETH | 0.00173191 | ||||
Safe Transfer Fr... | 20270624 | 180 days ago | IN | 0 ETH | 0.00032497 | ||||
Set Approval For... | 19258010 | 321 days ago | IN | 0 ETH | 0.00113247 | ||||
Safe Transfer Fr... | 18837338 | 380 days ago | IN | 0 ETH | 0.00813812 | ||||
Set Approval For... | 18343884 | 449 days ago | IN | 0 ETH | 0.00033431 | ||||
Set Approval For... | 17537992 | 562 days ago | IN | 0 ETH | 0.0008269 | ||||
Set Approval For... | 16999178 | 638 days ago | IN | 0 ETH | 0.00124633 | ||||
Set Approval For... | 16863229 | 658 days ago | IN | 0 ETH | 0.00122183 | ||||
Set Approval For... | 16809080 | 665 days ago | IN | 0 ETH | 0.00108295 | ||||
Transfer From | 16737129 | 675 days ago | IN | 0 ETH | 0.00130722 | ||||
Set Approval For... | 16736129 | 676 days ago | IN | 0 ETH | 0.00208849 | ||||
Set Approval For... | 16715900 | 678 days ago | IN | 0 ETH | 0.00147837 | ||||
Transfer Ownersh... | 16398599 | 723 days ago | IN | 0 ETH | 0.00108082 | ||||
Set Approval For... | 16285263 | 739 days ago | IN | 0 ETH | 0.00113159 | ||||
Set Approval For... | 16266744 | 741 days ago | IN | 0 ETH | 0.00079281 | ||||
Set Approval For... | 16242152 | 745 days ago | IN | 0 ETH | 0.00088146 | ||||
Bulk Mint | 16158745 | 756 days ago | IN | 0 ETH | 0.06758643 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Stacys_V2
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.16; /****************************** STACYS UNLEASHED ******************************* NNNNNNNNNNNNNNNNNNNNNNNNNXXKKKKKKKKKK0kkOKNNNNNNNNNNNNNNNNXKKKKKKKKKKKXXNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNNNXXKKKKKKKKKK0olocdKNNNNNNNNNNNNNXXKKKXKKKKKKXXNNNNNNNNNN NNNNNNNNNNNNNNNXKOkkkxxk0KKKKKKKkOKXxcOOdcxNNK0XNNNNNNXKkxxxxxk00KKXNNNNNNNNNNNN NNNNNNNNNNNN0kkkkOOOOOOkxkKKKKK0c;dxookxdooxxccKWNNNXKkxkOOOOOkxxxx0NNNNNNNNNNNN NNNNNNNNNN0kk0XWWWWWWWWWXkdOKKX0lckxkkdodxOkkllKNNXXOdkXWWWWWWWWWX0kk0NNNNNNNNNN NNNNNNNNNOd0WWWWWWWNKXNWWNxoOXNKllkk00OOO00Oxcl0XXKOoxNWWNXKNWWWWWWW0dONNNNNNNNX NNNNNNNNKokWWWWWWWWKodOKXNNxdKNOclOO00000000Oo:okKOoxXNXKOdoKWWWWWWWWkoKNNNNNXXK NNNNNNNWKokWWWWWWWWNx:dOO0XXOkkkOKXXKKKKKKKKXKOOkxxOXX0OOd:xNWWWWWWWWkoKNNNXXKKK NNNNNNNNKlkWWWWWWWNNx;lodk0XNNXWWWNXKXXNNXXXXNWWWXNWX0kdol:xNNWWWWWWWkoKNXXKKKKK NNNNNNNNOlkWWWWWWNN0ox0kokNWWWWWWWNKKXXXXXXKKNWWWWWWWNkokKko0NNWWWWWWxlOXKKKKKKK NNNNNXXX0odKWWWNNNKdokkkKNWWWWWWWWNKXNNNNNNXKNWWWWWWWWWKkkkodKNNNWWWKdo0KKKKKKKK NNNXXKKKK0dd0XNNXKxlokKWWWNXNWWWWWNKKNNWWWNKKNWWWWWNXNWWNKkolxKXNNX0dd0KKKKKKKKX NXXKKKKKKKKkxxxxxkxoxXWWWWNXXNWWWNXKKKXNNXKKKXWWWWNXXNWWWWXxoxxxxxxxOKKKKKKKKKXN XKKKKKKKKKKKK0KKK0dxXNXNWNXKXWWWWXKXNNXKKKXNXKNWWWWXKXNWNXNXxd00OOOKKKKKKKKXXNNN KKKKKKKKKKXXNNNWNko0XKXNNXXXNWWWXK0XNWNNNNWNXKKNWWWNXXXNNXKX0oxKXKKKKKKKKXXNNNNN KKKKKKKKXXNNNNNXkx0NXXXXXXNWWWNXKkdkXWWWWWWXkdkKNWWWWNXXXXXXN0dx0KKKKKKXXNNNNNNN KKKKKKXXNNNNNXOxOXNXXNNWWWWWNX0ocodkKNWWWWNKkdocoKNWWWWWWWWNXNXkdk0KKKXNNNNNNNNN KKKKXXNNNNNNXxxKXXXXKXXXXXX0ko' ..lKWWWWWWKl.. 'oOKNNNNNNXXXXXKdd0XNNNNNNNNNNN KKXXNNNNNNNN0okNWWWNNXK0KKXk::;':clOXWWNWWWXOlc:';:ckXKKKXNNWWWWNOoONNNNNNNNNNNN XXNNNNNNNNNNNOdkKXXXXKKXXNNXKK0k0XNWWWNNNNWWWNX0k0KKXWNXXXXNNNNXOdONNNNNNNNNNNNN NNNNNNNNNNNNNNXkokXXXKK0dkNWNK00KNWWWWKkkKWWWWNK00KNWNkd0XXNXXOdkXNNNNNNNNNNNNNX NNNNNNNNNNNNNNNKxo0WWN0xoxXNNXKKXNWWWWXKKXWWWWNXKKXNNXxokKNWW0dkNWWNNNNNNNNNNXXK NNNNNNNNNNNKOxxkOdxXWXkdod0NNWWWWWWNXK0000KNNWWWWWWNN0dodkXWXxxK0kkOKNNNNNNXXKKK NNNNNNNNXOxkkkkdokxd0N0xold0XNWWWWWXkollolokXWWWWWNX0dlox0X0dkOddkkkkxOKNXXKKKKK NNNNNNNKdd0XNKOdodOdoKNOOOkxxkKNNWWWNXKKKKXNWWWNNKkxxkOOKNKdxKxdxOXNX0doOKKKKKKK NNNNNNkdkKNNXdlOK0KxlKWNKXNXKOkxxkO0XNWWWWNX0OkxxxOKXNXXNWKokNXNKoxNNNKkoxKKKKKK NNNNXkoOXXNNXxldddddkXWWNXXNNNXXKOkdldkkkkdldkOKXXNNNXXNWWXkdkkkxoONNNXKOoxKKKKK NNNXKooXNXXXXKOxxdkKNWWWNKXNNNXXNNNkldxxxxdlkNNNXXNNNXKNWWWNKkkkOKNNXXXNXooKKKXX XXXKKooXWWNXXXXKXXNWWWWWNKXNNKkkOOOxodkOOkdokOOOkkKNNXXNWWWWWNXXXXXXXNWWXooKXXNN KKKKKxo0WWWWWNNNWWWWWWWWNXXKOkxxkkkOKK000KXKOkkkxxkOKXXNWWWWWWWWNNNNWWWW0oxXNNNN KKKKKKxd0NWWWWWWWWWWWWWWXK0dkXWWWWWWWNXXXNWWWWWWWWXkd0KXWWWWWWWWWWWWWWN0dkXNNNNN KKKKKKKOkOKNWWWWWWWWWWNXK0dxXWWXK0OOOOOOOOOOOO0KXWWNxd0KXNWWWWWWWWWWNKOkKNNNNNNN KKKKKXXNNKOkkO0000000KK0Oo:kWX0kxdooddddooodoodxk0XWk:oO0KK0000000kkkOKNNNNNNNNN KKKXXNNNNNNXK0kkkkkxxddddocoddxkxdxkxxkkxdoxkxdxkxddocoddddddddddxO0KNNNNNNNNNNN KXXNNNNNNNNNNNNNNNNNX00K0dcodloxddxkxxkkxdoxkxddxoldocdKK00KKKXXXNNNNNNNNNNNNNNN XNNNNNNNNNNWNNNNNNXXKKKKKklkXd:loooodxxxkxdooolll:dXklkKKKKKKKXNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNXXKKKKKKKklkNx:odddxk0OO0Okxddddo:xNklkKKKKXXXNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNXKKKKKKKKKKklx0xx0NNXNNKKK0KXNNXXN0xx0xlkKKKXXNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNXXKKKKKKKKKK0d:o0NMWWNWWWWWWWWWWWWNNWMN0o:d0XNNNNNNNNNNNNNNNNNNNNNNN KKKKKKKKKK00OOOOOOOOOOOOocd0XXXKKKXXKKXXXXKKXXXKKXXX0dcd0KKKKKKKKKKKKKKKKKKKKKKK */ import "./FlickDropNFT.sol"; contract Stacys_V2 is FlickDropNFT { constructor( address feeReceiver, uint96 feeBasisPoints, string memory baseURI ) FlickDropNFT("Stacys", "STACYS", feeReceiver, feeBasisPoints) { setBaseURI(baseURI); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.16; import "erc721a/contracts/ERC721A.sol"; import "erc721a/contracts/extensions/ERC721AQueryable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "operator-filter-registry/src/DefaultOperatorFilterer.sol"; contract FlickDropNFT is ERC721AQueryable, Ownable, ERC2981, DefaultOperatorFilterer { string public m_baseURI; bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; constructor( string memory name, string memory symbol, address feeReceiver, uint96 feeBasis ) ERC721A(name, symbol) ERC2981() { _setDefaultRoyalty(feeReceiver, feeBasis); } function setDefaultRoyalty( address feeReceiver, uint96 feeBasis ) external onlyOwner { _setDefaultRoyalty(feeReceiver, feeBasis); } function setBaseURI(string memory newBaseURI) public onlyOwner { m_baseURI = newBaseURI; } function _startTokenId() internal pure override returns (uint256) { return 1; } function withdraw() external onlyOwner { (address receiver, ) = royaltyInfo(0, 0); payable(receiver).transfer(address(this).balance); } function _baseURI() internal view override returns (string memory) { return m_baseURI; } function bulkMint(address[] memory _to) public onlyOwner { for (uint256 i = 0; i < _to.length; i++) { _mint(_to[i], 1); } } /** * @dev implements operator-filter-registry blocklist filtering because https://opensea.io/blog/announcements/on-creator-fees/ */ function setApprovalForAll( address operator, bool approved ) public override(ERC721A, IERC721A) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } /** * @dev implements operator-filter-registry blocklist filtering because https://opensea.io/blog/announcements/on-creator-fees/ */ function approve( address operator, uint256 tokenId ) public payable override(ERC721A, IERC721A) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } /** * @dev implements operator-filter-registry blocklist filtering because https://opensea.io/blog/announcements/on-creator-fees/ */ function transferFrom( address from, address to, uint256 tokenId ) public payable override(ERC721A, IERC721A) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } /** * @dev implements operator-filter-registry blocklist filtering because https://opensea.io/blog/announcements/on-creator-fees/ */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override(ERC721A, IERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } /** * @dev implements operator-filter-registry blocklist filtering because https://opensea.io/blog/announcements/on-creator-fees/ */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override(ERC721A, IERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function supportsInterface( bytes4 interfaceID ) public view virtual override(ERC721A, IERC721A, ERC2981) returns (bool) { return interfaceID == type(IERC721AQueryable).interfaceId || super.supportsInterface(interfaceID); } receive() external payable { // transfer all funds to contract } /** * @dev allow onlyOwner to call arbitary calldata as contract, as a safety valve for stuck coins */ function callContract( address _contract, bytes memory _data ) external onlyOwner { (bool success, ) = _contract.call(_data); require(success, "callContract failed"); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import '../ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
{ "optimizer": { "enabled": true, "runs": 10000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"feeReceiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"},{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"}],"name":"bulkMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"callContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"m_baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeReceiver","type":"address"},{"internalType":"uint96","name":"feeBasis","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002f8b38038062002f8b833981016040819052620000349162000419565b6040518060400160405280600681526020016553746163797360d01b8152506040518060400160405280600681526020016553544143595360d01b8152508484733cc6cdda760b79bafa08df41ecfa224f810dceb66001858581600290816200009e9190620005be565b506003620000ad8282620005be565b5050600160005550620000c03362000232565b6daaeb6d7670e522a718067333cd4e3b15620002055780156200015357604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200013457600080fd5b505af115801562000149573d6000803e3d6000fd5b5050505062000205565b6001600160a01b03821615620001a45760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000119565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001eb57600080fd5b505af115801562000200573d6000803e3d6000fd5b505050505b50620002149050828262000284565b5050505062000229816200038960201b60201c565b5050506200068a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620002f85760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620003505760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620002ef565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b62000393620003a5565b600b620003a18282620005be565b5050565b6008546001600160a01b03163314620004015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620002ef565b565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156200042f57600080fd5b83516001600160a01b03811681146200044757600080fd5b602085810151919450906001600160601b03811681146200046757600080fd5b60408601519093506001600160401b03808211156200048557600080fd5b818701915087601f8301126200049a57600080fd5b815181811115620004af57620004af62000403565b604051601f8201601f19908116603f01168101908382118183101715620004da57620004da62000403565b816040528281528a86848701011115620004f357600080fd5b600093505b82841015620005175784840186015181850187015292850192620004f8565b60008684830101528096505050505050509250925092565b600181811c908216806200054457607f821691505b6020821081036200056557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005b957600081815260208120601f850160051c81016020861015620005945750805b601f850160051c820191505b81811015620005b557828155600101620005a0565b5050505b505050565b81516001600160401b03811115620005da57620005da62000403565b620005f281620005eb84546200052f565b846200056b565b602080601f8311600181146200062a5760008415620006115750858301515b600019600386901b1c1916600185901b178555620005b5565b600085815260208120601f198616915b828110156200065b578886015182559484019460019091019084016200063a565b50858210156200067a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6128f1806200069a6000396000f3fe6080604052600436106101c65760003560e01c806355f804b3116100f757806395d89b4111610095578063c23dc68f11610064578063c23dc68f1461052a578063c87b56dd14610557578063e985e9c514610577578063f2fde38b146105cd57600080fd5b806395d89b41146104c257806399a2557a146104d7578063a22cb465146104f7578063b88d4fde1461051757600080fd5b806370a08231116100d157806370a0823114610435578063715018a6146104555780638462151c1461046a5780638da5cb5b1461049757600080fd5b806355f804b3146103c85780635bbb2177146103e85780636352211e1461041557600080fd5b806323b872dd116101645780633771aaa11161013e5780633771aaa11461035e5780633ccfd60b1461037e57806341f434341461039357806342842e0e146103b557600080fd5b806323b872dd146102ea5780632a55205a146102fd578063359bccf41461034957600080fd5b806306fdde03116101a057806306fdde0314610249578063081812fc1461026b578063095ea7b3146102b057806318160ddd146102c357600080fd5b806301ffc9a7146101d2578063037106681461020757806304634d8d1461022957600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101f26101ed366004611f68565b6105ed565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b50610227610222366004612086565b610649565b005b34801561023557600080fd5b506102276102443660046120d4565b61072f565b34801561025557600080fd5b5061025e610745565b6040516101fe919061216c565b34801561027757600080fd5b5061028b61028636600461217f565b6107d7565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101fe565b6102276102be366004612198565b610841565b3480156102cf57600080fd5b5060015460005403600019015b6040519081526020016101fe565b6102276102f83660046121c2565b610855565b34801561030957600080fd5b5061031d6103183660046121fe565b61088d565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016101fe565b34801561035557600080fd5b5061025e610984565b34801561036a57600080fd5b50610227610379366004612220565b610a12565b34801561038a57600080fd5b50610227610a5c565b34801561039f57600080fd5b5061028b6daaeb6d7670e522a718067333cd4e81565b6102276103c33660046121c2565b610ab7565b3480156103d457600080fd5b506102276103e33660046122cd565b610ae9565b3480156103f457600080fd5b50610408610403366004612316565b610afd565b6040516101fe919061238b565b34801561042157600080fd5b5061028b61043036600461217f565b610bc9565b34801561044157600080fd5b506102dc610450366004612415565b610bd4565b34801561046157600080fd5b50610227610c56565b34801561047657600080fd5b5061048a610485366004612415565b610c6a565b6040516101fe9190612430565b3480156104a357600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff1661028b565b3480156104ce57600080fd5b5061025e610d95565b3480156104e357600080fd5b5061048a6104f2366004612468565b610da4565b34801561050357600080fd5b506102276105123660046124a9565b610f6c565b6102276105253660046124d5565b610f80565b34801561053657600080fd5b5061054a61054536600461217f565b610fba565b6040516101fe919061253d565b34801561056357600080fd5b5061025e61057236600461217f565b611042565b34801561058357600080fd5b506101f261059236600461258f565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105d957600080fd5b506102276105e8366004612415565b6110de565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f8446a79e000000000000000000000000000000000000000000000000000000001480610643575061064382611195565b92915050565b61065161122c565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161067891906125c2565b6000604051808303816000865af19150503d80600081146106b5576040519150601f19603f3d011682016040523d82523d6000602084013e6106ba565b606091505b505090508061072a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f63616c6c436f6e7472616374206661696c65640000000000000000000000000060448201526064015b60405180910390fd5b505050565b61073761122c565b61074182826112ad565b5050565b606060028054610754906125de565b80601f0160208091040260200160405190810160405280929190818152602001828054610780906125de565b80156107cd5780601f106107a2576101008083540402835291602001916107cd565b820191906000526020600020905b8154815290600101906020018083116107b057829003601f168201915b5050505050905090565b60006107e282611426565b610818576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b8161084b81611474565b61072a8383611579565b8273ffffffffffffffffffffffffffffffffffffffff8116331461087c5761087c33611474565b610887848484611664565b50505050565b6000828152600a6020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692820192909252829161094857506040805180820190915260095473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b60208101516000906127109061096c906bffffffffffffffffffffffff1687612660565b610976919061267f565b915196919550909350505050565b600b8054610991906125de565b80601f01602080910402602001604051908101604052809291908181526020018280546109bd906125de565b8015610a0a5780601f106109df57610100808354040283529160200191610a0a565b820191906000526020600020905b8154815290600101906020018083116109ed57829003601f168201915b505050505081565b610a1a61122c565b60005b815181101561074157610a4a828281518110610a3b57610a3b6126ba565b602002602001015160016118d6565b80610a54816126e9565b915050610a1d565b610a6461122c565b6000610a7160008061088d565b5060405190915073ffffffffffffffffffffffffffffffffffffffff8216904780156108fc02916000818181858888f19350505050158015610741573d6000803e3d6000fd5b8273ffffffffffffffffffffffffffffffffffffffff81163314610ade57610ade33611474565b610887848484611a14565b610af161122c565b600b6107418282612749565b60608160008167ffffffffffffffff811115610b1b57610b1b611fae565b604051908082528060200260200182016040528015610b6d57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610b395790505b50905060005b828114610bc057610b9b868683818110610b8f57610b8f6126ba565b90506020020135610fba565b828281518110610bad57610bad6126ba565b6020908102919091010152600101610b73565b50949350505050565b600061064382611a2f565b600073ffffffffffffffffffffffffffffffffffffffff8216610c23576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b610c5e61122c565b610c686000611ad0565b565b60606000806000610c7a85610bd4565b905060008167ffffffffffffffff811115610c9757610c97611fae565b604051908082528060200260200182016040528015610cc0578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b838614610d8957610cfb81611b47565b91508160400151610d8157815173ffffffffffffffffffffffffffffffffffffffff1615610d2857815194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610d815780838780600101985081518110610d7457610d746126ba565b6020026020010181815250505b600101610ceb565b50909695505050505050565b606060038054610754906125de565b6060818310610ddf576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610deb60005490565b90506001851015610dfb57600194505b80841115610e07578093505b6000610e1287610bd4565b905084861015610e315785850381811015610e2b578091505b50610e35565b5060005b60008167ffffffffffffffff811115610e5057610e50611fae565b604051908082528060200260200182016040528015610e79578160200160208202803683370190505b50905081600003610e8f579350610f6592505050565b6000610e9a88610fba565b905060008160400151610eab575080515b885b888114158015610ebd5750848714155b15610f5957610ecb81611b47565b92508260400151610f5157825173ffffffffffffffffffffffffffffffffffffffff1615610ef857825191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f515780848880600101995081518110610f4457610f446126ba565b6020026020010181815250505b600101610ead565b50505092835250909150505b9392505050565b81610f7681611474565b61072a8383611bec565b8373ffffffffffffffffffffffffffffffffffffffff81163314610fa757610fa733611474565b610fb385858585611c83565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061101357506000548310155b1561101e5792915050565b61102783611b47565b90508060400151156110395792915050565b610f6583611ced565b606061104d82611426565b611083576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061108d611d8b565b905080516000036110ad5760405180602001604052806000815250610f65565b806110b784611d9a565b6040516020016110c8929190612809565b6040516020818303038152906040529392505050565b6110e661122c565b73ffffffffffffffffffffffffffffffffffffffff8116611189576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610721565b61119281611ad0565b50565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000148061064357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610643565b60085473ffffffffffffffffffffffffffffffffffffffff163314610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610721565b6127106bffffffffffffffffffffffff8216111561134d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610721565b73ffffffffffffffffffffffffffffffffffffffff82166113ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610721565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600955565b60008160011115801561143a575060005482105b80156106435750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b6daaeb6d7670e522a718067333cd4e3b15611192576040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152b9190612838565b611192576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82166004820152602401610721565b600061158482610bc9565b90503373ffffffffffffffffffffffffffffffffffffffff8216146115e3576115ad8133610592565b6115e3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061166f82611a2f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116d6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040902080543380821473ffffffffffffffffffffffffffffffffffffffff881690911417611749576117138633610592565b611749576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516611796576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80156117a157600082555b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003611872576001840160008181526004602052604081205490036118705760005481146118705760008181526004602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000805490829003611914576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119d057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611998565b5081600003611a0b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b61072a83838360405180602001604052806000815250610f80565b60008180600111611a9e57600054811015611a9e57600081815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003611a9c575b80600003610f65575060001901600081815260046020526040902054611a7b565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610643906040805160808101825273ffffffffffffffffffffffffffffffffffffffff8316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611c8e848484610855565b73ffffffffffffffffffffffffffffffffffffffff83163b1561088757611cb784848484611dde565b610887576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610643611d1d83611a2f565b6040805160808101825273ffffffffffffffffffffffffffffffffffffffff8316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b6060600b8054610754906125de565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611db45750819003601f19909101908152919050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611e39903390899088908890600401612855565b6020604051808303816000875af1925050508015611e74575060408051601f3d908101601f19168201909252611e719181019061289e565b60015b611eeb573d808015611ea2576040519150601f19603f3d011682016040523d82523d6000602084013e611ea7565b606091505b508051600003611ee3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461119257600080fd5b600060208284031215611f7a57600080fd5b8135610f6581611f3a565b803573ffffffffffffffffffffffffffffffffffffffff81168114611fa957600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561200657612006611fae565b604052919050565b600067ffffffffffffffff83111561202857612028611fae565b61203b6020601f19601f86011601611fdd565b905082815283838301111561204f57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261207757600080fd5b610f658383356020850161200e565b6000806040838503121561209957600080fd5b6120a283611f85565b9150602083013567ffffffffffffffff8111156120be57600080fd5b6120ca85828601612066565b9150509250929050565b600080604083850312156120e757600080fd5b6120f083611f85565b915060208301356bffffffffffffffffffffffff8116811461211157600080fd5b809150509250929050565b60005b8381101561213757818101518382015260200161211f565b50506000910152565b6000815180845261215881602086016020860161211c565b601f01601f19169290920160200192915050565b602081526000610f656020830184612140565b60006020828403121561219157600080fd5b5035919050565b600080604083850312156121ab57600080fd5b6121b483611f85565b946020939093013593505050565b6000806000606084860312156121d757600080fd5b6121e084611f85565b92506121ee60208501611f85565b9150604084013590509250925092565b6000806040838503121561221157600080fd5b50508035926020909101359150565b6000602080838503121561223357600080fd5b823567ffffffffffffffff8082111561224b57600080fd5b818501915085601f83011261225f57600080fd5b81358181111561227157612271611fae565b8060051b9150612282848301611fdd565b818152918301840191848101908884111561229c57600080fd5b938501935b838510156122c1576122b285611f85565b825293850193908501906122a1565b98975050505050505050565b6000602082840312156122df57600080fd5b813567ffffffffffffffff8111156122f657600080fd5b8201601f8101841361230757600080fd5b611f328482356020840161200e565b6000806020838503121561232957600080fd5b823567ffffffffffffffff8082111561234157600080fd5b818501915085601f83011261235557600080fd5b81358181111561236457600080fd5b8660208260051b850101111561237957600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015610d895761240283855173ffffffffffffffffffffffffffffffffffffffff815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b92840192608092909201916001016123a7565b60006020828403121561242757600080fd5b610f6582611f85565b6020808252825182820181905260009190848201906040850190845b81811015610d895783518352928401929184019160010161244c565b60008060006060848603121561247d57600080fd5b61248684611f85565b95602085013595506040909401359392505050565b801515811461119257600080fd5b600080604083850312156124bc57600080fd5b6124c583611f85565b915060208301356121118161249b565b600080600080608085870312156124eb57600080fd5b6124f485611f85565b935061250260208601611f85565b925060408501359150606085013567ffffffffffffffff81111561252557600080fd5b61253187828801612066565b91505092959194509250565b815173ffffffffffffffffffffffffffffffffffffffff16815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610643565b600080604083850312156125a257600080fd5b6125ab83611f85565b91506125b960208401611f85565b90509250929050565b600082516125d481846020870161211c565b9190910192915050565b600181811c908216806125f257607f821691505b60208210810361262b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600081600019048311821515161561267a5761267a612631565b500290565b6000826126b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060001982036126fc576126fc612631565b5060010190565b601f82111561072a57600081815260208120601f850160051c8101602086101561272a5750805b601f850160051c820191505b818110156118ce57828155600101612736565b815167ffffffffffffffff81111561276357612763611fae565b6127778161277184546125de565b84612703565b602080601f8311600181146127ac57600084156127945750858301515b600019600386901b1c1916600185901b1785556118ce565b600085815260208120601f198616915b828110156127db578886015182559484019460019091019084016127bc565b50858210156127f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000835161281b81846020880161211c565b83519083019061282f81836020880161211c565b01949350505050565b60006020828403121561284a57600080fd5b8151610f658161249b565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526128946080830184612140565b9695505050505050565b6000602082840312156128b057600080fd5b8151610f6581611f3a56fea26469706673582212205abb484aff1a26b03d4cd86855081545d5f442b659d9388e820025e9f8f4a25b64736f6c634300081000330000000000000000000000006e6e5a19f30e7f6519bb77c6d27d1b23d72b6f5f00000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f7374616379732d76322e73332e75732d656173742d322e616d617a6f6e6177732e636f6d2f7374616379732f000000000000000000000000
Deployed Bytecode
0x6080604052600436106101c65760003560e01c806355f804b3116100f757806395d89b4111610095578063c23dc68f11610064578063c23dc68f1461052a578063c87b56dd14610557578063e985e9c514610577578063f2fde38b146105cd57600080fd5b806395d89b41146104c257806399a2557a146104d7578063a22cb465146104f7578063b88d4fde1461051757600080fd5b806370a08231116100d157806370a0823114610435578063715018a6146104555780638462151c1461046a5780638da5cb5b1461049757600080fd5b806355f804b3146103c85780635bbb2177146103e85780636352211e1461041557600080fd5b806323b872dd116101645780633771aaa11161013e5780633771aaa11461035e5780633ccfd60b1461037e57806341f434341461039357806342842e0e146103b557600080fd5b806323b872dd146102ea5780632a55205a146102fd578063359bccf41461034957600080fd5b806306fdde03116101a057806306fdde0314610249578063081812fc1461026b578063095ea7b3146102b057806318160ddd146102c357600080fd5b806301ffc9a7146101d2578063037106681461020757806304634d8d1461022957600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101f26101ed366004611f68565b6105ed565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b50610227610222366004612086565b610649565b005b34801561023557600080fd5b506102276102443660046120d4565b61072f565b34801561025557600080fd5b5061025e610745565b6040516101fe919061216c565b34801561027757600080fd5b5061028b61028636600461217f565b6107d7565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101fe565b6102276102be366004612198565b610841565b3480156102cf57600080fd5b5060015460005403600019015b6040519081526020016101fe565b6102276102f83660046121c2565b610855565b34801561030957600080fd5b5061031d6103183660046121fe565b61088d565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016101fe565b34801561035557600080fd5b5061025e610984565b34801561036a57600080fd5b50610227610379366004612220565b610a12565b34801561038a57600080fd5b50610227610a5c565b34801561039f57600080fd5b5061028b6daaeb6d7670e522a718067333cd4e81565b6102276103c33660046121c2565b610ab7565b3480156103d457600080fd5b506102276103e33660046122cd565b610ae9565b3480156103f457600080fd5b50610408610403366004612316565b610afd565b6040516101fe919061238b565b34801561042157600080fd5b5061028b61043036600461217f565b610bc9565b34801561044157600080fd5b506102dc610450366004612415565b610bd4565b34801561046157600080fd5b50610227610c56565b34801561047657600080fd5b5061048a610485366004612415565b610c6a565b6040516101fe9190612430565b3480156104a357600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff1661028b565b3480156104ce57600080fd5b5061025e610d95565b3480156104e357600080fd5b5061048a6104f2366004612468565b610da4565b34801561050357600080fd5b506102276105123660046124a9565b610f6c565b6102276105253660046124d5565b610f80565b34801561053657600080fd5b5061054a61054536600461217f565b610fba565b6040516101fe919061253d565b34801561056357600080fd5b5061025e61057236600461217f565b611042565b34801561058357600080fd5b506101f261059236600461258f565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105d957600080fd5b506102276105e8366004612415565b6110de565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f8446a79e000000000000000000000000000000000000000000000000000000001480610643575061064382611195565b92915050565b61065161122c565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161067891906125c2565b6000604051808303816000865af19150503d80600081146106b5576040519150601f19603f3d011682016040523d82523d6000602084013e6106ba565b606091505b505090508061072a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f63616c6c436f6e7472616374206661696c65640000000000000000000000000060448201526064015b60405180910390fd5b505050565b61073761122c565b61074182826112ad565b5050565b606060028054610754906125de565b80601f0160208091040260200160405190810160405280929190818152602001828054610780906125de565b80156107cd5780601f106107a2576101008083540402835291602001916107cd565b820191906000526020600020905b8154815290600101906020018083116107b057829003601f168201915b5050505050905090565b60006107e282611426565b610818576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b8161084b81611474565b61072a8383611579565b8273ffffffffffffffffffffffffffffffffffffffff8116331461087c5761087c33611474565b610887848484611664565b50505050565b6000828152600a6020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692820192909252829161094857506040805180820190915260095473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b60208101516000906127109061096c906bffffffffffffffffffffffff1687612660565b610976919061267f565b915196919550909350505050565b600b8054610991906125de565b80601f01602080910402602001604051908101604052809291908181526020018280546109bd906125de565b8015610a0a5780601f106109df57610100808354040283529160200191610a0a565b820191906000526020600020905b8154815290600101906020018083116109ed57829003601f168201915b505050505081565b610a1a61122c565b60005b815181101561074157610a4a828281518110610a3b57610a3b6126ba565b602002602001015160016118d6565b80610a54816126e9565b915050610a1d565b610a6461122c565b6000610a7160008061088d565b5060405190915073ffffffffffffffffffffffffffffffffffffffff8216904780156108fc02916000818181858888f19350505050158015610741573d6000803e3d6000fd5b8273ffffffffffffffffffffffffffffffffffffffff81163314610ade57610ade33611474565b610887848484611a14565b610af161122c565b600b6107418282612749565b60608160008167ffffffffffffffff811115610b1b57610b1b611fae565b604051908082528060200260200182016040528015610b6d57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610b395790505b50905060005b828114610bc057610b9b868683818110610b8f57610b8f6126ba565b90506020020135610fba565b828281518110610bad57610bad6126ba565b6020908102919091010152600101610b73565b50949350505050565b600061064382611a2f565b600073ffffffffffffffffffffffffffffffffffffffff8216610c23576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b610c5e61122c565b610c686000611ad0565b565b60606000806000610c7a85610bd4565b905060008167ffffffffffffffff811115610c9757610c97611fae565b604051908082528060200260200182016040528015610cc0578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b838614610d8957610cfb81611b47565b91508160400151610d8157815173ffffffffffffffffffffffffffffffffffffffff1615610d2857815194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610d815780838780600101985081518110610d7457610d746126ba565b6020026020010181815250505b600101610ceb565b50909695505050505050565b606060038054610754906125de565b6060818310610ddf576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610deb60005490565b90506001851015610dfb57600194505b80841115610e07578093505b6000610e1287610bd4565b905084861015610e315785850381811015610e2b578091505b50610e35565b5060005b60008167ffffffffffffffff811115610e5057610e50611fae565b604051908082528060200260200182016040528015610e79578160200160208202803683370190505b50905081600003610e8f579350610f6592505050565b6000610e9a88610fba565b905060008160400151610eab575080515b885b888114158015610ebd5750848714155b15610f5957610ecb81611b47565b92508260400151610f5157825173ffffffffffffffffffffffffffffffffffffffff1615610ef857825191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f515780848880600101995081518110610f4457610f446126ba565b6020026020010181815250505b600101610ead565b50505092835250909150505b9392505050565b81610f7681611474565b61072a8383611bec565b8373ffffffffffffffffffffffffffffffffffffffff81163314610fa757610fa733611474565b610fb385858585611c83565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061101357506000548310155b1561101e5792915050565b61102783611b47565b90508060400151156110395792915050565b610f6583611ced565b606061104d82611426565b611083576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061108d611d8b565b905080516000036110ad5760405180602001604052806000815250610f65565b806110b784611d9a565b6040516020016110c8929190612809565b6040516020818303038152906040529392505050565b6110e661122c565b73ffffffffffffffffffffffffffffffffffffffff8116611189576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610721565b61119281611ad0565b50565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000148061064357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610643565b60085473ffffffffffffffffffffffffffffffffffffffff163314610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610721565b6127106bffffffffffffffffffffffff8216111561134d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610721565b73ffffffffffffffffffffffffffffffffffffffff82166113ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610721565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600955565b60008160011115801561143a575060005482105b80156106435750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b6daaeb6d7670e522a718067333cd4e3b15611192576040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152b9190612838565b611192576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82166004820152602401610721565b600061158482610bc9565b90503373ffffffffffffffffffffffffffffffffffffffff8216146115e3576115ad8133610592565b6115e3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061166f82611a2f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116d6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040902080543380821473ffffffffffffffffffffffffffffffffffffffff881690911417611749576117138633610592565b611749576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516611796576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80156117a157600082555b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003611872576001840160008181526004602052604081205490036118705760005481146118705760008181526004602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000805490829003611914576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119d057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611998565b5081600003611a0b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b61072a83838360405180602001604052806000815250610f80565b60008180600111611a9e57600054811015611a9e57600081815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003611a9c575b80600003610f65575060001901600081815260046020526040902054611a7b565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610643906040805160808101825273ffffffffffffffffffffffffffffffffffffffff8316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611c8e848484610855565b73ffffffffffffffffffffffffffffffffffffffff83163b1561088757611cb784848484611dde565b610887576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610643611d1d83611a2f565b6040805160808101825273ffffffffffffffffffffffffffffffffffffffff8316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b6060600b8054610754906125de565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611db45750819003601f19909101908152919050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611e39903390899088908890600401612855565b6020604051808303816000875af1925050508015611e74575060408051601f3d908101601f19168201909252611e719181019061289e565b60015b611eeb573d808015611ea2576040519150601f19603f3d011682016040523d82523d6000602084013e611ea7565b606091505b508051600003611ee3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461119257600080fd5b600060208284031215611f7a57600080fd5b8135610f6581611f3a565b803573ffffffffffffffffffffffffffffffffffffffff81168114611fa957600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561200657612006611fae565b604052919050565b600067ffffffffffffffff83111561202857612028611fae565b61203b6020601f19601f86011601611fdd565b905082815283838301111561204f57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261207757600080fd5b610f658383356020850161200e565b6000806040838503121561209957600080fd5b6120a283611f85565b9150602083013567ffffffffffffffff8111156120be57600080fd5b6120ca85828601612066565b9150509250929050565b600080604083850312156120e757600080fd5b6120f083611f85565b915060208301356bffffffffffffffffffffffff8116811461211157600080fd5b809150509250929050565b60005b8381101561213757818101518382015260200161211f565b50506000910152565b6000815180845261215881602086016020860161211c565b601f01601f19169290920160200192915050565b602081526000610f656020830184612140565b60006020828403121561219157600080fd5b5035919050565b600080604083850312156121ab57600080fd5b6121b483611f85565b946020939093013593505050565b6000806000606084860312156121d757600080fd5b6121e084611f85565b92506121ee60208501611f85565b9150604084013590509250925092565b6000806040838503121561221157600080fd5b50508035926020909101359150565b6000602080838503121561223357600080fd5b823567ffffffffffffffff8082111561224b57600080fd5b818501915085601f83011261225f57600080fd5b81358181111561227157612271611fae565b8060051b9150612282848301611fdd565b818152918301840191848101908884111561229c57600080fd5b938501935b838510156122c1576122b285611f85565b825293850193908501906122a1565b98975050505050505050565b6000602082840312156122df57600080fd5b813567ffffffffffffffff8111156122f657600080fd5b8201601f8101841361230757600080fd5b611f328482356020840161200e565b6000806020838503121561232957600080fd5b823567ffffffffffffffff8082111561234157600080fd5b818501915085601f83011261235557600080fd5b81358181111561236457600080fd5b8660208260051b850101111561237957600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015610d895761240283855173ffffffffffffffffffffffffffffffffffffffff815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b92840192608092909201916001016123a7565b60006020828403121561242757600080fd5b610f6582611f85565b6020808252825182820181905260009190848201906040850190845b81811015610d895783518352928401929184019160010161244c565b60008060006060848603121561247d57600080fd5b61248684611f85565b95602085013595506040909401359392505050565b801515811461119257600080fd5b600080604083850312156124bc57600080fd5b6124c583611f85565b915060208301356121118161249b565b600080600080608085870312156124eb57600080fd5b6124f485611f85565b935061250260208601611f85565b925060408501359150606085013567ffffffffffffffff81111561252557600080fd5b61253187828801612066565b91505092959194509250565b815173ffffffffffffffffffffffffffffffffffffffff16815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610643565b600080604083850312156125a257600080fd5b6125ab83611f85565b91506125b960208401611f85565b90509250929050565b600082516125d481846020870161211c565b9190910192915050565b600181811c908216806125f257607f821691505b60208210810361262b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600081600019048311821515161561267a5761267a612631565b500290565b6000826126b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060001982036126fc576126fc612631565b5060010190565b601f82111561072a57600081815260208120601f850160051c8101602086101561272a5750805b601f850160051c820191505b818110156118ce57828155600101612736565b815167ffffffffffffffff81111561276357612763611fae565b6127778161277184546125de565b84612703565b602080601f8311600181146127ac57600084156127945750858301515b600019600386901b1c1916600185901b1785556118ce565b600085815260208120601f198616915b828110156127db578886015182559484019460019091019084016127bc565b50858210156127f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000835161281b81846020880161211c565b83519083019061282f81836020880161211c565b01949350505050565b60006020828403121561284a57600080fd5b8151610f658161249b565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526128946080830184612140565b9695505050505050565b6000602082840312156128b057600080fd5b8151610f6581611f3a56fea26469706673582212205abb484aff1a26b03d4cd86855081545d5f442b659d9388e820025e9f8f4a25b64736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006e6e5a19f30e7f6519bb77c6d27d1b23d72b6f5f00000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f7374616379732d76322e73332e75732d656173742d322e616d617a6f6e6177732e636f6d2f7374616379732f000000000000000000000000
-----Decoded View---------------
Arg [0] : feeReceiver (address): 0x6E6E5A19f30E7F6519bb77c6D27d1b23D72b6f5f
Arg [1] : feeBasisPoints (uint96): 500
Arg [2] : baseURI (string): https://stacys-v2.s3.us-east-2.amazonaws.com/stacys/
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000006e6e5a19f30e7f6519bb77c6d27d1b23d72b6f5f
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000034
Arg [4] : 68747470733a2f2f7374616379732d76322e73332e75732d656173742d322e61
Arg [5] : 6d617a6f6e6177732e636f6d2f7374616379732f000000000000000000000000
Deployed Bytecode Sourcemap
3413:250:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3491:271:6;;;;;;;;;;-1:-1:-1;3491:271:6;;;;;:::i;:::-;;:::i;:::-;;;611:14:15;;604:22;586:41;;574:2;559:18;3491:271:6;;;;;;;;3967:208;;;;;;;;;;-1:-1:-1;3967:208:6;;;;;:::i;:::-;;:::i;:::-;;765:164;;;;;;;;;;-1:-1:-1;765:164:6;;;;;:::i;:::-;;:::i;10039:98:8:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:8;;;;;:::i;:::-;;:::i;:::-;;;4008:42:15;3996:55;;;3978:74;;3966:2;3951:18;16360:214:8;3832:226:15;2083:240:6;;;;;;:::i;:::-;;:::i;5894:317:8:-;;;;;;;;;;-1:-1:-1;1126:1:6;6164:12:8;5955:7;6148:13;:28;-1:-1:-1;;6148:46:8;5894:317;;;4468:25:15;;;4456:2;4441:18;5894:317:8;4322:177:15;2476:218:6;;;;;;:::i;:::-;;:::i;1671:432:2:-;;;;;;;;;;-1:-1:-1;1671:432:2;;;;;:::i;:::-;;:::i;:::-;;;;5294:42:15;5282:55;;;5264:74;;5369:2;5354:18;;5347:34;;;;5237:18;1671:432:2;5090:297:15;445:23:6;;;;;;;;;;;;;:::i;1407:155::-;;;;;;;;;;-1:-1:-1;1407:155:6;;;;;:::i;:::-;;:::i;1140:::-;;;;;;;;;;;;;:::i;737:142:14:-;;;;;;;;;;;;836:42;737:142;;2847:226:6;;;;;;:::i;:::-;;:::i;935:102::-;;;;;;;;;;-1:-1:-1;935:102:6;;;;;:::i;:::-;;:::i;1641:513:10:-;;;;;;;;;;-1:-1:-1;1641:513:10;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11391:150:8:-;;;;;;;;;;-1:-1:-1;11391:150:8;;;;;:::i;:::-;;:::i;7045:230::-;;;;;;;;;;-1:-1:-1;7045:230:8;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;5417:879:10:-;;;;;;;;;;-1:-1:-1;5417:879:10;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1201:85:0:-;;;;;;;;;;-1:-1:-1;1273:6:0;;;;1201:85;;10208:102:8;;;;;;;;;;;;;:::i;2528:2454:10:-;;;;;;;;;;-1:-1:-1;2528:2454:10;;;;;:::i;:::-;;:::i;1715:215:6:-;;;;;;;;;;-1:-1:-1;1715:215:6;;;;;:::i;:::-;;:::i;3226:259::-;;;;;;:::i;:::-;;:::i;1070:418:10:-;;;;;;;;;;-1:-1:-1;1070:418:10;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;10411:313:8:-;;;;;;;;;;-1:-1:-1;10411:313:8;;;;;:::i;:::-;;:::i;17282:162::-;;;;;;;;;;-1:-1:-1;17282:162:8;;;;;:::i;:::-;17402:25;;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;2081:198:0;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;3491:271:6:-;3618:4;3653:50;;;3668:35;3653:50;;:102;;;3719:36;3743:11;3719:23;:36::i;:::-;3634:121;3491:271;-1:-1:-1;;3491:271:6:o;3967:208::-;1094:13:0;:11;:13::i;:::-;4080:12:6::1;4098:9;:14;;4113:5;4098:21;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4079:40;;;4137:7;4129:39;;;::::0;::::1;::::0;;11965:2:15;4129:39:6::1;::::0;::::1;11947:21:15::0;12004:2;11984:18;;;11977:30;12043:21;12023:18;;;12016:49;12082:18;;4129:39:6::1;;;;;;;;;4069:106;3967:208:::0;;:::o;765:164::-;1094:13:0;:11;:13::i;:::-;881:41:6::1;900:11;913:8;881:18;:41::i;:::-;765:164:::0;;:::o;10039:98:8:-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;;;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:8;;;;:15;:24;;;;;:30;;;;16360:214::o;2083:240:6:-;2260:8;2227:30:14;2248:8;2227:20;:30::i;:::-;2284:32:6::1;2298:8;2308:7;2284:13;:32::i;2476:218::-:0;2634:4;2054:18:14;;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;2650:37:6::1;2669:4;2675:2;2679:7;2650:18;:37::i;:::-;2476:218:::0;;;;:::o;1671:432:2:-;1768:7;1825:27;;;:17;:27;;;;;;;;1796:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;1768:7;;1863:90;;-1:-1:-1;1913:29:2;;;;;;;;;1923:19;1913:29;;;;;;;;;;;;;;;1863:90;2001:23;;;;1963:21;;2461:5;;1988:36;;1987:58;1988:36;:10;:36;:::i;:::-;1987:58;;;;:::i;:::-;2064:16;;;;;-1:-1:-1;1671:432:2;;-1:-1:-1;;;;1671:432:2:o;445:23:6:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1407:155::-;1094:13:0;:11;:13::i;:::-;1479:9:6::1;1474:82;1498:3;:10;1494:1;:14;1474:82;;;1529:16;1535:3;1539:1;1535:6;;;;;;;;:::i;:::-;;;;;;;1543:1;1529:5;:16::i;:::-;1510:3:::0;::::1;::::0;::::1;:::i;:::-;;;;1474:82;;1140:155:::0;1094:13:0;:11;:13::i;:::-;1190:16:6::1;1212:17;1224:1;1227::::0;1212:11:::1;:17::i;:::-;-1:-1:-1::0;1239:49:6::1;::::0;1189:40;;-1:-1:-1;1239:26:6::1;::::0;::::1;::::0;1266:21:::1;1239:49:::0;::::1;;;::::0;::::1;::::0;;;1266:21;1239:26;:49;::::1;;;;;;;;;;;;;::::0;::::1;;;;2847:226:::0;3009:4;2054:18:14;;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;3025:41:6::1;3048:4;3054:2;3058:7;3025:22;:41::i;935:102::-:0;1094:13:0;:11;:13::i;:::-;1008:9:6::1;:22;1020:10:::0;1008:9;:22:::1;:::i;1641:513:10:-:0;1780:23;1868:8;1843:22;1868:8;1934:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1934:36:10;;-1:-1:-1;;1934:36:10;;;;;;;;;;;;1897:73;;1989:9;1984:123;2005:14;2000:1;:19;1984:123;;2060:32;2080:8;;2089:1;2080:11;;;;;;;:::i;:::-;;;;;;;2060:19;:32::i;:::-;2044:10;2055:1;2044:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2021:3;;1984:123;;;-1:-1:-1;2127:10:10;1641:513;-1:-1:-1;;;;1641:513:10:o;11391:150:8:-;11463:7;11505:27;11524:7;11505:18;:27::i;7045:230::-;7117:7;7140:19;;;7136:60;;7168:28;;;;;;;;;;;;;;7136:60;-1:-1:-1;7213:25:8;;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;5417:879:10:-;5495:16;5547:19;5580:25;5619:22;5644:16;5654:5;5644:9;:16::i;:::-;5619:41;;5674:25;5716:14;5702:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5702:29:10;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5674:57:10;;-1:-1:-1;1126:1:6;5790:461:10;5839:14;5824:11;:29;5790:461;;5890:15;5903:1;5890:12;:15::i;:::-;5878:27;;5927:9;:16;;;5967:8;5923:71;6015:14;;:28;;;6011:109;;6087:14;;;-1:-1:-1;6011:109:10;6162:5;6141:26;;:17;:26;;;6137:100;;6217:1;6191:8;6200:13;;;;;;6191:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6137:100;5855:3;;5790:461;;;-1:-1:-1;6271:8:10;;5417:879;-1:-1:-1;;;;;;5417:879:10:o;10208:102:8:-;10264:13;10296:7;10289:14;;;;;:::i;2528:2454:10:-;2667:16;2732:4;2723:5;:13;2719:45;;2745:19;;;;;;;;;;;;;;2719:45;2778:19;2811:17;2831:14;5645:7:8;5671:13;;5590:101;2831:14:10;2811:34;-1:-1:-1;1126:1:6;2921:5:10;:23;2917:85;;;1126:1:6;2964:23:10;;2917:85;3076:9;3069:4;:16;3065:71;;;3112:9;3105:16;;3065:71;3149:25;3177:16;3187:5;3177:9;:16::i;:::-;3149:44;;3368:4;3360:5;:12;3356:271;;;3414:12;;;3448:31;;;3444:109;;;3523:11;3503:31;;3444:109;3374:193;3356:271;;;-1:-1:-1;3611:1:10;3356:271;3640:25;3682:17;3668:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3668:32:10;;3640:60;;3718:17;3739:1;3718:22;3714:76;;3767:8;-1:-1:-1;3760:15:10;;-1:-1:-1;;;3760:15:10;3714:76;3931:31;3965:26;3985:5;3965:19;:26::i;:::-;3931:60;;4005:25;4247:9;:16;;;4242:90;;-1:-1:-1;4303:14:10;;4242:90;4362:5;4345:467;4374:4;4369:1;:9;;:45;;;;;4397:17;4382:11;:32;;4369:45;4345:467;;;4451:15;4464:1;4451:12;:15::i;:::-;4439:27;;4488:9;:16;;;4528:8;4484:71;4576:14;;:28;;;4572:109;;4648:14;;;-1:-1:-1;4572:109:10;4723:5;4702:26;;:17;:26;;;4698:100;;4778:1;4752:8;4761:13;;;;;;4752:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4698:100;4416:3;;4345:467;;;-1:-1:-1;;;4894:29:10;;;-1:-1:-1;4901:8:10;;-1:-1:-1;;2528:2454:10;;;;;;:::o;1715:215:6:-;1860:8;2227:30:14;2248:8;2227:20;:30::i;:::-;1880:43:6::1;1904:8;1914;1880:23;:43::i;3226:259::-:0;3415:4;2054:18:14;;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;3431:47:6::1;3454:4;3460:2;3464:7;3473:4;3431:22;:47::i;:::-;3226:259:::0;;;;;:::o;1070:418:10:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1126:1:6;1232:7:10;:25;:54;;;-1:-1:-1;5645:7:8;5671:13;1261:7:10;:25;;1232:54;1228:101;;;1309:9;1070:418;-1:-1:-1;;1070:418:10:o;1228:101::-;1350:21;1363:7;1350:12;:21::i;:::-;1338:33;;1385:9;:16;;;1381:63;;;1424:9;1070:418;-1:-1:-1;;1070:418:10:o;1381:63::-;1460:21;1473:7;1460:12;:21::i;10411:313:8:-;10484:13;10514:16;10522:7;10514;:16::i;:::-;10509:59;;10539:29;;;;;;;;;;;;;;10509:59;10579:21;10603:10;:8;:10::i;:::-;10579:34;;10636:7;10630:21;10655:1;10630:26;:87;;;;;;;;;;;;;;;;;10683:7;10692:18;10702:7;10692:9;:18::i;:::-;10666:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10623:94;10411:313;-1:-1:-1;;;10411:313:8:o;2081:198:0:-;1094:13;:11;:13::i;:::-;2169:22:::1;::::0;::::1;2161:73;;;::::0;::::1;::::0;;16729:2:15;2161:73:0::1;::::0;::::1;16711:21:15::0;16768:2;16748:18;;;16741:30;16807:34;16787:18;;;16780:62;16878:8;16858:18;;;16851:36;16904:19;;2161:73:0::1;16527:402:15::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;1408:213:2:-;1510:4;1533:41;;;1548:26;1533:41;;:81;;-1:-1:-1;952:25:4;937:40;;;;1578:36:2;829:155:4;1359:130:0;1273:6;;1422:23;1273:6;719:10:3;1422:23:0;1414:68;;;;;;;17136:2:15;1414:68:0;;;17118:21:15;;;17155:18;;;17148:30;17214:34;17194:18;;;17187:62;17266:18;;1414:68:0;16934:356:15;2734:327:2;2461:5;2836:33;;;;;2828:88;;;;;;;17497:2:15;2828:88:2;;;17479:21:15;17536:2;17516:18;;;17509:30;17575:34;17555:18;;;17548:62;17646:12;17626:18;;;17619:40;17676:19;;2828:88:2;17295:406:15;2828:88:2;2934:22;;;2926:60;;;;;;;17908:2:15;2926:60:2;;;17890:21:15;17947:2;17927:18;;;17920:30;17986:27;17966:18;;;17959:55;18031:18;;2926:60:2;17706:349:15;2926:60:2;3019:35;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:57;;;;;:19;:57;2734:327::o;17693:277:8:-;17758:4;17812:7;1126:1:6;17793:26:8;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:8;;;;:17;:26;;;;;;2118:8;17895:44;:49;;17693:277::o;2281:412:14:-;836:42;2470:45;:49;2466:221;;2540:67;;;;;2591:4;2540:67;;;18295:34:15;18244:42;18365:15;;18345:18;;;18338:43;836:42:14;;2540;;18207:18:15;;2540:67:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2535:142;;2634:28;;;;;4008:42:15;3996:55;;2634:28:14;;;3978:74:15;3951:18;;2634:28:14;3832:226:15;15812:398:8;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;719:10:3;15947:28:8;;;;15943:172;;15994:44;16011:5;719:10:3;17282:162:8;:::i;15994:44::-;15989:126;;16065:35;;;;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;;;;;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;20112:45;;20128:19;20112:45;;;20108:86;;20166:28;;;;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;719:10:3;18673:30:8;;;18381:16;18370:28;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;719:10:3;17282:162:8;:::i;20481:43::-;20476:92;;20533:35;;;;;;;;;;;;;;20476:92;20583:16;;;20579:52;;20608:23;;;;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;21300:24;;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:8;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:8;;;14703:11;14678:23;14674:41;14661:63;2392:8;14661:63;21654:26;;;;:17;:26;;;;;:172;;;;2392:8;21943:47;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;22581:27;;22590:4;22581:27;;;;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;27091:2902::-;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;;;;;;;;;;;;;27209:44;27728:22;;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:8;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;;;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;4069:106:6::1;3967:208:::0;;:::o;22758:187:8:-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;12515:1249::-;12582:7;12616;;1126:1:6;12662:23:8;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;2118:8;12855:24;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:8;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;;;;;;;;;;;;;2433:187:0;2525:6;;;;2541:17;;;;;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;11979:159:8:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12106:24:8;;;;:17;:24;;;;;;12087:44;;-1:-1:-1;;;;;;;;13967:41:8;;;;;2004:3;14052:33;;;14018:68;;-1:-1:-1;;;14018:68:8;2118:8;14115:24;;:29;;-1:-1:-1;;;14096:48:8;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:8;-1:-1:-1;13858:361:8;16901:231;719:10:3;16995:39:8;;;;:18;:39;;;;;;;;;:49;;;;;;;;;;;;:60;;;;;;;;;;;;;17070:55;;586:41:15;;;16995:49:8;;719:10:3;17070:55:8;;559:18:15;17070:55:8;;;;;;;16901:231;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;23740:14;;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;;;;;;;;;;;;;11724:164;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11834:47:8;11853:27;11872:7;11853:18;:27::i;:::-;-1:-1:-1;;;;;;;;13967:41:8;;;;;2004:3;14052:33;;;14018:68;;-1:-1:-1;;;14018:68:8;2118:8;14115:24;;:29;;-1:-1:-1;;;14096:48:8;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:8;-1:-1:-1;13858:361:8;1301:100:6;1353:13;1385:9;1378:16;;;;;:::i;39637:1708:8:-;39702:17;40130:4;40123;40117:11;40113:22;40220:1;40214:4;40207:15;40293:4;40290:1;40286:12;40279:19;;;40373:1;40368:3;40361:14;40474:3;40708:5;40690:419;40755:1;40750:3;40746:11;40739:18;;40923:2;40917:4;40913:13;40909:2;40905:22;40900:3;40892:36;41015:2;41005:13;;41070:25;40690:419;41070:25;-1:-1:-1;41137:13:8;;;-1:-1:-1;;41250:14:8;;;41310:19;;;41250:14;39637:1708;-1:-1:-1;39637:1708:8:o;25948:697::-;26126:88;;;;;26106:4;;26126:45;;;;;;:88;;719:10:3;;26193:4:8;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:8;;;;;;;;-1:-1:-1;;26126:88:8;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;;;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;26282:64;;26292:54;26282:64;;-1:-1:-1;26122:517:8;25948:697;;;;;;:::o;14:177:15:-;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:196::-;706:20;;766:42;755:54;;745:65;;735:93;;824:1;821;814:12;735:93;638:196;;;:::o;839:184::-;891:77;888:1;881:88;988:4;985:1;978:15;1012:4;1009:1;1002:15;1028:334;1099:2;1093:9;1155:2;1145:13;;-1:-1:-1;;1141:86:15;1129:99;;1258:18;1243:34;;1279:22;;;1240:62;1237:88;;;1305:18;;:::i;:::-;1341:2;1334:22;1028:334;;-1:-1:-1;1028:334:15:o;1367:465::-;1431:5;1465:18;1457:6;1454:30;1451:56;;;1487:18;;:::i;:::-;1525:116;1635:4;-1:-1:-1;;1561:2:15;1553:6;1549:15;1545:88;1541:99;1525:116;:::i;:::-;1516:125;;1664:6;1657:5;1650:21;1704:3;1695:6;1690:3;1686:16;1683:25;1680:45;;;1721:1;1718;1711:12;1680:45;1770:6;1765:3;1758:4;1751:5;1747:16;1734:43;1824:1;1817:4;1808:6;1801:5;1797:18;1793:29;1786:40;1367:465;;;;;:::o;1837:220::-;1879:5;1932:3;1925:4;1917:6;1913:17;1909:27;1899:55;;1950:1;1947;1940:12;1899:55;1972:79;2047:3;2038:6;2025:20;2018:4;2010:6;2006:17;1972:79;:::i;2062:394::-;2139:6;2147;2200:2;2188:9;2179:7;2175:23;2171:32;2168:52;;;2216:1;2213;2206:12;2168:52;2239:29;2258:9;2239:29;:::i;:::-;2229:39;;2319:2;2308:9;2304:18;2291:32;2346:18;2338:6;2335:30;2332:50;;;2378:1;2375;2368:12;2332:50;2401:49;2442:7;2433:6;2422:9;2418:22;2401:49;:::i;:::-;2391:59;;;2062:394;;;;;:::o;2461:366::-;2528:6;2536;2589:2;2577:9;2568:7;2564:23;2560:32;2557:52;;;2605:1;2602;2595:12;2557:52;2628:29;2647:9;2628:29;:::i;:::-;2618:39;;2707:2;2696:9;2692:18;2679:32;2751:26;2744:5;2740:38;2733:5;2730:49;2720:77;;2793:1;2790;2783:12;2720:77;2816:5;2806:15;;;2461:366;;;;;:::o;2832:250::-;2917:1;2927:113;2941:6;2938:1;2935:13;2927:113;;;3017:11;;;3011:18;2998:11;;;2991:39;2963:2;2956:10;2927:113;;;-1:-1:-1;;3074:1:15;3056:16;;3049:27;2832:250::o;3087:330::-;3129:3;3167:5;3161:12;3194:6;3189:3;3182:19;3210:76;3279:6;3272:4;3267:3;3263:14;3256:4;3249:5;3245:16;3210:76;:::i;:::-;3331:2;3319:15;-1:-1:-1;;3315:88:15;3306:98;;;;3406:4;3302:109;;3087:330;-1:-1:-1;;3087:330:15:o;3422:220::-;3571:2;3560:9;3553:21;3534:4;3591:45;3632:2;3621:9;3617:18;3609:6;3591:45;:::i;3647:180::-;3706:6;3759:2;3747:9;3738:7;3734:23;3730:32;3727:52;;;3775:1;3772;3765:12;3727:52;-1:-1:-1;3798:23:15;;3647:180;-1:-1:-1;3647:180:15:o;4063:254::-;4131:6;4139;4192:2;4180:9;4171:7;4167:23;4163:32;4160:52;;;4208:1;4205;4198:12;4160:52;4231:29;4250:9;4231:29;:::i;:::-;4221:39;4307:2;4292:18;;;;4279:32;;-1:-1:-1;;;4063:254:15:o;4504:328::-;4581:6;4589;4597;4650:2;4638:9;4629:7;4625:23;4621:32;4618:52;;;4666:1;4663;4656:12;4618:52;4689:29;4708:9;4689:29;:::i;:::-;4679:39;;4737:38;4771:2;4760:9;4756:18;4737:38;:::i;:::-;4727:48;;4822:2;4811:9;4807:18;4794:32;4784:42;;4504:328;;;;;:::o;4837:248::-;4905:6;4913;4966:2;4954:9;4945:7;4941:23;4937:32;4934:52;;;4982:1;4979;4972:12;4934:52;-1:-1:-1;;5005:23:15;;;5075:2;5060:18;;;5047:32;;-1:-1:-1;4837:248:15:o;5392:952::-;5476:6;5507:2;5550;5538:9;5529:7;5525:23;5521:32;5518:52;;;5566:1;5563;5556:12;5518:52;5606:9;5593:23;5635:18;5676:2;5668:6;5665:14;5662:34;;;5692:1;5689;5682:12;5662:34;5730:6;5719:9;5715:22;5705:32;;5775:7;5768:4;5764:2;5760:13;5756:27;5746:55;;5797:1;5794;5787:12;5746:55;5833:2;5820:16;5855:2;5851;5848:10;5845:36;;;5861:18;;:::i;:::-;5907:2;5904:1;5900:10;5890:20;;5930:28;5954:2;5950;5946:11;5930:28;:::i;:::-;5992:15;;;6062:11;;;6058:20;;;6023:12;;;;6090:19;;;6087:39;;;6122:1;6119;6112:12;6087:39;6146:11;;;;6166:148;6182:6;6177:3;6174:15;6166:148;;;6248:23;6267:3;6248:23;:::i;:::-;6236:36;;6199:12;;;;6292;;;;6166:148;;;6333:5;5392:952;-1:-1:-1;;;;;;;;5392:952:15:o;6612:450::-;6681:6;6734:2;6722:9;6713:7;6709:23;6705:32;6702:52;;;6750:1;6747;6740:12;6702:52;6790:9;6777:23;6823:18;6815:6;6812:30;6809:50;;;6855:1;6852;6845:12;6809:50;6878:22;;6931:4;6923:13;;6919:27;-1:-1:-1;6909:55:15;;6960:1;6957;6950:12;6909:55;6983:73;7048:7;7043:2;7030:16;7025:2;7021;7017:11;6983:73;:::i;7067:615::-;7153:6;7161;7214:2;7202:9;7193:7;7189:23;7185:32;7182:52;;;7230:1;7227;7220:12;7182:52;7270:9;7257:23;7299:18;7340:2;7332:6;7329:14;7326:34;;;7356:1;7353;7346:12;7326:34;7394:6;7383:9;7379:22;7369:32;;7439:7;7432:4;7428:2;7424:13;7420:27;7410:55;;7461:1;7458;7451:12;7410:55;7501:2;7488:16;7527:2;7519:6;7516:14;7513:34;;;7543:1;7540;7533:12;7513:34;7596:7;7591:2;7581:6;7578:1;7574:14;7570:2;7566:23;7562:32;7559:45;7556:65;;;7617:1;7614;7607:12;7556:65;7648:2;7640:11;;;;;7670:6;;-1:-1:-1;7067:615:15;;-1:-1:-1;;;;7067:615:15:o;8064:724::-;8299:2;8351:21;;;8421:13;;8324:18;;;8443:22;;;8270:4;;8299:2;8522:15;;;;8496:2;8481:18;;;8270:4;8565:197;8579:6;8576:1;8573:13;8565:197;;;8628:52;8676:3;8667:6;8661:13;7785:42;7777:5;7771:12;7767:61;7762:3;7755:74;7890:18;7882:4;7875:5;7871:16;7865:23;7861:48;7854:4;7849:3;7845:14;7838:72;7973:4;7966:5;7962:16;7956:23;7949:31;7942:39;7935:4;7930:3;7926:14;7919:63;8043:8;8035:4;8028:5;8024:16;8018:23;8014:38;8007:4;8002:3;7998:14;7991:62;;;7687:372;8628:52;8737:15;;;;8709:4;8700:14;;;;;8601:1;8594:9;8565:197;;8793:186;8852:6;8905:2;8893:9;8884:7;8880:23;8876:32;8873:52;;;8921:1;8918;8911:12;8873:52;8944:29;8963:9;8944:29;:::i;8984:632::-;9155:2;9207:21;;;9277:13;;9180:18;;;9299:22;;;9126:4;;9155:2;9378:15;;;;9352:2;9337:18;;;9126:4;9421:169;9435:6;9432:1;9429:13;9421:169;;;9496:13;;9484:26;;9565:15;;;;9530:12;;;;9457:1;9450:9;9421:169;;9621:322;9698:6;9706;9714;9767:2;9755:9;9746:7;9742:23;9738:32;9735:52;;;9783:1;9780;9773:12;9735:52;9806:29;9825:9;9806:29;:::i;:::-;9796:39;9882:2;9867:18;;9854:32;;-1:-1:-1;9933:2:15;9918:18;;;9905:32;;9621:322;-1:-1:-1;;;9621:322:15:o;9948:118::-;10034:5;10027:13;10020:21;10013:5;10010:32;10000:60;;10056:1;10053;10046:12;10071:315;10136:6;10144;10197:2;10185:9;10176:7;10172:23;10168:32;10165:52;;;10213:1;10210;10203:12;10165:52;10236:29;10255:9;10236:29;:::i;:::-;10226:39;;10315:2;10304:9;10300:18;10287:32;10328:28;10350:5;10328:28;:::i;10391:537::-;10486:6;10494;10502;10510;10563:3;10551:9;10542:7;10538:23;10534:33;10531:53;;;10580:1;10577;10570:12;10531:53;10603:29;10622:9;10603:29;:::i;:::-;10593:39;;10651:38;10685:2;10674:9;10670:18;10651:38;:::i;:::-;10641:48;;10736:2;10725:9;10721:18;10708:32;10698:42;;10791:2;10780:9;10776:18;10763:32;10818:18;10810:6;10807:30;10804:50;;;10850:1;10847;10840:12;10804:50;10873:49;10914:7;10905:6;10894:9;10890:22;10873:49;:::i;:::-;10863:59;;;10391:537;;;;;;;:::o;10933:268::-;7771:12;;7785:42;7767:61;7755:74;;7882:4;7871:16;;;7865:23;7890:18;7861:48;7845:14;;;7838:72;7973:4;7962:16;;;7956:23;7949:31;7942:39;7926:14;;;7919:63;8035:4;8024:16;;;8018:23;8043:8;8014:38;7998:14;;;7991:62;11131:3;11116:19;;11144:51;7687:372;11206:260;11274:6;11282;11335:2;11323:9;11314:7;11310:23;11306:32;11303:52;;;11351:1;11348;11341:12;11303:52;11374:29;11393:9;11374:29;:::i;:::-;11364:39;;11422:38;11456:2;11445:9;11441:18;11422:38;:::i;:::-;11412:48;;11206:260;;;;;:::o;11471:287::-;11600:3;11638:6;11632:13;11654:66;11713:6;11708:3;11701:4;11693:6;11689:17;11654:66;:::i;:::-;11736:16;;;;;11471:287;-1:-1:-1;;11471:287:15:o;12111:437::-;12190:1;12186:12;;;;12233;;;12254:61;;12308:4;12300:6;12296:17;12286:27;;12254:61;12361:2;12353:6;12350:14;12330:18;12327:38;12324:218;;12398:77;12395:1;12388:88;12499:4;12496:1;12489:15;12527:4;12524:1;12517:15;12324:218;;12111:437;;;:::o;12553:184::-;12605:77;12602:1;12595:88;12702:4;12699:1;12692:15;12726:4;12723:1;12716:15;12742:228;12782:7;12908:1;-1:-1:-1;;12836:74:15;12833:1;12830:81;12825:1;12818:9;12811:17;12807:105;12804:131;;;12915:18;;:::i;:::-;-1:-1:-1;12955:9:15;;12742:228::o;12975:274::-;13015:1;13041;13031:189;;13076:77;13073:1;13066:88;13177:4;13174:1;13167:15;13205:4;13202:1;13195:15;13031:189;-1:-1:-1;13234:9:15;;12975:274::o;13254:184::-;13306:77;13303:1;13296:88;13403:4;13400:1;13393:15;13427:4;13424:1;13417:15;13443:195;13482:3;-1:-1:-1;;13506:5:15;13503:77;13500:103;;13583:18;;:::i;:::-;-1:-1:-1;13630:1:15;13619:13;;13443:195::o;13769:545::-;13871:2;13866:3;13863:11;13860:448;;;13907:1;13932:5;13928:2;13921:17;13977:4;13973:2;13963:19;14047:2;14035:10;14031:19;14028:1;14024:27;14018:4;14014:38;14083:4;14071:10;14068:20;14065:47;;;-1:-1:-1;14106:4:15;14065:47;14161:2;14156:3;14152:12;14149:1;14145:20;14139:4;14135:31;14125:41;;14216:82;14234:2;14227:5;14224:13;14216:82;;;14279:17;;;14260:1;14249:13;14216:82;;14550:1471;14676:3;14670:10;14703:18;14695:6;14692:30;14689:56;;;14725:18;;:::i;:::-;14754:97;14844:6;14804:38;14836:4;14830:11;14804:38;:::i;:::-;14798:4;14754:97;:::i;:::-;14906:4;;14970:2;14959:14;;14987:1;14982:782;;;;15808:1;15825:6;15822:89;;;-1:-1:-1;15877:19:15;;;15871:26;15822:89;-1:-1:-1;;14447:1:15;14443:11;;;14439:84;14435:89;14425:100;14531:1;14527:11;;;14422:117;15924:81;;14952:1063;;14982:782;13716:1;13709:14;;;13753:4;13740:18;;-1:-1:-1;;15018:79:15;;;15195:236;15209:7;15206:1;15203:14;15195:236;;;15298:19;;;15292:26;15277:42;;15390:27;;;;15358:1;15346:14;;;;15225:19;;15195:236;;;15199:3;15459:6;15450:7;15447:19;15444:261;;;15520:19;;;15514:26;-1:-1:-1;;15603:1:15;15599:14;;;15615:3;15595:24;15591:97;15587:102;15572:118;15557:134;;15444:261;-1:-1:-1;;;;;15751:1:15;15735:14;;;15731:22;15718:36;;-1:-1:-1;14550:1471:15:o;16026:496::-;16205:3;16243:6;16237:13;16259:66;16318:6;16313:3;16306:4;16298:6;16294:17;16259:66;:::i;:::-;16388:13;;16347:16;;;;16410:70;16388:13;16347:16;16457:4;16445:17;;16410:70;:::i;:::-;16496:20;;16026:496;-1:-1:-1;;;;16026:496:15:o;18392:245::-;18459:6;18512:2;18500:9;18491:7;18487:23;18483:32;18480:52;;;18528:1;18525;18518:12;18480:52;18560:9;18554:16;18579:28;18601:5;18579:28;:::i;18642:512::-;18836:4;18865:42;18946:2;18938:6;18934:15;18923:9;18916:34;18998:2;18990:6;18986:15;18981:2;18970:9;18966:18;18959:43;;19038:6;19033:2;19022:9;19018:18;19011:34;19081:3;19076:2;19065:9;19061:18;19054:31;19102:46;19143:3;19132:9;19128:19;19120:6;19102:46;:::i;:::-;19094:54;18642:512;-1:-1:-1;;;;;;18642:512:15:o;19159:249::-;19228:6;19281:2;19269:9;19260:7;19256:23;19252:32;19249:52;;;19297:1;19294;19287:12;19249:52;19329:9;19323:16;19348:30;19372:5;19348:30;:::i
Swarm Source
ipfs://5abb484aff1a26b03d4cd86855081545d5f442b659d9388e820025e9f8f4a25b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.