ERC-721
Overview
Max Total Supply
999 HQ
Holders
440
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HeroesHQ
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-04 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; /* * @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 HeroesHQ is Ownable, ERC721A, PaymentSplitter { 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 = 666; uint private constant MAX_WL = 333; uint public wlSalePrice = 0.0069 ether; uint public publicSalePrice = 0.01 ether; mapping(address => uint) public mintedAmountNFTsperWalletWhitelistSale; mapping(address => uint) public mintedAmountNFTsperWalletPublicSale; uint public maxMintAmountPerWhitelist = 1; uint public maxMintAmountPerPublic = 2; uint private teamLength; constructor(address[] memory _team, uint[] memory _teamShares, address _signerAddressWL, string memory _baseURI) ERC721A("Heroes HQ", "HQ") 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, 5); } 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 1 NFT on the Whitelist Sale"); mintedAmountNFTsperWalletWhitelistSale[msg.sender] += _quantity; _mint(msg.sender, _quantity); } 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))); } } }
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":[],"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 HeroesHQ.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 HeroesHQ.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
60806040526618838370f34000601355662386f26fc10000601455600160175560026018553480156200003157600080fd5b50604051620035d7380380620035d783398101604081905262000054916200060c565b8383604051806040016040528060098152602001684865726f657320485160b81b81525060405180604001604052806002815260200161485160f01b815250620000ad620000a76200023e60201b60201c565b62000242565b6003620000bb8382620007a5565b506004620000ca8282620007a5565b506001805550508051825114620001435760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001965760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200013a565b60005b82518110156200020257620001ed838281518110620001bc57620001bc62000871565b6020026020010151838381518110620001d957620001d962000871565b60200260200101516200029260201b60201c565b80620001f9816200089d565b91505062000199565b5050601080546001600160a01b0319166001600160a01b0385161790555060116200022e8282620007a5565b5050915160195550620008d59050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620002ff5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200013a565b60008111620003515760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200013a565b6001600160a01b0382166000908152600b602052604090205415620003cd5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200013a565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b6020526040902081905560095462000437908290620008b9565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620004c157620004c162000480565b604052919050565b60006001600160401b03821115620004e557620004e562000480565b5060051b60200190565b80516001600160a01b03811681146200050757600080fd5b919050565b600082601f8301126200051e57600080fd5b81516020620005376200053183620004c9565b62000496565b82815260059290921b840181019181810190868411156200055757600080fd5b8286015b848110156200057457805183529183019183016200055b565b509695505050505050565b600082601f8301126200059157600080fd5b81516001600160401b03811115620005ad57620005ad62000480565b6020620005c3601f8301601f1916820162000496565b8281528582848701011115620005d857600080fd5b60005b83811015620005f8578581018301518282018401528201620005db565b506000928101909101919091529392505050565b600080600080608085870312156200062357600080fd5b84516001600160401b03808211156200063b57600080fd5b818701915087601f8301126200065057600080fd5b81516020620006636200053183620004c9565b82815260059290921b8401810191818101908b8411156200068357600080fd5b948201945b83861015620006ac576200069c86620004ef565b8252948201949082019062000688565b918a0151919850909350505080821115620006c657600080fd5b620006d4888389016200050c565b9450620006e460408801620004ef565b93506060870151915080821115620006fb57600080fd5b506200070a878288016200057f565b91505092959194509250565b600181811c908216806200072b57607f821691505b6020821081036200074c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007a057600081815260208120601f850160051c810160208610156200077b5750805b601f850160051c820191505b818110156200079c5782815560010162000787565b5050505b505050565b81516001600160401b03811115620007c157620007c162000480565b620007d981620007d2845462000716565b8462000752565b602080601f831160018114620008115760008415620007f85750858301515b600019600386901b1c1916600185901b1785556200079c565b600085815260208120601f198616915b82811015620008425788860151825594840194600190910190840162000821565b5085821015620008615787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620008b257620008b262000887565b5060010190565b80820180821115620008cf57620008cf62000887565b92915050565b612cf280620008e56000396000f3fe6080604052600436106102cc5760003560e01c80637f16053a11610175578063b9bbe00a116100dc578063d0cd8e6911610095578063e985e9c51161006f578063e985e9c514610935578063ea9004751461097e578063f2fde38b146109b4578063f8dcbddb146109d457600080fd5b8063d0cd8e69146108bd578063d79779b2146108ea578063e33b7de31461092057600080fd5b8063b9bbe00a146107de578063c45ac0501461080b578063c87b56dd1461082b578063c893575a1461084b578063cbccefb214610860578063ce7c2ac21461088757600080fd5b80639b6860c81161012e5780639b6860c814610735578063a0bcfc7f1461074b578063a22cb4651461076b578063a3f8eace1461078b578063b3ab66b0146107ab578063b88d4fde146107be57600080fd5b80637f16053a146106565780638a59a7fd1461068c5780638b83209b146106ac5780638da5cb5b146106cc57806395d89b41146106ea5780639852595c146106ff57600080fd5b806342842e0e116102345780635b2fda67116101ed5780636c0360eb116101c75780636c0360eb146105f657806370a082311461060b578063715018a61461062b578063734c66bd1461064057600080fd5b80635b2fda67146105ae5780635be7fde8146105c15780636352211e146105d657600080fd5b806342842e0e146104f857806348b750441461051857806349e949e7146105385780634ef22ea9146105585780634fda72851461056e57806359d20e611461058e57600080fd5b806318160ddd1161028657806318160ddd1461041b578063191655871461044757806323b872dd146104675780632cefffa7146104875780633a98ef391461049d578063406072a9146104b257600080fd5b8062eb70131461031a57806301ffc9a71461033c57806306fdde0314610371578063081812fc14610393578063095ea7b3146103cb5780630c3f6acf146103eb57600080fd5b36610315577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561032657600080fd5b5061033a6103353660046124fa565b6109f4565b005b34801561034857600080fd5b5061035c610357366004612529565b610a01565b60405190151581526020015b60405180910390f35b34801561037d57600080fd5b50610386610a53565b6040516103689190612596565b34801561039f57600080fd5b506103b36103ae3660046124fa565b610ae5565b6040516001600160a01b039091168152602001610368565b3480156103d757600080fd5b5061033a6103e63660046125be565b610b29565b3480156103f757600080fd5b506012546014546013546017546018546040516103689560ff169493929190612622565b34801561042757600080fd5b50610439600254600154036000190190565b604051908152602001610368565b34801561045357600080fd5b5061033a610462366004612652565b610bc9565b34801561047357600080fd5b5061033a61048236600461266f565b610ccb565b34801561049357600080fd5b5061043960175481565b3480156104a957600080fd5b50600954610439565b3480156104be57600080fd5b506104396104cd3660046126b0565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561050457600080fd5b5061033a61051336600461266f565b610e64565b34801561052457600080fd5b5061033a6105333660046126b0565b610e84565b34801561054457600080fd5b5061033a6105533660046124fa565b610fa7565b34801561056457600080fd5b5061043960185481565b34801561057a57600080fd5b5061033a6105893660046124fa565b610fb4565b34801561059a57600080fd5b5061033a6105a93660046124fa565b610fc1565b61033a6105bc3660046126e9565b610fce565b3480156105cd57600080fd5b5061033a6112de565b3480156105e257600080fd5b506103b36105f13660046124fa565b61130c565b34801561060257600080fd5b50610386611317565b34801561061757600080fd5b50610439610626366004612652565b6113a5565b34801561063757600080fd5b5061033a6113f4565b34801561064c57600080fd5b5061043960135481565b34801561066257600080fd5b50610439610671366004612652565b6001600160a01b031660009081526016602052604090205490565b34801561069857600080fd5b506104396106a7366004612652565b611408565b3480156106b857600080fd5b506103b36106c73660046124fa565b611433565b3480156106d857600080fd5b506000546001600160a01b03166103b3565b3480156106f657600080fd5b50610386611463565b34801561070b57600080fd5b5061043961071a366004612652565b6001600160a01b03166000908152600c602052604090205490565b34801561074157600080fd5b5061043960145481565b34801561075757600080fd5b5061033a6107663660046127f1565b611472565b34801561077757600080fd5b5061033a610786366004612848565b61148a565b34801561079757600080fd5b506104396107a6366004612652565b61151f565b61033a6107b93660046124fa565b611567565b3480156107ca57600080fd5b5061033a6107d9366004612876565b611755565b3480156107ea57600080fd5b506104396107f9366004612652565b60166020526000908152604090205481565b34801561081757600080fd5b506104396108263660046126b0565b611799565b34801561083757600080fd5b506103866108463660046124fa565b611864565b34801561085757600080fd5b5061033a6118ed565b34801561086c57600080fd5b5060125461087a9060ff1681565b60405161036891906128f6565b34801561089357600080fd5b506104396108a2366004612652565b6001600160a01b03166000908152600b602052604090205490565b3480156108c957600080fd5b506104396108d8366004612652565b60156020526000908152604090205481565b3480156108f657600080fd5b50610439610905366004612652565b6001600160a01b03166000908152600e602052604090205490565b34801561092c57600080fd5b50600a54610439565b34801561094157600080fd5b5061035c6109503660046126b0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561098a57600080fd5b50610439610999366004612652565b6001600160a01b031660009081526015602052604090205490565b3480156109c057600080fd5b5061033a6109cf366004612652565b61195e565b3480156109e057600080fd5b5061033a6109ef3660046124fa565b6119d4565b6109fc611a12565b601755565b60006301ffc9a760e01b6001600160e01b031983161480610a3257506380ac58cd60e01b6001600160e01b03198316145b80610a4d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060038054610a6290612904565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8e90612904565b8015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af082611a6c565b610b0d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610b348261130c565b9050336001600160a01b03821614610b6d57610b508133610950565b610b6d576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610c075760405162461bcd60e51b8152600401610bfe9061293e565b60405180910390fd5b6000610c128261151f565b905080600003610c345760405162461bcd60e51b8152600401610bfe90612984565b6001600160a01b0382166000908152600c602052604081208054839290610c5c9084906129e5565b9250508190555080600a6000828254610c7591906129e5565b90915550610c8590508282611aa1565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6000610cd682611bba565b9050836001600160a01b0316816001600160a01b031614610d095760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610d5657610d398633610950565b610d5657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d7d57604051633a954ecd60e21b815260040160405180910390fd5b8015610d8857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610e1a57600184016000818152600560205260408120549003610e18576001548114610e185760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610e7f83838360405180602001604052806000815250611755565b505050565b6001600160a01b0381166000908152600b6020526040902054610eb95760405162461bcd60e51b8152600401610bfe9061293e565b6000610ec58383611799565b905080600003610ee75760405162461bcd60e51b8152600401610bfe90612984565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290610f1e9084906129e5565b90915550506001600160a01b0383166000908152600e602052604081208054839290610f4b9084906129e5565b90915550610f5c9050838383611c29565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610faf611a12565b601855565b610fbc611a12565b601455565b610fc9611a12565b601355565b6013548061100b5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610bfe565b600260125460ff166004811115611024576110246125ea565b146110655760405162461bcd60e51b81526020600482015260116024820152702ba61026b4b73a103737ba103634bb329760791b6044820152606401610bfe565b61107361014d61029a6129e5565b84611085600254600154036000190190565b61108f91906129e5565b11156110e95760405162461bcd60e51b815260206004820152602360248201527f4d617820737570706c7920657863656564656420666f7220574c20657863656560448201526219195960ea1b6064820152608401610bfe565b6110f384826129f8565b3410156111355760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610bfe565b6111cb83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c0191506111a79050565b60405160208183030381529060405280519060200120611c7b90919063ffffffff16565b6010546001600160a01b039081169116146112285760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420696e20574c2077686974656c69737400000000006044820152606401610bfe565b601754336000908152601560205260409020546112469086906129e5565b11156112a95760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206f6e6c79206765742031204e4654206f6e2074686520576860448201526b6974656c6973742053616c6560a01b6064820152608401610bfe565b33600090815260156020526040812080548692906112c89084906129e5565b909155506112d890503385611c9f565b50505050565b60005b601954811015611309576112f761046282611433565b8061130181612a0f565b9150506112e1565b50565b6000610a4d82611bba565b6011805461132490612904565b80601f016020809104026020016040519081016040528092919081815260200182805461135090612904565b801561139d5780601f106113725761010080835404028352916020019161139d565b820191906000526020600020905b81548152906001019060200180831161138057829003601f168201915b505050505081565b60006001600160a01b0382166113ce576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6113fc611a12565b6114066000611d9d565b565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16610a4d565b6000600d828154811061144857611448612a28565b6000918252602090912001546001600160a01b031692915050565b606060048054610a6290612904565b61147a611a12565b60116114868282612a84565b5050565b336001600160a01b038316036114b35760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008061152b600a5490565b61153590476129e5565b9050611560838261155b866001600160a01b03166000908152600c602052604090205490565b611ded565b9392505050565b601454806115a45760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610bfe565b600160125460ff1660048111156115bd576115bd6125ea565b146116025760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610bfe565b61029a82611617600254600154036000190190565b61162191906129e5565b111561167f5760405162461bcd60e51b815260206004820152602760248201527f4d617820737570706c7920657863656564656420666f72207075626c696320656044820152661e18d95959195960ca1b6064820152608401610bfe565b61168982826129f8565b3410156116cb5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610bfe565b601854336000908152601660205260409020546116e99084906129e5565b11156117265760405162461bcd60e51b815260206004820152600c60248201526b13585e08195e18d95959195960a21b6044820152606401610bfe565b33600090815260166020526040812080548492906117459084906129e5565b9091555061148690503383611c9f565b611760848484610ccb565b6001600160a01b0383163b156112d85761177c84848484611e2b565b6112d8576040516368d2bf6b60e11b815260040160405180910390fd5b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa1580156117f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181c9190612b44565b61182691906129e5565b6001600160a01b038086166000908152600f602090815260408083209388168352929052205490915061185c9084908390611ded565b949350505050565b606061186f82611a6c565b6118bb5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610bfe565b60116118c683611f16565b6040516020016118d7929190612b5d565b6040516020818303038152906040529050919050565b6118f5611a12565b611906600254600154036000190190565b156119535760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792066697665206d696e7420666f72206465706c6f79657200000000006044820152606401610bfe565b611406336005611c9f565b611966611a12565b6001600160a01b0381166119cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bfe565b61130981611d9d565b6119dc611a12565b8060048111156119ee576119ee6125ea565b6012805460ff19166001836004811115611a0a57611a0a6125ea565b021790555050565b6000546001600160a01b031633146114065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bfe565b600081600111158015611a80575060015482105b8015610a4d575050600090815260056020526040902054600160e01b161590565b80471015611af15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bfe565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b3e576040519150601f19603f3d011682016040523d82523d6000602084013e611b43565b606091505b5050905080610e7f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bfe565b60008180600111611c1057600154811015611c105760008181526005602052604081205490600160e01b82169003611c0e575b80600003611560575060001901600081815260056020526040902054611bed565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e7f908490611f65565b6000806000611c8a8585612037565b91509150611c97816120a5565b509392505050565b6001546000829003611cc45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611d7357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611d3b565b5081600003611d9457604051622e076360e81b815260040160405180910390fd5b60015550505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b602052604081205490918391611e1790866129f8565b611e219190612bf4565b61185c9190612c16565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e60903390899088908890600401612c29565b6020604051808303816000875af1925050508015611e9b575060408051601f3d908101601f19168201909252611e9891810190612c66565b60015b611ef9573d808015611ec9576040519150601f19603f3d011682016040523d82523d6000602084013e611ece565b606091505b508051600003611ef1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611f5357600183039250600a81066030018353600a9004611f35565b50819003601f19909101908152919050565b6000611fba826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661225b9092919063ffffffff16565b805190915015610e7f5780806020019051810190611fd89190612c83565b610e7f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610bfe565b600080825160410361206d5760208301516040840151606085015160001a6120618782858561226a565b9450945050505061209e565b8251604003612096576020830151604084015161208b868383612357565b93509350505061209e565b506000905060025b9250929050565b60008160048111156120b9576120b96125ea565b036120c15750565b60018160048111156120d5576120d56125ea565b036121225760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bfe565b6002816004811115612136576121366125ea565b036121835760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bfe565b6003816004811115612197576121976125ea565b036121ef5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bfe565b6004816004811115612203576122036125ea565b036113095760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bfe565b606061185c8484600085612390565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156122a1575060009050600361234e565b8460ff16601b141580156122b957508460ff16601c14155b156122ca575060009050600461234e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561231e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166123475760006001925092505061234e565b9150600090505b94509492505050565b6000806001600160ff1b0383168161237460ff86901c601b6129e5565b90506123828782888561226a565b935093505050935093915050565b6060824710156123f15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610bfe565b6001600160a01b0385163b6124485760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bfe565b600080866001600160a01b031685876040516124649190612ca0565b60006040518083038185875af1925050503d80600081146124a1576040519150601f19603f3d011682016040523d82523d6000602084013e6124a6565b606091505b50915091506124b68282866124c1565b979650505050505050565b606083156124d0575081611560565b8251156124e05782518084602001fd5b8160405162461bcd60e51b8152600401610bfe9190612596565b60006020828403121561250c57600080fd5b5035919050565b6001600160e01b03198116811461130957600080fd5b60006020828403121561253b57600080fd5b813561156081612513565b60005b83811015612561578181015183820152602001612549565b50506000910152565b60008151808452612582816020860160208601612546565b601f01601f19169290920160200192915050565b602081526000611560602083018461256a565b6001600160a01b038116811461130957600080fd5b600080604083850312156125d157600080fd5b82356125dc816125a9565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b6005811061261e57634e487b7160e01b600052602160045260246000fd5b9052565b60a081016126308288612600565b8560208301528460408301528360608301528260808301529695505050505050565b60006020828403121561266457600080fd5b8135611560816125a9565b60008060006060848603121561268457600080fd5b833561268f816125a9565b9250602084013561269f816125a9565b929592945050506040919091013590565b600080604083850312156126c357600080fd5b82356126ce816125a9565b915060208301356126de816125a9565b809150509250929050565b6000806000604084860312156126fe57600080fd5b83359250602084013567ffffffffffffffff8082111561271d57600080fd5b818601915086601f83011261273157600080fd5b81358181111561274057600080fd5b87602082850101111561275257600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561279657612796612765565b604051601f8501601f19908116603f011681019082821181831017156127be576127be612765565b816040528093508581528686860111156127d757600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561280357600080fd5b813567ffffffffffffffff81111561281a57600080fd5b8201601f8101841361282b57600080fd5b61185c8482356020840161277b565b801515811461130957600080fd5b6000806040838503121561285b57600080fd5b8235612866816125a9565b915060208301356126de8161283a565b6000806000806080858703121561288c57600080fd5b8435612897816125a9565b935060208501356128a7816125a9565b925060408501359150606085013567ffffffffffffffff8111156128ca57600080fd5b8501601f810187136128db57600080fd5b6128ea8782356020840161277b565b91505092959194509250565b60208101610a4d8284612600565b600181811c9082168061291857607f821691505b60208210810361293857634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a4d57610a4d6129cf565b8082028115828204841417610a4d57610a4d6129cf565b600060018201612a2157612a216129cf565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610e7f57600081815260208120601f850160051c81016020861015612a655750805b601f850160051c820191505b81811015610e5c57828155600101612a71565b815167ffffffffffffffff811115612a9e57612a9e612765565b612ab281612aac8454612904565b84612a3e565b602080601f831160018114612ae75760008415612acf5750858301515b600019600386901b1c1916600185901b178555610e5c565b600085815260208120601f198616915b82811015612b1657888601518255948401946001909101908401612af7565b5085821015612b345787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b5657600080fd5b5051919050565b6000808454612b6b81612904565b60018281168015612b835760018114612b9857612bc7565b60ff1984168752821515830287019450612bc7565b8860005260208060002060005b85811015612bbe5781548a820152908401908201612ba5565b50505082870194505b505050508351612bdb818360208801612546565b64173539b7b760d91b9101908152600501949350505050565b600082612c1157634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a4d57610a4d6129cf565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c5c9083018461256a565b9695505050505050565b600060208284031215612c7857600080fd5b815161156081612513565b600060208284031215612c9557600080fd5b81516115608161283a565b60008251612cb2818460208701612546565b919091019291505056fea2646970667358221220d1aca81826c7c74c162247bbe2d430203d2b2171a822de6f17da3e2cb87db49f64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000006d5cffbcbef82b9e7e302a195ffdb282c188addb000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000030000000000000000000000008b629049426ebf1a94c9322d3c923d163e211d03000000000000000000000000e5191a1c0ca03474a486e2b3c9d274914e59833900000000000000000000000043d4a2be4ff42016bce34c497212c3dbe82ccd090000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000002ee00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6479486a4c35436d6177357632706367334d4d55634e55784e57724c69556b573348503443564d76706a75552f00000000000000000000
Deployed Bytecode
0x6080604052600436106102cc5760003560e01c80637f16053a11610175578063b9bbe00a116100dc578063d0cd8e6911610095578063e985e9c51161006f578063e985e9c514610935578063ea9004751461097e578063f2fde38b146109b4578063f8dcbddb146109d457600080fd5b8063d0cd8e69146108bd578063d79779b2146108ea578063e33b7de31461092057600080fd5b8063b9bbe00a146107de578063c45ac0501461080b578063c87b56dd1461082b578063c893575a1461084b578063cbccefb214610860578063ce7c2ac21461088757600080fd5b80639b6860c81161012e5780639b6860c814610735578063a0bcfc7f1461074b578063a22cb4651461076b578063a3f8eace1461078b578063b3ab66b0146107ab578063b88d4fde146107be57600080fd5b80637f16053a146106565780638a59a7fd1461068c5780638b83209b146106ac5780638da5cb5b146106cc57806395d89b41146106ea5780639852595c146106ff57600080fd5b806342842e0e116102345780635b2fda67116101ed5780636c0360eb116101c75780636c0360eb146105f657806370a082311461060b578063715018a61461062b578063734c66bd1461064057600080fd5b80635b2fda67146105ae5780635be7fde8146105c15780636352211e146105d657600080fd5b806342842e0e146104f857806348b750441461051857806349e949e7146105385780634ef22ea9146105585780634fda72851461056e57806359d20e611461058e57600080fd5b806318160ddd1161028657806318160ddd1461041b578063191655871461044757806323b872dd146104675780632cefffa7146104875780633a98ef391461049d578063406072a9146104b257600080fd5b8062eb70131461031a57806301ffc9a71461033c57806306fdde0314610371578063081812fc14610393578063095ea7b3146103cb5780630c3f6acf146103eb57600080fd5b36610315577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561032657600080fd5b5061033a6103353660046124fa565b6109f4565b005b34801561034857600080fd5b5061035c610357366004612529565b610a01565b60405190151581526020015b60405180910390f35b34801561037d57600080fd5b50610386610a53565b6040516103689190612596565b34801561039f57600080fd5b506103b36103ae3660046124fa565b610ae5565b6040516001600160a01b039091168152602001610368565b3480156103d757600080fd5b5061033a6103e63660046125be565b610b29565b3480156103f757600080fd5b506012546014546013546017546018546040516103689560ff169493929190612622565b34801561042757600080fd5b50610439600254600154036000190190565b604051908152602001610368565b34801561045357600080fd5b5061033a610462366004612652565b610bc9565b34801561047357600080fd5b5061033a61048236600461266f565b610ccb565b34801561049357600080fd5b5061043960175481565b3480156104a957600080fd5b50600954610439565b3480156104be57600080fd5b506104396104cd3660046126b0565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561050457600080fd5b5061033a61051336600461266f565b610e64565b34801561052457600080fd5b5061033a6105333660046126b0565b610e84565b34801561054457600080fd5b5061033a6105533660046124fa565b610fa7565b34801561056457600080fd5b5061043960185481565b34801561057a57600080fd5b5061033a6105893660046124fa565b610fb4565b34801561059a57600080fd5b5061033a6105a93660046124fa565b610fc1565b61033a6105bc3660046126e9565b610fce565b3480156105cd57600080fd5b5061033a6112de565b3480156105e257600080fd5b506103b36105f13660046124fa565b61130c565b34801561060257600080fd5b50610386611317565b34801561061757600080fd5b50610439610626366004612652565b6113a5565b34801561063757600080fd5b5061033a6113f4565b34801561064c57600080fd5b5061043960135481565b34801561066257600080fd5b50610439610671366004612652565b6001600160a01b031660009081526016602052604090205490565b34801561069857600080fd5b506104396106a7366004612652565b611408565b3480156106b857600080fd5b506103b36106c73660046124fa565b611433565b3480156106d857600080fd5b506000546001600160a01b03166103b3565b3480156106f657600080fd5b50610386611463565b34801561070b57600080fd5b5061043961071a366004612652565b6001600160a01b03166000908152600c602052604090205490565b34801561074157600080fd5b5061043960145481565b34801561075757600080fd5b5061033a6107663660046127f1565b611472565b34801561077757600080fd5b5061033a610786366004612848565b61148a565b34801561079757600080fd5b506104396107a6366004612652565b61151f565b61033a6107b93660046124fa565b611567565b3480156107ca57600080fd5b5061033a6107d9366004612876565b611755565b3480156107ea57600080fd5b506104396107f9366004612652565b60166020526000908152604090205481565b34801561081757600080fd5b506104396108263660046126b0565b611799565b34801561083757600080fd5b506103866108463660046124fa565b611864565b34801561085757600080fd5b5061033a6118ed565b34801561086c57600080fd5b5060125461087a9060ff1681565b60405161036891906128f6565b34801561089357600080fd5b506104396108a2366004612652565b6001600160a01b03166000908152600b602052604090205490565b3480156108c957600080fd5b506104396108d8366004612652565b60156020526000908152604090205481565b3480156108f657600080fd5b50610439610905366004612652565b6001600160a01b03166000908152600e602052604090205490565b34801561092c57600080fd5b50600a54610439565b34801561094157600080fd5b5061035c6109503660046126b0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561098a57600080fd5b50610439610999366004612652565b6001600160a01b031660009081526015602052604090205490565b3480156109c057600080fd5b5061033a6109cf366004612652565b61195e565b3480156109e057600080fd5b5061033a6109ef3660046124fa565b6119d4565b6109fc611a12565b601755565b60006301ffc9a760e01b6001600160e01b031983161480610a3257506380ac58cd60e01b6001600160e01b03198316145b80610a4d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060038054610a6290612904565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8e90612904565b8015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af082611a6c565b610b0d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610b348261130c565b9050336001600160a01b03821614610b6d57610b508133610950565b610b6d576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610c075760405162461bcd60e51b8152600401610bfe9061293e565b60405180910390fd5b6000610c128261151f565b905080600003610c345760405162461bcd60e51b8152600401610bfe90612984565b6001600160a01b0382166000908152600c602052604081208054839290610c5c9084906129e5565b9250508190555080600a6000828254610c7591906129e5565b90915550610c8590508282611aa1565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6000610cd682611bba565b9050836001600160a01b0316816001600160a01b031614610d095760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610d5657610d398633610950565b610d5657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d7d57604051633a954ecd60e21b815260040160405180910390fd5b8015610d8857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610e1a57600184016000818152600560205260408120549003610e18576001548114610e185760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610e7f83838360405180602001604052806000815250611755565b505050565b6001600160a01b0381166000908152600b6020526040902054610eb95760405162461bcd60e51b8152600401610bfe9061293e565b6000610ec58383611799565b905080600003610ee75760405162461bcd60e51b8152600401610bfe90612984565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290610f1e9084906129e5565b90915550506001600160a01b0383166000908152600e602052604081208054839290610f4b9084906129e5565b90915550610f5c9050838383611c29565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610faf611a12565b601855565b610fbc611a12565b601455565b610fc9611a12565b601355565b6013548061100b5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610bfe565b600260125460ff166004811115611024576110246125ea565b146110655760405162461bcd60e51b81526020600482015260116024820152702ba61026b4b73a103737ba103634bb329760791b6044820152606401610bfe565b61107361014d61029a6129e5565b84611085600254600154036000190190565b61108f91906129e5565b11156110e95760405162461bcd60e51b815260206004820152602360248201527f4d617820737570706c7920657863656564656420666f7220574c20657863656560448201526219195960ea1b6064820152608401610bfe565b6110f384826129f8565b3410156111355760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610bfe565b6111cb83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c0191506111a79050565b60405160208183030381529060405280519060200120611c7b90919063ffffffff16565b6010546001600160a01b039081169116146112285760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420696e20574c2077686974656c69737400000000006044820152606401610bfe565b601754336000908152601560205260409020546112469086906129e5565b11156112a95760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206f6e6c79206765742031204e4654206f6e2074686520576860448201526b6974656c6973742053616c6560a01b6064820152608401610bfe565b33600090815260156020526040812080548692906112c89084906129e5565b909155506112d890503385611c9f565b50505050565b60005b601954811015611309576112f761046282611433565b8061130181612a0f565b9150506112e1565b50565b6000610a4d82611bba565b6011805461132490612904565b80601f016020809104026020016040519081016040528092919081815260200182805461135090612904565b801561139d5780601f106113725761010080835404028352916020019161139d565b820191906000526020600020905b81548152906001019060200180831161138057829003601f168201915b505050505081565b60006001600160a01b0382166113ce576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6113fc611a12565b6114066000611d9d565b565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16610a4d565b6000600d828154811061144857611448612a28565b6000918252602090912001546001600160a01b031692915050565b606060048054610a6290612904565b61147a611a12565b60116114868282612a84565b5050565b336001600160a01b038316036114b35760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008061152b600a5490565b61153590476129e5565b9050611560838261155b866001600160a01b03166000908152600c602052604090205490565b611ded565b9392505050565b601454806115a45760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610bfe565b600160125460ff1660048111156115bd576115bd6125ea565b146116025760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610bfe565b61029a82611617600254600154036000190190565b61162191906129e5565b111561167f5760405162461bcd60e51b815260206004820152602760248201527f4d617820737570706c7920657863656564656420666f72207075626c696320656044820152661e18d95959195960ca1b6064820152608401610bfe565b61168982826129f8565b3410156116cb5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610bfe565b601854336000908152601660205260409020546116e99084906129e5565b11156117265760405162461bcd60e51b815260206004820152600c60248201526b13585e08195e18d95959195960a21b6044820152606401610bfe565b33600090815260166020526040812080548492906117459084906129e5565b9091555061148690503383611c9f565b611760848484610ccb565b6001600160a01b0383163b156112d85761177c84848484611e2b565b6112d8576040516368d2bf6b60e11b815260040160405180910390fd5b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa1580156117f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181c9190612b44565b61182691906129e5565b6001600160a01b038086166000908152600f602090815260408083209388168352929052205490915061185c9084908390611ded565b949350505050565b606061186f82611a6c565b6118bb5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610bfe565b60116118c683611f16565b6040516020016118d7929190612b5d565b6040516020818303038152906040529050919050565b6118f5611a12565b611906600254600154036000190190565b156119535760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792066697665206d696e7420666f72206465706c6f79657200000000006044820152606401610bfe565b611406336005611c9f565b611966611a12565b6001600160a01b0381166119cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bfe565b61130981611d9d565b6119dc611a12565b8060048111156119ee576119ee6125ea565b6012805460ff19166001836004811115611a0a57611a0a6125ea565b021790555050565b6000546001600160a01b031633146114065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bfe565b600081600111158015611a80575060015482105b8015610a4d575050600090815260056020526040902054600160e01b161590565b80471015611af15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bfe565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b3e576040519150601f19603f3d011682016040523d82523d6000602084013e611b43565b606091505b5050905080610e7f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bfe565b60008180600111611c1057600154811015611c105760008181526005602052604081205490600160e01b82169003611c0e575b80600003611560575060001901600081815260056020526040902054611bed565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e7f908490611f65565b6000806000611c8a8585612037565b91509150611c97816120a5565b509392505050565b6001546000829003611cc45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611d7357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611d3b565b5081600003611d9457604051622e076360e81b815260040160405180910390fd5b60015550505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b602052604081205490918391611e1790866129f8565b611e219190612bf4565b61185c9190612c16565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e60903390899088908890600401612c29565b6020604051808303816000875af1925050508015611e9b575060408051601f3d908101601f19168201909252611e9891810190612c66565b60015b611ef9573d808015611ec9576040519150601f19603f3d011682016040523d82523d6000602084013e611ece565b606091505b508051600003611ef1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611f5357600183039250600a81066030018353600a9004611f35565b50819003601f19909101908152919050565b6000611fba826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661225b9092919063ffffffff16565b805190915015610e7f5780806020019051810190611fd89190612c83565b610e7f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610bfe565b600080825160410361206d5760208301516040840151606085015160001a6120618782858561226a565b9450945050505061209e565b8251604003612096576020830151604084015161208b868383612357565b93509350505061209e565b506000905060025b9250929050565b60008160048111156120b9576120b96125ea565b036120c15750565b60018160048111156120d5576120d56125ea565b036121225760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bfe565b6002816004811115612136576121366125ea565b036121835760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bfe565b6003816004811115612197576121976125ea565b036121ef5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bfe565b6004816004811115612203576122036125ea565b036113095760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bfe565b606061185c8484600085612390565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156122a1575060009050600361234e565b8460ff16601b141580156122b957508460ff16601c14155b156122ca575060009050600461234e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561231e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166123475760006001925092505061234e565b9150600090505b94509492505050565b6000806001600160ff1b0383168161237460ff86901c601b6129e5565b90506123828782888561226a565b935093505050935093915050565b6060824710156123f15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610bfe565b6001600160a01b0385163b6124485760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bfe565b600080866001600160a01b031685876040516124649190612ca0565b60006040518083038185875af1925050503d80600081146124a1576040519150601f19603f3d011682016040523d82523d6000602084013e6124a6565b606091505b50915091506124b68282866124c1565b979650505050505050565b606083156124d0575081611560565b8251156124e05782518084602001fd5b8160405162461bcd60e51b8152600401610bfe9190612596565b60006020828403121561250c57600080fd5b5035919050565b6001600160e01b03198116811461130957600080fd5b60006020828403121561253b57600080fd5b813561156081612513565b60005b83811015612561578181015183820152602001612549565b50506000910152565b60008151808452612582816020860160208601612546565b601f01601f19169290920160200192915050565b602081526000611560602083018461256a565b6001600160a01b038116811461130957600080fd5b600080604083850312156125d157600080fd5b82356125dc816125a9565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b6005811061261e57634e487b7160e01b600052602160045260246000fd5b9052565b60a081016126308288612600565b8560208301528460408301528360608301528260808301529695505050505050565b60006020828403121561266457600080fd5b8135611560816125a9565b60008060006060848603121561268457600080fd5b833561268f816125a9565b9250602084013561269f816125a9565b929592945050506040919091013590565b600080604083850312156126c357600080fd5b82356126ce816125a9565b915060208301356126de816125a9565b809150509250929050565b6000806000604084860312156126fe57600080fd5b83359250602084013567ffffffffffffffff8082111561271d57600080fd5b818601915086601f83011261273157600080fd5b81358181111561274057600080fd5b87602082850101111561275257600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561279657612796612765565b604051601f8501601f19908116603f011681019082821181831017156127be576127be612765565b816040528093508581528686860111156127d757600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561280357600080fd5b813567ffffffffffffffff81111561281a57600080fd5b8201601f8101841361282b57600080fd5b61185c8482356020840161277b565b801515811461130957600080fd5b6000806040838503121561285b57600080fd5b8235612866816125a9565b915060208301356126de8161283a565b6000806000806080858703121561288c57600080fd5b8435612897816125a9565b935060208501356128a7816125a9565b925060408501359150606085013567ffffffffffffffff8111156128ca57600080fd5b8501601f810187136128db57600080fd5b6128ea8782356020840161277b565b91505092959194509250565b60208101610a4d8284612600565b600181811c9082168061291857607f821691505b60208210810361293857634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a4d57610a4d6129cf565b8082028115828204841417610a4d57610a4d6129cf565b600060018201612a2157612a216129cf565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610e7f57600081815260208120601f850160051c81016020861015612a655750805b601f850160051c820191505b81811015610e5c57828155600101612a71565b815167ffffffffffffffff811115612a9e57612a9e612765565b612ab281612aac8454612904565b84612a3e565b602080601f831160018114612ae75760008415612acf5750858301515b600019600386901b1c1916600185901b178555610e5c565b600085815260208120601f198616915b82811015612b1657888601518255948401946001909101908401612af7565b5085821015612b345787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b5657600080fd5b5051919050565b6000808454612b6b81612904565b60018281168015612b835760018114612b9857612bc7565b60ff1984168752821515830287019450612bc7565b8860005260208060002060005b85811015612bbe5781548a820152908401908201612ba5565b50505082870194505b505050508351612bdb818360208801612546565b64173539b7b760d91b9101908152600501949350505050565b600082612c1157634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a4d57610a4d6129cf565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c5c9083018461256a565b9695505050505050565b600060208284031215612c7857600080fd5b815161156081612513565b600060208284031215612c9557600080fd5b81516115608161283a565b60008251612cb2818460208701612546565b919091019291505056fea2646970667358221220d1aca81826c7c74c162247bbe2d430203d2b2171a822de6f17da3e2cb87db49f64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000006d5cffbcbef82b9e7e302a195ffdb282c188addb000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000030000000000000000000000008b629049426ebf1a94c9322d3c923d163e211d03000000000000000000000000e5191a1c0ca03474a486e2b3c9d274914e59833900000000000000000000000043d4a2be4ff42016bce34c497212c3dbe82ccd090000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000002ee00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6479486a4c35436d6177357632706367334d4d55634e55784e57724c69556b573348503443564d76706a75552f00000000000000000000
-----Decoded View---------------
Arg [0] : _team (address[]): 0x8B629049426EBf1A94C9322d3C923D163E211D03,0xe5191A1c0ca03474a486e2B3c9D274914e598339,0x43d4A2BE4fF42016BCe34c497212C3dbe82ccD09
Arg [1] : _teamShares (uint256[]): 150,750,100
Arg [2] : _signerAddressWL (address): 0x6d5cffBcbeF82B9E7E302A195fFDb282C188AddB
Arg [3] : _baseURI (string): ipfs://QmdyHjL5Cmaw5v2pcg3MMUcNUxNWrLiUkW3HP4CVMvpjuU/
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000006d5cffbcbef82b9e7e302a195ffdb282c188addb
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 0000000000000000000000008b629049426ebf1a94c9322d3c923d163e211d03
Arg [6] : 000000000000000000000000e5191a1c0ca03474a486e2b3c9d274914e598339
Arg [7] : 00000000000000000000000043d4a2be4ff42016bce34c497212c3dbe82ccd09
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [10] : 00000000000000000000000000000000000000000000000000000000000002ee
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [13] : 697066733a2f2f516d6479486a4c35436d6177357632706367334d4d55634e55
Arg [14] : 784e57724c69556b573348503443564d76706a75552f00000000000000000000
Deployed Bytecode Sourcemap
88240:4658:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41350:40;8610:10;41350:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;41380:9:0;270:2:1;255:18;;248:34;161:18;41350:40:0;;;;;;;88240:4658;;;;;91812:116;;;;;;;;;;-1:-1:-1;91812:116:0;;;;;:::i;:::-;;:::i;:::-;;55428:639;;;;;;;;;;-1:-1:-1;55428:639:0;;;;;:::i;:::-;;:::i;:::-;;;1029:14:1;;1022:22;1004:41;;992:2;977:18;55428:639:0;;;;;;;;56330:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;62813:218::-;;;;;;;;;;-1:-1:-1;62813:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1976:32:1;;;1958:51;;1946:2;1931:18;62813:218:0;1812:203:1;62254:400:0;;;;;;;;;;-1:-1:-1;62254:400:0;;;;;:::i;:::-;;:::i;91163:197::-;;;;;;;;;;-1:-1:-1;91259:11:0;;91272:15;;91289:11;;91302:25;;91329:22;;91163:197;;;;91259:11;;;91272:15;91289:11;91302:25;91329:22;91163:197;:::i;52081:323::-;;;;;;;;;;;;52355:12;;51680:1;52339:13;:28;-1:-1:-1;;52339:46:0;;52081:323;;;;3480:25:1;;;3468:2;3453:18;52081:323:0;3334:177:1;43871:453:0;;;;;;;;;;-1:-1:-1;43871:453:0;;;;;:::i;:::-;;:::i;66520:2817::-;;;;;;;;;;-1:-1:-1;66520:2817:0;;;;;:::i;:::-;;:::i;88924:41::-;;;;;;;;;;;;;;;;41481:91;;;;;;;;;;-1:-1:-1;41552:12:0;;41481:91;;42610:135;;;;;;;;;;-1:-1:-1;42610:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;42707:21:0;;;42680:7;42707:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;42610:135;69433:185;;;;;;;;;;-1:-1:-1;69433:185:0;;;;;:::i;:::-;;:::i;44592:514::-;;;;;;;;;;-1:-1:-1;44592:514:0;;;;;:::i;:::-;;:::i;91936:110::-;;;;;;;;;;-1:-1:-1;91936:110:0;;;;;:::i;:::-;;:::i;88973:38::-;;;;;;;;;;;;;;;;91482:114;;;;;;;;;;-1:-1:-1;91482:114:0;;;;;:::i;:::-;;:::i;91368:106::-;;;;;;;;;;-1:-1:-1;91368:106:0;;;;;:::i;:::-;;:::i;90169:986::-;;;;;;:::i;:::-;;:::i;92754:141::-;;;;;;;;;;;;;:::i;57723:152::-;;;;;;;;;;-1:-1:-1;57723:152:0;;;;;:::i;:::-;;:::i;88527:21::-;;;;;;;;;;;;;:::i;53265:233::-;;;;;;;;;;-1:-1:-1;53265:233:0;;;;;:::i;:::-;;:::i;29353:103::-;;;;;;;;;;;;;:::i;88677:38::-;;;;;;;;;;;;;;;;92341:150;;;;;;;;;;-1:-1:-1;92341:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;92439:44:0;92412:7;92439:44;;;:35;:44;;;;;;;92341:150;92054:122;;;;;;;;;;-1:-1:-1;92054:122:0;;;;;:::i;:::-;;:::i;42836:100::-;;;;;;;;;;-1:-1:-1;42836:100:0;;;;;:::i;:::-;;:::i;28705:87::-;;;;;;;;;;-1:-1:-1;28751:7:0;28778:6;-1:-1:-1;;;;;28778:6:0;28705:87;;56506:104;;;;;;;;;;;;;:::i;42332:109::-;;;;;;;;;;-1:-1:-1;42332:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;42415:18:0;42388:7;42415:18;;;:9;:18;;;;;;;42332:109;88722:40;;;;;;;;;;;;;;;;91604:100;;;;;;;;;;-1:-1:-1;91604:100:0;;;;;:::i;:::-;;:::i;63371:308::-;;;;;;;;;;-1:-1:-1;63371:308:0;;;;;:::i;:::-;;:::i;43026:225::-;;;;;;;;;;-1:-1:-1;43026:225:0;;;;;:::i;:::-;;:::i;89522:639::-;;;;;;:::i;:::-;;:::i;70216:399::-;;;;;;;;;;-1:-1:-1;70216:399:0;;;;;:::i;:::-;;:::i;88848:67::-;;;;;;;;;;-1:-1:-1;88848:67:0;;;;;:::i;:::-;;;;;;;;;;;;;;43411:260;;;;;;;;;;-1:-1:-1;43411:260:0;;;;;:::i;:::-;;:::i;92499:247::-;;;;;;;;;;-1:-1:-1;92499:247:0;;;;;:::i;:::-;;:::i;89360:154::-;;;;;;;;;;;;;:::i;88557:23::-;;;;;;;;;;-1:-1:-1;88557:23:0;;;;;;;;;;;;;;;:::i;42128:105::-;;;;;;;;;;-1:-1:-1;42128:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;42209:16:0;42182:7;42209:16;;;:7;:16;;;;;;;42128:105;88771:70;;;;;;;;;;-1:-1:-1;88771:70:0;;;;;:::i;:::-;;;;;;;;;;;;;;41918:119;;;;;;;;;;-1:-1:-1;41918:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;42003:26:0;41976:7;42003:26;;;:19;:26;;;;;;;41918:119;41666:95;;;;;;;;;;-1:-1:-1;41739:14:0;;41666:95;;63836:164;;;;;;;;;;-1:-1:-1;63836:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;63957:25:0;;;63933:4;63957:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;63836:164;92184:149;;;;;;;;;;-1:-1:-1;92184:149:0;;;;;:::i;:::-;-1:-1:-1;;;;;92278:47:0;92251:7;92278:47;;;:38;:47;;;;;;;92184:149;29611:201;;;;;;;;;;-1:-1:-1;29611:201:0;;;;;:::i;:::-;;:::i;91712:92::-;;;;;;;;;;-1:-1:-1;91712:92:0;;;;;:::i;:::-;;:::i;91812:116::-;28591:13;:11;:13::i;:::-;91886:25:::1;:34:::0;91812:116::o;55428:639::-;55513:4;-1:-1:-1;;;;;;;;;55837:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;55914:25:0;;;55837:102;:179;;;-1:-1:-1;;;;;;;;;;55991:25:0;;;55837:179;55817:199;55428:639;-1:-1:-1;;55428:639:0:o;56330:100::-;56384:13;56417:5;56410:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56330:100;:::o;62813:218::-;62889:7;62914:16;62922:7;62914;:16::i;:::-;62909:64;;62939:34;;-1:-1:-1;;;62939:34:0;;;;;;;;;;;62909:64;-1:-1:-1;62993:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;62993:30:0;;62813:218::o;62254:400::-;62335:13;62351:16;62359:7;62351;:16::i;:::-;62335:32;-1:-1:-1;8610:10:0;-1:-1:-1;;;;;62384:28:0;;;62380:175;;62432:44;62449:5;8610:10;63836:164;:::i;62432:44::-;62427:128;;62504:35;;-1:-1:-1;;;62504:35:0;;;;;;;;;;;62427:128;62567:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;62567:35:0;-1:-1:-1;;;;;62567:35:0;;;;;;;;;62618:28;;62567:24;;62618:28;;;;;;;62324:330;62254:400;;:::o;43871:453::-;-1:-1:-1;;;;;43947:16:0;;43966:1;43947:16;;;:7;:16;;;;;;43939:71;;;;-1:-1:-1;;;43939:71:0;;;;;;;:::i;:::-;;;;;;;;;44023:15;44041:19;44052:7;44041:10;:19::i;:::-;44023:37;;44081:7;44092:1;44081:12;44073:68;;;;-1:-1:-1;;;44073:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44154:18:0;;;;;;:9;:18;;;;;:29;;44176:7;;44154:18;:29;;44176:7;;44154:29;:::i;:::-;;;;;;;;44212:7;44194:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;44232:35:0;;-1:-1:-1;44250:7:0;44259;44232:17;:35::i;:::-;44283:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;44283:33:0;;161:18:1;44283:33:0;;;;;;;43928:396;43871:453;:::o;66520:2817::-;66654:27;66684;66703:7;66684:18;:27::i;:::-;66654:57;;66769:4;-1:-1:-1;;;;;66728:45:0;66744:19;-1:-1:-1;;;;;66728:45:0;;66724:86;;66782:28;;-1:-1:-1;;;66782:28:0;;;;;;;;;;;66724:86;66824:27;65634:24;;;:15;:24;;;;;65856:26;;8610:10;65259:30;;;-1:-1:-1;;;;;64952:28:0;;65237:20;;;65234:56;67010:180;;67103:43;67120:4;8610:10;63836:164;:::i;67103:43::-;67098:92;;67155:35;;-1:-1:-1;;;67155:35:0;;;;;;;;;;;67098:92;-1:-1:-1;;;;;67207:16:0;;67203:52;;67232:23;;-1:-1:-1;;;67232:23:0;;;;;;;;;;;67203:52;67404:15;67401:160;;;67544:1;67523:19;67516:30;67401:160;-1:-1:-1;;;;;67941:24:0;;;;;;;:18;:24;;;;;;67939:26;;-1:-1:-1;;67939:26:0;;;68010:22;;;;;;;;;68008:24;;-1:-1:-1;68008:24:0;;;61112:11;61087:23;61083:41;61070:63;-1:-1:-1;;;61070:63:0;68303:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;68598:47:0;;:52;;68594:627;;68703:1;68693:11;;68671:19;68826:30;;;:17;:30;;;;;;:35;;68822:384;;68964:13;;68949:11;:28;68945:242;;69111:30;;;;:17;:30;;;;;:52;;;68945:242;68652:569;68594:627;69268:7;69264:2;-1:-1:-1;;;;;69249:27:0;69258:4;-1:-1:-1;;;;;69249:27:0;;;;;;;;;;;69287:42;66643:2694;;;66520:2817;;;:::o;69433:185::-;69571:39;69588:4;69594:2;69598:7;69571:39;;;;;;;;;;;;:16;:39::i;:::-;69433:185;;;:::o;44592:514::-;-1:-1:-1;;;;;44674:16:0;;44693:1;44674:16;;;:7;:16;;;;;;44666:71;;;;-1:-1:-1;;;44666:71:0;;;;;;;:::i;:::-;44750:15;44768:26;44779:5;44786:7;44768:10;:26::i;:::-;44750:44;;44815:7;44826:1;44815:12;44807:68;;;;-1:-1:-1;;;44807:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44888:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;44922:7;;44888:21;:41;;44922:7;;44888:41;:::i;:::-;;;;-1:-1:-1;;;;;;;44940:26:0;;;;;;:19;:26;;;;;:37;;44970:7;;44940:26;:37;;44970:7;;44940:37;:::i;:::-;;;;-1:-1:-1;44990:47:0;;-1:-1:-1;45013:5:0;45020:7;45029;44990:22;:47::i;:::-;45053:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;45053:45:0;;;;;161:18:1;45053:45:0;;;;;;;44655:451;44592:514;;:::o;91936:110::-;28591:13;:11;:13::i;:::-;92007:22:::1;:31:::0;91936:110::o;91482:114::-;28591:13;:11;:13::i;:::-;91561:15:::1;:27:::0;91482:114::o;91368:106::-;28591:13;:11;:13::i;:::-;91443:11:::1;:23:::0;91368:106::o;90169:986::-;90268:11;;90293:10;90290:35;;90305:20;;-1:-1:-1;;;90305:20:0;;10912:2:1;90305:20:0;;;10894:21:1;10951:2;10931:18;;;10924:30;-1:-1:-1;;;10970:18:1;;;10963:40;11020:18;;90305:20:0;10710:334:1;90290:35:0;90356:18;90341:11;;;;:33;;;;;;;;:::i;:::-;;90338:65;;90376:27;;-1:-1:-1;;;90376:27:0;;11251:2:1;90376:27:0;;;11233:21:1;11290:2;11270:18;;;11263:30;-1:-1:-1;;;11309:18:1;;;11302:47;11366:18;;90376:27:0;11049:341:1;90338:65:0;90446:19;88665:3;88624;90446:19;:::i;:::-;90433:9;90417:13;52355:12;;51680:1;52339:13;:28;-1:-1:-1;;52339:46:0;;52081:323;90417:13;:25;;;;:::i;:::-;:49;90414:99;;;90468:45;;-1:-1:-1;;;90468:45:0;;11597:2:1;90468:45:0;;;11579:21:1;11636:2;11616:18;;;11609:30;11675:34;11655:18;;;11648:62;-1:-1:-1;;;11726:18:1;;;11719:33;11769:19;;90468:45:0;11395:399:1;90414:99:0;90539:17;90547:9;90539:5;:17;:::i;:::-;90527:9;:29;90524:60;;;90558:26;;-1:-1:-1;;;90558:26:0;;12174:2:1;90558:26:0;;;12156:21:1;12213:2;12193:18;;;12186:30;-1:-1:-1;;;12232:18:1;;;12225:46;12288:18;;90558:26:0;11972:340:1;90524:60:0;90627:194;90811:9;;90627:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;90651:140:0;;12559:66:1;90651:140:0;;;12547:79:1;90763:10:0;12642:12:1;;;12635:28;12679:12;;;-1:-1:-1;90651:140:0;;-1:-1:-1;12317:380:1;90651:140:0;;;;;;;;;;;;;90627:175;;;;;;:183;;:194;;;;:::i;:::-;90608:15;;-1:-1:-1;;;;;90608:15:0;;;:213;;;90605:255;;90823:37;;-1:-1:-1;;;90823:37:0;;12904:2:1;90823:37:0;;;12886:21:1;12943:2;12923:18;;;12916:30;12982:29;12962:18;;;12955:57;13029:18;;90823:37:0;12702:351:1;90605:255:0;90939:25;;90913:10;90874:50;;;;:38;:50;;;;;;:62;;90927:9;;90874:62;:::i;:::-;:90;90871:149;;;90966:54;;-1:-1:-1;;;90966:54:0;;13260:2:1;90966:54:0;;;13242:21:1;13299:2;13279:18;;;13272:30;13338:34;13318:18;;;13311:62;-1:-1:-1;;;13389:18:1;;;13382:42;13441:19;;90966:54:0;13058:408:1;90871:149:0;91084:10;91045:50;;;;:38;:50;;;;;:63;;91099:9;;91045:50;:63;;91099:9;;91045:63;:::i;:::-;;;;-1:-1:-1;91119:28:0;;-1:-1:-1;91125:10:0;91137:9;91119:5;:28::i;:::-;90244:911;90169:986;;;:::o;92754:141::-;92800:6;92796:92;92817:10;;92813:1;:14;92796:92;;;92850:26;92866:8;92872:1;92866:5;:8::i;92850:26::-;92830:3;;;;:::i;:::-;;;;92796:92;;;;92754:141::o;57723:152::-;57795:7;57838:27;57857:7;57838:18;:27::i;88527:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53265:233::-;53337:7;-1:-1:-1;;;;;53361:19:0;;53357:60;;53389:28;;-1:-1:-1;;;53389:28:0;;;;;;;;;;;53357:60;-1:-1:-1;;;;;;53435:25:0;;;;;:18;:25;;;;;;47424:13;53435:55;;53265:233::o;29353:103::-;28591:13;:11;:13::i;:::-;29418:30:::1;29445:1;29418:18;:30::i;:::-;29353:103::o:0;92054:122::-;-1:-1:-1;;;;;53669:25:0;;92119:7;53669:25;;;:18;:25;;47562:2;53669:25;;;;47424:13;53669:50;;53668:82;92146:22;53580:178;42836:100;42887:7;42914;42922:5;42914:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;42914:14:0;;42836:100;-1:-1:-1;;42836:100:0:o;56506:104::-;56562:13;56595:7;56588:14;;;;;:::i;91604:100::-;28591:13;:11;:13::i;:::-;91678:7:::1;:18;91688:8:::0;91678:7;:18:::1;:::i;:::-;;91604:100:::0;:::o;63371:308::-;8610:10;-1:-1:-1;;;;;63470:31:0;;;63466:61;;63510:17;;-1:-1:-1;;;63510:17:0;;;;;;;;;;;63466:61;8610:10;63540:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;63540:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;63540:60:0;;;;;;;;;;63616:55;;1004:41:1;;;63540:49:0;;8610:10;63616:55;;977:18:1;63616:55:0;;;;;;;63371:308;;:::o;43026:225::-;43084:7;43104:21;43152:15;41739:14;;;41666:95;43152:15;43128:39;;:21;:39;:::i;:::-;43104:63;;43185:58;43201:7;43210:13;43225:17;43234:7;-1:-1:-1;;;;;42415:18:0;42388:7;42415:18;;;:9;:18;;;;;;;42332:109;43225:17;43185:15;:58::i;:::-;43178:65;43026:225;-1:-1:-1;;;43026:225:0:o;89522:639::-;89603:15;;89632:10;89629:35;;89644:20;;-1:-1:-1;;;89644:20:0;;10912:2:1;89644:20:0;;;10894:21:1;10951:2;10931:18;;;10924:30;-1:-1:-1;;;10970:18:1;;;10963:40;11020:18;;89644:20:0;10710:334:1;89629:35:0;89693:15;89678:11;;;;:30;;;;;;;;:::i;:::-;;89675:66;;89710:31;;-1:-1:-1;;;89710:31:0;;16149:2:1;89710:31:0;;;16131:21:1;16188:2;16168:18;;;16161:30;-1:-1:-1;;;16207:18:1;;;16200:51;16268:18;;89710:31:0;15947:345:1;89675:66:0;88624:3;89771:9;89755:13;52355:12;;51680:1;52339:13;:28;-1:-1:-1;;52339:46:0;;52081:323;89755:13;:25;;;;:::i;:::-;:40;89752:94;;;89797:49;;-1:-1:-1;;;89797:49:0;;16499:2:1;89797:49:0;;;16481:21:1;16538:2;16518:18;;;16511:30;16577:34;16557:18;;;16550:62;-1:-1:-1;;;16628:18:1;;;16621:37;16675:19;;89797:49:0;16297:403:1;89752:94:0;89872:17;89880:9;89872:5;:17;:::i;:::-;89860:9;:29;89857:60;;;89891:26;;-1:-1:-1;;;89891:26:0;;12174:2:1;89891:26:0;;;12156:21:1;12213:2;12193:18;;;12186:30;-1:-1:-1;;;12232:18:1;;;12225:46;12288:18;;89891:26:0;11972:340:1;89857:60:0;89993:22;;89967:10;89931:47;;;;:35;:47;;;;;;:59;;89981:9;;89931:59;:::i;:::-;:84;89928:111;;;90017:22;;-1:-1:-1;;;90017:22:0;;16907:2:1;90017:22:0;;;16889:21:1;16946:2;16926:18;;;16919:30;-1:-1:-1;;;16965:18:1;;;16958:42;17017:18;;90017:22:0;16705:336:1;89928:111:0;90088:10;90052:47;;;;:35;:47;;;;;:60;;90103:9;;90052:47;:60;;90103:9;;90052:60;:::i;:::-;;;;-1:-1:-1;90125:28:0;;-1:-1:-1;90131:10:0;90143:9;90125:5;:28::i;70216:399::-;70383:31;70396:4;70402:2;70406:7;70383:12;:31::i;:::-;-1:-1:-1;;;;;70429:14:0;;;:19;70425:183;;70468:56;70499:4;70505:2;70509:7;70518:5;70468:30;:56::i;:::-;70463:145;;70552:40;;-1:-1:-1;;;70552:40:0;;;;;;;;;;;43411:260;-1:-1:-1;;;;;42003:26:0;;43483:7;42003:26;;;:19;:26;;;;;;43483:7;;43527:30;;-1:-1:-1;;;43527:30:0;;43551:4;43527:30;;;1958:51:1;-1:-1:-1;;;;;43527:15:0;;;;;1931:18:1;;43527:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;42707:21:0;;;42680:7;42707:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;43503:77;;-1:-1:-1;43598:65:0;;43614:7;;43503:77;;43185:15;:58::i;43598:65::-;43591:72;43411:260;-1:-1:-1;;;;43411:260:0:o;92499:247::-;92570:13;92604:17;92612:8;92604:7;:17::i;:::-;92596:61;;;;-1:-1:-1;;;92596:61:0;;17437:2:1;92596:61:0;;;17419:21:1;17476:2;17456:18;;;17449:30;17515:33;17495:18;;;17488:61;17566:18;;92596:61:0;17235:355:1;92596:61:0;92699:7;92708:19;92718:8;92708:9;:19::i;:::-;92682:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;92668:70;;92499:247;;;:::o;89360:154::-;28591:13;:11;:13::i;:::-;89418::::1;52355:12:::0;;51680:1;52339:13;:28;-1:-1:-1;;52339:46:0;;52081:323;89418:13:::1;:18:::0;89415:60:::1;;89438:37;::::0;-1:-1:-1;;;89438:37:0;;18989:2:1;89438:37:0::1;::::0;::::1;18971:21:1::0;19028:2;19008:18;;;19001:30;19067:29;19047:18;;;19040:57;19114:18;;89438:37:0::1;18787:351:1::0;89415:60:0::1;89486:20;89492:10;89504:1;89486:5;:20::i;29611:201::-:0;28591:13;:11;:13::i;:::-;-1:-1:-1;;;;;29700:22:0;::::1;29692:73;;;::::0;-1:-1:-1;;;29692:73:0;;19345:2:1;29692:73:0::1;::::0;::::1;19327:21:1::0;19384:2;19364:18;;;19357:30;19423:34;19403:18;;;19396:62;-1:-1:-1;;;19474:18:1;;;19467:36;19520:19;;29692:73:0::1;19143:402:1::0;29692:73:0::1;29776:28;29795:8;29776:18;:28::i;91712:92::-:0;28591:13;:11;:13::i;:::-;91790:5:::1;91785:11;;;;;;;;:::i;:::-;91771;:25:::0;;-1:-1:-1;;91771:25:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;91712:92:::0;:::o;28870:132::-;28751:7;28778:6;-1:-1:-1;;;;;28778:6:0;8610:10;28934:23;28926:68;;;;-1:-1:-1;;;28926:68:0;;19752:2:1;28926:68:0;;;19734:21:1;;;19771:18;;;19764:30;19830:34;19810:18;;;19803:62;19882:18;;28926:68:0;19550:356:1;64258:282:0;64323:4;64379:7;51680:1;64360:26;;:66;;;;;64413:13;;64403:7;:23;64360:66;:153;;;;-1:-1:-1;;64464:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;64464:44:0;:49;;64258:282::o;2438:317::-;2553:6;2528:21;:31;;2520:73;;;;-1:-1:-1;;;2520:73:0;;20113:2:1;2520:73:0;;;20095:21:1;20152:2;20132:18;;;20125:30;20191:31;20171:18;;;20164:59;20240:18;;2520:73:0;19911:353:1;2520:73:0;2607:12;2625:9;-1:-1:-1;;;;;2625:14:0;2647:6;2625:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2606:52;;;2677:7;2669:78;;;;-1:-1:-1;;;2669:78:0;;20681:2:1;2669:78:0;;;20663:21:1;20720:2;20700:18;;;20693:30;20759:34;20739:18;;;20732:62;20830:28;20810:18;;;20803:56;20876:19;;2669:78:0;20479:422:1;58878:1275:0;58945:7;58980;;51680:1;59029:23;59025:1061;;59082:13;;59075:4;:20;59071:1015;;;59120:14;59137:23;;;:17;:23;;;;;;;-1:-1:-1;;;59226:24:0;;:29;;59222:845;;59891:113;59898:6;59908:1;59898:11;59891:113;;-1:-1:-1;;;59969:6:0;59951:25;;;;:17;:25;;;;;;59891:113;;59222:845;59097:989;59071:1015;60114:31;;-1:-1:-1;;;60114:31:0;;;;;;;;;;;22040:211;22184:58;;;-1:-1:-1;;;;;206:32:1;;22184:58:0;;;188:51:1;255:18;;;;248:34;;;22184:58:0;;;;;;;;;;161:18:1;;;;22184:58:0;;;;;;;;-1:-1:-1;;;;;22184:58:0;-1:-1:-1;;;22184:58:0;;;22157:86;;22177:5;;22157:19;:86::i;34293:231::-;34371:7;34392:17;34411:18;34433:27;34444:4;34450:9;34433:10;:27::i;:::-;34391:69;;;;34471:18;34483:5;34471:11;:18::i;:::-;-1:-1:-1;34507:9:0;34293:231;-1:-1:-1;;;34293:231:0:o;73877:2454::-;73973:13;;73950:20;74001:13;;;73997:44;;74023:18;;-1:-1:-1;;;74023:18:0;;;;;;;;;;;73997:44;-1:-1:-1;;;;;74529:22:0;;;;;;:18;:22;;;;47562:2;74529:22;;;:71;;74567:32;74555:45;;74529:71;;;74843:31;;;:17;:31;;;;;-1:-1:-1;61543:15:0;;61517:24;61513:46;61112:11;61087:23;61083:41;61080:52;61070:63;;74843:173;;75078:23;;;;74843:31;;74529:22;;75577:25;74529:22;;75430:335;75845:1;75831:12;75827:20;75785:346;75886:3;75877:7;75874:16;75785:346;;76104:7;76094:8;76091:1;76064:25;76061:1;76058;76053:59;75939:1;75926:15;75785:346;;;75789:77;76164:8;76176:1;76164:13;76160:45;;76186:19;;-1:-1:-1;;;76186:19:0;;;;;;;;;;;76160:45;76222:13;:19;-1:-1:-1;69433:185:0;;;:::o;29972:191::-;30046:16;30065:6;;-1:-1:-1;;;;;30082:17:0;;;-1:-1:-1;;;;;;30082:17:0;;;;;;30115:40;;30065:6;;;;;;;30115:40;;30046:16;30115:40;30035:128;29972:191;:::o;45284:248::-;45494:12;;-1:-1:-1;;;;;45474:16:0;;45430:7;45474:16;;;:7;:16;;;;;;45430:7;;45509:15;;45458:32;;:13;:32;:::i;:::-;45457:49;;;;:::i;:::-;:67;;;;:::i;72699:716::-;72883:88;;-1:-1:-1;;;72883:88:0;;72862:4;;-1:-1:-1;;;;;72883:45:0;;;;;:88;;8610:10;;72950:4;;72956:7;;72965:5;;72883:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72883:88:0;;;;;;;;-1:-1:-1;;72883:88:0;;;;;;;;;;;;:::i;:::-;;;72879:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73166:6;:13;73183:1;73166:18;73162:235;;73212:40;;-1:-1:-1;;;73212:40:0;;;;;;;;;;;73162:235;73355:6;73349:13;73340:6;73336:2;73332:15;73325:38;72879:529;-1:-1:-1;;;;;;73042:64:0;-1:-1:-1;;;73042:64:0;;-1:-1:-1;72699:716:0;;;;;;:::o;86231:2002::-;86708:4;86702:11;;86715:3;86698:21;;86793:17;;;;87489:11;;;87368:5;87655:2;87669;87659:13;;87651:22;87489:11;87638:36;87710:2;87700:13;;87260:731;87729:4;87260:731;;;87920:1;87915:3;87911:11;87904:18;;87971:2;87965:4;87961:13;87957:2;87953:22;87948:3;87940:36;87824:2;87814:13;;87260:731;;;-1:-1:-1;88021:13:0;;;-1:-1:-1;;88136:12:0;;;88196:19;;;88136:12;86231:2002;-1:-1:-1;86231:2002:0:o;25107:716::-;25531:23;25557:69;25585:4;25557:69;;;;;;;;;;;;;;;;;25565:5;-1:-1:-1;;;;;25557:27:0;;;:69;;;;;:::i;:::-;25641:17;;25531:95;;-1:-1:-1;25641:21:0;25637:179;;25738:10;25727:30;;;;;;;;;;;;:::i;:::-;25719:85;;;;-1:-1:-1;;;25719:85:0;;22461:2:1;25719:85:0;;;22443:21:1;22500:2;22480:18;;;22473:30;22539:34;22519:18;;;22512:62;-1:-1:-1;;;22590:18:1;;;22583:40;22640:19;;25719:85:0;22259:406:1;32087:1404:0;32168:7;32177:12;32402:9;:16;32422:2;32402:22;32398:1086;;32746:4;32731:20;;32725:27;32796:4;32781:20;;32775:27;32854:4;32839:20;;32833:27;32441:9;32825:36;32897:25;32908:4;32825:36;32725:27;32775;32897:10;:25::i;:::-;32890:32;;;;;;;;;32398:1086;32944:9;:16;32964:2;32944:22;32940:544;;33267:4;33252:20;;33246:27;33318:4;33303:20;;33297:27;33360:23;33371:4;33246:27;33297;33360:10;:23::i;:::-;33353:30;;;;;;;;32940:544;-1:-1:-1;33432:1:0;;-1:-1:-1;33436:35:0;32940:544;32087:1404;;;;;:::o;30358:643::-;30436:20;30427:5;:29;;;;;;;;:::i;:::-;;30423:571;;30358:643;:::o;30423:571::-;30534:29;30525:5;:38;;;;;;;;:::i;:::-;;30521:473;;30580:34;;-1:-1:-1;;;30580:34:0;;22872:2:1;30580:34:0;;;22854:21:1;22911:2;22891:18;;;22884:30;22950:26;22930:18;;;22923:54;22994:18;;30580:34:0;22670:348:1;30521:473:0;30645:35;30636:5;:44;;;;;;;;:::i;:::-;;30632:362;;30697:41;;-1:-1:-1;;;30697:41:0;;23225:2:1;30697:41:0;;;23207:21:1;23264:2;23244:18;;;23237:30;23303:33;23283:18;;;23276:61;23354:18;;30697:41:0;23023:355:1;30632:362:0;30769:30;30760:5;:39;;;;;;;;:::i;:::-;;30756:238;;30816:44;;-1:-1:-1;;;30816:44:0;;23585:2:1;30816:44:0;;;23567:21:1;23624:2;23604:18;;;23597:30;23663:34;23643:18;;;23636:62;-1:-1:-1;;;23714:18:1;;;23707:32;23756:19;;30816:44:0;23383:398:1;30756:238:0;30891:30;30882:5;:39;;;;;;;;:::i;:::-;;30878:116;;30938:44;;-1:-1:-1;;;30938:44:0;;23988:2:1;30938:44:0;;;23970:21:1;24027:2;24007:18;;;24000:30;24066:34;24046:18;;;24039:62;-1:-1:-1;;;24117:18:1;;;24110:32;24159:19;;30938:44:0;23786:398:1;3922:229:0;4059:12;4091:52;4113:6;4121:4;4127:1;4130:12;4091:21;:52::i;35745:1632::-;35876:7;;36810:66;36797:79;;36793:163;;;-1:-1:-1;36909:1:0;;-1:-1:-1;36913:30:0;36893:51;;36793:163;36970:1;:7;;36975:2;36970:7;;:18;;;;;36981:1;:7;;36986:2;36981:7;;36970:18;36966:102;;;-1:-1:-1;37021:1:0;;-1:-1:-1;37025:30:0;37005:51;;36966:102;37182:24;;;37165:14;37182:24;;;;;;;;;24416:25:1;;;24489:4;24477:17;;24457:18;;;24450:45;;;;24511:18;;;24504:34;;;24554:18;;;24547:34;;;37182:24:0;;24388:19:1;;37182:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37182:24:0;;-1:-1:-1;;37182:24:0;;;-1:-1:-1;;;;;;;37221:20:0;;37217:103;;37274:1;37278:29;37258:50;;;;;;;37217:103;37340:6;-1:-1:-1;37348:20:0;;-1:-1:-1;35745:1632:0;;;;;;;;:::o;34787:344::-;34901:7;;-1:-1:-1;;;;;34947:80:0;;34901:7;35054:25;35070:3;35055:18;;;35077:2;35054:25;:::i;:::-;35038:42;;35098:25;35109:4;35115:1;35118;35121;35098:10;:25::i;:::-;35091:32;;;;;;34787:344;;;;;;:::o;5042:510::-;5212:12;5270:5;5245:21;:30;;5237:81;;;;-1:-1:-1;;;5237:81:0;;24794:2:1;5237:81:0;;;24776:21:1;24833:2;24813:18;;;24806:30;24872:34;24852:18;;;24845:62;-1:-1:-1;;;24923:18:1;;;24916:36;24969:19;;5237:81:0;24592:402:1;5237:81:0;-1:-1:-1;;;;;1472:19:0;;;5329:60;;;;-1:-1:-1;;;5329:60:0;;25201:2:1;5329:60:0;;;25183:21:1;25240:2;25220:18;;;25213:30;25279:31;25259:18;;;25252:59;25328:18;;5329:60:0;24999:353:1;5329:60:0;5403:12;5417:23;5444:6;-1:-1:-1;;;;;5444:11:0;5463:5;5470:4;5444:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5402:73;;;;5493:51;5510:7;5519:10;5531:12;5493:16;:51::i;:::-;5486:58;5042:510;-1:-1:-1;;;;;;;5042:510:0:o;7728:762::-;7878:12;7907:7;7903:580;;;-1:-1:-1;7938:10:0;7931:17;;7903:580;8052:17;;:21;8048:424;;8300:10;8294:17;8361:15;8348:10;8344:2;8340:19;8333:44;8048:424;8443:12;8436:20;;-1:-1:-1;;;8436:20:0;;;;;;;;:::i;293:180:1:-;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:1;;293:180;-1:-1:-1;293:180:1:o;478:131::-;-1:-1:-1;;;;;;552:32:1;;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:1;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:1;1530:39;;;;1571:4;1526:50;;1311:271;-1:-1:-1;;1311:271:1: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:1;;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:1: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:1;4088:18;;4075:32;4116:33;4075:32;4116:33;:::i;:::-;3776:456;;4168:7;;-1:-1:-1;;;4222:2:1;4207:18;;;;4194:32;;3776:456::o;4237:402::-;4319:6;4327;4380:2;4368:9;4359:7;4355:23;4351:32;4348:52;;;4396:1;4393;4386:12;4348:52;4435:9;4422:23;4454:31;4479:5;4454:31;:::i;:::-;4504:5;-1:-1:-1;4561:2:1;4546:18;;4533:32;4574:33;4533:32;4574:33;:::i;:::-;4626:7;4616:17;;;4237:402;;;;;:::o;4644:659::-;4723:6;4731;4739;4792:2;4780:9;4771:7;4767:23;4763:32;4760:52;;;4808:1;4805;4798:12;4760:52;4844:9;4831:23;4821:33;;4905:2;4894:9;4890:18;4877:32;4928:18;4969:2;4961:6;4958:14;4955:34;;;4985:1;4982;4975:12;4955:34;5023:6;5012:9;5008:22;4998:32;;5068:7;5061:4;5057:2;5053:13;5049:27;5039:55;;5090:1;5087;5080:12;5039:55;5130:2;5117:16;5156:2;5148:6;5145:14;5142:34;;;5172:1;5169;5162:12;5142:34;5217:7;5212:2;5203:6;5199:2;5195:15;5191:24;5188:37;5185:57;;;5238:1;5235;5228:12;5185:57;5269:2;5265;5261:11;5251:21;;5291:6;5281:16;;;;;4644:659;;;;;:::o;5560:127::-;5621:10;5616:3;5612:20;5609:1;5602:31;5652:4;5649:1;5642:15;5676:4;5673:1;5666:15;5692:632;5757:5;5787:18;5828:2;5820:6;5817:14;5814:40;;;5834:18;;:::i;:::-;5909:2;5903:9;5877:2;5963:15;;-1:-1:-1;;5959:24:1;;;5985:2;5955:33;5951:42;5939:55;;;6009:18;;;6029:22;;;6006:46;6003:72;;;6055:18;;:::i;:::-;6095:10;6091:2;6084:22;6124:6;6115:15;;6154:6;6146;6139:22;6194:3;6185:6;6180:3;6176:16;6173:25;6170:45;;;6211:1;6208;6201:12;6170:45;6261:6;6256:3;6249:4;6241:6;6237:17;6224:44;6316:1;6309:4;6300:6;6292;6288:19;6284:30;6277:41;;;;5692:632;;;;;:::o;6329:451::-;6398:6;6451:2;6439:9;6430:7;6426:23;6422:32;6419:52;;;6467:1;6464;6457:12;6419:52;6507:9;6494:23;6540:18;6532:6;6529:30;6526:50;;;6572:1;6569;6562:12;6526:50;6595:22;;6648:4;6640:13;;6636:27;-1:-1:-1;6626:55:1;;6677:1;6674;6667:12;6626:55;6700:74;6766:7;6761:2;6748:16;6743:2;6739;6735:11;6700:74;:::i;6785:118::-;6871:5;6864:13;6857:21;6850:5;6847:32;6837:60;;6893:1;6890;6883:12;6908:382;6973:6;6981;7034:2;7022:9;7013:7;7009:23;7005:32;7002:52;;;7050:1;7047;7040:12;7002:52;7089:9;7076:23;7108:31;7133:5;7108:31;:::i;:::-;7158:5;-1:-1:-1;7215:2:1;7200:18;;7187:32;7228:30;7187:32;7228:30;:::i;7295:795::-;7390:6;7398;7406;7414;7467:3;7455:9;7446:7;7442:23;7438:33;7435:53;;;7484:1;7481;7474:12;7435:53;7523:9;7510:23;7542:31;7567:5;7542:31;:::i;:::-;7592:5;-1:-1:-1;7649:2:1;7634:18;;7621:32;7662:33;7621:32;7662:33;:::i;:::-;7714:7;-1:-1:-1;7768:2:1;7753:18;;7740:32;;-1:-1:-1;7823:2:1;7808:18;;7795:32;7850:18;7839:30;;7836:50;;;7882:1;7879;7872:12;7836:50;7905:22;;7958:4;7950:13;;7946:27;-1:-1:-1;7936:55:1;;7987:1;7984;7977:12;7936:55;8010:74;8076:7;8071:2;8058:16;8053:2;8049;8045:11;8010:74;:::i;:::-;8000:84;;;7295:795;;;;;;;:::o;8095:198::-;8236:2;8221:18;;8248:39;8225:9;8269:6;8248:39;:::i;8957:380::-;9036:1;9032:12;;;;9079;;;9100:61;;9154:4;9146:6;9142:17;9132:27;;9100:61;9207:2;9199:6;9196:14;9176:18;9173:38;9170:161;;9253:10;9248:3;9244:20;9241:1;9234:31;9288:4;9285:1;9278:15;9316:4;9313:1;9306:15;9170:161;;8957:380;;;:::o;9342:402::-;9544:2;9526:21;;;9583:2;9563:18;;;9556:30;9622:34;9617:2;9602:18;;9595:62;-1:-1:-1;;;9688:2:1;9673:18;;9666:36;9734:3;9719:19;;9342:402::o;9749:407::-;9951:2;9933:21;;;9990:2;9970:18;;;9963:30;10029:34;10024:2;10009:18;;10002:62;-1:-1:-1;;;10095:2:1;10080:18;;10073:41;10146:3;10131:19;;9749:407::o;10161:127::-;10222:10;10217:3;10213:20;10210:1;10203:31;10253:4;10250:1;10243:15;10277:4;10274:1;10267:15;10293:125;10358:9;;;10379:10;;;10376:36;;;10392:18;;:::i;11799:168::-;11872:9;;;11903;;11920:15;;;11914:22;;11900:37;11890:71;;11941:18;;:::i;13471:135::-;13510:3;13531:17;;;13528:43;;13551:18;;:::i;:::-;-1:-1:-1;13598:1:1;13587:13;;13471:135::o;13611:127::-;13672:10;13667:3;13663:20;13660:1;13653:31;13703:4;13700:1;13693:15;13727:4;13724:1;13717:15;13869:545;13971:2;13966:3;13963:11;13960:448;;;14007:1;14032:5;14028:2;14021:17;14077:4;14073:2;14063:19;14147:2;14135:10;14131:19;14128:1;14124:27;14118:4;14114:38;14183:4;14171:10;14168:20;14165:47;;;-1:-1:-1;14206:4:1;14165:47;14261:2;14256:3;14252:12;14249:1;14245:20;14239:4;14235:31;14225:41;;14316:82;14334:2;14327:5;14324:13;14316:82;;;14379:17;;;14360:1;14349:13;14316:82;;14590:1352;14716:3;14710:10;14743:18;14735:6;14732:30;14729:56;;;14765:18;;:::i;:::-;14794:97;14884:6;14844:38;14876:4;14870:11;14844:38;:::i;:::-;14838:4;14794:97;:::i;:::-;14946:4;;15010:2;14999:14;;15027:1;15022:663;;;;15729:1;15746:6;15743:89;;;-1:-1:-1;15798:19:1;;;15792:26;15743:89;-1:-1:-1;;14547:1:1;14543:11;;;14539:24;14535:29;14525:40;14571:1;14567:11;;;14522:57;15845:81;;14992:944;;15022:663;13816:1;13809:14;;;13853:4;13840:18;;-1:-1:-1;;15058:20:1;;;15176:236;15190:7;15187:1;15184:14;15176:236;;;15279:19;;;15273:26;15258:42;;15371:27;;;;15339:1;15327:14;;;;15206:19;;15176:236;;;15180:3;15440:6;15431:7;15428:19;15425:201;;;15501:19;;;15495:26;-1:-1:-1;;15584:1:1;15580:14;;;15596:3;15576:24;15572:37;15568:42;15553:58;15538:74;;15425:201;-1:-1:-1;;;;;15672:1:1;15656:14;;;15652:22;15639:36;;-1:-1:-1;14590:1352:1:o;17046:184::-;17116:6;17169:2;17157:9;17148:7;17144:23;17140:32;17137:52;;;17185:1;17182;17175:12;17137:52;-1:-1:-1;17208:16:1;;17046:184;-1:-1:-1;17046:184:1:o;17595:1187::-;17872:3;17901:1;17934:6;17928:13;17964:36;17990:9;17964:36;:::i;:::-;18019:1;18036:18;;;18063:133;;;;18210:1;18205:356;;;;18029:532;;18063:133;-1:-1:-1;;18096:24:1;;18084:37;;18169:14;;18162:22;18150:35;;18141:45;;;-1:-1:-1;18063:133:1;;18205:356;18236:6;18233:1;18226:17;18266:4;18311:2;18308:1;18298:16;18336:1;18350:165;18364:6;18361:1;18358:13;18350:165;;;18442:14;;18429:11;;;18422:35;18485:16;;;;18379:10;;18350:165;;;18354:3;;;18544:6;18539:3;18535:16;18528:23;;18029:532;;;;;18592:6;18586:13;18608:68;18667:8;18662:3;18655:4;18647:6;18643:17;18608:68;:::i;:::-;-1:-1:-1;;;18698:18:1;;18725:22;;;18774:1;18763:13;;17595:1187;-1:-1:-1;;;;17595:1187:1:o;20906:217::-;20946:1;20972;20962:132;;21016:10;21011:3;21007:20;21004:1;20997:31;21051:4;21048:1;21041:15;21079:4;21076:1;21069:15;20962:132;-1:-1:-1;21108:9:1;;20906:217::o;21128:128::-;21195:9;;;21216:11;;;21213:37;;;21230:18;;:::i;21261:489::-;-1:-1:-1;;;;;21530:15:1;;;21512:34;;21582:15;;21577:2;21562:18;;21555:43;21629:2;21614:18;;21607:34;;;21677:3;21672:2;21657:18;;21650:31;;;21455:4;;21698:46;;21724:19;;21716:6;21698:46;:::i;:::-;21690:54;21261:489;-1:-1:-1;;;;;;21261:489:1:o;21755:249::-;21824:6;21877:2;21865:9;21856:7;21852:23;21848:32;21845:52;;;21893:1;21890;21883:12;21845:52;21925:9;21919:16;21944:30;21968:5;21944:30;:::i;22009:245::-;22076:6;22129:2;22117:9;22108:7;22104:23;22100:32;22097:52;;;22145:1;22142;22135:12;22097:52;22177:9;22171:16;22196:28;22218:5;22196:28;:::i;25357:287::-;25486:3;25524:6;25518:13;25540:66;25599:6;25594:3;25587:4;25579:6;25575:17;25540:66;:::i;:::-;25622:16;;;;;25357:287;-1:-1:-1;;25357:287:1:o
Swarm Source
ipfs://d1aca81826c7c74c162247bbe2d430203d2b2171a822de6f17da3e2cb87db49f
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.