Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,888 KT
Holders
1,021
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 KTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KamiTamaKabukiColections
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-23 */ // File: pass-interface.sol //Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) pragma solidity ^0.8.0; interface Pass { function hasPass(address account) external view returns(bool); function usePass(address account) external; } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.0 // 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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](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: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.0 // 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 { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _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]`. 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 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 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 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. 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`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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. */ 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _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} * * _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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _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} * * _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/math/Math.sol // OpenZeppelin Contracts (last updated v4.7.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. It 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)`. // We also know that `k`, the position of the most significant bit, is such that `msb(a) = 2**k`. // This gives `2**k < a <= 2**(k+1)` → `2**(k/2) <= sqrt(a) < 2 ** (k/2+1)`. // Using an algorithm similar to the msb conmputation, we are able to compute `result = 2**(k/2)` which is a // good first aproximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1; uint256 x = a; if (x >> 128 > 0) { x >>= 128; result <<= 64; } if (x >> 64 > 0) { x >>= 64; result <<= 32; } if (x >> 32 > 0) { x >>= 32; result <<= 16; } if (x >> 16 > 0) { x >>= 16; result <<= 8; } if (x >> 8 > 0) { x >>= 8; result <<= 4; } if (x >> 4 > 0) { x >>= 4; result <<= 2; } if (x >> 2 > 0) { result <<= 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) { uint256 result = sqrt(a); if (rounding == Rounding.Up && result * result < a) { result += 1; } return result; } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol) pragma solidity ^0.8.0; /** * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment * information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC721Royalty is ERC2981, ERC721 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); _resetTokenRoyalty(tokenId); } } // File: kamitama-kabuki-collections.sol //Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) pragma solidity ^0.8.0; contract KamiTamaKabukiColections is ERC721A, ERC2981, Ownable { struct Offer { uint price; uint256 quantity; bytes32 root; address contractAddress; bool isFree; uint256 range; } using Address for address; uint8 private constant NOTSTART = 0; uint8 private constant PRESALE = 1; uint8 private constant SALE = 2; uint8 private _saleStatus = NOTSTART; bool private _revealed = true; uint private _basePrice = 0.088 ether; mapping(uint256 => Offer) private _preSaleOffers; mapping(bytes => bool) _attendedOffer; string private _url = 'https://bafybeifrdkm3xeu4qbydarvutxr6fxcegeom7rzrph7kjs7x7qldh3ho7q.ipfs.nftstorage.link/metadata'; uint256 public constant MAX_SUPPLY = 7777; uint256 public constant RESEVRED = 150; constructor() ERC721A("KamiTama", "KT") { _setDefaultRoyalty(owner(), 500); _reserve(owner()); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); if (bytes(baseURI).length != 0) { return _revealed ? string(abi.encodePacked(baseURI, Strings.toString(tokenId), '.json')) : string(abi.encodePacked(baseURI, '0.json')); } return ''; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } function repository() public view returns (uint256) { return MAX_SUPPLY > totalSupply() ? MAX_SUPPLY - totalSupply() : 0; } function preSaleRepository(uint256 round) public view returns (uint256) { Offer memory offer = _preSaleOffers[round]; if(offer.range <= 0) return repository(); uint256 maxSupply = Math.min(offer.range, MAX_SUPPLY); return maxSupply > totalSupply() ? maxSupply - totalSupply() : 0; } function flipReveal() public onlyOwner { _revealed = !_revealed; } function setSaleStatus(uint8 status) public onlyOwner { _saleStatus = status; } function mint(uint256 quantity) external payable { require( bytes(_url).length > 0, "Base url not set" ); require( isSaleStart(), "Sale is not yet started" ); require( quantity > 0, "Quantity should be larger than 1" ); require( !saleSoldOut(quantity), "Sale would exceed max supply" ); require( totalPrice(quantity) <= msg.value, "Not enough ether sent" ); _safeMint(msg.sender, quantity); uint refund = msg.value - totalPrice(quantity); if(refund > 0){ payable(msg.sender).transfer(refund); } } function saleSoldOut(uint256 quantity) public view returns (bool) { return quantity > repository(); } function isSaleStart() public view returns (bool){ return _saleStatus == SALE; } function totalPrice(uint256 quantity) public view returns (uint){ return _basePrice * quantity; } function setBasePrice(uint price) public onlyOwner { require(price > 0, "Price should be greater than 0"); _basePrice = price; } function setBaseUrl(string memory url) public onlyOwner { _url = url; } function preSaleMint(uint256 round, uint256 quantity, bytes32[] memory password) external payable { require( bytes(_url).length > 0, "Base url not set" ); require( isPreSaleStart(), "Pre-sale is not yet started" ); require( ableToJoinPreSale(round, password), "You are not allow to attend." ); require( quantity > 0, "Quantity should be larger than 1" ); require( !preSaleSoldOut(round, quantity), "Sale would exceed max supply" ); require( notExceedOfferQuantity(round, quantity), "Pre-sale would exceed offer quantity" ); require( totalOfferPrice(round, quantity) <= msg.value, "Not enough ether sent" ); _usePass(round, msg.sender); _attendOffer(round, password); _safeMint(msg.sender, quantity); uint refund = msg.value - totalOfferPrice(round, quantity); if(refund > 0){ payable(msg.sender).transfer(refund); } } function isPreSaleStart() public view returns (bool){ return _saleStatus == PRESALE; } function ableToJoinPreSale(uint256 round, bytes32[] memory password) public view returns (bool) { Offer memory offer = _preSaleOffers[round]; if (offer.contractAddress != address(0)){ return _hasPass(offer.contractAddress, msg.sender); } else { return _inList(offer.root, msg.sender, password) && !alreadyAttendedOffer(round, password); } } function alreadyAttendedOffer(uint256 round, bytes32[] memory password) public view returns (bool) { bytes memory token = _hashPassword(round, password); return _attendedOffer[token] == true; } function notExceedOfferQuantity(uint256 round, uint256 quantity) public view returns (bool){ Offer memory offer = _preSaleOffers[round]; return quantity <= offer.quantity; } function totalOfferPrice(uint256 round, uint256 quantity) public view returns (uint){ Offer memory offer = _preSaleOffers[round]; if(offer.isFree == true) return 0; return quantity * offer.price; } function totalOfferQuantity(uint256 round) public view returns (uint){ return Math.min(_preSaleOffers[round].quantity, preSaleRepository(round)); } function preSaleSoldOut(uint256 round, uint256 quantity) public view returns (bool) { return quantity > preSaleRepository(round); } function preSaleOffer(uint256 round) public onlyOwner view returns (Offer memory) { return _preSaleOffers[round]; } function setPreSaleOffer(uint256 round, uint price, uint256 quantity, bytes32 root, address contractAddress, bool isFree, uint256 range) public onlyOwner { if(contractAddress != address(0)){ require( contractAddress.isContract() && IERC165(contractAddress).supportsInterface(type(Pass).interfaceId), "Contract not implmenented reigstration interface"); } _preSaleOffers[round] = Offer(price, quantity, root, contractAddress, isFree, range); } function withdraw(address to) public onlyOwner { uint256 balance = address(this).balance; payable(to).transfer(balance); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function _baseURI() internal view virtual override returns (string memory) { return _url; } function _attendOffer(uint256 round, bytes32[] memory password) internal { Offer memory offer = _preSaleOffers[round]; if(offer.contractAddress == address(0)){ bytes memory token = _hashPassword(round, password); _attendedOffer[token] = true; } } function _usePass(uint256 round, address account) internal { Offer memory offer = _preSaleOffers[round]; if(offer.contractAddress != address(0)){ Pass(offer.contractAddress).usePass(account); } } function _reserve(address to) internal onlyOwner { if(RESEVRED > 0){ require( totalSupply() + RESEVRED <= MAX_SUPPLY, "Reservation would exceed max supply" ); _safeMint(to, RESEVRED); } } function _hasPass(address contractAddress, address account) internal view returns (bool) { return Pass(contractAddress).hasPass(account); } function _inList(bytes32 root, address account, bytes32[] memory password) internal pure returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(account)); return MerkleProof.verify(password, root, leaf); } function _hashPassword(uint256 round, bytes32[] memory password) internal pure returns (bytes memory){ bytes memory output = abi.encodePacked(round); for (uint i = 0; i < password.length; i++) { output = abi.encodePacked(output, password[i]); } return output; } function _burn(uint256 tokenId) internal virtual override { ERC721A._burn(tokenId); _resetTokenRoyalty(tokenId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESEVRED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"},{"internalType":"bytes32[]","name":"password","type":"bytes32[]"}],"name":"ableToJoinPreSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"},{"internalType":"bytes32[]","name":"password","type":"bytes32[]"}],"name":"alreadyAttendedOffer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"notExceedOfferQuantity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"round","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"password","type":"bytes32[]"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"}],"name":"preSaleOffer","outputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bool","name":"isFree","type":"bool"},{"internalType":"uint256","name":"range","type":"uint256"}],"internalType":"struct KamiTamaKabukiColections.Offer","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"}],"name":"preSaleRepository","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"preSaleSoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"repository","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"saleSoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"price","type":"uint256"}],"name":"setBasePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"setBaseUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bool","name":"isFree","type":"bool"},{"internalType":"uint256","name":"range","type":"uint256"}],"name":"setPreSaleOffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"status","type":"uint8"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"totalOfferPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"round","type":"uint256"}],"name":"totalOfferQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"totalPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a60146101000a81548160ff021916908360ff1602179055506001600a60156101000a81548160ff021916908315150217905550670138a388a43c0000600b556040518060a001604052806061815260200162005c9360619139600e90805190602001906200007892919062000a56565b503480156200008657600080fd5b506040518060400160405280600881526020017f4b616d6954616d610000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4b5400000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200010b92919062000a56565b5080600390805190602001906200012492919062000a56565b5062000135620001a660201b60201c565b60008190555050506200015d62000151620001af60201b60201c565b620001b760201b60201c565b62000180620001716200027d60201b60201c565b6101f4620002a760201b60201c565b620001a0620001946200027d60201b60201c565b6200044b60201b60201c565b62001008565b60006001905090565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620002b7620004e260201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000318576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030f9062000cc4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200038b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003829062000d08565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6200045b620004ec60201b60201c565b600060961115620004df57611e6160966200047b6200057d60201b60201c565b62000487919062000d57565b1115620004cb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004c29062000ce6565b60405180910390fd5b620004de8160966200059c60201b60201c565b5b50565b6000612710905090565b620004fc620001af60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005226200027d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200057b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005729062000ca2565b60405180910390fd5b565b60006200058f620001a660201b60201c565b6001546000540303905090565b620005be828260405180602001604052806000815250620005c260201b60201c565b5050565b620005d483836200067360201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146200066e57600080549050600083820390505b6200061d60008683806001019450866200085c60201b60201c565b62000654576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110620006025781600054146200066b57600080fd5b50505b505050565b6000805490506000821415620006b5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620006ca6000848385620009ce60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000759836200073b6000866000620009d460201b60201c565b6200074c8562000a0460201b60201c565b1762000a1460201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114620007fc57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050620007bf565b50600082141562000839576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505062000857600084838562000a3f60201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200088a62000a4560201b60201c565b8786866040518563ffffffff1660e01b8152600401620008ae949392919062000c4e565b602060405180830381600087803b158015620008c957600080fd5b505af1925050508015620008fd57506040513d601f19601f82011682018060405250810190620008fa919062000b1d565b60015b6200097b573d806000811462000930576040519150601f19603f3d011682016040523d82523d6000602084013e62000935565b606091505b5060008151141562000973576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b60008060e883901c905060e8620009f386868462000a4d60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b82805462000a649062000e54565b90600052602060002090601f01602090048101928262000a88576000855562000ad4565b82601f1062000aa357805160ff191683800117855562000ad4565b8280016001018555821562000ad4579182015b8281111562000ad357825182559160200191906001019062000ab6565b5b50905062000ae3919062000ae7565b5090565b5b8082111562000b0257600081600090555060010162000ae8565b5090565b60008151905062000b178162000fee565b92915050565b60006020828403121562000b365762000b3562000ee8565b5b600062000b468482850162000b06565b91505092915050565b62000b5a8162000db4565b82525050565b600062000b6d8262000d2a565b62000b79818562000d35565b935062000b8b81856020860162000e1e565b62000b968162000eed565b840191505092915050565b600062000bb060208362000d46565b915062000bbd8262000efe565b602082019050919050565b600062000bd7602a8362000d46565b915062000be48262000f27565b604082019050919050565b600062000bfe60238362000d46565b915062000c0b8262000f76565b604082019050919050565b600062000c2560198362000d46565b915062000c328262000fc5565b602082019050919050565b62000c488162000e14565b82525050565b600060808201905062000c65600083018762000b4f565b62000c74602083018662000b4f565b62000c83604083018562000c3d565b818103606083015262000c97818462000b60565b905095945050505050565b6000602082019050818103600083015262000cbd8162000ba1565b9050919050565b6000602082019050818103600083015262000cdf8162000bc8565b9050919050565b6000602082019050818103600083015262000d018162000bef565b9050919050565b6000602082019050818103600083015262000d238162000c16565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000d648262000e14565b915062000d718362000e14565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000da95762000da862000e8a565b5b828201905092915050565b600062000dc18262000df4565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000e3e57808201518184015260208101905062000e21565b8381111562000e4e576000848401525b50505050565b6000600282049050600182168062000e6d57607f821691505b6020821081141562000e845762000e8362000eb9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f5265736572766174696f6e20776f756c6420657863656564206d61782073757060008201527f706c790000000000000000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b62000ff98162000dc8565b81146200100557600080fd5b50565b614c7b80620010186000396000f3fe6080604052600436106102465760003560e01c8063715018a611610139578063b88d4fde116100b6578063de4b32621161007a578063de4b3262146108e5578063e9176c601461090e578063e985e9c514610939578063ee2eebf214610976578063f2fde38b146109b3578063f3c761a0146109dc57610246565b8063b88d4fde146107dc578063c14ddf6e14610805578063c735d1f714610842578063c7c3268b1461087f578063c87b56dd146108a857610246565b80639de0493e116100fd5780639de0493e146106e05780639e5d83a71461071d5780639e6f0a0c1461075a578063a0712d6814610797578063a22cb465146107b357610246565b8063715018a61461060b5780638da5cb5b1461062257806395d89b411461064d57806396dc3165146106785780639cafc89d146106b557610246565b806332cb6b0c116101c75780634fb860a71161018b5780634fb860a71461050057806351cff8d91461053d5780636278266c146105665780636352211e1461059157806370a08231146105ce57610246565b806332cb6b0c146104415780633b84d9c61461046c57806342842e0e1461048357806342d4b47e146104ac5780634891ad88146104d757610246565b806309686f841161020e57806309686f841461035657806318160ddd14610372578063221f22851461039d57806323b872dd146103da5780632a55205a1461040357610246565b806301ffc9a71461024b57806302f75c2d1461028857806306fdde03146102c5578063081812fc146102f0578063095ea7b31461032d575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906139ed565b610a05565b60405161027f91906141e3565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa9190613abd565b610a27565b6040516102bc91906141e3565b60405180910390f35b3480156102d157600080fd5b506102da610b5d565b6040516102e79190614219565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613a90565b610bef565b6040516103249190614153565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190613980565b610c6e565b005b610370600480360381019061036b9190613b59565b610db2565b005b34801561037e57600080fd5b50610387611043565b60405161039491906143d6565b60405180910390f35b3480156103a957600080fd5b506103c460048036038101906103bf9190613a90565b61105a565b6040516103d191906143d6565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc919061386a565b611071565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613b19565b611396565b6040516104389291906141ba565b60405180910390f35b34801561044d57600080fd5b50610456611581565b60405161046391906143d6565b60405180910390f35b34801561047857600080fd5b50610481611587565b005b34801561048f57600080fd5b506104aa60048036038101906104a5919061386a565b6115bb565b005b3480156104b857600080fd5b506104c16115db565b6040516104ce91906141e3565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190613c6a565b6115fb565b005b34801561050c57600080fd5b5061052760048036038101906105229190613b19565b611621565b60405161053491906141e3565b60405180910390f35b34801561054957600080fd5b50610564600480360381019061055f91906137fd565b611636565b005b34801561057257600080fd5b5061057b61168e565b60405161058891906141e3565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613a90565b6116ae565b6040516105c59190614153565b60405180910390f35b3480156105da57600080fd5b506105f560048036038101906105f091906137fd565b6116c0565b60405161060291906143d6565b60405180910390f35b34801561061757600080fd5b50610620611779565b005b34801561062e57600080fd5b5061063761178d565b6040516106449190614153565b60405180910390f35b34801561065957600080fd5b506106626117b7565b60405161066f9190614219565b60405180910390f35b34801561068457600080fd5b5061069f600480360381019061069a9190613a90565b611849565b6040516106ac91906143bb565b60405180910390f35b3480156106c157600080fd5b506106ca611917565b6040516106d791906143d6565b60405180910390f35b3480156106ec57600080fd5b5061070760048036038101906107029190613a90565b61191c565b60405161071491906141e3565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190613abd565b61192f565b60405161075191906141e3565b60405180910390f35b34801561076657600080fd5b50610781600480360381019061077c9190613b19565b61197a565b60405161078e91906141e3565b60405180910390f35b6107b160048036038101906107ac9190613a90565b611a47565b005b3480156107bf57600080fd5b506107da60048036038101906107d59190613940565b611c2d565b005b3480156107e857600080fd5b5061080360048036038101906107fe91906138bd565b611da5565b005b34801561081157600080fd5b5061082c60048036038101906108279190613a90565b611e18565b60405161083991906143d6565b60405180910390f35b34801561084e57600080fd5b5061086960048036038101906108649190613a90565b611e49565b60405161087691906143d6565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190613a47565b611f68565b005b3480156108b457600080fd5b506108cf60048036038101906108ca9190613a90565b611f8a565b6040516108dc9190614219565b60405180910390f35b3480156108f157600080fd5b5061090c60048036038101906109079190613a90565b612065565b005b34801561091a57600080fd5b506109236120ba565b60405161093091906143d6565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b919061382a565b6120ee565b60405161096d91906141e3565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613b19565b612182565b6040516109aa91906143d6565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d591906137fd565b612273565b005b3480156109e857600080fd5b50610a0360048036038101906109fe9190613bc8565b6122f7565b005b6000610a1082612536565b80610a205750610a1f826125c8565b5b9050919050565b600080600c60008581526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050600073ffffffffffffffffffffffffffffffffffffffff16816060015173ffffffffffffffffffffffffffffffffffffffff1614610b3157610b29816060015133612642565b915050610b57565b610b40816040015133856126d5565b8015610b535750610b51848461192f565b155b9150505b92915050565b606060028054610b6c906146d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610b98906146d4565b8015610be55780601f10610bba57610100808354040283529160200191610be5565b820191906000526020600020905b815481529060010190602001808311610bc857829003601f168201915b5050505050905090565b6000610bfa82612716565b610c30576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c79826116ae565b90508073ffffffffffffffffffffffffffffffffffffffff16610c9a612775565b73ffffffffffffffffffffffffffffffffffffffff1614610cfd57610cc681610cc1612775565b6120ee565b610cfc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600e8054610dc1906146d4565b905011610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa9061433b565b60405180910390fd5b610e0b61168e565b610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e41906142fb565b60405180910390fd5b610e548382610a27565b610e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8a906142db565b60405180910390fd5b60008211610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd9061435b565b60405180910390fd5b610ee08383611621565b15610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f179061429b565b60405180910390fd5b610f2a838361197a565b610f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f609061439b565b60405180910390fd5b34610f748484612182565b1115610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac9061437b565b60405180910390fd5b610fbf833361277d565b610fc983826128e5565b610fd33383612a25565b6000610fdf8484612182565b34610fea91906145d3565b9050600081111561103d573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561103b573d6000803e3d6000fd5b505b50505050565b600061104d612a43565b6001546000540303905090565b600081600b5461106a9190614579565b9050919050565b600061107c82612a4c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110e3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110ef84612b1a565b915091506111058187611100612775565b612b41565b6111515761111a86611115612775565b6120ee565b611150576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156111b8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111c58686866001612b85565b80156111d057600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061129e8561127a888887612b8b565b7c020000000000000000000000000000000000000000000000000000000017612bb3565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611326576000600185019050600060046000838152602001908152602001600020541415611324576000548114611323578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461138e8686866001612bde565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16141561152c5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000611536612be4565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866115629190614579565b61156c9190614548565b90508160000151819350935050509250929050565b611e6181565b61158f612bee565b600a60159054906101000a900460ff1615600a60156101000a81548160ff021916908315150217905550565b6115d683838360405180602001604052806000815250611da5565b505050565b6000600260ff16600a60149054906101000a900460ff1660ff1614905090565b611603612bee565b80600a60146101000a81548160ff021916908360ff16021790555050565b600061162c83611e49565b8211905092915050565b61163e612bee565b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611689573d6000803e3d6000fd5b505050565b6000600160ff16600a60149054906101000a900460ff1660ff1614905090565b60006116b982612a4c565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611728576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611781612bee565b61178b6000612c6c565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546117c6906146d4565b80601f01602080910402602001604051908101604052809291908181526020018280546117f2906146d4565b801561183f5780601f106118145761010080835404028352916020019161183f565b820191906000526020600020905b81548152906001019060200180831161182257829003601f168201915b5050505050905090565b6118516134e3565b611859612bee565b600c60008381526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050919050565b609681565b60006119266120ba565b82119050919050565b60008061193c8484612d32565b905060011515600d8260405161195291906140a8565b908152602001604051809103902060009054906101000a900460ff1615151491505092915050565b600080600c60008581526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050806020015183111591505092915050565b6000600e8054611a56906146d4565b905011611a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8f9061433b565b60405180910390fd5b611aa06115db565b611adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad69061423b565b60405180910390fd5b60008111611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b199061435b565b60405180910390fd5b611b2b8161191c565b15611b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b629061429b565b60405180910390fd5b34611b758261105a565b1115611bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bad9061437b565b60405180910390fd5b611bc03382612a25565b6000611bcb8261105a565b34611bd691906145d3565b90506000811115611c29573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c27573d6000803e3d6000fd5b505b5050565b611c35612775565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c9a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ca7612775565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d54612775565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d9991906141e3565b60405180910390a35050565b611db0848484611071565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e1257611ddb84848484612dc0565b611e11576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000611e42600c600084815260200190815260200160002060010154611e3d84611e49565b612f20565b9050919050565b600080600c60008481526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff16151515158152602001600482015481525050905060008160a0015111611f2157611f196120ba565b915050611f63565b6000611f338260a00151611e61612f20565b9050611f3d611043565b8111611f4a576000611f5e565b611f52611043565b81611f5d91906145d3565b5b925050505b919050565b611f70612bee565b80600e9080519060200190611f86929190613534565b5050565b6060611f9582612716565b611fcb576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611fd5612f39565b9050600081511461204c57600a60159054906101000a900460ff1661201957806040516020016120059190614116565b604051602081830303815290604052612044565b8061202384612fcb565b6040516020016120349291906140e7565b6040516020818303038152906040525b915050612060565b604051806020016040528060008152509150505b919050565b61206d612bee565b600081116120b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a7906142bb565b60405180910390fd5b80600b8190555050565b60006120c4611043565b611e61116120d35760006120e9565b6120db611043565b611e616120e891906145d3565b5b905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080600c60008581526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff1615151515815260200160048201548152505090506001151581608001511515141561225957600091505061226d565b8060000151836122699190614579565b9150505b92915050565b61227b612bee565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e29061425b565b60405180910390fd5b6122f481612c6c565b50565b6122ff612bee565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612443576123528373ffffffffffffffffffffffffffffffffffffffff1661312c565b801561240357508273ffffffffffffffffffffffffffffffffffffffff166301ffc9a77fe8d4be62000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016123b291906141fe565b60206040518083038186803b1580156123ca57600080fd5b505afa1580156123de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240291906139c0565b5b612442576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124399061427b565b60405180910390fd5b5b6040518060c001604052808781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff168152602001831515815260200182815250600c600089815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160146101000a81548160ff02191690831515021790555060a0820151816004015590505050505050505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061259157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125c15750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061263b575061263a8261314f565b5b9050919050565b60008273ffffffffffffffffffffffffffffffffffffffff1663937cde20836040518263ffffffff1660e01b815260040161267d9190614153565b60206040518083038186803b15801561269557600080fd5b505afa1580156126a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126cd91906139c0565b905092915050565b600080836040516020016126e9919061408d565b60405160208183030381529060405280519060200120905061270c8386836131b9565b9150509392505050565b600081612721612a43565b11158015612730575060005482105b801561276e575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6000600c60008481526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050600073ffffffffffffffffffffffffffffffffffffffff16816060015173ffffffffffffffffffffffffffffffffffffffff16146128e057806060015173ffffffffffffffffffffffffffffffffffffffff16637ba86042836040518263ffffffff1660e01b81526004016128ad9190614153565b600060405180830381600087803b1580156128c757600080fd5b505af11580156128db573d6000803e3d6000fd5b505050505b505050565b6000600c60008481526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050600073ffffffffffffffffffffffffffffffffffffffff16816060015173ffffffffffffffffffffffffffffffffffffffff161415612a205760006129e58484612d32565b90506001600d826040516129f991906140a8565b908152602001604051809103902060006101000a81548160ff021916908315150217905550505b505050565b612a3f8282604051806020016040528060008152506131d0565b5050565b60006001905090565b60008082905080612a5b612a43565b11612ae357600054811015612ae25760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612ae0575b6000811415612ad6576004600083600190039350838152602001908152602001600020549050612aab565b8092505050612b15565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612ba286868461326d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b612bf6613276565b73ffffffffffffffffffffffffffffffffffffffff16612c1461178d565b73ffffffffffffffffffffffffffffffffffffffff1614612c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c619061431b565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060600083604051602001612d479190614138565b604051602081830303815290604052905060005b8351811015612db55781848281518110612d7857612d77614876565b5b6020026020010151604051602001612d919291906140bf565b60405160208183030381529060405291508080612dad90614737565b915050612d5b565b508091505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612de6612775565b8786866040518563ffffffff1660e01b8152600401612e08949392919061416e565b602060405180830381600087803b158015612e2257600080fd5b505af1925050508015612e5357506040513d601f19601f82011682018060405250810190612e509190613a1a565b60015b612ecd573d8060008114612e83576040519150601f19603f3d011682016040523d82523d6000602084013e612e88565b606091505b50600081511415612ec5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000818310612f2f5781612f31565b825b905092915050565b6060600e8054612f48906146d4565b80601f0160208091040260200160405190810160405280929190818152602001828054612f74906146d4565b8015612fc15780601f10612f9657610100808354040283529160200191612fc1565b820191906000526020600020905b815481529060010190602001808311612fa457829003601f168201915b5050505050905090565b60606000821415613013576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613127565b600082905060005b6000821461304557808061302e90614737565b915050600a8261303e9190614548565b915061301b565b60008167ffffffffffffffff811115613061576130606148a5565b5b6040519080825280601f01601f1916602001820160405280156130935781602001600182028036833780820191505090505b5090505b60008514613120576001826130ac91906145d3565b9150600a856130bb91906147b8565b60306130c791906144f2565b60f81b8183815181106130dd576130dc614876565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131199190614548565b9450613097565b8093505050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826131c6858461327e565b1490509392505050565b6131da83836132d4565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461326857600080549050600083820390505b61321a6000868380600101945086612dc0565b613250576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061320757816000541461326557600080fd5b50505b505050565b60009392505050565b600033905090565b60008082905060005b84518110156132c9576132b4828683815181106132a7576132a6614876565b5b6020026020010151613491565b915080806132c190614737565b915050613287565b508091505092915050565b6000805490506000821415613315576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133226000848385612b85565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506133998361338a6000866000612b8b565b613393856134bc565b17612bb3565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461343a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506133ff565b506000821415613476576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061348c6000848385612bde565b505050565b60008183106134a9576134a482846134cc565b6134b4565b6134b383836134cc565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6040518060c00160405280600081526020016000815260200160008019168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152602001600081525090565b828054613540906146d4565b90600052602060002090601f01602090048101928261356257600085556135a9565b82601f1061357b57805160ff19168380011785556135a9565b828001600101855582156135a9579182015b828111156135a857825182559160200191906001019061358d565b5b5090506135b691906135ba565b5090565b5b808211156135d35760008160009055506001016135bb565b5090565b60006135ea6135e584614416565b6143f1565b9050808382526020820190508285602086028201111561360d5761360c6148d9565b5b60005b8581101561363d57816136238882613738565b845260208401935060208301925050600181019050613610565b5050509392505050565b600061365a61365584614442565b6143f1565b905082815260208101848484011115613676576136756148de565b5b613681848285614692565b509392505050565b600061369c61369784614473565b6143f1565b9050828152602081018484840111156136b8576136b76148de565b5b6136c3848285614692565b509392505050565b6000813590506136da81614bbb565b92915050565b600082601f8301126136f5576136f46148d4565b5b81356137058482602086016135d7565b91505092915050565b60008135905061371d81614bd2565b92915050565b60008151905061373281614bd2565b92915050565b60008135905061374781614be9565b92915050565b60008135905061375c81614c00565b92915050565b60008151905061377181614c00565b92915050565b600082601f83011261378c5761378b6148d4565b5b813561379c848260208601613647565b91505092915050565b600082601f8301126137ba576137b96148d4565b5b81356137ca848260208601613689565b91505092915050565b6000813590506137e281614c17565b92915050565b6000813590506137f781614c2e565b92915050565b600060208284031215613813576138126148e8565b5b6000613821848285016136cb565b91505092915050565b60008060408385031215613841576138406148e8565b5b600061384f858286016136cb565b9250506020613860858286016136cb565b9150509250929050565b600080600060608486031215613883576138826148e8565b5b6000613891868287016136cb565b93505060206138a2868287016136cb565b92505060406138b3868287016137d3565b9150509250925092565b600080600080608085870312156138d7576138d66148e8565b5b60006138e5878288016136cb565b94505060206138f6878288016136cb565b9350506040613907878288016137d3565b925050606085013567ffffffffffffffff811115613928576139276148e3565b5b61393487828801613777565b91505092959194509250565b60008060408385031215613957576139566148e8565b5b6000613965858286016136cb565b92505060206139768582860161370e565b9150509250929050565b60008060408385031215613997576139966148e8565b5b60006139a5858286016136cb565b92505060206139b6858286016137d3565b9150509250929050565b6000602082840312156139d6576139d56148e8565b5b60006139e484828501613723565b91505092915050565b600060208284031215613a0357613a026148e8565b5b6000613a118482850161374d565b91505092915050565b600060208284031215613a3057613a2f6148e8565b5b6000613a3e84828501613762565b91505092915050565b600060208284031215613a5d57613a5c6148e8565b5b600082013567ffffffffffffffff811115613a7b57613a7a6148e3565b5b613a87848285016137a5565b91505092915050565b600060208284031215613aa657613aa56148e8565b5b6000613ab4848285016137d3565b91505092915050565b60008060408385031215613ad457613ad36148e8565b5b6000613ae2858286016137d3565b925050602083013567ffffffffffffffff811115613b0357613b026148e3565b5b613b0f858286016136e0565b9150509250929050565b60008060408385031215613b3057613b2f6148e8565b5b6000613b3e858286016137d3565b9250506020613b4f858286016137d3565b9150509250929050565b600080600060608486031215613b7257613b716148e8565b5b6000613b80868287016137d3565b9350506020613b91868287016137d3565b925050604084013567ffffffffffffffff811115613bb257613bb16148e3565b5b613bbe868287016136e0565b9150509250925092565b600080600080600080600060e0888a031215613be757613be66148e8565b5b6000613bf58a828b016137d3565b9750506020613c068a828b016137d3565b9650506040613c178a828b016137d3565b9550506060613c288a828b01613738565b9450506080613c398a828b016136cb565b93505060a0613c4a8a828b0161370e565b92505060c0613c5b8a828b016137d3565b91505092959891949750929550565b600060208284031215613c8057613c7f6148e8565b5b6000613c8e848285016137e8565b91505092915050565b613ca081614607565b82525050565b613caf81614607565b82525050565b613cc6613cc182614607565b614780565b82525050565b613cd581614619565b82525050565b613ce481614619565b82525050565b613cf381614625565b82525050565b613d0a613d0582614625565b614792565b82525050565b613d198161462f565b82525050565b6000613d2a826144a4565b613d3481856144ba565b9350613d448185602086016146a1565b613d4d816148ed565b840191505092915050565b6000613d63826144a4565b613d6d81856144cb565b9350613d7d8185602086016146a1565b80840191505092915050565b6000613d94826144af565b613d9e81856144d6565b9350613dae8185602086016146a1565b613db7816148ed565b840191505092915050565b6000613dcd826144af565b613dd781856144e7565b9350613de78185602086016146a1565b80840191505092915050565b6000613e006017836144d6565b9150613e0b8261490b565b602082019050919050565b6000613e236026836144d6565b9150613e2e82614934565b604082019050919050565b6000613e466030836144d6565b9150613e5182614983565b604082019050919050565b6000613e69601c836144d6565b9150613e74826149d2565b602082019050919050565b6000613e8c601e836144d6565b9150613e97826149fb565b602082019050919050565b6000613eaf601c836144d6565b9150613eba82614a24565b602082019050919050565b6000613ed2601b836144d6565b9150613edd82614a4d565b602082019050919050565b6000613ef56005836144e7565b9150613f0082614a76565b600582019050919050565b6000613f186020836144d6565b9150613f2382614a9f565b602082019050919050565b6000613f3b6010836144d6565b9150613f4682614ac8565b602082019050919050565b6000613f5e6006836144e7565b9150613f6982614af1565b600682019050919050565b6000613f816020836144d6565b9150613f8c82614b1a565b602082019050919050565b6000613fa46015836144d6565b9150613faf82614b43565b602082019050919050565b6000613fc76024836144d6565b9150613fd282614b6c565b604082019050919050565b60c082016000820151613ff36000850182614058565b5060208201516140066020850182614058565b5060408201516140196040850182613cea565b50606082015161402c6060850182613c97565b50608082015161403f6080850182613ccc565b5060a082015161405260a0850182614058565b50505050565b6140618161467b565b82525050565b6140708161467b565b82525050565b6140876140828261467b565b6147ae565b82525050565b60006140998284613cb5565b60148201915081905092915050565b60006140b48284613d58565b915081905092915050565b60006140cb8285613d58565b91506140d78284613cf9565b6020820191508190509392505050565b60006140f38285613dc2565b91506140ff8284613dc2565b915061410a82613ee8565b91508190509392505050565b60006141228284613dc2565b915061412d82613f51565b915081905092915050565b60006141448284614076565b60208201915081905092915050565b60006020820190506141686000830184613ca6565b92915050565b60006080820190506141836000830187613ca6565b6141906020830186613ca6565b61419d6040830185614067565b81810360608301526141af8184613d1f565b905095945050505050565b60006040820190506141cf6000830185613ca6565b6141dc6020830184614067565b9392505050565b60006020820190506141f86000830184613cdb565b92915050565b60006020820190506142136000830184613d10565b92915050565b600060208201905081810360008301526142338184613d89565b905092915050565b6000602082019050818103600083015261425481613df3565b9050919050565b6000602082019050818103600083015261427481613e16565b9050919050565b6000602082019050818103600083015261429481613e39565b9050919050565b600060208201905081810360008301526142b481613e5c565b9050919050565b600060208201905081810360008301526142d481613e7f565b9050919050565b600060208201905081810360008301526142f481613ea2565b9050919050565b6000602082019050818103600083015261431481613ec5565b9050919050565b6000602082019050818103600083015261433481613f0b565b9050919050565b6000602082019050818103600083015261435481613f2e565b9050919050565b6000602082019050818103600083015261437481613f74565b9050919050565b6000602082019050818103600083015261439481613f97565b9050919050565b600060208201905081810360008301526143b481613fba565b9050919050565b600060c0820190506143d06000830184613fdd565b92915050565b60006020820190506143eb6000830184614067565b92915050565b60006143fb61440c565b90506144078282614706565b919050565b6000604051905090565b600067ffffffffffffffff821115614431576144306148a5565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561445d5761445c6148a5565b5b614466826148ed565b9050602081019050919050565b600067ffffffffffffffff82111561448e5761448d6148a5565b5b614497826148ed565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144fd8261467b565b91506145088361467b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561453d5761453c6147e9565b5b828201905092915050565b60006145538261467b565b915061455e8361467b565b92508261456e5761456d614818565b5b828204905092915050565b60006145848261467b565b915061458f8361467b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145c8576145c76147e9565b5b828202905092915050565b60006145de8261467b565b91506145e98361467b565b9250828210156145fc576145fb6147e9565b5b828203905092915050565b60006146128261465b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156146bf5780820151818401526020810190506146a4565b838111156146ce576000848401525b50505050565b600060028204905060018216806146ec57607f821691505b60208210811415614700576146ff614847565b5b50919050565b61470f826148ed565b810181811067ffffffffffffffff8211171561472e5761472d6148a5565b5b80604052505050565b60006147428261467b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614775576147746147e9565b5b600182019050919050565b600061478b8261479c565b9050919050565b6000819050919050565b60006147a7826148fe565b9050919050565b6000819050919050565b60006147c38261467b565b91506147ce8361467b565b9250826147de576147dd614818565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f53616c65206973206e6f74207965742073746172746564000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206e6f7420696d706c6d656e656e7465642072656967737460008201527f726174696f6e20696e7465726661636500000000000000000000000000000000602082015250565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b7f50726963652073686f756c642062652067726561746572207468616e20300000600082015250565b7f596f7520617265206e6f7420616c6c6f7720746f20617474656e642e00000000600082015250565b7f5072652d73616c65206973206e6f742079657420737461727465640000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f426173652075726c206e6f742073657400000000000000000000000000000000600082015250565b7f302e6a736f6e0000000000000000000000000000000000000000000000000000600082015250565b7f5175616e746974792073686f756c64206265206c6172676572207468616e2031600082015250565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b7f5072652d73616c6520776f756c6420657863656564206f66666572207175616e60008201527f7469747900000000000000000000000000000000000000000000000000000000602082015250565b614bc481614607565b8114614bcf57600080fd5b50565b614bdb81614619565b8114614be657600080fd5b50565b614bf281614625565b8114614bfd57600080fd5b50565b614c098161462f565b8114614c1457600080fd5b50565b614c208161467b565b8114614c2b57600080fd5b50565b614c3781614685565b8114614c4257600080fd5b5056fea264697066735822122019738243f6d51aa38ec9ce9d6aeeb6c8eb90b2b20eb9435e0040cec01196d95f64736f6c6343000807003368747470733a2f2f626166796265696672646b6d33786575347162796461727675747872366678636567656f6d37727a727068376b6a73377837716c646833686f37712e697066732e6e667473746f726167652e6c696e6b2f6d65746164617461
Deployed Bytecode
0x6080604052600436106102465760003560e01c8063715018a611610139578063b88d4fde116100b6578063de4b32621161007a578063de4b3262146108e5578063e9176c601461090e578063e985e9c514610939578063ee2eebf214610976578063f2fde38b146109b3578063f3c761a0146109dc57610246565b8063b88d4fde146107dc578063c14ddf6e14610805578063c735d1f714610842578063c7c3268b1461087f578063c87b56dd146108a857610246565b80639de0493e116100fd5780639de0493e146106e05780639e5d83a71461071d5780639e6f0a0c1461075a578063a0712d6814610797578063a22cb465146107b357610246565b8063715018a61461060b5780638da5cb5b1461062257806395d89b411461064d57806396dc3165146106785780639cafc89d146106b557610246565b806332cb6b0c116101c75780634fb860a71161018b5780634fb860a71461050057806351cff8d91461053d5780636278266c146105665780636352211e1461059157806370a08231146105ce57610246565b806332cb6b0c146104415780633b84d9c61461046c57806342842e0e1461048357806342d4b47e146104ac5780634891ad88146104d757610246565b806309686f841161020e57806309686f841461035657806318160ddd14610372578063221f22851461039d57806323b872dd146103da5780632a55205a1461040357610246565b806301ffc9a71461024b57806302f75c2d1461028857806306fdde03146102c5578063081812fc146102f0578063095ea7b31461032d575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906139ed565b610a05565b60405161027f91906141e3565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa9190613abd565b610a27565b6040516102bc91906141e3565b60405180910390f35b3480156102d157600080fd5b506102da610b5d565b6040516102e79190614219565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613a90565b610bef565b6040516103249190614153565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190613980565b610c6e565b005b610370600480360381019061036b9190613b59565b610db2565b005b34801561037e57600080fd5b50610387611043565b60405161039491906143d6565b60405180910390f35b3480156103a957600080fd5b506103c460048036038101906103bf9190613a90565b61105a565b6040516103d191906143d6565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc919061386a565b611071565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613b19565b611396565b6040516104389291906141ba565b60405180910390f35b34801561044d57600080fd5b50610456611581565b60405161046391906143d6565b60405180910390f35b34801561047857600080fd5b50610481611587565b005b34801561048f57600080fd5b506104aa60048036038101906104a5919061386a565b6115bb565b005b3480156104b857600080fd5b506104c16115db565b6040516104ce91906141e3565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190613c6a565b6115fb565b005b34801561050c57600080fd5b5061052760048036038101906105229190613b19565b611621565b60405161053491906141e3565b60405180910390f35b34801561054957600080fd5b50610564600480360381019061055f91906137fd565b611636565b005b34801561057257600080fd5b5061057b61168e565b60405161058891906141e3565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613a90565b6116ae565b6040516105c59190614153565b60405180910390f35b3480156105da57600080fd5b506105f560048036038101906105f091906137fd565b6116c0565b60405161060291906143d6565b60405180910390f35b34801561061757600080fd5b50610620611779565b005b34801561062e57600080fd5b5061063761178d565b6040516106449190614153565b60405180910390f35b34801561065957600080fd5b506106626117b7565b60405161066f9190614219565b60405180910390f35b34801561068457600080fd5b5061069f600480360381019061069a9190613a90565b611849565b6040516106ac91906143bb565b60405180910390f35b3480156106c157600080fd5b506106ca611917565b6040516106d791906143d6565b60405180910390f35b3480156106ec57600080fd5b5061070760048036038101906107029190613a90565b61191c565b60405161071491906141e3565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190613abd565b61192f565b60405161075191906141e3565b60405180910390f35b34801561076657600080fd5b50610781600480360381019061077c9190613b19565b61197a565b60405161078e91906141e3565b60405180910390f35b6107b160048036038101906107ac9190613a90565b611a47565b005b3480156107bf57600080fd5b506107da60048036038101906107d59190613940565b611c2d565b005b3480156107e857600080fd5b5061080360048036038101906107fe91906138bd565b611da5565b005b34801561081157600080fd5b5061082c60048036038101906108279190613a90565b611e18565b60405161083991906143d6565b60405180910390f35b34801561084e57600080fd5b5061086960048036038101906108649190613a90565b611e49565b60405161087691906143d6565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190613a47565b611f68565b005b3480156108b457600080fd5b506108cf60048036038101906108ca9190613a90565b611f8a565b6040516108dc9190614219565b60405180910390f35b3480156108f157600080fd5b5061090c60048036038101906109079190613a90565b612065565b005b34801561091a57600080fd5b506109236120ba565b60405161093091906143d6565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b919061382a565b6120ee565b60405161096d91906141e3565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613b19565b612182565b6040516109aa91906143d6565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d591906137fd565b612273565b005b3480156109e857600080fd5b50610a0360048036038101906109fe9190613bc8565b6122f7565b005b6000610a1082612536565b80610a205750610a1f826125c8565b5b9050919050565b600080600c60008581526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050600073ffffffffffffffffffffffffffffffffffffffff16816060015173ffffffffffffffffffffffffffffffffffffffff1614610b3157610b29816060015133612642565b915050610b57565b610b40816040015133856126d5565b8015610b535750610b51848461192f565b155b9150505b92915050565b606060028054610b6c906146d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610b98906146d4565b8015610be55780601f10610bba57610100808354040283529160200191610be5565b820191906000526020600020905b815481529060010190602001808311610bc857829003601f168201915b5050505050905090565b6000610bfa82612716565b610c30576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c79826116ae565b90508073ffffffffffffffffffffffffffffffffffffffff16610c9a612775565b73ffffffffffffffffffffffffffffffffffffffff1614610cfd57610cc681610cc1612775565b6120ee565b610cfc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600e8054610dc1906146d4565b905011610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa9061433b565b60405180910390fd5b610e0b61168e565b610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e41906142fb565b60405180910390fd5b610e548382610a27565b610e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8a906142db565b60405180910390fd5b60008211610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd9061435b565b60405180910390fd5b610ee08383611621565b15610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f179061429b565b60405180910390fd5b610f2a838361197a565b610f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f609061439b565b60405180910390fd5b34610f748484612182565b1115610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac9061437b565b60405180910390fd5b610fbf833361277d565b610fc983826128e5565b610fd33383612a25565b6000610fdf8484612182565b34610fea91906145d3565b9050600081111561103d573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561103b573d6000803e3d6000fd5b505b50505050565b600061104d612a43565b6001546000540303905090565b600081600b5461106a9190614579565b9050919050565b600061107c82612a4c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110e3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110ef84612b1a565b915091506111058187611100612775565b612b41565b6111515761111a86611115612775565b6120ee565b611150576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156111b8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111c58686866001612b85565b80156111d057600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061129e8561127a888887612b8b565b7c020000000000000000000000000000000000000000000000000000000017612bb3565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611326576000600185019050600060046000838152602001908152602001600020541415611324576000548114611323578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461138e8686866001612bde565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16141561152c5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000611536612be4565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866115629190614579565b61156c9190614548565b90508160000151819350935050509250929050565b611e6181565b61158f612bee565b600a60159054906101000a900460ff1615600a60156101000a81548160ff021916908315150217905550565b6115d683838360405180602001604052806000815250611da5565b505050565b6000600260ff16600a60149054906101000a900460ff1660ff1614905090565b611603612bee565b80600a60146101000a81548160ff021916908360ff16021790555050565b600061162c83611e49565b8211905092915050565b61163e612bee565b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611689573d6000803e3d6000fd5b505050565b6000600160ff16600a60149054906101000a900460ff1660ff1614905090565b60006116b982612a4c565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611728576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611781612bee565b61178b6000612c6c565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546117c6906146d4565b80601f01602080910402602001604051908101604052809291908181526020018280546117f2906146d4565b801561183f5780601f106118145761010080835404028352916020019161183f565b820191906000526020600020905b81548152906001019060200180831161182257829003601f168201915b5050505050905090565b6118516134e3565b611859612bee565b600c60008381526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050919050565b609681565b60006119266120ba565b82119050919050565b60008061193c8484612d32565b905060011515600d8260405161195291906140a8565b908152602001604051809103902060009054906101000a900460ff1615151491505092915050565b600080600c60008581526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050806020015183111591505092915050565b6000600e8054611a56906146d4565b905011611a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8f9061433b565b60405180910390fd5b611aa06115db565b611adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad69061423b565b60405180910390fd5b60008111611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b199061435b565b60405180910390fd5b611b2b8161191c565b15611b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b629061429b565b60405180910390fd5b34611b758261105a565b1115611bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bad9061437b565b60405180910390fd5b611bc03382612a25565b6000611bcb8261105a565b34611bd691906145d3565b90506000811115611c29573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c27573d6000803e3d6000fd5b505b5050565b611c35612775565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c9a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ca7612775565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d54612775565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d9991906141e3565b60405180910390a35050565b611db0848484611071565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e1257611ddb84848484612dc0565b611e11576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000611e42600c600084815260200190815260200160002060010154611e3d84611e49565b612f20565b9050919050565b600080600c60008481526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff16151515158152602001600482015481525050905060008160a0015111611f2157611f196120ba565b915050611f63565b6000611f338260a00151611e61612f20565b9050611f3d611043565b8111611f4a576000611f5e565b611f52611043565b81611f5d91906145d3565b5b925050505b919050565b611f70612bee565b80600e9080519060200190611f86929190613534565b5050565b6060611f9582612716565b611fcb576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611fd5612f39565b9050600081511461204c57600a60159054906101000a900460ff1661201957806040516020016120059190614116565b604051602081830303815290604052612044565b8061202384612fcb565b6040516020016120349291906140e7565b6040516020818303038152906040525b915050612060565b604051806020016040528060008152509150505b919050565b61206d612bee565b600081116120b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a7906142bb565b60405180910390fd5b80600b8190555050565b60006120c4611043565b611e61116120d35760006120e9565b6120db611043565b611e616120e891906145d3565b5b905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080600c60008581526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff1615151515815260200160048201548152505090506001151581608001511515141561225957600091505061226d565b8060000151836122699190614579565b9150505b92915050565b61227b612bee565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e29061425b565b60405180910390fd5b6122f481612c6c565b50565b6122ff612bee565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612443576123528373ffffffffffffffffffffffffffffffffffffffff1661312c565b801561240357508273ffffffffffffffffffffffffffffffffffffffff166301ffc9a77fe8d4be62000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016123b291906141fe565b60206040518083038186803b1580156123ca57600080fd5b505afa1580156123de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240291906139c0565b5b612442576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124399061427b565b60405180910390fd5b5b6040518060c001604052808781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff168152602001831515815260200182815250600c600089815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160146101000a81548160ff02191690831515021790555060a0820151816004015590505050505050505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061259157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125c15750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061263b575061263a8261314f565b5b9050919050565b60008273ffffffffffffffffffffffffffffffffffffffff1663937cde20836040518263ffffffff1660e01b815260040161267d9190614153565b60206040518083038186803b15801561269557600080fd5b505afa1580156126a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126cd91906139c0565b905092915050565b600080836040516020016126e9919061408d565b60405160208183030381529060405280519060200120905061270c8386836131b9565b9150509392505050565b600081612721612a43565b11158015612730575060005482105b801561276e575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6000600c60008481526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050600073ffffffffffffffffffffffffffffffffffffffff16816060015173ffffffffffffffffffffffffffffffffffffffff16146128e057806060015173ffffffffffffffffffffffffffffffffffffffff16637ba86042836040518263ffffffff1660e01b81526004016128ad9190614153565b600060405180830381600087803b1580156128c757600080fd5b505af11580156128db573d6000803e3d6000fd5b505050505b505050565b6000600c60008481526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160149054906101000a900460ff161515151581526020016004820154815250509050600073ffffffffffffffffffffffffffffffffffffffff16816060015173ffffffffffffffffffffffffffffffffffffffff161415612a205760006129e58484612d32565b90506001600d826040516129f991906140a8565b908152602001604051809103902060006101000a81548160ff021916908315150217905550505b505050565b612a3f8282604051806020016040528060008152506131d0565b5050565b60006001905090565b60008082905080612a5b612a43565b11612ae357600054811015612ae25760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612ae0575b6000811415612ad6576004600083600190039350838152602001908152602001600020549050612aab565b8092505050612b15565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612ba286868461326d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b612bf6613276565b73ffffffffffffffffffffffffffffffffffffffff16612c1461178d565b73ffffffffffffffffffffffffffffffffffffffff1614612c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c619061431b565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060600083604051602001612d479190614138565b604051602081830303815290604052905060005b8351811015612db55781848281518110612d7857612d77614876565b5b6020026020010151604051602001612d919291906140bf565b60405160208183030381529060405291508080612dad90614737565b915050612d5b565b508091505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612de6612775565b8786866040518563ffffffff1660e01b8152600401612e08949392919061416e565b602060405180830381600087803b158015612e2257600080fd5b505af1925050508015612e5357506040513d601f19601f82011682018060405250810190612e509190613a1a565b60015b612ecd573d8060008114612e83576040519150601f19603f3d011682016040523d82523d6000602084013e612e88565b606091505b50600081511415612ec5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000818310612f2f5781612f31565b825b905092915050565b6060600e8054612f48906146d4565b80601f0160208091040260200160405190810160405280929190818152602001828054612f74906146d4565b8015612fc15780601f10612f9657610100808354040283529160200191612fc1565b820191906000526020600020905b815481529060010190602001808311612fa457829003601f168201915b5050505050905090565b60606000821415613013576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613127565b600082905060005b6000821461304557808061302e90614737565b915050600a8261303e9190614548565b915061301b565b60008167ffffffffffffffff811115613061576130606148a5565b5b6040519080825280601f01601f1916602001820160405280156130935781602001600182028036833780820191505090505b5090505b60008514613120576001826130ac91906145d3565b9150600a856130bb91906147b8565b60306130c791906144f2565b60f81b8183815181106130dd576130dc614876565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131199190614548565b9450613097565b8093505050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826131c6858461327e565b1490509392505050565b6131da83836132d4565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461326857600080549050600083820390505b61321a6000868380600101945086612dc0565b613250576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061320757816000541461326557600080fd5b50505b505050565b60009392505050565b600033905090565b60008082905060005b84518110156132c9576132b4828683815181106132a7576132a6614876565b5b6020026020010151613491565b915080806132c190614737565b915050613287565b508091505092915050565b6000805490506000821415613315576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133226000848385612b85565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506133998361338a6000866000612b8b565b613393856134bc565b17612bb3565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461343a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506133ff565b506000821415613476576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061348c6000848385612bde565b505050565b60008183106134a9576134a482846134cc565b6134b4565b6134b383836134cc565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6040518060c00160405280600081526020016000815260200160008019168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152602001600081525090565b828054613540906146d4565b90600052602060002090601f01602090048101928261356257600085556135a9565b82601f1061357b57805160ff19168380011785556135a9565b828001600101855582156135a9579182015b828111156135a857825182559160200191906001019061358d565b5b5090506135b691906135ba565b5090565b5b808211156135d35760008160009055506001016135bb565b5090565b60006135ea6135e584614416565b6143f1565b9050808382526020820190508285602086028201111561360d5761360c6148d9565b5b60005b8581101561363d57816136238882613738565b845260208401935060208301925050600181019050613610565b5050509392505050565b600061365a61365584614442565b6143f1565b905082815260208101848484011115613676576136756148de565b5b613681848285614692565b509392505050565b600061369c61369784614473565b6143f1565b9050828152602081018484840111156136b8576136b76148de565b5b6136c3848285614692565b509392505050565b6000813590506136da81614bbb565b92915050565b600082601f8301126136f5576136f46148d4565b5b81356137058482602086016135d7565b91505092915050565b60008135905061371d81614bd2565b92915050565b60008151905061373281614bd2565b92915050565b60008135905061374781614be9565b92915050565b60008135905061375c81614c00565b92915050565b60008151905061377181614c00565b92915050565b600082601f83011261378c5761378b6148d4565b5b813561379c848260208601613647565b91505092915050565b600082601f8301126137ba576137b96148d4565b5b81356137ca848260208601613689565b91505092915050565b6000813590506137e281614c17565b92915050565b6000813590506137f781614c2e565b92915050565b600060208284031215613813576138126148e8565b5b6000613821848285016136cb565b91505092915050565b60008060408385031215613841576138406148e8565b5b600061384f858286016136cb565b9250506020613860858286016136cb565b9150509250929050565b600080600060608486031215613883576138826148e8565b5b6000613891868287016136cb565b93505060206138a2868287016136cb565b92505060406138b3868287016137d3565b9150509250925092565b600080600080608085870312156138d7576138d66148e8565b5b60006138e5878288016136cb565b94505060206138f6878288016136cb565b9350506040613907878288016137d3565b925050606085013567ffffffffffffffff811115613928576139276148e3565b5b61393487828801613777565b91505092959194509250565b60008060408385031215613957576139566148e8565b5b6000613965858286016136cb565b92505060206139768582860161370e565b9150509250929050565b60008060408385031215613997576139966148e8565b5b60006139a5858286016136cb565b92505060206139b6858286016137d3565b9150509250929050565b6000602082840312156139d6576139d56148e8565b5b60006139e484828501613723565b91505092915050565b600060208284031215613a0357613a026148e8565b5b6000613a118482850161374d565b91505092915050565b600060208284031215613a3057613a2f6148e8565b5b6000613a3e84828501613762565b91505092915050565b600060208284031215613a5d57613a5c6148e8565b5b600082013567ffffffffffffffff811115613a7b57613a7a6148e3565b5b613a87848285016137a5565b91505092915050565b600060208284031215613aa657613aa56148e8565b5b6000613ab4848285016137d3565b91505092915050565b60008060408385031215613ad457613ad36148e8565b5b6000613ae2858286016137d3565b925050602083013567ffffffffffffffff811115613b0357613b026148e3565b5b613b0f858286016136e0565b9150509250929050565b60008060408385031215613b3057613b2f6148e8565b5b6000613b3e858286016137d3565b9250506020613b4f858286016137d3565b9150509250929050565b600080600060608486031215613b7257613b716148e8565b5b6000613b80868287016137d3565b9350506020613b91868287016137d3565b925050604084013567ffffffffffffffff811115613bb257613bb16148e3565b5b613bbe868287016136e0565b9150509250925092565b600080600080600080600060e0888a031215613be757613be66148e8565b5b6000613bf58a828b016137d3565b9750506020613c068a828b016137d3565b9650506040613c178a828b016137d3565b9550506060613c288a828b01613738565b9450506080613c398a828b016136cb565b93505060a0613c4a8a828b0161370e565b92505060c0613c5b8a828b016137d3565b91505092959891949750929550565b600060208284031215613c8057613c7f6148e8565b5b6000613c8e848285016137e8565b91505092915050565b613ca081614607565b82525050565b613caf81614607565b82525050565b613cc6613cc182614607565b614780565b82525050565b613cd581614619565b82525050565b613ce481614619565b82525050565b613cf381614625565b82525050565b613d0a613d0582614625565b614792565b82525050565b613d198161462f565b82525050565b6000613d2a826144a4565b613d3481856144ba565b9350613d448185602086016146a1565b613d4d816148ed565b840191505092915050565b6000613d63826144a4565b613d6d81856144cb565b9350613d7d8185602086016146a1565b80840191505092915050565b6000613d94826144af565b613d9e81856144d6565b9350613dae8185602086016146a1565b613db7816148ed565b840191505092915050565b6000613dcd826144af565b613dd781856144e7565b9350613de78185602086016146a1565b80840191505092915050565b6000613e006017836144d6565b9150613e0b8261490b565b602082019050919050565b6000613e236026836144d6565b9150613e2e82614934565b604082019050919050565b6000613e466030836144d6565b9150613e5182614983565b604082019050919050565b6000613e69601c836144d6565b9150613e74826149d2565b602082019050919050565b6000613e8c601e836144d6565b9150613e97826149fb565b602082019050919050565b6000613eaf601c836144d6565b9150613eba82614a24565b602082019050919050565b6000613ed2601b836144d6565b9150613edd82614a4d565b602082019050919050565b6000613ef56005836144e7565b9150613f0082614a76565b600582019050919050565b6000613f186020836144d6565b9150613f2382614a9f565b602082019050919050565b6000613f3b6010836144d6565b9150613f4682614ac8565b602082019050919050565b6000613f5e6006836144e7565b9150613f6982614af1565b600682019050919050565b6000613f816020836144d6565b9150613f8c82614b1a565b602082019050919050565b6000613fa46015836144d6565b9150613faf82614b43565b602082019050919050565b6000613fc76024836144d6565b9150613fd282614b6c565b604082019050919050565b60c082016000820151613ff36000850182614058565b5060208201516140066020850182614058565b5060408201516140196040850182613cea565b50606082015161402c6060850182613c97565b50608082015161403f6080850182613ccc565b5060a082015161405260a0850182614058565b50505050565b6140618161467b565b82525050565b6140708161467b565b82525050565b6140876140828261467b565b6147ae565b82525050565b60006140998284613cb5565b60148201915081905092915050565b60006140b48284613d58565b915081905092915050565b60006140cb8285613d58565b91506140d78284613cf9565b6020820191508190509392505050565b60006140f38285613dc2565b91506140ff8284613dc2565b915061410a82613ee8565b91508190509392505050565b60006141228284613dc2565b915061412d82613f51565b915081905092915050565b60006141448284614076565b60208201915081905092915050565b60006020820190506141686000830184613ca6565b92915050565b60006080820190506141836000830187613ca6565b6141906020830186613ca6565b61419d6040830185614067565b81810360608301526141af8184613d1f565b905095945050505050565b60006040820190506141cf6000830185613ca6565b6141dc6020830184614067565b9392505050565b60006020820190506141f86000830184613cdb565b92915050565b60006020820190506142136000830184613d10565b92915050565b600060208201905081810360008301526142338184613d89565b905092915050565b6000602082019050818103600083015261425481613df3565b9050919050565b6000602082019050818103600083015261427481613e16565b9050919050565b6000602082019050818103600083015261429481613e39565b9050919050565b600060208201905081810360008301526142b481613e5c565b9050919050565b600060208201905081810360008301526142d481613e7f565b9050919050565b600060208201905081810360008301526142f481613ea2565b9050919050565b6000602082019050818103600083015261431481613ec5565b9050919050565b6000602082019050818103600083015261433481613f0b565b9050919050565b6000602082019050818103600083015261435481613f2e565b9050919050565b6000602082019050818103600083015261437481613f74565b9050919050565b6000602082019050818103600083015261439481613f97565b9050919050565b600060208201905081810360008301526143b481613fba565b9050919050565b600060c0820190506143d06000830184613fdd565b92915050565b60006020820190506143eb6000830184614067565b92915050565b60006143fb61440c565b90506144078282614706565b919050565b6000604051905090565b600067ffffffffffffffff821115614431576144306148a5565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561445d5761445c6148a5565b5b614466826148ed565b9050602081019050919050565b600067ffffffffffffffff82111561448e5761448d6148a5565b5b614497826148ed565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144fd8261467b565b91506145088361467b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561453d5761453c6147e9565b5b828201905092915050565b60006145538261467b565b915061455e8361467b565b92508261456e5761456d614818565b5b828204905092915050565b60006145848261467b565b915061458f8361467b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145c8576145c76147e9565b5b828202905092915050565b60006145de8261467b565b91506145e98361467b565b9250828210156145fc576145fb6147e9565b5b828203905092915050565b60006146128261465b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156146bf5780820151818401526020810190506146a4565b838111156146ce576000848401525b50505050565b600060028204905060018216806146ec57607f821691505b60208210811415614700576146ff614847565b5b50919050565b61470f826148ed565b810181811067ffffffffffffffff8211171561472e5761472d6148a5565b5b80604052505050565b60006147428261467b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614775576147746147e9565b5b600182019050919050565b600061478b8261479c565b9050919050565b6000819050919050565b60006147a7826148fe565b9050919050565b6000819050919050565b60006147c38261467b565b91506147ce8361467b565b9250826147de576147dd614818565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f53616c65206973206e6f74207965742073746172746564000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206e6f7420696d706c6d656e656e7465642072656967737460008201527f726174696f6e20696e7465726661636500000000000000000000000000000000602082015250565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b7f50726963652073686f756c642062652067726561746572207468616e20300000600082015250565b7f596f7520617265206e6f7420616c6c6f7720746f20617474656e642e00000000600082015250565b7f5072652d73616c65206973206e6f742079657420737461727465640000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f426173652075726c206e6f742073657400000000000000000000000000000000600082015250565b7f302e6a736f6e0000000000000000000000000000000000000000000000000000600082015250565b7f5175616e746974792073686f756c64206265206c6172676572207468616e2031600082015250565b7f4e6f7420656e6f7567682065746865722073656e740000000000000000000000600082015250565b7f5072652d73616c6520776f756c6420657863656564206f66666572207175616e60008201527f7469747900000000000000000000000000000000000000000000000000000000602082015250565b614bc481614607565b8114614bcf57600080fd5b50565b614bdb81614619565b8114614be657600080fd5b50565b614bf281614625565b8114614bfd57600080fd5b50565b614c098161462f565b8114614c1457600080fd5b50565b614c208161467b565b8114614c2b57600080fd5b50565b614c3781614685565b8114614c4257600080fd5b5056fea264697066735822122019738243f6d51aa38ec9ce9d6aeeb6c8eb90b2b20eb9435e0040cec01196d95f64736f6c63430008070033
Deployed Bytecode Sourcemap
114071:9331:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;115524:215;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;119174:417;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19661:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26144:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25585:400;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;117828:1226;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;15412:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;117441:111;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29851:2817;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;83483:442;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;114836:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;116229:80;;;;;;;;;;;;;:::i;:::-;;32764:185;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;117335:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;116321:93;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;120437:145;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;121288;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;119062:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21054:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16596:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94443:103;;;;;;;;;;;;;:::i;:::-;;93795:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19837:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;120590:129;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;114884:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;117212:115;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;119599:216;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;119823:196;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;116422:782;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;26702:308;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;33547:399;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;120268:161;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;115895:326;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;117735:85;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;115059:457;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;117560:161;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;115747:136;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27167:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;120027:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94701:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;120727:549;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;115524:215;115627:4;115651:38;115677:11;115651:25;:38::i;:::-;:80;;;;115693:38;115719:11;115693:25;:38::i;:::-;115651:80;115644:87;;115524:215;;;:::o;119174:417::-;119264:4;119281:18;119302:14;:21;119317:5;119302:21;;;;;;;;;;;119281:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119381:1;119348:35;;:5;:21;;;:35;;;119344:240;;119406:43;119415:5;:21;;;119438:10;119406:8;:43::i;:::-;119399:50;;;;;119344:240;119489:41;119497:5;:10;;;119509;119521:8;119489:7;:41::i;:::-;:83;;;;;119535:37;119556:5;119563:8;119535:20;:37::i;:::-;119534:38;119489:83;119482:90;;;119174:417;;;;;:::o;19661:100::-;19715:13;19748:5;19741:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19661:100;:::o;26144:218::-;26220:7;26245:16;26253:7;26245;:16::i;:::-;26240:64;;26270:34;;;;;;;;;;;;;;26240:64;26324:15;:24;26340:7;26324:24;;;;;;;;;;;:30;;;;;;;;;;;;26317:37;;26144:218;;;:::o;25585:400::-;25666:13;25682:16;25690:7;25682;:16::i;:::-;25666:32;;25738:5;25715:28;;:19;:17;:19::i;:::-;:28;;;25711:175;;25763:44;25780:5;25787:19;:17;:19::i;:::-;25763:16;:44::i;:::-;25758:128;;25835:35;;;;;;;;;;;;;;25758:128;25711:175;25931:2;25898:15;:24;25914:7;25898:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;25969:7;25965:2;25949:28;;25958:5;25949:28;;;;;;;;;;;;25655:330;25585:400;;:::o;117828:1226::-;117980:1;117965:4;117959:18;;;;;:::i;:::-;;;:22;117937:88;;;;;;;;;;;;:::i;:::-;;;;;;;;;118060:16;:14;:16::i;:::-;118038:93;;;;;;;;;;;;:::i;:::-;;;;;;;;;118166:34;118184:5;118191:8;118166:17;:34::i;:::-;118144:112;;;;;;;;;;;;:::i;:::-;;;;;;;;;118302:1;118291:8;:12;118269:94;;;;;;;;;;;;:::i;:::-;;;;;;;;;118399:31;118414:5;118421:8;118399:14;:31::i;:::-;118398:32;118376:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;118521:39;118544:5;118551:8;118521:22;:39::i;:::-;118499:126;;;;;;;;;;;;:::i;:::-;;;;;;;;;118696:9;118660:32;118676:5;118683:8;118660:15;:32::i;:::-;:45;;118638:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;118767:27;118776:5;118783:10;118767:8;:27::i;:::-;118807:29;118820:5;118827:8;118807:12;:29::i;:::-;118849:31;118859:10;118871:8;118849:9;:31::i;:::-;118901:11;118927:32;118943:5;118950:8;118927:15;:32::i;:::-;118915:9;:44;;;;:::i;:::-;118901:58;;118982:1;118973:6;:10;118970:77;;;119007:10;118999:28;;:36;119028:6;118999:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118970:77;117926:1128;117828:1226;;;:::o;15412:323::-;15473:7;15701:15;:13;:15::i;:::-;15686:12;;15670:13;;:28;:46;15663:53;;15412:323;:::o;117441:111::-;117500:4;117536:8;117523:10;;:21;;;;:::i;:::-;117516:28;;117441:111;;;:::o;29851:2817::-;29985:27;30015;30034:7;30015:18;:27::i;:::-;29985:57;;30100:4;30059:45;;30075:19;30059:45;;;30055:86;;30113:28;;;;;;;;;;;;;;30055:86;30155:27;30184:23;30211:35;30238:7;30211:26;:35::i;:::-;30154:92;;;;30346:68;30371:15;30388:4;30394:19;:17;:19::i;:::-;30346:24;:68::i;:::-;30341:180;;30434:43;30451:4;30457:19;:17;:19::i;:::-;30434:16;:43::i;:::-;30429:92;;30486:35;;;;;;;;;;;;;;30429:92;30341:180;30552:1;30538:16;;:2;:16;;;30534:52;;;30563:23;;;;;;;;;;;;;;30534:52;30599:43;30621:4;30627:2;30631:7;30640:1;30599:21;:43::i;:::-;30735:15;30732:160;;;30875:1;30854:19;30847:30;30732:160;31272:18;:24;31291:4;31272:24;;;;;;;;;;;;;;;;31270:26;;;;;;;;;;;;31341:18;:22;31360:2;31341:22;;;;;;;;;;;;;;;;31339:24;;;;;;;;;;;31663:146;31700:2;31749:45;31764:4;31770:2;31774:19;31749:14;:45::i;:::-;11811:8;31721:73;31663:18;:146::i;:::-;31634:17;:26;31652:7;31634:26;;;;;;;;;;;:175;;;;31980:1;11811:8;31929:19;:47;:52;31925:627;;;32002:19;32034:1;32024:7;:11;32002:33;;32191:1;32157:17;:30;32175:11;32157:30;;;;;;;;;;;;:35;32153:384;;;32295:13;;32280:11;:28;32276:242;;32475:19;32442:17;:30;32460:11;32442:30;;;;;;;;;;;:52;;;;32276:242;32153:384;31983:569;31925:627;32599:7;32595:2;32580:27;;32589:4;32580:27;;;;;;;;;;;;32618:42;32639:4;32645:2;32649:7;32658:1;32618:20;:42::i;:::-;29974:2694;;;29851:2817;;;:::o;83483:442::-;83580:7;83589;83609:26;83638:17;:27;83656:8;83638:27;;;;;;;;;;;83609:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83710:1;83682:30;;:7;:16;;;:30;;;83678:92;;;83739:19;83729:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83678:92;83782:21;83847:17;:15;:17::i;:::-;83806:58;;83820:7;:23;;;83807:36;;:10;:36;;;;:::i;:::-;83806:58;;;;:::i;:::-;83782:82;;83885:7;:16;;;83903:13;83877:40;;;;;;83483:442;;;;;:::o;114836:41::-;114873:4;114836:41;:::o;116229:80::-;93681:13;:11;:13::i;:::-;116292:9:::1;;;;;;;;;;;116291:10;116279:9;;:22;;;;;;;;;;;;;;;;;;116229:80::o:0;32764:185::-;32902:39;32919:4;32925:2;32929:7;32902:39;;;;;;;;;;;;:16;:39::i;:::-;32764:185;;;:::o;117335:94::-;117379:4;114472:1;117402:19;;:11;;;;;;;;;;;:19;;;117395:26;;117335:94;:::o;116321:93::-;93681:13;:11;:13::i;:::-;116400:6:::1;116386:11;;:20;;;;;;;;;;;;;;;;;;116321:93:::0;:::o;120437:145::-;120515:4;120550:24;120568:5;120550:17;:24::i;:::-;120539:8;:35;120532:42;;120437:145;;;;:::o;121288:::-;93681:13;:11;:13::i;:::-;121346:15:::1;121364:21;121346:39;;121404:2;121396:20;;:29;121417:7;121396:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;121335:98;121288:145:::0;:::o;119062:100::-;119109:4;114434:1;119132:22;;:11;;;;;;;;;;;:22;;;119125:29;;119062:100;:::o;21054:152::-;21126:7;21169:27;21188:7;21169:18;:27::i;:::-;21146:52;;21054:152;;;:::o;16596:233::-;16668:7;16709:1;16692:19;;:5;:19;;;16688:60;;;16720:28;;;;;;;;;;;;;;16688:60;10755:13;16766:18;:25;16785:5;16766:25;;;;;;;;;;;;;;;;:55;16759:62;;16596:233;;;:::o;94443:103::-;93681:13;:11;:13::i;:::-;94508:30:::1;94535:1;94508:18;:30::i;:::-;94443:103::o:0;93795:87::-;93841:7;93868:6;;;;;;;;;;;93861:13;;93795:87;:::o;19837:104::-;19893:13;19926:7;19919:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19837:104;:::o;120590:129::-;120658:12;;:::i;:::-;93681:13;:11;:13::i;:::-;120690:14:::1;:21;120705:5;120690:21;;;;;;;;;;;120683:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;120590:129:::0;;;:::o;114884:38::-;114919:3;114884:38;:::o;117212:115::-;117272:4;117307:12;:10;:12::i;:::-;117296:8;:23;117289:30;;117212:115;;;:::o;119599:216::-;119692:4;119709:18;119730:30;119744:5;119751:8;119730:13;:30::i;:::-;119709:51;;119803:4;119778:29;;:14;119793:5;119778:21;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:29;;;119771:36;;;119599:216;;;;:::o;119823:196::-;119909:4;119925:18;119946:14;:21;119961:5;119946:21;;;;;;;;;;;119925:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119997:5;:14;;;119985:8;:26;;119978:33;;;119823:196;;;;:::o;116422:782::-;116525:1;116510:4;116504:18;;;;;:::i;:::-;;;:22;116482:88;;;;;;;;;;;;:::i;:::-;;;;;;;;;116605:13;:11;:13::i;:::-;116583:86;;;;;;;;;;;;:::i;:::-;;;;;;;;;116715:1;116704:8;:12;116682:94;;;;;;;;;;;;:::i;:::-;;;;;;;;;116812:21;116824:8;116812:11;:21::i;:::-;116811:22;116789:100;;;;;;;;;;;;:::i;:::-;;;;;;;;;116948:9;116924:20;116935:8;116924:10;:20::i;:::-;:33;;116902:104;;;;;;;;;;;;:::i;:::-;;;;;;;;;117019:31;117029:10;117041:8;117019:9;:31::i;:::-;117063:11;117089:20;117100:8;117089:10;:20::i;:::-;117077:9;:32;;;;:::i;:::-;117063:46;;117132:1;117123:6;:10;117120:77;;;117157:10;117149:28;;:36;117178:6;117149:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;117120:77;116471:733;116422:782;:::o;26702:308::-;26813:19;:17;:19::i;:::-;26801:31;;:8;:31;;;26797:61;;;26841:17;;;;;;;;;;;;;;26797:61;26923:8;26871:18;:39;26890:19;:17;:19::i;:::-;26871:39;;;;;;;;;;;;;;;:49;26911:8;26871:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;26983:8;26947:55;;26962:19;:17;:19::i;:::-;26947:55;;;26993:8;26947:55;;;;;;:::i;:::-;;;;;;;;26702:308;;:::o;33547:399::-;33714:31;33727:4;33733:2;33737:7;33714:12;:31::i;:::-;33778:1;33760:2;:14;;;:19;33756:183;;33799:56;33830:4;33836:2;33840:7;33849:5;33799:30;:56::i;:::-;33794:145;;33883:40;;;;;;;;;;;;;;33794:145;33756:183;33547:399;;;;:::o;120268:161::-;120332:4;120355:66;120364:14;:21;120379:5;120364:21;;;;;;;;;;;:30;;;120396:24;120414:5;120396:17;:24::i;:::-;120355:8;:66::i;:::-;120348:73;;120268:161;;;:::o;115895:326::-;115958:7;115977:18;115998:14;:21;116013:5;115998:21;;;;;;;;;;;115977:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116050:1;116035:5;:11;;;:16;116032:40;;116060:12;:10;:12::i;:::-;116053:19;;;;;116032:40;116085:17;116105:33;116114:5;:11;;;114873:4;116105:8;:33::i;:::-;116085:53;;116168:13;:11;:13::i;:::-;116156:9;:25;:57;;116212:1;116156:57;;;116196:13;:11;:13::i;:::-;116184:9;:25;;;;:::i;:::-;116156:57;116149:64;;;;115895:326;;;;:::o;117735:85::-;93681:13;:11;:13::i;:::-;117809:3:::1;117802:4;:10;;;;;;;;;;;;:::i;:::-;;117735:85:::0;:::o;115059:457::-;115132:13;115163:16;115171:7;115163;:16::i;:::-;115158:59;;115188:29;;;;;;;;;;;;;;115158:59;115230:21;115254:10;:8;:10::i;:::-;115230:34;;115304:1;115285:7;115279:21;:26;115275:203;;115327:9;;;;;;;;;;;:139;;115447:7;115430:35;;;;;;;;:::i;:::-;;;;;;;;;;;;;115327:139;;;115363:7;115372:25;115389:7;115372:16;:25::i;:::-;115346:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;115327:139;115320:146;;;;;115275:203;115499:9;;;;;;;;;;;;;;;115059:457;;;;:::o;117560:161::-;93681:13;:11;:13::i;:::-;117638:1:::1;117630:5;:9;117622:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;117708:5;117695:10;:18;;;;117560:161:::0;:::o;115747:136::-;115790:7;115829:13;:11;:13::i;:::-;114873:4;115816:26;:59;;115874:1;115816:59;;;115858:13;:11;:13::i;:::-;114873:4;115845:26;;;;:::i;:::-;115816:59;115809:66;;115747:136;:::o;27167:164::-;27264:4;27288:18;:25;27307:5;27288:25;;;;;;;;;;;;;;;:35;27314:8;27288:35;;;;;;;;;;;;;;;;;;;;;;;;;27281:42;;27167:164;;;;:::o;120027:233::-;120106:4;120122:18;120143:14;:21;120158:5;120143:21;;;;;;;;;;;120122:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;120196:4;120180:20;;:5;:12;;;:20;;;120177:33;;;120209:1;120202:8;;;;;120177:33;120241:5;:11;;;120230:8;:22;;;;:::i;:::-;120223:29;;;120027:233;;;;;:::o;94701:201::-;93681:13;:11;:13::i;:::-;94810:1:::1;94790:22;;:8;:22;;;;94782:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;94866:28;94885:8;94866:18;:28::i;:::-;94701:201:::0;:::o;120727:549::-;93681:13;:11;:13::i;:::-;120922:1:::1;120895:29;;:15;:29;;;120892:272;;120966:28;:15;:26;;;:28::i;:::-;:116;;;;;121024:15;121016:42;;;121059:22;121016:66;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;120966:116;120940:212;;;;;;;;;;;;:::i;:::-;;;;;;;;;120892:272;121208:60;;;;;;;;121214:5;121208:60;;;;121221:8;121208:60;;;;121231:4;121208:60;;;;121237:15;121208:60;;;;;;121254:6;121208:60;;;;;;121262:5;121208:60;;::::0;121184:14:::1;:21;121199:5;121184:21;;;;;;;;;;;:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;120727:549:::0;;;;;;;:::o;18759:639::-;18844:4;19183:10;19168:25;;:11;:25;;;;:102;;;;19260:10;19245:25;;:11;:25;;;;19168:102;:179;;;;19337:10;19322:25;;:11;:25;;;;19168:179;19148:199;;18759:639;;;:::o;83213:215::-;83315:4;83354:26;83339:41;;;:11;:41;;;;:81;;;;83384:36;83408:11;83384:23;:36::i;:::-;83339:81;83332:88;;83213:215;;;:::o;122532:153::-;122615:4;122644:15;122639:29;;;122669:7;122639:38;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;122632:45;;122532:153;;;;:::o;122693:234::-;122791:4;122808:12;122850:7;122833:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;122823:36;;;;;;122808:51;;122879:40;122898:8;122908:4;122914;122879:18;:40::i;:::-;122872:47;;;122693:234;;;;;:::o;27589:282::-;27654:4;27710:7;27691:15;:13;:15::i;:::-;:26;;:66;;;;;27744:13;;27734:7;:23;27691:66;:153;;;;;27843:1;11531:8;27795:17;:26;27813:7;27795:26;;;;;;;;;;;;:44;:49;27691:153;27671:173;;27589:282;;;:::o;49355:105::-;49415:7;49442:10;49435:17;;49355:105;:::o;121989:242::-;122059:18;122080:14;:21;122095:5;122080:21;;;;;;;;;;;122059:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;122150:1;122117:35;;:5;:21;;;:35;;;122114:110;;122173:5;:21;;;122168:35;;;122204:7;122168:44;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;122114:110;122048:183;121989:242;;:::o;121667:314::-;121751:18;121772:14;:21;121787:5;121772:21;;;;;;;;;;;121751:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;121850:1;121817:35;;:5;:21;;;:35;;;121814:160;;;121868:18;121889:30;121903:5;121910:8;121889:13;:30::i;:::-;121868:51;;121958:4;121934:14;121949:5;121934:21;;;;;;:::i;:::-;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;121853:121;121814:160;121740:241;121667:314;;:::o;43187:112::-;43264:27;43274:2;43278:8;43264:27;;;;;;;;;;;;:9;:27::i;:::-;43187:112;;:::o;121445:101::-;121510:7;121537:1;121530:8;;121445:101;:::o;22209:1275::-;22276:7;22296:12;22311:7;22296:22;;22379:4;22360:15;:13;:15::i;:::-;:23;22356:1061;;22413:13;;22406:4;:20;22402:1015;;;22451:14;22468:17;:23;22486:4;22468:23;;;;;;;;;;;;22451:40;;22585:1;11531:8;22557:6;:24;:29;22553:845;;;23222:113;23239:1;23229:6;:11;23222:113;;;23282:17;:25;23300:6;;;;;;;23282:25;;;;;;;;;;;;23273:34;;23222:113;;;23368:6;23361:13;;;;;;22553:845;22428:989;22402:1015;22356:1061;23445:31;;;;;;;;;;;;;;22209:1275;;;;:::o;28752:479::-;28854:27;28883:23;28924:38;28965:15;:24;28981:7;28965:24;;;;;;;;;;;28924:65;;29136:18;29113:41;;29193:19;29187:26;29168:45;;29098:126;28752:479;;;:::o;27980:659::-;28129:11;28294:16;28287:5;28283:28;28274:37;;28454:16;28443:9;28439:32;28426:45;;28604:15;28593:9;28590:30;28582:5;28571:9;28568:20;28565:56;28555:66;;27980:659;;;;;:::o;34608:159::-;;;;;:::o;48664:311::-;48799:7;48819:16;11935:3;48845:19;:41;;48819:68;;11935:3;48913:31;48924:4;48930:2;48934:9;48913:10;:31::i;:::-;48905:40;;:62;;48898:69;;;48664:311;;;;;:::o;24032:450::-;24112:14;24280:16;24273:5;24269:28;24260:37;;24457:5;24443:11;24418:23;24414:41;24411:52;24404:5;24401:63;24391:73;;24032:450;;;;:::o;35432:158::-;;;;;:::o;84207:97::-;84265:6;84291:5;84284:12;;84207:97;:::o;93960:132::-;94035:12;:10;:12::i;:::-;94024:23;;:7;:5;:7::i;:::-;:23;;;94016:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;93960:132::o;95062:191::-;95136:16;95155:6;;;;;;;;;;;95136:25;;95181:8;95172:6;;:17;;;;;;;;;;;;;;;;;;95236:8;95205:40;;95226:8;95205:40;;;;;;;;;;;;95125:128;95062:191;:::o;122935:319::-;123023:12;123047:19;123086:5;123069:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;123047:45;;123110:6;123105:116;123126:8;:15;123122:1;:19;123105:116;;;123189:6;123197:8;123206:1;123197:11;;;;;;;;:::i;:::-;;;;;;;;123172:37;;;;;;;;;:::i;:::-;;;;;;;;;;;;;123163:46;;123143:3;;;;;:::i;:::-;;;;123105:116;;;;123240:6;123233:13;;;122935:319;;;;:::o;36030:716::-;36193:4;36239:2;36214:45;;;36260:19;:17;:19::i;:::-;36281:4;36287:7;36296:5;36214:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;36210:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36514:1;36497:6;:13;:18;36493:235;;;36543:40;;;;;;;;;;;;;;36493:235;36686:6;36680:13;36671:6;36667:2;36663:15;36656:38;36210:529;36383:54;;;36373:64;;;:6;:64;;;;36366:71;;;36030:716;;;;;;:::o;60935:106::-;60993:7;61024:1;61020;:5;:13;;61032:1;61020:13;;;61028:1;61020:13;61013:20;;60935:106;;;;:::o;121554:105::-;121614:13;121647:4;121640:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;121554:105;:::o;95690:723::-;95746:13;95976:1;95967:5;:10;95963:53;;;95994:10;;;;;;;;;;;;;;;;;;;;;95963:53;96026:12;96041:5;96026:20;;96057:14;96082:78;96097:1;96089:4;:9;96082:78;;96115:8;;;;;:::i;:::-;;;;96146:2;96138:10;;;;;:::i;:::-;;;96082:78;;;96170:19;96202:6;96192:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96170:39;;96220:154;96236:1;96227:5;:10;96220:154;;96264:1;96254:11;;;;;:::i;:::-;;;96331:2;96323:5;:10;;;;:::i;:::-;96310:2;:24;;;;:::i;:::-;96297:39;;96280:6;96287;96280:14;;;;;;;;:::i;:::-;;;;;:56;;;;;;;;;;;96360:2;96351:11;;;;;:::i;:::-;;;96220:154;;;96398:6;96384:21;;;;;95690:723;;;;:::o;70609:326::-;70669:4;70926:1;70904:7;:19;;;:23;70897:30;;70609:326;;;:::o;81663:157::-;81748:4;81787:25;81772:40;;;:11;:40;;;;81765:47;;81663:157;;;:::o;52790:190::-;52915:4;52968;52939:25;52952:5;52959:4;52939:12;:25::i;:::-;:33;52932:40;;52790:190;;;;;:::o;42414:689::-;42545:19;42551:2;42555:8;42545:5;:19::i;:::-;42624:1;42606:2;:14;;;:19;42602:483;;42646:11;42660:13;;42646:27;;42692:13;42714:8;42708:3;:14;42692:30;;42741:233;42772:62;42811:1;42815:2;42819:7;;;;;;42828:5;42772:30;:62::i;:::-;42767:167;;42870:40;;;;;;;;;;;;;;42767:167;42969:3;42961:5;:11;42741:233;;43056:3;43039:13;;:20;43035:34;;43061:8;;;43035:34;42627:458;;42602:483;42414:689;;;:::o;48365:147::-;48502:6;48365:147;;;;;:::o;92346:98::-;92399:7;92426:10;92419:17;;92346:98;:::o;53657:296::-;53740:7;53760:20;53783:4;53760:27;;53803:9;53798:118;53822:5;:12;53818:1;:16;53798:118;;;53871:33;53881:12;53895:5;53901:1;53895:8;;;;;;;;:::i;:::-;;;;;;;;53871:9;:33::i;:::-;53856:48;;53836:3;;;;;:::i;:::-;;;;53798:118;;;;53933:12;53926:19;;;53657:296;;;;:::o;37208:2454::-;37281:20;37304:13;;37281:36;;37344:1;37332:8;:13;37328:44;;;37354:18;;;;;;;;;;;;;;37328:44;37385:61;37415:1;37419:2;37423:12;37437:8;37385:21;:61::i;:::-;37929:1;10893:2;37899:1;:26;;37898:32;37886:8;:45;37860:18;:22;37879:2;37860:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;38208:139;38245:2;38299:33;38322:1;38326:2;38330:1;38299:14;:33::i;:::-;38266:30;38287:8;38266:20;:30::i;:::-;:66;38208:18;:139::i;:::-;38174:17;:31;38192:12;38174:31;;;;;;;;;;;:173;;;;38364:16;38395:11;38424:8;38409:12;:23;38395:37;;38679:16;38675:2;38671:25;38659:37;;39051:12;39011:8;38970:1;38908:25;38849:1;38788;38761:335;39176:1;39162:12;39158:20;39116:346;39217:3;39208:7;39205:16;39116:346;;39435:7;39425:8;39422:1;39395:25;39392:1;39389;39384:59;39270:1;39261:7;39257:15;39246:26;;39116:346;;;39120:77;39507:1;39495:8;:13;39491:45;;;39517:19;;;;;;;;;;;;;;39491:45;39569:3;39553:13;:19;;;;37634:1950;;39594:60;39623:1;39627:2;39631:12;39645:8;39594:20;:60::i;:::-;37270:2392;37208:2454;;:::o;59864:149::-;59927:7;59958:1;59954;:5;:51;;59985:20;60000:1;60003;59985:14;:20::i;:::-;59954:51;;;59962:20;59977:1;59980;59962:14;:20::i;:::-;59954:51;59947:58;;59864:149;;;;:::o;24584:324::-;24654:14;24887:1;24877:8;24874:15;24848:24;24844:46;24834:56;;24584:324;;;:::o;60021:268::-;60089:13;60196:1;60190:4;60183:15;60225:1;60219:4;60212:15;60266:4;60260;60250:21;60241:30;;60021:268;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;24:722:1:-;120:5;145:81;161:64;218:6;161:64;:::i;:::-;145:81;:::i;:::-;136:90;;246:5;275:6;268:5;261:21;309:4;302:5;298:16;291:23;;335:6;385:3;377:4;369:6;365:17;360:3;356:27;353:36;350:143;;;404:79;;:::i;:::-;350:143;517:1;502:238;527:6;524:1;521:13;502:238;;;595:3;624:37;657:3;645:10;624:37;:::i;:::-;619:3;612:50;691:4;686:3;682:14;675:21;;725:4;720:3;716:14;709:21;;562:178;549:1;546;542:9;537:14;;502:238;;;506:14;126:620;;24:722;;;;;:::o;752:410::-;829:5;854:65;870:48;911:6;870:48;:::i;:::-;854:65;:::i;:::-;845:74;;942:6;935:5;928:21;980:4;973:5;969:16;1018:3;1009:6;1004:3;1000:16;997:25;994:112;;;1025:79;;:::i;:::-;994:112;1115:41;1149:6;1144:3;1139;1115:41;:::i;:::-;835:327;752:410;;;;;:::o;1168:412::-;1246:5;1271:66;1287:49;1329:6;1287:49;:::i;:::-;1271:66;:::i;:::-;1262:75;;1360:6;1353:5;1346:21;1398:4;1391:5;1387:16;1436:3;1427:6;1422:3;1418:16;1415:25;1412:112;;;1443:79;;:::i;:::-;1412:112;1533:41;1567:6;1562:3;1557;1533:41;:::i;:::-;1252:328;1168:412;;;;;:::o;1586:139::-;1632:5;1670:6;1657:20;1648:29;;1686:33;1713:5;1686:33;:::i;:::-;1586:139;;;;:::o;1748:370::-;1819:5;1868:3;1861:4;1853:6;1849:17;1845:27;1835:122;;1876:79;;:::i;:::-;1835:122;1993:6;1980:20;2018:94;2108:3;2100:6;2093:4;2085:6;2081:17;2018:94;:::i;:::-;2009:103;;1825:293;1748:370;;;;:::o;2124:133::-;2167:5;2205:6;2192:20;2183:29;;2221:30;2245:5;2221:30;:::i;:::-;2124:133;;;;:::o;2263:137::-;2317:5;2348:6;2342:13;2333:22;;2364:30;2388:5;2364:30;:::i;:::-;2263:137;;;;:::o;2406:139::-;2452:5;2490:6;2477:20;2468:29;;2506:33;2533:5;2506:33;:::i;:::-;2406:139;;;;:::o;2551:137::-;2596:5;2634:6;2621:20;2612:29;;2650:32;2676:5;2650:32;:::i;:::-;2551:137;;;;:::o;2694:141::-;2750:5;2781:6;2775:13;2766:22;;2797:32;2823:5;2797:32;:::i;:::-;2694:141;;;;:::o;2854:338::-;2909:5;2958:3;2951:4;2943:6;2939:17;2935:27;2925:122;;2966:79;;:::i;:::-;2925:122;3083:6;3070:20;3108:78;3182:3;3174:6;3167:4;3159:6;3155:17;3108:78;:::i;:::-;3099:87;;2915:277;2854:338;;;;:::o;3212:340::-;3268:5;3317:3;3310:4;3302:6;3298:17;3294:27;3284:122;;3325:79;;:::i;:::-;3284:122;3442:6;3429:20;3467:79;3542:3;3534:6;3527:4;3519:6;3515:17;3467:79;:::i;:::-;3458:88;;3274:278;3212:340;;;;:::o;3558:139::-;3604:5;3642:6;3629:20;3620:29;;3658:33;3685:5;3658:33;:::i;:::-;3558:139;;;;:::o;3703:135::-;3747:5;3785:6;3772:20;3763:29;;3801:31;3826:5;3801:31;:::i;:::-;3703:135;;;;:::o;3844:329::-;3903:6;3952:2;3940:9;3931:7;3927:23;3923:32;3920:119;;;3958:79;;:::i;:::-;3920:119;4078:1;4103:53;4148:7;4139:6;4128:9;4124:22;4103:53;:::i;:::-;4093:63;;4049:117;3844:329;;;;:::o;4179:474::-;4247:6;4255;4304:2;4292:9;4283:7;4279:23;4275:32;4272:119;;;4310:79;;:::i;:::-;4272:119;4430:1;4455:53;4500:7;4491:6;4480:9;4476:22;4455:53;:::i;:::-;4445:63;;4401:117;4557:2;4583:53;4628:7;4619:6;4608:9;4604:22;4583:53;:::i;:::-;4573:63;;4528:118;4179:474;;;;;:::o;4659:619::-;4736:6;4744;4752;4801:2;4789:9;4780:7;4776:23;4772:32;4769:119;;;4807:79;;:::i;:::-;4769:119;4927:1;4952:53;4997:7;4988:6;4977:9;4973:22;4952:53;:::i;:::-;4942:63;;4898:117;5054:2;5080:53;5125:7;5116:6;5105:9;5101:22;5080:53;:::i;:::-;5070:63;;5025:118;5182:2;5208:53;5253:7;5244:6;5233:9;5229:22;5208:53;:::i;:::-;5198:63;;5153:118;4659:619;;;;;:::o;5284:943::-;5379:6;5387;5395;5403;5452:3;5440:9;5431:7;5427:23;5423:33;5420:120;;;5459:79;;:::i;:::-;5420:120;5579:1;5604:53;5649:7;5640:6;5629:9;5625:22;5604:53;:::i;:::-;5594:63;;5550:117;5706:2;5732:53;5777:7;5768:6;5757:9;5753:22;5732:53;:::i;:::-;5722:63;;5677:118;5834:2;5860:53;5905:7;5896:6;5885:9;5881:22;5860:53;:::i;:::-;5850:63;;5805:118;5990:2;5979:9;5975:18;5962:32;6021:18;6013:6;6010:30;6007:117;;;6043:79;;:::i;:::-;6007:117;6148:62;6202:7;6193:6;6182:9;6178:22;6148:62;:::i;:::-;6138:72;;5933:287;5284:943;;;;;;;:::o;6233:468::-;6298:6;6306;6355:2;6343:9;6334:7;6330:23;6326:32;6323:119;;;6361:79;;:::i;:::-;6323:119;6481:1;6506:53;6551:7;6542:6;6531:9;6527:22;6506:53;:::i;:::-;6496:63;;6452:117;6608:2;6634:50;6676:7;6667:6;6656:9;6652:22;6634:50;:::i;:::-;6624:60;;6579:115;6233:468;;;;;:::o;6707:474::-;6775:6;6783;6832:2;6820:9;6811:7;6807:23;6803:32;6800:119;;;6838:79;;:::i;:::-;6800:119;6958:1;6983:53;7028:7;7019:6;7008:9;7004:22;6983:53;:::i;:::-;6973:63;;6929:117;7085:2;7111:53;7156:7;7147:6;7136:9;7132:22;7111:53;:::i;:::-;7101:63;;7056:118;6707:474;;;;;:::o;7187:345::-;7254:6;7303:2;7291:9;7282:7;7278:23;7274:32;7271:119;;;7309:79;;:::i;:::-;7271:119;7429:1;7454:61;7507:7;7498:6;7487:9;7483:22;7454:61;:::i;:::-;7444:71;;7400:125;7187:345;;;;:::o;7538:327::-;7596:6;7645:2;7633:9;7624:7;7620:23;7616:32;7613:119;;;7651:79;;:::i;:::-;7613:119;7771:1;7796:52;7840:7;7831:6;7820:9;7816:22;7796:52;:::i;:::-;7786:62;;7742:116;7538:327;;;;:::o;7871:349::-;7940:6;7989:2;7977:9;7968:7;7964:23;7960:32;7957:119;;;7995:79;;:::i;:::-;7957:119;8115:1;8140:63;8195:7;8186:6;8175:9;8171:22;8140:63;:::i;:::-;8130:73;;8086:127;7871:349;;;;:::o;8226:509::-;8295:6;8344:2;8332:9;8323:7;8319:23;8315:32;8312:119;;;8350:79;;:::i;:::-;8312:119;8498:1;8487:9;8483:17;8470:31;8528:18;8520:6;8517:30;8514:117;;;8550:79;;:::i;:::-;8514:117;8655:63;8710:7;8701:6;8690:9;8686:22;8655:63;:::i;:::-;8645:73;;8441:287;8226:509;;;;:::o;8741:329::-;8800:6;8849:2;8837:9;8828:7;8824:23;8820:32;8817:119;;;8855:79;;:::i;:::-;8817:119;8975:1;9000:53;9045:7;9036:6;9025:9;9021:22;9000:53;:::i;:::-;8990:63;;8946:117;8741:329;;;;:::o;9076:684::-;9169:6;9177;9226:2;9214:9;9205:7;9201:23;9197:32;9194:119;;;9232:79;;:::i;:::-;9194:119;9352:1;9377:53;9422:7;9413:6;9402:9;9398:22;9377:53;:::i;:::-;9367:63;;9323:117;9507:2;9496:9;9492:18;9479:32;9538:18;9530:6;9527:30;9524:117;;;9560:79;;:::i;:::-;9524:117;9665:78;9735:7;9726:6;9715:9;9711:22;9665:78;:::i;:::-;9655:88;;9450:303;9076:684;;;;;:::o;9766:474::-;9834:6;9842;9891:2;9879:9;9870:7;9866:23;9862:32;9859:119;;;9897:79;;:::i;:::-;9859:119;10017:1;10042:53;10087:7;10078:6;10067:9;10063:22;10042:53;:::i;:::-;10032:63;;9988:117;10144:2;10170:53;10215:7;10206:6;10195:9;10191:22;10170:53;:::i;:::-;10160:63;;10115:118;9766:474;;;;;:::o;10246:829::-;10348:6;10356;10364;10413:2;10401:9;10392:7;10388:23;10384:32;10381:119;;;10419:79;;:::i;:::-;10381:119;10539:1;10564:53;10609:7;10600:6;10589:9;10585:22;10564:53;:::i;:::-;10554:63;;10510:117;10666:2;10692:53;10737:7;10728:6;10717:9;10713:22;10692:53;:::i;:::-;10682:63;;10637:118;10822:2;10811:9;10807:18;10794:32;10853:18;10845:6;10842:30;10839:117;;;10875:79;;:::i;:::-;10839:117;10980:78;11050:7;11041:6;11030:9;11026:22;10980:78;:::i;:::-;10970:88;;10765:303;10246:829;;;;;:::o;11081:1197::-;11191:6;11199;11207;11215;11223;11231;11239;11288:3;11276:9;11267:7;11263:23;11259:33;11256:120;;;11295:79;;:::i;:::-;11256:120;11415:1;11440:53;11485:7;11476:6;11465:9;11461:22;11440:53;:::i;:::-;11430:63;;11386:117;11542:2;11568:53;11613:7;11604:6;11593:9;11589:22;11568:53;:::i;:::-;11558:63;;11513:118;11670:2;11696:53;11741:7;11732:6;11721:9;11717:22;11696:53;:::i;:::-;11686:63;;11641:118;11798:2;11824:53;11869:7;11860:6;11849:9;11845:22;11824:53;:::i;:::-;11814:63;;11769:118;11926:3;11953:53;11998:7;11989:6;11978:9;11974:22;11953:53;:::i;:::-;11943:63;;11897:119;12055:3;12082:50;12124:7;12115:6;12104:9;12100:22;12082:50;:::i;:::-;12072:60;;12026:116;12181:3;12208:53;12253:7;12244:6;12233:9;12229:22;12208:53;:::i;:::-;12198:63;;12152:119;11081:1197;;;;;;;;;;:::o;12284:325::-;12341:6;12390:2;12378:9;12369:7;12365:23;12361:32;12358:119;;;12396:79;;:::i;:::-;12358:119;12516:1;12541:51;12584:7;12575:6;12564:9;12560:22;12541:51;:::i;:::-;12531:61;;12487:115;12284:325;;;;:::o;12615:108::-;12692:24;12710:5;12692:24;:::i;:::-;12687:3;12680:37;12615:108;;:::o;12729:118::-;12816:24;12834:5;12816:24;:::i;:::-;12811:3;12804:37;12729:118;;:::o;12853:157::-;12958:45;12978:24;12996:5;12978:24;:::i;:::-;12958:45;:::i;:::-;12953:3;12946:58;12853:157;;:::o;13016:99::-;13087:21;13102:5;13087:21;:::i;:::-;13082:3;13075:34;13016:99;;:::o;13121:109::-;13202:21;13217:5;13202:21;:::i;:::-;13197:3;13190:34;13121:109;;:::o;13236:108::-;13313:24;13331:5;13313:24;:::i;:::-;13308:3;13301:37;13236:108;;:::o;13350:157::-;13455:45;13475:24;13493:5;13475:24;:::i;:::-;13455:45;:::i;:::-;13450:3;13443:58;13350:157;;:::o;13513:115::-;13598:23;13615:5;13598:23;:::i;:::-;13593:3;13586:36;13513:115;;:::o;13634:360::-;13720:3;13748:38;13780:5;13748:38;:::i;:::-;13802:70;13865:6;13860:3;13802:70;:::i;:::-;13795:77;;13881:52;13926:6;13921:3;13914:4;13907:5;13903:16;13881:52;:::i;:::-;13958:29;13980:6;13958:29;:::i;:::-;13953:3;13949:39;13942:46;;13724:270;13634:360;;;;:::o;14000:373::-;14104:3;14132:38;14164:5;14132:38;:::i;:::-;14186:88;14267:6;14262:3;14186:88;:::i;:::-;14179:95;;14283:52;14328:6;14323:3;14316:4;14309:5;14305:16;14283:52;:::i;:::-;14360:6;14355:3;14351:16;14344:23;;14108:265;14000:373;;;;:::o;14379:364::-;14467:3;14495:39;14528:5;14495:39;:::i;:::-;14550:71;14614:6;14609:3;14550:71;:::i;:::-;14543:78;;14630:52;14675:6;14670:3;14663:4;14656:5;14652:16;14630:52;:::i;:::-;14707:29;14729:6;14707:29;:::i;:::-;14702:3;14698:39;14691:46;;14471:272;14379:364;;;;:::o;14749:377::-;14855:3;14883:39;14916:5;14883:39;:::i;:::-;14938:89;15020:6;15015:3;14938:89;:::i;:::-;14931:96;;15036:52;15081:6;15076:3;15069:4;15062:5;15058:16;15036:52;:::i;:::-;15113:6;15108:3;15104:16;15097:23;;14859:267;14749:377;;;;:::o;15132:366::-;15274:3;15295:67;15359:2;15354:3;15295:67;:::i;:::-;15288:74;;15371:93;15460:3;15371:93;:::i;:::-;15489:2;15484:3;15480:12;15473:19;;15132:366;;;:::o;15504:::-;15646:3;15667:67;15731:2;15726:3;15667:67;:::i;:::-;15660:74;;15743:93;15832:3;15743:93;:::i;:::-;15861:2;15856:3;15852:12;15845:19;;15504:366;;;:::o;15876:::-;16018:3;16039:67;16103:2;16098:3;16039:67;:::i;:::-;16032:74;;16115:93;16204:3;16115:93;:::i;:::-;16233:2;16228:3;16224:12;16217:19;;15876:366;;;:::o;16248:::-;16390:3;16411:67;16475:2;16470:3;16411:67;:::i;:::-;16404:74;;16487:93;16576:3;16487:93;:::i;:::-;16605:2;16600:3;16596:12;16589:19;;16248:366;;;:::o;16620:::-;16762:3;16783:67;16847:2;16842:3;16783:67;:::i;:::-;16776:74;;16859:93;16948:3;16859:93;:::i;:::-;16977:2;16972:3;16968:12;16961:19;;16620:366;;;:::o;16992:::-;17134:3;17155:67;17219:2;17214:3;17155:67;:::i;:::-;17148:74;;17231:93;17320:3;17231:93;:::i;:::-;17349:2;17344:3;17340:12;17333:19;;16992:366;;;:::o;17364:::-;17506:3;17527:67;17591:2;17586:3;17527:67;:::i;:::-;17520:74;;17603:93;17692:3;17603:93;:::i;:::-;17721:2;17716:3;17712:12;17705:19;;17364:366;;;:::o;17736:400::-;17896:3;17917:84;17999:1;17994:3;17917:84;:::i;:::-;17910:91;;18010:93;18099:3;18010:93;:::i;:::-;18128:1;18123:3;18119:11;18112:18;;17736:400;;;:::o;18142:366::-;18284:3;18305:67;18369:2;18364:3;18305:67;:::i;:::-;18298:74;;18381:93;18470:3;18381:93;:::i;:::-;18499:2;18494:3;18490:12;18483:19;;18142:366;;;:::o;18514:::-;18656:3;18677:67;18741:2;18736:3;18677:67;:::i;:::-;18670:74;;18753:93;18842:3;18753:93;:::i;:::-;18871:2;18866:3;18862:12;18855:19;;18514:366;;;:::o;18886:400::-;19046:3;19067:84;19149:1;19144:3;19067:84;:::i;:::-;19060:91;;19160:93;19249:3;19160:93;:::i;:::-;19278:1;19273:3;19269:11;19262:18;;18886:400;;;:::o;19292:366::-;19434:3;19455:67;19519:2;19514:3;19455:67;:::i;:::-;19448:74;;19531:93;19620:3;19531:93;:::i;:::-;19649:2;19644:3;19640:12;19633:19;;19292:366;;;:::o;19664:::-;19806:3;19827:67;19891:2;19886:3;19827:67;:::i;:::-;19820:74;;19903:93;19992:3;19903:93;:::i;:::-;20021:2;20016:3;20012:12;20005:19;;19664:366;;;:::o;20036:::-;20178:3;20199:67;20263:2;20258:3;20199:67;:::i;:::-;20192:74;;20275:93;20364:3;20275:93;:::i;:::-;20393:2;20388:3;20384:12;20377:19;;20036:366;;;:::o;20494:1212::-;20637:4;20632:3;20628:14;20725:4;20718:5;20714:16;20708:23;20744:63;20801:4;20796:3;20792:14;20778:12;20744:63;:::i;:::-;20652:165;20903:4;20896:5;20892:16;20886:23;20922:63;20979:4;20974:3;20970:14;20956:12;20922:63;:::i;:::-;20827:168;21077:4;21070:5;21066:16;21060:23;21096:63;21153:4;21148:3;21144:14;21130:12;21096:63;:::i;:::-;21005:164;21262:4;21255:5;21251:16;21245:23;21281:63;21338:4;21333:3;21329:14;21315:12;21281:63;:::i;:::-;21179:175;21438:4;21431:5;21427:16;21421:23;21457:57;21508:4;21503:3;21499:14;21485:12;21457:57;:::i;:::-;21364:160;21607:4;21600:5;21596:16;21590:23;21626:63;21683:4;21678:3;21674:14;21660:12;21626:63;:::i;:::-;21534:165;20606:1100;20494:1212;;:::o;21712:108::-;21789:24;21807:5;21789:24;:::i;:::-;21784:3;21777:37;21712:108;;:::o;21826:118::-;21913:24;21931:5;21913:24;:::i;:::-;21908:3;21901:37;21826:118;;:::o;21950:157::-;22055:45;22075:24;22093:5;22075:24;:::i;:::-;22055:45;:::i;:::-;22050:3;22043:58;21950:157;;:::o;22113:256::-;22225:3;22240:75;22311:3;22302:6;22240:75;:::i;:::-;22340:2;22335:3;22331:12;22324:19;;22360:3;22353:10;;22113:256;;;;:::o;22375:271::-;22505:3;22527:93;22616:3;22607:6;22527:93;:::i;:::-;22520:100;;22637:3;22630:10;;22375:271;;;;:::o;22652:412::-;22810:3;22832:93;22921:3;22912:6;22832:93;:::i;:::-;22825:100;;22935:75;23006:3;22997:6;22935:75;:::i;:::-;23035:2;23030:3;23026:12;23019:19;;23055:3;23048:10;;22652:412;;;;;:::o;23070:701::-;23351:3;23373:95;23464:3;23455:6;23373:95;:::i;:::-;23366:102;;23485:95;23576:3;23567:6;23485:95;:::i;:::-;23478:102;;23597:148;23741:3;23597:148;:::i;:::-;23590:155;;23762:3;23755:10;;23070:701;;;;;:::o;23777:541::-;24010:3;24032:95;24123:3;24114:6;24032:95;:::i;:::-;24025:102;;24144:148;24288:3;24144:148;:::i;:::-;24137:155;;24309:3;24302:10;;23777:541;;;;:::o;24324:256::-;24436:3;24451:75;24522:3;24513:6;24451:75;:::i;:::-;24551:2;24546:3;24542:12;24535:19;;24571:3;24564:10;;24324:256;;;;:::o;24586:222::-;24679:4;24717:2;24706:9;24702:18;24694:26;;24730:71;24798:1;24787:9;24783:17;24774:6;24730:71;:::i;:::-;24586:222;;;;:::o;24814:640::-;25009:4;25047:3;25036:9;25032:19;25024:27;;25061:71;25129:1;25118:9;25114:17;25105:6;25061:71;:::i;:::-;25142:72;25210:2;25199:9;25195:18;25186:6;25142:72;:::i;:::-;25224;25292:2;25281:9;25277:18;25268:6;25224:72;:::i;:::-;25343:9;25337:4;25333:20;25328:2;25317:9;25313:18;25306:48;25371:76;25442:4;25433:6;25371:76;:::i;:::-;25363:84;;24814:640;;;;;;;:::o;25460:332::-;25581:4;25619:2;25608:9;25604:18;25596:26;;25632:71;25700:1;25689:9;25685:17;25676:6;25632:71;:::i;:::-;25713:72;25781:2;25770:9;25766:18;25757:6;25713:72;:::i;:::-;25460:332;;;;;:::o;25798:210::-;25885:4;25923:2;25912:9;25908:18;25900:26;;25936:65;25998:1;25987:9;25983:17;25974:6;25936:65;:::i;:::-;25798:210;;;;:::o;26014:218::-;26105:4;26143:2;26132:9;26128:18;26120:26;;26156:69;26222:1;26211:9;26207:17;26198:6;26156:69;:::i;:::-;26014:218;;;;:::o;26238:313::-;26351:4;26389:2;26378:9;26374:18;26366:26;;26438:9;26432:4;26428:20;26424:1;26413:9;26409:17;26402:47;26466:78;26539:4;26530:6;26466:78;:::i;:::-;26458:86;;26238:313;;;;:::o;26557:419::-;26723:4;26761:2;26750:9;26746:18;26738:26;;26810:9;26804:4;26800:20;26796:1;26785:9;26781:17;26774:47;26838:131;26964:4;26838:131;:::i;:::-;26830:139;;26557:419;;;:::o;26982:::-;27148:4;27186:2;27175:9;27171:18;27163:26;;27235:9;27229:4;27225:20;27221:1;27210:9;27206:17;27199:47;27263:131;27389:4;27263:131;:::i;:::-;27255:139;;26982:419;;;:::o;27407:::-;27573:4;27611:2;27600:9;27596:18;27588:26;;27660:9;27654:4;27650:20;27646:1;27635:9;27631:17;27624:47;27688:131;27814:4;27688:131;:::i;:::-;27680:139;;27407:419;;;:::o;27832:::-;27998:4;28036:2;28025:9;28021:18;28013:26;;28085:9;28079:4;28075:20;28071:1;28060:9;28056:17;28049:47;28113:131;28239:4;28113:131;:::i;:::-;28105:139;;27832:419;;;:::o;28257:::-;28423:4;28461:2;28450:9;28446:18;28438:26;;28510:9;28504:4;28500:20;28496:1;28485:9;28481:17;28474:47;28538:131;28664:4;28538:131;:::i;:::-;28530:139;;28257:419;;;:::o;28682:::-;28848:4;28886:2;28875:9;28871:18;28863:26;;28935:9;28929:4;28925:20;28921:1;28910:9;28906:17;28899:47;28963:131;29089:4;28963:131;:::i;:::-;28955:139;;28682:419;;;:::o;29107:::-;29273:4;29311:2;29300:9;29296:18;29288:26;;29360:9;29354:4;29350:20;29346:1;29335:9;29331:17;29324:47;29388:131;29514:4;29388:131;:::i;:::-;29380:139;;29107:419;;;:::o;29532:::-;29698:4;29736:2;29725:9;29721:18;29713:26;;29785:9;29779:4;29775:20;29771:1;29760:9;29756:17;29749:47;29813:131;29939:4;29813:131;:::i;:::-;29805:139;;29532:419;;;:::o;29957:::-;30123:4;30161:2;30150:9;30146:18;30138:26;;30210:9;30204:4;30200:20;30196:1;30185:9;30181:17;30174:47;30238:131;30364:4;30238:131;:::i;:::-;30230:139;;29957:419;;;:::o;30382:::-;30548:4;30586:2;30575:9;30571:18;30563:26;;30635:9;30629:4;30625:20;30621:1;30610:9;30606:17;30599:47;30663:131;30789:4;30663:131;:::i;:::-;30655:139;;30382:419;;;:::o;30807:::-;30973:4;31011:2;31000:9;30996:18;30988:26;;31060:9;31054:4;31050:20;31046:1;31035:9;31031:17;31024:47;31088:131;31214:4;31088:131;:::i;:::-;31080:139;;30807:419;;;:::o;31232:::-;31398:4;31436:2;31425:9;31421:18;31413:26;;31485:9;31479:4;31475:20;31471:1;31460:9;31456:17;31449:47;31513:131;31639:4;31513:131;:::i;:::-;31505:139;;31232:419;;;:::o;31657:315::-;31796:4;31834:3;31823:9;31819:19;31811:27;;31848:117;31962:1;31951:9;31947:17;31938:6;31848:117;:::i;:::-;31657:315;;;;:::o;31978:222::-;32071:4;32109:2;32098:9;32094:18;32086:26;;32122:71;32190:1;32179:9;32175:17;32166:6;32122:71;:::i;:::-;31978:222;;;;:::o;32206:129::-;32240:6;32267:20;;:::i;:::-;32257:30;;32296:33;32324:4;32316:6;32296:33;:::i;:::-;32206:129;;;:::o;32341:75::-;32374:6;32407:2;32401:9;32391:19;;32341:75;:::o;32422:311::-;32499:4;32589:18;32581:6;32578:30;32575:56;;;32611:18;;:::i;:::-;32575:56;32661:4;32653:6;32649:17;32641:25;;32721:4;32715;32711:15;32703:23;;32422:311;;;:::o;32739:307::-;32800:4;32890:18;32882:6;32879:30;32876:56;;;32912:18;;:::i;:::-;32876:56;32950:29;32972:6;32950:29;:::i;:::-;32942:37;;33034:4;33028;33024:15;33016:23;;32739:307;;;:::o;33052:308::-;33114:4;33204:18;33196:6;33193:30;33190:56;;;33226:18;;:::i;:::-;33190:56;33264:29;33286:6;33264:29;:::i;:::-;33256:37;;33348:4;33342;33338:15;33330:23;;33052:308;;;:::o;33366:98::-;33417:6;33451:5;33445:12;33435:22;;33366:98;;;:::o;33470:99::-;33522:6;33556:5;33550:12;33540:22;;33470:99;;;:::o;33575:168::-;33658:11;33692:6;33687:3;33680:19;33732:4;33727:3;33723:14;33708:29;;33575:168;;;;:::o;33749:147::-;33850:11;33887:3;33872:18;;33749:147;;;;:::o;33902:169::-;33986:11;34020:6;34015:3;34008:19;34060:4;34055:3;34051:14;34036:29;;33902:169;;;;:::o;34077:148::-;34179:11;34216:3;34201:18;;34077:148;;;;:::o;34231:305::-;34271:3;34290:20;34308:1;34290:20;:::i;:::-;34285:25;;34324:20;34342:1;34324:20;:::i;:::-;34319:25;;34478:1;34410:66;34406:74;34403:1;34400:81;34397:107;;;34484:18;;:::i;:::-;34397:107;34528:1;34525;34521:9;34514:16;;34231:305;;;;:::o;34542:185::-;34582:1;34599:20;34617:1;34599:20;:::i;:::-;34594:25;;34633:20;34651:1;34633:20;:::i;:::-;34628:25;;34672:1;34662:35;;34677:18;;:::i;:::-;34662:35;34719:1;34716;34712:9;34707:14;;34542:185;;;;:::o;34733:348::-;34773:7;34796:20;34814:1;34796:20;:::i;:::-;34791:25;;34830:20;34848:1;34830:20;:::i;:::-;34825:25;;35018:1;34950:66;34946:74;34943:1;34940:81;34935:1;34928:9;34921:17;34917:105;34914:131;;;35025:18;;:::i;:::-;34914:131;35073:1;35070;35066:9;35055:20;;34733:348;;;;:::o;35087:191::-;35127:4;35147:20;35165:1;35147:20;:::i;:::-;35142:25;;35181:20;35199:1;35181:20;:::i;:::-;35176:25;;35220:1;35217;35214:8;35211:34;;;35225:18;;:::i;:::-;35211:34;35270:1;35267;35263:9;35255:17;;35087:191;;;;:::o;35284:96::-;35321:7;35350:24;35368:5;35350:24;:::i;:::-;35339:35;;35284:96;;;:::o;35386:90::-;35420:7;35463:5;35456:13;35449:21;35438:32;;35386:90;;;:::o;35482:77::-;35519:7;35548:5;35537:16;;35482:77;;;:::o;35565:149::-;35601:7;35641:66;35634:5;35630:78;35619:89;;35565:149;;;:::o;35720:126::-;35757:7;35797:42;35790:5;35786:54;35775:65;;35720:126;;;:::o;35852:77::-;35889:7;35918:5;35907:16;;35852:77;;;:::o;35935:86::-;35970:7;36010:4;36003:5;35999:16;35988:27;;35935:86;;;:::o;36027:154::-;36111:6;36106:3;36101;36088:30;36173:1;36164:6;36159:3;36155:16;36148:27;36027:154;;;:::o;36187:307::-;36255:1;36265:113;36279:6;36276:1;36273:13;36265:113;;;36364:1;36359:3;36355:11;36349:18;36345:1;36340:3;36336:11;36329:39;36301:2;36298:1;36294:10;36289:15;;36265:113;;;36396:6;36393:1;36390:13;36387:101;;;36476:1;36467:6;36462:3;36458:16;36451:27;36387:101;36236:258;36187:307;;;:::o;36500:320::-;36544:6;36581:1;36575:4;36571:12;36561:22;;36628:1;36622:4;36618:12;36649:18;36639:81;;36705:4;36697:6;36693:17;36683:27;;36639:81;36767:2;36759:6;36756:14;36736:18;36733:38;36730:84;;;36786:18;;:::i;:::-;36730:84;36551:269;36500:320;;;:::o;36826:281::-;36909:27;36931:4;36909:27;:::i;:::-;36901:6;36897:40;37039:6;37027:10;37024:22;37003:18;36991:10;36988:34;36985:62;36982:88;;;37050:18;;:::i;:::-;36982:88;37090:10;37086:2;37079:22;36869:238;36826:281;;:::o;37113:233::-;37152:3;37175:24;37193:5;37175:24;:::i;:::-;37166:33;;37221:66;37214:5;37211:77;37208:103;;;37291:18;;:::i;:::-;37208:103;37338:1;37331:5;37327:13;37320:20;;37113:233;;;:::o;37352:100::-;37391:7;37420:26;37440:5;37420:26;:::i;:::-;37409:37;;37352:100;;;:::o;37458:79::-;37497:7;37526:5;37515:16;;37458:79;;;:::o;37543:94::-;37582:7;37611:20;37625:5;37611:20;:::i;:::-;37600:31;;37543:94;;;:::o;37643:79::-;37682:7;37711:5;37700:16;;37643:79;;;:::o;37728:176::-;37760:1;37777:20;37795:1;37777:20;:::i;:::-;37772:25;;37811:20;37829:1;37811:20;:::i;:::-;37806:25;;37850:1;37840:35;;37855:18;;:::i;:::-;37840:35;37896:1;37893;37889:9;37884:14;;37728:176;;;;:::o;37910:180::-;37958:77;37955:1;37948:88;38055:4;38052:1;38045:15;38079:4;38076:1;38069:15;38096:180;38144:77;38141:1;38134:88;38241:4;38238:1;38231:15;38265:4;38262:1;38255:15;38282:180;38330:77;38327:1;38320:88;38427:4;38424:1;38417:15;38451:4;38448:1;38441:15;38468:180;38516:77;38513:1;38506:88;38613:4;38610:1;38603:15;38637:4;38634:1;38627:15;38654:180;38702:77;38699:1;38692:88;38799:4;38796:1;38789:15;38823:4;38820:1;38813:15;38840:117;38949:1;38946;38939:12;38963:117;39072:1;39069;39062:12;39086:117;39195:1;39192;39185:12;39209:117;39318:1;39315;39308:12;39332:117;39441:1;39438;39431:12;39455:102;39496:6;39547:2;39543:7;39538:2;39531:5;39527:14;39523:28;39513:38;;39455:102;;;:::o;39563:94::-;39596:8;39644:5;39640:2;39636:14;39615:35;;39563:94;;;:::o;39663:173::-;39803:25;39799:1;39791:6;39787:14;39780:49;39663:173;:::o;39842:225::-;39982:34;39978:1;39970:6;39966:14;39959:58;40051:8;40046:2;40038:6;40034:15;40027:33;39842:225;:::o;40073:235::-;40213:34;40209:1;40201:6;40197:14;40190:58;40282:18;40277:2;40269:6;40265:15;40258:43;40073:235;:::o;40314:178::-;40454:30;40450:1;40442:6;40438:14;40431:54;40314:178;:::o;40498:180::-;40638:32;40634:1;40626:6;40622:14;40615:56;40498:180;:::o;40684:178::-;40824:30;40820:1;40812:6;40808:14;40801:54;40684:178;:::o;40868:177::-;41008:29;41004:1;40996:6;40992:14;40985:53;40868:177;:::o;41051:155::-;41191:7;41187:1;41179:6;41175:14;41168:31;41051:155;:::o;41212:182::-;41352:34;41348:1;41340:6;41336:14;41329:58;41212:182;:::o;41400:166::-;41540:18;41536:1;41528:6;41524:14;41517:42;41400:166;:::o;41572:156::-;41712:8;41708:1;41700:6;41696:14;41689:32;41572:156;:::o;41734:182::-;41874:34;41870:1;41862:6;41858:14;41851:58;41734:182;:::o;41922:171::-;42062:23;42058:1;42050:6;42046:14;42039:47;41922:171;:::o;42099:223::-;42239:34;42235:1;42227:6;42223:14;42216:58;42308:6;42303:2;42295:6;42291:15;42284:31;42099:223;:::o;42328:122::-;42401:24;42419:5;42401:24;:::i;:::-;42394:5;42391:35;42381:63;;42440:1;42437;42430:12;42381:63;42328:122;:::o;42456:116::-;42526:21;42541:5;42526:21;:::i;:::-;42519:5;42516:32;42506:60;;42562:1;42559;42552:12;42506:60;42456:116;:::o;42578:122::-;42651:24;42669:5;42651:24;:::i;:::-;42644:5;42641:35;42631:63;;42690:1;42687;42680:12;42631:63;42578:122;:::o;42706:120::-;42778:23;42795:5;42778:23;:::i;:::-;42771:5;42768:34;42758:62;;42816:1;42813;42806:12;42758:62;42706:120;:::o;42832:122::-;42905:24;42923:5;42905:24;:::i;:::-;42898:5;42895:35;42885:63;;42944:1;42941;42934:12;42885:63;42832:122;:::o;42960:118::-;43031:22;43047:5;43031:22;:::i;:::-;43024:5;43021:33;43011:61;;43068:1;43065;43058:12;43011:61;42960:118;:::o
Swarm Source
ipfs://19738243f6d51aa38ec9ce9d6aeeb6c8eb90b2b20eb9435e0040cec01196d95f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.