ERC-721
Overview
Max Total Supply
1,794 MORTI
Holders
258
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 MORTILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MORTI
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./MerkleProof.sol"; import "./ERC721AQueryable.sol"; contract MORTI is ERC721AQueryable { bool public mintEnabled = false; address public deployer; string public baseUri; uint256 public constant MAX_SUPPLY = 3000; uint256 public startTokenId; // Merkle Tree bytes32 public merkleRoot; mapping(address => bool) public claimed; constructor(string memory name_, string memory symbol_, string memory _baseUri) ERC721A(name_, symbol_) { // @todo Mint to specific wallet addresses deployer = msg.sender; baseUri = _baseUri; } function setMerkleRoot(bytes32 _root) public { require(msg.sender == deployer, "Only deployer can set the Merkle Root"); merkleRoot = _root; } function getMintEnabled() public view returns (bool) { return mintEnabled; } function _startTokenId() internal view override returns (uint256) { return startTokenId; } function updateBaseURI(string memory _baseUri) external { require(msg.sender == deployer, "Only deployer can update base URI"); baseUri = _baseUri; } function toggleMintEnabled(bool toggle) external { require(msg.sender == deployer, "Only deployer can toggle minting"); mintEnabled = toggle; } function setMintEnabled() external { require(msg.sender == deployer, "Only deployer can set minting"); mintEnabled = true; } function _baseURI() internal view virtual override returns (string memory) { return baseUri; } function baseURI() public view returns (string memory) { return _baseURI(); } function nextTokenId() public view returns (uint256) { return _nextTokenId(); } function totalMinted() public view returns (uint256) { return _totalMinted(); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } function getOwnershipAt(uint256 index) public view returns (TokenOwnership memory) { return _ownershipAt(index); } function getOwnershipOf(uint256 index) public view returns (TokenOwnership memory) { return _ownershipOf(index); } function initializeOwnershipAt(uint256 index) public { _initializeOwnershipAt(index); } function claimTo(address _addr, uint256 _amnt, bytes32[] calldata merkleProof) external { require(totalSupply() + 1 < MAX_SUPPLY, "ExceedMaxSupply"); require(getMintEnabled(), "Claiming is not enabled"); require(!claimed[_addr], "Already claimed"); bytes32 node = keccak256(abi.encodePacked(_addr, _amnt)); require(MerkleProof.verify(merkleProof, merkleRoot, node), "Invalid proof"); _mint(_addr, _amnt); claimed[_addr] = true; } } // await ctr.claimTo('0xBF9d7541915Ae295e09C70ea341ad5A25a76f4f9', 61, '0x6c9a736ed610d0855629b78a7b177c4df3c66cd4a0921e2a7d30364c9c29cf5b',
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import './ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // 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 // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // 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) } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"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":"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":"MAX_SUPPLY","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":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"_amnt","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claimTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getOwnershipAt","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"initializeOwnershipAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintEnabled","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":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"bool","name":"toggle","type":"bool"}],"name":"toggleMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526008805460ff191690553480156200001b57600080fd5b50604051620024f1380380620024f18339810160408190526200003e916200021f565b82518390839062000057906002906020850190620000ac565b5080516200006d906003906020840190620000ac565b50600a54600055505060088054610100600160a81b03191633610100021790558051620000a2906009906020840190620000ac565b50505050620002ed565b828054620000ba90620002b0565b90600052602060002090601f016020900481019282620000de576000855562000129565b82601f10620000f957805160ff191683800117855562000129565b8280016001018555821562000129579182015b82811115620001295782518255916020019190600101906200010c565b50620001379291506200013b565b5090565b5b808211156200013757600081556001016200013c565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200017a57600080fd5b81516001600160401b038082111562000197576200019762000152565b604051601f8301601f19908116603f01168101908282118183101715620001c257620001c262000152565b81604052838152602092508683858801011115620001df57600080fd5b600091505b83821015620002035785820183015181830184015290820190620001e4565b83821115620002155760008385830101525b9695505050505050565b6000806000606084860312156200023557600080fd5b83516001600160401b03808211156200024d57600080fd5b6200025b8783880162000168565b945060208601519150808211156200027257600080fd5b620002808783880162000168565b935060408601519150808211156200029757600080fd5b50620002a68682870162000168565b9150509250925092565b600181811c90821680620002c557607f821691505b60208210811415620002e757634e487b7160e01b600052602260045260246000fd5b50919050565b6121f480620002fd6000396000f3fe6080604052600436106102a05760003560e01c80637cb647591161016e578063c2230283116100cb578063d5f394881161007f578063e6798baa11610064578063e6798baa146106fd578063e985e9c514610713578063f25236331461075c57600080fd5b8063d5f39488146106b8578063dc33e681146106dd57600080fd5b8063c87b56dd116100b0578063c87b56dd1461064e578063c884ef831461066e578063d12397301461069e57600080fd5b8063c22302831461060e578063c23dc68f1461062e57600080fd5b80639abc832011610122578063a2309ff811610107578063a2309ff8146105d1578063b88d4fde146105e6578063c035e773146105f957600080fd5b80639abc83201461059c578063a22cb465146105b157600080fd5b8063931688cb11610153578063931688cb1461054757806395d89b411461056757806399a2557a1461057c57600080fd5b80637cb64759146104fa5780638462151c1461051a57600080fd5b806342842e0e1161021c5780636352211e116101d05780636ffd0c97116101b55780636ffd0c97146104ad57806370a08231146104c557806375794a3c146104e557600080fd5b80636352211e146104785780636c0360eb1461049857600080fd5b806352d8a4d11161020157806352d8a4d1146103fe57806353b1233d1461042b5780635bbb21771461044b57600080fd5b806342842e0e146103cb5780634f558e79146103de57600080fd5b806318160ddd116102735780632eb4a7ab116102585780632eb4a7ab1461037f57806332cb6b0c146103955780633ced003e146103ab57600080fd5b806318160ddd1461034957806323b872dd1461036c57600080fd5b806301ffc9a7146102a557806306fdde03146102da578063081812fc146102fc578063095ea7b314610334575b600080fd5b3480156102b157600080fd5b506102c56102c0366004611b70565b61077c565b60405190151581526020015b60405180910390f35b3480156102e657600080fd5b506102ef6107ce565b6040516102d19190611be5565b34801561030857600080fd5b5061031c610317366004611bf8565b610860565b6040516001600160a01b0390911681526020016102d1565b610347610342366004611c2d565b6108a4565b005b34801561035557600080fd5b5061035e61095c565b6040519081526020016102d1565b61034761037a366004611c57565b610974565b34801561038b57600080fd5b5061035e600b5481565b3480156103a157600080fd5b5061035e610bb881565b3480156103b757600080fd5b506103476103c6366004611cdf565b610b05565b6103476103d9366004611c57565b610d2a565b3480156103ea57600080fd5b506102c56103f9366004611bf8565b610d4a565b34801561040a57600080fd5b5061041e610419366004611bf8565b610d55565b6040516102d19190611d39565b34801561043757600080fd5b50610347610446366004611bf8565b610d82565b34801561045757600080fd5b5061046b610466366004611d7e565b610d8e565b6040516102d19190611dc0565b34801561048457600080fd5b5061031c610493366004611bf8565b610e5a565b3480156104a457600080fd5b506102ef610e65565b3480156104b957600080fd5b5060085460ff166102c5565b3480156104d157600080fd5b5061035e6104e0366004611e3d565b610e74565b3480156104f157600080fd5b5060005461035e565b34801561050657600080fd5b50610347610515366004611bf8565b610ec3565b34801561052657600080fd5b5061053a610535366004611e3d565b610f4d565b6040516102d19190611e58565b34801561055357600080fd5b50610347610562366004611f1c565b61105a565b34801561057357600080fd5b506102ef6110da565b34801561058857600080fd5b5061053a610597366004611f65565b6110e9565b3480156105a857600080fd5b506102ef61127d565b3480156105bd57600080fd5b506103476105cc366004611fa8565b61130b565b3480156105dd57600080fd5b5061035e611377565b6103476105f4366004611fdb565b611381565b34801561060557600080fd5b506103476113cb565b34801561061a57600080fd5b50610347610629366004612057565b611439565b34801561063a57600080fd5b5061041e610649366004611bf8565b6114ab565b34801561065a57600080fd5b506102ef610669366004611bf8565b611534565b34801561067a57600080fd5b506102c5610689366004611e3d565b600c6020526000908152604090205460ff1681565b3480156106aa57600080fd5b506008546102c59060ff1681565b3480156106c457600080fd5b5060085461031c9061010090046001600160a01b031681565b3480156106e957600080fd5b5061035e6106f8366004611e3d565b6115b8565b34801561070957600080fd5b5061035e600a5481565b34801561071f57600080fd5b506102c561072e366004612072565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561076857600080fd5b5061041e610777366004611bf8565b6115e3565b60006301ffc9a760e01b6001600160e01b0319831614806107ad57506380ac58cd60e01b6001600160e01b03198316145b806107c85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107dd9061209c565b80601f01602080910402602001604051908101604052809291908181526020018280546108099061209c565b80156108565780601f1061082b57610100808354040283529160200191610856565b820191906000526020600020905b81548152906001019060200180831161083957829003601f168201915b5050505050905090565b600061086b82611610565b610888576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108af82610e5a565b9050336001600160a01b038216146108e8576108cb813361072e565b6108e8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610967600a5490565b6001546000540303905090565b600061097f8261164c565b9050836001600160a01b0316816001600160a01b0316146109b25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109ff576109e2863361072e565b6109ff57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a2657604051633a954ecd60e21b815260040160405180910390fd5b8015610a3157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610abc5760018401600081815260046020526040902054610aba576000548114610aba5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610bb8610b1061095c565b610b1b9060016120ed565b10610b6d5760405162461bcd60e51b815260206004820152600f60248201527f4578636565644d6178537570706c79000000000000000000000000000000000060448201526064015b60405180910390fd5b60085460ff16610bbf5760405162461bcd60e51b815260206004820152601760248201527f436c61696d696e67206973206e6f7420656e61626c65640000000000000000006044820152606401610b64565b6001600160a01b0384166000908152600c602052604090205460ff1615610c285760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920636c61696d656400000000000000000000000000000000006044820152606401610b64565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090605401604051602081830303815290604052805190602001209050610caa83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b5491508490506116bc565b610cf65760405162461bcd60e51b815260206004820152600d60248201527f496e76616c69642070726f6f66000000000000000000000000000000000000006044820152606401610b64565b610d0085856116d2565b5050506001600160a01b039091166000908152600c60205260409020805460ff1916600117905550565b610d4583838360405180602001604052806000815250611381565b505050565b60006107c882611610565b6040805160808101825260008082526020820181905291810182905260608101919091526107c8826117c9565b610d8b81611841565b50565b60608160008167ffffffffffffffff811115610dac57610dac611e90565b604051908082528060200260200182016040528015610dfe57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610dca5790505b50905060005b828114610e5157610e2c868683818110610e2057610e20612105565b905060200201356114ab565b828281518110610e3e57610e3e612105565b6020908102919091010152600101610e04565b50949350505050565b60006107c88261164c565b6060610e6f61186f565b905090565b60006001600160a01b038216610e9d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b60085461010090046001600160a01b03163314610f485760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206465706c6f7965722063616e2073657420746865204d65726b6c6560448201527f20526f6f740000000000000000000000000000000000000000000000000000006064820152608401610b64565b600b55565b60606000806000610f5d85610e74565b905060008167ffffffffffffffff811115610f7a57610f7a611e90565b604051908082528060200260200182016040528015610fa3578160200160208202803683370190505b50604080516080810182526000808252602082018190529181018290526060810191909152600a54919250905b83861461104e57610fe08161187e565b9150816040015115610ff157611046565b81516001600160a01b03161561100657815194505b876001600160a01b0316856001600160a01b03161415611046578083878060010198508151811061103957611039612105565b6020026020010181815250505b600101610fd0565b50909695505050505050565b60085461010090046001600160a01b031633146110c35760405162461bcd60e51b815260206004820152602160248201527f4f6e6c79206465706c6f7965722063616e2075706461746520626173652055526044820152604960f81b6064820152608401610b64565b80516110d6906009906020840190611ac1565b5050565b6060600380546107dd9061209c565b606081831061110b57604051631960ccad60e11b815260040160405180910390fd5b60008061111760005490565b9050611122600a5490565b85101561112f57600a5494505b8084111561113b578093505b600061114687610e74565b905084861015611165578585038181101561115f578091505b50611169565b5060005b60008167ffffffffffffffff81111561118457611184611e90565b6040519080825280602002602001820160405280156111ad578160200160208202803683370190505b509050816111c057935061127692505050565b60006111cb886114ab565b9050600081604001516111dc575080515b885b8881141580156111ee5750848714155b1561126a576111fc8161187e565b925082604001511561120d57611262565b82516001600160a01b03161561122257825191505b8a6001600160a01b0316826001600160a01b03161415611262578084888060010199508151811061125557611255612105565b6020026020010181815250505b6001016111de565b50505092835250909150505b9392505050565b6009805461128a9061209c565b80601f01602080910402602001604051908101604052809291908181526020018280546112b69061209c565b80156113035780601f106112d857610100808354040283529160200191611303565b820191906000526020600020905b8154815290600101906020018083116112e657829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610e6f6118fd565b61138c848484610974565b6001600160a01b0383163b156113c5576113a884848484611911565b6113c5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60085461010090046001600160a01b0316331461142a5760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c79206465706c6f7965722063616e20736574206d696e74696e670000006044820152606401610b64565b6008805460ff19166001179055565b60085461010090046001600160a01b031633146114985760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79206465706c6f7965722063616e20746f67676c65206d696e74696e676044820152606401610b64565b6008805460ff1916911515919091179055565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600a5483108061150557506000548310155b156115105792915050565b6115198361187e565b905080604001511561152b5792915050565b611276836117c9565b606061153f82611610565b61155c57604051630a14c4b560e41b815260040160405180910390fd5b600061156661186f565b90508051600014156115875760405180602001604052806000815250611276565b80611591846119fa565b6040516020016115a292919061211b565b6040516020818303038152906040529392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166107c8565b6040805160808101825260008082526020820181905291810182905260608101919091526107c88261187e565b60008161161c600a5490565b1115801561162b575060005482105b80156107c8575050600090815260046020526040902054600160e01b161590565b60008180611659600a5490565b116116a3576000548110156116a357600081815260046020526040902054600160e01b81166116a1575b80611276575060001901600081815260046020526040902054611683565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826116c98584611a48565b14949350505050565b600054816116f35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146117a257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161176a565b50816117c057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6040805160808101825260008082526020820181905291810182905260608101919091526107c86117f98361164c565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815260046020526040902054610d8b5761185d8161164c565b60008281526004602052604090205550565b6060600980546107dd9061209c565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546107c890604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000611908600a5490565b60005403905090565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061194690339089908890889060040161214a565b6020604051808303816000875af1925050508015611981575060408051601f3d908101601f1916820190925261197e91810190612186565b60015b6119dc573d8080156119af576040519150601f19603f3d011682016040523d82523d6000602084013e6119b4565b606091505b5080516119d4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611a3157611a36565b611a14565b50819003601f19909101908152919050565b600081815b8451811015611a8d57611a7982868381518110611a6c57611a6c612105565b6020026020010151611a95565b915080611a85816121a3565b915050611a4d565b509392505050565b6000818310611ab1576000828152602084905260409020611276565b5060009182526020526040902090565b828054611acd9061209c565b90600052602060002090601f016020900481019282611aef5760008555611b35565b82601f10611b0857805160ff1916838001178555611b35565b82800160010185558215611b35579182015b82811115611b35578251825591602001919060010190611b1a565b50611b41929150611b45565b5090565b5b80821115611b415760008155600101611b46565b6001600160e01b031981168114610d8b57600080fd5b600060208284031215611b8257600080fd5b813561127681611b5a565b60005b83811015611ba8578181015183820152602001611b90565b838111156113c55750506000910152565b60008151808452611bd1816020860160208601611b8d565b601f01601f19169290920160200192915050565b6020815260006112766020830184611bb9565b600060208284031215611c0a57600080fd5b5035919050565b80356001600160a01b0381168114611c2857600080fd5b919050565b60008060408385031215611c4057600080fd5b611c4983611c11565b946020939093013593505050565b600080600060608486031215611c6c57600080fd5b611c7584611c11565b9250611c8360208501611c11565b9150604084013590509250925092565b60008083601f840112611ca557600080fd5b50813567ffffffffffffffff811115611cbd57600080fd5b6020830191508360208260051b8501011115611cd857600080fd5b9250929050565b60008060008060608587031215611cf557600080fd5b611cfe85611c11565b935060208501359250604085013567ffffffffffffffff811115611d2157600080fd5b611d2d87828801611c93565b95989497509550505050565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff1690820152608081016107c8565b60008060208385031215611d9157600080fd5b823567ffffffffffffffff811115611da857600080fd5b611db485828601611c93565b90969095509350505050565b6020808252825182820181905260009190848201906040850190845b8181101561104e57611e2a8385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101611ddc565b600060208284031215611e4f57600080fd5b61127682611c11565b6020808252825182820181905260009190848201906040850190845b8181101561104e57835183529284019291840191600101611e74565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ec157611ec1611e90565b604051601f8501601f19908116603f01168101908282118183101715611ee957611ee9611e90565b81604052809350858152868686011115611f0257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f2e57600080fd5b813567ffffffffffffffff811115611f4557600080fd5b8201601f81018413611f5657600080fd5b6119f284823560208401611ea6565b600080600060608486031215611f7a57600080fd5b611f8384611c11565b95602085013595506040909401359392505050565b80358015158114611c2857600080fd5b60008060408385031215611fbb57600080fd5b611fc483611c11565b9150611fd260208401611f98565b90509250929050565b60008060008060808587031215611ff157600080fd5b611ffa85611c11565b935061200860208601611c11565b925060408501359150606085013567ffffffffffffffff81111561202b57600080fd5b8501601f8101871361203c57600080fd5b61204b87823560208401611ea6565b91505092959194509250565b60006020828403121561206957600080fd5b61127682611f98565b6000806040838503121561208557600080fd5b61208e83611c11565b9150611fd260208401611c11565b600181811c908216806120b057607f821691505b602082108114156120d157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612100576121006120d7565b500190565b634e487b7160e01b600052603260045260246000fd5b6000835161212d818460208801611b8d565b835190830190612141818360208801611b8d565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261217c6080830184611bb9565b9695505050505050565b60006020828403121561219857600080fd5b815161127681611b5a565b60006000198214156121b7576121b76120d7565b506001019056fea264697066735822122018b90a862a6282d3425bb1d9c627361836bd8e42e562e9c24a3f35d54976572d64736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c4d6f7274696d6172726f7773000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d4f525449000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f6d657461646174612e70736575646f2e74726964656e742e67616d652f6d6172726f772f0000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102a05760003560e01c80637cb647591161016e578063c2230283116100cb578063d5f394881161007f578063e6798baa11610064578063e6798baa146106fd578063e985e9c514610713578063f25236331461075c57600080fd5b8063d5f39488146106b8578063dc33e681146106dd57600080fd5b8063c87b56dd116100b0578063c87b56dd1461064e578063c884ef831461066e578063d12397301461069e57600080fd5b8063c22302831461060e578063c23dc68f1461062e57600080fd5b80639abc832011610122578063a2309ff811610107578063a2309ff8146105d1578063b88d4fde146105e6578063c035e773146105f957600080fd5b80639abc83201461059c578063a22cb465146105b157600080fd5b8063931688cb11610153578063931688cb1461054757806395d89b411461056757806399a2557a1461057c57600080fd5b80637cb64759146104fa5780638462151c1461051a57600080fd5b806342842e0e1161021c5780636352211e116101d05780636ffd0c97116101b55780636ffd0c97146104ad57806370a08231146104c557806375794a3c146104e557600080fd5b80636352211e146104785780636c0360eb1461049857600080fd5b806352d8a4d11161020157806352d8a4d1146103fe57806353b1233d1461042b5780635bbb21771461044b57600080fd5b806342842e0e146103cb5780634f558e79146103de57600080fd5b806318160ddd116102735780632eb4a7ab116102585780632eb4a7ab1461037f57806332cb6b0c146103955780633ced003e146103ab57600080fd5b806318160ddd1461034957806323b872dd1461036c57600080fd5b806301ffc9a7146102a557806306fdde03146102da578063081812fc146102fc578063095ea7b314610334575b600080fd5b3480156102b157600080fd5b506102c56102c0366004611b70565b61077c565b60405190151581526020015b60405180910390f35b3480156102e657600080fd5b506102ef6107ce565b6040516102d19190611be5565b34801561030857600080fd5b5061031c610317366004611bf8565b610860565b6040516001600160a01b0390911681526020016102d1565b610347610342366004611c2d565b6108a4565b005b34801561035557600080fd5b5061035e61095c565b6040519081526020016102d1565b61034761037a366004611c57565b610974565b34801561038b57600080fd5b5061035e600b5481565b3480156103a157600080fd5b5061035e610bb881565b3480156103b757600080fd5b506103476103c6366004611cdf565b610b05565b6103476103d9366004611c57565b610d2a565b3480156103ea57600080fd5b506102c56103f9366004611bf8565b610d4a565b34801561040a57600080fd5b5061041e610419366004611bf8565b610d55565b6040516102d19190611d39565b34801561043757600080fd5b50610347610446366004611bf8565b610d82565b34801561045757600080fd5b5061046b610466366004611d7e565b610d8e565b6040516102d19190611dc0565b34801561048457600080fd5b5061031c610493366004611bf8565b610e5a565b3480156104a457600080fd5b506102ef610e65565b3480156104b957600080fd5b5060085460ff166102c5565b3480156104d157600080fd5b5061035e6104e0366004611e3d565b610e74565b3480156104f157600080fd5b5060005461035e565b34801561050657600080fd5b50610347610515366004611bf8565b610ec3565b34801561052657600080fd5b5061053a610535366004611e3d565b610f4d565b6040516102d19190611e58565b34801561055357600080fd5b50610347610562366004611f1c565b61105a565b34801561057357600080fd5b506102ef6110da565b34801561058857600080fd5b5061053a610597366004611f65565b6110e9565b3480156105a857600080fd5b506102ef61127d565b3480156105bd57600080fd5b506103476105cc366004611fa8565b61130b565b3480156105dd57600080fd5b5061035e611377565b6103476105f4366004611fdb565b611381565b34801561060557600080fd5b506103476113cb565b34801561061a57600080fd5b50610347610629366004612057565b611439565b34801561063a57600080fd5b5061041e610649366004611bf8565b6114ab565b34801561065a57600080fd5b506102ef610669366004611bf8565b611534565b34801561067a57600080fd5b506102c5610689366004611e3d565b600c6020526000908152604090205460ff1681565b3480156106aa57600080fd5b506008546102c59060ff1681565b3480156106c457600080fd5b5060085461031c9061010090046001600160a01b031681565b3480156106e957600080fd5b5061035e6106f8366004611e3d565b6115b8565b34801561070957600080fd5b5061035e600a5481565b34801561071f57600080fd5b506102c561072e366004612072565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561076857600080fd5b5061041e610777366004611bf8565b6115e3565b60006301ffc9a760e01b6001600160e01b0319831614806107ad57506380ac58cd60e01b6001600160e01b03198316145b806107c85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107dd9061209c565b80601f01602080910402602001604051908101604052809291908181526020018280546108099061209c565b80156108565780601f1061082b57610100808354040283529160200191610856565b820191906000526020600020905b81548152906001019060200180831161083957829003601f168201915b5050505050905090565b600061086b82611610565b610888576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108af82610e5a565b9050336001600160a01b038216146108e8576108cb813361072e565b6108e8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610967600a5490565b6001546000540303905090565b600061097f8261164c565b9050836001600160a01b0316816001600160a01b0316146109b25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109ff576109e2863361072e565b6109ff57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a2657604051633a954ecd60e21b815260040160405180910390fd5b8015610a3157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610abc5760018401600081815260046020526040902054610aba576000548114610aba5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610bb8610b1061095c565b610b1b9060016120ed565b10610b6d5760405162461bcd60e51b815260206004820152600f60248201527f4578636565644d6178537570706c79000000000000000000000000000000000060448201526064015b60405180910390fd5b60085460ff16610bbf5760405162461bcd60e51b815260206004820152601760248201527f436c61696d696e67206973206e6f7420656e61626c65640000000000000000006044820152606401610b64565b6001600160a01b0384166000908152600c602052604090205460ff1615610c285760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920636c61696d656400000000000000000000000000000000006044820152606401610b64565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090605401604051602081830303815290604052805190602001209050610caa83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b5491508490506116bc565b610cf65760405162461bcd60e51b815260206004820152600d60248201527f496e76616c69642070726f6f66000000000000000000000000000000000000006044820152606401610b64565b610d0085856116d2565b5050506001600160a01b039091166000908152600c60205260409020805460ff1916600117905550565b610d4583838360405180602001604052806000815250611381565b505050565b60006107c882611610565b6040805160808101825260008082526020820181905291810182905260608101919091526107c8826117c9565b610d8b81611841565b50565b60608160008167ffffffffffffffff811115610dac57610dac611e90565b604051908082528060200260200182016040528015610dfe57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610dca5790505b50905060005b828114610e5157610e2c868683818110610e2057610e20612105565b905060200201356114ab565b828281518110610e3e57610e3e612105565b6020908102919091010152600101610e04565b50949350505050565b60006107c88261164c565b6060610e6f61186f565b905090565b60006001600160a01b038216610e9d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b60085461010090046001600160a01b03163314610f485760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206465706c6f7965722063616e2073657420746865204d65726b6c6560448201527f20526f6f740000000000000000000000000000000000000000000000000000006064820152608401610b64565b600b55565b60606000806000610f5d85610e74565b905060008167ffffffffffffffff811115610f7a57610f7a611e90565b604051908082528060200260200182016040528015610fa3578160200160208202803683370190505b50604080516080810182526000808252602082018190529181018290526060810191909152600a54919250905b83861461104e57610fe08161187e565b9150816040015115610ff157611046565b81516001600160a01b03161561100657815194505b876001600160a01b0316856001600160a01b03161415611046578083878060010198508151811061103957611039612105565b6020026020010181815250505b600101610fd0565b50909695505050505050565b60085461010090046001600160a01b031633146110c35760405162461bcd60e51b815260206004820152602160248201527f4f6e6c79206465706c6f7965722063616e2075706461746520626173652055526044820152604960f81b6064820152608401610b64565b80516110d6906009906020840190611ac1565b5050565b6060600380546107dd9061209c565b606081831061110b57604051631960ccad60e11b815260040160405180910390fd5b60008061111760005490565b9050611122600a5490565b85101561112f57600a5494505b8084111561113b578093505b600061114687610e74565b905084861015611165578585038181101561115f578091505b50611169565b5060005b60008167ffffffffffffffff81111561118457611184611e90565b6040519080825280602002602001820160405280156111ad578160200160208202803683370190505b509050816111c057935061127692505050565b60006111cb886114ab565b9050600081604001516111dc575080515b885b8881141580156111ee5750848714155b1561126a576111fc8161187e565b925082604001511561120d57611262565b82516001600160a01b03161561122257825191505b8a6001600160a01b0316826001600160a01b03161415611262578084888060010199508151811061125557611255612105565b6020026020010181815250505b6001016111de565b50505092835250909150505b9392505050565b6009805461128a9061209c565b80601f01602080910402602001604051908101604052809291908181526020018280546112b69061209c565b80156113035780601f106112d857610100808354040283529160200191611303565b820191906000526020600020905b8154815290600101906020018083116112e657829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610e6f6118fd565b61138c848484610974565b6001600160a01b0383163b156113c5576113a884848484611911565b6113c5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60085461010090046001600160a01b0316331461142a5760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c79206465706c6f7965722063616e20736574206d696e74696e670000006044820152606401610b64565b6008805460ff19166001179055565b60085461010090046001600160a01b031633146114985760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79206465706c6f7965722063616e20746f67676c65206d696e74696e676044820152606401610b64565b6008805460ff1916911515919091179055565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600a5483108061150557506000548310155b156115105792915050565b6115198361187e565b905080604001511561152b5792915050565b611276836117c9565b606061153f82611610565b61155c57604051630a14c4b560e41b815260040160405180910390fd5b600061156661186f565b90508051600014156115875760405180602001604052806000815250611276565b80611591846119fa565b6040516020016115a292919061211b565b6040516020818303038152906040529392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166107c8565b6040805160808101825260008082526020820181905291810182905260608101919091526107c88261187e565b60008161161c600a5490565b1115801561162b575060005482105b80156107c8575050600090815260046020526040902054600160e01b161590565b60008180611659600a5490565b116116a3576000548110156116a357600081815260046020526040902054600160e01b81166116a1575b80611276575060001901600081815260046020526040902054611683565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826116c98584611a48565b14949350505050565b600054816116f35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146117a257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161176a565b50816117c057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6040805160808101825260008082526020820181905291810182905260608101919091526107c86117f98361164c565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815260046020526040902054610d8b5761185d8161164c565b60008281526004602052604090205550565b6060600980546107dd9061209c565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546107c890604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000611908600a5490565b60005403905090565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061194690339089908890889060040161214a565b6020604051808303816000875af1925050508015611981575060408051601f3d908101601f1916820190925261197e91810190612186565b60015b6119dc573d8080156119af576040519150601f19603f3d011682016040523d82523d6000602084013e6119b4565b606091505b5080516119d4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611a3157611a36565b611a14565b50819003601f19909101908152919050565b600081815b8451811015611a8d57611a7982868381518110611a6c57611a6c612105565b6020026020010151611a95565b915080611a85816121a3565b915050611a4d565b509392505050565b6000818310611ab1576000828152602084905260409020611276565b5060009182526020526040902090565b828054611acd9061209c565b90600052602060002090601f016020900481019282611aef5760008555611b35565b82601f10611b0857805160ff1916838001178555611b35565b82800160010185558215611b35579182015b82811115611b35578251825591602001919060010190611b1a565b50611b41929150611b45565b5090565b5b80821115611b415760008155600101611b46565b6001600160e01b031981168114610d8b57600080fd5b600060208284031215611b8257600080fd5b813561127681611b5a565b60005b83811015611ba8578181015183820152602001611b90565b838111156113c55750506000910152565b60008151808452611bd1816020860160208601611b8d565b601f01601f19169290920160200192915050565b6020815260006112766020830184611bb9565b600060208284031215611c0a57600080fd5b5035919050565b80356001600160a01b0381168114611c2857600080fd5b919050565b60008060408385031215611c4057600080fd5b611c4983611c11565b946020939093013593505050565b600080600060608486031215611c6c57600080fd5b611c7584611c11565b9250611c8360208501611c11565b9150604084013590509250925092565b60008083601f840112611ca557600080fd5b50813567ffffffffffffffff811115611cbd57600080fd5b6020830191508360208260051b8501011115611cd857600080fd5b9250929050565b60008060008060608587031215611cf557600080fd5b611cfe85611c11565b935060208501359250604085013567ffffffffffffffff811115611d2157600080fd5b611d2d87828801611c93565b95989497509550505050565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff1690820152608081016107c8565b60008060208385031215611d9157600080fd5b823567ffffffffffffffff811115611da857600080fd5b611db485828601611c93565b90969095509350505050565b6020808252825182820181905260009190848201906040850190845b8181101561104e57611e2a8385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101611ddc565b600060208284031215611e4f57600080fd5b61127682611c11565b6020808252825182820181905260009190848201906040850190845b8181101561104e57835183529284019291840191600101611e74565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ec157611ec1611e90565b604051601f8501601f19908116603f01168101908282118183101715611ee957611ee9611e90565b81604052809350858152868686011115611f0257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f2e57600080fd5b813567ffffffffffffffff811115611f4557600080fd5b8201601f81018413611f5657600080fd5b6119f284823560208401611ea6565b600080600060608486031215611f7a57600080fd5b611f8384611c11565b95602085013595506040909401359392505050565b80358015158114611c2857600080fd5b60008060408385031215611fbb57600080fd5b611fc483611c11565b9150611fd260208401611f98565b90509250929050565b60008060008060808587031215611ff157600080fd5b611ffa85611c11565b935061200860208601611c11565b925060408501359150606085013567ffffffffffffffff81111561202b57600080fd5b8501601f8101871361203c57600080fd5b61204b87823560208401611ea6565b91505092959194509250565b60006020828403121561206957600080fd5b61127682611f98565b6000806040838503121561208557600080fd5b61208e83611c11565b9150611fd260208401611c11565b600181811c908216806120b057607f821691505b602082108114156120d157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612100576121006120d7565b500190565b634e487b7160e01b600052603260045260246000fd5b6000835161212d818460208801611b8d565b835190830190612141818360208801611b8d565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261217c6080830184611bb9565b9695505050505050565b60006020828403121561219857600080fd5b815161127681611b5a565b60006000198214156121b7576121b76120d7565b506001019056fea264697066735822122018b90a862a6282d3425bb1d9c627361836bd8e42e562e9c24a3f35d54976572d64736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c4d6f7274696d6172726f7773000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d4f525449000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f6d657461646174612e70736575646f2e74726964656e742e67616d652f6d6172726f772f0000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Mortimarrows
Arg [1] : symbol_ (string): MORTI
Arg [2] : _baseUri (string): https://metadata.pseudo.trident.game/marrow/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 4d6f7274696d6172726f77730000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 4d4f525449000000000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000002c
Arg [8] : 68747470733a2f2f6d657461646174612e70736575646f2e74726964656e742e
Arg [9] : 67616d652f6d6172726f772f0000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
119:2903:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:0;;;;;;;;;;-1:-1:-1;9155:630:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:6;;558:22;540:41;;528:2;513:18;9155:630:0;;;;;;;;10039:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:55:6;;;1674:74;;1662:2;1647:18;16360:214:0;1528:226:6;15812:398:0;;;;;;:::i;:::-;;:::i;:::-;;5894:317;;;;;;;;;;;;;:::i;:::-;;;2365:25:6;;;2353:2;2338:18;5894:317:0;2219:177:6;19903:2764:0;;;;;;:::i;:::-;;:::i;354:25:4:-;;;;;;;;;;;;;;;;254:41;;;;;;;;;;;;291:4;254:41;;2529:491;;;;;;;;;;-1:-1:-1;2529:491:4;;;;;:::i;:::-;;:::i;22758:187:0:-;;;;;;:::i;:::-;;:::i;2054:100:4:-;;;;;;;;;;-1:-1:-1;2054:100:4;;;;;:::i;:::-;;:::i;2292:126::-;;;;;;;;;;-1:-1:-1;2292:126:4;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2424:99::-;;;;;;;;;;-1:-1:-1;2424:99:4;;;;;:::i;:::-;;:::i;1640:513:1:-;;;;;;;;;;-1:-1:-1;1640:513:1;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11391:150:0:-;;;;;;;;;;-1:-1:-1;11391:150:0;;;;;:::i;:::-;;:::i;1648:89:4:-;;;;;;;;;;;;;:::i;839:88::-;;;;;;;;;;-1:-1:-1;909:11:4;;;;839:88;;7045:230:0;;;;;;;;;;-1:-1:-1;7045:230:0;;;;;:::i;:::-;;:::i;1743:91:4:-;;;;;;;;;;-1:-1:-1;1787:7:4;5671:13:0;1743:91:4;1648:89;671:162;;;;;;;;;;-1:-1:-1;671:162:4;;;;;:::i;:::-;;:::i;5416:879:1:-;;;;;;;;;;-1:-1:-1;5416:879:1;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1041:169:4:-;;;;;;;;;;-1:-1:-1;1041:169:4;;;;;:::i;:::-;;:::i;10208:102:0:-;;;;;;;;;;;;;:::i;2527:2454:1:-;;;;;;;;;;-1:-1:-1;2527:2454:1;;;;;:::i;:::-;;:::i;227:21:4:-;;;;;;;;;;;;;:::i;16901:231:0:-;;;;;;;;;;-1:-1:-1;16901:231:0;;;;;:::i;:::-;;:::i;1840:91:4:-;;;;;;;;;;;;;:::i;23526:396:0:-;;;;;;:::i;:::-;;:::i;1385:144:4:-;;;;;;;;;;;;;:::i;1216:163::-;;;;;;;;;;-1:-1:-1;1216:163:4;;;;;:::i;:::-;;:::i;1069:418:1:-;;;;;;;;;;-1:-1:-1;1069:418:1;;;;;:::i;:::-;;:::i;10411:313:0:-;;;;;;;;;;-1:-1:-1;10411:313:0;;;;;:::i;:::-;;:::i;385:39:4:-;;;;;;;;;;-1:-1:-1;385:39:4;;;;;:::i;:::-;;;;;;;;;;;;;;;;161:31;;;;;;;;;;-1:-1:-1;161:31:4;;;;;;;;198:23;;;;;;;;;;-1:-1:-1;198:23:4;;;;;;;-1:-1:-1;;;;;198:23:4;;;1937:111;;;;;;;;;;-1:-1:-1;1937:111:4;;;;;:::i;:::-;;:::i;301:27::-;;;;;;;;;;;;;;;;17282:162:0;;;;;;;;;;-1:-1:-1;17282:162:0;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:0;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;2160:126:4;;;;;;;;;;-1:-1:-1;2160:126:4;;;;;:::i;:::-;;:::i;9155:630:0:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:0;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:0;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:0;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:0: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:0;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:0;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:0;-1:-1:-1;;;;;15947:28:0;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:0;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;;;-1:-1:-1;;;;;16125:35:0;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;5894:317::-;5955:7;6179:15;1016:12:4;;;933:102;6179:15:0;6164:12;;6148:13;;:28;:46;6141:53;;5894:317;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:0;20128:19;-1:-1:-1;;;;;20112:45:0;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:0;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:0;;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:0;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:0;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:0;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:0;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:0;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:0;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:0;21654:26;;;;:17;:26;;;;;:172;-1:-1:-1;;;21943:47:0;;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:0;22590:4;-1:-1:-1;;;;;22581:27:0;;;;;;;;;;;20030:2637;;;19903:2764;;;:::o;2529:491:4:-;291:4;2635:13;:11;:13::i;:::-;:17;;2651:1;2635:17;:::i;:::-;:30;2627:58;;;;-1:-1:-1;;;2627:58:4;;10656:2:6;2627:58:4;;;10638:21:6;10695:2;10675:18;;;10668:30;10734:17;10714:18;;;10707:45;10769:18;;2627:58:4;;;;;;;;;909:11;;;;2695:52;;;;-1:-1:-1;;;2695:52:4;;11000:2:6;2695:52:4;;;10982:21:6;11039:2;11019:18;;;11012:30;11078:25;11058:18;;;11051:53;11121:18;;2695:52:4;10798:347:6;2695:52:4;-1:-1:-1;;;;;2766:14:4;;;;;;:7;:14;;;;;;;;2765:15;2757:43;;;;-1:-1:-1;;;2757:43:4;;11352:2:6;2757:43:4;;;11334:21:6;11391:2;11371:18;;;11364:30;11430:17;11410:18;;;11403:45;11465:18;;2757:43:4;11150:339:6;2757:43:4;2836:30;;-1:-1:-1;;11671:2:6;11667:15;;;11663:53;2836:30:4;;;11651:66:6;11733:12;;;11726:28;;;2811:12:4;;11770::6;;2836:30:4;;;;;;;;;;;;2826:41;;;;;;2811:56;;2885:49;2904:11;;2885:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2917:10:4;;;-1:-1:-1;2929:4:4;;-1:-1:-1;2885:18:4;:49::i;:::-;2877:75;;;;-1:-1:-1;;;2877:75:4;;11995:2:6;2877:75:4;;;11977:21:6;12034:2;12014:18;;;12007:30;12073:15;12053:18;;;12046:43;12106:18;;2877:75:4;11793:337:6;2877:75:4;2963:19;2969:5;2976;2963;:19::i;:::-;-1:-1:-1;;;;;;;;2992:14:4;;;;;;;:7;:14;;;;;:21;;-1:-1:-1;;2992:21:4;3009:4;2992:21;;;-1:-1:-1;2529:491:4:o;22758:187:0:-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;2054:100:4:-;2108:4;2131:16;2139:7;2131;:16::i;2292:126::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2392:19:4;2405:5;2392:12;:19::i;2424:99::-;2487:29;2510:5;2487:22;:29::i;:::-;2424:99;:::o;1640:513:1:-;1779:23;1867:8;1842:22;1867:8;1933:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1933:36:1;;-1:-1:-1;;1933:36:1;;;;;;;;;;;;1896:73;;1988:9;1983:123;2004:14;1999:1;:19;1983:123;;2059:32;2079:8;;2088:1;2079:11;;;;;;;:::i;:::-;;;;;;;2059:19;:32::i;:::-;2043:10;2054:1;2043:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2020:3;;1983:123;;;-1:-1:-1;2126:10:1;1640:513;-1:-1:-1;;;;1640:513:1:o;11391:150:0:-;11463:7;11505:27;11524:7;11505:18;:27::i;1648:89:4:-;1688:13;1720:10;:8;:10::i;:::-;1713:17;;1648:89;:::o;7045:230:0:-;7117:7;-1:-1:-1;;;;;7140:19:0;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:0;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:0;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;671:162:4:-;748:8;;;;;-1:-1:-1;;;;;748:8:4;734:10;:22;726:72;;;;-1:-1:-1;;;726:72:4;;12469:2:6;726:72:4;;;12451:21:6;12508:2;12488:18;;;12481:30;12547:34;12527:18;;;12520:62;12618:7;12598:18;;;12591:35;12643:19;;726:72:4;12267:401:6;726:72:4;808:10;:18;671:162::o;5416:879:1:-;5494:16;5546:19;5579:25;5618:22;5643:16;5653:5;5643:9;:16::i;:::-;5618:41;;5673:25;5715:14;5701:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5701:29:1;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1016:12:4;;5673:57:1;;-1:-1:-1;;5789:461:1;5838:14;5823:11;:29;5789:461;;5889:15;5902:1;5889:12;:15::i;:::-;5877:27;;5926:9;:16;;;5922:71;;;5966:8;;5922:71;6014:14;;-1:-1:-1;;;;;6014:28:1;;6010:109;;6086:14;;;-1:-1:-1;6010:109:1;6161:5;-1:-1:-1;;;;;6140:26:1;:17;-1:-1:-1;;;;;6140:26:1;;6136:100;;;6216:1;6190:8;6199:13;;;;;;6190:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6136:100;5854:3;;5789:461;;;-1:-1:-1;6270:8:1;;5416:879;-1:-1:-1;;;;;;5416:879:1:o;1041:169:4:-;1129:8;;;;;-1:-1:-1;;;;;1129:8:4;1115:10;:22;1107:68;;;;-1:-1:-1;;;1107:68:4;;12875:2:6;1107:68:4;;;12857:21:6;12914:2;12894:18;;;12887:30;12953:34;12933:18;;;12926:62;-1:-1:-1;;;13004:18:6;;;12997:31;13045:19;;1107:68:4;12673:397:6;1107:68:4;1185:18;;;;:7;;:18;;;;;:::i;:::-;;1041:169;:::o;10208:102:0:-;10264:13;10296:7;10289:14;;;;;:::i;2527:2454:1:-;2666:16;2731:4;2722:5;:13;2718:45;;2744:19;;-1:-1:-1;;;2744:19:1;;;;;;;;;;;2718:45;2777:19;2810:17;2830:14;5645:7:0;5671:13;;5590:101;2830:14:1;2810:34;;2928:15;1016:12:4;;;933:102;2928:15:1;2920:5;:23;2916:85;;;1016:12:4;;2963:23:1;;2916:85;3075:9;3068:4;:16;3064:71;;;3111:9;3104:16;;3064:71;3148:25;3176:16;3186:5;3176:9;:16::i;:::-;3148:44;;3367:4;3359:5;:12;3355:271;;;3413:12;;;3447:31;;;3443:109;;;3522:11;3502:31;;3443:109;3373:193;3355:271;;;-1:-1:-1;3610:1:1;3355:271;3639:25;3681:17;3667:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3667:32:1;-1:-1:-1;3639:60:1;-1:-1:-1;3717:22:1;3713:76;;3766:8;-1:-1:-1;3759:15:1;;-1:-1:-1;;;3759:15:1;3713:76;3930:31;3964:26;3984:5;3964:19;:26::i;:::-;3930:60;;4004:25;4246:9;:16;;;4241:90;;-1:-1:-1;4302:14:1;;4241:90;4361:5;4344:467;4373:4;4368:1;:9;;:45;;;;;4396:17;4381:11;:32;;4368:45;4344:467;;;4450:15;4463:1;4450:12;:15::i;:::-;4438:27;;4487:9;:16;;;4483:71;;;4527:8;;4483:71;4575:14;;-1:-1:-1;;;;;4575:28:1;;4571:109;;4647:14;;;-1:-1:-1;4571:109:1;4722:5;-1:-1:-1;;;;;4701:26:1;:17;-1:-1:-1;;;;;4701:26:1;;4697:100;;;4777:1;4751:8;4760:13;;;;;;4751:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4697:100;4415:3;;4344:467;;;-1:-1:-1;;;4893:29:1;;;-1:-1:-1;4900:8:1;;-1:-1:-1;;2527:2454:1;;;;;;:::o;227:21:4:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16901:231:0:-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:0;;;;;;;;;;17070:55;;540:41:6;;;16995:49:0;;39523:10;17070:55;;513:18:6;17070:55:0;;;;;;;16901:231;;:::o;1840:91:4:-;1884:7;1910:14;:12;:14::i;23526:396:0:-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:0;;;: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:0;;;;;;;;;;;23773:143;23526:396;;;;:::o;1385:144:4:-;1452:8;;;;;-1:-1:-1;;;;;1452:8:4;1438:10;:22;1430:64;;;;-1:-1:-1;;;1430:64:4;;13277:2:6;1430:64:4;;;13259:21:6;13316:2;13296:18;;;13289:30;13355:31;13335:18;;;13328:59;13404:18;;1430:64:4;13075:353:6;1430:64:4;1504:11;:18;;-1:-1:-1;;1504:18:4;1518:4;1504:18;;;1385:144::o;1216:163::-;1297:8;;;;;-1:-1:-1;;;;;1297:8:4;1283:10;:22;1275:67;;;;-1:-1:-1;;;1275:67:4;;13635:2:6;1275:67:4;;;13617:21:6;;;13654:18;;;13647:30;13713:34;13693:18;;;13686:62;13765:18;;1275:67:4;13433:356:6;1275:67:4;1352:11;:20;;-1:-1:-1;;1352:20:4;;;;;;;;;;1216:163::o;1069:418:1:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1016:12:4;;1231:7:1;:25;:54;;;-1:-1:-1;5645:7:0;5671:13;1260:7:1;:25;;1231:54;1227:101;;;1308:9;1069:418;-1:-1:-1;;1069:418:1:o;1227:101::-;1349:21;1362:7;1349:12;:21::i;:::-;1337:33;;1384:9;:16;;;1380:63;;;1423:9;1069:418;-1:-1:-1;;1069:418:1:o;1380:63::-;1459:21;1472:7;1459:12;:21::i;10411:313:0:-;10484:13;10514:16;10522:7;10514;:16::i;:::-;10509:59;;10539:29;;-1:-1:-1;;;10539:29:0;;;;;;;;;;;10509:59;10579:21;10603:10;:8;:10::i;:::-;10579:34;;10636:7;10630:21;10655:1;10630:26;;:87;;;;;;;;;;;;;;;;;10683:7;10692:18;10702:7;10692:9;:18::i;:::-;10666:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10623:94;10411:313;-1:-1:-1;;;10411:313:0:o;1937:111:4:-;-1:-1:-1;;;;;7440:25:0;;1995:7:4;7440:25:0;;;:18;:25;;1495:2;7440:25;;;;1360:13;7440:50;;7439:82;2021:20:4;7352:176:0;2160:126:4;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2260:19:4;2273:5;2260:12;:19::i;17693:277:0:-;17758:4;17812:7;17793:15;1016:12:4;;;933:102;17793:15:0;:26;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:0;:49;;17693:277::o;12515:1249::-;12582:7;12616;;12662:15;1016:12:4;;;933:102;12662:15:0;:23;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;-1:-1:-1;;;12855:24:0;;12851:831;;13510:111;13517:11;13510:111;;-1:-1:-1;;;13587:6:0;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:0;;;;;;;;;;;1153:184:5;1274:4;1326;1297:25;1310:5;1317:4;1297:12;:25::i;:::-;:33;;1153:184;-1:-1:-1;;;;1153:184:5:o;27091:2902:0:-;27163:20;27186:13;27213;27209:44;;27235:18;;-1:-1:-1;;;27235:18:0;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:0;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:0;;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:0;29827:45;;29853:19;;-1:-1:-1;;;29853:19:0;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:0;;;:::o;11724:164::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11834:47:0;11853:27;11872:7;11853:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;13967:41:0;;;;2004:3;14052:33;;;14018:68;;-1:-1:-1;;;14018:68:0;-1:-1:-1;;;14115:24:0;;:29;;-1:-1:-1;;;14096:48:0;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:0;-1:-1:-1;13858:361:0;12246:192;12324:24;;;;:17;:24;;;;;;12320:112;;12396:25;12415:5;12396:18;:25::i;:::-;12369:24;;;;:17;:24;;;;;:52;12246:192;:::o;1536:106:4:-;1596:13;1628:7;1621:14;;;;;:::i;11979:159:0:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12106:24:0;;;;:17;:24;;;;;;12087:44;;-1:-1:-1;;;;;;;;;;;;;13967:41:0;;;;2004:3;14052:33;;;14018:68;;-1:-1:-1;;;14018:68:0;-1:-1:-1;;;14115:24:0;;:29;;-1:-1:-1;;;14096:48:0;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:0;-1:-1:-1;13858:361:0;6304:290;6359:7;6562:15;1016:12:4;;;933:102;6562:15:0;6546:13;;:31;6539:38;;6304:290;:::o;25948:697::-;26126:88;;-1:-1:-1;;;26126:88:0;;26106:4;;-1:-1:-1;;;;;26126:45:0;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:0;;;;;;;;-1:-1:-1;;26126:88:0;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26404:13:0;;26400:229;;26449:40;;-1:-1:-1;;;26449:40:0;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:0;-1:-1:-1;;;26282:64:0;;-1:-1:-1;26122:517:0;25948:697;;;;;;:::o;39637:1708::-;39702:17;40130:4;40123;40117:11;40113:22;40220:1;40214:4;40207:15;40293:4;40290:1;40286:12;40279:19;;;40373:1;40368:3;40361:14;40474:3;40708:5;40690:419;40755:1;40750:3;40746:11;40739:18;;40923:2;40917:4;40913:13;40909:2;40905:22;40900:3;40892:36;41015:2;41005:13;;;41070:25;;41088:5;;41070:25;40690:419;;;-1:-1:-1;41137:13:0;;;-1:-1:-1;;41250:14:0;;;41310:19;;;41250:14;39637:1708;-1:-1:-1;39637:1708:0:o;1991:290:5:-;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:5;;;;:::i;:::-;;;;2130:116;;;-1:-1:-1;2262:12:5;1991:290;-1:-1:-1;;;1991:290:5:o;8054:147::-;8117:7;8147:1;8143;:5;:51;;8275:13;8366:15;;;8401:4;8394:15;;;8447:4;8431:21;;8143:51;;;-1:-1:-1;8275:13:5;8366:15;;;8401:4;8394:15;8447:4;8431:21;;;8054:147::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:6;-1:-1:-1;;;;;;88:32:6;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:6;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:6;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:6:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:6;;1343:180;-1:-1:-1;1343:180:6:o;1759:196::-;1827:20;;-1:-1:-1;;;;;1876:54:6;;1866:65;;1856:93;;1945:1;1942;1935:12;1856:93;1759:196;;;:::o;1960:254::-;2028:6;2036;2089:2;2077:9;2068:7;2064:23;2060:32;2057:52;;;2105:1;2102;2095:12;2057:52;2128:29;2147:9;2128:29;:::i;:::-;2118:39;2204:2;2189:18;;;;2176:32;;-1:-1:-1;;;1960:254:6:o;2401:328::-;2478:6;2486;2494;2547:2;2535:9;2526:7;2522:23;2518:32;2515:52;;;2563:1;2560;2553:12;2515:52;2586:29;2605:9;2586:29;:::i;:::-;2576:39;;2634:38;2668:2;2657:9;2653:18;2634:38;:::i;:::-;2624:48;;2719:2;2708:9;2704:18;2691:32;2681:42;;2401:328;;;;;:::o;2916:367::-;2979:8;2989:6;3043:3;3036:4;3028:6;3024:17;3020:27;3010:55;;3061:1;3058;3051:12;3010:55;-1:-1:-1;3084:20:6;;3127:18;3116:30;;3113:50;;;3159:1;3156;3149:12;3113:50;3196:4;3188:6;3184:17;3172:29;;3256:3;3249:4;3239:6;3236:1;3232:14;3224:6;3220:27;3216:38;3213:47;3210:67;;;3273:1;3270;3263:12;3210:67;2916:367;;;;;:::o;3288:579::-;3392:6;3400;3408;3416;3469:2;3457:9;3448:7;3444:23;3440:32;3437:52;;;3485:1;3482;3475:12;3437:52;3508:29;3527:9;3508:29;:::i;:::-;3498:39;;3584:2;3573:9;3569:18;3556:32;3546:42;;3639:2;3628:9;3624:18;3611:32;3666:18;3658:6;3655:30;3652:50;;;3698:1;3695;3688:12;3652:50;3737:70;3799:7;3790:6;3779:9;3775:22;3737:70;:::i;:::-;3288:579;;;;-1:-1:-1;3826:8:6;-1:-1:-1;;;;3288:579:6:o;4249:268::-;3956:12;;-1:-1:-1;;;;;3952:61:6;3940:74;;4067:4;4056:16;;;4050:23;4075:18;4046:48;4030:14;;;4023:72;4158:4;4147:16;;;4141:23;4134:31;4127:39;4111:14;;;4104:63;4220:4;4209:16;;;4203:23;4228:8;4199:38;4183:14;;;4176:62;4447:3;4432:19;;4460:51;3872:372;4522:437;4608:6;4616;4669:2;4657:9;4648:7;4644:23;4640:32;4637:52;;;4685:1;4682;4675:12;4637:52;4725:9;4712:23;4758:18;4750:6;4747:30;4744:50;;;4790:1;4787;4780:12;4744:50;4829:70;4891:7;4882:6;4871:9;4867:22;4829:70;:::i;:::-;4918:8;;4803:96;;-1:-1:-1;4522:437:6;-1:-1:-1;;;;4522:437:6:o;4964:724::-;5199:2;5251:21;;;5321:13;;5224:18;;;5343:22;;;5170:4;;5199:2;5422:15;;;;5396:2;5381:18;;;5170:4;5465:197;5479:6;5476:1;5473:13;5465:197;;;5528:52;5576:3;5567:6;5561:13;-1:-1:-1;;;;;3962:5:6;3956:12;3952:61;3947:3;3940:74;4075:18;4067:4;4060:5;4056:16;4050:23;4046:48;4039:4;4034:3;4030:14;4023:72;4158:4;4151:5;4147:16;4141:23;4134:31;4127:39;4120:4;4115:3;4111:14;4104:63;4228:8;4220:4;4213:5;4209:16;4203:23;4199:38;4192:4;4187:3;4183:14;4176:62;;;3872:372;5528:52;5637:15;;;;5609:4;5600:14;;;;;5501:1;5494:9;5465:197;;5693:186;5752:6;5805:2;5793:9;5784:7;5780:23;5776:32;5773:52;;;5821:1;5818;5811:12;5773:52;5844:29;5863:9;5844:29;:::i;6069:632::-;6240:2;6292:21;;;6362:13;;6265:18;;;6384:22;;;6211:4;;6240:2;6463:15;;;;6437:2;6422:18;;;6211:4;6506:169;6520:6;6517:1;6514:13;6506:169;;;6581:13;;6569:26;;6650:15;;;;6615:12;;;;6542:1;6535:9;6506:169;;6706:127;6767:10;6762:3;6758:20;6755:1;6748:31;6798:4;6795:1;6788:15;6822:4;6819:1;6812:15;6838:632;6903:5;6933:18;6974:2;6966:6;6963:14;6960:40;;;6980:18;;:::i;:::-;7055:2;7049:9;7023:2;7109:15;;-1:-1:-1;;7105:24:6;;;7131:2;7101:33;7097:42;7085:55;;;7155:18;;;7175:22;;;7152:46;7149:72;;;7201:18;;:::i;:::-;7241:10;7237:2;7230:22;7270:6;7261:15;;7300:6;7292;7285:22;7340:3;7331:6;7326:3;7322:16;7319:25;7316:45;;;7357:1;7354;7347:12;7316:45;7407:6;7402:3;7395:4;7387:6;7383:17;7370:44;7462:1;7455:4;7446:6;7438;7434:19;7430:30;7423:41;;;;6838:632;;;;;:::o;7475:451::-;7544:6;7597:2;7585:9;7576:7;7572:23;7568:32;7565:52;;;7613:1;7610;7603:12;7565:52;7653:9;7640:23;7686:18;7678:6;7675:30;7672:50;;;7718:1;7715;7708:12;7672:50;7741:22;;7794:4;7786:13;;7782:27;-1:-1:-1;7772:55:6;;7823:1;7820;7813:12;7772:55;7846:74;7912:7;7907:2;7894:16;7889:2;7885;7881:11;7846:74;:::i;7931:322::-;8008:6;8016;8024;8077:2;8065:9;8056:7;8052:23;8048:32;8045:52;;;8093:1;8090;8083:12;8045:52;8116:29;8135:9;8116:29;:::i;:::-;8106:39;8192:2;8177:18;;8164:32;;-1:-1:-1;8243:2:6;8228:18;;;8215:32;;7931:322;-1:-1:-1;;;7931:322:6:o;8258:160::-;8323:20;;8379:13;;8372:21;8362:32;;8352:60;;8408:1;8405;8398:12;8423:254;8488:6;8496;8549:2;8537:9;8528:7;8524:23;8520:32;8517:52;;;8565:1;8562;8555:12;8517:52;8588:29;8607:9;8588:29;:::i;:::-;8578:39;;8636:35;8667:2;8656:9;8652:18;8636:35;:::i;:::-;8626:45;;8423:254;;;;;:::o;8682:667::-;8777:6;8785;8793;8801;8854:3;8842:9;8833:7;8829:23;8825:33;8822:53;;;8871:1;8868;8861:12;8822:53;8894:29;8913:9;8894:29;:::i;:::-;8884:39;;8942:38;8976:2;8965:9;8961:18;8942:38;:::i;:::-;8932:48;;9027:2;9016:9;9012:18;8999:32;8989:42;;9082:2;9071:9;9067:18;9054:32;9109:18;9101:6;9098:30;9095:50;;;9141:1;9138;9131:12;9095:50;9164:22;;9217:4;9209:13;;9205:27;-1:-1:-1;9195:55:6;;9246:1;9243;9236:12;9195:55;9269:74;9335:7;9330:2;9317:16;9312:2;9308;9304:11;9269:74;:::i;:::-;9259:84;;;8682:667;;;;;;;:::o;9354:180::-;9410:6;9463:2;9451:9;9442:7;9438:23;9434:32;9431:52;;;9479:1;9476;9469:12;9431:52;9502:26;9518:9;9502:26;:::i;9539:260::-;9607:6;9615;9668:2;9656:9;9647:7;9643:23;9639:32;9636:52;;;9684:1;9681;9674:12;9636:52;9707:29;9726:9;9707:29;:::i;:::-;9697:39;;9755:38;9789:2;9778:9;9774:18;9755:38;:::i;9804:380::-;9883:1;9879:12;;;;9926;;;9947:61;;10001:4;9993:6;9989:17;9979:27;;9947:61;10054:2;10046:6;10043:14;10023:18;10020:38;10017:161;;;10100:10;10095:3;10091:20;10088:1;10081:31;10135:4;10132:1;10125:15;10163:4;10160:1;10153:15;10017:161;;9804:380;;;:::o;10189:127::-;10250:10;10245:3;10241:20;10238:1;10231:31;10281:4;10278:1;10271:15;10305:4;10302:1;10295:15;10321:128;10361:3;10392:1;10388:6;10385:1;10382:13;10379:39;;;10398:18;;:::i;:::-;-1:-1:-1;10434:9:6;;10321:128::o;12135:127::-;12196:10;12191:3;12187:20;12184:1;12177:31;12227:4;12224:1;12217:15;12251:4;12248:1;12241:15;13794:470;13973:3;14011:6;14005:13;14027:53;14073:6;14068:3;14061:4;14053:6;14049:17;14027:53;:::i;:::-;14143:13;;14102:16;;;;14165:57;14143:13;14102:16;14199:4;14187:17;;14165:57;:::i;:::-;14238:20;;13794:470;-1:-1:-1;;;;13794:470:6:o;14269:512::-;14463:4;-1:-1:-1;;;;;14573:2:6;14565:6;14561:15;14550:9;14543:34;14625:2;14617:6;14613:15;14608:2;14597:9;14593:18;14586:43;;14665:6;14660:2;14649:9;14645:18;14638:34;14708:3;14703:2;14692:9;14688:18;14681:31;14729:46;14770:3;14759:9;14755:19;14747:6;14729:46;:::i;:::-;14721:54;14269:512;-1:-1:-1;;;;;;14269:512:6:o;14786:249::-;14855:6;14908:2;14896:9;14887:7;14883:23;14879:32;14876:52;;;14924:1;14921;14914:12;14876:52;14956:9;14950:16;14975:30;14999:5;14975:30;:::i;15040:135::-;15079:3;-1:-1:-1;;15100:17:6;;15097:43;;;15120:18;;:::i;:::-;-1:-1:-1;15167:1:6;15156:13;;15040:135::o
Swarm Source
ipfs://18b90a862a6282d3425bb1d9c627361836bd8e42e562e9c24a3f35d54976572d
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.