Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,008 FOXES
Holders
990
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FOXESLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Foxes
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-07 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * - `extraData` = `0` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * - `extraData` = `<Extra data when token was burned>` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` * - `extraData` = `<Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @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/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: Foxes/Fox.sol pragma solidity ^0.8.9; contract Foxes is ERC2981, ERC721AQueryable, Ownable { using Address for address payable; using Strings for uint256; uint256 public immutable _price; uint32 public immutable _txLimit; uint32 public immutable _maxSupply; uint32 public immutable _teamReserved; uint32 public immutable _walletLimit; bool public _started = false; uint32 public _teamMinted; string public _metadataURI = "ipfs://"; struct HelperState { uint256 price; uint32 txLimit; uint32 walletLimit; uint32 maxSupply; uint32 teamReserved; uint32 totalMinted; uint32 userMinted; bool started; } constructor() ERC721A("Foxes", "FOXES") { _price = 0.0073 ether; _maxSupply = 4922; _txLimit = 20; _walletLimit = 200; _teamReserved = 10; _setDefaultRoyalty(owner(), 500); } function mint(uint32 amount) external payable { require(_started, "Sale is not started"); require(amount + _totalMinted() <= _maxSupply - _teamReserved, "Exceed max supply"); require(amount <= _txLimit, "Exceed transaction limit"); uint256 minted = _numberMinted(msg.sender); if (minted > 0) { require(msg.value >= amount * _price, "Insufficient funds"); } else { require(msg.value >= (amount - 1) * _price, "Insufficient funds"); } require(minted + amount <= _walletLimit, "Exceed wallet limit"); _safeMint(msg.sender, amount); } function _state(address minter) external view returns (HelperState memory) { return HelperState({ price: _price, txLimit: _txLimit, walletLimit: _walletLimit, maxSupply: _maxSupply, teamReserved: _teamReserved, totalMinted: uint32(ERC721A._totalMinted()), userMinted: uint32(_numberMinted(minter)), started: _started }); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _metadataURI; return string(abi.encodePacked(baseURI, tokenId.toString(), "")); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721A) returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == type(IERC721A).interfaceId || super.supportsInterface(interfaceId); } function devMint(address to, uint32 amount) external onlyOwner { _teamMinted += amount; require (_teamMinted <= _teamReserved, "Exceed max supply"); _safeMint(to, amount); } function setFeeNumerator(uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(owner(), feeNumerator); } function setStarted(bool started) external onlyOwner { _started = started; } function setMetadataURI(string memory uri) external onlyOwner { _metadataURI = uri; } function withdraw() external onlyOwner { payable(msg.sender).sendValue(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"_state","outputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint32","name":"txLimit","type":"uint32"},{"internalType":"uint32","name":"walletLimit","type":"uint32"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"teamReserved","type":"uint32"},{"internalType":"uint32","name":"totalMinted","type":"uint32"},{"internalType":"uint32","name":"userMinted","type":"uint32"},{"internalType":"bool","name":"started","type":"bool"}],"internalType":"struct Foxes.HelperState","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamReserved","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_txLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setFeeNumerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"started","type":"bool"}],"name":"setStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600a805460ff60a01b19169055610160604052600761012081905266697066733a2f2f60c81b6101409081526200003a91600b919062000264565b503480156200004857600080fd5b5060405180604001604052806005815260200164466f78657360d81b81525060405180604001604052806005815260200164464f58455360d81b81525081600490805190602001906200009d92919062000264565b508051620000b390600590602084019062000264565b5050600060025550620000c6336200010d565b6619ef4fb2dc400060805261133a60c052601460a05260c861010052600a60e05262000107620000fe600a546001600160a01b031690565b6101f46200015f565b62000347565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620001d35760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200022b5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001ca565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b82805462000272906200030a565b90600052602060002090601f016020900481019282620002965760008555620002e1565b82601f10620002b157805160ff1916838001178555620002e1565b82800160010185558215620002e1579182015b82811115620002e1578251825591602001919060010190620002c4565b50620002ef929150620002f3565b5090565b5b80821115620002ef5760008155600101620002f4565b600181811c908216806200031f57607f821691505b602082108114156200034157634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051612931620003e0600039600081816102e201528181610d39015261155c0152600081816107670152818161098e01528181610d91015261131c01526000818161036e01528181610d65015261133d01526000818161050501528181610d0d01526113c40152600081816103a201528181610ce70152818161146601526114dc01526129316000f3fe60806040526004361061021a5760003560e01c8063653a819e11610123578063a71bbebe116100ab578063dd48f07d1161006f578063dd48f07d146106d1578063e985e9c5146106f5578063ef6b141a14610715578063f2fde38b14610735578063f4e2ae581461075557600080fd5b8063a71bbebe1461063c578063b88d4fde1461064f578063c23dc68f1461066f578063c87b56dd1461069c578063d4a67623146106bc57600080fd5b80638462151c116100f25780638462151c1461059c5780638da5cb5b146105c957806395d89b41146105e757806399a2557a146105fc578063a22cb4651461061c57600080fd5b8063653a819e1461052757806370a0823114610547578063715018a614610567578063750521f51461057c57600080fd5b806323b872dd116101a65780634df22a54116101755780634df22a54146104585780634df8bb45146104795780635bbb2177146104a65780636352211e146104d357806363553e7c146104f357600080fd5b806323b872dd146103c45780632a55205a146103e45780633ccfd60b1461042357806342842e0e1461043857600080fd5b80630e2351e2116101ed5780630e2351e2146102d057806317a5aced1461031957806318160ddd1461033957806322f4596f1461035c578063235b6ea11461039057600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612143565b610789565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696107cf565b60405161024b91906121b8565b34801561028257600080fd5b506102966102913660046121cb565b610861565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004612200565b6108a5565b005b3480156102dc57600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff909116815260200161024b565b34801561032557600080fd5b506102ce61033436600461223e565b610945565b34801561034557600080fd5b50600354600254035b60405190815260200161024b565b34801561036857600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000081565b34801561039c57600080fd5b5061034e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103d057600080fd5b506102ce6103df366004612271565b610a27565b3480156103f057600080fd5b506104046103ff3660046122ad565b610bb8565b604080516001600160a01b03909316835260208301919091520161024b565b34801561042f57600080fd5b506102ce610c64565b34801561044457600080fd5b506102ce610453366004612271565b610c78565b34801561046457600080fd5b50600a5461023f90600160a01b900460ff1681565b34801561048557600080fd5b506104996104943660046122cf565b610c98565b60405161024b91906122ea565b3480156104b257600080fd5b506104c66104c13660046123a7565b610e1e565b60405161024b9190612488565b3480156104df57600080fd5b506102966104ee3660046121cb565b610eeb565b3480156104ff57600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000081565b34801561053357600080fd5b506102ce6105423660046124ca565b610ef6565b34801561055357600080fd5b5061034e6105623660046122cf565b610f1c565b34801561057357600080fd5b506102ce610f6a565b34801561058857600080fd5b506102ce61059736600461254a565b610f7c565b3480156105a857600080fd5b506105bc6105b73660046122cf565b610f97565b60405161024b9190612592565b3480156105d557600080fd5b50600a546001600160a01b0316610296565b3480156105f357600080fd5b506102696110a6565b34801561060857600080fd5b506105bc6106173660046125ca565b6110b5565b34801561062857600080fd5b506102ce61063736600461260d565b611232565b6102ce61064a366004612637565b6112c8565b34801561065b57600080fd5b506102ce61066a366004612652565b6115e7565b34801561067b57600080fd5b5061068f61068a3660046121cb565b611631565b60405161024b91906126cd565b3480156106a857600080fd5b506102696106b73660046121cb565b6116a9565b3480156106c857600080fd5b50610269611792565b3480156106dd57600080fd5b50600a5461030490600160a81b900463ffffffff1681565b34801561070157600080fd5b5061023f6107103660046126db565b611820565b34801561072157600080fd5b506102ce610730366004612705565b61184e565b34801561074157600080fd5b506102ce6107503660046122cf565b611874565b34801561076157600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b0319821663152a902d60e11b14806107ba57506001600160e01b0319821663184371e560e31b145b806107c957506107c9826118ea565b92915050565b6060600480546107de90612720565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90612720565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b600061086c82611938565b610889576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108b082610eeb565b9050336001600160a01b038216146108e9576108cc8133611820565b6108e9576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61094d611960565b80600a60158282829054906101000a900463ffffffff1661096e9190612771565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000063ffffffff16600a60159054906101000a900463ffffffff1663ffffffff161115610a135760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064015b60405180910390fd5b610a23828263ffffffff166119ba565b5050565b6000610a32826119d4565b9050836001600160a01b0316816001600160a01b031614610a655760405162a1148160e81b815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b03881690911417610ab257610a958633611820565b610ab257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ad957604051633a954ecd60e21b815260040160405180910390fd5b8015610ae457600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040902055600160e11b8316610b6f5760018401600081815260066020526040902054610b6d576002548114610b6d5760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c2d5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610c4c906001600160601b031687612799565b610c5691906127ce565b915196919550909350505050565b610c6c611960565b610c763347611a35565b565b610c93838383604051806020016040528060008152506115e7565b505050565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526040518061010001604052807f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff168152602001610dc460025490565b63ffffffff168152602001610dfb846001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b63ffffffff168152600a54600160a01b900460ff16151560209091015292915050565b80516060906000816001600160401b03811115610e3d57610e3d612361565b604051908082528060200260200182016040528015610e8f57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e5b5790505b50905060005b828114610ee357610ebe858281518110610eb157610eb16127e2565b6020026020010151611631565b828281518110610ed057610ed06127e2565b6020908102919091010152600101610e95565b509392505050565b60006107c9826119d4565b610efe611960565b610f19610f13600a546001600160a01b031690565b82611b4e565b50565b60006001600160a01b038216610f45576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b610f72611960565b610c766000611c4b565b610f84611960565b8051610a2390600b906020840190612094565b60606000806000610fa785610f1c565b90506000816001600160401b03811115610fc357610fc3612361565b604051908082528060200260200182016040528015610fec578160200160208202803683370190505b50905061101960408051608081018252600080825260208201819052918101829052606081019190915290565b60005b83861461109a5761102c81611c9d565b915081604001511561103d57611092565b81516001600160a01b03161561105257815194505b876001600160a01b0316856001600160a01b031614156110925780838780600101985081518110611085576110856127e2565b6020026020010181815250505b60010161101c565b50909695505050505050565b6060600580546107de90612720565b60608183106110d757604051631960ccad60e11b815260040160405180910390fd5b6000806110e360025490565b9050808411156110f1578093505b60006110fc87610f1c565b90508486101561111b5785850381811015611115578091505b5061111f565b5060005b6000816001600160401b0381111561113957611139612361565b604051908082528060200260200182016040528015611162578160200160208202803683370190505b5090508161117557935061122b92505050565b600061118088611631565b905060008160400151611191575080515b885b8881141580156111a35750848714155b1561121f576111b181611c9d565b92508260400151156111c257611217565b82516001600160a01b0316156111d757825191505b8a6001600160a01b0316826001600160a01b03161415611217578084888060010199508151811061120a5761120a6127e2565b6020026020010181815250505b600101611193565b50505092835250909150505b9392505050565b6001600160a01b03821633141561125c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a54600160a01b900460ff166113175760405162461bcd60e51b815260206004820152601360248201527214d85b19481a5cc81b9bdd081cdd185c9d1959606a1b6044820152606401610a0a565b6113617f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006127f8565b63ffffffff1661137060025490565b6113809063ffffffff841661281d565b11156113c25760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b6044820152606401610a0a565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168163ffffffff16111561143e5760405162461bcd60e51b815260206004820152601860248201527f457863656564207472616e73616374696f6e206c696d697400000000000000006044820152606401610a0a565b336000908152600760205260409081902054901c6001600160401b031680156114da576114917f000000000000000000000000000000000000000000000000000000000000000063ffffffff8416612799565b3410156114d55760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a0a565b61155a565b7f00000000000000000000000000000000000000000000000000000000000000006115066001846127f8565b63ffffffff166115169190612799565b34101561155a5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a0a565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168263ffffffff1682611593919061281d565b11156115d75760405162461bcd60e51b8152602060048201526013602482015272115e18d95959081dd85b1b195d081b1a5b5a5d606a1b6044820152606401610a0a565b610a23338363ffffffff166119ba565b6115f2848484610a27565b6001600160a01b0383163b1561162b5761160e84848484611cd9565b61162b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051608080820183526000808352602080840182905283850182905260608085018390528551938401865282845290830182905293820181905292810183905290915060025483106116855792915050565b61168e83611c9d565b90508060400151156116a05792915050565b61122b83611dd1565b60606116b482611938565b6116d157604051630a14c4b560e41b815260040160405180910390fd5b6000600b80546116e090612720565b80601f016020809104026020016040519081016040528092919081815260200182805461170c90612720565b80156117595780601f1061172e57610100808354040283529160200191611759565b820191906000526020600020905b81548152906001019060200180831161173c57829003601f168201915b505050505090508061176a84611e06565b60405160200161177b929190612835565b604051602081830303815290604052915050919050565b600b805461179f90612720565b80601f01602080910402602001604051908101604052809291908181526020018280546117cb90612720565b80156118185780601f106117ed57610100808354040283529160200191611818565b820191906000526020600020905b8154815290600101906020018083116117fb57829003601f168201915b505050505081565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b611856611960565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b61187c611960565b6001600160a01b0381166118e15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a0a565b610f1981611c4b565b60006301ffc9a760e01b6001600160e01b03198316148061191b57506380ac58cd60e01b6001600160e01b03198316145b806107c95750506001600160e01b031916635b5e139f60e01b1490565b6000600254821080156107c9575050600090815260066020526040902054600160e01b161590565b600a546001600160a01b03163314610c765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0a565b610a23828260405180602001604052806000815250611f03565b600081600254811015611a1c57600081815260066020526040902054600160e01b8116611a1a575b8061122b5750600019016000818152600660205260409020546119fc565b505b604051636f96cda160e11b815260040160405180910390fd5b80471015611a855760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a0a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611ad2576040519150601f19603f3d011682016040523d82523d6000602084013e611ad7565b606091505b5050905080610c935760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a0a565b6127106001600160601b0382161115611bbc5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610a0a565b6001600160a01b038216611c125760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a0a565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600660205260409020546107c990611f70565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d0e90339089908890889060040161285b565b602060405180830381600087803b158015611d2857600080fd5b505af1925050508015611d58575060408051601f3d908101601f19168201909252611d5591810190612898565b60015b611db3573d808015611d86576040519150601f19603f3d011682016040523d82523d6000602084013e611d8b565b606091505b508051611dab576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526107c9611e01836119d4565b611f70565b606081611e2a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e545780611e3e816128b5565b9150611e4d9050600a836127ce565b9150611e2e565b6000816001600160401b03811115611e6e57611e6e612361565b6040519080825280601f01601f191660200182016040528015611e98576020820181803683370190505b5090505b8415611dc957611ead6001836128d0565b9150611eba600a866128e7565b611ec590603061281d565b60f81b818381518110611eda57611eda6127e2565b60200101906001600160f81b031916908160001a905350611efc600a866127ce565b9450611e9c565b611f0d8383611fb7565b6001600160a01b0383163b15610c93576002548281035b611f376000868380600101945086611cd9565b611f54576040516368d2bf6b60e11b815260040160405180910390fd5b818110611f24578160025414611f6957600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6002546001600160a01b038316611fe057604051622e076360e81b815260040160405180910390fd5b81611ffe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106120485760025550505050565b8280546120a090612720565b90600052602060002090601f0160209004810192826120c25760008555612108565b82601f106120db57805160ff1916838001178555612108565b82800160010185558215612108579182015b828111156121085782518255916020019190600101906120ed565b50612114929150612118565b5090565b5b808211156121145760008155600101612119565b6001600160e01b031981168114610f1957600080fd5b60006020828403121561215557600080fd5b813561122b8161212d565b60005b8381101561217b578181015183820152602001612163565b8381111561162b5750506000910152565b600081518084526121a4816020860160208601612160565b601f01601f19169290920160200192915050565b60208152600061122b602083018461218c565b6000602082840312156121dd57600080fd5b5035919050565b80356001600160a01b03811681146121fb57600080fd5b919050565b6000806040838503121561221357600080fd5b61221c836121e4565b946020939093013593505050565b803563ffffffff811681146121fb57600080fd5b6000806040838503121561225157600080fd5b61225a836121e4565b91506122686020840161222a565b90509250929050565b60008060006060848603121561228657600080fd5b61228f846121e4565b925061229d602085016121e4565b9150604084013590509250925092565b600080604083850312156122c057600080fd5b50508035926020909101359150565b6000602082840312156122e157600080fd5b61122b826121e4565b60006101008201905082518252602083015163ffffffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505060e083015161235a60e084018215159052565b5092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561239f5761239f612361565b604052919050565b600060208083850312156123ba57600080fd5b82356001600160401b03808211156123d157600080fd5b818501915085601f8301126123e557600080fd5b8135818111156123f7576123f7612361565b8060051b9150612408848301612377565b818152918301840191848101908884111561242257600080fd5b938501935b8385101561244057843582529385019390850190612427565b98975050505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561109a576124b783855161244c565b92840192608092909201916001016124a4565b6000602082840312156124dc57600080fd5b81356001600160601b038116811461122b57600080fd5b60006001600160401b0383111561250c5761250c612361565b61251f601f8401601f1916602001612377565b905082815283838301111561253357600080fd5b828260208301376000602084830101529392505050565b60006020828403121561255c57600080fd5b81356001600160401b0381111561257257600080fd5b8201601f8101841361258357600080fd5b611dc9848235602084016124f3565b6020808252825182820181905260009190848201906040850190845b8181101561109a578351835292840192918401916001016125ae565b6000806000606084860312156125df57600080fd5b6125e8846121e4565b95602085013595506040909401359392505050565b803580151581146121fb57600080fd5b6000806040838503121561262057600080fd5b612629836121e4565b9150612268602084016125fd565b60006020828403121561264957600080fd5b61122b8261222a565b6000806000806080858703121561266857600080fd5b612671856121e4565b935061267f602086016121e4565b92506040850135915060608501356001600160401b038111156126a157600080fd5b8501601f810187136126b257600080fd5b6126c1878235602084016124f3565b91505092959194509250565b608081016107c9828461244c565b600080604083850312156126ee57600080fd5b6126f7836121e4565b9150612268602084016121e4565b60006020828403121561271757600080fd5b61122b826125fd565b600181811c9082168061273457607f821691505b6020821081141561275557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156127905761279061275b565b01949350505050565b60008160001904831182151516156127b3576127b361275b565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826127dd576127dd6127b8565b500490565b634e487b7160e01b600052603260045260246000fd5b600063ffffffff838116908316818110156128155761281561275b565b039392505050565b600082198211156128305761283061275b565b500190565b60008351612847818460208801612160565b835190830190612790818360208801612160565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061288e9083018461218c565b9695505050505050565b6000602082840312156128aa57600080fd5b815161122b8161212d565b60006000198214156128c9576128c961275b565b5060010190565b6000828210156128e2576128e261275b565b500390565b6000826128f6576128f66127b8565b50069056fea264697066735822122051c816d184e5b93638d5d5e17fb3571123cd1049c8594e3e6d5a508915eebcf664736f6c63430008090033
Deployed Bytecode
0x60806040526004361061021a5760003560e01c8063653a819e11610123578063a71bbebe116100ab578063dd48f07d1161006f578063dd48f07d146106d1578063e985e9c5146106f5578063ef6b141a14610715578063f2fde38b14610735578063f4e2ae581461075557600080fd5b8063a71bbebe1461063c578063b88d4fde1461064f578063c23dc68f1461066f578063c87b56dd1461069c578063d4a67623146106bc57600080fd5b80638462151c116100f25780638462151c1461059c5780638da5cb5b146105c957806395d89b41146105e757806399a2557a146105fc578063a22cb4651461061c57600080fd5b8063653a819e1461052757806370a0823114610547578063715018a614610567578063750521f51461057c57600080fd5b806323b872dd116101a65780634df22a54116101755780634df22a54146104585780634df8bb45146104795780635bbb2177146104a65780636352211e146104d357806363553e7c146104f357600080fd5b806323b872dd146103c45780632a55205a146103e45780633ccfd60b1461042357806342842e0e1461043857600080fd5b80630e2351e2116101ed5780630e2351e2146102d057806317a5aced1461031957806318160ddd1461033957806322f4596f1461035c578063235b6ea11461039057600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612143565b610789565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696107cf565b60405161024b91906121b8565b34801561028257600080fd5b506102966102913660046121cb565b610861565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004612200565b6108a5565b005b3480156102dc57600080fd5b506103047f00000000000000000000000000000000000000000000000000000000000000c881565b60405163ffffffff909116815260200161024b565b34801561032557600080fd5b506102ce61033436600461223e565b610945565b34801561034557600080fd5b50600354600254035b60405190815260200161024b565b34801561036857600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000133a81565b34801561039c57600080fd5b5061034e7f0000000000000000000000000000000000000000000000000019ef4fb2dc400081565b3480156103d057600080fd5b506102ce6103df366004612271565b610a27565b3480156103f057600080fd5b506104046103ff3660046122ad565b610bb8565b604080516001600160a01b03909316835260208301919091520161024b565b34801561042f57600080fd5b506102ce610c64565b34801561044457600080fd5b506102ce610453366004612271565b610c78565b34801561046457600080fd5b50600a5461023f90600160a01b900460ff1681565b34801561048557600080fd5b506104996104943660046122cf565b610c98565b60405161024b91906122ea565b3480156104b257600080fd5b506104c66104c13660046123a7565b610e1e565b60405161024b9190612488565b3480156104df57600080fd5b506102966104ee3660046121cb565b610eeb565b3480156104ff57600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000001481565b34801561053357600080fd5b506102ce6105423660046124ca565b610ef6565b34801561055357600080fd5b5061034e6105623660046122cf565b610f1c565b34801561057357600080fd5b506102ce610f6a565b34801561058857600080fd5b506102ce61059736600461254a565b610f7c565b3480156105a857600080fd5b506105bc6105b73660046122cf565b610f97565b60405161024b9190612592565b3480156105d557600080fd5b50600a546001600160a01b0316610296565b3480156105f357600080fd5b506102696110a6565b34801561060857600080fd5b506105bc6106173660046125ca565b6110b5565b34801561062857600080fd5b506102ce61063736600461260d565b611232565b6102ce61064a366004612637565b6112c8565b34801561065b57600080fd5b506102ce61066a366004612652565b6115e7565b34801561067b57600080fd5b5061068f61068a3660046121cb565b611631565b60405161024b91906126cd565b3480156106a857600080fd5b506102696106b73660046121cb565b6116a9565b3480156106c857600080fd5b50610269611792565b3480156106dd57600080fd5b50600a5461030490600160a81b900463ffffffff1681565b34801561070157600080fd5b5061023f6107103660046126db565b611820565b34801561072157600080fd5b506102ce610730366004612705565b61184e565b34801561074157600080fd5b506102ce6107503660046122cf565b611874565b34801561076157600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000a81565b60006001600160e01b0319821663152a902d60e11b14806107ba57506001600160e01b0319821663184371e560e31b145b806107c957506107c9826118ea565b92915050565b6060600480546107de90612720565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90612720565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b600061086c82611938565b610889576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108b082610eeb565b9050336001600160a01b038216146108e9576108cc8133611820565b6108e9576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61094d611960565b80600a60158282829054906101000a900463ffffffff1661096e9190612771565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000a63ffffffff16600a60159054906101000a900463ffffffff1663ffffffff161115610a135760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064015b60405180910390fd5b610a23828263ffffffff166119ba565b5050565b6000610a32826119d4565b9050836001600160a01b0316816001600160a01b031614610a655760405162a1148160e81b815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b03881690911417610ab257610a958633611820565b610ab257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ad957604051633a954ecd60e21b815260040160405180910390fd5b8015610ae457600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040902055600160e11b8316610b6f5760018401600081815260066020526040902054610b6d576002548114610b6d5760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c2d5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610c4c906001600160601b031687612799565b610c5691906127ce565b915196919550909350505050565b610c6c611960565b610c763347611a35565b565b610c93838383604051806020016040528060008152506115e7565b505050565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526040518061010001604052807f0000000000000000000000000000000000000000000000000019ef4fb2dc400081526020017f000000000000000000000000000000000000000000000000000000000000001463ffffffff1681526020017f00000000000000000000000000000000000000000000000000000000000000c863ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000133a63ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000a63ffffffff168152602001610dc460025490565b63ffffffff168152602001610dfb846001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b63ffffffff168152600a54600160a01b900460ff16151560209091015292915050565b80516060906000816001600160401b03811115610e3d57610e3d612361565b604051908082528060200260200182016040528015610e8f57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e5b5790505b50905060005b828114610ee357610ebe858281518110610eb157610eb16127e2565b6020026020010151611631565b828281518110610ed057610ed06127e2565b6020908102919091010152600101610e95565b509392505050565b60006107c9826119d4565b610efe611960565b610f19610f13600a546001600160a01b031690565b82611b4e565b50565b60006001600160a01b038216610f45576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b610f72611960565b610c766000611c4b565b610f84611960565b8051610a2390600b906020840190612094565b60606000806000610fa785610f1c565b90506000816001600160401b03811115610fc357610fc3612361565b604051908082528060200260200182016040528015610fec578160200160208202803683370190505b50905061101960408051608081018252600080825260208201819052918101829052606081019190915290565b60005b83861461109a5761102c81611c9d565b915081604001511561103d57611092565b81516001600160a01b03161561105257815194505b876001600160a01b0316856001600160a01b031614156110925780838780600101985081518110611085576110856127e2565b6020026020010181815250505b60010161101c565b50909695505050505050565b6060600580546107de90612720565b60608183106110d757604051631960ccad60e11b815260040160405180910390fd5b6000806110e360025490565b9050808411156110f1578093505b60006110fc87610f1c565b90508486101561111b5785850381811015611115578091505b5061111f565b5060005b6000816001600160401b0381111561113957611139612361565b604051908082528060200260200182016040528015611162578160200160208202803683370190505b5090508161117557935061122b92505050565b600061118088611631565b905060008160400151611191575080515b885b8881141580156111a35750848714155b1561121f576111b181611c9d565b92508260400151156111c257611217565b82516001600160a01b0316156111d757825191505b8a6001600160a01b0316826001600160a01b03161415611217578084888060010199508151811061120a5761120a6127e2565b6020026020010181815250505b600101611193565b50505092835250909150505b9392505050565b6001600160a01b03821633141561125c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a54600160a01b900460ff166113175760405162461bcd60e51b815260206004820152601360248201527214d85b19481a5cc81b9bdd081cdd185c9d1959606a1b6044820152606401610a0a565b6113617f000000000000000000000000000000000000000000000000000000000000000a7f000000000000000000000000000000000000000000000000000000000000133a6127f8565b63ffffffff1661137060025490565b6113809063ffffffff841661281d565b11156113c25760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b6044820152606401610a0a565b7f000000000000000000000000000000000000000000000000000000000000001463ffffffff168163ffffffff16111561143e5760405162461bcd60e51b815260206004820152601860248201527f457863656564207472616e73616374696f6e206c696d697400000000000000006044820152606401610a0a565b336000908152600760205260409081902054901c6001600160401b031680156114da576114917f0000000000000000000000000000000000000000000000000019ef4fb2dc400063ffffffff8416612799565b3410156114d55760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a0a565b61155a565b7f0000000000000000000000000000000000000000000000000019ef4fb2dc40006115066001846127f8565b63ffffffff166115169190612799565b34101561155a5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a0a565b7f00000000000000000000000000000000000000000000000000000000000000c863ffffffff168263ffffffff1682611593919061281d565b11156115d75760405162461bcd60e51b8152602060048201526013602482015272115e18d95959081dd85b1b195d081b1a5b5a5d606a1b6044820152606401610a0a565b610a23338363ffffffff166119ba565b6115f2848484610a27565b6001600160a01b0383163b1561162b5761160e84848484611cd9565b61162b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051608080820183526000808352602080840182905283850182905260608085018390528551938401865282845290830182905293820181905292810183905290915060025483106116855792915050565b61168e83611c9d565b90508060400151156116a05792915050565b61122b83611dd1565b60606116b482611938565b6116d157604051630a14c4b560e41b815260040160405180910390fd5b6000600b80546116e090612720565b80601f016020809104026020016040519081016040528092919081815260200182805461170c90612720565b80156117595780601f1061172e57610100808354040283529160200191611759565b820191906000526020600020905b81548152906001019060200180831161173c57829003601f168201915b505050505090508061176a84611e06565b60405160200161177b929190612835565b604051602081830303815290604052915050919050565b600b805461179f90612720565b80601f01602080910402602001604051908101604052809291908181526020018280546117cb90612720565b80156118185780601f106117ed57610100808354040283529160200191611818565b820191906000526020600020905b8154815290600101906020018083116117fb57829003601f168201915b505050505081565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b611856611960565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b61187c611960565b6001600160a01b0381166118e15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a0a565b610f1981611c4b565b60006301ffc9a760e01b6001600160e01b03198316148061191b57506380ac58cd60e01b6001600160e01b03198316145b806107c95750506001600160e01b031916635b5e139f60e01b1490565b6000600254821080156107c9575050600090815260066020526040902054600160e01b161590565b600a546001600160a01b03163314610c765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0a565b610a23828260405180602001604052806000815250611f03565b600081600254811015611a1c57600081815260066020526040902054600160e01b8116611a1a575b8061122b5750600019016000818152600660205260409020546119fc565b505b604051636f96cda160e11b815260040160405180910390fd5b80471015611a855760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a0a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611ad2576040519150601f19603f3d011682016040523d82523d6000602084013e611ad7565b606091505b5050905080610c935760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a0a565b6127106001600160601b0382161115611bbc5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610a0a565b6001600160a01b038216611c125760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a0a565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600660205260409020546107c990611f70565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d0e90339089908890889060040161285b565b602060405180830381600087803b158015611d2857600080fd5b505af1925050508015611d58575060408051601f3d908101601f19168201909252611d5591810190612898565b60015b611db3573d808015611d86576040519150601f19603f3d011682016040523d82523d6000602084013e611d8b565b606091505b508051611dab576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526107c9611e01836119d4565b611f70565b606081611e2a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e545780611e3e816128b5565b9150611e4d9050600a836127ce565b9150611e2e565b6000816001600160401b03811115611e6e57611e6e612361565b6040519080825280601f01601f191660200182016040528015611e98576020820181803683370190505b5090505b8415611dc957611ead6001836128d0565b9150611eba600a866128e7565b611ec590603061281d565b60f81b818381518110611eda57611eda6127e2565b60200101906001600160f81b031916908160001a905350611efc600a866127ce565b9450611e9c565b611f0d8383611fb7565b6001600160a01b0383163b15610c93576002548281035b611f376000868380600101945086611cd9565b611f54576040516368d2bf6b60e11b815260040160405180910390fd5b818110611f24578160025414611f6957600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6002546001600160a01b038316611fe057604051622e076360e81b815260040160405180910390fd5b81611ffe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106120485760025550505050565b8280546120a090612720565b90600052602060002090601f0160209004810192826120c25760008555612108565b82601f106120db57805160ff1916838001178555612108565b82800160010185558215612108579182015b828111156121085782518255916020019190600101906120ed565b50612114929150612118565b5090565b5b808211156121145760008155600101612119565b6001600160e01b031981168114610f1957600080fd5b60006020828403121561215557600080fd5b813561122b8161212d565b60005b8381101561217b578181015183820152602001612163565b8381111561162b5750506000910152565b600081518084526121a4816020860160208601612160565b601f01601f19169290920160200192915050565b60208152600061122b602083018461218c565b6000602082840312156121dd57600080fd5b5035919050565b80356001600160a01b03811681146121fb57600080fd5b919050565b6000806040838503121561221357600080fd5b61221c836121e4565b946020939093013593505050565b803563ffffffff811681146121fb57600080fd5b6000806040838503121561225157600080fd5b61225a836121e4565b91506122686020840161222a565b90509250929050565b60008060006060848603121561228657600080fd5b61228f846121e4565b925061229d602085016121e4565b9150604084013590509250925092565b600080604083850312156122c057600080fd5b50508035926020909101359150565b6000602082840312156122e157600080fd5b61122b826121e4565b60006101008201905082518252602083015163ffffffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505060e083015161235a60e084018215159052565b5092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561239f5761239f612361565b604052919050565b600060208083850312156123ba57600080fd5b82356001600160401b03808211156123d157600080fd5b818501915085601f8301126123e557600080fd5b8135818111156123f7576123f7612361565b8060051b9150612408848301612377565b818152918301840191848101908884111561242257600080fd5b938501935b8385101561244057843582529385019390850190612427565b98975050505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561109a576124b783855161244c565b92840192608092909201916001016124a4565b6000602082840312156124dc57600080fd5b81356001600160601b038116811461122b57600080fd5b60006001600160401b0383111561250c5761250c612361565b61251f601f8401601f1916602001612377565b905082815283838301111561253357600080fd5b828260208301376000602084830101529392505050565b60006020828403121561255c57600080fd5b81356001600160401b0381111561257257600080fd5b8201601f8101841361258357600080fd5b611dc9848235602084016124f3565b6020808252825182820181905260009190848201906040850190845b8181101561109a578351835292840192918401916001016125ae565b6000806000606084860312156125df57600080fd5b6125e8846121e4565b95602085013595506040909401359392505050565b803580151581146121fb57600080fd5b6000806040838503121561262057600080fd5b612629836121e4565b9150612268602084016125fd565b60006020828403121561264957600080fd5b61122b8261222a565b6000806000806080858703121561266857600080fd5b612671856121e4565b935061267f602086016121e4565b92506040850135915060608501356001600160401b038111156126a157600080fd5b8501601f810187136126b257600080fd5b6126c1878235602084016124f3565b91505092959194509250565b608081016107c9828461244c565b600080604083850312156126ee57600080fd5b6126f7836121e4565b9150612268602084016121e4565b60006020828403121561271757600080fd5b61122b826125fd565b600181811c9082168061273457607f821691505b6020821081141561275557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156127905761279061275b565b01949350505050565b60008160001904831182151516156127b3576127b361275b565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826127dd576127dd6127b8565b500490565b634e487b7160e01b600052603260045260246000fd5b600063ffffffff838116908316818110156128155761281561275b565b039392505050565b600082198211156128305761283061275b565b500190565b60008351612847818460208801612160565b835190830190612790818360208801612160565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061288e9083018461218c565b9695505050505050565b6000602082840312156128aa57600080fd5b815161122b8161212d565b60006000198214156128c9576128c961275b565b5060010190565b6000828210156128e2576128e261275b565b500390565b6000826128f6576128f66127b8565b50069056fea264697066735822122051c816d184e5b93638d5d5e17fb3571123cd1049c8594e3e6d5a508915eebcf664736f6c63430008090033
Deployed Bytecode Sourcemap
75234:3368:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77630:300;;;;;;;;;;-1:-1:-1;77630:300:0;;;;;:::i;:::-;;:::i;:::-;;;661:14:1;;654:22;636:41;;624:2;609:18;77630:300:0;;;;;;;;20239:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22185:204::-;;;;;;;;;;-1:-1:-1;22185:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1788:32:1;;;1770:51;;1758:2;1743:18;22185:204:0;1624:203:1;21733:386:0;;;;;;;;;;-1:-1:-1;21733:386:0;;;;;:::i;:::-;;:::i;:::-;;75528:36;;;;;;;;;;;;;;;;;;2443:10:1;2431:23;;;2413:42;;2401:2;2386:18;75528:36:0;2269:192:1;77938:205:0;;;;;;;;;;-1:-1:-1;77938:205:0;;;;;:::i;:::-;;:::i;13646:315::-;;;;;;;;;;-1:-1:-1;13912:12:0;;13896:13;;:28;13646:315;;;3043:25:1;;;3031:2;3016:18;13646:315:0;2897:177:1;75443:34:0;;;;;;;;;;;;;;;75366:31;;;;;;;;;;;;;;;31450:2800;;;;;;;;;;-1:-1:-1;31450:2800:0;;;;;:::i;:::-;;:::i;69079:442::-;;;;;;;;;;-1:-1:-1;69079:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3857:32:1;;;3839:51;;3921:2;3906:18;;3899:34;;;;3812:18;69079:442:0;3665:274:1;78489:110:0;;;;;;;;;;;;;:::i;23075:185::-;;;;;;;;;;-1:-1:-1;23075:185:0;;;;;:::i;:::-;;:::i;75571:28::-;;;;;;;;;;-1:-1:-1;75571:28:0;;;;-1:-1:-1;;;75571:28:0;;;;;;76826:498;;;;;;;;;;-1:-1:-1;76826:498:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;48818:468::-;;;;;;;;;;-1:-1:-1;48818:468:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20028:144::-;;;;;;;;;;-1:-1:-1;20028:144:0;;;;;:::i;:::-;;:::i;75404:32::-;;;;;;;;;;;;;;;78151:125;;;;;;;;;;-1:-1:-1;78151:125:0;;;;;:::i;:::-;;:::i;15271:224::-;;;;;;;;;;-1:-1:-1;15271:224:0;;;;;:::i;:::-;;:::i;74352:103::-;;;;;;;;;;;;;:::i;78382:99::-;;;;;;;;;;-1:-1:-1;78382:99:0;;;;;:::i;:::-;;:::i;52630:892::-;;;;;;;;;;-1:-1:-1;52630:892:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;73704:87::-;;;;;;;;;;-1:-1:-1;73777:6:0;;-1:-1:-1;;;;;73777:6:0;73704:87;;20408:104;;;;;;;;;;;;;:::i;49676:2505::-;;;;;;;;;;-1:-1:-1;49676:2505:0;;;;;:::i;:::-;;:::i;22461:308::-;;;;;;;;;;-1:-1:-1;22461:308:0;;;;;:::i;:::-;;:::i;76176:642::-;;;;;;:::i;:::-;;:::i;23331:399::-;;;;;;;;;;-1:-1:-1;23331:399:0;;;;;:::i;:::-;;:::i;48239:420::-;;;;;;;;;;-1:-1:-1;48239:420:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;77332:290::-;;;;;;;;;;-1:-1:-1;77332:290:0;;;;;:::i;:::-;;:::i;75638:38::-;;;;;;;;;;;;;:::i;75606:25::-;;;;;;;;;;-1:-1:-1;75606:25:0;;;;-1:-1:-1;;;75606:25:0;;;;;;22840:164;;;;;;;;;;-1:-1:-1;22840:164:0;;;;;:::i;:::-;;:::i;78284:90::-;;;;;;;;;;-1:-1:-1;78284:90:0;;;;;:::i;:::-;;:::i;74610:201::-;;;;;;;;;;-1:-1:-1;74610:201:0;;;;;:::i;:::-;;:::i;75484:37::-;;;;;;;;;;;;;;;77630:300;77733:4;-1:-1:-1;;;;;;77770:41:0;;-1:-1:-1;;;77770:41:0;;:99;;-1:-1:-1;;;;;;;77828:41:0;;-1:-1:-1;;;77828:41:0;77770:99;:152;;;;77886:36;77910:11;77886:23;:36::i;:::-;77750:172;77630:300;-1:-1:-1;;77630:300:0:o;20239:100::-;20293:13;20326:5;20319:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20239:100;:::o;22185:204::-;22253:7;22278:16;22286:7;22278;:16::i;:::-;22273:64;;22303:34;;-1:-1:-1;;;22303:34:0;;;;;;;;;;;22273:64;-1:-1:-1;22357:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22357:24:0;;22185:204::o;21733:386::-;21806:13;21822:16;21830:7;21822;:16::i;:::-;21806:32;-1:-1:-1;42633:10:0;-1:-1:-1;;;;;21855:28:0;;;21851:175;;21903:44;21920:5;42633:10;22840:164;:::i;21903:44::-;21898:128;;21975:35;;-1:-1:-1;;;21975:35:0;;;;;;;;;;;21898:128;22038:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22038:29:0;-1:-1:-1;;;;;22038:29:0;;;;;;;;;22083:28;;22038:24;;22083:28;;;;;;;21795:324;21733:386;;:::o;77938:205::-;73590:13;:11;:13::i;:::-;78027:6:::1;78012:11;;:21;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;78068:13;78053:28;;:11;;;;;;;;;;;:28;;;;78044:59;;;::::0;-1:-1:-1;;;78044:59:0;;12529:2:1;78044:59:0::1;::::0;::::1;12511:21:1::0;12568:2;12548:18;;;12541:30;-1:-1:-1;;;12587:18:1;;;12580:47;12644:18;;78044:59:0::1;;;;;;;;;78114:21;78124:2;78128:6;78114:21;;:9;:21::i;:::-;77938:205:::0;;:::o;31450:2800::-;31584:27;31614;31633:7;31614:18;:27::i;:::-;31584:57;;31699:4;-1:-1:-1;;;;;31658:45:0;31674:19;-1:-1:-1;;;;;31658:45:0;;31654:86;;31712:28;;-1:-1:-1;;;31712:28:0;;;;;;;;;;;31654:86;31754:27;30180:21;;;30007:15;30222:4;30215:36;30304:4;30288:21;;30394:26;;42633:10;31147:30;;;-1:-1:-1;;;;;30845:26:0;;31126:19;;;31123:55;31933:174;;32020:43;32037:4;42633:10;22840:164;:::i;32020:43::-;32015:92;;32072:35;;-1:-1:-1;;;32072:35:0;;;;;;;;;;;32015:92;-1:-1:-1;;;;;32124:16:0;;32120:52;;32149:23;;-1:-1:-1;;;32149:23:0;;;;;;;;;;;32120:52;32321:15;32318:160;;;32461:1;32440:19;32433:30;32318:160;-1:-1:-1;;;;;32856:24:0;;;;;;;:18;:24;;;;;;32854:26;;-1:-1:-1;;32854:26:0;;;32925:22;;;;;;;;;32923:24;;-1:-1:-1;32923:24:0;;;19927:11;19903:22;19899:40;19886:62;-1:-1:-1;;;19886:62:0;33218:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;33512:46:0;;33508:626;;33616:1;33606:11;;33584:19;33739:30;;;:17;:30;;;;;;33735:384;;33877:13;;33862:11;:28;33858:242;;34024:30;;;;:17;:30;;;;;:52;;;33858:242;33565:569;33508:626;34181:7;34177:2;-1:-1:-1;;;;;34162:27:0;34171:4;-1:-1:-1;;;;;34162:27:0;;;;;;;;;;;31573:2677;;;31450:2800;;;:::o;69079:442::-;69176:7;69234:27;;;:17;:27;;;;;;;;69205:56;;;;;;;;;-1:-1:-1;;;;;69205:56:0;;;;;-1:-1:-1;;;69205:56:0;;;-1:-1:-1;;;;;69205:56:0;;;;;;;;69176:7;;69274:92;;-1:-1:-1;69325:29:0;;;;;;;;;-1:-1:-1;69325:29:0;-1:-1:-1;;;;;69325:29:0;;;;-1:-1:-1;;;69325:29:0;;-1:-1:-1;;;;;69325:29:0;;;;;69274:92;69416:23;;;;69378:21;;69887:5;;69403:36;;-1:-1:-1;;;;;69403:36:0;:10;:36;:::i;:::-;69402:58;;;;:::i;:::-;69481:16;;;;;-1:-1:-1;69079:442:0;;-1:-1:-1;;;;69079:442:0:o;78489:110::-;73590:13;:11;:13::i;:::-;78539:52:::1;78547:10;78569:21;78539:29;:52::i;:::-;78489:110::o:0;23075:185::-;23213:39;23230:4;23236:2;23240:7;23213:39;;;;;;;;;;;;:16;:39::i;:::-;23075:185;;;:::o;76826:498::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76932:384:0;;;;;;;;76970:6;76932:384;;;;77004:8;76932:384;;;;;;77044:12;76932:384;;;;;;77086:10;76932:384;;;;;;77129:13;76932:384;;;;;;77181:22;14294:13;;;14059:285;77181:22;76932:384;;;;;;77242:21;77256:6;-1:-1:-1;;;;;15666:25:0;15638:7;15666:25;;;:18;:25;;9963:2;15666:25;;;;;:49;;-1:-1:-1;;;;;15665:80:0;;15577:176;77242:21;76932:384;;;;77292:8;;-1:-1:-1;;;77292:8:0;;;;76932:384;;;;;;;76912:404;;-1:-1:-1;;76826:498:0:o;48818:468::-;48993:15;;48907:23;;48968:22;48993:15;-1:-1:-1;;;;;49060:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49060:36:0;;-1:-1:-1;;49060:36:0;;;;;;;;;;;;49023:73;;49116:9;49111:125;49132:14;49127:1;:19;49111:125;;49188:32;49208:8;49217:1;49208:11;;;;;;;;:::i;:::-;;;;;;;49188:19;:32::i;:::-;49172:10;49183:1;49172:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;49148:3;;49111:125;;;-1:-1:-1;49257:10:0;48818:468;-1:-1:-1;;;48818:468:0:o;20028:144::-;20092:7;20135:27;20154:7;20135:18;:27::i;78151:125::-;73590:13;:11;:13::i;:::-;78227:41:::1;78246:7;73777:6:::0;;-1:-1:-1;;;;;73777:6:0;;73704:87;78246:7:::1;78255:12;78227:18;:41::i;:::-;78151:125:::0;:::o;15271:224::-;15335:7;-1:-1:-1;;;;;15359:19:0;;15355:60;;15387:28;;-1:-1:-1;;;15387:28:0;;;;;;;;;;;15355:60;-1:-1:-1;;;;;;15433:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;15433:54:0;;15271:224::o;74352:103::-;73590:13;:11;:13::i;:::-;74417:30:::1;74444:1;74417:18;:30::i;78382:99::-:0;73590:13;:11;:13::i;:::-;78455:18;;::::1;::::0;:12:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;52630:892::-:0;52700:16;52754:19;52788:25;52828:22;52853:16;52863:5;52853:9;:16::i;:::-;52828:41;;52884:25;52926:14;-1:-1:-1;;;;;52912:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52912:29:0;;52884:57;;52956:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52956:31:0;53007:9;53002:472;53051:14;53036:11;:29;53002:472;;53103:15;53116:1;53103:12;:15::i;:::-;53091:27;;53141:9;:16;;;53137:73;;;53182:8;;53137:73;53232:14;;-1:-1:-1;;;;;53232:28:0;;53228:111;;53305:14;;;-1:-1:-1;53228:111:0;53382:5;-1:-1:-1;;;;;53361:26:0;:17;-1:-1:-1;;;;;53361:26:0;;53357:102;;;53438:1;53412:8;53421:13;;;;;;53412:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;53357:102;53067:3;;53002:472;;;-1:-1:-1;53495:8:0;;52630:892;-1:-1:-1;;;;;;52630:892:0:o;20408:104::-;20464:13;20497:7;20490:14;;;;;:::i;49676:2505::-;49811:16;49878:4;49869:5;:13;49865:45;;49891:19;;-1:-1:-1;;;49891:19:0;;;;;;;;;;;49865:45;49925:19;49959:17;49979:14;13415:13;;;13341:95;49979:14;49959:34;-1:-1:-1;50230:9:0;50223:4;:16;50219:73;;;50267:9;50260:16;;50219:73;50306:25;50334:16;50344:5;50334:9;:16::i;:::-;50306:44;;50528:4;50520:5;:12;50516:278;;;50575:12;;;50610:31;;;50606:111;;;50686:11;50666:31;;50606:111;50534:198;50516:278;;;-1:-1:-1;50777:1:0;50516:278;50808:25;50850:17;-1:-1:-1;;;;;50836:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50836:32:0;-1:-1:-1;50808:60:0;-1:-1:-1;50887:22:0;50883:78;;50937:8;-1:-1:-1;50930:15:0;;-1:-1:-1;;;50930:15:0;50883:78;51105:31;51139:26;51159:5;51139:19;:26::i;:::-;51105:60;;51180:25;51425:9;:16;;;51420:92;;-1:-1:-1;51482:14:0;;51420:92;51543:5;51526:478;51555:4;51550:1;:9;;:45;;;;;51578:17;51563:11;:32;;51550:45;51526:478;;;51633:15;51646:1;51633:12;:15::i;:::-;51621:27;;51671:9;:16;;;51667:73;;;51712:8;;51667:73;51762:14;;-1:-1:-1;;;;;51762:28:0;;51758:111;;51835:14;;;-1:-1:-1;51758:111:0;51912:5;-1:-1:-1;;;;;51891:26:0;:17;-1:-1:-1;;;;;51891:26:0;;51887:102;;;51968:1;51942:8;51951:13;;;;;;51942:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;51887:102;51597:3;;51526:478;;;-1:-1:-1;;;52089:29:0;;;-1:-1:-1;52096:8:0;;-1:-1:-1;;49676:2505:0;;;;;;:::o;22461:308::-;-1:-1:-1;;;;;22560:31:0;;42633:10;22560:31;22556:61;;;22600:17;;-1:-1:-1;;;22600:17:0;;;;;;;;;;;22556:61;42633:10;22630:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22630:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22630:60:0;;;;;;;;;;22706:55;;636:41:1;;;22630:49:0;;42633:10;22706:55;;609:18:1;22706:55:0;;;;;;;22461:308;;:::o;76176:642::-;76241:8;;-1:-1:-1;;;76241:8:0;;;;76233:40;;;;-1:-1:-1;;;76233:40:0;;13437:2:1;76233:40:0;;;13419:21:1;13476:2;13456:18;;;13449:30;-1:-1:-1;;;13495:18:1;;;13488:49;13554:18;;76233:40:0;13235:343:1;76233:40:0;76319:26;76332:13;76319:10;:26;:::i;:::-;76292:53;;76301:14;14294:13;;;14059:285;76301:14;76292:23;;;;;;:::i;:::-;:53;;76284:83;;;;-1:-1:-1;;;76284:83:0;;12529:2:1;76284:83:0;;;12511:21:1;12568:2;12548:18;;;12541:30;-1:-1:-1;;;12587:18:1;;;12580:47;12644:18;;76284:83:0;12327:341:1;76284:83:0;76396:8;76386:18;;:6;:18;;;;76378:55;;;;-1:-1:-1;;;76378:55:0;;14144:2:1;76378:55:0;;;14126:21:1;14183:2;14163:18;;;14156:30;14222:26;14202:18;;;14195:54;14266:18;;76378:55:0;13942:348:1;76378:55:0;76475:10;76444:14;15666:25;;;:18;:25;;9963:2;15666:25;;;;;:49;;-1:-1:-1;;;;;15665:80:0;76501:10;;76497:200;;76549:15;76558:6;76549:15;;;;:::i;:::-;76536:9;:28;;76528:59;;;;-1:-1:-1;;;76528:59:0;;14497:2:1;76528:59:0;;;14479:21:1;14536:2;14516:18;;;14509:30;-1:-1:-1;;;14555:18:1;;;14548:48;14613:18;;76528:59:0;14295:342:1;76528:59:0;76497:200;;;76656:6;76642:10;76651:1;76642:6;:10;:::i;:::-;76641:21;;;;;;:::i;:::-;76628:9;:34;;76620:65;;;;-1:-1:-1;;;76620:65:0;;14497:2:1;76620:65:0;;;14479:21:1;14536:2;14516:18;;;14509:30;-1:-1:-1;;;14555:18:1;;;14548:48;14613:18;;76620:65:0;14295:342:1;76620:65:0;76734:12;76715:31;;76724:6;76715:15;;:6;:15;;;;:::i;:::-;:31;;76707:63;;;;-1:-1:-1;;;76707:63:0;;14844:2:1;76707:63:0;;;14826:21:1;14883:2;14863:18;;;14856:30;-1:-1:-1;;;14902:18:1;;;14895:49;14961:18;;76707:63:0;14642:343:1;76707:63:0;76781:29;76791:10;76803:6;76781:29;;:9;:29::i;23331:399::-;23498:31;23511:4;23517:2;23521:7;23498:12;:31::i;:::-;-1:-1:-1;;;;;23544:14:0;;;:19;23540:183;;23583:56;23614:4;23620:2;23624:7;23633:5;23583:30;:56::i;:::-;23578:145;;23667:40;;-1:-1:-1;;;23667:40:0;;;;;;;;;;;23578:145;23331:399;;;;:::o;48239:420::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13415:13:0;;48424:7;:25;48391:103;;48473:9;48239:420;-1:-1:-1;;48239:420:0:o;48391:103::-;48516:21;48529:7;48516:12;:21::i;:::-;48504:33;;48552:9;:16;;;48548:65;;;48592:9;48239:420;-1:-1:-1;;48239:420:0:o;48548:65::-;48630:21;48643:7;48630:12;:21::i;77332:290::-;77405:13;77436:16;77444:7;77436;:16::i;:::-;77431:59;;77461:29;;-1:-1:-1;;;77461:29:0;;;;;;;;;;;77431:59;77503:21;77527:12;77503:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77581:7;77590:18;:7;:16;:18::i;:::-;77564:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77550:64;;;77332:290;;;:::o;75638:38::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22840:164::-;-1:-1:-1;;;;;22961:25:0;;;22937:4;22961:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22840:164::o;78284:90::-;73590:13;:11;:13::i;:::-;78348:8:::1;:18:::0;;;::::1;;-1:-1:-1::0;;;78348:18:0::1;-1:-1:-1::0;;;;78348:18:0;;::::1;::::0;;;::::1;::::0;;78284:90::o;74610:201::-;73590:13;:11;:13::i;:::-;-1:-1:-1;;;;;74699:22:0;::::1;74691:73;;;::::0;-1:-1:-1;;;74691:73:0;;15768:2:1;74691:73:0::1;::::0;::::1;15750:21:1::0;15807:2;15787:18;;;15780:30;15846:34;15826:18;;;15819:62;-1:-1:-1;;;15897:18:1;;;15890:36;15943:19;;74691:73:0::1;15566:402:1::0;74691:73:0::1;74775:28;74794:8;74775:18;:28::i;14592:615::-:0;14677:4;-1:-1:-1;;;;;;;;;14977:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15054:25:0;;;14977:102;:179;;;-1:-1:-1;;;;;;;;15131:25:0;-1:-1:-1;;;15131:25:0;;14592:615::o;23985:273::-;24042:4;24132:13;;24122:7;:23;24079:152;;;;-1:-1:-1;;24183:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24183:43:0;:48;;23985:273::o;73869:132::-;73777:6;;-1:-1:-1;;;;;73777:6:0;42633:10;73933:23;73925:68;;;;-1:-1:-1;;;73925:68:0;;16175:2:1;73925:68:0;;;16157:21:1;;;16194:18;;;16187:30;16253:34;16233:18;;;16226:62;16305:18;;73925:68:0;15973:356:1;24342:104:0;24411:27;24421:2;24425:8;24411:27;;;;;;;;;;;;:9;:27::i;16945:1129::-;17012:7;17047;17149:13;;17142:4;:20;17138:869;;;17187:14;17204:23;;;:17;:23;;;;;;-1:-1:-1;;;17293:23:0;;17289:699;;17812:113;17819:11;17812:113;;-1:-1:-1;;;17890:6:0;17872:25;;;;:17;:25;;;;;;17812:113;;17289:699;17164:843;17138:869;18035:31;;-1:-1:-1;;;18035:31:0;;;;;;;;;;;58520:317;58635:6;58610:21;:31;;58602:73;;;;-1:-1:-1;;;58602:73:0;;16536:2:1;58602:73:0;;;16518:21:1;16575:2;16555:18;;;16548:30;16614:31;16594:18;;;16587:59;16663:18;;58602:73:0;16334:353:1;58602:73:0;58689:12;58707:9;-1:-1:-1;;;;;58707:14:0;58729:6;58707:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58688:52;;;58759:7;58751:78;;;;-1:-1:-1;;;58751:78:0;;17104:2:1;58751:78:0;;;17086:21:1;17143:2;17123:18;;;17116:30;17182:34;17162:18;;;17155:62;17253:28;17233:18;;;17226:56;17299:19;;58751:78:0;16902:422:1;70171:332:0;69887:5;-1:-1:-1;;;;;70274:33:0;;;;70266:88;;;;-1:-1:-1;;;70266:88:0;;17531:2:1;70266:88:0;;;17513:21:1;17570:2;17550:18;;;17543:30;17609:34;17589:18;;;17582:62;-1:-1:-1;;;17660:18:1;;;17653:40;17710:19;;70266:88:0;17329:406:1;70266:88:0;-1:-1:-1;;;;;70373:22:0;;70365:60;;;;-1:-1:-1;;;70365:60:0;;17942:2:1;70365:60:0;;;17924:21:1;17981:2;17961:18;;;17954:30;18020:27;18000:18;;;17993:55;18065:18;;70365:60:0;17740:349:1;70365:60:0;70460:35;;;;;;;;;-1:-1:-1;;;;;70460:35:0;;;;;;-1:-1:-1;;;;;70460:35:0;;;;;;;;;;-1:-1:-1;;;70438:57:0;;;;-1:-1:-1;70438:57:0;70171:332::o;74971:191::-;75064:6;;;-1:-1:-1;;;;;75081:17:0;;;-1:-1:-1;;;;;;75081:17:0;;;;;;;75114:40;;75064:6;;;75081:17;75064:6;;75114:40;;75045:16;;75114:40;75034:128;74971:191;:::o;18622:153::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18742:24:0;;;;:17;:24;;;;;;18723:44;;:18;:44::i;38201:716::-;38385:88;;-1:-1:-1;;;38385:88:0;;38364:4;;-1:-1:-1;;;;;38385:45:0;;;;;:88;;42633:10;;38452:4;;38458:7;;38467:5;;38385:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38385:88:0;;;;;;;;-1:-1:-1;;38385:88:0;;;;;;;;;;;;:::i;:::-;;;38381:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38668:13:0;;38664:235;;38714:40;;-1:-1:-1;;;38714:40:0;;;;;;;;;;;38664:235;38857:6;38851:13;38842:6;38838:2;38834:15;38827:38;38381:529;-1:-1:-1;;;;;;38544:64:0;-1:-1:-1;;;38544:64:0;;-1:-1:-1;38381:529:0;38201:716;;;;;;:::o;19278:158::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19381:47:0;19400:27;19419:7;19400:18;:27::i;:::-;19381:18;:47::i;53959:723::-;54015:13;54236:10;54232:53;;-1:-1:-1;;54263:10:0;;;;;;;;;;;;-1:-1:-1;;;54263:10:0;;;;;53959:723::o;54232:53::-;54310:5;54295:12;54351:78;54358:9;;54351:78;;54384:8;;;;:::i;:::-;;-1:-1:-1;54407:10:0;;-1:-1:-1;54415:2:0;54407:10;;:::i;:::-;;;54351:78;;;54439:19;54471:6;-1:-1:-1;;;;;54461:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54461:17:0;;54439:39;;54489:154;54496:10;;54489:154;;54523:11;54533:1;54523:11;;:::i;:::-;;-1:-1:-1;54592:10:0;54600:2;54592:5;:10;:::i;:::-;54579:24;;:2;:24;:::i;:::-;54566:39;;54549:6;54556;54549:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;54549:56:0;;;;;;;;-1:-1:-1;54620:11:0;54629:2;54620:11;;:::i;:::-;;;54489:154;;24862:681;24985:19;24991:2;24995:8;24985:5;:19::i;:::-;-1:-1:-1;;;;;25046:14:0;;;:19;25042:483;;25100:13;;25148:14;;;25181:233;25212:62;25251:1;25255:2;25259:7;;;;;;25268:5;25212:30;:62::i;:::-;25207:167;;25310:40;;-1:-1:-1;;;25310:40:0;;;;;;;;;;;25207:167;25409:3;25401:5;:11;25181:233;;25496:3;25479:13;;:20;25475:34;;25501:8;;;25475:34;25067:458;;24862:681;;;:::o;18168:363::-;-1:-1:-1;;;;;;;;;;;;;18278:41:0;;;;10480:3;18364:32;;;-1:-1:-1;;;;;18330:67:0;-1:-1:-1;;;18330:67:0;-1:-1:-1;;;18427:23:0;;:28;;-1:-1:-1;;;18408:47:0;;;;10997:3;18495:27;;;;-1:-1:-1;;;18466:57:0;-1:-1:-1;18168:363:0:o;25816:1529::-;25904:13;;-1:-1:-1;;;;;25932:16:0;;25928:48;;25957:19;;-1:-1:-1;;;25957:19:0;;;;;;;;;;;25928:48;25991:13;25987:44;;26013:18;;-1:-1:-1;;;26013:18:0;;;;;;;;;;;25987:44;-1:-1:-1;;;;;26519:22:0;;;;;;:18;:22;;9963:2;26519:22;;:70;;26557:31;26545:44;;26519:70;;;19927:11;19903:22;19899:40;-1:-1:-1;21637:15:0;;21612:23;21608:45;19896:51;19886:62;26832:31;;;;:17;:31;;;;;:173;26850:12;27081:23;;;27119:101;27146:35;;27171:9;;;;;-1:-1:-1;;;;;27146:35:0;;;27163:1;;27146:35;;27163:1;;27146:35;27215:3;27205:7;:13;27119:101;;27236:13;:19;-1:-1:-1;23075:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;688:258::-;760:1;770:113;784:6;781:1;778:13;770:113;;;860:11;;;854:18;841:11;;;834:39;806:2;799:10;770:113;;;901:6;898:1;895:13;892:48;;;-1:-1:-1;;936:1:1;918:16;;911:27;688:258::o;951:::-;993:3;1031:5;1025:12;1058:6;1053:3;1046:19;1074:63;1130:6;1123:4;1118:3;1114:14;1107:4;1100:5;1096:16;1074:63;:::i;:::-;1191:2;1170:15;-1:-1:-1;;1166:29:1;1157:39;;;;1198:4;1153:50;;951:258;-1:-1:-1;;951:258:1:o;1214:220::-;1363:2;1352:9;1345:21;1326:4;1383:45;1424:2;1413:9;1409:18;1401:6;1383:45;:::i;1439:180::-;1498:6;1551:2;1539:9;1530:7;1526:23;1522:32;1519:52;;;1567:1;1564;1557:12;1519:52;-1:-1:-1;1590:23:1;;1439:180;-1:-1:-1;1439:180:1:o;1832:173::-;1900:20;;-1:-1:-1;;;;;1949:31:1;;1939:42;;1929:70;;1995:1;1992;1985:12;1929:70;1832:173;;;:::o;2010:254::-;2078:6;2086;2139:2;2127:9;2118:7;2114:23;2110:32;2107:52;;;2155:1;2152;2145:12;2107:52;2178:29;2197:9;2178:29;:::i;:::-;2168:39;2254:2;2239:18;;;;2226:32;;-1:-1:-1;;;2010:254:1:o;2466:163::-;2533:20;;2593:10;2582:22;;2572:33;;2562:61;;2619:1;2616;2609:12;2634:258;2701:6;2709;2762:2;2750:9;2741:7;2737:23;2733:32;2730:52;;;2778:1;2775;2768:12;2730:52;2801:29;2820:9;2801:29;:::i;:::-;2791:39;;2849:37;2882:2;2871:9;2867:18;2849:37;:::i;:::-;2839:47;;2634:258;;;;;:::o;3079:328::-;3156:6;3164;3172;3225:2;3213:9;3204:7;3200:23;3196:32;3193:52;;;3241:1;3238;3231:12;3193:52;3264:29;3283:9;3264:29;:::i;:::-;3254:39;;3312:38;3346:2;3335:9;3331:18;3312:38;:::i;:::-;3302:48;;3397:2;3386:9;3382:18;3369:32;3359:42;;3079:328;;;;;:::o;3412:248::-;3480:6;3488;3541:2;3529:9;3520:7;3516:23;3512:32;3509:52;;;3557:1;3554;3547:12;3509:52;-1:-1:-1;;3580:23:1;;;3650:2;3635:18;;;3622:32;;-1:-1:-1;3412:248:1:o;3944:186::-;4003:6;4056:2;4044:9;4035:7;4031:23;4027:32;4024:52;;;4072:1;4069;4062:12;4024:52;4095:29;4114:9;4095:29;:::i;4135:862::-;4285:4;4327:3;4316:9;4312:19;4304:27;;4364:6;4358:13;4347:9;4340:32;4419:4;4411:6;4407:17;4401:24;4444:10;4510:2;4496:12;4492:21;4485:4;4474:9;4470:20;4463:51;4582:2;4574:4;4566:6;4562:17;4556:24;4552:33;4545:4;4534:9;4530:20;4523:63;4654:2;4646:4;4638:6;4634:17;4628:24;4624:33;4617:4;4606:9;4602:20;4595:63;4726:2;4718:4;4710:6;4706:17;4700:24;4696:33;4689:4;4678:9;4674:20;4667:63;4798:2;4790:4;4782:6;4778:17;4772:24;4768:33;4761:4;4750:9;4746:20;4739:63;4870:2;4862:4;4854:6;4850:17;4844:24;4840:33;4833:4;4822:9;4818:20;4811:63;;;4923:4;4915:6;4911:17;4905:24;4938:53;4985:4;4974:9;4970:20;4954:14;470:13;463:21;451:34;;400:91;4938:53;;4135:862;;;;:::o;5002:127::-;5063:10;5058:3;5054:20;5051:1;5044:31;5094:4;5091:1;5084:15;5118:4;5115:1;5108:15;5134:275;5205:2;5199:9;5270:2;5251:13;;-1:-1:-1;;5247:27:1;5235:40;;-1:-1:-1;;;;;5290:34:1;;5326:22;;;5287:62;5284:88;;;5352:18;;:::i;:::-;5388:2;5381:22;5134:275;;-1:-1:-1;5134:275:1:o;5414:946::-;5498:6;5529:2;5572;5560:9;5551:7;5547:23;5543:32;5540:52;;;5588:1;5585;5578:12;5540:52;5628:9;5615:23;-1:-1:-1;;;;;5698:2:1;5690:6;5687:14;5684:34;;;5714:1;5711;5704:12;5684:34;5752:6;5741:9;5737:22;5727:32;;5797:7;5790:4;5786:2;5782:13;5778:27;5768:55;;5819:1;5816;5809:12;5768:55;5855:2;5842:16;5877:2;5873;5870:10;5867:36;;;5883:18;;:::i;:::-;5929:2;5926:1;5922:10;5912:20;;5952:28;5976:2;5972;5968:11;5952:28;:::i;:::-;6014:15;;;6084:11;;;6080:20;;;6045:12;;;;6112:19;;;6109:39;;;6144:1;6141;6134:12;6109:39;6168:11;;;;6188:142;6204:6;6199:3;6196:15;6188:142;;;6270:17;;6258:30;;6221:12;;;;6308;;;;6188:142;;;6349:5;5414:946;-1:-1:-1;;;;;;;;5414:946:1:o;6365:349::-;6449:12;;-1:-1:-1;;;;;6445:38:1;6433:51;;6537:4;6526:16;;;6520:23;-1:-1:-1;;;;;6516:48:1;6500:14;;;6493:72;6628:4;6617:16;;;6611:23;6604:31;6597:39;6581:14;;;6574:63;6690:4;6679:16;;;6673:23;6698:8;6669:38;6653:14;;6646:62;6365:349::o;6719:720::-;6950:2;7002:21;;;7072:13;;6975:18;;;7094:22;;;6921:4;;6950:2;7173:15;;;;7147:2;7132:18;;;6921:4;7216:197;7230:6;7227:1;7224:13;7216:197;;;7279:52;7327:3;7318:6;7312:13;7279:52;:::i;:::-;7388:15;;;;7360:4;7351:14;;;;;7252:1;7245:9;7216:197;;7444:292;7502:6;7555:2;7543:9;7534:7;7530:23;7526:32;7523:52;;;7571:1;7568;7561:12;7523:52;7610:9;7597:23;-1:-1:-1;;;;;7653:5:1;7649:38;7642:5;7639:49;7629:77;;7702:1;7699;7692:12;7741:407;7806:5;-1:-1:-1;;;;;7832:6:1;7829:30;7826:56;;;7862:18;;:::i;:::-;7900:57;7945:2;7924:15;;-1:-1:-1;;7920:29:1;7951:4;7916:40;7900:57;:::i;:::-;7891:66;;7980:6;7973:5;7966:21;8020:3;8011:6;8006:3;8002:16;7999:25;7996:45;;;8037:1;8034;8027:12;7996:45;8086:6;8081:3;8074:4;8067:5;8063:16;8050:43;8140:1;8133:4;8124:6;8117:5;8113:18;8109:29;8102:40;7741:407;;;;;:::o;8153:451::-;8222:6;8275:2;8263:9;8254:7;8250:23;8246:32;8243:52;;;8291:1;8288;8281:12;8243:52;8331:9;8318:23;-1:-1:-1;;;;;8356:6:1;8353:30;8350:50;;;8396:1;8393;8386:12;8350:50;8419:22;;8472:4;8464:13;;8460:27;-1:-1:-1;8450:55:1;;8501:1;8498;8491:12;8450:55;8524:74;8590:7;8585:2;8572:16;8567:2;8563;8559:11;8524:74;:::i;8609:632::-;8780:2;8832:21;;;8902:13;;8805:18;;;8924:22;;;8751:4;;8780:2;9003:15;;;;8977:2;8962:18;;;8751:4;9046:169;9060:6;9057:1;9054:13;9046:169;;;9121:13;;9109:26;;9190:15;;;;9155:12;;;;9082:1;9075:9;9046:169;;9246:322;9323:6;9331;9339;9392:2;9380:9;9371:7;9367:23;9363:32;9360:52;;;9408:1;9405;9398:12;9360:52;9431:29;9450:9;9431:29;:::i;:::-;9421:39;9507:2;9492:18;;9479:32;;-1:-1:-1;9558:2:1;9543:18;;;9530:32;;9246:322;-1:-1:-1;;;9246:322:1:o;9573:160::-;9638:20;;9694:13;;9687:21;9677:32;;9667:60;;9723:1;9720;9713:12;9738:254;9803:6;9811;9864:2;9852:9;9843:7;9839:23;9835:32;9832:52;;;9880:1;9877;9870:12;9832:52;9903:29;9922:9;9903:29;:::i;:::-;9893:39;;9951:35;9982:2;9971:9;9967:18;9951:35;:::i;9997:184::-;10055:6;10108:2;10096:9;10087:7;10083:23;10079:32;10076:52;;;10124:1;10121;10114:12;10076:52;10147:28;10165:9;10147:28;:::i;10186:667::-;10281:6;10289;10297;10305;10358:3;10346:9;10337:7;10333:23;10329:33;10326:53;;;10375:1;10372;10365:12;10326:53;10398:29;10417:9;10398:29;:::i;:::-;10388:39;;10446:38;10480:2;10469:9;10465:18;10446:38;:::i;:::-;10436:48;;10531:2;10520:9;10516:18;10503:32;10493:42;;10586:2;10575:9;10571:18;10558:32;-1:-1:-1;;;;;10605:6:1;10602:30;10599:50;;;10645:1;10642;10635:12;10599:50;10668:22;;10721:4;10713:13;;10709:27;-1:-1:-1;10699:55:1;;10750:1;10747;10740:12;10699:55;10773:74;10839:7;10834:2;10821:16;10816:2;10812;10808:11;10773:74;:::i;:::-;10763:84;;;10186:667;;;;;;;:::o;10858:264::-;11052:3;11037:19;;11065:51;11041:9;11098:6;11065:51;:::i;11127:260::-;11195:6;11203;11256:2;11244:9;11235:7;11231:23;11227:32;11224:52;;;11272:1;11269;11262:12;11224:52;11295:29;11314:9;11295:29;:::i;:::-;11285:39;;11343:38;11377:2;11366:9;11362:18;11343:38;:::i;11392:180::-;11448:6;11501:2;11489:9;11480:7;11476:23;11472:32;11469:52;;;11517:1;11514;11507:12;11469:52;11540:26;11556:9;11540:26;:::i;11577:380::-;11656:1;11652:12;;;;11699;;;11720:61;;11774:4;11766:6;11762:17;11752:27;;11720:61;11827:2;11819:6;11816:14;11796:18;11793:38;11790:161;;;11873:10;11868:3;11864:20;11861:1;11854:31;11908:4;11905:1;11898:15;11936:4;11933:1;11926:15;11790:161;;11577:380;;;:::o;11962:127::-;12023:10;12018:3;12014:20;12011:1;12004:31;12054:4;12051:1;12044:15;12078:4;12075:1;12068:15;12094:228;12133:3;12161:10;12198:2;12195:1;12191:10;12228:2;12225:1;12221:10;12259:3;12255:2;12251:12;12246:3;12243:21;12240:47;;;12267:18;;:::i;:::-;12303:13;;12094:228;-1:-1:-1;;;;12094:228:1:o;12673:168::-;12713:7;12779:1;12775;12771:6;12767:14;12764:1;12761:21;12756:1;12749:9;12742:17;12738:45;12735:71;;;12786:18;;:::i;:::-;-1:-1:-1;12826:9:1;;12673:168::o;12846:127::-;12907:10;12902:3;12898:20;12895:1;12888:31;12938:4;12935:1;12928:15;12962:4;12959:1;12952:15;12978:120;13018:1;13044;13034:35;;13049:18;;:::i;:::-;-1:-1:-1;13083:9:1;;12978:120::o;13103:127::-;13164:10;13159:3;13155:20;13152:1;13145:31;13195:4;13192:1;13185:15;13219:4;13216:1;13209:15;13583:221;13622:4;13651:10;13711;;;;13681;;13733:12;;;13730:38;;;13748:18;;:::i;:::-;13785:13;;13583:221;-1:-1:-1;;;13583:221:1:o;13809:128::-;13849:3;13880:1;13876:6;13873:1;13870:13;13867:39;;;13886:18;;:::i;:::-;-1:-1:-1;13922:9:1;;13809:128::o;14990:571::-;15270:3;15308:6;15302:13;15324:53;15370:6;15365:3;15358:4;15350:6;15346:17;15324:53;:::i;:::-;15440:13;;15399:16;;;;15462:57;15440:13;15399:16;15496:4;15484:17;;15462:57;:::i;18094:489::-;-1:-1:-1;;;;;18363:15:1;;;18345:34;;18415:15;;18410:2;18395:18;;18388:43;18462:2;18447:18;;18440:34;;;18510:3;18505:2;18490:18;;18483:31;;;18288:4;;18531:46;;18557:19;;18549:6;18531:46;:::i;:::-;18523:54;18094:489;-1:-1:-1;;;;;;18094:489:1:o;18588:249::-;18657:6;18710:2;18698:9;18689:7;18685:23;18681:32;18678:52;;;18726:1;18723;18716:12;18678:52;18758:9;18752:16;18777:30;18801:5;18777:30;:::i;18842:135::-;18881:3;-1:-1:-1;;18902:17:1;;18899:43;;;18922:18;;:::i;:::-;-1:-1:-1;18969:1:1;18958:13;;18842:135::o;18982:125::-;19022:4;19050:1;19047;19044:8;19041:34;;;19055:18;;:::i;:::-;-1:-1:-1;19092:9:1;;18982:125::o;19112:112::-;19144:1;19170;19160:35;;19175:18;;:::i;:::-;-1:-1:-1;19209:9:1;;19112:112::o
Swarm Source
ipfs://51c816d184e5b93638d5d5e17fb3571123cd1049c8594e3e6d5a508915eebcf6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.