ERC-721
Overview
Max Total Supply
9,999 DMD
Holders
1,001
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
9 DMDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
MetaDAO
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-18 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // 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: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: contracts/lib/ERC721AOwnable.sol pragma solidity ^0.8.13; contract ERC721AOwnable is Ownable, ERC721A, ERC721AQueryable { uint256 public maxSupply; uint256 public maxClaimable; string public baseURI; constructor( string memory name_, string memory symbol_, uint256 _maxSupply ) ERC721A(name_, symbol_) { maxSupply = _maxSupply; maxClaimable = 10; } function setMaxClaimable(uint256 _maxClaimable) external onlyOwner { maxClaimable = _maxClaimable; } function setBaseURI(string calldata _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } function _startTokenId() internal pure override(ERC721A) returns (uint256) { return 1; } function _baseURI() internal view override(ERC721A) returns (string memory) { return baseURI; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI_ = _baseURI(); return bytes(baseURI_).length != 0 ? string( abi.encodePacked(baseURI_, _toString(tokenId), ".json") ) : ""; } } // File: contracts/MetaDAO.sol pragma solidity ^0.8.13; contract MetaDAO is ERC721AOwnable { mapping(address => bool) public whitelist; error ZeroAddress(); error NotInWhitelist(); error MaxSupplyReached(); error MaxClaimableReached(); event WhitelistGranted(address[] users, bool granted); constructor() ERC721AOwnable("DMetaDao", "DMD", 9999) {} function claim(uint64 _quantity) external { address user = msg.sender; if (!whitelist[user]) { revert NotInWhitelist(); } uint256 numberMinted = _numberMinted(user); if (numberMinted >= maxClaimable) { revert MaxClaimableReached(); } uint256 claimable = maxClaimable - numberMinted; if (_quantity < claimable) { claimable = _quantity; } if (_totalMinted() + claimable > maxSupply) { revert MaxSupplyReached(); } _safeMint(user, claimable, ""); } function grantWhitelist(address[] calldata _users, bool _granted) external onlyOwner { for (uint64 idx = 0; idx < _users.length; idx++) { if (_users[idx] == address(0)) { revert ZeroAddress(); } whitelist[_users[idx]] = _granted; } emit WhitelistGranted(_users, _granted); } // Just in case function withdraw() external onlyOwner { (payable(owner())).transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MaxClaimableReached","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotInWhitelist","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"},{"inputs":[],"name":"ZeroAddress","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"users","type":"address[]"},{"indexed":false,"internalType":"bool","name":"granted","type":"bool"}],"name":"WhitelistGranted","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_quantity","type":"uint64"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"bool","name":"_granted","type":"bool"}],"name":"grantWhitelist","outputs":[],"stateMutability":"nonpayable","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":"maxClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxClaimable","type":"uint256"}],"name":"setMaxClaimable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405180604001604052806008815260200167444d65746144616f60c01b8152506040518060400160405280600381526020016211135160ea1b81525061270f82826200006e62000068620000a160201b60201c565b620000a5565b60036200007c83826200019a565b5060046200008b82826200019a565b506001805550506009555050600a805562000266565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012057607f821691505b6020821081036200014157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019557600081815260208120601f850160051c81016020861015620001705750805b601f850160051c820191505b8181101562000191578281556001016200017c565b5050505b505050565b81516001600160401b03811115620001b657620001b6620000f5565b620001ce81620001c784546200010b565b8462000147565b602080601f831160018114620002065760008415620001ed5750858301515b600019600386901b1c1916600185901b17855562000191565b600085815260208120601f198616915b82811015620002375788860151825594840194600190910190840162000216565b5085821015620002565787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611f1480620002766000396000f3fe6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063c1472ad811610095578063d5abeb0111610064578063d5abeb011461051f578063e985e9c514610535578063f03f80c31461057e578063f2fde38b1461059457600080fd5b8063c1472ad814610492578063c23dc68f146104b2578063c3fdbd13146104df578063c87b56dd146104ff57600080fd5b80639b19251a116100d15780639b19251a1461040f578063a22cb4651461043f578063aab8ab0c1461045f578063b88d4fde1461047f57600080fd5b80638da5cb5b146103bc57806395d89b41146103da57806399a2557a146103ef57600080fd5b806342842e0e1161016f5780636c0360eb1161013e5780636c0360eb1461034557806370a082311461035a578063715018a61461037a5780638462151c1461038f57600080fd5b806342842e0e146102c557806355f804b3146102d85780635bbb2177146102f85780636352211e1461032557600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461027657806323b872dd1461029d5780633ccfd60b146102b057600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611722565b6105b4565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610606565b6040516101fe9190611797565b34801561023557600080fd5b506102496102443660046117aa565b610698565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046117df565b6106dc565b005b34801561028257600080fd5b5060025460015403600019015b6040519081526020016101fe565b6102746102ab366004611809565b61077c565b3480156102bc57600080fd5b50610274610915565b6102746102d3366004611809565b61095a565b3480156102e457600080fd5b506102746102f3366004611845565b61097a565b34801561030457600080fd5b50610318610313366004611901565b61098f565b6040516101fe919061197e565b34801561033157600080fd5b506102496103403660046117aa565b610a5a565b34801561035157600080fd5b5061021c610a65565b34801561036657600080fd5b5061028f6103753660046119c0565b610af3565b34801561038657600080fd5b50610274610b41565b34801561039b57600080fd5b506103af6103aa3660046119c0565b610b55565b6040516101fe91906119db565b3480156103c857600080fd5b506000546001600160a01b0316610249565b3480156103e657600080fd5b5061021c610c5d565b3480156103fb57600080fd5b506103af61040a366004611a13565b610c6c565b34801561041b57600080fd5b506101f261042a3660046119c0565b600c6020526000908152604090205460ff1681565b34801561044b57600080fd5b5061027461045a366004611a56565b610df3565b34801561046b57600080fd5b5061027461047a366004611a89565b610e5f565b61027461048d366004611ac8565b610f61565b34801561049e57600080fd5b506102746104ad366004611ba3565b610fa5565b3480156104be57600080fd5b506104d26104cd3660046117aa565b6110ca565b6040516101fe9190611bf6565b3480156104eb57600080fd5b506102746104fa3660046117aa565b611152565b34801561050b57600080fd5b5061021c61051a3660046117aa565b61115f565b34801561052b57600080fd5b5061028f60095481565b34801561054157600080fd5b506101f2610550366004611c04565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561058a57600080fd5b5061028f600a5481565b3480156105a057600080fd5b506102746105af3660046119c0565b6111e2565b60006301ffc9a760e01b6001600160e01b0319831614806105e557506380ac58cd60e01b6001600160e01b03198316145b806106005750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461061590611c2e565b80601f016020809104026020016040519081016040528092919081815260200182805461064190611c2e565b801561068e5780601f106106635761010080835404028352916020019161068e565b820191906000526020600020905b81548152906001019060200180831161067157829003601f168201915b5050505050905090565b60006106a38261125d565b6106c0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006106e782610a5a565b9050336001600160a01b03821614610720576107038133610550565b610720576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061078782611292565b9050836001600160a01b0316816001600160a01b0316146107ba5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610807576107ea8633610550565b61080757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082e57604051633a954ecd60e21b815260040160405180910390fd5b801561083957600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036108cb576001840160008181526005602052604081205490036108c95760015481146108c95760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61091d611301565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610957573d6000803e3d6000fd5b50565b61097583838360405180602001604052806000815250610f61565b505050565b610982611301565b600b610975828483611cae565b6060816000816001600160401b038111156109ac576109ac611ab2565b6040519080825280602002602001820160405280156109fe57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816109ca5790505b50905060005b828114610a5157610a2c868683818110610a2057610a20611d6d565b905060200201356110ca565b828281518110610a3e57610a3e611d6d565b6020908102919091010152600101610a04565b50949350505050565b600061060082611292565b600b8054610a7290611c2e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9e90611c2e565b8015610aeb5780601f10610ac057610100808354040283529160200191610aeb565b820191906000526020600020905b815481529060010190602001808311610ace57829003601f168201915b505050505081565b60006001600160a01b038216610b1c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b610b49611301565b610b53600061135b565b565b60606000806000610b6585610af3565b90506000816001600160401b03811115610b8157610b81611ab2565b604051908082528060200260200182016040528015610baa578160200160208202803683370190505b509050610bd760408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610c5157610bea816113ab565b91508160400151610c495781516001600160a01b031615610c0a57815194505b876001600160a01b0316856001600160a01b031603610c495780838780600101985081518110610c3c57610c3c611d6d565b6020026020010181815250505b600101610bda565b50909695505050505050565b60606004805461061590611c2e565b6060818310610c8e57604051631960ccad60e11b815260040160405180910390fd5b600080610c9a60015490565b90506001851015610caa57600194505b80841115610cb6578093505b6000610cc187610af3565b905084861015610ce05785850381811015610cda578091505b50610ce4565b5060005b6000816001600160401b03811115610cfe57610cfe611ab2565b604051908082528060200260200182016040528015610d27578160200160208202803683370190505b50905081600003610d3d579350610dec92505050565b6000610d48886110ca565b905060008160400151610d59575080515b885b888114158015610d6b5750848714155b15610de057610d79816113ab565b92508260400151610dd85782516001600160a01b031615610d9957825191505b8a6001600160a01b0316826001600160a01b031603610dd85780848880600101995081518110610dcb57610dcb611d6d565b6020026020010181815250505b600101610d5b565b50505092835250909150505b9392505050565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000818152600c602052604090205460ff16610e8f57604051632d85515d60e11b815260040160405180910390fd5b6001600160a01b038116600090815260066020526040808220546001600160401b03911c169050600a548110610ed857604051631cc84e8360e01b815260040160405180910390fd5b600081600a54610ee89190611d99565b905080846001600160401b03161015610f0757506001600160401b0383165b60095481610f186001546000190190565b610f229190611db0565b1115610f415760405163d05cb60960e01b815260040160405180910390fd5b610f5b8382604051806020016040528060008152506113e7565b50505050565b610f6c84848461077c565b6001600160a01b0383163b15610f5b57610f8884848484611454565b610f5b576040516368d2bf6b60e11b815260040160405180910390fd5b610fad611301565b60005b6001600160401b03811683111561108957600084846001600160401b038416818110610fde57610fde611d6d565b9050602002016020810190610ff391906119c0565b6001600160a01b03160361101a5760405163d92e233d60e01b815260040160405180910390fd5b81600c60008686856001600160401b031681811061103a5761103a611d6d565b905060200201602081019061104f91906119c0565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061108181611dc8565b915050610fb0565b507fe522da8d6d38cadaf1c9655e1a134ba46763afefd3cc3a7433c8f3083fa243488383836040516110bd93929190611dee565b60405180910390a1505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061112357506001548310155b1561112e5792915050565b611137836113ab565b90508060400151156111495792915050565b610dec8361153f565b61115a611301565b600a55565b606061116a8261125d565b61118757604051630a14c4b560e41b815260040160405180910390fd5b6000611191611574565b905080516000036111b15760405180602001604052806000815250610dec565b806111bb84611583565b6040516020016111cc929190611e45565b6040516020818303038152906040529392505050565b6111ea611301565b6001600160a01b0381166112545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b6109578161135b565b600081600111158015611271575060015482105b8015610600575050600090815260056020526040902054600160e01b161590565b600081806001116112e8576001548110156112e85760008181526005602052604081205490600160e01b821690036112e6575b80600003610dec5750600019016000818152600560205260409020546112c5565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b03163314610b535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161124b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260056020526040902054610600906115c7565b6113f1838361160e565b6001600160a01b0383163b15610975576001548281035b61141b6000868380600101945086611454565b611438576040516368d2bf6b60e11b815260040160405180910390fd5b81811061140857816001541461144d57600080fd5b5050505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611489903390899088908890600401611e84565b6020604051808303816000875af19250505080156114c4575060408051601f3d908101601f191682019092526114c191810190611ec1565b60015b611522573d8080156114f2576040519150601f19603f3d011682016040523d82523d6000602084013e6114f7565b606091505b50805160000361151a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261060061156f83611292565b6115c7565b6060600b805461061590611c2e565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061159d5750819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60015460008290036116335760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116e257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116aa565b508160000361170357604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b03198116811461095757600080fd5b60006020828403121561173457600080fd5b8135610dec8161170c565b60005b8381101561175a578181015183820152602001611742565b83811115610f5b5750506000910152565b6000815180845261178381602086016020860161173f565b601f01601f19169290920160200192915050565b602081526000610dec602083018461176b565b6000602082840312156117bc57600080fd5b5035919050565b80356001600160a01b03811681146117da57600080fd5b919050565b600080604083850312156117f257600080fd5b6117fb836117c3565b946020939093013593505050565b60008060006060848603121561181e57600080fd5b611827846117c3565b9250611835602085016117c3565b9150604084013590509250925092565b6000806020838503121561185857600080fd5b82356001600160401b038082111561186f57600080fd5b818501915085601f83011261188357600080fd5b81358181111561189257600080fd5b8660208285010111156118a457600080fd5b60209290920196919550909350505050565b60008083601f8401126118c857600080fd5b5081356001600160401b038111156118df57600080fd5b6020830191508360208260051b85010111156118fa57600080fd5b9250929050565b6000806020838503121561191457600080fd5b82356001600160401b0381111561192a57600080fd5b611936858286016118b6565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c51576119ad838551611942565b928401926080929092019160010161199a565b6000602082840312156119d257600080fd5b610dec826117c3565b6020808252825182820181905260009190848201906040850190845b81811015610c51578351835292840192918401916001016119f7565b600080600060608486031215611a2857600080fd5b611a31846117c3565b95602085013595506040909401359392505050565b803580151581146117da57600080fd5b60008060408385031215611a6957600080fd5b611a72836117c3565b9150611a8060208401611a46565b90509250929050565b600060208284031215611a9b57600080fd5b81356001600160401b0381168114610dec57600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611ade57600080fd5b611ae7856117c3565b9350611af5602086016117c3565b92506040850135915060608501356001600160401b0380821115611b1857600080fd5b818701915087601f830112611b2c57600080fd5b813581811115611b3e57611b3e611ab2565b604051601f8201601f19908116603f01168101908382118183101715611b6657611b66611ab2565b816040528281528a6020848701011115611b7f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080600060408486031215611bb857600080fd5b83356001600160401b03811115611bce57600080fd5b611bda868287016118b6565b9094509250611bed905060208501611a46565b90509250925092565b608081016106008284611942565b60008060408385031215611c1757600080fd5b611c20836117c3565b9150611a80602084016117c3565b600181811c90821680611c4257607f821691505b602082108103611c6257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561097557600081815260208120601f850160051c81016020861015611c8f5750805b601f850160051c820191505b8181101561090d57828155600101611c9b565b6001600160401b03831115611cc557611cc5611ab2565b611cd983611cd38354611c2e565b83611c68565b6000601f841160018114611d0d5760008515611cf55750838201355b600019600387901b1c1916600186901b17835561144d565b600083815260209020601f19861690835b82811015611d3e5786850135825560209485019460019092019101611d1e565b5086821015611d5b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015611dab57611dab611d83565b500390565b60008219821115611dc357611dc3611d83565b500190565b60006001600160401b03808316818103611de457611de4611d83565b6001019392505050565b6040808252810183905260008460608301825b86811015611e2f576001600160a01b03611e1a846117c3565b16825260209283019290910190600101611e01565b5080925050508215156020830152949350505050565b60008351611e5781846020880161173f565b835190830190611e6b81836020880161173f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611eb79083018461176b565b9695505050505050565b600060208284031215611ed357600080fd5b8151610dec8161170c56fea2646970667358221220f1a7512ec7ee1120c42227b37f19ecb7e1fb40b766061d87bc9636072081306264736f6c634300080f0033
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063c1472ad811610095578063d5abeb0111610064578063d5abeb011461051f578063e985e9c514610535578063f03f80c31461057e578063f2fde38b1461059457600080fd5b8063c1472ad814610492578063c23dc68f146104b2578063c3fdbd13146104df578063c87b56dd146104ff57600080fd5b80639b19251a116100d15780639b19251a1461040f578063a22cb4651461043f578063aab8ab0c1461045f578063b88d4fde1461047f57600080fd5b80638da5cb5b146103bc57806395d89b41146103da57806399a2557a146103ef57600080fd5b806342842e0e1161016f5780636c0360eb1161013e5780636c0360eb1461034557806370a082311461035a578063715018a61461037a5780638462151c1461038f57600080fd5b806342842e0e146102c557806355f804b3146102d85780635bbb2177146102f85780636352211e1461032557600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461027657806323b872dd1461029d5780633ccfd60b146102b057600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611722565b6105b4565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610606565b6040516101fe9190611797565b34801561023557600080fd5b506102496102443660046117aa565b610698565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046117df565b6106dc565b005b34801561028257600080fd5b5060025460015403600019015b6040519081526020016101fe565b6102746102ab366004611809565b61077c565b3480156102bc57600080fd5b50610274610915565b6102746102d3366004611809565b61095a565b3480156102e457600080fd5b506102746102f3366004611845565b61097a565b34801561030457600080fd5b50610318610313366004611901565b61098f565b6040516101fe919061197e565b34801561033157600080fd5b506102496103403660046117aa565b610a5a565b34801561035157600080fd5b5061021c610a65565b34801561036657600080fd5b5061028f6103753660046119c0565b610af3565b34801561038657600080fd5b50610274610b41565b34801561039b57600080fd5b506103af6103aa3660046119c0565b610b55565b6040516101fe91906119db565b3480156103c857600080fd5b506000546001600160a01b0316610249565b3480156103e657600080fd5b5061021c610c5d565b3480156103fb57600080fd5b506103af61040a366004611a13565b610c6c565b34801561041b57600080fd5b506101f261042a3660046119c0565b600c6020526000908152604090205460ff1681565b34801561044b57600080fd5b5061027461045a366004611a56565b610df3565b34801561046b57600080fd5b5061027461047a366004611a89565b610e5f565b61027461048d366004611ac8565b610f61565b34801561049e57600080fd5b506102746104ad366004611ba3565b610fa5565b3480156104be57600080fd5b506104d26104cd3660046117aa565b6110ca565b6040516101fe9190611bf6565b3480156104eb57600080fd5b506102746104fa3660046117aa565b611152565b34801561050b57600080fd5b5061021c61051a3660046117aa565b61115f565b34801561052b57600080fd5b5061028f60095481565b34801561054157600080fd5b506101f2610550366004611c04565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561058a57600080fd5b5061028f600a5481565b3480156105a057600080fd5b506102746105af3660046119c0565b6111e2565b60006301ffc9a760e01b6001600160e01b0319831614806105e557506380ac58cd60e01b6001600160e01b03198316145b806106005750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461061590611c2e565b80601f016020809104026020016040519081016040528092919081815260200182805461064190611c2e565b801561068e5780601f106106635761010080835404028352916020019161068e565b820191906000526020600020905b81548152906001019060200180831161067157829003601f168201915b5050505050905090565b60006106a38261125d565b6106c0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006106e782610a5a565b9050336001600160a01b03821614610720576107038133610550565b610720576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061078782611292565b9050836001600160a01b0316816001600160a01b0316146107ba5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610807576107ea8633610550565b61080757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082e57604051633a954ecd60e21b815260040160405180910390fd5b801561083957600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036108cb576001840160008181526005602052604081205490036108c95760015481146108c95760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61091d611301565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610957573d6000803e3d6000fd5b50565b61097583838360405180602001604052806000815250610f61565b505050565b610982611301565b600b610975828483611cae565b6060816000816001600160401b038111156109ac576109ac611ab2565b6040519080825280602002602001820160405280156109fe57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816109ca5790505b50905060005b828114610a5157610a2c868683818110610a2057610a20611d6d565b905060200201356110ca565b828281518110610a3e57610a3e611d6d565b6020908102919091010152600101610a04565b50949350505050565b600061060082611292565b600b8054610a7290611c2e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9e90611c2e565b8015610aeb5780601f10610ac057610100808354040283529160200191610aeb565b820191906000526020600020905b815481529060010190602001808311610ace57829003601f168201915b505050505081565b60006001600160a01b038216610b1c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b610b49611301565b610b53600061135b565b565b60606000806000610b6585610af3565b90506000816001600160401b03811115610b8157610b81611ab2565b604051908082528060200260200182016040528015610baa578160200160208202803683370190505b509050610bd760408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610c5157610bea816113ab565b91508160400151610c495781516001600160a01b031615610c0a57815194505b876001600160a01b0316856001600160a01b031603610c495780838780600101985081518110610c3c57610c3c611d6d565b6020026020010181815250505b600101610bda565b50909695505050505050565b60606004805461061590611c2e565b6060818310610c8e57604051631960ccad60e11b815260040160405180910390fd5b600080610c9a60015490565b90506001851015610caa57600194505b80841115610cb6578093505b6000610cc187610af3565b905084861015610ce05785850381811015610cda578091505b50610ce4565b5060005b6000816001600160401b03811115610cfe57610cfe611ab2565b604051908082528060200260200182016040528015610d27578160200160208202803683370190505b50905081600003610d3d579350610dec92505050565b6000610d48886110ca565b905060008160400151610d59575080515b885b888114158015610d6b5750848714155b15610de057610d79816113ab565b92508260400151610dd85782516001600160a01b031615610d9957825191505b8a6001600160a01b0316826001600160a01b031603610dd85780848880600101995081518110610dcb57610dcb611d6d565b6020026020010181815250505b600101610d5b565b50505092835250909150505b9392505050565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000818152600c602052604090205460ff16610e8f57604051632d85515d60e11b815260040160405180910390fd5b6001600160a01b038116600090815260066020526040808220546001600160401b03911c169050600a548110610ed857604051631cc84e8360e01b815260040160405180910390fd5b600081600a54610ee89190611d99565b905080846001600160401b03161015610f0757506001600160401b0383165b60095481610f186001546000190190565b610f229190611db0565b1115610f415760405163d05cb60960e01b815260040160405180910390fd5b610f5b8382604051806020016040528060008152506113e7565b50505050565b610f6c84848461077c565b6001600160a01b0383163b15610f5b57610f8884848484611454565b610f5b576040516368d2bf6b60e11b815260040160405180910390fd5b610fad611301565b60005b6001600160401b03811683111561108957600084846001600160401b038416818110610fde57610fde611d6d565b9050602002016020810190610ff391906119c0565b6001600160a01b03160361101a5760405163d92e233d60e01b815260040160405180910390fd5b81600c60008686856001600160401b031681811061103a5761103a611d6d565b905060200201602081019061104f91906119c0565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061108181611dc8565b915050610fb0565b507fe522da8d6d38cadaf1c9655e1a134ba46763afefd3cc3a7433c8f3083fa243488383836040516110bd93929190611dee565b60405180910390a1505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061112357506001548310155b1561112e5792915050565b611137836113ab565b90508060400151156111495792915050565b610dec8361153f565b61115a611301565b600a55565b606061116a8261125d565b61118757604051630a14c4b560e41b815260040160405180910390fd5b6000611191611574565b905080516000036111b15760405180602001604052806000815250610dec565b806111bb84611583565b6040516020016111cc929190611e45565b6040516020818303038152906040529392505050565b6111ea611301565b6001600160a01b0381166112545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b6109578161135b565b600081600111158015611271575060015482105b8015610600575050600090815260056020526040902054600160e01b161590565b600081806001116112e8576001548110156112e85760008181526005602052604081205490600160e01b821690036112e6575b80600003610dec5750600019016000818152600560205260409020546112c5565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b03163314610b535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161124b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260056020526040902054610600906115c7565b6113f1838361160e565b6001600160a01b0383163b15610975576001548281035b61141b6000868380600101945086611454565b611438576040516368d2bf6b60e11b815260040160405180910390fd5b81811061140857816001541461144d57600080fd5b5050505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611489903390899088908890600401611e84565b6020604051808303816000875af19250505080156114c4575060408051601f3d908101601f191682019092526114c191810190611ec1565b60015b611522573d8080156114f2576040519150601f19603f3d011682016040523d82523d6000602084013e6114f7565b606091505b50805160000361151a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261060061156f83611292565b6115c7565b6060600b805461061590611c2e565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061159d5750819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60015460008290036116335760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116e257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116aa565b508160000361170357604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b03198116811461095757600080fd5b60006020828403121561173457600080fd5b8135610dec8161170c565b60005b8381101561175a578181015183820152602001611742565b83811115610f5b5750506000910152565b6000815180845261178381602086016020860161173f565b601f01601f19169290920160200192915050565b602081526000610dec602083018461176b565b6000602082840312156117bc57600080fd5b5035919050565b80356001600160a01b03811681146117da57600080fd5b919050565b600080604083850312156117f257600080fd5b6117fb836117c3565b946020939093013593505050565b60008060006060848603121561181e57600080fd5b611827846117c3565b9250611835602085016117c3565b9150604084013590509250925092565b6000806020838503121561185857600080fd5b82356001600160401b038082111561186f57600080fd5b818501915085601f83011261188357600080fd5b81358181111561189257600080fd5b8660208285010111156118a457600080fd5b60209290920196919550909350505050565b60008083601f8401126118c857600080fd5b5081356001600160401b038111156118df57600080fd5b6020830191508360208260051b85010111156118fa57600080fd5b9250929050565b6000806020838503121561191457600080fd5b82356001600160401b0381111561192a57600080fd5b611936858286016118b6565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c51576119ad838551611942565b928401926080929092019160010161199a565b6000602082840312156119d257600080fd5b610dec826117c3565b6020808252825182820181905260009190848201906040850190845b81811015610c51578351835292840192918401916001016119f7565b600080600060608486031215611a2857600080fd5b611a31846117c3565b95602085013595506040909401359392505050565b803580151581146117da57600080fd5b60008060408385031215611a6957600080fd5b611a72836117c3565b9150611a8060208401611a46565b90509250929050565b600060208284031215611a9b57600080fd5b81356001600160401b0381168114610dec57600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611ade57600080fd5b611ae7856117c3565b9350611af5602086016117c3565b92506040850135915060608501356001600160401b0380821115611b1857600080fd5b818701915087601f830112611b2c57600080fd5b813581811115611b3e57611b3e611ab2565b604051601f8201601f19908116603f01168101908382118183101715611b6657611b66611ab2565b816040528281528a6020848701011115611b7f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080600060408486031215611bb857600080fd5b83356001600160401b03811115611bce57600080fd5b611bda868287016118b6565b9094509250611bed905060208501611a46565b90509250925092565b608081016106008284611942565b60008060408385031215611c1757600080fd5b611c20836117c3565b9150611a80602084016117c3565b600181811c90821680611c4257607f821691505b602082108103611c6257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561097557600081815260208120601f850160051c81016020861015611c8f5750805b601f850160051c820191505b8181101561090d57828155600101611c9b565b6001600160401b03831115611cc557611cc5611ab2565b611cd983611cd38354611c2e565b83611c68565b6000601f841160018114611d0d5760008515611cf55750838201355b600019600387901b1c1916600186901b17835561144d565b600083815260209020601f19861690835b82811015611d3e5786850135825560209485019460019092019101611d1e565b5086821015611d5b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015611dab57611dab611d83565b500390565b60008219821115611dc357611dc3611d83565b500190565b60006001600160401b03808316818103611de457611de4611d83565b6001019392505050565b6040808252810183905260008460608301825b86811015611e2f576001600160a01b03611e1a846117c3565b16825260209283019290910190600101611e01565b5080925050508215156020830152949350505050565b60008351611e5781846020880161173f565b835190830190611e6b81836020880161173f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611eb79083018461176b565b9695505050505050565b600060208284031215611ed357600080fd5b8151610dec8161170c56fea2646970667358221220f1a7512ec7ee1120c42227b37f19ecb7e1fb40b766061d87bc9636072081306264736f6c634300080f0033
Deployed Bytecode Sourcemap
65655:1497:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24554:639;;;;;;;;;;-1:-1:-1;24554:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24554:639:0;;;;;;;;25456:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31947:218::-;;;;;;;;;;-1:-1:-1;31947:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;31947:218:0;1528:203:1;31380:408:0;;;;;;:::i;:::-;;:::i;:::-;;21207:323;;;;;;;;;;-1:-1:-1;21481:12:0;;64823:1;21465:13;:28;-1:-1:-1;;21465:46:0;21207:323;;;2319:25:1;;;2307:2;2292:18;21207:323:0;2173:177:1;35586:2825:0;;;;;;:::i;:::-;;:::i;67041:108::-;;;;;;;;;;;;;:::i;38507:193::-;;;;;;:::i;:::-;;:::i;64614:108::-;;;;;;;;;;-1:-1:-1;64614:108:0;;;;;:::i;:::-;;:::i;59253:528::-;;;;;;;;;;-1:-1:-1;59253:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;26849:152::-;;;;;;;;;;-1:-1:-1;26849:152:0;;;;;:::i;:::-;;:::i;64251:21::-;;;;;;;;;;;;;:::i;22391:233::-;;;;;;;;;;-1:-1:-1;22391:233:0;;;;;:::i;:::-;;:::i;2809:103::-;;;;;;;;;;;;;:::i;63129:900::-;;;;;;;;;;-1:-1:-1;63129:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2161:87::-;;;;;;;;;;-1:-1:-1;2207:7:0;2234:6;-1:-1:-1;;;;;2234:6:0;2161:87;;25632:104;;;;;;;;;;;;;:::i;60169:2513::-;;;;;;;;;;-1:-1:-1;60169:2513:0;;;;;:::i;:::-;;:::i;65697:41::-;;;;;;;;;;-1:-1:-1;65697:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;32505:234;;;;;;;;;;-1:-1:-1;32505:234:0;;;;;:::i;:::-;;:::i;65995:622::-;;;;;;;;;;-1:-1:-1;65995:622:0;;;;;:::i;:::-;;:::i;39298:407::-;;;;;;:::i;:::-;;:::i;66625:387::-;;;;;;;;;;-1:-1:-1;66625:387:0;;;;;:::i;:::-;;:::i;58666:428::-;;;;;;;;;;-1:-1:-1;58666:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;64492:114::-;;;;;;;;;;-1:-1:-1;64492:114:0;;;;;:::i;:::-;;:::i;65096:486::-;;;;;;;;;;-1:-1:-1;65096:486:0;;;;;:::i;:::-;;:::i;64186:24::-;;;;;;;;;;;;;;;;32896:164;;;;;;;;;;-1:-1:-1;32896:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33017:25:0;;;32993:4;33017:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32896:164;64217:27;;;;;;;;;;;;;;;;3067:201;;;;;;;;;;-1:-1:-1;3067:201:0;;;;;:::i;:::-;;:::i;24554:639::-;24639:4;-1:-1:-1;;;;;;;;;24963:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25040:25:0;;;24963:102;:179;;;-1:-1:-1;;;;;;;;;;25117:25:0;;;24963:179;24943:199;24554:639;-1:-1:-1;;24554:639:0:o;25456:100::-;25510:13;25543:5;25536:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25456:100;:::o;31947:218::-;32023:7;32048:16;32056:7;32048;:16::i;:::-;32043:64;;32073:34;;-1:-1:-1;;;32073:34:0;;;;;;;;;;;32043:64;-1:-1:-1;32127:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32127:30:0;;31947:218::o;31380:408::-;31469:13;31485:16;31493:7;31485;:16::i;:::-;31469:32;-1:-1:-1;55713:10:0;-1:-1:-1;;;;;31518:28:0;;;31514:175;;31566:44;31583:5;55713:10;32896:164;:::i;31566:44::-;31561:128;;31638:35;;-1:-1:-1;;;31638:35:0;;;;;;;;;;;31561:128;31701:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31701:35:0;-1:-1:-1;;;;;31701:35:0;;;;;;;;;31752:28;;31701:24;;31752:28;;;;;;;31458:330;31380:408;;:::o;35586:2825::-;35728:27;35758;35777:7;35758:18;:27::i;:::-;35728:57;;35843:4;-1:-1:-1;;;;;35802:45:0;35818:19;-1:-1:-1;;;;;35802:45:0;;35798:86;;35856:28;;-1:-1:-1;;;35856:28:0;;;;;;;;;;;35798:86;35898:27;34694:24;;;:15;:24;;;;;34922:26;;55713:10;34319:30;;;-1:-1:-1;;;;;34012:28:0;;34297:20;;;34294:56;36084:180;;36177:43;36194:4;55713:10;32896:164;:::i;36177:43::-;36172:92;;36229:35;;-1:-1:-1;;;36229:35:0;;;;;;;;;;;36172:92;-1:-1:-1;;;;;36281:16:0;;36277:52;;36306:23;;-1:-1:-1;;;36306:23:0;;;;;;;;;;;36277:52;36478:15;36475:160;;;36618:1;36597:19;36590:30;36475:160;-1:-1:-1;;;;;37015:24:0;;;;;;;:18;:24;;;;;;37013:26;;-1:-1:-1;;37013:26:0;;;37084:22;;;;;;;;;37082:24;;-1:-1:-1;37082:24:0;;;30238:11;30213:23;30209:41;30196:63;-1:-1:-1;;;30196:63:0;37377:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;37672:47:0;;:52;;37668:627;;37777:1;37767:11;;37745:19;37900:30;;;:17;:30;;;;;;:35;;37896:384;;38038:13;;38023:11;:28;38019:242;;38185:30;;;;:17;:30;;;;;:52;;;38019:242;37726:569;37668:627;38342:7;38338:2;-1:-1:-1;;;;;38323:27:0;38332:4;-1:-1:-1;;;;;38323:27:0;;;;;;;;;;;38361:42;35717:2694;;;35586:2825;;;:::o;67041:108::-;2047:13;:11;:13::i;:::-;2207:7;2234:6;;67091:50:::1;::::0;-1:-1:-1;;;;;2234:6:0;;;;67119:21:::1;67091:50:::0;::::1;;;::::0;67119:21;;67091:50;2207:7;67091:50;67119:21;2234:6;67091:50;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;67041:108::o:0;38507:193::-;38653:39;38670:4;38676:2;38680:7;38653:39;;;;;;;;;;;;:16;:39::i;:::-;38507:193;;;:::o;64614:108::-;2047:13;:11;:13::i;:::-;64693:7:::1;:21;64703:11:::0;;64693:7;:21:::1;:::i;59253:528::-:0;59397:23;59488:8;59463:22;59488:8;-1:-1:-1;;;;;59555:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59555:36:0;;-1:-1:-1;;59555:36:0;;;;;;;;;;;;59518:73;;59611:9;59606:125;59627:14;59622:1;:19;59606:125;;59683:32;59703:8;;59712:1;59703:11;;;;;;;:::i;:::-;;;;;;;59683:19;:32::i;:::-;59667:10;59678:1;59667:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;59643:3;;59606:125;;;-1:-1:-1;59752:10:0;59253:528;-1:-1:-1;;;;59253:528:0:o;26849:152::-;26921:7;26964:27;26983:7;26964:18;:27::i;64251:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22391:233::-;22463:7;-1:-1:-1;;;;;22487:19:0;;22483:60;;22515:28;;-1:-1:-1;;;22515:28:0;;;;;;;;;;;22483:60;-1:-1:-1;;;;;;22561:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;22561:55:0;;22391:233::o;2809:103::-;2047:13;:11;:13::i;:::-;2874:30:::1;2901:1;2874:18;:30::i;:::-;2809:103::o:0;63129:900::-;63207:16;63261:19;63295:25;63335:22;63360:16;63370:5;63360:9;:16::i;:::-;63335:41;;63391:25;63433:14;-1:-1:-1;;;;;63419:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63419:29:0;;63391:57;;63463:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63463:31:0;64823:1;63509:472;63558:14;63543:11;:29;63509:472;;63610:15;63623:1;63610:12;:15::i;:::-;63598:27;;63648:9;:16;;;63689:8;63644:73;63739:14;;-1:-1:-1;;;;;63739:28:0;;63735:111;;63812:14;;;-1:-1:-1;63735:111:0;63889:5;-1:-1:-1;;;;;63868:26:0;:17;-1:-1:-1;;;;;63868:26:0;;63864:102;;63945:1;63919:8;63928:13;;;;;;63919:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;63864:102;63574:3;;63509:472;;;-1:-1:-1;64002:8:0;;63129:900;-1:-1:-1;;;;;;63129:900:0:o;25632:104::-;25688:13;25721:7;25714:14;;;;;:::i;60169:2513::-;60312:16;60379:4;60370:5;:13;60366:45;;60392:19;;-1:-1:-1;;;60392:19:0;;;;;;;;;;;60366:45;60426:19;60460:17;60480:14;20976:13;;;20894:103;60480:14;60460:34;-1:-1:-1;64823:1:0;60572:5;:23;60568:87;;;64823:1;60616:23;;60568:87;60731:9;60724:4;:16;60720:73;;;60768:9;60761:16;;60720:73;60807:25;60835:16;60845:5;60835:9;:16::i;:::-;60807:44;;61029:4;61021:5;:12;61017:278;;;61076:12;;;61111:31;;;61107:111;;;61187:11;61167:31;;61107:111;61035:198;61017:278;;;-1:-1:-1;61278:1:0;61017:278;61309:25;61351:17;-1:-1:-1;;;;;61337:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61337:32:0;;61309:60;;61388:17;61409:1;61388:22;61384:78;;61438:8;-1:-1:-1;61431:15:0;;-1:-1:-1;;;61431:15:0;61384:78;61606:31;61640:26;61660:5;61640:19;:26::i;:::-;61606:60;;61681:25;61926:9;:16;;;61921:92;;-1:-1:-1;61983:14:0;;61921:92;62044:5;62027:478;62056:4;62051:1;:9;;:45;;;;;62079:17;62064:11;:32;;62051:45;62027:478;;;62134:15;62147:1;62134:12;:15::i;:::-;62122:27;;62172:9;:16;;;62213:8;62168:73;62263:14;;-1:-1:-1;;;;;62263:28:0;;62259:111;;62336:14;;;-1:-1:-1;62259:111:0;62413:5;-1:-1:-1;;;;;62392:26:0;:17;-1:-1:-1;;;;;62392:26:0;;62388:102;;62469:1;62443:8;62452:13;;;;;;62443:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;62388:102;62098:3;;62027:478;;;-1:-1:-1;;;62590:29:0;;;-1:-1:-1;62597:8:0;;-1:-1:-1;;60169:2513:0;;;;;;:::o;32505:234::-;55713:10;32600:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32600:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32600:60:0;;;;;;;;;;32676:55;;540:41:1;;;32600:49:0;;55713:10;32676:55;;513:18:1;32676:55:0;;;;;;;32505:234;;:::o;65995:622::-;66063:10;66048:12;66091:15;;;:9;:15;;;;;;;;66086:72;;66130:16;;-1:-1:-1;;;66130:16:0;;;;;;;;;;;66086:72;-1:-1:-1;;;;;22795:25:0;;66170:20;22795:25;;;:18;:25;;16688:2;22795:25;;;;-1:-1:-1;;;;;22795:50:0;;22794:82;66170:42;;66245:12;;66229;:28;66225:89;;66281:21;;-1:-1:-1;;;66281:21:0;;;;;;;;;;;66225:89;66326:17;66361:12;66346;;:27;;;;:::i;:::-;66326:47;;66400:9;66388;-1:-1:-1;;;;;66388:21:0;;66384:75;;;-1:-1:-1;;;;;;66426:21:0;;66384:75;66504:9;;66492;66475:14;64823:1;21874:13;-1:-1:-1;;21874:31:0;;21628:296;66475:14;:26;;;;:::i;:::-;:38;66471:96;;;66537:18;;-1:-1:-1;;;66537:18:0;;;;;;;;;;;66471:96;66579:30;66589:4;66595:9;66579:30;;;;;;;;;;;;:9;:30::i;:::-;66037:580;;;65995:622;:::o;39298:407::-;39473:31;39486:4;39492:2;39496:7;39473:12;:31::i;:::-;-1:-1:-1;;;;;39519:14:0;;;:19;39515:183;;39558:56;39589:4;39595:2;39599:7;39608:5;39558:30;:56::i;:::-;39553:145;;39642:40;;-1:-1:-1;;;39642:40:0;;;;;;;;;;;66625:387;2047:13;:11;:13::i;:::-;66749:10:::1;66744:209;-1:-1:-1::0;;;;;66765:19:0;::::1;::::0;-1:-1:-1;66744:209:0::1;;;66835:1;66812:6:::0;;-1:-1:-1;;;;;66812:11:0;::::1;::::0;;::::1;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;66812:25:0::1;::::0;66808:86:::1;;66865:13;;-1:-1:-1::0;;;66865:13:0::1;;;;;;;;;;;66808:86;66933:8;66908:9;:22;66918:6;;66925:3;-1:-1:-1::0;;;;;66918:11:0::1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;66908:22:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;66908:22:0;:33;;-1:-1:-1;;66908:33:0::1;::::0;::::1;;::::0;;;::::1;::::0;;66786:5;::::1;::::0;::::1;:::i;:::-;;;;66744:209;;;;66970:34;66987:6;;66995:8;66970:34;;;;;;;;:::i;:::-;;;;;;;;66625:387:::0;;;:::o;58666:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64823:1:0;58830:7;:25;:54;;;-1:-1:-1;20976:13:0;;58859:7;:25;;58830:54;58826:103;;;58908:9;58666:428;-1:-1:-1;;58666:428:0:o;58826:103::-;58951:21;58964:7;58951:12;:21::i;:::-;58939:33;;58987:9;:16;;;58983:65;;;59027:9;58666:428;-1:-1:-1;;58666:428:0:o;58983:65::-;59065:21;59078:7;59065:12;:21::i;64492:114::-;2047:13;:11;:13::i;:::-;64570:12:::1;:28:::0;64492:114::o;65096:486::-;65233:13;65269:16;65277:7;65269;:16::i;:::-;65264:59;;65294:29;;-1:-1:-1;;;65294:29:0;;;;;;;;;;;65264:59;65336:22;65361:10;:8;:10::i;:::-;65336:35;;65408:8;65402:22;65428:1;65402:27;:172;;;;;;;;;;;;;;;;;65495:8;65505:18;65515:7;65505:9;:18::i;:::-;65478:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65382:192;65096:486;-1:-1:-1;;;65096:486:0:o;3067:201::-;2047:13;:11;:13::i;:::-;-1:-1:-1;;;;;3156:22:0;::::1;3148:73;;;::::0;-1:-1:-1;;;3148:73:0;;14127:2:1;3148:73:0::1;::::0;::::1;14109:21:1::0;14166:2;14146:18;;;14139:30;14205:34;14185:18;;;14178:62;-1:-1:-1;;;14256:18:1;;;14249:36;14302:19;;3148:73:0::1;;;;;;;;;3232:28;3251:8;3232:18;:28::i;33318:282::-:0;33383:4;33439:7;64823:1;33420:26;;:66;;;;;33473:13;;33463:7;:23;33420:66;:153;;;;-1:-1:-1;;33524:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33524:44:0;:49;;33318:282::o;28004:1275::-;28071:7;28106;;64823:1;28155:23;28151:1061;;28208:13;;28201:4;:20;28197:1015;;;28246:14;28263:23;;;:17;:23;;;;;;;-1:-1:-1;;;28352:24:0;;:29;;28348:845;;29017:113;29024:6;29034:1;29024:11;29017:113;;-1:-1:-1;;;29095:6:0;29077:25;;;;:17;:25;;;;;;29017:113;;28348:845;28223:989;28197:1015;29240:31;;-1:-1:-1;;;29240:31:0;;;;;;;;;;;2326:132;2207:7;2234:6;-1:-1:-1;;;;;2234:6:0;55713:10;2390:23;2382:68;;;;-1:-1:-1;;;2382:68:0;;14534:2:1;2382:68:0;;;14516:21:1;;;14553:18;;;14546:30;14612:34;14592:18;;;14585:62;14664:18;;2382:68:0;14332:356:1;3428:191:0;3502:16;3521:6;;-1:-1:-1;;;;;3538:17:0;;;-1:-1:-1;;;;;;3538:17:0;;;;;;3571:40;;3521:6;;;;;;;3571:40;;3502:16;3571:40;3491:128;3428:191;:::o;27452:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27580:24:0;;;;:17;:24;;;;;;27561:44;;:18;:44::i;48685:689::-;48816:19;48822:2;48826:8;48816:5;:19::i;:::-;-1:-1:-1;;;;;48877:14:0;;;:19;48873:483;;48931:13;;48979:14;;;49012:233;49043:62;49082:1;49086:2;49090:7;;;;;;49099:5;49043:30;:62::i;:::-;49038:167;;49141:40;;-1:-1:-1;;;49141:40:0;;;;;;;;;;;49038:167;49240:3;49232:5;:11;49012:233;;49327:3;49310:13;;:20;49306:34;;49332:8;;;49306:34;48898:458;;48685:689;;;:::o;41789:716::-;41973:88;;-1:-1:-1;;;41973:88:0;;41952:4;;-1:-1:-1;;;;;41973:45:0;;;;;:88;;55713:10;;42040:4;;42046:7;;42055:5;;41973:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41973:88:0;;;;;;;;-1:-1:-1;;41973:88:0;;;;;;;;;;;;:::i;:::-;;;41969:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42256:6;:13;42273:1;42256:18;42252:235;;42302:40;;-1:-1:-1;;;42302:40:0;;;;;;;;;;;42252:235;42445:6;42439:13;42430:6;42426:2;42422:15;42415:38;41969:529;-1:-1:-1;;;;;;42132:64:0;-1:-1:-1;;;42132:64:0;;-1:-1:-1;41789:716:0;;;;;;:::o;27190:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27301:47:0;27320:27;27339:7;27320:18;:27::i;:::-;27301:18;:47::i;64840:150::-;64937:13;64975:7;64968:14;;;;;:::i;55833:1745::-;55898:17;56332:4;56325;56319:11;56315:22;56424:1;56418:4;56411:15;56499:4;56496:1;56492:12;56485:19;;;56581:1;56576:3;56569:14;56685:3;56924:5;56906:428;56972:1;56967:3;56963:11;56956:18;;57143:2;57137:4;57133:13;57129:2;57125:22;57120:3;57112:36;57237:2;57227:13;;57294:25;56906:428;57294:25;-1:-1:-1;57364:13:0;;;-1:-1:-1;;57479:14:0;;;57541:19;;;57479:14;55833:1745;-1:-1:-1;55833:1745:0:o;29378:366::-;-1:-1:-1;;;;;;;;;;;;;29488:41:0;;;;17209:3;29574:33;;;-1:-1:-1;;;;;29540:68:0;-1:-1:-1;;;29540:68:0;-1:-1:-1;;;29638:24:0;;:29;;-1:-1:-1;;;29619:48:0;;;;17730:3;29707:28;;;;-1:-1:-1;;;29678:58:0;-1:-1:-1;29378:366:0:o;42967:2966::-;43063:13;;43040:20;43091:13;;;43087:44;;43113:18;;-1:-1:-1;;;43113:18:0;;;;;;;;;;;43087:44;-1:-1:-1;;;;;43619:22:0;;;;;;:18;:22;;;;16688:2;43619:22;;;:71;;43657:32;43645:45;;43619:71;;;43933:31;;;:17;:31;;;;;-1:-1:-1;30669:15:0;;30643:24;30639:46;30238:11;30213:23;30209:41;30206:52;30196:63;;43933:173;;44168:23;;;;43933:31;;43619:22;;44933:25;43619:22;;44786:335;45447:1;45433:12;45429:20;45387:346;45488:3;45479:7;45476:16;45387:346;;45706:7;45696:8;45693:1;45666:25;45663:1;45660;45655:59;45541:1;45528:15;45387:346;;;45391:77;45766:8;45778:1;45766:13;45762:45;;45788:19;;-1:-1:-1;;;45788:19:0;;;;;;;;;;;45762:45;45824:13;:19;-1:-1:-1;38507:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:592::-;2759:6;2767;2820:2;2808:9;2799:7;2795:23;2791:32;2788:52;;;2836:1;2833;2826:12;2788:52;2876:9;2863:23;-1:-1:-1;;;;;2946:2:1;2938:6;2935:14;2932:34;;;2962:1;2959;2952:12;2932:34;3000:6;2989:9;2985:22;2975:32;;3045:7;3038:4;3034:2;3030:13;3026:27;3016:55;;3067:1;3064;3057:12;3016:55;3107:2;3094:16;3133:2;3125:6;3122:14;3119:34;;;3149:1;3146;3139:12;3119:34;3194:7;3189:2;3180:6;3176:2;3172:15;3168:24;3165:37;3162:57;;;3215:1;3212;3205:12;3162:57;3246:2;3238:11;;;;;3268:6;;-1:-1:-1;2688:592:1;;-1:-1:-1;;;;2688:592:1:o;3285:367::-;3348:8;3358:6;3412:3;3405:4;3397:6;3393:17;3389:27;3379:55;;3430:1;3427;3420:12;3379:55;-1:-1:-1;3453:20:1;;-1:-1:-1;;;;;3485:30:1;;3482:50;;;3528:1;3525;3518:12;3482:50;3565:4;3557:6;3553:17;3541:29;;3625:3;3618:4;3608:6;3605:1;3601:14;3593:6;3589:27;3585:38;3582:47;3579:67;;;3642:1;3639;3632:12;3579:67;3285:367;;;;;:::o;3657:437::-;3743:6;3751;3804:2;3792:9;3783:7;3779:23;3775:32;3772:52;;;3820:1;3817;3810:12;3772:52;3860:9;3847:23;-1:-1:-1;;;;;3885:6:1;3882:30;3879:50;;;3925:1;3922;3915:12;3879:50;3964:70;4026:7;4017:6;4006:9;4002:22;3964:70;:::i;:::-;4053:8;;3938:96;;-1:-1:-1;3657:437:1;-1:-1:-1;;;;3657:437:1:o;4099:349::-;4183:12;;-1:-1:-1;;;;;4179:38:1;4167:51;;4271:4;4260:16;;;4254:23;-1:-1:-1;;;;;4250:48:1;4234:14;;;4227:72;4362:4;4351:16;;;4345:23;4338:31;4331:39;4315:14;;;4308:63;4424:4;4413:16;;;4407:23;4432:8;4403:38;4387:14;;4380:62;4099:349::o;4453:722::-;4686:2;4738:21;;;4808:13;;4711:18;;;4830:22;;;4657:4;;4686:2;4909:15;;;;4883:2;4868:18;;;4657:4;4952:197;4966:6;4963:1;4960:13;4952:197;;;5015:52;5063:3;5054:6;5048:13;5015:52;:::i;:::-;5124:15;;;;5096:4;5087:14;;;;;4988:1;4981:9;4952:197;;5180:186;5239:6;5292:2;5280:9;5271:7;5267:23;5263:32;5260:52;;;5308:1;5305;5298:12;5260:52;5331:29;5350:9;5331:29;:::i;5371:632::-;5542:2;5594:21;;;5664:13;;5567:18;;;5686:22;;;5513:4;;5542:2;5765:15;;;;5739:2;5724:18;;;5513:4;5808:169;5822:6;5819:1;5816:13;5808:169;;;5883:13;;5871:26;;5952:15;;;;5917:12;;;;5844:1;5837:9;5808:169;;6008:322;6085:6;6093;6101;6154:2;6142:9;6133:7;6129:23;6125:32;6122:52;;;6170:1;6167;6160:12;6122:52;6193:29;6212:9;6193:29;:::i;:::-;6183:39;6269:2;6254:18;;6241:32;;-1:-1:-1;6320:2:1;6305:18;;;6292:32;;6008:322;-1:-1:-1;;;6008:322:1:o;6335:160::-;6400:20;;6456:13;;6449:21;6439:32;;6429:60;;6485:1;6482;6475:12;6500:254;6565:6;6573;6626:2;6614:9;6605:7;6601:23;6597:32;6594:52;;;6642:1;6639;6632:12;6594:52;6665:29;6684:9;6665:29;:::i;:::-;6655:39;;6713:35;6744:2;6733:9;6729:18;6713:35;:::i;:::-;6703:45;;6500:254;;;;;:::o;6759:284::-;6817:6;6870:2;6858:9;6849:7;6845:23;6841:32;6838:52;;;6886:1;6883;6876:12;6838:52;6925:9;6912:23;-1:-1:-1;;;;;6968:5:1;6964:30;6957:5;6954:41;6944:69;;7009:1;7006;6999:12;7048:127;7109:10;7104:3;7100:20;7097:1;7090:31;7140:4;7137:1;7130:15;7164:4;7161:1;7154:15;7180:1138;7275:6;7283;7291;7299;7352:3;7340:9;7331:7;7327:23;7323:33;7320:53;;;7369:1;7366;7359:12;7320:53;7392:29;7411:9;7392:29;:::i;:::-;7382:39;;7440:38;7474:2;7463:9;7459:18;7440:38;:::i;:::-;7430:48;;7525:2;7514:9;7510:18;7497:32;7487:42;;7580:2;7569:9;7565:18;7552:32;-1:-1:-1;;;;;7644:2:1;7636:6;7633:14;7630:34;;;7660:1;7657;7650:12;7630:34;7698:6;7687:9;7683:22;7673:32;;7743:7;7736:4;7732:2;7728:13;7724:27;7714:55;;7765:1;7762;7755:12;7714:55;7801:2;7788:16;7823:2;7819;7816:10;7813:36;;;7829:18;;:::i;:::-;7904:2;7898:9;7872:2;7958:13;;-1:-1:-1;;7954:22:1;;;7978:2;7950:31;7946:40;7934:53;;;8002:18;;;8022:22;;;7999:46;7996:72;;;8048:18;;:::i;:::-;8088:10;8084:2;8077:22;8123:2;8115:6;8108:18;8163:7;8158:2;8153;8149;8145:11;8141:20;8138:33;8135:53;;;8184:1;8181;8174:12;8135:53;8240:2;8235;8231;8227:11;8222:2;8214:6;8210:15;8197:46;8285:1;8280:2;8275;8267:6;8263:15;8259:24;8252:35;8306:6;8296:16;;;;;;;7180:1138;;;;;;;:::o;8323:505::-;8415:6;8423;8431;8484:2;8472:9;8463:7;8459:23;8455:32;8452:52;;;8500:1;8497;8490:12;8452:52;8540:9;8527:23;-1:-1:-1;;;;;8565:6:1;8562:30;8559:50;;;8605:1;8602;8595:12;8559:50;8644:70;8706:7;8697:6;8686:9;8682:22;8644:70;:::i;:::-;8733:8;;-1:-1:-1;8618:96:1;-1:-1:-1;8787:35:1;;-1:-1:-1;8818:2:1;8803:18;;8787:35;:::i;:::-;8777:45;;8323:505;;;;;:::o;8833:266::-;9029:3;9014:19;;9042:51;9018:9;9075:6;9042:51;:::i;9104:260::-;9172:6;9180;9233:2;9221:9;9212:7;9208:23;9204:32;9201:52;;;9249:1;9246;9239:12;9201:52;9272:29;9291:9;9272:29;:::i;:::-;9262:39;;9320:38;9354:2;9343:9;9339:18;9320:38;:::i;9369:380::-;9448:1;9444:12;;;;9491;;;9512:61;;9566:4;9558:6;9554:17;9544:27;;9512:61;9619:2;9611:6;9608:14;9588:18;9585:38;9582:161;;9665:10;9660:3;9656:20;9653:1;9646:31;9700:4;9697:1;9690:15;9728:4;9725:1;9718:15;9582:161;;9369:380;;;:::o;9880:545::-;9982:2;9977:3;9974:11;9971:448;;;10018:1;10043:5;10039:2;10032:17;10088:4;10084:2;10074:19;10158:2;10146:10;10142:19;10139:1;10135:27;10129:4;10125:38;10194:4;10182:10;10179:20;10176:47;;;-1:-1:-1;10217:4:1;10176:47;10272:2;10267:3;10263:12;10260:1;10256:20;10250:4;10246:31;10236:41;;10327:82;10345:2;10338:5;10335:13;10327:82;;;10390:17;;;10371:1;10360:13;10327:82;;10601:1206;-1:-1:-1;;;;;10720:3:1;10717:27;10714:53;;;10747:18;;:::i;:::-;10776:94;10866:3;10826:38;10858:4;10852:11;10826:38;:::i;:::-;10820:4;10776:94;:::i;:::-;10896:1;10921:2;10916:3;10913:11;10938:1;10933:616;;;;11593:1;11610:3;11607:93;;;-1:-1:-1;11666:19:1;;;11653:33;11607:93;-1:-1:-1;;10558:1:1;10554:11;;;10550:24;10546:29;10536:40;10582:1;10578:11;;;10533:57;11713:78;;10906:895;;10933:616;9827:1;9820:14;;;9864:4;9851:18;;-1:-1:-1;;10969:17:1;;;11070:9;11092:229;11106:7;11103:1;11100:14;11092:229;;;11195:19;;;11182:33;11167:49;;11302:4;11287:20;;;;11255:1;11243:14;;;;11122:12;11092:229;;;11096:3;11349;11340:7;11337:16;11334:159;;;11473:1;11469:6;11463:3;11457;11454:1;11450:11;11446:21;11442:34;11438:39;11425:9;11420:3;11416:19;11403:33;11399:79;11391:6;11384:95;11334:159;;;11536:1;11530:3;11527:1;11523:11;11519:19;11513:4;11506:33;10906:895;;10601:1206;;;:::o;11812:127::-;11873:10;11868:3;11864:20;11861:1;11854:31;11904:4;11901:1;11894:15;11928:4;11925:1;11918:15;11944:127;12005:10;12000:3;11996:20;11993:1;11986:31;12036:4;12033:1;12026:15;12060:4;12057:1;12050:15;12076:125;12116:4;12144:1;12141;12138:8;12135:34;;;12149:18;;:::i;:::-;-1:-1:-1;12186:9:1;;12076:125::o;12206:128::-;12246:3;12277:1;12273:6;12270:1;12267:13;12264:39;;;12283:18;;:::i;:::-;-1:-1:-1;12319:9:1;;12206:128::o;12339:209::-;12377:3;-1:-1:-1;;;;;12458:2:1;12451:5;12447:14;12485:2;12476:7;12473:15;12470:41;;12491:18;;:::i;:::-;12540:1;12527:15;;12339:209;-1:-1:-1;;;12339:209:1:o;12553:725::-;12775:2;12787:21;;;12760:18;;12843:22;;;12727:4;12922:6;12896:2;12881:18;;12727:4;12956:235;12970:6;12967:1;12964:13;12956:235;;;-1:-1:-1;;;;;13035:26:1;13054:6;13035:26;:::i;:::-;13031:52;13019:65;;13107:4;13166:15;;;;13131:12;;;;12992:1;12985:9;12956:235;;;12960:3;13208;13200:11;;;;13263:6;13256:14;13249:22;13242:4;13231:9;13227:20;13220:52;12553:725;;;;;;:::o;13283:637::-;13563:3;13601:6;13595:13;13617:53;13663:6;13658:3;13651:4;13643:6;13639:17;13617:53;:::i;:::-;13733:13;;13692:16;;;;13755:57;13733:13;13692:16;13789:4;13777:17;;13755:57;:::i;:::-;-1:-1:-1;;;13834:20:1;;13863:22;;;13912:1;13901:13;;13283:637;-1:-1:-1;;;;13283:637:1:o;14693:489::-;-1:-1:-1;;;;;14962:15:1;;;14944:34;;15014:15;;15009:2;14994:18;;14987:43;15061:2;15046:18;;15039:34;;;15109:3;15104:2;15089:18;;15082:31;;;14887:4;;15130:46;;15156:19;;15148:6;15130:46;:::i;:::-;15122:54;14693:489;-1:-1:-1;;;;;;14693:489:1:o;15187:249::-;15256:6;15309:2;15297:9;15288:7;15284:23;15280:32;15277:52;;;15325:1;15322;15315:12;15277:52;15357:9;15351:16;15376:30;15400:5;15376:30;:::i
Swarm Source
ipfs://f1a7512ec7ee1120c42227b37f19ecb7e1fb40b766061d87bc96360720813062
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.