Overview
TokenID
549
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WiseSquirrels
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-03-26 */ // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.20; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be * reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: 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: 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 1; } /** * @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 == 0x2a55205a || // ERC 2981 rotyalty 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 virtual 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: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface 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); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 address zero. * * 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); } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the Merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates Merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** *@dev The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/finance/PaymentSplitter.sol // OpenZeppelin Contracts (last updated v4.8.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _totalReleased is the sum of all values in _released. // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow. _totalReleased += payment; unchecked { _released[account] += payment; } Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _erc20TotalReleased[token] is the sum of all values in _erc20Released[token]. // If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment" // cannot overflow. _erc20TotalReleased[token] += payment; unchecked { _erc20Released[token][account] += payment; } SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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/WiseSquirrels.sol pragma solidity ^0.8.22; interface IERC721Burnable is IERC721 { function burn(uint256 tokenId) external; } contract WiseSquirrels is Ownable, ERC721A, PaymentSplitter, IERC721Receiver { using Strings for uint; string public baseURI; IERC721Burnable NutsContract = IERC721Burnable (0xBf2998F2e85294f49E389bDd94570683fbffeE23); uint public MAX_SUPPLY = 4500; uint public mutationSalePrice = 0.10 ether; uint public wlSalePrice = 0.07 ether; uint public publicSalePrice = 0.10 ether; uint public discountAmount = 0.02 ether; bool public publicOn = false; bool public whitelistOn = false; bool public mutationOn = false; bytes32 public merkleRootWL; mapping(address => uint) public amountNFTsperWalletWL; mapping(address => bool) public freeNFTClaimed; uint private teamLength; uint96 royaltyFeesInBips; address royaltyReceiver; event Received(); function onERC721Received( address _operator, address _from, uint256 _tokenId, bytes calldata _data ) external override returns (bytes4) { _operator; _from; _tokenId; _data; emit Received(); return 0x150b7a02; } constructor(uint96 _royaltyFeesInBips, address[] memory _team, uint[] memory _teamShares, string memory _baseURI, address _initialOwner, address _fundsReceiver) ERC721A("Wise Squirrels", "WS") PaymentSplitter(_team, _teamShares) Ownable(_initialOwner) { baseURI = _baseURI; teamLength = _team.length; royaltyFeesInBips = _royaltyFeesInBips; royaltyReceiver = _fundsReceiver; } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function whitelistMint(address _account, uint _quantity, bytes32[] calldata _proof) external payable { uint quantityToMint = _quantity; require(whitelistOn, "Whitelist sale is not activated"); require(msg.sender == _account, "Mint with your own wallet."); require(isWhiteListed(_account, _proof), "Not whitelisted"); require(totalSupply() + _quantity <= MAX_SUPPLY, "Max supply exceeded"); require(msg.value >= wlSalePrice * _quantity, "Not enought funds"); if(amountNFTsperWalletWL[_account] + quantityToMint >= 3 && freeNFTClaimed[_account] == false){ quantityToMint += 1; require(totalSupply() + quantityToMint <= MAX_SUPPLY, "Max supply exceeded"); freeNFTClaimed[_account] = true; } amountNFTsperWalletWL[_account] += quantityToMint; _safeMint(_account, quantityToMint); } function publicSaleMint(address _account, uint _quantity) external payable { require(publicOn, "Public sale is not activated"); require(totalSupply() + _quantity <= MAX_SUPPLY, "Max supply exceeded"); require(msg.value >= publicSalePrice * _quantity, "Not enought funds"); _safeMint(_account, _quantity); } function mutationMint(address _account, uint[] calldata nfts) external payable { uint finalPrice; require(mutationOn, "Mutation sale is not activated"); require(totalSupply() + 1 <= MAX_SUPPLY, "Max supply exceeded"); require(nfts.length <= 5, "Only mutate one in a transaction."); for(uint i = 0; i < nfts.length; i++){ require(NutsContract.ownerOf(nfts[i]) == _account, "You don't own one of the NFTs."); } finalPrice = (mutationSalePrice - discountAmount * nfts.length); require(msg.value >= finalPrice, "Not enought funds"); for(uint i = 0; i < nfts.length; i++){ NutsContract.safeTransferFrom(_account, address(this), nfts[i]); } for(uint i = 0; i < nfts.length; i++){ NutsContract.burn(nfts[i]); } _safeMint(_account, 1); } function burn(uint256 tokenId) external { require( isApprovedOrOwner(msg.sender, tokenId), "Caller is not owner nor approved" ); _burn(tokenId); } function isApprovedOrOwner(address caller, uint256 tokenId) internal view returns (bool) { address owner = ownerOf(tokenId); return (caller == owner || getApproved(tokenId) == caller || isApprovedForAll(owner, caller)); } function gift(address _to, uint _quantity) external onlyOwner { require(totalSupply() + _quantity <= MAX_SUPPLY, "Reached max Supply"); _safeMint(_to, _quantity); } function lowerSupply (uint _MAX_SUPPLY) external onlyOwner{ require(_MAX_SUPPLY < MAX_SUPPLY, "Cannot increase supply!"); MAX_SUPPLY = _MAX_SUPPLY; } function setPublicSaleOn(bool _publicOn) external onlyOwner{ publicOn = _publicOn; } function setWhitelistSaleOn(bool _whitelistOn) external onlyOwner{ whitelistOn = _whitelistOn; } function setMutationSaleOn(bool _mutationOn) external onlyOwner{ mutationOn = _mutationOn; } function setWLSalePrice(uint _wlSalePrice) external onlyOwner { wlSalePrice = _wlSalePrice; } function setPublicSalePrice(uint _publicSalePrice) external onlyOwner { publicSalePrice = _publicSalePrice; } function setMutationSalePrice(uint _mutationSalePrice) external onlyOwner { mutationSalePrice = _mutationSalePrice; } function setBaseUri(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json")); } //Whitelist function setMerkleRootWL(bytes32 _merkleRootWL) external onlyOwner { merkleRootWL = _merkleRootWL; } function isWhiteListed(address _account, bytes32[] calldata _proof) internal view returns(bool) { return _verifyWL(leaf(_account), _proof); } function leaf(address _account) internal pure returns(bytes32) { return keccak256(abi.encodePacked(_account)); } function _verifyWL(bytes32 _leaf, bytes32[] memory _proof) internal view returns(bool) { return MerkleProof.verify(_proof, merkleRootWL, _leaf); } function royaltyInfo ( uint256 _tokenId, uint256 _salePrice ) external view returns ( address receiver, uint256 royaltyAmount ){ return (royaltyReceiver, calculateRoyalty(_salePrice)); } function calculateRoyalty(uint256 _salePrice) view public returns (uint256){ return(_salePrice / 10000) * royaltyFeesInBips; } function setRoyaltyInfo (address _receiver, uint96 _royaltyFeesInBips) public onlyOwner { royaltyReceiver = _receiver; royaltyFeesInBips = _royaltyFeesInBips; } function changeNutsContract(address _newNutsContract) external onlyOwner{ NutsContract = IERC721Burnable(_newNutsContract); } //ReleaseALL function releaseAll() external onlyOwner { for(uint i = 0 ; i < teamLength ; i++) { release(payable(payee(i))); } } receive() override external payable { revert('Only if you mint'); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"},{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_initialOwner","type":"address"},{"internalType":"address","name":"_fundsReceiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountNFTsperWalletWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"calculateRoyalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newNutsContract","type":"address"}],"name":"changeNutsContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"discountAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeNFTClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"gift","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":[{"internalType":"uint256","name":"_MAX_SUPPLY","type":"uint256"}],"name":"lowerSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRootWL","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256[]","name":"nfts","type":"uint256[]"}],"name":"mutationMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mutationOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mutationSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"bytes32","name":"_merkleRootWL","type":"bytes32"}],"name":"setMerkleRootWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mutationOn","type":"bool"}],"name":"setMutationSaleOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mutationSalePrice","type":"uint256"}],"name":"setMutationSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicOn","type":"bool"}],"name":"setPublicSaleOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSalePrice","type":"uint256"}],"name":"setPublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlSalePrice","type":"uint256"}],"name":"setWLSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelistOn","type":"bool"}],"name":"setWhitelistSaleOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052601180546001600160a01b03191673bf2998f2e85294f49e389bdd94570683fbffee2317905561119460125567016345785d8a0000601381905566f8b0a10e47000060145560155566470de4df8200006016556017805462ffffff191690553480156200006f575f80fd5b5060405162003a9c38038062003a9c8339810160408190526200009291620006d3565b84846040518060400160405280600e81526020016d5769736520537175697272656c7360901b81525060405180604001604052806002815260200161575360f01b815250855f6001600160a01b0316816001600160a01b0316036200011157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6200011c81620002a9565b5060036200012b83826200082b565b5060046200013a82826200082b565b506001805550508051825114620001af5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b606482015260840162000108565b5f825111620002015760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000108565b5f5b8251811015620002605762000257838281518110620002265762000226620008f7565b6020026020010151838381518110620002435762000243620008f7565b6020026020010151620002f860201b60201c565b60010162000203565b506010915062000273905084826200082b565b509351601b555050506001600160a01b03166c01000000000000000000000000026001600160601b0390911617601c5562000931565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620003655760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000108565b5f8111620003b65760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000108565b6001600160a01b0382165f908152600b602052604090205415620004315760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000108565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091555f908152600b602052604090208190556009546200049a9082906200090b565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715620005225762000522620004e3565b604052919050565b5f6001600160401b03821115620005455762000545620004e3565b5060051b60200190565b80516001600160a01b038116811462000566575f80fd5b919050565b5f82601f8301126200057b575f80fd5b81516020620005946200058e836200052a565b620004f7565b8083825260208201915060208460051b870101935086841115620005b6575f80fd5b602086015b84811015620005dd57620005cf816200054f565b8352918301918301620005bb565b509695505050505050565b5f82601f830112620005f8575f80fd5b815160206200060b6200058e836200052a565b8083825260208201915060208460051b8701019350868411156200062d575f80fd5b602086015b84811015620005dd578051835291830191830162000632565b5f82601f8301126200065b575f80fd5b81516001600160401b03811115620006775762000677620004e3565b60206200068d601f8301601f19168201620004f7565b8281528582848701011115620006a1575f80fd5b5f5b83811015620006c0578581018301518282018401528201620006a3565b505f928101909101919091529392505050565b5f805f805f8060c08789031215620006e9575f80fd5b86516001600160601b038116811462000700575f80fd5b60208801519096506001600160401b03808211156200071d575f80fd5b6200072b8a838b016200056b565b9650604089015191508082111562000741575f80fd5b6200074f8a838b01620005e8565b9550606089015191508082111562000765575f80fd5b506200077489828a016200064b565b93505062000785608088016200054f565b91506200079560a088016200054f565b90509295509295509295565b600181811c90821680620007b657607f821691505b602082108103620007d557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200082657805f5260205f20601f840160051c81016020851015620008025750805b601f840160051c820191505b8181101562000823575f81556001016200080e565b50505b505050565b81516001600160401b03811115620008475762000847620004e3565b6200085f81620008588454620007a1565b84620007db565b602080601f83116001811462000895575f84156200087d5750858301515b5f19600386901b1c1916600185901b178555620008ef565b5f85815260208120601f198616915b82811015620008c557888601518255948401946001909101908401620008a4565b5085821015620008e357878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52603260045260245ffd5b808201808211156200092b57634e487b7160e01b5f52601160045260245ffd5b92915050565b61315d806200093f5f395ff3fe60806040526004361061038a575f3560e01c8063791a2519116101d3578063ad3e31b7116100fd578063cbce4c971161009d578063d79779b21161006d578063d79779b214610ad0578063e33b7de314610b04578063e985e9c514610b18578063f2fde38b14610b5f575f80fd5b8063cbce4c9714610a49578063ce7c2ac214610a68578063d3636b3f14610a9c578063d6492d8114610abb575f80fd5b8063c45ac050116100d8578063c45ac050146109cd578063c50de84e146109ec578063c715381614610a0b578063c87b56dd14610a2a575f80fd5b8063ad3e31b714610970578063b88d4fde1461098f578063b9bdc7fb146109ae575f80fd5b80639a59eaec11610173578063a2e6961311610143578063a2e6961314610900578063a3f8eace1461091f578063a49511ff1461093e578063ac5ae11b1461095d575f80fd5b80639a59eaec146108985780639b6860c8146108ad578063a0bcfc7f146108c2578063a22cb465146108e1575f80fd5b80638da5cb5b116101ae5780638da5cb5b14610809578063952aeab81461082557806395d89b41146108505780639852595c14610864575f80fd5b8063791a2519146107b257806381c30f58146107d15780638b83209b146107ea575f80fd5b806342842e0e116102b45780635fc72469116102545780636f266411116102245780636f2664111461075757806370a082311461076a578063715018a614610789578063734c66bd1461079d575f80fd5b80635fc72469146106e15780636352211e146106f65780636b575d90146107155780636c0360eb14610743575f80fd5b806348b750441161028f57806348b750441461067d5780634917aa3f1461069c5780634b11faaf146106ba5780635be7fde8146106cd575f80fd5b806342842e0e1461062057806342966c681461063f57806342f0d3131461065e575f80fd5b806318160ddd1161032a5780632a55205a116102fa5780632a55205a1461057557806332cb6b0c146105b35780633a98ef39146105c8578063406072a9146105dc575f80fd5b806318160ddd146104f657806319165587146105185780631aad61a01461053757806323b872dd14610556575f80fd5b806308059439116103655780630805943914610449578063081812fc14610468578063095ea7b31461049f578063150b7a02146104be575f80fd5b806301ffc9a7146103d357806302fa7c471461040757806306fdde0314610428575f80fd5b366103cf5760405162461bcd60e51b815260206004820152601060248201526f13db9b1e481a59881e5bdd481b5a5b9d60821b60448201526064015b60405180910390fd5b5f80fd5b3480156103de575f80fd5b506103f26103ed366004612868565b610b7e565b60405190151581526020015b60405180910390f35b348015610412575f80fd5b50610426610421366004612897565b610bea565b005b348015610433575f80fd5b5061043c610c21565b6040516103fe9190612926565b348015610454575f80fd5b50610426610463366004612938565b610cb1565b348015610473575f80fd5b50610487610482366004612938565b610cbe565b6040516001600160a01b0390911681526020016103fe565b3480156104aa575f80fd5b506104266104b936600461294f565b610d00565b3480156104c9575f80fd5b506104dd6104d8366004612979565b610d9e565b6040516001600160e01b031990911681526020016103fe565b348015610501575f80fd5b5061050a610dda565b6040519081526020016103fe565b348015610523575f80fd5b50610426610532366004612a10565b610de7565b348015610542575f80fd5b50610426610551366004612938565b610ec9565b348015610561575f80fd5b50610426610570366004612a2b565b610ed6565b348015610580575f80fd5b5061059461058f366004612a69565b611071565b604080516001600160a01b0390931683526020830191909152016103fe565b3480156105be575f80fd5b5061050a60125481565b3480156105d3575f80fd5b5060095461050a565b3480156105e7575f80fd5b5061050a6105f6366004612a89565b6001600160a01b039182165f908152600f6020908152604080832093909416825291909152205490565b34801561062b575f80fd5b5061042661063a366004612a2b565b61109d565b34801561064a575f80fd5b50610426610659366004612938565b6110bc565b348015610669575f80fd5b50610426610678366004612ac2565b61111e565b348015610688575f80fd5b50610426610697366004612a89565b611139565b3480156106a7575f80fd5b506017546103f290610100900460ff1681565b6104266106c8366004612b1e565b611245565b3480156106d8575f80fd5b50610426611493565b3480156106ec575f80fd5b5061050a60135481565b348015610701575f80fd5b50610487610710366004612938565b6114bb565b348015610720575f80fd5b506103f261072f366004612a10565b601a6020525f908152604090205460ff1681565b34801561074e575f80fd5b5061043c6114c5565b610426610765366004612b76565b611551565b348015610775575f80fd5b5061050a610784366004612a10565b6118ae565b348015610794575f80fd5b506104266118fb565b3480156107a8575f80fd5b5061050a60145481565b3480156107bd575f80fd5b506104266107cc366004612938565b61190e565b3480156107dc575f80fd5b506017546103f29060ff1681565b3480156107f5575f80fd5b50610487610804366004612938565b61191b565b348015610814575f80fd5b505f546001600160a01b0316610487565b348015610830575f80fd5b5061050a61083f366004612a10565b60196020525f908152604090205481565b34801561085b575f80fd5b5061043c611949565b34801561086f575f80fd5b5061050a61087e366004612a10565b6001600160a01b03165f908152600c602052604090205490565b3480156108a3575f80fd5b5061050a60165481565b3480156108b8575f80fd5b5061050a60155481565b3480156108cd575f80fd5b506104266108dc366004612c4e565b611958565b3480156108ec575f80fd5b506104266108fb366004612c93565b611970565b34801561090b575f80fd5b5061050a61091a366004612938565b611a04565b34801561092a575f80fd5b5061050a610939366004612a10565b611a28565b348015610949575f80fd5b50610426610958366004612a10565b611a6e565b61042661096b36600461294f565b611a98565b34801561097b575f80fd5b5061042661098a366004612938565b611b55565b34801561099a575f80fd5b506104266109a9366004612cbf565b611b62565b3480156109b9575f80fd5b506104266109c8366004612ac2565b611ba6565b3480156109d8575f80fd5b5061050a6109e7366004612a89565b611bca565b3480156109f7575f80fd5b506017546103f29062010000900460ff1681565b348015610a16575f80fd5b50610426610a25366004612938565b611c91565b348015610a35575f80fd5b5061043c610a44366004612938565b611cef565b348015610a54575f80fd5b50610426610a6336600461294f565b611d78565b348015610a73575f80fd5b5061050a610a82366004612a10565b6001600160a01b03165f908152600b602052604090205490565b348015610aa7575f80fd5b50610426610ab6366004612ac2565b611dd9565b348015610ac6575f80fd5b5061050a60185481565b348015610adb575f80fd5b5061050a610aea366004612a10565b6001600160a01b03165f908152600e602052604090205490565b348015610b0f575f80fd5b50600a5461050a565b348015610b23575f80fd5b506103f2610b32366004612a89565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b348015610b6a575f80fd5b50610426610b79366004612a10565b611dfb565b5f6301ffc9a760e01b6001600160e01b031983161480610bae57506380ac58cd60e01b6001600160e01b03198316145b80610bc9575063152a902d60e11b6001600160e01b03198316145b80610be45750635b5e139f60e01b6001600160e01b03198316145b92915050565b610bf2611e35565b6001600160601b03166001600160a01b03909116600160601b026bffffffffffffffffffffffff191617601c55565b606060038054610c3090612d3a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5c90612d3a565b8015610ca75780601f10610c7e57610100808354040283529160200191610ca7565b820191905f5260205f20905b815481529060010190602001808311610c8a57829003601f168201915b5050505050905090565b610cb9611e35565b601455565b5f610cc882611e61565b610ce5576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f610d0a826114bb565b9050336001600160a01b03821614610d4357610d268133610b32565b610d43576040516367d9dca160e11b815260040160405180910390fd5b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6040515f907f544c765b33ca411cce832250371569244f765a17fcd217832be093f0fd5fa45b908290a150630a85bd0160e11b95945050505050565b600254600154035f190190565b6001600160a01b0381165f908152600b6020526040902054610e1b5760405162461bcd60e51b81526004016103c690612d72565b5f610e2582611a28565b9050805f03610e465760405162461bcd60e51b81526004016103c690612db8565b80600a5f828254610e579190612e17565b90915550506001600160a01b0382165f908152600c60205260409020805482019055610e838282611e94565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b610ed1611e35565b601355565b5f610ee082611f27565b9050836001600160a01b0316816001600160a01b031614610f135760405162a1148160e81b815260040160405180910390fd5b5f8281526007602052604090208054610f3e8187335b6001600160a01b039081169116811491141790565b610f6957610f4c8633610b32565b610f6957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f9057604051633a954ecd60e21b815260040160405180910390fd5b8015610f9a575f82555b6001600160a01b038681165f9081526006602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260056020526040812091909155600160e11b8416900361102757600184015f818152600560205260408120549003611025576001548114611025575f8181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b601c545f908190600160601b90046001600160a01b031661109184611a04565b915091505b9250929050565b6110b783838360405180602001604052805f815250611b62565b505050565b6110c63382611f91565b6111125760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656460448201526064016103c6565b61111b81611fe7565b50565b611126611e35565b6017805460ff1916911515919091179055565b6001600160a01b0381165f908152600b602052604090205461116d5760405162461bcd60e51b81526004016103c690612d72565b5f6111788383611bca565b9050805f036111995760405162461bcd60e51b81526004016103c690612db8565b6001600160a01b0383165f908152600e6020526040812080548392906111c0908490612e17565b90915550506001600160a01b038084165f908152600f602090815260408083209386168352929052208054820190556111fa838383611ff1565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6017548390610100900460ff1661129e5760405162461bcd60e51b815260206004820152601f60248201527f57686974656c6973742073616c65206973206e6f74206163746976617465640060448201526064016103c6565b336001600160a01b038616146112f65760405162461bcd60e51b815260206004820152601a60248201527f4d696e74207769746820796f7572206f776e2077616c6c65742e00000000000060448201526064016103c6565b611301858484612043565b61133f5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016103c6565b6012548461134b610dda565b6113559190612e17565b11156113735760405162461bcd60e51b81526004016103c690612e2a565b836014546113819190612e57565b3410156113a05760405162461bcd60e51b81526004016103c690612e6e565b6001600160a01b0385165f908152601960205260409020546003906113c6908390612e17565b101580156113ec57506001600160a01b0385165f908152601a602052604090205460ff16155b15611455576113fc600182612e17565b90506012548161140a610dda565b6114149190612e17565b11156114325760405162461bcd60e51b81526004016103c690612e2a565b6001600160a01b0385165f908152601a60205260409020805460ff191660011790555b6001600160a01b0385165f908152601960205260408120805483929061147c908490612e17565b9091555061148c905085826120c1565b5050505050565b61149b611e35565b5f5b601b5481101561111b576114b36105328261191b565b60010161149d565b5f610be482611f27565b601080546114d290612d3a565b80601f01602080910402602001604051908101604052809291908181526020018280546114fe90612d3a565b80156115495780601f1061152057610100808354040283529160200191611549565b820191905f5260205f20905b81548152906001019060200180831161152c57829003601f168201915b505050505081565b6017545f9062010000900460ff166115ab5760405162461bcd60e51b815260206004820152601e60248201527f4d75746174696f6e2073616c65206973206e6f7420616374697661746564000060448201526064016103c6565b6012546115b6610dda565b6115c1906001612e17565b11156115df5760405162461bcd60e51b81526004016103c690612e2a565b600582111561163a5760405162461bcd60e51b815260206004820152602160248201527f4f6e6c79206d7574617465206f6e6520696e2061207472616e73616374696f6e6044820152601760f91b60648201526084016103c6565b5f5b8281101561172d576011546001600160a01b038087169116636352211e86868581811061166b5761166b612e99565b905060200201356040518263ffffffff1660e01b815260040161169091815260200190565b602060405180830381865afa1580156116ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116cf9190612ead565b6001600160a01b0316146117255760405162461bcd60e51b815260206004820152601e60248201527f596f7520646f6e2774206f776e206f6e65206f6620746865204e4654732e000060448201526064016103c6565b60010161163c565b5060165461173c908390612e57565b6013546117499190612ec8565b90508034101561176b5760405162461bcd60e51b81526004016103c690612e6e565b5f5b82811015611810576011546001600160a01b03166342842e0e863087878681811061179a5761179a612e99565b6040516001600160e01b031960e088901b1681526001600160a01b039586166004820152949093166024850152506020909102013560448201526064015f604051808303815f87803b1580156117ee575f80fd5b505af1158015611800573d5f803e3d5ffd5b50506001909201915061176d9050565b505f5b8281101561189c576011546001600160a01b03166342966c6885858481811061183e5761183e612e99565b905060200201356040518263ffffffff1660e01b815260040161186391815260200190565b5f604051808303815f87803b15801561187a575f80fd5b505af115801561188c573d5f803e3d5ffd5b5050600190920191506118139050565b506118a88460016120c1565b50505050565b5f6001600160a01b0382166118d6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526006602052604090205467ffffffffffffffff1690565b611903611e35565b61190c5f6120da565b565b611916611e35565b601555565b5f600d828154811061192f5761192f612e99565b5f918252602090912001546001600160a01b031692915050565b606060048054610c3090612d3a565b611960611e35565b601061196c8282612f1f565b5050565b336001600160a01b038316036119995760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b601c545f906001600160601b0316611a1e61271084612fdb565b610be49190612e57565b5f80611a33600a5490565b611a3d9047612e17565b9050611a678382611a62866001600160a01b03165f908152600c602052604090205490565b612129565b9392505050565b611a76611e35565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b60175460ff16611aea5760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f74206163746976617465640000000060448201526064016103c6565b60125481611af6610dda565b611b009190612e17565b1115611b1e5760405162461bcd60e51b81526004016103c690612e2a565b80601554611b2c9190612e57565b341015611b4b5760405162461bcd60e51b81526004016103c690612e6e565b61196c82826120c1565b611b5d611e35565b601855565b611b6d848484610ed6565b6001600160a01b0383163b156118a857611b8984848484612166565b6118a8576040516368d2bf6b60e11b815260040160405180910390fd5b611bae611e35565b60178054911515620100000262ff000019909216919091179055565b6001600160a01b0382165f908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611c26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4a9190612ffa565b611c549190612e17565b6001600160a01b038086165f908152600f6020908152604080832093881683529290522054909150611c899084908390612129565b949350505050565b611c99611e35565b6012548110611cea5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420696e63726561736520737570706c792100000000000000000060448201526064016103c6565b601255565b6060611cfa82611e61565b611d465760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016103c6565b6010611d518361224d565b604051602001611d62929190613011565b6040516020818303038152906040529050919050565b611d80611e35565b60125481611d8c610dda565b611d969190612e17565b1115611b4b5760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820537570706c7960701b60448201526064016103c6565b611de1611e35565b601780549115156101000261ff0019909216919091179055565b611e03611e35565b6001600160a01b038116611e2c57604051631e4fbdf760e01b81525f60048201526024016103c6565b61111b816120da565b5f546001600160a01b0316331461190c5760405163118cdaa760e01b81523360048201526024016103c6565b5f81600111158015611e74575060015482105b8015610be45750505f90815260056020526040902054600160e01b161590565b80471015611eb75760405163cd78605960e01b81523060048201526024016103c6565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611f00576040519150601f19603f3d011682016040523d82523d5f602084013e611f05565b606091505b50509050806110b757604051630a12f52160e11b815260040160405180910390fd5b5f8180600111611f7857600154811015611f78575f8181526005602052604081205490600160e01b82169003611f76575b805f03611a6757505f19015f81815260056020526040902054611f58565b505b604051636f96cda160e11b815260040160405180910390fd5b5f80611f9c836114bb565b9050806001600160a01b0316846001600160a01b03161480611fd75750836001600160a01b0316611fcc84610cbe565b6001600160a01b0316145b80611c895750611c898185610b32565b61111b815f6122dd565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526110b790849061241f565b5f611c89612089856040516bffffffffffffffffffffffff19606083901b1660208201525f90603401604051602081830303815290604052805190602001209050919050565b8484808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525061248092505050565b61196c828260405180602001604052805f81525061248e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384165f908152600b6020526040812054909183916121529086612e57565b61215c9190612fdb565b611c899190612ec8565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061219a9033908990889088906004016130a4565b6020604051808303815f875af19250505080156121d4575060408051601f3d908101601f191682019092526121d1918101906130d6565b60015b612230573d808015612201576040519150601f19603f3d011682016040523d82523d5f602084013e612206565b606091505b5080515f03612228576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60605f612259836124f2565b60010190505f8167ffffffffffffffff81111561227857612278612bc7565b6040519080825280601f01601f1916602001820160405280156122a2576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846122ac57509392505050565b5f6122e783611f27565b9050805f80612303865f90815260076020526040902080549091565b91509150841561234357612318818433610f29565b612343576123268333610b32565b61234357604051632ce44b5f60e11b815260040160405180910390fd5b801561234d575f82555b6001600160a01b0383165f81815260066020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260056020526040812091909155600160e11b851690036123d757600186015f8181526005602052604081205490036123d55760015481146123d5575f8181526005602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060028054600101905550505050565b5f6124336001600160a01b038416836125c9565b905080515f1415801561245757508080602001905181019061245591906130f1565b155b156110b757604051635274afe760e01b81526001600160a01b03841660048201526024016103c6565b5f611a6782601854856125d6565b61249883836125eb565b6001600160a01b0383163b156110b7576001548281035b6124c15f868380600101945086612166565b6124de576040516368d2bf6b60e11b815260040160405180910390fd5b8181106124af57816001541461148c575f80fd5b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125305772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061255c576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061257a57662386f26fc10000830492506010015b6305f5e1008310612592576305f5e100830492506008015b61271083106125a657612710830492506004015b606483106125b8576064830492506002015b600a8310610be45760010192915050565b6060611a6783835f6126c7565b5f826125e28584612760565b14949350505050565b6001546001600160a01b03831661261457604051622e076360e81b815260040160405180910390fd5b815f036126345760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260056020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061267c5760015550505050565b6060814710156126ec5760405163cd78605960e01b81523060048201526024016103c6565b5f80856001600160a01b03168486604051612707919061310c565b5f6040518083038185875af1925050503d805f8114612741576040519150601f19603f3d011682016040523d82523d5f602084013e612746565b606091505b50915091506127568683836127a2565b9695505050505050565b5f81815b845181101561279a576127908286838151811061278357612783612e99565b60200260200101516127fe565b9150600101612764565b509392505050565b6060826127b7576127b28261282a565b611a67565b81511580156127ce57506001600160a01b0384163b155b156127f757604051639996b31560e01b81526001600160a01b03851660048201526024016103c6565b5080611a67565b5f818310612818575f828152602084905260409020611a67565b5f838152602083905260409020611a67565b80511561283a5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160e01b03198116811461111b575f80fd5b5f60208284031215612878575f80fd5b8135611a6781612853565b6001600160a01b038116811461111b575f80fd5b5f80604083850312156128a8575f80fd5b82356128b381612883565b915060208301356001600160601b03811681146128ce575f80fd5b809150509250929050565b5f5b838110156128f35781810151838201526020016128db565b50505f910152565b5f81518084526129128160208601602086016128d9565b601f01601f19169290920160200192915050565b602081525f611a6760208301846128fb565b5f60208284031215612948575f80fd5b5035919050565b5f8060408385031215612960575f80fd5b823561296b81612883565b946020939093013593505050565b5f805f805f6080868803121561298d575f80fd5b853561299881612883565b945060208601356129a881612883565b935060408601359250606086013567ffffffffffffffff808211156129cb575f80fd5b818801915088601f8301126129de575f80fd5b8135818111156129ec575f80fd5b8960208285010111156129fd575f80fd5b9699959850939650602001949392505050565b5f60208284031215612a20575f80fd5b8135611a6781612883565b5f805f60608486031215612a3d575f80fd5b8335612a4881612883565b92506020840135612a5881612883565b929592945050506040919091013590565b5f8060408385031215612a7a575f80fd5b50508035926020909101359150565b5f8060408385031215612a9a575f80fd5b8235612aa581612883565b915060208301356128ce81612883565b801515811461111b575f80fd5b5f60208284031215612ad2575f80fd5b8135611a6781612ab5565b5f8083601f840112612aed575f80fd5b50813567ffffffffffffffff811115612b04575f80fd5b6020830191508360208260051b8501011115611096575f80fd5b5f805f8060608587031215612b31575f80fd5b8435612b3c81612883565b935060208501359250604085013567ffffffffffffffff811115612b5e575f80fd5b612b6a87828801612add565b95989497509550505050565b5f805f60408486031215612b88575f80fd5b8335612b9381612883565b9250602084013567ffffffffffffffff811115612bae575f80fd5b612bba86828701612add565b9497909650939450505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115612bf557612bf5612bc7565b604051601f8501601f19908116603f01168101908282118183101715612c1d57612c1d612bc7565b81604052809350858152868686011115612c35575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612c5e575f80fd5b813567ffffffffffffffff811115612c74575f80fd5b8201601f81018413612c84575f80fd5b611c8984823560208401612bdb565b5f8060408385031215612ca4575f80fd5b8235612caf81612883565b915060208301356128ce81612ab5565b5f805f8060808587031215612cd2575f80fd5b8435612cdd81612883565b93506020850135612ced81612883565b925060408501359150606085013567ffffffffffffffff811115612d0f575f80fd5b8501601f81018713612d1f575f80fd5b612d2e87823560208401612bdb565b91505092959194509250565b600181811c90821680612d4e57607f821691505b602082108103612d6c57634e487b7160e01b5f52602260045260245ffd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610be457610be4612e03565b60208082526013908201527213585e081cdd5c1c1b1e48195e18d959591959606a1b604082015260600190565b8082028115828204841417610be457610be4612e03565b6020808252601190820152704e6f7420656e6f756768742066756e647360781b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612ebd575f80fd5b8151611a6781612883565b81810381811115610be457610be4612e03565b601f8211156110b757805f5260205f20601f840160051c81016020851015612f005750805b601f840160051c820191505b8181101561148c575f8155600101612f0c565b815167ffffffffffffffff811115612f3957612f39612bc7565b612f4d81612f478454612d3a565b84612edb565b602080601f831160018114612f80575f8415612f695750858301515b5f19600386901b1c1916600185901b178555611069565b5f85815260208120601f198616915b82811015612fae57888601518255948401946001909101908401612f8f565b5085821015612fcb57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f82612ff557634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561300a575f80fd5b5051919050565b5f80845461301e81612d3a565b60018281168015613036576001811461304b57613077565b60ff1984168752821515830287019450613077565b885f526020805f205f5b8581101561306e5781548a820152908401908201613055565b50505082870194505b50505050835161308b8183602088016128d9565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612756908301846128fb565b5f602082840312156130e6575f80fd5b8151611a6781612853565b5f60208284031215613101575f80fd5b8151611a6781612ab5565b5f825161311d8184602087016128d9565b919091019291505056fea26469706673582212209998ce91533ebbed63eae690723f6df78efdaa3a139419403708870029376b2464736f6c6343000816003300000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000006f03a1baf806659b31fc58b51a5b9f58455f17710000000000000000000000006f03a1baf806659b31fc58b51a5b9f58455f177100000000000000000000000000000000000000000000000000000000000000030000000000000000000000006f03a1baf806659b31fc58b51a5b9f58455f1771000000000000000000000000003a10c045807bd575b5fa8f785c7b0edd8c8381000000000000000000000000ba1c609070241c47ce8d89f899e96f8822ab55f500000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656967376377646970626b366179706e36746f67753370786c66666f37707032786e78347a703478356235613361346f66776176696d2f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061038a575f3560e01c8063791a2519116101d3578063ad3e31b7116100fd578063cbce4c971161009d578063d79779b21161006d578063d79779b214610ad0578063e33b7de314610b04578063e985e9c514610b18578063f2fde38b14610b5f575f80fd5b8063cbce4c9714610a49578063ce7c2ac214610a68578063d3636b3f14610a9c578063d6492d8114610abb575f80fd5b8063c45ac050116100d8578063c45ac050146109cd578063c50de84e146109ec578063c715381614610a0b578063c87b56dd14610a2a575f80fd5b8063ad3e31b714610970578063b88d4fde1461098f578063b9bdc7fb146109ae575f80fd5b80639a59eaec11610173578063a2e6961311610143578063a2e6961314610900578063a3f8eace1461091f578063a49511ff1461093e578063ac5ae11b1461095d575f80fd5b80639a59eaec146108985780639b6860c8146108ad578063a0bcfc7f146108c2578063a22cb465146108e1575f80fd5b80638da5cb5b116101ae5780638da5cb5b14610809578063952aeab81461082557806395d89b41146108505780639852595c14610864575f80fd5b8063791a2519146107b257806381c30f58146107d15780638b83209b146107ea575f80fd5b806342842e0e116102b45780635fc72469116102545780636f266411116102245780636f2664111461075757806370a082311461076a578063715018a614610789578063734c66bd1461079d575f80fd5b80635fc72469146106e15780636352211e146106f65780636b575d90146107155780636c0360eb14610743575f80fd5b806348b750441161028f57806348b750441461067d5780634917aa3f1461069c5780634b11faaf146106ba5780635be7fde8146106cd575f80fd5b806342842e0e1461062057806342966c681461063f57806342f0d3131461065e575f80fd5b806318160ddd1161032a5780632a55205a116102fa5780632a55205a1461057557806332cb6b0c146105b35780633a98ef39146105c8578063406072a9146105dc575f80fd5b806318160ddd146104f657806319165587146105185780631aad61a01461053757806323b872dd14610556575f80fd5b806308059439116103655780630805943914610449578063081812fc14610468578063095ea7b31461049f578063150b7a02146104be575f80fd5b806301ffc9a7146103d357806302fa7c471461040757806306fdde0314610428575f80fd5b366103cf5760405162461bcd60e51b815260206004820152601060248201526f13db9b1e481a59881e5bdd481b5a5b9d60821b60448201526064015b60405180910390fd5b5f80fd5b3480156103de575f80fd5b506103f26103ed366004612868565b610b7e565b60405190151581526020015b60405180910390f35b348015610412575f80fd5b50610426610421366004612897565b610bea565b005b348015610433575f80fd5b5061043c610c21565b6040516103fe9190612926565b348015610454575f80fd5b50610426610463366004612938565b610cb1565b348015610473575f80fd5b50610487610482366004612938565b610cbe565b6040516001600160a01b0390911681526020016103fe565b3480156104aa575f80fd5b506104266104b936600461294f565b610d00565b3480156104c9575f80fd5b506104dd6104d8366004612979565b610d9e565b6040516001600160e01b031990911681526020016103fe565b348015610501575f80fd5b5061050a610dda565b6040519081526020016103fe565b348015610523575f80fd5b50610426610532366004612a10565b610de7565b348015610542575f80fd5b50610426610551366004612938565b610ec9565b348015610561575f80fd5b50610426610570366004612a2b565b610ed6565b348015610580575f80fd5b5061059461058f366004612a69565b611071565b604080516001600160a01b0390931683526020830191909152016103fe565b3480156105be575f80fd5b5061050a60125481565b3480156105d3575f80fd5b5060095461050a565b3480156105e7575f80fd5b5061050a6105f6366004612a89565b6001600160a01b039182165f908152600f6020908152604080832093909416825291909152205490565b34801561062b575f80fd5b5061042661063a366004612a2b565b61109d565b34801561064a575f80fd5b50610426610659366004612938565b6110bc565b348015610669575f80fd5b50610426610678366004612ac2565b61111e565b348015610688575f80fd5b50610426610697366004612a89565b611139565b3480156106a7575f80fd5b506017546103f290610100900460ff1681565b6104266106c8366004612b1e565b611245565b3480156106d8575f80fd5b50610426611493565b3480156106ec575f80fd5b5061050a60135481565b348015610701575f80fd5b50610487610710366004612938565b6114bb565b348015610720575f80fd5b506103f261072f366004612a10565b601a6020525f908152604090205460ff1681565b34801561074e575f80fd5b5061043c6114c5565b610426610765366004612b76565b611551565b348015610775575f80fd5b5061050a610784366004612a10565b6118ae565b348015610794575f80fd5b506104266118fb565b3480156107a8575f80fd5b5061050a60145481565b3480156107bd575f80fd5b506104266107cc366004612938565b61190e565b3480156107dc575f80fd5b506017546103f29060ff1681565b3480156107f5575f80fd5b50610487610804366004612938565b61191b565b348015610814575f80fd5b505f546001600160a01b0316610487565b348015610830575f80fd5b5061050a61083f366004612a10565b60196020525f908152604090205481565b34801561085b575f80fd5b5061043c611949565b34801561086f575f80fd5b5061050a61087e366004612a10565b6001600160a01b03165f908152600c602052604090205490565b3480156108a3575f80fd5b5061050a60165481565b3480156108b8575f80fd5b5061050a60155481565b3480156108cd575f80fd5b506104266108dc366004612c4e565b611958565b3480156108ec575f80fd5b506104266108fb366004612c93565b611970565b34801561090b575f80fd5b5061050a61091a366004612938565b611a04565b34801561092a575f80fd5b5061050a610939366004612a10565b611a28565b348015610949575f80fd5b50610426610958366004612a10565b611a6e565b61042661096b36600461294f565b611a98565b34801561097b575f80fd5b5061042661098a366004612938565b611b55565b34801561099a575f80fd5b506104266109a9366004612cbf565b611b62565b3480156109b9575f80fd5b506104266109c8366004612ac2565b611ba6565b3480156109d8575f80fd5b5061050a6109e7366004612a89565b611bca565b3480156109f7575f80fd5b506017546103f29062010000900460ff1681565b348015610a16575f80fd5b50610426610a25366004612938565b611c91565b348015610a35575f80fd5b5061043c610a44366004612938565b611cef565b348015610a54575f80fd5b50610426610a6336600461294f565b611d78565b348015610a73575f80fd5b5061050a610a82366004612a10565b6001600160a01b03165f908152600b602052604090205490565b348015610aa7575f80fd5b50610426610ab6366004612ac2565b611dd9565b348015610ac6575f80fd5b5061050a60185481565b348015610adb575f80fd5b5061050a610aea366004612a10565b6001600160a01b03165f908152600e602052604090205490565b348015610b0f575f80fd5b50600a5461050a565b348015610b23575f80fd5b506103f2610b32366004612a89565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b348015610b6a575f80fd5b50610426610b79366004612a10565b611dfb565b5f6301ffc9a760e01b6001600160e01b031983161480610bae57506380ac58cd60e01b6001600160e01b03198316145b80610bc9575063152a902d60e11b6001600160e01b03198316145b80610be45750635b5e139f60e01b6001600160e01b03198316145b92915050565b610bf2611e35565b6001600160601b03166001600160a01b03909116600160601b026bffffffffffffffffffffffff191617601c55565b606060038054610c3090612d3a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5c90612d3a565b8015610ca75780601f10610c7e57610100808354040283529160200191610ca7565b820191905f5260205f20905b815481529060010190602001808311610c8a57829003601f168201915b5050505050905090565b610cb9611e35565b601455565b5f610cc882611e61565b610ce5576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f610d0a826114bb565b9050336001600160a01b03821614610d4357610d268133610b32565b610d43576040516367d9dca160e11b815260040160405180910390fd5b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6040515f907f544c765b33ca411cce832250371569244f765a17fcd217832be093f0fd5fa45b908290a150630a85bd0160e11b95945050505050565b600254600154035f190190565b6001600160a01b0381165f908152600b6020526040902054610e1b5760405162461bcd60e51b81526004016103c690612d72565b5f610e2582611a28565b9050805f03610e465760405162461bcd60e51b81526004016103c690612db8565b80600a5f828254610e579190612e17565b90915550506001600160a01b0382165f908152600c60205260409020805482019055610e838282611e94565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b610ed1611e35565b601355565b5f610ee082611f27565b9050836001600160a01b0316816001600160a01b031614610f135760405162a1148160e81b815260040160405180910390fd5b5f8281526007602052604090208054610f3e8187335b6001600160a01b039081169116811491141790565b610f6957610f4c8633610b32565b610f6957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f9057604051633a954ecd60e21b815260040160405180910390fd5b8015610f9a575f82555b6001600160a01b038681165f9081526006602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260056020526040812091909155600160e11b8416900361102757600184015f818152600560205260408120549003611025576001548114611025575f8181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b601c545f908190600160601b90046001600160a01b031661109184611a04565b915091505b9250929050565b6110b783838360405180602001604052805f815250611b62565b505050565b6110c63382611f91565b6111125760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656460448201526064016103c6565b61111b81611fe7565b50565b611126611e35565b6017805460ff1916911515919091179055565b6001600160a01b0381165f908152600b602052604090205461116d5760405162461bcd60e51b81526004016103c690612d72565b5f6111788383611bca565b9050805f036111995760405162461bcd60e51b81526004016103c690612db8565b6001600160a01b0383165f908152600e6020526040812080548392906111c0908490612e17565b90915550506001600160a01b038084165f908152600f602090815260408083209386168352929052208054820190556111fa838383611ff1565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6017548390610100900460ff1661129e5760405162461bcd60e51b815260206004820152601f60248201527f57686974656c6973742073616c65206973206e6f74206163746976617465640060448201526064016103c6565b336001600160a01b038616146112f65760405162461bcd60e51b815260206004820152601a60248201527f4d696e74207769746820796f7572206f776e2077616c6c65742e00000000000060448201526064016103c6565b611301858484612043565b61133f5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016103c6565b6012548461134b610dda565b6113559190612e17565b11156113735760405162461bcd60e51b81526004016103c690612e2a565b836014546113819190612e57565b3410156113a05760405162461bcd60e51b81526004016103c690612e6e565b6001600160a01b0385165f908152601960205260409020546003906113c6908390612e17565b101580156113ec57506001600160a01b0385165f908152601a602052604090205460ff16155b15611455576113fc600182612e17565b90506012548161140a610dda565b6114149190612e17565b11156114325760405162461bcd60e51b81526004016103c690612e2a565b6001600160a01b0385165f908152601a60205260409020805460ff191660011790555b6001600160a01b0385165f908152601960205260408120805483929061147c908490612e17565b9091555061148c905085826120c1565b5050505050565b61149b611e35565b5f5b601b5481101561111b576114b36105328261191b565b60010161149d565b5f610be482611f27565b601080546114d290612d3a565b80601f01602080910402602001604051908101604052809291908181526020018280546114fe90612d3a565b80156115495780601f1061152057610100808354040283529160200191611549565b820191905f5260205f20905b81548152906001019060200180831161152c57829003601f168201915b505050505081565b6017545f9062010000900460ff166115ab5760405162461bcd60e51b815260206004820152601e60248201527f4d75746174696f6e2073616c65206973206e6f7420616374697661746564000060448201526064016103c6565b6012546115b6610dda565b6115c1906001612e17565b11156115df5760405162461bcd60e51b81526004016103c690612e2a565b600582111561163a5760405162461bcd60e51b815260206004820152602160248201527f4f6e6c79206d7574617465206f6e6520696e2061207472616e73616374696f6e6044820152601760f91b60648201526084016103c6565b5f5b8281101561172d576011546001600160a01b038087169116636352211e86868581811061166b5761166b612e99565b905060200201356040518263ffffffff1660e01b815260040161169091815260200190565b602060405180830381865afa1580156116ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116cf9190612ead565b6001600160a01b0316146117255760405162461bcd60e51b815260206004820152601e60248201527f596f7520646f6e2774206f776e206f6e65206f6620746865204e4654732e000060448201526064016103c6565b60010161163c565b5060165461173c908390612e57565b6013546117499190612ec8565b90508034101561176b5760405162461bcd60e51b81526004016103c690612e6e565b5f5b82811015611810576011546001600160a01b03166342842e0e863087878681811061179a5761179a612e99565b6040516001600160e01b031960e088901b1681526001600160a01b039586166004820152949093166024850152506020909102013560448201526064015f604051808303815f87803b1580156117ee575f80fd5b505af1158015611800573d5f803e3d5ffd5b50506001909201915061176d9050565b505f5b8281101561189c576011546001600160a01b03166342966c6885858481811061183e5761183e612e99565b905060200201356040518263ffffffff1660e01b815260040161186391815260200190565b5f604051808303815f87803b15801561187a575f80fd5b505af115801561188c573d5f803e3d5ffd5b5050600190920191506118139050565b506118a88460016120c1565b50505050565b5f6001600160a01b0382166118d6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526006602052604090205467ffffffffffffffff1690565b611903611e35565b61190c5f6120da565b565b611916611e35565b601555565b5f600d828154811061192f5761192f612e99565b5f918252602090912001546001600160a01b031692915050565b606060048054610c3090612d3a565b611960611e35565b601061196c8282612f1f565b5050565b336001600160a01b038316036119995760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b601c545f906001600160601b0316611a1e61271084612fdb565b610be49190612e57565b5f80611a33600a5490565b611a3d9047612e17565b9050611a678382611a62866001600160a01b03165f908152600c602052604090205490565b612129565b9392505050565b611a76611e35565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b60175460ff16611aea5760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f74206163746976617465640000000060448201526064016103c6565b60125481611af6610dda565b611b009190612e17565b1115611b1e5760405162461bcd60e51b81526004016103c690612e2a565b80601554611b2c9190612e57565b341015611b4b5760405162461bcd60e51b81526004016103c690612e6e565b61196c82826120c1565b611b5d611e35565b601855565b611b6d848484610ed6565b6001600160a01b0383163b156118a857611b8984848484612166565b6118a8576040516368d2bf6b60e11b815260040160405180910390fd5b611bae611e35565b60178054911515620100000262ff000019909216919091179055565b6001600160a01b0382165f908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611c26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4a9190612ffa565b611c549190612e17565b6001600160a01b038086165f908152600f6020908152604080832093881683529290522054909150611c899084908390612129565b949350505050565b611c99611e35565b6012548110611cea5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420696e63726561736520737570706c792100000000000000000060448201526064016103c6565b601255565b6060611cfa82611e61565b611d465760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016103c6565b6010611d518361224d565b604051602001611d62929190613011565b6040516020818303038152906040529050919050565b611d80611e35565b60125481611d8c610dda565b611d969190612e17565b1115611b4b5760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820537570706c7960701b60448201526064016103c6565b611de1611e35565b601780549115156101000261ff0019909216919091179055565b611e03611e35565b6001600160a01b038116611e2c57604051631e4fbdf760e01b81525f60048201526024016103c6565b61111b816120da565b5f546001600160a01b0316331461190c5760405163118cdaa760e01b81523360048201526024016103c6565b5f81600111158015611e74575060015482105b8015610be45750505f90815260056020526040902054600160e01b161590565b80471015611eb75760405163cd78605960e01b81523060048201526024016103c6565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611f00576040519150601f19603f3d011682016040523d82523d5f602084013e611f05565b606091505b50509050806110b757604051630a12f52160e11b815260040160405180910390fd5b5f8180600111611f7857600154811015611f78575f8181526005602052604081205490600160e01b82169003611f76575b805f03611a6757505f19015f81815260056020526040902054611f58565b505b604051636f96cda160e11b815260040160405180910390fd5b5f80611f9c836114bb565b9050806001600160a01b0316846001600160a01b03161480611fd75750836001600160a01b0316611fcc84610cbe565b6001600160a01b0316145b80611c895750611c898185610b32565b61111b815f6122dd565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526110b790849061241f565b5f611c89612089856040516bffffffffffffffffffffffff19606083901b1660208201525f90603401604051602081830303815290604052805190602001209050919050565b8484808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525061248092505050565b61196c828260405180602001604052805f81525061248e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384165f908152600b6020526040812054909183916121529086612e57565b61215c9190612fdb565b611c899190612ec8565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061219a9033908990889088906004016130a4565b6020604051808303815f875af19250505080156121d4575060408051601f3d908101601f191682019092526121d1918101906130d6565b60015b612230573d808015612201576040519150601f19603f3d011682016040523d82523d5f602084013e612206565b606091505b5080515f03612228576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60605f612259836124f2565b60010190505f8167ffffffffffffffff81111561227857612278612bc7565b6040519080825280601f01601f1916602001820160405280156122a2576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846122ac57509392505050565b5f6122e783611f27565b9050805f80612303865f90815260076020526040902080549091565b91509150841561234357612318818433610f29565b612343576123268333610b32565b61234357604051632ce44b5f60e11b815260040160405180910390fd5b801561234d575f82555b6001600160a01b0383165f81815260066020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260056020526040812091909155600160e11b851690036123d757600186015f8181526005602052604081205490036123d55760015481146123d5575f8181526005602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060028054600101905550505050565b5f6124336001600160a01b038416836125c9565b905080515f1415801561245757508080602001905181019061245591906130f1565b155b156110b757604051635274afe760e01b81526001600160a01b03841660048201526024016103c6565b5f611a6782601854856125d6565b61249883836125eb565b6001600160a01b0383163b156110b7576001548281035b6124c15f868380600101945086612166565b6124de576040516368d2bf6b60e11b815260040160405180910390fd5b8181106124af57816001541461148c575f80fd5b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125305772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061255c576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061257a57662386f26fc10000830492506010015b6305f5e1008310612592576305f5e100830492506008015b61271083106125a657612710830492506004015b606483106125b8576064830492506002015b600a8310610be45760010192915050565b6060611a6783835f6126c7565b5f826125e28584612760565b14949350505050565b6001546001600160a01b03831661261457604051622e076360e81b815260040160405180910390fd5b815f036126345760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260056020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061267c5760015550505050565b6060814710156126ec5760405163cd78605960e01b81523060048201526024016103c6565b5f80856001600160a01b03168486604051612707919061310c565b5f6040518083038185875af1925050503d805f8114612741576040519150601f19603f3d011682016040523d82523d5f602084013e612746565b606091505b50915091506127568683836127a2565b9695505050505050565b5f81815b845181101561279a576127908286838151811061278357612783612e99565b60200260200101516127fe565b9150600101612764565b509392505050565b6060826127b7576127b28261282a565b611a67565b81511580156127ce57506001600160a01b0384163b155b156127f757604051639996b31560e01b81526001600160a01b03851660048201526024016103c6565b5080611a67565b5f818310612818575f828152602084905260409020611a67565b5f838152602083905260409020611a67565b80511561283a5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160e01b03198116811461111b575f80fd5b5f60208284031215612878575f80fd5b8135611a6781612853565b6001600160a01b038116811461111b575f80fd5b5f80604083850312156128a8575f80fd5b82356128b381612883565b915060208301356001600160601b03811681146128ce575f80fd5b809150509250929050565b5f5b838110156128f35781810151838201526020016128db565b50505f910152565b5f81518084526129128160208601602086016128d9565b601f01601f19169290920160200192915050565b602081525f611a6760208301846128fb565b5f60208284031215612948575f80fd5b5035919050565b5f8060408385031215612960575f80fd5b823561296b81612883565b946020939093013593505050565b5f805f805f6080868803121561298d575f80fd5b853561299881612883565b945060208601356129a881612883565b935060408601359250606086013567ffffffffffffffff808211156129cb575f80fd5b818801915088601f8301126129de575f80fd5b8135818111156129ec575f80fd5b8960208285010111156129fd575f80fd5b9699959850939650602001949392505050565b5f60208284031215612a20575f80fd5b8135611a6781612883565b5f805f60608486031215612a3d575f80fd5b8335612a4881612883565b92506020840135612a5881612883565b929592945050506040919091013590565b5f8060408385031215612a7a575f80fd5b50508035926020909101359150565b5f8060408385031215612a9a575f80fd5b8235612aa581612883565b915060208301356128ce81612883565b801515811461111b575f80fd5b5f60208284031215612ad2575f80fd5b8135611a6781612ab5565b5f8083601f840112612aed575f80fd5b50813567ffffffffffffffff811115612b04575f80fd5b6020830191508360208260051b8501011115611096575f80fd5b5f805f8060608587031215612b31575f80fd5b8435612b3c81612883565b935060208501359250604085013567ffffffffffffffff811115612b5e575f80fd5b612b6a87828801612add565b95989497509550505050565b5f805f60408486031215612b88575f80fd5b8335612b9381612883565b9250602084013567ffffffffffffffff811115612bae575f80fd5b612bba86828701612add565b9497909650939450505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115612bf557612bf5612bc7565b604051601f8501601f19908116603f01168101908282118183101715612c1d57612c1d612bc7565b81604052809350858152868686011115612c35575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612c5e575f80fd5b813567ffffffffffffffff811115612c74575f80fd5b8201601f81018413612c84575f80fd5b611c8984823560208401612bdb565b5f8060408385031215612ca4575f80fd5b8235612caf81612883565b915060208301356128ce81612ab5565b5f805f8060808587031215612cd2575f80fd5b8435612cdd81612883565b93506020850135612ced81612883565b925060408501359150606085013567ffffffffffffffff811115612d0f575f80fd5b8501601f81018713612d1f575f80fd5b612d2e87823560208401612bdb565b91505092959194509250565b600181811c90821680612d4e57607f821691505b602082108103612d6c57634e487b7160e01b5f52602260045260245ffd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610be457610be4612e03565b60208082526013908201527213585e081cdd5c1c1b1e48195e18d959591959606a1b604082015260600190565b8082028115828204841417610be457610be4612e03565b6020808252601190820152704e6f7420656e6f756768742066756e647360781b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612ebd575f80fd5b8151611a6781612883565b81810381811115610be457610be4612e03565b601f8211156110b757805f5260205f20601f840160051c81016020851015612f005750805b601f840160051c820191505b8181101561148c575f8155600101612f0c565b815167ffffffffffffffff811115612f3957612f39612bc7565b612f4d81612f478454612d3a565b84612edb565b602080601f831160018114612f80575f8415612f695750858301515b5f19600386901b1c1916600185901b178555611069565b5f85815260208120601f198616915b82811015612fae57888601518255948401946001909101908401612f8f565b5085821015612fcb57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f82612ff557634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561300a575f80fd5b5051919050565b5f80845461301e81612d3a565b60018281168015613036576001811461304b57613077565b60ff1984168752821515830287019450613077565b885f526020805f205f5b8581101561306e5781548a820152908401908201613055565b50505082870194505b50505050835161308b8183602088016128d9565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612756908301846128fb565b5f602082840312156130e6575f80fd5b8151611a6781612853565b5f60208284031215613101575f80fd5b8151611a6781612ab5565b5f825161311d8184602087016128d9565b919091019291505056fea26469706673582212209998ce91533ebbed63eae690723f6df78efdaa3a139419403708870029376b2464736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000006f03a1baf806659b31fc58b51a5b9f58455f17710000000000000000000000006f03a1baf806659b31fc58b51a5b9f58455f177100000000000000000000000000000000000000000000000000000000000000030000000000000000000000006f03a1baf806659b31fc58b51a5b9f58455f1771000000000000000000000000003a10c045807bd575b5fa8f785c7b0edd8c8381000000000000000000000000ba1c609070241c47ce8d89f899e96f8822ab55f500000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656967376377646970626b366179706e36746f67753370786c66666f37707032786e78347a703478356235613361346f66776176696d2f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _royaltyFeesInBips (uint96): 500
Arg [1] : _team (address[]): 0x6f03a1BAF806659B31fC58b51A5B9F58455F1771,0x003a10c045807bD575b5fA8f785C7B0eDD8c8381,0xBA1C609070241c47cE8D89f899E96f8822aB55f5
Arg [2] : _teamShares (uint256[]): 34,33,33
Arg [3] : _baseURI (string): ipfs://bafybeig7cwdipbk6aypn6togu3pxlffo7pp2xnx4zp4x5b5a3a4ofwavim/
Arg [4] : _initialOwner (address): 0x6f03a1BAF806659B31fC58b51A5B9F58455F1771
Arg [5] : _fundsReceiver (address): 0x6f03a1BAF806659B31fC58b51A5B9F58455F1771
-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [4] : 0000000000000000000000006f03a1baf806659b31fc58b51a5b9f58455f1771
Arg [5] : 0000000000000000000000006f03a1baf806659b31fc58b51a5b9f58455f1771
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 0000000000000000000000006f03a1baf806659b31fc58b51a5b9f58455f1771
Arg [8] : 000000000000000000000000003a10c045807bd575b5fa8f785c7b0edd8c8381
Arg [9] : 000000000000000000000000ba1c609070241c47ce8d89f899e96f8822ab55f5
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [15] : 697066733a2f2f6261667962656967376377646970626b366179706e36746f67
Arg [16] : 753370786c66666f37707032786e78347a703478356235613361346f66776176
Arg [17] : 696d2f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
114008:7481:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;121450:26;;-1:-1:-1;;;121450:26:0;;216:2:1;121450:26:0;;;198:21:1;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:46;330:18;;121450:26:0;;;;;;;;114008:7481;;;;15641:678;;;;;;;;;;-1:-1:-1;15641:678:0;;;;;:::i;:::-;;:::i;:::-;;;910:14:1;;903:22;885:41;;873:2;858:18;15641:678:0;;;;;;;;120888:183;;;;;;;;;;-1:-1:-1;120888:183:0;;;;;:::i;:::-;;:::i;:::-;;21351:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;119136:107::-;;;;;;;;;;-1:-1:-1;119136:107:0;;;;;:::i;:::-;;:::i;23303:204::-;;;;;;;;;;-1:-1:-1;23303:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2618:32:1;;;2600:51;;2588:2;2573:18;23303:204:0;2454:203:1;22845:392:0;;;;;;;;;;-1:-1:-1;22845:392:0;;;;;:::i;:::-;;:::i;114866:311::-;;;;;;;;;;-1:-1:-1;114866:311:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;;4085:33:1;;;4067:52;;4055:2;4040:18;114866:311:0;3923:202:1;14695:315:0;;;;;;;;;;;;;:::i;:::-;;;4276:25:1;;;4264:2;4249:18;14695:315:0;4130:177:1;107823:671:0;;;;;;;;;;-1:-1:-1;107823:671:0;;;;;:::i;:::-;;:::i;119382:131::-;;;;;;;;;;-1:-1:-1;119382:131:0;;;;;:::i;:::-;;:::i;32572:2800::-;;;;;;;;;;-1:-1:-1;32572:2800:0;;;;;:::i;:::-;;:::i;120490:242::-;;;;;;;;;;-1:-1:-1;120490:242:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5478:32:1;;;5460:51;;5542:2;5527:18;;5520:34;;;;5433:18;120490:242:0;5286:274:1;114255:30:0;;;;;;;;;;;;;;;;105433:91;;;;;;;;;;-1:-1:-1;105504:12:0;;105433:91;;106562:135;;;;;;;;;;-1:-1:-1;106562:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;106659:21:0;;;106632:7;106659:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;106562:135;24197:185;;;;;;;;;;-1:-1:-1;24197:185:0;;;;;:::i;:::-;;:::i;117927:204::-;;;;;;;;;;-1:-1:-1;117927:204:0;;;;;:::i;:::-;;:::i;118798:98::-;;;;;;;;;;-1:-1:-1;118798:98:0;;;;;:::i;:::-;;:::i;108762:792::-;;;;;;;;;;-1:-1:-1;108762:792:0;;;;;:::i;:::-;;:::i;114516:31::-;;;;;;;;;;-1:-1:-1;114516:31:0;;;;;;;;;;;115743:914;;;;;;:::i;:::-;;:::i;121244:151::-;;;;;;;;;;;;;:::i;114294:42::-;;;;;;;;;;;;;;;;21140:144;;;;;;;;;;-1:-1:-1;21140:144:0;;;;;:::i;:::-;;:::i;114691:46::-;;;;;;;;;;-1:-1:-1;114691:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;114125:21;;;;;;;;;;;;;:::i;117021:898::-;;;;;;:::i;:::-;;:::i;16383:224::-;;;;;;;;;;-1:-1:-1;16383:224:0;;;;;:::i;:::-;;:::i;112997:103::-;;;;;;;;;;;;;:::i;114343:36::-;;;;;;;;;;;;;;;;119251:123;;;;;;;;;;-1:-1:-1;119251:123:0;;;;;:::i;:::-;;:::i;114481:28::-;;;;;;;;;;-1:-1:-1;114481:28:0;;;;;;;;106788:100;;;;;;;;;;-1:-1:-1;106788:100:0;;;;;:::i;:::-;;:::i;112322:87::-;;;;;;;;;;-1:-1:-1;112368:7:0;112395:6;-1:-1:-1;;;;;112395:6:0;112322:87;;114631:53;;;;;;;;;;-1:-1:-1;114631:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;21520:104;;;;;;;;;;;;;:::i;106284:109::-;;;;;;;;;;-1:-1:-1;106284:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;106367:18:0;106340:7;106367:18;;;:9;:18;;;;;;;106284:109;114433:39;;;;;;;;;;;;;;;;114386:40;;;;;;;;;;;;;;;;119521:100;;;;;;;;;;-1:-1:-1;119521:100:0;;;;;:::i;:::-;;:::i;23579:306::-;;;;;;;;;;-1:-1:-1;23579:306:0;;;;;:::i;:::-;;:::i;120740:140::-;;;;;;;;;;-1:-1:-1;120740:140:0;;;;;:::i;:::-;;:::i;106978:225::-;;;;;;;;;;-1:-1:-1;106978:225:0;;;;;:::i;:::-;;:::i;121079:139::-;;;;;;;;;;-1:-1:-1;121079:139:0;;;;;:::i;:::-;;:::i;116665:348::-;;;;;;:::i;:::-;;:::i;119903:114::-;;;;;;;;;;-1:-1:-1;119903:114:0;;;;;:::i;:::-;;:::i;24453:399::-;;;;;;;;;;-1:-1:-1;24453:399:0;;;;;:::i;:::-;;:::i;119022:106::-;;;;;;;;;;-1:-1:-1;119022:106:0;;;;;:::i;:::-;;:::i;107363:260::-;;;;;;;;;;-1:-1:-1;107363:260:0;;;;;:::i;:::-;;:::i;114554:30::-;;;;;;;;;;-1:-1:-1;114554:30:0;;;;;;;;;;;118618:172;;;;;;;;;;-1:-1:-1;118618:172:0;;;;;:::i;:::-;;:::i;119629:249::-;;;;;;;;;;-1:-1:-1;119629:249:0;;;;;:::i;:::-;;:::i;118423:187::-;;;;;;;;;;-1:-1:-1;118423:187:0;;;;;:::i;:::-;;:::i;106080:105::-;;;;;;;;;;-1:-1:-1;106080:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;106161:16:0;106134:7;106161:16;;;:7;:16;;;;;;;106080:105;118904:110;;;;;;;;;;-1:-1:-1;118904:110:0;;;;;:::i;:::-;;:::i;114593:27::-;;;;;;;;;;;;;;;;105870:119;;;;;;;;;;-1:-1:-1;105870:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;105955:26:0;105928:7;105955:26;;;:19;:26;;;;;;;105870:119;105618:95;;;;;;;;;;-1:-1:-1;105691:14:0;;105618:95;;23962:164;;;;;;;;;;-1:-1:-1;23962:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;24083:25:0;;;24059:4;24083:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23962:164;113255:220;;;;;;;;;;-1:-1:-1;113255:220:0;;;;;:::i;:::-;;:::i;15641:678::-;15726:4;-1:-1:-1;;;;;;;;;16026:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;16103:25:0;;;16026:102;:179;;;-1:-1:-1;;;;;;;;;;16180:25:0;;;16026:179;:242;;;-1:-1:-1;;;;;;;;;;16243:25:0;;;16026:242;16006:262;15641:678;-1:-1:-1;;15641:678:0:o;120888:183::-;112208:13;:11;:13::i;:::-;-1:-1:-1;;;;;121025:38:0::1;-1:-1:-1::0;;;;;120987:27:0;;::::1;-1:-1:-1::0;;;120987:27:0::1;-1:-1:-1::0;;121025:38:0;::::1;120987:15;121025:38:::0;120888:183::o;21351:100::-;21405:13;21438:5;21431:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21351:100;:::o;119136:107::-;112208:13;:11;:13::i;:::-;119209:11:::1;:26:::0;119136:107::o;23303:204::-;23371:7;23396:16;23404:7;23396;:16::i;:::-;23391:64;;23421:34;;-1:-1:-1;;;23421:34:0;;;;;;;;;;;23391:64;-1:-1:-1;23475:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23475:24:0;;23303:204::o;22845:392::-;22926:13;22942:16;22950:7;22942;:16::i;:::-;22926:32;-1:-1:-1;43755:10:0;-1:-1:-1;;;;;22973:28:0;;;22969:175;;23021:44;23038:5;43755:10;23962:164;:::i;23021:44::-;23016:128;;23093:35;;-1:-1:-1;;;23093:35:0;;;;;;;;;;;23016:128;23156:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;23156:29:0;-1:-1:-1;;;;;23156:29:0;;;;;;;;;23201:28;;23156:24;;23201:28;;;;;;;22915:322;22845:392;;:::o;114866:311::-;115131:10;;115036:6;;115131:10;;115036:6;;115131:10;-1:-1:-1;;;;114866:311:0;;;;;;;:::o;14695:315::-;14961:12;;14302:1;14945:13;:28;-1:-1:-1;;14945:46:0;;14695:315::o;107823:671::-;-1:-1:-1;;;;;107899:16:0;;107918:1;107899:16;;;:7;:16;;;;;;107891:71;;;;-1:-1:-1;;;107891:71:0;;;;;;;:::i;:::-;107975:15;107993:19;108004:7;107993:10;:19::i;:::-;107975:37;;108033:7;108044:1;108033:12;108025:68;;;;-1:-1:-1;;;108025:68:0;;;;;;;:::i;:::-;108306:7;108288:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;108349:18:0;;;;;;:9;:18;;;;;:29;;;;;;108402:35;108359:7;108371;108402:17;:35::i;:::-;108453:33;;;-1:-1:-1;;;;;5478:32:1;;5460:51;;5542:2;5527:18;;5520:34;;;108453:33:0;;5433:18:1;108453:33:0;;;;;;;107880:614;107823:671;:::o;119382:131::-;112208:13;:11;:13::i;:::-;119467:17:::1;:38:::0;119382:131::o;32572:2800::-;32706:27;32736;32755:7;32736:18;:27::i;:::-;32706:57;;32821:4;-1:-1:-1;;;;;32780:45:0;32796:19;-1:-1:-1;;;;;32780:45:0;;32776:86;;32834:28;;-1:-1:-1;;;32834:28:0;;;;;;;;;;;32776:86;32876:27;31302:21;;;31129:15;31344:4;31337:36;31426:4;31410:21;;31516:26;;33060:62;31516:26;33096:4;43755:10;33102:19;-1:-1:-1;;;;;32121:31:0;;;31967:26;;32248:19;;32269:30;;32245:55;;31673:645;33060:62;33055:174;;33142:43;33159:4;43755:10;23962:164;:::i;33142:43::-;33137:92;;33194:35;;-1:-1:-1;;;33194:35:0;;;;;;;;;;;33137:92;-1:-1:-1;;;;;33246:16:0;;33242:52;;33271:23;;-1:-1:-1;;;33271:23:0;;;;;;;;;;;33242:52;33443:15;33440:160;;;33583:1;33562:19;33555:30;33440:160;-1:-1:-1;;;;;33978:24:0;;;;;;;:18;:24;;;;;;33976:26;;-1:-1:-1;;33976:26:0;;;34047:22;;;;;;;;;34045:24;;-1:-1:-1;34045:24:0;;;21039:11;21015:22;21011:40;20998:62;-1:-1:-1;;;20998:62:0;34340:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;34634:46:0;;:51;;34630:626;;34738:1;34728:11;;34706:19;34861:30;;;:17;:30;;;;;;:35;;34857:384;;34999:13;;34984:11;:28;34980:242;;35146:30;;;;:17;:30;;;;;:52;;;34980:242;34687:569;34630:626;35303:7;35299:2;-1:-1:-1;;;;;35284:27:0;35293:4;-1:-1:-1;;;;;35284:27:0;;;;;;;;;;;35322:42;32695:2677;;;32572:2800;;;:::o;120490:242::-;120677:15;;120601:16;;;;-1:-1:-1;;;120677:15:0;;-1:-1:-1;;;;;120677:15:0;120694:28;120711:10;120694:16;:28::i;:::-;120669:54;;;;120490:242;;;;;;:::o;24197:185::-;24335:39;24352:4;24358:2;24362:7;24335:39;;;;;;;;;;;;:16;:39::i;:::-;24197:185;;;:::o;117927:204::-;118000:38;118018:10;118030:7;118000:17;:38::i;:::-;117978:120;;;;-1:-1:-1;;;117978:120:0;;13582:2:1;117978:120:0;;;13564:21:1;;;13601:18;;;13594:30;13660:34;13640:18;;;13633:62;13712:18;;117978:120:0;13380:356:1;117978:120:0;118109:14;118115:7;118109:5;:14::i;:::-;117927:204;:::o;118798:98::-;112208:13;:11;:13::i;:::-;118868:8:::1;:20:::0;;-1:-1:-1;;118868:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;118798:98::o;108762:792::-;-1:-1:-1;;;;;108844:16:0;;108863:1;108844:16;;;:7;:16;;;;;;108836:71;;;;-1:-1:-1;;;108836:71:0;;;;;;;:::i;:::-;108920:15;108938:26;108949:5;108956:7;108938:10;:26::i;:::-;108920:44;;108985:7;108996:1;108985:12;108977:68;;;;-1:-1:-1;;;108977:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;109300:26:0;;;;;;:19;:26;;;;;:37;;109330:7;;109300:26;:37;;109330:7;;109300:37;:::i;:::-;;;;-1:-1:-1;;;;;;;109373:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;:41;;;;;;109438:47;109388:5;109395:7;109407;109438:22;:47::i;:::-;109501:45;;;-1:-1:-1;;;;;5478:32:1;;;5460:51;;5542:2;5527:18;;5520:34;;;109501:45:0;;;;;5433:18:1;109501:45:0;;;;;;;108825:729;108762:792;;:::o;115743:914::-;115906:11;;115878:9;;115906:11;;;;;115898:55;;;;-1:-1:-1;;;115898:55:0;;13943:2:1;115898:55:0;;;13925:21:1;13982:2;13962:18;;;13955:30;14021:33;14001:18;;;13994:61;14072:18;;115898:55:0;13741:355:1;115898:55:0;115972:10;-1:-1:-1;;;;;115972:22:0;;;115964:61;;;;-1:-1:-1;;;115964:61:0;;14303:2:1;115964:61:0;;;14285:21:1;14342:2;14322:18;;;14315:30;14381:28;14361:18;;;14354:56;14427:18;;115964:61:0;14101:350:1;115964:61:0;116044:31;116058:8;116068:6;;116044:13;:31::i;:::-;116036:59;;;;-1:-1:-1;;;116036:59:0;;14658:2:1;116036:59:0;;;14640:21:1;14697:2;14677:18;;;14670:30;-1:-1:-1;;;14716:18:1;;;14709:45;14771:18;;116036:59:0;14456:339:1;116036:59:0;116143:10;;116130:9;116114:13;:11;:13::i;:::-;:25;;;;:::i;:::-;:39;;116106:71;;;;-1:-1:-1;;;116106:71:0;;;;;;;:::i;:::-;116223:9;116209:11;;:23;;;;:::i;:::-;116196:9;:36;;116188:66;;;;-1:-1:-1;;;116188:66:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;116270:31:0;;;;;;:21;:31;;;;;;116322:1;;116270:48;;116304:14;;116270:48;:::i;:::-;:53;;:90;;;;-1:-1:-1;;;;;;116327:24:0;;;;;;:14;:24;;;;;;;;:33;116270:90;116267:277;;;116376:19;116394:1;116376:19;;:::i;:::-;;;116452:10;;116434:14;116418:13;:11;:13::i;:::-;:30;;;;:::i;:::-;:44;;116410:76;;;;-1:-1:-1;;;116410:76:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;116501:24:0;;;;;;:14;:24;;;;;:31;;-1:-1:-1;;116501:31:0;116528:4;116501:31;;;116267:277;-1:-1:-1;;;;;116554:31:0;;;;;;:21;:31;;;;;:49;;116589:14;;116554:31;:49;;116589:14;;116554:49;:::i;:::-;;;;-1:-1:-1;116614:35:0;;-1:-1:-1;116624:8:0;116634:14;116614:9;:35::i;:::-;115845:812;115743:914;;;;:::o;121244:151::-;112208:13;:11;:13::i;:::-;121300:6:::1;121296:92;121317:10;;121313:1;:14;121296:92;;;121350:26;121366:8;121372:1;121366:5;:8::i;121350:26::-;121330:3;;121296:92;;21140:144:::0;21204:7;21247:27;21266:7;21247:18;:27::i;114125:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;117021:898::-;117146:10;;117112:15;;117146:10;;;;;117138:53;;;;-1:-1:-1;;;117138:53:0;;15869:2:1;117138:53:0;;;15851:21:1;15908:2;15888:18;;;15881:30;15947:32;15927:18;;;15920:60;15997:18;;117138:53:0;15667:354:1;117138:53:0;117231:10;;117210:13;:11;:13::i;:::-;:17;;117226:1;117210:17;:::i;:::-;:31;;117202:63;;;;-1:-1:-1;;;117202:63:0;;;;;;;:::i;:::-;117299:1;117284:16;;;117276:62;;;;-1:-1:-1;;;117276:62:0;;16228:2:1;117276:62:0;;;16210:21:1;16267:2;16247:18;;;16240:30;16306:34;16286:18;;;16279:62;-1:-1:-1;;;16357:18:1;;;16350:31;16398:19;;117276:62:0;16026:397:1;117276:62:0;117355:6;117351:148;117367:15;;;117351:148;;;117411:12;;-1:-1:-1;;;;;117411:41:0;;;;:12;:20;117432:4;;117437:1;117432:7;;;;;;;:::i;:::-;;;;;;;117411:29;;;;;;;;;;;;;4276:25:1;;4264:2;4249:18;;4130:177;117411:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;117411:41:0;;117403:84;;;;-1:-1:-1;;;117403:84:0;;17018:2:1;117403:84:0;;;17000:21:1;17057:2;17037:18;;;17030:30;17096:32;17076:18;;;17069:60;17146:18;;117403:84:0;16816:354:1;117403:84:0;117384:3;;117351:148;;;-1:-1:-1;117543:14:0;;:28;;117560:4;;117543:28;:::i;:::-;117523:17;;:48;;;;:::i;:::-;117509:63;;117604:10;117591:9;:23;;117583:53;;;;-1:-1:-1;;;117583:53:0;;;;;;;:::i;:::-;117653:6;117649:126;117665:15;;;117649:126;;;117700:12;;-1:-1:-1;;;;;117700:12:0;:29;117730:8;117748:4;117755;;117760:1;117755:7;;;;;;;:::i;:::-;117700:63;;-1:-1:-1;;;;;;117700:63:0;;;;;;;-1:-1:-1;;;;;17566:15:1;;;117700:63:0;;;17548:34:1;17618:15;;;;17598:18;;;17591:43;-1:-1:-1;117755:7:0;;;;;;17650:18:1;;;17643:34;17483:18;;117700:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;117682:3:0;;;;;-1:-1:-1;117649:126:0;;-1:-1:-1;117649:126:0;;;117791:6;117787:90;117803:15;;;117787:90;;;117839:12;;-1:-1:-1;;;;;117839:12:0;:17;117857:4;;117862:1;117857:7;;;;;;;:::i;:::-;;;;;;;117839:26;;;;;;;;;;;;;4276:25:1;;4264:2;4249:18;;4130:177;117839:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;117820:3:0;;;;;-1:-1:-1;117787:90:0;;-1:-1:-1;117787:90:0;;;117889:22;117899:8;117909:1;117889:9;:22::i;:::-;117101:818;117021:898;;;:::o;16383:224::-;16447:7;-1:-1:-1;;;;;16471:19:0;;16467:60;;16499:28;;-1:-1:-1;;;16499:28:0;;;;;;;;;;;16467:60;-1:-1:-1;;;;;;16545:25:0;;;;;:18;:25;;;;;;10875:13;16545:54;;16383:224::o;112997:103::-;112208:13;:11;:13::i;:::-;113062:30:::1;113089:1;113062:18;:30::i;:::-;112997:103::o:0;119251:123::-;112208:13;:11;:13::i;:::-;119332:15:::1;:34:::0;119251:123::o;106788:100::-;106839:7;106866;106874:5;106866:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;106866:14:0;;106788:100;-1:-1:-1;;106788:100:0:o;21520:104::-;21576:13;21609:7;21602:14;;;;;:::i;119521:100::-;112208:13;:11;:13::i;:::-;119595:7:::1;:18;119605:8:::0;119595:7;:18:::1;:::i;:::-;;119521:100:::0;:::o;23579:306::-;43755:10;-1:-1:-1;;;;;23678:31:0;;;23674:61;;23718:17;;-1:-1:-1;;;23718:17:0;;;;;;;;;;;23674:61;43755:10;23746:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;23746:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;23746:60:0;;;;;;;;;;23822:55;;885:41:1;;;23746:49:0;;43755:10;23822:55;;858:18:1;23822:55:0;;;;;;;23579:306;;:::o;120740:140::-;120855:17;;120807:7;;-1:-1:-1;;;;;120855:17:0;120833:18;120846:5;120833:10;:18;:::i;:::-;120832:40;;;;:::i;106978:225::-;107036:7;107056:21;107104:15;105691:14;;;105618:95;107104:15;107080:39;;:21;:39;:::i;:::-;107056:63;;107137:58;107153:7;107162:13;107177:17;107186:7;-1:-1:-1;;;;;106367:18:0;106340:7;106367:18;;;:9;:18;;;;;;;106284:109;107177:17;107137:15;:58::i;:::-;107130:65;106978:225;-1:-1:-1;;;106978:225:0:o;121079:139::-;112208:13;:11;:13::i;:::-;121162:12:::1;:48:::0;;-1:-1:-1;;;;;;121162:48:0::1;-1:-1:-1::0;;;;;121162:48:0;;;::::1;::::0;;;::::1;::::0;;121079:139::o;116665:348::-;116760:8;;;;116752:49;;;;-1:-1:-1;;;116752:49:0;;20414:2:1;116752:49:0;;;20396:21:1;20453:2;20433:18;;;20426:30;20492;20472:18;;;20465:58;20540:18;;116752:49:0;20212:352:1;116752:49:0;116849:10;;116836:9;116820:13;:11;:13::i;:::-;:25;;;;:::i;:::-;:39;;116812:71;;;;-1:-1:-1;;;116812:71:0;;;;;;;:::i;:::-;116933:9;116915:15;;:27;;;;:::i;:::-;116902:9;:40;;116894:70;;;;-1:-1:-1;;;116894:70:0;;;;;;;:::i;:::-;116975:30;116985:8;116995:9;116975;:30::i;119903:114::-;112208:13;:11;:13::i;:::-;119981:12:::1;:28:::0;119903:114::o;24453:399::-;24620:31;24633:4;24639:2;24643:7;24620:12;:31::i;:::-;-1:-1:-1;;;;;24666:14:0;;;:19;24662:183;;24705:56;24736:4;24742:2;24746:7;24755:5;24705:30;:56::i;:::-;24700:145;;24789:40;;-1:-1:-1;;;24789:40:0;;;;;;;;;;;119022:106;112208:13;:11;:13::i;:::-;119096:10:::1;:24:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;119096:24:0;;::::1;::::0;;;::::1;::::0;;119022:106::o;107363:260::-;-1:-1:-1;;;;;105955:26:0;;107435:7;105955:26;;;:19;:26;;;;;;107435:7;;107479:30;;-1:-1:-1;;;107479:30:0;;107503:4;107479:30;;;2600:51:1;-1:-1:-1;;;;;107479:15:0;;;;;2573:18:1;;107479:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;106659:21:0;;;106632:7;106659:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;107455:77;;-1:-1:-1;107550:65:0;;107566:7;;107455:77;;107137:15;:58::i;107550:65::-;107543:72;107363:260;-1:-1:-1;;;;107363:260:0:o;118618:172::-;112208:13;:11;:13::i;:::-;118709:10:::1;;118695:11;:24;118687:60;;;::::0;-1:-1:-1;;;118687:60:0;;20960:2:1;118687:60:0::1;::::0;::::1;20942:21:1::0;20999:2;20979:18;;;20972:30;21038:25;21018:18;;;21011:53;21081:18;;118687:60:0::1;20758:347:1::0;118687:60:0::1;118758:10;:24:::0;118618:172::o;119629:249::-;119700:13;119734:17;119742:8;119734:7;:17::i;:::-;119726:61;;;;-1:-1:-1;;;119726:61:0;;21312:2:1;119726:61:0;;;21294:21:1;21351:2;21331:18;;;21324:30;21390:33;21370:18;;;21363:61;21441:18;;119726:61:0;21110:355:1;119726:61:0;119831:7;119840:19;:8;:17;:19::i;:::-;119814:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;119800:70;;119629:249;;;:::o;118423:187::-;112208:13;:11;:13::i;:::-;118533:10:::1;;118520:9;118504:13;:11;:13::i;:::-;:25;;;;:::i;:::-;:39;;118496:70;;;::::0;-1:-1:-1;;;118496:70:0;;22865:2:1;118496:70:0::1;::::0;::::1;22847:21:1::0;22904:2;22884:18;;;22877:30;-1:-1:-1;;;22923:18:1;;;22916:48;22981:18;;118496:70:0::1;22663:342:1::0;118904:110:0;112208:13;:11;:13::i;:::-;118980:11:::1;:26:::0;;;::::1;;;;-1:-1:-1::0;;118980:26:0;;::::1;::::0;;;::::1;::::0;;118904:110::o;113255:220::-;112208:13;:11;:13::i;:::-;-1:-1:-1;;;;;113340:22:0;::::1;113336:93;;113386:31;::::0;-1:-1:-1;;;113386:31:0;;113414:1:::1;113386:31;::::0;::::1;2600:51:1::0;2573:18;;113386:31:0::1;2454:203:1::0;113336:93:0::1;113439:28;113458:8;113439:18;:28::i;112487:166::-:0;112368:7;112395:6;-1:-1:-1;;;;;112395:6:0;43755:10;112547:23;112543:103;;112594:40;;-1:-1:-1;;;112594:40:0;;43755:10;112594:40;;;2600:51:1;2573:18;;112594:40:0;2454:203:1;25107:273:0;25164:4;25220:7;14302:1;25201:26;;:66;;;;;25254:13;;25244:7;:23;25201:66;:152;;;;-1:-1:-1;;25305:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;25305:43:0;:48;;25107:273::o;73430:340::-;73540:6;73516:21;:30;73512:111;;;73570:41;;-1:-1:-1;;;73570:41:0;;73605:4;73570:41;;;2600:51:1;2573:18;;73570:41:0;2454:203:1;73512:111:0;73636:12;73654:9;-1:-1:-1;;;;;73654:14:0;73676:6;73654:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73635:52;;;73703:7;73698:65;;73734:17;;-1:-1:-1;;;73734:17:0;;;;;;;;;;;18057:1129;18124:7;18159;;14302:1;18208:23;18204:915;;18261:13;;18254:4;:20;18250:869;;;18299:14;18316:23;;;:17;:23;;;;;;;-1:-1:-1;;;18405:23:0;;:28;;18401:699;;18924:113;18931:6;18941:1;18931:11;18924:113;;-1:-1:-1;;;19002:6:0;18984:25;;;;:17;:25;;;;;;18924:113;;18401:699;18276:843;18250:869;19147:31;;-1:-1:-1;;;19147:31:0;;;;;;;;;;;118137:278;118220:4;118237:13;118253:16;118261:7;118253;:16::i;:::-;118237:32;;118298:5;-1:-1:-1;;;;;118288:15:0;:6;-1:-1:-1;;;;;118288:15:0;;:66;;;;118348:6;-1:-1:-1;;;;;118324:30:0;:20;118336:7;118324:11;:20::i;:::-;-1:-1:-1;;;;;118324:30:0;;118288:66;:118;;;;118375:31;118392:5;118399:6;118375:16;:31::i;35450:89::-;35510:21;35516:7;35525:5;35510;:21::i;86335:162::-;86445:43;;;-1:-1:-1;;;;;5478:32:1;;86445:43:0;;;5460:51:1;5527:18;;;;5520:34;;;86445:43:0;;;;;;;;;;5433:18:1;;;;86445:43:0;;;;;;;;-1:-1:-1;;;;;86445:43:0;-1:-1:-1;;;86445:43:0;;;86418:71;;86438:5;;86418:19;:71::i;120025:155::-;120115:4;120139:33;120149:14;120154:8;120279:26;;-1:-1:-1;;24367:2:1;24363:15;;;24359:53;120279:26:0;;;24347:66:1;120242:7:0;;24429:12:1;;120279:26:0;;;;;;;;;;;;120269:37;;;;;;120262:44;;120188:126;;;;120149:14;120165:6;;120139:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;120139:9:0;;-1:-1:-1;;;120139:33:0:i;25464:104::-;25533:27;25543:2;25547:8;25533:27;;;;;;;;;;;;:9;:27::i;113635:191::-;113709:16;113728:6;;-1:-1:-1;;;;;113745:17:0;;;-1:-1:-1;;;;;;113745:17:0;;;;;;113778:40;;113728:6;;;;;;;113778:40;;113709:16;113778:40;113698:128;113635:191;:::o;109732:248::-;109942:12;;-1:-1:-1;;;;;109922:16:0;;109878:7;109922:16;;;:7;:16;;;;;;109878:7;;109957:15;;109906:32;;:13;:32;:::i;:::-;109905:49;;;;:::i;:::-;:67;;;;:::i;39323:716::-;39507:88;;-1:-1:-1;;;39507:88:0;;39486:4;;-1:-1:-1;;;;;39507:45:0;;;;;:88;;43755:10;;39574:4;;39580:7;;39589:5;;39507:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39507:88:0;;;;;;;;-1:-1:-1;;39507:88:0;;;;;;;;;;;;:::i;:::-;;;39503:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39790:6;:13;39807:1;39790:18;39786:235;;39836:40;;-1:-1:-1;;;39836:40:0;;;;;;;;;;;39786:235;39979:6;39973:13;39964:6;39960:2;39956:15;39949:38;39503:529;-1:-1:-1;;;;;;39666:64:0;-1:-1:-1;;;39666:64:0;;-1:-1:-1;39323:716:0;;;;;;:::o;69301:718::-;69357:13;69408:14;69425:17;69436:5;69425:10;:17::i;:::-;69445:1;69425:21;69408:38;;69461:20;69495:6;69484:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69484:18:0;-1:-1:-1;69461:41:0;-1:-1:-1;69626:28:0;;;69642:2;69626:28;69683:290;-1:-1:-1;;69715:5:0;-1:-1:-1;;;69852:2:0;69841:14;;69836:32;69715:5;69823:46;69915:2;69906:11;;;-1:-1:-1;69936:21:0;69683:290;69936:21;-1:-1:-1;69994:6:0;69301:718;-1:-1:-1;;;69301:718:0:o;35768:3063::-;35848:27;35878;35897:7;35878:18;:27::i;:::-;35848:57;-1:-1:-1;35848:57:0;35918:12;;36040:28;36060:7;31003:27;31302:21;;;31129:15;31344:4;31337:36;31426:4;31410:21;;31516:26;;31410:21;;30908:652;36040:28;35983:85;;;;36085:13;36081:310;;;36206:62;36225:15;36242:4;43755:10;36248:19;43668:105;36206:62;36201:178;;36292:43;36309:4;43755:10;23962:164;:::i;36292:43::-;36287:92;;36344:35;;-1:-1:-1;;;36344:35:0;;;;;;;;;;;36287:92;36547:15;36544:160;;;36687:1;36666:19;36659:30;36544:160;-1:-1:-1;;;;;37305:24:0;;;;;;:18;:24;;;;;:59;;37333:31;37305:59;;;21039:11;21015:22;21011:40;20998:62;-1:-1:-1;;;20998:62:0;37602:26;;;;:17;:26;;;;;:203;;;;-1:-1:-1;;;37925:46:0;;:51;;37921:626;;38029:1;38019:11;;37997:19;38152:30;;;:17;:30;;;;;;:35;;38148:384;;38290:13;;38275:11;:28;38271:242;;38437:30;;;;:17;:30;;;;;:52;;;38271:242;37978:569;37921:626;38575:35;;38602:7;;38598:1;;-1:-1:-1;;;;;38575:35:0;;;;;38598:1;;38575:35;-1:-1:-1;;38798:12:0;:14;;;;;;-1:-1:-1;;;;35768:3063:0:o;89146:638::-;89570:23;89596:33;-1:-1:-1;;;;;89596:27:0;;89624:4;89596:27;:33::i;:::-;89570:59;;89644:10;:17;89665:1;89644:22;;:57;;;;;89682:10;89671:30;;;;;;;;;;;;:::i;:::-;89670:31;89644:57;89640:137;;;89725:40;;-1:-1:-1;;;89725:40:0;;-1:-1:-1;;;;;2618:32:1;;89725:40:0;;;2600:51:1;2573:18;;89725:40:0;2454:203:1;120322:160:0;120403:4;120427:47;120446:6;120454:12;;120468:5;120427:18;:47::i;25984:681::-;26107:19;26113:2;26117:8;26107:5;:19::i;:::-;-1:-1:-1;;;;;26168:14:0;;;:19;26164:483;;26222:13;;26270:14;;;26303:233;26334:62;26373:1;26377:2;26381:7;;;;;;26390:5;26334:30;:62::i;:::-;26329:167;;26432:40;;-1:-1:-1;;;26432:40:0;;;;;;;;;;;26329:167;26531:3;26523:5;:11;26303:233;;26618:3;26601:13;;:20;26597:34;;26623:8;;;65705:948;65758:7;;-1:-1:-1;;;65836:17:0;;65832:106;;-1:-1:-1;;;65874:17:0;;;-1:-1:-1;65920:2:0;65910:12;65832:106;65965:8;65956:5;:17;65952:106;;66003:8;65994:17;;;-1:-1:-1;66040:2:0;66030:12;65952:106;66085:8;66076:5;:17;66072:106;;66123:8;66114:17;;;-1:-1:-1;66160:2:0;66150:12;66072:106;66205:7;66196:5;:16;66192:103;;66242:7;66233:16;;;-1:-1:-1;66278:1:0;66268:11;66192:103;66322:7;66313:5;:16;66309:103;;66359:7;66350:16;;;-1:-1:-1;66395:1:0;66385:11;66309:103;66439:7;66430:5;:16;66426:103;;66476:7;66467:16;;;-1:-1:-1;66512:1:0;66502:11;66426:103;66556:7;66547:5;:16;66543:68;;66594:1;66584:11;66639:6;65705:948;-1:-1:-1;;65705:948:0:o;74633:153::-;74708:12;74740:38;74762:6;74770:4;74776:1;74740:21;:38::i;92223:156::-;92314:4;92367;92338:25;92351:5;92358:4;92338:12;:25::i;:::-;:33;;92223:156;-1:-1:-1;;;;92223:156:0:o;26938:1529::-;27026:13;;-1:-1:-1;;;;;27054:16:0;;27050:48;;27079:19;;-1:-1:-1;;;27079:19:0;;;;;;;;;;;27050:48;27113:8;27125:1;27113:13;27109:44;;27135:18;;-1:-1:-1;;;27135:18:0;;;;;;;;;;;27109:44;-1:-1:-1;;;;;27641:22:0;;;;;;:18;:22;;11012:2;27641:22;;:70;;27679:31;27667:44;;27641:70;;;21039:11;21015:22;21011:40;-1:-1:-1;22749:15:0;;22724:23;22720:45;21008:51;20998:62;27954:31;;;;:17;:31;;;;;:173;27972:12;28203:23;;;28241:101;28268:35;;28293:9;;;;;-1:-1:-1;;;;;28268:35:0;;;28285:1;;28268:35;;28285:1;;28268:35;28337:3;28327:7;:13;28241:101;;28358:13;:19;-1:-1:-1;24197:185:0;;;:::o;75121:398::-;75220:12;75273:5;75249:21;:29;75245:110;;;75302:41;;-1:-1:-1;;;75302:41:0;;75337:4;75302:41;;;2600:51:1;2573:18;;75302:41:0;2454:203:1;75245:110:0;75366:12;75380:23;75407:6;-1:-1:-1;;;;;75407:11:0;75426:5;75433:4;75407:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75365:73;;;;75456:55;75483:6;75491:7;75500:10;75456:26;:55::i;:::-;75449:62;75121:398;-1:-1:-1;;;;;;75121:398:0:o;92942:296::-;93025:7;93068:4;93025:7;93083:118;93107:5;:12;93103:1;:16;93083:118;;;93156:33;93166:12;93180:5;93186:1;93180:8;;;;;;;;:::i;:::-;;;;;;;93156:9;:33::i;:::-;93141:48;-1:-1:-1;93121:3:0;;93083:118;;;-1:-1:-1;93218:12:0;92942:296;-1:-1:-1;;;92942:296:0:o;76597:597::-;76745:12;76775:7;76770:417;;76799:19;76807:10;76799:7;:19::i;:::-;76770:417;;;77027:17;;:22;:49;;;;-1:-1:-1;;;;;;77053:18:0;;;:23;77027:49;77023:121;;;77104:24;;-1:-1:-1;;;77104:24:0;;-1:-1:-1;;;;;2618:32:1;;77104:24:0;;;2600:51:1;2573:18;;77104:24:0;2454:203:1;77023:121:0;-1:-1:-1;77165:10:0;77158:17;;100372:149;100435:7;100466:1;100462;:5;:51;;100714:13;100808:15;;;100844:4;100837:15;;;100891:4;100875:21;;100462:51;;;100714:13;100808:15;;;100844:4;100837:15;;;100891:4;100875:21;;100470:20;100646:268;77747:528;77880:17;;:21;77876:392;;78112:10;78106:17;78169:15;78156:10;78152:2;78148:19;78141:44;77876:392;78239:17;;-1:-1:-1;;;78239:17:0;;;;;;;;;;;359:131:1;-1:-1:-1;;;;;;433:32:1;;423:43;;413:71;;480:1;477;470:12;495:245;553:6;606:2;594:9;585:7;581:23;577:32;574:52;;;622:1;619;612:12;574:52;661:9;648:23;680:30;704:5;680:30;:::i;937:131::-;-1:-1:-1;;;;;1012:31:1;;1002:42;;992:70;;1058:1;1055;1048:12;1073:435;1140:6;1148;1201:2;1189:9;1180:7;1176:23;1172:32;1169:52;;;1217:1;1214;1207:12;1169:52;1256:9;1243:23;1275:31;1300:5;1275:31;:::i;:::-;1325:5;-1:-1:-1;1382:2:1;1367:18;;1354:32;-1:-1:-1;;;;;1417:40:1;;1405:53;;1395:81;;1472:1;1469;1462:12;1395:81;1495:7;1485:17;;;1073:435;;;;;:::o;1513:250::-;1598:1;1608:113;1622:6;1619:1;1616:13;1608:113;;;1698:11;;;1692:18;1679:11;;;1672:39;1644:2;1637:10;1608:113;;;-1:-1:-1;;1755:1:1;1737:16;;1730:27;1513:250::o;1768:271::-;1810:3;1848:5;1842:12;1875:6;1870:3;1863:19;1891:76;1960:6;1953:4;1948:3;1944:14;1937:4;1930:5;1926:16;1891:76;:::i;:::-;2021:2;2000:15;-1:-1:-1;;1996:29:1;1987:39;;;;2028:4;1983:50;;1768:271;-1:-1:-1;;1768:271:1:o;2044:220::-;2193:2;2182:9;2175:21;2156:4;2213:45;2254:2;2243:9;2239:18;2231:6;2213:45;:::i;2269:180::-;2328:6;2381:2;2369:9;2360:7;2356:23;2352:32;2349:52;;;2397:1;2394;2387:12;2349:52;-1:-1:-1;2420:23:1;;2269:180;-1:-1:-1;2269:180:1:o;2662:315::-;2730:6;2738;2791:2;2779:9;2770:7;2766:23;2762:32;2759:52;;;2807:1;2804;2797:12;2759:52;2846:9;2833:23;2865:31;2890:5;2865:31;:::i;:::-;2915:5;2967:2;2952:18;;;;2939:32;;-1:-1:-1;;;2662:315:1:o;2982:936::-;3079:6;3087;3095;3103;3111;3164:3;3152:9;3143:7;3139:23;3135:33;3132:53;;;3181:1;3178;3171:12;3132:53;3220:9;3207:23;3239:31;3264:5;3239:31;:::i;:::-;3289:5;-1:-1:-1;3346:2:1;3331:18;;3318:32;3359:33;3318:32;3359:33;:::i;:::-;3411:7;-1:-1:-1;3465:2:1;3450:18;;3437:32;;-1:-1:-1;3520:2:1;3505:18;;3492:32;3543:18;3573:14;;;3570:34;;;3600:1;3597;3590:12;3570:34;3638:6;3627:9;3623:22;3613:32;;3683:7;3676:4;3672:2;3668:13;3664:27;3654:55;;3705:1;3702;3695:12;3654:55;3745:2;3732:16;3771:2;3763:6;3760:14;3757:34;;;3787:1;3784;3777:12;3757:34;3832:7;3827:2;3818:6;3814:2;3810:15;3806:24;3803:37;3800:57;;;3853:1;3850;3843:12;3800:57;2982:936;;;;-1:-1:-1;2982:936:1;;-1:-1:-1;3884:2:1;3876:11;;3906:6;2982:936;-1:-1:-1;;;2982:936:1:o;4312:255::-;4379:6;4432:2;4420:9;4411:7;4407:23;4403:32;4400:52;;;4448:1;4445;4438:12;4400:52;4487:9;4474:23;4506:31;4531:5;4506:31;:::i;4572:456::-;4649:6;4657;4665;4718:2;4706:9;4697:7;4693:23;4689:32;4686:52;;;4734:1;4731;4724:12;4686:52;4773:9;4760:23;4792:31;4817:5;4792:31;:::i;:::-;4842:5;-1:-1:-1;4899:2:1;4884:18;;4871:32;4912:33;4871:32;4912:33;:::i;:::-;4572:456;;4964:7;;-1:-1:-1;;;5018:2:1;5003:18;;;;4990:32;;4572:456::o;5033:248::-;5101:6;5109;5162:2;5150:9;5141:7;5137:23;5133:32;5130:52;;;5178:1;5175;5168:12;5130:52;-1:-1:-1;;5201:23:1;;;5271:2;5256:18;;;5243:32;;-1:-1:-1;5033:248:1:o;5565:403::-;5648:6;5656;5709:2;5697:9;5688:7;5684:23;5680:32;5677:52;;;5725:1;5722;5715:12;5677:52;5764:9;5751:23;5783:31;5808:5;5783:31;:::i;:::-;5833:5;-1:-1:-1;5890:2:1;5875:18;;5862:32;5903:33;5862:32;5903:33;:::i;5973:118::-;6059:5;6052:13;6045:21;6038:5;6035:32;6025:60;;6081:1;6078;6071:12;6096:241;6152:6;6205:2;6193:9;6184:7;6180:23;6176:32;6173:52;;;6221:1;6218;6211:12;6173:52;6260:9;6247:23;6279:28;6301:5;6279:28;:::i;6342:367::-;6405:8;6415:6;6469:3;6462:4;6454:6;6450:17;6446:27;6436:55;;6487:1;6484;6477:12;6436:55;-1:-1:-1;6510:20:1;;6553:18;6542:30;;6539:50;;;6585:1;6582;6575:12;6539:50;6622:4;6614:6;6610:17;6598:29;;6682:3;6675:4;6665:6;6662:1;6658:14;6650:6;6646:27;6642:38;6639:47;6636:67;;;6699:1;6696;6689:12;6714:640;6818:6;6826;6834;6842;6895:2;6883:9;6874:7;6870:23;6866:32;6863:52;;;6911:1;6908;6901:12;6863:52;6950:9;6937:23;6969:31;6994:5;6969:31;:::i;:::-;7019:5;-1:-1:-1;7071:2:1;7056:18;;7043:32;;-1:-1:-1;7126:2:1;7111:18;;7098:32;7153:18;7142:30;;7139:50;;;7185:1;7182;7175:12;7139:50;7224:70;7286:7;7277:6;7266:9;7262:22;7224:70;:::i;:::-;6714:640;;;;-1:-1:-1;7313:8:1;-1:-1:-1;;;;6714:640:1:o;7611:572::-;7706:6;7714;7722;7775:2;7763:9;7754:7;7750:23;7746:32;7743:52;;;7791:1;7788;7781:12;7743:52;7830:9;7817:23;7849:31;7874:5;7849:31;:::i;:::-;7899:5;-1:-1:-1;7955:2:1;7940:18;;7927:32;7982:18;7971:30;;7968:50;;;8014:1;8011;8004:12;7968:50;8053:70;8115:7;8106:6;8095:9;8091:22;8053:70;:::i;:::-;7611:572;;8142:8;;-1:-1:-1;8027:96:1;;-1:-1:-1;;;;7611:572:1:o;8188:127::-;8249:10;8244:3;8240:20;8237:1;8230:31;8280:4;8277:1;8270:15;8304:4;8301:1;8294:15;8320:632;8385:5;8415:18;8456:2;8448:6;8445:14;8442:40;;;8462:18;;:::i;:::-;8537:2;8531:9;8505:2;8591:15;;-1:-1:-1;;8587:24:1;;;8613:2;8583:33;8579:42;8567:55;;;8637:18;;;8657:22;;;8634:46;8631:72;;;8683:18;;:::i;:::-;8723:10;8719:2;8712:22;8752:6;8743:15;;8782:6;8774;8767:22;8822:3;8813:6;8808:3;8804:16;8801:25;8798:45;;;8839:1;8836;8829:12;8798:45;8889:6;8884:3;8877:4;8869:6;8865:17;8852:44;8944:1;8937:4;8928:6;8920;8916:19;8912:30;8905:41;;;;8320:632;;;;;:::o;8957:451::-;9026:6;9079:2;9067:9;9058:7;9054:23;9050:32;9047:52;;;9095:1;9092;9085:12;9047:52;9135:9;9122:23;9168:18;9160:6;9157:30;9154:50;;;9200:1;9197;9190:12;9154:50;9223:22;;9276:4;9268:13;;9264:27;-1:-1:-1;9254:55:1;;9305:1;9302;9295:12;9254:55;9328:74;9394:7;9389:2;9376:16;9371:2;9367;9363:11;9328:74;:::i;9413:382::-;9478:6;9486;9539:2;9527:9;9518:7;9514:23;9510:32;9507:52;;;9555:1;9552;9545:12;9507:52;9594:9;9581:23;9613:31;9638:5;9613:31;:::i;:::-;9663:5;-1:-1:-1;9720:2:1;9705:18;;9692:32;9733:30;9692:32;9733:30;:::i;9985:795::-;10080:6;10088;10096;10104;10157:3;10145:9;10136:7;10132:23;10128:33;10125:53;;;10174:1;10171;10164:12;10125:53;10213:9;10200:23;10232:31;10257:5;10232:31;:::i;:::-;10282:5;-1:-1:-1;10339:2:1;10324:18;;10311:32;10352:33;10311:32;10352:33;:::i;:::-;10404:7;-1:-1:-1;10458:2:1;10443:18;;10430:32;;-1:-1:-1;10513:2:1;10498:18;;10485:32;10540:18;10529:30;;10526:50;;;10572:1;10569;10562:12;10526:50;10595:22;;10648:4;10640:13;;10636:27;-1:-1:-1;10626:55:1;;10677:1;10674;10667:12;10626:55;10700:74;10766:7;10761:2;10748:16;10743:2;10739;10735:11;10700:74;:::i;:::-;10690:84;;;9985:795;;;;;;;:::o;11627:380::-;11706:1;11702:12;;;;11749;;;11770:61;;11824:4;11816:6;11812:17;11802:27;;11770:61;11877:2;11869:6;11866:14;11846:18;11843:38;11840:161;;11923:10;11918:3;11914:20;11911:1;11904:31;11958:4;11955:1;11948:15;11986:4;11983:1;11976:15;11840:161;;11627:380;;;:::o;12012:402::-;12214:2;12196:21;;;12253:2;12233:18;;;12226:30;12292:34;12287:2;12272:18;;12265:62;-1:-1:-1;;;12358:2:1;12343:18;;12336:36;12404:3;12389:19;;12012:402::o;12419:407::-;12621:2;12603:21;;;12660:2;12640:18;;;12633:30;12699:34;12694:2;12679:18;;12672:62;-1:-1:-1;;;12765:2:1;12750:18;;12743:41;12816:3;12801:19;;12419:407::o;12831:127::-;12892:10;12887:3;12883:20;12880:1;12873:31;12923:4;12920:1;12913:15;12947:4;12944:1;12937:15;12963:125;13028:9;;;13049:10;;;13046:36;;;13062:18;;:::i;14800:343::-;15002:2;14984:21;;;15041:2;15021:18;;;15014:30;-1:-1:-1;;;15075:2:1;15060:18;;15053:49;15134:2;15119:18;;14800:343::o;15148:168::-;15221:9;;;15252;;15269:15;;;15263:22;;15249:37;15239:71;;15290:18;;:::i;15321:341::-;15523:2;15505:21;;;15562:2;15542:18;;;15535:30;-1:-1:-1;;;15596:2:1;15581:18;;15574:47;15653:2;15638:18;;15321:341::o;16428:127::-;16489:10;16484:3;16480:20;16477:1;16470:31;16520:4;16517:1;16510:15;16544:4;16541:1;16534:15;16560:251;16630:6;16683:2;16671:9;16662:7;16658:23;16654:32;16651:52;;;16699:1;16696;16689:12;16651:52;16731:9;16725:16;16750:31;16775:5;16750:31;:::i;17175:128::-;17242:9;;;17263:11;;;17260:37;;;17277:18;;:::i;17814:518::-;17916:2;17911:3;17908:11;17905:421;;;17952:5;17949:1;17942:16;17996:4;17993:1;17983:18;18066:2;18054:10;18050:19;18047:1;18043:27;18037:4;18033:38;18102:4;18090:10;18087:20;18084:47;;;-1:-1:-1;18125:4:1;18084:47;18180:2;18175:3;18171:12;18168:1;18164:20;18158:4;18154:31;18144:41;;18235:81;18253:2;18246:5;18243:13;18235:81;;;18312:1;18298:16;;18279:1;18268:13;18235:81;;18508:1345;18634:3;18628:10;18661:18;18653:6;18650:30;18647:56;;;18683:18;;:::i;:::-;18712:97;18802:6;18762:38;18794:4;18788:11;18762:38;:::i;:::-;18756:4;18712:97;:::i;:::-;18864:4;;18921:2;18910:14;;18938:1;18933:663;;;;19640:1;19657:6;19654:89;;;-1:-1:-1;19709:19:1;;;19703:26;19654:89;-1:-1:-1;;18465:1:1;18461:11;;;18457:24;18453:29;18443:40;18489:1;18485:11;;;18440:57;19756:81;;18903:944;;18933:663;17761:1;17754:14;;;17798:4;17785:18;;-1:-1:-1;;18969:20:1;;;19087:236;19101:7;19098:1;19095:14;19087:236;;;19190:19;;;19184:26;19169:42;;19282:27;;;;19250:1;19238:14;;;;19117:19;;19087:236;;;19091:3;19351:6;19342:7;19339:19;19336:201;;;19412:19;;;19406:26;-1:-1:-1;;19495:1:1;19491:14;;;19507:3;19487:24;19483:37;19479:42;19464:58;19449:74;;19336:201;-1:-1:-1;;;;;19583:1:1;19567:14;;;19563:22;19550:36;;-1:-1:-1;18508:1345:1:o;19990:217::-;20030:1;20056;20046:132;;20100:10;20095:3;20091:20;20088:1;20081:31;20135:4;20132:1;20125:15;20163:4;20160:1;20153:15;20046:132;-1:-1:-1;20192:9:1;;19990:217::o;20569:184::-;20639:6;20692:2;20680:9;20671:7;20667:23;20663:32;20660:52;;;20708:1;20705;20698:12;20660:52;-1:-1:-1;20731:16:1;;20569:184;-1:-1:-1;20569:184:1:o;21470:1188::-;21747:3;21776:1;21809:6;21803:13;21839:36;21865:9;21839:36;:::i;:::-;21894:1;21911:17;;;21937:133;;;;22084:1;22079:358;;;;21904:533;;21937:133;-1:-1:-1;;21970:24:1;;21958:37;;22043:14;;22036:22;22024:35;;22015:45;;;-1:-1:-1;21937:133:1;;22079:358;22110:6;22107:1;22100:17;22140:4;22185;22182:1;22172:18;22212:1;22226:165;22240:6;22237:1;22234:13;22226:165;;;22318:14;;22305:11;;;22298:35;22361:16;;;;22255:10;;22226:165;;;22230:3;;;22420:6;22415:3;22411:16;22404:23;;21904:533;;;;;22468:6;22462:13;22484:68;22543:8;22538:3;22531:4;22523:6;22519:17;22484:68;:::i;:::-;-1:-1:-1;;;22574:18:1;;22601:22;;;22650:1;22639:13;;21470:1188;-1:-1:-1;;;;21470:1188:1:o;23220:489::-;-1:-1:-1;;;;;23489:15:1;;;23471:34;;23541:15;;23536:2;23521:18;;23514:43;23588:2;23573:18;;23566:34;;;23636:3;23631:2;23616:18;;23609:31;;;23414:4;;23657:46;;23683:19;;23675:6;23657:46;:::i;23714:249::-;23783:6;23836:2;23824:9;23815:7;23811:23;23807:32;23804:52;;;23852:1;23849;23842:12;23804:52;23884:9;23878:16;23903:30;23927:5;23903:30;:::i;23968:245::-;24035:6;24088:2;24076:9;24067:7;24063:23;24059:32;24056:52;;;24104:1;24101;24094:12;24056:52;24136:9;24130:16;24155:28;24177:5;24155:28;:::i;24452:287::-;24581:3;24619:6;24613:13;24635:66;24694:6;24689:3;24682:4;24674:6;24670:17;24635:66;:::i;:::-;24717:16;;;;;24452:287;-1:-1:-1;;24452:287:1:o
Swarm Source
ipfs://9998ce91533ebbed63eae690723f6df78efdaa3a139419403708870029376b24
Loading...
Loading
Loading...
Loading
[ 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.