ERC-721
Overview
Max Total Supply
1,200 MysteryNovelNFT
Holders
1,153
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MysteryNovelNFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MysteryNovelNFT
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-07 */ // 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/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/finance/PaymentSplitter.sol // OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/extensions/MessageSigning.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.4; abstract contract MessageSigning { // Signer Address address internal signerAddress; constructor(address signerAddress_){ signerAddress = signerAddress_; } /************ * @dev message singing handling ************/ function isValidSignature(bytes memory message, bytes memory signature) public view returns (bool) { bytes32 _messageHash = keccak256(abi.encodePacked(message)); bytes32 ethSignedMessageHash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash)); return _recoverSigner(ethSignedMessageHash, signature) == signerAddress; } /** * @dev Set the _signerAddress just in case */ function _setSignerAddress(address newSignerAddress) internal virtual { require(newSignerAddress != signerAddress, "New Signer Address cannot be the same as current one"); signerAddress = newSignerAddress; } function _recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) private pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = _splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function _splitSignature(bytes memory sig) private pure returns (bytes32 r, bytes32 s, uint8 v) { require(sig.length == 65, "invalid signature length"); assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } } } // File: contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // 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: contracts/ERC721A.sol // ERC721A Contracts v4.2.2 // 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 str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 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: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: contracts/MysteryNovelNFT.sol // ERC721A Contracts v4.0.0 // Creators: Chiru Labs pragma solidity ^0.8.7; contract MysteryNovelNFT is ERC721AQueryable, Ownable, MessageSigning, PaymentSplitter, ERC2981 { using Strings for uint256; uint32 public maxSupply = 1200; uint32 public remainingReserves = 300; uint32 public maxWLmint = 1; uint32 public maxPublicMint = 1; uint256 public constant startTokenId = 1; bool public presale = true; bool public paused = false; bool public gatekeeperEnabled = true; string private _baseTokenURI; address[] private addressList = [ 0xB94FbeEc03C1c33899e2b22F28AaeeCF6026a7cD, 0xDF06e7baA32AcF0bc2022CA4905f3De252734CA7, 0x7425abB7CA8D5Dd00126959E38Be1F6d475Cd929, 0xBb24b5E977Fd1650958c314F22cDE54eB3c47c94, 0x88BD998B7F1E262B4D77267bAe803c15Ec3d1563, 0x057291BD078F28687009ec4f17672adf6FE88423, 0xE699d152E2b41f4Fc0b93D6EDcf074e3e6313998, 0x5508d82C17aea1d17ccA45Cc67371576A1a29AE4, 0x9dFECD742F726Bf623Ff11e4E74D528873308459, 0xE287980f428B82cB152b89406539D6857049Dfc3, 0x4494e70c348B379c0b146C2E6E3a926BB1AC80D4, 0x29a283B4246C79c805C8f188E25b6bBE6088ECeE, 0x64Fd17F50269e7E0Cfb37845DA49EDcce1378a3d, 0x5963EBe307b7BFE6FbC99E2714479c205F2b045B, 0x4d98F89771E441eb6cc64948A44aBbe7ec20D4aa, 0xf428958d7FAaa3cBcad888223014527eb59E969A, 0x036A7A3A9d0EfCB499d0D6e340fA16dfcd7886a3, 0x9039ACCA21f45446912c1bFA68b9E02592cfF921, 0x60Ac0D33535EAC094F117C9A4cc854c969fb6cdA, 0xE46f313aEE954b140cf95509b0cfB5B4b9938B41, 0xCB1Ca8bb7A8A666b9feE33e09884954C4a3416Db, 0xF9e435064453048a78cD2e882937e311661CBA57, 0xdA2AD6a0c3429c826969Ff630A8Ce9fd148B013A, 0x9b5662246Fa2A2F718147a6c3F1DFee7A118f301, 0x4076a074cf55D58c3911EDd9Ad0A1d62167b9392, 0xF90F8725237125ecefE5696cd2B54D9D6934D467, 0x914cD7E93c8b5d07741c54D6cD08ec65031a38b0, 0x706227B84d6B5EBCbF8d4c011Bca5a3B3b04f72C, 0xAc85FfcC6d549DabCf23D96f3cC3666D28822d73, 0x3349F65be08258C10a0d0D8DE9a73B98e0dDcBdB, 0xa3d774248ee6101f5c22E7a4d5AF99BcF242f9Fa, 0xADD66Bcf88dC0DCBe256a77616575aE5C04fe557, 0x2Ea861c58e93175F41b4fB650Ef42Fd026B6409e, 0x8De469d08bb580Ab4355255929AdE18965E5C2aB, 0x95FE2a35A28f2737420fAE17395d04FE0fcC676E, 0x079A968a08b786Ab238A028382D19180fF2c426e, 0x2aE7AC4D95e1bFe1172FAE1c8efe9097119216cF, 0x96cF1C3620183BA63dC843D6301977f86F747d4A, 0xdF74886b927cED8384ed66974d7FDF20472D37EE, 0x29F28959e7383Eb874e6F7fF9F6DD5BE3de2b5D6, 0xE35A3d96C9C2a3fCB24634A53568585dB447642b, 0xc96Ab83C1B1605c9cf5ecc661A415E41423185D8, 0x1b8FF7e4F58bf7a9e5159C1658b71B92b209Fc1c, 0x166694354bFBD8bEcc758732F17b82915AB9Aa92, 0x0bFD9c25d3681d50f546e543eF8F9CBF6A2eaEb4, 0x01E7A7543FBFe6d880f541EE10fbd53c9a38a1C1, 0xb8b8bDcf11F263FaF66e211F3773Fac18B1e0854, 0x26D0B749c23298D694a10390D20C4B09815dd112, 0xE5C10D661546aC0C3735395BB2345C7B7EE21D42, 0x92833995Be58bEb3737b849c3c029EF60663A98f, 0xb2A2AA992c1891bEc6Bad6f459985d5423AbeBB9, 0x73Ace4e7FFF63dDefe98eaa9aD15E5edBD1072b4, 0x6858c4366954fCABcc85B9948de3AF39dC83f824, 0xF25172ea2A1d8eb20d4Ba24F4fBf4b8eBE1156dC, 0x50F6Ce36457aF140c7fBd1F44F33820E3F15530a, 0x57a678F36B3978d3Af834636397AF03181dC4696, 0x3738DAd3b76A6Ae608096628ADa698C7d41Fe6CA ]; uint256[] private shareList = [ 8800, 100, 100, 100, 100, 100, 100, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12 ]; constructor() ERC721A("MysteryNovelNFT", "MysteryNovelNFT") MessageSigning(0x89c414614a488B929D081367B1B9a31bB1E04369) PaymentSplitter(addressList, shareList) { _setDefaultRoyalty(msg.sender, 750); // 7.5% setBaseURI("ipfs://bafybeid26mhwqyfnuekd4fa4hyg5fdbwn7njjxqfgosdkjmperlzodhhla/"); } function _startTokenId() internal pure override returns (uint256) { return startTokenId; } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721A, IERC721A, ERC2981) returns (bool) { // Supports the following `interfaceId`s: // - IERC165: 0x01ffc9a7 // - IERC721: 0x80ac58cd // - IERC721Metadata: 0x5b5e139f // - IERC2981: 0x2a55205a return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external onlyOwner { _setDefaultRoyalty(_receiver, _feeNumerator); } function setMaxWLmint(uint32 newMaxWLmint) external onlyOwner { maxWLmint = newMaxWLmint; } function setMaxPublicmint(uint32 newMaxPublicMint) external onlyOwner { maxPublicMint = newMaxPublicMint; } /** * @dev Switch the status of the gatekeeper */ function switchGatekeeer() external onlyOwner { gatekeeperEnabled = !gatekeeperEnabled; } /** * @dev change the signerAddress just in case */ function setSignerAddress(address newsignerAddress) external onlyOwner{ _setSignerAddress(newsignerAddress); } /** * @dev Switch the status of the contract */ function switchPauseStatus() external onlyOwner{ paused = !paused; } /** * @dev End the presale & sets the public Sales price */ function endPresale() external onlyOwner{ require(presale, "Presale already ended"); presale = false; } /** * @dev ERC721 standard * @return baseURI value */ function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } /** * @dev Set the base URI * * The style MUST BE as follow : "ipfs://QmdsaXXXXXXXXXXXXXXXXXXXX7epJF/" */ function setBaseURI(string memory newBaseTokenURI) public onlyOwner { _baseTokenURI = newBaseTokenURI; } /** * @dev Decreases the total supply */ function decreaseSupply(uint32 newSupply, uint32 newRemainingReserves) external onlyOwner { require(newSupply < maxSupply,"Maximum supply can only be decreased"); require(newRemainingReserves <= remainingReserves, "Reseves cannot be increased"); require(newSupply >= newRemainingReserves + totalSupply(), "Maximum supply cannot be lower than the current supply + reserves"); maxSupply = newSupply; remainingReserves = newRemainingReserves; } /** * @dev Decreases the total reserves */ function decreaseReserves(uint32 newRemainingReserves) external onlyOwner { require(newRemainingReserves < remainingReserves, "Reseves can only be decreased"); remainingReserves = newRemainingReserves; } // minting /** * @dev Admin Mint of reserves */ function AirDrop (address to, uint32 amountToMint) external onlyOwner{ require (amountToMint <= remainingReserves, "The requested amount is greater than the remaining reserves"); _mint(to, amountToMint); unchecked { remainingReserves -= amountToMint; } } /** * @dev Minting for whitelisted addresses */ function whitelistMinting(uint32 amountToMint, bytes calldata mintPass) external payable { require (presale, "Presale over!"); require (isValidSignature(abi.encodePacked(_msgSender(), "presale"), mintPass), "Wallet not whitelisted"); require (_numberMinted(msg.sender) + amountToMint <= maxWLmint, "max NFTs per address exceeded"); _mintNFT(amountToMint); } /** * @dev Minting for the public sale */ function publicMint(uint32 amountToMint) external payable{ require (!presale, "Presale on"); require (!gatekeeperEnabled, "Direct minting is not allowed while gatekeeper is enable"); require (_numberMinted(msg.sender) + amountToMint <= maxPublicMint, "max NFTs per address exceeded"); _mintNFT(amountToMint); } function gatedMint(uint32 amountToMint, bytes calldata mintPass) external payable{ require (!presale, "Presale on"); require (_numberMinted(msg.sender) + amountToMint <= maxPublicMint, "max NFTs per address exceeded"); require (isValidSignature(abi.encodePacked(_msgSender(), "public"), mintPass), "Wrong mintPass"); _mintNFT(amountToMint); } /** * @dev Mint the amount of NFT requested */ function _mintNFT(uint32 _amountToMint) internal { require (!paused, "Contract paused"); require (tx.origin == msg.sender, "Caller not user"); require (totalSupply() + _amountToMint <= maxSupply - remainingReserves, "Request superior max Supply"); _mint(msg.sender, _amountToMint); } function getNumberMinted(address wallet) external view returns(uint256) { return _numberMinted(wallet); } /** * @dev Return the URI of the NFT */ function tokenURI(uint256 tokenId) public view virtual override(ERC721A,IERC721A) returns (string memory) { require(_exists(tokenId),"ERC721Metadata: URI query for nonexistent token"); string memory URI = _baseURI(); return bytes(URI).length > 0 ? string(abi.encodePacked(URI, tokenId.toString(), ".json")) : ""; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"amountToMint","type":"uint32"}],"name":"AirDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"newRemainingReserves","type":"uint32"}],"name":"decreaseReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"newSupply","type":"uint32"},{"internalType":"uint32","name":"newRemainingReserves","type":"uint32"}],"name":"decreaseSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"amountToMint","type":"uint32"},{"internalType":"bytes","name":"mintPass","type":"bytes"}],"name":"gatedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"gatekeeperEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getNumberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"message","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"isValidSignature","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMint","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWLmint","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"amountToMint","type":"uint32"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingReserves","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"newMaxPublicMint","type":"uint32"}],"name":"setMaxPublicmint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"newMaxWLmint","type":"uint32"}],"name":"setMaxWLmint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newsignerAddress","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"switchGatekeeer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"switchPauseStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"amountToMint","type":"uint32"},{"internalType":"bytes","name":"mintPass","type":"bytes"}],"name":"whitelistMinting","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
601380546001600160981b0319167201000100000001000000010000012c000004b01790556107a060405273b94fbeec03c1c33899e2b22f28aaeecf6026a7cd608090815273df06e7baa32acf0bc2022ca4905f3de252734ca760a052737425abb7ca8d5dd00126959e38be1f6d475cd92960c05273bb24b5e977fd1650958c314f22cde54eb3c47c9460e0527388bd998b7f1e262b4d77267bae803c15ec3d15636101005273057291bd078f28687009ec4f17672adf6fe884236101205273e699d152e2b41f4fc0b93d6edcf074e3e631399861014052735508d82c17aea1d17cca45cc67371576a1a29ae461016052739dfecd742f726bf623ff11e4e74d5288733084596101805273e287980f428b82cb152b89406539d6857049dfc36101a052734494e70c348b379c0b146c2e6e3a926bb1ac80d46101c0527329a283b4246c79c805c8f188e25b6bbe6088ecee6101e0527364fd17f50269e7e0cfb37845da49edcce1378a3d61020052735963ebe307b7bfe6fbc99e2714479c205f2b045b61022052734d98f89771e441eb6cc64948a44abbe7ec20d4aa6102405273f428958d7faaa3cbcad888223014527eb59e969a6102605273036a7a3a9d0efcb499d0d6e340fa16dfcd7886a361028052739039acca21f45446912c1bfa68b9e02592cff9216102a0527360ac0d33535eac094f117c9a4cc854c969fb6cda6102c05273e46f313aee954b140cf95509b0cfb5b4b9938b416102e05273cb1ca8bb7a8a666b9fee33e09884954c4a3416db6103005273f9e435064453048a78cd2e882937e311661cba576103205273da2ad6a0c3429c826969ff630a8ce9fd148b013a61034052739b5662246fa2a2f718147a6c3f1dfee7a118f30161036052734076a074cf55d58c3911edd9ad0a1d62167b93926103805273f90f8725237125ecefe5696cd2b54d9d6934d4676103a05273914cd7e93c8b5d07741c54d6cd08ec65031a38b06103c05273706227b84d6b5ebcbf8d4c011bca5a3b3b04f72c6103e05273ac85ffcc6d549dabcf23d96f3cc3666d28822d7361040052733349f65be08258c10a0d0d8de9a73b98e0ddcbdb6104205273a3d774248ee6101f5c22e7a4d5af99bcf242f9fa6104405273add66bcf88dc0dcbe256a77616575ae5c04fe55761046052732ea861c58e93175f41b4fb650ef42fd026b6409e61048052738de469d08bb580ab4355255929ade18965e5c2ab6104a0527395fe2a35a28f2737420fae17395d04fe0fcc676e6104c05273079a968a08b786ab238a028382d19180ff2c426e6104e052732ae7ac4d95e1bfe1172fae1c8efe9097119216cf610500527396cf1c3620183ba63dc843d6301977f86f747d4a6105205273df74886b927ced8384ed66974d7fdf20472d37ee610540527329f28959e7383eb874e6f7ff9f6dd5be3de2b5d66105605273e35a3d96c9c2a3fcb24634a53568585db447642b6105805273c96ab83c1b1605c9cf5ecc661a415e41423185d86105a052731b8ff7e4f58bf7a9e5159c1658b71b92b209fc1c6105c05273166694354bfbd8becc758732f17b82915ab9aa926105e052730bfd9c25d3681d50f546e543ef8f9cbf6a2eaeb4610600527301e7a7543fbfe6d880f541ee10fbd53c9a38a1c16106205273b8b8bdcf11f263faf66e211f3773fac18b1e0854610640527326d0b749c23298d694a10390d20c4b09815dd1126106605273e5c10d661546ac0c3735395bb2345c7b7ee21d42610680527392833995be58beb3737b849c3c029ef60663a98f6106a05273b2a2aa992c1891bec6bad6f459985d5423abebb96106c0527373ace4e7fff63ddefe98eaa9ad15e5edbd1072b46106e052736858c4366954fcabcc85b9948de3af39dc83f8246107005273f25172ea2a1d8eb20d4ba24f4fbf4b8ebe1156dc610720527350f6ce36457af140c7fbd1f44f33820e3f15530a610740527357a678f36b3978d3af834636397af03181dc469661076052733738dad3b76a6ae608096628ada698c7d41fe6ca61078052620005c990601590603962000e49565b5060408051610720810182526122608152606460208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152600c60e08201819052610100820181905261012082018190526101408201819052610160820181905261018082018190526101a082018190526101c082018190526101e08201819052610200820181905261022082018190526102408201819052610260820181905261028082018190526102a082018190526102c082018190526102e08201819052610300820181905261032082018190526103408201819052610360820181905261038082018190526103a082018190526103c082018190526103e08201819052610400820181905261042082018190526104408201819052610460820181905261048082018190526104a082018190526104c082018190526104e08201819052610500820181905261052082018190526105408201819052610560820181905261058082018190526105a082018190526105c082018190526105e08201819052610600820181905261062082018190526106408201819052610660820181905261068082018190526106a082018190526106c082018190526106e08201819052610700820152620007a590601690603962000eb3565b50348015620007b357600080fd5b5060158054806020026020016040519081016040528092919081815260200182805480156200080c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311620007ed575b505050505060168054806020026020016040519081016040528092919081815260200182805480156200085f57602002820191906000526020600020905b8154815260200190600101908083116200084a575b50505050507389c414614a488b929d081367b1b9a31bb1e043696040518060400160405280600f81526020016e135e5cdd195c9e539bdd995b139195608a1b8152506040518060400160405280600f81526020016e135e5cdd195c9e539bdd995b139195608a1b8152508160029081620008da919062000fb3565b506003620008e9828262000fb3565b5050600160005550620008fc3362000a8e565b600980546001600160a01b0319166001600160a01b039290921691909117905580518251146200098e5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620009e15760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000985565b60005b825181101562000a4d5762000a3883828151811062000a075762000a076200107f565b602002602001015183838151811062000a245762000a246200107f565b602002602001015162000ae060201b60201c565b8062000a4481620010ab565b915050620009e4565b50505062000a64336102ee62000cce60201b60201c565b62000a8860405180608001604052806043815260200162004a406043913962000dcf565b620010e3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821662000b4d5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000985565b6000811162000b9f5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000985565b6001600160a01b0382166000908152600c60205260409020541562000c1b5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000985565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a5462000c85908290620010c7565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b6127106001600160601b038216111562000d3e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840162000985565b6001600160a01b03821662000d965760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000985565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601155565b62000dd962000deb565b601462000de7828262000fb3565b5050565b6008546001600160a01b0316331462000e475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000985565b565b82805482825590600052602060002090810192821562000ea1579160200282015b8281111562000ea157825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000e6a565b5062000eaf92915062000ef7565b5090565b82805482825590600052602060002090810192821562000ea1579160200282015b8281111562000ea1578251829061ffff1690559160200191906001019062000ed4565b5b8082111562000eaf576000815560010162000ef8565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000f3957607f821691505b60208210810362000f5a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000fae57600081815260208120601f850160051c8101602086101562000f895750805b601f850160051c820191505b8181101562000faa5782815560010162000f95565b5050505b505050565b81516001600160401b0381111562000fcf5762000fcf62000f0e565b62000fe78162000fe0845462000f24565b8462000f60565b602080601f8311600181146200101f5760008415620010065750858301515b600019600386901b1c1916600185901b17855562000faa565b600085815260208120601f198616915b8281101562001050578886015182559484019460019091019084016200102f565b50858210156200106f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620010c057620010c062001095565b5060010190565b80820180821115620010dd57620010dd62001095565b92915050565b61394d80620010f36000396000f3fe60806040526004361061037a5760003560e01c80638a59a7fd116101d1578063c87b56dd11610102578063e6798baa116100a0578063f151d7911161006f578063f151d79114610b22578063f2fde38b14610b35578063f3d474cb14610b55578063fdea8e0b14610b7657600080fd5b8063e6798baa14610a84578063e985e9c514610a99578063eaec253214610ae2578063ef3468b914610b0257600080fd5b8063d5abeb01116100dc578063d5abeb01146109fc578063d6bf8eeb14610a19578063d79779b214610a39578063e33b7de314610a6f57600080fd5b8063c87b56dd14610982578063cabadaa0146109a2578063ce7c2ac2146109c657600080fd5b8063a3f8eace1161016f578063aec4167411610149578063aec41674146108f5578063b88d4fde14610915578063c23dc68f14610935578063c45ac0501461096257600080fd5b8063a3f8eace146108ab578063a43be57b146108cb578063aa8a31fb146108e057600080fd5b806395d89b41116101ab57806395d89b41146108205780639852595c1461083557806399a2557a1461086b578063a22cb4651461088b57600080fd5b80638a59a7fd146107c25780638b83209b146107e25780638da5cb5b1461080257600080fd5b80632df2726f116102ab5780635c975abb11610249578063651b181711610223578063651b18171461074d57806370a0823114610760578063715018a6146107805780638462151c1461079557600080fd5b80635c975abb146106e857806361d6a4ce146107095780636352211e1461072d57600080fd5b806342842e0e1161028557806342842e0e1461065b57806348b750441461067b57806355f804b31461069b5780635bbb2177146106bb57600080fd5b80632df2726f146105e05780633a98ef3914610600578063406072a91461061557600080fd5b80630d1b64e31161031857806319165587116102f2578063191655871461054157806320c13b0b1461056157806323b872dd146105815780632a55205a146105a157600080fd5b80630d1b64e3146104ce5780631091d62c146104e157806318160ddd1461051a57600080fd5b806306fdde031161035457806306fdde031461043f57806307c55ec214610461578063081812fc14610476578063095ea7b3146104ae57600080fd5b806301ffc9a7146103c857806304634d8d146103fd578063046dc1661461041f57600080fd5b366103c3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103d457600080fd5b506103e86103e3366004612efb565b610b97565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b5061041d610418366004612f2d565b610bb7565b005b34801561042b57600080fd5b5061041d61043a366004612f72565b610bcd565b34801561044b57600080fd5b50610454610be1565b6040516103f49190612fdf565b34801561046d57600080fd5b5061041d610c73565b34801561048257600080fd5b50610496610491366004612ff2565b610c9c565b6040516001600160a01b0390911681526020016103f4565b3480156104ba57600080fd5b5061041d6104c936600461300b565b610ce0565b61041d6104dc366004613050565b610d80565b3480156104ed57600080fd5b5060135461050590600160401b900463ffffffff1681565b60405163ffffffff90911681526020016103f4565b34801561052657600080fd5b5060015460005403600019015b6040519081526020016103f4565b34801561054d57600080fd5b5061041d61055c366004612f72565b610ed3565b34801561056d57600080fd5b506103e861057c36600461317d565b610fcc565b34801561058d57600080fd5b5061041d61059c3660046131e0565b61107b565b3480156105ad57600080fd5b506105c16105bc366004613221565b611214565b604080516001600160a01b0390931683526020830191909152016103f4565b3480156105ec57600080fd5b5061041d6105fb366004613243565b6112c0565b34801561060c57600080fd5b50600a54610533565b34801561062157600080fd5b50610533610630366004613278565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b34801561066757600080fd5b5061041d6106763660046131e0565b611392565b34801561068757600080fd5b5061041d610696366004613278565b6113ad565b3480156106a757600080fd5b5061041d6106b63660046132a6565b6114d0565b3480156106c757600080fd5b506106db6106d63660046132ee565b6114e4565b6040516103f4919061339e565b3480156106f457600080fd5b506013546103e890600160881b900460ff1681565b34801561071557600080fd5b5060135461050590600160201b900463ffffffff1681565b34801561073957600080fd5b50610496610748366004612ff2565b6115af565b61041d61075b366004613050565b6115ba565b34801561076c57600080fd5b5061053361077b366004612f72565b6116c5565b34801561078c57600080fd5b5061041d611713565b3480156107a157600080fd5b506107b56107b0366004612f72565b611727565b6040516103f491906133e0565b3480156107ce57600080fd5b506105336107dd366004612f72565b61182f565b3480156107ee57600080fd5b506104966107fd366004612ff2565b61183a565b34801561080e57600080fd5b506008546001600160a01b0316610496565b34801561082c57600080fd5b5061045461186a565b34801561084157600080fd5b50610533610850366004612f72565b6001600160a01b03166000908152600d602052604090205490565b34801561087757600080fd5b506107b5610886366004613418565b611879565b34801561089757600080fd5b5061041d6108a636600461345b565b611a00565b3480156108b757600080fd5b506105336108c6366004612f72565b611a95565b3480156108d757600080fd5b5061041d611ad6565b3480156108ec57600080fd5b5061041d611b3e565b34801561090157600080fd5b5061041d610910366004613489565b611b67565b34801561092157600080fd5b5061041d6109303660046134a4565b611bf8565b34801561094157600080fd5b50610955610950366004612ff2565b611c42565b6040516103f4919061350f565b34801561096e57600080fd5b5061053361097d366004613278565b611cca565b34801561098e57600080fd5b5061045461099d366004612ff2565b611d95565b3480156109ae57600080fd5b5060135461050590600160601b900463ffffffff1681565b3480156109d257600080fd5b506105336109e1366004612f72565b6001600160a01b03166000908152600c602052604090205490565b348015610a0857600080fd5b506013546105059063ffffffff1681565b348015610a2557600080fd5b5061041d610a3436600461351d565b611e5f565b348015610a4557600080fd5b50610533610a54366004612f72565b6001600160a01b03166000908152600f602052604090205490565b348015610a7b57600080fd5b50600b54610533565b348015610a9057600080fd5b50610533600181565b348015610aa557600080fd5b506103e8610ab4366004613278565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610aee57600080fd5b5061041d610afd366004613489565b612000565b348015610b0e57600080fd5b5061041d610b1d366004613489565b612033565b61041d610b30366004613489565b612061565b348015610b4157600080fd5b5061041d610b50366004612f72565b612177565b348015610b6157600080fd5b506013546103e890600160901b900460ff1681565b348015610b8257600080fd5b506013546103e890600160801b900460ff1681565b6000610ba2826121ed565b80610bb15750610bb18261223b565b92915050565b610bbf612270565b610bc982826122ca565b5050565b610bd5612270565b610bde816123c7565b50565b606060028054610bf090613539565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1c90613539565b8015610c695780601f10610c3e57610100808354040283529160200191610c69565b820191906000526020600020905b815481529060010190602001808311610c4c57829003601f168201915b5050505050905090565b610c7b612270565b6013805460ff60901b198116600160901b9182900460ff1615909102179055565b6000610ca782612464565b610cc4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610ceb826115af565b9050336001600160a01b03821614610d2457610d078133610ab4565b610d24576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b601354600160801b900460ff1615610dcc5760405162461bcd60e51b815260206004820152600a602482015269283932b9b0b6329037b760b11b60448201526064015b60405180910390fd5b60135463ffffffff600160601b9091048116908416610dea33612499565b610df49190613589565b1115610e125760405162461bcd60e51b8152600401610dc39061359c565b6040516bffffffffffffffffffffffff193360601b166020820152657075626c696360d01b6034820152610e8890603a015b60408051601f198184030181526020601f860181900481028401810190925284835291908590859081908401838280828437600092019190915250610fcc92505050565b610ec55760405162461bcd60e51b815260206004820152600e60248201526d57726f6e67206d696e745061737360901b6044820152606401610dc3565b610ece836124c1565b505050565b6001600160a01b0381166000908152600c6020526040902054610f085760405162461bcd60e51b8152600401610dc3906135d3565b6000610f1382611a95565b905080600003610f355760405162461bcd60e51b8152600401610dc390613619565b6001600160a01b0382166000908152600d602052604081208054839290610f5d908490613589565b9250508190555080600b6000828254610f769190613589565b90915550610f86905082826125f2565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b60008083604051602001610fe09190613664565b60405160208183030381529060405280519060200120905060008160405160200161103791907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60408051601f1981840301815291905280516020909101206009549091506001600160a01b0316611068828661270b565b6001600160a01b03161495945050505050565b60006110868261278a565b9050836001600160a01b0316816001600160a01b0316146110b95760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611106576110e98633610ab4565b61110657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661112d57604051633a954ecd60e21b815260040160405180910390fd5b801561113857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036111ca576001840160008181526004602052604081205490036111c85760005481146111c85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60008281526012602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916112895750604080518082019091526011546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906112a8906001600160601b031687613680565b6112b291906136b5565b915196919550909350505050565b6112c8612270565b60135463ffffffff600160201b909104811690821611156113515760405162461bcd60e51b815260206004820152603b60248201527f5468652072657175657374656420616d6f756e7420697320677265617465722060448201527f7468616e207468652072656d61696e696e6720726573657276657300000000006064820152608401610dc3565b611361828263ffffffff166127f9565b6013805463ffffffff600160201b8083048216949094031690920267ffffffff000000001990921691909117905550565b610ece83838360405180602001604052806000815250611bf8565b6001600160a01b0381166000908152600c60205260409020546113e25760405162461bcd60e51b8152600401610dc3906135d3565b60006113ee8383611cca565b9050806000036114105760405162461bcd60e51b8152600401610dc390613619565b6001600160a01b03808416600090815260106020908152604080832093861683529290529081208054839290611447908490613589565b90915550506001600160a01b0383166000908152600f602052604081208054839290611474908490613589565b9091555061148590508383836128f7565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6114d8612270565b6014610bc9828261370f565b6060816000816001600160401b03811115611501576115016130d2565b60405190808252806020026020018201604052801561155357816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161151f5790505b50905060005b8281146115a657611581868683818110611575576115756137ce565b90506020020135611c42565b828281518110611593576115936137ce565b6020908102919091010152600101611559565b50949350505050565b6000610bb18261278a565b601354600160801b900460ff166116035760405162461bcd60e51b815260206004820152600d60248201526c50726573616c65206f7665722160981b6044820152606401610dc3565b6040516bffffffffffffffffffffffff193360601b1660208201526670726573616c6560c81b603482015261163a90603b01610e44565b61167f5760405162461bcd60e51b815260206004820152601660248201527515d85b1b195d081b9bdd081dda1a5d195b1a5cdd195960521b6044820152606401610dc3565b60135463ffffffff600160401b909104811690841661169d33612499565b6116a79190613589565b1115610ec55760405162461bcd60e51b8152600401610dc39061359c565b60006001600160a01b0382166116ee576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61171b612270565b6117256000612949565b565b60606000806000611737856116c5565b90506000816001600160401b03811115611753576117536130d2565b60405190808252806020026020018201604052801561177c578160200160208202803683370190505b5090506117a960408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614611823576117bc8161299b565b9150816040015161181b5781516001600160a01b0316156117dc57815194505b876001600160a01b0316856001600160a01b03160361181b578083878060010198508151811061180e5761180e6137ce565b6020026020010181815250505b6001016117ac565b50909695505050505050565b6000610bb182612499565b6000600e828154811061184f5761184f6137ce565b6000918252602090912001546001600160a01b031692915050565b606060038054610bf090613539565b606081831061189b57604051631960ccad60e11b815260040160405180910390fd5b6000806118a760005490565b905060018510156118b757600194505b808411156118c3578093505b60006118ce876116c5565b9050848610156118ed57858503818110156118e7578091505b506118f1565b5060005b6000816001600160401b0381111561190b5761190b6130d2565b604051908082528060200260200182016040528015611934578160200160208202803683370190505b5090508160000361194a5793506119f992505050565b600061195588611c42565b905060008160400151611966575080515b885b8881141580156119785750848714155b156119ed576119868161299b565b925082604001516119e55782516001600160a01b0316156119a657825191505b8a6001600160a01b0316826001600160a01b0316036119e557808488806001019950815181106119d8576119d86137ce565b6020026020010181815250505b600101611968565b50505092835250909150505b9392505050565b336001600160a01b03831603611a295760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080611aa1600b5490565b611aab9047613589565b90506119f98382611ad1866001600160a01b03166000908152600d602052604090205490565b6129d7565b611ade612270565b601354600160801b900460ff16611b2f5760405162461bcd60e51b8152602060048201526015602482015274141c995cd85b1948185b1c9958591e48195b991959605a1b6044820152606401610dc3565b6013805460ff60801b19169055565b611b46612270565b6013805460ff60881b198116600160881b9182900460ff1615909102179055565b611b6f612270565b60135463ffffffff600160201b909104811690821610611bd15760405162461bcd60e51b815260206004820152601d60248201527f526573657665732063616e206f6e6c79206265206465637265617365640000006044820152606401610dc3565b6013805463ffffffff909216600160201b0267ffffffff0000000019909216919091179055565b611c0384848461107b565b6001600160a01b0383163b15611c3c57611c1f84848484612a15565b611c3c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611c9b57506000548310155b15611ca65792915050565b611caf8361299b565b9050806040015115611cc15792915050565b6119f983612b00565b6001600160a01b0382166000908152600f602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4d91906137e4565b611d579190613589565b6001600160a01b03808616600090815260106020908152604080832093881683529290522054909150611d8d90849083906129d7565b949350505050565b6060611da082612464565b611e045760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610dc3565b6000611e0e612b35565b90506000815111611e2e57604051806020016040528060008152506119f9565b80611e3884612b44565b604051602001611e499291906137fd565b6040516020818303038152906040529392505050565b611e67612270565b60135463ffffffff90811690831610611ece5760405162461bcd60e51b8152602060048201526024808201527f4d6178696d756d20737570706c792063616e206f6e6c79206265206465637265604482015263185cd95960e21b6064820152608401610dc3565b60135463ffffffff600160201b90910481169082161115611f315760405162461bcd60e51b815260206004820152601b60248201527f526573657665732063616e6e6f7420626520696e6372656173656400000000006044820152606401610dc3565b6001546000540360001901611f4c9063ffffffff8316613589565b8263ffffffff161015611fd15760405162461bcd60e51b815260206004820152604160248201527f4d6178696d756d20737570706c792063616e6e6f74206265206c6f776572207460448201527f68616e207468652063757272656e7420737570706c79202b20726573657276656064820152607360f81b608482015260a401610dc3565b6013805463ffffffff928316600160201b0267ffffffffffffffff199091169290931691909117919091179055565b612008612270565b6013805463ffffffff909216600160401b026bffffffff000000000000000019909216919091179055565b61203b612270565b6013805463ffffffff909216600160601b0263ffffffff60601b19909216919091179055565b601354600160801b900460ff16156120a85760405162461bcd60e51b815260206004820152600a602482015269283932b9b0b6329037b760b11b6044820152606401610dc3565b601354600160901b900460ff16156121285760405162461bcd60e51b815260206004820152603860248201527f446972656374206d696e74696e67206973206e6f7420616c6c6f77656420776860448201527f696c6520676174656b656570657220697320656e61626c6500000000000000006064820152608401610dc3565b60135463ffffffff600160601b909104811690821661214633612499565b6121509190613589565b111561216e5760405162461bcd60e51b8152600401610dc39061359c565b610bde816124c1565b61217f612270565b6001600160a01b0381166121e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610dc3565b610bde81612949565b60006301ffc9a760e01b6001600160e01b03198316148061221e57506380ac58cd60e01b6001600160e01b03198316145b80610bb15750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b1480610bb157506301ffc9a760e01b6001600160e01b0319831614610bb1565b6008546001600160a01b031633146117255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc3565b6127106001600160601b03821611156123385760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610dc3565b6001600160a01b03821661238e5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610dc3565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601155565b6009546001600160a01b03908116908216036124425760405162461bcd60e51b815260206004820152603460248201527f4e6577205369676e657220416464726573732063616e6e6f74206265207468656044820152732073616d652061732063757272656e74206f6e6560601b6064820152608401610dc3565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600081600111158015612478575060005482105b8015610bb1575050600090815260046020526040902054600160e01b161590565b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b601354600160881b900460ff161561250d5760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd081c185d5cd959608a1b6044820152606401610dc3565b32331461254e5760405162461bcd60e51b815260206004820152600f60248201526e21b0b63632b9103737ba103ab9b2b960891b6044820152606401610dc3565b60135461256a9063ffffffff600160201b82048116911661383c565b63ffffffff168163ffffffff1661258a6001546000546000199190030190565b6125949190613589565b11156125e25760405162461bcd60e51b815260206004820152601b60248201527f52657175657374207375706572696f72206d617820537570706c7900000000006044820152606401610dc3565b610bde338263ffffffff166127f9565b804710156126425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610dc3565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461268f576040519150601f19603f3d011682016040523d82523d6000602084013e612694565b606091505b5050905080610ece5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610dc3565b60008060008061271a85612c44565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015612775573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b600081806001116127e0576000548110156127e05760008181526004602052604081205490600160e01b821690036127de575b806000036119f95750600019016000818152600460205260409020546127bd565b505b604051636f96cda160e11b815260040160405180910390fd5b600080549082900361281e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146128cd57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612895565b50816000036128ee57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ece908490612cb8565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610bb190612d8a565b600a546001600160a01b0384166000908152600c602052604081205490918391612a019086613680565b612a0b91906136b5565b611d8d9190613860565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612a4a903390899088908890600401613873565b6020604051808303816000875af1925050508015612a85575060408051601f3d908101601f19168201909252612a82918101906138b0565b60015b612ae3573d808015612ab3576040519150601f19603f3d011682016040523d82523d6000602084013e612ab8565b606091505b508051600003612adb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610bb1612b308361278a565b612d8a565b606060148054610bf090613539565b606081600003612b6b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b955780612b7f816138cd565b9150612b8e9050600a836136b5565b9150612b6f565b6000816001600160401b03811115612baf57612baf6130d2565b6040519080825280601f01601f191660200182016040528015612bd9576020820181803683370190505b5090505b8415611d8d57612bee600183613860565b9150612bfb600a866138e6565b612c06906030613589565b60f81b818381518110612c1b57612c1b6137ce565b60200101906001600160f81b031916908160001a905350612c3d600a866136b5565b9450612bdd565b60008060008351604114612c9a5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610dc3565b50505060208101516040820151606090920151909260009190911a90565b6000612d0d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612dd19092919063ffffffff16565b805190915015610ece5780806020019051810190612d2b91906138fa565b610ece5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610dc3565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060611d8d8484600085856001600160a01b0385163b612e335760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610dc3565b600080866001600160a01b03168587604051612e4f9190613664565b60006040518083038185875af1925050503d8060008114612e8c576040519150601f19603f3d011682016040523d82523d6000602084013e612e91565b606091505b5091509150612ea1828286612eac565b979650505050505050565b60608315612ebb5750816119f9565b825115612ecb5782518084602001fd5b8160405162461bcd60e51b8152600401610dc39190612fdf565b6001600160e01b031981168114610bde57600080fd5b600060208284031215612f0d57600080fd5b81356119f981612ee5565b6001600160a01b0381168114610bde57600080fd5b60008060408385031215612f4057600080fd5b8235612f4b81612f18565b915060208301356001600160601b0381168114612f6757600080fd5b809150509250929050565b600060208284031215612f8457600080fd5b81356119f981612f18565b60005b83811015612faa578181015183820152602001612f92565b50506000910152565b60008151808452612fcb816020860160208601612f8f565b601f01601f19169290920160200192915050565b6020815260006119f96020830184612fb3565b60006020828403121561300457600080fd5b5035919050565b6000806040838503121561301e57600080fd5b823561302981612f18565b946020939093013593505050565b803563ffffffff8116811461304b57600080fd5b919050565b60008060006040848603121561306557600080fd5b61306e84613037565b925060208401356001600160401b038082111561308a57600080fd5b818601915086601f83011261309e57600080fd5b8135818111156130ad57600080fd5b8760208285010111156130bf57600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115613102576131026130d2565b604051601f8501601f19908116603f0116810190828211818310171561312a5761312a6130d2565b8160405280935085815286868601111561314357600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261316e57600080fd5b6119f9838335602085016130e8565b6000806040838503121561319057600080fd5b82356001600160401b03808211156131a757600080fd5b6131b38683870161315d565b935060208501359150808211156131c957600080fd5b506131d68582860161315d565b9150509250929050565b6000806000606084860312156131f557600080fd5b833561320081612f18565b9250602084013561321081612f18565b929592945050506040919091013590565b6000806040838503121561323457600080fd5b50508035926020909101359150565b6000806040838503121561325657600080fd5b823561326181612f18565b915061326f60208401613037565b90509250929050565b6000806040838503121561328b57600080fd5b823561329681612f18565b91506020830135612f6781612f18565b6000602082840312156132b857600080fd5b81356001600160401b038111156132ce57600080fd5b8201601f810184136132df57600080fd5b611d8d848235602084016130e8565b6000806020838503121561330157600080fd5b82356001600160401b038082111561331857600080fd5b818501915085601f83011261332c57600080fd5b81358181111561333b57600080fd5b8660208260051b850101111561335057600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611823576133cd838551613362565b92840192608092909201916001016133ba565b6020808252825182820181905260009190848201906040850190845b81811015611823578351835292840192918401916001016133fc565b60008060006060848603121561342d57600080fd5b833561343881612f18565b95602085013595506040909401359392505050565b8015158114610bde57600080fd5b6000806040838503121561346e57600080fd5b823561347981612f18565b91506020830135612f678161344d565b60006020828403121561349b57600080fd5b6119f982613037565b600080600080608085870312156134ba57600080fd5b84356134c581612f18565b935060208501356134d581612f18565b92506040850135915060608501356001600160401b038111156134f757600080fd5b6135038782880161315d565b91505092959194509250565b60808101610bb18284613362565b6000806040838503121561353057600080fd5b61326183613037565b600181811c9082168061354d57607f821691505b60208210810361356d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610bb157610bb1613573565b6020808252601d908201527f6d6178204e465473207065722061646472657373206578636565646564000000604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60008251613676818460208701612f8f565b9190910192915050565b600081600019048311821515161561369a5761369a613573565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826136c4576136c461369f565b500490565b601f821115610ece57600081815260208120601f850160051c810160208610156136f05750805b601f850160051c820191505b8181101561120c578281556001016136fc565b81516001600160401b03811115613728576137286130d2565b61373c816137368454613539565b846136c9565b602080601f83116001811461377157600084156137595750858301515b600019600386901b1c1916600185901b17855561120c565b600085815260208120601f198616915b828110156137a057888601518255948401946001909101908401613781565b50858210156137be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156137f657600080fd5b5051919050565b6000835161380f818460208801612f8f565b835190830190613823818360208801612f8f565b64173539b7b760d91b9101908152600501949350505050565b63ffffffff82811682821603908082111561385957613859613573565b5092915050565b81810381811115610bb157610bb1613573565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906138a690830184612fb3565b9695505050505050565b6000602082840312156138c257600080fd5b81516119f981612ee5565b6000600182016138df576138df613573565b5060010190565b6000826138f5576138f561369f565b500690565b60006020828403121561390c57600080fd5b81516119f98161344d56fea264697066735822122039b606f931c8a5e367823b0577d08f39dd9635f775c4d4b0812e7705e05c06c464736f6c63430008100033697066733a2f2f626166796265696432366d68777179666e75656b643466613468796735666462776e376e6a6a787166676f73646b6a6d7065726c7a6f6468686c612f
Deployed Bytecode
0x60806040526004361061037a5760003560e01c80638a59a7fd116101d1578063c87b56dd11610102578063e6798baa116100a0578063f151d7911161006f578063f151d79114610b22578063f2fde38b14610b35578063f3d474cb14610b55578063fdea8e0b14610b7657600080fd5b8063e6798baa14610a84578063e985e9c514610a99578063eaec253214610ae2578063ef3468b914610b0257600080fd5b8063d5abeb01116100dc578063d5abeb01146109fc578063d6bf8eeb14610a19578063d79779b214610a39578063e33b7de314610a6f57600080fd5b8063c87b56dd14610982578063cabadaa0146109a2578063ce7c2ac2146109c657600080fd5b8063a3f8eace1161016f578063aec4167411610149578063aec41674146108f5578063b88d4fde14610915578063c23dc68f14610935578063c45ac0501461096257600080fd5b8063a3f8eace146108ab578063a43be57b146108cb578063aa8a31fb146108e057600080fd5b806395d89b41116101ab57806395d89b41146108205780639852595c1461083557806399a2557a1461086b578063a22cb4651461088b57600080fd5b80638a59a7fd146107c25780638b83209b146107e25780638da5cb5b1461080257600080fd5b80632df2726f116102ab5780635c975abb11610249578063651b181711610223578063651b18171461074d57806370a0823114610760578063715018a6146107805780638462151c1461079557600080fd5b80635c975abb146106e857806361d6a4ce146107095780636352211e1461072d57600080fd5b806342842e0e1161028557806342842e0e1461065b57806348b750441461067b57806355f804b31461069b5780635bbb2177146106bb57600080fd5b80632df2726f146105e05780633a98ef3914610600578063406072a91461061557600080fd5b80630d1b64e31161031857806319165587116102f2578063191655871461054157806320c13b0b1461056157806323b872dd146105815780632a55205a146105a157600080fd5b80630d1b64e3146104ce5780631091d62c146104e157806318160ddd1461051a57600080fd5b806306fdde031161035457806306fdde031461043f57806307c55ec214610461578063081812fc14610476578063095ea7b3146104ae57600080fd5b806301ffc9a7146103c857806304634d8d146103fd578063046dc1661461041f57600080fd5b366103c3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103d457600080fd5b506103e86103e3366004612efb565b610b97565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b5061041d610418366004612f2d565b610bb7565b005b34801561042b57600080fd5b5061041d61043a366004612f72565b610bcd565b34801561044b57600080fd5b50610454610be1565b6040516103f49190612fdf565b34801561046d57600080fd5b5061041d610c73565b34801561048257600080fd5b50610496610491366004612ff2565b610c9c565b6040516001600160a01b0390911681526020016103f4565b3480156104ba57600080fd5b5061041d6104c936600461300b565b610ce0565b61041d6104dc366004613050565b610d80565b3480156104ed57600080fd5b5060135461050590600160401b900463ffffffff1681565b60405163ffffffff90911681526020016103f4565b34801561052657600080fd5b5060015460005403600019015b6040519081526020016103f4565b34801561054d57600080fd5b5061041d61055c366004612f72565b610ed3565b34801561056d57600080fd5b506103e861057c36600461317d565b610fcc565b34801561058d57600080fd5b5061041d61059c3660046131e0565b61107b565b3480156105ad57600080fd5b506105c16105bc366004613221565b611214565b604080516001600160a01b0390931683526020830191909152016103f4565b3480156105ec57600080fd5b5061041d6105fb366004613243565b6112c0565b34801561060c57600080fd5b50600a54610533565b34801561062157600080fd5b50610533610630366004613278565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b34801561066757600080fd5b5061041d6106763660046131e0565b611392565b34801561068757600080fd5b5061041d610696366004613278565b6113ad565b3480156106a757600080fd5b5061041d6106b63660046132a6565b6114d0565b3480156106c757600080fd5b506106db6106d63660046132ee565b6114e4565b6040516103f4919061339e565b3480156106f457600080fd5b506013546103e890600160881b900460ff1681565b34801561071557600080fd5b5060135461050590600160201b900463ffffffff1681565b34801561073957600080fd5b50610496610748366004612ff2565b6115af565b61041d61075b366004613050565b6115ba565b34801561076c57600080fd5b5061053361077b366004612f72565b6116c5565b34801561078c57600080fd5b5061041d611713565b3480156107a157600080fd5b506107b56107b0366004612f72565b611727565b6040516103f491906133e0565b3480156107ce57600080fd5b506105336107dd366004612f72565b61182f565b3480156107ee57600080fd5b506104966107fd366004612ff2565b61183a565b34801561080e57600080fd5b506008546001600160a01b0316610496565b34801561082c57600080fd5b5061045461186a565b34801561084157600080fd5b50610533610850366004612f72565b6001600160a01b03166000908152600d602052604090205490565b34801561087757600080fd5b506107b5610886366004613418565b611879565b34801561089757600080fd5b5061041d6108a636600461345b565b611a00565b3480156108b757600080fd5b506105336108c6366004612f72565b611a95565b3480156108d757600080fd5b5061041d611ad6565b3480156108ec57600080fd5b5061041d611b3e565b34801561090157600080fd5b5061041d610910366004613489565b611b67565b34801561092157600080fd5b5061041d6109303660046134a4565b611bf8565b34801561094157600080fd5b50610955610950366004612ff2565b611c42565b6040516103f4919061350f565b34801561096e57600080fd5b5061053361097d366004613278565b611cca565b34801561098e57600080fd5b5061045461099d366004612ff2565b611d95565b3480156109ae57600080fd5b5060135461050590600160601b900463ffffffff1681565b3480156109d257600080fd5b506105336109e1366004612f72565b6001600160a01b03166000908152600c602052604090205490565b348015610a0857600080fd5b506013546105059063ffffffff1681565b348015610a2557600080fd5b5061041d610a3436600461351d565b611e5f565b348015610a4557600080fd5b50610533610a54366004612f72565b6001600160a01b03166000908152600f602052604090205490565b348015610a7b57600080fd5b50600b54610533565b348015610a9057600080fd5b50610533600181565b348015610aa557600080fd5b506103e8610ab4366004613278565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610aee57600080fd5b5061041d610afd366004613489565b612000565b348015610b0e57600080fd5b5061041d610b1d366004613489565b612033565b61041d610b30366004613489565b612061565b348015610b4157600080fd5b5061041d610b50366004612f72565b612177565b348015610b6157600080fd5b506013546103e890600160901b900460ff1681565b348015610b8257600080fd5b506013546103e890600160801b900460ff1681565b6000610ba2826121ed565b80610bb15750610bb18261223b565b92915050565b610bbf612270565b610bc982826122ca565b5050565b610bd5612270565b610bde816123c7565b50565b606060028054610bf090613539565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1c90613539565b8015610c695780601f10610c3e57610100808354040283529160200191610c69565b820191906000526020600020905b815481529060010190602001808311610c4c57829003601f168201915b5050505050905090565b610c7b612270565b6013805460ff60901b198116600160901b9182900460ff1615909102179055565b6000610ca782612464565b610cc4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610ceb826115af565b9050336001600160a01b03821614610d2457610d078133610ab4565b610d24576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b601354600160801b900460ff1615610dcc5760405162461bcd60e51b815260206004820152600a602482015269283932b9b0b6329037b760b11b60448201526064015b60405180910390fd5b60135463ffffffff600160601b9091048116908416610dea33612499565b610df49190613589565b1115610e125760405162461bcd60e51b8152600401610dc39061359c565b6040516bffffffffffffffffffffffff193360601b166020820152657075626c696360d01b6034820152610e8890603a015b60408051601f198184030181526020601f860181900481028401810190925284835291908590859081908401838280828437600092019190915250610fcc92505050565b610ec55760405162461bcd60e51b815260206004820152600e60248201526d57726f6e67206d696e745061737360901b6044820152606401610dc3565b610ece836124c1565b505050565b6001600160a01b0381166000908152600c6020526040902054610f085760405162461bcd60e51b8152600401610dc3906135d3565b6000610f1382611a95565b905080600003610f355760405162461bcd60e51b8152600401610dc390613619565b6001600160a01b0382166000908152600d602052604081208054839290610f5d908490613589565b9250508190555080600b6000828254610f769190613589565b90915550610f86905082826125f2565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b60008083604051602001610fe09190613664565b60405160208183030381529060405280519060200120905060008160405160200161103791907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60408051601f1981840301815291905280516020909101206009549091506001600160a01b0316611068828661270b565b6001600160a01b03161495945050505050565b60006110868261278a565b9050836001600160a01b0316816001600160a01b0316146110b95760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611106576110e98633610ab4565b61110657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661112d57604051633a954ecd60e21b815260040160405180910390fd5b801561113857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036111ca576001840160008181526004602052604081205490036111c85760005481146111c85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60008281526012602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916112895750604080518082019091526011546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906112a8906001600160601b031687613680565b6112b291906136b5565b915196919550909350505050565b6112c8612270565b60135463ffffffff600160201b909104811690821611156113515760405162461bcd60e51b815260206004820152603b60248201527f5468652072657175657374656420616d6f756e7420697320677265617465722060448201527f7468616e207468652072656d61696e696e6720726573657276657300000000006064820152608401610dc3565b611361828263ffffffff166127f9565b6013805463ffffffff600160201b8083048216949094031690920267ffffffff000000001990921691909117905550565b610ece83838360405180602001604052806000815250611bf8565b6001600160a01b0381166000908152600c60205260409020546113e25760405162461bcd60e51b8152600401610dc3906135d3565b60006113ee8383611cca565b9050806000036114105760405162461bcd60e51b8152600401610dc390613619565b6001600160a01b03808416600090815260106020908152604080832093861683529290529081208054839290611447908490613589565b90915550506001600160a01b0383166000908152600f602052604081208054839290611474908490613589565b9091555061148590508383836128f7565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6114d8612270565b6014610bc9828261370f565b6060816000816001600160401b03811115611501576115016130d2565b60405190808252806020026020018201604052801561155357816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161151f5790505b50905060005b8281146115a657611581868683818110611575576115756137ce565b90506020020135611c42565b828281518110611593576115936137ce565b6020908102919091010152600101611559565b50949350505050565b6000610bb18261278a565b601354600160801b900460ff166116035760405162461bcd60e51b815260206004820152600d60248201526c50726573616c65206f7665722160981b6044820152606401610dc3565b6040516bffffffffffffffffffffffff193360601b1660208201526670726573616c6560c81b603482015261163a90603b01610e44565b61167f5760405162461bcd60e51b815260206004820152601660248201527515d85b1b195d081b9bdd081dda1a5d195b1a5cdd195960521b6044820152606401610dc3565b60135463ffffffff600160401b909104811690841661169d33612499565b6116a79190613589565b1115610ec55760405162461bcd60e51b8152600401610dc39061359c565b60006001600160a01b0382166116ee576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61171b612270565b6117256000612949565b565b60606000806000611737856116c5565b90506000816001600160401b03811115611753576117536130d2565b60405190808252806020026020018201604052801561177c578160200160208202803683370190505b5090506117a960408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614611823576117bc8161299b565b9150816040015161181b5781516001600160a01b0316156117dc57815194505b876001600160a01b0316856001600160a01b03160361181b578083878060010198508151811061180e5761180e6137ce565b6020026020010181815250505b6001016117ac565b50909695505050505050565b6000610bb182612499565b6000600e828154811061184f5761184f6137ce565b6000918252602090912001546001600160a01b031692915050565b606060038054610bf090613539565b606081831061189b57604051631960ccad60e11b815260040160405180910390fd5b6000806118a760005490565b905060018510156118b757600194505b808411156118c3578093505b60006118ce876116c5565b9050848610156118ed57858503818110156118e7578091505b506118f1565b5060005b6000816001600160401b0381111561190b5761190b6130d2565b604051908082528060200260200182016040528015611934578160200160208202803683370190505b5090508160000361194a5793506119f992505050565b600061195588611c42565b905060008160400151611966575080515b885b8881141580156119785750848714155b156119ed576119868161299b565b925082604001516119e55782516001600160a01b0316156119a657825191505b8a6001600160a01b0316826001600160a01b0316036119e557808488806001019950815181106119d8576119d86137ce565b6020026020010181815250505b600101611968565b50505092835250909150505b9392505050565b336001600160a01b03831603611a295760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080611aa1600b5490565b611aab9047613589565b90506119f98382611ad1866001600160a01b03166000908152600d602052604090205490565b6129d7565b611ade612270565b601354600160801b900460ff16611b2f5760405162461bcd60e51b8152602060048201526015602482015274141c995cd85b1948185b1c9958591e48195b991959605a1b6044820152606401610dc3565b6013805460ff60801b19169055565b611b46612270565b6013805460ff60881b198116600160881b9182900460ff1615909102179055565b611b6f612270565b60135463ffffffff600160201b909104811690821610611bd15760405162461bcd60e51b815260206004820152601d60248201527f526573657665732063616e206f6e6c79206265206465637265617365640000006044820152606401610dc3565b6013805463ffffffff909216600160201b0267ffffffff0000000019909216919091179055565b611c0384848461107b565b6001600160a01b0383163b15611c3c57611c1f84848484612a15565b611c3c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611c9b57506000548310155b15611ca65792915050565b611caf8361299b565b9050806040015115611cc15792915050565b6119f983612b00565b6001600160a01b0382166000908152600f602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4d91906137e4565b611d579190613589565b6001600160a01b03808616600090815260106020908152604080832093881683529290522054909150611d8d90849083906129d7565b949350505050565b6060611da082612464565b611e045760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610dc3565b6000611e0e612b35565b90506000815111611e2e57604051806020016040528060008152506119f9565b80611e3884612b44565b604051602001611e499291906137fd565b6040516020818303038152906040529392505050565b611e67612270565b60135463ffffffff90811690831610611ece5760405162461bcd60e51b8152602060048201526024808201527f4d6178696d756d20737570706c792063616e206f6e6c79206265206465637265604482015263185cd95960e21b6064820152608401610dc3565b60135463ffffffff600160201b90910481169082161115611f315760405162461bcd60e51b815260206004820152601b60248201527f526573657665732063616e6e6f7420626520696e6372656173656400000000006044820152606401610dc3565b6001546000540360001901611f4c9063ffffffff8316613589565b8263ffffffff161015611fd15760405162461bcd60e51b815260206004820152604160248201527f4d6178696d756d20737570706c792063616e6e6f74206265206c6f776572207460448201527f68616e207468652063757272656e7420737570706c79202b20726573657276656064820152607360f81b608482015260a401610dc3565b6013805463ffffffff928316600160201b0267ffffffffffffffff199091169290931691909117919091179055565b612008612270565b6013805463ffffffff909216600160401b026bffffffff000000000000000019909216919091179055565b61203b612270565b6013805463ffffffff909216600160601b0263ffffffff60601b19909216919091179055565b601354600160801b900460ff16156120a85760405162461bcd60e51b815260206004820152600a602482015269283932b9b0b6329037b760b11b6044820152606401610dc3565b601354600160901b900460ff16156121285760405162461bcd60e51b815260206004820152603860248201527f446972656374206d696e74696e67206973206e6f7420616c6c6f77656420776860448201527f696c6520676174656b656570657220697320656e61626c6500000000000000006064820152608401610dc3565b60135463ffffffff600160601b909104811690821661214633612499565b6121509190613589565b111561216e5760405162461bcd60e51b8152600401610dc39061359c565b610bde816124c1565b61217f612270565b6001600160a01b0381166121e45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610dc3565b610bde81612949565b60006301ffc9a760e01b6001600160e01b03198316148061221e57506380ac58cd60e01b6001600160e01b03198316145b80610bb15750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b1480610bb157506301ffc9a760e01b6001600160e01b0319831614610bb1565b6008546001600160a01b031633146117255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc3565b6127106001600160601b03821611156123385760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610dc3565b6001600160a01b03821661238e5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610dc3565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601155565b6009546001600160a01b03908116908216036124425760405162461bcd60e51b815260206004820152603460248201527f4e6577205369676e657220416464726573732063616e6e6f74206265207468656044820152732073616d652061732063757272656e74206f6e6560601b6064820152608401610dc3565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600081600111158015612478575060005482105b8015610bb1575050600090815260046020526040902054600160e01b161590565b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b601354600160881b900460ff161561250d5760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd081c185d5cd959608a1b6044820152606401610dc3565b32331461254e5760405162461bcd60e51b815260206004820152600f60248201526e21b0b63632b9103737ba103ab9b2b960891b6044820152606401610dc3565b60135461256a9063ffffffff600160201b82048116911661383c565b63ffffffff168163ffffffff1661258a6001546000546000199190030190565b6125949190613589565b11156125e25760405162461bcd60e51b815260206004820152601b60248201527f52657175657374207375706572696f72206d617820537570706c7900000000006044820152606401610dc3565b610bde338263ffffffff166127f9565b804710156126425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610dc3565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461268f576040519150601f19603f3d011682016040523d82523d6000602084013e612694565b606091505b5050905080610ece5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610dc3565b60008060008061271a85612c44565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015612775573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b600081806001116127e0576000548110156127e05760008181526004602052604081205490600160e01b821690036127de575b806000036119f95750600019016000818152600460205260409020546127bd565b505b604051636f96cda160e11b815260040160405180910390fd5b600080549082900361281e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146128cd57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612895565b50816000036128ee57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ece908490612cb8565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610bb190612d8a565b600a546001600160a01b0384166000908152600c602052604081205490918391612a019086613680565b612a0b91906136b5565b611d8d9190613860565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612a4a903390899088908890600401613873565b6020604051808303816000875af1925050508015612a85575060408051601f3d908101601f19168201909252612a82918101906138b0565b60015b612ae3573d808015612ab3576040519150601f19603f3d011682016040523d82523d6000602084013e612ab8565b606091505b508051600003612adb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610bb1612b308361278a565b612d8a565b606060148054610bf090613539565b606081600003612b6b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b955780612b7f816138cd565b9150612b8e9050600a836136b5565b9150612b6f565b6000816001600160401b03811115612baf57612baf6130d2565b6040519080825280601f01601f191660200182016040528015612bd9576020820181803683370190505b5090505b8415611d8d57612bee600183613860565b9150612bfb600a866138e6565b612c06906030613589565b60f81b818381518110612c1b57612c1b6137ce565b60200101906001600160f81b031916908160001a905350612c3d600a866136b5565b9450612bdd565b60008060008351604114612c9a5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610dc3565b50505060208101516040820151606090920151909260009190911a90565b6000612d0d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612dd19092919063ffffffff16565b805190915015610ece5780806020019051810190612d2b91906138fa565b610ece5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610dc3565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060611d8d8484600085856001600160a01b0385163b612e335760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610dc3565b600080866001600160a01b03168587604051612e4f9190613664565b60006040518083038185875af1925050503d8060008114612e8c576040519150601f19603f3d011682016040523d82523d6000602084013e612e91565b606091505b5091509150612ea1828286612eac565b979650505050505050565b60608315612ebb5750816119f9565b825115612ecb5782518084602001fd5b8160405162461bcd60e51b8152600401610dc39190612fdf565b6001600160e01b031981168114610bde57600080fd5b600060208284031215612f0d57600080fd5b81356119f981612ee5565b6001600160a01b0381168114610bde57600080fd5b60008060408385031215612f4057600080fd5b8235612f4b81612f18565b915060208301356001600160601b0381168114612f6757600080fd5b809150509250929050565b600060208284031215612f8457600080fd5b81356119f981612f18565b60005b83811015612faa578181015183820152602001612f92565b50506000910152565b60008151808452612fcb816020860160208601612f8f565b601f01601f19169290920160200192915050565b6020815260006119f96020830184612fb3565b60006020828403121561300457600080fd5b5035919050565b6000806040838503121561301e57600080fd5b823561302981612f18565b946020939093013593505050565b803563ffffffff8116811461304b57600080fd5b919050565b60008060006040848603121561306557600080fd5b61306e84613037565b925060208401356001600160401b038082111561308a57600080fd5b818601915086601f83011261309e57600080fd5b8135818111156130ad57600080fd5b8760208285010111156130bf57600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115613102576131026130d2565b604051601f8501601f19908116603f0116810190828211818310171561312a5761312a6130d2565b8160405280935085815286868601111561314357600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261316e57600080fd5b6119f9838335602085016130e8565b6000806040838503121561319057600080fd5b82356001600160401b03808211156131a757600080fd5b6131b38683870161315d565b935060208501359150808211156131c957600080fd5b506131d68582860161315d565b9150509250929050565b6000806000606084860312156131f557600080fd5b833561320081612f18565b9250602084013561321081612f18565b929592945050506040919091013590565b6000806040838503121561323457600080fd5b50508035926020909101359150565b6000806040838503121561325657600080fd5b823561326181612f18565b915061326f60208401613037565b90509250929050565b6000806040838503121561328b57600080fd5b823561329681612f18565b91506020830135612f6781612f18565b6000602082840312156132b857600080fd5b81356001600160401b038111156132ce57600080fd5b8201601f810184136132df57600080fd5b611d8d848235602084016130e8565b6000806020838503121561330157600080fd5b82356001600160401b038082111561331857600080fd5b818501915085601f83011261332c57600080fd5b81358181111561333b57600080fd5b8660208260051b850101111561335057600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611823576133cd838551613362565b92840192608092909201916001016133ba565b6020808252825182820181905260009190848201906040850190845b81811015611823578351835292840192918401916001016133fc565b60008060006060848603121561342d57600080fd5b833561343881612f18565b95602085013595506040909401359392505050565b8015158114610bde57600080fd5b6000806040838503121561346e57600080fd5b823561347981612f18565b91506020830135612f678161344d565b60006020828403121561349b57600080fd5b6119f982613037565b600080600080608085870312156134ba57600080fd5b84356134c581612f18565b935060208501356134d581612f18565b92506040850135915060608501356001600160401b038111156134f757600080fd5b6135038782880161315d565b91505092959194509250565b60808101610bb18284613362565b6000806040838503121561353057600080fd5b61326183613037565b600181811c9082168061354d57607f821691505b60208210810361356d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610bb157610bb1613573565b6020808252601d908201527f6d6178204e465473207065722061646472657373206578636565646564000000604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60008251613676818460208701612f8f565b9190910192915050565b600081600019048311821515161561369a5761369a613573565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826136c4576136c461369f565b500490565b601f821115610ece57600081815260208120601f850160051c810160208610156136f05750805b601f850160051c820191505b8181101561120c578281556001016136fc565b81516001600160401b03811115613728576137286130d2565b61373c816137368454613539565b846136c9565b602080601f83116001811461377157600084156137595750858301515b600019600386901b1c1916600185901b17855561120c565b600085815260208120601f198616915b828110156137a057888601518255948401946001909101908401613781565b50858210156137be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156137f657600080fd5b5051919050565b6000835161380f818460208801612f8f565b835190830190613823818360208801612f8f565b64173539b7b760d91b9101908152600501949350505050565b63ffffffff82811682821603908082111561385957613859613573565b5092915050565b81810381811115610bb157610bb1613573565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906138a690830184612fb3565b9695505050505050565b6000602082840312156138c257600080fd5b81516119f981612ee5565b6000600182016138df576138df613573565b5060010190565b6000826138f5576138f561369f565b500690565b60006020828403121561390c57600080fd5b81516119f98161344d56fea264697066735822122039b606f931c8a5e367823b0577d08f39dd9635f775c4d4b0812e7705e05c06c464736f6c63430008100033
Deployed Bytecode Sourcemap
101185:10424:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32053:40;28554:10;32053:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;32083:9:0;270:2:1;255:18;;248:34;161:18;32053:40:0;;;;;;;101185:10424;;;;;105998:465;;;;;;;;;;-1:-1:-1;105998:465:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;105998:465:0;;;;;;;;106471:150;;;;;;;;;;-1:-1:-1;106471:150:0;;;;;:::i;:::-;;:::i;:::-;;107125:124;;;;;;;;;;-1:-1:-1;107125:124:0;;;;;:::i;:::-;;:::i;60596:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;106943:103::-;;;;;;;;;;;;;:::i;67079:218::-;;;;;;;;;;-1:-1:-1;67079:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2804:32:1;;;2786:51;;2774:2;2759:18;67079:218:0;2640:203:1;66520:400:0;;;;;;;;;;-1:-1:-1;66520:400:0;;;;;:::i;:::-;;:::i;110249:401::-;;;;;;:::i;:::-;;:::i;101407:27::-;;;;;;;;;;-1:-1:-1;101407:27:0;;;;-1:-1:-1;;;101407:27:0;;;;;;;;;4178:10:1;4166:23;;;4148:42;;4136:2;4121:18;101407:27:0;4004:192:1;56347:323:0;;;;;;;;;;-1:-1:-1;101520:1:0;56621:12;56408:7;56605:13;:28;-1:-1:-1;;56605:46:0;56347:323;;;4347:25:1;;;4335:2;4320:18;56347:323:0;4201:177:1;34574:453:0;;;;;;;;;;-1:-1:-1;34574:453:0;;;;;:::i;:::-;;:::i;39995:380::-;;;;;;;;;;-1:-1:-1;39995:380:0;;;;;:::i;:::-;;:::i;70786:2817::-;;;;;;;;;;-1:-1:-1;70786:2817:0;;;;;:::i;:::-;;:::i;22801:442::-;;;;;;;;;;-1:-1:-1;22801:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;;161:18;22801:442:0;14:274:1;108999:314:0;;;;;;;;;;-1:-1:-1;108999:314:0;;;;;:::i;:::-;;:::i;32184:91::-;;;;;;;;;;-1:-1:-1;32255:12:0;;32184:91;;33313:135;;;;;;;;;;-1:-1:-1;33313:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;33410:21:0;;;33383:7;33410:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;33313:135;73699:185;;;;;;;;;;-1:-1:-1;73699:185:0;;;;;:::i;:::-;;:::i;35295:514::-;;;;;;;;;;-1:-1:-1;35295:514:0;;;;;:::i;:::-;;:::i;107947:119::-;;;;;;;;;;-1:-1:-1;107947:119:0;;;;;:::i;:::-;;:::i;96261:528::-;;;;;;;;;;-1:-1:-1;96261:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;101564:27::-;;;;;;;;;;-1:-1:-1;101564:27:0;;;;-1:-1:-1;;;101564:27:0;;;;;;101362:38;;;;;;;;;;-1:-1:-1;101362:38:0;;;;-1:-1:-1;;;101362:38:0;;;;;;61989:152;;;;;;;;;;-1:-1:-1;61989:152:0;;;;;:::i;:::-;;:::i;109384:416::-;;;;;;:::i;:::-;;:::i;57531:233::-;;;;;;;;;;-1:-1:-1;57531:233:0;;;;;:::i;:::-;;:::i;38790:103::-;;;;;;;;;;;;;:::i;100137:900::-;;;;;;;;;;-1:-1:-1;100137:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;111064:119::-;;;;;;;;;;-1:-1:-1;111064:119:0;;;;;:::i;:::-;;:::i;33539:100::-;;;;;;;;;;-1:-1:-1;33539:100:0;;;;;:::i;:::-;;:::i;38142:87::-;;;;;;;;;;-1:-1:-1;38215:6:0;;-1:-1:-1;;;;;38215:6:0;38142:87;;60772:104;;;;;;;;;;;;;:::i;33035:109::-;;;;;;;;;;-1:-1:-1;33035:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;33118:18:0;33091:7;33118:18;;;:9;:18;;;;;;;33035:109;97177:2513;;;;;;;;;;-1:-1:-1;97177:2513:0;;;;;:::i;:::-;;:::i;67637:308::-;;;;;;;;;;-1:-1:-1;67637:308:0;;;;;:::i;:::-;;:::i;33729:225::-;;;;;;;;;;-1:-1:-1;33729:225:0;;;;;:::i;:::-;;:::i;107485:126::-;;;;;;;;;;;;;:::i;107320:82::-;;;;;;;;;;;;;:::i;108691:229::-;;;;;;;;;;-1:-1:-1;108691:229:0;;;;;:::i;:::-;;:::i;74482:399::-;;;;;;;;;;-1:-1:-1;74482:399:0;;;;;:::i;:::-;;:::i;95674:428::-;;;;;;;;;;-1:-1:-1;95674:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;34114:260::-;;;;;;;;;;-1:-1:-1;34114:260:0;;;;;:::i;:::-;;:::i;111246:356::-;;;;;;;;;;-1:-1:-1;111246:356:0;;;;;:::i;:::-;;:::i;101441:31::-;;;;;;;;;;-1:-1:-1;101441:31:0;;;;-1:-1:-1;;;101441:31:0;;;;;;32831:105;;;;;;;;;;-1:-1:-1;32831:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;32912:16:0;32885:7;32912:16;;;:7;:16;;;;;;;32831:105;101324:30;;;;;;;;;;-1:-1:-1;101324:30:0;;;;;;;;108130:494;;;;;;;;;;-1:-1:-1;108130:494:0;;;;;:::i;:::-;;:::i;32621:119::-;;;;;;;;;;-1:-1:-1;32621:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;32706:26:0;32679:7;32706:26;;;:19;:26;;;;;;;32621:119;32369:95;;;;;;;;;;-1:-1:-1;32442:14:0;;32369:95;;101481:40;;;;;;;;;;;;101520:1;101481:40;;68102:164;;;;;;;;;;-1:-1:-1;68102:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;68223:25:0;;;68199:4;68223:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;68102:164;106633:105;;;;;;;;;;-1:-1:-1;106633:105:0;;;;;:::i;:::-;;:::i;106746:121::-;;;;;;;;;;-1:-1:-1;106746:121:0;;;;;:::i;:::-;;:::i;109865:369::-;;;;;;:::i;:::-;;:::i;39048:201::-;;;;;;;;;;-1:-1:-1;39048:201:0;;;;;:::i;:::-;;:::i;101598:36::-;;;;;;;;;;-1:-1:-1;101598:36:0;;;;-1:-1:-1;;;101598:36:0;;;;;;101531:26;;;;;;;;;;-1:-1:-1;101531:26:0;;;;-1:-1:-1;;;101531:26:0;;;;;;105998:465;106127:4;106361:38;106387:11;106361:25;:38::i;:::-;:94;;;;106417:38;106443:11;106417:25;:38::i;:::-;106340:115;105998:465;-1:-1:-1;;105998:465:0:o;106471:150::-;38028:13;:11;:13::i;:::-;106569:44:::1;106588:9;106599:13;106569:18;:44::i;:::-;106471:150:::0;;:::o;107125:124::-;38028:13;:11;:13::i;:::-;107206:35:::1;107224:16;107206:17;:35::i;:::-;107125:124:::0;:::o;60596:100::-;60650:13;60683:5;60676:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60596:100;:::o;106943:103::-;38028:13;:11;:13::i;:::-;107021:17:::1;::::0;;-1:-1:-1;;;;107000:38:0;::::1;-1:-1:-1::0;;;107021:17:0;;;::::1;;;107020:18;107000:38:::0;;::::1;;::::0;;106943:103::o;67079:218::-;67155:7;67180:16;67188:7;67180;:16::i;:::-;67175:64;;67205:34;;-1:-1:-1;;;67205:34:0;;;;;;;;;;;67175:64;-1:-1:-1;67259:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;67259:30:0;;67079:218::o;66520:400::-;66601:13;66617:16;66625:7;66617;:16::i;:::-;66601:32;-1:-1:-1;28554:10:0;-1:-1:-1;;;;;66650:28:0;;;66646:175;;66698:44;66715:5;28554:10;68102:164;:::i;66698:44::-;66693:128;;66770:35;;-1:-1:-1;;;66770:35:0;;;;;;;;;;;66693:128;66833:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;66833:35:0;-1:-1:-1;;;;;66833:35:0;;;;;;;;;66884:28;;66833:24;;66884:28;;;;;;;66590:330;66520:400;;:::o;110249:401::-;110351:7;;-1:-1:-1;;;110351:7:0;;;;110350:8;110341:32;;;;-1:-1:-1;;;110341:32:0;;13957:2:1;110341:32:0;;;13939:21:1;13996:2;13976:18;;;13969:30;-1:-1:-1;;;14015:18:1;;;14008:40;14065:18;;110341:32:0;;;;;;;;;110437:13;;;-1:-1:-1;;;110437:13:0;;;;;;110393:40;;:25;110407:10;110393:13;:25::i;:::-;:40;;;;:::i;:::-;:57;;110384:100;;;;-1:-1:-1;;;110384:100:0;;;;;;;:::i;:::-;110521:40;;-1:-1:-1;;28554:10:0;14964:2:1;14960:15;14956:53;110521:40:0;;;14944:66:1;-1:-1:-1;;;15026:12:1;;;15019:30;110504:68:0;;15065:12:1;;110521:40:0;;;;-1:-1:-1;;110521:40:0;;;;;;;110504:68;;;;;;;;;;;;;;;;;;110521:40;;110563:8;;;;;;110504:68;;110563:8;;;;110504:68;;;;;;;;;-1:-1:-1;110504:16:0;;-1:-1:-1;;;110504:68:0:i;:::-;110495:96;;;;-1:-1:-1;;;110495:96:0;;15290:2:1;110495:96:0;;;15272:21:1;15329:2;15309:18;;;15302:30;-1:-1:-1;;;15348:18:1;;;15341:44;15402:18;;110495:96:0;15088:338:1;110495:96:0;110612:22;110621:12;110612:8;:22::i;:::-;110249:401;;;:::o;34574:453::-;-1:-1:-1;;;;;34650:16:0;;34669:1;34650:16;;;:7;:16;;;;;;34642:71;;;;-1:-1:-1;;;34642:71:0;;;;;;;:::i;:::-;34726:15;34744:19;34755:7;34744:10;:19::i;:::-;34726:37;;34784:7;34795:1;34784:12;34776:68;;;;-1:-1:-1;;;34776:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34857:18:0;;;;;;:9;:18;;;;;:29;;34879:7;;34857:18;:29;;34879:7;;34857:29;:::i;:::-;;;;;;;;34915:7;34897:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;34935:35:0;;-1:-1:-1;34953:7:0;34962;34935:17;:35::i;:::-;34986:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;34986:33:0;;161:18:1;34986:33:0;;;;;;;34631:396;34574:453;:::o;39995:380::-;40088:4;40105:20;40155:7;40138:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;40128:36;;;;;;40105:59;;40175:28;40269:12;40216:66;;;;;;;17071::1;17059:79;;17163:2;17154:12;;17147:28;;;;17200:2;17191:12;;16829:380;40216:66:0;;;;-1:-1:-1;;40216:66:0;;;;;;;;;40206:77;;40216:66;40206:77;;;;40354:13;;40206:77;;-1:-1:-1;;;;;;40354:13:0;40303:47;40206:77;40340:9;40303:14;:47::i;:::-;-1:-1:-1;;;;;40303:64:0;;;39995:380;-1:-1:-1;;;;;39995:380:0:o;70786:2817::-;70920:27;70950;70969:7;70950:18;:27::i;:::-;70920:57;;71035:4;-1:-1:-1;;;;;70994:45:0;71010:19;-1:-1:-1;;;;;70994:45:0;;70990:86;;71048:28;;-1:-1:-1;;;71048:28:0;;;;;;;;;;;70990:86;71090:27;69900:24;;;:15;:24;;;;;70122:26;;28554:10;69525:30;;;-1:-1:-1;;;;;69218:28:0;;69503:20;;;69500:56;71276:180;;71369:43;71386:4;28554:10;68102:164;:::i;71369:43::-;71364:92;;71421:35;;-1:-1:-1;;;71421:35:0;;;;;;;;;;;71364:92;-1:-1:-1;;;;;71473:16:0;;71469:52;;71498:23;;-1:-1:-1;;;71498:23:0;;;;;;;;;;;71469:52;71670:15;71667:160;;;71810:1;71789:19;71782:30;71667:160;-1:-1:-1;;;;;72207:24:0;;;;;;;:18;:24;;;;;;72205:26;;-1:-1:-1;;72205:26:0;;;72276:22;;;;;;;;;72274:24;;-1:-1:-1;72274:24:0;;;65378:11;65353:23;65349:41;65336:63;-1:-1:-1;;;65336:63:0;72569:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;72864:47:0;;:52;;72860:627;;72969:1;72959:11;;72937:19;73092:30;;;:17;:30;;;;;;:35;;73088:384;;73230:13;;73215:11;:28;73211:242;;73377:30;;;;:17;:30;;;;;:52;;;73211:242;72918:569;72860:627;73534:7;73530:2;-1:-1:-1;;;;;73515:27:0;73524:4;-1:-1:-1;;;;;73515:27:0;;;;;;;;;;;73553:42;70909:2694;;;70786:2817;;;:::o;22801:442::-;22898:7;22956:27;;;:17;:27;;;;;;;;22927:56;;;;;;;;;-1:-1:-1;;;;;22927:56:0;;;;;-1:-1:-1;;;22927:56:0;;;-1:-1:-1;;;;;22927:56:0;;;;;;;;22898:7;;22996:92;;-1:-1:-1;23047:29:0;;;;;;;;;23057:19;23047:29;-1:-1:-1;;;;;23047:29:0;;;;-1:-1:-1;;;23047:29:0;;-1:-1:-1;;;;;23047:29:0;;;;;22996:92;23138:23;;;;23100:21;;23609:5;;23125:36;;-1:-1:-1;;;;;23125:36:0;:10;:36;:::i;:::-;23124:58;;;;:::i;:::-;23203:16;;;;;-1:-1:-1;22801:442:0;;-1:-1:-1;;;;22801:442:0:o;108999:314::-;38028:13;:11;:13::i;:::-;109104:17:::1;::::0;::::1;-1:-1:-1::0;;;109104:17:0;;::::1;::::0;::::1;109088:33:::0;;::::1;;;109079:106;;;::::0;-1:-1:-1;;;109079:106:0;;17846:2:1;109079:106:0::1;::::0;::::1;17828:21:1::0;17885:2;17865:18;;;17858:30;17924:34;17904:18;;;17897:62;17995:29;17975:18;;;17968:57;18042:19;;109079:106:0::1;17644:423:1::0;109079:106:0::1;109198:23;109204:2;109208:12;109198:23;;:5;:23::i;:::-;109261:17;:33:::0;;::::1;-1:-1:-1::0;;;109261:33:0;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;::::1;-1:-1:-1::0;;109261:33:0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;108999:314:0:o;73699:185::-;73837:39;73854:4;73860:2;73864:7;73837:39;;;;;;;;;;;;:16;:39::i;35295:514::-;-1:-1:-1;;;;;35377:16:0;;35396:1;35377:16;;;:7;:16;;;;;;35369:71;;;;-1:-1:-1;;;35369:71:0;;;;;;;:::i;:::-;35453:15;35471:26;35482:5;35489:7;35471:10;:26::i;:::-;35453:44;;35518:7;35529:1;35518:12;35510:68;;;;-1:-1:-1;;;35510:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35591:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;35625:7;;35591:21;:41;;35625:7;;35591:41;:::i;:::-;;;;-1:-1:-1;;;;;;;35643:26:0;;;;;;:19;:26;;;;;:37;;35673:7;;35643:26;:37;;35673:7;;35643:37;:::i;:::-;;;;-1:-1:-1;35693:47:0;;-1:-1:-1;35716:5:0;35723:7;35732;35693:22;:47::i;:::-;35756:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;35756:45:0;;;;;161:18:1;35756:45:0;;;;;;;35358:451;35295:514;;:::o;107947:119::-;38028:13;:11;:13::i;:::-;108027::::1;:31;108043:15:::0;108027:13;:31:::1;:::i;96261:528::-:0;96405:23;96496:8;96471:22;96496:8;-1:-1:-1;;;;;96563:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96563:36:0;;-1:-1:-1;;96563:36:0;;;;;;;;;;;;96526:73;;96619:9;96614:125;96635:14;96630:1;:19;96614:125;;96691:32;96711:8;;96720:1;96711:11;;;;;;;:::i;:::-;;;;;;;96691:19;:32::i;:::-;96675:10;96686:1;96675:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;96651:3;;96614:125;;;-1:-1:-1;96760:10:0;96261:528;-1:-1:-1;;;;96261:528:0:o;61989:152::-;62061:7;62104:27;62123:7;62104:18;:27::i;109384:416::-;109493:7;;-1:-1:-1;;;109493:7:0;;;;109484:34;;;;-1:-1:-1;;;109484:34:0;;20610:2:1;109484:34:0;;;20592:21:1;20649:2;20629:18;;;20622:30;-1:-1:-1;;;20668:18:1;;;20661:43;20721:18;;109484:34:0;20408:337:1;109484:34:0;109555:41;;-1:-1:-1;;28554:10:0;21000:2:1;20996:15;20992:53;109555:41:0;;;20980:66:1;-1:-1:-1;;;21062:12:1;;;21055:31;109538:69:0;;21102:12:1;;109555:41:0;20750:370:1;109538:69:0;109529:105;;;;-1:-1:-1;;;109529:105:0;;21327:2:1;109529:105:0;;;21309:21:1;21366:2;21346:18;;;21339:30;-1:-1:-1;;;21385:18:1;;;21378:52;21447:18;;109529:105:0;21125:346:1;109529:105:0;109698:9;;;-1:-1:-1;;;109698:9:0;;;;;;109654:40;;:25;109668:10;109654:13;:25::i;:::-;:40;;;;:::i;:::-;:53;;109645:96;;;;-1:-1:-1;;;109645:96:0;;;;;;;:::i;57531:233::-;57603:7;-1:-1:-1;;;;;57627:19:0;;57623:60;;57655:28;;-1:-1:-1;;;57655:28:0;;;;;;;;;;;57623:60;-1:-1:-1;;;;;;57701:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;57701:55:0;;57531:233::o;38790:103::-;38028:13;:11;:13::i;:::-;38855:30:::1;38882:1;38855:18;:30::i;:::-;38790:103::o:0;100137:900::-;100215:16;100269:19;100303:25;100343:22;100368:16;100378:5;100368:9;:16::i;:::-;100343:41;;100399:25;100441:14;-1:-1:-1;;;;;100427:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;100427:29:0;;100399:57;;100471:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100471:31:0;101520:1;100517:472;100566:14;100551:11;:29;100517:472;;100618:15;100631:1;100618:12;:15::i;:::-;100606:27;;100656:9;:16;;;100697:8;100652:73;100747:14;;-1:-1:-1;;;;;100747:28:0;;100743:111;;100820:14;;;-1:-1:-1;100743:111:0;100897:5;-1:-1:-1;;;;;100876:26:0;:17;-1:-1:-1;;;;;100876:26:0;;100872:102;;100953:1;100927:8;100936:13;;;;;;100927:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;100872:102;100582:3;;100517:472;;;-1:-1:-1;101010:8:0;;100137:900;-1:-1:-1;;;;;;100137:900:0:o;111064:119::-;111127:7;111154:21;111168:6;111154:13;:21::i;33539:100::-;33590:7;33617;33625:5;33617:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;33617:14:0;;33539:100;-1:-1:-1;;33539:100:0:o;60772:104::-;60828:13;60861:7;60854:14;;;;;:::i;97177:2513::-;97320:16;97387:4;97378:5;:13;97374:45;;97400:19;;-1:-1:-1;;;97400:19:0;;;;;;;;;;;97374:45;97434:19;97468:17;97488:14;56089:7;56116:13;;56034:103;97488:14;97468:34;-1:-1:-1;101520:1:0;97580:5;:23;97576:87;;;101520:1;97624:23;;97576:87;97739:9;97732:4;:16;97728:73;;;97776:9;97769:16;;97728:73;97815:25;97843:16;97853:5;97843:9;:16::i;:::-;97815:44;;98037:4;98029:5;:12;98025:278;;;98084:12;;;98119:31;;;98115:111;;;98195:11;98175:31;;98115:111;98043:198;98025:278;;;-1:-1:-1;98286:1:0;98025:278;98317:25;98359:17;-1:-1:-1;;;;;98345:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;98345:32:0;;98317:60;;98396:17;98417:1;98396:22;98392:78;;98446:8;-1:-1:-1;98439:15:0;;-1:-1:-1;;;98439:15:0;98392:78;98614:31;98648:26;98668:5;98648:19;:26::i;:::-;98614:60;;98689:25;98934:9;:16;;;98929:92;;-1:-1:-1;98991:14:0;;98929:92;99052:5;99035:478;99064:4;99059:1;:9;;:45;;;;;99087:17;99072:11;:32;;99059:45;99035:478;;;99142:15;99155:1;99142:12;:15::i;:::-;99130:27;;99180:9;:16;;;99221:8;99176:73;99271:14;;-1:-1:-1;;;;;99271:28:0;;99267:111;;99344:14;;;-1:-1:-1;99267:111:0;99421:5;-1:-1:-1;;;;;99400:26:0;:17;-1:-1:-1;;;;;99400:26:0;;99396:102;;99477:1;99451:8;99460:13;;;;;;99451:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;99396:102;99106:3;;99035:478;;;-1:-1:-1;;;99598:29:0;;;-1:-1:-1;99605:8:0;;-1:-1:-1;;97177:2513:0;;;;;;:::o;67637:308::-;28554:10;-1:-1:-1;;;;;67736:31:0;;;67732:61;;67776:17;;-1:-1:-1;;;67776:17:0;;;;;;;;;;;67732:61;28554:10;67806:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;67806:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;67806:60:0;;;;;;;;;;67882:55;;819:41:1;;;67806:49:0;;28554:10;67882:55;;792:18:1;67882:55:0;;;;;;;67637:308;;:::o;33729:225::-;33787:7;33807:21;33855:15;32442:14;;;32369:95;33855:15;33831:39;;:21;:39;:::i;:::-;33807:63;;33888:58;33904:7;33913:13;33928:17;33937:7;-1:-1:-1;;;;;33118:18:0;33091:7;33118:18;;;:9;:18;;;;;;;33035:109;33928:17;33888:15;:58::i;107485:126::-;38028:13;:11;:13::i;:::-;107544:7:::1;::::0;-1:-1:-1;;;107544:7:0;::::1;;;107536:41;;;::::0;-1:-1:-1;;;107536:41:0;;21678:2:1;107536:41:0::1;::::0;::::1;21660:21:1::0;21717:2;21697:18;;;21690:30;-1:-1:-1;;;21736:18:1;;;21729:51;21797:18;;107536:41:0::1;21476:345:1::0;107536:41:0::1;107588:7;:15:::0;;-1:-1:-1;;;;107588:15:0::1;::::0;;107485:126::o;107320:82::-;38028:13;:11;:13::i;:::-;107388:6:::1;::::0;;-1:-1:-1;;;;107378:16:0;::::1;-1:-1:-1::0;;;107388:6:0;;;::::1;;;107387:7;107378:16:::0;;::::1;;::::0;;107320:82::o;108691:229::-;38028:13;:11;:13::i;:::-;108807:17:::1;::::0;::::1;-1:-1:-1::0;;;108807:17:0;;::::1;::::0;::::1;108784:40:::0;;::::1;;108776:82;;;::::0;-1:-1:-1;;;108776:82:0;;22028:2:1;108776:82:0::1;::::0;::::1;22010:21:1::0;22067:2;22047:18;;;22040:30;22106:31;22086:18;;;22079:59;22155:18;;108776:82:0::1;21826:353:1::0;108776:82:0::1;108871:17;:41:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;108871:41:0::1;-1:-1:-1::0;;108871:41:0;;::::1;::::0;;;::::1;::::0;;108691:229::o;74482:399::-;74649:31;74662:4;74668:2;74672:7;74649:12;:31::i;:::-;-1:-1:-1;;;;;74695:14:0;;;:19;74691:183;;74734:56;74765:4;74771:2;74775:7;74784:5;74734:30;:56::i;:::-;74729:145;;74818:40;;-1:-1:-1;;;74818:40:0;;;;;;;;;;;74729:145;74482:399;;;;:::o;95674:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101520:1:0;95838:7;:25;:54;;;-1:-1:-1;56089:7:0;56116:13;95867:7;:25;;95838:54;95834:103;;;95916:9;95674:428;-1:-1:-1;;95674:428:0:o;95834:103::-;95959:21;95972:7;95959:12;:21::i;:::-;95947:33;;95995:9;:16;;;95991:65;;;96035:9;95674:428;-1:-1:-1;;95674:428:0:o;95991:65::-;96073:21;96086:7;96073:12;:21::i;34114:260::-;-1:-1:-1;;;;;32706:26:0;;34186:7;32706:26;;;:19;:26;;;;;;34186:7;;34230:30;;-1:-1:-1;;;34230:30:0;;34254:4;34230:30;;;2786:51:1;-1:-1:-1;;;;;34230:15:0;;;;;2759:18:1;;34230:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;33410:21:0;;;33383:7;33410:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;34206:77;;-1:-1:-1;34301:65:0;;34317:7;;34206:77;;33888:15;:58::i;34301:65::-;34294:72;34114:260;-1:-1:-1;;;;34114:260:0:o;111246:356::-;111337:13;111371:16;111379:7;111371;:16::i;:::-;111363:75;;;;-1:-1:-1;;;111363:75:0;;22575:2:1;111363:75:0;;;22557:21:1;22614:2;22594:18;;;22587:30;22653:34;22633:18;;;22626:62;-1:-1:-1;;;22704:18:1;;;22697:45;22759:19;;111363:75:0;22373:411:1;111363:75:0;111459:17;111479:10;:8;:10::i;:::-;111459:30;;111527:1;111513:3;111507:17;:21;:87;;;;;;;;;;;;;;;;;111555:3;111560:18;:7;:16;:18::i;:::-;111538:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;111500:94;111246:356;-1:-1:-1;;;111246:356:0:o;108130:494::-;38028:13;:11;:13::i;:::-;108251:9:::1;::::0;::::1;::::0;;::::1;108239:21:::0;;::::1;;108231:69;;;::::0;-1:-1:-1;;;108231:69:0;;23659:2:1;108231:69:0::1;::::0;::::1;23641:21:1::0;23698:2;23678:18;;;23671:30;23737:34;23717:18;;;23710:62;-1:-1:-1;;;23788:18:1;;;23781:34;23832:19;;108231:69:0::1;23457:400:1::0;108231:69:0::1;108343:17;::::0;::::1;-1:-1:-1::0;;;108343:17:0;;::::1;::::0;::::1;108319:41:::0;;::::1;;;108311:81;;;::::0;-1:-1:-1;;;108311:81:0;;24064:2:1;108311:81:0::1;::::0;::::1;24046:21:1::0;24103:2;24083:18;;;24076:30;24142:29;24122:18;;;24115:57;24189:18;;108311:81:0::1;23862:351:1::0;108311:81:0::1;101520:1:::0;56621:12;56408:7;56605:13;:28;-1:-1:-1;;56605:46:0;108424:36:::1;::::0;::::1;::::0;::::1;;:::i;:::-;108411:9;:49;;;;108403:127;;;::::0;-1:-1:-1;;;108403:127:0;;24420:2:1;108403:127:0::1;::::0;::::1;24402:21:1::0;24459:2;24439:18;;;24432:30;24498:34;24478:18;;;24471:62;24569:34;24549:18;;;24542:62;-1:-1:-1;;;24620:19:1;;;24613:32;24662:19;;108403:127:0::1;24218:469:1::0;108403:127:0::1;108543:9;:21:::0;;::::1;108575:41:::0;;::::1;-1:-1:-1::0;;;108575:41:0::1;-1:-1:-1::0;;108575:41:0;;;108543:21;;;::::1;108575:41:::0;;;;;;;::::1;::::0;;108130:494::o;106633:105::-;38028:13;:11;:13::i;:::-;106706:9:::1;:24:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;106706:24:0::1;-1:-1:-1::0;;106706:24:0;;::::1;::::0;;;::::1;::::0;;106633:105::o;106746:121::-;38028:13;:11;:13::i;:::-;106827::::1;:32:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;106827:32:0::1;-1:-1:-1::0;;;;106827:32:0;;::::1;::::0;;;::::1;::::0;;106746:121::o;109865:369::-;109943:7;;-1:-1:-1;;;109943:7:0;;;;109942:8;109933:32;;;;-1:-1:-1;;;109933:32:0;;13957:2:1;109933:32:0;;;13939:21:1;13996:2;13976:18;;;13969:30;-1:-1:-1;;;14015:18:1;;;14008:40;14065:18;;109933:32:0;13755:334:1;109933:32:0;109986:17;;-1:-1:-1;;;109986:17:0;;;;109985:18;109976:88;;;;-1:-1:-1;;;109976:88:0;;24894:2:1;109976:88:0;;;24876:21:1;24933:2;24913:18;;;24906:30;24972:34;24952:18;;;24945:62;25043:26;25023:18;;;25016:54;25087:19;;109976:88:0;24692:420:1;109976:88:0;110128:13;;;-1:-1:-1;;;110128:13:0;;;;;;110084:40;;:25;110098:10;110084:13;:25::i;:::-;:40;;;;:::i;:::-;:57;;110075:100;;;;-1:-1:-1;;;110075:100:0;;;;;;;:::i;:::-;110196:22;110205:12;110196:8;:22::i;39048:201::-;38028:13;:11;:13::i;:::-;-1:-1:-1;;;;;39137:22:0;::::1;39129:73;;;::::0;-1:-1:-1;;;39129:73:0;;25319:2:1;39129:73:0::1;::::0;::::1;25301:21:1::0;25358:2;25338:18;;;25331:30;25397:34;25377:18;;;25370:62;-1:-1:-1;;;25448:18:1;;;25441:36;25494:19;;39129:73:0::1;25117:402:1::0;39129:73:0::1;39213:28;39232:8;39213:18;:28::i;59694:639::-:0;59779:4;-1:-1:-1;;;;;;;;;60103:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;60180:25:0;;;60103:102;:179;;;-1:-1:-1;;;;;;;;60257:25:0;-1:-1:-1;;;60257:25:0;;59694:639::o;22531:215::-;22633:4;-1:-1:-1;;;;;;22657:41:0;;-1:-1:-1;;;22657:41:0;;:81;;-1:-1:-1;;;;;;;;;;20192:40:0;;;22702:36;20083:157;38307:132;38215:6;;-1:-1:-1;;;;;38215:6:0;28554:10;38371:23;38363:68;;;;-1:-1:-1;;;38363:68:0;;25726:2:1;38363:68:0;;;25708:21:1;;;25745:18;;;25738:30;25804:34;25784:18;;;25777:62;25856:18;;38363:68:0;25524:356:1;23893:332:0;23609:5;-1:-1:-1;;;;;23996:33:0;;;;23988:88;;;;-1:-1:-1;;;23988:88:0;;26087:2:1;23988:88:0;;;26069:21:1;26126:2;26106:18;;;26099:30;26165:34;26145:18;;;26138:62;-1:-1:-1;;;26216:18:1;;;26209:40;26266:19;;23988:88:0;25885:406:1;23988:88:0;-1:-1:-1;;;;;24095:22:0;;24087:60;;;;-1:-1:-1;;;24087:60:0;;26498:2:1;24087:60:0;;;26480:21:1;26537:2;26517:18;;;26510:30;26576:27;26556:18;;;26549:55;26621:18;;24087:60:0;26296:349:1;24087:60:0;24182:35;;;;;;;;;-1:-1:-1;;;;;24182:35:0;;;;;;-1:-1:-1;;;;;24182:35:0;;;;;;;;;;-1:-1:-1;;;24160:57:0;;;;:19;:57;23893:332::o;40448:230::-;40557:13;;-1:-1:-1;;;;;40557:13:0;;;40537:33;;;;40529:98;;;;-1:-1:-1;;;40529:98:0;;26852:2:1;40529:98:0;;;26834:21:1;26891:2;26871:18;;;26864:30;26930:34;26910:18;;;26903:62;-1:-1:-1;;;26981:18:1;;;26974:50;27041:19;;40529:98:0;26650:416:1;40529:98:0;40638:13;:32;;-1:-1:-1;;;;;;40638:32:0;-1:-1:-1;;;;;40638:32:0;;;;;;;;;;40448:230::o;68524:282::-;68589:4;68645:7;101520:1;68626:26;;:66;;;;;68679:13;;68669:7;:23;68626:66;:153;;;;-1:-1:-1;;68730:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;68730:44:0;:49;;68524:282::o;57846:178::-;-1:-1:-1;;;;;57935:25:0;57907:7;57935:25;;;:18;:25;;51828:2;57935:25;;;;;:50;;-1:-1:-1;;;;;57934:82:0;;57846:178::o;110720:336::-;110790:6;;-1:-1:-1;;;110790:6:0;;;;110789:7;110780:36;;;;-1:-1:-1;;;110780:36:0;;27273:2:1;110780:36:0;;;27255:21:1;27312:2;27292:18;;;27285:30;-1:-1:-1;;;27331:18:1;;;27324:45;27386:18;;110780:36:0;27071:339:1;110780:36:0;110837:9;110850:10;110837:23;110828:52;;;;-1:-1:-1;;;110828:52:0;;27617:2:1;110828:52:0;;;27599:21:1;27656:2;27636:18;;;27629:30;-1:-1:-1;;;27675:18:1;;;27668:45;27730:18;;110828:52:0;27415:339:1;110828:52:0;110945:17;;110933:29;;110945:17;-1:-1:-1;;;110945:17:0;;;;;110933:9;:29;:::i;:::-;110900:62;;110916:13;110900:29;;:13;101520:1;56621:12;56408:7;56605:13;-1:-1:-1;;56605:28:0;;;:46;;56347:323;110900:13;:29;;;;:::i;:::-;:62;;110891:103;;;;-1:-1:-1;;;110891:103:0;;28141:2:1;110891:103:0;;;28123:21:1;28180:2;28160:18;;;28153:30;28219:29;28199:18;;;28192:57;28266:18;;110891:103:0;27939:351:1;110891:103:0;111016:32;111022:10;111034:13;111016:32;;:5;:32::i;2494:317::-;2609:6;2584:21;:31;;2576:73;;;;-1:-1:-1;;;2576:73:0;;28497:2:1;2576:73:0;;;28479:21:1;28536:2;28516:18;;;28509:30;28575:31;28555:18;;;28548:59;28624:18;;2576:73:0;28295:353:1;2576:73:0;2663:12;2681:9;-1:-1:-1;;;;;2681:14:0;2703:6;2681:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2662:52;;;2733:7;2725:78;;;;-1:-1:-1;;;2725:78:0;;29065:2:1;2725:78:0;;;29047:21:1;29104:2;29084:18;;;29077:30;29143:34;29123:18;;;29116:62;29214:28;29194:18;;;29187:56;29260:19;;2725:78:0;28863:422:1;40686:250:0;40788:7;40809:9;40820;40831:7;40842:27;40858:10;40842:15;:27::i;:::-;40887:41;;;;;;;;;;;;29517:25:1;;;29590:4;29578:17;;29558:18;;;29551:45;;;;29612:18;;;29605:34;;;29655:18;;;29648:34;;;40808:61:0;;-1:-1:-1;40808:61:0;;-1:-1:-1;40808:61:0;-1:-1:-1;40887:41:0;;29489:19:1;;40887:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40887:41:0;;-1:-1:-1;;40887:41:0;;;40686:250;-1:-1:-1;;;;;;;40686:250:0:o;63144:1275::-;63211:7;63246;;101520:1;63295:23;63291:1061;;63348:13;;63341:4;:20;63337:1015;;;63386:14;63403:23;;;:17;:23;;;;;;;-1:-1:-1;;;63492:24:0;;:29;;63488:845;;64157:113;64164:6;64174:1;64164:11;64157:113;;-1:-1:-1;;;64235:6:0;64217:25;;;;:17;:25;;;;;;64157:113;;63488:845;63363:989;63337:1015;64380:31;;-1:-1:-1;;;64380:31:0;;;;;;;;;;;78143:2454;78216:20;78239:13;;;78267;;;78263:44;;78289:18;;-1:-1:-1;;;78289:18:0;;;;;;;;;;;78263:44;-1:-1:-1;;;;;78795:22:0;;;;;;:18;:22;;;;51828:2;78795:22;;;:71;;78833:32;78821:45;;78795:71;;;79109:31;;;:17;:31;;;;;-1:-1:-1;65809:15:0;;65783:24;65779:46;65378:11;65353:23;65349:41;65346:52;65336:63;;79109:173;;79344:23;;;;79109:31;;78795:22;;79843:25;78795:22;;79696:335;80111:1;80097:12;80093:20;80051:346;80152:3;80143:7;80140:16;80051:346;;80370:7;80360:8;80357:1;80330:25;80327:1;80324;80319:59;80205:1;80192:15;80051:346;;;80055:77;80430:8;80442:1;80430:13;80426:45;;80452:19;;-1:-1:-1;;;80452:19:0;;;;;;;;;;;80426:45;80488:13;:19;-1:-1:-1;110249:401:0;;;:::o;14511:211::-;14655:58;;;-1:-1:-1;;;;;206:32:1;;14655:58:0;;;188:51:1;255:18;;;;248:34;;;14655:58:0;;;;;;;;;;161:18:1;;;;14655:58:0;;;;;;;;-1:-1:-1;;;;;14655:58:0;-1:-1:-1;;;14655:58:0;;;14628:86;;14648:5;;14628:19;:86::i;39409:191::-;39502:6;;;-1:-1:-1;;;;;39519:17:0;;;-1:-1:-1;;;;;;39519:17:0;;;;;;;39552:40;;39502:6;;;39519:17;39502:6;;39552:40;;39483:16;;39552:40;39472:128;39409:191;:::o;62592:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62720:24:0;;;;:17;:24;;;;;;62701:44;;:18;:44::i;35987:248::-;36197:12;;-1:-1:-1;;;;;36177:16:0;;36133:7;36177:16;;;:7;:16;;;;;;36133:7;;36212:15;;36161:32;;:13;:32;:::i;:::-;36160:49;;;;:::i;:::-;:67;;;;:::i;76965:716::-;77149:88;;-1:-1:-1;;;77149:88:0;;77128:4;;-1:-1:-1;;;;;77149:45:0;;;;;:88;;28554:10;;77216:4;;77222:7;;77231:5;;77149:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77149:88:0;;;;;;;;-1:-1:-1;;77149:88:0;;;;;;;;;;;;:::i;:::-;;;77145:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77432:6;:13;77449:1;77432:18;77428:235;;77478:40;;-1:-1:-1;;;77478:40:0;;;;;;;;;;;77428:235;77621:6;77615:13;77606:6;77602:2;77598:15;77591:38;77145:529;-1:-1:-1;;;;;;77308:64:0;-1:-1:-1;;;77308:64:0;;-1:-1:-1;76965:716:0;;;;;;:::o;62330:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62441:47:0;62460:27;62479:7;62460:18;:27::i;:::-;62441:18;:47::i;107693:114::-;107753:13;107786;107779:20;;;;;:::i;25728:723::-;25784:13;26005:5;26014:1;26005:10;26001:53;;-1:-1:-1;;26032:10:0;;;;;;;;;;;;-1:-1:-1;;;26032:10:0;;;;;25728:723::o;26001:53::-;26079:5;26064:12;26120:78;26127:9;;26120:78;;26153:8;;;;:::i;:::-;;-1:-1:-1;26176:10:0;;-1:-1:-1;26184:2:0;26176:10;;:::i;:::-;;;26120:78;;;26208:19;26240:6;-1:-1:-1;;;;;26230:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26230:17:0;;26208:39;;26258:154;26265:10;;26258:154;;26292:11;26302:1;26292:11;;:::i;:::-;;-1:-1:-1;26361:10:0;26369:2;26361:5;:10;:::i;:::-;26348:24;;:2;:24;:::i;:::-;26335:39;;26318:6;26325;26318:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;26318:56:0;;;;;;;;-1:-1:-1;26389:11:0;26398:2;26389:11;;:::i;:::-;;;26258:154;;40944:324;41009:9;41020;41031:7;41059:3;:10;41073:2;41059:16;41051:53;;;;-1:-1:-1;;;41051:53:0;;31033:2:1;41051:53:0;;;31015:21:1;31072:2;31052:18;;;31045:30;31111:26;31091:18;;;31084:54;31155:18;;41051:53:0;30831:348:1;41051:53:0;-1:-1:-1;;;41161:2:0;41152:12;;41146:19;41199:2;41190:12;;41184:19;41245:2;41236:12;;;41230:19;41146;;41227:1;41222:28;;;;;40944:324::o;17578:716::-;18002:23;18028:69;18056:4;18028:69;;;;;;;;;;;;;;;;;18036:5;-1:-1:-1;;;;;18028:27:0;;;:69;;;;;:::i;:::-;18112:17;;18002:95;;-1:-1:-1;18112:21:0;18108:179;;18209:10;18198:30;;;;;;;;;;;;:::i;:::-;18190:85;;;;-1:-1:-1;;;18190:85:0;;31636:2:1;18190:85:0;;;31618:21:1;31675:2;31655:18;;;31648:30;31714:34;31694:18;;;31687:62;-1:-1:-1;;;31765:18:1;;;31758:40;31815:19;;18190:85:0;31434:406:1;64518:366:0;-1:-1:-1;;;;;;;;;;;;;64628:41:0;;;;52349:3;64714:33;;;-1:-1:-1;;;;;64680:68:0;-1:-1:-1;;;64680:68:0;-1:-1:-1;;;64778:24:0;;:29;;-1:-1:-1;;;64759:48:0;;;;52870:3;64847:28;;;;-1:-1:-1;;;64818:58:0;-1:-1:-1;64518:366:0:o;3978:229::-;4115:12;4147:52;4169:6;4177:4;4183:1;4186:12;4115;-1:-1:-1;;;;;1528:19:0;;;5385:60;;;;-1:-1:-1;;;5385:60:0;;32454:2:1;5385:60:0;;;32436:21:1;32493:2;32473:18;;;32466:30;32532:31;32512:18;;;32505:59;32581:18;;5385:60:0;32252:353:1;5385:60:0;5459:12;5473:23;5500:6;-1:-1:-1;;;;;5500:11:0;5519:5;5526:4;5500:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5458:73;;;;5549:51;5566:7;5575:10;5587:12;5549:16;:51::i;:::-;5542:58;5098:510;-1:-1:-1;;;;;;;5098:510:0:o;7784:762::-;7934:12;7963:7;7959:580;;;-1:-1:-1;7994:10:0;7987:17;;7959:580;8108:17;;:21;8104:424;;8356:10;8350:17;8417:15;8404:10;8400:2;8396:19;8389:44;8104:424;8499:12;8492:20;;-1:-1:-1;;;8492:20:0;;;;;;;;:::i;293:131:1:-;-1:-1:-1;;;;;;367:32:1;;357:43;;347:71;;414:1;411;404:12;429:245;487:6;540:2;528:9;519:7;515:23;511:32;508:52;;;556:1;553;546:12;508:52;595:9;582:23;614:30;638:5;614:30;:::i;871:131::-;-1:-1:-1;;;;;946:31:1;;936:42;;926:70;;992:1;989;982:12;1007:435;1074:6;1082;1135:2;1123:9;1114:7;1110:23;1106:32;1103:52;;;1151:1;1148;1141:12;1103:52;1190:9;1177:23;1209:31;1234:5;1209:31;:::i;:::-;1259:5;-1:-1:-1;1316:2:1;1301:18;;1288:32;-1:-1:-1;;;;;1351:40:1;;1339:53;;1329:81;;1406:1;1403;1396:12;1329:81;1429:7;1419:17;;;1007:435;;;;;:::o;1447:247::-;1506:6;1559:2;1547:9;1538:7;1534:23;1530:32;1527:52;;;1575:1;1572;1565:12;1527:52;1614:9;1601:23;1633:31;1658:5;1633:31;:::i;1699:250::-;1784:1;1794:113;1808:6;1805:1;1802:13;1794:113;;;1884:11;;;1878:18;1865:11;;;1858:39;1830:2;1823:10;1794:113;;;-1:-1:-1;;1941:1:1;1923:16;;1916:27;1699:250::o;1954:271::-;1996:3;2034:5;2028:12;2061:6;2056:3;2049:19;2077:76;2146:6;2139:4;2134:3;2130:14;2123:4;2116:5;2112:16;2077:76;:::i;:::-;2207:2;2186:15;-1:-1:-1;;2182:29:1;2173:39;;;;2214:4;2169:50;;1954:271;-1:-1:-1;;1954:271:1:o;2230:220::-;2379:2;2368:9;2361:21;2342:4;2399:45;2440:2;2429:9;2425:18;2417:6;2399:45;:::i;2455:180::-;2514:6;2567:2;2555:9;2546:7;2542:23;2538:32;2535:52;;;2583:1;2580;2573:12;2535:52;-1:-1:-1;2606:23:1;;2455:180;-1:-1:-1;2455:180:1:o;2848:315::-;2916:6;2924;2977:2;2965:9;2956:7;2952:23;2948:32;2945:52;;;2993:1;2990;2983:12;2945:52;3032:9;3019:23;3051:31;3076:5;3051:31;:::i;:::-;3101:5;3153:2;3138:18;;;;3125:32;;-1:-1:-1;;;2848:315:1:o;3168:163::-;3235:20;;3295:10;3284:22;;3274:33;;3264:61;;3321:1;3318;3311:12;3264:61;3168:163;;;:::o;3336:663::-;3414:6;3422;3430;3483:2;3471:9;3462:7;3458:23;3454:32;3451:52;;;3499:1;3496;3489:12;3451:52;3522:28;3540:9;3522:28;:::i;:::-;3512:38;;3601:2;3590:9;3586:18;3573:32;-1:-1:-1;;;;;3665:2:1;3657:6;3654:14;3651:34;;;3681:1;3678;3671:12;3651:34;3719:6;3708:9;3704:22;3694:32;;3764:7;3757:4;3753:2;3749:13;3745:27;3735:55;;3786:1;3783;3776:12;3735:55;3826:2;3813:16;3852:2;3844:6;3841:14;3838:34;;;3868:1;3865;3858:12;3838:34;3913:7;3908:2;3899:6;3895:2;3891:15;3887:24;3884:37;3881:57;;;3934:1;3931;3924:12;3881:57;3965:2;3961;3957:11;3947:21;;3987:6;3977:16;;;;;3336:663;;;;;:::o;4643:127::-;4704:10;4699:3;4695:20;4692:1;4685:31;4735:4;4732:1;4725:15;4759:4;4756:1;4749:15;4775:631;4839:5;-1:-1:-1;;;;;4910:2:1;4902:6;4899:14;4896:40;;;4916:18;;:::i;:::-;4991:2;4985:9;4959:2;5045:15;;-1:-1:-1;;5041:24:1;;;5067:2;5037:33;5033:42;5021:55;;;5091:18;;;5111:22;;;5088:46;5085:72;;;5137:18;;:::i;:::-;5177:10;5173:2;5166:22;5206:6;5197:15;;5236:6;5228;5221:22;5276:3;5267:6;5262:3;5258:16;5255:25;5252:45;;;5293:1;5290;5283:12;5252:45;5343:6;5338:3;5331:4;5323:6;5319:17;5306:44;5398:1;5391:4;5382:6;5374;5370:19;5366:30;5359:41;;;;4775:631;;;;;:::o;5411:220::-;5453:5;5506:3;5499:4;5491:6;5487:17;5483:27;5473:55;;5524:1;5521;5514:12;5473:55;5546:79;5621:3;5612:6;5599:20;5592:4;5584:6;5580:17;5546:79;:::i;5636:539::-;5722:6;5730;5783:2;5771:9;5762:7;5758:23;5754:32;5751:52;;;5799:1;5796;5789:12;5751:52;5839:9;5826:23;-1:-1:-1;;;;;5909:2:1;5901:6;5898:14;5895:34;;;5925:1;5922;5915:12;5895:34;5948:49;5989:7;5980:6;5969:9;5965:22;5948:49;:::i;:::-;5938:59;;6050:2;6039:9;6035:18;6022:32;6006:48;;6079:2;6069:8;6066:16;6063:36;;;6095:1;6092;6085:12;6063:36;;6118:51;6161:7;6150:8;6139:9;6135:24;6118:51;:::i;:::-;6108:61;;;5636:539;;;;;:::o;6180:456::-;6257:6;6265;6273;6326:2;6314:9;6305:7;6301:23;6297:32;6294:52;;;6342:1;6339;6332:12;6294:52;6381:9;6368:23;6400:31;6425:5;6400:31;:::i;:::-;6450:5;-1:-1:-1;6507:2:1;6492:18;;6479:32;6520:33;6479:32;6520:33;:::i;:::-;6180:456;;6572:7;;-1:-1:-1;;;6626:2:1;6611:18;;;;6598:32;;6180:456::o;6641:248::-;6709:6;6717;6770:2;6758:9;6749:7;6745:23;6741:32;6738:52;;;6786:1;6783;6776:12;6738:52;-1:-1:-1;;6809:23:1;;;6879:2;6864:18;;;6851:32;;-1:-1:-1;6641:248:1:o;6894:319::-;6961:6;6969;7022:2;7010:9;7001:7;6997:23;6993:32;6990:52;;;7038:1;7035;7028:12;6990:52;7077:9;7064:23;7096:31;7121:5;7096:31;:::i;:::-;7146:5;-1:-1:-1;7170:37:1;7203:2;7188:18;;7170:37;:::i;:::-;7160:47;;6894:319;;;;;:::o;7218:402::-;7300:6;7308;7361:2;7349:9;7340:7;7336:23;7332:32;7329:52;;;7377:1;7374;7367:12;7329:52;7416:9;7403:23;7435:31;7460:5;7435:31;:::i;:::-;7485:5;-1:-1:-1;7542:2:1;7527:18;;7514:32;7555:33;7514:32;7555:33;:::i;7625:450::-;7694:6;7747:2;7735:9;7726:7;7722:23;7718:32;7715:52;;;7763:1;7760;7753:12;7715:52;7803:9;7790:23;-1:-1:-1;;;;;7828:6:1;7825:30;7822:50;;;7868:1;7865;7858:12;7822:50;7891:22;;7944:4;7936:13;;7932:27;-1:-1:-1;7922:55:1;;7973:1;7970;7963:12;7922:55;7996:73;8061:7;8056:2;8043:16;8038:2;8034;8030:11;7996:73;:::i;8080:615::-;8166:6;8174;8227:2;8215:9;8206:7;8202:23;8198:32;8195:52;;;8243:1;8240;8233:12;8195:52;8283:9;8270:23;-1:-1:-1;;;;;8353:2:1;8345:6;8342:14;8339:34;;;8369:1;8366;8359:12;8339:34;8407:6;8396:9;8392:22;8382:32;;8452:7;8445:4;8441:2;8437:13;8433:27;8423:55;;8474:1;8471;8464:12;8423:55;8514:2;8501:16;8540:2;8532:6;8529:14;8526:34;;;8556:1;8553;8546:12;8526:34;8609:7;8604:2;8594:6;8591:1;8587:14;8583:2;8579:23;8575:32;8572:45;8569:65;;;8630:1;8627;8620:12;8569:65;8661:2;8653:11;;;;;8683:6;;-1:-1:-1;8080:615:1;;-1:-1:-1;;;;8080:615:1:o;8700:349::-;8784:12;;-1:-1:-1;;;;;8780:38:1;8768:51;;8872:4;8861:16;;;8855:23;-1:-1:-1;;;;;8851:48:1;8835:14;;;8828:72;8963:4;8952:16;;;8946:23;8939:31;8932:39;8916:14;;;8909:63;9025:4;9014:16;;;9008:23;9033:8;9004:38;8988:14;;8981:62;8700:349::o;9054:724::-;9289:2;9341:21;;;9411:13;;9314:18;;;9433:22;;;9260:4;;9289:2;9512:15;;;;9486:2;9471:18;;;9260:4;9555:197;9569:6;9566:1;9563:13;9555:197;;;9618:52;9666:3;9657:6;9651:13;9618:52;:::i;:::-;9727:15;;;;9699:4;9690:14;;;;;9591:1;9584:9;9555:197;;9783:632;9954:2;10006:21;;;10076:13;;9979:18;;;10098:22;;;9925:4;;9954:2;10177:15;;;;10151:2;10136:18;;;9925:4;10220:169;10234:6;10231:1;10228:13;10220:169;;;10295:13;;10283:26;;10364:15;;;;10329:12;;;;10256:1;10249:9;10220:169;;10420:383;10497:6;10505;10513;10566:2;10554:9;10545:7;10541:23;10537:32;10534:52;;;10582:1;10579;10572:12;10534:52;10621:9;10608:23;10640:31;10665:5;10640:31;:::i;:::-;10690:5;10742:2;10727:18;;10714:32;;-1:-1:-1;10793:2:1;10778:18;;;10765:32;;10420:383;-1:-1:-1;;;10420:383:1:o;10808:118::-;10894:5;10887:13;10880:21;10873:5;10870:32;10860:60;;10916:1;10913;10906:12;10931:382;10996:6;11004;11057:2;11045:9;11036:7;11032:23;11028:32;11025:52;;;11073:1;11070;11063:12;11025:52;11112:9;11099:23;11131:31;11156:5;11131:31;:::i;:::-;11181:5;-1:-1:-1;11238:2:1;11223:18;;11210:32;11251:30;11210:32;11251:30;:::i;11318:184::-;11376:6;11429:2;11417:9;11408:7;11404:23;11400:32;11397:52;;;11445:1;11442;11435:12;11397:52;11468:28;11486:9;11468:28;:::i;11507:665::-;11602:6;11610;11618;11626;11679:3;11667:9;11658:7;11654:23;11650:33;11647:53;;;11696:1;11693;11686:12;11647:53;11735:9;11722:23;11754:31;11779:5;11754:31;:::i;:::-;11804:5;-1:-1:-1;11861:2:1;11846:18;;11833:32;11874:33;11833:32;11874:33;:::i;:::-;11926:7;-1:-1:-1;11980:2:1;11965:18;;11952:32;;-1:-1:-1;12035:2:1;12020:18;;12007:32;-1:-1:-1;;;;;12051:30:1;;12048:50;;;12094:1;12091;12084:12;12048:50;12117:49;12158:7;12149:6;12138:9;12134:22;12117:49;:::i;:::-;12107:59;;;11507:665;;;;;;;:::o;12177:268::-;12375:3;12360:19;;12388:51;12364:9;12421:6;12388:51;:::i;12450:256::-;12516:6;12524;12577:2;12565:9;12556:7;12552:23;12548:32;12545:52;;;12593:1;12590;12583:12;12545:52;12616:28;12634:9;12616:28;:::i;13370:380::-;13449:1;13445:12;;;;13492;;;13513:61;;13567:4;13559:6;13555:17;13545:27;;13513:61;13620:2;13612:6;13609:14;13589:18;13586:38;13583:161;;13666:10;13661:3;13657:20;13654:1;13647:31;13701:4;13698:1;13691:15;13729:4;13726:1;13719:15;13583:161;;13370:380;;;:::o;14094:127::-;14155:10;14150:3;14146:20;14143:1;14136:31;14186:4;14183:1;14176:15;14210:4;14207:1;14200:15;14226:125;14291:9;;;14312:10;;;14309:36;;;14325:18;;:::i;14356:353::-;14558:2;14540:21;;;14597:2;14577:18;;;14570:30;14636:31;14631:2;14616:18;;14609:59;14700:2;14685:18;;14356:353::o;15431:402::-;15633:2;15615:21;;;15672:2;15652:18;;;15645:30;15711:34;15706:2;15691:18;;15684:62;-1:-1:-1;;;15777:2:1;15762:18;;15755:36;15823:3;15808:19;;15431:402::o;15838:407::-;16040:2;16022:21;;;16079:2;16059:18;;;16052:30;16118:34;16113:2;16098:18;;16091:62;-1:-1:-1;;;16184:2:1;16169:18;;16162:41;16235:3;16220:19;;15838:407::o;16537:287::-;16666:3;16704:6;16698:13;16720:66;16779:6;16774:3;16767:4;16759:6;16755:17;16720:66;:::i;:::-;16802:16;;;;;16537:287;-1:-1:-1;;16537:287:1:o;17214:168::-;17254:7;17320:1;17316;17312:6;17308:14;17305:1;17302:21;17297:1;17290:9;17283:17;17279:45;17276:71;;;17327:18;;:::i;:::-;-1:-1:-1;17367:9:1;;17214:168::o;17387:127::-;17448:10;17443:3;17439:20;17436:1;17429:31;17479:4;17476:1;17469:15;17503:4;17500:1;17493:15;17519:120;17559:1;17585;17575:35;;17590:18;;:::i;:::-;-1:-1:-1;17624:9:1;;17519:120::o;18198:545::-;18300:2;18295:3;18292:11;18289:448;;;18336:1;18361:5;18357:2;18350:17;18406:4;18402:2;18392:19;18476:2;18464:10;18460:19;18457:1;18453:27;18447:4;18443:38;18512:4;18500:10;18497:20;18494:47;;;-1:-1:-1;18535:4:1;18494:47;18590:2;18585:3;18581:12;18578:1;18574:20;18568:4;18564:31;18554:41;;18645:82;18663:2;18656:5;18653:13;18645:82;;;18708:17;;;18689:1;18678:13;18645:82;;18919:1352;19045:3;19039:10;-1:-1:-1;;;;;19064:6:1;19061:30;19058:56;;;19094:18;;:::i;:::-;19123:97;19213:6;19173:38;19205:4;19199:11;19173:38;:::i;:::-;19167:4;19123:97;:::i;:::-;19275:4;;19339:2;19328:14;;19356:1;19351:663;;;;20058:1;20075:6;20072:89;;;-1:-1:-1;20127:19:1;;;20121:26;20072:89;-1:-1:-1;;18876:1:1;18872:11;;;18868:24;18864:29;18854:40;18900:1;18896:11;;;18851:57;20174:81;;19321:944;;19351:663;18145:1;18138:14;;;18182:4;18169:18;;-1:-1:-1;;19387:20:1;;;19505:236;19519:7;19516:1;19513:14;19505:236;;;19608:19;;;19602:26;19587:42;;19700:27;;;;19668:1;19656:14;;;;19535:19;;19505:236;;;19509:3;19769:6;19760:7;19757:19;19754:201;;;19830:19;;;19824:26;-1:-1:-1;;19913:1:1;19909:14;;;19925:3;19905:24;19901:37;19897:42;19882:58;19867:74;;19754:201;-1:-1:-1;;;;;20001:1:1;19985:14;;;19981:22;19968:36;;-1:-1:-1;18919:1352:1:o;20276:127::-;20337:10;20332:3;20328:20;20325:1;20318:31;20368:4;20365:1;20358:15;20392:4;20389:1;20382:15;22184:184;22254:6;22307:2;22295:9;22286:7;22282:23;22278:32;22275:52;;;22323:1;22320;22313:12;22275:52;-1:-1:-1;22346:16:1;;22184:184;-1:-1:-1;22184:184:1:o;22789:663::-;23069:3;23107:6;23101:13;23123:66;23182:6;23177:3;23170:4;23162:6;23158:17;23123:66;:::i;:::-;23252:13;;23211:16;;;;23274:70;23252:13;23211:16;23321:4;23309:17;;23274:70;:::i;:::-;-1:-1:-1;;;23366:20:1;;23395:22;;;23444:1;23433:13;;22789:663;-1:-1:-1;;;;22789:663:1:o;27759:175::-;27827:10;27870;;;27858;;;27854:27;;27893:12;;;27890:38;;;27908:18;;:::i;:::-;27890:38;27759:175;;;;:::o;29693:128::-;29760:9;;;29781:11;;;29778:37;;;29795:18;;:::i;29826:489::-;-1:-1:-1;;;;;30095:15:1;;;30077:34;;30147:15;;30142:2;30127:18;;30120:43;30194:2;30179:18;;30172:34;;;30242:3;30237:2;30222:18;;30215:31;;;30020:4;;30263:46;;30289:19;;30281:6;30263:46;:::i;:::-;30255:54;29826:489;-1:-1:-1;;;;;;29826:489:1:o;30320:249::-;30389:6;30442:2;30430:9;30421:7;30417:23;30413:32;30410:52;;;30458:1;30455;30448:12;30410:52;30490:9;30484:16;30509:30;30533:5;30509:30;:::i;30574:135::-;30613:3;30634:17;;;30631:43;;30654:18;;:::i;:::-;-1:-1:-1;30701:1:1;30690:13;;30574:135::o;30714:112::-;30746:1;30772;30762:35;;30777:18;;:::i;:::-;-1:-1:-1;30811:9:1;;30714:112::o;31184:245::-;31251:6;31304:2;31292:9;31283:7;31279:23;31275:32;31272:52;;;31320:1;31317;31310:12;31272:52;31352:9;31346:16;31371:28;31393:5;31371:28;:::i
Swarm Source
ipfs://39b606f931c8a5e367823b0577d08f39dd9635f775c4d4b0812e7705e05c06c4
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.