ERC-721
Overview
Max Total Supply
1,000 WJKLF
Holders
505
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WJKLFLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WojakLife
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract WojakLife is ERC721A, Ownable, ReentrancyGuard{ using Strings for uint; string public baseURI = "ipfs://QmShvXXYhnYpYaBVrikKvUnBE5i5FWZrmpMD2fvSnv4i7a/"; uint private constant MAX_MINTS = 5; uint private constant MAX_FREE_MINTS = 1000; uint public FREE_MINTED = 0; uint private constant MAX_SUPPLY = 4000; uint public mintRate = 0.0069 ether; uint private price = 0 ether; bool public mintStarted = false; mapping (address => bool) public freeWojakMinted; bytes32 public merkleRoot; address payable [] private payees; constructor(bytes32 _merkleRoot, address payable [] memory _addresses) ERC721A("WojakLife", "WJKLF") { merkleRoot = _merkleRoot; for(uint i = 0; i < _addresses.length; i++) { payees.push(_addresses[i]); } } function mint(uint256 quantity,bytes32[] memory proof) external payable { require(mintStarted, "Mint not started yet or has ended!"); require(msg.sender == tx.origin, "Contract minting not allowed."); require(quantity + _numberMinted(msg.sender) <= MAX_MINTS, "Exceeded the mint limit."); require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough supply left."); if(isValid(proof, keccak256(abi.encodePacked(msg.sender)))) { if(freeWojakMinted[msg.sender]) { price = quantity * mintRate; } else { if(FREE_MINTED < MAX_FREE_MINTS) { FREE_MINTED = FREE_MINTED + 1; freeWojakMinted[msg.sender] = true; price = (quantity-1) * mintRate; } else { price = quantity * mintRate; } } } else { price = quantity * mintRate; } require(msg.value >= price, "Not enough ether sent."); _safeMint(msg.sender, quantity); } function collabMint(address _to, uint256 quantity) external onlyOwner { require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough supply left."); _safeMint(_to, quantity); } function setMintState(bool _state) external onlyOwner { mintStarted = _state; } function setSaleMintRate(uint256 _mintRate) public onlyOwner { mintRate = _mintRate; } function withdrawAll() external onlyOwner { require(address(this).balance > 0,"You do not have enough balance!"); uint256 shares = address(this).balance/payees.length; for(uint i = 0; i < payees.length; i++) { payees[i].transfer(shares); } } function changeBaseURI(string memory _newURI) external onlyOwner { baseURI = _newURI; } function _baseURI() internal view override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI_ = _baseURI(); return bytes(baseURI_).length > 0 ? string(abi.encodePacked(baseURI_, Strings.toString(tokenId), ".json")) : ""; } function updateMerkleRoot(bytes32 _newMerkleRoot) external onlyOwner { merkleRoot = _newMerkleRoot; } function isValid(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, merkleRoot, leaf); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // 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() { // 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; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree 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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"address payable[]","name":"_addresses","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"collabMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeWojakMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintRate","type":"uint256"}],"name":"setSaleMintRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e060405260366080818152906200208060a03980516200002991600a91602090910190620001c8565b506000600b8190556618838370f34000600c55600d55600e805460ff191690553480156200005657600080fd5b50604051620020b6380380620020b683398101604081905262000079916200028b565b6040805180820182526009815268576f6a616b4c69666560b81b6020808301918252835180850190945260058452642ba525a62360d91b908401528151919291620000c791600291620001c8565b508051620000dd906003906020840190620001c8565b50506000805550620000ef3362000176565b6001600955601082905560005b81518110156200016d5760118282815181106200011d576200011d620003d9565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b03909216919091179055806200016481620003af565b915050620000fc565b50505062000405565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001d69062000372565b90600052602060002090601f016020900481019282620001fa576000855562000245565b82601f106200021557805160ff191683800117855562000245565b8280016001018555821562000245579182015b828111156200024557825182559160200191906001019062000228565b506200025392915062000257565b5090565b5b8082111562000253576000815560010162000258565b80516001600160a01b03811681146200028657600080fd5b919050565b600080604083850312156200029f57600080fd5b8251602080850151919350906001600160401b0380821115620002c157600080fd5b818601915086601f830112620002d657600080fd5b815181811115620002eb57620002eb620003ef565b8060051b604051601f19603f83011681018181108582111715620003135762000313620003ef565b604052828152858101935084860182860187018b10156200033357600080fd5b600095505b8386101562000361576200034c816200026e565b85526001959095019493860193860162000338565b508096505050505050509250929050565b600181811c908216806200038757607f821691505b60208210811415620003a957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620003d257634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b611c6b80620004156000396000f3fe6080604052600436106101d85760003560e01c80636c0360eb11610102578063b88d4fde11610095578063ca0dcf1611610064578063ca0dcf16146104f8578063e985e9c51461050e578063f2fde38b14610557578063fec651b41461057757600080fd5b8063b88d4fde14610492578063b8a20ed0146104a5578063ba41b0c6146104c5578063c87b56dd146104d857600080fd5b80638da5cb5b116100d15780638da5cb5b1461042557806395d89b4114610443578063a22cb46514610458578063a9722cf31461047857600080fd5b80636c0360eb146103c657806370a08231146103db578063715018a6146103fb578063853828b61461041057600080fd5b80632eb4a7ab1161017a5780634783f0ef116101495780634783f0ef14610350578063541dc671146103705780635e1a2636146103905780636352211e146103a657600080fd5b80632eb4a7ab146102d757806339a0c6f9146102ed578063408810ee1461030d57806342842e0e1461033d57600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806318160ddd1461028157806323b872dd146102a457806326412aca146102b757600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611919565b610597565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105e9565b6040516102099190611a8b565b34801561024057600080fd5b5061025461024f366004611900565b61067b565b6040516001600160a01b039091168152602001610209565b61027f61027a366004611876565b6106bf565b005b34801561028d57600080fd5b50600154600054035b604051908152602001610209565b61027f6102b2366004611794565b61075f565b3480156102c357600080fd5b5061027f6102d23660046118e5565b6108f0565b3480156102e357600080fd5b5061029660105481565b3480156102f957600080fd5b5061027f610308366004611953565b61090b565b34801561031957600080fd5b506101fd610328366004611746565b600f6020526000908152604090205460ff1681565b61027f61034b366004611794565b61092a565b34801561035c57600080fd5b5061027f61036b366004611900565b61094a565b34801561037c57600080fd5b5061027f61038b366004611900565b610957565b34801561039c57600080fd5b50610296600b5481565b3480156103b257600080fd5b506102546103c1366004611900565b610964565b3480156103d257600080fd5b5061022761096f565b3480156103e757600080fd5b506102966103f6366004611746565b6109fd565b34801561040757600080fd5b5061027f610a4c565b34801561041c57600080fd5b5061027f610a60565b34801561043157600080fd5b506008546001600160a01b0316610254565b34801561044f57600080fd5b50610227610b42565b34801561046457600080fd5b5061027f61047336600461184c565b610b51565b34801561048457600080fd5b50600e546101fd9060ff1681565b61027f6104a03660046117d0565b610bbd565b3480156104b157600080fd5b506101fd6104c03660046118a0565b610c07565b61027f6104d336600461199c565b610c1d565b3480156104e457600080fd5b506102276104f3366004611900565b610ee9565b34801561050457600080fd5b50610296600c5481565b34801561051a57600080fd5b506101fd610529366004611761565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056357600080fd5b5061027f610572366004611746565b610f6c565b34801561058357600080fd5b5061027f610592366004611876565b610fe5565b60006301ffc9a760e01b6001600160e01b0319831614806105c857506380ac58cd60e01b6001600160e01b03198316145b806105e35750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105f890611b5d565b80601f016020809104026020016040519081016040528092919081815260200182805461062490611b5d565b80156106715780601f1061064657610100808354040283529160200191610671565b820191906000526020600020905b81548152906001019060200180831161065457829003601f168201915b5050505050905090565b60006106868261105a565b6106a3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ca82610964565b9050336001600160a01b03821614610703576106e68133610529565b610703576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061076a82611081565b9050836001600160a01b0316816001600160a01b03161461079d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107ea576107cd8633610529565b6107ea57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661081157604051633a954ecd60e21b815260040160405180910390fd5b801561081c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108a757600184016000818152600460205260409020546108a55760005481146108a55760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108f86110e2565b600e805460ff1916911515919091179055565b6109136110e2565b805161092690600a9060208401906115a3565b5050565b61094583838360405180602001604052806000815250610bbd565b505050565b6109526110e2565b601055565b61095f6110e2565b600c55565b60006105e382611081565b600a805461097c90611b5d565b80601f01602080910402602001604051908101604052809291908181526020018280546109a890611b5d565b80156109f55780601f106109ca576101008083540402835291602001916109f5565b820191906000526020600020905b8154815290600101906020018083116109d857829003601f168201915b505050505081565b60006001600160a01b038216610a26576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a546110e2565b610a5e600061113c565b565b610a686110e2565b60004711610abd5760405162461bcd60e51b815260206004820152601f60248201527f596f7520646f206e6f74206861766520656e6f7567682062616c616e6365210060448201526064015b60405180910390fd5b601154600090610acd9047611ae7565b905060005b6011548110156109265760118181548110610aef57610aef611bf3565b60009182526020822001546040516001600160a01b039091169184156108fc02918591818181858888f19350505050158015610b2f573d6000803e3d6000fd5b5080610b3a81611b98565b915050610ad2565b6060600380546105f890611b5d565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610bc884848461075f565b6001600160a01b0383163b15610c0157610be48484848461118e565b610c01576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000610c168360105484611286565b9392505050565b600e5460ff16610c7a5760405162461bcd60e51b815260206004820152602260248201527f4d696e74206e6f74207374617274656420796574206f722068617320656e6465604482015261642160f01b6064820152608401610ab4565b333214610cc95760405162461bcd60e51b815260206004820152601d60248201527f436f6e7472616374206d696e74696e67206e6f7420616c6c6f7765642e0000006044820152606401610ab4565b6005610cf8336001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610d029084611acf565b1115610d505760405162461bcd60e51b815260206004820152601860248201527f457863656564656420746865206d696e74206c696d69742e00000000000000006044820152606401610ab4565b610fa082610d616001546000540390565b610d6b9190611acf565b1115610db35760405162461bcd60e51b81526020600482015260176024820152762737ba1032b737bab3b41039bab838363c903632b33a1760491b6044820152606401610ab4565b6040516bffffffffffffffffffffffff193360601b166020820152610df290829060340160405160208183030381529060405280519060200120610c07565b15610e8357336000908152600f602052604090205460ff1615610e2457600c54610e1c9083611afb565b600d55610e94565b6103e8600b541015610e7657600b54610e3e906001611acf565b600b55336000908152600f60205260409020805460ff19166001908117909155600c5490610e6c9084611b1a565b610e1c9190611afb565b600c54610e1c9083611afb565b600c54610e909083611afb565b600d555b600d54341015610edf5760405162461bcd60e51b81526020600482015260166024820152752737ba1032b737bab3b41032ba3432b91039b2b73a1760511b6044820152606401610ab4565b610926338361129c565b6060610ef48261105a565b610f1157604051630a14c4b560e41b815260040160405180910390fd5b6000610f1b6112b6565b90506000815111610f3b5760405180602001604052806000815250610c16565b80610f45846112c5565b604051602001610f56929190611a0f565b6040516020818303038152906040529392505050565b610f746110e2565b6001600160a01b038116610fd95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ab4565b610fe28161113c565b50565b610fed6110e2565b610fa081610ffe6001546000540390565b6110089190611acf565b11156110505760405162461bcd60e51b81526020600482015260176024820152762737ba1032b737bab3b41039bab838363c903632b33a1760491b6044820152606401610ab4565b610926828261129c565b60008054821080156105e3575050600090815260046020526040902054600160e01b161590565b6000816000548110156110c957600081815260046020526040902054600160e01b81166110c7575b80610c165750600019016000818152600460205260409020546110a9565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a5e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ab4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111c3903390899088908890600401611a4e565b602060405180830381600087803b1580156111dd57600080fd5b505af192505050801561120d575060408051601f3d908101601f1916820190925261120a91810190611936565b60015b611268573d80801561123b576040519150601f19603f3d011682016040523d82523d6000602084013e611240565b606091505b508051611260576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008261129385846113c3565b14949350505050565b610926828260405180602001604052806000815250611410565b6060600a80546105f890611b5d565b6060816112e95750506040805180820190915260018152600360fc1b602082015290565b8160005b811561131357806112fd81611b98565b915061130c9050600a83611ae7565b91506112ed565b60008167ffffffffffffffff81111561132e5761132e611c09565b6040519080825280601f01601f191660200182016040528015611358576020820181803683370190505b5090505b841561127e5761136d600183611b1a565b915061137a600a86611bb3565b611385906030611acf565b60f81b81838151811061139a5761139a611bf3565b60200101906001600160f81b031916908160001a9053506113bc600a86611ae7565b945061135c565b600081815b8451811015611408576113f4828683815181106113e7576113e7611bf3565b602002602001015161147d565b91508061140081611b98565b9150506113c8565b509392505050565b61141a83836114ac565b6001600160a01b0383163b15610945576000548281035b611444600086838060010194508661118e565b611461576040516368d2bf6b60e11b815260040160405180910390fd5b81811061143157816000541461147657600080fd5b5050505050565b6000818310611499576000828152602084905260409020610c16565b6000838152602083905260409020610c16565b600054816114cd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461157c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611544565b508161159a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546115af90611b5d565b90600052602060002090601f0160209004810192826115d15760008555611617565b82601f106115ea57805160ff1916838001178555611617565b82800160010185558215611617579182015b828111156116175782518255916020019190600101906115fc565b50611623929150611627565b5090565b5b808211156116235760008155600101611628565b600067ffffffffffffffff83111561165657611656611c09565b611669601f8401601f1916602001611a9e565b905082815283838301111561167d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146116ab57600080fd5b919050565b600082601f8301126116c157600080fd5b8135602067ffffffffffffffff8211156116dd576116dd611c09565b8160051b6116ec828201611a9e565b83815282810190868401838801850189101561170757600080fd5b600093505b8584101561172a57803583526001939093019291840191840161170c565b50979650505050505050565b803580151581146116ab57600080fd5b60006020828403121561175857600080fd5b610c1682611694565b6000806040838503121561177457600080fd5b61177d83611694565b915061178b60208401611694565b90509250929050565b6000806000606084860312156117a957600080fd5b6117b284611694565b92506117c060208501611694565b9150604084013590509250925092565b600080600080608085870312156117e657600080fd5b6117ef85611694565b93506117fd60208601611694565b925060408501359150606085013567ffffffffffffffff81111561182057600080fd5b8501601f8101871361183157600080fd5b6118408782356020840161163c565b91505092959194509250565b6000806040838503121561185f57600080fd5b61186883611694565b915061178b60208401611736565b6000806040838503121561188957600080fd5b61189283611694565b946020939093013593505050565b600080604083850312156118b357600080fd5b823567ffffffffffffffff8111156118ca57600080fd5b6118d6858286016116b0565b95602094909401359450505050565b6000602082840312156118f757600080fd5b610c1682611736565b60006020828403121561191257600080fd5b5035919050565b60006020828403121561192b57600080fd5b8135610c1681611c1f565b60006020828403121561194857600080fd5b8151610c1681611c1f565b60006020828403121561196557600080fd5b813567ffffffffffffffff81111561197c57600080fd5b8201601f8101841361198d57600080fd5b61127e8482356020840161163c565b600080604083850312156119af57600080fd5b82359150602083013567ffffffffffffffff8111156119cd57600080fd5b6119d9858286016116b0565b9150509250929050565b600081518084526119fb816020860160208601611b31565b601f01601f19169290920160200192915050565b60008351611a21818460208801611b31565b835190830190611a35818360208801611b31565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a81908301846119e3565b9695505050505050565b602081526000610c1660208301846119e3565b604051601f8201601f1916810167ffffffffffffffff81118282101715611ac757611ac7611c09565b604052919050565b60008219821115611ae257611ae2611bc7565b500190565b600082611af657611af6611bdd565b500490565b6000816000190483118215151615611b1557611b15611bc7565b500290565b600082821015611b2c57611b2c611bc7565b500390565b60005b83811015611b4c578181015183820152602001611b34565b83811115610c015750506000910152565b600181811c90821680611b7157607f821691505b60208210811415611b9257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611bac57611bac611bc7565b5060010190565b600082611bc257611bc2611bdd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610fe257600080fdfea264697066735822122056ebb4d95aa1b92e51f70c8fc3d8cd32d76a9569d42b57a5ef6fa6421fe4828864736f6c63430008070033697066733a2f2f516d536876585859686e59705961425672696b4b76556e424535693546575a726d704d44326676536e76346937612f023360b3ba6d3e4a251902ab86cd43d028ff35ee24986b9404753c9d5ad26de80000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000100000000000000000000000032a0cd0cb02c06fda231b5d048d2717171679e2e
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80636c0360eb11610102578063b88d4fde11610095578063ca0dcf1611610064578063ca0dcf16146104f8578063e985e9c51461050e578063f2fde38b14610557578063fec651b41461057757600080fd5b8063b88d4fde14610492578063b8a20ed0146104a5578063ba41b0c6146104c5578063c87b56dd146104d857600080fd5b80638da5cb5b116100d15780638da5cb5b1461042557806395d89b4114610443578063a22cb46514610458578063a9722cf31461047857600080fd5b80636c0360eb146103c657806370a08231146103db578063715018a6146103fb578063853828b61461041057600080fd5b80632eb4a7ab1161017a5780634783f0ef116101495780634783f0ef14610350578063541dc671146103705780635e1a2636146103905780636352211e146103a657600080fd5b80632eb4a7ab146102d757806339a0c6f9146102ed578063408810ee1461030d57806342842e0e1461033d57600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806318160ddd1461028157806323b872dd146102a457806326412aca146102b757600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611919565b610597565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105e9565b6040516102099190611a8b565b34801561024057600080fd5b5061025461024f366004611900565b61067b565b6040516001600160a01b039091168152602001610209565b61027f61027a366004611876565b6106bf565b005b34801561028d57600080fd5b50600154600054035b604051908152602001610209565b61027f6102b2366004611794565b61075f565b3480156102c357600080fd5b5061027f6102d23660046118e5565b6108f0565b3480156102e357600080fd5b5061029660105481565b3480156102f957600080fd5b5061027f610308366004611953565b61090b565b34801561031957600080fd5b506101fd610328366004611746565b600f6020526000908152604090205460ff1681565b61027f61034b366004611794565b61092a565b34801561035c57600080fd5b5061027f61036b366004611900565b61094a565b34801561037c57600080fd5b5061027f61038b366004611900565b610957565b34801561039c57600080fd5b50610296600b5481565b3480156103b257600080fd5b506102546103c1366004611900565b610964565b3480156103d257600080fd5b5061022761096f565b3480156103e757600080fd5b506102966103f6366004611746565b6109fd565b34801561040757600080fd5b5061027f610a4c565b34801561041c57600080fd5b5061027f610a60565b34801561043157600080fd5b506008546001600160a01b0316610254565b34801561044f57600080fd5b50610227610b42565b34801561046457600080fd5b5061027f61047336600461184c565b610b51565b34801561048457600080fd5b50600e546101fd9060ff1681565b61027f6104a03660046117d0565b610bbd565b3480156104b157600080fd5b506101fd6104c03660046118a0565b610c07565b61027f6104d336600461199c565b610c1d565b3480156104e457600080fd5b506102276104f3366004611900565b610ee9565b34801561050457600080fd5b50610296600c5481565b34801561051a57600080fd5b506101fd610529366004611761565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056357600080fd5b5061027f610572366004611746565b610f6c565b34801561058357600080fd5b5061027f610592366004611876565b610fe5565b60006301ffc9a760e01b6001600160e01b0319831614806105c857506380ac58cd60e01b6001600160e01b03198316145b806105e35750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105f890611b5d565b80601f016020809104026020016040519081016040528092919081815260200182805461062490611b5d565b80156106715780601f1061064657610100808354040283529160200191610671565b820191906000526020600020905b81548152906001019060200180831161065457829003601f168201915b5050505050905090565b60006106868261105a565b6106a3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ca82610964565b9050336001600160a01b03821614610703576106e68133610529565b610703576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061076a82611081565b9050836001600160a01b0316816001600160a01b03161461079d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107ea576107cd8633610529565b6107ea57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661081157604051633a954ecd60e21b815260040160405180910390fd5b801561081c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108a757600184016000818152600460205260409020546108a55760005481146108a55760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108f86110e2565b600e805460ff1916911515919091179055565b6109136110e2565b805161092690600a9060208401906115a3565b5050565b61094583838360405180602001604052806000815250610bbd565b505050565b6109526110e2565b601055565b61095f6110e2565b600c55565b60006105e382611081565b600a805461097c90611b5d565b80601f01602080910402602001604051908101604052809291908181526020018280546109a890611b5d565b80156109f55780601f106109ca576101008083540402835291602001916109f5565b820191906000526020600020905b8154815290600101906020018083116109d857829003601f168201915b505050505081565b60006001600160a01b038216610a26576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a546110e2565b610a5e600061113c565b565b610a686110e2565b60004711610abd5760405162461bcd60e51b815260206004820152601f60248201527f596f7520646f206e6f74206861766520656e6f7567682062616c616e6365210060448201526064015b60405180910390fd5b601154600090610acd9047611ae7565b905060005b6011548110156109265760118181548110610aef57610aef611bf3565b60009182526020822001546040516001600160a01b039091169184156108fc02918591818181858888f19350505050158015610b2f573d6000803e3d6000fd5b5080610b3a81611b98565b915050610ad2565b6060600380546105f890611b5d565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610bc884848461075f565b6001600160a01b0383163b15610c0157610be48484848461118e565b610c01576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000610c168360105484611286565b9392505050565b600e5460ff16610c7a5760405162461bcd60e51b815260206004820152602260248201527f4d696e74206e6f74207374617274656420796574206f722068617320656e6465604482015261642160f01b6064820152608401610ab4565b333214610cc95760405162461bcd60e51b815260206004820152601d60248201527f436f6e7472616374206d696e74696e67206e6f7420616c6c6f7765642e0000006044820152606401610ab4565b6005610cf8336001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610d029084611acf565b1115610d505760405162461bcd60e51b815260206004820152601860248201527f457863656564656420746865206d696e74206c696d69742e00000000000000006044820152606401610ab4565b610fa082610d616001546000540390565b610d6b9190611acf565b1115610db35760405162461bcd60e51b81526020600482015260176024820152762737ba1032b737bab3b41039bab838363c903632b33a1760491b6044820152606401610ab4565b6040516bffffffffffffffffffffffff193360601b166020820152610df290829060340160405160208183030381529060405280519060200120610c07565b15610e8357336000908152600f602052604090205460ff1615610e2457600c54610e1c9083611afb565b600d55610e94565b6103e8600b541015610e7657600b54610e3e906001611acf565b600b55336000908152600f60205260409020805460ff19166001908117909155600c5490610e6c9084611b1a565b610e1c9190611afb565b600c54610e1c9083611afb565b600c54610e909083611afb565b600d555b600d54341015610edf5760405162461bcd60e51b81526020600482015260166024820152752737ba1032b737bab3b41032ba3432b91039b2b73a1760511b6044820152606401610ab4565b610926338361129c565b6060610ef48261105a565b610f1157604051630a14c4b560e41b815260040160405180910390fd5b6000610f1b6112b6565b90506000815111610f3b5760405180602001604052806000815250610c16565b80610f45846112c5565b604051602001610f56929190611a0f565b6040516020818303038152906040529392505050565b610f746110e2565b6001600160a01b038116610fd95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ab4565b610fe28161113c565b50565b610fed6110e2565b610fa081610ffe6001546000540390565b6110089190611acf565b11156110505760405162461bcd60e51b81526020600482015260176024820152762737ba1032b737bab3b41039bab838363c903632b33a1760491b6044820152606401610ab4565b610926828261129c565b60008054821080156105e3575050600090815260046020526040902054600160e01b161590565b6000816000548110156110c957600081815260046020526040902054600160e01b81166110c7575b80610c165750600019016000818152600460205260409020546110a9565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a5e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ab4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111c3903390899088908890600401611a4e565b602060405180830381600087803b1580156111dd57600080fd5b505af192505050801561120d575060408051601f3d908101601f1916820190925261120a91810190611936565b60015b611268573d80801561123b576040519150601f19603f3d011682016040523d82523d6000602084013e611240565b606091505b508051611260576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008261129385846113c3565b14949350505050565b610926828260405180602001604052806000815250611410565b6060600a80546105f890611b5d565b6060816112e95750506040805180820190915260018152600360fc1b602082015290565b8160005b811561131357806112fd81611b98565b915061130c9050600a83611ae7565b91506112ed565b60008167ffffffffffffffff81111561132e5761132e611c09565b6040519080825280601f01601f191660200182016040528015611358576020820181803683370190505b5090505b841561127e5761136d600183611b1a565b915061137a600a86611bb3565b611385906030611acf565b60f81b81838151811061139a5761139a611bf3565b60200101906001600160f81b031916908160001a9053506113bc600a86611ae7565b945061135c565b600081815b8451811015611408576113f4828683815181106113e7576113e7611bf3565b602002602001015161147d565b91508061140081611b98565b9150506113c8565b509392505050565b61141a83836114ac565b6001600160a01b0383163b15610945576000548281035b611444600086838060010194508661118e565b611461576040516368d2bf6b60e11b815260040160405180910390fd5b81811061143157816000541461147657600080fd5b5050505050565b6000818310611499576000828152602084905260409020610c16565b6000838152602083905260409020610c16565b600054816114cd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461157c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611544565b508161159a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546115af90611b5d565b90600052602060002090601f0160209004810192826115d15760008555611617565b82601f106115ea57805160ff1916838001178555611617565b82800160010185558215611617579182015b828111156116175782518255916020019190600101906115fc565b50611623929150611627565b5090565b5b808211156116235760008155600101611628565b600067ffffffffffffffff83111561165657611656611c09565b611669601f8401601f1916602001611a9e565b905082815283838301111561167d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146116ab57600080fd5b919050565b600082601f8301126116c157600080fd5b8135602067ffffffffffffffff8211156116dd576116dd611c09565b8160051b6116ec828201611a9e565b83815282810190868401838801850189101561170757600080fd5b600093505b8584101561172a57803583526001939093019291840191840161170c565b50979650505050505050565b803580151581146116ab57600080fd5b60006020828403121561175857600080fd5b610c1682611694565b6000806040838503121561177457600080fd5b61177d83611694565b915061178b60208401611694565b90509250929050565b6000806000606084860312156117a957600080fd5b6117b284611694565b92506117c060208501611694565b9150604084013590509250925092565b600080600080608085870312156117e657600080fd5b6117ef85611694565b93506117fd60208601611694565b925060408501359150606085013567ffffffffffffffff81111561182057600080fd5b8501601f8101871361183157600080fd5b6118408782356020840161163c565b91505092959194509250565b6000806040838503121561185f57600080fd5b61186883611694565b915061178b60208401611736565b6000806040838503121561188957600080fd5b61189283611694565b946020939093013593505050565b600080604083850312156118b357600080fd5b823567ffffffffffffffff8111156118ca57600080fd5b6118d6858286016116b0565b95602094909401359450505050565b6000602082840312156118f757600080fd5b610c1682611736565b60006020828403121561191257600080fd5b5035919050565b60006020828403121561192b57600080fd5b8135610c1681611c1f565b60006020828403121561194857600080fd5b8151610c1681611c1f565b60006020828403121561196557600080fd5b813567ffffffffffffffff81111561197c57600080fd5b8201601f8101841361198d57600080fd5b61127e8482356020840161163c565b600080604083850312156119af57600080fd5b82359150602083013567ffffffffffffffff8111156119cd57600080fd5b6119d9858286016116b0565b9150509250929050565b600081518084526119fb816020860160208601611b31565b601f01601f19169290920160200192915050565b60008351611a21818460208801611b31565b835190830190611a35818360208801611b31565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a81908301846119e3565b9695505050505050565b602081526000610c1660208301846119e3565b604051601f8201601f1916810167ffffffffffffffff81118282101715611ac757611ac7611c09565b604052919050565b60008219821115611ae257611ae2611bc7565b500190565b600082611af657611af6611bdd565b500490565b6000816000190483118215151615611b1557611b15611bc7565b500290565b600082821015611b2c57611b2c611bc7565b500390565b60005b83811015611b4c578181015183820152602001611b34565b83811115610c015750506000910152565b600181811c90821680611b7157607f821691505b60208210811415611b9257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611bac57611bac611bc7565b5060010190565b600082611bc257611bc2611bdd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610fe257600080fdfea264697066735822122056ebb4d95aa1b92e51f70c8fc3d8cd32d76a9569d42b57a5ef6fa6421fe4828864736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
023360b3ba6d3e4a251902ab86cd43d028ff35ee24986b9404753c9d5ad26de80000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000100000000000000000000000032a0cd0cb02c06fda231b5d048d2717171679e2e
-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x023360b3ba6d3e4a251902ab86cd43d028ff35ee24986b9404753c9d5ad26de8
Arg [1] : _addresses (address[]): 0x32a0Cd0cB02C06FDA231B5d048D2717171679E2e
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 023360b3ba6d3e4a251902ab86cd43d028ff35ee24986b9404753c9d5ad26de8
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 00000000000000000000000032a0cd0cb02c06fda231b5d048d2717171679e2e
Deployed Bytecode Sourcemap
344:3719:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:6;;;;;;;;;;-1:-1:-1;9155:630:6;;;;;:::i;:::-;;:::i;:::-;;;7834:14:8;;7827:22;7809:41;;7797:2;7782:18;9155:630:6;;;;;;;;10039:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:6;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7132:32:8;;;7114:51;;7102:2;7087:18;16360:214:6;6968:203:8;15812:398:6;;;;;;:::i;:::-;;:::i;:::-;;5894:317;;;;;;;;;;-1:-1:-1;6164:12:6;;5955:7;6148:13;:28;5894:317;;;8007:25:8;;;7995:2;7980:18;5894:317:6;7861:177:8;19903:2764:6;;;;;;:::i;:::-;;:::i;2672:93:5:-;;;;;;;;;;-1:-1:-1;2672:93:5;;;;;:::i;:::-;;:::i;883:25::-;;;;;;;;;;;;;;;;3211:101;;;;;;;;;;-1:-1:-1;3211:101:5;;;;;:::i;:::-;;:::i;826:48::-;;;;;;;;;;-1:-1:-1;826:48:5;;;;;:::i;:::-;;;;;;;;;;;;;;;;22758:187:6;;;;;;:::i;:::-;;:::i;3784:115:5:-;;;;;;;;;;-1:-1:-1;3784:115:5;;;;;:::i;:::-;;:::i;2773:100::-;;;;;;;;;;-1:-1:-1;2773:100:5;;;;;:::i;:::-;;:::i;627:27::-;;;;;;;;;;;;;;;;11391:150:6;;;;;;;;;;-1:-1:-1;11391:150:6;;;;;:::i;:::-;;:::i;442:80:5:-;;;;;;;;;;;;;:::i;7045:230:6:-;;;;;;;;;;-1:-1:-1;7045:230:6;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;2881:322:5:-;;;;;;;;;;;;;:::i;1201:85:0:-;;;;;;;;;;-1:-1:-1;1273:6:0;;-1:-1:-1;;;;;1273:6:0;1201:85;;10208:102:6;;;;;;;;;;;;;:::i;16901:231::-;;;;;;;;;;-1:-1:-1;16901:231:6;;;;;:::i;:::-;;:::i;786:31:5:-;;;;;;;;;;-1:-1:-1;786:31:5;;;;;;;;23526:396:6;;;;;;:::i;:::-;;:::i;3907:151:5:-;;;;;;;;;;-1:-1:-1;3907:151:5;;;;;:::i;:::-;;:::i;1229:1229::-;;;;;;:::i;:::-;;:::i;3428:340::-;;;;;;;;;;-1:-1:-1;3428:340:5;;;;;:::i;:::-;;:::i;707:35::-;;;;;;;;;;;;;;;;17282:162:6;;;;;;;;;;-1:-1:-1;17282:162:6;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:6;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;2081:198:0;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;2466::5:-;;;;;;;;;;-1:-1:-1;2466:198:5;;;;;:::i;:::-;;:::i;9155:630:6:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:6;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:6;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:6;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:6:o;10039:98::-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:6;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:6;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:6;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:6;-1:-1:-1;;;;;15947:28:6;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:6;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:6;-1:-1:-1;;;;;16125:35:6;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:6;20128:19;-1:-1:-1;;;;;20112:45:6;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:6;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:6;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:6;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:6;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:6;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:6;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:6;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:6;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:6;21654:26;;;;:17;:26;;;;;:172;-1:-1:-1;;;21943:47:6;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:6;22590:4;-1:-1:-1;;;;;22581:27:6;;;;;;;;;;;20030:2637;;;19903:2764;;;:::o;2672:93:5:-;1094:13:0;:11;:13::i;:::-;2737:11:5::1;:20:::0;;-1:-1:-1;;2737:20:5::1;::::0;::::1;;::::0;;;::::1;::::0;;2672:93::o;3211:101::-;1094:13:0;:11;:13::i;:::-;3287:17:5;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;;3211:101:::0;:::o;22758:187:6:-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;3784:115:5:-;1094:13:0;:11;:13::i;:::-;3864:10:5::1;:27:::0;3784:115::o;2773:100::-;1094:13:0;:11;:13::i;:::-;2845:8:5::1;:20:::0;2773:100::o;11391:150:6:-;11463:7;11505:27;11524:7;11505:18;:27::i;442:80:5:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7045:230:6:-;7117:7;-1:-1:-1;;;;;7140:19:6;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:6;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:6;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;2881:322:5:-;1094:13:0;:11;:13::i;:::-;2966:1:5::1;2942:21;:25;2934:68;;;::::0;-1:-1:-1;;;2934:68:5;;8469:2:8;2934:68:5::1;::::0;::::1;8451:21:8::0;8508:2;8488:18;;;8481:30;8547:33;8527:18;;;8520:61;8598:18;;2934:68:5::1;;;;;;;;;3054:6;:13:::0;3015:14:::1;::::0;3032:35:::1;::::0;:21:::1;:35;:::i;:::-;3015:52;;3084:6;3080:106;3100:6;:13:::0;3096:17;::::1;3080:106;;;3146:6;3153:1;3146:9;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;:26:::1;::::0;-1:-1:-1;;;;;3146:9:5;;::::1;::::0;:26;::::1;;;::::0;3165:6;;3146:26;:9;:26;3165:6;3146:9;:26;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;3115:3:5;::::1;::::0;::::1;:::i;:::-;;;;3080:106;;10208:102:6::0;10264:13;10296:7;10289:14;;;;;:::i;16901:231::-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:6;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:6;;;;;;;;;;17070:55;;7809:41:8;;;16995:49:6;;39523:10;17070:55;;7782:18:8;17070:55:6;;;;;;;16901:231;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:6;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:6;;;;;;;;;;;23773:143;23526:396;;;;:::o;3907:151:5:-;3983:4;4007:43;4026:5;4033:10;;4045:4;4007:18;:43::i;:::-;4000:50;3907:151;-1:-1:-1;;;3907:151:5:o;1229:1229::-;1322:11;;;;1314:58;;;;-1:-1:-1;;;1314:58:5;;10660:2:8;1314:58:5;;;10642:21:8;10699:2;10679:18;;;10672:30;10738:34;10718:18;;;10711:62;-1:-1:-1;;;10789:18:8;;;10782:32;10831:19;;1314:58:5;10458:398:8;1314:58:5;1391:10;1405:9;1391:23;1383:65;;;;-1:-1:-1;;;1383:65:5;;9236:2:8;1383:65:5;;;9218:21:8;9275:2;9255:18;;;9248:30;9314:31;9294:18;;;9287:59;9363:18;;1383:65:5;9034:353:8;1383:65:5;569:1;1478:25;1492:10;-1:-1:-1;;;;;7440:25:6;7413:7;7440:25;;;:18;:25;;1495:2;7440:25;;;;;:50;;1360:13;7439:82;;7352:176;1478:25:5;1467:36;;:8;:36;:::i;:::-;:49;;1459:86;;;;-1:-1:-1;;;1459:86:5;;10307:2:8;1459:86:5;;;10289:21:8;10346:2;10326:18;;;10319:30;10385:26;10365:18;;;10358:54;10429:18;;1459:86:5;10105:348:8;1459:86:5;696:4;1580:8;1564:13;6164:12:6;;5955:7;6148:13;:28;;5894:317;1564:13:5;:24;;;;:::i;:::-;:38;;1556:74;;;;-1:-1:-1;;;1556:74:5;;9594:2:8;1556:74:5;;;9576:21:8;9633:2;9613:18;;;9606:30;-1:-1:-1;;;9652:18:8;;;9645:53;9715:18;;1556:74:5;9392:347:8;1556:74:5;1671:28;;-1:-1:-1;;1688:10:5;6241:2:8;6237:15;6233:53;1671:28:5;;;6221:66:8;1646:55:5;;1654:5;;6303:12:8;;1671:28:5;;;;;;;;;;;;1661:39;;;;;;1646:7;:55::i;:::-;1643:698;;;1746:10;1730:27;;;;:15;:27;;;;;;;;1727:517;;;1811:8;;1800:19;;:8;:19;:::i;:::-;1792:5;:27;1643:698;;1727:517;616:4;1889:11;;:28;1886:343;;;1973:11;;:15;;1987:1;1973:15;:::i;:::-;1959:11;:29;2027:10;2011:27;;;;:15;:27;;;;;:34;;-1:-1:-1;;2011:34:5;2041:4;2011:34;;;;;;2091:8;;;2077:10;;:8;:10;:::i;:::-;2076:23;;;;:::i;1886:343::-;2201:8;;2190:19;;:8;:19;:::i;1643:698::-;2319:8;;2308:19;;:8;:19;:::i;:::-;2300:5;:27;1643:698;2374:5;;2361:9;:18;;2353:53;;;;-1:-1:-1;;;2353:53:5;;11063:2:8;2353:53:5;;;11045:21:8;11102:2;11082:18;;;11075:30;-1:-1:-1;;;11121:18:8;;;11114:52;11183:18;;2353:53:5;10861:346:8;2353:53:5;2417:31;2427:10;2439:8;2417:9;:31::i;3428:340::-;3493:13;3524:16;3532:7;3524;:16::i;:::-;3519:59;;3549:29;;-1:-1:-1;;;3549:29:5;;;;;;;;;;;3519:59;3591:22;3616:10;:8;:10::i;:::-;3591:35;;3679:1;3660:8;3654:22;:26;:104;;;;;;;;;;;;;;;;;3707:8;3717:25;3734:7;3717:16;:25::i;:::-;3690:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3647:111;3428:340;-1:-1:-1;;;3428:340:5:o;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;8829:2:8;2161:73:0::1;::::0;::::1;8811:21:8::0;8868:2;8848:18;;;8841:30;8907:34;8887:18;;;8880:62;-1:-1:-1;;;8958:18:8;;;8951:36;9004:19;;2161:73:0::1;8627:402:8::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;2466::5:-;1094:13:0;:11;:13::i;:::-;696:4:5::1;2571:8;2555:13;6164:12:6::0;;5955:7;6148:13;:28;;5894:317;2555:13:5::1;:24;;;;:::i;:::-;:38;;2547:74;;;::::0;-1:-1:-1;;;2547:74:5;;9594:2:8;2547:74:5::1;::::0;::::1;9576:21:8::0;9633:2;9613:18;;;9606:30;-1:-1:-1;;;9652:18:8;;;9645:53;9715:18;;2547:74:5::1;9392:347:8::0;2547:74:5::1;2632:24;2642:3;2647:8;2632:9;:24::i;17693:277:6:-:0;17758:4;17845:13;;17835:7;:23;17793:151;;;;-1:-1:-1;;17895:26:6;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:6;:49;;17693:277::o;12515:1249::-;12582:7;12616;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;-1:-1:-1;;;12855:24:6;;12851:831;;13510:111;13517:11;13510:111;;-1:-1:-1;;;13587:6:6;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:6;;;;;;;;;;;1359:130:0;1273:6;;-1:-1:-1;;;;;1273:6:0;39523:10:6;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;9946:2:8;1414:68:0;;;9928:21:8;;;9965:18;;;9958:30;10024:34;10004:18;;;9997:62;10076:18;;1414:68:0;9744:356:8;2433:187:0;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;25948:697:6:-;26126:88;;-1:-1:-1;;;26126:88:6;;26106:4;;-1:-1:-1;;;;;26126:45:6;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:6;;;;;;;;-1:-1:-1;;26126:88:6;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26404:13:6;;26400:229;;26449:40;;-1:-1:-1;;;26449:40:6;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:6;-1:-1:-1;;;26282:64:6;;-1:-1:-1;26122:517:6;25948:697;;;;;;:::o;1153:184:4:-;1274:4;1326;1297:25;1310:5;1317:4;1297:12;:25::i;:::-;:33;;1153:184;-1:-1:-1;;;;1153:184:4:o;33423:110:6:-;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;3320:100:5:-;3372:13;3405:7;3398:14;;;;;:::i;392:703:3:-;448:13;665:10;661:51;;-1:-1:-1;;691:10:3;;;;;;;;;;;;-1:-1:-1;;;691:10:3;;;;;392:703::o;661:51::-;736:5;721:12;775:75;782:9;;775:75;;807:8;;;;:::i;:::-;;-1:-1:-1;829:10:3;;-1:-1:-1;837:2:3;829:10;;:::i;:::-;;;775:75;;;859:19;891:6;881:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;881:17:3;;859:39;;908:150;915:10;;908:150;;941:11;951:1;941:11;;:::i;:::-;;-1:-1:-1;1009:10:3;1017:2;1009:5;:10;:::i;:::-;996:24;;:2;:24;:::i;:::-;983:39;;966:6;973;966:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;966:56:3;;;;;;;;-1:-1:-1;1036:11:3;1045:2;1036:11;;:::i;:::-;;;908:150;;1991:290:4;2074:7;2116:4;2074:7;2130:116;2154:5;:12;2150:1;:16;2130:116;;;2202:33;2212:12;2226:5;2232:1;2226:8;;;;;;;;:::i;:::-;;;;;;;2202:9;:33::i;:::-;2187:48;-1:-1:-1;2168:3:4;;;;:::i;:::-;;;;2130:116;;;-1:-1:-1;2262:12:4;1991:290;-1:-1:-1;;;1991:290:4:o;32675:669:6:-;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:6;;;:19;32855:473;;32898:11;32912:13;32959:14;;;32991:229;33021:62;33060:1;33064:2;33068:7;;;;;;33077:5;33021:30;:62::i;:::-;33016:165;;33118:40;;-1:-1:-1;;;33118:40:6;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;33279:34;32880:448;;32675:669;;;:::o;8054:147:4:-;8117:7;8147:1;8143;:5;:51;;8275:13;8366:15;;;8401:4;8394:15;;;8447:4;8431:21;;8143:51;;;8275:13;8366:15;;;8401:4;8394:15;;;8447:4;8431:21;;8151:20;8207:261;27091:2902:6;27163:20;27186:13;27213;27209:44;;27235:18;;-1:-1:-1;;;27235:18:6;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:6;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:6;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;-1:-1:-1;29831:13:6;29827:45;;29853:19;;-1:-1:-1;;;29853:19:6;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:6;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:8;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:8;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:8;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:723::-;657:5;710:3;703:4;695:6;691:17;687:27;677:55;;728:1;725;718:12;677:55;764:6;751:20;790:4;813:18;809:2;806:26;803:52;;;835:18;;:::i;:::-;881:2;878:1;874:10;904:28;928:2;924;920:11;904:28;:::i;:::-;966:15;;;997:12;;;;1029:15;;;1063;;;1059:24;;1056:33;-1:-1:-1;1053:53:8;;;1102:1;1099;1092:12;1053:53;1124:1;1115:10;;1134:163;1148:2;1145:1;1142:9;1134:163;;;1205:17;;1193:30;;1166:1;1159:9;;;;;1243:12;;;;1275;;1134:163;;;-1:-1:-1;1315:5:8;603:723;-1:-1:-1;;;;;;;603:723:8:o;1331:160::-;1396:20;;1452:13;;1445:21;1435:32;;1425:60;;1481:1;1478;1471:12;1496:186;1555:6;1608:2;1596:9;1587:7;1583:23;1579:32;1576:52;;;1624:1;1621;1614:12;1576:52;1647:29;1666:9;1647:29;:::i;1687:260::-;1755:6;1763;1816:2;1804:9;1795:7;1791:23;1787:32;1784:52;;;1832:1;1829;1822:12;1784:52;1855:29;1874:9;1855:29;:::i;:::-;1845:39;;1903:38;1937:2;1926:9;1922:18;1903:38;:::i;:::-;1893:48;;1687:260;;;;;:::o;1952:328::-;2029:6;2037;2045;2098:2;2086:9;2077:7;2073:23;2069:32;2066:52;;;2114:1;2111;2104:12;2066:52;2137:29;2156:9;2137:29;:::i;:::-;2127:39;;2185:38;2219:2;2208:9;2204:18;2185:38;:::i;:::-;2175:48;;2270:2;2259:9;2255:18;2242:32;2232:42;;1952:328;;;;;:::o;2285:666::-;2380:6;2388;2396;2404;2457:3;2445:9;2436:7;2432:23;2428:33;2425:53;;;2474:1;2471;2464:12;2425:53;2497:29;2516:9;2497:29;:::i;:::-;2487:39;;2545:38;2579:2;2568:9;2564:18;2545:38;:::i;:::-;2535:48;;2630:2;2619:9;2615:18;2602:32;2592:42;;2685:2;2674:9;2670:18;2657:32;2712:18;2704:6;2701:30;2698:50;;;2744:1;2741;2734:12;2698:50;2767:22;;2820:4;2812:13;;2808:27;-1:-1:-1;2798:55:8;;2849:1;2846;2839:12;2798:55;2872:73;2937:7;2932:2;2919:16;2914:2;2910;2906:11;2872:73;:::i;:::-;2862:83;;;2285:666;;;;;;;:::o;2956:254::-;3021:6;3029;3082:2;3070:9;3061:7;3057:23;3053:32;3050:52;;;3098:1;3095;3088:12;3050:52;3121:29;3140:9;3121:29;:::i;:::-;3111:39;;3169:35;3200:2;3189:9;3185:18;3169:35;:::i;3215:254::-;3283:6;3291;3344:2;3332:9;3323:7;3319:23;3315:32;3312:52;;;3360:1;3357;3350:12;3312:52;3383:29;3402:9;3383:29;:::i;:::-;3373:39;3459:2;3444:18;;;;3431:32;;-1:-1:-1;;;3215:254:8:o;3474:416::-;3567:6;3575;3628:2;3616:9;3607:7;3603:23;3599:32;3596:52;;;3644:1;3641;3634:12;3596:52;3684:9;3671:23;3717:18;3709:6;3706:30;3703:50;;;3749:1;3746;3739:12;3703:50;3772:61;3825:7;3816:6;3805:9;3801:22;3772:61;:::i;:::-;3762:71;3880:2;3865:18;;;;3852:32;;-1:-1:-1;;;;3474:416:8:o;3895:180::-;3951:6;4004:2;3992:9;3983:7;3979:23;3975:32;3972:52;;;4020:1;4017;4010:12;3972:52;4043:26;4059:9;4043:26;:::i;4080:180::-;4139:6;4192:2;4180:9;4171:7;4167:23;4163:32;4160:52;;;4208:1;4205;4198:12;4160:52;-1:-1:-1;4231:23:8;;4080:180;-1:-1:-1;4080:180:8:o;4265:245::-;4323:6;4376:2;4364:9;4355:7;4351:23;4347:32;4344:52;;;4392:1;4389;4382:12;4344:52;4431:9;4418:23;4450:30;4474:5;4450:30;:::i;4515:249::-;4584:6;4637:2;4625:9;4616:7;4612:23;4608:32;4605:52;;;4653:1;4650;4643:12;4605:52;4685:9;4679:16;4704:30;4728:5;4704:30;:::i;4769:450::-;4838:6;4891:2;4879:9;4870:7;4866:23;4862:32;4859:52;;;4907:1;4904;4897:12;4859:52;4947:9;4934:23;4980:18;4972:6;4969:30;4966:50;;;5012:1;5009;5002:12;4966:50;5035:22;;5088:4;5080:13;;5076:27;-1:-1:-1;5066:55:8;;5117:1;5114;5107:12;5066:55;5140:73;5205:7;5200:2;5187:16;5182:2;5178;5174:11;5140:73;:::i;5409:416::-;5502:6;5510;5563:2;5551:9;5542:7;5538:23;5534:32;5531:52;;;5579:1;5576;5569:12;5531:52;5615:9;5602:23;5592:33;;5676:2;5665:9;5661:18;5648:32;5703:18;5695:6;5692:30;5689:50;;;5735:1;5732;5725:12;5689:50;5758:61;5811:7;5802:6;5791:9;5787:22;5758:61;:::i;:::-;5748:71;;;5409:416;;;;;:::o;5830:257::-;5871:3;5909:5;5903:12;5936:6;5931:3;5924:19;5952:63;6008:6;6001:4;5996:3;5992:14;5985:4;5978:5;5974:16;5952:63;:::i;:::-;6069:2;6048:15;-1:-1:-1;;6044:29:8;6035:39;;;;6076:4;6031:50;;5830:257;-1:-1:-1;;5830:257:8:o;6326:637::-;6606:3;6644:6;6638:13;6660:53;6706:6;6701:3;6694:4;6686:6;6682:17;6660:53;:::i;:::-;6776:13;;6735:16;;;;6798:57;6776:13;6735:16;6832:4;6820:17;;6798:57;:::i;:::-;-1:-1:-1;;;6877:20:8;;6906:22;;;6955:1;6944:13;;6326:637;-1:-1:-1;;;;6326:637:8:o;7176:488::-;-1:-1:-1;;;;;7445:15:8;;;7427:34;;7497:15;;7492:2;7477:18;;7470:43;7544:2;7529:18;;7522:34;;;7592:3;7587:2;7572:18;;7565:31;;;7370:4;;7613:45;;7638:19;;7630:6;7613:45;:::i;:::-;7605:53;7176:488;-1:-1:-1;;;;;;7176:488:8:o;8043:219::-;8192:2;8181:9;8174:21;8155:4;8212:44;8252:2;8241:9;8237:18;8229:6;8212:44;:::i;11394:275::-;11465:2;11459:9;11530:2;11511:13;;-1:-1:-1;;11507:27:8;11495:40;;11565:18;11550:34;;11586:22;;;11547:62;11544:88;;;11612:18;;:::i;:::-;11648:2;11641:22;11394:275;;-1:-1:-1;11394:275:8:o;11674:128::-;11714:3;11745:1;11741:6;11738:1;11735:13;11732:39;;;11751:18;;:::i;:::-;-1:-1:-1;11787:9:8;;11674:128::o;11807:120::-;11847:1;11873;11863:35;;11878:18;;:::i;:::-;-1:-1:-1;11912:9:8;;11807:120::o;11932:168::-;11972:7;12038:1;12034;12030:6;12026:14;12023:1;12020:21;12015:1;12008:9;12001:17;11997:45;11994:71;;;12045:18;;:::i;:::-;-1:-1:-1;12085:9:8;;11932:168::o;12105:125::-;12145:4;12173:1;12170;12167:8;12164:34;;;12178:18;;:::i;:::-;-1:-1:-1;12215:9:8;;12105:125::o;12235:258::-;12307:1;12317:113;12331:6;12328:1;12325:13;12317:113;;;12407:11;;;12401:18;12388:11;;;12381:39;12353:2;12346:10;12317:113;;;12448:6;12445:1;12442:13;12439:48;;;-1:-1:-1;;12483:1:8;12465:16;;12458:27;12235:258::o;12498:380::-;12577:1;12573:12;;;;12620;;;12641:61;;12695:4;12687:6;12683:17;12673:27;;12641:61;12748:2;12740:6;12737:14;12717:18;12714:38;12711:161;;;12794:10;12789:3;12785:20;12782:1;12775:31;12829:4;12826:1;12819:15;12857:4;12854:1;12847:15;12711:161;;12498:380;;;:::o;12883:135::-;12922:3;-1:-1:-1;;12943:17:8;;12940:43;;;12963:18;;:::i;:::-;-1:-1:-1;13010:1:8;12999:13;;12883:135::o;13023:112::-;13055:1;13081;13071:35;;13086:18;;:::i;:::-;-1:-1:-1;13120:9:8;;13023:112::o;13140:127::-;13201:10;13196:3;13192:20;13189:1;13182:31;13232:4;13229:1;13222:15;13256:4;13253:1;13246:15;13272:127;13333:10;13328:3;13324:20;13321:1;13314:31;13364:4;13361:1;13354:15;13388:4;13385:1;13378:15;13404:127;13465:10;13460:3;13456:20;13453:1;13446:31;13496:4;13493:1;13486:15;13520:4;13517:1;13510:15;13536:127;13597:10;13592:3;13588:20;13585:1;13578:31;13628:4;13625:1;13618:15;13652:4;13649:1;13642:15;13668:131;-1:-1:-1;;;;;;13742:32:8;;13732:43;;13722:71;;13789:1;13786;13779:12
Swarm Source
ipfs://56ebb4d95aa1b92e51f70c8fc3d8cd32d76a9569d42b57a5ef6fa6421fe48288
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.