Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,110 GHNTWTF
Holders
529
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GHNTWTFLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GOdHatesNFTsTooWTF
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-24 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // 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 tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev 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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` 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 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _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 { 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 Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { 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 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; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * - `extraData` = `0` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * - `extraData` = `<Extra data when token was burned>` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` * - `extraData` = `<Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/GodHatesNFTsTooWTF.sol pragma solidity ^0.8.14; interface IERC721ABurnable is IERC721A { function burn(uint256 tokenId) external; } contract GOdHatesNFTsTooWTF is Ownable, ERC721AQueryable, ReentrancyGuard, IERC721ABurnable { using Address for *; string private _baseTokenURI; uint256 public immutable maxSupply = 1111; uint256 public reserved = 80; uint256 public immutable buyLimit = 4; uint256 public immutable price = 0.01 ether; mapping(address => uint256) public userCount; string public contractURI; /// @dev collection metadata constructor() ERC721A("GOdHatesNFTsTooWTF", "GHNTWTF") {} function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } ///@dev mint nft function mint(uint256 quantity) public payable nonReentrant { require(_totalMinted() != 0, "sale has not started"); require(!msg.sender.isContract(), "please no contract"); require(msg.sender == tx.origin, "please be yourself"); uint256 totalPrice = getPrice(msg.sender, quantity); require(msg.value >= totalPrice, "Insufficient Value"); require ((_totalMinted() + quantity) <= maxSupply, "Sold out"); require (((userCount[msg.sender] + quantity) <= buyLimit) || msg.sender == owner(), "Wallet limit reached"); _mint(msg.sender, quantity); } function getPrice(address user, uint256 quantity) public view returns (uint256){ uint256 totalPrice = quantity * price; if (userCount[user] == 0) totalPrice = totalPrice - price * 2; return totalPrice; } ///@dev burn nft function burn(uint256 tokenId) public virtual override { _burn(tokenId, true); } // mint from reserved 80 function devMint(uint256 quantity) external onlyOwner { require(quantity <= reserved, "no more reserved"); require(quantity != 0, "no more to reserve"); reserved -= quantity; _mint(msg.sender, quantity); require(_totalMinted() <= maxSupply - reserved, "that would exceed max supply"); } /// @dev admin can get ether out function getEther(address to, uint256 amount) public onlyOwner { if (amount == 0) { amount = address(this).balance; } payable(to).sendValue(amount); } ///@dev admin can get all ether out function withdrawEther() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } /// @dev admin can get token (it happens..) function getToken( address tokenAddr, address to, uint256 amount ) public onlyOwner { IERC20 token = IERC20(tokenAddr); if (amount == 0) { amount = token.balanceOf(address(this)); } token.transfer(to, amount); } /// @dev see https://docs.opensea.io/docs/contract-level-metadata function setContractUri(string memory collectionUri) public onlyOwner { contractURI = collectionUri; } /// @dev see https://docs.opensea.io/docs/metadata-standards function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } // view functions for dapp etc ///@dev amount user minted function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } ///@dev amount user burned function numberBurned(address owner) public view returns (uint256) { return _numberBurned(owner); } ///@dev amount user minted during free mint function numberFreeMinted(address owner) public view returns (uint256) { return uint256(_getAux(owner)); } ///@dev total number of nfts minted function totalMinted() public view returns (uint256) { return _totalMinted(); } ///@dev total number of nfts burned function totalBurned() public view returns (uint256) { return _totalBurned(); } ///@dev nft exists and has not been burned function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } ///@dev view raw ownership data (address, startTimestamp, burned) function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return _ownershipOf(tokenId); } } // ts22 interface IERC20 { function transfer(address to, uint256 amount) external; function balanceOf(address account) external view returns (uint256); }
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":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddr","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberFreeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"collectionUri","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040526104576080526050600b55600460a052662386f26fc1000060c0523480156200002c57600080fd5b506040518060400160405280601281526020017123a7b22430ba32b9a7232a39aa37b7abaa2360711b8152506040518060400160405280600781526020016623a4272a2baa2360c91b815250620000926200008c620000d060201b60201c565b620000d4565b8151620000a790600390602085019062000124565b508051620000bd90600490602084019062000124565b5050600060019081556009555062000206565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200013290620001ca565b90600052602060002090601f016020900481019282620001565760008555620001a1565b82601f106200017157805160ff1916838001178555620001a1565b82800160010185558215620001a1579182015b82811115620001a157825182559160200191906001019062000184565b50620001af929150620001b3565b5090565b5b80821115620001af5760008155600101620001b4565b600181811c90821680620001df57607f821691505b6020821081036200020057634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051612b70620002596000396000818161065f01528181610e480152610e930152600081816104c701526117e40152600081816107a801528181610d9d01526117510152612b706000f3fe6080604052600436106102dc5760003560e01c80639231ab2a11610184578063c23dc68f116100d6578063dc33e6811161008a578063e985e9c511610064578063e985e9c51461084d578063f2fde38b14610896578063fe60d12c146108b657600080fd5b8063dc33e681146107df578063e5a51952146107ff578063e8a3d4851461083857600080fd5b8063ccb4807b116100bb578063ccb4807b14610776578063d5abeb0114610796578063d89135cd146107ca57600080fd5b8063c23dc68f14610736578063c87b56dd1461075657600080fd5b8063a0712d6811610138578063a2309ff811610112578063a2309ff8146106d4578063a3480569146106e9578063b88d4fde1461071657600080fd5b8063a0712d6814610681578063a079c56a14610694578063a22cb465146106b457600080fd5b806399a2557a1161016957806399a2557a1461060d5780639c4380e71461062d578063a035b1fe1461064d57600080fd5b80639231ab2a146105cb57806395d89b41146105f857600080fd5b8063449e815d1161023d5780636352211e116101f15780637362377b116101cb5780637362377b1461056b5780638462151c146105805780638da5cb5b146105ad57600080fd5b80636352211e1461051657806370a0823114610536578063715018a61461055657600080fd5b806355f804b31161022257806355f804b314610495578063589210d9146104b55780635bbb2177146104e957600080fd5b8063449e815d146104555780634f558e791461047557600080fd5b806323b872dd11610294578063375a069a11610279578063375a069a146103f557806342842e0e1461041557806342966c681461043557600080fd5b806323b872dd146103b55780632478d639146103d557600080fd5b8063081812fc116102c5578063081812fc14610338578063095ea7b31461037057806318160ddd1461039257600080fd5b806301ffc9a7146102e157806306fdde0314610316575b600080fd5b3480156102ed57600080fd5b506103016102fc36600461248f565b6108cc565b60405190151581526020015b60405180910390f35b34801561032257600080fd5b5061032b61091e565b60405161030d9190612504565b34801561034457600080fd5b50610358610353366004612517565b6109b0565b6040516001600160a01b03909116815260200161030d565b34801561037c57600080fd5b5061039061038b36600461254c565b6109f4565b005b34801561039e57600080fd5b50600254600154035b60405190815260200161030d565b3480156103c157600080fd5b506103906103d0366004612576565b610aa1565b3480156103e157600080fd5b506103a76103f03660046125b2565b610c43565b34801561040157600080fd5b50610390610410366004612517565b610c71565b34801561042157600080fd5b50610390610430366004612576565b610e15565b34801561044157600080fd5b50610390610450366004612517565b610e35565b34801561046157600080fd5b506103a761047036600461254c565b610e40565b34801561048157600080fd5b50610301610490366004612517565b610ecd565b3480156104a157600080fd5b506103906104b03660046125cd565b610ed8565b3480156104c157600080fd5b506103a77f000000000000000000000000000000000000000000000000000000000000000081565b3480156104f557600080fd5b50610509610504366004612686565b610f3e565b60405161030d919061272c565b34801561052257600080fd5b50610358610531366004612517565b61100c565b34801561054257600080fd5b506103a76105513660046125b2565b611017565b34801561056257600080fd5b50610390611066565b34801561057757600080fd5b506103906110cc565b34801561058c57600080fd5b506105a061059b3660046125b2565b6111be565b60405161030d91906127a9565b3480156105b957600080fd5b506000546001600160a01b0316610358565b3480156105d757600080fd5b506105eb6105e6366004612517565b6112bf565b60405161030d91906127e1565b34801561060457600080fd5b5061032b6112ec565b34801561061957600080fd5b506105a0610628366004612826565b6112fb565b34801561063957600080fd5b50610390610648366004612576565b611473565b34801561065957600080fd5b506103a77f000000000000000000000000000000000000000000000000000000000000000081565b61039061068f366004612517565b6115aa565b3480156106a057600080fd5b506103906106af36600461254c565b611885565b3480156106c057600080fd5b506103906106cf366004612859565b611901565b3480156106e057600080fd5b506103a7611996565b3480156106f557600080fd5b506103a76107043660046125b2565b600c6020526000908152604090205481565b34801561072257600080fd5b506103906107313660046128ed565b6119a6565b34801561074257600080fd5b506105eb610751366004612517565b6119f0565b34801561076257600080fd5b5061032b610771366004612517565b611a68565b34801561078257600080fd5b50610390610791366004612969565b611aeb565b3480156107a257600080fd5b506103a77f000000000000000000000000000000000000000000000000000000000000000081565b3480156107d657600080fd5b506103a7611b58565b3480156107eb57600080fd5b506103a76107fa3660046125b2565b611b63565b34801561080b57600080fd5b506103a761081a3660046125b2565b6001600160a01b031660009081526006602052604090205460c01c90565b34801561084457600080fd5b5061032b611b8e565b34801561085957600080fd5b506103016108683660046129b2565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108a257600080fd5b506103906108b13660046125b2565b611c1c565b3480156108c257600080fd5b506103a7600b5481565b60006301ffc9a760e01b6001600160e01b0319831614806108fd57506380ac58cd60e01b6001600160e01b03198316145b806109185750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461092d906129e5565b80601f0160208091040260200160405190810160405280929190818152602001828054610959906129e5565b80156109a65780601f1061097b576101008083540402835291602001916109a6565b820191906000526020600020905b81548152906001019060200180831161098957829003601f168201915b5050505050905090565b60006109bb82611cfb565b6109d8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109ff8261100c565b9050336001600160a01b03821614610a3857610a1b8133610868565b610a38576040516367d9dca160e11b815260040160405180910390fd5b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610aac82611d23565b9050836001600160a01b0316816001600160a01b031614610adf5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054610b0b8187335b6001600160a01b039081169116811491141790565b610b3657610b198633610868565b610b3657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b5d57604051633a954ecd60e21b815260040160405180910390fd5b8015610b6857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610bfa57600184016000818152600560205260408120549003610bf8576001548114610bf85760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000610918826001600160a01b031660009081526006602052604090205460801c67ffffffffffffffff1690565b6000546001600160a01b03163314610cd05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600b54811115610d225760405162461bcd60e51b815260206004820152601060248201527f6e6f206d6f7265207265736572766564000000000000000000000000000000006044820152606401610cc7565b80600003610d725760405162461bcd60e51b815260206004820152601260248201527f6e6f206d6f726520746f207265736572766500000000000000000000000000006044820152606401610cc7565b80600b6000828254610d849190612a35565b90915550610d9490503382611d8a565b600b54610dc1907f0000000000000000000000000000000000000000000000000000000000000000612a35565b6001541115610e125760405162461bcd60e51b815260206004820152601c60248201527f7468617420776f756c6420657863656564206d617820737570706c79000000006044820152606401610cc7565b50565b610e30838383604051806020016040528060008152506119a6565b505050565b610e12816001611e6a565b600080610e6d7f000000000000000000000000000000000000000000000000000000000000000084612a4c565b6001600160a01b0385166000908152600c602052604081205491925003610ec657610eb97f00000000000000000000000000000000000000000000000000000000000000006002612a4c565b610ec39082612a35565b90505b9392505050565b600061091882611cfb565b6000546001600160a01b03163314610f325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b610e30600a838361236c565b805160609060008167ffffffffffffffff811115610f5e57610f5e61263f565b604051908082528060200260200182016040528015610fb057816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610f7c5790505b50905060005b82811461100457610fdf858281518110610fd257610fd2612a6b565b60200260200101516119f0565b828281518110610ff157610ff1612a6b565b6020908102919091010152600101610fb6565b509392505050565b600061091882611d23565b60006001600160a01b038216611040576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146110c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b6110ca6000611fb5565b565b6000546001600160a01b031633146111265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b604051600090339047908381818185875af1925050503d8060008114611168576040519150601f19603f3d011682016040523d82523d6000602084013e61116d565b606091505b5050905080610e125760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610cc7565b606060008060006111ce85611017565b905060008167ffffffffffffffff8111156111eb576111eb61263f565b604051908082528060200260200182016040528015611214578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081018290529192505b8386146112b35761124c81612012565b915081604001516112ab5781516001600160a01b03161561126c57815194505b876001600160a01b0316856001600160a01b0316036112ab578083878060010198508151811061129e5761129e612a6b565b6020026020010181815250505b60010161123c565b50909695505050505050565b60408051608081018252600080825260208201819052918101829052606081019190915261091882612091565b60606004805461092d906129e5565b606081831061131d57604051631960ccad60e11b815260040160405180910390fd5b60008061132960015490565b905080841115611337578093505b600061134287611017565b905084861015611361578585038181101561135b578091505b50611365565b5060005b60008167ffffffffffffffff8111156113805761138061263f565b6040519080825280602002602001820160405280156113a9578160200160208202803683370190505b509050816000036113bf579350610ec692505050565b60006113ca886119f0565b9050600081604001516113db575080515b885b8881141580156113ed5750848714155b15611462576113fb81612012565b9250826040015161145a5782516001600160a01b03161561141b57825191505b8a6001600160a01b0316826001600160a01b03160361145a578084888060010199508151811061144d5761144d612a6b565b6020026020010181815250505b6001016113dd565b505050928352509095945050505050565b6000546001600160a01b031633146114cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b826000829003611542576040516370a0823160e01b81523060048201526001600160a01b038216906370a0823190602401602060405180830381865afa15801561151b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061153f9190612a81565b91505b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905282169063a9059cbb90604401600060405180830381600087803b15801561158c57600080fd5b505af11580156115a0573d6000803e3d6000fd5b5050505050505050565b6002600954036115fc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cc7565b60026009556001546000036116535760405162461bcd60e51b815260206004820152601460248201527f73616c6520686173206e6f7420737461727465640000000000000000000000006044820152606401610cc7565b333b156116a25760405162461bcd60e51b815260206004820152601260248201527f706c65617365206e6f20636f6e747261637400000000000000000000000000006044820152606401610cc7565b3332146116f15760405162461bcd60e51b815260206004820152601260248201527f706c6561736520626520796f757273656c6600000000000000000000000000006044820152606401610cc7565b60006116fd3383610e40565b90508034101561174f5760405162461bcd60e51b815260206004820152601260248201527f496e73756666696369656e742056616c756500000000000000000000000000006044820152606401610cc7565b7f00000000000000000000000000000000000000000000000000000000000000008261177a60015490565b6117849190612a9a565b11156117d25760405162461bcd60e51b815260206004820152600860248201527f536f6c64206f75740000000000000000000000000000000000000000000000006044820152606401610cc7565b336000908152600c60205260409020547f00000000000000000000000000000000000000000000000000000000000000009061180f908490612a9a565b11158061182657506000546001600160a01b031633145b6118725760405162461bcd60e51b815260206004820152601460248201527f57616c6c6574206c696d697420726561636865640000000000000000000000006044820152606401610cc7565b61187c3383611d8a565b50506001600955565b6000546001600160a01b031633146118df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b806000036118ea5750475b6118fd6001600160a01b03831682612109565b5050565b336001600160a01b0383160361192a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006119a160015490565b905090565b6119b1848484610aa1565b6001600160a01b0383163b156119ea576119cd84848484612222565b6119ea576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506001548310611a445792915050565b611a4d83612012565b9050806040015115611a5f5792915050565b610ec683612091565b6060611a7382611cfb565b611a9057604051630a14c4b560e41b815260040160405180910390fd5b6000611a9a61230e565b90508051600003611aba5760405180602001604052806000815250610ec6565b80611ac48461231d565b604051602001611ad5929190612ab2565b6040516020818303038152906040529392505050565b6000546001600160a01b03163314611b455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b80516118fd90600d9060208401906123f0565b60006119a160025490565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16610918565b600d8054611b9b906129e5565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc7906129e5565b8015611c145780601f10611be957610100808354040283529160200191611c14565b820191906000526020600020905b815481529060010190602001808311611bf757829003601f168201915b505050505081565b6000546001600160a01b03163314611c765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b6001600160a01b038116611cf25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cc7565b610e1281611fb5565b600060015482108015610918575050600090815260056020526040902054600160e01b161590565b600081600154811015611d715760008181526005602052604081205490600160e01b82169003611d6f575b80600003610ec6575060001901600081815260056020526040902054611d4e565b505b604051636f96cda160e11b815260040160405180910390fd5b6001546001600160a01b038316611db357604051622e076360e81b815260040160405180910390fd5b81600003611dd45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611e1e5760015550505050565b6000611e7583611d23565b905080600080611e9386600090815260076020526040902080549091565b915091508415611ed357611ea8818433610af6565b611ed357611eb68333610868565b611ed357604051632ce44b5f60e11b815260040160405180910390fd5b8015611ede57600082555b6001600160a01b038316600081815260066020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260056020526040812091909155600160e11b85169003611f6c57600186016000818152600560205260408120549003611f6a576001548114611f6a5760008181526005602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060028054600101905550505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526005602052604090205461091890604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6040805160808101825260008082526020820181905291810182905260608101919091526109186120c183611d23565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b804710156121595760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610cc7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121a6576040519150601f19603f3d011682016040523d82523d6000602084013e6121ab565b606091505b5050905080610e305760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610cc7565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612257903390899088908890600401612ae1565b6020604051808303816000875af1925050508015612292575060408051601f3d908101601f1916820190925261228f91810190612b1d565b60015b6122f0573d8080156122c0576040519150601f19603f3d011682016040523d82523d6000602084013e6122c5565b606091505b5080516000036122e8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461092d906129e5565b604080516080810191829052607f0190826030600a8206018353600a90045b801561235a57600183039250600a81066030018353600a900461233c565b50819003601f19909101908152919050565b828054612378906129e5565b90600052602060002090601f01602090048101928261239a57600085556123e0565b82601f106123b35782800160ff198235161785556123e0565b828001600101855582156123e0579182015b828111156123e05782358255916020019190600101906123c5565b506123ec929150612464565b5090565b8280546123fc906129e5565b90600052602060002090601f01602090048101928261241e57600085556123e0565b82601f1061243757805160ff19168380011785556123e0565b828001600101855582156123e0579182015b828111156123e0578251825591602001919060010190612449565b5b808211156123ec5760008155600101612465565b6001600160e01b031981168114610e1257600080fd5b6000602082840312156124a157600080fd5b8135610ec681612479565b60005b838110156124c75781810151838201526020016124af565b838111156119ea5750506000910152565b600081518084526124f08160208601602086016124ac565b601f01601f19169290920160200192915050565b602081526000610ec660208301846124d8565b60006020828403121561252957600080fd5b5035919050565b80356001600160a01b038116811461254757600080fd5b919050565b6000806040838503121561255f57600080fd5b61256883612530565b946020939093013593505050565b60008060006060848603121561258b57600080fd5b61259484612530565b92506125a260208501612530565b9150604084013590509250925092565b6000602082840312156125c457600080fd5b610ec682612530565b600080602083850312156125e057600080fd5b823567ffffffffffffffff808211156125f857600080fd5b818501915085601f83011261260c57600080fd5b81358181111561261b57600080fd5b86602082850101111561262d57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561267e5761267e61263f565b604052919050565b6000602080838503121561269957600080fd5b823567ffffffffffffffff808211156126b157600080fd5b818501915085601f8301126126c557600080fd5b8135818111156126d7576126d761263f565b8060051b91506126e8848301612655565b818152918301840191848101908884111561270257600080fd5b938501935b8385101561272057843582529385019390850190612707565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b818110156112b3576127968385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101612748565b6020808252825182820181905260009190848201906040850190845b818110156112b3578351835292840192918401916001016127c5565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610918565b60008060006060848603121561283b57600080fd5b61284484612530565b95602085013595506040909401359392505050565b6000806040838503121561286c57600080fd5b61287583612530565b91506020830135801515811461288a57600080fd5b809150509250929050565b600067ffffffffffffffff8311156128af576128af61263f565b6128c2601f8401601f1916602001612655565b90508281528383830111156128d657600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561290357600080fd5b61290c85612530565b935061291a60208601612530565b925060408501359150606085013567ffffffffffffffff81111561293d57600080fd5b8501601f8101871361294e57600080fd5b61295d87823560208401612895565b91505092959194509250565b60006020828403121561297b57600080fd5b813567ffffffffffffffff81111561299257600080fd5b8201601f810184136129a357600080fd5b61230684823560208401612895565b600080604083850312156129c557600080fd5b6129ce83612530565b91506129dc60208401612530565b90509250929050565b600181811c908216806129f957607f821691505b602082108103612a1957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612a4757612a47612a1f565b500390565b6000816000190483118215151615612a6657612a66612a1f565b500290565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a9357600080fd5b5051919050565b60008219821115612aad57612aad612a1f565b500190565b60008351612ac48184602088016124ac565b835190830190612ad88183602088016124ac565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b1360808301846124d8565b9695505050505050565b600060208284031215612b2f57600080fd5b8151610ec68161247956fea2646970667358221220407e9bd71052d52e66e99b90cb7f4b38fa47c12607e5a96b1089b6fee6d83a1964736f6c634300080e0033
Deployed Bytecode
0x6080604052600436106102dc5760003560e01c80639231ab2a11610184578063c23dc68f116100d6578063dc33e6811161008a578063e985e9c511610064578063e985e9c51461084d578063f2fde38b14610896578063fe60d12c146108b657600080fd5b8063dc33e681146107df578063e5a51952146107ff578063e8a3d4851461083857600080fd5b8063ccb4807b116100bb578063ccb4807b14610776578063d5abeb0114610796578063d89135cd146107ca57600080fd5b8063c23dc68f14610736578063c87b56dd1461075657600080fd5b8063a0712d6811610138578063a2309ff811610112578063a2309ff8146106d4578063a3480569146106e9578063b88d4fde1461071657600080fd5b8063a0712d6814610681578063a079c56a14610694578063a22cb465146106b457600080fd5b806399a2557a1161016957806399a2557a1461060d5780639c4380e71461062d578063a035b1fe1461064d57600080fd5b80639231ab2a146105cb57806395d89b41146105f857600080fd5b8063449e815d1161023d5780636352211e116101f15780637362377b116101cb5780637362377b1461056b5780638462151c146105805780638da5cb5b146105ad57600080fd5b80636352211e1461051657806370a0823114610536578063715018a61461055657600080fd5b806355f804b31161022257806355f804b314610495578063589210d9146104b55780635bbb2177146104e957600080fd5b8063449e815d146104555780634f558e791461047557600080fd5b806323b872dd11610294578063375a069a11610279578063375a069a146103f557806342842e0e1461041557806342966c681461043557600080fd5b806323b872dd146103b55780632478d639146103d557600080fd5b8063081812fc116102c5578063081812fc14610338578063095ea7b31461037057806318160ddd1461039257600080fd5b806301ffc9a7146102e157806306fdde0314610316575b600080fd5b3480156102ed57600080fd5b506103016102fc36600461248f565b6108cc565b60405190151581526020015b60405180910390f35b34801561032257600080fd5b5061032b61091e565b60405161030d9190612504565b34801561034457600080fd5b50610358610353366004612517565b6109b0565b6040516001600160a01b03909116815260200161030d565b34801561037c57600080fd5b5061039061038b36600461254c565b6109f4565b005b34801561039e57600080fd5b50600254600154035b60405190815260200161030d565b3480156103c157600080fd5b506103906103d0366004612576565b610aa1565b3480156103e157600080fd5b506103a76103f03660046125b2565b610c43565b34801561040157600080fd5b50610390610410366004612517565b610c71565b34801561042157600080fd5b50610390610430366004612576565b610e15565b34801561044157600080fd5b50610390610450366004612517565b610e35565b34801561046157600080fd5b506103a761047036600461254c565b610e40565b34801561048157600080fd5b50610301610490366004612517565b610ecd565b3480156104a157600080fd5b506103906104b03660046125cd565b610ed8565b3480156104c157600080fd5b506103a77f000000000000000000000000000000000000000000000000000000000000000481565b3480156104f557600080fd5b50610509610504366004612686565b610f3e565b60405161030d919061272c565b34801561052257600080fd5b50610358610531366004612517565b61100c565b34801561054257600080fd5b506103a76105513660046125b2565b611017565b34801561056257600080fd5b50610390611066565b34801561057757600080fd5b506103906110cc565b34801561058c57600080fd5b506105a061059b3660046125b2565b6111be565b60405161030d91906127a9565b3480156105b957600080fd5b506000546001600160a01b0316610358565b3480156105d757600080fd5b506105eb6105e6366004612517565b6112bf565b60405161030d91906127e1565b34801561060457600080fd5b5061032b6112ec565b34801561061957600080fd5b506105a0610628366004612826565b6112fb565b34801561063957600080fd5b50610390610648366004612576565b611473565b34801561065957600080fd5b506103a77f000000000000000000000000000000000000000000000000002386f26fc1000081565b61039061068f366004612517565b6115aa565b3480156106a057600080fd5b506103906106af36600461254c565b611885565b3480156106c057600080fd5b506103906106cf366004612859565b611901565b3480156106e057600080fd5b506103a7611996565b3480156106f557600080fd5b506103a76107043660046125b2565b600c6020526000908152604090205481565b34801561072257600080fd5b506103906107313660046128ed565b6119a6565b34801561074257600080fd5b506105eb610751366004612517565b6119f0565b34801561076257600080fd5b5061032b610771366004612517565b611a68565b34801561078257600080fd5b50610390610791366004612969565b611aeb565b3480156107a257600080fd5b506103a77f000000000000000000000000000000000000000000000000000000000000045781565b3480156107d657600080fd5b506103a7611b58565b3480156107eb57600080fd5b506103a76107fa3660046125b2565b611b63565b34801561080b57600080fd5b506103a761081a3660046125b2565b6001600160a01b031660009081526006602052604090205460c01c90565b34801561084457600080fd5b5061032b611b8e565b34801561085957600080fd5b506103016108683660046129b2565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108a257600080fd5b506103906108b13660046125b2565b611c1c565b3480156108c257600080fd5b506103a7600b5481565b60006301ffc9a760e01b6001600160e01b0319831614806108fd57506380ac58cd60e01b6001600160e01b03198316145b806109185750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461092d906129e5565b80601f0160208091040260200160405190810160405280929190818152602001828054610959906129e5565b80156109a65780601f1061097b576101008083540402835291602001916109a6565b820191906000526020600020905b81548152906001019060200180831161098957829003601f168201915b5050505050905090565b60006109bb82611cfb565b6109d8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109ff8261100c565b9050336001600160a01b03821614610a3857610a1b8133610868565b610a38576040516367d9dca160e11b815260040160405180910390fd5b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610aac82611d23565b9050836001600160a01b0316816001600160a01b031614610adf5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054610b0b8187335b6001600160a01b039081169116811491141790565b610b3657610b198633610868565b610b3657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b5d57604051633a954ecd60e21b815260040160405180910390fd5b8015610b6857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610bfa57600184016000818152600560205260408120549003610bf8576001548114610bf85760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000610918826001600160a01b031660009081526006602052604090205460801c67ffffffffffffffff1690565b6000546001600160a01b03163314610cd05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600b54811115610d225760405162461bcd60e51b815260206004820152601060248201527f6e6f206d6f7265207265736572766564000000000000000000000000000000006044820152606401610cc7565b80600003610d725760405162461bcd60e51b815260206004820152601260248201527f6e6f206d6f726520746f207265736572766500000000000000000000000000006044820152606401610cc7565b80600b6000828254610d849190612a35565b90915550610d9490503382611d8a565b600b54610dc1907f0000000000000000000000000000000000000000000000000000000000000457612a35565b6001541115610e125760405162461bcd60e51b815260206004820152601c60248201527f7468617420776f756c6420657863656564206d617820737570706c79000000006044820152606401610cc7565b50565b610e30838383604051806020016040528060008152506119a6565b505050565b610e12816001611e6a565b600080610e6d7f000000000000000000000000000000000000000000000000002386f26fc1000084612a4c565b6001600160a01b0385166000908152600c602052604081205491925003610ec657610eb97f000000000000000000000000000000000000000000000000002386f26fc100006002612a4c565b610ec39082612a35565b90505b9392505050565b600061091882611cfb565b6000546001600160a01b03163314610f325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b610e30600a838361236c565b805160609060008167ffffffffffffffff811115610f5e57610f5e61263f565b604051908082528060200260200182016040528015610fb057816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610f7c5790505b50905060005b82811461100457610fdf858281518110610fd257610fd2612a6b565b60200260200101516119f0565b828281518110610ff157610ff1612a6b565b6020908102919091010152600101610fb6565b509392505050565b600061091882611d23565b60006001600160a01b038216611040576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146110c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b6110ca6000611fb5565b565b6000546001600160a01b031633146111265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b604051600090339047908381818185875af1925050503d8060008114611168576040519150601f19603f3d011682016040523d82523d6000602084013e61116d565b606091505b5050905080610e125760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610cc7565b606060008060006111ce85611017565b905060008167ffffffffffffffff8111156111eb576111eb61263f565b604051908082528060200260200182016040528015611214578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081018290529192505b8386146112b35761124c81612012565b915081604001516112ab5781516001600160a01b03161561126c57815194505b876001600160a01b0316856001600160a01b0316036112ab578083878060010198508151811061129e5761129e612a6b565b6020026020010181815250505b60010161123c565b50909695505050505050565b60408051608081018252600080825260208201819052918101829052606081019190915261091882612091565b60606004805461092d906129e5565b606081831061131d57604051631960ccad60e11b815260040160405180910390fd5b60008061132960015490565b905080841115611337578093505b600061134287611017565b905084861015611361578585038181101561135b578091505b50611365565b5060005b60008167ffffffffffffffff8111156113805761138061263f565b6040519080825280602002602001820160405280156113a9578160200160208202803683370190505b509050816000036113bf579350610ec692505050565b60006113ca886119f0565b9050600081604001516113db575080515b885b8881141580156113ed5750848714155b15611462576113fb81612012565b9250826040015161145a5782516001600160a01b03161561141b57825191505b8a6001600160a01b0316826001600160a01b03160361145a578084888060010199508151811061144d5761144d612a6b565b6020026020010181815250505b6001016113dd565b505050928352509095945050505050565b6000546001600160a01b031633146114cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b826000829003611542576040516370a0823160e01b81523060048201526001600160a01b038216906370a0823190602401602060405180830381865afa15801561151b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061153f9190612a81565b91505b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905282169063a9059cbb90604401600060405180830381600087803b15801561158c57600080fd5b505af11580156115a0573d6000803e3d6000fd5b5050505050505050565b6002600954036115fc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cc7565b60026009556001546000036116535760405162461bcd60e51b815260206004820152601460248201527f73616c6520686173206e6f7420737461727465640000000000000000000000006044820152606401610cc7565b333b156116a25760405162461bcd60e51b815260206004820152601260248201527f706c65617365206e6f20636f6e747261637400000000000000000000000000006044820152606401610cc7565b3332146116f15760405162461bcd60e51b815260206004820152601260248201527f706c6561736520626520796f757273656c6600000000000000000000000000006044820152606401610cc7565b60006116fd3383610e40565b90508034101561174f5760405162461bcd60e51b815260206004820152601260248201527f496e73756666696369656e742056616c756500000000000000000000000000006044820152606401610cc7565b7f00000000000000000000000000000000000000000000000000000000000004578261177a60015490565b6117849190612a9a565b11156117d25760405162461bcd60e51b815260206004820152600860248201527f536f6c64206f75740000000000000000000000000000000000000000000000006044820152606401610cc7565b336000908152600c60205260409020547f00000000000000000000000000000000000000000000000000000000000000049061180f908490612a9a565b11158061182657506000546001600160a01b031633145b6118725760405162461bcd60e51b815260206004820152601460248201527f57616c6c6574206c696d697420726561636865640000000000000000000000006044820152606401610cc7565b61187c3383611d8a565b50506001600955565b6000546001600160a01b031633146118df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b806000036118ea5750475b6118fd6001600160a01b03831682612109565b5050565b336001600160a01b0383160361192a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006119a160015490565b905090565b6119b1848484610aa1565b6001600160a01b0383163b156119ea576119cd84848484612222565b6119ea576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506001548310611a445792915050565b611a4d83612012565b9050806040015115611a5f5792915050565b610ec683612091565b6060611a7382611cfb565b611a9057604051630a14c4b560e41b815260040160405180910390fd5b6000611a9a61230e565b90508051600003611aba5760405180602001604052806000815250610ec6565b80611ac48461231d565b604051602001611ad5929190612ab2565b6040516020818303038152906040529392505050565b6000546001600160a01b03163314611b455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b80516118fd90600d9060208401906123f0565b60006119a160025490565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16610918565b600d8054611b9b906129e5565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc7906129e5565b8015611c145780601f10611be957610100808354040283529160200191611c14565b820191906000526020600020905b815481529060010190602001808311611bf757829003601f168201915b505050505081565b6000546001600160a01b03163314611c765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b6001600160a01b038116611cf25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cc7565b610e1281611fb5565b600060015482108015610918575050600090815260056020526040902054600160e01b161590565b600081600154811015611d715760008181526005602052604081205490600160e01b82169003611d6f575b80600003610ec6575060001901600081815260056020526040902054611d4e565b505b604051636f96cda160e11b815260040160405180910390fd5b6001546001600160a01b038316611db357604051622e076360e81b815260040160405180910390fd5b81600003611dd45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611e1e5760015550505050565b6000611e7583611d23565b905080600080611e9386600090815260076020526040902080549091565b915091508415611ed357611ea8818433610af6565b611ed357611eb68333610868565b611ed357604051632ce44b5f60e11b815260040160405180910390fd5b8015611ede57600082555b6001600160a01b038316600081815260066020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260056020526040812091909155600160e11b85169003611f6c57600186016000818152600560205260408120549003611f6a576001548114611f6a5760008181526005602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060028054600101905550505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526005602052604090205461091890604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6040805160808101825260008082526020820181905291810182905260608101919091526109186120c183611d23565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b804710156121595760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610cc7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121a6576040519150601f19603f3d011682016040523d82523d6000602084013e6121ab565b606091505b5050905080610e305760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610cc7565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612257903390899088908890600401612ae1565b6020604051808303816000875af1925050508015612292575060408051601f3d908101601f1916820190925261228f91810190612b1d565b60015b6122f0573d8080156122c0576040519150601f19603f3d011682016040523d82523d6000602084013e6122c5565b606091505b5080516000036122e8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461092d906129e5565b604080516080810191829052607f0190826030600a8206018353600a90045b801561235a57600183039250600a81066030018353600a900461233c565b50819003601f19909101908152919050565b828054612378906129e5565b90600052602060002090601f01602090048101928261239a57600085556123e0565b82601f106123b35782800160ff198235161785556123e0565b828001600101855582156123e0579182015b828111156123e05782358255916020019190600101906123c5565b506123ec929150612464565b5090565b8280546123fc906129e5565b90600052602060002090601f01602090048101928261241e57600085556123e0565b82601f1061243757805160ff19168380011785556123e0565b828001600101855582156123e0579182015b828111156123e0578251825591602001919060010190612449565b5b808211156123ec5760008155600101612465565b6001600160e01b031981168114610e1257600080fd5b6000602082840312156124a157600080fd5b8135610ec681612479565b60005b838110156124c75781810151838201526020016124af565b838111156119ea5750506000910152565b600081518084526124f08160208601602086016124ac565b601f01601f19169290920160200192915050565b602081526000610ec660208301846124d8565b60006020828403121561252957600080fd5b5035919050565b80356001600160a01b038116811461254757600080fd5b919050565b6000806040838503121561255f57600080fd5b61256883612530565b946020939093013593505050565b60008060006060848603121561258b57600080fd5b61259484612530565b92506125a260208501612530565b9150604084013590509250925092565b6000602082840312156125c457600080fd5b610ec682612530565b600080602083850312156125e057600080fd5b823567ffffffffffffffff808211156125f857600080fd5b818501915085601f83011261260c57600080fd5b81358181111561261b57600080fd5b86602082850101111561262d57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561267e5761267e61263f565b604052919050565b6000602080838503121561269957600080fd5b823567ffffffffffffffff808211156126b157600080fd5b818501915085601f8301126126c557600080fd5b8135818111156126d7576126d761263f565b8060051b91506126e8848301612655565b818152918301840191848101908884111561270257600080fd5b938501935b8385101561272057843582529385019390850190612707565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b818110156112b3576127968385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101612748565b6020808252825182820181905260009190848201906040850190845b818110156112b3578351835292840192918401916001016127c5565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610918565b60008060006060848603121561283b57600080fd5b61284484612530565b95602085013595506040909401359392505050565b6000806040838503121561286c57600080fd5b61287583612530565b91506020830135801515811461288a57600080fd5b809150509250929050565b600067ffffffffffffffff8311156128af576128af61263f565b6128c2601f8401601f1916602001612655565b90508281528383830111156128d657600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561290357600080fd5b61290c85612530565b935061291a60208601612530565b925060408501359150606085013567ffffffffffffffff81111561293d57600080fd5b8501601f8101871361294e57600080fd5b61295d87823560208401612895565b91505092959194509250565b60006020828403121561297b57600080fd5b813567ffffffffffffffff81111561299257600080fd5b8201601f810184136129a357600080fd5b61230684823560208401612895565b600080604083850312156129c557600080fd5b6129ce83612530565b91506129dc60208401612530565b90509250929050565b600181811c908216806129f957607f821691505b602082108103612a1957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612a4757612a47612a1f565b500390565b6000816000190483118215151615612a6657612a66612a1f565b500290565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a9357600080fd5b5051919050565b60008219821115612aad57612aad612a1f565b500190565b60008351612ac48184602088016124ac565b835190830190612ad88183602088016124ac565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b1360808301846124d8565b9695505050505050565b600060208284031215612b2f57600080fd5b8151610ec68161247956fea2646970667358221220407e9bd71052d52e66e99b90cb7f4b38fa47c12607e5a96b1089b6fee6d83a1964736f6c634300080e0033
Deployed Bytecode Sourcemap
68390:4395:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14592:615;;;;;;;;;;-1:-1:-1;14592:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;14592:615:0;;;;;;;;20239:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22185:204::-;;;;;;;;;;-1:-1:-1;22185:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:55:1;;;1674:74;;1662:2;1647:18;22185:204:0;1528:226:1;21733:386:0;;;;;;;;;;-1:-1:-1;21733:386:0;;;;;:::i;:::-;;:::i;:::-;;13646:315;;;;;;;;;;-1:-1:-1;13912:12:0;;13896:13;;:28;13646:315;;;2365:25:1;;;2353:2;2338:18;13646:315:0;2219:177:1;31450:2800:0;;;;;;;;;;-1:-1:-1;31450:2800:0;;;;;:::i;:::-;;:::i;71835:113::-;;;;;;;;;;-1:-1:-1;71835:113:0;;;;;:::i;:::-;;:::i;70071:336::-;;;;;;;;;;-1:-1:-1;70071:336:0;;;;;:::i;:::-;;:::i;23075:185::-;;;;;;;;;;-1:-1:-1;23075:185:0;;;;;:::i;:::-;;:::i;69939:94::-;;;;;;;;;;-1:-1:-1;69939:94:0;;;;;:::i;:::-;;:::i;69674:235::-;;;;;;;;;;-1:-1:-1;69674:235:0;;;;;:::i;:::-;;:::i;72465:102::-;;;;;;;;;;-1:-1:-1;72465:102:0;;;;;:::i;:::-;;:::i;71498:106::-;;;;;;;;;;-1:-1:-1;71498:106:0;;;;;:::i;:::-;;:::i;68633:37::-;;;;;;;;;;;;;;;48818:468;;;;;;;;;;-1:-1:-1;48818:468:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20028:144::-;;;;;;;;;;-1:-1:-1;20028:144:0;;;;;:::i;:::-;;:::i;15271:224::-;;;;;;;;;;-1:-1:-1;15271:224:0;;;;;:::i;:::-;;:::i;67397:103::-;;;;;;;;;;;;;:::i;70697:178::-;;;;;;;;;;;;;:::i;52630:892::-;;;;;;;;;;-1:-1:-1;52630:892:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;66746:87::-;;;;;;;;;;-1:-1:-1;66792:7:0;66819:6;-1:-1:-1;;;;;66819:6:0;66746:87;;72646:136;;;;;;;;;;-1:-1:-1;72646:136:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20408:104::-;;;;;;;;;;;;;:::i;49676:2505::-;;;;;;;;;;-1:-1:-1;49676:2505:0;;;;;:::i;:::-;;:::i;70932:297::-;;;;;;;;;;-1:-1:-1;70932:297:0;;;;;:::i;:::-;;:::i;68677:43::-;;;;;;;;;;;;;;;69050:618;;;;;;:::i;:::-;;:::i;70453:195::-;;;;;;;;;;-1:-1:-1;70453:195:0;;;;;:::i;:::-;;:::i;22461:308::-;;;;;;;;;;-1:-1:-1;22461:308:0;;;;;:::i;:::-;;:::i;72174:93::-;;;;;;;;;;;;;:::i;68727:44::-;;;;;;;;;;-1:-1:-1;68727:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;23331:399;;;;;;;;;;-1:-1:-1;23331:399:0;;;;;:::i;:::-;;:::i;48239:420::-;;;;;;;;;;-1:-1:-1;48239:420:0;;;;;:::i;:::-;;:::i;20583:318::-;;;;;;;;;;-1:-1:-1;20583:318:0;;;;;:::i;:::-;;:::i;71308:116::-;;;;;;;;;;-1:-1:-1;71308:116:0;;;;;:::i;:::-;;:::i;68550:41::-;;;;;;;;;;;;;;;72316:93;;;;;;;;;;;;;:::i;71682:113::-;;;;;;;;;;-1:-1:-1;71682:113:0;;;;;:::i;:::-;;:::i;72005:120::-;;;;;;;;;;-1:-1:-1;72005:120:0;;;;;:::i;:::-;-1:-1:-1;;;;;16233:25:0;72067:7;16233:25;;;:18;:25;;;;;;10197:3;16233:39;;72005:120;68778:25;;;;;;;;;;;;;:::i;22840:164::-;;;;;;;;;;-1:-1:-1;22840:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;22961:25:0;;;22937:4;22961:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22840:164;67655:201;;;;;;;;;;-1:-1:-1;67655:201:0;;;;;:::i;:::-;;:::i;68598:28::-;;;;;;;;;;;;;;;;14592:615;14677:4;-1:-1:-1;;;;;;;;;14977:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15054:25:0;;;14977:102;:179;;;-1:-1:-1;;;;;;;;;;15131:25:0;;;14977:179;14957:199;14592:615;-1:-1:-1;;14592:615:0:o;20239:100::-;20293:13;20326:5;20319:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20239:100;:::o;22185:204::-;22253:7;22278:16;22286:7;22278;:16::i;:::-;22273:64;;22303:34;;-1:-1:-1;;;22303:34:0;;;;;;;;;;;22273:64;-1:-1:-1;22357:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22357:24:0;;22185:204::o;21733:386::-;21806:13;21822:16;21830:7;21822;:16::i;:::-;21806:32;-1:-1:-1;42633:10:0;-1:-1:-1;;;;;21855:28:0;;;21851:175;;21903:44;21920:5;42633:10;22840:164;:::i;21903:44::-;21898:128;;21975:35;;-1:-1:-1;;;21975:35:0;;;;;;;;;;;21898:128;22038:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;22038:29:0;-1:-1:-1;;;;;22038:29:0;;;;;;;;;22083:28;;22038:24;;22083:28;;;;;;;21795:324;21733:386;;:::o;31450:2800::-;31584:27;31614;31633:7;31614:18;:27::i;:::-;31584:57;;31699:4;-1:-1:-1;;;;;31658:45:0;31674:19;-1:-1:-1;;;;;31658:45:0;;31654:86;;31712:28;;-1:-1:-1;;;31712:28:0;;;;;;;;;;;31654:86;31754:27;30180:21;;;30007:15;30222:4;30215:36;30304:4;30288:21;;30394:26;;31938:62;30394:26;31974:4;42633:10;31980:19;-1:-1:-1;;;;;30999:31:0;;;30845:26;;31126:19;;31147:30;;31123:55;;30551:645;31938:62;31933:174;;32020:43;32037:4;42633:10;22840:164;:::i;32020:43::-;32015:92;;32072:35;;-1:-1:-1;;;32072:35:0;;;;;;;;;;;32015:92;-1:-1:-1;;;;;32124:16:0;;32120:52;;32149:23;;-1:-1:-1;;;32149:23:0;;;;;;;;;;;32120:52;32321:15;32318:160;;;32461:1;32440:19;32433:30;32318:160;-1:-1:-1;;;;;32856:24:0;;;;;;;:18;:24;;;;;;32854:26;;-1:-1:-1;;32854:26:0;;;32925:22;;;;;;;;;32923:24;;-1:-1:-1;32923:24:0;;;19927:11;19903:22;19899:40;19886:62;-1:-1:-1;;;19886:62:0;33218:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;33512:46:0;;:51;;33508:626;;33616:1;33606:11;;33584:19;33739:30;;;:17;:30;;;;;;:35;;33735:384;;33877:13;;33862:11;:28;33858:242;;34024:30;;;;:17;:30;;;;;:52;;;33858:242;33565:569;33508:626;34181:7;34177:2;-1:-1:-1;;;;;34162:27:0;34171:4;-1:-1:-1;;;;;34162:27:0;;;;;;;;;;;31573:2677;;;31450:2800;;;:::o;71835:113::-;71893:7;71920:20;71934:5;-1:-1:-1;;;;;15940:25:0;15912:7;15940:25;;;:18;:25;;;;;;10089:3;15940:49;9826:13;15939:80;;15851:176;70071:336;66792:7;66819:6;-1:-1:-1;;;;;66819:6:0;42633:10;66966:23;66958:68;;;;-1:-1:-1;;;66958:68:0;;9961:2:1;66958:68:0;;;9943:21:1;;;9980:18;;;9973:30;10039:34;10019:18;;;10012:62;10091:18;;66958:68:0;;;;;;;;;70156:8:::1;;70144;:20;;70136:49;;;::::0;-1:-1:-1;;;70136:49:0;;10322:2:1;70136:49:0::1;::::0;::::1;10304:21:1::0;10361:2;10341:18;;;10334:30;10400:18;10380;;;10373:46;10436:18;;70136:49:0::1;10120:340:1::0;70136:49:0::1;70204:8;70216:1;70204:13:::0;70196:44:::1;;;::::0;-1:-1:-1;;;70196:44:0;;10667:2:1;70196:44:0::1;::::0;::::1;10649:21:1::0;10706:2;10686:18;;;10679:30;10745:20;10725:18;;;10718:48;10783:18;;70196:44:0::1;10465:342:1::0;70196:44:0::1;70263:8;70251;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;70282:27:0::1;::::0;-1:-1:-1;70288:10:0::1;70300:8:::0;70282:5:::1;:27::i;:::-;70358:8;::::0;70346:20:::1;::::0;:9:::1;:20;:::i;:::-;14294:13:::0;;70328:38:::1;;70320:79;;;::::0;-1:-1:-1;;;70320:79:0;;11276:2:1;70320:79:0::1;::::0;::::1;11258:21:1::0;11315:2;11295:18;;;11288:30;11354;11334:18;;;11327:58;11402:18;;70320:79:0::1;11074:352:1::0;70320:79:0::1;70071:336:::0;:::o;23075:185::-;23213:39;23230:4;23236:2;23240:7;23213:39;;;;;;;;;;;;:16;:39::i;:::-;23075:185;;;:::o;69939:94::-;70005:20;70011:7;70020:4;70005:5;:20::i;69674:235::-;69745:7;;69785:16;69796:5;69785:8;:16;:::i;:::-;-1:-1:-1;;;;;69816:15:0;;;;;;:9;:15;;;;;;69764:37;;-1:-1:-1;69816:20:0;69812:61;;69864:9;:5;69872:1;69864:9;:::i;:::-;69851:22;;:10;:22;:::i;:::-;69838:35;;69812:61;69891:10;69674:235;-1:-1:-1;;;69674:235:0:o;72465:102::-;72519:4;72543:16;72551:7;72543;:16::i;71498:106::-;66792:7;66819:6;-1:-1:-1;;;;;66819:6:0;42633:10;66966:23;66958:68;;;;-1:-1:-1;;;66958:68:0;;9961:2:1;66958:68:0;;;9943:21:1;;;9980:18;;;9973:30;10039:34;10019:18;;;10012:62;10091:18;;66958:68:0;9759:356:1;66958:68:0;71573:23:::1;:13;71589:7:::0;;71573:23:::1;:::i;48818:468::-:0;48993:15;;48907:23;;48968:22;48993:15;49060:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49060:36:0;;-1:-1:-1;;49060:36:0;;;;;;;;;;;;49023:73;;49116:9;49111:125;49132:14;49127:1;:19;49111:125;;49188:32;49208:8;49217:1;49208:11;;;;;;;;:::i;:::-;;;;;;;49188:19;:32::i;:::-;49172:10;49183:1;49172:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;49148:3;;49111:125;;;-1:-1:-1;49257:10:0;48818:468;-1:-1:-1;;;48818:468:0:o;20028:144::-;20092:7;20135:27;20154:7;20135:18;:27::i;15271:224::-;15335:7;-1:-1:-1;;;;;15359:19:0;;15355:60;;15387:28;;-1:-1:-1;;;15387:28:0;;;;;;;;;;;15355:60;-1:-1:-1;;;;;;15433:25:0;;;;;:18;:25;;;;;;9826:13;15433:54;;15271:224::o;67397:103::-;66792:7;66819:6;-1:-1:-1;;;;;66819:6:0;42633:10;66966:23;66958:68;;;;-1:-1:-1;;;66958:68:0;;9961:2:1;66958:68:0;;;9943:21:1;;;9980:18;;;9973:30;10039:34;10019:18;;;10012:62;10091:18;;66958:68:0;9759:356:1;66958:68:0;67462:30:::1;67489:1;67462:18;:30::i;:::-;67397:103::o:0;70697:178::-;66792:7;66819:6;-1:-1:-1;;;;;66819:6:0;42633:10;66966:23;66958:68;;;;-1:-1:-1;;;66958:68:0;;9961:2:1;66958:68:0;;;9943:21:1;;;9980:18;;;9973:30;10039:34;10019:18;;;10012:62;10091:18;;66958:68:0;9759:356:1;66958:68:0;70771:49:::1;::::0;70753:12:::1;::::0;70771:10:::1;::::0;70794:21:::1;::::0;70753:12;70771:49;70753:12;70771:49;70794:21;70771:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70752:68;;;70839:7;70831:36;;;::::0;-1:-1:-1;;;70831:36:0;;12148:2:1;70831:36:0::1;::::0;::::1;12130:21:1::0;12187:2;12167:18;;;12160:30;12226:18;12206;;;12199:46;12262:18;;70831:36:0::1;11946:340:1::0;52630:892:0;52700:16;52754:19;52788:25;52828:22;52853:16;52863:5;52853:9;:16::i;:::-;52828:41;;52884:25;52926:14;52912:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52912:29:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52884:57:0;;-1:-1:-1;53002:472:0;53051:14;53036:11;:29;53002:472;;53103:15;53116:1;53103:12;:15::i;:::-;53091:27;;53141:9;:16;;;53182:8;53137:73;53232:14;;-1:-1:-1;;;;;53232:28:0;;53228:111;;53305:14;;;-1:-1:-1;53228:111:0;53382:5;-1:-1:-1;;;;;53361:26:0;:17;-1:-1:-1;;;;;53361:26:0;;53357:102;;53438:1;53412:8;53421:13;;;;;;53412:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;53357:102;53067:3;;53002:472;;;-1:-1:-1;53495:8:0;;52630:892;-1:-1:-1;;;;;;52630:892:0:o;72646:136::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72753:21:0;72766:7;72753:12;:21::i;20408:104::-;20464:13;20497:7;20490:14;;;;;:::i;49676:2505::-;49811:16;49878:4;49869:5;:13;49865:45;;49891:19;;-1:-1:-1;;;49891:19:0;;;;;;;;;;;49865:45;49925:19;49959:17;49979:14;13415:13;;;13341:95;49979:14;49959:34;-1:-1:-1;50230:9:0;50223:4;:16;50219:73;;;50267:9;50260:16;;50219:73;50306:25;50334:16;50344:5;50334:9;:16::i;:::-;50306:44;;50528:4;50520:5;:12;50516:278;;;50575:12;;;50610:31;;;50606:111;;;50686:11;50666:31;;50606:111;50534:198;50516:278;;;-1:-1:-1;50777:1:0;50516:278;50808:25;50850:17;50836:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50836:32:0;;50808:60;;50887:17;50908:1;50887:22;50883:78;;50937:8;-1:-1:-1;50930:15:0;;-1:-1:-1;;;50930:15:0;50883:78;51105:31;51139:26;51159:5;51139:19;:26::i;:::-;51105:60;;51180:25;51425:9;:16;;;51420:92;;-1:-1:-1;51482:14:0;;51420:92;51543:5;51526:478;51555:4;51550:1;:9;;:45;;;;;51578:17;51563:11;:32;;51550:45;51526:478;;;51633:15;51646:1;51633:12;:15::i;:::-;51621:27;;51671:9;:16;;;51712:8;51667:73;51762:14;;-1:-1:-1;;;;;51762:28:0;;51758:111;;51835:14;;;-1:-1:-1;51758:111:0;51912:5;-1:-1:-1;;;;;51891:26:0;:17;-1:-1:-1;;;;;51891:26:0;;51887:102;;51968:1;51942:8;51951:13;;;;;;51942:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;51887:102;51597:3;;51526:478;;;-1:-1:-1;;;52089:29:0;;;-1:-1:-1;52089:29:0;;49676:2505;-1:-1:-1;;;;;49676:2505:0:o;70932:297::-;66792:7;66819:6;-1:-1:-1;;;;;66819:6:0;42633:10;66966:23;66958:68;;;;-1:-1:-1;;;66958:68:0;;9961:2:1;66958:68:0;;;9943:21:1;;;9980:18;;;9973:30;10039:34;10019:18;;;10012:62;10091:18;;66958:68:0;9759:356:1;66958:68:0;71081:9;71059:12:::1;71106:11:::0;;;71102:83:::1;;71143:30;::::0;-1:-1:-1;;;71143:30:0;;71167:4:::1;71143:30;::::0;::::1;1674:74:1::0;-1:-1:-1;;;;;71143:15:0;::::1;::::0;::::1;::::0;1647:18:1;;71143:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71134:39;;71102:83;71195:26;::::0;-1:-1:-1;;;71195:26:0;;-1:-1:-1;;;;;12672:55:1;;;71195:26:0::1;::::0;::::1;12654:74:1::0;12744:18;;;12737:34;;;71195:14:0;::::1;::::0;::::1;::::0;12627:18:1;;71195:26:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;71048:181;70932:297:::0;;;:::o;69050:618::-;63844:1;64442:7;;:19;64434:63;;;;-1:-1:-1;;;64434:63:0;;12984:2:1;64434:63:0;;;12966:21:1;13023:2;13003:18;;;12996:30;13062:33;13042:18;;;13035:61;13113:18;;64434:63:0;12782:355:1;64434:63:0;63844:1;64575:7;:18;14294:13;;69147:1:::1;69129:19:::0;69121:52:::1;;;::::0;-1:-1:-1;;;69121:52:0;;13344:2:1;69121:52:0::1;::::0;::::1;13326:21:1::0;13383:2;13363:18;;;13356:30;13422:22;13402:18;;;13395:50;13462:18;;69121:52:0::1;13142:344:1::0;69121:52:0::1;69193:10;55057:19:::0;:23;69184:55:::1;;;::::0;-1:-1:-1;;;69184:55:0;;13693:2:1;69184:55:0::1;::::0;::::1;13675:21:1::0;13732:2;13712:18;;;13705:30;13771:20;13751:18;;;13744:48;13809:18;;69184:55:0::1;13491:342:1::0;69184:55:0::1;69258:10;69272:9;69258:23;69250:54;;;::::0;-1:-1:-1;;;69250:54:0;;14040:2:1;69250:54:0::1;::::0;::::1;14022:21:1::0;14079:2;14059:18;;;14052:30;14118:20;14098:18;;;14091:48;14156:18;;69250:54:0::1;13838:342:1::0;69250:54:0::1;69315:18;69336:30;69345:10;69357:8;69336;:30::i;:::-;69315:51;;69398:10;69385:9;:23;;69377:54;;;::::0;-1:-1:-1;;;69377:54:0;;14387:2:1;69377:54:0::1;::::0;::::1;14369:21:1::0;14426:2;14406:18;;;14399:30;14465:20;14445:18;;;14438:48;14503:18;;69377:54:0::1;14185:342:1::0;69377:54:0::1;69482:9;69469:8;69452:14;14294:13:::0;;;14059:285;69452:14:::1;:25;;;;:::i;:::-;69451:40;;69442:62;;;::::0;-1:-1:-1;;;69442:62:0;;14867:2:1;69442:62:0::1;::::0;::::1;14849:21:1::0;14906:1;14886:18;;;14879:29;14944:10;14924:18;;;14917:38;14972:18;;69442:62:0::1;14665:331:1::0;69442:62:0::1;69536:10;69526:21;::::0;;;:9:::1;:21;::::0;;;;;69563:8:::1;::::0;69526:32:::1;::::0;69550:8;;69526:32:::1;:::i;:::-;69525:46;;69524:73;;;-1:-1:-1::0;66792:7:0;66819:6;-1:-1:-1;;;;;66819:6:0;69576:10:::1;:21;69524:73;69515:107;;;::::0;-1:-1:-1;;;69515:107:0;;15203:2:1;69515:107:0::1;::::0;::::1;15185:21:1::0;15242:2;15222:18;;;15215:30;15281:22;15261:18;;;15254:50;15321:18;;69515:107:0::1;15001:344:1::0;69515:107:0::1;69633:27;69639:10;69651:8;69633:5;:27::i;:::-;-1:-1:-1::0;;63800:1:0;64754:7;:22;69050:618::o;70453:195::-;66792:7;66819:6;-1:-1:-1;;;;;66819:6:0;42633:10;66966:23;66958:68;;;;-1:-1:-1;;;66958:68:0;;9961:2:1;66958:68:0;;;9943:21:1;;;9980:18;;;9973:30;10039:34;10019:18;;;10012:62;10091:18;;66958:68:0;9759:356:1;66958:68:0;70531:6:::1;70541:1;70531:11:::0;70527:74:::1;;-1:-1:-1::0;70568:21:0::1;70527:74;70611:29;-1:-1:-1::0;;;;;70611:21:0;::::1;70633:6:::0;70611:21:::1;:29::i;:::-;70453:195:::0;;:::o;22461:308::-;42633:10;-1:-1:-1;;;;;22560:31:0;;;22556:61;;22600:17;;-1:-1:-1;;;22600:17:0;;;;;;;;;;;22556:61;42633:10;22630:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22630:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22630:60:0;;;;;;;;;;22706:55;;540:41:1;;;22630:49:0;;42633:10;22706:55;;513:18:1;22706:55:0;;;;;;;22461:308;;:::o;72174:93::-;72218:7;72245:14;14294:13;;;14059:285;72245:14;72238:21;;72174:93;:::o;23331:399::-;23498:31;23511:4;23517:2;23521:7;23498:12;:31::i;:::-;-1:-1:-1;;;;;23544:14:0;;;:19;23540:183;;23583:56;23614:4;23620:2;23624:7;23633:5;23583:30;:56::i;:::-;23578:145;;23667:40;;-1:-1:-1;;;23667:40:0;;;;;;;;;;;23578:145;23331:399;;;;:::o;48239:420::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13415:13:0;;48424:7;:25;48391:103;;48473:9;48239:420;-1:-1:-1;;48239:420:0:o;48391:103::-;48516:21;48529:7;48516:12;:21::i;:::-;48504:33;;48552:9;:16;;;48548:65;;;48592:9;48239:420;-1:-1:-1;;48239:420:0:o;48548:65::-;48630:21;48643:7;48630:12;:21::i;20583:318::-;20656:13;20687:16;20695:7;20687;:16::i;:::-;20682:59;;20712:29;;-1:-1:-1;;;20712:29:0;;;;;;;;;;;20682:59;20754:21;20778:10;:8;:10::i;:::-;20754:34;;20812:7;20806:21;20831:1;20806:26;:87;;;;;;;;;;;;;;;;;20859:7;20868:18;20878:7;20868:9;:18::i;:::-;20842:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20799:94;20583:318;-1:-1:-1;;;20583:318:0:o;71308:116::-;66792:7;66819:6;-1:-1:-1;;;;;66819:6:0;42633:10;66966:23;66958:68;;;;-1:-1:-1;;;66958:68:0;;9961:2:1;66958:68:0;;;9943:21:1;;;9980:18;;;9973:30;10039:34;10019:18;;;10012:62;10091:18;;66958:68:0;9759:356:1;66958:68:0;71389:27;;::::1;::::0;:11:::1;::::0;:27:::1;::::0;::::1;::::0;::::1;:::i;72316:93::-:0;72360:7;72387:14;14500:12;;;14426:94;71682:113;-1:-1:-1;;;;;15666:25:0;;71740:7;15666:25;;;:18;:25;;9963:2;15666:25;;;;9826:13;15666:49;;15665:80;71767:20;15577:176;68778:25;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;67655:201::-;66792:7;66819:6;-1:-1:-1;;;;;66819:6:0;42633:10;66966:23;66958:68;;;;-1:-1:-1;;;66958:68:0;;9961:2:1;66958:68:0;;;9943:21:1;;;9980:18;;;9973:30;10039:34;10019:18;;;10012:62;10091:18;;66958:68:0;9759:356:1;66958:68:0;-1:-1:-1;;;;;67744:22:0;::::1;67736:73;;;::::0;-1:-1:-1;;;67736:73:0;;16027:2:1;67736:73:0::1;::::0;::::1;16009:21:1::0;16066:2;16046:18;;;16039:30;16105:34;16085:18;;;16078:62;16176:8;16156:18;;;16149:36;16202:19;;67736:73:0::1;15825:402:1::0;67736:73:0::1;67820:28;67839:8;67820:18;:28::i;23985:273::-:0;24042:4;24132:13;;24122:7;:23;24079:152;;;;-1:-1:-1;;24183:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24183:43:0;:48;;23985:273::o;16945:1129::-;17012:7;17047;17149:13;;17142:4;:20;17138:869;;;17187:14;17204:23;;;:17;:23;;;;;;;-1:-1:-1;;;17293:23:0;;:28;;17289:699;;17812:113;17819:6;17829:1;17819:11;17812:113;;-1:-1:-1;;;17890:6:0;17872:25;;;;:17;:25;;;;;;17812:113;;17289:699;17164:843;17138:869;18035:31;;-1:-1:-1;;;18035:31:0;;;;;;;;;;;25816:1529;25904:13;;-1:-1:-1;;;;;25932:16:0;;25928:48;;25957:19;;-1:-1:-1;;;25957:19:0;;;;;;;;;;;25928:48;25991:8;26003:1;25991:13;25987:44;;26013:18;;-1:-1:-1;;;26013:18:0;;;;;;;;;;;25987:44;-1:-1:-1;;;;;26519:22:0;;;;;;:18;:22;;9963:2;26519:22;;:70;;26557:31;26545:44;;26519:70;;;19927:11;19903:22;19899:40;-1:-1:-1;21637:15:0;;21612:23;21608:45;19896:51;19886:62;26832:31;;;;:17;:31;;;;;:173;26850:12;27081:23;;;27119:101;27146:35;;27171:9;;;;;-1:-1:-1;;;;;27146:35:0;;;27163:1;;27146:35;;27163:1;;27146:35;27215:3;27205:7;:13;27119:101;;27236:13;:19;-1:-1:-1;23075:185:0;;;:::o;34646:3063::-;34726:27;34756;34775:7;34756:18;:27::i;:::-;34726:57;-1:-1:-1;34726:57:0;34796:12;;34918:28;34938:7;29881:27;30180:21;;;30007:15;30222:4;30215:36;30304:4;30288:21;;30394:26;;30288:21;;29786:652;34918:28;34861:85;;;;34963:13;34959:310;;;35084:62;35103:15;35120:4;42633:10;35126:19;42546:105;35084:62;35079:178;;35170:43;35187:4;42633:10;22840:164;:::i;35170:43::-;35165:92;;35222:35;;-1:-1:-1;;;35222:35:0;;;;;;;;;;;35165:92;35425:15;35422:160;;;35565:1;35544:19;35537:30;35422:160;-1:-1:-1;;;;;36183:24:0;;;;;;:18;:24;;;;;:59;;36211:31;36183:59;;;19927:11;19903:22;19899:40;19886:62;-1:-1:-1;;;19886:62:0;36480:26;;;;:17;:26;;;;;:203;;;;-1:-1:-1;;;36803:46:0;;:51;;36799:626;;36907:1;36897:11;;36875:19;37030:30;;;:17;:30;;;;;;:35;;37026:384;;37168:13;;37153:11;:28;37149:242;;37315:30;;;;:17;:30;;;;;:52;;;37149:242;36856:569;36799:626;37453:35;;37480:7;;37476:1;;-1:-1:-1;;;;;37453:35:0;;;;;37476:1;;37453:35;-1:-1:-1;;37676:12:0;:14;;;;;;-1:-1:-1;;;;34646:3063:0:o;68016:191::-;68090:16;68109:6;;-1:-1:-1;;;;;68126:17:0;;;-1:-1:-1;;68126:17:0;;;;;;68159:40;;68109:6;;;;;;;68159:40;;68090:16;68159:40;68079:128;68016:191;:::o;18622:153::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18742:24:0;;;;:17;:24;;;;;;18723:44;;-1:-1:-1;;;;;;;;;;;;;18278:41:0;;;;10480:3;18364:32;;;18330:67;;-1:-1:-1;;;18330:67:0;-1:-1:-1;;;18427:23:0;;:28;;-1:-1:-1;;;18408:47:0;;;;10997:3;18495:27;;;;-1:-1:-1;;;18466:57:0;-1:-1:-1;18168:363:0;19278:158;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19381:47:0;19400:27;19419:7;19400:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;18278:41:0;;;;10480:3;18364:32;;;18330:67;;-1:-1:-1;;;18330:67:0;-1:-1:-1;;;18427:23:0;;:28;;-1:-1:-1;;;18408:47:0;;;;10997:3;18495:27;;;;-1:-1:-1;;;18466:57:0;-1:-1:-1;18168:363:0;56023:317;56138:6;56113:21;:31;;56105:73;;;;-1:-1:-1;;;56105:73:0;;16434:2:1;56105:73:0;;;16416:21:1;16473:2;16453:18;;;16446:30;16512:31;16492:18;;;16485:59;16561:18;;56105:73:0;16232:353:1;56105:73:0;56192:12;56210:9;-1:-1:-1;;;;;56210:14:0;56232:6;56210:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56191:52;;;56262:7;56254:78;;;;-1:-1:-1;;;56254:78:0;;16792:2:1;56254:78:0;;;16774:21:1;16831:2;16811:18;;;16804:30;16870:34;16850:18;;;16843:62;16941:28;16921:18;;;16914:56;16987:19;;56254:78:0;16590:422:1;38201:716:0;38385:88;;-1:-1:-1;;;38385:88:0;;38364:4;;-1:-1:-1;;;;;38385:45:0;;;;;:88;;42633:10;;38452:4;;38458:7;;38467:5;;38385:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38385:88:0;;;;;;;;-1:-1:-1;;38385:88:0;;;;;;;;;;;;:::i;:::-;;;38381:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38668:6;:13;38685:1;38668:18;38664:235;;38714:40;;-1:-1:-1;;;38714:40:0;;;;;;;;;;;38664:235;38857:6;38851:13;38842:6;38838:2;38834:15;38827:38;38381:529;-1:-1:-1;;;;;;38544:64:0;-1:-1:-1;;;38544:64:0;;-1:-1:-1;38381:529:0;38201:716;;;;;;:::o;68906:114::-;68966:13;68999;68992:20;;;;;:::i;42757:1960::-;43226:4;43220:11;;43233:3;43216:21;;43311:17;;;;44007:11;;;43886:5;44139:2;44153;44143:13;;44135:22;44007:11;44122:36;44194:2;44184:13;;43778:697;44213:4;43778:697;;;44404:1;44399:3;44395:11;44388:18;;44455:2;44449:4;44445:13;44441:2;44437:22;44432:3;44424:36;44308:2;44298:13;;43778:697;;;-1:-1:-1;44505:13:0;;;-1:-1:-1;;44620:12:0;;;44680:19;;;44620:12;42757:1960;-1:-1:-1;42757:1960:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;1759:196::-;1827:20;;-1:-1:-1;;;;;1876:54:1;;1866:65;;1856:93;;1945:1;1942;1935:12;1856:93;1759:196;;;:::o;1960:254::-;2028:6;2036;2089:2;2077:9;2068:7;2064:23;2060:32;2057:52;;;2105:1;2102;2095:12;2057:52;2128:29;2147:9;2128:29;:::i;:::-;2118:39;2204:2;2189:18;;;;2176:32;;-1:-1:-1;;;1960:254:1:o;2401:328::-;2478:6;2486;2494;2547:2;2535:9;2526:7;2522:23;2518:32;2515:52;;;2563:1;2560;2553:12;2515:52;2586:29;2605:9;2586:29;:::i;:::-;2576:39;;2634:38;2668:2;2657:9;2653:18;2634:38;:::i;:::-;2624:48;;2719:2;2708:9;2704:18;2691:32;2681:42;;2401:328;;;;;:::o;2734:186::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2885:29;2904:9;2885:29;:::i;2925:592::-;2996:6;3004;3057:2;3045:9;3036:7;3032:23;3028:32;3025:52;;;3073:1;3070;3063:12;3025:52;3113:9;3100:23;3142:18;3183:2;3175:6;3172:14;3169:34;;;3199:1;3196;3189:12;3169:34;3237:6;3226:9;3222:22;3212:32;;3282:7;3275:4;3271:2;3267:13;3263:27;3253:55;;3304:1;3301;3294:12;3253:55;3344:2;3331:16;3370:2;3362:6;3359:14;3356:34;;;3386:1;3383;3376:12;3356:34;3431:7;3426:2;3417:6;3413:2;3409:15;3405:24;3402:37;3399:57;;;3452:1;3449;3442:12;3399:57;3483:2;3475:11;;;;;3505:6;;-1:-1:-1;2925:592:1;;-1:-1:-1;;;;2925:592:1:o;3522:127::-;3583:10;3578:3;3574:20;3571:1;3564:31;3614:4;3611:1;3604:15;3638:4;3635:1;3628:15;3654:275;3725:2;3719:9;3790:2;3771:13;;-1:-1:-1;;3767:27:1;3755:40;;3825:18;3810:34;;3846:22;;;3807:62;3804:88;;;3872:18;;:::i;:::-;3908:2;3901:22;3654:275;;-1:-1:-1;3654:275:1:o;3934:946::-;4018:6;4049:2;4092;4080:9;4071:7;4067:23;4063:32;4060:52;;;4108:1;4105;4098:12;4060:52;4148:9;4135:23;4177:18;4218:2;4210:6;4207:14;4204:34;;;4234:1;4231;4224:12;4204:34;4272:6;4261:9;4257:22;4247:32;;4317:7;4310:4;4306:2;4302:13;4298:27;4288:55;;4339:1;4336;4329:12;4288:55;4375:2;4362:16;4397:2;4393;4390:10;4387:36;;;4403:18;;:::i;:::-;4449:2;4446:1;4442:10;4432:20;;4472:28;4496:2;4492;4488:11;4472:28;:::i;:::-;4534:15;;;4604:11;;;4600:20;;;4565:12;;;;4632:19;;;4629:39;;;4664:1;4661;4654:12;4629:39;4688:11;;;;4708:142;4724:6;4719:3;4716:15;4708:142;;;4790:17;;4778:30;;4741:12;;;;4828;;;;4708:142;;;4869:5;3934:946;-1:-1:-1;;;;;;;;3934:946:1:o;5262:720::-;5493:2;5545:21;;;5615:13;;5518:18;;;5637:22;;;5464:4;;5493:2;5716:15;;;;5690:2;5675:18;;;5464:4;5759:197;5773:6;5770:1;5767:13;5759:197;;;5822:52;5870:3;5861:6;5855:13;-1:-1:-1;;;;;4975:5:1;4969:12;4965:61;4960:3;4953:74;5088:18;5080:4;5073:5;5069:16;5063:23;5059:48;5052:4;5047:3;5043:14;5036:72;5171:4;5164:5;5160:16;5154:23;5147:31;5140:39;5133:4;5128:3;5124:14;5117:63;5241:8;5233:4;5226:5;5222:16;5216:23;5212:38;5205:4;5200:3;5196:14;5189:62;;;4885:372;5822:52;5931:15;;;;5903:4;5894:14;;;;;5795:1;5788:9;5759:197;;5987:632;6158:2;6210:21;;;6280:13;;6183:18;;;6302:22;;;6129:4;;6158:2;6381:15;;;;6355:2;6340:18;;;6129:4;6424:169;6438:6;6435:1;6432:13;6424:169;;;6499:13;;6487:26;;6568:15;;;;6533:12;;;;6460:1;6453:9;6424:169;;6624:264;4969:12;;-1:-1:-1;;;;;4965:61:1;4953:74;;5080:4;5069:16;;;5063:23;5088:18;5059:48;5043:14;;;5036:72;5171:4;5160:16;;;5154:23;5147:31;5140:39;5124:14;;;5117:63;5233:4;5222:16;;;5216:23;5241:8;5212:38;5196:14;;;5189:62;6818:3;6803:19;;6831:51;4885:372;6893:322;6970:6;6978;6986;7039:2;7027:9;7018:7;7014:23;7010:32;7007:52;;;7055:1;7052;7045:12;7007:52;7078:29;7097:9;7078:29;:::i;:::-;7068:39;7154:2;7139:18;;7126:32;;-1:-1:-1;7205:2:1;7190:18;;;7177:32;;6893:322;-1:-1:-1;;;6893:322:1:o;7220:347::-;7285:6;7293;7346:2;7334:9;7325:7;7321:23;7317:32;7314:52;;;7362:1;7359;7352:12;7314:52;7385:29;7404:9;7385:29;:::i;:::-;7375:39;;7464:2;7453:9;7449:18;7436:32;7511:5;7504:13;7497:21;7490:5;7487:32;7477:60;;7533:1;7530;7523:12;7477:60;7556:5;7546:15;;;7220:347;;;;;:::o;7572:406::-;7636:5;7670:18;7662:6;7659:30;7656:56;;;7692:18;;:::i;:::-;7730:57;7775:2;7754:15;;-1:-1:-1;;7750:29:1;7781:4;7746:40;7730:57;:::i;:::-;7721:66;;7810:6;7803:5;7796:21;7850:3;7841:6;7836:3;7832:16;7829:25;7826:45;;;7867:1;7864;7857:12;7826:45;7916:6;7911:3;7904:4;7897:5;7893:16;7880:43;7970:1;7963:4;7954:6;7947:5;7943:18;7939:29;7932:40;7572:406;;;;;:::o;7983:666::-;8078:6;8086;8094;8102;8155:3;8143:9;8134:7;8130:23;8126:33;8123:53;;;8172:1;8169;8162:12;8123:53;8195:29;8214:9;8195:29;:::i;:::-;8185:39;;8243:38;8277:2;8266:9;8262:18;8243:38;:::i;:::-;8233:48;;8328:2;8317:9;8313:18;8300:32;8290:42;;8383:2;8372:9;8368:18;8355:32;8410:18;8402:6;8399:30;8396:50;;;8442:1;8439;8432:12;8396:50;8465:22;;8518:4;8510:13;;8506:27;-1:-1:-1;8496:55:1;;8547:1;8544;8537:12;8496:55;8570:73;8635:7;8630:2;8617:16;8612:2;8608;8604:11;8570:73;:::i;:::-;8560:83;;;7983:666;;;;;;;:::o;8654:450::-;8723:6;8776:2;8764:9;8755:7;8751:23;8747:32;8744:52;;;8792:1;8789;8782:12;8744:52;8832:9;8819:23;8865:18;8857:6;8854:30;8851:50;;;8897:1;8894;8887:12;8851:50;8920:22;;8973:4;8965:13;;8961:27;-1:-1:-1;8951:55:1;;9002:1;8999;8992:12;8951:55;9025:73;9090:7;9085:2;9072:16;9067:2;9063;9059:11;9025:73;:::i;9109:260::-;9177:6;9185;9238:2;9226:9;9217:7;9213:23;9209:32;9206:52;;;9254:1;9251;9244:12;9206:52;9277:29;9296:9;9277:29;:::i;:::-;9267:39;;9325:38;9359:2;9348:9;9344:18;9325:38;:::i;:::-;9315:48;;9109:260;;;;;:::o;9374:380::-;9453:1;9449:12;;;;9496;;;9517:61;;9571:4;9563:6;9559:17;9549:27;;9517:61;9624:2;9616:6;9613:14;9593:18;9590:38;9587:161;;9670:10;9665:3;9661:20;9658:1;9651:31;9705:4;9702:1;9695:15;9733:4;9730:1;9723:15;9587:161;;9374:380;;;:::o;10812:127::-;10873:10;10868:3;10864:20;10861:1;10854:31;10904:4;10901:1;10894:15;10928:4;10925:1;10918:15;10944:125;10984:4;11012:1;11009;11006:8;11003:34;;;11017:18;;:::i;:::-;-1:-1:-1;11054:9:1;;10944:125::o;11431:168::-;11471:7;11537:1;11533;11529:6;11525:14;11522:1;11519:21;11514:1;11507:9;11500:17;11496:45;11493:71;;;11544:18;;:::i;:::-;-1:-1:-1;11584:9:1;;11431:168::o;11604:127::-;11665:10;11660:3;11656:20;11653:1;11646:31;11696:4;11693:1;11686:15;11720:4;11717:1;11710:15;12291:184;12361:6;12414:2;12402:9;12393:7;12389:23;12385:32;12382:52;;;12430:1;12427;12420:12;12382:52;-1:-1:-1;12453:16:1;;12291:184;-1:-1:-1;12291:184:1:o;14532:128::-;14572:3;14603:1;14599:6;14596:1;14593:13;14590:39;;;14609:18;;:::i;:::-;-1:-1:-1;14645:9:1;;14532:128::o;15350:470::-;15529:3;15567:6;15561:13;15583:53;15629:6;15624:3;15617:4;15609:6;15605:17;15583:53;:::i;:::-;15699:13;;15658:16;;;;15721:57;15699:13;15658:16;15755:4;15743:17;;15721:57;:::i;:::-;15794:20;;15350:470;-1:-1:-1;;;;15350:470:1:o;17017:512::-;17211:4;-1:-1:-1;;;;;17321:2:1;17313:6;17309:15;17298:9;17291:34;17373:2;17365:6;17361:15;17356:2;17345:9;17341:18;17334:43;;17413:6;17408:2;17397:9;17393:18;17386:34;17456:3;17451:2;17440:9;17436:18;17429:31;17477:46;17518:3;17507:9;17503:19;17495:6;17477:46;:::i;:::-;17469:54;17017:512;-1:-1:-1;;;;;;17017:512:1:o;17534:249::-;17603:6;17656:2;17644:9;17635:7;17631:23;17627:32;17624:52;;;17672:1;17669;17662:12;17624:52;17704:9;17698:16;17723:30;17747:5;17723:30;:::i
Swarm Source
ipfs://407e9bd71052d52e66e99b90cb7f4b38fa47c12607e5a96b1089b6fee6d83a19
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.