ERC-721
Overview
Max Total Supply
6,969 RARE
Holders
974
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 RARELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RARE
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-10 */ /** _____ _____ _____ _____ /\ \ /\ \ /\ \ /\ \ /::\ \ /::\ \ /::\ \ /::\ \ /::::\ \ /::::\ \ /::::\ \ /::::\ \ /::::::\ \ /::::::\ \ /::::::\ \ /::::::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /::::\ \:::\ \ /::::\ \:::\ \ /::::\ \:::\ \ /::::\ \:::\ \ /::::::\ \:::\ \ /::::::\ \:::\ \ /::::::\ \:::\ \ /::::::\ \:::\ \ /:::/\:::\ \:::\____\ /:::/\:::\ \:::\ \ /:::/\:::\ \:::\____\ /:::/\:::\ \:::\ \ /:::/ \:::\ \:::| |/:::/ \:::\ \:::\____\/:::/ \:::\ \:::| |/:::/__\:::\ \:::\____\ \::/ |::::\ /:::|____|\::/ \:::\ /:::/ /\::/ |::::\ /:::|____|\:::\ \:::\ \::/ / \/____|:::::\/:::/ / \/____/ \:::\/:::/ / \/____|:::::\/:::/ / \:::\ \:::\ \/____/ |:::::::::/ / \::::::/ / |:::::::::/ / \:::\ \:::\ \ |::|\::::/ / \::::/ / |::|\::::/ / \:::\ \:::\____\ |::| \::/____/ /:::/ / |::| \::/____/ \:::\ \::/ / |::| ~| /:::/ / |::| ~| \:::\ \/____/ |::| | /:::/ / |::| | \:::\ \ \::| | /:::/ / \::| | \:::\____\ \:| | \::/ / \:| | \::/ / \|___| \/____/ \|___| \/____/ */ // 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); } // File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/529cceeda9f5f8e28812c20042cc57626f784718/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ 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 { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // 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) { _; return; } if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } modifier onlyAllowedOperatorApproval(address operator) 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); } } _; } } // File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/529cceeda9f5f8e28812c20042cc57626f784718/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @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) {} } pragma solidity ^0.8.13; // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.15; contract RARE is ERC721A, DefaultOperatorFilterer, Ownable, ReentrancyGuard { string public baseURI = "ipfs://QmRh8njsM2PS1PFG1z9YsWEno21ZaPYEmmyiKp89jrPLXt/"; uint256 public maxRareSupply = 6969; uint256 public maxRarePerWallet = 20; uint256 public mintRareCost = 0.002 ether; bool public isRareSaleActive = false; mapping(address => uint) addressToMinted; mapping(address => bool) freeMintClaimed; modifier callerIsUser() { require(tx.origin == msg.sender, "Rare mint caller is another contract"); _; } constructor () ERC721A("This is Rare", "RARE") { } function _startTokenId() internal view virtual override returns (uint256) { return 1; } // Public Mint function mintRare(uint256 mintAmount) public payable callerIsUser nonReentrant { require(isRareSaleActive, "Rare sale isn't active"); require(addressToMinted[msg.sender] + mintAmount <= maxRarePerWallet, "exceeded Rare allocation per wallet"); require(totalSupply() + mintAmount <= maxRareSupply, "Rare is sold out"); if(freeMintClaimed[msg.sender]) { require(msg.value >= mintAmount * mintRareCost, "not enough funds for requested Rare"); } else { require(msg.value >= (mintAmount - 1) * mintRareCost, "not enough funds for requested Rare"); freeMintClaimed[msg.sender] = true; } addressToMinted[msg.sender] += mintAmount; _safeMint(msg.sender, mintAmount); } // Reserve Treasury function reserveRare(uint256 mintAmount) public onlyOwner { require(totalSupply() + mintAmount <= maxRareSupply, "Rare is sold out"); _safeMint(msg.sender, mintAmount); } ///////////////////////////// // CONTRACT MANAGEMENT ///////////////////////////// function toggleRareSale() external onlyOwner { isRareSaleActive = !isRareSaleActive; } function setRareCost(uint256 newRareCost) external onlyOwner { mintRareCost = newRareCost; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function withdraw() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } ///////////////////////////// // OPENSEA FILTER REGISTRY ///////////////////////////// function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isRareSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRarePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRareSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mintRare","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRareCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"mintAmount","type":"uint256"}],"name":"reserveRare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRareCost","type":"uint256"}],"name":"setRareCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleRareSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"}]
Contract Creation Code
60e06040526036608081815290620020e760a039600a9062000022908262000327565b50611b39600b556014600c5566071afd498d0000600d55600e805460ff191690553480156200005057600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600c81526020016b54686973206973205261726560a01b815250604051806040016040528060048152602001635241524560e01b8152508160029081620000bb919062000327565b506003620000ca828262000327565b50600160005550506daaeb6d7670e522a718067333cd4e3b15620002175780156200016557604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014657600080fd5b505af11580156200015b573d6000803e3d6000fd5b5050505062000217565b6001600160a01b03821615620001b65760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200012b565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001fd57600080fd5b505af115801562000212573d6000803e3d6000fd5b505050505b506200022590503362000230565b6001600955620003f3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002ad57607f821691505b602082108103620002ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200032257600081815260208120601f850160051c81016020861015620002fd5750805b601f850160051c820191505b818110156200031e5782815560010162000309565b5050505b505050565b81516001600160401b0381111562000343576200034362000282565b6200035b8162000354845462000298565b84620002d4565b602080601f8311600181146200039357600084156200037a5750858301515b600019600386901b1c1916600185901b1785556200031e565b600085815260208120601f198616915b82811015620003c457888601518255948401946001909101908401620003a3565b5085821015620003e35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611ce480620004036000396000f3fe6080604052600436106101c25760003560e01c806355f804b3116100f75780638da5cb5b11610095578063c87b56dd11610064578063c87b56dd14610487578063dab6243d146104a7578063e985e9c5146104c7578063f2fde38b146104e757600080fd5b80638da5cb5b1461042157806395d89b411461043f578063a22cb46514610454578063b88d4fde1461047457600080fd5b80636c0360eb116100d15780636c0360eb146103b757806370a08231146103cc578063715018a6146103ec5780638963718b1461040157600080fd5b806355f804b3146103615780635b11fc10146103815780636352211e1461039757600080fd5b806318160ddd116101645780632a4577d01161013e5780632a4577d0146103045780633ccfd60b1461031757806341f434341461032c57806342842e0e1461034e57600080fd5b806318160ddd146102be57806323b872dd146102db57806325ba5f56146102ee57600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630a8e7f141461026b5780630e324a101461028f57806311791210146102a957600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611733565b610507565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610559565b6040516101f391906117a0565b34801561022a57600080fd5b5061023e6102393660046117b3565b6105eb565b6040516001600160a01b0390911681526020016101f3565b6102696102643660046117e8565b61062f565b005b34801561027757600080fd5b50610281600d5481565b6040519081526020016101f3565b34801561029b57600080fd5b50600e546101e79060ff1681565b3480156102b557600080fd5b506102696106fd565b3480156102ca57600080fd5b506001546000540360001901610281565b6102696102e9366004611812565b610719565b3480156102fa57600080fd5b50610281600b5481565b6102696103123660046117b3565b6107f2565b34801561032357600080fd5b50610269610a4b565b34801561033857600080fd5b5061023e6daaeb6d7670e522a718067333cd4e81565b61026961035c366004611812565b610a7f565b34801561036d57600080fd5b5061026961037c3660046118da565b610b4d565b34801561038d57600080fd5b50610281600c5481565b3480156103a357600080fd5b5061023e6103b23660046117b3565b610b65565b3480156103c357600080fd5b50610211610b70565b3480156103d857600080fd5b506102816103e7366004611923565b610bfe565b3480156103f857600080fd5b50610269610c4d565b34801561040d57600080fd5b5061026961041c3660046117b3565b610c61565b34801561042d57600080fd5b506008546001600160a01b031661023e565b34801561044b57600080fd5b50610211610c6e565b34801561046057600080fd5b5061026961046f36600461194c565b610c7d565b610269610482366004611983565b610d41565b34801561049357600080fd5b506102116104a23660046117b3565b610e1d565b3480156104b357600080fd5b506102696104c23660046117b3565b610ea1565b3480156104d357600080fd5b506101e76104e23660046119ff565b610f0f565b3480156104f357600080fd5b50610269610502366004611923565b610f3d565b60006301ffc9a760e01b6001600160e01b03198316148061053857506380ac58cd60e01b6001600160e01b03198316145b806105535750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461056890611a32565b80601f016020809104026020016040519081016040528092919081815260200182805461059490611a32565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b5050505050905090565b60006105f682610fb3565b610613576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b156106ee57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561069d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c19190611a6c565b6106ee57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106f88383610fe8565b505050565b610705611088565b600e805460ff19811660ff90911615179055565b826daaeb6d7670e522a718067333cd4e3b156107e157336001600160a01b0382160361074f5761074a8484846110e2565b6107ec565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561079e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c29190611a6c565b6107e157604051633b79c77360e21b81523360048201526024016106e5565b6107ec8484846110e2565b50505050565b32331461084d5760405162461bcd60e51b8152602060048201526024808201527f52617265206d696e742063616c6c657220697320616e6f7468657220636f6e746044820152631c9858dd60e21b60648201526084016106e5565b61085561127b565b600e5460ff166108a05760405162461bcd60e51b8152602060048201526016602482015275526172652073616c652069736e27742061637469766560501b60448201526064016106e5565b600c54336000908152600f60205260409020546108be908390611a9f565b11156109185760405162461bcd60e51b815260206004820152602360248201527f6578636565646564205261726520616c6c6f636174696f6e207065722077616c6044820152621b195d60ea1b60648201526084016106e5565b600b5460015460005483919003600019016109339190611a9f565b11156109745760405162461bcd60e51b815260206004820152601060248201526f14985c99481a5cc81cdbdb19081bdd5d60821b60448201526064016106e5565b3360009081526010602052604090205460ff16156109bd57600d546109999082611ab2565b3410156109b85760405162461bcd60e51b81526004016106e590611ac9565b610a0f565b600d546109cb600183611b0c565b6109d59190611ab2565b3410156109f45760405162461bcd60e51b81526004016106e590611ac9565b336000908152601060205260409020805460ff191660011790555b336000908152600f602052604081208054839290610a2e908490611a9f565b90915550610a3e905033826112d4565b610a486001600955565b50565b610a53611088565b60405133904780156108fc02916000818181858888f19350505050158015610a48573d6000803e3d6000fd5b826daaeb6d7670e522a718067333cd4e3b15610b4257336001600160a01b03821603610ab05761074a8484846112ee565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b239190611a6c565b610b4257604051633b79c77360e21b81523360048201526024016106e5565b6107ec8484846112ee565b610b55611088565b600a610b618282611b65565b5050565b600061055382611309565b600a8054610b7d90611a32565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba990611a32565b8015610bf65780601f10610bcb57610100808354040283529160200191610bf6565b820191906000526020600020905b815481529060010190602001808311610bd957829003601f168201915b505050505081565b60006001600160a01b038216610c27576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c55611088565b610c5f6000611378565b565b610c69611088565b600d55565b60606003805461056890611a32565b816daaeb6d7670e522a718067333cd4e3b15610d3757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610ceb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0f9190611a6c565b610d3757604051633b79c77360e21b81526001600160a01b03821660048201526024016106e5565b6106f883836113ca565b836daaeb6d7670e522a718067333cd4e3b15610e0a57336001600160a01b03821603610d7857610d7385858585611436565b610e16565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb9190611a6c565b610e0a57604051633b79c77360e21b81523360048201526024016106e5565b610e1685858585611436565b5050505050565b6060610e2882610fb3565b610e4557604051630a14c4b560e41b815260040160405180910390fd5b6000610e4f61147a565b90508051600003610e6f5760405180602001604052806000815250610e9a565b80610e7984611489565b604051602001610e8a929190611c25565b6040516020818303038152906040525b9392505050565b610ea9611088565b600b546001546000548391900360001901610ec49190611a9f565b1115610f055760405162461bcd60e51b815260206004820152601060248201526f14985c99481a5cc81cdbdb19081bdd5d60821b60448201526064016106e5565b610a4833826112d4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f45611088565b6001600160a01b038116610faa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e5565b610a4881611378565b600081600111158015610fc7575060005482105b8015610553575050600090815260046020526040902054600160e01b161590565b6000610ff382610b65565b9050336001600160a01b0382161461102c5761100f8133610f0f565b61102c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610c5f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106e5565b60006110ed82611309565b9050836001600160a01b0316816001600160a01b0316146111205760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761116d576111508633610f0f565b61116d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661119457604051633a954ecd60e21b815260040160405180910390fd5b801561119f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036112315760018401600081815260046020526040812054900361122f57600054811461122f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6002600954036112cd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106e5565b6002600955565b610b618282604051806020016040528060008152506114cd565b6106f883838360405180602001604052806000815250610d41565b6000818060011161135f5760005481101561135f5760008181526004602052604081205490600160e01b8216900361135d575b80600003610e9a57506000190160008181526004602052604090205461133c565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611441848484610719565b6001600160a01b0383163b156107ec5761145d84848484611533565b6107ec576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a805461056890611a32565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806114a35750819003601f19909101908152919050565b6114d7838361161f565b6001600160a01b0383163b156106f8576000548281035b6115016000868380600101945086611533565b61151e576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114ee578160005414610e1657600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611568903390899088908890600401611c54565b6020604051808303816000875af19250505080156115a3575060408051601f3d908101601f191682019092526115a091810190611c91565b60015b611601573d8080156115d1576040519150601f19603f3d011682016040523d82523d6000602084013e6115d6565b606091505b5080516000036115f9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008054908290036116445760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116f357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116bb565b508160000361171457604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610a4857600080fd5b60006020828403121561174557600080fd5b8135610e9a8161171d565b60005b8381101561176b578181015183820152602001611753565b50506000910152565b6000815180845261178c816020860160208601611750565b601f01601f19169290920160200192915050565b602081526000610e9a6020830184611774565b6000602082840312156117c557600080fd5b5035919050565b80356001600160a01b03811681146117e357600080fd5b919050565b600080604083850312156117fb57600080fd5b611804836117cc565b946020939093013593505050565b60008060006060848603121561182757600080fd5b611830846117cc565b925061183e602085016117cc565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561187f5761187f61184e565b604051601f8501601f19908116603f011681019082821181831017156118a7576118a761184e565b816040528093508581528686860111156118c057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156118ec57600080fd5b813567ffffffffffffffff81111561190357600080fd5b8201601f8101841361191457600080fd5b61161784823560208401611864565b60006020828403121561193557600080fd5b610e9a826117cc565b8015158114610a4857600080fd5b6000806040838503121561195f57600080fd5b611968836117cc565b915060208301356119788161193e565b809150509250929050565b6000806000806080858703121561199957600080fd5b6119a2856117cc565b93506119b0602086016117cc565b925060408501359150606085013567ffffffffffffffff8111156119d357600080fd5b8501601f810187136119e457600080fd5b6119f387823560208401611864565b91505092959194509250565b60008060408385031215611a1257600080fd5b611a1b836117cc565b9150611a29602084016117cc565b90509250929050565b600181811c90821680611a4657607f821691505b602082108103611a6657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a7e57600080fd5b8151610e9a8161193e565b634e487b7160e01b600052601160045260246000fd5b8082018082111561055357610553611a89565b808202811582820484141761055357610553611a89565b60208082526023908201527f6e6f7420656e6f7567682066756e647320666f7220726571756573746564205260408201526261726560e81b606082015260800190565b8181038181111561055357610553611a89565b601f8211156106f857600081815260208120601f850160051c81016020861015611b465750805b601f850160051c820191505b8181101561127357828155600101611b52565b815167ffffffffffffffff811115611b7f57611b7f61184e565b611b9381611b8d8454611a32565b84611b1f565b602080601f831160018114611bc85760008415611bb05750858301515b600019600386901b1c1916600185901b178555611273565b600085815260208120601f198616915b82811015611bf757888601518255948401946001909101908401611bd8565b5085821015611c155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611c37818460208801611750565b835190830190611c4b818360208801611750565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c8790830184611774565b9695505050505050565b600060208284031215611ca357600080fd5b8151610e9a8161171d56fea26469706673582212206f909ad3ef2f01d161daaca25d9aeac27f4c3e7a8a6312953f1d3ff7c56d8e3c64736f6c63430008120033697066733a2f2f516d5268386e6a734d32505331504647317a39597357456e6f32315a615059456d6d79694b7038396a72504c58742f
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806355f804b3116100f75780638da5cb5b11610095578063c87b56dd11610064578063c87b56dd14610487578063dab6243d146104a7578063e985e9c5146104c7578063f2fde38b146104e757600080fd5b80638da5cb5b1461042157806395d89b411461043f578063a22cb46514610454578063b88d4fde1461047457600080fd5b80636c0360eb116100d15780636c0360eb146103b757806370a08231146103cc578063715018a6146103ec5780638963718b1461040157600080fd5b806355f804b3146103615780635b11fc10146103815780636352211e1461039757600080fd5b806318160ddd116101645780632a4577d01161013e5780632a4577d0146103045780633ccfd60b1461031757806341f434341461032c57806342842e0e1461034e57600080fd5b806318160ddd146102be57806323b872dd146102db57806325ba5f56146102ee57600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630a8e7f141461026b5780630e324a101461028f57806311791210146102a957600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611733565b610507565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610559565b6040516101f391906117a0565b34801561022a57600080fd5b5061023e6102393660046117b3565b6105eb565b6040516001600160a01b0390911681526020016101f3565b6102696102643660046117e8565b61062f565b005b34801561027757600080fd5b50610281600d5481565b6040519081526020016101f3565b34801561029b57600080fd5b50600e546101e79060ff1681565b3480156102b557600080fd5b506102696106fd565b3480156102ca57600080fd5b506001546000540360001901610281565b6102696102e9366004611812565b610719565b3480156102fa57600080fd5b50610281600b5481565b6102696103123660046117b3565b6107f2565b34801561032357600080fd5b50610269610a4b565b34801561033857600080fd5b5061023e6daaeb6d7670e522a718067333cd4e81565b61026961035c366004611812565b610a7f565b34801561036d57600080fd5b5061026961037c3660046118da565b610b4d565b34801561038d57600080fd5b50610281600c5481565b3480156103a357600080fd5b5061023e6103b23660046117b3565b610b65565b3480156103c357600080fd5b50610211610b70565b3480156103d857600080fd5b506102816103e7366004611923565b610bfe565b3480156103f857600080fd5b50610269610c4d565b34801561040d57600080fd5b5061026961041c3660046117b3565b610c61565b34801561042d57600080fd5b506008546001600160a01b031661023e565b34801561044b57600080fd5b50610211610c6e565b34801561046057600080fd5b5061026961046f36600461194c565b610c7d565b610269610482366004611983565b610d41565b34801561049357600080fd5b506102116104a23660046117b3565b610e1d565b3480156104b357600080fd5b506102696104c23660046117b3565b610ea1565b3480156104d357600080fd5b506101e76104e23660046119ff565b610f0f565b3480156104f357600080fd5b50610269610502366004611923565b610f3d565b60006301ffc9a760e01b6001600160e01b03198316148061053857506380ac58cd60e01b6001600160e01b03198316145b806105535750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461056890611a32565b80601f016020809104026020016040519081016040528092919081815260200182805461059490611a32565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b5050505050905090565b60006105f682610fb3565b610613576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b156106ee57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561069d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c19190611a6c565b6106ee57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106f88383610fe8565b505050565b610705611088565b600e805460ff19811660ff90911615179055565b826daaeb6d7670e522a718067333cd4e3b156107e157336001600160a01b0382160361074f5761074a8484846110e2565b6107ec565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561079e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c29190611a6c565b6107e157604051633b79c77360e21b81523360048201526024016106e5565b6107ec8484846110e2565b50505050565b32331461084d5760405162461bcd60e51b8152602060048201526024808201527f52617265206d696e742063616c6c657220697320616e6f7468657220636f6e746044820152631c9858dd60e21b60648201526084016106e5565b61085561127b565b600e5460ff166108a05760405162461bcd60e51b8152602060048201526016602482015275526172652073616c652069736e27742061637469766560501b60448201526064016106e5565b600c54336000908152600f60205260409020546108be908390611a9f565b11156109185760405162461bcd60e51b815260206004820152602360248201527f6578636565646564205261726520616c6c6f636174696f6e207065722077616c6044820152621b195d60ea1b60648201526084016106e5565b600b5460015460005483919003600019016109339190611a9f565b11156109745760405162461bcd60e51b815260206004820152601060248201526f14985c99481a5cc81cdbdb19081bdd5d60821b60448201526064016106e5565b3360009081526010602052604090205460ff16156109bd57600d546109999082611ab2565b3410156109b85760405162461bcd60e51b81526004016106e590611ac9565b610a0f565b600d546109cb600183611b0c565b6109d59190611ab2565b3410156109f45760405162461bcd60e51b81526004016106e590611ac9565b336000908152601060205260409020805460ff191660011790555b336000908152600f602052604081208054839290610a2e908490611a9f565b90915550610a3e905033826112d4565b610a486001600955565b50565b610a53611088565b60405133904780156108fc02916000818181858888f19350505050158015610a48573d6000803e3d6000fd5b826daaeb6d7670e522a718067333cd4e3b15610b4257336001600160a01b03821603610ab05761074a8484846112ee565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b239190611a6c565b610b4257604051633b79c77360e21b81523360048201526024016106e5565b6107ec8484846112ee565b610b55611088565b600a610b618282611b65565b5050565b600061055382611309565b600a8054610b7d90611a32565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba990611a32565b8015610bf65780601f10610bcb57610100808354040283529160200191610bf6565b820191906000526020600020905b815481529060010190602001808311610bd957829003601f168201915b505050505081565b60006001600160a01b038216610c27576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c55611088565b610c5f6000611378565b565b610c69611088565b600d55565b60606003805461056890611a32565b816daaeb6d7670e522a718067333cd4e3b15610d3757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610ceb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0f9190611a6c565b610d3757604051633b79c77360e21b81526001600160a01b03821660048201526024016106e5565b6106f883836113ca565b836daaeb6d7670e522a718067333cd4e3b15610e0a57336001600160a01b03821603610d7857610d7385858585611436565b610e16565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb9190611a6c565b610e0a57604051633b79c77360e21b81523360048201526024016106e5565b610e1685858585611436565b5050505050565b6060610e2882610fb3565b610e4557604051630a14c4b560e41b815260040160405180910390fd5b6000610e4f61147a565b90508051600003610e6f5760405180602001604052806000815250610e9a565b80610e7984611489565b604051602001610e8a929190611c25565b6040516020818303038152906040525b9392505050565b610ea9611088565b600b546001546000548391900360001901610ec49190611a9f565b1115610f055760405162461bcd60e51b815260206004820152601060248201526f14985c99481a5cc81cdbdb19081bdd5d60821b60448201526064016106e5565b610a4833826112d4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f45611088565b6001600160a01b038116610faa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e5565b610a4881611378565b600081600111158015610fc7575060005482105b8015610553575050600090815260046020526040902054600160e01b161590565b6000610ff382610b65565b9050336001600160a01b0382161461102c5761100f8133610f0f565b61102c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610c5f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106e5565b60006110ed82611309565b9050836001600160a01b0316816001600160a01b0316146111205760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761116d576111508633610f0f565b61116d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661119457604051633a954ecd60e21b815260040160405180910390fd5b801561119f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036112315760018401600081815260046020526040812054900361122f57600054811461122f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6002600954036112cd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106e5565b6002600955565b610b618282604051806020016040528060008152506114cd565b6106f883838360405180602001604052806000815250610d41565b6000818060011161135f5760005481101561135f5760008181526004602052604081205490600160e01b8216900361135d575b80600003610e9a57506000190160008181526004602052604090205461133c565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611441848484610719565b6001600160a01b0383163b156107ec5761145d84848484611533565b6107ec576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a805461056890611a32565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806114a35750819003601f19909101908152919050565b6114d7838361161f565b6001600160a01b0383163b156106f8576000548281035b6115016000868380600101945086611533565b61151e576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114ee578160005414610e1657600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611568903390899088908890600401611c54565b6020604051808303816000875af19250505080156115a3575060408051601f3d908101601f191682019092526115a091810190611c91565b60015b611601573d8080156115d1576040519150601f19603f3d011682016040523d82523d6000602084013e6115d6565b606091505b5080516000036115f9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008054908290036116445760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116f357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116bb565b508160000361171457604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610a4857600080fd5b60006020828403121561174557600080fd5b8135610e9a8161171d565b60005b8381101561176b578181015183820152602001611753565b50506000910152565b6000815180845261178c816020860160208601611750565b601f01601f19169290920160200192915050565b602081526000610e9a6020830184611774565b6000602082840312156117c557600080fd5b5035919050565b80356001600160a01b03811681146117e357600080fd5b919050565b600080604083850312156117fb57600080fd5b611804836117cc565b946020939093013593505050565b60008060006060848603121561182757600080fd5b611830846117cc565b925061183e602085016117cc565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561187f5761187f61184e565b604051601f8501601f19908116603f011681019082821181831017156118a7576118a761184e565b816040528093508581528686860111156118c057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156118ec57600080fd5b813567ffffffffffffffff81111561190357600080fd5b8201601f8101841361191457600080fd5b61161784823560208401611864565b60006020828403121561193557600080fd5b610e9a826117cc565b8015158114610a4857600080fd5b6000806040838503121561195f57600080fd5b611968836117cc565b915060208301356119788161193e565b809150509250929050565b6000806000806080858703121561199957600080fd5b6119a2856117cc565b93506119b0602086016117cc565b925060408501359150606085013567ffffffffffffffff8111156119d357600080fd5b8501601f810187136119e457600080fd5b6119f387823560208401611864565b91505092959194509250565b60008060408385031215611a1257600080fd5b611a1b836117cc565b9150611a29602084016117cc565b90509250929050565b600181811c90821680611a4657607f821691505b602082108103611a6657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a7e57600080fd5b8151610e9a8161193e565b634e487b7160e01b600052601160045260246000fd5b8082018082111561055357610553611a89565b808202811582820484141761055357610553611a89565b60208082526023908201527f6e6f7420656e6f7567682066756e647320666f7220726571756573746564205260408201526261726560e81b606082015260800190565b8181038181111561055357610553611a89565b601f8211156106f857600081815260208120601f850160051c81016020861015611b465750805b601f850160051c820191505b8181101561127357828155600101611b52565b815167ffffffffffffffff811115611b7f57611b7f61184e565b611b9381611b8d8454611a32565b84611b1f565b602080601f831160018114611bc85760008415611bb05750858301515b600019600386901b1c1916600185901b178555611273565b600085815260208120601f198616915b82811015611bf757888601518255948401946001909101908401611bd8565b5085821015611c155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611c37818460208801611750565b835190830190611c4b818360208801611750565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c8790830184611774565b9695505050505050565b600060208284031215611ca357600080fd5b8151610e9a8161171d56fea26469706673582212206f909ad3ef2f01d161daaca25d9aeac27f4c3e7a8a6312953f1d3ff7c56d8e3c64736f6c63430008120033
Deployed Bytecode Sourcemap
66039:3548:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26439:639;;;;;;;;;;-1:-1:-1;26439:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;26439:639:0;;;;;;;;27341:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33832:218::-;;;;;;;;;;-1:-1:-1;33832:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;33832:218:0;1533:203:1;68800:165:0;;;;;;:::i;:::-;;:::i;:::-;;66296:41;;;;;;;;;;;;;;;;;;;2324:25:1;;;2312:2;2297:18;66296:41:0;2178:177:1;66344:36:0;;;;;;;;;;-1:-1:-1;66344:36:0;;;;;;;;67954:100;;;;;;;;;;;;;:::i;23092:323::-;;;;;;;;;;-1:-1:-1;66775:1:0;23366:12;23153:7;23350:13;:28;-1:-1:-1;;23350:46:0;23092:323;;68973:171;;;;;;:::i;:::-;;:::i;66211:35::-;;;;;;;;;;;;;;;;66812:797;;;;;;:::i;:::-;;:::i;68401:98::-;;;;;;;;;;;;;:::i;5226:143::-;;;;;;;;;;;;5326:42;5226:143;;69152:179;;;;;;:::i;:::-;;:::i;68292:100::-;;;;;;;;;;-1:-1:-1;68292:100:0;;;;;:::i;:::-;;:::i;66253:36::-;;;;;;;;;;;;;;;;28734:152;;;;;;;;;;-1:-1:-1;28734:152:0;;;;;:::i;:::-;;:::i;66124:80::-;;;;;;;;;;;;;:::i;24276:233::-;;;;;;;;;;-1:-1:-1;24276:233:0;;;;;:::i;:::-;;:::i;65192:103::-;;;;;;;;;;;;;:::i;68062:106::-;;;;;;;;;;-1:-1:-1;68062:106:0;;;;;:::i;:::-;;:::i;64544:87::-;;;;;;;;;;-1:-1:-1;64617:6:0;;-1:-1:-1;;;;;64617:6:0;64544:87;;27517:104;;;;;;;;;;;;;:::i;68616:176::-;;;;;;;;;;-1:-1:-1;68616:176:0;;;;;:::i;:::-;;:::i;69339:245::-;;;;;;:::i;:::-;;:::i;27727:318::-;;;;;;;;;;-1:-1:-1;27727:318:0;;;;;:::i;:::-;;:::i;67642:203::-;;;;;;;;;;-1:-1:-1;67642:203:0;;;;;:::i;:::-;;:::i;34781:164::-;;;;;;;;;;-1:-1:-1;34781:164:0;;;;;:::i;:::-;;:::i;65450:201::-;;;;;;;;;;-1:-1:-1;65450:201:0;;;;;:::i;:::-;;:::i;26439:639::-;26524:4;-1:-1:-1;;;;;;;;;26848:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;26925:25:0;;;26848:102;:179;;;-1:-1:-1;;;;;;;;;;27002:25:0;;;26848:179;26828:199;26439:639;-1:-1:-1;;26439:639:0:o;27341:100::-;27395:13;27428:5;27421:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27341:100;:::o;33832:218::-;33908:7;33933:16;33941:7;33933;:16::i;:::-;33928:64;;33958:34;;-1:-1:-1;;;33958:34:0;;;;;;;;;;;33928:64;-1:-1:-1;34012:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;34012:30:0;;33832:218::o;68800:165::-;68904:8;5326:42;7220:45;:49;7216:225;;7291:67;;-1:-1:-1;;;7291:67:0;;7342:4;7291:67;;;6325:34:1;-1:-1:-1;;;;;6395:15:1;;6375:18;;;6368:43;5326:42:0;;7291;;6260:18:1;;7291:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7286:144;;7386:28;;-1:-1:-1;;;7386:28:0;;-1:-1:-1;;;;;1697:32:1;;7386:28:0;;;1679:51:1;1652:18;;7386:28:0;;;;;;;;7286:144;68925:32:::1;68939:8;68949:7;68925:13;:32::i;:::-;68800:165:::0;;;:::o;67954:100::-;64430:13;:11;:13::i;:::-;68030:16:::1;::::0;;-1:-1:-1;;68010:36:0;::::1;68030:16;::::0;;::::1;68029:17;68010:36;::::0;;67954:100::o;68973:171::-;69082:4;5326:42;6474:45;:49;6470:539;;6763:10;-1:-1:-1;;;;;6755:18:0;;;6751:85;;69099:37:::1;69118:4;69124:2;69128:7;69099:18;:37::i;:::-;6814:7:::0;;6751:85;6855:69;;-1:-1:-1;;;6855:69:0;;6906:4;6855:69;;;6325:34:1;6913:10:0;6375:18:1;;;6368:43;5326:42:0;;6855;;6260:18:1;;6855:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6850:148;;6952:30;;-1:-1:-1;;;6952:30:0;;6971:10;6952:30;;;1679:51:1;1652:18;;6952:30:0;1533:203:1;6850:148:0;69099:37:::1;69118:4;69124:2;69128:7;69099:18;:37::i;:::-;68973:171:::0;;;;:::o;66812:797::-;66528:9;66541:10;66528:23;66520:72;;;;-1:-1:-1;;;66520:72:0;;6874:2:1;66520:72:0;;;6856:21:1;6913:2;6893:18;;;6886:30;6952:34;6932:18;;;6925:62;-1:-1:-1;;;7003:18:1;;;6996:34;7047:19;;66520:72:0;6672:400:1;66520:72:0;61815:21:::1;:19;:21::i;:::-;66910:16:::2;::::0;::::2;;66902:51;;;::::0;-1:-1:-1;;;66902:51:0;;7279:2:1;66902:51:0::2;::::0;::::2;7261:21:1::0;7318:2;7298:18;;;7291:30;-1:-1:-1;;;7337:18:1;;;7330:52;7399:18;;66902:51:0::2;7077:346:1::0;66902:51:0::2;67016:16;::::0;66988:10:::2;66972:27;::::0;;;:15:::2;:27;::::0;;;;;:40:::2;::::0;67002:10;;66972:40:::2;:::i;:::-;:60;;66964:108;;;::::0;-1:-1:-1;;;66964:108:0;;7892:2:1;66964:108:0::2;::::0;::::2;7874:21:1::0;7931:2;7911:18;;;7904:30;7970:34;7950:18;;;7943:62;-1:-1:-1;;;8021:18:1;;;8014:33;8064:19;;66964:108:0::2;7690:399:1::0;66964:108:0::2;67121:13;::::0;66775:1;23366:12;23153:7;23350:13;67107:10;;23350:28;;-1:-1:-1;;23350:46:0;67091:26:::2;;;;:::i;:::-;:43;;67083:72;;;::::0;-1:-1:-1;;;67083:72:0;;8296:2:1;67083:72:0::2;::::0;::::2;8278:21:1::0;8335:2;8315:18;;;8308:30;-1:-1:-1;;;8354:18:1;;;8347:46;8410:18;;67083:72:0::2;8094:340:1::0;67083:72:0::2;67187:10;67171:27;::::0;;;:15:::2;:27;::::0;;;;;::::2;;67168:328;;;67249:12;::::0;67236:25:::2;::::0;:10;:25:::2;:::i;:::-;67223:9;:38;;67215:86;;;;-1:-1:-1::0;;;67215:86:0::2;;;;;;;:::i;:::-;67168:328;;;67383:12;::::0;67365:14:::2;67378:1;67365:10:::0;:14:::2;:::i;:::-;67364:31;;;;:::i;:::-;67351:9;:44;;67343:92;;;;-1:-1:-1::0;;;67343:92:0::2;;;;;;;:::i;:::-;67466:10;67450:27;::::0;;;:15:::2;:27;::::0;;;;:34;;-1:-1:-1;;67450:34:0::2;67480:4;67450:34;::::0;;67168:328:::2;67532:10;67516:27;::::0;;;:15:::2;:27;::::0;;;;:41;;67547:10;;67516:27;:41:::2;::::0;67547:10;;67516:41:::2;:::i;:::-;::::0;;;-1:-1:-1;67568:33:0::2;::::0;-1:-1:-1;67578:10:0::2;67590::::0;67568:9:::2;:33::i;:::-;61859:20:::1;61253:1:::0;62379:7;:22;62196:213;61859:20:::1;66812:797:::0;:::o;68401:98::-;64430:13;:11;:13::i;:::-;68443:51:::1;::::0;68451:10:::1;::::0;68472:21:::1;68443:51:::0;::::1;;;::::0;::::1;::::0;;;68472:21;68451:10;68443:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;69152:179:::0;69265:4;5326:42;6474:45;:49;6470:539;;6763:10;-1:-1:-1;;;;;6755:18:0;;;6751:85;;69282:41:::1;69305:4;69311:2;69315:7;69282:22;:41::i;6751:85::-:0;6855:69;;-1:-1:-1;;;6855:69:0;;6906:4;6855:69;;;6325:34:1;6913:10:0;6375:18:1;;;6368:43;5326:42:0;;6855;;6260:18:1;;6855:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6850:148;;6952:30;;-1:-1:-1;;;6952:30:0;;6971:10;6952:30;;;1679:51:1;1652:18;;6952:30:0;1533:203:1;6850:148:0;69282:41:::1;69305:4;69311:2;69315:7;69282:22;:41::i;68292:100::-:0;64430:13;:11;:13::i;:::-;68366:7:::1;:18;68376:8:::0;68366:7;:18:::1;:::i;:::-;;68292:100:::0;:::o;28734:152::-;28806:7;28849:27;28868:7;28849:18;:27::i;66124:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24276:233::-;24348:7;-1:-1:-1;;;;;24372:19:0;;24368:60;;24400:28;;-1:-1:-1;;;24400:28:0;;;;;;;;;;;24368:60;-1:-1:-1;;;;;;24446:25:0;;;;;:18;:25;;;;;;18435:13;24446:55;;24276:233::o;65192:103::-;64430:13;:11;:13::i;:::-;65257:30:::1;65284:1;65257:18;:30::i;:::-;65192:103::o:0;68062:106::-;64430:13;:11;:13::i;:::-;68134:12:::1;:26:::0;68062:106::o;27517:104::-;27573:13;27606:7;27599:14;;;;;:::i;68616:176::-;68720:8;5326:42;7220:45;:49;7216:225;;7291:67;;-1:-1:-1;;;7291:67:0;;7342:4;7291:67;;;6325:34:1;-1:-1:-1;;;;;6395:15:1;;6375:18;;;6368:43;5326:42:0;;7291;;6260:18:1;;7291:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7286:144;;7386:28;;-1:-1:-1;;;7386:28:0;;-1:-1:-1;;;;;1697:32:1;;7386:28:0;;;1679:51:1;1652:18;;7386:28:0;1533:203:1;7286:144:0;68741:43:::1;68765:8;68775;68741:23;:43::i;69339:245::-:0;69507:4;5326:42;6474:45;:49;6470:539;;6763:10;-1:-1:-1;;;;;6755:18:0;;;6751:85;;69529:47:::1;69552:4;69558:2;69562:7;69571:4;69529:22;:47::i;:::-;6814:7:::0;;6751:85;6855:69;;-1:-1:-1;;;6855:69:0;;6906:4;6855:69;;;6325:34:1;6913:10:0;6375:18:1;;;6368:43;5326:42:0;;6855;;6260:18:1;;6855:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6850:148;;6952:30;;-1:-1:-1;;;6952:30:0;;6971:10;6952:30;;;1679:51:1;1652:18;;6952:30:0;1533:203:1;6850:148:0;69529:47:::1;69552:4;69558:2;69562:7;69571:4;69529:22;:47::i;:::-;69339:245:::0;;;;;:::o;27727:318::-;27800:13;27831:16;27839:7;27831;:16::i;:::-;27826:59;;27856:29;;-1:-1:-1;;;27856:29:0;;;;;;;;;;;27826:59;27898:21;27922:10;:8;:10::i;:::-;27898:34;;27956:7;27950:21;27975:1;27950:26;:87;;;;;;;;;;;;;;;;;28003:7;28012:18;28022:7;28012:9;:18::i;:::-;27986:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;27950:87;27943:94;27727:318;-1:-1:-1;;;27727:318:0:o;67642:203::-;64430:13;:11;:13::i;:::-;67749::::1;::::0;66775:1;23366:12;23153:7;23350:13;67735:10;;23350:28;;-1:-1:-1;;23350:46:0;67719:26:::1;;;;:::i;:::-;:43;;67711:72;;;::::0;-1:-1:-1;;;67711:72:0;;8296:2:1;67711:72:0::1;::::0;::::1;8278:21:1::0;8335:2;8315:18;;;8308:30;-1:-1:-1;;;8354:18:1;;;8347:46;8410:18;;67711:72:0::1;8094:340:1::0;67711:72:0::1;67804:33;67814:10;67826;67804:9;:33::i;34781:164::-:0;-1:-1:-1;;;;;34902:25:0;;;34878:4;34902:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34781:164::o;65450:201::-;64430:13;:11;:13::i;:::-;-1:-1:-1;;;;;65539:22:0;::::1;65531:73;;;::::0;-1:-1:-1;;;65531:73:0;;12056:2:1;65531:73:0::1;::::0;::::1;12038:21:1::0;12095:2;12075:18;;;12068:30;12134:34;12114:18;;;12107:62;-1:-1:-1;;;12185:18:1;;;12178:36;12231:19;;65531:73:0::1;11854:402:1::0;65531:73:0::1;65615:28;65634:8;65615:18;:28::i;35203:282::-:0;35268:4;35324:7;66775:1;35305:26;;:66;;;;;35358:13;;35348:7;:23;35305:66;:153;;;;-1:-1:-1;;35409:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;35409:44:0;:49;;35203:282::o;33265:408::-;33354:13;33370:16;33378:7;33370;:16::i;:::-;33354:32;-1:-1:-1;57598:10:0;-1:-1:-1;;;;;33403:28:0;;;33399:175;;33451:44;33468:5;57598:10;34781:164;:::i;33451:44::-;33446:128;;33523:35;;-1:-1:-1;;;33523:35:0;;;;;;;;;;;33446:128;33586:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;33586:35:0;-1:-1:-1;;;;;33586:35:0;;;;;;;;;33637:28;;33586:24;;33637:28;;;;;;;33343:330;33265:408;;:::o;64709:132::-;64617:6;;-1:-1:-1;;;;;64617:6:0;57598:10;64773:23;64765:68;;;;-1:-1:-1;;;64765:68:0;;12463:2:1;64765:68:0;;;12445:21:1;;;12482:18;;;12475:30;12541:34;12521:18;;;12514:62;12593:18;;64765:68:0;12261:356:1;37471:2825:0;37613:27;37643;37662:7;37643:18;:27::i;:::-;37613:57;;37728:4;-1:-1:-1;;;;;37687:45:0;37703:19;-1:-1:-1;;;;;37687:45:0;;37683:86;;37741:28;;-1:-1:-1;;;37741:28:0;;;;;;;;;;;37683:86;37783:27;36579:24;;;:15;:24;;;;;36807:26;;57598:10;36204:30;;;-1:-1:-1;;;;;35897:28:0;;36182:20;;;36179:56;37969:180;;38062:43;38079:4;57598:10;34781:164;:::i;38062:43::-;38057:92;;38114:35;;-1:-1:-1;;;38114:35:0;;;;;;;;;;;38057:92;-1:-1:-1;;;;;38166:16:0;;38162:52;;38191:23;;-1:-1:-1;;;38191:23:0;;;;;;;;;;;38162:52;38363:15;38360:160;;;38503:1;38482:19;38475:30;38360:160;-1:-1:-1;;;;;38900:24:0;;;;;;;:18;:24;;;;;;38898:26;;-1:-1:-1;;38898:26:0;;;38969:22;;;;;;;;;38967:24;;-1:-1:-1;38967:24:0;;;32123:11;32098:23;32094:41;32081:63;-1:-1:-1;;;32081:63:0;39262:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;39557:47:0;;:52;;39553:627;;39662:1;39652:11;;39630:19;39785:30;;;:17;:30;;;;;;:35;;39781:384;;39923:13;;39908:11;:28;39904:242;;40070:30;;;;:17;:30;;;;;:52;;;39904:242;39611:569;39553:627;40227:7;40223:2;-1:-1:-1;;;;;40208:27:0;40217:4;-1:-1:-1;;;;;40208:27:0;;;;;;;;;;;40246:42;37602:2694;;;37471:2825;;;:::o;61895:293::-;61297:1;62029:7;;:19;62021:63;;;;-1:-1:-1;;;62021:63:0;;12824:2:1;62021:63:0;;;12806:21:1;12863:2;12843:18;;;12836:30;12902:33;12882:18;;;12875:61;12953:18;;62021:63:0;12622:355:1;62021:63:0;61297:1;62162:7;:18;61895:293::o;51343:112::-;51420:27;51430:2;51434:8;51420:27;;;;;;;;;;;;:9;:27::i;40392:193::-;40538:39;40555:4;40561:2;40565:7;40538:39;;;;;;;;;;;;:16;:39::i;29889:1275::-;29956:7;29991;;66775:1;30040:23;30036:1061;;30093:13;;30086:4;:20;30082:1015;;;30131:14;30148:23;;;:17;:23;;;;;;;-1:-1:-1;;;30237:24:0;;:29;;30233:845;;30902:113;30909:6;30919:1;30909:11;30902:113;;-1:-1:-1;;;30980:6:0;30962:25;;;;:17;:25;;;;;;30902:113;;30233:845;30108:989;30082:1015;31125:31;;-1:-1:-1;;;31125:31:0;;;;;;;;;;;65811:191;65904:6;;;-1:-1:-1;;;;;65921:17:0;;;-1:-1:-1;;;;;;65921:17:0;;;;;;;65954:40;;65904:6;;;65921:17;65904:6;;65954:40;;65885:16;;65954:40;65874:128;65811:191;:::o;34390:234::-;57598:10;34485:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;34485:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;34485:60:0;;;;;;;;;;34561:55;;540:41:1;;;34485:49:0;;57598:10;34561:55;;513:18:1;34561:55:0;;;;;;;34390:234;;:::o;41183:407::-;41358:31;41371:4;41377:2;41381:7;41358:12;:31::i;:::-;-1:-1:-1;;;;;41404:14:0;;;:19;41400:183;;41443:56;41474:4;41480:2;41484:7;41493:5;41443:30;:56::i;:::-;41438:145;;41527:40;;-1:-1:-1;;;41527:40:0;;;;;;;;;;;68176:108;68236:13;68269:7;68262:14;;;;;:::i;57718:1745::-;57783:17;58217:4;58210;58204:11;58200:22;58309:1;58303:4;58296:15;58384:4;58381:1;58377:12;58370:19;;;58466:1;58461:3;58454:14;58570:3;58809:5;58791:428;58857:1;58852:3;58848:11;58841:18;;59028:2;59022:4;59018:13;59014:2;59010:22;59005:3;58997:36;59122:2;59112:13;;59179:25;58791:428;59179:25;-1:-1:-1;59249:13:0;;;-1:-1:-1;;59364:14:0;;;59426:19;;;59364:14;57718:1745;-1:-1:-1;57718:1745:0:o;50570:689::-;50701:19;50707:2;50711:8;50701:5;:19::i;:::-;-1:-1:-1;;;;;50762:14:0;;;:19;50758:483;;50802:11;50816:13;50864:14;;;50897:233;50928:62;50967:1;50971:2;50975:7;;;;;;50984:5;50928:30;:62::i;:::-;50923:167;;51026:40;;-1:-1:-1;;;51026:40:0;;;;;;;;;;;50923:167;51125:3;51117:5;:11;50897:233;;51212:3;51195:13;;:20;51191:34;;51217:8;;;43674:716;43858:88;;-1:-1:-1;;;43858:88:0;;43837:4;;-1:-1:-1;;;;;43858:45:0;;;;;:88;;57598:10;;43925:4;;43931:7;;43940:5;;43858:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43858:88:0;;;;;;;;-1:-1:-1;;43858:88:0;;;;;;;;;;;;:::i;:::-;;;43854:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44141:6;:13;44158:1;44141:18;44137:235;;44187:40;;-1:-1:-1;;;44187:40:0;;;;;;;;;;;44137:235;44330:6;44324:13;44315:6;44311:2;44307:15;44300:38;43854:529;-1:-1:-1;;;;;;44017:64:0;-1:-1:-1;;;44017:64:0;;-1:-1:-1;43854:529:0;43674:716;;;;;;:::o;44852:2966::-;44925:20;44948:13;;;44976;;;44972:44;;44998:18;;-1:-1:-1;;;44998:18:0;;;;;;;;;;;44972:44;-1:-1:-1;;;;;45504:22:0;;;;;;:18;:22;;;;18573:2;45504:22;;;:71;;45542:32;45530:45;;45504:71;;;45818:31;;;:17;:31;;;;;-1:-1:-1;32554:15:0;;32528:24;32524:46;32123:11;32098:23;32094:41;32091:52;32081:63;;45818:173;;46053:23;;;;45818:31;;45504:22;;46818:25;45504:22;;46671:335;47332:1;47318:12;47314:20;47272:346;47373:3;47364:7;47361:16;47272:346;;47591:7;47581:8;47578:1;47551:25;47548:1;47545;47540:59;47426:1;47413:15;47272:346;;;47276:77;47651:8;47663:1;47651:13;47647:45;;47673:19;;-1:-1:-1;;;47673:19:0;;;;;;;;;;;47647:45;47709:13;:19;-1:-1:-1;68800:165:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2932:127::-;2993:10;2988:3;2984:20;2981:1;2974:31;3024:4;3021:1;3014:15;3048:4;3045:1;3038:15;3064:632;3129:5;3159:18;3200:2;3192:6;3189:14;3186:40;;;3206:18;;:::i;:::-;3281:2;3275:9;3249:2;3335:15;;-1:-1:-1;;3331:24:1;;;3357:2;3327:33;3323:42;3311:55;;;3381:18;;;3401:22;;;3378:46;3375:72;;;3427:18;;:::i;:::-;3467:10;3463:2;3456:22;3496:6;3487:15;;3526:6;3518;3511:22;3566:3;3557:6;3552:3;3548:16;3545:25;3542:45;;;3583:1;3580;3573:12;3542:45;3633:6;3628:3;3621:4;3613:6;3609:17;3596:44;3688:1;3681:4;3672:6;3664;3660:19;3656:30;3649:41;;;;3064:632;;;;;:::o;3701:451::-;3770:6;3823:2;3811:9;3802:7;3798:23;3794:32;3791:52;;;3839:1;3836;3829:12;3791:52;3879:9;3866:23;3912:18;3904:6;3901:30;3898:50;;;3944:1;3941;3934:12;3898:50;3967:22;;4020:4;4012:13;;4008:27;-1:-1:-1;3998:55:1;;4049:1;4046;4039:12;3998:55;4072:74;4138:7;4133:2;4120:16;4115:2;4111;4107:11;4072:74;:::i;4157:186::-;4216:6;4269:2;4257:9;4248:7;4244:23;4240:32;4237:52;;;4285:1;4282;4275:12;4237:52;4308:29;4327:9;4308:29;:::i;4348:118::-;4434:5;4427:13;4420:21;4413:5;4410:32;4400:60;;4456:1;4453;4446:12;4471:315;4536:6;4544;4597:2;4585:9;4576:7;4572:23;4568:32;4565:52;;;4613:1;4610;4603:12;4565:52;4636:29;4655:9;4636:29;:::i;:::-;4626:39;;4715:2;4704:9;4700:18;4687:32;4728:28;4750:5;4728:28;:::i;:::-;4775:5;4765:15;;;4471:315;;;;;:::o;4791:667::-;4886:6;4894;4902;4910;4963:3;4951:9;4942:7;4938:23;4934:33;4931:53;;;4980:1;4977;4970:12;4931:53;5003:29;5022:9;5003:29;:::i;:::-;4993:39;;5051:38;5085:2;5074:9;5070:18;5051:38;:::i;:::-;5041:48;;5136:2;5125:9;5121:18;5108:32;5098:42;;5191:2;5180:9;5176:18;5163:32;5218:18;5210:6;5207:30;5204:50;;;5250:1;5247;5240:12;5204:50;5273:22;;5326:4;5318:13;;5314:27;-1:-1:-1;5304:55:1;;5355:1;5352;5345:12;5304:55;5378:74;5444:7;5439:2;5426:16;5421:2;5417;5413:11;5378:74;:::i;:::-;5368:84;;;4791:667;;;;;;;:::o;5463:260::-;5531:6;5539;5592:2;5580:9;5571:7;5567:23;5563:32;5560:52;;;5608:1;5605;5598:12;5560:52;5631:29;5650:9;5631:29;:::i;:::-;5621:39;;5679:38;5713:2;5702:9;5698:18;5679:38;:::i;:::-;5669:48;;5463:260;;;;;:::o;5728:380::-;5807:1;5803:12;;;;5850;;;5871:61;;5925:4;5917:6;5913:17;5903:27;;5871:61;5978:2;5970:6;5967:14;5947:18;5944:38;5941:161;;6024:10;6019:3;6015:20;6012:1;6005:31;6059:4;6056:1;6049:15;6087:4;6084:1;6077:15;5941:161;;5728:380;;;:::o;6422:245::-;6489:6;6542:2;6530:9;6521:7;6517:23;6513:32;6510:52;;;6558:1;6555;6548:12;6510:52;6590:9;6584:16;6609:28;6631:5;6609:28;:::i;7428:127::-;7489:10;7484:3;7480:20;7477:1;7470:31;7520:4;7517:1;7510:15;7544:4;7541:1;7534:15;7560:125;7625:9;;;7646:10;;;7643:36;;;7659:18;;:::i;8439:168::-;8512:9;;;8543;;8560:15;;;8554:22;;8540:37;8530:71;;8581:18;;:::i;8612:399::-;8814:2;8796:21;;;8853:2;8833:18;;;8826:30;8892:34;8887:2;8872:18;;8865:62;-1:-1:-1;;;8958:2:1;8943:18;;8936:33;9001:3;8986:19;;8612:399::o;9016:128::-;9083:9;;;9104:11;;;9101:37;;;9118:18;;:::i;9275:545::-;9377:2;9372:3;9369:11;9366:448;;;9413:1;9438:5;9434:2;9427:17;9483:4;9479:2;9469:19;9553:2;9541:10;9537:19;9534:1;9530:27;9524:4;9520:38;9589:4;9577:10;9574:20;9571:47;;;-1:-1:-1;9612:4:1;9571:47;9667:2;9662:3;9658:12;9655:1;9651:20;9645:4;9641:31;9631:41;;9722:82;9740:2;9733:5;9730:13;9722:82;;;9785:17;;;9766:1;9755:13;9722:82;;9996:1352;10122:3;10116:10;10149:18;10141:6;10138:30;10135:56;;;10171:18;;:::i;:::-;10200:97;10290:6;10250:38;10282:4;10276:11;10250:38;:::i;:::-;10244:4;10200:97;:::i;:::-;10352:4;;10416:2;10405:14;;10433:1;10428:663;;;;11135:1;11152:6;11149:89;;;-1:-1:-1;11204:19:1;;;11198:26;11149:89;-1:-1:-1;;9953:1:1;9949:11;;;9945:24;9941:29;9931:40;9977:1;9973:11;;;9928:57;11251:81;;10398:944;;10428:663;9222:1;9215:14;;;9259:4;9246:18;;-1:-1:-1;;10464:20:1;;;10582:236;10596:7;10593:1;10590:14;10582:236;;;10685:19;;;10679:26;10664:42;;10777:27;;;;10745:1;10733:14;;;;10612:19;;10582:236;;;10586:3;10846:6;10837:7;10834:19;10831:201;;;10907:19;;;10901:26;-1:-1:-1;;10990:1:1;10986:14;;;11002:3;10982:24;10978:37;10974:42;10959:58;10944:74;;10831:201;-1:-1:-1;;;;;11078:1:1;11062:14;;;11058:22;11045:36;;-1:-1:-1;9996:1352:1:o;11353:496::-;11532:3;11570:6;11564:13;11586:66;11645:6;11640:3;11633:4;11625:6;11621:17;11586:66;:::i;:::-;11715:13;;11674:16;;;;11737:70;11715:13;11674:16;11784:4;11772:17;;11737:70;:::i;:::-;11823:20;;11353:496;-1:-1:-1;;;;11353:496:1:o;12982:489::-;-1:-1:-1;;;;;13251:15:1;;;13233:34;;13303:15;;13298:2;13283:18;;13276:43;13350:2;13335:18;;13328:34;;;13398:3;13393:2;13378:18;;13371:31;;;13176:4;;13419:46;;13445:19;;13437:6;13419:46;:::i;:::-;13411:54;12982:489;-1:-1:-1;;;;;;12982:489:1:o;13476:249::-;13545:6;13598:2;13586:9;13577:7;13573:23;13569:32;13566:52;;;13614:1;13611;13604:12;13566:52;13646:9;13640:16;13665:30;13689:5;13665:30;:::i
Swarm Source
ipfs://6f909ad3ef2f01d161daaca25d9aeac27f4c3e7a8a6312953f1d3ff7c56d8e3c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.