ERC-721
Overview
Max Total Supply
40 Movement Blurs
Holders
16
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 Movement BlursLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MovementBlurs
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-05 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.13; // ERC721A Contracts v4.2.3 // Creator: Chiru Labs // ERC721A Contracts v4.2.3 // Creator: Chiru Labs /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } /** * @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) } } } // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) // OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol) /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } contract MovementBlurs is ERC721A, Ownable, DefaultOperatorFilterer { string public baseURI = ""; string public contractURI = "ipfs://QmQhCwohYfdVoFGMV6LxFKtZ7c396rei1xTc2upCMYExnx"; uint256 constant public MAX_SUPPLY = 999; uint256 public mintLimit = 9; uint256 public mintTxLimit = 3; uint256 public price = 0.0045 ether; bool public paused = true; constructor() ERC721A("Movement Blurs", "Movement Blurs") { _safeMint(msg.sender, 1); } function _startTokenId() internal override view virtual returns (uint256) { return 1; } function mint(uint256 _amountToMint) external payable { address _caller = _msgSender(); require(!paused, "Public paused"); require(MAX_SUPPLY >= totalSupply() + _amountToMint, "Exceeds max supply"); require(_amountToMint > 0, "Not 0 mints"); require(_amountToMint <= mintTxLimit, "Mint tx limit"); require(_numberMinted(_caller) + _amountToMint <= mintLimit, "Mint limit"); require(_amountToMint * price <= msg.value, "Invalid funds provided"); _safeMint(_caller, _amountToMint); } function withdraw() external onlyOwner { (bool success, ) = payable(owner()).call{value: address(this).balance}(""); require(success, "Failed to send"); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function teamMint(address _to, uint256 _amount) external onlyOwner { _safeMint(_to, _amount); } function togglePause() external onlyOwner { paused = !paused; } function setPrice(uint256 _price) external onlyOwner { price = _price; } function setMintLimit(uint256 _limit, uint256 _txLimit) external onlyOwner { mintLimit = _limit; mintTxLimit = _txLimit; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function setContractURI(string memory contractURI_) external onlyOwner { contractURI = contractURI_; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(_tokenId), ".json" ) ) : ""; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintTxLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"},{"internalType":"uint256","name":"_txLimit","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052600060809081526009906200001a9082620005cf565b506040518060600160405280603581526020016200234860359139600a90620000449082620005cf565b506009600b556003600c55660ffcb9e57d4000600d55600e805460ff191660011790553480156200007457600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600e81526020016d4d6f76656d656e7420426c75727360901b8152506040518060400160405280600e81526020016d4d6f76656d656e7420426c75727360901b8152508160029081620000eb9190620005cf565b506003620000fa8282620005cf565b50506001600055506200010d3362000268565b6daaeb6d7670e522a718067333cd4e3b1562000252578015620001a057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200018157600080fd5b505af115801562000196573d6000803e3d6000fd5b5050505062000252565b6001600160a01b03821615620001f15760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000166565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200023857600080fd5b505af11580156200024d573d6000803e3d6000fd5b505050505b50620002629050336001620002ba565b62000749565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002dc828260405180602001604052806000815250620002e060201b60201c565b5050565b620002ec838362000357565b6001600160a01b0383163b1562000352576000548281035b60018101906200031a9060009087908662000437565b62000338576040516368d2bf6b60e11b815260040160405180910390fd5b818110620003045781600054146200034f57600080fd5b50505b505050565b60008054908290036200037d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206200237d8339815191528180a4600183015b8181146200040c57808360006000805160206200237d833981519152600080a4600101620003e3565b50816000036200042e57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200046e9033908990889088906004016200069b565b6020604051808303816000875af1925050508015620004ac575060408051601f3d908101601f19168201909252620004a99181019062000716565b60015b6200050e573d808015620004dd576040519150601f19603f3d011682016040523d82523d6000602084013e620004e2565b606091505b50805160000362000506576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200055657607f821691505b6020821081036200057757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035257600081815260208120601f850160051c81016020861015620005a65750805b601f850160051c820191505b81811015620005c757828155600101620005b2565b505050505050565b81516001600160401b03811115620005eb57620005eb6200052b565b6200060381620005fc845462000541565b846200057d565b602080601f8311600181146200063b5760008415620006225750858301515b600019600386901b1c1916600185901b178555620005c7565b600085815260208120601f198616915b828110156200066c578886015182559484019460019091019084016200064b565b50858210156200068b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620006ea5785810182015185820160a001528101620006cc565b82811115620006fd57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200072957600080fd5b81516001600160e01b0319811681146200074257600080fd5b9392505050565b611bef80620007596000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd1461050f578063e69c85121461052f578063e8a3d48514610545578063e985e9c51461055a578063f2fde38b146105a357600080fd5b8063a22cb465146104a7578063add5a4fa146104c7578063b88d4fde146104e7578063c4ae3168146104fa57600080fd5b806395d89b41116100dc57806395d89b4114610453578063996517cf14610468578063a035b1fe1461047e578063a0712d681461049457600080fd5b8063715018a6146103e05780638da5cb5b146103f557806391b7f5ed14610413578063938e3d7b1461043357600080fd5b806341f43434116101855780636352211e116101545780636352211e1461036b5780636c0360eb1461038b5780636fad40d5146103a057806370a08231146103c057600080fd5b806341f43434146102fc57806342842e0e1461031e57806355f804b3146103315780635c975abb1461035157600080fd5b806318160ddd116101c157806318160ddd1461029757806323b872dd146102be57806332cb6b0c146102d15780633ccfd60b146102e757600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046115f5565b6105c3565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610615565b60405161021f919061166a565b34801561025657600080fd5b5061026a61026536600461167d565b6106a7565b6040516001600160a01b03909116815260200161021f565b6102956102903660046116b2565b6106eb565b005b3480156102a357600080fd5b5060015460005403600019015b60405190815260200161021f565b6102956102cc3660046116dc565b610704565b3480156102dd57600080fd5b506102b06103e781565b3480156102f357600080fd5b5061029561072f565b34801561030857600080fd5b5061026a6daaeb6d7670e522a718067333cd4e81565b61029561032c3660046116dc565b6107e4565b34801561033d57600080fd5b5061029561034c3660046117a4565b610809565b34801561035d57600080fd5b50600e546102139060ff1681565b34801561037757600080fd5b5061026a61038636600461167d565b610821565b34801561039757600080fd5b5061023d61082c565b3480156103ac57600080fd5b506102956103bb3660046117ed565b6108ba565b3480156103cc57600080fd5b506102b06103db36600461180f565b6108cd565b3480156103ec57600080fd5b5061029561091c565b34801561040157600080fd5b506008546001600160a01b031661026a565b34801561041f57600080fd5b5061029561042e36600461167d565b610930565b34801561043f57600080fd5b5061029561044e3660046117a4565b61093d565b34801561045f57600080fd5b5061023d610951565b34801561047457600080fd5b506102b0600b5481565b34801561048a57600080fd5b506102b0600d5481565b6102956104a236600461167d565b610960565b3480156104b357600080fd5b506102956104c2366004611838565b610b59565b3480156104d357600080fd5b506102956104e23660046116b2565b610b6d565b6102956104f536600461186f565b610b7f565b34801561050657600080fd5b50610295610bac565b34801561051b57600080fd5b5061023d61052a36600461167d565b610bc8565b34801561053b57600080fd5b506102b0600c5481565b34801561055157600080fd5b5061023d610c73565b34801561056657600080fd5b506102136105753660046118eb565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105af57600080fd5b506102956105be36600461180f565b610c80565b60006301ffc9a760e01b6001600160e01b0319831614806105f457506380ac58cd60e01b6001600160e01b03198316145b8061060f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106249061191e565b80601f01602080910402602001604051908101604052809291908181526020018280546106509061191e565b801561069d5780601f106106725761010080835404028352916020019161069d565b820191906000526020600020905b81548152906001019060200180831161068057829003601f168201915b5050505050905090565b60006106b282610cf6565b6106cf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816106f581610d2b565b6106ff8383610de4565b505050565b826001600160a01b038116331461071e5761071e33610d2b565b610729848484610e84565b50505050565b61073761101d565b600061074b6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610795576040519150601f19603f3d011682016040523d82523d6000602084013e61079a565b606091505b50509050806107e15760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064015b60405180910390fd5b50565b826001600160a01b03811633146107fe576107fe33610d2b565b610729848484611077565b61081161101d565b600961081d828261199e565b5050565b600061060f82611092565b600980546108399061191e565b80601f01602080910402602001604051908101604052809291908181526020018280546108659061191e565b80156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b505050505081565b6108c261101d565b600b91909155600c55565b60006001600160a01b0382166108f6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61092461101d565b61092e6000611108565b565b61093861101d565b600d55565b61094561101d565b600a61081d828261199e565b6060600380546106249061191e565b600e54339060ff16156109a55760405162461bcd60e51b815260206004820152600d60248201526c141d589b1a58c81c185d5cd959609a1b60448201526064016107d8565b60015460005483919003600019016109bd9190611a74565b6103e71015610a035760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016107d8565b60008211610a415760405162461bcd60e51b815260206004820152600b60248201526a4e6f742030206d696e747360a81b60448201526064016107d8565b600c54821115610a835760405162461bcd60e51b815260206004820152600d60248201526c135a5b9d081d1e081b1a5b5a5d609a1b60448201526064016107d8565b600b5482610ab4836001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610abe9190611a74565b1115610af95760405162461bcd60e51b815260206004820152600a602482015269135a5b9d081b1a5b5a5d60b21b60448201526064016107d8565b34600d5483610b089190611a8c565b1115610b4f5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016107d8565b61081d818361115a565b81610b6381610d2b565b6106ff8383611174565b610b7561101d565b61081d828261115a565b836001600160a01b0381163314610b9957610b9933610d2b565b610ba5858585856111e0565b5050505050565b610bb461101d565b600e805460ff19811660ff90911615179055565b6060610bd382610cf6565b610c175760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016107d8565b600060098054610c269061191e565b905011610c42576040518060200160405280600081525061060f565b6009610c4d83611224565b604051602001610c5e929190611aab565b60405160208183030381529060405292915050565b600a80546108399061191e565b610c8861101d565b6001600160a01b038116610ced5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d8565b6107e181611108565b600081600111158015610d0a575060005482105b801561060f575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156107e157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610d98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbc9190611b42565b6107e157604051633b79c77360e21b81526001600160a01b03821660048201526024016107d8565b6000610def82610821565b9050336001600160a01b03821614610e2857610e0b8133610575565b610e28576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610e8f82611092565b9050836001600160a01b0316816001600160a01b031614610ec25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610f0f57610ef28633610575565b610f0f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f3657604051633a954ecd60e21b815260040160405180910390fd5b8015610f4157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610fd357600184016000818152600460205260408120549003610fd1576000548114610fd15760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b0316331461092e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d8565b6106ff83838360405180602001604052806000815250610b7f565b600081806001116110ef576000548110156110ef5760008181526004602052604081205490600160e01b821690036110ed575b806000036110e65750600019016000818152600460205260409020546110c5565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61081d8282604051806020016040528060008152506112b7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111eb848484610704565b6001600160a01b0383163b15610729576112078484848461131d565b610729576040516368d2bf6b60e11b815260040160405180910390fd5b6060600061123183611409565b600101905060008167ffffffffffffffff81111561125157611251611718565b6040519080825280601f01601f19166020018201604052801561127b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461128557509392505050565b6112c183836114e1565b6001600160a01b0383163b156106ff576000548281035b6112eb600086838060010194508661131d565b611308576040516368d2bf6b60e11b815260040160405180910390fd5b8181106112d8578160005414610ba557600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611352903390899088908890600401611b5f565b6020604051808303816000875af192505050801561138d575060408051601f3d908101601f1916820190925261138a91810190611b9c565b60015b6113eb573d8080156113bb576040519150601f19603f3d011682016040523d82523d6000602084013e6113c0565b606091505b5080516000036113e3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114485772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611474576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061149257662386f26fc10000830492506010015b6305f5e10083106114aa576305f5e100830492506008015b61271083106114be57612710830492506004015b606483106114d0576064830492506002015b600a831061060f5760010192915050565b60008054908290036115065760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146115b557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161157d565b50816000036115d657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146107e157600080fd5b60006020828403121561160757600080fd5b81356110e6816115df565b60005b8381101561162d578181015183820152602001611615565b838111156107295750506000910152565b60008151808452611656816020860160208601611612565b601f01601f19169290920160200192915050565b6020815260006110e6602083018461163e565b60006020828403121561168f57600080fd5b5035919050565b80356001600160a01b03811681146116ad57600080fd5b919050565b600080604083850312156116c557600080fd5b6116ce83611696565b946020939093013593505050565b6000806000606084860312156116f157600080fd5b6116fa84611696565b925061170860208501611696565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561174957611749611718565b604051601f8501601f19908116603f0116810190828211818310171561177157611771611718565b8160405280935085815286868601111561178a57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156117b657600080fd5b813567ffffffffffffffff8111156117cd57600080fd5b8201601f810184136117de57600080fd5b6114018482356020840161172e565b6000806040838503121561180057600080fd5b50508035926020909101359150565b60006020828403121561182157600080fd5b6110e682611696565b80151581146107e157600080fd5b6000806040838503121561184b57600080fd5b61185483611696565b915060208301356118648161182a565b809150509250929050565b6000806000806080858703121561188557600080fd5b61188e85611696565b935061189c60208601611696565b925060408501359150606085013567ffffffffffffffff8111156118bf57600080fd5b8501601f810187136118d057600080fd5b6118df8782356020840161172e565b91505092959194509250565b600080604083850312156118fe57600080fd5b61190783611696565b915061191560208401611696565b90509250929050565b600181811c9082168061193257607f821691505b60208210810361195257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106ff57600081815260208120601f850160051c8101602086101561197f5750805b601f850160051c820191505b818110156110155782815560010161198b565b815167ffffffffffffffff8111156119b8576119b8611718565b6119cc816119c6845461191e565b84611958565b602080601f831160018114611a0157600084156119e95750858301515b600019600386901b1c1916600185901b178555611015565b600085815260208120601f198616915b82811015611a3057888601518255948401946001909101908401611a11565b5085821015611a4e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008219821115611a8757611a87611a5e565b500190565b6000816000190483118215151615611aa657611aa6611a5e565b500290565b6000808454611ab98161191e565b60018281168015611ad15760018114611ae657611b15565b60ff1984168752821515830287019450611b15565b8860005260208060002060005b85811015611b0c5781548a820152908401908201611af3565b50505082870194505b505050508351611b29818360208801611612565b64173539b7b760d91b9101908152600501949350505050565b600060208284031215611b5457600080fd5b81516110e68161182a565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b929083018461163e565b9695505050505050565b600060208284031215611bae57600080fd5b81516110e6816115df56fea264697066735822122015baf6d7e974ed10c476356defdec8b8d72bd1979b38eba2b7d8eea7e6308b8d64736f6c634300080f0033697066733a2f2f516d516843776f68596664566f46474d56364c78464b745a376333393672656931785463327570434d5945786e78ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd1461050f578063e69c85121461052f578063e8a3d48514610545578063e985e9c51461055a578063f2fde38b146105a357600080fd5b8063a22cb465146104a7578063add5a4fa146104c7578063b88d4fde146104e7578063c4ae3168146104fa57600080fd5b806395d89b41116100dc57806395d89b4114610453578063996517cf14610468578063a035b1fe1461047e578063a0712d681461049457600080fd5b8063715018a6146103e05780638da5cb5b146103f557806391b7f5ed14610413578063938e3d7b1461043357600080fd5b806341f43434116101855780636352211e116101545780636352211e1461036b5780636c0360eb1461038b5780636fad40d5146103a057806370a08231146103c057600080fd5b806341f43434146102fc57806342842e0e1461031e57806355f804b3146103315780635c975abb1461035157600080fd5b806318160ddd116101c157806318160ddd1461029757806323b872dd146102be57806332cb6b0c146102d15780633ccfd60b146102e757600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046115f5565b6105c3565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610615565b60405161021f919061166a565b34801561025657600080fd5b5061026a61026536600461167d565b6106a7565b6040516001600160a01b03909116815260200161021f565b6102956102903660046116b2565b6106eb565b005b3480156102a357600080fd5b5060015460005403600019015b60405190815260200161021f565b6102956102cc3660046116dc565b610704565b3480156102dd57600080fd5b506102b06103e781565b3480156102f357600080fd5b5061029561072f565b34801561030857600080fd5b5061026a6daaeb6d7670e522a718067333cd4e81565b61029561032c3660046116dc565b6107e4565b34801561033d57600080fd5b5061029561034c3660046117a4565b610809565b34801561035d57600080fd5b50600e546102139060ff1681565b34801561037757600080fd5b5061026a61038636600461167d565b610821565b34801561039757600080fd5b5061023d61082c565b3480156103ac57600080fd5b506102956103bb3660046117ed565b6108ba565b3480156103cc57600080fd5b506102b06103db36600461180f565b6108cd565b3480156103ec57600080fd5b5061029561091c565b34801561040157600080fd5b506008546001600160a01b031661026a565b34801561041f57600080fd5b5061029561042e36600461167d565b610930565b34801561043f57600080fd5b5061029561044e3660046117a4565b61093d565b34801561045f57600080fd5b5061023d610951565b34801561047457600080fd5b506102b0600b5481565b34801561048a57600080fd5b506102b0600d5481565b6102956104a236600461167d565b610960565b3480156104b357600080fd5b506102956104c2366004611838565b610b59565b3480156104d357600080fd5b506102956104e23660046116b2565b610b6d565b6102956104f536600461186f565b610b7f565b34801561050657600080fd5b50610295610bac565b34801561051b57600080fd5b5061023d61052a36600461167d565b610bc8565b34801561053b57600080fd5b506102b0600c5481565b34801561055157600080fd5b5061023d610c73565b34801561056657600080fd5b506102136105753660046118eb565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105af57600080fd5b506102956105be36600461180f565b610c80565b60006301ffc9a760e01b6001600160e01b0319831614806105f457506380ac58cd60e01b6001600160e01b03198316145b8061060f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106249061191e565b80601f01602080910402602001604051908101604052809291908181526020018280546106509061191e565b801561069d5780601f106106725761010080835404028352916020019161069d565b820191906000526020600020905b81548152906001019060200180831161068057829003601f168201915b5050505050905090565b60006106b282610cf6565b6106cf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816106f581610d2b565b6106ff8383610de4565b505050565b826001600160a01b038116331461071e5761071e33610d2b565b610729848484610e84565b50505050565b61073761101d565b600061074b6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610795576040519150601f19603f3d011682016040523d82523d6000602084013e61079a565b606091505b50509050806107e15760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064015b60405180910390fd5b50565b826001600160a01b03811633146107fe576107fe33610d2b565b610729848484611077565b61081161101d565b600961081d828261199e565b5050565b600061060f82611092565b600980546108399061191e565b80601f01602080910402602001604051908101604052809291908181526020018280546108659061191e565b80156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b505050505081565b6108c261101d565b600b91909155600c55565b60006001600160a01b0382166108f6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61092461101d565b61092e6000611108565b565b61093861101d565b600d55565b61094561101d565b600a61081d828261199e565b6060600380546106249061191e565b600e54339060ff16156109a55760405162461bcd60e51b815260206004820152600d60248201526c141d589b1a58c81c185d5cd959609a1b60448201526064016107d8565b60015460005483919003600019016109bd9190611a74565b6103e71015610a035760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016107d8565b60008211610a415760405162461bcd60e51b815260206004820152600b60248201526a4e6f742030206d696e747360a81b60448201526064016107d8565b600c54821115610a835760405162461bcd60e51b815260206004820152600d60248201526c135a5b9d081d1e081b1a5b5a5d609a1b60448201526064016107d8565b600b5482610ab4836001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b610abe9190611a74565b1115610af95760405162461bcd60e51b815260206004820152600a602482015269135a5b9d081b1a5b5a5d60b21b60448201526064016107d8565b34600d5483610b089190611a8c565b1115610b4f5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016107d8565b61081d818361115a565b81610b6381610d2b565b6106ff8383611174565b610b7561101d565b61081d828261115a565b836001600160a01b0381163314610b9957610b9933610d2b565b610ba5858585856111e0565b5050505050565b610bb461101d565b600e805460ff19811660ff90911615179055565b6060610bd382610cf6565b610c175760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016107d8565b600060098054610c269061191e565b905011610c42576040518060200160405280600081525061060f565b6009610c4d83611224565b604051602001610c5e929190611aab565b60405160208183030381529060405292915050565b600a80546108399061191e565b610c8861101d565b6001600160a01b038116610ced5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d8565b6107e181611108565b600081600111158015610d0a575060005482105b801561060f575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156107e157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610d98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbc9190611b42565b6107e157604051633b79c77360e21b81526001600160a01b03821660048201526024016107d8565b6000610def82610821565b9050336001600160a01b03821614610e2857610e0b8133610575565b610e28576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610e8f82611092565b9050836001600160a01b0316816001600160a01b031614610ec25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610f0f57610ef28633610575565b610f0f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f3657604051633a954ecd60e21b815260040160405180910390fd5b8015610f4157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610fd357600184016000818152600460205260408120549003610fd1576000548114610fd15760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b0316331461092e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d8565b6106ff83838360405180602001604052806000815250610b7f565b600081806001116110ef576000548110156110ef5760008181526004602052604081205490600160e01b821690036110ed575b806000036110e65750600019016000818152600460205260409020546110c5565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61081d8282604051806020016040528060008152506112b7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111eb848484610704565b6001600160a01b0383163b15610729576112078484848461131d565b610729576040516368d2bf6b60e11b815260040160405180910390fd5b6060600061123183611409565b600101905060008167ffffffffffffffff81111561125157611251611718565b6040519080825280601f01601f19166020018201604052801561127b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461128557509392505050565b6112c183836114e1565b6001600160a01b0383163b156106ff576000548281035b6112eb600086838060010194508661131d565b611308576040516368d2bf6b60e11b815260040160405180910390fd5b8181106112d8578160005414610ba557600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611352903390899088908890600401611b5f565b6020604051808303816000875af192505050801561138d575060408051601f3d908101601f1916820190925261138a91810190611b9c565b60015b6113eb573d8080156113bb576040519150601f19603f3d011682016040523d82523d6000602084013e6113c0565b606091505b5080516000036113e3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114485772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611474576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061149257662386f26fc10000830492506010015b6305f5e10083106114aa576305f5e100830492506008015b61271083106114be57612710830492506004015b606483106114d0576064830492506002015b600a831061060f5760010192915050565b60008054908290036115065760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146115b557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161157d565b50816000036115d657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146107e157600080fd5b60006020828403121561160757600080fd5b81356110e6816115df565b60005b8381101561162d578181015183820152602001611615565b838111156107295750506000910152565b60008151808452611656816020860160208601611612565b601f01601f19169290920160200192915050565b6020815260006110e6602083018461163e565b60006020828403121561168f57600080fd5b5035919050565b80356001600160a01b03811681146116ad57600080fd5b919050565b600080604083850312156116c557600080fd5b6116ce83611696565b946020939093013593505050565b6000806000606084860312156116f157600080fd5b6116fa84611696565b925061170860208501611696565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561174957611749611718565b604051601f8501601f19908116603f0116810190828211818310171561177157611771611718565b8160405280935085815286868601111561178a57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156117b657600080fd5b813567ffffffffffffffff8111156117cd57600080fd5b8201601f810184136117de57600080fd5b6114018482356020840161172e565b6000806040838503121561180057600080fd5b50508035926020909101359150565b60006020828403121561182157600080fd5b6110e682611696565b80151581146107e157600080fd5b6000806040838503121561184b57600080fd5b61185483611696565b915060208301356118648161182a565b809150509250929050565b6000806000806080858703121561188557600080fd5b61188e85611696565b935061189c60208601611696565b925060408501359150606085013567ffffffffffffffff8111156118bf57600080fd5b8501601f810187136118d057600080fd5b6118df8782356020840161172e565b91505092959194509250565b600080604083850312156118fe57600080fd5b61190783611696565b915061191560208401611696565b90509250929050565b600181811c9082168061193257607f821691505b60208210810361195257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106ff57600081815260208120601f850160051c8101602086101561197f5750805b601f850160051c820191505b818110156110155782815560010161198b565b815167ffffffffffffffff8111156119b8576119b8611718565b6119cc816119c6845461191e565b84611958565b602080601f831160018114611a0157600084156119e95750858301515b600019600386901b1c1916600185901b178555611015565b600085815260208120601f198616915b82811015611a3057888601518255948401946001909101908401611a11565b5085821015611a4e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008219821115611a8757611a87611a5e565b500190565b6000816000190483118215151615611aa657611aa6611a5e565b500290565b6000808454611ab98161191e565b60018281168015611ad15760018114611ae657611b15565b60ff1984168752821515830287019450611b15565b8860005260208060002060005b85811015611b0c5781548a820152908401908201611af3565b50505082870194505b505050508351611b29818360208801611612565b64173539b7b760d91b9101908152600501949350505050565b600060208284031215611b5457600080fd5b81516110e68161182a565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b929083018461163e565b9695505050505050565b600060208284031215611bae57600080fd5b81516110e6816115df56fea264697066735822122015baf6d7e974ed10c476356defdec8b8d72bd1979b38eba2b7d8eea7e6308b8d64736f6c634300080f0033
Deployed Bytecode Sourcemap
74998:3394:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18332:639;;;;;;;;;;-1:-1:-1;18332:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18332:639:0;;;;;;;;19234:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25725:218::-;;;;;;;;;;-1:-1:-1;25725:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;25725:218:0;1528:203:1;76560:165:0;;;;;;:::i;:::-;;:::i;:::-;;14985:323;;;;;;;;;;-1:-1:-1;75598:1:0;15259:12;15046:7;15243:13;:28;-1:-1:-1;;15243:46:0;14985:323;;;2319:25:1;;;2307:2;2292:18;14985:323:0;2173:177:1;76733:171:0;;;;;;:::i;:::-;;:::i;75198:40::-;;;;;;;;;;;;75235:3;75198:40;;76191:177;;;;;;;;;;;;;:::i;72599:143::-;;;;;;;;;;;;72699:42;72599:143;;76912:179;;;;;;:::i;:::-;;:::i;77801:100::-;;;;;;;;;;-1:-1:-1;77801:100:0;;;;;:::i;:::-;;:::i;75363:25::-;;;;;;;;;;-1:-1:-1;75363:25:0;;;;;;;;20627:152;;;;;;;;;;-1:-1:-1;20627:152:0;;;;;:::i;:::-;;:::i;75075:26::-;;;;;;;;;;;;;:::i;77648:145::-;;;;;;;;;;-1:-1:-1;77648:145:0;;;;;:::i;:::-;;:::i;16169:233::-;;;;;;;;;;-1:-1:-1;16169:233:0;;;;;:::i;:::-;;:::i;53984:103::-;;;;;;;;;;;;;:::i;53336:87::-;;;;;;;;;;-1:-1:-1;53409:6:0;;-1:-1:-1;;;;;53409:6:0;53336:87;;77554:86;;;;;;;;;;-1:-1:-1;77554:86:0;;;;;:::i;:::-;;:::i;77909:116::-;;;;;;;;;;-1:-1:-1;77909:116:0;;;;;:::i;:::-;;:::i;19410:104::-;;;;;;;;;;;;;:::i;75247:28::-;;;;;;;;;;;;;;;;75319:35;;;;;;;;;;;;;;;;75615:568;;;;;;:::i;:::-;;:::i;76376:176::-;;;;;;;;;;-1:-1:-1;76376:176:0;;;;;:::i;:::-;;:::i;77352:109::-;;;;;;;;;;-1:-1:-1;77352:109:0;;;;;:::i;:::-;;:::i;77099:245::-;;;;;;:::i;:::-;;:::i;77469:77::-;;;;;;;;;;;;;:::i;78033:356::-;;;;;;;;;;-1:-1:-1;78033:356:0;;;;;:::i;:::-;;:::i;75282:30::-;;;;;;;;;;;;;;;;75108:83;;;;;;;;;;;;;:::i;26674:164::-;;;;;;;;;;-1:-1:-1;26674:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26795:25:0;;;26771:4;26795:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26674:164;54242:201;;;;;;;;;;-1:-1:-1;54242:201:0;;;;;:::i;:::-;;:::i;18332:639::-;18417:4;-1:-1:-1;;;;;;;;;18741:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18818:25:0;;;18741:102;:179;;;-1:-1:-1;;;;;;;;;;18895:25:0;;;18741:179;18721:199;18332:639;-1:-1:-1;;18332:639:0:o;19234:100::-;19288:13;19321:5;19314:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19234:100;:::o;25725:218::-;25801:7;25826:16;25834:7;25826;:16::i;:::-;25821:64;;25851:34;;-1:-1:-1;;;25851:34:0;;;;;;;;;;;25821:64;-1:-1:-1;25905:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25905:30:0;;25725:218::o;76560:165::-;76664:8;74120:30;74141:8;74120:20;:30::i;:::-;76685:32:::1;76699:8;76709:7;76685:13;:32::i;:::-;76560:165:::0;;;:::o;76733:171::-;76842:4;-1:-1:-1;;;;;73940:18:0;;73948:10;73940:18;73936:83;;73975:32;73996:10;73975:20;:32::i;:::-;76859:37:::1;76878:4;76884:2;76888:7;76859:18;:37::i;:::-;76733:171:::0;;;;:::o;76191:177::-;53222:13;:11;:13::i;:::-;76242:12:::1;76268:7;53409:6:::0;;-1:-1:-1;;;;;53409:6:0;;53336:87;76268:7:::1;-1:-1:-1::0;;;;;76260:21:0::1;76289;76260:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76241:74;;;76334:7;76326:34;;;::::0;-1:-1:-1;;;76326:34:0;;6774:2:1;76326:34:0::1;::::0;::::1;6756:21:1::0;6813:2;6793:18;;;6786:30;-1:-1:-1;;;6832:18:1;;;6825:44;6886:18;;76326:34:0::1;;;;;;;;;76230:138;76191:177::o:0;76912:179::-;77025:4;-1:-1:-1;;;;;73940:18:0;;73948:10;73940:18;73936:83;;73975:32;73996:10;73975:20;:32::i;:::-;77042:41:::1;77065:4;77071:2;77075:7;77042:22;:41::i;77801:100::-:0;53222:13;:11;:13::i;:::-;77875:7:::1;:18;77885:8:::0;77875:7;:18:::1;:::i;:::-;;77801:100:::0;:::o;20627:152::-;20699:7;20742:27;20761:7;20742:18;:27::i;75075:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;77648:145::-;53222:13;:11;:13::i;:::-;77734:9:::1;:18:::0;;;;77763:11:::1;:22:::0;77648:145::o;16169:233::-;16241:7;-1:-1:-1;;;;;16265:19:0;;16261:60;;16293:28;;-1:-1:-1;;;16293:28:0;;;;;;;;;;;16261:60;-1:-1:-1;;;;;;16339:25:0;;;;;:18;:25;;;;;;10328:13;16339:55;;16169:233::o;53984:103::-;53222:13;:11;:13::i;:::-;54049:30:::1;54076:1;54049:18;:30::i;:::-;53984:103::o:0;77554:86::-;53222:13;:11;:13::i;:::-;77618:5:::1;:14:::0;77554:86::o;77909:116::-;53222:13;:11;:13::i;:::-;77991:11:::1;:26;78005:12:::0;77991:11;:26:::1;:::i;19410:104::-:0;19466:13;19499:7;19492:14;;;;;:::i;75615:568::-;75730:6;;52123:10;;75730:6;;75729:7;75721:33;;;;-1:-1:-1;;;75721:33:0;;9321:2:1;75721:33:0;;;9303:21:1;9360:2;9340:18;;;9333:30;-1:-1:-1;;;9379:18:1;;;9372:43;9432:18;;75721:33:0;9119:337:1;75721:33:0;75598:1;15259:12;15046:7;15243:13;75803;;15243:28;;-1:-1:-1;;15243:46:0;75787:29;;;;:::i;:::-;75235:3;75773:43;;75765:74;;;;-1:-1:-1;;;75765:74:0;;9928:2:1;75765:74:0;;;9910:21:1;9967:2;9947:18;;;9940:30;-1:-1:-1;;;9986:18:1;;;9979:48;10044:18;;75765:74:0;9726:342:1;75765:74:0;75874:1;75858:13;:17;75850:41;;;;-1:-1:-1;;;75850:41:0;;10275:2:1;75850:41:0;;;10257:21:1;10314:2;10294:18;;;10287:30;-1:-1:-1;;;10333:18:1;;;10326:41;10384:18;;75850:41:0;10073:335:1;75850:41:0;75927:11;;75910:13;:28;;75902:54;;;;-1:-1:-1;;;75902:54:0;;10615:2:1;75902:54:0;;;10597:21:1;10654:2;10634:18;;;10627:30;-1:-1:-1;;;10673:18:1;;;10666:43;10726:18;;75902:54:0;10413:337:1;75902:54:0;76017:9;;76000:13;75975:22;75989:7;-1:-1:-1;;;;;16573:25:0;16545:7;16573:25;;;:18;:25;;10466:2;16573:25;;;;;:50;;10328:13;16572:82;;16484:178;75975:22;:38;;;;:::i;:::-;:51;;75967:74;;;;-1:-1:-1;;;75967:74:0;;10957:2:1;75967:74:0;;;10939:21:1;10996:2;10976:18;;;10969:30;-1:-1:-1;;;11015:18:1;;;11008:40;11065:18;;75967:74:0;10755:334:1;75967:74:0;76085:9;76076:5;;76060:13;:21;;;;:::i;:::-;:34;;76052:69;;;;-1:-1:-1;;;76052:69:0;;11469:2:1;76052:69:0;;;11451:21:1;11508:2;11488:18;;;11481:30;-1:-1:-1;;;11527:18:1;;;11520:52;11589:18;;76052:69:0;11267:346:1;76052:69:0;76142:33;76152:7;76161:13;76142:9;:33::i;76376:176::-;76480:8;74120:30;74141:8;74120:20;:30::i;:::-;76501:43:::1;76525:8;76535;76501:23;:43::i;77352:109::-:0;53222:13;:11;:13::i;:::-;77430:23:::1;77440:3;77445:7;77430:9;:23::i;77099:245::-:0;77267:4;-1:-1:-1;;;;;73940:18:0;;73948:10;73940:18;73936:83;;73975:32;73996:10;73975:20;:32::i;:::-;77289:47:::1;77312:4;77318:2;77322:7;77331:4;77289:22;:47::i;:::-;77099:245:::0;;;;;:::o;77469:77::-;53222:13;:11;:13::i;:::-;77532:6:::1;::::0;;-1:-1:-1;;77522:16:0;::::1;77532:6;::::0;;::::1;77531:7;77522:16;::::0;;77469:77::o;78033:356::-;78099:13;78133:17;78141:8;78133:7;:17::i;:::-;78125:51;;;;-1:-1:-1;;;78125:51:0;;11820:2:1;78125:51:0;;;11802:21:1;11859:2;11839:18;;;11832:30;-1:-1:-1;;;11878:18:1;;;11871:51;11939:18;;78125:51:0;11618:345:1;78125:51:0;78218:1;78200:7;78194:21;;;;;:::i;:::-;;;:25;:187;;;;;;;;;;;;;;;;;78276:7;78300:26;78317:8;78300:16;:26::i;:::-;78243:122;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78187:194;78033:356;-1:-1:-1;;78033:356:0:o;75108:83::-;;;;;;;:::i;54242:201::-;53222:13;:11;:13::i;:::-;-1:-1:-1;;;;;54331:22:0;::::1;54323:73;;;::::0;-1:-1:-1;;;54323:73:0;;13349:2:1;54323:73:0::1;::::0;::::1;13331:21:1::0;13388:2;13368:18;;;13361:30;13427:34;13407:18;;;13400:62;-1:-1:-1;;;13478:18:1;;;13471:36;13524:19;;54323:73:0::1;13147:402:1::0;54323:73:0::1;54407:28;54426:8;54407:18;:28::i;27096:282::-:0;27161:4;27217:7;75598:1;27198:26;;:66;;;;;27251:13;;27241:7;:23;27198:66;:153;;;;-1:-1:-1;;27302:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27302:44:0;:49;;27096:282::o;74178:419::-;72699:42;74369:45;:49;74365:225;;74440:67;;-1:-1:-1;;;74440:67:0;;74491:4;74440:67;;;13766:34:1;-1:-1:-1;;;;;13836:15:1;;13816:18;;;13809:43;72699:42:0;;74440;;13701:18:1;;74440:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74435:144;;74535:28;;-1:-1:-1;;;74535:28:0;;-1:-1:-1;;;;;1692:32:1;;74535:28:0;;;1674:51:1;1647:18;;74535:28:0;1528:203:1;25158:408:0;25247:13;25263:16;25271:7;25263;:16::i;:::-;25247:32;-1:-1:-1;52123:10:0;-1:-1:-1;;;;;25296:28:0;;;25292:175;;25344:44;25361:5;52123:10;26674:164;:::i;25344:44::-;25339:128;;25416:35;;-1:-1:-1;;;25416:35:0;;;;;;;;;;;25339:128;25479:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25479:35:0;-1:-1:-1;;;;;25479:35:0;;;;;;;;;25530:28;;25479:24;;25530:28;;;;;;;25236:330;25158:408;;:::o;29364:2825::-;29506:27;29536;29555:7;29536:18;:27::i;:::-;29506:57;;29621:4;-1:-1:-1;;;;;29580:45:0;29596:19;-1:-1:-1;;;;;29580:45:0;;29576:86;;29634:28;;-1:-1:-1;;;29634:28:0;;;;;;;;;;;29576:86;29676:27;28472:24;;;:15;:24;;;;;28700:26;;52123:10;28097:30;;;-1:-1:-1;;;;;27790:28:0;;28075:20;;;28072:56;29862:180;;29955:43;29972:4;52123:10;26674:164;:::i;29955:43::-;29950:92;;30007:35;;-1:-1:-1;;;30007:35:0;;;;;;;;;;;29950:92;-1:-1:-1;;;;;30059:16:0;;30055:52;;30084:23;;-1:-1:-1;;;30084:23:0;;;;;;;;;;;30055:52;30256:15;30253:160;;;30396:1;30375:19;30368:30;30253:160;-1:-1:-1;;;;;30793:24:0;;;;;;;:18;:24;;;;;;30791:26;;-1:-1:-1;;30791:26:0;;;30862:22;;;;;;;;;30860:24;;-1:-1:-1;30860:24:0;;;24016:11;23991:23;23987:41;23974:63;-1:-1:-1;;;23974:63:0;31155:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31450:47:0;;:52;;31446:627;;31555:1;31545:11;;31523:19;31678:30;;;:17;:30;;;;;;:35;;31674:384;;31816:13;;31801:11;:28;31797:242;;31963:30;;;;:17;:30;;;;;:52;;;31797:242;31504:569;31446:627;32120:7;32116:2;-1:-1:-1;;;;;32101:27:0;32110:4;-1:-1:-1;;;;;32101:27:0;;;;;;;;;;;32139:42;29495:2694;;;29364:2825;;;:::o;53501:132::-;53409:6;;-1:-1:-1;;;;;53409:6:0;52123:10;53565:23;53557:68;;;;-1:-1:-1;;;53557:68:0;;14315:2:1;53557:68:0;;;14297:21:1;;;14334:18;;;14327:30;14393:34;14373:18;;;14366:62;14445:18;;53557:68:0;14113:356:1;32285:193:0;32431:39;32448:4;32454:2;32458:7;32431:39;;;;;;;;;;;;:16;:39::i;21782:1275::-;21849:7;21884;;75598:1;21933:23;21929:1061;;21986:13;;21979:4;:20;21975:1015;;;22024:14;22041:23;;;:17;:23;;;;;;;-1:-1:-1;;;22130:24:0;;:29;;22126:845;;22795:113;22802:6;22812:1;22802:11;22795:113;;-1:-1:-1;;;22873:6:0;22855:25;;;;:17;:25;;;;;;22795:113;;;22941:6;21782:1275;-1:-1:-1;;;21782:1275:0:o;22126:845::-;22001:989;21975:1015;23018:31;;-1:-1:-1;;;23018:31:0;;;;;;;;;;;54603:191;54696:6;;;-1:-1:-1;;;;;54713:17:0;;;-1:-1:-1;;;;;;54713:17:0;;;;;;;54746:40;;54696:6;;;54713:17;54696:6;;54746:40;;54677:16;;54746:40;54666:128;54603:191;:::o;43236:112::-;43313:27;43323:2;43327:8;43313:27;;;;;;;;;;;;:9;:27::i;26283:234::-;52123:10;26378:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26378:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26378:60:0;;;;;;;;;;26454:55;;540:41:1;;;26378:49:0;;52123:10;26454:55;;513:18:1;26454:55:0;;;;;;;26283:234;;:::o;33076:407::-;33251:31;33264:4;33270:2;33274:7;33251:12;:31::i;:::-;-1:-1:-1;;;;;33297:14:0;;;:19;33293:183;;33336:56;33367:4;33373:2;33377:7;33386:5;33336:30;:56::i;:::-;33331:145;;33420:40;;-1:-1:-1;;;33420:40:0;;;;;;;;;;;67951:716;68007:13;68058:14;68075:17;68086:5;68075:10;:17::i;:::-;68095:1;68075:21;68058:38;;68111:20;68145:6;68134:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68134:18:0;-1:-1:-1;68111:41:0;-1:-1:-1;68276:28:0;;;68292:2;68276:28;68333:288;-1:-1:-1;;68365:5:0;-1:-1:-1;;;68502:2:0;68491:14;;68486:30;68365:5;68473:44;68563:2;68554:11;;;-1:-1:-1;68584:21:0;68333:288;68584:21;-1:-1:-1;68642:6:0;67951:716;-1:-1:-1;;;67951:716:0:o;42463:689::-;42594:19;42600:2;42604:8;42594:5;:19::i;:::-;-1:-1:-1;;;;;42655:14:0;;;:19;42651:483;;42695:11;42709:13;42757:14;;;42790:233;42821:62;42860:1;42864:2;42868:7;;;;;;42877:5;42821:30;:62::i;:::-;42816:167;;42919:40;;-1:-1:-1;;;42919:40:0;;;;;;;;;;;42816:167;43018:3;43010:5;:11;42790:233;;43105:3;43088:13;;:20;43084:34;;43110:8;;;35567:716;35751:88;;-1:-1:-1;;;35751:88:0;;35730:4;;-1:-1:-1;;;;;35751:45:0;;;;;:88;;52123:10;;35818:4;;35824:7;;35833:5;;35751:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35751:88:0;;;;;;;;-1:-1:-1;;35751:88:0;;;;;;;;;;;;:::i;:::-;;;35747:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36034:6;:13;36051:1;36034:18;36030:235;;36080:40;;-1:-1:-1;;;36080:40:0;;;;;;;;;;;36030:235;36223:6;36217:13;36208:6;36204:2;36200:15;36193:38;35747:529;-1:-1:-1;;;;;;35910:64:0;-1:-1:-1;;;35910:64:0;;-1:-1:-1;35747:529:0;35567:716;;;;;;:::o;64970:922::-;65023:7;;-1:-1:-1;;;65101:15:0;;65097:102;;-1:-1:-1;;;65137:15:0;;;-1:-1:-1;65181:2:0;65171:12;65097:102;65226:6;65217:5;:15;65213:102;;65262:6;65253:15;;;-1:-1:-1;65297:2:0;65287:12;65213:102;65342:6;65333:5;:15;65329:102;;65378:6;65369:15;;;-1:-1:-1;65413:2:0;65403:12;65329:102;65458:5;65449;:14;65445:99;;65493:5;65484:14;;;-1:-1:-1;65527:1:0;65517:11;65445:99;65571:5;65562;:14;65558:99;;65606:5;65597:14;;;-1:-1:-1;65640:1:0;65630:11;65558:99;65684:5;65675;:14;65671:99;;65719:5;65710:14;;;-1:-1:-1;65753:1:0;65743:11;65671:99;65797:5;65788;:14;65784:66;;65833:1;65823:11;65878:6;64970:922;-1:-1:-1;;64970:922:0:o;36745:2966::-;36818:20;36841:13;;;36869;;;36865:44;;36891:18;;-1:-1:-1;;;36891:18:0;;;;;;;;;;;36865:44;-1:-1:-1;;;;;37397:22:0;;;;;;:18;:22;;;;10466:2;37397:22;;;:71;;37435:32;37423:45;;37397:71;;;37711:31;;;:17;:31;;;;;-1:-1:-1;24447:15:0;;24421:24;24417:46;24016:11;23991:23;23987:41;23984:52;23974:63;;37711:173;;37946:23;;;;37711:31;;37397:22;;38711:25;37397:22;;38564:335;39225:1;39211:12;39207:20;39165:346;39266:3;39257:7;39254:16;39165:346;;39484:7;39474:8;39471:1;39444:25;39441:1;39438;39433:59;39319:1;39306:15;39165:346;;;39169:77;39544:8;39556:1;39544:13;39540:45;;39566:19;;-1:-1:-1;;;39566:19:0;;;;;;;;;;;39540:45;39602:13;:19;-1:-1:-1;76560:165:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2928:127::-;2989:10;2984:3;2980:20;2977:1;2970:31;3020:4;3017:1;3010:15;3044:4;3041:1;3034:15;3060:632;3125:5;3155:18;3196:2;3188:6;3185:14;3182:40;;;3202:18;;:::i;:::-;3277:2;3271:9;3245:2;3331:15;;-1:-1:-1;;3327:24:1;;;3353:2;3323:33;3319:42;3307:55;;;3377:18;;;3397:22;;;3374:46;3371:72;;;3423:18;;:::i;:::-;3463:10;3459:2;3452:22;3492:6;3483:15;;3522:6;3514;3507:22;3562:3;3553:6;3548:3;3544:16;3541:25;3538:45;;;3579:1;3576;3569:12;3538:45;3629:6;3624:3;3617:4;3609:6;3605:17;3592:44;3684:1;3677:4;3668:6;3660;3656:19;3652:30;3645:41;;;;3060:632;;;;;:::o;3697:451::-;3766:6;3819:2;3807:9;3798:7;3794:23;3790:32;3787:52;;;3835:1;3832;3825:12;3787:52;3875:9;3862:23;3908:18;3900:6;3897:30;3894:50;;;3940:1;3937;3930:12;3894:50;3963:22;;4016:4;4008:13;;4004:27;-1:-1:-1;3994:55:1;;4045:1;4042;4035:12;3994:55;4068:74;4134:7;4129:2;4116:16;4111:2;4107;4103:11;4068:74;:::i;4153:248::-;4221:6;4229;4282:2;4270:9;4261:7;4257:23;4253:32;4250:52;;;4298:1;4295;4288:12;4250:52;-1:-1:-1;;4321:23:1;;;4391:2;4376:18;;;4363:32;;-1:-1:-1;4153:248:1:o;4406:186::-;4465:6;4518:2;4506:9;4497:7;4493:23;4489:32;4486:52;;;4534:1;4531;4524:12;4486:52;4557:29;4576:9;4557:29;:::i;4597:118::-;4683:5;4676:13;4669:21;4662:5;4659:32;4649:60;;4705:1;4702;4695:12;4720:315;4785:6;4793;4846:2;4834:9;4825:7;4821:23;4817:32;4814:52;;;4862:1;4859;4852:12;4814:52;4885:29;4904:9;4885:29;:::i;:::-;4875:39;;4964:2;4953:9;4949:18;4936:32;4977:28;4999:5;4977:28;:::i;:::-;5024:5;5014:15;;;4720:315;;;;;:::o;5040:667::-;5135:6;5143;5151;5159;5212:3;5200:9;5191:7;5187:23;5183:33;5180:53;;;5229:1;5226;5219:12;5180:53;5252:29;5271:9;5252:29;:::i;:::-;5242:39;;5300:38;5334:2;5323:9;5319:18;5300:38;:::i;:::-;5290:48;;5385:2;5374:9;5370:18;5357:32;5347:42;;5440:2;5429:9;5425:18;5412:32;5467:18;5459:6;5456:30;5453:50;;;5499:1;5496;5489:12;5453:50;5522:22;;5575:4;5567:13;;5563:27;-1:-1:-1;5553:55:1;;5604:1;5601;5594:12;5553:55;5627:74;5693:7;5688:2;5675:16;5670:2;5666;5662:11;5627:74;:::i;:::-;5617:84;;;5040:667;;;;;;;:::o;5712:260::-;5780:6;5788;5841:2;5829:9;5820:7;5816:23;5812:32;5809:52;;;5857:1;5854;5847:12;5809:52;5880:29;5899:9;5880:29;:::i;:::-;5870:39;;5928:38;5962:2;5951:9;5947:18;5928:38;:::i;:::-;5918:48;;5712:260;;;;;:::o;5977:380::-;6056:1;6052:12;;;;6099;;;6120:61;;6174:4;6166:6;6162:17;6152:27;;6120:61;6227:2;6219:6;6216:14;6196:18;6193:38;6190:161;;6273:10;6268:3;6264:20;6261:1;6254:31;6308:4;6305:1;6298:15;6336:4;6333:1;6326:15;6190:161;;5977:380;;;:::o;7041:545::-;7143:2;7138:3;7135:11;7132:448;;;7179:1;7204:5;7200:2;7193:17;7249:4;7245:2;7235:19;7319:2;7307:10;7303:19;7300:1;7296:27;7290:4;7286:38;7355:4;7343:10;7340:20;7337:47;;;-1:-1:-1;7378:4:1;7337:47;7433:2;7428:3;7424:12;7421:1;7417:20;7411:4;7407:31;7397:41;;7488:82;7506:2;7499:5;7496:13;7488:82;;;7551:17;;;7532:1;7521:13;7488:82;;7762:1352;7888:3;7882:10;7915:18;7907:6;7904:30;7901:56;;;7937:18;;:::i;:::-;7966:97;8056:6;8016:38;8048:4;8042:11;8016:38;:::i;:::-;8010:4;7966:97;:::i;:::-;8118:4;;8182:2;8171:14;;8199:1;8194:663;;;;8901:1;8918:6;8915:89;;;-1:-1:-1;8970:19:1;;;8964:26;8915:89;-1:-1:-1;;7719:1:1;7715:11;;;7711:24;7707:29;7697:40;7743:1;7739:11;;;7694:57;9017:81;;8164:944;;8194:663;6988:1;6981:14;;;7025:4;7012:18;;-1:-1:-1;;8230:20:1;;;8348:236;8362:7;8359:1;8356:14;8348:236;;;8451:19;;;8445:26;8430:42;;8543:27;;;;8511:1;8499:14;;;;8378:19;;8348:236;;;8352:3;8612:6;8603:7;8600:19;8597:201;;;8673:19;;;8667:26;-1:-1:-1;;8756:1:1;8752:14;;;8768:3;8748:24;8744:37;8740:42;8725:58;8710:74;;8597:201;-1:-1:-1;;;;;8844:1:1;8828:14;;;8824:22;8811:36;;-1:-1:-1;7762:1352:1:o;9461:127::-;9522:10;9517:3;9513:20;9510:1;9503:31;9553:4;9550:1;9543:15;9577:4;9574:1;9567:15;9593:128;9633:3;9664:1;9660:6;9657:1;9654:13;9651:39;;;9670:18;;:::i;:::-;-1:-1:-1;9706:9:1;;9593:128::o;11094:168::-;11134:7;11200:1;11196;11192:6;11188:14;11185:1;11182:21;11177:1;11170:9;11163:17;11159:45;11156:71;;;11207:18;;:::i;:::-;-1:-1:-1;11247:9:1;;11094:168::o;11968:1174::-;12245:3;12274:1;12307:6;12301:13;12337:36;12363:9;12337:36;:::i;:::-;12392:1;12409:18;;;12436:133;;;;12583:1;12578:356;;;;12402:532;;12436:133;-1:-1:-1;;12469:24:1;;12457:37;;12542:14;;12535:22;12523:35;;12514:45;;;-1:-1:-1;12436:133:1;;12578:356;12609:6;12606:1;12599:17;12639:4;12684:2;12681:1;12671:16;12709:1;12723:165;12737:6;12734:1;12731:13;12723:165;;;12815:14;;12802:11;;;12795:35;12858:16;;;;12752:10;;12723:165;;;12727:3;;;12917:6;12912:3;12908:16;12901:23;;12402:532;;;;;12965:6;12959:13;12981:55;13027:8;13022:3;13015:4;13007:6;13003:17;12981:55;:::i;:::-;-1:-1:-1;;;13058:18:1;;13085:22;;;13134:1;13123:13;;11968:1174;-1:-1:-1;;;;11968:1174:1:o;13863:245::-;13930:6;13983:2;13971:9;13962:7;13958:23;13954:32;13951:52;;;13999:1;13996;13989:12;13951:52;14031:9;14025:16;14050:28;14072:5;14050:28;:::i;14606:489::-;-1:-1:-1;;;;;14875:15:1;;;14857:34;;14927:15;;14922:2;14907:18;;14900:43;14974:2;14959:18;;14952:34;;;15022:3;15017:2;15002:18;;14995:31;;;14800:4;;15043:46;;15069:19;;15061:6;15043:46;:::i;:::-;15035:54;14606:489;-1:-1:-1;;;;;;14606:489:1:o;15100:249::-;15169:6;15222:2;15210:9;15201:7;15197:23;15193:32;15190:52;;;15238:1;15235;15228:12;15190:52;15270:9;15264:16;15289:30;15313:5;15289:30;:::i
Swarm Source
ipfs://15baf6d7e974ed10c476356defdec8b8d72bd1979b38eba2b7d8eea7e6308b8d
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.