ERC-721
Overview
Max Total Supply
2,777 DP
Holders
856
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 DPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DonaldPump
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-28 */ // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) // SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // 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`. * * 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 calldata data ) external; /** * @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 ) external; /** * @dev Transfers `tokenId` token 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; /** * @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; /** * @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 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer( uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to ); } /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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; // 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 tokenId of the next token 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 value) { 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`. value := or( owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags) ) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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), ".json")) : ""; } /** * @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 ""; } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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 { _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 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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, (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED) | _nextExtraData(address(0), to, 0) ); uint256 offset = startTokenId; uint256 end = quantity + startTokenId; do { emit Transfer(address(0), to, offset++); } while (offset < end); _currentIndex = startTokenId + quantity; } _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 { 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 number minted. _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, (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer( startTokenId, startTokenId + quantity - 1, address(0), to ); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Zeroes out _tokenApprovals[tokenId] */ function _removeTokenApproval(uint256 tokenId) private { mapping(uint256 => address) storage tokenApprovalPtr = _tokenApprovals; assembly { mstore(0x00, tokenId) mstore(0x20, tokenApprovalPtr.slot) let hash := keccak256(0, 0x40) sstore(hash, 0) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. if (approvedAddress != address(0)) { _removeTokenApproval(tokenId); } // 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 `_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)); address approvedAddress = _tokenApprovals[tokenId]; if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. if (approvedAddress != address(0)) { _removeTokenApproval(tokenId); } // 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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool 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)) } } } } /** * @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 ) internal view virtual returns (uint256) { uint24 previousExtraData; assembly { previousExtraData := shr(BITPOS_EXTRA_DATA, prevOwnershipPacked) } return uint256(_extraData(from, to, previousExtraData)) << BITPOS_EXTRA_DATA; } /** * @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 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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // ERC721A Contracts v4.2.0 // 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); } // ERC721A Contracts v4.2.0 // 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; } } } 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; } } // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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); } } // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256( abi.encodePacked(computedHash, proofElement) ); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256( abi.encodePacked(proofElement, computedHash) ); } } return computedHash; } } pragma solidity ^0.8.4; error MintedOut(); error PubCap(); error SupplyCap(); contract DonaldPump is Ownable, ReentrancyGuard, ERC721A, ERC721AQueryable { uint256 public maxSupply = 3333; bool public wlActive; bool public alActive; bool public resActive; bytes32 private _wlMerkleRoot; bytes32 private _alMerkleRoot; string private _baseTokenURI; mapping(address => uint256) public userResMints; constructor(string memory _inputURI, bytes32 _alRoot, bytes32 _wlRoot ) ERC721A("Donald Pump", "DP") { _baseTokenURI = _inputURI; _alMerkleRoot = _alRoot; _wlMerkleRoot = _wlRoot; } modifier mintCompliance() { require(tx.origin == msg.sender, "Wrong Caller"); if (maxSupply < totalSupply() + 1) revert MintedOut(); _; } //External Functions function wlMint(bytes32[] calldata proof) external mintCompliance nonReentrant { require(wlActive, "WL inactive"); require(_numberMinted(msg.sender) == 0, "Minted WL"); require( MerkleProof.verify(proof, _wlMerkleRoot, _leaf(msg.sender)), "Not WL" ); _mint(msg.sender, 1); } function alMint(bytes32[] calldata proof) external mintCompliance nonReentrant { require(alActive, "AL inactive"); require(_numberMinted(msg.sender) == 0, "Minted AL"); require( MerkleProof.verify(proof, _alMerkleRoot, _leaf(msg.sender)), "Not AL" ); _mint(msg.sender, 1); } function resMint(bytes32[] calldata proof) external mintCompliance { require(resActive, "Reserve inactive"); require(userResMints[msg.sender] == 0, "Already Minted"); if (!MerkleProof.verify(proof, _wlMerkleRoot, _leaf(msg.sender))) { if(!MerkleProof.verify(proof, _alMerkleRoot, _leaf(msg.sender))) revert("Not on al/wl"); } userResMints[msg.sender] = 1; _mint(msg.sender, 1); } function userMints(address _account) external view virtual returns (uint256) { return _numberMinted(_account); } // Internal Functions function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function _leaf(address _account) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_account)); } //Ownable functions function teamMint(uint256 _quantity, address _to) external onlyOwner { if (maxSupply < totalSupply() + _quantity) revert SupplyCap(); _mint(_to, _quantity); } function setWLMerkleRoot(bytes32 _root) public onlyOwner { _wlMerkleRoot = _root; } function setALMerkleRoot(bytes32 _root) public onlyOwner { _alMerkleRoot = _root; } function updateState(bool _alActive, bool _wlActive, bool _resActive) external onlyOwner { alActive = _alActive; wlActive = _wlActive; resActive = _resActive; } function reduceSupply(uint256 _amount) external onlyOwner { if (totalSupply() > _amount) revert SupplyCap(); if (_amount > maxSupply) revert SupplyCap(); maxSupply = _amount; } function setBaseURI(string memory _inputURI) public onlyOwner { _baseTokenURI = _inputURI; } function withdrawFunds(address _to, uint256 _amount) external onlyOwner { (bool success, ) = payable(_to).call{value: _amount}(""); require(success, "transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_inputURI","type":"string"},{"internalType":"bytes32","name":"_alRoot","type":"bytes32"},{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedOut","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SupplyCap","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"alActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"alMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"reduceSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"resMint","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":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setALMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_inputURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWLMerkleRoot","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":"_quantity","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_alActive","type":"bool"},{"internalType":"bool","name":"_wlActive","type":"bool"},{"internalType":"bool","name":"_resActive","type":"bool"}],"name":"updateState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"userMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userResMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"wlMint","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610d05600a553480156200001757600080fd5b5060405162002729380380620027298339810160408190526200003a91620001ea565b6040518060400160405280600b81526020016a0446f6e616c642050756d760ac1b81525060405180604001604052806002815260200161044560f41b815250620000936200008d620000f060201b60201c565b620000f4565b600180558151620000ac90600490602085019062000144565b508051620000c290600590602084019062000144565b50600160025550508251620000df90600e90602086019062000144565b50600d91909155600c555062000327565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200015290620002d4565b90600052602060002090601f016020900481019282620001765760008555620001c1565b82601f106200019157805160ff1916838001178555620001c1565b82800160010185558215620001c1579182015b82811115620001c1578251825591602001919060010190620001a4565b50620001cf929150620001d3565b5090565b5b80821115620001cf5760008155600101620001d4565b600080600060608486031215620001ff578283fd5b83516001600160401b038082111562000216578485fd5b818601915086601f8301126200022a578485fd5b8151818111156200023f576200023f62000311565b604051601f8201601f19908116603f011681019083821181831017156200026a576200026a62000311565b8160405282815260209350898484870101111562000286578788fd5b8791505b82821015620002a957848201840151818301850152908301906200028a565b82821115620002ba57878484830101525b928801516040909801519299979850919695505050505050565b600181811c90821680620002e957607f821691505b602082108114156200030b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6123f280620003376000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80637d44fd1111610130578063b88d4fde116100b8578063d5abeb011161007c578063d5abeb01146104d5578063df282331146104de578063e985e9c5146104f1578063f10623171461052d578063f2fde38b1461054057600080fd5b8063b88d4fde14610469578063bfa457bc1461047c578063c10753291461048f578063c23dc68f146104a2578063c87b56dd146104c257600080fd5b806395d89b41116100ff57806395d89b411461041557806399a2557a1461041d578063a22cb46514610430578063a51eb12614610443578063b0ea7dcf1461045657600080fd5b80637d44fd11146103be57806380623444146103d15780638462151c146103e45780638da5cb5b1461040457600080fd5b806355f804b3116101b357806370a082311161018257806370a082311461035e578063715018a61461037157806377b143c0146103795780637882b7841461038c5780637cccfe83146103ac57600080fd5b806355f804b31461030557806359053976146103185780635bbb21771461032b5780636352211e1461034b57600080fd5b806318160ddd116101fa57806318160ddd146102a957806323b872dd146102bf57806342842e0e146102d257806348575bfa146102e557806354df9609146102f257600080fd5b806301ffc9a71461022c57806306fdde0314610254578063081812fc14610269578063095ea7b314610294575b600080fd5b61023f61023a366004612065565b610553565b60405190151581526020015b60405180910390f35b61025c6105a5565b60405161024b9190612264565b61027c61027736600461204d565b610637565b6040516001600160a01b03909116815260200161024b565b6102a76102a2366004611f70565b61067b565b005b6102b161071b565b60405190815260200161024b565b6102a76102cd366004611e93565b610729565b6102a76102e0366004611e93565b610739565b600b5461023f9060ff1681565b6102a7610300366004611fcb565b610754565b6102a761031336600461209d565b610939565b6102a761032636600461204d565b610976565b61033e610339366004611fcb565b6109a5565b60405161024b91906121ea565b61027c61035936600461204d565b610a9b565b6102b161036c366004611e47565b610aa6565b6102a7610af5565b6102a761038736600461200b565b610b2b565b6102b161039a366004611e47565b600f6020526000908152604090205481565b600b5461023f90610100900460ff1681565b6102a76103cc36600461204d565b610b8d565b6102a76103df36600461204d565b610bbc565b6103f76103f2366004611e47565b610c36565b60405161024b919061222c565b6000546001600160a01b031661027c565b61025c610d62565b6103f761042b366004611f99565b610d71565b6102a761043e366004611f47565b610f19565b600b5461023f9062010000900460ff1681565b6102a7610464366004611fcb565b610faf565b6102a7610477366004611ece565b61111a565b6102a761048a3660046120e3565b611164565b6102a761049d366004611f70565b6111cd565b6104b56104b036600461204d565b61128d565b60405161024b91906122d2565b61025c6104d036600461204d565b611315565b6102b1600a5481565b6102b16104ec366004611e47565b611399565b61023f6104ff366004611e61565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b6102a761053b366004611fcb565b6113a4565b6102a761054e366004611e47565b611500565b60006301ffc9a760e01b6001600160e01b03198316148061058457506380ac58cd60e01b6001600160e01b03198316145b8061059f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600480546105b490612324565b80601f01602080910402602001604051908101604052809291908181526020018280546105e090612324565b801561062d5780601f106106025761010080835404028352916020019161062d565b820191906000526020600020905b81548152906001019060200180831161061057829003601f168201915b5050505050905090565b60006106428261159b565b61065f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061068682610a9b565b9050336001600160a01b038216146106bf576106a281336104ff565b6106bf576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600354600254036000190190565b6107348383836115d0565b505050565b6107348383836040518060200160405280600081525061111a565b32331461077c5760405162461bcd60e51b8152600401610773906122ac565b60405180910390fd5b61078461071b565b61078f9060016122e0565b600a5410156107b157604051634237dcf160e11b815260040160405180910390fd5b600b5462010000900460ff166107fc5760405162461bcd60e51b815260206004820152601060248201526f5265736572766520696e61637469766560801b6044820152606401610773565b336000908152600f60205260409020541561084a5760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e48135a5b9d195960921b6044820152606401610773565b61089382828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c54915061088e90503361178b565b6117ca565b610916576108db82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d54915061088e90503361178b565b6109165760405162461bcd60e51b815260206004820152600c60248201526b139bdd081bdb88185b0bdddb60a21b6044820152606401610773565b336000818152600f6020526040902060019081905561093591906117e0565b5050565b6000546001600160a01b031633146109635760405162461bcd60e51b815260040161077390612277565b805161093590600e906020840190611cc2565b6000546001600160a01b031633146109a05760405162461bcd60e51b815260040161077390612277565b600d55565b60608160008167ffffffffffffffff8111156109d157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a2357816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816109ef5790505b50905060005b828114610a9257610a5f868683818110610a5357634e487b7160e01b600052603260045260246000fd5b9050602002013561128d565b828281518110610a7f57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152600101610a29565b50949350505050565b600061059f826118bd565b60006001600160a01b038216610acf576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610b1f5760405162461bcd60e51b815260040161077390612277565b610b296000611926565b565b6000546001600160a01b03163314610b555760405162461bcd60e51b815260040161077390612277565b600b805461ffff19166101009415159490940260ff1916939093179115159190911762ff000019166201000091151591909102179055565b6000546001600160a01b03163314610bb75760405162461bcd60e51b815260040161077390612277565b600c55565b6000546001600160a01b03163314610be65760405162461bcd60e51b815260040161077390612277565b80610bef61071b565b1115610c0e57604051632eec1e2160e11b815260040160405180910390fd5b600a54811115610c3157604051632eec1e2160e11b815260040160405180910390fd5b600a55565b60606000806000610c4685610aa6565b905060008167ffffffffffffffff811115610c7157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c9a578160200160208202803683370190505b509050610cc760408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610d5657610cda81611976565b9150816040015115610ceb57610d4e565b81516001600160a01b031615610d0057815194505b876001600160a01b0316856001600160a01b03161415610d4e5780838780600101985081518110610d4157634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b600101610cca565b50909695505050505050565b6060600580546105b490612324565b6060818310610d9357604051631960ccad60e11b815260040160405180910390fd5b600080610d9f60025490565b90506001851015610daf57600194505b80841115610dbb578093505b6000610dc687610aa6565b905084861015610de55785850381811015610ddf578091505b50610de9565b5060005b60008167ffffffffffffffff811115610e1257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e3b578160200160208202803683370190505b50905081610e4e579350610f1292505050565b6000610e598861128d565b905060008160400151610e6a575080515b885b888114158015610e7c5750848714155b15610f0657610e8a81611976565b9250826040015115610e9b57610efe565b82516001600160a01b031615610eb057825191505b8a6001600160a01b0316826001600160a01b03161415610efe5780848880600101995081518110610ef157634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b600101610e6c565b50505092835250909150505b9392505050565b6001600160a01b038216331415610f435760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610fce5760405162461bcd60e51b8152600401610773906122ac565b610fd661071b565b610fe19060016122e0565b600a54101561100357604051634237dcf160e11b815260040160405180910390fd5b61100b6119b2565b600b5460ff1661104b5760405162461bcd60e51b815260206004820152600b60248201526a574c20696e61637469766560a81b6044820152606401610773565b61105433611a0c565b1561108d5760405162461bcd60e51b8152602060048201526009602482015268135a5b9d19590815d360ba1b6044820152606401610773565b6110d182828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c54915061088e90503361178b565b6111065760405162461bcd60e51b8152602060048201526006602482015265139bdd0815d360d21b6044820152606401610773565b6111113360016117e0565b61093560018055565b6111258484846115d0565b6001600160a01b0383163b1561115e5761114184848484611a35565b61115e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b0316331461118e5760405162461bcd60e51b815260040161077390612277565b8161119761071b565b6111a191906122e0565b600a5410156111c357604051632eec1e2160e11b815260040160405180910390fd5b61093581836117e0565b6000546001600160a01b031633146111f75760405162461bcd60e51b815260040161077390612277565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611244576040519150601f19603f3d011682016040523d82523d6000602084013e611249565b606091505b50509050806107345760405162461bcd60e51b815260206004820152601060248201526f3a3930b739b332b9103330b4b632b21760811b6044820152606401610773565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806112e657506002548310155b156112f15792915050565b6112fa83611976565b905080604001511561130c5792915050565b610f1283611b2d565b60606113208261159b565b61133d57604051630a14c4b560e41b815260040160405180910390fd5b6000611347611b62565b90508051600014156113685760405180602001604052806000815250610f12565b8061137284611b71565b60405160200161138392919061216e565b6040516020818303038152906040529392505050565b600061059f82611a0c565b3233146113c35760405162461bcd60e51b8152600401610773906122ac565b6113cb61071b565b6113d69060016122e0565b600a5410156113f857604051634237dcf160e11b815260040160405180910390fd5b6114006119b2565b600b54610100900460ff166114455760405162461bcd60e51b815260206004820152600b60248201526a414c20696e61637469766560a81b6044820152606401610773565b61144e33611a0c565b156114875760405162461bcd60e51b8152602060048201526009602482015268135a5b9d195908105360ba1b6044820152606401610773565b6114cb82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d54915061088e90503361178b565b6111065760405162461bcd60e51b8152602060048201526006602482015265139bdd08105360d21b6044820152606401610773565b6000546001600160a01b0316331461152a5760405162461bcd60e51b815260040161077390612277565b6001600160a01b03811661158f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610773565b61159881611926565b50565b6000816001111580156115af575060025482105b801561059f575050600090815260066020526040902054600160e01b161590565b60006115db826118bd565b9050836001600160a01b0316816001600160a01b03161461160e5760405162a1148160e81b815260040160405180910390fd5b6000828152600860205260408120546001600160a01b039081169190861633148061163e575061163e86336104ff565b8061165157506001600160a01b03821633145b90508061167157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661169857604051633a954ecd60e21b815260040160405180910390fd5b6001600160a01b038216156116b7576000848152600860205260408120555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040902055600160e11b831661174257600184016000818152600660205260409020546117405760025481146117405760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b6000826117d78584611bc0565b14949350505050565b6002546001600160a01b03831661180957604051622e076360e81b815260040160405180910390fd5b816118275760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106118715750500160025550565b6000818060011161190d5760025481101561190d57600081815260066020526040902054600160e01b811661190b575b80610f125750600019016000818152600660205260409020546118ed565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526006602052604090205461059f90611c7a565b60026001541415611a055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610773565b6002600155565b6001600160a01b03166000908152600760205260409081902054901c67ffffffffffffffff1690565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a6a9033908990889088906004016121ad565b602060405180830381600087803b158015611a8457600080fd5b505af1925050508015611ab4575060408051601f3d908101601f19168201909252611ab191810190612081565b60015b611b0f573d808015611ae2576040519150601f19603f3d011682016040523d82523d6000602084013e611ae7565b606091505b508051611b07576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261059f611b5d836118bd565b611c7a565b6060600e80546105b490612324565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611bae57600183039250600a81066030018353600a9004611b90565b50819003601f19909101908152919050565b600081815b8451811015611c72576000858281518110611bf057634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611c32576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611c5f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611c6a8161235f565b915050611bc5565b509392505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b828054611cce90612324565b90600052602060002090601f016020900481019282611cf05760008555611d36565b82601f10611d0957805160ff1916838001178555611d36565b82800160010185558215611d36579182015b82811115611d36578251825591602001919060010190611d1b565b50611d42929150611d46565b5090565b5b80821115611d425760008155600101611d47565b600067ffffffffffffffff80841115611d7657611d76612390565b604051601f8501601f19908116603f01168101908282118183101715611d9e57611d9e612390565b81604052809350858152868686011115611db757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611de857600080fd5b919050565b60008083601f840112611dfe578081fd5b50813567ffffffffffffffff811115611e15578182fd5b6020830191508360208260051b8501011115611e3057600080fd5b9250929050565b80358015158114611de857600080fd5b600060208284031215611e58578081fd5b610f1282611dd1565b60008060408385031215611e73578081fd5b611e7c83611dd1565b9150611e8a60208401611dd1565b90509250929050565b600080600060608486031215611ea7578081fd5b611eb084611dd1565b9250611ebe60208501611dd1565b9150604084013590509250925092565b60008060008060808587031215611ee3578081fd5b611eec85611dd1565b9350611efa60208601611dd1565b925060408501359150606085013567ffffffffffffffff811115611f1c578182fd5b8501601f81018713611f2c578182fd5b611f3b87823560208401611d5b565b91505092959194509250565b60008060408385031215611f59578182fd5b611f6283611dd1565b9150611e8a60208401611e37565b60008060408385031215611f82578182fd5b611f8b83611dd1565b946020939093013593505050565b600080600060608486031215611fad578283fd5b611fb684611dd1565b95602085013595506040909401359392505050565b60008060208385031215611fdd578182fd5b823567ffffffffffffffff811115611ff3578283fd5b611fff85828601611ded565b90969095509350505050565b60008060006060848603121561201f578283fd5b61202884611e37565b925061203660208501611e37565b915061204460408501611e37565b90509250925092565b60006020828403121561205e578081fd5b5035919050565b600060208284031215612076578081fd5b8135610f12816123a6565b600060208284031215612092578081fd5b8151610f12816123a6565b6000602082840312156120ae578081fd5b813567ffffffffffffffff8111156120c4578182fd5b8201601f810184136120d4578182fd5b611b2584823560208401611d5b565b600080604083850312156120f5578182fd5b82359150611e8a60208401611dd1565b6000815180845261211d8160208601602086016122f8565b601f01601f19169290920160200192915050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b600083516121808184602088016122f8565b8351908301906121948183602088016122f8565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121e090830184612105565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610d5657612219838551612131565b9284019260809290920191600101612206565b6020808252825182820181905260009190848201906040850190845b81811015610d5657835183529284019291840191600101612248565b602081526000610f126020830184612105565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b2bb937b7339021b0b63632b960a11b604082015260600190565b6080810161059f8284612131565b600082198211156122f3576122f361237a565b500190565b60005b838110156123135781810151838201526020016122fb565b8381111561115e5750506000910152565b600181811c9082168061233857607f821691505b6020821081141561235957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123735761237361237a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461159857600080fdfea2646970667358221220d2e7f61b19cf289fc617f8f455006f4ae58aa7e80a9c521870a045900aa46e6964736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000fd96c5f7d6e82456b6cfa21c30651e9de457baa97e9db8a2babb3fc44dc35d31dde3f6874311aa96ed9f65035fba4e97e2dd669fcfa37c92ad38bf70b1839e0000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569667a346565773677706e6d7a70703566757a6a696c78757a767072626c66696936733670376b326b7878336732776e6779736c612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102275760003560e01c80637d44fd1111610130578063b88d4fde116100b8578063d5abeb011161007c578063d5abeb01146104d5578063df282331146104de578063e985e9c5146104f1578063f10623171461052d578063f2fde38b1461054057600080fd5b8063b88d4fde14610469578063bfa457bc1461047c578063c10753291461048f578063c23dc68f146104a2578063c87b56dd146104c257600080fd5b806395d89b41116100ff57806395d89b411461041557806399a2557a1461041d578063a22cb46514610430578063a51eb12614610443578063b0ea7dcf1461045657600080fd5b80637d44fd11146103be57806380623444146103d15780638462151c146103e45780638da5cb5b1461040457600080fd5b806355f804b3116101b357806370a082311161018257806370a082311461035e578063715018a61461037157806377b143c0146103795780637882b7841461038c5780637cccfe83146103ac57600080fd5b806355f804b31461030557806359053976146103185780635bbb21771461032b5780636352211e1461034b57600080fd5b806318160ddd116101fa57806318160ddd146102a957806323b872dd146102bf57806342842e0e146102d257806348575bfa146102e557806354df9609146102f257600080fd5b806301ffc9a71461022c57806306fdde0314610254578063081812fc14610269578063095ea7b314610294575b600080fd5b61023f61023a366004612065565b610553565b60405190151581526020015b60405180910390f35b61025c6105a5565b60405161024b9190612264565b61027c61027736600461204d565b610637565b6040516001600160a01b03909116815260200161024b565b6102a76102a2366004611f70565b61067b565b005b6102b161071b565b60405190815260200161024b565b6102a76102cd366004611e93565b610729565b6102a76102e0366004611e93565b610739565b600b5461023f9060ff1681565b6102a7610300366004611fcb565b610754565b6102a761031336600461209d565b610939565b6102a761032636600461204d565b610976565b61033e610339366004611fcb565b6109a5565b60405161024b91906121ea565b61027c61035936600461204d565b610a9b565b6102b161036c366004611e47565b610aa6565b6102a7610af5565b6102a761038736600461200b565b610b2b565b6102b161039a366004611e47565b600f6020526000908152604090205481565b600b5461023f90610100900460ff1681565b6102a76103cc36600461204d565b610b8d565b6102a76103df36600461204d565b610bbc565b6103f76103f2366004611e47565b610c36565b60405161024b919061222c565b6000546001600160a01b031661027c565b61025c610d62565b6103f761042b366004611f99565b610d71565b6102a761043e366004611f47565b610f19565b600b5461023f9062010000900460ff1681565b6102a7610464366004611fcb565b610faf565b6102a7610477366004611ece565b61111a565b6102a761048a3660046120e3565b611164565b6102a761049d366004611f70565b6111cd565b6104b56104b036600461204d565b61128d565b60405161024b91906122d2565b61025c6104d036600461204d565b611315565b6102b1600a5481565b6102b16104ec366004611e47565b611399565b61023f6104ff366004611e61565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b6102a761053b366004611fcb565b6113a4565b6102a761054e366004611e47565b611500565b60006301ffc9a760e01b6001600160e01b03198316148061058457506380ac58cd60e01b6001600160e01b03198316145b8061059f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600480546105b490612324565b80601f01602080910402602001604051908101604052809291908181526020018280546105e090612324565b801561062d5780601f106106025761010080835404028352916020019161062d565b820191906000526020600020905b81548152906001019060200180831161061057829003601f168201915b5050505050905090565b60006106428261159b565b61065f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061068682610a9b565b9050336001600160a01b038216146106bf576106a281336104ff565b6106bf576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600354600254036000190190565b6107348383836115d0565b505050565b6107348383836040518060200160405280600081525061111a565b32331461077c5760405162461bcd60e51b8152600401610773906122ac565b60405180910390fd5b61078461071b565b61078f9060016122e0565b600a5410156107b157604051634237dcf160e11b815260040160405180910390fd5b600b5462010000900460ff166107fc5760405162461bcd60e51b815260206004820152601060248201526f5265736572766520696e61637469766560801b6044820152606401610773565b336000908152600f60205260409020541561084a5760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e48135a5b9d195960921b6044820152606401610773565b61089382828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c54915061088e90503361178b565b6117ca565b610916576108db82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d54915061088e90503361178b565b6109165760405162461bcd60e51b815260206004820152600c60248201526b139bdd081bdb88185b0bdddb60a21b6044820152606401610773565b336000818152600f6020526040902060019081905561093591906117e0565b5050565b6000546001600160a01b031633146109635760405162461bcd60e51b815260040161077390612277565b805161093590600e906020840190611cc2565b6000546001600160a01b031633146109a05760405162461bcd60e51b815260040161077390612277565b600d55565b60608160008167ffffffffffffffff8111156109d157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a2357816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816109ef5790505b50905060005b828114610a9257610a5f868683818110610a5357634e487b7160e01b600052603260045260246000fd5b9050602002013561128d565b828281518110610a7f57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152600101610a29565b50949350505050565b600061059f826118bd565b60006001600160a01b038216610acf576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610b1f5760405162461bcd60e51b815260040161077390612277565b610b296000611926565b565b6000546001600160a01b03163314610b555760405162461bcd60e51b815260040161077390612277565b600b805461ffff19166101009415159490940260ff1916939093179115159190911762ff000019166201000091151591909102179055565b6000546001600160a01b03163314610bb75760405162461bcd60e51b815260040161077390612277565b600c55565b6000546001600160a01b03163314610be65760405162461bcd60e51b815260040161077390612277565b80610bef61071b565b1115610c0e57604051632eec1e2160e11b815260040160405180910390fd5b600a54811115610c3157604051632eec1e2160e11b815260040160405180910390fd5b600a55565b60606000806000610c4685610aa6565b905060008167ffffffffffffffff811115610c7157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c9a578160200160208202803683370190505b509050610cc760408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610d5657610cda81611976565b9150816040015115610ceb57610d4e565b81516001600160a01b031615610d0057815194505b876001600160a01b0316856001600160a01b03161415610d4e5780838780600101985081518110610d4157634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b600101610cca565b50909695505050505050565b6060600580546105b490612324565b6060818310610d9357604051631960ccad60e11b815260040160405180910390fd5b600080610d9f60025490565b90506001851015610daf57600194505b80841115610dbb578093505b6000610dc687610aa6565b905084861015610de55785850381811015610ddf578091505b50610de9565b5060005b60008167ffffffffffffffff811115610e1257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e3b578160200160208202803683370190505b50905081610e4e579350610f1292505050565b6000610e598861128d565b905060008160400151610e6a575080515b885b888114158015610e7c5750848714155b15610f0657610e8a81611976565b9250826040015115610e9b57610efe565b82516001600160a01b031615610eb057825191505b8a6001600160a01b0316826001600160a01b03161415610efe5780848880600101995081518110610ef157634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b600101610e6c565b50505092835250909150505b9392505050565b6001600160a01b038216331415610f435760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610fce5760405162461bcd60e51b8152600401610773906122ac565b610fd661071b565b610fe19060016122e0565b600a54101561100357604051634237dcf160e11b815260040160405180910390fd5b61100b6119b2565b600b5460ff1661104b5760405162461bcd60e51b815260206004820152600b60248201526a574c20696e61637469766560a81b6044820152606401610773565b61105433611a0c565b1561108d5760405162461bcd60e51b8152602060048201526009602482015268135a5b9d19590815d360ba1b6044820152606401610773565b6110d182828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c54915061088e90503361178b565b6111065760405162461bcd60e51b8152602060048201526006602482015265139bdd0815d360d21b6044820152606401610773565b6111113360016117e0565b61093560018055565b6111258484846115d0565b6001600160a01b0383163b1561115e5761114184848484611a35565b61115e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b0316331461118e5760405162461bcd60e51b815260040161077390612277565b8161119761071b565b6111a191906122e0565b600a5410156111c357604051632eec1e2160e11b815260040160405180910390fd5b61093581836117e0565b6000546001600160a01b031633146111f75760405162461bcd60e51b815260040161077390612277565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611244576040519150601f19603f3d011682016040523d82523d6000602084013e611249565b606091505b50509050806107345760405162461bcd60e51b815260206004820152601060248201526f3a3930b739b332b9103330b4b632b21760811b6044820152606401610773565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806112e657506002548310155b156112f15792915050565b6112fa83611976565b905080604001511561130c5792915050565b610f1283611b2d565b60606113208261159b565b61133d57604051630a14c4b560e41b815260040160405180910390fd5b6000611347611b62565b90508051600014156113685760405180602001604052806000815250610f12565b8061137284611b71565b60405160200161138392919061216e565b6040516020818303038152906040529392505050565b600061059f82611a0c565b3233146113c35760405162461bcd60e51b8152600401610773906122ac565b6113cb61071b565b6113d69060016122e0565b600a5410156113f857604051634237dcf160e11b815260040160405180910390fd5b6114006119b2565b600b54610100900460ff166114455760405162461bcd60e51b815260206004820152600b60248201526a414c20696e61637469766560a81b6044820152606401610773565b61144e33611a0c565b156114875760405162461bcd60e51b8152602060048201526009602482015268135a5b9d195908105360ba1b6044820152606401610773565b6114cb82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d54915061088e90503361178b565b6111065760405162461bcd60e51b8152602060048201526006602482015265139bdd08105360d21b6044820152606401610773565b6000546001600160a01b0316331461152a5760405162461bcd60e51b815260040161077390612277565b6001600160a01b03811661158f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610773565b61159881611926565b50565b6000816001111580156115af575060025482105b801561059f575050600090815260066020526040902054600160e01b161590565b60006115db826118bd565b9050836001600160a01b0316816001600160a01b03161461160e5760405162a1148160e81b815260040160405180910390fd5b6000828152600860205260408120546001600160a01b039081169190861633148061163e575061163e86336104ff565b8061165157506001600160a01b03821633145b90508061167157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661169857604051633a954ecd60e21b815260040160405180910390fd5b6001600160a01b038216156116b7576000848152600860205260408120555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040902055600160e11b831661174257600184016000818152600660205260409020546117405760025481146117405760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b6000826117d78584611bc0565b14949350505050565b6002546001600160a01b03831661180957604051622e076360e81b815260040160405180910390fd5b816118275760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106118715750500160025550565b6000818060011161190d5760025481101561190d57600081815260066020526040902054600160e01b811661190b575b80610f125750600019016000818152600660205260409020546118ed565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526006602052604090205461059f90611c7a565b60026001541415611a055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610773565b6002600155565b6001600160a01b03166000908152600760205260409081902054901c67ffffffffffffffff1690565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a6a9033908990889088906004016121ad565b602060405180830381600087803b158015611a8457600080fd5b505af1925050508015611ab4575060408051601f3d908101601f19168201909252611ab191810190612081565b60015b611b0f573d808015611ae2576040519150601f19603f3d011682016040523d82523d6000602084013e611ae7565b606091505b508051611b07576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261059f611b5d836118bd565b611c7a565b6060600e80546105b490612324565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611bae57600183039250600a81066030018353600a9004611b90565b50819003601f19909101908152919050565b600081815b8451811015611c72576000858281518110611bf057634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611c32576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611c5f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611c6a8161235f565b915050611bc5565b509392505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b828054611cce90612324565b90600052602060002090601f016020900481019282611cf05760008555611d36565b82601f10611d0957805160ff1916838001178555611d36565b82800160010185558215611d36579182015b82811115611d36578251825591602001919060010190611d1b565b50611d42929150611d46565b5090565b5b80821115611d425760008155600101611d47565b600067ffffffffffffffff80841115611d7657611d76612390565b604051601f8501601f19908116603f01168101908282118183101715611d9e57611d9e612390565b81604052809350858152868686011115611db757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611de857600080fd5b919050565b60008083601f840112611dfe578081fd5b50813567ffffffffffffffff811115611e15578182fd5b6020830191508360208260051b8501011115611e3057600080fd5b9250929050565b80358015158114611de857600080fd5b600060208284031215611e58578081fd5b610f1282611dd1565b60008060408385031215611e73578081fd5b611e7c83611dd1565b9150611e8a60208401611dd1565b90509250929050565b600080600060608486031215611ea7578081fd5b611eb084611dd1565b9250611ebe60208501611dd1565b9150604084013590509250925092565b60008060008060808587031215611ee3578081fd5b611eec85611dd1565b9350611efa60208601611dd1565b925060408501359150606085013567ffffffffffffffff811115611f1c578182fd5b8501601f81018713611f2c578182fd5b611f3b87823560208401611d5b565b91505092959194509250565b60008060408385031215611f59578182fd5b611f6283611dd1565b9150611e8a60208401611e37565b60008060408385031215611f82578182fd5b611f8b83611dd1565b946020939093013593505050565b600080600060608486031215611fad578283fd5b611fb684611dd1565b95602085013595506040909401359392505050565b60008060208385031215611fdd578182fd5b823567ffffffffffffffff811115611ff3578283fd5b611fff85828601611ded565b90969095509350505050565b60008060006060848603121561201f578283fd5b61202884611e37565b925061203660208501611e37565b915061204460408501611e37565b90509250925092565b60006020828403121561205e578081fd5b5035919050565b600060208284031215612076578081fd5b8135610f12816123a6565b600060208284031215612092578081fd5b8151610f12816123a6565b6000602082840312156120ae578081fd5b813567ffffffffffffffff8111156120c4578182fd5b8201601f810184136120d4578182fd5b611b2584823560208401611d5b565b600080604083850312156120f5578182fd5b82359150611e8a60208401611dd1565b6000815180845261211d8160208601602086016122f8565b601f01601f19169290920160200192915050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b600083516121808184602088016122f8565b8351908301906121948183602088016122f8565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121e090830184612105565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610d5657612219838551612131565b9284019260809290920191600101612206565b6020808252825182820181905260009190848201906040850190845b81811015610d5657835183529284019291840191600101612248565b602081526000610f126020830184612105565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b2bb937b7339021b0b63632b960a11b604082015260600190565b6080810161059f8284612131565b600082198211156122f3576122f361237a565b500190565b60005b838110156123135781810151838201526020016122fb565b8381111561115e5750506000910152565b600181811c9082168061233857607f821691505b6020821081141561235957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123735761237361237a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461159857600080fdfea2646970667358221220d2e7f61b19cf289fc617f8f455006f4ae58aa7e80a9c521870a045900aa46e6964736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000fd96c5f7d6e82456b6cfa21c30651e9de457baa97e9db8a2babb3fc44dc35d31dde3f6874311aa96ed9f65035fba4e97e2dd669fcfa37c92ad38bf70b1839e0000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569667a346565773677706e6d7a70703566757a6a696c78757a767072626c66696936733670376b326b7878336732776e6779736c612f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _inputURI (string): ipfs://bafybeifz4eew6wpnmzpp5fuzjilxuzvprblfii6s6p7k2kxx3g2wngysla/
Arg [1] : _alRoot (bytes32): 0x00fd96c5f7d6e82456b6cfa21c30651e9de457baa97e9db8a2babb3fc44dc35d
Arg [2] : _wlRoot (bytes32): 0x31dde3f6874311aa96ed9f65035fba4e97e2dd669fcfa37c92ad38bf70b1839e
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00fd96c5f7d6e82456b6cfa21c30651e9de457baa97e9db8a2babb3fc44dc35d
Arg [2] : 31dde3f6874311aa96ed9f65035fba4e97e2dd669fcfa37c92ad38bf70b1839e
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [4] : 697066733a2f2f62616679626569667a346565773677706e6d7a70703566757a
Arg [5] : 6a696c78757a767072626c66696936733670376b326b7878336732776e677973
Arg [6] : 6c612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
61424:3671:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14391:665;;;;;;:::i;:::-;;:::i;:::-;;;10895:14:1;;10888:22;10870:41;;10858:2;10843:18;14391:665:0;;;;;;;;20324:100;;;:::i;:::-;;;;;;;:::i;22181:245::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8825:32:1;;;8807:51;;8795:2;8780:18;22181:245:0;8762:102:1;21729:386:0;;;;;;:::i;:::-;;:::i;:::-;;13445:315;;;:::i;:::-;;;16426:25:1;;;16414:2;16399:18;13445:315:0;16381:76:1;23190:170:0;;;;;;:::i;:::-;;:::i;23431:185::-;;;;;;:::i;:::-;;:::i;61544:20::-;;;;;;;;;62954:451;;;;;;:::i;:::-;;:::i;64784:106::-;;;;;;:::i;:::-;;:::i;64261:97::-;;;;;;:::i;:::-;;:::i;48039:560::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20113:144::-;;;;;;:::i;:::-;;:::i;15120:224::-;;;;;;:::i;:::-;;:::i;55496:103::-;;;:::i;64364:196::-;;;;;;:::i;:::-;;:::i;61736:47::-;;;;;;:::i;:::-;;;;;;;;;;;;;;61571:20;;;;;;;;;;;;64157:97;;;;;;:::i;:::-;;:::i;64568:208::-;;;;;;:::i;:::-;;:::i;52013:1016::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;54845:87::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;54845:87;;20493:104;;;:::i;48987:2579::-;;;;;;:::i;:::-;;:::i;22498:340::-;;;;;;:::i;:::-;;:::i;61598:21::-;;;;;;;;;;;;62228:355;;;;;;:::i;:::-;;:::i;23687:396::-;;;;;;:::i;:::-;;:::i;63968:181::-;;;;;;:::i;:::-;;:::i;64898:194::-;;;;;;:::i;:::-;;:::i;47402:478::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20668:424::-;;;;;;:::i;:::-;;:::i;61506:31::-;;;;;;63413:131;;;;;;:::i;:::-;;:::i;22909:214::-;;;;;;:::i;:::-;-1:-1:-1;;;;;23080:25:0;;;23051:4;23080:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22909:214;62591:355;;;;;;:::i;:::-;;:::i;55754:238::-;;;;;;:::i;:::-;;:::i;14391:665::-;14521:4;-1:-1:-1;;;;;;;;;14826:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;14903:25:0;;;14826:102;:179;;;-1:-1:-1;;;;;;;;;;14980:25:0;;;14826:179;14806:199;14391:665;-1:-1:-1;;14391:665:0:o;20324:100::-;20378:13;20411:5;20404:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20324:100;:::o;22181:245::-;22285:7;22315:16;22323:7;22315;:16::i;:::-;22310:64;;22340:34;;-1:-1:-1;;;22340:34:0;;;;;;;;;;;22310:64;-1:-1:-1;22394:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22394:24:0;;22181:245::o;21729:386::-;21802:13;21818:16;21826:7;21818;:16::i;:::-;21802:32;-1:-1:-1;41732:10:0;-1:-1:-1;;;;;21851:28:0;;;21847:175;;21899:44;21916:5;41732:10;22909:214;:::i;21899:44::-;21894:128;;21971:35;;-1:-1:-1;;;21971:35:0;;;;;;;;;;;21894:128;22034:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22034:29:0;-1:-1:-1;;;;;22034:29:0;;;;;;;;;22079:28;;22034:24;;22079:28;;;;;;;21729:386;;;:::o;13445:315::-;13711:12;;13695:13;;:28;-1:-1:-1;;13695:46:0;;13445:315::o;23190:170::-;23324:28;23334:4;23340:2;23344:7;23324:9;:28::i;:::-;23190:170;;;:::o;23431:185::-;23569:39;23586:4;23592:2;23596:7;23569:39;;;;;;;;;;;;:16;:39::i;62954:451::-;62065:9;62078:10;62065:23;62057:48;;;;-1:-1:-1;;;62057:48:0;;;;;;;:::i;:::-;;;;;;;;;62132:13;:11;:13::i;:::-;:17;;62148:1;62132:17;:::i;:::-;62120:9;;:29;62116:53;;;62158:11;;-1:-1:-1;;;62158:11:0;;;;;;;;;;;62116:53;63040:9:::1;::::0;;;::::1;;;63032:38;;;::::0;-1:-1:-1;;;63032:38:0;;15508:2:1;63032:38:0::1;::::0;::::1;15490:21:1::0;15547:2;15527:18;;;15520:30;-1:-1:-1;;;15566:18:1;;;15559:46;15622:18;;63032:38:0::1;15480:166:1::0;63032:38:0::1;63102:10;63089:24;::::0;;;:12:::1;:24;::::0;;;;;:29;63081:56:::1;;;::::0;-1:-1:-1;;;63081:56:0;;13111:2:1;63081:56:0::1;::::0;::::1;13093:21:1::0;13150:2;13130:18;;;13123:30;-1:-1:-1;;;13169:18:1;;;13162:44;13223:18;;63081:56:0::1;13083:164:1::0;63081:56:0::1;63153:59;63172:5;;63153:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;63179:13:0::1;::::0;;-1:-1:-1;63194:17:0::1;::::0;-1:-1:-1;63200:10:0::1;63194:5;:17::i;:::-;63153:18;:59::i;:::-;63148:180;;63233:59;63252:5;;63233:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;63259:13:0::1;::::0;;-1:-1:-1;63274:17:0::1;::::0;-1:-1:-1;63280:10:0::1;63274:5;:17::i;63233:59::-;63229:87;;63294:22;::::0;-1:-1:-1;;;63294:22:0;;13815:2:1;63294:22:0::1;::::0;::::1;13797:21:1::0;13854:2;13834:18;;;13827:30;-1:-1:-1;;;13873:18:1;;;13866:42;13925:18;;63294:22:0::1;13787:162:1::0;63229:87:0::1;63351:10;63338:24;::::0;;;:12:::1;:24;::::0;;;;63365:1:::1;63338:28:::0;;;;63377:20:::1;::::0;63351:10;63377:5:::1;:20::i;:::-;62954:451:::0;;:::o;64784:106::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;64857:25;;::::1;::::0;:13:::1;::::0;:25:::1;::::0;::::1;::::0;::::1;:::i;64261:97::-:0;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;64329:13:::1;:21:::0;64261:97::o;48039:560::-;48183:23;48274:8;48249:22;48274:8;48341:68;;;;;;-1:-1:-1;;;48341:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48341:68:0;;-1:-1:-1;;48341:68:0;;;;;;;;;;;;48304:105;;48429:9;48424:125;48445:14;48440:1;:19;48424:125;;48501:32;48521:8;;48530:1;48521:11;;;;;-1:-1:-1;;;48521:11:0;;;;;;;;;;;;;;;48501:19;:32::i;:::-;48485:10;48496:1;48485:13;;;;;;-1:-1:-1;;;48485:13:0;;;;;;;;;;;;;;;;;;:48;48461:3;;48424:125;;;-1:-1:-1;48570:10:0;48039:560;-1:-1:-1;;;;48039:560:0:o;20113:144::-;20177:7;20220:27;20239:7;20220:18;:27::i;15120:224::-;15184:7;-1:-1:-1;;;;;15208:19:0;;15204:60;;15236:28;;-1:-1:-1;;;15236:28:0;;;;;;;;;;;15204:60;-1:-1:-1;;;;;;15282:25:0;;;;;:18;:25;;;;;;9792:13;15282:54;;15120:224::o;55496:103::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;55561:30:::1;55588:1;55561:18;:30::i;:::-;55496:103::o:0;64364:196::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;64468:8:::1;:20:::0;;-1:-1:-1;;64499:20:0;64468::::1;::::0;::::1;;::::0;;;::::1;-1:-1:-1::0;;64499:20:0;;;;;;::::1;;::::0;;;::::1;-1:-1:-1::0;;64530:22:0::1;::::0;;::::1;;::::0;;;::::1;;::::0;;64364:196::o;64157:97::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;64225:13:::1;:21:::0;64157:97::o;64568:208::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;64657:7:::1;64641:13;:11;:13::i;:::-;:23;64637:47;;;64673:11;;-1:-1:-1::0;;;64673:11:0::1;;;;;;;;;;;64637:47;64709:9;;64699:7;:19;64695:43;;;64727:11;;-1:-1:-1::0;;;64727:11:0::1;;;;;;;;;;;64695:43;64749:9;:19:::0;64568:208::o;52013:1016::-;52136:16;52195:19;52229:25;52269:22;52294:16;52304:5;52294:9;:16::i;:::-;52269:41;;52325:25;52367:14;52353:29;;;;;;-1:-1:-1;;;52353:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52353:29:0;;52325:57;;52397:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52397:31:0;63792:1;52443:538;52527:14;52512:11;:29;52443:538;;52610:15;52623:1;52610:12;:15::i;:::-;52598:27;;52648:9;:16;;;52644:73;;;52689:8;;52644:73;52739:14;;-1:-1:-1;;;;;52739:28:0;;52735:111;;52812:14;;;-1:-1:-1;52735:111:0;52889:5;-1:-1:-1;;;;;52868:26:0;:17;-1:-1:-1;;;;;52868:26:0;;52864:102;;;52945:1;52919:8;52928:13;;;;;;52919:23;;;;;;-1:-1:-1;;;52919:23:0;;;;;;;;;;;;;;:27;;;;;52864:102;52560:3;;52443:538;;;-1:-1:-1;53002:8:0;;52013:1016;-1:-1:-1;;;;;;52013:1016:0:o;20493:104::-;20549:13;20582:7;20575:14;;;;;:::i;48987:2579::-;49130:16;49197:4;49188:5;:13;49184:45;;49210:19;;-1:-1:-1;;;49210:19:0;;;;;;;;;;;49184:45;49244:19;49278:17;49298:14;13214:13;;;13140:95;49298:14;49278:34;-1:-1:-1;63792:1:0;49390:5;:23;49386:87;;;63792:1;49434:23;;49386:87;49549:9;49542:4;:16;49538:73;;;49586:9;49579:16;;49538:73;49625:25;49653:16;49663:5;49653:9;:16::i;:::-;49625:44;;49847:4;49839:5;:12;49835:278;;;49894:12;;;49929:31;;;49925:111;;;50005:11;49985:31;;49925:111;49835:278;;;;-1:-1:-1;50096:1:0;49835:278;50127:25;50169:17;50155:32;;;;;;-1:-1:-1;;;50155:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50155:32:0;-1:-1:-1;50127:60:0;-1:-1:-1;50206:22:0;50202:78;;50256:8;-1:-1:-1;50249:15:0;;-1:-1:-1;;;50249:15:0;50202:78;50424:31;50458:26;50478:5;50458:19;:26::i;:::-;50424:60;;50499:25;50744:9;:16;;;50739:92;;-1:-1:-1;50801:14:0;;50739:92;50880:5;50845:544;50909:4;50904:1;:9;;:45;;;;;50932:17;50917:11;:32;;50904:45;50845:544;;;51018:15;51031:1;51018:12;:15::i;:::-;51006:27;;51056:9;:16;;;51052:73;;;51097:8;;51052:73;51147:14;;-1:-1:-1;;;;;51147:28:0;;51143:111;;51220:14;;;-1:-1:-1;51143:111:0;51297:5;-1:-1:-1;;;;;51276:26:0;:17;-1:-1:-1;;;;;51276:26:0;;51272:102;;;51353:1;51327:8;51336:13;;;;;;51327:23;;;;;;-1:-1:-1;;;51327:23:0;;;;;;;;;;;;;;:27;;;;;51272:102;50968:3;;50845:544;;;-1:-1:-1;;;51474:29:0;;;-1:-1:-1;51481:8:0;;-1:-1:-1;;48987:2579:0;;;;;;:::o;22498:340::-;-1:-1:-1;;;;;22629:31:0;;41732:10;22629:31;22625:61;;;22669:17;;-1:-1:-1;;;22669:17:0;;;;;;;;;;;22625:61;41732:10;22699:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22699:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22699:60:0;;;;;;;;;;22775:55;;10870:41:1;;;22699:49:0;;41732:10;22775:55;;10843:18:1;22775:55:0;;;;;;;22498:340;;:::o;62228:355::-;62065:9;62078:10;62065:23;62057:48;;;;-1:-1:-1;;;62057:48:0;;;;;;;:::i;:::-;62132:13;:11;:13::i;:::-;:17;;62148:1;62132:17;:::i;:::-;62120:9;;:29;62116:53;;;62158:11;;-1:-1:-1;;;62158:11:0;;;;;;;;;;;62116:53;58611:21:::1;:19;:21::i;:::-;62331:8:::2;::::0;::::2;;62323:32;;;::::0;-1:-1:-1;;;62323:32:0;;12089:2:1;62323:32:0::2;::::0;::::2;12071:21:1::0;12128:2;12108:18;;;12101:30;-1:-1:-1;;;12147:18:1;;;12140:41;12198:18;;62323:32:0::2;12061:161:1::0;62323:32:0::2;62374:25;62388:10;62374:13;:25::i;:::-;:30:::0;62366:52:::2;;;::::0;-1:-1:-1;;;62366:52:0;;12429:2:1;62366:52:0::2;::::0;::::2;12411:21:1::0;12468:1;12448:18;;;12441:29;-1:-1:-1;;;12486:18:1;;;12479:39;12535:18;;62366:52:0::2;12401:158:1::0;62366:52:0::2;62451:59;62470:5;;62451:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;62477:13:0::2;::::0;;-1:-1:-1;62492:17:0::2;::::0;-1:-1:-1;62498:10:0::2;62492:5;:17::i;62451:59::-;62429:115;;;::::0;-1:-1:-1;;;62429:115:0;;11755:2:1;62429:115:0::2;::::0;::::2;11737:21:1::0;11794:1;11774:18;;;11767:29;-1:-1:-1;;;11812:18:1;;;11805:36;11858:18;;62429:115:0::2;11727:155:1::0;62429:115:0::2;62555:20;62561:10;62573:1;62555:5;:20::i;:::-;58655::::1;58049:1:::0;59171:22;;58988:213;23687:396;23854:28;23864:4;23870:2;23874:7;23854:9;:28::i;:::-;-1:-1:-1;;;;;23897:14:0;;;:19;23893:183;;23936:56;23967:4;23973:2;23977:7;23986:5;23936:30;:56::i;:::-;23931:145;;24020:40;;-1:-1:-1;;;24020:40:0;;;;;;;;;;;23931:145;23687:396;;;;:::o;63968:181::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;64080:9:::1;64064:13;:11;:13::i;:::-;:25;;;;:::i;:::-;64052:9;;:37;64048:61;;;64098:11;;-1:-1:-1::0;;;64098:11:0::1;;;;;;;;;;;64048:61;64120:21;64126:3;64131:9;64120:5;:21::i;64898:194::-:0;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;64982:12:::1;65008:3;-1:-1:-1::0;;;;;65000:17:0::1;65025:7;65000:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64981:56;;;65056:7;65048:36;;;::::0;-1:-1:-1;;;65048:36:0;;12766:2:1;65048:36:0::1;::::0;::::1;12748:21:1::0;12805:2;12785:18;;;12778:30;-1:-1:-1;;;12824:18:1;;;12817:46;12880:18;;65048:36:0::1;12738:166:1::0;47402:478:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63792:1:0;47616:7;:25;:54;;;-1:-1:-1;13214:13:0;;47645:7;:25;;47616:54;47612:103;;;47694:9;47402:478;-1:-1:-1;;47402:478:0:o;47612:103::-;47737:21;47750:7;47737:12;:21::i;:::-;47725:33;;47773:9;:16;;;47769:65;;;47813:9;47402:478;-1:-1:-1;;47402:478:0:o;47769:65::-;47851:21;47864:7;47851:12;:21::i;20668:424::-;20786:13;20822:16;20830:7;20822;:16::i;:::-;20817:59;;20847:29;;-1:-1:-1;;;20847:29:0;;;;;;;;;;;20817:59;20889:21;20913:10;:8;:10::i;:::-;20889:34;;20960:7;20954:21;20979:1;20954:26;;:130;;;;;;;;;;;;;;;;;21024:7;21033:18;21043:7;21033:9;:18::i;:::-;21007:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20934:150;20668:424;-1:-1:-1;;;20668:424:0:o;63413:131::-;63481:7;63513:23;63527:8;63513:13;:23::i;62591:355::-;62065:9;62078:10;62065:23;62057:48;;;;-1:-1:-1;;;62057:48:0;;;;;;;:::i;:::-;62132:13;:11;:13::i;:::-;:17;;62148:1;62132:17;:::i;:::-;62120:9;;:29;62116:53;;;62158:11;;-1:-1:-1;;;62158:11:0;;;;;;;;;;;62116:53;58611:21:::1;:19;:21::i;:::-;62694:8:::2;::::0;::::2;::::0;::::2;;;62686:32;;;::::0;-1:-1:-1;;;62686:32:0;;14156:2:1;62686:32:0::2;::::0;::::2;14138:21:1::0;14195:2;14175:18;;;14168:30;-1:-1:-1;;;14214:18:1;;;14207:41;14265:18;;62686:32:0::2;14128:161:1::0;62686:32:0::2;62737:25;62751:10;62737:13;:25::i;:::-;:30:::0;62729:52:::2;;;::::0;-1:-1:-1;;;62729:52:0;;14496:2:1;62729:52:0::2;::::0;::::2;14478:21:1::0;14535:1;14515:18;;;14508:29;-1:-1:-1;;;14553:18:1;;;14546:39;14602:18;;62729:52:0::2;14468:158:1::0;62729:52:0::2;62814:59;62833:5;;62814:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;62840:13:0::2;::::0;;-1:-1:-1;62855:17:0::2;::::0;-1:-1:-1;62861:10:0::2;62855:5;:17::i;62814:59::-;62792:115;;;::::0;-1:-1:-1;;;62792:115:0;;15174:2:1;62792:115:0::2;::::0;::::2;15156:21:1::0;15213:1;15193:18;;;15186:29;-1:-1:-1;;;15231:18:1;;;15224:36;15277:18;;62792:115:0::2;15146:155:1::0;55754:238:0;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55857:22:0;::::1;55835:110;;;::::0;-1:-1:-1;;;55835:110:0;;11348:2:1;55835:110:0::1;::::0;::::1;11330:21:1::0;11387:2;11367:18;;;11360:30;11426:34;11406:18;;;11399:62;-1:-1:-1;;;11477:18:1;;;11470:36;11523:19;;55835:110:0::1;11320:228:1::0;55835:110:0::1;55956:28;55975:8;55956:18;:28::i;:::-;55754:238:::0;:::o;24338:273::-;24395:4;24451:7;63792:1;24432:26;;:66;;;;;24485:13;;24475:7;:23;24432:66;:152;;;;-1:-1:-1;;24536:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24536:43:0;:48;;24338:273::o;31215:2666::-;31330:27;31360;31379:7;31360:18;:27::i;:::-;31330:57;;31445:4;-1:-1:-1;;;;;31404:45:0;31420:19;-1:-1:-1;;;;;31404:45:0;;31400:99;;31471:28;;-1:-1:-1;;;31471:28:0;;;;;;;;;;;31400:99;31512:23;31538:24;;;:15;:24;;;;;;-1:-1:-1;;;;;31538:24:0;;;;31512:23;31601:27;;41732:10;31601:27;;:87;;-1:-1:-1;31645:43:0;31662:4;41732:10;22909:214;:::i;31645:43::-;31601:142;;;-1:-1:-1;;;;;;31705:38:0;;41732:10;31705:38;31601:142;31575:169;;31762:17;31757:66;;31788:35;;-1:-1:-1;;;31788:35:0;;;;;;;;;;;31757:66;-1:-1:-1;;;;;31838:16:0;;31834:52;;31863:23;;-1:-1:-1;;;31863:23:0;;;;;;;;;;;31834:52;-1:-1:-1;;;;;32012:29:0;;;32008:91;;30695:52;30800:21;;;30750:15;30842:4;30835:35;30909:4;30896:18;;30928:15;32058:29;-1:-1:-1;;;;;32466:24:0;;;;;;;:18;:24;;;;;;32464:26;;-1:-1:-1;;32464:26:0;;;32535:22;;;;;;;;;32533:24;;-1:-1:-1;32533:24:0;;;19998:11;19974:22;19970:40;19922:111;-1:-1:-1;;;19922:111:0;32828:26;;;;:17;:26;;;;;:195;-1:-1:-1;;;33143:46:0;;33139:626;;33247:1;33237:11;;33215:19;33370:30;;;:17;:30;;;;;;33366:384;;33508:13;;33493:11;:28;33489:242;;33655:30;;;;:17;:30;;;;;:52;;;33489:242;33139:626;;33812:7;33808:2;-1:-1:-1;;;;;33793:27:0;33802:4;-1:-1:-1;;;;;33793:27:0;;;;;;;;;;;31215:2666;;;;;;:::o;63807:128::-;63900:26;;-1:-1:-1;;7472:2:1;7468:15;;;7464:53;63900:26:0;;;7452:66:1;63863:7:0;;7534:12:1;;63900:26:0;;;;;;;;;;;;63890:37;;;;;;63883:44;;63807:128;;;:::o;59968:190::-;60093:4;60146;60117:25;60130:5;60137:4;60117:12;:25::i;:::-;:33;;59968:190;-1:-1:-1;;;;59968:190:0:o;26360:1690::-;26448:13;;-1:-1:-1;;;;;26476:16:0;;26472:48;;26501:19;;-1:-1:-1;;;26501:19:0;;;;;;;;;;;26472:48;26535:13;26531:44;;26557:18;;-1:-1:-1;;;26557:18:0;;;;;;;;;;;26531:44;-1:-1:-1;;;;;27124:22:0;;;;;;:18;:22;;9929:2;27124:22;;:104;;27196:31;27167:61;;27124:104;;;19998:11;19974:22;19970:40;-1:-1:-1;27579:13:0;;10705:3;27564:56;19967:51;19922:111;27471:31;;;;:17;:31;;;;;:222;27489:12;27768:23;;;27806:99;27833:34;;27858:8;;;;;-1:-1:-1;;;;;27833:34:0;;;27850:1;;27833:34;;27850:1;;27833:34;27900:3;27891:6;:12;27806:99;;-1:-1:-1;;27937:23:0;27921:13;:39;-1:-1:-1;23190:170:0:o;16823:1161::-;16917:7;16957;;63792:1;17006:23;17002:915;;17059:13;;17052:4;:20;17048:869;;;17097:14;17114:23;;;:17;:23;;;;;;-1:-1:-1;;;17203:23:0;;17199:699;;17722:113;17729:11;17722:113;;-1:-1:-1;;;17800:6:0;17782:25;;;;:17;:25;;;;;;17722:113;;17199:699;17048:869;;17945:31;;-1:-1:-1;;;17945:31:0;;;;;;;;;;;56152:191;56226:16;56245:6;;-1:-1:-1;;;;;56262:17:0;;;-1:-1:-1;;;;;;56262:17:0;;;;;;56295:40;;56245:6;;;;;;;56295:40;;56226:16;56295:40;56152:191;;:::o;18564:185::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18716:24:0;;;;:17;:24;;;;;;18697:44;;:18;:44::i;58691:289::-;58093:1;58821:7;;:19;;58813:63;;;;-1:-1:-1;;;58813:63:0;;15853:2:1;58813:63:0;;;15835:21:1;15892:2;15872:18;;;15865:30;15931:33;15911:18;;;15904:61;15982:18;;58813:63:0;15825:181:1;58813:63:0;58093:1;58954:7;:18;58691:289::o;15426:202::-;-1:-1:-1;;;;;15528:25:0;15487:7;15528:25;;;:18;:25;;9929:2;15528:25;;;;;:49;;9792:13;15527:93;;15426:202::o;37706:831::-;37903:171;;-1:-1:-1;;;37903:171:0;;37869:4;;-1:-1:-1;;;;;37903:45:0;;;;;:171;;41732:10;;38005:4;;38028:7;;38054:5;;37903:171;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37903:171:0;;;;;;;;-1:-1:-1;;37903:171:0;;;;;;;;;;;;:::i;:::-;;;37886:644;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38288:13:0;;38284:235;;38334:40;;-1:-1:-1;;;38334:40:0;;;;;;;;;;;38284:235;38477:6;38471:13;38462:6;38458:2;38454:15;38447:38;37886:644;-1:-1:-1;;;;;;38147:81:0;-1:-1:-1;;;38147:81:0;;-1:-1:-1;37886:644:0;37706:831;;;;;;:::o;19252:190::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19387:47:0;19406:27;19425:7;19406:18;:27::i;:::-;19387:18;:47::i;63579:114::-;63639:13;63672;63665:20;;;;;:::i;41856:1992::-;42357:4;42351:11;;42364:3;42347:21;;42442:17;;;;43138:11;;;43017:5;43270:2;43284;43274:13;;43266:22;43138:11;43253:36;43325:2;43315:13;;42909:697;43344:4;42909:697;;;43535:1;43530:3;43526:11;43519:18;;43586:2;43580:4;43576:13;43572:2;43568:22;43563:3;43555:36;43439:2;43429:13;;42909:697;;;-1:-1:-1;43636:13:0;;;-1:-1:-1;;43751:12:0;;;43811:19;;;43751:12;41984:1857;-1:-1:-1;41984:1857:0:o;60520:813::-;60630:7;60678:4;60630:7;60693:603;60717:5;:12;60713:1;:16;60693:603;;;60751:20;60774:5;60780:1;60774:8;;;;;;-1:-1:-1;;;60774:8:0;;;;;;;;;;;;;;;60751:31;;60817:12;60801;:28;60797:488;;60976:44;;;;;;7714:19:1;;;7749:12;;;7742:28;;;7786:12;;60976:44:0;;;;;;;;;;;;60944:95;;;;;;60929:110;;60797:488;;;61206:44;;;;;;7714:19:1;;;7749:12;;;7742:28;;;7786:12;;61206:44:0;;;;;;;;;;;;61174:95;;;;;;61159:110;;60797:488;-1:-1:-1;60731:3:0;;;;:::i;:::-;;;;60693:603;;;-1:-1:-1;61313:12:0;60520:813;-1:-1:-1;;;60520:813:0:o;18078:395::-;-1:-1:-1;;;;;;;;;;;;;18220:41:0;;;;10446:3;18306:32;;;18272:67;;-1:-1:-1;;;18272:67:0;-1:-1:-1;;;18369:23:0;;:28;;-1:-1:-1;;;18350:47:0;;;;10963:3;18437:27;;;;-1:-1:-1;;;18408:57:0;-1:-1:-1;18078:395:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:391::-;891:8;901:6;955:3;948:4;940:6;936:17;932:27;922:2;;978:6;970;963:22;922:2;-1:-1:-1;1006:20:1;;1049:18;1038:30;;1035:2;;;1088:8;1078;1071:26;1035:2;1132:4;1124:6;1120:17;1108:29;;1192:3;1185:4;1175:6;1172:1;1168:14;1160:6;1156:27;1152:38;1149:47;1146:2;;;1209:1;1206;1199:12;1146:2;912:307;;;;;:::o;1224:160::-;1289:20;;1345:13;;1338:21;1328:32;;1318:2;;1374:1;1371;1364:12;1389:196;1448:6;1501:2;1489:9;1480:7;1476:23;1472:32;1469:2;;;1522:6;1514;1507:22;1469:2;1550:29;1569:9;1550:29;:::i;1590:270::-;1658:6;1666;1719:2;1707:9;1698:7;1694:23;1690:32;1687:2;;;1740:6;1732;1725:22;1687:2;1768:29;1787:9;1768:29;:::i;:::-;1758:39;;1816:38;1850:2;1839:9;1835:18;1816:38;:::i;:::-;1806:48;;1677:183;;;;;:::o;1865:338::-;1942:6;1950;1958;2011:2;1999:9;1990:7;1986:23;1982:32;1979:2;;;2032:6;2024;2017:22;1979:2;2060:29;2079:9;2060:29;:::i;:::-;2050:39;;2108:38;2142:2;2131:9;2127:18;2108:38;:::i;:::-;2098:48;;2193:2;2182:9;2178:18;2165:32;2155:42;;1969:234;;;;;:::o;2208:696::-;2303:6;2311;2319;2327;2380:3;2368:9;2359:7;2355:23;2351:33;2348:2;;;2402:6;2394;2387:22;2348:2;2430:29;2449:9;2430:29;:::i;:::-;2420:39;;2478:38;2512:2;2501:9;2497:18;2478:38;:::i;:::-;2468:48;;2563:2;2552:9;2548:18;2535:32;2525:42;;2618:2;2607:9;2603:18;2590:32;2645:18;2637:6;2634:30;2631:2;;;2682:6;2674;2667:22;2631:2;2710:22;;2763:4;2755:13;;2751:27;-1:-1:-1;2741:2:1;;2797:6;2789;2782:22;2741:2;2825:73;2890:7;2885:2;2872:16;2867:2;2863;2859:11;2825:73;:::i;:::-;2815:83;;;2338:566;;;;;;;:::o;2909:264::-;2974:6;2982;3035:2;3023:9;3014:7;3010:23;3006:32;3003:2;;;3056:6;3048;3041:22;3003:2;3084:29;3103:9;3084:29;:::i;:::-;3074:39;;3132:35;3163:2;3152:9;3148:18;3132:35;:::i;3178:264::-;3246:6;3254;3307:2;3295:9;3286:7;3282:23;3278:32;3275:2;;;3328:6;3320;3313:22;3275:2;3356:29;3375:9;3356:29;:::i;:::-;3346:39;3432:2;3417:18;;;;3404:32;;-1:-1:-1;;;3265:177:1:o;3447:332::-;3524:6;3532;3540;3593:2;3581:9;3572:7;3568:23;3564:32;3561:2;;;3614:6;3606;3599:22;3561:2;3642:29;3661:9;3642:29;:::i;:::-;3632:39;3718:2;3703:18;;3690:32;;-1:-1:-1;3769:2:1;3754:18;;;3741:32;;3551:228;-1:-1:-1;;;3551:228:1:o;3784:457::-;3870:6;3878;3931:2;3919:9;3910:7;3906:23;3902:32;3899:2;;;3952:6;3944;3937:22;3899:2;3997:9;3984:23;4030:18;4022:6;4019:30;4016:2;;;4067:6;4059;4052:22;4016:2;4111:70;4173:7;4164:6;4153:9;4149:22;4111:70;:::i;:::-;4200:8;;4085:96;;-1:-1:-1;3889:352:1;-1:-1:-1;;;;3889:352:1:o;4708:326::-;4776:6;4784;4792;4845:2;4833:9;4824:7;4820:23;4816:32;4813:2;;;4866:6;4858;4851:22;4813:2;4894:26;4910:9;4894:26;:::i;:::-;4884:36;;4939:35;4970:2;4959:9;4955:18;4939:35;:::i;:::-;4929:45;;4993:35;5024:2;5013:9;5009:18;4993:35;:::i;:::-;4983:45;;4803:231;;;;;:::o;5039:190::-;5098:6;5151:2;5139:9;5130:7;5126:23;5122:32;5119:2;;;5172:6;5164;5157:22;5119:2;-1:-1:-1;5200:23:1;;5109:120;-1:-1:-1;5109:120:1:o;5234:255::-;5292:6;5345:2;5333:9;5324:7;5320:23;5316:32;5313:2;;;5366:6;5358;5351:22;5313:2;5410:9;5397:23;5429:30;5453:5;5429:30;:::i;5494:259::-;5563:6;5616:2;5604:9;5595:7;5591:23;5587:32;5584:2;;;5637:6;5629;5622:22;5584:2;5674:9;5668:16;5693:30;5717:5;5693:30;:::i;5758:480::-;5827:6;5880:2;5868:9;5859:7;5855:23;5851:32;5848:2;;;5901:6;5893;5886:22;5848:2;5946:9;5933:23;5979:18;5971:6;5968:30;5965:2;;;6016:6;6008;6001:22;5965:2;6044:22;;6097:4;6089:13;;6085:27;-1:-1:-1;6075:2:1;;6131:6;6123;6116:22;6075:2;6159:73;6224:7;6219:2;6206:16;6201:2;6197;6193:11;6159:73;:::i;6438:264::-;6506:6;6514;6567:2;6555:9;6546:7;6542:23;6538:32;6535:2;;;6588:6;6580;6573:22;6535:2;6629:9;6616:23;6606:33;;6658:38;6692:2;6681:9;6677:18;6658:38;:::i;6707:257::-;6748:3;6786:5;6780:12;6813:6;6808:3;6801:19;6829:63;6885:6;6878:4;6873:3;6869:14;6862:4;6855:5;6851:16;6829:63;:::i;:::-;6946:2;6925:15;-1:-1:-1;;6921:29:1;6912:39;;;;6953:4;6908:50;;6756:208;-1:-1:-1;;6756:208:1:o;6969:349::-;7053:12;;-1:-1:-1;;;;;7049:38:1;7037:51;;7141:4;7130:16;;;7124:23;7149:18;7120:48;7104:14;;;7097:72;7232:4;7221:16;;;7215:23;7208:31;7201:39;7185:14;;;7178:63;7294:4;7283:16;;;7277:23;7302:8;7273:38;7257:14;;7250:62;7027:291::o;7809:637::-;8089:3;8127:6;8121:13;8143:53;8189:6;8184:3;8177:4;8169:6;8165:17;8143:53;:::i;:::-;8259:13;;8218:16;;;;8281:57;8259:13;8218:16;8315:4;8303:17;;8281:57;:::i;:::-;-1:-1:-1;;;8360:20:1;;8389:22;;;8438:1;8427:13;;8097:349;-1:-1:-1;;;;8097:349:1:o;8869:488::-;-1:-1:-1;;;;;9138:15:1;;;9120:34;;9190:15;;9185:2;9170:18;;9163:43;9237:2;9222:18;;9215:34;;;9285:3;9280:2;9265:18;;9258:31;;;9063:4;;9306:45;;9331:19;;9323:6;9306:45;:::i;:::-;9298:53;9072:285;-1:-1:-1;;;;;;9072:285:1:o;9362:723::-;9593:2;9645:21;;;9715:13;;9618:18;;;9737:22;;;9564:4;;9593:2;9816:15;;;;9790:2;9775:18;;;9564:4;9862:197;9876:6;9873:1;9870:13;9862:197;;;9925:52;9973:3;9964:6;9958:13;9925:52;:::i;:::-;10034:15;;;;10006:4;9997:14;;;;;9898:1;9891:9;9862:197;;10090:635;10261:2;10313:21;;;10383:13;;10286:18;;;10405:22;;;10232:4;;10261:2;10484:15;;;;10458:2;10443:18;;;10232:4;10530:169;10544:6;10541:1;10538:13;10530:169;;;10605:13;;10593:26;;10674:15;;;;10639:12;;;;10566:1;10559:9;10530:169;;10922:219;11071:2;11060:9;11053:21;11034:4;11091:44;11131:2;11120:9;11116:18;11108:6;11091:44;:::i;13252:356::-;13454:2;13436:21;;;13473:18;;;13466:30;13532:34;13527:2;13512:18;;13505:62;13599:2;13584:18;;13426:182::o;14631:336::-;14833:2;14815:21;;;14872:2;14852:18;;;14845:30;-1:-1:-1;;;14906:2:1;14891:18;;14884:42;14958:2;14943:18;;14805:162::o;16011:264::-;16205:3;16190:19;;16218:51;16194:9;16251:6;16218:51;:::i;16462:128::-;16502:3;16533:1;16529:6;16526:1;16523:13;16520:2;;;16539:18;;:::i;:::-;-1:-1:-1;16575:9:1;;16510:80::o;16595:258::-;16667:1;16677:113;16691:6;16688:1;16685:13;16677:113;;;16767:11;;;16761:18;16748:11;;;16741:39;16713:2;16706:10;16677:113;;;16808:6;16805:1;16802:13;16799:2;;;-1:-1:-1;;16843:1:1;16825:16;;16818:27;16648:205::o;16858:380::-;16937:1;16933:12;;;;16980;;;17001:2;;17055:4;17047:6;17043:17;17033:27;;17001:2;17108;17100:6;17097:14;17077:18;17074:38;17071:2;;;17154:10;17149:3;17145:20;17142:1;17135:31;17189:4;17186:1;17179:15;17217:4;17214:1;17207:15;17071:2;;16913:325;;;:::o;17243:135::-;17282:3;-1:-1:-1;;17303:17:1;;17300:2;;;17323:18;;:::i;:::-;-1:-1:-1;17370:1:1;17359:13;;17290:88::o;17383:127::-;17444:10;17439:3;17435:20;17432:1;17425:31;17475:4;17472:1;17465:15;17499:4;17496:1;17489:15;17515:127;17576:10;17571:3;17567:20;17564:1;17557:31;17607:4;17604:1;17597:15;17631:4;17628:1;17621:15;17647:131;-1:-1:-1;;;;;;17721:32:1;;17711:43;;17701:2;;17768:1;17765;17758:12
Swarm Source
ipfs://d2e7f61b19cf289fc617f8f455006f4ae58aa7e80a9c521870a045900aa46e69
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.