Token Guardians Of Agora
Overview ERC-721
Total Supply:
14 GOA
Holders:
3 addresses
Transfers:
-
Profile Summary
Contract:
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Guardians_Of_Agora
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-18 */ // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: Portal.sol pragma solidity ^0.8.9; contract Guardians_Of_Agora is ERC721Enumerable, Ownable { using Strings for uint256; string private _baseTokenURI = "https://gateway.pinata.cloud/ipfs/QmTrBZmoWiNq2NroMuEY36RAGb9rrd5fEjpA4DVjtncJEd/"; string private extension = ".json"; uint256 public constant MAX_ENTRIES = 3333; uint256 public totalMinted; uint256 public totalAirdropped; constructor() ERC721("Guardians Of Agora", "GOA") {} function mintOwn(uint256 amount) external onlyOwner { uint256 i; require(totalMinted + amount <= MAX_ENTRIES, "Exceeds max nfts"); for (i = 0 ; i < amount ; ++i) { _safeMint(msg.sender, ++totalMinted); } } function airdrop(address[] memory wallets, uint256[] memory amounts) external onlyOwner { require(wallets.length == amounts.length, "Incorrect input"); uint256 totalAmount = 0; uint256 i; for (i = 0 ; i < wallets.length ; ++i) { totalAmount += amounts[i]; } require(totalAmount <= balanceOf(msg.sender), "Exceeds owning nfts"); for (i = 0 ; i < wallets.length ; ++i) { for (uint256 j = 0 ; j < amounts[i] ; ++j) { transferFrom(msg.sender, wallets[i], ++totalAirdropped); } } } function _baseURI() internal view override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } function setExtension(string memory newExtension) external { extension = newExtension; } function tokenURI(uint256 tokenId) override public view returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(_baseTokenURI, tokenId.toString(), extension)); } }
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_ENTRIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintOwn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"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":"string","name":"newExtension","type":"string"}],"name":"setExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAirdropped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","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"}]
Contract Creation Code
61010060405260516080818152906200220260a03980516200002a91600b916020909101906200014c565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200005991600c916200014c565b503480156200006757600080fd5b506040805180820182526012815271477561726469616e73204f662041676f726160701b602080830191825283518085019094526003845262474f4160e81b908401528151919291620000bd916000916200014c565b508051620000d39060019060208401906200014c565b505050620000f0620000ea620000f660201b60201c565b620000fa565b6200022f565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015a90620001f2565b90600052602060002090601f0160209004810192826200017e5760008555620001c9565b82601f106200019957805160ff1916838001178555620001c9565b82800160010185558215620001c9579182015b82811115620001c9578251825591602001919060010190620001ac565b50620001d7929150620001db565b5090565b5b80821115620001d75760008155600101620001dc565b600181811c908216806200020757607f821691505b602082108114156200022957634e487b7160e01b600052602260045260246000fd5b50919050565b611fc3806200023f6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063715018a6116100de578063a22cb46511610097578063c87b56dd11610071578063c87b56dd14610339578063ce6785801461034c578063e985e9c514610355578063f2fde38b1461039157600080fd5b8063a22cb4651461030a578063a2309ff81461031d578063b88d4fde1461032657600080fd5b8063715018a6146102ba5780637d4cb964146102c25780637e2285aa146102cb5780638da5cb5b146102de57806395d89b41146102ef57806399481209146102f757600080fd5b80632f745c591161014b57806355f804b31161012557806355f804b31461026e5780636352211e14610281578063672434821461029457806370a08231146102a757600080fd5b80632f745c591461023557806342842e0e146102485780634f6ccce71461025b57600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb57806318160ddd1461021057806323b872dd14610222575b600080fd5b6101a66101a1366004611854565b6103a4565b60405190151581526020015b60405180910390f35b6101c36103cf565b6040516101b291906118d0565b6101e36101de3660046118e3565b610461565b6040516001600160a01b0390911681526020016101b2565b61020e610209366004611918565b610488565b005b6008545b6040519081526020016101b2565b61020e610230366004611942565b6105a3565b610214610243366004611918565b6105d4565b61020e610256366004611942565b61066a565b6102146102693660046118e3565b610685565b61020e61027c366004611a1d565b610718565b6101e361028f3660046118e3565b610737565b61020e6102a2366004611af5565b610797565b6102146102b5366004611bb5565b610903565b61020e610989565b610214610d0581565b61020e6102d9366004611a1d565b61099d565b600a546001600160a01b03166101e3565b6101c36109b0565b61020e6103053660046118e3565b6109bf565b61020e610318366004611bd0565b610a54565b610214600d5481565b61020e610334366004611c0c565b610a5f565b6101c36103473660046118e3565b610a91565b610214600e5481565b6101a6610363366004611c88565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61020e61039f366004611bb5565b610b45565b60006001600160e01b0319821663780e9d6360e01b14806103c957506103c982610bbe565b92915050565b6060600080546103de90611cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461040a90611cbb565b80156104575780601f1061042c57610100808354040283529160200191610457565b820191906000526020600020905b81548152906001019060200180831161043a57829003601f168201915b5050505050905090565b600061046c82610c0e565b506000908152600460205260409020546001600160a01b031690565b600061049382610737565b9050806001600160a01b0316836001600160a01b031614156105065760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061052257506105228133610363565b6105945760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104fd565b61059e8383610c6d565b505050565b6105ad3382610cdb565b6105c95760405162461bcd60e51b81526004016104fd90611cf6565b61059e838383610d5a565b60006105df83610903565b82106106415760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104fd565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61059e83838360405180602001604052806000815250610a5f565b600061069060085490565b82106106f35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104fd565b6008828154811061070657610706611d43565b90600052602060002001549050919050565b610720610ecb565b805161073390600b9060208401906117a5565b5050565b6000818152600260205260408120546001600160a01b0316806103c95760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104fd565b61079f610ecb565b80518251146107e25760405162461bcd60e51b815260206004820152600f60248201526e125b98dbdc9c9958dd081a5b9c1d5d608a1b60448201526064016104fd565b6000805b83518110156108265782818151811061080157610801611d43565b6020026020010151826108149190611d6f565b915061081f81611d87565b90506107e6565b61082f33610903565b8211156108745760405162461bcd60e51b815260206004820152601360248201527245786365656473206f776e696e67206e66747360681b60448201526064016104fd565b5060005b83518110156108fd5760005b83828151811061089657610896611d43565b60200260200101518110156108ec576108dc338684815181106108bb576108bb611d43565b6020026020010151600e600081546108d290611d87565b91829055506105a3565b6108e581611d87565b9050610884565b506108f681611d87565b9050610878565b50505050565b60006001600160a01b03821661096d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104fd565b506001600160a01b031660009081526003602052604090205490565b610991610ecb565b61099b6000610f25565b565b805161073390600c9060208401906117a5565b6060600180546103de90611cbb565b6109c7610ecb565b6000610d0582600d546109da9190611d6f565b1115610a1b5760405162461bcd60e51b815260206004820152601060248201526f45786365656473206d6178206e66747360801b60448201526064016104fd565b5060005b8181101561073357610a4433600d60008154610a3a90611d87565b9182905550610f77565b610a4d81611d87565b9050610a1f565b610733338383610f91565b610a693383610cdb565b610a855760405162461bcd60e51b81526004016104fd90611cf6565b6108fd84848484611060565b6000818152600260205260409020546060906001600160a01b0316610b105760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016104fd565b600b610b1b83611093565b600c604051602001610b2f93929190611e3c565b6040516020818303038152906040529050919050565b610b4d610ecb565b6001600160a01b038116610bb25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104fd565b610bbb81610f25565b50565b60006001600160e01b031982166380ac58cd60e01b1480610bef57506001600160e01b03198216635b5e139f60e01b145b806103c957506301ffc9a760e01b6001600160e01b03198316146103c9565b6000818152600260205260409020546001600160a01b0316610bbb5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104fd565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ca282610737565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610ce783610737565b9050806001600160a01b0316846001600160a01b03161480610d2e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610d525750836001600160a01b0316610d4784610461565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d6d82610737565b6001600160a01b031614610d935760405162461bcd60e51b81526004016104fd90611e6f565b6001600160a01b038216610df55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104fd565b610e028383836001611130565b826001600160a01b0316610e1582610737565b6001600160a01b031614610e3b5760405162461bcd60e51b81526004016104fd90611e6f565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b0316331461099b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104fd565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610733828260405180602001604052806000815250611264565b816001600160a01b0316836001600160a01b03161415610ff35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104fd565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61106b848484610d5a565b61107784848484611297565b6108fd5760405162461bcd60e51b81526004016104fd90611eb4565b606060006110a0836113a4565b600101905060008167ffffffffffffffff8111156110c0576110c061197e565b6040519080825280601f01601f1916602001820160405280156110ea576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461112357611128565b6110f4565b509392505050565b600181111561119f5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016104fd565b816001600160a01b0385166111fb576111f681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61121e565b836001600160a01b0316856001600160a01b03161461121e5761121e858261147c565b6001600160a01b03841661123a5761123581611519565b61125d565b846001600160a01b0316846001600160a01b03161461125d5761125d84826115c8565b5050505050565b61126e838361160c565b61127b6000848484611297565b61059e5760405162461bcd60e51b81526004016104fd90611eb4565b60006001600160a01b0384163b1561139957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906112db903390899088908890600401611f06565b602060405180830381600087803b1580156112f557600080fd5b505af1925050508015611325575060408051601f3d908101601f1916820190925261132291810190611f43565b60015b61137f573d808015611353576040519150601f19603f3d011682016040523d82523d6000602084013e611358565b606091505b5080516113775760405162461bcd60e51b81526004016104fd90611eb4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d52565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106113e35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061140f576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061142d57662386f26fc10000830492506010015b6305f5e1008310611445576305f5e100830492506008015b612710831061145957612710830492506004015b6064831061146b576064830492506002015b600a83106103c95760010192915050565b6000600161148984610903565b6114939190611f60565b6000838152600760205260409020549091508082146114e6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061152b90600190611f60565b6000838152600960205260408120546008805493945090928490811061155357611553611d43565b90600052602060002001549050806008838154811061157457611574611d43565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806115ac576115ac611f77565b6001900381819060005260206000200160009055905550505050565b60006115d383610903565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166116625760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104fd565b6000818152600260205260409020546001600160a01b0316156116c75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104fd565b6116d5600083836001611130565b6000818152600260205260409020546001600160a01b03161561173a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104fd565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546117b190611cbb565b90600052602060002090601f0160209004810192826117d35760008555611819565b82601f106117ec57805160ff1916838001178555611819565b82800160010185558215611819579182015b828111156118195782518255916020019190600101906117fe565b50611825929150611829565b5090565b5b80821115611825576000815560010161182a565b6001600160e01b031981168114610bbb57600080fd5b60006020828403121561186657600080fd5b81356118718161183e565b9392505050565b60005b8381101561189357818101518382015260200161187b565b838111156108fd5750506000910152565b600081518084526118bc816020860160208601611878565b601f01601f19169290920160200192915050565b60208152600061187160208301846118a4565b6000602082840312156118f557600080fd5b5035919050565b80356001600160a01b038116811461191357600080fd5b919050565b6000806040838503121561192b57600080fd5b611934836118fc565b946020939093013593505050565b60008060006060848603121561195757600080fd5b611960846118fc565b925061196e602085016118fc565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156119bd576119bd61197e565b604052919050565b600067ffffffffffffffff8311156119df576119df61197e565b6119f2601f8401601f1916602001611994565b9050828152838383011115611a0657600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2f57600080fd5b813567ffffffffffffffff811115611a4657600080fd5b8201601f81018413611a5757600080fd5b610d52848235602084016119c5565b600067ffffffffffffffff821115611a8057611a8061197e565b5060051b60200190565b600082601f830112611a9b57600080fd5b81356020611ab0611aab83611a66565b611994565b82815260059290921b84018101918181019086841115611acf57600080fd5b8286015b84811015611aea5780358352918301918301611ad3565b509695505050505050565b60008060408385031215611b0857600080fd5b823567ffffffffffffffff80821115611b2057600080fd5b818501915085601f830112611b3457600080fd5b81356020611b44611aab83611a66565b82815260059290921b84018101918181019089841115611b6357600080fd5b948201945b83861015611b8857611b79866118fc565b82529482019490820190611b68565b96505086013592505080821115611b9e57600080fd5b50611bab85828601611a8a565b9150509250929050565b600060208284031215611bc757600080fd5b611871826118fc565b60008060408385031215611be357600080fd5b611bec836118fc565b915060208301358015158114611c0157600080fd5b809150509250929050565b60008060008060808587031215611c2257600080fd5b611c2b856118fc565b9350611c39602086016118fc565b925060408501359150606085013567ffffffffffffffff811115611c5c57600080fd5b8501601f81018713611c6d57600080fd5b611c7c878235602084016119c5565b91505092959194509250565b60008060408385031215611c9b57600080fd5b611ca4836118fc565b9150611cb2602084016118fc565b90509250929050565b600181811c90821680611ccf57607f821691505b60208210811415611cf057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611d8257611d82611d59565b500190565b6000600019821415611d9b57611d9b611d59565b5060010190565b8054600090600181811c9080831680611dbc57607f831692505b6020808410821415611dde57634e487b7160e01b600052602260045260246000fd5b818015611df25760018114611e0357611e30565b60ff19861689528489019650611e30565b60008881526020902060005b86811015611e285781548b820152908501908301611e0f565b505084890196505b50505050505092915050565b6000611e488286611da2565b8451611e58818360208901611878565b611e6481830186611da2565b979650505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f39908301846118a4565b9695505050505050565b600060208284031215611f5557600080fd5b81516118718161183e565b600082821015611f7257611f72611d59565b500390565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220482cdf2d98626332574a2f0b57e847aaf1878b686b6bb17783f1321b4227b3b964736f6c6343000809003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5472425a6d6f57694e71324e726f4d754559333652414762397272643566456a70413444566a746e634a45642f
Deployed ByteCode Sourcemap
62836:1787:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56845:224;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;56845:224:0;;;;;;;;40552:100;;;:::i;:::-;;;;;;;:::i;42064:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;42064:171:0;1528:203:1;41582:416:0;;;;;;:::i;:::-;;:::i;:::-;;57485:113;57573:10;:17;57485:113;;;2319:25:1;;;2307:2;2292:18;57485:113:0;2173:177:1;42764:335:0;;;;;;:::i;:::-;;:::i;57153:256::-;;;;;;:::i;:::-;;:::i;43170:185::-;;;;;;:::i;:::-;;:::i;57675:233::-;;;;;;:::i;:::-;;:::i;64163:96::-;;;;;;:::i;:::-;;:::i;40262:223::-;;;;;;:::i;:::-;;:::i;63502:549::-;;;;;;:::i;:::-;;:::i;39993:207::-;;;;;;:::i;:::-;;:::i;17975:103::-;;;:::i;63088:42::-;;63126:4;63088:42;;64265:96;;;;;;:::i;:::-;;:::i;17327:87::-;17400:6;;-1:-1:-1;;;;;17400:6:0;17327:87;;40721:104;;;:::i;63261:235::-;;;;;;:::i;:::-;;:::i;42307:155::-;;;;;;:::i;:::-;;:::i;63135:26::-;;;;;;43426:322;;;;;;:::i;:::-;;:::i;64367:253::-;;;;;;:::i;:::-;;:::i;63166:30::-;;;;;;42533:164;;;;;;:::i;:::-;-1:-1:-1;;;;;42654:25:0;;;42630:4;42654:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;42533:164;18233:201;;;;;;:::i;:::-;;:::i;56845:224::-;56947:4;-1:-1:-1;;;;;;56971:50:0;;-1:-1:-1;;;56971:50:0;;:90;;;57025:36;57049:11;57025:23;:36::i;:::-;56964:97;56845:224;-1:-1:-1;;56845:224:0:o;40552:100::-;40606:13;40639:5;40632:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40552:100;:::o;42064:171::-;42140:7;42160:23;42175:7;42160:14;:23::i;:::-;-1:-1:-1;42203:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;42203:24:0;;42064:171::o;41582:416::-;41663:13;41679:23;41694:7;41679:14;:23::i;:::-;41663:39;;41727:5;-1:-1:-1;;;;;41721:11:0;:2;-1:-1:-1;;;;;41721:11:0;;;41713:57;;;;-1:-1:-1;;;41713:57:0;;8041:2:1;41713:57:0;;;8023:21:1;8080:2;8060:18;;;8053:30;8119:34;8099:18;;;8092:62;-1:-1:-1;;;8170:18:1;;;8163:31;8211:19;;41713:57:0;;;;;;;;;15958:10;-1:-1:-1;;;;;41805:21:0;;;;:62;;-1:-1:-1;41830:37:0;41847:5;15958:10;42533:164;:::i;41830:37::-;41783:173;;;;-1:-1:-1;;;41783:173:0;;8443:2:1;41783:173:0;;;8425:21:1;8482:2;8462:18;;;8455:30;8521:34;8501:18;;;8494:62;8592:31;8572:18;;;8565:59;8641:19;;41783:173:0;8241:425:1;41783:173:0;41969:21;41978:2;41982:7;41969:8;:21::i;:::-;41652:346;41582:416;;:::o;42764:335::-;42959:41;15958:10;42992:7;42959:18;:41::i;:::-;42951:99;;;;-1:-1:-1;;;42951:99:0;;;;;;;:::i;:::-;43063:28;43073:4;43079:2;43083:7;43063:9;:28::i;57153:256::-;57250:7;57286:23;57303:5;57286:16;:23::i;:::-;57278:5;:31;57270:87;;;;-1:-1:-1;;;57270:87:0;;9287:2:1;57270:87:0;;;9269:21:1;9326:2;9306:18;;;9299:30;9365:34;9345:18;;;9338:62;-1:-1:-1;;;9416:18:1;;;9409:41;9467:19;;57270:87:0;9085:407:1;57270:87:0;-1:-1:-1;;;;;;57375:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;57153:256::o;43170:185::-;43308:39;43325:4;43331:2;43335:7;43308:39;;;;;;;;;;;;:16;:39::i;57675:233::-;57750:7;57786:30;57573:10;:17;;57485:113;57786:30;57778:5;:38;57770:95;;;;-1:-1:-1;;;57770:95:0;;9699:2:1;57770:95:0;;;9681:21:1;9738:2;9718:18;;;9711:30;9777:34;9757:18;;;9750:62;-1:-1:-1;;;9828:18:1;;;9821:42;9880:19;;57770:95:0;9497:408:1;57770:95:0;57883:10;57894:5;57883:17;;;;;;;;:::i;:::-;;;;;;;;;57876:24;;57675:233;;;:::o;64163:96::-;17213:13;:11;:13::i;:::-;64230:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;64163:96:::0;:::o;40262:223::-;40334:7;45149:16;;;:7;:16;;;;;;-1:-1:-1;;;;;45149:16:0;;40398:56;;;;-1:-1:-1;;;40398:56:0;;10244:2:1;40398:56:0;;;10226:21:1;10283:2;10263:18;;;10256:30;-1:-1:-1;;;10302:18:1;;;10295:54;10366:18;;40398:56:0;10042:348:1;63502:549:0;17213:13;:11;:13::i;:::-;63623:7:::1;:14;63605:7;:14;:32;63597:60;;;::::0;-1:-1:-1;;;63597:60:0;;10597:2:1;63597:60:0::1;::::0;::::1;10579:21:1::0;10636:2;10616:18;;;10609:30;-1:-1:-1;;;10655:18:1;;;10648:45;10710:18;;63597:60:0::1;10395:339:1::0;63597:60:0::1;63664:19;63694:9:::0;63710:81:::1;63727:7;:14;63723:1;:18;63710:81;;;63773:7;63781:1;63773:10;;;;;;;;:::i;:::-;;;;;;;63758:25;;;;;:::i;:::-;::::0;-1:-1:-1;63744:3:0::1;::::0;::::1;:::i;:::-;;;63710:81;;;63820:21;63830:10;63820:9;:21::i;:::-;63805:11;:36;;63797:68;;;::::0;-1:-1:-1;;;63797:68:0;;11346:2:1;63797:68:0::1;::::0;::::1;11328:21:1::0;11385:2;11365:18;;;11358:30;-1:-1:-1;;;11404:18:1;;;11397:49;11463:18;;63797:68:0::1;11144:343:1::0;63797:68:0::1;-1:-1:-1::0;63881:1:0::1;63872:174;63889:7;:14;63885:1;:18;63872:174;;;63925:9;63920:119;63945:7;63953:1;63945:10;;;;;;;;:::i;:::-;;;;;;;63941:1;:14;63920:119;;;63974:55;63987:10;63999:7;64007:1;63999:10;;;;;;;;:::i;:::-;;;;;;;64013:15;;64011:17;;;;;:::i;:::-;::::0;;;;-1:-1:-1;63974:12:0::1;:55::i;:::-;63958:3;::::0;::::1;:::i;:::-;;;63920:119;;;-1:-1:-1::0;63906:3:0::1;::::0;::::1;:::i;:::-;;;63872:174;;;63590:461;;63502:549:::0;;:::o;39993:207::-;40065:7;-1:-1:-1;;;;;40093:19:0;;40085:73;;;;-1:-1:-1;;;40085:73:0;;11694:2:1;40085:73:0;;;11676:21:1;11733:2;11713:18;;;11706:30;11772:34;11752:18;;;11745:62;-1:-1:-1;;;11823:18:1;;;11816:39;11872:19;;40085:73:0;11492:405:1;40085:73:0;-1:-1:-1;;;;;;40176:16:0;;;;;:9;:16;;;;;;;39993:207::o;17975:103::-;17213:13;:11;:13::i;:::-;18040:30:::1;18067:1;18040:18;:30::i;:::-;17975:103::o:0;64265:96::-;64331:24;;;;:9;;:24;;;;;:::i;40721:104::-;40777:13;40810:7;40803:14;;;;;:::i;63261:235::-;17213:13;:11;:13::i;:::-;63320:9:::1;63126:4;63358:6;63344:11;;:20;;;;:::i;:::-;:35;;63336:64;;;::::0;-1:-1:-1;;;63336:64:0;;12104:2:1;63336:64:0::1;::::0;::::1;12086:21:1::0;12143:2;12123:18;;;12116:30;-1:-1:-1;;;12162:18:1;;;12155:46;12218:18;;63336:64:0::1;11902:340:1::0;63336:64:0::1;-1:-1:-1::0;63416:1:0::1;63407:84;63424:6;63420:1;:10;63407:84;;;63447:36;63457:10;63471:11;;63469:13;;;;;:::i;:::-;::::0;;;;-1:-1:-1;63447:9:0::1;:36::i;:::-;63433:3;::::0;::::1;:::i;:::-;;;63407:84;;42307:155:::0;42402:52;15958:10;42435:8;42445;42402:18;:52::i;43426:322::-;43600:41;15958:10;43633:7;43600:18;:41::i;:::-;43592:99;;;;-1:-1:-1;;;43592:99:0;;;;;;;:::i;:::-;43702:38;43716:4;43722:2;43726:7;43735:4;43702:13;:38::i;64367:253::-;45551:4;45149:16;;;:7;:16;;;;;;64432:13;;-1:-1:-1;;;;;45149:16:0;64454:76;;;;-1:-1:-1;;;64454:76:0;;12449:2:1;64454:76:0;;;12431:21:1;12488:2;12468:18;;;12461:30;12527:34;12507:18;;;12500:62;-1:-1:-1;;;12578:18:1;;;12571:45;12633:19;;64454:76:0;12247:411:1;64454:76:0;64568:13;64583:18;:7;:16;:18::i;:::-;64603:9;64551:62;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64537:77;;64367:253;;;:::o;18233:201::-;17213:13;:11;:13::i;:::-;-1:-1:-1;;;;;18322:22:0;::::1;18314:73;;;::::0;-1:-1:-1;;;18314:73:0;;14430:2:1;18314:73:0::1;::::0;::::1;14412:21:1::0;14469:2;14449:18;;;14442:30;14508:34;14488:18;;;14481:62;-1:-1:-1;;;14559:18:1;;;14552:36;14605:19;;18314:73:0::1;14228:402:1::0;18314:73:0::1;18398:28;18417:8;18398:18;:28::i;:::-;18233:201:::0;:::o;39624:305::-;39726:4;-1:-1:-1;;;;;;39763:40:0;;-1:-1:-1;;;39763:40:0;;:105;;-1:-1:-1;;;;;;;39820:48:0;;-1:-1:-1;;;39820:48:0;39763:105;:158;;;-1:-1:-1;;;;;;;;;;31165:40:0;;;39885:36;31056:157;51883:135;45551:4;45149:16;;;:7;:16;;;;;;-1:-1:-1;;;;;45149:16:0;51957:53;;;;-1:-1:-1;;;51957:53:0;;10244:2:1;51957:53:0;;;10226:21:1;10283:2;10263:18;;;10256:30;-1:-1:-1;;;10302:18:1;;;10295:54;10366:18;;51957:53:0;10042:348:1;51162:174:0;51237:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;51237:29:0;-1:-1:-1;;;;;51237:29:0;;;;;;;;:24;;51291:23;51237:24;51291:14;:23::i;:::-;-1:-1:-1;;;;;51282:46:0;;;;;;;;;;;51162:174;;:::o;45781:264::-;45874:4;45891:13;45907:23;45922:7;45907:14;:23::i;:::-;45891:39;;45960:5;-1:-1:-1;;;;;45949:16:0;:7;-1:-1:-1;;;;;45949:16:0;;:52;;;-1:-1:-1;;;;;;42654:25:0;;;42630:4;42654:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;45969:32;45949:87;;;;46029:7;-1:-1:-1;;;;;46005:31:0;:20;46017:7;46005:11;:20::i;:::-;-1:-1:-1;;;;;46005:31:0;;45949:87;45941:96;45781:264;-1:-1:-1;;;;45781:264:0:o;49780:1263::-;49939:4;-1:-1:-1;;;;;49912:31:0;:23;49927:7;49912:14;:23::i;:::-;-1:-1:-1;;;;;49912:31:0;;49904:81;;;;-1:-1:-1;;;49904:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;50004:16:0;;49996:65;;;;-1:-1:-1;;;49996:65:0;;15243:2:1;49996:65:0;;;15225:21:1;15282:2;15262:18;;;15255:30;15321:34;15301:18;;;15294:62;-1:-1:-1;;;15372:18:1;;;15365:34;15416:19;;49996:65:0;15041:400:1;49996:65:0;50074:42;50095:4;50101:2;50105:7;50114:1;50074:20;:42::i;:::-;50246:4;-1:-1:-1;;;;;50219:31:0;:23;50234:7;50219:14;:23::i;:::-;-1:-1:-1;;;;;50219:31:0;;50211:81;;;;-1:-1:-1;;;50211:81:0;;;;;;;:::i;:::-;50364:24;;;;:15;:24;;;;;;;;50357:31;;-1:-1:-1;;;;;;50357:31:0;;;;;;-1:-1:-1;;;;;50840:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;50840:20:0;;;50875:13;;;;;;;;;:18;;50357:31;50875:18;;;50915:16;;;:7;:16;;;;;;:21;;;;;;;;;;50954:27;;50380:7;;50954:27;;;41652:346;41582:416;;:::o;17492:132::-;17400:6;;-1:-1:-1;;;;;17400:6:0;15958:10;17556:23;17548:68;;;;-1:-1:-1;;;17548:68:0;;15648:2:1;17548:68:0;;;15630:21:1;;;15667:18;;;15660:30;15726:34;15706:18;;;15699:62;15778:18;;17548:68:0;15446:356:1;18594:191:0;18687:6;;;-1:-1:-1;;;;;18704:17:0;;;-1:-1:-1;;;;;;18704:17:0;;;;;;;18737:40;;18687:6;;;18704:17;18687:6;;18737:40;;18668:16;;18737:40;18657:128;18594:191;:::o;46387:110::-;46463:26;46473:2;46477:7;46463:26;;;;;;;;;;;;:9;:26::i;51479:315::-;51634:8;-1:-1:-1;;;;;51625:17:0;:5;-1:-1:-1;;;;;51625:17:0;;;51617:55;;;;-1:-1:-1;;;51617:55:0;;16009:2:1;51617:55:0;;;15991:21:1;16048:2;16028:18;;;16021:30;16087:27;16067:18;;;16060:55;16132:18;;51617:55:0;15807:349:1;51617:55:0;-1:-1:-1;;;;;51683:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;51683:46:0;;;;;;;;;;51745:41;;540::1;;;51745::0;;513:18:1;51745:41:0;;;;;;;51479:315;;;:::o;44629:313::-;44785:28;44795:4;44801:2;44805:7;44785:9;:28::i;:::-;44832:47;44855:4;44861:2;44865:7;44874:4;44832:22;:47::i;:::-;44824:110;;;;-1:-1:-1;;;44824:110:0;;;;;;;:::i;13305:716::-;13361:13;13412:14;13429:17;13440:5;13429:10;:17::i;:::-;13449:1;13429:21;13412:38;;13465:20;13499:6;13488:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13488:18:0;-1:-1:-1;13465:41:0;-1:-1:-1;13630:28:0;;;13646:2;13630:28;13687:288;-1:-1:-1;;13719:5:0;-1:-1:-1;;;13856:2:0;13845:14;;13840:30;13719:5;13827:44;13917:2;13908:11;;;-1:-1:-1;13942:10:0;13938:21;;13954:5;;13938:21;13687:288;;;-1:-1:-1;13996:6:0;13305:716;-1:-1:-1;;;13305:716:0:o;57982:915::-;58249:1;58237:9;:13;58233:222;;;58380:63;;-1:-1:-1;;;58380:63:0;;16914:2:1;58380:63:0;;;16896:21:1;16953:2;16933:18;;;16926:30;16992:34;16972:18;;;16965:62;-1:-1:-1;;;17043:18:1;;;17036:51;17104:19;;58380:63:0;16712:417:1;58233:222:0;58485:12;-1:-1:-1;;;;;58514:18:0;;58510:187;;58549:40;58581:7;59724:10;:17;;59697:24;;;;:15;:24;;;;;:44;;;59752:24;;;;;;;;;;;;59620:164;58549:40;58510:187;;;58619:2;-1:-1:-1;;;;;58611:10:0;:4;-1:-1:-1;;;;;58611:10:0;;58607:90;;58638:47;58671:4;58677:7;58638:32;:47::i;:::-;-1:-1:-1;;;;;58711:16:0;;58707:183;;58744:45;58781:7;58744:36;:45::i;:::-;58707:183;;;58817:4;-1:-1:-1;;;;;58811:10:0;:2;-1:-1:-1;;;;;58811:10:0;;58807:83;;58838:40;58866:2;58870:7;58838:27;:40::i;:::-;58148:749;57982:915;;;;:::o;46724:319::-;46853:18;46859:2;46863:7;46853:5;:18::i;:::-;46904:53;46935:1;46939:2;46943:7;46952:4;46904:22;:53::i;:::-;46882:153;;;;-1:-1:-1;;;46882:153:0;;;;;;;:::i;52582:853::-;52736:4;-1:-1:-1;;;;;52757:13:0;;20320:19;:23;52753:675;;52793:71;;-1:-1:-1;;;52793:71:0;;-1:-1:-1;;;;;52793:36:0;;;;;:71;;15958:10;;52844:4;;52850:7;;52859:4;;52793:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52793:71:0;;;;;;;;-1:-1:-1;;52793:71:0;;;;;;;;;;;;:::i;:::-;;;52789:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53034:13:0;;53030:328;;53077:60;;-1:-1:-1;;;53077:60:0;;;;;;;:::i;53030:328::-;53308:6;53302:13;53293:6;53289:2;53285:15;53278:38;52789:584;-1:-1:-1;;;;;;52915:51:0;-1:-1:-1;;;52915:51:0;;-1:-1:-1;52908:58:0;;52753:675;-1:-1:-1;53412:4:0;52582:853;;;;;;:::o;10171:922::-;10224:7;;-1:-1:-1;;;10302:15:0;;10298:102;;-1:-1:-1;;;10338:15:0;;;-1:-1:-1;10382:2:0;10372:12;10298:102;10427:6;10418:5;:15;10414:102;;10463:6;10454:15;;;-1:-1:-1;10498:2:0;10488:12;10414:102;10543:6;10534:5;:15;10530:102;;10579:6;10570:15;;;-1:-1:-1;10614:2:0;10604:12;10530:102;10659:5;10650;:14;10646:99;;10694:5;10685:14;;;-1:-1:-1;10728:1:0;10718:11;10646:99;10772:5;10763;:14;10759:99;;10807:5;10798:14;;;-1:-1:-1;10841:1:0;10831:11;10759:99;10885:5;10876;:14;10872:99;;10920:5;10911:14;;;-1:-1:-1;10954:1:0;10944:11;10872:99;10998:5;10989;:14;10985:66;;11034:1;11024:11;11079:6;10171:922;-1:-1:-1;;10171:922:0:o;60411:988::-;60677:22;60727:1;60702:22;60719:4;60702:16;:22::i;:::-;:26;;;;:::i;:::-;60739:18;60760:26;;;:17;:26;;;;;;60677:51;;-1:-1:-1;60893:28:0;;;60889:328;;-1:-1:-1;;;;;60960:18:0;;60938:19;60960:18;;;:12;:18;;;;;;;;:34;;;;;;;;;61011:30;;;;;;:44;;;61128:30;;:17;:30;;;;;:43;;;60889:328;-1:-1:-1;61313:26:0;;;;:17;:26;;;;;;;;61306:33;;;-1:-1:-1;;;;;61357:18:0;;;;;:12;:18;;;;;:34;;;;;;;61350:41;60411:988::o;61694:1079::-;61972:10;:17;61947:22;;61972:21;;61992:1;;61972:21;:::i;:::-;62004:18;62025:24;;;:15;:24;;;;;;62398:10;:26;;61947:46;;-1:-1:-1;62025:24:0;;61947:46;;62398:26;;;;;;:::i;:::-;;;;;;;;;62376:48;;62462:11;62437:10;62448;62437:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;62542:28;;;:15;:28;;;;;;;:41;;;62714:24;;;;;62707:31;62749:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;61765:1008;;;61694:1079;:::o;59198:221::-;59283:14;59300:20;59317:2;59300:16;:20::i;:::-;-1:-1:-1;;;;;59331:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;59376:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;59198:221:0:o;47379:942::-;-1:-1:-1;;;;;47459:16:0;;47451:61;;;;-1:-1:-1;;;47451:61:0;;18346:2:1;47451:61:0;;;18328:21:1;;;18365:18;;;18358:30;18424:34;18404:18;;;18397:62;18476:18;;47451:61:0;18144:356:1;47451:61:0;45551:4;45149:16;;;:7;:16;;;;;;-1:-1:-1;;;;;45149:16:0;45575:31;47523:58;;;;-1:-1:-1;;;47523:58:0;;18707:2:1;47523:58:0;;;18689:21:1;18746:2;18726:18;;;18719:30;18785;18765:18;;;18758:58;18833:18;;47523:58:0;18505:352:1;47523:58:0;47594:48;47623:1;47627:2;47631:7;47640:1;47594:20;:48::i;:::-;45551:4;45149:16;;;:7;:16;;;;;;-1:-1:-1;;;;;45149:16:0;45575:31;47732:58;;;;-1:-1:-1;;;47732:58:0;;18707:2:1;47732:58:0;;;18689:21:1;18746:2;18726:18;;;18719:30;18785;18765:18;;;18758:58;18833:18;;47732:58:0;18505:352:1;47732:58:0;-1:-1:-1;;;;;48139:13:0;;;;;;:9;:13;;;;;;;;:18;;48156:1;48139:18;;;48181:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;48181:21:0;;;;;48220:33;48189:7;;48139:13;;48220:33;;48139:13;;48220:33;64230:23:::1;64163:96:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:275;2891:2;2885:9;2956:2;2937:13;;-1:-1:-1;;2933:27:1;2921:40;;2991:18;2976:34;;3012:22;;;2973:62;2970:88;;;3038:18;;:::i;:::-;3074:2;3067:22;2820:275;;-1:-1:-1;2820:275:1:o;3100:407::-;3165:5;3199:18;3191:6;3188:30;3185:56;;;3221:18;;:::i;:::-;3259:57;3304:2;3283:15;;-1:-1:-1;;3279:29:1;3310:4;3275:40;3259:57;:::i;:::-;3250:66;;3339:6;3332:5;3325:21;3379:3;3370:6;3365:3;3361:16;3358:25;3355:45;;;3396:1;3393;3386:12;3355:45;3445:6;3440:3;3433:4;3426:5;3422:16;3409:43;3499:1;3492:4;3483:6;3476:5;3472:18;3468:29;3461:40;3100:407;;;;;:::o;3512:451::-;3581:6;3634:2;3622:9;3613:7;3609:23;3605:32;3602:52;;;3650:1;3647;3640:12;3602:52;3690:9;3677:23;3723:18;3715:6;3712:30;3709:50;;;3755:1;3752;3745:12;3709:50;3778:22;;3831:4;3823:13;;3819:27;-1:-1:-1;3809:55:1;;3860:1;3857;3850:12;3809:55;3883:74;3949:7;3944:2;3931:16;3926:2;3922;3918:11;3883:74;:::i;3968:183::-;4028:4;4061:18;4053:6;4050:30;4047:56;;;4083:18;;:::i;:::-;-1:-1:-1;4128:1:1;4124:14;4140:4;4120:25;;3968:183::o;4156:662::-;4210:5;4263:3;4256:4;4248:6;4244:17;4240:27;4230:55;;4281:1;4278;4271:12;4230:55;4317:6;4304:20;4343:4;4367:60;4383:43;4423:2;4383:43;:::i;:::-;4367:60;:::i;:::-;4461:15;;;4547:1;4543:10;;;;4531:23;;4527:32;;;4492:12;;;;4571:15;;;4568:35;;;4599:1;4596;4589:12;4568:35;4635:2;4627:6;4623:15;4647:142;4663:6;4658:3;4655:15;4647:142;;;4729:17;;4717:30;;4767:12;;;;4680;;4647:142;;;-1:-1:-1;4807:5:1;4156:662;-1:-1:-1;;;;;;4156:662:1:o;4823:1146::-;4941:6;4949;5002:2;4990:9;4981:7;4977:23;4973:32;4970:52;;;5018:1;5015;5008:12;4970:52;5058:9;5045:23;5087:18;5128:2;5120:6;5117:14;5114:34;;;5144:1;5141;5134:12;5114:34;5182:6;5171:9;5167:22;5157:32;;5227:7;5220:4;5216:2;5212:13;5208:27;5198:55;;5249:1;5246;5239:12;5198:55;5285:2;5272:16;5307:4;5331:60;5347:43;5387:2;5347:43;:::i;5331:60::-;5425:15;;;5507:1;5503:10;;;;5495:19;;5491:28;;;5456:12;;;;5531:19;;;5528:39;;;5563:1;5560;5553:12;5528:39;5587:11;;;;5607:148;5623:6;5618:3;5615:15;5607:148;;;5689:23;5708:3;5689:23;:::i;:::-;5677:36;;5640:12;;;;5733;;;;5607:148;;;5774:5;-1:-1:-1;;5817:18:1;;5804:32;;-1:-1:-1;;5848:16:1;;;5845:36;;;5877:1;5874;5867:12;5845:36;;5900:63;5955:7;5944:8;5933:9;5929:24;5900:63;:::i;:::-;5890:73;;;4823:1146;;;;;:::o;5974:186::-;6033:6;6086:2;6074:9;6065:7;6061:23;6057:32;6054:52;;;6102:1;6099;6092:12;6054:52;6125:29;6144:9;6125:29;:::i;6165:347::-;6230:6;6238;6291:2;6279:9;6270:7;6266:23;6262:32;6259:52;;;6307:1;6304;6297:12;6259:52;6330:29;6349:9;6330:29;:::i;:::-;6320:39;;6409:2;6398:9;6394:18;6381:32;6456:5;6449:13;6442:21;6435:5;6432:32;6422:60;;6478:1;6475;6468:12;6422:60;6501:5;6491:15;;;6165:347;;;;;:::o;6517:667::-;6612:6;6620;6628;6636;6689:3;6677:9;6668:7;6664:23;6660:33;6657:53;;;6706:1;6703;6696:12;6657:53;6729:29;6748:9;6729:29;:::i;:::-;6719:39;;6777:38;6811:2;6800:9;6796:18;6777:38;:::i;:::-;6767:48;;6862:2;6851:9;6847:18;6834:32;6824:42;;6917:2;6906:9;6902:18;6889:32;6944:18;6936:6;6933:30;6930:50;;;6976:1;6973;6966:12;6930:50;6999:22;;7052:4;7044:13;;7040:27;-1:-1:-1;7030:55:1;;7081:1;7078;7071:12;7030:55;7104:74;7170:7;7165:2;7152:16;7147:2;7143;7139:11;7104:74;:::i;:::-;7094:84;;;6517:667;;;;;;;:::o;7189:260::-;7257:6;7265;7318:2;7306:9;7297:7;7293:23;7289:32;7286:52;;;7334:1;7331;7324:12;7286:52;7357:29;7376:9;7357:29;:::i;:::-;7347:39;;7405:38;7439:2;7428:9;7424:18;7405:38;:::i;:::-;7395:48;;7189:260;;;;;:::o;7454:380::-;7533:1;7529:12;;;;7576;;;7597:61;;7651:4;7643:6;7639:17;7629:27;;7597:61;7704:2;7696:6;7693:14;7673:18;7670:38;7667:161;;;7750:10;7745:3;7741:20;7738:1;7731:31;7785:4;7782:1;7775:15;7813:4;7810:1;7803:15;7667:161;;7454:380;;;:::o;8671:409::-;8873:2;8855:21;;;8912:2;8892:18;;;8885:30;8951:34;8946:2;8931:18;;8924:62;-1:-1:-1;;;9017:2:1;9002:18;;8995:43;9070:3;9055:19;;8671:409::o;9910:127::-;9971:10;9966:3;9962:20;9959:1;9952:31;10002:4;9999:1;9992:15;10026:4;10023:1;10016:15;10739:127;10800:10;10795:3;10791:20;10788:1;10781:31;10831:4;10828:1;10821:15;10855:4;10852:1;10845:15;10871:128;10911:3;10942:1;10938:6;10935:1;10932:13;10929:39;;;10948:18;;:::i;:::-;-1:-1:-1;10984:9:1;;10871:128::o;11004:135::-;11043:3;-1:-1:-1;;11064:17:1;;11061:43;;;11084:18;;:::i;:::-;-1:-1:-1;11131:1:1;11120:13;;11004:135::o;12789:973::-;12874:12;;12839:3;;12929:1;12949:18;;;;13002;;;;13029:61;;13083:4;13075:6;13071:17;13061:27;;13029:61;13109:2;13157;13149:6;13146:14;13126:18;13123:38;13120:161;;;13203:10;13198:3;13194:20;13191:1;13184:31;13238:4;13235:1;13228:15;13266:4;13263:1;13256:15;13120:161;13297:18;13324:104;;;;13442:1;13437:319;;;;13290:466;;13324:104;-1:-1:-1;;13357:24:1;;13345:37;;13402:16;;;;-1:-1:-1;13324:104:1;;13437:319;12736:1;12729:14;;;12773:4;12760:18;;13531:1;13545:165;13559:6;13556:1;13553:13;13545:165;;;13637:14;;13624:11;;;13617:35;13680:16;;;;13574:10;;13545:165;;;13549:3;;13739:6;13734:3;13730:16;13723:23;;13290:466;;;;;;;12789:973;;;;:::o;13767:456::-;13988:3;14016:38;14050:3;14042:6;14016:38;:::i;:::-;14083:6;14077:13;14099:52;14144:6;14140:2;14133:4;14125:6;14121:17;14099:52;:::i;:::-;14167:50;14209:6;14205:2;14201:15;14193:6;14167:50;:::i;:::-;14160:57;13767:456;-1:-1:-1;;;;;;;13767:456:1:o;14635:401::-;14837:2;14819:21;;;14876:2;14856:18;;;14849:30;14915:34;14910:2;14895:18;;14888:62;-1:-1:-1;;;14981:2:1;14966:18;;14959:35;15026:3;15011:19;;14635:401::o;16161:414::-;16363:2;16345:21;;;16402:2;16382:18;;;16375:30;16441:34;16436:2;16421:18;;16414:62;-1:-1:-1;;;16507:2:1;16492:18;;16485:48;16565:3;16550:19;;16161:414::o;17134:489::-;-1:-1:-1;;;;;17403:15:1;;;17385:34;;17455:15;;17450:2;17435:18;;17428:43;17502:2;17487:18;;17480:34;;;17550:3;17545:2;17530:18;;17523:31;;;17328:4;;17571:46;;17597:19;;17589:6;17571:46;:::i;:::-;17563:54;17134:489;-1:-1:-1;;;;;;17134:489:1:o;17628:249::-;17697:6;17750:2;17738:9;17729:7;17725:23;17721:32;17718:52;;;17766:1;17763;17756:12;17718:52;17798:9;17792:16;17817:30;17841:5;17817:30;:::i;17882:125::-;17922:4;17950:1;17947;17944:8;17941:34;;;17955:18;;:::i;:::-;-1:-1:-1;17992:9:1;;17882:125::o;18012:127::-;18073:10;18068:3;18064:20;18061:1;18054:31;18104:4;18101:1;18094:15;18128:4;18125:1;18118:15
Swarm Source
ipfs://482cdf2d98626332574a2f0b57e847aaf1878b686b6bb17783f1321b4227b3b9