ERC-721
Overview
Max Total Supply
278 HAKIRO
Holders
130
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 HAKIROLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Hakiro
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "./DefaultOperatorFilterer.sol"; /* * @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); } } } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } 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); } 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); } 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); } 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"); } } } 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); } } 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); } } library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } 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_); } } /** * @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 1; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } contract Hakiro is Ownable, ERC721A, PaymentSplitter, DefaultOperatorFilterer { using ECDSA for bytes32; using Strings for uint; address private signerAddressWL; enum Step { Before, PublicSale, WhitelistSale, SoldOut, Reveal } string public baseURI; Step public sellingStep; uint private constant MAX_PUBLIC = 1111; uint private constant MAX_WL = 1111; uint public wlSalePrice = 0.0045 ether; uint public publicSalePrice = 0.0055 ether; mapping(address => uint) public mintedAmountNFTsperWalletWhitelistSale; mapping(address => uint) public mintedAmountNFTsperWalletPublicSale; uint public maxMintAmountPerWhitelist = 2; uint public maxMintAmountPerPublic = 2; uint private teamLength; constructor(address[] memory _team, uint[] memory _teamShares, address _signerAddressWL, string memory _baseURI) ERC721A("Hakiro", "HAKIRO") PaymentSplitter(_team, _teamShares) { signerAddressWL = _signerAddressWL; baseURI = _baseURI; teamLength = _team.length; } function mintForOpensea() external onlyOwner{ if(totalSupply() != 0) revert("Only five mint for deployer"); _mint(msg.sender, 30); } function publicSaleMint(uint _quantity) external payable { uint price = publicSalePrice; if(price <= 0) revert("Price is 0"); if(sellingStep != Step.PublicSale) revert("Public Mint not live."); if(totalSupply() + _quantity > (MAX_PUBLIC)) revert("Max supply exceeded for public exceeded"); if(msg.value < price * _quantity) revert("Not enough funds"); if(mintedAmountNFTsperWalletPublicSale[msg.sender] + _quantity > maxMintAmountPerPublic) revert("Max exceeded"); mintedAmountNFTsperWalletPublicSale[msg.sender] += _quantity; _mint(msg.sender, _quantity); } function WLMint(uint _quantity, bytes calldata signature) external payable { uint price = wlSalePrice; if(price <= 0) revert("Price is 0"); if(sellingStep != Step.WhitelistSale) revert("WL Mint not live."); if(totalSupply() + _quantity > (MAX_PUBLIC + MAX_WL)) revert("Max supply exceeded for WL exceeded"); if(msg.value < price * _quantity) revert("Not enough funds"); if(signerAddressWL != keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", bytes32(uint256(uint160(msg.sender))) ) ).recover(signature)) revert("You are not in WL whitelist"); if(mintedAmountNFTsperWalletWhitelistSale[msg.sender] + _quantity > maxMintAmountPerWhitelist) revert("You can only get 2 NFT on the Whitelist Sale"); mintedAmountNFTsperWalletWhitelistSale[msg.sender] += _quantity; _mint(msg.sender, _quantity); } function transferFrom(address from, address to, uint256 tokenId) public override(ERC721A) onlyAllowedOperator { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override(ERC721A) onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override(ERC721A) onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId, data); } function currentState() external view returns (Step, uint, uint, uint, uint) { return (sellingStep, publicSalePrice, wlSalePrice, maxMintAmountPerWhitelist, maxMintAmountPerPublic); } function changeWlSalePrice(uint256 new_price) external onlyOwner{ wlSalePrice = new_price; } function changePublicSalePrice(uint256 new_price) external onlyOwner{ publicSalePrice = new_price; } function setBaseUri(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setStep(uint _step) external onlyOwner { sellingStep = Step(_step); } function setMaxMintPerWhitelist(uint amount) external onlyOwner{ maxMintAmountPerWhitelist = amount; } function setMaxMintPerPublic(uint amount) external onlyOwner{ maxMintAmountPerPublic = amount; } function getNumberMinted(address account) external view returns (uint256) { return _numberMinted(account); } function getNumberWLMinted(address account) external view returns (uint256) { return mintedAmountNFTsperWalletWhitelistSale[account]; } function getNumberPublicMinted(address account) external view returns (uint256) { return mintedAmountNFTsperWalletPublicSale[account]; } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, _toString(_tokenId), ".json")); } function releaseAll() external { for(uint i = 0 ; i < teamLength ; i++) { release(payable(payee(i))); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ```solidity * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {EnumerableSet} from "./EnumerableSet.sol"; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator() virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"},{"internalType":"address","name":"_signerAddressWL","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"WLMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"new_price","type":"uint256"}],"name":"changePublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"new_price","type":"uint256"}],"name":"changeWlSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentState","outputs":[{"internalType":"enum Hakiro.Step","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberPublicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberWLMinted","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":[],"name":"maxMintAmountPerPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintForOpensea","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletWhitelistSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"sellingStep","outputs":[{"internalType":"enum Hakiro.Step","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052660ffcb9e57d400060135566138a388a43c000601455600260175560026018553480156200003157600080fd5b50604051620039513803806200395183398101604081905262000054916200076b565b733cc6cdda760b79bafa08df41ecfa224f810dceb6600185856040518060400160405280600681526020016548616b69726f60d01b8152506040518060400160405280600681526020016548414b49524f60d01b815250620000c5620000bf6200039d60201b60201c565b620003a1565b6003620000d3838262000904565b506004620000e2828262000904565b5060018055505080518251146200015b5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001ae5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000152565b60005b82518110156200021a5762000205838281518110620001d457620001d4620009d0565b6020026020010151838381518110620001f157620001f1620009d0565b6020026020010151620003f160201b60201c565b806200021181620009fc565b915050620001b1565b5050506daaeb6d7670e522a718067333cd4e3b1562000362578015620002b057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200029157600080fd5b505af1158015620002a6573d6000803e3d6000fd5b5050505062000362565b6001600160a01b03821615620003015760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000276565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200034857600080fd5b505af11580156200035d573d6000803e3d6000fd5b505050505b5050601080546001600160a01b0319166001600160a01b03841617905560116200038d828262000904565b505091516019555062000a349050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200045e5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000152565b60008111620004b05760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000152565b6001600160a01b0382166000908152600b6020526040902054156200052c5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000152565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b602052604090208190556009546200059690829062000a18565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620006205762000620620005df565b604052919050565b60006001600160401b03821115620006445762000644620005df565b5060051b60200190565b80516001600160a01b03811681146200066657600080fd5b919050565b600082601f8301126200067d57600080fd5b8151602062000696620006908362000628565b620005f5565b82815260059290921b84018101918181019086841115620006b657600080fd5b8286015b84811015620006d35780518352918301918301620006ba565b509695505050505050565b600082601f830112620006f057600080fd5b81516001600160401b038111156200070c576200070c620005df565b602062000722601f8301601f19168201620005f5565b82815285828487010111156200073757600080fd5b60005b83811015620007575785810183015182820184015282016200073a565b506000928101909101919091529392505050565b600080600080608085870312156200078257600080fd5b84516001600160401b03808211156200079a57600080fd5b818701915087601f830112620007af57600080fd5b81516020620007c2620006908362000628565b82815260059290921b8401810191818101908b841115620007e257600080fd5b948201945b838610156200080b57620007fb866200064e565b82529482019490820190620007e7565b918a01519198509093505050808211156200082557600080fd5b62000833888389016200066b565b945062000843604088016200064e565b935060608701519150808211156200085a57600080fd5b506200086987828801620006de565b91505092959194509250565b600181811c908216806200088a57607f821691505b602082108103620008ab57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008ff57600081815260208120601f850160051c81016020861015620008da5750805b601f850160051c820191505b81811015620008fb57828155600101620008e6565b5050505b505050565b81516001600160401b03811115620009205762000920620005df565b620009388162000931845462000875565b84620008b1565b602080601f831160018114620009705760008415620009575750858301515b600019600386901b1c1916600185901b178555620008fb565b600085815260208120601f198616915b82811015620009a15788860151825594840194600190910190840162000980565b5085821015620009c05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820162000a115762000a11620009e6565b5060010190565b8082018082111562000a2e5762000a2e620009e6565b92915050565b612f0d8062000a446000396000f3fe6080604052600436106102cc5760003560e01c80637f16053a11610175578063b9bbe00a116100dc578063d0cd8e6911610095578063e985e9c51161006f578063e985e9c514610935578063ea9004751461097e578063f2fde38b146109b4578063f8dcbddb146109d457600080fd5b8063d0cd8e69146108bd578063d79779b2146108ea578063e33b7de31461092057600080fd5b8063b9bbe00a146107de578063c45ac0501461080b578063c87b56dd1461082b578063c893575a1461084b578063cbccefb214610860578063ce7c2ac21461088757600080fd5b80639b6860c81161012e5780639b6860c814610735578063a0bcfc7f1461074b578063a22cb4651461076b578063a3f8eace1461078b578063b3ab66b0146107ab578063b88d4fde146107be57600080fd5b80637f16053a146106565780638a59a7fd1461068c5780638b83209b146106ac5780638da5cb5b146106cc57806395d89b41146106ea5780639852595c146106ff57600080fd5b806342842e0e116102345780635b2fda67116101ed5780636c0360eb116101c75780636c0360eb146105f657806370a082311461060b578063715018a61461062b578063734c66bd1461064057600080fd5b80635b2fda67146105ae5780635be7fde8146105c15780636352211e146105d657600080fd5b806342842e0e146104f857806348b750441461051857806349e949e7146105385780634ef22ea9146105585780634fda72851461056e57806359d20e611461058e57600080fd5b806318160ddd1161028657806318160ddd1461041b578063191655871461044757806323b872dd146104675780632cefffa7146104875780633a98ef391461049d578063406072a9146104b257600080fd5b8062eb70131461031a57806301ffc9a71461033c57806306fdde0314610371578063081812fc14610393578063095ea7b3146103cb5780630c3f6acf146103eb57600080fd5b36610315577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561032657600080fd5b5061033a610335366004612715565b6109f4565b005b34801561034857600080fd5b5061035c610357366004612744565b610a01565b60405190151581526020015b60405180910390f35b34801561037d57600080fd5b50610386610a53565b60405161036891906127b1565b34801561039f57600080fd5b506103b36103ae366004612715565b610ae5565b6040516001600160a01b039091168152602001610368565b3480156103d757600080fd5b5061033a6103e63660046127d9565b610b29565b3480156103f757600080fd5b506012546014546013546017546018546040516103689560ff16949392919061283d565b34801561042757600080fd5b50610439600254600154036000190190565b604051908152602001610368565b34801561045357600080fd5b5061033a61046236600461286d565b610bc9565b34801561047357600080fd5b5061033a61048236600461288a565b610ccb565b34801561049357600080fd5b5061043960175481565b3480156104a957600080fd5b50600954610439565b3480156104be57600080fd5b506104396104cd3660046128cb565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561050457600080fd5b5061033a61051336600461288a565b610d84565b34801561052457600080fd5b5061033a6105333660046128cb565b610e38565b34801561054457600080fd5b5061033a610553366004612715565b610f5b565b34801561056457600080fd5b5061043960185481565b34801561057a57600080fd5b5061033a610589366004612715565b610f68565b34801561059a57600080fd5b5061033a6105a9366004612715565b610f75565b61033a6105bc366004612904565b610f82565b3480156105cd57600080fd5b5061033a611290565b3480156105e257600080fd5b506103b36105f1366004612715565b6112be565b34801561060257600080fd5b506103866112c9565b34801561061757600080fd5b5061043961062636600461286d565b611357565b34801561063757600080fd5b5061033a6113a6565b34801561064c57600080fd5b5061043960135481565b34801561066257600080fd5b5061043961067136600461286d565b6001600160a01b031660009081526016602052604090205490565b34801561069857600080fd5b506104396106a736600461286d565b6113ba565b3480156106b857600080fd5b506103b36106c7366004612715565b6113e5565b3480156106d857600080fd5b506000546001600160a01b03166103b3565b3480156106f657600080fd5b50610386611415565b34801561070b57600080fd5b5061043961071a36600461286d565b6001600160a01b03166000908152600c602052604090205490565b34801561074157600080fd5b5061043960145481565b34801561075757600080fd5b5061033a610766366004612a0c565b611424565b34801561077757600080fd5b5061033a610786366004612a63565b61143c565b34801561079757600080fd5b506104396107a636600461286d565b6114d1565b61033a6107b9366004612715565b611519565b3480156107ca57600080fd5b5061033a6107d9366004612a91565b611707565b3480156107ea57600080fd5b506104396107f936600461286d565b60166020526000908152604090205481565b34801561081757600080fd5b506104396108263660046128cb565b6117bc565b34801561083757600080fd5b50610386610846366004612715565b611887565b34801561085757600080fd5b5061033a611910565b34801561086c57600080fd5b5060125461087a9060ff1681565b6040516103689190612b11565b34801561089357600080fd5b506104396108a236600461286d565b6001600160a01b03166000908152600b602052604090205490565b3480156108c957600080fd5b506104396108d836600461286d565b60156020526000908152604090205481565b3480156108f657600080fd5b5061043961090536600461286d565b6001600160a01b03166000908152600e602052604090205490565b34801561092c57600080fd5b50600a54610439565b34801561094157600080fd5b5061035c6109503660046128cb565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561098a57600080fd5b5061043961099936600461286d565b6001600160a01b031660009081526015602052604090205490565b3480156109c057600080fd5b5061033a6109cf36600461286d565b611981565b3480156109e057600080fd5b5061033a6109ef366004612715565b6119f7565b6109fc611a35565b601755565b60006301ffc9a760e01b6001600160e01b031983161480610a3257506380ac58cd60e01b6001600160e01b03198316145b80610a4d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060038054610a6290612b1f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8e90612b1f565b8015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af082611a8f565b610b0d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610b34826112be565b9050336001600160a01b03821614610b6d57610b508133610950565b610b6d576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610c075760405162461bcd60e51b8152600401610bfe90612b59565b60405180910390fd5b6000610c12826114d1565b905080600003610c345760405162461bcd60e51b8152600401610bfe90612b9f565b6001600160a01b0382166000908152600c602052604081208054839290610c5c908490612c00565b9250508190555080600a6000828254610c759190612c00565b90915550610c8590508282611ac4565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6daaeb6d7670e522a718067333cd4e3b15610d7457604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610d31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d559190612c13565b610d7457604051633b79c77360e21b8152336004820152602401610bfe565b610d7f838383611bdd565b505050565b6daaeb6d7670e522a718067333cd4e3b15610e2d57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610dea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0e9190612c13565b610e2d57604051633b79c77360e21b8152336004820152602401610bfe565b610d7f838383611d76565b6001600160a01b0381166000908152600b6020526040902054610e6d5760405162461bcd60e51b8152600401610bfe90612b59565b6000610e7983836117bc565b905080600003610e9b5760405162461bcd60e51b8152600401610bfe90612b9f565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290610ed2908490612c00565b90915550506001600160a01b0383166000908152600e602052604081208054839290610eff908490612c00565b90915550610f109050838383611d91565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610f63611a35565b601855565b610f70611a35565b601455565b610f7d611a35565b601355565b60135480610fbf5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610bfe565b600260125460ff166004811115610fd857610fd8612805565b146110195760405162461bcd60e51b81526020600482015260116024820152702ba61026b4b73a103737ba103634bb329760791b6044820152606401610bfe565b61102561045780612c00565b84611037600254600154036000190190565b6110419190612c00565b111561109b5760405162461bcd60e51b815260206004820152602360248201527f4d617820737570706c7920657863656564656420666f7220574c20657863656560448201526219195960ea1b6064820152608401610bfe565b6110a58482612c30565b3410156110e75760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610bfe565b61117d83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c0191506111599050565b60405160208183030381529060405280519060200120611de390919063ffffffff16565b6010546001600160a01b039081169116146111da5760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420696e20574c2077686974656c69737400000000006044820152606401610bfe565b601754336000908152601560205260409020546111f8908690612c00565b111561125b5760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206f6e6c79206765742032204e4654206f6e2074686520576860448201526b6974656c6973742053616c6560a01b6064820152608401610bfe565b336000908152601560205260408120805486929061127a908490612c00565b9091555061128a90503385611e07565b50505050565b60005b6019548110156112bb576112a9610462826113e5565b806112b381612c47565b915050611293565b50565b6000610a4d82611f05565b601180546112d690612b1f565b80601f016020809104026020016040519081016040528092919081815260200182805461130290612b1f565b801561134f5780601f106113245761010080835404028352916020019161134f565b820191906000526020600020905b81548152906001019060200180831161133257829003601f168201915b505050505081565b60006001600160a01b038216611380576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6113ae611a35565b6113b86000611f74565b565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16610a4d565b6000600d82815481106113fa576113fa612c60565b6000918252602090912001546001600160a01b031692915050565b606060048054610a6290612b1f565b61142c611a35565b60116114388282612cbc565b5050565b336001600160a01b038316036114655760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806114dd600a5490565b6114e79047612c00565b9050611512838261150d866001600160a01b03166000908152600c602052604090205490565b611fc4565b9392505050565b601454806115565760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610bfe565b600160125460ff16600481111561156f5761156f612805565b146115b45760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610bfe565b610457826115c9600254600154036000190190565b6115d39190612c00565b11156116315760405162461bcd60e51b815260206004820152602760248201527f4d617820737570706c7920657863656564656420666f72207075626c696320656044820152661e18d95959195960ca1b6064820152608401610bfe565b61163b8282612c30565b34101561167d5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610bfe565b6018543360009081526016602052604090205461169b908490612c00565b11156116d85760405162461bcd60e51b815260206004820152600c60248201526b13585e08195e18d95959195960a21b6044820152606401610bfe565b33600090815260166020526040812080548492906116f7908490612c00565b9091555061143890503383611e07565b6daaeb6d7670e522a718067333cd4e3b156117b057604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561176d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117919190612c13565b6117b057604051633b79c77360e21b8152336004820152602401610bfe565b61128a84848484612002565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa15801561181b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183f9190612d7c565b6118499190612c00565b6001600160a01b038086166000908152600f602090815260408083209388168352929052205490915061187f9084908390611fc4565b949350505050565b606061189282611a8f565b6118de5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610bfe565b60116118e983612046565b6040516020016118fa929190612d95565b6040516020818303038152906040529050919050565b611918611a35565b611929600254600154036000190190565b156119765760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792066697665206d696e7420666f72206465706c6f79657200000000006044820152606401610bfe565b6113b833601e611e07565b611989611a35565b6001600160a01b0381166119ee5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bfe565b6112bb81611f74565b6119ff611a35565b806004811115611a1157611a11612805565b6012805460ff19166001836004811115611a2d57611a2d612805565b021790555050565b6000546001600160a01b031633146113b85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bfe565b600081600111158015611aa3575060015482105b8015610a4d575050600090815260056020526040902054600160e01b161590565b80471015611b145760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bfe565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b61576040519150601f19603f3d011682016040523d82523d6000602084013e611b66565b606091505b5050905080610d7f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bfe565b6000611be882611f05565b9050836001600160a01b0316816001600160a01b031614611c1b5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417611c6857611c4b8633610950565b611c6857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611c8f57604051633a954ecd60e21b815260040160405180910390fd5b8015611c9a57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003611d2c57600184016000818152600560205260408120549003611d2a576001548114611d2a5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d7f83838360405180602001604052806000815250611707565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d7f908490612095565b6000806000611df28585612167565b91509150611dff816121d5565b509392505050565b6001546000829003611e2c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611edb57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611ea3565b5081600003611efc57604051622e076360e81b815260040160405180910390fd5b60015550505050565b60008180600111611f5b57600154811015611f5b5760008181526005602052604081205490600160e01b82169003611f59575b80600003611512575060001901600081815260056020526040902054611f38565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b602052604081205490918391611fee9086612c30565b611ff89190612e2c565b61187f9190612e4e565b61200d848484610ccb565b6001600160a01b0383163b1561128a576120298484848461238b565b61128a576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810191829052607f0190826030600a8206018353600a90045b801561208357600183039250600a81066030018353600a9004612065565b50819003601f19909101908152919050565b60006120ea826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166124769092919063ffffffff16565b805190915015610d7f57808060200190518101906121089190612c13565b610d7f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610bfe565b600080825160410361219d5760208301516040840151606085015160001a61219187828585612485565b945094505050506121ce565b82516040036121c657602083015160408401516121bb868383612572565b9350935050506121ce565b506000905060025b9250929050565b60008160048111156121e9576121e9612805565b036121f15750565b600181600481111561220557612205612805565b036122525760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bfe565b600281600481111561226657612266612805565b036122b35760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bfe565b60038160048111156122c7576122c7612805565b0361231f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bfe565b600481600481111561233357612333612805565b036112bb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bfe565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906123c0903390899088908890600401612e61565b6020604051808303816000875af19250505080156123fb575060408051601f3d908101601f191682019092526123f891810190612e9e565b60015b612459573d808015612429576040519150601f19603f3d011682016040523d82523d6000602084013e61242e565b606091505b508051600003612451576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606061187f84846000856125ab565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156124bc5750600090506003612569565b8460ff16601b141580156124d457508460ff16601c14155b156124e55750600090506004612569565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612539573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661256257600060019250925050612569565b9150600090505b94509492505050565b6000806001600160ff1b0383168161258f60ff86901c601b612c00565b905061259d87828885612485565b935093505050935093915050565b60608247101561260c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610bfe565b6001600160a01b0385163b6126635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bfe565b600080866001600160a01b0316858760405161267f9190612ebb565b60006040518083038185875af1925050503d80600081146126bc576040519150601f19603f3d011682016040523d82523d6000602084013e6126c1565b606091505b50915091506126d18282866126dc565b979650505050505050565b606083156126eb575081611512565b8251156126fb5782518084602001fd5b8160405162461bcd60e51b8152600401610bfe91906127b1565b60006020828403121561272757600080fd5b5035919050565b6001600160e01b0319811681146112bb57600080fd5b60006020828403121561275657600080fd5b81356115128161272e565b60005b8381101561277c578181015183820152602001612764565b50506000910152565b6000815180845261279d816020860160208601612761565b601f01601f19169290920160200192915050565b6020815260006115126020830184612785565b6001600160a01b03811681146112bb57600080fd5b600080604083850312156127ec57600080fd5b82356127f7816127c4565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b6005811061283957634e487b7160e01b600052602160045260246000fd5b9052565b60a0810161284b828861281b565b8560208301528460408301528360608301528260808301529695505050505050565b60006020828403121561287f57600080fd5b8135611512816127c4565b60008060006060848603121561289f57600080fd5b83356128aa816127c4565b925060208401356128ba816127c4565b929592945050506040919091013590565b600080604083850312156128de57600080fd5b82356128e9816127c4565b915060208301356128f9816127c4565b809150509250929050565b60008060006040848603121561291957600080fd5b83359250602084013567ffffffffffffffff8082111561293857600080fd5b818601915086601f83011261294c57600080fd5b81358181111561295b57600080fd5b87602082850101111561296d57600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156129b1576129b1612980565b604051601f8501601f19908116603f011681019082821181831017156129d9576129d9612980565b816040528093508581528686860111156129f257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612a1e57600080fd5b813567ffffffffffffffff811115612a3557600080fd5b8201601f81018413612a4657600080fd5b61187f84823560208401612996565b80151581146112bb57600080fd5b60008060408385031215612a7657600080fd5b8235612a81816127c4565b915060208301356128f981612a55565b60008060008060808587031215612aa757600080fd5b8435612ab2816127c4565b93506020850135612ac2816127c4565b925060408501359150606085013567ffffffffffffffff811115612ae557600080fd5b8501601f81018713612af657600080fd5b612b0587823560208401612996565b91505092959194509250565b60208101610a4d828461281b565b600181811c90821680612b3357607f821691505b602082108103612b5357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a4d57610a4d612bea565b600060208284031215612c2557600080fd5b815161151281612a55565b8082028115828204841417610a4d57610a4d612bea565b600060018201612c5957612c59612bea565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610d7f57600081815260208120601f850160051c81016020861015612c9d5750805b601f850160051c820191505b81811015611d6e57828155600101612ca9565b815167ffffffffffffffff811115612cd657612cd6612980565b612cea81612ce48454612b1f565b84612c76565b602080601f831160018114612d1f5760008415612d075750858301515b600019600386901b1c1916600185901b178555611d6e565b600085815260208120601f198616915b82811015612d4e57888601518255948401946001909101908401612d2f565b5085821015612d6c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612d8e57600080fd5b5051919050565b6000808454612da381612b1f565b60018281168015612dbb5760018114612dd057612dff565b60ff1984168752821515830287019450612dff565b8860005260208060002060005b85811015612df65781548a820152908401908201612ddd565b50505082870194505b505050508351612e13818360208801612761565b64173539b7b760d91b9101908152600501949350505050565b600082612e4957634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a4d57610a4d612bea565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e9490830184612785565b9695505050505050565b600060208284031215612eb057600080fd5b81516115128161272e565b60008251612ecd818460208701612761565b919091019291505056fea26469706673582212203aa226057a4d52ef1a4def4ca3a19bd8b8269b38113ae0bb171933af621b145664736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000a5c0c8e29645dac017ace5b7e3e6322086e77cdc00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c4ecd5da1d1d1a04ff7e98c1b57a8a2010389de10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000046970667300000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102cc5760003560e01c80637f16053a11610175578063b9bbe00a116100dc578063d0cd8e6911610095578063e985e9c51161006f578063e985e9c514610935578063ea9004751461097e578063f2fde38b146109b4578063f8dcbddb146109d457600080fd5b8063d0cd8e69146108bd578063d79779b2146108ea578063e33b7de31461092057600080fd5b8063b9bbe00a146107de578063c45ac0501461080b578063c87b56dd1461082b578063c893575a1461084b578063cbccefb214610860578063ce7c2ac21461088757600080fd5b80639b6860c81161012e5780639b6860c814610735578063a0bcfc7f1461074b578063a22cb4651461076b578063a3f8eace1461078b578063b3ab66b0146107ab578063b88d4fde146107be57600080fd5b80637f16053a146106565780638a59a7fd1461068c5780638b83209b146106ac5780638da5cb5b146106cc57806395d89b41146106ea5780639852595c146106ff57600080fd5b806342842e0e116102345780635b2fda67116101ed5780636c0360eb116101c75780636c0360eb146105f657806370a082311461060b578063715018a61461062b578063734c66bd1461064057600080fd5b80635b2fda67146105ae5780635be7fde8146105c15780636352211e146105d657600080fd5b806342842e0e146104f857806348b750441461051857806349e949e7146105385780634ef22ea9146105585780634fda72851461056e57806359d20e611461058e57600080fd5b806318160ddd1161028657806318160ddd1461041b578063191655871461044757806323b872dd146104675780632cefffa7146104875780633a98ef391461049d578063406072a9146104b257600080fd5b8062eb70131461031a57806301ffc9a71461033c57806306fdde0314610371578063081812fc14610393578063095ea7b3146103cb5780630c3f6acf146103eb57600080fd5b36610315577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561032657600080fd5b5061033a610335366004612715565b6109f4565b005b34801561034857600080fd5b5061035c610357366004612744565b610a01565b60405190151581526020015b60405180910390f35b34801561037d57600080fd5b50610386610a53565b60405161036891906127b1565b34801561039f57600080fd5b506103b36103ae366004612715565b610ae5565b6040516001600160a01b039091168152602001610368565b3480156103d757600080fd5b5061033a6103e63660046127d9565b610b29565b3480156103f757600080fd5b506012546014546013546017546018546040516103689560ff16949392919061283d565b34801561042757600080fd5b50610439600254600154036000190190565b604051908152602001610368565b34801561045357600080fd5b5061033a61046236600461286d565b610bc9565b34801561047357600080fd5b5061033a61048236600461288a565b610ccb565b34801561049357600080fd5b5061043960175481565b3480156104a957600080fd5b50600954610439565b3480156104be57600080fd5b506104396104cd3660046128cb565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561050457600080fd5b5061033a61051336600461288a565b610d84565b34801561052457600080fd5b5061033a6105333660046128cb565b610e38565b34801561054457600080fd5b5061033a610553366004612715565b610f5b565b34801561056457600080fd5b5061043960185481565b34801561057a57600080fd5b5061033a610589366004612715565b610f68565b34801561059a57600080fd5b5061033a6105a9366004612715565b610f75565b61033a6105bc366004612904565b610f82565b3480156105cd57600080fd5b5061033a611290565b3480156105e257600080fd5b506103b36105f1366004612715565b6112be565b34801561060257600080fd5b506103866112c9565b34801561061757600080fd5b5061043961062636600461286d565b611357565b34801561063757600080fd5b5061033a6113a6565b34801561064c57600080fd5b5061043960135481565b34801561066257600080fd5b5061043961067136600461286d565b6001600160a01b031660009081526016602052604090205490565b34801561069857600080fd5b506104396106a736600461286d565b6113ba565b3480156106b857600080fd5b506103b36106c7366004612715565b6113e5565b3480156106d857600080fd5b506000546001600160a01b03166103b3565b3480156106f657600080fd5b50610386611415565b34801561070b57600080fd5b5061043961071a36600461286d565b6001600160a01b03166000908152600c602052604090205490565b34801561074157600080fd5b5061043960145481565b34801561075757600080fd5b5061033a610766366004612a0c565b611424565b34801561077757600080fd5b5061033a610786366004612a63565b61143c565b34801561079757600080fd5b506104396107a636600461286d565b6114d1565b61033a6107b9366004612715565b611519565b3480156107ca57600080fd5b5061033a6107d9366004612a91565b611707565b3480156107ea57600080fd5b506104396107f936600461286d565b60166020526000908152604090205481565b34801561081757600080fd5b506104396108263660046128cb565b6117bc565b34801561083757600080fd5b50610386610846366004612715565b611887565b34801561085757600080fd5b5061033a611910565b34801561086c57600080fd5b5060125461087a9060ff1681565b6040516103689190612b11565b34801561089357600080fd5b506104396108a236600461286d565b6001600160a01b03166000908152600b602052604090205490565b3480156108c957600080fd5b506104396108d836600461286d565b60156020526000908152604090205481565b3480156108f657600080fd5b5061043961090536600461286d565b6001600160a01b03166000908152600e602052604090205490565b34801561092c57600080fd5b50600a54610439565b34801561094157600080fd5b5061035c6109503660046128cb565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561098a57600080fd5b5061043961099936600461286d565b6001600160a01b031660009081526015602052604090205490565b3480156109c057600080fd5b5061033a6109cf36600461286d565b611981565b3480156109e057600080fd5b5061033a6109ef366004612715565b6119f7565b6109fc611a35565b601755565b60006301ffc9a760e01b6001600160e01b031983161480610a3257506380ac58cd60e01b6001600160e01b03198316145b80610a4d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060038054610a6290612b1f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8e90612b1f565b8015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af082611a8f565b610b0d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610b34826112be565b9050336001600160a01b03821614610b6d57610b508133610950565b610b6d576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610c075760405162461bcd60e51b8152600401610bfe90612b59565b60405180910390fd5b6000610c12826114d1565b905080600003610c345760405162461bcd60e51b8152600401610bfe90612b9f565b6001600160a01b0382166000908152600c602052604081208054839290610c5c908490612c00565b9250508190555080600a6000828254610c759190612c00565b90915550610c8590508282611ac4565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6daaeb6d7670e522a718067333cd4e3b15610d7457604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610d31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d559190612c13565b610d7457604051633b79c77360e21b8152336004820152602401610bfe565b610d7f838383611bdd565b505050565b6daaeb6d7670e522a718067333cd4e3b15610e2d57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610dea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0e9190612c13565b610e2d57604051633b79c77360e21b8152336004820152602401610bfe565b610d7f838383611d76565b6001600160a01b0381166000908152600b6020526040902054610e6d5760405162461bcd60e51b8152600401610bfe90612b59565b6000610e7983836117bc565b905080600003610e9b5760405162461bcd60e51b8152600401610bfe90612b9f565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290610ed2908490612c00565b90915550506001600160a01b0383166000908152600e602052604081208054839290610eff908490612c00565b90915550610f109050838383611d91565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610f63611a35565b601855565b610f70611a35565b601455565b610f7d611a35565b601355565b60135480610fbf5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610bfe565b600260125460ff166004811115610fd857610fd8612805565b146110195760405162461bcd60e51b81526020600482015260116024820152702ba61026b4b73a103737ba103634bb329760791b6044820152606401610bfe565b61102561045780612c00565b84611037600254600154036000190190565b6110419190612c00565b111561109b5760405162461bcd60e51b815260206004820152602360248201527f4d617820737570706c7920657863656564656420666f7220574c20657863656560448201526219195960ea1b6064820152608401610bfe565b6110a58482612c30565b3410156110e75760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610bfe565b61117d83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c0191506111599050565b60405160208183030381529060405280519060200120611de390919063ffffffff16565b6010546001600160a01b039081169116146111da5760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420696e20574c2077686974656c69737400000000006044820152606401610bfe565b601754336000908152601560205260409020546111f8908690612c00565b111561125b5760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206f6e6c79206765742032204e4654206f6e2074686520576860448201526b6974656c6973742053616c6560a01b6064820152608401610bfe565b336000908152601560205260408120805486929061127a908490612c00565b9091555061128a90503385611e07565b50505050565b60005b6019548110156112bb576112a9610462826113e5565b806112b381612c47565b915050611293565b50565b6000610a4d82611f05565b601180546112d690612b1f565b80601f016020809104026020016040519081016040528092919081815260200182805461130290612b1f565b801561134f5780601f106113245761010080835404028352916020019161134f565b820191906000526020600020905b81548152906001019060200180831161133257829003601f168201915b505050505081565b60006001600160a01b038216611380576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6113ae611a35565b6113b86000611f74565b565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16610a4d565b6000600d82815481106113fa576113fa612c60565b6000918252602090912001546001600160a01b031692915050565b606060048054610a6290612b1f565b61142c611a35565b60116114388282612cbc565b5050565b336001600160a01b038316036114655760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806114dd600a5490565b6114e79047612c00565b9050611512838261150d866001600160a01b03166000908152600c602052604090205490565b611fc4565b9392505050565b601454806115565760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610bfe565b600160125460ff16600481111561156f5761156f612805565b146115b45760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610bfe565b610457826115c9600254600154036000190190565b6115d39190612c00565b11156116315760405162461bcd60e51b815260206004820152602760248201527f4d617820737570706c7920657863656564656420666f72207075626c696320656044820152661e18d95959195960ca1b6064820152608401610bfe565b61163b8282612c30565b34101561167d5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610bfe565b6018543360009081526016602052604090205461169b908490612c00565b11156116d85760405162461bcd60e51b815260206004820152600c60248201526b13585e08195e18d95959195960a21b6044820152606401610bfe565b33600090815260166020526040812080548492906116f7908490612c00565b9091555061143890503383611e07565b6daaeb6d7670e522a718067333cd4e3b156117b057604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561176d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117919190612c13565b6117b057604051633b79c77360e21b8152336004820152602401610bfe565b61128a84848484612002565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa15801561181b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183f9190612d7c565b6118499190612c00565b6001600160a01b038086166000908152600f602090815260408083209388168352929052205490915061187f9084908390611fc4565b949350505050565b606061189282611a8f565b6118de5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610bfe565b60116118e983612046565b6040516020016118fa929190612d95565b6040516020818303038152906040529050919050565b611918611a35565b611929600254600154036000190190565b156119765760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792066697665206d696e7420666f72206465706c6f79657200000000006044820152606401610bfe565b6113b833601e611e07565b611989611a35565b6001600160a01b0381166119ee5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bfe565b6112bb81611f74565b6119ff611a35565b806004811115611a1157611a11612805565b6012805460ff19166001836004811115611a2d57611a2d612805565b021790555050565b6000546001600160a01b031633146113b85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bfe565b600081600111158015611aa3575060015482105b8015610a4d575050600090815260056020526040902054600160e01b161590565b80471015611b145760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bfe565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b61576040519150601f19603f3d011682016040523d82523d6000602084013e611b66565b606091505b5050905080610d7f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bfe565b6000611be882611f05565b9050836001600160a01b0316816001600160a01b031614611c1b5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417611c6857611c4b8633610950565b611c6857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611c8f57604051633a954ecd60e21b815260040160405180910390fd5b8015611c9a57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003611d2c57600184016000818152600560205260408120549003611d2a576001548114611d2a5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d7f83838360405180602001604052806000815250611707565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d7f908490612095565b6000806000611df28585612167565b91509150611dff816121d5565b509392505050565b6001546000829003611e2c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611edb57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611ea3565b5081600003611efc57604051622e076360e81b815260040160405180910390fd5b60015550505050565b60008180600111611f5b57600154811015611f5b5760008181526005602052604081205490600160e01b82169003611f59575b80600003611512575060001901600081815260056020526040902054611f38565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b602052604081205490918391611fee9086612c30565b611ff89190612e2c565b61187f9190612e4e565b61200d848484610ccb565b6001600160a01b0383163b1561128a576120298484848461238b565b61128a576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810191829052607f0190826030600a8206018353600a90045b801561208357600183039250600a81066030018353600a9004612065565b50819003601f19909101908152919050565b60006120ea826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166124769092919063ffffffff16565b805190915015610d7f57808060200190518101906121089190612c13565b610d7f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610bfe565b600080825160410361219d5760208301516040840151606085015160001a61219187828585612485565b945094505050506121ce565b82516040036121c657602083015160408401516121bb868383612572565b9350935050506121ce565b506000905060025b9250929050565b60008160048111156121e9576121e9612805565b036121f15750565b600181600481111561220557612205612805565b036122525760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bfe565b600281600481111561226657612266612805565b036122b35760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bfe565b60038160048111156122c7576122c7612805565b0361231f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bfe565b600481600481111561233357612333612805565b036112bb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bfe565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906123c0903390899088908890600401612e61565b6020604051808303816000875af19250505080156123fb575060408051601f3d908101601f191682019092526123f891810190612e9e565b60015b612459573d808015612429576040519150601f19603f3d011682016040523d82523d6000602084013e61242e565b606091505b508051600003612451576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606061187f84846000856125ab565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156124bc5750600090506003612569565b8460ff16601b141580156124d457508460ff16601c14155b156124e55750600090506004612569565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612539573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661256257600060019250925050612569565b9150600090505b94509492505050565b6000806001600160ff1b0383168161258f60ff86901c601b612c00565b905061259d87828885612485565b935093505050935093915050565b60608247101561260c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610bfe565b6001600160a01b0385163b6126635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bfe565b600080866001600160a01b0316858760405161267f9190612ebb565b60006040518083038185875af1925050503d80600081146126bc576040519150601f19603f3d011682016040523d82523d6000602084013e6126c1565b606091505b50915091506126d18282866126dc565b979650505050505050565b606083156126eb575081611512565b8251156126fb5782518084602001fd5b8160405162461bcd60e51b8152600401610bfe91906127b1565b60006020828403121561272757600080fd5b5035919050565b6001600160e01b0319811681146112bb57600080fd5b60006020828403121561275657600080fd5b81356115128161272e565b60005b8381101561277c578181015183820152602001612764565b50506000910152565b6000815180845261279d816020860160208601612761565b601f01601f19169290920160200192915050565b6020815260006115126020830184612785565b6001600160a01b03811681146112bb57600080fd5b600080604083850312156127ec57600080fd5b82356127f7816127c4565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b6005811061283957634e487b7160e01b600052602160045260246000fd5b9052565b60a0810161284b828861281b565b8560208301528460408301528360608301528260808301529695505050505050565b60006020828403121561287f57600080fd5b8135611512816127c4565b60008060006060848603121561289f57600080fd5b83356128aa816127c4565b925060208401356128ba816127c4565b929592945050506040919091013590565b600080604083850312156128de57600080fd5b82356128e9816127c4565b915060208301356128f9816127c4565b809150509250929050565b60008060006040848603121561291957600080fd5b83359250602084013567ffffffffffffffff8082111561293857600080fd5b818601915086601f83011261294c57600080fd5b81358181111561295b57600080fd5b87602082850101111561296d57600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156129b1576129b1612980565b604051601f8501601f19908116603f011681019082821181831017156129d9576129d9612980565b816040528093508581528686860111156129f257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612a1e57600080fd5b813567ffffffffffffffff811115612a3557600080fd5b8201601f81018413612a4657600080fd5b61187f84823560208401612996565b80151581146112bb57600080fd5b60008060408385031215612a7657600080fd5b8235612a81816127c4565b915060208301356128f981612a55565b60008060008060808587031215612aa757600080fd5b8435612ab2816127c4565b93506020850135612ac2816127c4565b925060408501359150606085013567ffffffffffffffff811115612ae557600080fd5b8501601f81018713612af657600080fd5b612b0587823560208401612996565b91505092959194509250565b60208101610a4d828461281b565b600181811c90821680612b3357607f821691505b602082108103612b5357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a4d57610a4d612bea565b600060208284031215612c2557600080fd5b815161151281612a55565b8082028115828204841417610a4d57610a4d612bea565b600060018201612c5957612c59612bea565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610d7f57600081815260208120601f850160051c81016020861015612c9d5750805b601f850160051c820191505b81811015611d6e57828155600101612ca9565b815167ffffffffffffffff811115612cd657612cd6612980565b612cea81612ce48454612b1f565b84612c76565b602080601f831160018114612d1f5760008415612d075750858301515b600019600386901b1c1916600185901b178555611d6e565b600085815260208120601f198616915b82811015612d4e57888601518255948401946001909101908401612d2f565b5085821015612d6c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612d8e57600080fd5b5051919050565b6000808454612da381612b1f565b60018281168015612dbb5760018114612dd057612dff565b60ff1984168752821515830287019450612dff565b8860005260208060002060005b85811015612df65781548a820152908401908201612ddd565b50505082870194505b505050508351612e13818360208801612761565b64173539b7b760d91b9101908152600501949350505050565b600082612e4957634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a4d57610a4d612bea565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e9490830184612785565b9695505050505050565b600060208284031215612eb057600080fd5b81516115128161272e565b60008251612ecd818460208701612761565b919091019291505056fea26469706673582212203aa226057a4d52ef1a4def4ca3a19bd8b8269b38113ae0bb171933af621b145664736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000a5c0c8e29645dac017ace5b7e3e6322086e77cdc00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c4ecd5da1d1d1a04ff7e98c1b57a8a2010389de10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000046970667300000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _team (address[]): 0xC4ecD5dA1d1D1A04Ff7E98C1B57a8A2010389dE1
Arg [1] : _teamShares (uint256[]): 100
Arg [2] : _signerAddressWL (address): 0xA5c0c8E29645Dac017aCE5b7E3E6322086E77cdc
Arg [3] : _baseURI (string): ipfs
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000a5c0c8e29645dac017ace5b7e3e6322086e77cdc
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 000000000000000000000000c4ecd5da1d1d1a04ff7e98c1b57a8a2010389de1
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 6970667300000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
88285:5282:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41395:40;8655:10;41395:40;;;-1:-1:-1;;;;;206:32:6;;;188:51;;41425:9:3;270:2:6;255:18;;248:34;161:18;41395:40:3;;;;;;;88285:5282;;;;;92481:116;;;;;;;;;;-1:-1:-1;92481:116:3;;;;;:::i;:::-;;:::i;:::-;;55473:639;;;;;;;;;;-1:-1:-1;55473:639:3;;;;;:::i;:::-;;:::i;:::-;;;1029:14:6;;1022:22;1004:41;;992:2;977:18;55473:639:3;;;;;;;;56375:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;62858:218::-;;;;;;;;;;-1:-1:-1;62858:218:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1976:32:6;;;1958:51;;1946:2;1931:18;62858:218:3;1812:203:6;62299:400:3;;;;;;;;;;-1:-1:-1;62299:400:3;;;;;:::i;:::-;;:::i;91832:197::-;;;;;;;;;;-1:-1:-1;91928:11:3;;91941:15;;91958:11;;91971:25;;91998:22;;91832:197;;;;91928:11;;;91941:15;91958:11;91971:25;91998:22;91832:197;:::i;52126:323::-;;;;;;;;;;;;52400:12;;51725:1;52384:13;:28;-1:-1:-1;;52384:46:3;;52126:323;;;;3480:25:6;;;3468:2;3453:18;52126:323:3;3334:177:6;43916:453:3;;;;;;;;;;-1:-1:-1;43916:453:3;;;;;:::i;:::-;;:::i;91237:166::-;;;;;;;;;;-1:-1:-1;91237:166:3;;;;;:::i;:::-;;:::i;88996:41::-;;;;;;;;;;;;;;;;41526:91;;;;;;;;;;-1:-1:-1;41597:12:3;;41526:91;;42655:135;;;;;;;;;;-1:-1:-1;42655:135:3;;;;;:::i;:::-;-1:-1:-1;;;;;42752:21:3;;;42725:7;42752:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;42655:135;91411:174;;;;;;;;;;-1:-1:-1;91411:174:3;;;;;:::i;:::-;;:::i;44637:514::-;;;;;;;;;;-1:-1:-1;44637:514:3;;;;;:::i;:::-;;:::i;92605:110::-;;;;;;;;;;-1:-1:-1;92605:110:3;;;;;:::i;:::-;;:::i;89045:38::-;;;;;;;;;;;;;;;;92151:114;;;;;;;;;;-1:-1:-1;92151:114:3;;;;;:::i;:::-;;:::i;92037:106::-;;;;;;;;;;-1:-1:-1;92037:106:3;;;;;:::i;:::-;;:::i;90243:986::-;;;;;;:::i;:::-;;:::i;93423:141::-;;;;;;;;;;;;;:::i;57768:152::-;;;;;;;;;;-1:-1:-1;57768:152:3;;;;;:::i;:::-;;:::i;88595:21::-;;;;;;;;;;;;;:::i;53310:233::-;;;;;;;;;;-1:-1:-1;53310:233:3;;;;;:::i;:::-;;:::i;29398:103::-;;;;;;;;;;;;;:::i;88747:38::-;;;;;;;;;;;;;;;;93010:150;;;;;;;;;;-1:-1:-1;93010:150:3;;;;;:::i;:::-;-1:-1:-1;;;;;93108:44:3;93081:7;93108:44;;;:35;:44;;;;;;;93010:150;92723:122;;;;;;;;;;-1:-1:-1;92723:122:3;;;;;:::i;:::-;;:::i;42881:100::-;;;;;;;;;;-1:-1:-1;42881:100:3;;;;;:::i;:::-;;:::i;28750:87::-;;;;;;;;;;-1:-1:-1;28796:7:3;28823:6;-1:-1:-1;;;;;28823:6:3;28750:87;;56551:104;;;;;;;;;;;;;:::i;42377:109::-;;;;;;;;;;-1:-1:-1;42377:109:3;;;;;:::i;:::-;-1:-1:-1;;;;;42460:18:3;42433:7;42460:18;;;:9;:18;;;;;;;42377:109;88792:42;;;;;;;;;;;;;;;;92273:100;;;;;;;;;;-1:-1:-1;92273:100:3;;;;;:::i;:::-;;:::i;63416:308::-;;;;;;;;;;-1:-1:-1;63416:308:3;;;;;:::i;:::-;;:::i;43071:225::-;;;;;;;;;;-1:-1:-1;43071:225:3;;;;;:::i;:::-;;:::i;89596:639::-;;;;;;:::i;:::-;;:::i;91593:231::-;;;;;;;;;;-1:-1:-1;91593:231:3;;;;;:::i;:::-;;:::i;88920:67::-;;;;;;;;;;-1:-1:-1;88920:67:3;;;;;:::i;:::-;;;;;;;;;;;;;;43456:260;;;;;;;;;;-1:-1:-1;43456:260:3;;;;;:::i;:::-;;:::i;93168:247::-;;;;;;;;;;-1:-1:-1;93168:247:3;;;;;:::i;:::-;;:::i;89433:155::-;;;;;;;;;;;;;:::i;88625:23::-;;;;;;;;;;-1:-1:-1;88625:23:3;;;;;;;;;;;;;;;:::i;42173:105::-;;;;;;;;;;-1:-1:-1;42173:105:3;;;;;:::i;:::-;-1:-1:-1;;;;;42254:16:3;42227:7;42254:16;;;:7;:16;;;;;;;42173:105;88843:70;;;;;;;;;;-1:-1:-1;88843:70:3;;;;;:::i;:::-;;;;;;;;;;;;;;41963:119;;;;;;;;;;-1:-1:-1;41963:119:3;;;;;:::i;:::-;-1:-1:-1;;;;;42048:26:3;42021:7;42048:26;;;:19;:26;;;;;;;41963:119;41711:95;;;;;;;;;;-1:-1:-1;41784:14:3;;41711:95;;63881:164;;;;;;;;;;-1:-1:-1;63881:164:3;;;;;:::i;:::-;-1:-1:-1;;;;;64002:25:3;;;63978:4;64002:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;63881:164;92853:149;;;;;;;;;;-1:-1:-1;92853:149:3;;;;;:::i;:::-;-1:-1:-1;;;;;92947:47:3;92920:7;92947:47;;;:38;:47;;;;;;;92853:149;29656:201;;;;;;;;;;-1:-1:-1;29656:201:3;;;;;:::i;:::-;;:::i;92381:92::-;;;;;;;;;;-1:-1:-1;92381:92:3;;;;;:::i;:::-;;:::i;92481:116::-;28636:13;:11;:13::i;:::-;92555:25:::1;:34:::0;92481:116::o;55473:639::-;55558:4;-1:-1:-1;;;;;;;;;55882:25:3;;;;:102;;-1:-1:-1;;;;;;;;;;55959:25:3;;;55882:102;:179;;;-1:-1:-1;;;;;;;;;;56036:25:3;;;55882:179;55862:199;55473:639;-1:-1:-1;;55473:639:3:o;56375:100::-;56429:13;56462:5;56455:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56375:100;:::o;62858:218::-;62934:7;62959:16;62967:7;62959;:16::i;:::-;62954:64;;62984:34;;-1:-1:-1;;;62984:34:3;;;;;;;;;;;62954:64;-1:-1:-1;63038:24:3;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;63038:30:3;;62858:218::o;62299:400::-;62380:13;62396:16;62404:7;62396;:16::i;:::-;62380:32;-1:-1:-1;8655:10:3;-1:-1:-1;;;;;62429:28:3;;;62425:175;;62477:44;62494:5;8655:10;63881:164;:::i;62477:44::-;62472:128;;62549:35;;-1:-1:-1;;;62549:35:3;;;;;;;;;;;62472:128;62612:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;62612:35:3;-1:-1:-1;;;;;62612:35:3;;;;;;;;;62663:28;;62612:24;;62663:28;;;;;;;62369:330;62299:400;;:::o;43916:453::-;-1:-1:-1;;;;;43992:16:3;;44011:1;43992:16;;;:7;:16;;;;;;43984:71;;;;-1:-1:-1;;;43984:71:3;;;;;;;:::i;:::-;;;;;;;;;44068:15;44086:19;44097:7;44086:10;:19::i;:::-;44068:37;;44126:7;44137:1;44126:12;44118:68;;;;-1:-1:-1;;;44118:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;44199:18:3;;;;;;:9;:18;;;;;:29;;44221:7;;44199:18;:29;;44221:7;;44199:29;:::i;:::-;;;;;;;;44257:7;44239:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;44277:35:3;;-1:-1:-1;44295:7:3;44304;44277:17;:35::i;:::-;44328:33;;;-1:-1:-1;;;;;206:32:6;;188:51;;270:2;255:18;;248:34;;;44328:33:3;;161:18:6;44328:33:3;;;;;;;43973:396;43916:453;:::o;91237:166::-;310:42:5;1438:43;:47;1434:225;;1507:67;;-1:-1:-1;;;1507:67:5;;1556:4;1507:67;;;10924:34:6;1563:10:5;10974:18:6;;;10967:43;310:42:5;;1507:40;;10859:18:6;;1507:67:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1502:146;;1602:30;;-1:-1:-1;;;1602:30:5;;1621:10;1602:30;;;1958:51:6;1931:18;;1602:30:5;1812:203:6;1502:146:5;91358:37:3::1;91377:4;91383:2;91387:7;91358:18;:37::i;:::-;91237:166:::0;;;:::o;91411:174::-;310:42:5;1438:43;:47;1434:225;;1507:67;;-1:-1:-1;;;1507:67:5;;1556:4;1507:67;;;10924:34:6;1563:10:5;10974:18:6;;;10967:43;310:42:5;;1507:40;;10859:18:6;;1507:67:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1502:146;;1602:30;;-1:-1:-1;;;1602:30:5;;1621:10;1602:30;;;1958:51:6;1931:18;;1602:30:5;1812:203:6;1502:146:5;91536:41:3::1;91559:4;91565:2;91569:7;91536:22;:41::i;44637:514::-:0;-1:-1:-1;;;;;44719:16:3;;44738:1;44719:16;;;:7;:16;;;;;;44711:71;;;;-1:-1:-1;;;44711:71:3;;;;;;;:::i;:::-;44795:15;44813:26;44824:5;44831:7;44813:10;:26::i;:::-;44795:44;;44860:7;44871:1;44860:12;44852:68;;;;-1:-1:-1;;;44852:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;44933:21:3;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;44967:7;;44933:21;:41;;44967:7;;44933:41;:::i;:::-;;;;-1:-1:-1;;;;;;;44985:26:3;;;;;;:19;:26;;;;;:37;;45015:7;;44985:26;:37;;45015:7;;44985:37;:::i;:::-;;;;-1:-1:-1;45035:47:3;;-1:-1:-1;45058:5:3;45065:7;45074;45035:22;:47::i;:::-;45098:45;;;-1:-1:-1;;;;;206:32:6;;;188:51;;270:2;255:18;;248:34;;;45098:45:3;;;;;161:18:6;45098:45:3;;;;;;;44700:451;44637:514;;:::o;92605:110::-;28636:13;:11;:13::i;:::-;92676:22:::1;:31:::0;92605:110::o;92151:114::-;28636:13;:11;:13::i;:::-;92230:15:::1;:27:::0;92151:114::o;92037:106::-;28636:13;:11;:13::i;:::-;92112:11:::1;:23:::0;92037:106::o;90243:986::-;90342:11;;90367:10;90364:35;;90379:20;;-1:-1:-1;;;90379:20:3;;11473:2:6;90379:20:3;;;11455:21:6;11512:2;11492:18;;;11485:30;-1:-1:-1;;;11531:18:6;;;11524:40;11581:18;;90379:20:3;11271:334:6;90364:35:3;90430:18;90415:11;;;;:33;;;;;;;;:::i;:::-;;90412:65;;90450:27;;-1:-1:-1;;;90450:27:3;;11812:2:6;90450:27:3;;;11794:21:6;11851:2;11831:18;;;11824:30;-1:-1:-1;;;11870:18:6;;;11863:47;11927:18;;90450:27:3;11610:341:6;90412:65:3;90520:19;88734:4;;90520:19;:::i;:::-;90507:9;90491:13;52400:12;;51725:1;52384:13;:28;-1:-1:-1;;52384:46:3;;52126:323;90491:13;:25;;;;:::i;:::-;:49;90488:99;;;90542:45;;-1:-1:-1;;;90542:45:3;;12158:2:6;90542:45:3;;;12140:21:6;12197:2;12177:18;;;12170:30;12236:34;12216:18;;;12209:62;-1:-1:-1;;;12287:18:6;;;12280:33;12330:19;;90542:45:3;11956:399:6;90488:99:3;90613:17;90621:9;90613:5;:17;:::i;:::-;90601:9;:29;90598:60;;;90632:26;;-1:-1:-1;;;90632:26:3;;12735:2:6;90632:26:3;;;12717:21:6;12774:2;12754:18;;;12747:30;-1:-1:-1;;;12793:18:6;;;12786:46;12849:18;;90632:26:3;12533:340:6;90598:60:3;90701:194;90885:9;;90701:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;90725:140:3;;13120:66:6;90725:140:3;;;13108:79:6;90837:10:3;13203:12:6;;;13196:28;13240:12;;;-1:-1:-1;90725:140:3;;-1:-1:-1;12878:380:6;90725:140:3;;;;;;;;;;;;;90701:175;;;;;;:183;;:194;;;;:::i;:::-;90682:15;;-1:-1:-1;;;;;90682:15:3;;;:213;;;90679:255;;90897:37;;-1:-1:-1;;;90897:37:3;;13465:2:6;90897:37:3;;;13447:21:6;13504:2;13484:18;;;13477:30;13543:29;13523:18;;;13516:57;13590:18;;90897:37:3;13263:351:6;90679:255:3;91013:25;;90987:10;90948:50;;;;:38;:50;;;;;;:62;;91001:9;;90948:62;:::i;:::-;:90;90945:149;;;91040:54;;-1:-1:-1;;;91040:54:3;;13821:2:6;91040:54:3;;;13803:21:6;13860:2;13840:18;;;13833:30;13899:34;13879:18;;;13872:62;-1:-1:-1;;;13950:18:6;;;13943:42;14002:19;;91040:54:3;13619:408:6;90945:149:3;91158:10;91119:50;;;;:38;:50;;;;;:63;;91173:9;;91119:50;:63;;91173:9;;91119:63;:::i;:::-;;;;-1:-1:-1;91193:28:3;;-1:-1:-1;91199:10:3;91211:9;91193:5;:28::i;:::-;90318:911;90243:986;;;:::o;93423:141::-;93469:6;93465:92;93486:10;;93482:1;:14;93465:92;;;93519:26;93535:8;93541:1;93535:5;:8::i;93519:26::-;93499:3;;;;:::i;:::-;;;;93465:92;;;;93423:141::o;57768:152::-;57840:7;57883:27;57902:7;57883:18;:27::i;88595:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53310:233::-;53382:7;-1:-1:-1;;;;;53406:19:3;;53402:60;;53434:28;;-1:-1:-1;;;53434:28:3;;;;;;;;;;;53402:60;-1:-1:-1;;;;;;53480:25:3;;;;;:18;:25;;;;;;47469:13;53480:55;;53310:233::o;29398:103::-;28636:13;:11;:13::i;:::-;29463:30:::1;29490:1;29463:18;:30::i;:::-;29398:103::o:0;92723:122::-;-1:-1:-1;;;;;53714:25:3;;92788:7;53714:25;;;:18;:25;;47607:2;53714:25;;;;47469:13;53714:50;;53713:82;92815:22;53625:178;42881:100;42932:7;42959;42967:5;42959:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;42959:14:3;;42881:100;-1:-1:-1;;42881:100:3:o;56551:104::-;56607:13;56640:7;56633:14;;;;;:::i;92273:100::-;28636:13;:11;:13::i;:::-;92347:7:::1;:18;92357:8:::0;92347:7;:18:::1;:::i;:::-;;92273:100:::0;:::o;63416:308::-;8655:10;-1:-1:-1;;;;;63515:31:3;;;63511:61;;63555:17;;-1:-1:-1;;;63555:17:3;;;;;;;;;;;63511:61;8655:10;63585:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;63585:49:3;;;;;;;;;;;;:60;;-1:-1:-1;;63585:60:3;;;;;;;;;;63661:55;;1004:41:6;;;63585:49:3;;8655:10;63661:55;;977:18:6;63661:55:3;;;;;;;63416:308;;:::o;43071:225::-;43129:7;43149:21;43197:15;41784:14;;;41711:95;43197:15;43173:39;;:21;:39;:::i;:::-;43149:63;;43230:58;43246:7;43255:13;43270:17;43279:7;-1:-1:-1;;;;;42460:18:3;42433:7;42460:18;;;:9;:18;;;;;;;42377:109;43270:17;43230:15;:58::i;:::-;43223:65;43071:225;-1:-1:-1;;;43071:225:3:o;89596:639::-;89677:15;;89706:10;89703:35;;89718:20;;-1:-1:-1;;;89718:20:3;;11473:2:6;89718:20:3;;;11455:21:6;11512:2;11492:18;;;11485:30;-1:-1:-1;;;11531:18:6;;;11524:40;11581:18;;89718:20:3;11271:334:6;89703:35:3;89767:15;89752:11;;;;:30;;;;;;;;:::i;:::-;;89749:66;;89784:31;;-1:-1:-1;;;89784:31:3;;16710:2:6;89784:31:3;;;16692:21:6;16749:2;16729:18;;;16722:30;-1:-1:-1;;;16768:18:6;;;16761:51;16829:18;;89784:31:3;16508:345:6;89749:66:3;88692:4;89845:9;89829:13;52400:12;;51725:1;52384:13;:28;-1:-1:-1;;52384:46:3;;52126:323;89829:13;:25;;;;:::i;:::-;:40;89826:94;;;89871:49;;-1:-1:-1;;;89871:49:3;;17060:2:6;89871:49:3;;;17042:21:6;17099:2;17079:18;;;17072:30;17138:34;17118:18;;;17111:62;-1:-1:-1;;;17189:18:6;;;17182:37;17236:19;;89871:49:3;16858:403:6;89826:94:3;89946:17;89954:9;89946:5;:17;:::i;:::-;89934:9;:29;89931:60;;;89965:26;;-1:-1:-1;;;89965:26:3;;12735:2:6;89965:26:3;;;12717:21:6;12774:2;12754:18;;;12747:30;-1:-1:-1;;;12793:18:6;;;12786:46;12849:18;;89965:26:3;12533:340:6;89931:60:3;90067:22;;90041:10;90005:47;;;;:35;:47;;;;;;:59;;90055:9;;90005:59;:::i;:::-;:84;90002:111;;;90091:22;;-1:-1:-1;;;90091:22:3;;17468:2:6;90091:22:3;;;17450:21:6;17507:2;17487:18;;;17480:30;-1:-1:-1;;;17526:18:6;;;17519:42;17578:18;;90091:22:3;17266:336:6;90002:111:3;90162:10;90126:47;;;;:35;:47;;;;;:60;;90177:9;;90126:47;:60;;90177:9;;90126:60;:::i;:::-;;;;-1:-1:-1;90199:28:3;;-1:-1:-1;90205:10:3;90217:9;90199:5;:28::i;91593:231::-;310:42:5;1438:43;:47;1434:225;;1507:67;;-1:-1:-1;;;1507:67:5;;1556:4;1507:67;;;10924:34:6;1563:10:5;10974:18:6;;;10967:43;310:42:5;;1507:40;;10859:18:6;;1507:67:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1502:146;;1602:30;;-1:-1:-1;;;1602:30:5;;1621:10;1602:30;;;1958:51:6;1931:18;;1602:30:5;1812:203:6;1502:146:5;91769:47:3::1;91792:4;91798:2;91802:7;91811:4;91769:22;:47::i;43456:260::-:0;-1:-1:-1;;;;;42048:26:3;;43528:7;42048:26;;;:19;:26;;;;;;43528:7;;43572:30;;-1:-1:-1;;;43572:30:3;;43596:4;43572:30;;;1958:51:6;-1:-1:-1;;;;;43572:15:3;;;;;1931:18:6;;43572:30:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;42752:21:3;;;42725:7;42752:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;43548:77;;-1:-1:-1;43643:65:3;;43659:7;;43548:77;;43230:15;:58::i;43643:65::-;43636:72;43456:260;-1:-1:-1;;;;43456:260:3:o;93168:247::-;93239:13;93273:17;93281:8;93273:7;:17::i;:::-;93265:61;;;;-1:-1:-1;;;93265:61:3;;17998:2:6;93265:61:3;;;17980:21:6;18037:2;18017:18;;;18010:30;18076:33;18056:18;;;18049:61;18127:18;;93265:61:3;17796:355:6;93265:61:3;93368:7;93377:19;93387:8;93377:9;:19::i;:::-;93351:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;93337:70;;93168:247;;;:::o;89433:155::-;28636:13;:11;:13::i;:::-;89491::::1;52400:12:::0;;51725:1;52384:13;:28;-1:-1:-1;;52384:46:3;;52126:323;89491:13:::1;:18:::0;89488:60:::1;;89511:37;::::0;-1:-1:-1;;;89511:37:3;;19550:2:6;89511:37:3::1;::::0;::::1;19532:21:6::0;19589:2;19569:18;;;19562:30;19628:29;19608:18;;;19601:57;19675:18;;89511:37:3::1;19348:351:6::0;89488:60:3::1;89559:21;89565:10;89577:2;89559:5;:21::i;29656:201::-:0;28636:13;:11;:13::i;:::-;-1:-1:-1;;;;;29745:22:3;::::1;29737:73;;;::::0;-1:-1:-1;;;29737:73:3;;19906:2:6;29737:73:3::1;::::0;::::1;19888:21:6::0;19945:2;19925:18;;;19918:30;19984:34;19964:18;;;19957:62;-1:-1:-1;;;20035:18:6;;;20028:36;20081:19;;29737:73:3::1;19704:402:6::0;29737:73:3::1;29821:28;29840:8;29821:18;:28::i;92381:92::-:0;28636:13;:11;:13::i;:::-;92459:5:::1;92454:11;;;;;;;;:::i;:::-;92440;:25:::0;;-1:-1:-1;;92440:25:3::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;92381:92:::0;:::o;28915:132::-;28796:7;28823:6;-1:-1:-1;;;;;28823:6:3;8655:10;28979:23;28971:68;;;;-1:-1:-1;;;28971:68:3;;20313:2:6;28971:68:3;;;20295:21:6;;;20332:18;;;20325:30;20391:34;20371:18;;;20364:62;20443:18;;28971:68:3;20111:356:6;64303:282:3;64368:4;64424:7;51725:1;64405:26;;:66;;;;;64458:13;;64448:7;:23;64405:66;:153;;;;-1:-1:-1;;64509:26:3;;;;:17;:26;;;;;;-1:-1:-1;;;64509:44:3;:49;;64303:282::o;2483:317::-;2598:6;2573:21;:31;;2565:73;;;;-1:-1:-1;;;2565:73:3;;20674:2:6;2565:73:3;;;20656:21:6;20713:2;20693:18;;;20686:30;20752:31;20732:18;;;20725:59;20801:18;;2565:73:3;20472:353:6;2565:73:3;2652:12;2670:9;-1:-1:-1;;;;;2670:14:3;2692:6;2670:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2651:52;;;2722:7;2714:78;;;;-1:-1:-1;;;2714:78:3;;21242:2:6;2714:78:3;;;21224:21:6;21281:2;21261:18;;;21254:30;21320:34;21300:18;;;21293:62;21391:28;21371:18;;;21364:56;21437:19;;2714:78:3;21040:422:6;66565:2817:3;66699:27;66729;66748:7;66729:18;:27::i;:::-;66699:57;;66814:4;-1:-1:-1;;;;;66773:45:3;66789:19;-1:-1:-1;;;;;66773:45:3;;66769:86;;66827:28;;-1:-1:-1;;;66827:28:3;;;;;;;;;;;66769:86;66869:27;65679:24;;;:15;:24;;;;;65901:26;;8655:10;65304:30;;;-1:-1:-1;;;;;64997:28:3;;65282:20;;;65279:56;67055:180;;67148:43;67165:4;8655:10;63881:164;:::i;67148:43::-;67143:92;;67200:35;;-1:-1:-1;;;67200:35:3;;;;;;;;;;;67143:92;-1:-1:-1;;;;;67252:16:3;;67248:52;;67277:23;;-1:-1:-1;;;67277:23:3;;;;;;;;;;;67248:52;67449:15;67446:160;;;67589:1;67568:19;67561:30;67446:160;-1:-1:-1;;;;;67986:24:3;;;;;;;:18;:24;;;;;;67984:26;;-1:-1:-1;;67984:26:3;;;68055:22;;;;;;;;;68053:24;;-1:-1:-1;68053:24:3;;;61157:11;61132:23;61128:41;61115:63;-1:-1:-1;;;61115:63:3;68348:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;68643:47:3;;:52;;68639:627;;68748:1;68738:11;;68716:19;68871:30;;;:17;:30;;;;;;:35;;68867:384;;69009:13;;68994:11;:28;68990:242;;69156:30;;;;:17;:30;;;;;:52;;;68990:242;68697:569;68639:627;69313:7;69309:2;-1:-1:-1;;;;;69294:27:3;69303:4;-1:-1:-1;;;;;69294:27:3;;;;;;;;;;;69332:42;66688:2694;;;66565:2817;;;:::o;69478:185::-;69616:39;69633:4;69639:2;69643:7;69616:39;;;;;;;;;;;;:16;:39::i;22085:211::-;22229:58;;;-1:-1:-1;;;;;206:32:6;;22229:58:3;;;188:51:6;255:18;;;;248:34;;;22229:58:3;;;;;;;;;;161:18:6;;;;22229:58:3;;;;;;;;-1:-1:-1;;;;;22229:58:3;-1:-1:-1;;;22229:58:3;;;22202:86;;22222:5;;22202:19;:86::i;34338:231::-;34416:7;34437:17;34456:18;34478:27;34489:4;34495:9;34478:10;:27::i;:::-;34436:69;;;;34516:18;34528:5;34516:11;:18::i;:::-;-1:-1:-1;34552:9:3;34338:231;-1:-1:-1;;;34338:231:3:o;73922:2454::-;74018:13;;73995:20;74046:13;;;74042:44;;74068:18;;-1:-1:-1;;;74068:18:3;;;;;;;;;;;74042:44;-1:-1:-1;;;;;74574:22:3;;;;;;:18;:22;;;;47607:2;74574:22;;;:71;;74612:32;74600:45;;74574:71;;;74888:31;;;:17;:31;;;;;-1:-1:-1;61588:15:3;;61562:24;61558:46;61157:11;61132:23;61128:41;61125:52;61115:63;;74888:173;;75123:23;;;;74888:31;;74574:22;;75622:25;74574:22;;75475:335;75890:1;75876:12;75872:20;75830:346;75931:3;75922:7;75919:16;75830:346;;76149:7;76139:8;76136:1;76109:25;76106:1;76103;76098:59;75984:1;75971:15;75830:346;;;75834:77;76209:8;76221:1;76209:13;76205:45;;76231:19;;-1:-1:-1;;;76231:19:3;;;;;;;;;;;76205:45;76267:13;:19;-1:-1:-1;91237:166:3;;;:::o;58923:1275::-;58990:7;59025;;51725:1;59074:23;59070:1061;;59127:13;;59120:4;:20;59116:1015;;;59165:14;59182:23;;;:17;:23;;;;;;;-1:-1:-1;;;59271:24:3;;:29;;59267:845;;59936:113;59943:6;59953:1;59943:11;59936:113;;-1:-1:-1;;;60014:6:3;59996:25;;;;:17;:25;;;;;;59936:113;;59267:845;59142:989;59116:1015;60159:31;;-1:-1:-1;;;60159:31:3;;;;;;;;;;;30017:191;30091:16;30110:6;;-1:-1:-1;;;;;30127:17:3;;;-1:-1:-1;;;;;;30127:17:3;;;;;;30160:40;;30110:6;;;;;;;30160:40;;30091:16;30160:40;30080:128;30017:191;:::o;45329:248::-;45539:12;;-1:-1:-1;;;;;45519:16:3;;45475:7;45519:16;;;:7;:16;;;;;;45475:7;;45554:15;;45503:32;;:13;:32;:::i;:::-;45502:49;;;;:::i;:::-;:67;;;;:::i;70261:399::-;70428:31;70441:4;70447:2;70451:7;70428:12;:31::i;:::-;-1:-1:-1;;;;;70474:14:3;;;:19;70470:183;;70513:56;70544:4;70550:2;70554:7;70563:5;70513:30;:56::i;:::-;70508:145;;70597:40;;-1:-1:-1;;;70597:40:3;;;;;;;;;;;86276:2002;86753:4;86747:11;;86760:3;86743:21;;86838:17;;;;87534:11;;;87413:5;87700:2;87714;87704:13;;87696:22;87534:11;87683:36;87755:2;87745:13;;87305:731;87774:4;87305:731;;;87965:1;87960:3;87956:11;87949:18;;88016:2;88010:4;88006:13;88002:2;87998:22;87993:3;87985:36;87869:2;87859:13;;87305:731;;;-1:-1:-1;88066:13:3;;;-1:-1:-1;;88181:12:3;;;88241:19;;;88181:12;86276:2002;-1:-1:-1;86276:2002:3:o;25152:716::-;25576:23;25602:69;25630:4;25602:69;;;;;;;;;;;;;;;;;25610:5;-1:-1:-1;;;;;25602:27:3;;;:69;;;;;:::i;:::-;25686:17;;25576:95;;-1:-1:-1;25686:21:3;25682:179;;25783:10;25772:30;;;;;;;;;;;;:::i;:::-;25764:85;;;;-1:-1:-1;;;25764:85:3;;22024:2:6;25764:85:3;;;22006:21:6;22063:2;22043:18;;;22036:30;22102:34;22082:18;;;22075:62;-1:-1:-1;;;22153:18:6;;;22146:40;22203:19;;25764:85:3;21822:406:6;32132:1404:3;32213:7;32222:12;32447:9;:16;32467:2;32447:22;32443:1086;;32791:4;32776:20;;32770:27;32841:4;32826:20;;32820:27;32899:4;32884:20;;32878:27;32486:9;32870:36;32942:25;32953:4;32870:36;32770:27;32820;32942:10;:25::i;:::-;32935:32;;;;;;;;;32443:1086;32989:9;:16;33009:2;32989:22;32985:544;;33312:4;33297:20;;33291:27;33363:4;33348:20;;33342:27;33405:23;33416:4;33291:27;33342;33405:10;:23::i;:::-;33398:30;;;;;;;;32985:544;-1:-1:-1;33477:1:3;;-1:-1:-1;33481:35:3;32985:544;32132:1404;;;;;:::o;30403:643::-;30481:20;30472:5;:29;;;;;;;;:::i;:::-;;30468:571;;30403:643;:::o;30468:571::-;30579:29;30570:5;:38;;;;;;;;:::i;:::-;;30566:473;;30625:34;;-1:-1:-1;;;30625:34:3;;22435:2:6;30625:34:3;;;22417:21:6;22474:2;22454:18;;;22447:30;22513:26;22493:18;;;22486:54;22557:18;;30625:34:3;22233:348:6;30566:473:3;30690:35;30681:5;:44;;;;;;;;:::i;:::-;;30677:362;;30742:41;;-1:-1:-1;;;30742:41:3;;22788:2:6;30742:41:3;;;22770:21:6;22827:2;22807:18;;;22800:30;22866:33;22846:18;;;22839:61;22917:18;;30742:41:3;22586:355:6;30677:362:3;30814:30;30805:5;:39;;;;;;;;:::i;:::-;;30801:238;;30861:44;;-1:-1:-1;;;30861:44:3;;23148:2:6;30861:44:3;;;23130:21:6;23187:2;23167:18;;;23160:30;23226:34;23206:18;;;23199:62;-1:-1:-1;;;23277:18:6;;;23270:32;23319:19;;30861:44:3;22946:398:6;30801:238:3;30936:30;30927:5;:39;;;;;;;;:::i;:::-;;30923:116;;30983:44;;-1:-1:-1;;;30983:44:3;;23551:2:6;30983:44:3;;;23533:21:6;23590:2;23570:18;;;23563:30;23629:34;23609:18;;;23602:62;-1:-1:-1;;;23680:18:6;;;23673:32;23722:19;;30983:44:3;23349:398:6;72744:716:3;72928:88;;-1:-1:-1;;;72928:88:3;;72907:4;;-1:-1:-1;;;;;72928:45:3;;;;;:88;;8655:10;;72995:4;;73001:7;;73010:5;;72928:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72928:88:3;;;;;;;;-1:-1:-1;;72928:88:3;;;;;;;;;;;;:::i;:::-;;;72924:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73211:6;:13;73228:1;73211:18;73207:235;;73257:40;;-1:-1:-1;;;73257:40:3;;;;;;;;;;;73207:235;73400:6;73394:13;73385:6;73381:2;73377:15;73370:38;72924:529;-1:-1:-1;;;;;;73087:64:3;-1:-1:-1;;;73087:64:3;;-1:-1:-1;72744:716:3;;;;;;:::o;3967:229::-;4104:12;4136:52;4158:6;4166:4;4172:1;4175:12;4136:21;:52::i;35790:1632::-;35921:7;;36855:66;36842:79;;36838:163;;;-1:-1:-1;36954:1:3;;-1:-1:-1;36958:30:3;36938:51;;36838:163;37015:1;:7;;37020:2;37015:7;;:18;;;;;37026:1;:7;;37031:2;37026:7;;37015:18;37011:102;;;-1:-1:-1;37066:1:3;;-1:-1:-1;37070:30:3;37050:51;;37011:102;37227:24;;;37210:14;37227:24;;;;;;;;;24727:25:6;;;24800:4;24788:17;;24768:18;;;24761:45;;;;24822:18;;;24815:34;;;24865:18;;;24858:34;;;37227:24:3;;24699:19:6;;37227:24:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37227:24:3;;-1:-1:-1;;37227:24:3;;;-1:-1:-1;;;;;;;37266:20:3;;37262:103;;37319:1;37323:29;37303:50;;;;;;;37262:103;37385:6;-1:-1:-1;37393:20:3;;-1:-1:-1;35790:1632:3;;;;;;;;:::o;34832:344::-;34946:7;;-1:-1:-1;;;;;34992:80:3;;34946:7;35099:25;35115:3;35100:18;;;35122:2;35099:25;:::i;:::-;35083:42;;35143:25;35154:4;35160:1;35163;35166;35143:10;:25::i;:::-;35136:32;;;;;;34832:344;;;;;;:::o;5087:510::-;5257:12;5315:5;5290:21;:30;;5282:81;;;;-1:-1:-1;;;5282:81:3;;25105:2:6;5282:81:3;;;25087:21:6;25144:2;25124:18;;;25117:30;25183:34;25163:18;;;25156:62;-1:-1:-1;;;25234:18:6;;;25227:36;25280:19;;5282:81:3;24903:402:6;5282:81:3;-1:-1:-1;;;;;1517:19:3;;;5374:60;;;;-1:-1:-1;;;5374:60:3;;25512:2:6;5374:60:3;;;25494:21:6;25551:2;25531:18;;;25524:30;25590:31;25570:18;;;25563:59;25639:18;;5374:60:3;25310:353:6;5374:60:3;5448:12;5462:23;5489:6;-1:-1:-1;;;;;5489:11:3;5508:5;5515:4;5489:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5447:73;;;;5538:51;5555:7;5564:10;5576:12;5538:16;:51::i;:::-;5531:58;5087:510;-1:-1:-1;;;;;;;5087:510:3:o;7773:762::-;7923:12;7952:7;7948:580;;;-1:-1:-1;7983:10:3;7976:17;;7948:580;8097:17;;:21;8093:424;;8345:10;8339:17;8406:15;8393:10;8389:2;8385:19;8378:44;8093:424;8488:12;8481:20;;-1:-1:-1;;;8481:20:3;;;;;;;;:::i;293:180:6:-;352:6;405:2;393:9;384:7;380:23;376:32;373:52;;;421:1;418;411:12;373:52;-1:-1:-1;444:23:6;;293:180;-1:-1:-1;293:180:6:o;478:131::-;-1:-1:-1;;;;;;552:32:6;;542:43;;532:71;;599:1;596;589:12;614:245;672:6;725:2;713:9;704:7;700:23;696:32;693:52;;;741:1;738;731:12;693:52;780:9;767:23;799:30;823:5;799:30;:::i;1056:250::-;1141:1;1151:113;1165:6;1162:1;1159:13;1151:113;;;1241:11;;;1235:18;1222:11;;;1215:39;1187:2;1180:10;1151:113;;;-1:-1:-1;;1298:1:6;1280:16;;1273:27;1056:250::o;1311:271::-;1353:3;1391:5;1385:12;1418:6;1413:3;1406:19;1434:76;1503:6;1496:4;1491:3;1487:14;1480:4;1473:5;1469:16;1434:76;:::i;:::-;1564:2;1543:15;-1:-1:-1;;1539:29:6;1530:39;;;;1571:4;1526:50;;1311:271;-1:-1:-1;;1311:271:6:o;1587:220::-;1736:2;1725:9;1718:21;1699:4;1756:45;1797:2;1786:9;1782:18;1774:6;1756:45;:::i;2020:131::-;-1:-1:-1;;;;;2095:31:6;;2085:42;;2075:70;;2141:1;2138;2131:12;2156:315;2224:6;2232;2285:2;2273:9;2264:7;2260:23;2256:32;2253:52;;;2301:1;2298;2291:12;2253:52;2340:9;2327:23;2359:31;2384:5;2359:31;:::i;:::-;2409:5;2461:2;2446:18;;;;2433:32;;-1:-1:-1;;;2156:315:6:o;2476:127::-;2537:10;2532:3;2528:20;2525:1;2518:31;2568:4;2565:1;2558:15;2592:4;2589:1;2582:15;2608:232;2684:1;2677:5;2674:12;2664:143;;2729:10;2724:3;2720:20;2717:1;2710:31;2764:4;2761:1;2754:15;2792:4;2789:1;2782:15;2664:143;2816:18;;2608:232::o;2845:484::-;3098:3;3083:19;;3111:39;3087:9;3132:6;3111:39;:::i;:::-;3186:6;3181:2;3170:9;3166:18;3159:34;3229:6;3224:2;3213:9;3209:18;3202:34;3272:6;3267:2;3256:9;3252:18;3245:34;3316:6;3310:3;3299:9;3295:19;3288:35;2845:484;;;;;;;;:::o;3516:255::-;3583:6;3636:2;3624:9;3615:7;3611:23;3607:32;3604:52;;;3652:1;3649;3642:12;3604:52;3691:9;3678:23;3710:31;3735:5;3710:31;:::i;3776:456::-;3853:6;3861;3869;3922:2;3910:9;3901:7;3897:23;3893:32;3890:52;;;3938:1;3935;3928:12;3890:52;3977:9;3964:23;3996:31;4021:5;3996:31;:::i;:::-;4046:5;-1:-1:-1;4103:2:6;4088:18;;4075:32;4116:33;4075:32;4116:33;:::i;:::-;3776:456;;4168:7;;-1:-1:-1;;;4222:2:6;4207:18;;;;4194:32;;3776:456::o;4237:403::-;4320:6;4328;4381:2;4369:9;4360:7;4356:23;4352:32;4349:52;;;4397:1;4394;4387:12;4349:52;4436:9;4423:23;4455:31;4480:5;4455:31;:::i;:::-;4505:5;-1:-1:-1;4562:2:6;4547:18;;4534:32;4575:33;4534:32;4575:33;:::i;:::-;4627:7;4617:17;;;4237:403;;;;;:::o;4645:659::-;4724:6;4732;4740;4793:2;4781:9;4772:7;4768:23;4764:32;4761:52;;;4809:1;4806;4799:12;4761:52;4845:9;4832:23;4822:33;;4906:2;4895:9;4891:18;4878:32;4929:18;4970:2;4962:6;4959:14;4956:34;;;4986:1;4983;4976:12;4956:34;5024:6;5013:9;5009:22;4999:32;;5069:7;5062:4;5058:2;5054:13;5050:27;5040:55;;5091:1;5088;5081:12;5040:55;5131:2;5118:16;5157:2;5149:6;5146:14;5143:34;;;5173:1;5170;5163:12;5143:34;5218:7;5213:2;5204:6;5200:2;5196:15;5192:24;5189:37;5186:57;;;5239:1;5236;5229:12;5186:57;5270:2;5266;5262:11;5252:21;;5292:6;5282:16;;;;;4645:659;;;;;:::o;5561:127::-;5622:10;5617:3;5613:20;5610:1;5603:31;5653:4;5650:1;5643:15;5677:4;5674:1;5667:15;5693:632;5758:5;5788:18;5829:2;5821:6;5818:14;5815:40;;;5835:18;;:::i;:::-;5910:2;5904:9;5878:2;5964:15;;-1:-1:-1;;5960:24:6;;;5986:2;5956:33;5952:42;5940:55;;;6010:18;;;6030:22;;;6007:46;6004:72;;;6056:18;;:::i;:::-;6096:10;6092:2;6085:22;6125:6;6116:15;;6155:6;6147;6140:22;6195:3;6186:6;6181:3;6177:16;6174:25;6171:45;;;6212:1;6209;6202:12;6171:45;6262:6;6257:3;6250:4;6242:6;6238:17;6225:44;6317:1;6310:4;6301:6;6293;6289:19;6285:30;6278:41;;;;5693:632;;;;;:::o;6330:451::-;6399:6;6452:2;6440:9;6431:7;6427:23;6423:32;6420:52;;;6468:1;6465;6458:12;6420:52;6508:9;6495:23;6541:18;6533:6;6530:30;6527:50;;;6573:1;6570;6563:12;6527:50;6596:22;;6649:4;6641:13;;6637:27;-1:-1:-1;6627:55:6;;6678:1;6675;6668:12;6627:55;6701:74;6767:7;6762:2;6749:16;6744:2;6740;6736:11;6701:74;:::i;6786:118::-;6872:5;6865:13;6858:21;6851:5;6848:32;6838:60;;6894:1;6891;6884:12;6909:382;6974:6;6982;7035:2;7023:9;7014:7;7010:23;7006:32;7003:52;;;7051:1;7048;7041:12;7003:52;7090:9;7077:23;7109:31;7134:5;7109:31;:::i;:::-;7159:5;-1:-1:-1;7216:2:6;7201:18;;7188:32;7229:30;7188:32;7229:30;:::i;7296:795::-;7391:6;7399;7407;7415;7468:3;7456:9;7447:7;7443:23;7439:33;7436:53;;;7485:1;7482;7475:12;7436:53;7524:9;7511:23;7543:31;7568:5;7543:31;:::i;:::-;7593:5;-1:-1:-1;7650:2:6;7635:18;;7622:32;7663:33;7622:32;7663:33;:::i;:::-;7715:7;-1:-1:-1;7769:2:6;7754:18;;7741:32;;-1:-1:-1;7824:2:6;7809:18;;7796:32;7851:18;7840:30;;7837:50;;;7883:1;7880;7873:12;7837:50;7906:22;;7959:4;7951:13;;7947:27;-1:-1:-1;7937:55:6;;7988:1;7985;7978:12;7937:55;8011:74;8077:7;8072:2;8059:16;8054:2;8050;8046:11;8011:74;:::i;:::-;8001:84;;;7296:795;;;;;;;:::o;8096:198::-;8237:2;8222:18;;8249:39;8226:9;8270:6;8249:39;:::i;8959:380::-;9038:1;9034:12;;;;9081;;;9102:61;;9156:4;9148:6;9144:17;9134:27;;9102:61;9209:2;9201:6;9198:14;9178:18;9175:38;9172:161;;9255:10;9250:3;9246:20;9243:1;9236:31;9290:4;9287:1;9280:15;9318:4;9315:1;9308:15;9172:161;;8959:380;;;:::o;9344:402::-;9546:2;9528:21;;;9585:2;9565:18;;;9558:30;9624:34;9619:2;9604:18;;9597:62;-1:-1:-1;;;9690:2:6;9675:18;;9668:36;9736:3;9721:19;;9344:402::o;9751:407::-;9953:2;9935:21;;;9992:2;9972:18;;;9965:30;10031:34;10026:2;10011:18;;10004:62;-1:-1:-1;;;10097:2:6;10082:18;;10075:41;10148:3;10133:19;;9751:407::o;10163:127::-;10224:10;10219:3;10215:20;10212:1;10205:31;10255:4;10252:1;10245:15;10279:4;10276:1;10269:15;10295:125;10360:9;;;10381:10;;;10378:36;;;10394:18;;:::i;11021:245::-;11088:6;11141:2;11129:9;11120:7;11116:23;11112:32;11109:52;;;11157:1;11154;11147:12;11109:52;11189:9;11183:16;11208:28;11230:5;11208:28;:::i;12360:168::-;12433:9;;;12464;;12481:15;;;12475:22;;12461:37;12451:71;;12502:18;;:::i;14032:135::-;14071:3;14092:17;;;14089:43;;14112:18;;:::i;:::-;-1:-1:-1;14159:1:6;14148:13;;14032:135::o;14172:127::-;14233:10;14228:3;14224:20;14221:1;14214:31;14264:4;14261:1;14254:15;14288:4;14285:1;14278:15;14430:545;14532:2;14527:3;14524:11;14521:448;;;14568:1;14593:5;14589:2;14582:17;14638:4;14634:2;14624:19;14708:2;14696:10;14692:19;14689:1;14685:27;14679:4;14675:38;14744:4;14732:10;14729:20;14726:47;;;-1:-1:-1;14767:4:6;14726:47;14822:2;14817:3;14813:12;14810:1;14806:20;14800:4;14796:31;14786:41;;14877:82;14895:2;14888:5;14885:13;14877:82;;;14940:17;;;14921:1;14910:13;14877:82;;15151:1352;15277:3;15271:10;15304:18;15296:6;15293:30;15290:56;;;15326:18;;:::i;:::-;15355:97;15445:6;15405:38;15437:4;15431:11;15405:38;:::i;:::-;15399:4;15355:97;:::i;:::-;15507:4;;15571:2;15560:14;;15588:1;15583:663;;;;16290:1;16307:6;16304:89;;;-1:-1:-1;16359:19:6;;;16353:26;16304:89;-1:-1:-1;;15108:1:6;15104:11;;;15100:24;15096:29;15086:40;15132:1;15128:11;;;15083:57;16406:81;;15553:944;;15583:663;14377:1;14370:14;;;14414:4;14401:18;;-1:-1:-1;;15619:20:6;;;15737:236;15751:7;15748:1;15745:14;15737:236;;;15840:19;;;15834:26;15819:42;;15932:27;;;;15900:1;15888:14;;;;15767:19;;15737:236;;;15741:3;16001:6;15992:7;15989:19;15986:201;;;16062:19;;;16056:26;-1:-1:-1;;16145:1:6;16141:14;;;16157:3;16137:24;16133:37;16129:42;16114:58;16099:74;;15986:201;-1:-1:-1;;;;;16233:1:6;16217:14;;;16213:22;16200:36;;-1:-1:-1;15151:1352:6:o;17607:184::-;17677:6;17730:2;17718:9;17709:7;17705:23;17701:32;17698:52;;;17746:1;17743;17736:12;17698:52;-1:-1:-1;17769:16:6;;17607:184;-1:-1:-1;17607:184:6:o;18156:1187::-;18433:3;18462:1;18495:6;18489:13;18525:36;18551:9;18525:36;:::i;:::-;18580:1;18597:18;;;18624:133;;;;18771:1;18766:356;;;;18590:532;;18624:133;-1:-1:-1;;18657:24:6;;18645:37;;18730:14;;18723:22;18711:35;;18702:45;;;-1:-1:-1;18624:133:6;;18766:356;18797:6;18794:1;18787:17;18827:4;18872:2;18869:1;18859:16;18897:1;18911:165;18925:6;18922:1;18919:13;18911:165;;;19003:14;;18990:11;;;18983:35;19046:16;;;;18940:10;;18911:165;;;18915:3;;;19105:6;19100:3;19096:16;19089:23;;18590:532;;;;;19153:6;19147:13;19169:68;19228:8;19223:3;19216:4;19208:6;19204:17;19169:68;:::i;:::-;-1:-1:-1;;;19259:18:6;;19286:22;;;19335:1;19324:13;;18156:1187;-1:-1:-1;;;;18156:1187:6:o;21467:217::-;21507:1;21533;21523:132;;21577:10;21572:3;21568:20;21565:1;21558:31;21612:4;21609:1;21602:15;21640:4;21637:1;21630:15;21523:132;-1:-1:-1;21669:9:6;;21467:217::o;21689:128::-;21756:9;;;21777:11;;;21774:37;;;21791:18;;:::i;23752:489::-;-1:-1:-1;;;;;24021:15:6;;;24003:34;;24073:15;;24068:2;24053:18;;24046:43;24120:2;24105:18;;24098:34;;;24168:3;24163:2;24148:18;;24141:31;;;23946:4;;24189:46;;24215:19;;24207:6;24189:46;:::i;:::-;24181:54;23752:489;-1:-1:-1;;;;;;23752:489:6:o;24246:249::-;24315:6;24368:2;24356:9;24347:7;24343:23;24339:32;24336:52;;;24384:1;24381;24374:12;24336:52;24416:9;24410:16;24435:30;24459:5;24435:30;:::i;25668:287::-;25797:3;25835:6;25829:13;25851:66;25910:6;25905:3;25898:4;25890:6;25886:17;25851:66;:::i;:::-;25933:16;;;;;25668:287;-1:-1:-1;;25668:287:6:o
Swarm Source
ipfs://3aa226057a4d52ef1a4def4ca3a19bd8b8269b38113ae0bb171933af621b1456
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.