ERC-721
Overview
Max Total Supply
124 NFT_FIFA
Holders
84
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 NFT_FIFALoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
fifa
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2022-11-17 */ // SPDX-License-Identifier: MIT // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId, bool approvalCheck) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // 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/finance/PaymentSplitter.sol // OpenZeppelin Contracts (last updated v4.8.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _totalReleased is the sum of all values in _released. // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow. _totalReleased += payment; unchecked { _released[account] += payment; } Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _erc20TotalReleased[token] is the sum of all values in _erc20Released[token]. // If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment" // cannot overflow. _erc20TotalReleased[token] += payment; unchecked { _erc20Released[token][account] += payment; } SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated 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: contracts/fifa.sol pragma solidity ^0.8.0; contract fifa is ERC721A, Ownable{ using Strings for uint256; uint256 public MAX_SUPPLY = 2022; uint256 public MAX_PUBLIC_MINT = 100; uint256 public PUBLIC_SALE_PRICE = 0 ether; string private baseTokenUri; string public placeholderTokenUri; mapping(address => uint256) public addressMintedBalance; //deploy smart contract, toggle WL, toggle WL when done, toggle publicSale //2 days later toggle reveal bool public isRevealed=true; bool public publicSale=true; bool public whiteListSale=false; bool public pause; bool public teamMinted=true; bytes32 private merkleRoot; mapping(address => uint256) public totalPublicMint; mapping(address => uint256) public totalWhitelistMint; constructor( string memory _name, //fifa string memory _symbol, string memory _initBaseURI ) ERC721A(_name, _symbol) { setTokenUri(_initBaseURI); mint(msg.sender, 20); } modifier callerIsUser() { require(tx.origin == msg.sender, "fifa :: Cannot be called by a contract"); _; } function mint(address _to, uint256 _quantity) public payable { require(!pause, "the contract is paused"); require(publicSale, "fifa :: Not Yet Active."); require((totalSupply() + _quantity) <= MAX_SUPPLY, "fifa :: Beyond Max Supply"); require((totalPublicMint[msg.sender] +_quantity) <= MAX_PUBLIC_MINT, "fifa :: Already minted 100 times!"); require(msg.value >= (PUBLIC_SALE_PRICE * _quantity), "fifa :: Below "); totalPublicMint[_to] += _quantity; _safeMint(_to, _quantity); } function Custom_mint(address _to, uint256 _quantity) public payable { require(!pause, "the contract is paused"); require(publicSale, "fifa :: Not Yet Active."); totalPublicMint[_to] += _quantity; _safeMint(_to, _quantity); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenUri; } //return uri for certain token function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); uint256 trueId = tokenId + 1; if(!isRevealed){ return placeholderTokenUri; } //string memory baseURI = _baseURI(); return bytes(baseTokenUri).length > 0 ? string(abi.encodePacked(baseTokenUri, trueId.toString(), ".json")) : ""; } /// @dev walletOf() function shouldn't be called on-chain due to gas consumption function walletOf() public view returns(uint256[] memory){ address _owner = msg.sender; uint256 numberOfOwnedNFT = balanceOf(_owner); uint256[] memory ownerIds = new uint256[](numberOfOwnedNFT); /* for(uint256 index = 0; index < numberOfOwnedNFT; index++){ ownerIds[index] = tokenOfOwnerByIndex(_owner, index); }*/ return ownerIds; } function setTokenUri(string memory _baseTokenUri) public onlyOwner{ baseTokenUri = _baseTokenUri; } function setPlaceHolderUri(string memory _placeholderTokenUri) public onlyOwner{ placeholderTokenUri = _placeholderTokenUri; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner{ merkleRoot = _merkleRoot; } function getMerkleRoot() public view returns (bytes32){ return merkleRoot; } function togglePause() public onlyOwner{ pause = !pause; } function toggleWhiteListSale() public onlyOwner{ whiteListSale = !whiteListSale; } function togglePublicSale() public onlyOwner{ publicSale = !publicSale; } function toggleReveal() public onlyOwner{ isRevealed = !isRevealed; } function setCost(uint256 _newCost) public onlyOwner { PUBLIC_SALE_PRICE = _newCost; } function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner { MAX_PUBLIC_MINT = _newmaxMintAmount; } function withdraw() public onlyOwner{ (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"Custom_mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholderTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_placeholderTokenUri","type":"string"}],"name":"setPlaceHolderUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","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":[],"name":"teamMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhiteListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPublicMint","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":"","type":"address"}],"name":"totalWhitelistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"walletOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526107e66009556064600a556000600b556001600f60006101000a81548160ff0219169083151502179055506001600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff0219169083151502179055506001600f60046101000a81548160ff0219169083151502179055503480156200008d57600080fd5b506040516200494e3803806200494e8339818101604052810190620000b3919062000bb6565b82828160029080519060200190620000cd92919062000a3f565b508060039080519060200190620000e692919062000a3f565b50620000f76200014c60201b60201c565b60008190555050506200011f620001136200015160201b60201c565b6200015960201b60201c565b62000130816200021f60201b60201c565b620001433360146200024b60201b60201c565b5050506200131a565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200022f620004ab60201b60201c565b80600c90805190602001906200024792919062000a3f565b5050565b600f60039054906101000a900460ff16156200029e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002959062000e76565b60405180910390fd5b600f60019054906101000a900460ff16620002f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e79062000e98565b60405180910390fd5b60095481620003046200053c60201b60201c565b62000310919062000f68565b111562000354576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200034b9062000e32565b60405180910390fd5b600a5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620003a4919062000f68565b1115620003e8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003df9062000e10565b60405180910390fd5b80600b54620003f8919062000fc5565b3410156200043d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004349062000eba565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200048e919062000f68565b92505081905550620004a782826200055b60201b60201c565b5050565b620004bb6200015160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620004e16200058160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200053a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005319062000e54565b60405180910390fd5b565b60006200054e6200014c60201b60201c565b6001546000540303905090565b6200057d828260405180602001604052806000815250620005ab60201b60201c565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620005bd83836200065c60201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146200065757600080549050600083820390505b6200060660008683806001019450866200084560201b60201c565b6200063d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110620005eb5781600054146200065457600080fd5b50505b505050565b60008054905060008214156200069e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620006b36000848385620009b760201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200074283620007246000866000620009bd60201b60201c565b6200073585620009ed60201b60201c565b17620009fd60201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114620007e557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050620007a8565b50600082141562000822576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505062000840600084838562000a2860201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200087362000a2e60201b60201c565b8786866040518563ffffffff1660e01b815260040162000897949392919062000dbc565b602060405180830381600087803b158015620008b257600080fd5b505af1925050508015620008e657506040513d601f19601f82011682018060405250810190620008e3919062000b84565b60015b62000964573d806000811462000919576040519150601f19603f3d011682016040523d82523d6000602084013e6200091e565b606091505b506000815114156200095c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b60008060e883901c905060e8620009dc86868462000a3660201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b82805462000a4d90620010c6565b90600052602060002090601f01602090048101928262000a71576000855562000abd565b82601f1062000a8c57805160ff191683800117855562000abd565b8280016001018555821562000abd579182015b8281111562000abc57825182559160200191906001019062000a9f565b5b50905062000acc919062000ad0565b5090565b5b8082111562000aeb57600081600090555060010162000ad1565b5090565b600062000b0662000b008462000f05565b62000edc565b90508281526020810184848401111562000b255762000b24620011c4565b5b62000b3284828562001090565b509392505050565b60008151905062000b4b8162001300565b92915050565b600082601f83011262000b695762000b68620011bf565b5b815162000b7b84826020860162000aef565b91505092915050565b60006020828403121562000b9d5762000b9c620011ce565b5b600062000bad8482850162000b3a565b91505092915050565b60008060006060848603121562000bd25762000bd1620011ce565b5b600084015167ffffffffffffffff81111562000bf35762000bf2620011c9565b5b62000c018682870162000b51565b935050602084015167ffffffffffffffff81111562000c255762000c24620011c9565b5b62000c338682870162000b51565b925050604084015167ffffffffffffffff81111562000c575762000c56620011c9565b5b62000c658682870162000b51565b9150509250925092565b62000c7a8162001026565b82525050565b600062000c8d8262000f3b565b62000c99818562000f46565b935062000cab81856020860162001090565b62000cb681620011d3565b840191505092915050565b600062000cd060218362000f57565b915062000cdd82620011e4565b604082019050919050565b600062000cf760198362000f57565b915062000d048262001233565b602082019050919050565b600062000d1e60208362000f57565b915062000d2b826200125c565b602082019050919050565b600062000d4560168362000f57565b915062000d528262001285565b602082019050919050565b600062000d6c60178362000f57565b915062000d7982620012ae565b602082019050919050565b600062000d93600e8362000f57565b915062000da082620012d7565b602082019050919050565b62000db68162001086565b82525050565b600060808201905062000dd3600083018762000c6f565b62000de2602083018662000c6f565b62000df1604083018562000dab565b818103606083015262000e05818462000c80565b905095945050505050565b6000602082019050818103600083015262000e2b8162000cc1565b9050919050565b6000602082019050818103600083015262000e4d8162000ce8565b9050919050565b6000602082019050818103600083015262000e6f8162000d0f565b9050919050565b6000602082019050818103600083015262000e918162000d36565b9050919050565b6000602082019050818103600083015262000eb38162000d5d565b9050919050565b6000602082019050818103600083015262000ed58162000d84565b9050919050565b600062000ee862000efb565b905062000ef68282620010fc565b919050565b6000604051905090565b600067ffffffffffffffff82111562000f235762000f2262001190565b5b62000f2e82620011d3565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000f758262001086565b915062000f828362001086565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000fba5762000fb962001132565b5b828201905092915050565b600062000fd28262001086565b915062000fdf8362001086565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200101b576200101a62001132565b5b828202905092915050565b6000620010338262001066565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620010b057808201518184015260208101905062001093565b83811115620010c0576000848401525b50505050565b60006002820490506001821680620010df57607f821691505b60208210811415620010f657620010f562001161565b5b50919050565b6200110782620011d3565b810181811067ffffffffffffffff8211171562001129576200112862001190565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f66696661203a3a20416c7265616479206d696e746564203130302074696d657360008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b7f66696661203a3a204265796f6e64204d617820537570706c7900000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f66696661203a3a204e6f7420596574204163746976652e000000000000000000600082015250565b7f66696661203a3a2042656c6f7720000000000000000000000000000000000000600082015250565b6200130b816200103a565b81146200131757600080fd5b50565b613624806200132a6000396000f3fe60806040526004361061025c5760003560e01c80635b8ad429116101445780638da5cb5b116100b6578063c4ae31681161007a578063c4ae316814610860578063c87b56dd14610877578063e222c7f9146108b4578063e8b5498d146108cb578063e985e9c5146108f6578063f2fde38b146109335761025c565b80638da5cb5b1461079c57806395d89b41146107c7578063a22cb465146107f2578063b0962c531461081b578063b88d4fde146108445761025c565b80637cb64759116101085780637cb64759146106b25780637f00c7a6146106db57806383a974a2146107045780638456cb591461072f57806386a173ee1461075a5780638bb64a8c146107855761025c565b80635b8ad429146105df5780636352211e146105f657806365f130971461063357806370a082311461065e578063715018a61461069b5761025c565b806323b872dd116101dd57806340c10f19116101a157806340c10f19146104fd57806342842e0e1461051957806344a0d68a14610535578063495906571461055e5780634cf5f7a41461058957806354214f69146105b45761025c565b806323b872dd1461045857806323f6de961461047457806332cb6b0c1461049057806333bc1c5c146104bb5780633ccfd60b146104e65761025c565b8063081812fc11610224578063081812fc1461035a578063095ea7b31461039757806318160ddd146103b357806318cae269146103de5780631c16521c1461041b5761025c565b806301ffc9a7146102615780630345e3cb1461029e5780630675b7c6146102db57806306fdde031461030457806307e89ec01461032f575b600080fd5b34801561026d57600080fd5b506102886004803603810190610283919061296d565b61095c565b6040516102959190612e4b565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c0919061277d565b6109ee565b6040516102d29190612fa3565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd91906129c7565b610a06565b005b34801561031057600080fd5b50610319610a28565b6040516103269190612e81565b60405180910390f35b34801561033b57600080fd5b50610344610aba565b6040516103519190612fa3565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190612a10565b610ac0565b60405161038e9190612dc2565b60405180910390f35b6103b160048036038101906103ac9190612900565b610b3f565b005b3480156103bf57600080fd5b506103c8610b4f565b6040516103d59190612fa3565b60405180910390f35b3480156103ea57600080fd5b506104056004803603810190610400919061277d565b610b66565b6040516104129190612fa3565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d919061277d565b610b7e565b60405161044f9190612fa3565b60405180910390f35b610472600480360381019061046d91906127ea565b610b96565b005b61048e60048036038101906104899190612900565b610ebb565b005b34801561049c57600080fd5b506104a5610fbe565b6040516104b29190612fa3565b60405180910390f35b3480156104c757600080fd5b506104d0610fc4565b6040516104dd9190612e4b565b60405180910390f35b3480156104f257600080fd5b506104fb610fd7565b005b61051760048036038101906105129190612900565b611058565b005b610533600480360381019061052e91906127ea565b611291565b005b34801561054157600080fd5b5061055c60048036038101906105579190612a10565b6112b1565b005b34801561056a57600080fd5b506105736112c3565b6040516105809190612e66565b60405180910390f35b34801561059557600080fd5b5061059e6112cd565b6040516105ab9190612e81565b60405180910390f35b3480156105c057600080fd5b506105c961135b565b6040516105d69190612e4b565b60405180910390f35b3480156105eb57600080fd5b506105f461136e565b005b34801561060257600080fd5b5061061d60048036038101906106189190612a10565b6113a2565b60405161062a9190612dc2565b60405180910390f35b34801561063f57600080fd5b506106486113b4565b6040516106559190612fa3565b60405180910390f35b34801561066a57600080fd5b506106856004803603810190610680919061277d565b6113ba565b6040516106929190612fa3565b60405180910390f35b3480156106a757600080fd5b506106b0611473565b005b3480156106be57600080fd5b506106d960048036038101906106d49190612940565b611487565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190612a10565b611499565b005b34801561071057600080fd5b506107196114ab565b6040516107269190612e29565b60405180910390f35b34801561073b57600080fd5b50610744611515565b6040516107519190612e4b565b60405180910390f35b34801561076657600080fd5b5061076f611528565b60405161077c9190612e4b565b60405180910390f35b34801561079157600080fd5b5061079a61153b565b005b3480156107a857600080fd5b506107b161156f565b6040516107be9190612dc2565b60405180910390f35b3480156107d357600080fd5b506107dc611599565b6040516107e99190612e81565b60405180910390f35b3480156107fe57600080fd5b50610819600480360381019061081491906128c0565b61162b565b005b34801561082757600080fd5b50610842600480360381019061083d91906129c7565b611736565b005b61085e6004803603810190610859919061283d565b611758565b005b34801561086c57600080fd5b506108756117cb565b005b34801561088357600080fd5b5061089e60048036038101906108999190612a10565b6117ff565b6040516108ab9190612e81565b60405180910390f35b3480156108c057600080fd5b506108c9611961565b005b3480156108d757600080fd5b506108e0611995565b6040516108ed9190612e4b565b60405180910390f35b34801561090257600080fd5b5061091d600480360381019061091891906127aa565b6119a8565b60405161092a9190612e4b565b60405180910390f35b34801561093f57600080fd5b5061095a6004803603810190610955919061277d565b611a3c565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109e75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60126020528060005260406000206000915090505481565b610a0e611ac0565b80600c9080519060200190610a2492919061257c565b5050565b606060028054610a3790613251565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6390613251565b8015610ab05780601f10610a8557610100808354040283529160200191610ab0565b820191906000526020600020905b815481529060010190602001808311610a9357829003601f168201915b5050505050905090565b600b5481565b6000610acb82611b3e565b610b01576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b4b82826001611b9d565b5050565b6000610b59611ced565b6001546000540303905090565b600e6020528060005260406000206000915090505481565b60116020528060005260406000206000915090505481565b6000610ba182611cf2565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c08576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c1484611dc0565b91509150610c2a8187610c25611de7565b611def565b610c7657610c3f86610c3a611de7565b6119a8565b610c75576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610cdd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cea8686866001611e33565b8015610cf557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610dc385610d9f888887611e39565b7c020000000000000000000000000000000000000000000000000000000017611e61565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e4b576000600185019050600060046000838152602001908152602001600020541415610e49576000548114610e48578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610eb38686866001611e8c565b505050505050565b600f60039054906101000a900460ff1615610f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0290612f23565b60405180910390fd5b600f60019054906101000a900460ff16610f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5190612f63565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fa991906130e1565b92505081905550610fba8282611e92565b5050565b60095481565b600f60019054906101000a900460ff1681565b610fdf611ac0565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161100590612dad565b60006040518083038185875af1925050503d8060008114611042576040519150601f19603f3d011682016040523d82523d6000602084013e611047565b606091505b505090508061105557600080fd5b50565b600f60039054906101000a900460ff16156110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90612f23565b60405180910390fd5b600f60019054906101000a900460ff166110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90612f63565b60405180910390fd5b60095481611103610b4f565b61110d91906130e1565b111561114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114590612ee3565b60405180910390fd5b600a5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461119c91906130e1565b11156111dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d490612ea3565b60405180910390fd5b80600b546111eb9190613137565b34101561122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490612f83565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461127c91906130e1565b9250508190555061128d8282611e92565b5050565b6112ac83838360405180602001604052806000815250611758565b505050565b6112b9611ac0565b80600b8190555050565b6000601054905090565b600d80546112da90613251565b80601f016020809104026020016040519081016040528092919081815260200182805461130690613251565b80156113535780601f1061132857610100808354040283529160200191611353565b820191906000526020600020905b81548152906001019060200180831161133657829003601f168201915b505050505081565b600f60009054906101000a900460ff1681565b611376611ac0565b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b60006113ad82611cf2565b9050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611422576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61147b611ac0565b6114856000611eb0565b565b61148f611ac0565b8060108190555050565b6114a1611ac0565b80600a8190555050565b6060600033905060006114bd826113ba565b905060008167ffffffffffffffff8111156114db576114da613341565b5b6040519080825280602002602001820160405280156115095781602001602082028036833780820191505090505b50905080935050505090565b600f60039054906101000a900460ff1681565b600f60029054906101000a900460ff1681565b611543611ac0565b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115a890613251565b80601f01602080910402602001604051908101604052809291908181526020018280546115d490613251565b80156116215780601f106115f657610100808354040283529160200191611621565b820191906000526020600020905b81548152906001019060200180831161160457829003601f168201915b5050505050905090565b8060076000611638611de7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116e5611de7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161172a9190612e4b565b60405180910390a35050565b61173e611ac0565b80600d908051906020019061175492919061257c565b5050565b611763848484610b96565b60008373ffffffffffffffffffffffffffffffffffffffff163b146117c55761178e84848484611f76565b6117c4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6117d3611ac0565b600f60039054906101000a900460ff1615600f60036101000a81548160ff021916908315150217905550565b606061180a82611b3e565b611849576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184090612f43565b60405180910390fd5b600060018361185891906130e1565b9050600f60009054906101000a900460ff1661190157600d805461187b90613251565b80601f01602080910402602001604051908101604052809291908181526020018280546118a790613251565b80156118f45780601f106118c9576101008083540402835291602001916118f4565b820191906000526020600020905b8154815290600101906020018083116118d757829003601f168201915b505050505091505061195c565b6000600c805461191090613251565b90501161192c5760405180602001604052806000815250611958565b600c611937826120d6565b604051602001611948929190612d7e565b6040516020818303038152906040525b9150505b919050565b611969611ac0565b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b600f60049054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a44611ac0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aab90612ec3565b60405180910390fd5b611abd81611eb0565b50565b611ac86121ae565b73ffffffffffffffffffffffffffffffffffffffff16611ae661156f565b73ffffffffffffffffffffffffffffffffffffffff1614611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390612f03565b60405180910390fd5b565b600081611b49611ced565b11158015611b58575060005482105b8015611b96575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000611ba8836113a2565b9050818015611bea57508073ffffffffffffffffffffffffffffffffffffffff16611bd1611de7565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611c3757611c0081611bfb611de7565b6119a8565b611c36576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b600090565b60008082905080611d01611ced565b11611d8957600054811015611d885760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611d86575b6000811415611d7c576004600083600190039350838152602001908152602001600020549050611d51565b8092505050611dbb565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611e508686846121b6565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b611eac8282604051806020016040528060008152506121bf565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f9c611de7565b8786866040518563ffffffff1660e01b8152600401611fbe9493929190612ddd565b602060405180830381600087803b158015611fd857600080fd5b505af192505050801561200957506040513d601f19601f82011682018060405250810190612006919061299a565b60015b612083573d8060008114612039576040519150601f19603f3d011682016040523d82523d6000602084013e61203e565b606091505b5060008151141561207b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600060016120e58461225c565b01905060008167ffffffffffffffff81111561210457612103613341565b5b6040519080825280601f01601f1916602001820160405280156121365781602001600182028036833780820191505090505b509050600082602001820190505b6001156121a3578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161218d5761218c6132e3565b5b049450600085141561219e576121a3565b612144565b819350505050919050565b600033905090565b60009392505050565b6121c983836123af565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461225757600080549050600083820390505b6122096000868380600101945086611f76565b61223f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106121f657816000541461225457600080fd5b50505b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106122ba577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816122b0576122af6132e3565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106122f7576d04ee2d6d415b85acef810000000083816122ed576122ec6132e3565b5b0492506020810190505b662386f26fc10000831061232657662386f26fc10000838161231c5761231b6132e3565b5b0492506010810190505b6305f5e100831061234f576305f5e1008381612345576123446132e3565b5b0492506008810190505b612710831061237457612710838161236a576123696132e3565b5b0492506004810190505b60648310612397576064838161238d5761238c6132e3565b5b0492506002810190505b600a83106123a6576001810190505b80915050919050565b60008054905060008214156123f0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123fd6000848385611e33565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612474836124656000866000611e39565b61246e8561256c565b17611e61565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461251557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506124da565b506000821415612551576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125676000848385611e8c565b505050565b60006001821460e11b9050919050565b82805461258890613251565b90600052602060002090601f0160209004810192826125aa57600085556125f1565b82601f106125c357805160ff19168380011785556125f1565b828001600101855582156125f1579182015b828111156125f05782518255916020019190600101906125d5565b5b5090506125fe9190612602565b5090565b5b8082111561261b576000816000905550600101612603565b5090565b600061263261262d84612fe3565b612fbe565b90508281526020810184848401111561264e5761264d613375565b5b61265984828561320f565b509392505050565b600061267461266f84613014565b612fbe565b9050828152602081018484840111156126905761268f613375565b5b61269b84828561320f565b509392505050565b6000813590506126b28161357b565b92915050565b6000813590506126c781613592565b92915050565b6000813590506126dc816135a9565b92915050565b6000813590506126f1816135c0565b92915050565b600081519050612706816135c0565b92915050565b600082601f83011261272157612720613370565b5b813561273184826020860161261f565b91505092915050565b600082601f83011261274f5761274e613370565b5b813561275f848260208601612661565b91505092915050565b600081359050612777816135d7565b92915050565b6000602082840312156127935761279261337f565b5b60006127a1848285016126a3565b91505092915050565b600080604083850312156127c1576127c061337f565b5b60006127cf858286016126a3565b92505060206127e0858286016126a3565b9150509250929050565b6000806000606084860312156128035761280261337f565b5b6000612811868287016126a3565b9350506020612822868287016126a3565b925050604061283386828701612768565b9150509250925092565b600080600080608085870312156128575761285661337f565b5b6000612865878288016126a3565b9450506020612876878288016126a3565b935050604061288787828801612768565b925050606085013567ffffffffffffffff8111156128a8576128a761337a565b5b6128b48782880161270c565b91505092959194509250565b600080604083850312156128d7576128d661337f565b5b60006128e5858286016126a3565b92505060206128f6858286016126b8565b9150509250929050565b600080604083850312156129175761291661337f565b5b6000612925858286016126a3565b925050602061293685828601612768565b9150509250929050565b6000602082840312156129565761295561337f565b5b6000612964848285016126cd565b91505092915050565b6000602082840312156129835761298261337f565b5b6000612991848285016126e2565b91505092915050565b6000602082840312156129b0576129af61337f565b5b60006129be848285016126f7565b91505092915050565b6000602082840312156129dd576129dc61337f565b5b600082013567ffffffffffffffff8111156129fb576129fa61337a565b5b612a078482850161273a565b91505092915050565b600060208284031215612a2657612a2561337f565b5b6000612a3484828501612768565b91505092915050565b6000612a498383612d60565b60208301905092915050565b612a5e81613191565b82525050565b6000612a6f8261306a565b612a798185613098565b9350612a8483613045565b8060005b83811015612ab5578151612a9c8882612a3d565b9750612aa78361308b565b925050600181019050612a88565b5085935050505092915050565b612acb816131a3565b82525050565b612ada816131af565b82525050565b6000612aeb82613075565b612af581856130a9565b9350612b0581856020860161321e565b612b0e81613384565b840191505092915050565b6000612b2482613080565b612b2e81856130c5565b9350612b3e81856020860161321e565b612b4781613384565b840191505092915050565b6000612b5d82613080565b612b6781856130d6565b9350612b7781856020860161321e565b80840191505092915050565b60008154612b9081613251565b612b9a81866130d6565b94506001821660008114612bb55760018114612bc657612bf9565b60ff19831686528186019350612bf9565b612bcf85613055565b60005b83811015612bf157815481890152600182019150602081019050612bd2565b838801955050505b50505092915050565b6000612c0f6021836130c5565b9150612c1a82613395565b604082019050919050565b6000612c326026836130c5565b9150612c3d826133e4565b604082019050919050565b6000612c556019836130c5565b9150612c6082613433565b602082019050919050565b6000612c786005836130d6565b9150612c838261345c565b600582019050919050565b6000612c9b6020836130c5565b9150612ca682613485565b602082019050919050565b6000612cbe6016836130c5565b9150612cc9826134ae565b602082019050919050565b6000612ce1602f836130c5565b9150612cec826134d7565b604082019050919050565b6000612d046017836130c5565b9150612d0f82613526565b602082019050919050565b6000612d276000836130ba565b9150612d328261354f565b600082019050919050565b6000612d4a600e836130c5565b9150612d5582613552565b602082019050919050565b612d6981613205565b82525050565b612d7881613205565b82525050565b6000612d8a8285612b83565b9150612d968284612b52565b9150612da182612c6b565b91508190509392505050565b6000612db882612d1a565b9150819050919050565b6000602082019050612dd76000830184612a55565b92915050565b6000608082019050612df26000830187612a55565b612dff6020830186612a55565b612e0c6040830185612d6f565b8181036060830152612e1e8184612ae0565b905095945050505050565b60006020820190508181036000830152612e438184612a64565b905092915050565b6000602082019050612e606000830184612ac2565b92915050565b6000602082019050612e7b6000830184612ad1565b92915050565b60006020820190508181036000830152612e9b8184612b19565b905092915050565b60006020820190508181036000830152612ebc81612c02565b9050919050565b60006020820190508181036000830152612edc81612c25565b9050919050565b60006020820190508181036000830152612efc81612c48565b9050919050565b60006020820190508181036000830152612f1c81612c8e565b9050919050565b60006020820190508181036000830152612f3c81612cb1565b9050919050565b60006020820190508181036000830152612f5c81612cd4565b9050919050565b60006020820190508181036000830152612f7c81612cf7565b9050919050565b60006020820190508181036000830152612f9c81612d3d565b9050919050565b6000602082019050612fb86000830184612d6f565b92915050565b6000612fc8612fd9565b9050612fd48282613283565b919050565b6000604051905090565b600067ffffffffffffffff821115612ffe57612ffd613341565b5b61300782613384565b9050602081019050919050565b600067ffffffffffffffff82111561302f5761302e613341565b5b61303882613384565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006130ec82613205565b91506130f783613205565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561312c5761312b6132b4565b5b828201905092915050565b600061314282613205565b915061314d83613205565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613186576131856132b4565b5b828202905092915050565b600061319c826131e5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561323c578082015181840152602081019050613221565b8381111561324b576000848401525b50505050565b6000600282049050600182168061326957607f821691505b6020821081141561327d5761327c613312565b5b50919050565b61328c82613384565b810181811067ffffffffffffffff821117156132ab576132aa613341565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f66696661203a3a20416c7265616479206d696e746564203130302074696d657360008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f66696661203a3a204265796f6e64204d617820537570706c7900000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f66696661203a3a204e6f7420596574204163746976652e000000000000000000600082015250565b50565b7f66696661203a3a2042656c6f7720000000000000000000000000000000000000600082015250565b61358481613191565b811461358f57600080fd5b50565b61359b816131a3565b81146135a657600080fd5b50565b6135b2816131af565b81146135bd57600080fd5b50565b6135c9816131b9565b81146135d457600080fd5b50565b6135e081613205565b81146135eb57600080fd5b5056fea2646970667358221220957aec859f2120dcd94dd9db614c9709183f6be1c7c0508fc2fa3dafdd46265864736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000106d65746176657273776f726c646375700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084e46545f46494641000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f656c657661746f722d73657276696365732e636f6d2f4e46542f6a736f6e2f00000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80635b8ad429116101445780638da5cb5b116100b6578063c4ae31681161007a578063c4ae316814610860578063c87b56dd14610877578063e222c7f9146108b4578063e8b5498d146108cb578063e985e9c5146108f6578063f2fde38b146109335761025c565b80638da5cb5b1461079c57806395d89b41146107c7578063a22cb465146107f2578063b0962c531461081b578063b88d4fde146108445761025c565b80637cb64759116101085780637cb64759146106b25780637f00c7a6146106db57806383a974a2146107045780638456cb591461072f57806386a173ee1461075a5780638bb64a8c146107855761025c565b80635b8ad429146105df5780636352211e146105f657806365f130971461063357806370a082311461065e578063715018a61461069b5761025c565b806323b872dd116101dd57806340c10f19116101a157806340c10f19146104fd57806342842e0e1461051957806344a0d68a14610535578063495906571461055e5780634cf5f7a41461058957806354214f69146105b45761025c565b806323b872dd1461045857806323f6de961461047457806332cb6b0c1461049057806333bc1c5c146104bb5780633ccfd60b146104e65761025c565b8063081812fc11610224578063081812fc1461035a578063095ea7b31461039757806318160ddd146103b357806318cae269146103de5780631c16521c1461041b5761025c565b806301ffc9a7146102615780630345e3cb1461029e5780630675b7c6146102db57806306fdde031461030457806307e89ec01461032f575b600080fd5b34801561026d57600080fd5b506102886004803603810190610283919061296d565b61095c565b6040516102959190612e4b565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c0919061277d565b6109ee565b6040516102d29190612fa3565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd91906129c7565b610a06565b005b34801561031057600080fd5b50610319610a28565b6040516103269190612e81565b60405180910390f35b34801561033b57600080fd5b50610344610aba565b6040516103519190612fa3565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190612a10565b610ac0565b60405161038e9190612dc2565b60405180910390f35b6103b160048036038101906103ac9190612900565b610b3f565b005b3480156103bf57600080fd5b506103c8610b4f565b6040516103d59190612fa3565b60405180910390f35b3480156103ea57600080fd5b506104056004803603810190610400919061277d565b610b66565b6040516104129190612fa3565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d919061277d565b610b7e565b60405161044f9190612fa3565b60405180910390f35b610472600480360381019061046d91906127ea565b610b96565b005b61048e60048036038101906104899190612900565b610ebb565b005b34801561049c57600080fd5b506104a5610fbe565b6040516104b29190612fa3565b60405180910390f35b3480156104c757600080fd5b506104d0610fc4565b6040516104dd9190612e4b565b60405180910390f35b3480156104f257600080fd5b506104fb610fd7565b005b61051760048036038101906105129190612900565b611058565b005b610533600480360381019061052e91906127ea565b611291565b005b34801561054157600080fd5b5061055c60048036038101906105579190612a10565b6112b1565b005b34801561056a57600080fd5b506105736112c3565b6040516105809190612e66565b60405180910390f35b34801561059557600080fd5b5061059e6112cd565b6040516105ab9190612e81565b60405180910390f35b3480156105c057600080fd5b506105c961135b565b6040516105d69190612e4b565b60405180910390f35b3480156105eb57600080fd5b506105f461136e565b005b34801561060257600080fd5b5061061d60048036038101906106189190612a10565b6113a2565b60405161062a9190612dc2565b60405180910390f35b34801561063f57600080fd5b506106486113b4565b6040516106559190612fa3565b60405180910390f35b34801561066a57600080fd5b506106856004803603810190610680919061277d565b6113ba565b6040516106929190612fa3565b60405180910390f35b3480156106a757600080fd5b506106b0611473565b005b3480156106be57600080fd5b506106d960048036038101906106d49190612940565b611487565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190612a10565b611499565b005b34801561071057600080fd5b506107196114ab565b6040516107269190612e29565b60405180910390f35b34801561073b57600080fd5b50610744611515565b6040516107519190612e4b565b60405180910390f35b34801561076657600080fd5b5061076f611528565b60405161077c9190612e4b565b60405180910390f35b34801561079157600080fd5b5061079a61153b565b005b3480156107a857600080fd5b506107b161156f565b6040516107be9190612dc2565b60405180910390f35b3480156107d357600080fd5b506107dc611599565b6040516107e99190612e81565b60405180910390f35b3480156107fe57600080fd5b50610819600480360381019061081491906128c0565b61162b565b005b34801561082757600080fd5b50610842600480360381019061083d91906129c7565b611736565b005b61085e6004803603810190610859919061283d565b611758565b005b34801561086c57600080fd5b506108756117cb565b005b34801561088357600080fd5b5061089e60048036038101906108999190612a10565b6117ff565b6040516108ab9190612e81565b60405180910390f35b3480156108c057600080fd5b506108c9611961565b005b3480156108d757600080fd5b506108e0611995565b6040516108ed9190612e4b565b60405180910390f35b34801561090257600080fd5b5061091d600480360381019061091891906127aa565b6119a8565b60405161092a9190612e4b565b60405180910390f35b34801561093f57600080fd5b5061095a6004803603810190610955919061277d565b611a3c565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109e75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60126020528060005260406000206000915090505481565b610a0e611ac0565b80600c9080519060200190610a2492919061257c565b5050565b606060028054610a3790613251565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6390613251565b8015610ab05780601f10610a8557610100808354040283529160200191610ab0565b820191906000526020600020905b815481529060010190602001808311610a9357829003601f168201915b5050505050905090565b600b5481565b6000610acb82611b3e565b610b01576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b4b82826001611b9d565b5050565b6000610b59611ced565b6001546000540303905090565b600e6020528060005260406000206000915090505481565b60116020528060005260406000206000915090505481565b6000610ba182611cf2565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c08576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c1484611dc0565b91509150610c2a8187610c25611de7565b611def565b610c7657610c3f86610c3a611de7565b6119a8565b610c75576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610cdd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cea8686866001611e33565b8015610cf557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610dc385610d9f888887611e39565b7c020000000000000000000000000000000000000000000000000000000017611e61565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e4b576000600185019050600060046000838152602001908152602001600020541415610e49576000548114610e48578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610eb38686866001611e8c565b505050505050565b600f60039054906101000a900460ff1615610f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0290612f23565b60405180910390fd5b600f60019054906101000a900460ff16610f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5190612f63565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fa991906130e1565b92505081905550610fba8282611e92565b5050565b60095481565b600f60019054906101000a900460ff1681565b610fdf611ac0565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161100590612dad565b60006040518083038185875af1925050503d8060008114611042576040519150601f19603f3d011682016040523d82523d6000602084013e611047565b606091505b505090508061105557600080fd5b50565b600f60039054906101000a900460ff16156110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90612f23565b60405180910390fd5b600f60019054906101000a900460ff166110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90612f63565b60405180910390fd5b60095481611103610b4f565b61110d91906130e1565b111561114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114590612ee3565b60405180910390fd5b600a5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461119c91906130e1565b11156111dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d490612ea3565b60405180910390fd5b80600b546111eb9190613137565b34101561122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490612f83565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461127c91906130e1565b9250508190555061128d8282611e92565b5050565b6112ac83838360405180602001604052806000815250611758565b505050565b6112b9611ac0565b80600b8190555050565b6000601054905090565b600d80546112da90613251565b80601f016020809104026020016040519081016040528092919081815260200182805461130690613251565b80156113535780601f1061132857610100808354040283529160200191611353565b820191906000526020600020905b81548152906001019060200180831161133657829003601f168201915b505050505081565b600f60009054906101000a900460ff1681565b611376611ac0565b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b60006113ad82611cf2565b9050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611422576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61147b611ac0565b6114856000611eb0565b565b61148f611ac0565b8060108190555050565b6114a1611ac0565b80600a8190555050565b6060600033905060006114bd826113ba565b905060008167ffffffffffffffff8111156114db576114da613341565b5b6040519080825280602002602001820160405280156115095781602001602082028036833780820191505090505b50905080935050505090565b600f60039054906101000a900460ff1681565b600f60029054906101000a900460ff1681565b611543611ac0565b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115a890613251565b80601f01602080910402602001604051908101604052809291908181526020018280546115d490613251565b80156116215780601f106115f657610100808354040283529160200191611621565b820191906000526020600020905b81548152906001019060200180831161160457829003601f168201915b5050505050905090565b8060076000611638611de7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116e5611de7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161172a9190612e4b565b60405180910390a35050565b61173e611ac0565b80600d908051906020019061175492919061257c565b5050565b611763848484610b96565b60008373ffffffffffffffffffffffffffffffffffffffff163b146117c55761178e84848484611f76565b6117c4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6117d3611ac0565b600f60039054906101000a900460ff1615600f60036101000a81548160ff021916908315150217905550565b606061180a82611b3e565b611849576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184090612f43565b60405180910390fd5b600060018361185891906130e1565b9050600f60009054906101000a900460ff1661190157600d805461187b90613251565b80601f01602080910402602001604051908101604052809291908181526020018280546118a790613251565b80156118f45780601f106118c9576101008083540402835291602001916118f4565b820191906000526020600020905b8154815290600101906020018083116118d757829003601f168201915b505050505091505061195c565b6000600c805461191090613251565b90501161192c5760405180602001604052806000815250611958565b600c611937826120d6565b604051602001611948929190612d7e565b6040516020818303038152906040525b9150505b919050565b611969611ac0565b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b600f60049054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a44611ac0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aab90612ec3565b60405180910390fd5b611abd81611eb0565b50565b611ac86121ae565b73ffffffffffffffffffffffffffffffffffffffff16611ae661156f565b73ffffffffffffffffffffffffffffffffffffffff1614611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390612f03565b60405180910390fd5b565b600081611b49611ced565b11158015611b58575060005482105b8015611b96575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000611ba8836113a2565b9050818015611bea57508073ffffffffffffffffffffffffffffffffffffffff16611bd1611de7565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611c3757611c0081611bfb611de7565b6119a8565b611c36576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b600090565b60008082905080611d01611ced565b11611d8957600054811015611d885760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611d86575b6000811415611d7c576004600083600190039350838152602001908152602001600020549050611d51565b8092505050611dbb565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611e508686846121b6565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b611eac8282604051806020016040528060008152506121bf565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f9c611de7565b8786866040518563ffffffff1660e01b8152600401611fbe9493929190612ddd565b602060405180830381600087803b158015611fd857600080fd5b505af192505050801561200957506040513d601f19601f82011682018060405250810190612006919061299a565b60015b612083573d8060008114612039576040519150601f19603f3d011682016040523d82523d6000602084013e61203e565b606091505b5060008151141561207b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600060016120e58461225c565b01905060008167ffffffffffffffff81111561210457612103613341565b5b6040519080825280601f01601f1916602001820160405280156121365781602001600182028036833780820191505090505b509050600082602001820190505b6001156121a3578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161218d5761218c6132e3565b5b049450600085141561219e576121a3565b612144565b819350505050919050565b600033905090565b60009392505050565b6121c983836123af565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461225757600080549050600083820390505b6122096000868380600101945086611f76565b61223f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106121f657816000541461225457600080fd5b50505b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106122ba577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816122b0576122af6132e3565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106122f7576d04ee2d6d415b85acef810000000083816122ed576122ec6132e3565b5b0492506020810190505b662386f26fc10000831061232657662386f26fc10000838161231c5761231b6132e3565b5b0492506010810190505b6305f5e100831061234f576305f5e1008381612345576123446132e3565b5b0492506008810190505b612710831061237457612710838161236a576123696132e3565b5b0492506004810190505b60648310612397576064838161238d5761238c6132e3565b5b0492506002810190505b600a83106123a6576001810190505b80915050919050565b60008054905060008214156123f0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123fd6000848385611e33565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612474836124656000866000611e39565b61246e8561256c565b17611e61565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461251557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506124da565b506000821415612551576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125676000848385611e8c565b505050565b60006001821460e11b9050919050565b82805461258890613251565b90600052602060002090601f0160209004810192826125aa57600085556125f1565b82601f106125c357805160ff19168380011785556125f1565b828001600101855582156125f1579182015b828111156125f05782518255916020019190600101906125d5565b5b5090506125fe9190612602565b5090565b5b8082111561261b576000816000905550600101612603565b5090565b600061263261262d84612fe3565b612fbe565b90508281526020810184848401111561264e5761264d613375565b5b61265984828561320f565b509392505050565b600061267461266f84613014565b612fbe565b9050828152602081018484840111156126905761268f613375565b5b61269b84828561320f565b509392505050565b6000813590506126b28161357b565b92915050565b6000813590506126c781613592565b92915050565b6000813590506126dc816135a9565b92915050565b6000813590506126f1816135c0565b92915050565b600081519050612706816135c0565b92915050565b600082601f83011261272157612720613370565b5b813561273184826020860161261f565b91505092915050565b600082601f83011261274f5761274e613370565b5b813561275f848260208601612661565b91505092915050565b600081359050612777816135d7565b92915050565b6000602082840312156127935761279261337f565b5b60006127a1848285016126a3565b91505092915050565b600080604083850312156127c1576127c061337f565b5b60006127cf858286016126a3565b92505060206127e0858286016126a3565b9150509250929050565b6000806000606084860312156128035761280261337f565b5b6000612811868287016126a3565b9350506020612822868287016126a3565b925050604061283386828701612768565b9150509250925092565b600080600080608085870312156128575761285661337f565b5b6000612865878288016126a3565b9450506020612876878288016126a3565b935050604061288787828801612768565b925050606085013567ffffffffffffffff8111156128a8576128a761337a565b5b6128b48782880161270c565b91505092959194509250565b600080604083850312156128d7576128d661337f565b5b60006128e5858286016126a3565b92505060206128f6858286016126b8565b9150509250929050565b600080604083850312156129175761291661337f565b5b6000612925858286016126a3565b925050602061293685828601612768565b9150509250929050565b6000602082840312156129565761295561337f565b5b6000612964848285016126cd565b91505092915050565b6000602082840312156129835761298261337f565b5b6000612991848285016126e2565b91505092915050565b6000602082840312156129b0576129af61337f565b5b60006129be848285016126f7565b91505092915050565b6000602082840312156129dd576129dc61337f565b5b600082013567ffffffffffffffff8111156129fb576129fa61337a565b5b612a078482850161273a565b91505092915050565b600060208284031215612a2657612a2561337f565b5b6000612a3484828501612768565b91505092915050565b6000612a498383612d60565b60208301905092915050565b612a5e81613191565b82525050565b6000612a6f8261306a565b612a798185613098565b9350612a8483613045565b8060005b83811015612ab5578151612a9c8882612a3d565b9750612aa78361308b565b925050600181019050612a88565b5085935050505092915050565b612acb816131a3565b82525050565b612ada816131af565b82525050565b6000612aeb82613075565b612af581856130a9565b9350612b0581856020860161321e565b612b0e81613384565b840191505092915050565b6000612b2482613080565b612b2e81856130c5565b9350612b3e81856020860161321e565b612b4781613384565b840191505092915050565b6000612b5d82613080565b612b6781856130d6565b9350612b7781856020860161321e565b80840191505092915050565b60008154612b9081613251565b612b9a81866130d6565b94506001821660008114612bb55760018114612bc657612bf9565b60ff19831686528186019350612bf9565b612bcf85613055565b60005b83811015612bf157815481890152600182019150602081019050612bd2565b838801955050505b50505092915050565b6000612c0f6021836130c5565b9150612c1a82613395565b604082019050919050565b6000612c326026836130c5565b9150612c3d826133e4565b604082019050919050565b6000612c556019836130c5565b9150612c6082613433565b602082019050919050565b6000612c786005836130d6565b9150612c838261345c565b600582019050919050565b6000612c9b6020836130c5565b9150612ca682613485565b602082019050919050565b6000612cbe6016836130c5565b9150612cc9826134ae565b602082019050919050565b6000612ce1602f836130c5565b9150612cec826134d7565b604082019050919050565b6000612d046017836130c5565b9150612d0f82613526565b602082019050919050565b6000612d276000836130ba565b9150612d328261354f565b600082019050919050565b6000612d4a600e836130c5565b9150612d5582613552565b602082019050919050565b612d6981613205565b82525050565b612d7881613205565b82525050565b6000612d8a8285612b83565b9150612d968284612b52565b9150612da182612c6b565b91508190509392505050565b6000612db882612d1a565b9150819050919050565b6000602082019050612dd76000830184612a55565b92915050565b6000608082019050612df26000830187612a55565b612dff6020830186612a55565b612e0c6040830185612d6f565b8181036060830152612e1e8184612ae0565b905095945050505050565b60006020820190508181036000830152612e438184612a64565b905092915050565b6000602082019050612e606000830184612ac2565b92915050565b6000602082019050612e7b6000830184612ad1565b92915050565b60006020820190508181036000830152612e9b8184612b19565b905092915050565b60006020820190508181036000830152612ebc81612c02565b9050919050565b60006020820190508181036000830152612edc81612c25565b9050919050565b60006020820190508181036000830152612efc81612c48565b9050919050565b60006020820190508181036000830152612f1c81612c8e565b9050919050565b60006020820190508181036000830152612f3c81612cb1565b9050919050565b60006020820190508181036000830152612f5c81612cd4565b9050919050565b60006020820190508181036000830152612f7c81612cf7565b9050919050565b60006020820190508181036000830152612f9c81612d3d565b9050919050565b6000602082019050612fb86000830184612d6f565b92915050565b6000612fc8612fd9565b9050612fd48282613283565b919050565b6000604051905090565b600067ffffffffffffffff821115612ffe57612ffd613341565b5b61300782613384565b9050602081019050919050565b600067ffffffffffffffff82111561302f5761302e613341565b5b61303882613384565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006130ec82613205565b91506130f783613205565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561312c5761312b6132b4565b5b828201905092915050565b600061314282613205565b915061314d83613205565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613186576131856132b4565b5b828202905092915050565b600061319c826131e5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561323c578082015181840152602081019050613221565b8381111561324b576000848401525b50505050565b6000600282049050600182168061326957607f821691505b6020821081141561327d5761327c613312565b5b50919050565b61328c82613384565b810181811067ffffffffffffffff821117156132ab576132aa613341565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f66696661203a3a20416c7265616479206d696e746564203130302074696d657360008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f66696661203a3a204265796f6e64204d617820537570706c7900000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f66696661203a3a204e6f7420596574204163746976652e000000000000000000600082015250565b50565b7f66696661203a3a2042656c6f7720000000000000000000000000000000000000600082015250565b61358481613191565b811461358f57600080fd5b50565b61359b816131a3565b81146135a657600080fd5b50565b6135b2816131af565b81146135bd57600080fd5b50565b6135c9816131b9565b81146135d457600080fd5b50565b6135e081613205565b81146135eb57600080fd5b5056fea2646970667358221220957aec859f2120dcd94dd9db614c9709183f6be1c7c0508fc2fa3dafdd46265864736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000106d65746176657273776f726c646375700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084e46545f46494641000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f656c657661746f722d73657276696365732e636f6d2f4e46542f6a736f6e2f00000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): metaversworldcup
Arg [1] : _symbol (string): NFT_FIFA
Arg [2] : _initBaseURI (string): https://elevator-services.com/NFT/json/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 6d65746176657273776f726c6463757000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 4e46545f46494641000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [8] : 68747470733a2f2f656c657661746f722d73657276696365732e636f6d2f4e46
Arg [9] : 542f6a736f6e2f00000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
108573:4404:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18517:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;109297:53;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;111710:113;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;19419:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108731:43;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25382:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25099:124;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;15170:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108860:55;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;109240:50;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29021:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;110285:275;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108647:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;109073:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112791:183;;;;;;;;;;;;;:::i;:::-;;109729:548;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;31942:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;112556:97;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;112088:90;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108818:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;109039:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112465:83;;;;;;;;;;;;;:::i;:::-;;20812:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108687:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16354:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107686:103;;;;;;;;;;;;;:::i;:::-;;111977;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;112661:122;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;111294:408;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;109145:17;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;109107:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112266:96;;;;;;;;;;;;;:::i;:::-;;107038:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19595:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25940:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;111829:140;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;32733:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;112186:72;;;;;;;;;;;;;:::i;:::-;;110727:473;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112370:87;;;;;;;;;;;;;:::i;:::-;;109169:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26331:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107944:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18517:639;18602:4;18941:10;18926:25;;:11;:25;;;;:102;;;;19018:10;19003:25;;:11;:25;;;;18926:102;:179;;;;19095:10;19080:25;;:11;:25;;;;18926:179;18906:199;;18517:639;;;:::o;109297:53::-;;;;;;;;;;;;;;;;;:::o;111710:113::-;106924:13;:11;:13::i;:::-;111802::::1;111787:12;:28;;;;;;;;;;;;:::i;:::-;;111710:113:::0;:::o;19419:100::-;19473:13;19506:5;19499:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19419:100;:::o;108731:43::-;;;;:::o;25382:218::-;25458:7;25483:16;25491:7;25483;:16::i;:::-;25478:64;;25508:34;;;;;;;;;;;;;;25478:64;25562:15;:24;25578:7;25562:24;;;;;;;;;;;:30;;;;;;;;;;;;25555:37;;25382:218;;;:::o;25099:124::-;25188:27;25197:2;25201:7;25210:4;25188:8;:27::i;:::-;25099:124;;:::o;15170:323::-;15231:7;15459:15;:13;:15::i;:::-;15444:12;;15428:13;;:28;:46;15421:53;;15170:323;:::o;108860:55::-;;;;;;;;;;;;;;;;;:::o;109240:50::-;;;;;;;;;;;;;;;;;:::o;29021:2825::-;29163:27;29193;29212:7;29193:18;:27::i;:::-;29163:57;;29278:4;29237:45;;29253:19;29237:45;;;29233:86;;29291:28;;;;;;;;;;;;;;29233:86;29333:27;29362:23;29389:35;29416:7;29389:26;:35::i;:::-;29332:92;;;;29524:68;29549:15;29566:4;29572:19;:17;:19::i;:::-;29524:24;:68::i;:::-;29519:180;;29612:43;29629:4;29635:19;:17;:19::i;:::-;29612:16;:43::i;:::-;29607:92;;29664:35;;;;;;;;;;;;;;29607:92;29519:180;29730:1;29716:16;;:2;:16;;;29712:52;;;29741:23;;;;;;;;;;;;;;29712:52;29777:43;29799:4;29805:2;29809:7;29818:1;29777:21;:43::i;:::-;29913:15;29910:160;;;30053:1;30032:19;30025:30;29910:160;30450:18;:24;30469:4;30450:24;;;;;;;;;;;;;;;;30448:26;;;;;;;;;;;;30519:18;:22;30538:2;30519:22;;;;;;;;;;;;;;;;30517:24;;;;;;;;;;;30841:146;30878:2;30927:45;30942:4;30948:2;30952:19;30927:14;:45::i;:::-;11569:8;30899:73;30841:18;:146::i;:::-;30812:17;:26;30830:7;30812:26;;;;;;;;;;;:175;;;;31158:1;11569:8;31107:19;:47;:52;31103:627;;;31180:19;31212:1;31202:7;:11;31180:33;;31369:1;31335:17;:30;31353:11;31335:30;;;;;;;;;;;;:35;31331:384;;;31473:13;;31458:11;:28;31454:242;;31653:19;31620:17;:30;31638:11;31620:30;;;;;;;;;;;:52;;;;31454:242;31331:384;31161:569;31103:627;31777:7;31773:2;31758:27;;31767:4;31758:27;;;;;;;;;;;;31796:42;31817:4;31823:2;31827:7;31836:1;31796:20;:42::i;:::-;29152:2694;;;29021:2825;;;:::o;110285:275::-;110373:5;;;;;;;;;;;110372:6;110364:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;110424:10;;;;;;;;;;;110416:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;110508:9;110484:15;:20;110500:3;110484:20;;;;;;;;;;;;;;;;:33;;;;;;;:::i;:::-;;;;;;;;110528:25;110538:3;110543:9;110528;:25::i;:::-;110285:275;;:::o;108647:33::-;;;;:::o;109073:27::-;;;;;;;;;;;;;:::o;112791:183::-;106924:13;:11;:13::i;:::-;112839:12:::1;112865:10;112857:24;;112903:21;112857:82;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112838:101;;;112958:7;112950:16;;;::::0;::::1;;112827:147;112791:183::o:0;109729:548::-;109810:5;;;;;;;;;;;109809:6;109801:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;109861:10;;;;;;;;;;;109853:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;109949:10;;109935:9;109919:13;:11;:13::i;:::-;:25;;;;:::i;:::-;109918:41;;109910:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;110052:15;;110038:9;110009:15;:27;110025:10;110009:27;;;;;;;;;;;;;;;;:38;;;;:::i;:::-;110008:59;;110000:105;;;;;;;;;;;;:::i;:::-;;;;;;;;;110158:9;110138:17;;:29;;;;:::i;:::-;110124:9;:44;;110116:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;110224:9;110200:15;:20;110216:3;110200:20;;;;;;;;;;;;;;;;:33;;;;;;;:::i;:::-;;;;;;;;110244:25;110254:3;110259:9;110244;:25::i;:::-;109729:548;;:::o;31942:193::-;32088:39;32105:4;32111:2;32115:7;32088:39;;;;;;;;;;;;:16;:39::i;:::-;31942:193;;;:::o;112556:97::-;106924:13;:11;:13::i;:::-;112637:8:::1;112617:17;:28;;;;112556:97:::0;:::o;112088:90::-;112134:7;112160:10;;112153:17;;112088:90;:::o;108818:35::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;109039:27::-;;;;;;;;;;;;;:::o;112465:83::-;106924:13;:11;:13::i;:::-;112530:10:::1;;;;;;;;;;;112529:11;112516:10;;:24;;;;;;;;;;;;;;;;;;112465:83::o:0;20812:152::-;20884:7;20927:27;20946:7;20927:18;:27::i;:::-;20904:52;;20812:152;;;:::o;108687:37::-;;;;:::o;16354:233::-;16426:7;16467:1;16450:19;;:5;:19;;;16446:60;;;16478:28;;;;;;;;;;;;;;16446:60;10513:13;16524:18;:25;16543:5;16524:25;;;;;;;;;;;;;;;;:55;16517:62;;16354:233;;;:::o;107686:103::-;106924:13;:11;:13::i;:::-;107751:30:::1;107778:1;107751:18;:30::i;:::-;107686:103::o:0;111977:::-;106924:13;:11;:13::i;:::-;112061:11:::1;112048:10;:24;;;;111977:103:::0;:::o;112661:122::-;106924:13;:11;:13::i;:::-;112758:17:::1;112740:15;:35;;;;112661:122:::0;:::o;111294:408::-;111334:16;111362:14;111379:10;111362:27;;111400:24;111427:17;111437:6;111427:9;:17::i;:::-;111400:44;;111455:25;111497:16;111483:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111455:59;;111686:8;111679:15;;;;;111294:408;:::o;109145:17::-;;;;;;;;;;;;;:::o;109107:31::-;;;;;;;;;;;;;:::o;112266:96::-;106924:13;:11;:13::i;:::-;112341::::1;;;;;;;;;;;112340:14;112324:13;;:30;;;;;;;;;;;;;;;;;;112266:96::o:0;107038:87::-;107084:7;107111:6;;;;;;;;;;;107104:13;;107038:87;:::o;19595:104::-;19651:13;19684:7;19677:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19595:104;:::o;25940:234::-;26087:8;26035:18;:39;26054:19;:17;:19::i;:::-;26035:39;;;;;;;;;;;;;;;:49;26075:8;26035:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;26147:8;26111:55;;26126:19;:17;:19::i;:::-;26111:55;;;26157:8;26111:55;;;;;;:::i;:::-;;;;;;;;25940:234;;:::o;111829:140::-;106924:13;:11;:13::i;:::-;111941:20:::1;111919:19;:42;;;;;;;;;;;;:::i;:::-;;111829:140:::0;:::o;32733:407::-;32908:31;32921:4;32927:2;32931:7;32908:12;:31::i;:::-;32972:1;32954:2;:14;;;:19;32950:183;;32993:56;33024:4;33030:2;33034:7;33043:5;32993:30;:56::i;:::-;32988:145;;33077:40;;;;;;;;;;;;;;32988:145;32950:183;32733:407;;;;:::o;112186:72::-;106924:13;:11;:13::i;:::-;112245:5:::1;;;;;;;;;;;112244:6;112236:5;;:14;;;;;;;;;;;;;;;;;;112186:72::o:0;110727:473::-;110800:13;110834:16;110842:7;110834;:16::i;:::-;110826:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;110915:14;110942:1;110932:7;:11;;;;:::i;:::-;110915:28;;110960:10;;;;;;;;;;;110956:68;;110993:19;110986:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110956:68;111117:1;111094:12;111088:26;;;;;:::i;:::-;;;:30;:104;;;;;;;;;;;;;;;;;111145:12;111159:17;:6;:15;:17::i;:::-;111128:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;111088:104;111081:111;;;110727:473;;;;:::o;112370:87::-;106924:13;:11;:13::i;:::-;112439:10:::1;;;;;;;;;;;112438:11;112425:10;;:24;;;;;;;;;;;;;;;;;;112370:87::o:0;109169:27::-;;;;;;;;;;;;;:::o;26331:164::-;26428:4;26452:18;:25;26471:5;26452:25;;;;;;;;;;;;;;;:35;26478:8;26452:35;;;;;;;;;;;;;;;;;;;;;;;;;26445:42;;26331:164;;;;:::o;107944:201::-;106924:13;:11;:13::i;:::-;108053:1:::1;108033:22;;:8;:22;;;;108025:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;108109:28;108128:8;108109:18;:28::i;:::-;107944:201:::0;:::o;107203:132::-;107278:12;:10;:12::i;:::-;107267:23;;:7;:5;:7::i;:::-;:23;;;107259:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;107203:132::o;26753:282::-;26818:4;26874:7;26855:15;:13;:15::i;:::-;:26;;:66;;;;;26908:13;;26898:7;:23;26855:66;:153;;;;;27007:1;11289:8;26959:17;:26;26977:7;26959:26;;;;;;;;;;;;:44;:49;26855:153;26835:173;;26753:282;;;:::o;43813:431::-;43908:13;43924:16;43932:7;43924;:16::i;:::-;43908:32;;43957:13;:45;;;;;43997:5;43974:28;;:19;:17;:19::i;:::-;:28;;;;43957:45;43953:192;;;44022:44;44039:5;44046:19;:17;:19::i;:::-;44022:16;:44::i;:::-;44017:128;;44094:35;;;;;;;;;;;;;;44017:128;43953:192;44190:2;44157:15;:24;44173:7;44157:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;44228:7;44224:2;44208:28;;44217:5;44208:28;;;;;;;;;;;;43897:347;43813:431;;;:::o;14686:92::-;14742:7;14686:92;:::o;21967:1275::-;22034:7;22054:12;22069:7;22054:22;;22137:4;22118:15;:13;:15::i;:::-;:23;22114:1061;;22171:13;;22164:4;:20;22160:1015;;;22209:14;22226:17;:23;22244:4;22226:23;;;;;;;;;;;;22209:40;;22343:1;11289:8;22315:6;:24;:29;22311:845;;;22980:113;22997:1;22987:6;:11;22980:113;;;23040:17;:25;23058:6;;;;;;;23040:25;;;;;;;;;;;;23031:34;;22980:113;;;23126:6;23119:13;;;;;;22311:845;22186:989;22160:1015;22114:1061;23203:31;;;;;;;;;;;;;;21967:1275;;;;:::o;27916:485::-;28018:27;28047:23;28088:38;28129:15;:24;28145:7;28129:24;;;;;;;;;;;28088:65;;28306:18;28283:41;;28363:19;28357:26;28338:45;;28268:126;27916:485;;;:::o;50300:105::-;50360:7;50387:10;50380:17;;50300:105;:::o;27144:659::-;27293:11;27458:16;27451:5;27447:28;27438:37;;27618:16;27607:9;27603:32;27590:45;;27768:15;27757:9;27754:30;27746:5;27735:9;27732:20;27729:56;27719:66;;27144:659;;;;;:::o;33802:159::-;;;;;:::o;49609:311::-;49744:7;49764:16;11693:3;49790:19;:41;;49764:68;;11693:3;49858:31;49869:4;49875:2;49879:9;49858:10;:31::i;:::-;49850:40;;:62;;49843:69;;;49609:311;;;;;:::o;23790:450::-;23870:14;24038:16;24031:5;24027:28;24018:37;;24215:5;24201:11;24176:23;24172:41;24169:52;24162:5;24159:63;24149:73;;23790:450;;;;:::o;34626:158::-;;;;;:::o;42893:112::-;42970:27;42980:2;42984:8;42970:27;;;;;;;;;;;;:9;:27::i;:::-;42893:112;;:::o;108305:191::-;108379:16;108398:6;;;;;;;;;;;108379:25;;108424:8;108415:6;;:17;;;;;;;;;;;;;;;;;;108479:8;108448:40;;108469:8;108448:40;;;;;;;;;;;;108368:128;108305:191;:::o;35224:716::-;35387:4;35433:2;35408:45;;;35454:19;:17;:19::i;:::-;35475:4;35481:7;35490:5;35408:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;35404:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35708:1;35691:6;:13;:18;35687:235;;;35737:40;;;;;;;;;;;;;;35687:235;35880:6;35874:13;35865:6;35861:2;35857:15;35850:38;35404:529;35577:54;;;35567:64;;;:6;:64;;;;35560:71;;;35224:716;;;;;;:::o;65564:::-;65620:13;65671:14;65708:1;65688:17;65699:5;65688:10;:17::i;:::-;:21;65671:38;;65724:20;65758:6;65747:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65724:41;;65780:11;65909:6;65905:2;65901:15;65893:6;65889:28;65882:35;;65946:288;65953:4;65946:288;;;65978:5;;;;;;;;66120:8;66115:2;66108:5;66104:14;66099:30;66094:3;66086:44;66176:2;66167:11;;;;;;:::i;:::-;;;;;66210:1;66201:5;:10;66197:21;;;66213:5;;66197:21;65946:288;;;66255:6;66248:13;;;;;65564:716;;;:::o;96874:98::-;96927:7;96954:10;96947:17;;96874:98;:::o;49310:147::-;49447:6;49310:147;;;;;:::o;42120:689::-;42251:19;42257:2;42261:8;42251:5;:19::i;:::-;42330:1;42312:2;:14;;;:19;42308:483;;42352:11;42366:13;;42352:27;;42398:13;42420:8;42414:3;:14;42398:30;;42447:233;42478:62;42517:1;42521:2;42525:7;;;;;;42534:5;42478:30;:62::i;:::-;42473:167;;42576:40;;;;;;;;;;;;;;42473:167;42675:3;42667:5;:11;42447:233;;42762:3;42745:13;;:20;42741:34;;42767:8;;;42741:34;42333:458;;42308:483;42120:689;;;:::o;62430:922::-;62483:7;62503:14;62520:1;62503:18;;62570:6;62561:5;:15;62557:102;;62606:6;62597:15;;;;;;:::i;:::-;;;;;62641:2;62631:12;;;;62557:102;62686:6;62677:5;:15;62673:102;;62722:6;62713:15;;;;;;:::i;:::-;;;;;62757:2;62747:12;;;;62673:102;62802:6;62793:5;:15;62789:102;;62838:6;62829:15;;;;;;:::i;:::-;;;;;62873:2;62863:12;;;;62789:102;62918:5;62909;:14;62905:99;;62953:5;62944:14;;;;;;:::i;:::-;;;;;62987:1;62977:11;;;;62905:99;63031:5;63022;:14;63018:99;;63066:5;63057:14;;;;;;:::i;:::-;;;;;63100:1;63090:11;;;;63018:99;63144:5;63135;:14;63131:99;;63179:5;63170:14;;;;;;:::i;:::-;;;;;63213:1;63203:11;;;;63131:99;63257:5;63248;:14;63244:66;;63293:1;63283:11;;;;63244:66;63338:6;63331:13;;;62430:922;;;:::o;36402:2966::-;36475:20;36498:13;;36475:36;;36538:1;36526:8;:13;36522:44;;;36548:18;;;;;;;;;;;;;;36522:44;36579:61;36609:1;36613:2;36617:12;36631:8;36579:21;:61::i;:::-;37123:1;10651:2;37093:1;:26;;37092:32;37080:8;:45;37054:18;:22;37073:2;37054:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;37402:139;37439:2;37493:33;37516:1;37520:2;37524:1;37493:14;:33::i;:::-;37460:30;37481:8;37460:20;:30::i;:::-;:66;37402:18;:139::i;:::-;37368:17;:31;37386:12;37368:31;;;;;;;;;;;:173;;;;37558:16;37589:11;37618:8;37603:12;:23;37589:37;;38139:16;38135:2;38131:25;38119:37;;38511:12;38471:8;38430:1;38368:25;38309:1;38248;38221:335;38882:1;38868:12;38864:20;38822:346;38923:3;38914:7;38911:16;38822:346;;39141:7;39131:8;39128:1;39101:25;39098:1;39095;39090:59;38976:1;38967:7;38963:15;38952:26;;38822:346;;;38826:77;39213:1;39201:8;:13;39197:45;;;39223:19;;;;;;;;;;;;;;39197:45;39275:3;39259:13;:19;;;;36828:2462;;39300:60;39329:1;39333:2;39337:12;39351:8;39300:20;:60::i;:::-;36464:2904;36402:2966;;:::o;24342:324::-;24412:14;24645:1;24635:8;24632:15;24606:24;24602:46;24592:56;;24342:324;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:410:1:-;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:112;;;280:79;;:::i;:::-;249:112;370:41;404:6;399:3;394;370:41;:::i;:::-;90:327;7:410;;;;;:::o;423:412::-;501:5;526:66;542:49;584:6;542:49;:::i;:::-;526:66;:::i;:::-;517:75;;615:6;608:5;601:21;653:4;646:5;642:16;691:3;682:6;677:3;673:16;670:25;667:112;;;698:79;;:::i;:::-;667:112;788:41;822:6;817:3;812;788:41;:::i;:::-;507:328;423:412;;;;;:::o;841:139::-;887:5;925:6;912:20;903:29;;941:33;968:5;941:33;:::i;:::-;841:139;;;;:::o;986:133::-;1029:5;1067:6;1054:20;1045:29;;1083:30;1107:5;1083:30;:::i;:::-;986:133;;;;:::o;1125:139::-;1171:5;1209:6;1196:20;1187:29;;1225:33;1252:5;1225:33;:::i;:::-;1125:139;;;;:::o;1270:137::-;1315:5;1353:6;1340:20;1331:29;;1369:32;1395:5;1369:32;:::i;:::-;1270:137;;;;:::o;1413:141::-;1469:5;1500:6;1494:13;1485:22;;1516:32;1542:5;1516:32;:::i;:::-;1413:141;;;;:::o;1573:338::-;1628:5;1677:3;1670:4;1662:6;1658:17;1654:27;1644:122;;1685:79;;:::i;:::-;1644:122;1802:6;1789:20;1827:78;1901:3;1893:6;1886:4;1878:6;1874:17;1827:78;:::i;:::-;1818:87;;1634:277;1573:338;;;;:::o;1931:340::-;1987:5;2036:3;2029:4;2021:6;2017:17;2013:27;2003:122;;2044:79;;:::i;:::-;2003:122;2161:6;2148:20;2186:79;2261:3;2253:6;2246:4;2238:6;2234:17;2186:79;:::i;:::-;2177:88;;1993:278;1931:340;;;;:::o;2277:139::-;2323:5;2361:6;2348:20;2339:29;;2377:33;2404:5;2377:33;:::i;:::-;2277:139;;;;:::o;2422:329::-;2481:6;2530:2;2518:9;2509:7;2505:23;2501:32;2498:119;;;2536:79;;:::i;:::-;2498:119;2656:1;2681:53;2726:7;2717:6;2706:9;2702:22;2681:53;:::i;:::-;2671:63;;2627:117;2422:329;;;;:::o;2757:474::-;2825:6;2833;2882:2;2870:9;2861:7;2857:23;2853:32;2850:119;;;2888:79;;:::i;:::-;2850:119;3008:1;3033:53;3078:7;3069:6;3058:9;3054:22;3033:53;:::i;:::-;3023:63;;2979:117;3135:2;3161:53;3206:7;3197:6;3186:9;3182:22;3161:53;:::i;:::-;3151:63;;3106:118;2757:474;;;;;:::o;3237:619::-;3314:6;3322;3330;3379:2;3367:9;3358:7;3354:23;3350:32;3347:119;;;3385:79;;:::i;:::-;3347:119;3505:1;3530:53;3575:7;3566:6;3555:9;3551:22;3530:53;:::i;:::-;3520:63;;3476:117;3632:2;3658:53;3703:7;3694:6;3683:9;3679:22;3658:53;:::i;:::-;3648:63;;3603:118;3760:2;3786:53;3831:7;3822:6;3811:9;3807:22;3786:53;:::i;:::-;3776:63;;3731:118;3237:619;;;;;:::o;3862:943::-;3957:6;3965;3973;3981;4030:3;4018:9;4009:7;4005:23;4001:33;3998:120;;;4037:79;;:::i;:::-;3998:120;4157:1;4182:53;4227:7;4218:6;4207:9;4203:22;4182:53;:::i;:::-;4172:63;;4128:117;4284:2;4310:53;4355:7;4346:6;4335:9;4331:22;4310:53;:::i;:::-;4300:63;;4255:118;4412:2;4438:53;4483:7;4474:6;4463:9;4459:22;4438:53;:::i;:::-;4428:63;;4383:118;4568:2;4557:9;4553:18;4540:32;4599:18;4591:6;4588:30;4585:117;;;4621:79;;:::i;:::-;4585:117;4726:62;4780:7;4771:6;4760:9;4756:22;4726:62;:::i;:::-;4716:72;;4511:287;3862:943;;;;;;;:::o;4811:468::-;4876:6;4884;4933:2;4921:9;4912:7;4908:23;4904:32;4901:119;;;4939:79;;:::i;:::-;4901:119;5059:1;5084:53;5129:7;5120:6;5109:9;5105:22;5084:53;:::i;:::-;5074:63;;5030:117;5186:2;5212:50;5254:7;5245:6;5234:9;5230:22;5212:50;:::i;:::-;5202:60;;5157:115;4811:468;;;;;:::o;5285:474::-;5353:6;5361;5410:2;5398:9;5389:7;5385:23;5381:32;5378:119;;;5416:79;;:::i;:::-;5378:119;5536:1;5561:53;5606:7;5597:6;5586:9;5582:22;5561:53;:::i;:::-;5551:63;;5507:117;5663:2;5689:53;5734:7;5725:6;5714:9;5710:22;5689:53;:::i;:::-;5679:63;;5634:118;5285:474;;;;;:::o;5765:329::-;5824:6;5873:2;5861:9;5852:7;5848:23;5844:32;5841:119;;;5879:79;;:::i;:::-;5841:119;5999:1;6024:53;6069:7;6060:6;6049:9;6045:22;6024:53;:::i;:::-;6014:63;;5970:117;5765:329;;;;:::o;6100:327::-;6158:6;6207:2;6195:9;6186:7;6182:23;6178:32;6175:119;;;6213:79;;:::i;:::-;6175:119;6333:1;6358:52;6402:7;6393:6;6382:9;6378:22;6358:52;:::i;:::-;6348:62;;6304:116;6100:327;;;;:::o;6433:349::-;6502:6;6551:2;6539:9;6530:7;6526:23;6522:32;6519:119;;;6557:79;;:::i;:::-;6519:119;6677:1;6702:63;6757:7;6748:6;6737:9;6733:22;6702:63;:::i;:::-;6692:73;;6648:127;6433:349;;;;:::o;6788:509::-;6857:6;6906:2;6894:9;6885:7;6881:23;6877:32;6874:119;;;6912:79;;:::i;:::-;6874:119;7060:1;7049:9;7045:17;7032:31;7090:18;7082:6;7079:30;7076:117;;;7112:79;;:::i;:::-;7076:117;7217:63;7272:7;7263:6;7252:9;7248:22;7217:63;:::i;:::-;7207:73;;7003:287;6788:509;;;;:::o;7303:329::-;7362:6;7411:2;7399:9;7390:7;7386:23;7382:32;7379:119;;;7417:79;;:::i;:::-;7379:119;7537:1;7562:53;7607:7;7598:6;7587:9;7583:22;7562:53;:::i;:::-;7552:63;;7508:117;7303:329;;;;:::o;7638:179::-;7707:10;7728:46;7770:3;7762:6;7728:46;:::i;:::-;7806:4;7801:3;7797:14;7783:28;;7638:179;;;;:::o;7823:118::-;7910:24;7928:5;7910:24;:::i;:::-;7905:3;7898:37;7823:118;;:::o;7977:732::-;8096:3;8125:54;8173:5;8125:54;:::i;:::-;8195:86;8274:6;8269:3;8195:86;:::i;:::-;8188:93;;8305:56;8355:5;8305:56;:::i;:::-;8384:7;8415:1;8400:284;8425:6;8422:1;8419:13;8400:284;;;8501:6;8495:13;8528:63;8587:3;8572:13;8528:63;:::i;:::-;8521:70;;8614:60;8667:6;8614:60;:::i;:::-;8604:70;;8460:224;8447:1;8444;8440:9;8435:14;;8400:284;;;8404:14;8700:3;8693:10;;8101:608;;;7977:732;;;;:::o;8715:109::-;8796:21;8811:5;8796:21;:::i;:::-;8791:3;8784:34;8715:109;;:::o;8830:118::-;8917:24;8935:5;8917:24;:::i;:::-;8912:3;8905:37;8830:118;;:::o;8954:360::-;9040:3;9068:38;9100:5;9068:38;:::i;:::-;9122:70;9185:6;9180:3;9122:70;:::i;:::-;9115:77;;9201:52;9246:6;9241:3;9234:4;9227:5;9223:16;9201:52;:::i;:::-;9278:29;9300:6;9278:29;:::i;:::-;9273:3;9269:39;9262:46;;9044:270;8954:360;;;;:::o;9320:364::-;9408:3;9436:39;9469:5;9436:39;:::i;:::-;9491:71;9555:6;9550:3;9491:71;:::i;:::-;9484:78;;9571:52;9616:6;9611:3;9604:4;9597:5;9593:16;9571:52;:::i;:::-;9648:29;9670:6;9648:29;:::i;:::-;9643:3;9639:39;9632:46;;9412:272;9320:364;;;;:::o;9690:377::-;9796:3;9824:39;9857:5;9824:39;:::i;:::-;9879:89;9961:6;9956:3;9879:89;:::i;:::-;9872:96;;9977:52;10022:6;10017:3;10010:4;10003:5;9999:16;9977:52;:::i;:::-;10054:6;10049:3;10045:16;10038:23;;9800:267;9690:377;;;;:::o;10097:845::-;10200:3;10237:5;10231:12;10266:36;10292:9;10266:36;:::i;:::-;10318:89;10400:6;10395:3;10318:89;:::i;:::-;10311:96;;10438:1;10427:9;10423:17;10454:1;10449:137;;;;10600:1;10595:341;;;;10416:520;;10449:137;10533:4;10529:9;10518;10514:25;10509:3;10502:38;10569:6;10564:3;10560:16;10553:23;;10449:137;;10595:341;10662:38;10694:5;10662:38;:::i;:::-;10722:1;10736:154;10750:6;10747:1;10744:13;10736:154;;;10824:7;10818:14;10814:1;10809:3;10805:11;10798:35;10874:1;10865:7;10861:15;10850:26;;10772:4;10769:1;10765:12;10760:17;;10736:154;;;10919:6;10914:3;10910:16;10903:23;;10602:334;;10416:520;;10204:738;;10097:845;;;;:::o;10948:366::-;11090:3;11111:67;11175:2;11170:3;11111:67;:::i;:::-;11104:74;;11187:93;11276:3;11187:93;:::i;:::-;11305:2;11300:3;11296:12;11289:19;;10948:366;;;:::o;11320:::-;11462:3;11483:67;11547:2;11542:3;11483:67;:::i;:::-;11476:74;;11559:93;11648:3;11559:93;:::i;:::-;11677:2;11672:3;11668:12;11661:19;;11320:366;;;:::o;11692:::-;11834:3;11855:67;11919:2;11914:3;11855:67;:::i;:::-;11848:74;;11931:93;12020:3;11931:93;:::i;:::-;12049:2;12044:3;12040:12;12033:19;;11692:366;;;:::o;12064:400::-;12224:3;12245:84;12327:1;12322:3;12245:84;:::i;:::-;12238:91;;12338:93;12427:3;12338:93;:::i;:::-;12456:1;12451:3;12447:11;12440:18;;12064:400;;;:::o;12470:366::-;12612:3;12633:67;12697:2;12692:3;12633:67;:::i;:::-;12626:74;;12709:93;12798:3;12709:93;:::i;:::-;12827:2;12822:3;12818:12;12811:19;;12470:366;;;:::o;12842:::-;12984:3;13005:67;13069:2;13064:3;13005:67;:::i;:::-;12998:74;;13081:93;13170:3;13081:93;:::i;:::-;13199:2;13194:3;13190:12;13183:19;;12842:366;;;:::o;13214:::-;13356:3;13377:67;13441:2;13436:3;13377:67;:::i;:::-;13370:74;;13453:93;13542:3;13453:93;:::i;:::-;13571:2;13566:3;13562:12;13555:19;;13214:366;;;:::o;13586:::-;13728:3;13749:67;13813:2;13808:3;13749:67;:::i;:::-;13742:74;;13825:93;13914:3;13825:93;:::i;:::-;13943:2;13938:3;13934:12;13927:19;;13586:366;;;:::o;13958:398::-;14117:3;14138:83;14219:1;14214:3;14138:83;:::i;:::-;14131:90;;14230:93;14319:3;14230:93;:::i;:::-;14348:1;14343:3;14339:11;14332:18;;13958:398;;;:::o;14362:366::-;14504:3;14525:67;14589:2;14584:3;14525:67;:::i;:::-;14518:74;;14601:93;14690:3;14601:93;:::i;:::-;14719:2;14714:3;14710:12;14703:19;;14362:366;;;:::o;14734:108::-;14811:24;14829:5;14811:24;:::i;:::-;14806:3;14799:37;14734:108;;:::o;14848:118::-;14935:24;14953:5;14935:24;:::i;:::-;14930:3;14923:37;14848:118;;:::o;14972:695::-;15250:3;15272:92;15360:3;15351:6;15272:92;:::i;:::-;15265:99;;15381:95;15472:3;15463:6;15381:95;:::i;:::-;15374:102;;15493:148;15637:3;15493:148;:::i;:::-;15486:155;;15658:3;15651:10;;14972:695;;;;;:::o;15673:379::-;15857:3;15879:147;16022:3;15879:147;:::i;:::-;15872:154;;16043:3;16036:10;;15673:379;;;:::o;16058:222::-;16151:4;16189:2;16178:9;16174:18;16166:26;;16202:71;16270:1;16259:9;16255:17;16246:6;16202:71;:::i;:::-;16058:222;;;;:::o;16286:640::-;16481:4;16519:3;16508:9;16504:19;16496:27;;16533:71;16601:1;16590:9;16586:17;16577:6;16533:71;:::i;:::-;16614:72;16682:2;16671:9;16667:18;16658:6;16614:72;:::i;:::-;16696;16764:2;16753:9;16749:18;16740:6;16696:72;:::i;:::-;16815:9;16809:4;16805:20;16800:2;16789:9;16785:18;16778:48;16843:76;16914:4;16905:6;16843:76;:::i;:::-;16835:84;;16286:640;;;;;;;:::o;16932:373::-;17075:4;17113:2;17102:9;17098:18;17090:26;;17162:9;17156:4;17152:20;17148:1;17137:9;17133:17;17126:47;17190:108;17293:4;17284:6;17190:108;:::i;:::-;17182:116;;16932:373;;;;:::o;17311:210::-;17398:4;17436:2;17425:9;17421:18;17413:26;;17449:65;17511:1;17500:9;17496:17;17487:6;17449:65;:::i;:::-;17311:210;;;;:::o;17527:222::-;17620:4;17658:2;17647:9;17643:18;17635:26;;17671:71;17739:1;17728:9;17724:17;17715:6;17671:71;:::i;:::-;17527:222;;;;:::o;17755:313::-;17868:4;17906:2;17895:9;17891:18;17883:26;;17955:9;17949:4;17945:20;17941:1;17930:9;17926:17;17919:47;17983:78;18056:4;18047:6;17983:78;:::i;:::-;17975:86;;17755:313;;;;:::o;18074:419::-;18240:4;18278:2;18267:9;18263:18;18255:26;;18327:9;18321:4;18317:20;18313:1;18302:9;18298:17;18291:47;18355:131;18481:4;18355:131;:::i;:::-;18347:139;;18074:419;;;:::o;18499:::-;18665:4;18703:2;18692:9;18688:18;18680:26;;18752:9;18746:4;18742:20;18738:1;18727:9;18723:17;18716:47;18780:131;18906:4;18780:131;:::i;:::-;18772:139;;18499:419;;;:::o;18924:::-;19090:4;19128:2;19117:9;19113:18;19105:26;;19177:9;19171:4;19167:20;19163:1;19152:9;19148:17;19141:47;19205:131;19331:4;19205:131;:::i;:::-;19197:139;;18924:419;;;:::o;19349:::-;19515:4;19553:2;19542:9;19538:18;19530:26;;19602:9;19596:4;19592:20;19588:1;19577:9;19573:17;19566:47;19630:131;19756:4;19630:131;:::i;:::-;19622:139;;19349:419;;;:::o;19774:::-;19940:4;19978:2;19967:9;19963:18;19955:26;;20027:9;20021:4;20017:20;20013:1;20002:9;19998:17;19991:47;20055:131;20181:4;20055:131;:::i;:::-;20047:139;;19774:419;;;:::o;20199:::-;20365:4;20403:2;20392:9;20388:18;20380:26;;20452:9;20446:4;20442:20;20438:1;20427:9;20423:17;20416:47;20480:131;20606:4;20480:131;:::i;:::-;20472:139;;20199:419;;;:::o;20624:::-;20790:4;20828:2;20817:9;20813:18;20805:26;;20877:9;20871:4;20867:20;20863:1;20852:9;20848:17;20841:47;20905:131;21031:4;20905:131;:::i;:::-;20897:139;;20624:419;;;:::o;21049:::-;21215:4;21253:2;21242:9;21238:18;21230:26;;21302:9;21296:4;21292:20;21288:1;21277:9;21273:17;21266:47;21330:131;21456:4;21330:131;:::i;:::-;21322:139;;21049:419;;;:::o;21474:222::-;21567:4;21605:2;21594:9;21590:18;21582:26;;21618:71;21686:1;21675:9;21671:17;21662:6;21618:71;:::i;:::-;21474:222;;;;:::o;21702:129::-;21736:6;21763:20;;:::i;:::-;21753:30;;21792:33;21820:4;21812:6;21792:33;:::i;:::-;21702:129;;;:::o;21837:75::-;21870:6;21903:2;21897:9;21887:19;;21837:75;:::o;21918:307::-;21979:4;22069:18;22061:6;22058:30;22055:56;;;22091:18;;:::i;:::-;22055:56;22129:29;22151:6;22129:29;:::i;:::-;22121:37;;22213:4;22207;22203:15;22195:23;;21918:307;;;:::o;22231:308::-;22293:4;22383:18;22375:6;22372:30;22369:56;;;22405:18;;:::i;:::-;22369:56;22443:29;22465:6;22443:29;:::i;:::-;22435:37;;22527:4;22521;22517:15;22509:23;;22231:308;;;:::o;22545:132::-;22612:4;22635:3;22627:11;;22665:4;22660:3;22656:14;22648:22;;22545:132;;;:::o;22683:141::-;22732:4;22755:3;22747:11;;22778:3;22775:1;22768:14;22812:4;22809:1;22799:18;22791:26;;22683:141;;;:::o;22830:114::-;22897:6;22931:5;22925:12;22915:22;;22830:114;;;:::o;22950:98::-;23001:6;23035:5;23029:12;23019:22;;22950:98;;;:::o;23054:99::-;23106:6;23140:5;23134:12;23124:22;;23054:99;;;:::o;23159:113::-;23229:4;23261;23256:3;23252:14;23244:22;;23159:113;;;:::o;23278:184::-;23377:11;23411:6;23406:3;23399:19;23451:4;23446:3;23442:14;23427:29;;23278:184;;;;:::o;23468:168::-;23551:11;23585:6;23580:3;23573:19;23625:4;23620:3;23616:14;23601:29;;23468:168;;;;:::o;23642:147::-;23743:11;23780:3;23765:18;;23642:147;;;;:::o;23795:169::-;23879:11;23913:6;23908:3;23901:19;23953:4;23948:3;23944:14;23929:29;;23795:169;;;;:::o;23970:148::-;24072:11;24109:3;24094:18;;23970:148;;;;:::o;24124:305::-;24164:3;24183:20;24201:1;24183:20;:::i;:::-;24178:25;;24217:20;24235:1;24217:20;:::i;:::-;24212:25;;24371:1;24303:66;24299:74;24296:1;24293:81;24290:107;;;24377:18;;:::i;:::-;24290:107;24421:1;24418;24414:9;24407:16;;24124:305;;;;:::o;24435:348::-;24475:7;24498:20;24516:1;24498:20;:::i;:::-;24493:25;;24532:20;24550:1;24532:20;:::i;:::-;24527:25;;24720:1;24652:66;24648:74;24645:1;24642:81;24637:1;24630:9;24623:17;24619:105;24616:131;;;24727:18;;:::i;:::-;24616:131;24775:1;24772;24768:9;24757:20;;24435:348;;;;:::o;24789:96::-;24826:7;24855:24;24873:5;24855:24;:::i;:::-;24844:35;;24789:96;;;:::o;24891:90::-;24925:7;24968:5;24961:13;24954:21;24943:32;;24891:90;;;:::o;24987:77::-;25024:7;25053:5;25042:16;;24987:77;;;:::o;25070:149::-;25106:7;25146:66;25139:5;25135:78;25124:89;;25070:149;;;:::o;25225:126::-;25262:7;25302:42;25295:5;25291:54;25280:65;;25225:126;;;:::o;25357:77::-;25394:7;25423:5;25412:16;;25357:77;;;:::o;25440:154::-;25524:6;25519:3;25514;25501:30;25586:1;25577:6;25572:3;25568:16;25561:27;25440:154;;;:::o;25600:307::-;25668:1;25678:113;25692:6;25689:1;25686:13;25678:113;;;25777:1;25772:3;25768:11;25762:18;25758:1;25753:3;25749:11;25742:39;25714:2;25711:1;25707:10;25702:15;;25678:113;;;25809:6;25806:1;25803:13;25800:101;;;25889:1;25880:6;25875:3;25871:16;25864:27;25800:101;25649:258;25600:307;;;:::o;25913:320::-;25957:6;25994:1;25988:4;25984:12;25974:22;;26041:1;26035:4;26031:12;26062:18;26052:81;;26118:4;26110:6;26106:17;26096:27;;26052:81;26180:2;26172:6;26169:14;26149:18;26146:38;26143:84;;;26199:18;;:::i;:::-;26143:84;25964:269;25913:320;;;:::o;26239:281::-;26322:27;26344:4;26322:27;:::i;:::-;26314:6;26310:40;26452:6;26440:10;26437:22;26416:18;26404:10;26401:34;26398:62;26395:88;;;26463:18;;:::i;:::-;26395:88;26503:10;26499:2;26492:22;26282:238;26239:281;;:::o;26526:180::-;26574:77;26571:1;26564:88;26671:4;26668:1;26661:15;26695:4;26692:1;26685:15;26712:180;26760:77;26757:1;26750:88;26857:4;26854:1;26847:15;26881:4;26878:1;26871:15;26898:180;26946:77;26943:1;26936:88;27043:4;27040:1;27033:15;27067:4;27064:1;27057:15;27084:180;27132:77;27129:1;27122:88;27229:4;27226:1;27219:15;27253:4;27250:1;27243:15;27270:117;27379:1;27376;27369:12;27393:117;27502:1;27499;27492:12;27516:117;27625:1;27622;27615:12;27639:117;27748:1;27745;27738:12;27762:102;27803:6;27854:2;27850:7;27845:2;27838:5;27834:14;27830:28;27820:38;;27762:102;;;:::o;27870:220::-;28010:34;28006:1;27998:6;27994:14;27987:58;28079:3;28074:2;28066:6;28062:15;28055:28;27870:220;:::o;28096:225::-;28236:34;28232:1;28224:6;28220:14;28213:58;28305:8;28300:2;28292:6;28288:15;28281:33;28096:225;:::o;28327:175::-;28467:27;28463:1;28455:6;28451:14;28444:51;28327:175;:::o;28508:155::-;28648:7;28644:1;28636:6;28632:14;28625:31;28508:155;:::o;28669:182::-;28809:34;28805:1;28797:6;28793:14;28786:58;28669:182;:::o;28857:172::-;28997:24;28993:1;28985:6;28981:14;28974:48;28857:172;:::o;29035:234::-;29175:34;29171:1;29163:6;29159:14;29152:58;29244:17;29239:2;29231:6;29227:15;29220:42;29035:234;:::o;29275:173::-;29415:25;29411:1;29403:6;29399:14;29392:49;29275:173;:::o;29454:114::-;;:::o;29574:164::-;29714:16;29710:1;29702:6;29698:14;29691:40;29574:164;:::o;29744:122::-;29817:24;29835:5;29817:24;:::i;:::-;29810:5;29807:35;29797:63;;29856:1;29853;29846:12;29797:63;29744:122;:::o;29872:116::-;29942:21;29957:5;29942:21;:::i;:::-;29935:5;29932:32;29922:60;;29978:1;29975;29968:12;29922:60;29872:116;:::o;29994:122::-;30067:24;30085:5;30067:24;:::i;:::-;30060:5;30057:35;30047:63;;30106:1;30103;30096:12;30047:63;29994:122;:::o;30122:120::-;30194:23;30211:5;30194:23;:::i;:::-;30187:5;30184:34;30174:62;;30232:1;30229;30222:12;30174:62;30122:120;:::o;30248:122::-;30321:24;30339:5;30321:24;:::i;:::-;30314:5;30311:35;30301:63;;30360:1;30357;30350:12;30301:63;30248:122;:::o
Swarm Source
ipfs://957aec859f2120dcd94dd9db614c9709183f6be1c7c0508fc2fa3dafdd462658
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.