Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Matr1xLinkOfMissionDawn
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-23 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlotUpgradeable { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } } // File: @openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol) pragma solidity ^0.8.0; /** * @dev This is the interface that {BeaconProxy} expects of its beacon. */ interface IBeaconUpgradeable { /** * @dev Must return an address that can be used as a delegate call target. * * {BeaconProxy} will check that this address is a contract. */ function implementation() external view returns (address); } // File: @openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol) pragma solidity ^0.8.0; /** * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified * proxy whose upgrades are fully controlled by the current implementation. */ interface IERC1822ProxiableUpgradeable { /** * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation * address. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. */ function proxiableUUID() external view returns (bytes32); } // File: @openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControlUpgradeable { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts-upgradeable/utils/math/MathUpgradeable.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 MathUpgradeable { 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-upgradeable/utils/StringsUpgradeable.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { 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 = MathUpgradeable.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, MathUpgradeable.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-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.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 IERC721ReceiverUpgradeable { /** * @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-upgradeable/utils/introspection/IERC165Upgradeable.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 IERC165Upgradeable { /** * @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-upgradeable/token/ERC721/IERC721Upgradeable.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 IERC721Upgradeable is IERC165Upgradeable { /** * @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-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.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 IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @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-upgradeable/utils/AddressUpgradeable.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 AddressUpgradeable { /** * @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 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-upgradeable/proxy/utils/Initializable.sol // OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } } // File: @openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol // OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol) pragma solidity ^0.8.2; /** * @dev This abstract contract provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. * * _Available since v4.1._ * * @custom:oz-upgrades-unsafe-allow delegatecall */ abstract contract ERC1967UpgradeUpgradeable is Initializable { function __ERC1967Upgrade_init() internal onlyInitializing { } function __ERC1967Upgrade_init_unchained() internal onlyInitializing { } // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1 bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143; /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Returns the current implementation address. */ function _getImplementation() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value; } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract"); StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } /** * @dev Perform implementation upgrade * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Perform implementation upgrade with additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCall( address newImplementation, bytes memory data, bool forceCall ) internal { _upgradeTo(newImplementation); if (data.length > 0 || forceCall) { _functionDelegateCall(newImplementation, data); } } /** * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCallUUPS( address newImplementation, bytes memory data, bool forceCall ) internal { // Upgrades from old implementations will perform a rollback test. This test requires the new // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing // this special case will break upgrade paths from old UUPS implementation to new ones. if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) { _setImplementation(newImplementation); } else { try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) { require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID"); } catch { revert("ERC1967Upgrade: new implementation is not UUPS"); } _upgradeToAndCall(newImplementation, data, forceCall); } } /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Returns the current admin. */ function _getAdmin() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value; } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { require(newAdmin != address(0), "ERC1967: new admin is the zero address"); StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin; } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. */ function _changeAdmin(address newAdmin) internal { emit AdminChanged(_getAdmin(), newAdmin); _setAdmin(newAdmin); } /** * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor. */ bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50; /** * @dev Emitted when the beacon is upgraded. */ event BeaconUpgraded(address indexed beacon); /** * @dev Returns the current beacon. */ function _getBeacon() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value; } /** * @dev Stores a new beacon in the EIP1967 beacon slot. */ function _setBeacon(address newBeacon) private { require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract"); require( AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()), "ERC1967: beacon implementation is not a contract" ); StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon; } /** * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that). * * Emits a {BeaconUpgraded} event. */ function _upgradeBeaconToAndCall( address newBeacon, bytes memory data, bool forceCall ) internal { _setBeacon(newBeacon); emit BeaconUpgraded(newBeacon); if (data.length > 0 || forceCall) { _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data); } } /** * @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) private returns (bytes memory) { require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed"); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol // OpenZeppelin Contracts (last updated v4.8.0) (proxy/utils/UUPSUpgradeable.sol) pragma solidity ^0.8.0; /** * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy. * * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing * `UUPSUpgradeable` with a custom implementation of upgrades. * * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism. * * _Available since v4.1._ */ abstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable { function __UUPSUpgradeable_init() internal onlyInitializing { } function __UUPSUpgradeable_init_unchained() internal onlyInitializing { } /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment address private immutable __self = address(this); /** * @dev Check that the execution is being performed through a delegatecall call and that the execution context is * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to * fail. */ modifier onlyProxy() { require(address(this) != __self, "Function must be called through delegatecall"); require(_getImplementation() == __self, "Function must be called through active proxy"); _; } /** * @dev Check that the execution is not being performed through a delegate call. This allows a function to be * callable on the implementing contract but not through proxies. */ modifier notDelegated() { require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall"); _; } /** * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the * implementation. It is used to validate the implementation's compatibility when performing an upgrade. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier. */ function proxiableUUID() external view virtual override notDelegated returns (bytes32) { return _IMPLEMENTATION_SLOT; } /** * @dev Upgrade the implementation of the proxy to `newImplementation`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeTo(address newImplementation) external virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, new bytes(0), false); } /** * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call * encoded in `data`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, data, true); } /** * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by * {upgradeTo} and {upgradeToAndCall}. * * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}. * * ```solidity * function _authorizeUpgrade(address) internal override onlyOwner {} * ``` */ function _authorizeUpgrade(address newImplementation) internal virtual; /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal onlyInitializing { } function __ERC165_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol // OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable { function __AccessControl_init() internal onlyInitializing { } function __AccessControl_init_unchained() internal onlyInitializing { } struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", StringsUpgradeable.toHexString(account), " is missing role ", StringsUpgradeable.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File: @openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable 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. */ function __ERC721_init(string memory name_, string memory symbol_) internal onlyInitializing { __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).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 = ERC721Upgradeable.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 = ERC721Upgradeable.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 = ERC721Upgradeable.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721Upgradeable.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(ERC721Upgradeable.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(ERC721Upgradeable.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(ERC721Upgradeable.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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable.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 { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @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 This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[44] private __gap; } // File: contracts/Matr1xLinkOfMissionDawn.sol pragma solidity ^0.8.10; abstract contract IERC721 { function ownerOf(uint256 tokenId) public view virtual returns (address); } contract Matr1xLinkOfMissionDawn is Initializable, ERC721Upgradeable, AccessControlUpgradeable, UUPSUpgradeable{ bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant UPGRADER_ROLE = keccak256("UPGRADER_ROLE"); // diamond number 260, gold number 2061, silver number 5422 uint256 private constant MAX_DIAMOND_ID = 260; // 260 uint256 private constant MAX_GOLD_ID = 2321; // 2321=260+2061 uint256 private constant MAX_SILVER_ID = 7743; // 7743=2321+5422 uint256 private _diamondId; uint256 private _goldId; uint256 private _silverId; // 0-pause 1-start enum PauseState { Pause, Start } PauseState public pauseState; string private _buri; IERC721 private yatc; IERC721 private matr1x2061; mapping(uint256 => bool) private _yatcTokenIdMinted; mapping(uint256 => bool) private _matr1xTokenIdMinted; event PauseStateEvent(PauseState pauseState); event YatcMintEvent(address to,uint256 yatcId,uint256 diamondId,uint256 silverId1,uint256 silverId2,uint256 silverId3,uint256 silverId4,uint256 silverId5); event Matr1xMintEvent(address to,uint256 matr1xId,uint256 goldId,uint256 silverId1,uint256 silverId2); /// @custom:oz-upgrades-unsafe-allow constructor constructor() { _disableInitializers(); } function initialize() initializer public { __ERC721_init("Matr1xLink of Mission Dawn", "Dawn"); __AccessControl_init(); __UUPSUpgradeable_init(); yatc = IERC721(0x00723C39194f7F449be736Da0d1C4ec809dDe793); matr1x2061 = IERC721(0x9a27d13a4896BaA03843A0728dff6007D665F8ee); pauseState = PauseState.Pause; _diamondId = 0; //init value 0 ,actual value [1,260] _goldId = 260; //init value 260 ,actual value [261,2321] _silverId = 2321; //init value 2321 ,actual value [2322,7743] _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(MINTER_ROLE, _msgSender()); _setupRole(UPGRADER_ROLE, _msgSender()); } modifier checkState(PauseState pauseState_) { require(pauseState == pauseState_, "Invalid State"); _; } function _authorizeUpgrade(address newImplementation) internal onlyRole(UPGRADER_ROLE) override {} function _baseURI() internal view override returns (string memory) { return _buri; } function setBaseURI(string memory buri) public onlyRole(MINTER_ROLE) { require(bytes(buri).length > 0, "Wrong base uri"); _buri = buri; } /** * yatc holder mint(1 Diamond + 5 Sliver) */ function yatcMint(uint256[] memory _yatcIds) public checkState(PauseState.Start) { require(msg.sender == tx.origin, "Must from real wallet address"); require(_yatcIds.length > 0, "YatcIds group can not be zero"); require(_yatcIds.length <= 10, "Max limit one call"); uint256 _yatcTokenId = 0; for(uint8 i = 0; i < _yatcIds.length ; i++) { _yatcTokenId = _yatcIds[i]; require(_yatcTokenIdMinted[_yatcTokenId] == false,"TokenId have bean minted"); require(yatc.ownerOf(_yatcTokenId) == _msgSender(), "Must own the YATC token"); require(_diamondId + 1 <= MAX_DIAMOND_ID, "Error diamondId"); // [1,260] require(_silverId + 5 <= MAX_SILVER_ID, "Error silverId"); // [2322,7743] emit YatcMintEvent(_msgSender(), _yatcTokenId, _diamondId + 1, _silverId + 1, _silverId + 2, _silverId + 3, _silverId + 4, _silverId + 5); _yatcTokenIdMinted[_yatcTokenId] = true; _mintDiamondCard(_msgSender()); _mintSilverCard(_msgSender(), 5); } } /** * matr1x holder mint(1 Gold + 2 Sliver) */ function matr1xMint(uint256[] memory _matr1xIds) public checkState(PauseState.Start) { require(msg.sender == tx.origin, "Must from real wallet address"); require(_matr1xIds.length > 0, "Matr1xIds group can not be zero"); require(_matr1xIds.length <= 20, "Max limit one call"); uint256 _matr1xTokenId = 0; for(uint8 i = 0; i < _matr1xIds.length ; i++) { _matr1xTokenId = _matr1xIds[i]; require(_matr1xTokenIdMinted[_matr1xTokenId] == false,"TokenId have bean minted"); require(matr1x2061.ownerOf(_matr1xTokenId) == _msgSender(), "Must own the Matr1x 2061 token"); require(_goldId + 1 <= MAX_GOLD_ID, "Error goldId"); // [261,2321] require(_silverId + 2 <= MAX_SILVER_ID, "Error silverId"); // [2322,7743] emit Matr1xMintEvent(_msgSender(), _matr1xTokenId, _goldId + 1, _silverId + 1, _silverId + 2); _matr1xTokenIdMinted[_matr1xTokenId] = true; _mintGoldCard(_msgSender()); _mintSilverCard(_msgSender(), 2); } } function _mintDiamondCard(address _to) private { _diamondId++; _safeMint(_to, _diamondId); } function _mintGoldCard(address _to) private { _goldId++; _safeMint(_to, _goldId); } function _mintSilverCard(address _to,uint8 _num) private { for(uint8 i = 0; i < _num; i++){ _silverId++; _safeMint(_to, _silverId); } } function checkYatcMintStatus(uint256[] memory tokenIds) public view returns(bool[] memory){ bool[] memory results=new bool[](tokenIds.length); for(uint256 i=0; i < tokenIds.length; i++){ results[i]=_yatcTokenIdMinted[tokenIds[i]]; } return results; } function checkMatr1xMintStatus(uint256[] memory tokenIds) public view returns(bool[] memory){ bool[] memory results=new bool[](tokenIds.length); for(uint256 i=0; i < tokenIds.length; i++){ results[i]=_matr1xTokenIdMinted[tokenIds[i]]; } return results; } function setStatus(PauseState _status) public onlyRole(MINTER_ROLE) { pauseState = _status; emit PauseStateEvent(_status); } function burn(uint256 tokenId) public { require( _isApprovedOrOwner(_msgSender(), tokenId), "burn caller is not owner nor approved" ); _burn(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721Upgradeable, AccessControlUpgradeable) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"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":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"matr1xId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"goldId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"silverId1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"silverId2","type":"uint256"}],"name":"Matr1xMintEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum Matr1xLinkOfMissionDawn.PauseState","name":"pauseState","type":"uint8"}],"name":"PauseStateEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"yatcId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"diamondId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"silverId1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"silverId2","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"silverId3","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"silverId4","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"silverId5","type":"uint256"}],"name":"YatcMintEvent","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"checkMatr1xMintStatus","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"checkYatcMintStatus","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"_matr1xIds","type":"uint256[]"}],"name":"matr1xMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"pauseState","outputs":[{"internalType":"enum Matr1xLinkOfMissionDawn.PauseState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"buri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Matr1xLinkOfMissionDawn.PauseState","name":"_status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_yatcIds","type":"uint256[]"}],"name":"yatcMint","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052306080523480156200001557600080fd5b506200002062000026565b620000e8565b600054610100900460ff1615620000935760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e6576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b60805161370762000120600039600081816109b7015281816109f701528181610b1d01528181610b5d0152610bec01526137076000f3fe6080604052600436106101ee5760003560e01c806370a082311161010d578063a22cb465116100a0578063d53913931161006f578063d539139314610596578063d547741f146105b8578063d7118351146105d8578063e985e9c514610600578063f72c0d8b1461064957600080fd5b8063a22cb46514610516578063a4d057cc14610536578063b88d4fde14610556578063c87b56dd1461057657600080fd5b806391d14854116100dc57806391d14854146104ac57806395d89b41146104cc578063a15bf876146104e1578063a217fddf1461050157600080fd5b806370a082311461042a578063808007ca1461044a5780638129fc1c1461047757806390fcab451461048c57600080fd5b806336568abe116101855780634f1ef286116101545780634f1ef286146103c257806352d1902d146103d557806355f804b3146103ea5780636352211e1461040a57600080fd5b806336568abe146103425780633659cfe61461036257806342842e0e1461038257806342966c68146103a257600080fd5b806323b872dd116101c157806323b872dd146102a4578063248a9ca3146102c45780632e49d78b146103025780632f2ff15d1461032257600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004612d70565b61067d565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61068e565b60405161021f9190612de5565b34801561025657600080fd5b5061026a610265366004612df8565b610720565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004612e26565b610747565b005b3480156102b057600080fd5b506102a26102bf366004612e52565b610861565b3480156102d057600080fd5b506102f46102df366004612df8565b60009081526097602052604090206001015490565b60405190815260200161021f565b34801561030e57600080fd5b506102a261031d366004612e93565b610893565b34801561032e57600080fd5b506102a261033d366004612eb4565b61090a565b34801561034e57600080fd5b506102a261035d366004612eb4565b61092f565b34801561036e57600080fd5b506102a261037d366004612ee4565b6109ad565b34801561038e57600080fd5b506102a261039d366004612e52565b610a8c565b3480156103ae57600080fd5b506102a26103bd366004612df8565b610aa7565b6102a26103d0366004612fc0565b610b13565b3480156103e157600080fd5b506102f4610bdf565b3480156103f657600080fd5b506102a2610405366004613010565b610c92565b34801561041657600080fd5b5061026a610425366004612df8565b610d00565b34801561043657600080fd5b506102f4610445366004612ee4565b610d60565b34801561045657600080fd5b5061046a610465366004613059565b610de6565b60405161021f91906130ff565b34801561048357600080fd5b506102a2610eb2565b34801561049857600080fd5b506102a26104a7366004613059565b6110db565b3480156104b857600080fd5b506102136104c7366004612eb4565b6114e7565b3480156104d857600080fd5b5061023d611512565b3480156104ed57600080fd5b506102a26104fc366004613059565b611521565b34801561050d57600080fd5b506102f4600081565b34801561052257600080fd5b506102a2610531366004613145565b61196a565b34801561054257600080fd5b5061046a610551366004613059565b611975565b34801561056257600080fd5b506102a2610571366004613178565b611a3a565b34801561058257600080fd5b5061023d610591366004612df8565b611a6c565b3480156105a257600080fd5b506102f46000805160206136b283398151915281565b3480156105c457600080fd5b506102a26105d3366004612eb4565b611ad3565b3480156105e457600080fd5b50610130546105f39060ff1681565b60405161021f91906131fa565b34801561060c57600080fd5b5061021361061b366004613222565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b34801561065557600080fd5b506102f47f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e381565b600061068882611af8565b92915050565b60606065805461069d90613250565b80601f01602080910402602001604051908101604052809291908181526020018280546106c990613250565b80156107165780601f106106eb57610100808354040283529160200191610716565b820191906000526020600020905b8154815290600101906020018083116106f957829003601f168201915b5050505050905090565b600061072b82611b1d565b506000908152606960205260409020546001600160a01b031690565b600061075282610d00565b9050806001600160a01b0316836001600160a01b0316036107c45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806107e057506107e0813361061b565b6108525760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016107bb565b61085c8383611b7c565b505050565b61086c335b82611bea565b6108885760405162461bcd60e51b81526004016107bb9061328a565b61085c838383611c69565b6000805160206136b28339815191526108ab81611dda565b610130805483919060ff1916600183818111156108ca576108ca6131e4565b02179055507f37e617826d09ddff56d584f47604023b08e367e03f5d192d7f521e35794ae1d7826040516108fe91906131fa565b60405180910390a15050565b60008281526097602052604090206001015461092581611dda565b61085c8383611de4565b6001600160a01b038116331461099f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107bb565b6109a98282611e6a565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036109f55760405162461bcd60e51b81526004016107bb906132d7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610a3e60008051602061366b833981519152546001600160a01b031690565b6001600160a01b031614610a645760405162461bcd60e51b81526004016107bb90613323565b610a6d81611ed1565b60408051600080825260208201909252610a8991839190611efb565b50565b61085c83838360405180602001604052806000815250611a3a565b610ab033610866565b610b0a5760405162461bcd60e51b815260206004820152602560248201527f6275726e2063616c6c6572206973206e6f74206f776e6572206e6f72206170706044820152641c9bdd995960da1b60648201526084016107bb565b610a8981612066565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610b5b5760405162461bcd60e51b81526004016107bb906132d7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610ba460008051602061366b833981519152546001600160a01b031690565b6001600160a01b031614610bca5760405162461bcd60e51b81526004016107bb90613323565b610bd382611ed1565b6109a982826001611efb565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c7f5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016107bb565b5060008051602061366b83398151915290565b6000805160206136b2833981519152610caa81611dda565b6000825111610cec5760405162461bcd60e51b815260206004820152600e60248201526d57726f6e6720626173652075726960901b60448201526064016107bb565b815161085c90610131906020850190612cc1565b6000818152606760205260408120546001600160a01b0316806106885760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107bb565b60006001600160a01b038216610dca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016107bb565b506001600160a01b031660009081526068602052604090205490565b60606000825167ffffffffffffffff811115610e0457610e04612f01565b604051908082528060200260200182016040528015610e2d578160200160208202803683370190505b50905060005b8351811015610eab576101346000858381518110610e5357610e5361336f565b6020026020010151815260200190815260200160002060009054906101000a900460ff16828281518110610e8957610e8961336f565b9115156020928302919091019091015280610ea38161339b565b915050610e33565b5092915050565b600054610100900460ff1615808015610ed25750600054600160ff909116105b80610eec5750303b158015610eec575060005460ff166001145b610f4f5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107bb565b6000805460ff191660011790558015610f72576000805461ff0019166101001790555b610fcd6040518060400160405280601a81526020017f4d61747231784c696e6b206f66204d697373696f6e204461776e000000000000815250604051806040016040528060048152602001632230bbb760e11b815250612109565b610fd561213a565b610fdd61213a565b61013280546001600160a01b031990811672723c39194f7f449be736da0d1c4ec809dde793179091556101338054909116739a27d13a4896baa03843a0728dff6007d665f8ee179055610130805460ff19169055600061012d81905561010461012e5561091161012f556110519033612163565b6110696000805160206136b283398151915233612163565b6110937f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e333612163565b8015610a89576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b6001806101305460ff1660018111156110f6576110f66131e4565b146111335760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420537461746560981b60448201526064016107bb565b3332146111825760405162461bcd60e51b815260206004820152601d60248201527f4d7573742066726f6d207265616c2077616c6c6574206164647265737300000060448201526064016107bb565b60008251116111d35760405162461bcd60e51b815260206004820152601f60248201527f4d61747231784964732067726f75702063616e206e6f74206265207a65726f0060448201526064016107bb565b60148251111561121a5760405162461bcd60e51b815260206004820152601260248201527113585e081b1a5b5a5d081bdb994818d85b1b60721b60448201526064016107bb565b6000805b83518160ff1610156114e157838160ff168151811061123f5761123f61336f565b602090810291909101810151600081815261013590925260409091205490925060ff16156112aa5760405162461bcd60e51b8152602060048201526018602482015277151bdad95b9259081a185d99481899585b881b5a5b9d195960421b60448201526064016107bb565b33610133546040516331a9108f60e11b8152600481018590526001600160a01b039283169290911690636352211e90602401602060405180830381865afa1580156112f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131d91906133b4565b6001600160a01b0316146113735760405162461bcd60e51b815260206004820152601e60248201527f4d757374206f776e20746865204d6174723178203230363120746f6b656e000060448201526064016107bb565b61091161012e54600161138691906133d1565b11156113c35760405162461bcd60e51b815260206004820152600c60248201526b115c9c9bdc8819dbdb19125960a21b60448201526064016107bb565b611e3f61012f5460026113d691906133d1565b11156114155760405162461bcd60e51b815260206004820152600e60248201526d115c9c9bdc881cda5b1d995c925960921b60448201526064016107bb565b7ff2bd1d6d3ddc1e1ed8d6d1158bca59686bd4583af66f39fcafcca0856a3a5e99338361012e54600161144891906133d1565b61012f546114579060016133d1565b61012f546114669060026133d1565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a00160405180910390a1600082815261013560205260409020805460ff191660011790556114c46114bf3390565b61216d565b6114cf336002612190565b806114d9816133e9565b91505061121e565b50505050565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606066805461069d90613250565b6001806101305460ff16600181111561153c5761153c6131e4565b146115795760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420537461746560981b60448201526064016107bb565b3332146115c85760405162461bcd60e51b815260206004820152601d60248201527f4d7573742066726f6d207265616c2077616c6c6574206164647265737300000060448201526064016107bb565b60008251116116195760405162461bcd60e51b815260206004820152601d60248201527f596174634964732067726f75702063616e206e6f74206265207a65726f00000060448201526064016107bb565b600a825111156116605760405162461bcd60e51b815260206004820152601260248201527113585e081b1a5b5a5d081bdb994818d85b1b60721b60448201526064016107bb565b6000805b83518160ff1610156114e157838160ff16815181106116855761168561336f565b602090810291909101810151600081815261013490925260409091205490925060ff16156116f05760405162461bcd60e51b8152602060048201526018602482015277151bdad95b9259081a185d99481899585b881b5a5b9d195960421b60448201526064016107bb565b33610132546040516331a9108f60e11b8152600481018590526001600160a01b039283169290911690636352211e90602401602060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176391906133b4565b6001600160a01b0316146117b95760405162461bcd60e51b815260206004820152601760248201527f4d757374206f776e20746865205941544320746f6b656e00000000000000000060448201526064016107bb565b61010461012d5460016117cc91906133d1565b111561180c5760405162461bcd60e51b815260206004820152600f60248201526e115c9c9bdc88191a585b5bdb991259608a1b60448201526064016107bb565b611e3f61012f54600561181f91906133d1565b111561185e5760405162461bcd60e51b815260206004820152600e60248201526d115c9c9bdc881cda5b1d995c925960921b60448201526064016107bb565b7f3a32b7dc999bb0e389584888ca72e5997bcfca76f27c7f9d9f7c25629cd9ca59338361012d54600161189191906133d1565b61012f546118a09060016133d1565b61012f546118af9060026133d1565b61012f546118be9060036133d1565b61012f546118cd9060046133d1565b61012f546118dc9060056133d1565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000160405180910390a1600082815261013460205260409020805460ff1916600117905561194d6119483390565b6121d6565b611958336005612190565b80611962816133e9565b915050611664565b6109a93383836121f9565b60606000825167ffffffffffffffff81111561199357611993612f01565b6040519080825280602002602001820160405280156119bc578160200160208202803683370190505b50905060005b8351811015610eab5761013560008583815181106119e2576119e261336f565b6020026020010151815260200190815260200160002060009054906101000a900460ff16828281518110611a1857611a1861336f565b9115156020928302919091019091015280611a328161339b565b9150506119c2565b611a443383611bea565b611a605760405162461bcd60e51b81526004016107bb9061328a565b6114e1848484846122c7565b6060611a7782611b1d565b6000611a816122fa565b90506000815111611aa15760405180602001604052806000815250611acc565b80611aab8461230a565b604051602001611abc929190613408565b6040516020818303038152906040525b9392505050565b600082815260976020526040902060010154611aee81611dda565b61085c8383611e6a565b60006001600160e01b03198216637965db0b60e01b148061068857506106888261239d565b6000818152606760205260409020546001600160a01b0316610a895760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107bb565b600081815260696020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bb182610d00565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611bf683610d00565b9050806001600160a01b0316846001600160a01b03161480611c3d57506001600160a01b038082166000908152606a602090815260408083209388168352929052205460ff165b80611c615750836001600160a01b0316611c5684610720565b6001600160a01b0316145b949350505050565b826001600160a01b0316611c7c82610d00565b6001600160a01b031614611ca25760405162461bcd60e51b81526004016107bb90613437565b6001600160a01b038216611d045760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107bb565b611d1183838360016123ed565b826001600160a01b0316611d2482610d00565b6001600160a01b031614611d4a5760405162461bcd60e51b81526004016107bb90613437565b600081815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260688552838620805460001901905590871680865283862080546001019055868652606790945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610a898133612475565b611dee82826114e7565b6109a95760008281526097602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611e263390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611e7482826114e7565b156109a95760008281526097602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b7f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e36109a981611dda565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611f2e5761085c836124ce565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611f88575060408051601f3d908101601f19168201909252611f859181019061347c565b60015b611feb5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016107bb565b60008051602061366b833981519152811461205a5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016107bb565b5061085c83838361256a565b600061207182610d00565b90506120818160008460016123ed565b61208a82610d00565b600083815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526068845282852080546000190190558785526067909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600054610100900460ff166121305760405162461bcd60e51b81526004016107bb90613495565b6109a9828261258f565b600054610100900460ff166121615760405162461bcd60e51b81526004016107bb90613495565b565b6109a98282611de4565b61012e805490600061217e8361339b565b9190505550610a898161012e546125dd565b60005b8160ff168160ff16101561085c5761012f80549060006121b28361339b565b91905055506121c48361012f546125dd565b806121ce816133e9565b915050612193565b61012d80549060006121e78361339b565b9190505550610a898161012d546125dd565b816001600160a01b0316836001600160a01b03160361225a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bb565b6001600160a01b038381166000818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6122d2848484611c69565b6122de848484846125f7565b6114e15760405162461bcd60e51b81526004016107bb906134e0565b6060610131805461069d90613250565b60606000612317836126f8565b600101905060008167ffffffffffffffff81111561233757612337612f01565b6040519080825280601f01601f191660200182016040528015612361576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461236b57509392505050565b60006001600160e01b031982166380ac58cd60e01b14806123ce57506001600160e01b03198216635b5e139f60e01b145b8061068857506301ffc9a760e01b6001600160e01b0319831614610688565b60018111156114e1576001600160a01b03841615612433576001600160a01b0384166000908152606860205260408120805483929061242d908490613532565b90915550505b6001600160a01b038316156114e1576001600160a01b0383166000908152606860205260408120805483929061246a9084906133d1565b909155505050505050565b61247f82826114e7565b6109a95761248c816127d0565b6124978360206127e2565b6040516020016124a8929190613549565b60408051601f198184030181529082905262461bcd60e51b82526107bb91600401612de5565b6001600160a01b0381163b61253b5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016107bb565b60008051602061366b83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6125738361297e565b6000825111806125805750805b1561085c576114e183836129be565b600054610100900460ff166125b65760405162461bcd60e51b81526004016107bb90613495565b81516125c9906065906020850190612cc1565b50805161085c906066906020840190612cc1565b6109a9828260405180602001604052806000815250612ab2565b60006001600160a01b0384163b156126ed57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061263b9033908990889088906004016135be565b6020604051808303816000875af1925050508015612676575060408051601f3d908101601f19168201909252612673918101906135fb565b60015b6126d3573d8080156126a4576040519150601f19603f3d011682016040523d82523d6000602084013e6126a9565b606091505b5080516000036126cb5760405162461bcd60e51b81526004016107bb906134e0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c61565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106127375772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612763576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061278157662386f26fc10000830492506010015b6305f5e1008310612799576305f5e100830492506008015b61271083106127ad57612710830492506004015b606483106127bf576064830492506002015b600a83106106885760010192915050565b60606106886001600160a01b03831660145b606060006127f1836002613618565b6127fc9060026133d1565b67ffffffffffffffff81111561281457612814612f01565b6040519080825280601f01601f19166020018201604052801561283e576020820181803683370190505b509050600360fc1b816000815181106128595761285961336f565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106128885761288861336f565b60200101906001600160f81b031916908160001a90535060006128ac846002613618565b6128b79060016133d1565b90505b600181111561292f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106128eb576128eb61336f565b1a60f81b8282815181106129015761290161336f565b60200101906001600160f81b031916908160001a90535060049490941c9361292881613637565b90506128ba565b508315611acc5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107bb565b612987816124ce565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b612a265760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016107bb565b600080846001600160a01b031684604051612a41919061364e565b600060405180830381855af49150503d8060008114612a7c576040519150601f19603f3d011682016040523d82523d6000602084013e612a81565b606091505b5091509150612aa9828260405180606001604052806027815260200161368b60279139612ae5565b95945050505050565b612abc8383612afe565b612ac960008484846125f7565b61085c5760405162461bcd60e51b81526004016107bb906134e0565b60608315612af4575081611acc565b611acc8383612c97565b6001600160a01b038216612b545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bb565b6000818152606760205260409020546001600160a01b031615612bb95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bb565b612bc76000838360016123ed565b6000818152606760205260409020546001600160a01b031615612c2c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bb565b6001600160a01b038216600081815260686020908152604080832080546001019055848352606790915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b815115612ca75781518083602001fd5b8060405162461bcd60e51b81526004016107bb9190612de5565b828054612ccd90613250565b90600052602060002090601f016020900481019282612cef5760008555612d35565b82601f10612d0857805160ff1916838001178555612d35565b82800160010185558215612d35579182015b82811115612d35578251825591602001919060010190612d1a565b50612d41929150612d45565b5090565b5b80821115612d415760008155600101612d46565b6001600160e01b031981168114610a8957600080fd5b600060208284031215612d8257600080fd5b8135611acc81612d5a565b60005b83811015612da8578181015183820152602001612d90565b838111156114e15750506000910152565b60008151808452612dd1816020860160208601612d8d565b601f01601f19169290920160200192915050565b602081526000611acc6020830184612db9565b600060208284031215612e0a57600080fd5b5035919050565b6001600160a01b0381168114610a8957600080fd5b60008060408385031215612e3957600080fd5b8235612e4481612e11565b946020939093013593505050565b600080600060608486031215612e6757600080fd5b8335612e7281612e11565b92506020840135612e8281612e11565b929592945050506040919091013590565b600060208284031215612ea557600080fd5b813560028110611acc57600080fd5b60008060408385031215612ec757600080fd5b823591506020830135612ed981612e11565b809150509250929050565b600060208284031215612ef657600080fd5b8135611acc81612e11565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f4057612f40612f01565b604052919050565b600067ffffffffffffffff831115612f6257612f62612f01565b612f75601f8401601f1916602001612f17565b9050828152838383011115612f8957600080fd5b828260208301376000602084830101529392505050565b600082601f830112612fb157600080fd5b611acc83833560208501612f48565b60008060408385031215612fd357600080fd5b8235612fde81612e11565b9150602083013567ffffffffffffffff811115612ffa57600080fd5b61300685828601612fa0565b9150509250929050565b60006020828403121561302257600080fd5b813567ffffffffffffffff81111561303957600080fd5b8201601f8101841361304a57600080fd5b611c6184823560208401612f48565b6000602080838503121561306c57600080fd5b823567ffffffffffffffff8082111561308457600080fd5b818501915085601f83011261309857600080fd5b8135818111156130aa576130aa612f01565b8060051b91506130bb848301612f17565b81815291830184019184810190888411156130d557600080fd5b938501935b838510156130f3578435825293850193908501906130da565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561313957835115158352928401929184019160010161311b565b50909695505050505050565b6000806040838503121561315857600080fd5b823561316381612e11565b915060208301358015158114612ed957600080fd5b6000806000806080858703121561318e57600080fd5b843561319981612e11565b935060208501356131a981612e11565b925060408501359150606085013567ffffffffffffffff8111156131cc57600080fd5b6131d887828801612fa0565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016002831061321c57634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561323557600080fd5b823561324081612e11565b91506020830135612ed981612e11565b600181811c9082168061326457607f821691505b60208210810361328457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016133ad576133ad613385565b5060010190565b6000602082840312156133c657600080fd5b8151611acc81612e11565b600082198211156133e4576133e4613385565b500190565b600060ff821660ff81036133ff576133ff613385565b60010192915050565b6000835161341a818460208801612d8d565b83519083019061342e818360208801612d8d565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60006020828403121561348e57600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008282101561354457613544613385565b500390565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613581816017850160208801612d8d565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516135b2816028840160208801612d8d565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906135f190830184612db9565b9695505050505050565b60006020828403121561360d57600080fd5b8151611acc81612d5a565b600081600019048311821515161561363257613632613385565b500290565b60008161364657613646613385565b506000190190565b60008251613660818460208701612d8d565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65649f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220207afe116e1dd29e784d9d5457aee0749fd912ef1520c088c6e960bb8b04592464736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c806370a082311161010d578063a22cb465116100a0578063d53913931161006f578063d539139314610596578063d547741f146105b8578063d7118351146105d8578063e985e9c514610600578063f72c0d8b1461064957600080fd5b8063a22cb46514610516578063a4d057cc14610536578063b88d4fde14610556578063c87b56dd1461057657600080fd5b806391d14854116100dc57806391d14854146104ac57806395d89b41146104cc578063a15bf876146104e1578063a217fddf1461050157600080fd5b806370a082311461042a578063808007ca1461044a5780638129fc1c1461047757806390fcab451461048c57600080fd5b806336568abe116101855780634f1ef286116101545780634f1ef286146103c257806352d1902d146103d557806355f804b3146103ea5780636352211e1461040a57600080fd5b806336568abe146103425780633659cfe61461036257806342842e0e1461038257806342966c68146103a257600080fd5b806323b872dd116101c157806323b872dd146102a4578063248a9ca3146102c45780632e49d78b146103025780632f2ff15d1461032257600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004612d70565b61067d565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61068e565b60405161021f9190612de5565b34801561025657600080fd5b5061026a610265366004612df8565b610720565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004612e26565b610747565b005b3480156102b057600080fd5b506102a26102bf366004612e52565b610861565b3480156102d057600080fd5b506102f46102df366004612df8565b60009081526097602052604090206001015490565b60405190815260200161021f565b34801561030e57600080fd5b506102a261031d366004612e93565b610893565b34801561032e57600080fd5b506102a261033d366004612eb4565b61090a565b34801561034e57600080fd5b506102a261035d366004612eb4565b61092f565b34801561036e57600080fd5b506102a261037d366004612ee4565b6109ad565b34801561038e57600080fd5b506102a261039d366004612e52565b610a8c565b3480156103ae57600080fd5b506102a26103bd366004612df8565b610aa7565b6102a26103d0366004612fc0565b610b13565b3480156103e157600080fd5b506102f4610bdf565b3480156103f657600080fd5b506102a2610405366004613010565b610c92565b34801561041657600080fd5b5061026a610425366004612df8565b610d00565b34801561043657600080fd5b506102f4610445366004612ee4565b610d60565b34801561045657600080fd5b5061046a610465366004613059565b610de6565b60405161021f91906130ff565b34801561048357600080fd5b506102a2610eb2565b34801561049857600080fd5b506102a26104a7366004613059565b6110db565b3480156104b857600080fd5b506102136104c7366004612eb4565b6114e7565b3480156104d857600080fd5b5061023d611512565b3480156104ed57600080fd5b506102a26104fc366004613059565b611521565b34801561050d57600080fd5b506102f4600081565b34801561052257600080fd5b506102a2610531366004613145565b61196a565b34801561054257600080fd5b5061046a610551366004613059565b611975565b34801561056257600080fd5b506102a2610571366004613178565b611a3a565b34801561058257600080fd5b5061023d610591366004612df8565b611a6c565b3480156105a257600080fd5b506102f46000805160206136b283398151915281565b3480156105c457600080fd5b506102a26105d3366004612eb4565b611ad3565b3480156105e457600080fd5b50610130546105f39060ff1681565b60405161021f91906131fa565b34801561060c57600080fd5b5061021361061b366004613222565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b34801561065557600080fd5b506102f47f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e381565b600061068882611af8565b92915050565b60606065805461069d90613250565b80601f01602080910402602001604051908101604052809291908181526020018280546106c990613250565b80156107165780601f106106eb57610100808354040283529160200191610716565b820191906000526020600020905b8154815290600101906020018083116106f957829003601f168201915b5050505050905090565b600061072b82611b1d565b506000908152606960205260409020546001600160a01b031690565b600061075282610d00565b9050806001600160a01b0316836001600160a01b0316036107c45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806107e057506107e0813361061b565b6108525760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016107bb565b61085c8383611b7c565b505050565b61086c335b82611bea565b6108885760405162461bcd60e51b81526004016107bb9061328a565b61085c838383611c69565b6000805160206136b28339815191526108ab81611dda565b610130805483919060ff1916600183818111156108ca576108ca6131e4565b02179055507f37e617826d09ddff56d584f47604023b08e367e03f5d192d7f521e35794ae1d7826040516108fe91906131fa565b60405180910390a15050565b60008281526097602052604090206001015461092581611dda565b61085c8383611de4565b6001600160a01b038116331461099f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107bb565b6109a98282611e6a565b5050565b6001600160a01b037f000000000000000000000000914fbc8d1d32b4d873d9a4061d02cdcb76c4df8a1630036109f55760405162461bcd60e51b81526004016107bb906132d7565b7f000000000000000000000000914fbc8d1d32b4d873d9a4061d02cdcb76c4df8a6001600160a01b0316610a3e60008051602061366b833981519152546001600160a01b031690565b6001600160a01b031614610a645760405162461bcd60e51b81526004016107bb90613323565b610a6d81611ed1565b60408051600080825260208201909252610a8991839190611efb565b50565b61085c83838360405180602001604052806000815250611a3a565b610ab033610866565b610b0a5760405162461bcd60e51b815260206004820152602560248201527f6275726e2063616c6c6572206973206e6f74206f776e6572206e6f72206170706044820152641c9bdd995960da1b60648201526084016107bb565b610a8981612066565b6001600160a01b037f000000000000000000000000914fbc8d1d32b4d873d9a4061d02cdcb76c4df8a163003610b5b5760405162461bcd60e51b81526004016107bb906132d7565b7f000000000000000000000000914fbc8d1d32b4d873d9a4061d02cdcb76c4df8a6001600160a01b0316610ba460008051602061366b833981519152546001600160a01b031690565b6001600160a01b031614610bca5760405162461bcd60e51b81526004016107bb90613323565b610bd382611ed1565b6109a982826001611efb565b6000306001600160a01b037f000000000000000000000000914fbc8d1d32b4d873d9a4061d02cdcb76c4df8a1614610c7f5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016107bb565b5060008051602061366b83398151915290565b6000805160206136b2833981519152610caa81611dda565b6000825111610cec5760405162461bcd60e51b815260206004820152600e60248201526d57726f6e6720626173652075726960901b60448201526064016107bb565b815161085c90610131906020850190612cc1565b6000818152606760205260408120546001600160a01b0316806106885760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107bb565b60006001600160a01b038216610dca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016107bb565b506001600160a01b031660009081526068602052604090205490565b60606000825167ffffffffffffffff811115610e0457610e04612f01565b604051908082528060200260200182016040528015610e2d578160200160208202803683370190505b50905060005b8351811015610eab576101346000858381518110610e5357610e5361336f565b6020026020010151815260200190815260200160002060009054906101000a900460ff16828281518110610e8957610e8961336f565b9115156020928302919091019091015280610ea38161339b565b915050610e33565b5092915050565b600054610100900460ff1615808015610ed25750600054600160ff909116105b80610eec5750303b158015610eec575060005460ff166001145b610f4f5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107bb565b6000805460ff191660011790558015610f72576000805461ff0019166101001790555b610fcd6040518060400160405280601a81526020017f4d61747231784c696e6b206f66204d697373696f6e204461776e000000000000815250604051806040016040528060048152602001632230bbb760e11b815250612109565b610fd561213a565b610fdd61213a565b61013280546001600160a01b031990811672723c39194f7f449be736da0d1c4ec809dde793179091556101338054909116739a27d13a4896baa03843a0728dff6007d665f8ee179055610130805460ff19169055600061012d81905561010461012e5561091161012f556110519033612163565b6110696000805160206136b283398151915233612163565b6110937f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e333612163565b8015610a89576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b6001806101305460ff1660018111156110f6576110f66131e4565b146111335760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420537461746560981b60448201526064016107bb565b3332146111825760405162461bcd60e51b815260206004820152601d60248201527f4d7573742066726f6d207265616c2077616c6c6574206164647265737300000060448201526064016107bb565b60008251116111d35760405162461bcd60e51b815260206004820152601f60248201527f4d61747231784964732067726f75702063616e206e6f74206265207a65726f0060448201526064016107bb565b60148251111561121a5760405162461bcd60e51b815260206004820152601260248201527113585e081b1a5b5a5d081bdb994818d85b1b60721b60448201526064016107bb565b6000805b83518160ff1610156114e157838160ff168151811061123f5761123f61336f565b602090810291909101810151600081815261013590925260409091205490925060ff16156112aa5760405162461bcd60e51b8152602060048201526018602482015277151bdad95b9259081a185d99481899585b881b5a5b9d195960421b60448201526064016107bb565b33610133546040516331a9108f60e11b8152600481018590526001600160a01b039283169290911690636352211e90602401602060405180830381865afa1580156112f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131d91906133b4565b6001600160a01b0316146113735760405162461bcd60e51b815260206004820152601e60248201527f4d757374206f776e20746865204d6174723178203230363120746f6b656e000060448201526064016107bb565b61091161012e54600161138691906133d1565b11156113c35760405162461bcd60e51b815260206004820152600c60248201526b115c9c9bdc8819dbdb19125960a21b60448201526064016107bb565b611e3f61012f5460026113d691906133d1565b11156114155760405162461bcd60e51b815260206004820152600e60248201526d115c9c9bdc881cda5b1d995c925960921b60448201526064016107bb565b7ff2bd1d6d3ddc1e1ed8d6d1158bca59686bd4583af66f39fcafcca0856a3a5e99338361012e54600161144891906133d1565b61012f546114579060016133d1565b61012f546114669060026133d1565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a00160405180910390a1600082815261013560205260409020805460ff191660011790556114c46114bf3390565b61216d565b6114cf336002612190565b806114d9816133e9565b91505061121e565b50505050565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606066805461069d90613250565b6001806101305460ff16600181111561153c5761153c6131e4565b146115795760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420537461746560981b60448201526064016107bb565b3332146115c85760405162461bcd60e51b815260206004820152601d60248201527f4d7573742066726f6d207265616c2077616c6c6574206164647265737300000060448201526064016107bb565b60008251116116195760405162461bcd60e51b815260206004820152601d60248201527f596174634964732067726f75702063616e206e6f74206265207a65726f00000060448201526064016107bb565b600a825111156116605760405162461bcd60e51b815260206004820152601260248201527113585e081b1a5b5a5d081bdb994818d85b1b60721b60448201526064016107bb565b6000805b83518160ff1610156114e157838160ff16815181106116855761168561336f565b602090810291909101810151600081815261013490925260409091205490925060ff16156116f05760405162461bcd60e51b8152602060048201526018602482015277151bdad95b9259081a185d99481899585b881b5a5b9d195960421b60448201526064016107bb565b33610132546040516331a9108f60e11b8152600481018590526001600160a01b039283169290911690636352211e90602401602060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176391906133b4565b6001600160a01b0316146117b95760405162461bcd60e51b815260206004820152601760248201527f4d757374206f776e20746865205941544320746f6b656e00000000000000000060448201526064016107bb565b61010461012d5460016117cc91906133d1565b111561180c5760405162461bcd60e51b815260206004820152600f60248201526e115c9c9bdc88191a585b5bdb991259608a1b60448201526064016107bb565b611e3f61012f54600561181f91906133d1565b111561185e5760405162461bcd60e51b815260206004820152600e60248201526d115c9c9bdc881cda5b1d995c925960921b60448201526064016107bb565b7f3a32b7dc999bb0e389584888ca72e5997bcfca76f27c7f9d9f7c25629cd9ca59338361012d54600161189191906133d1565b61012f546118a09060016133d1565b61012f546118af9060026133d1565b61012f546118be9060036133d1565b61012f546118cd9060046133d1565b61012f546118dc9060056133d1565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000160405180910390a1600082815261013460205260409020805460ff1916600117905561194d6119483390565b6121d6565b611958336005612190565b80611962816133e9565b915050611664565b6109a93383836121f9565b60606000825167ffffffffffffffff81111561199357611993612f01565b6040519080825280602002602001820160405280156119bc578160200160208202803683370190505b50905060005b8351811015610eab5761013560008583815181106119e2576119e261336f565b6020026020010151815260200190815260200160002060009054906101000a900460ff16828281518110611a1857611a1861336f565b9115156020928302919091019091015280611a328161339b565b9150506119c2565b611a443383611bea565b611a605760405162461bcd60e51b81526004016107bb9061328a565b6114e1848484846122c7565b6060611a7782611b1d565b6000611a816122fa565b90506000815111611aa15760405180602001604052806000815250611acc565b80611aab8461230a565b604051602001611abc929190613408565b6040516020818303038152906040525b9392505050565b600082815260976020526040902060010154611aee81611dda565b61085c8383611e6a565b60006001600160e01b03198216637965db0b60e01b148061068857506106888261239d565b6000818152606760205260409020546001600160a01b0316610a895760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016107bb565b600081815260696020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bb182610d00565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611bf683610d00565b9050806001600160a01b0316846001600160a01b03161480611c3d57506001600160a01b038082166000908152606a602090815260408083209388168352929052205460ff165b80611c615750836001600160a01b0316611c5684610720565b6001600160a01b0316145b949350505050565b826001600160a01b0316611c7c82610d00565b6001600160a01b031614611ca25760405162461bcd60e51b81526004016107bb90613437565b6001600160a01b038216611d045760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107bb565b611d1183838360016123ed565b826001600160a01b0316611d2482610d00565b6001600160a01b031614611d4a5760405162461bcd60e51b81526004016107bb90613437565b600081815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260688552838620805460001901905590871680865283862080546001019055868652606790945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610a898133612475565b611dee82826114e7565b6109a95760008281526097602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611e263390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611e7482826114e7565b156109a95760008281526097602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b7f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e36109a981611dda565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611f2e5761085c836124ce565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611f88575060408051601f3d908101601f19168201909252611f859181019061347c565b60015b611feb5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016107bb565b60008051602061366b833981519152811461205a5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016107bb565b5061085c83838361256a565b600061207182610d00565b90506120818160008460016123ed565b61208a82610d00565b600083815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526068845282852080546000190190558785526067909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600054610100900460ff166121305760405162461bcd60e51b81526004016107bb90613495565b6109a9828261258f565b600054610100900460ff166121615760405162461bcd60e51b81526004016107bb90613495565b565b6109a98282611de4565b61012e805490600061217e8361339b565b9190505550610a898161012e546125dd565b60005b8160ff168160ff16101561085c5761012f80549060006121b28361339b565b91905055506121c48361012f546125dd565b806121ce816133e9565b915050612193565b61012d80549060006121e78361339b565b9190505550610a898161012d546125dd565b816001600160a01b0316836001600160a01b03160361225a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bb565b6001600160a01b038381166000818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6122d2848484611c69565b6122de848484846125f7565b6114e15760405162461bcd60e51b81526004016107bb906134e0565b6060610131805461069d90613250565b60606000612317836126f8565b600101905060008167ffffffffffffffff81111561233757612337612f01565b6040519080825280601f01601f191660200182016040528015612361576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461236b57509392505050565b60006001600160e01b031982166380ac58cd60e01b14806123ce57506001600160e01b03198216635b5e139f60e01b145b8061068857506301ffc9a760e01b6001600160e01b0319831614610688565b60018111156114e1576001600160a01b03841615612433576001600160a01b0384166000908152606860205260408120805483929061242d908490613532565b90915550505b6001600160a01b038316156114e1576001600160a01b0383166000908152606860205260408120805483929061246a9084906133d1565b909155505050505050565b61247f82826114e7565b6109a95761248c816127d0565b6124978360206127e2565b6040516020016124a8929190613549565b60408051601f198184030181529082905262461bcd60e51b82526107bb91600401612de5565b6001600160a01b0381163b61253b5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016107bb565b60008051602061366b83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6125738361297e565b6000825111806125805750805b1561085c576114e183836129be565b600054610100900460ff166125b65760405162461bcd60e51b81526004016107bb90613495565b81516125c9906065906020850190612cc1565b50805161085c906066906020840190612cc1565b6109a9828260405180602001604052806000815250612ab2565b60006001600160a01b0384163b156126ed57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061263b9033908990889088906004016135be565b6020604051808303816000875af1925050508015612676575060408051601f3d908101601f19168201909252612673918101906135fb565b60015b6126d3573d8080156126a4576040519150601f19603f3d011682016040523d82523d6000602084013e6126a9565b606091505b5080516000036126cb5760405162461bcd60e51b81526004016107bb906134e0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c61565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106127375772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612763576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061278157662386f26fc10000830492506010015b6305f5e1008310612799576305f5e100830492506008015b61271083106127ad57612710830492506004015b606483106127bf576064830492506002015b600a83106106885760010192915050565b60606106886001600160a01b03831660145b606060006127f1836002613618565b6127fc9060026133d1565b67ffffffffffffffff81111561281457612814612f01565b6040519080825280601f01601f19166020018201604052801561283e576020820181803683370190505b509050600360fc1b816000815181106128595761285961336f565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106128885761288861336f565b60200101906001600160f81b031916908160001a90535060006128ac846002613618565b6128b79060016133d1565b90505b600181111561292f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106128eb576128eb61336f565b1a60f81b8282815181106129015761290161336f565b60200101906001600160f81b031916908160001a90535060049490941c9361292881613637565b90506128ba565b508315611acc5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107bb565b612987816124ce565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b612a265760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016107bb565b600080846001600160a01b031684604051612a41919061364e565b600060405180830381855af49150503d8060008114612a7c576040519150601f19603f3d011682016040523d82523d6000602084013e612a81565b606091505b5091509150612aa9828260405180606001604052806027815260200161368b60279139612ae5565b95945050505050565b612abc8383612afe565b612ac960008484846125f7565b61085c5760405162461bcd60e51b81526004016107bb906134e0565b60608315612af4575081611acc565b611acc8383612c97565b6001600160a01b038216612b545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bb565b6000818152606760205260409020546001600160a01b031615612bb95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bb565b612bc76000838360016123ed565b6000818152606760205260409020546001600160a01b031615612c2c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bb565b6001600160a01b038216600081815260686020908152604080832080546001019055848352606790915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b815115612ca75781518083602001fd5b8060405162461bcd60e51b81526004016107bb9190612de5565b828054612ccd90613250565b90600052602060002090601f016020900481019282612cef5760008555612d35565b82601f10612d0857805160ff1916838001178555612d35565b82800160010185558215612d35579182015b82811115612d35578251825591602001919060010190612d1a565b50612d41929150612d45565b5090565b5b80821115612d415760008155600101612d46565b6001600160e01b031981168114610a8957600080fd5b600060208284031215612d8257600080fd5b8135611acc81612d5a565b60005b83811015612da8578181015183820152602001612d90565b838111156114e15750506000910152565b60008151808452612dd1816020860160208601612d8d565b601f01601f19169290920160200192915050565b602081526000611acc6020830184612db9565b600060208284031215612e0a57600080fd5b5035919050565b6001600160a01b0381168114610a8957600080fd5b60008060408385031215612e3957600080fd5b8235612e4481612e11565b946020939093013593505050565b600080600060608486031215612e6757600080fd5b8335612e7281612e11565b92506020840135612e8281612e11565b929592945050506040919091013590565b600060208284031215612ea557600080fd5b813560028110611acc57600080fd5b60008060408385031215612ec757600080fd5b823591506020830135612ed981612e11565b809150509250929050565b600060208284031215612ef657600080fd5b8135611acc81612e11565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f4057612f40612f01565b604052919050565b600067ffffffffffffffff831115612f6257612f62612f01565b612f75601f8401601f1916602001612f17565b9050828152838383011115612f8957600080fd5b828260208301376000602084830101529392505050565b600082601f830112612fb157600080fd5b611acc83833560208501612f48565b60008060408385031215612fd357600080fd5b8235612fde81612e11565b9150602083013567ffffffffffffffff811115612ffa57600080fd5b61300685828601612fa0565b9150509250929050565b60006020828403121561302257600080fd5b813567ffffffffffffffff81111561303957600080fd5b8201601f8101841361304a57600080fd5b611c6184823560208401612f48565b6000602080838503121561306c57600080fd5b823567ffffffffffffffff8082111561308457600080fd5b818501915085601f83011261309857600080fd5b8135818111156130aa576130aa612f01565b8060051b91506130bb848301612f17565b81815291830184019184810190888411156130d557600080fd5b938501935b838510156130f3578435825293850193908501906130da565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561313957835115158352928401929184019160010161311b565b50909695505050505050565b6000806040838503121561315857600080fd5b823561316381612e11565b915060208301358015158114612ed957600080fd5b6000806000806080858703121561318e57600080fd5b843561319981612e11565b935060208501356131a981612e11565b925060408501359150606085013567ffffffffffffffff8111156131cc57600080fd5b6131d887828801612fa0565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016002831061321c57634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561323557600080fd5b823561324081612e11565b91506020830135612ed981612e11565b600181811c9082168061326457607f821691505b60208210810361328457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016133ad576133ad613385565b5060010190565b6000602082840312156133c657600080fd5b8151611acc81612e11565b600082198211156133e4576133e4613385565b500190565b600060ff821660ff81036133ff576133ff613385565b60010192915050565b6000835161341a818460208801612d8d565b83519083019061342e818360208801612d8d565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60006020828403121561348e57600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008282101561354457613544613385565b500390565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613581816017850160208801612d8d565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516135b2816028840160208801612d8d565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906135f190830184612db9565b9695505050505050565b60006020828403121561360d57600080fd5b8151611acc81612d5a565b600081600019048311821515161561363257613632613385565b500290565b60008161364657613646613385565b506000190190565b60008251613660818460208701612d8d565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65649f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220207afe116e1dd29e784d9d5457aee0749fd912ef1520c088c6e960bb8b04592464736f6c634300080d0033
Deployed Bytecode Sourcemap
88737:6730:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95231:231;;;;;;;;;;-1:-1:-1;95231:231:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;95231:231:0;;;;;;;;73228:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;74751:171::-;;;;;;;;;;-1:-1:-1;74751:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;74751:171:0;1528:203:1;74258:427:0;;;;;;;;;;-1:-1:-1;74258:427:0;;;;;:::i;:::-;;:::i;:::-;;75451:335;;;;;;;;;;-1:-1:-1;75451:335:0;;;;;:::i;:::-;;:::i;66382:131::-;;;;;;;;;;-1:-1:-1;66382:131:0;;;;;:::i;:::-;66456:7;66483:12;;;:6;:12;;;;;:22;;;;66382:131;;;;2984:25:1;;;2972:2;2957:18;66382:131:0;2838:177:1;94858:147:0;;;;;;;;;;-1:-1:-1;94858:147:0;;;;;:::i;:::-;;:::i;66823:::-;;;;;;;;;;-1:-1:-1;66823:147:0;;;;;:::i;:::-;;:::i;67967:218::-;;;;;;;;;;-1:-1:-1;67967:218:0;;;;;:::i;:::-;;:::i;57299:200::-;;;;;;;;;;-1:-1:-1;57299:200:0;;;;;:::i;:::-;;:::i;75857:185::-;;;;;;;;;;-1:-1:-1;75857:185:0;;;;;:::i;:::-;;:::i;95013:210::-;;;;;;;;;;-1:-1:-1;95013:210:0;;;;;:::i;:::-;;:::i;57758:225::-;;;;;;:::i;:::-;;:::i;56977:133::-;;;;;;;;;;;;;:::i;91255:160::-;;;;;;;;;;-1:-1:-1;91255:160:0;;;;;:::i;:::-;;:::i;72938:223::-;;;;;;;;;;-1:-1:-1;72938:223:0;;;;;:::i;:::-;;:::i;72669:207::-;;;;;;;;;;-1:-1:-1;72669:207:0;;;;;:::i;:::-;;:::i;94230:304::-;;;;;;;;;;-1:-1:-1;94230:304:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;90145:756::-;;;;;;;;;;;;;:::i;92695:1098::-;;;;;;;;;;-1:-1:-1;92695:1098:0;;;;;:::i;:::-;;:::i;64833:147::-;;;;;;;;;;-1:-1:-1;64833:147:0;;;;;:::i;:::-;;:::i;73397:104::-;;;;;;;;;;;;;:::i;91494:1123::-;;;;;;;;;;-1:-1:-1;91494:1123:0;;;;;:::i;:::-;;:::i;63927:49::-;;;;;;;;;;-1:-1:-1;63927:49:0;63972:4;63927:49;;74994:155;;;;;;;;;;-1:-1:-1;74994:155:0;;;;;:::i;:::-;;:::i;94542:308::-;;;;;;;;;;-1:-1:-1;94542:308:0;;;;;:::i;:::-;;:::i;76113:322::-;;;;;;;;;;-1:-1:-1;76113:322:0;;;;;:::i;:::-;;:::i;73572:281::-;;;;;;;;;;-1:-1:-1;73572:281:0;;;;;:::i;:::-;;:::i;88855:64::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;88855:64:0;;67263:149;;;;;;;;;;-1:-1:-1;67263:149:0;;;;;:::i;:::-;;:::i;89456:28::-;;;;;;;;;;-1:-1:-1;89456:28:0;;;;;;;;;;;;;;;:::i;75220:164::-;;;;;;;;;;-1:-1:-1;75220:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;75341:25:0;;;75317:4;75341:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;75220:164;88926:66;;;;;;;;;;;;88966:26;88926:66;;95231:231;95389:4;95418:36;95442:11;95418:23;:36::i;:::-;95411:43;95231:231;-1:-1:-1;;95231:231:0:o;73228:100::-;73282:13;73315:5;73308:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73228:100;:::o;74751:171::-;74827:7;74847:23;74862:7;74847:14;:23::i;:::-;-1:-1:-1;74890:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;74890:24:0;;74751:171::o;74258:427::-;74339:13;74355:34;74381:7;74355:25;:34::i;:::-;74339:50;;74414:5;-1:-1:-1;;;;;74408:11:0;:2;-1:-1:-1;;;;;74408:11:0;;74400:57;;;;-1:-1:-1;;;74400:57:0;;10162:2:1;74400:57:0;;;10144:21:1;10201:2;10181:18;;;10174:30;10240:34;10220:18;;;10213:62;-1:-1:-1;;;10291:18:1;;;10284:31;10332:19;;74400:57:0;;;;;;;;;61277:10;-1:-1:-1;;;;;74492:21:0;;;;:62;;-1:-1:-1;74517:37:0;74534:5;61277:10;75220:164;:::i;74517:37::-;74470:173;;;;-1:-1:-1;;;74470:173:0;;10564:2:1;74470:173:0;;;10546:21:1;10603:2;10583:18;;;10576:30;10642:34;10622:18;;;10615:62;10713:31;10693:18;;;10686:59;10762:19;;74470:173:0;10362:425:1;74470:173:0;74656:21;74665:2;74669:7;74656:8;:21::i;:::-;74328:357;74258:427;;:::o;75451:335::-;75646:41;61277:10;75665:12;75679:7;75646:18;:41::i;:::-;75638:99;;;;-1:-1:-1;;;75638:99:0;;;;;;;:::i;:::-;75750:28;75760:4;75766:2;75770:7;75750:9;:28::i;94858:147::-;-1:-1:-1;;;;;;;;;;;64418:16:0;64429:4;64418:10;:16::i;:::-;94937:10:::1;:20:::0;;94950:7;;94937:10;-1:-1:-1;;94937:20:0::1;::::0;94950:7;94937:20;;::::1;;;;;;:::i;:::-;;;;;;94973:24;94989:7;94973:24;;;;;;:::i;:::-;;;;;;;;94858:147:::0;;:::o;66823:::-;66456:7;66483:12;;;:6;:12;;;;;:22;;;64418:16;64429:4;64418:10;:16::i;:::-;66937:25:::1;66948:4;66954:7;66937:10;:25::i;67967:218::-:0;-1:-1:-1;;;;;68063:23:0;;61277:10;68063:23;68055:83;;;;-1:-1:-1;;;68055:83:0;;11408:2:1;68055:83:0;;;11390:21:1;11447:2;11427:18;;;11420:30;11486:34;11466:18;;;11459:62;-1:-1:-1;;;11537:18:1;;;11530:45;11592:19;;68055:83:0;11206:411:1;68055:83:0;68151:26;68163:4;68169:7;68151:11;:26::i;:::-;67967:218;;:::o;57299:200::-;-1:-1:-1;;;;;55847:6:0;55830:23;55838:4;55830:23;55822:80;;;;-1:-1:-1;;;55822:80:0;;;;;;;:::i;:::-;55945:6;-1:-1:-1;;;;;55921:30:0;:20;-1:-1:-1;;;;;;;;;;;47634:65:0;-1:-1:-1;;;;;47634:65:0;;47554:153;55921:20;-1:-1:-1;;;;;55921:30:0;;55913:87;;;;-1:-1:-1;;;55913:87:0;;;;;;;:::i;:::-;57383:36:::1;57401:17;57383;:36::i;:::-;57471:12;::::0;;57481:1:::1;57471:12:::0;;;::::1;::::0;::::1;::::0;;;57430:61:::1;::::0;57452:17;;57471:12;57430:21:::1;:61::i;:::-;57299:200:::0;:::o;75857:185::-;75995:39;76012:4;76018:2;76022:7;75995:39;;;;;;;;;;;;:16;:39::i;95013:210::-;95084:41;61277:10;95103:12;61197:98;95084:41;95062:128;;;;-1:-1:-1;;;95062:128:0;;12650:2:1;95062:128:0;;;12632:21:1;12689:2;12669:18;;;12662:30;12728:34;12708:18;;;12701:62;-1:-1:-1;;;12779:18:1;;;12772:35;12824:19;;95062:128:0;12448:401:1;95062:128:0;95201:14;95207:7;95201:5;:14::i;57758:225::-;-1:-1:-1;;;;;55847:6:0;55830:23;55838:4;55830:23;55822:80;;;;-1:-1:-1;;;55822:80:0;;;;;;;:::i;:::-;55945:6;-1:-1:-1;;;;;55921:30:0;:20;-1:-1:-1;;;;;;;;;;;47634:65:0;-1:-1:-1;;;;;47634:65:0;;47554:153;55921:20;-1:-1:-1;;;;;55921:30:0;;55913:87;;;;-1:-1:-1;;;55913:87:0;;;;;;;:::i;:::-;57876:36:::1;57894:17;57876;:36::i;:::-;57923:52;57945:17;57964:4;57970;57923:21;:52::i;56977:133::-:0;57055:7;56283:4;-1:-1:-1;;;;;56292:6:0;56275:23;;56267:92;;;;-1:-1:-1;;;56267:92:0;;13056:2:1;56267:92:0;;;13038:21:1;13095:2;13075:18;;;13068:30;13134:34;13114:18;;;13107:62;13205:26;13185:18;;;13178:54;13249:19;;56267:92:0;12854:420:1;56267:92:0;-1:-1:-1;;;;;;;;;;;;56977:133:0;:::o;91255:160::-;-1:-1:-1;;;;;;;;;;;64418:16:0;64429:4;64418:10;:16::i;:::-;91364:1:::1;91349:4;91343:18;:22;91335:49;;;::::0;-1:-1:-1;;;91335:49:0;;13481:2:1;91335:49:0::1;::::0;::::1;13463:21:1::0;13520:2;13500:18;;;13493:30;-1:-1:-1;;;13539:18:1;;;13532:44;13593:18;;91335:49:0::1;13279:338:1::0;91335:49:0::1;91395:12:::0;;::::1;::::0;:5:::1;::::0;:12:::1;::::0;::::1;::::0;::::1;:::i;72938:223::-:0;73010:7;77836:16;;;:7;:16;;;;;;-1:-1:-1;;;;;77836:16:0;;73074:56;;;;-1:-1:-1;;;73074:56:0;;13824:2:1;73074:56:0;;;13806:21:1;13863:2;13843:18;;;13836:30;-1:-1:-1;;;13882:18:1;;;13875:54;13946:18;;73074:56:0;13622:348:1;72669:207:0;72741:7;-1:-1:-1;;;;;72769:19:0;;72761:73;;;;-1:-1:-1;;;72761:73:0;;14177:2:1;72761:73:0;;;14159:21:1;14216:2;14196:18;;;14189:30;14255:34;14235:18;;;14228:62;-1:-1:-1;;;14306:18:1;;;14299:39;14355:19;;72761:73:0;13975:405:1;72761:73:0;-1:-1:-1;;;;;;72852:16:0;;;;;:9;:16;;;;;;;72669:207::o;94230:304::-;94306:13;94331:21;94364:8;:15;94353:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;94353:27:0;;94331:49;;94395:9;94391:111;94412:8;:15;94408:1;:19;94391:111;;;94459:18;:31;94478:8;94487:1;94478:11;;;;;;;;:::i;:::-;;;;;;;94459:31;;;;;;;;;;;;;;;;;;;;;94448:7;94456:1;94448:10;;;;;;;;:::i;:::-;:42;;;:10;;;;;;;;;;;:42;94429:3;;;;:::i;:::-;;;;94391:111;;;-1:-1:-1;94519:7:0;94230:304;-1:-1:-1;;94230:304:0:o;90145:756::-;42670:19;42693:13;;;;;;42692:14;;42740:34;;;;-1:-1:-1;42758:12:0;;42773:1;42758:12;;;;:16;42740:34;42739:108;;;-1:-1:-1;42819:4:0;32331:19;:23;;;42780:66;;-1:-1:-1;42829:12:0;;;;;:17;42780:66;42717:204;;;;-1:-1:-1;;;42717:204:0;;14991:2:1;42717:204:0;;;14973:21:1;15030:2;15010:18;;;15003:30;15069:34;15049:18;;;15042:62;-1:-1:-1;;;15120:18:1;;;15113:44;15174:19;;42717:204:0;14789:410:1;42717:204:0;42932:12;:16;;-1:-1:-1;;42932:16:0;42947:1;42932:16;;;42959:67;;;;42994:13;:20;;-1:-1:-1;;42994:20:0;;;;;42959:67;90197:51:::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;90197:51:0::1;;::::0;:13:::1;:51::i;:::-;90259:22;:20;:22::i;:::-;90292:24;:22;:24::i;:::-;90329:4;:64:::0;;-1:-1:-1;;;;;;90329:64:0;;::::1;90350:42;90329:64;::::0;;;90404:10:::1;:64:::0;;;;::::1;90425:42;90404:64;::::0;;90481:10:::1;:29:::0;;-1:-1:-1;;90481:29:0::1;::::0;;-1:-1:-1;90523:10:0::1;:14:::0;;;90605:3:::1;90592:7;:16:::0;90677:4:::1;90664:9;:17:::0;90739:44:::1;::::0;61277:10;90739::::1;:44::i;:::-;90794;-1:-1:-1::0;;;;;;;;;;;61277:10:0;90739::::1;:44::i;90794:::-;90849;88966:26;61277:10:::0;90739::::1;:44::i;90849:::-;43052:14:::0;43048:102;;;43099:5;43083:21;;-1:-1:-1;;43083:21:0;;;43124:14;;-1:-1:-1;15356:36:1;;43124:14:0;;15344:2:1;15329:18;43124:14:0;;;;;;;42659:498;90145:756::o;92695:1098::-;92762:16;;90972:10;;;;;:25;;;;;;;:::i;:::-;;90964:51;;;;-1:-1:-1;;;90964:51:0;;15605:2:1;90964:51:0;;;15587:21:1;15644:2;15624:18;;;15617:30;-1:-1:-1;;;15663:18:1;;;15656:43;15716:18;;90964:51:0;15403:337:1;90964:51:0;92799:10:::1;92813:9;92799:23;92791:65;;;::::0;-1:-1:-1;;;92791:65:0;;15947:2:1;92791:65:0::1;::::0;::::1;15929:21:1::0;15986:2;15966:18;;;15959:30;16025:31;16005:18;;;15998:59;16074:18;;92791:65:0::1;15745:353:1::0;92791:65:0::1;92897:1;92877:10;:17;:21;92869:65;;;::::0;-1:-1:-1;;;92869:65:0;;16305:2:1;92869:65:0::1;::::0;::::1;16287:21:1::0;16344:2;16324:18;;;16317:30;16383:33;16363:18;;;16356:61;16434:18;;92869:65:0::1;16103:355:1::0;92869:65:0::1;92974:2;92953:10;:17;:23;;92945:54;;;::::0;-1:-1:-1;;;92945:54:0;;16665:2:1;92945:54:0::1;::::0;::::1;16647:21:1::0;16704:2;16684:18;;;16677:30;-1:-1:-1;;;16723:18:1;;;16716:48;16781:18;;92945:54:0::1;16463:342:1::0;92945:54:0::1;93010:22;93051:7:::0;93047:739:::1;93068:10;:17;93064:1;:21;;;93047:739;;;93125:10;93136:1;93125:13;;;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;93163:36:::1;::::0;;;:20:::1;:36:::0;;;;;;;;93125:13;;-1:-1:-1;93163:36:0::1;;:45;93155:81;;;::::0;-1:-1:-1;;;93155:81:0;;17012:2:1;93155:81:0::1;::::0;::::1;16994:21:1::0;17051:2;17031:18;;;17024:30;-1:-1:-1;;;17070:18:1;;;17063:54;17134:18;;93155:81:0::1;16810:348:1::0;93155:81:0::1;61277:10:::0;93259::::1;::::0;:34:::1;::::0;-1:-1:-1;;;93259:34:0;;::::1;::::0;::::1;2984:25:1::0;;;-1:-1:-1;;;;;93259:50:0;;::::1;::::0;:10;;::::1;::::0;:18:::1;::::0;2957::1;;93259:34:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;93259:50:0::1;;93251:93;;;::::0;-1:-1:-1;;;93251:93:0;;17621:2:1;93251:93:0::1;::::0;::::1;17603:21:1::0;17660:2;17640:18;;;17633:30;17699:32;17679:18;;;17672:60;17749:18;;93251:93:0::1;17419:354:1::0;93251:93:0::1;89169:4;93367:7;;93377:1;93367:11;;;;:::i;:::-;:26;;93359:51;;;::::0;-1:-1:-1;;;93359:51:0;;18113:2:1;93359:51:0::1;::::0;::::1;18095:21:1::0;18152:2;18132:18;;;18125:30;-1:-1:-1;;;18171:18:1;;;18164:42;18223:18;;93359:51:0::1;17911:336:1::0;93359:51:0::1;89240:4;93448:9;;93460:1;93448:13;;;;:::i;:::-;:30;;93440:57;;;::::0;-1:-1:-1;;;93440:57:0;;18454:2:1;93440:57:0::1;::::0;::::1;18436:21:1::0;18493:2;18473:18;;;18466:30;-1:-1:-1;;;18512:18:1;;;18505:44;18566:18;;93440:57:0::1;18252:338:1::0;93440:57:0::1;93535:88;61277:10:::0;93565:14:::1;93581:7;;93591:1;93581:11;;;;:::i;:::-;93594:9;::::0;:13:::1;::::0;93606:1:::1;93594:13;:::i;:::-;93609:9;::::0;:13:::1;::::0;93621:1:::1;93609:13;:::i;:::-;93535:88;::::0;;-1:-1:-1;;;;;18872:32:1;;;18854:51;;18936:2;18921:18;;18914:34;;;;18964:18;;;18957:34;;;;19022:2;19007:18;;19000:34;19065:3;19050:19;;19043:35;18841:3;18826:19;93535:88:0::1;;;;;;;93640:36;::::0;;;:20:::1;:36;::::0;;;;:43;;-1:-1:-1;;93640:43:0::1;93679:4;93640:43;::::0;;93700:27:::1;93714:12;61277:10:::0;;61197:98;93714:12:::1;93700:13;:27::i;:::-;93742:32;61277:10:::0;93772:1:::1;93742:15;:32::i;:::-;93088:3:::0;::::1;::::0;::::1;:::i;:::-;;;;93047:739;;;;92780:1013;92695:1098:::0;;:::o;64833:147::-;64919:4;64943:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;64943:29:0;;;;;;;;;;;;;;;64833:147::o;73397:104::-;73453:13;73486:7;73479:14;;;;;:::i;91494:1123::-;91557:16;;90972:10;;;;;:25;;;;;;;:::i;:::-;;90964:51;;;;-1:-1:-1;;;90964:51:0;;15605:2:1;90964:51:0;;;15587:21:1;15644:2;15624:18;;;15617:30;-1:-1:-1;;;15663:18:1;;;15656:43;15716:18;;90964:51:0;15403:337:1;90964:51:0;91594:10:::1;91608:9;91594:23;91586:65;;;::::0;-1:-1:-1;;;91586:65:0;;15947:2:1;91586:65:0::1;::::0;::::1;15929:21:1::0;15986:2;15966:18;;;15959:30;16025:31;16005:18;;;15998:59;16074:18;;91586:65:0::1;15745:353:1::0;91586:65:0::1;91690:1;91672:8;:15;:19;91664:61;;;::::0;-1:-1:-1;;;91664:61:0;;19471:2:1;91664:61:0::1;::::0;::::1;19453:21:1::0;19510:2;19490:18;;;19483:30;19549:31;19529:18;;;19522:59;19598:18;;91664:61:0::1;19269:353:1::0;91664:61:0::1;91763:2;91744:8;:15;:21;;91736:52;;;::::0;-1:-1:-1;;;91736:52:0;;16665:2:1;91736:52:0::1;::::0;::::1;16647:21:1::0;16704:2;16684:18;;;16677:30;-1:-1:-1;;;16723:18:1;;;16716:48;16781:18;;91736:52:0::1;16463:342:1::0;91736:52:0::1;91799:20;91838:7:::0;91834:766:::1;91855:8;:15;91851:1;:19;;;91834:766;;;91908:8;91917:1;91908:11;;;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;91944:32:::1;::::0;;;:18:::1;:32:::0;;;;;;;;91908:11;;-1:-1:-1;91944:32:0::1;;:41;91936:77;;;::::0;-1:-1:-1;;;91936:77:0;;17012:2:1;91936:77:0::1;::::0;::::1;16994:21:1::0;17051:2;17031:18;;;17024:30;-1:-1:-1;;;17070:18:1;;;17063:54;17134:18;;91936:77:0::1;16810:348:1::0;91936:77:0::1;61277:10:::0;92036:4:::1;::::0;:26:::1;::::0;-1:-1:-1;;;92036:26:0;;::::1;::::0;::::1;2984:25:1::0;;;-1:-1:-1;;;;;92036:42:0;;::::1;::::0;:4;;::::1;::::0;:12:::1;::::0;2957:18:1;;92036:26:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;92036:42:0::1;;92028:78;;;::::0;-1:-1:-1;;;92028:78:0;;19829:2:1;92028:78:0::1;::::0;::::1;19811:21:1::0;19868:2;19848:18;;;19841:30;19907:25;19887:18;;;19880:53;19950:18;;92028:78:0::1;19627:347:1::0;92028:78:0::1;89108:3;92129:10;;92142:1;92129:14;;;;:::i;:::-;:32;;92121:60;;;::::0;-1:-1:-1;;;92121:60:0;;20181:2:1;92121:60:0::1;::::0;::::1;20163:21:1::0;20220:2;20200:18;;;20193:30;-1:-1:-1;;;20239:18:1;;;20232:45;20294:18;;92121:60:0::1;19979:339:1::0;92121:60:0::1;89240:4;92216:9;;92229:1;92216:14;;;;:::i;:::-;:31;;92208:59;;;::::0;-1:-1:-1;;;92208:59:0;;18454:2:1;92208:59:0::1;::::0;::::1;18436:21:1::0;18493:2;18473:18;;;18466:30;-1:-1:-1;;;18512:18:1;;;18505:44;18566:18;;92208:59:0::1;18252:338:1::0;92208:59:0::1;92306:132;61277:10:::0;92334:12:::1;92348:10;;92361:1;92348:14;;;;:::i;:::-;92364:9;::::0;:13:::1;::::0;92376:1:::1;92364:13;:::i;:::-;92379:9;::::0;:13:::1;::::0;92391:1:::1;92379:13;:::i;:::-;92394:9;::::0;:13:::1;::::0;92406:1:::1;92394:13;:::i;:::-;92409:9;::::0;:13:::1;::::0;92421:1:::1;92409:13;:::i;:::-;92424:9;::::0;:13:::1;::::0;92436:1:::1;92424:13;:::i;:::-;92306:132;::::0;;-1:-1:-1;;;;;20684:32:1;;;20666:51;;20748:2;20733:18;;20726:34;;;;20776:18;;;20769:34;;;;20834:2;20819:18;;20812:34;;;;20877:3;20862:19;;20855:35;20704:3;20906:19;;20899:35;20965:3;20950:19;;20943:35;21009:3;20994:19;;20987:35;20653:3;20638:19;92306:132:0::1;;;;;;;92455:32;::::0;;;:18:::1;:32;::::0;;;;:39;;-1:-1:-1;;92455:39:0::1;92490:4;92455:39;::::0;;92511:30:::1;92528:12;61277:10:::0;;61197:98;92528:12:::1;92511:16;:30::i;:::-;92556:32;61277:10:::0;92586:1:::1;92556:15;:32::i;:::-;91873:3:::0;::::1;::::0;::::1;:::i;:::-;;;;91834:766;;74994:155:::0;75089:52;61277:10;75122:8;75132;75089:18;:52::i;94542:308::-;94620:13;94645:21;94678:8;:15;94667:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;94667:27:0;;94645:49;;94709:9;94705:113;94726:8;:15;94722:1;:19;94705:113;;;94773:20;:33;94794:8;94803:1;94794:11;;;;;;;;:::i;:::-;;;;;;;94773:33;;;;;;;;;;;;;;;;;;;;;94762:7;94770:1;94762:10;;;;;;;;:::i;:::-;:44;;;:10;;;;;;;;;;;:44;94743:3;;;;:::i;:::-;;;;94705:113;;76113:322;76287:41;61277:10;76320:7;76287:18;:41::i;:::-;76279:99;;;;-1:-1:-1;;;76279:99:0;;;;;;;:::i;:::-;76389:38;76403:4;76409:2;76413:7;76422:4;76389:13;:38::i;73572:281::-;73645:13;73671:23;73686:7;73671:14;:23::i;:::-;73707:21;73731:10;:8;:10::i;:::-;73707:34;;73783:1;73765:7;73759:21;:25;:86;;;;;;;;;;;;;;;;;73811:7;73820:18;:7;:16;:18::i;:::-;73794:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;73759:86;73752:93;73572:281;-1:-1:-1;;;73572:281:0:o;67263:149::-;66456:7;66483:12;;;:6;:12;;;;;:22;;;64418:16;64429:4;64418:10;:16::i;:::-;67378:26:::1;67390:4;67396:7;67378:11;:26::i;64526:215::-:0;64611:4;-1:-1:-1;;;;;;64635:58:0;;-1:-1:-1;;;64635:58:0;;:98;;;64697:36;64721:11;64697:23;:36::i;84636:135::-;78238:4;77836:16;;;:7;:16;;;;;;-1:-1:-1;;;;;77836:16:0;84710:53;;;;-1:-1:-1;;;84710:53:0;;13824:2:1;84710:53:0;;;13806:21:1;13863:2;13843:18;;;13836:30;-1:-1:-1;;;13882:18:1;;;13875:54;13946:18;;84710:53:0;13622:348:1;83904:185:0;83979:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;83979:29:0;-1:-1:-1;;;;;83979:29:0;;;;;;;;:24;;84033:34;83979:24;84033:25;:34::i;:::-;-1:-1:-1;;;;;84024:57:0;;;;;;;;;;;83904:185;;:::o;78468:275::-;78561:4;78578:13;78594:34;78620:7;78594:25;:34::i;:::-;78578:50;;78658:5;-1:-1:-1;;;;;78647:16:0;:7;-1:-1:-1;;;;;78647:16:0;;:52;;;-1:-1:-1;;;;;;75341:25:0;;;75317:4;75341:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;78667:32;78647:87;;;;78727:7;-1:-1:-1;;;;;78703:31:0;:20;78715:7;78703:11;:20::i;:::-;-1:-1:-1;;;;;78703:31:0;;78647:87;78639:96;78468:275;-1:-1:-1;;;;78468:275:0:o;82500:1285::-;82670:4;-1:-1:-1;;;;;82632:42:0;:34;82658:7;82632:25;:34::i;:::-;-1:-1:-1;;;;;82632:42:0;;82624:92;;;;-1:-1:-1;;;82624:92:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;82735:16:0;;82727:65;;;;-1:-1:-1;;;82727:65:0;;22116:2:1;82727:65:0;;;22098:21:1;22155:2;22135:18;;;22128:30;22194:34;22174:18;;;22167:62;-1:-1:-1;;;22245:18:1;;;22238:34;22289:19;;82727:65:0;21914:400:1;82727:65:0;82805:42;82826:4;82832:2;82836:7;82845:1;82805:20;:42::i;:::-;82988:4;-1:-1:-1;;;;;82950:42:0;:34;82976:7;82950:25;:34::i;:::-;-1:-1:-1;;;;;82950:42:0;;82942:92;;;;-1:-1:-1;;;82942:92:0;;;;;;;:::i;:::-;83106:24;;;;:15;:24;;;;;;;;83099:31;;-1:-1:-1;;;;;;83099:31:0;;;;;;-1:-1:-1;;;;;83582:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;83582:20:0;;;83617:13;;;;;;;;;:18;;83099:31;83617:18;;;83657:16;;;:7;:16;;;;;;:21;;;;;;;;;;83696:27;;83122:7;;83696:27;;;74328:357;74258:427;;:::o;65284:105::-;65351:30;65362:4;61277:10;65351;:30::i;69564:238::-;69648:22;69656:4;69662:7;69648;:22::i;:::-;69643:152;;69687:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;69687:29:0;;;;;;;;;:36;;-1:-1:-1;;69687:36:0;69719:4;69687:36;;;69770:12;61277:10;;61197:98;69770:12;-1:-1:-1;;;;;69743:40:0;69761:7;-1:-1:-1;;;;;69743:40:0;69755:4;69743:40;;;;;;;;;;69564:238;;:::o;69982:239::-;70066:22;70074:4;70080:7;70066;:22::i;:::-;70062:152;;;70137:5;70105:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;70105:29:0;;;;;;;;;;:37;;-1:-1:-1;;70105:37:0;;;70162:40;61277:10;;70105:12;;70162:40;;70137:5;70162:40;69982:239;;:::o;91043:98::-;88966:26;64418:16;64429:4;64418:10;:16::i;48972:992::-;46925:66;49426:59;;;49422:535;;;49502:37;49521:17;49502:18;:37::i;49422:535::-;49605:17;-1:-1:-1;;;;;49576:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49576:63:0;;;;;;;;-1:-1:-1;;49576:63:0;;;;;;;;;;;;:::i;:::-;;;49572:306;;49806:56;;-1:-1:-1;;;49806:56:0;;22710:2:1;49806:56:0;;;22692:21:1;22749:2;22729:18;;;22722:30;22788:34;22768:18;;;22761:62;-1:-1:-1;;;22839:18:1;;;22832:44;22893:19;;49806:56:0;22508:410:1;49572:306:0;-1:-1:-1;;;;;;;;;;;49690:28:0;;49682:82;;;;-1:-1:-1;;;49682:82:0;;23125:2:1;49682:82:0;;;23107:21:1;23164:2;23144:18;;;23137:30;23203:34;23183:18;;;23176:62;-1:-1:-1;;;23254:18:1;;;23247:39;23303:19;;49682:82:0;22923:405:1;49682:82:0;49640:140;49892:53;49910:17;49929:4;49935:9;49892:17;:53::i;81358:805::-;81418:13;81434:34;81460:7;81434:25;:34::i;:::-;81418:50;;81481:51;81502:5;81517:1;81521:7;81530:1;81481:20;:51::i;:::-;81645:34;81671:7;81645:25;:34::i;:::-;81727:24;;;;:15;:24;;;;;;;;81720:31;;-1:-1:-1;;;;;;81720:31:0;;;;;;-1:-1:-1;;;;;81972:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;81972:21:0;;;82022:16;;;:7;:16;;;;;;82015:23;;;;;;;82056:36;81637:42;;-1:-1:-1;81743:7:0;;82056:36;;81727:24;;82056:36;67967:218;;:::o;71862:151::-;44813:13;;;;;;;44805:69;;;;-1:-1:-1;;;44805:69:0;;;;;;;:::i;:::-;71966:39:::1;71990:5;71997:7;71966:23;:39::i;63616:66::-:0;44813:13;;;;;;;44805:69;;;;-1:-1:-1;;;44805:69:0;;;;;;;:::i;:::-;63616:66::o;68892:112::-;68971:25;68982:4;68988:7;68971:10;:25::i;93924:106::-;93979:7;:9;;;:7;:9;;;:::i;:::-;;;;;;93999:23;94009:3;94014:7;;93999:9;:23::i;94038:184::-;94110:7;94106:109;94127:4;94123:8;;:1;:8;;;94106:109;;;94152:9;:11;;;:9;:11;;;:::i;:::-;;;;;;94178:25;94188:3;94193:9;;94178;:25::i;:::-;94133:3;;;;:::i;:::-;;;;94106:109;;93801:115;93859:10;:12;;;:10;:12;;;:::i;:::-;;;;;;93882:26;93892:3;93897:10;;93882:9;:26::i;84232:315::-;84387:8;-1:-1:-1;;;;;84378:17:0;:5;-1:-1:-1;;;;;84378:17:0;;84370:55;;;;-1:-1:-1;;;84370:55:0;;23947:2:1;84370:55:0;;;23929:21:1;23986:2;23966:18;;;23959:30;24025:27;24005:18;;;23998:55;24070:18;;84370:55:0;23745:349:1;84370:55:0;-1:-1:-1;;;;;84436:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;84436:46:0;;;;;;;;;;84498:41;;540::1;;;84498::0;;513:18:1;84498:41:0;;;;;;;84232:315;;;:::o;77316:313::-;77472:28;77482:4;77488:2;77492:7;77472:9;:28::i;:::-;77519:47;77542:4;77548:2;77552:7;77561:4;77519:22;:47::i;:::-;77511:110;;;;-1:-1:-1;;;77511:110:0;;;;;;;:::i;91149:98::-;91201:13;91234:5;91227:12;;;;;:::i;20807:727::-;20863:13;20914:14;20931:28;20953:5;20931:21;:28::i;:::-;20962:1;20931:32;20914:49;;20978:20;21012:6;21001:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21001:18:0;-1:-1:-1;20978:41:0;-1:-1:-1;21143:28:0;;;21159:2;21143:28;21200:288;-1:-1:-1;;21232:5:0;-1:-1:-1;;;21369:2:0;21358:14;;21353:30;21232:5;21340:44;21430:2;21421:11;;;-1:-1:-1;21451:21:0;21200:288;21451:21;-1:-1:-1;21509:6:0;20807:727;-1:-1:-1;;;20807:727:0:o;72256:349::-;72380:4;-1:-1:-1;;;;;;72417:51:0;;-1:-1:-1;;;72417:51:0;;:127;;-1:-1:-1;;;;;;;72485:59:0;;-1:-1:-1;;;72485:59:0;72417:127;:180;;;-1:-1:-1;;;;;;;;;;59957:51:0;;;72561:36;59848:168;86942:410;87132:1;87120:9;:13;87116:229;;;-1:-1:-1;;;;;87154:18:0;;;87150:87;;-1:-1:-1;;;;;87193:15:0;;;;;;:9;:15;;;;;:28;;87212:9;;87193:15;:28;;87212:9;;87193:28;:::i;:::-;;;;-1:-1:-1;;87150:87:0;-1:-1:-1;;;;;87255:16:0;;;87251:83;;-1:-1:-1;;;;;87292:13:0;;;;;;:9;:13;;;;;:26;;87309:9;;87292:13;:26;;87309:9;;87292:26;:::i;:::-;;;;-1:-1:-1;;86942:410:0;;;;:::o;65679:514::-;65768:22;65776:4;65782:7;65768;:22::i;:::-;65763:423;;65956:39;65987:7;65956:30;:39::i;:::-;66068:49;66107:4;66114:2;66068:30;:49::i;:::-;65861:279;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;65861:279:0;;;;;;;;;;-1:-1:-1;;;65807:367:0;;;;;;;:::i;47803:284::-;-1:-1:-1;;;;;32331:19:0;;;47877:106;;;;-1:-1:-1;;;47877:106:0;;25773:2:1;47877:106:0;;;25755:21:1;25812:2;25792:18;;;25785:30;25851:34;25831:18;;;25824:62;-1:-1:-1;;;25902:18:1;;;25895:43;25955:19;;47877:106:0;25571:409:1;47877:106:0;-1:-1:-1;;;;;;;;;;;47994:85:0;;-1:-1:-1;;;;;;47994:85:0;-1:-1:-1;;;;;47994:85:0;;;;;;;;;;47803:284::o;48496:297::-;48639:29;48650:17;48639:10;:29::i;:::-;48697:1;48683:4;:11;:15;:28;;;;48702:9;48683:28;48679:107;;;48728:46;48750:17;48769:4;48728:21;:46::i;72021:163::-;44813:13;;;;;;;44805:69;;;;-1:-1:-1;;;44805:69:0;;;;;;;:::i;:::-;72135:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;72159:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;79085:110::-:0;79161:26;79171:2;79175:7;79161:26;;;;;;;;;;;;:9;:26::i;85335:875::-;85489:4;-1:-1:-1;;;;;85510:13:0;;32331:19;:23;85506:697;;85546:82;;-1:-1:-1;;;85546:82:0;;-1:-1:-1;;;;;85546:47:0;;;;;:82;;61277:10;;85608:4;;85614:7;;85623:4;;85546:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;85546:82:0;;;;;;;;-1:-1:-1;;85546:82:0;;;;;;;;;;;;:::i;:::-;;;85542:606;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85809:6;:13;85826:1;85809:18;85805:328;;85852:60;;-1:-1:-1;;;85852:60:0;;;;;;;:::i;85805:328::-;86083:6;86077:13;86068:6;86064:2;86060:15;86053:38;85542:606;-1:-1:-1;;;;;;85679:62:0;-1:-1:-1;;;85679:62:0;;-1:-1:-1;85672:69:0;;85506:697;-1:-1:-1;86187:4:0;85335:875;;;;;;:::o;17639:922::-;17692:7;;-1:-1:-1;;;17770:15:0;;17766:102;;-1:-1:-1;;;17806:15:0;;;-1:-1:-1;17850:2:0;17840:12;17766:102;17895:6;17886:5;:15;17882:102;;17931:6;17922:15;;;-1:-1:-1;17966:2:0;17956:12;17882:102;18011:6;18002:5;:15;17998:102;;18047:6;18038:15;;;-1:-1:-1;18082:2:0;18072:12;17998:102;18127:5;18118;:14;18114:99;;18162:5;18153:14;;;-1:-1:-1;18196:1:0;18186:11;18114:99;18240:5;18231;:14;18227:99;;18275:5;18266:14;;;-1:-1:-1;18309:1:0;18299:11;18227:99;18353:5;18344;:14;18340:99;;18388:5;18379:14;;;-1:-1:-1;18422:1:0;18412:11;18340:99;18466:5;18457;:14;18453:66;;18502:1;18492:11;18547:6;17639:922;-1:-1:-1;;17639:922:0:o;22565:151::-;22623:13;22656:52;-1:-1:-1;;;;;22668:22:0;;20698:2;21961:447;22036:13;22062:19;22094:10;22098:6;22094:1;:10;:::i;:::-;:14;;22107:1;22094:14;:::i;:::-;22084:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22084:25:0;;22062:47;;-1:-1:-1;;;22120:6:0;22127:1;22120:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22120:15:0;;;;;;;;;-1:-1:-1;;;22146:6:0;22153:1;22146:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22146:15:0;;;;;;;;-1:-1:-1;22177:9:0;22189:10;22193:6;22189:1;:10;:::i;:::-;:14;;22202:1;22189:14;:::i;:::-;22177:26;;22172:131;22209:1;22205;:5;22172:131;;;-1:-1:-1;;;22253:5:0;22261:3;22253:11;22244:21;;;;;;;:::i;:::-;;;;22232:6;22239:1;22232:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;22232:33:0;;;;;;;;-1:-1:-1;22290:1:0;22280:11;;;;;22212:3;;;:::i;:::-;;;22172:131;;;-1:-1:-1;22321:10:0;;22313:55;;;;-1:-1:-1;;;22313:55:0;;27249:2:1;22313:55:0;;;27231:21:1;;;27268:18;;;27261:30;27327:34;27307:18;;;27300:62;27379:18;;22313:55:0;27047:356:1;48200:155:0;48267:37;48286:17;48267:18;:37::i;:::-;48320:27;;-1:-1:-1;;;;;48320:27:0;;;;;;;;48200:155;:::o;53233:461::-;53316:12;-1:-1:-1;;;;;32331:19:0;;;53341:88;;;;-1:-1:-1;;;53341:88:0;;27610:2:1;53341:88:0;;;27592:21:1;27649:2;27629:18;;;27622:30;27688:34;27668:18;;;27661:62;-1:-1:-1;;;27739:18:1;;;27732:36;27785:19;;53341:88:0;27408:402:1;53341:88:0;53503:12;53517:23;53544:6;-1:-1:-1;;;;;53544:19:0;53564:4;53544:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53502:67;;;;53587:99;53623:7;53632:10;53587:99;;;;;;;;;;;;;;;;;:35;:99::i;:::-;53580:106;53233:461;-1:-1:-1;;;;;53233:461:0:o;79422:319::-;79551:18;79557:2;79561:7;79551:5;:18::i;:::-;79602:53;79633:1;79637:2;79641:7;79650:4;79602:22;:53::i;:::-;79580:153;;;;-1:-1:-1;;;79580:153:0;;;;;;;:::i;38446:305::-;38596:12;38625:7;38621:123;;;-1:-1:-1;38656:10:0;38649:17;;38621:123;38699:33;38707:10;38719:12;38699:7;:33::i;80077:942::-;-1:-1:-1;;;;;80157:16:0;;80149:61;;;;-1:-1:-1;;;80149:61:0;;28296:2:1;80149:61:0;;;28278:21:1;;;28315:18;;;28308:30;28374:34;28354:18;;;28347:62;28426:18;;80149:61:0;28094:356:1;80149:61:0;78238:4;77836:16;;;:7;:16;;;;;;-1:-1:-1;;;;;77836:16:0;78262:31;80221:58;;;;-1:-1:-1;;;80221:58:0;;28657:2:1;80221:58:0;;;28639:21:1;28696:2;28676:18;;;28669:30;28735;28715:18;;;28708:58;28783:18;;80221:58:0;28455:352:1;80221:58:0;80292:48;80321:1;80325:2;80329:7;80338:1;80292:20;:48::i;:::-;78238:4;77836:16;;;:7;:16;;;;;;-1:-1:-1;;;;;77836:16:0;78262:31;80430:58;;;;-1:-1:-1;;;80430:58:0;;28657:2:1;80430:58:0;;;28639:21:1;28696:2;28676:18;;;28669:30;28735;28715:18;;;28708:58;28783:18;;80430:58:0;28455:352:1;80430:58:0;-1:-1:-1;;;;;80837:13:0;;;;;;:9;:13;;;;;;;;:18;;80854:1;80837:18;;;80879:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;80879:21:0;;;;;80918:33;80887:7;;80837:13;;80918:33;;80837:13;;80918:33;67967:218;;:::o;38759:552::-;38920:17;;:21;38916:388;;39152:10;39146:17;39209:15;39196:10;39192:2;39188:19;39181:44;38916:388;39279:12;39272:20;;-1:-1:-1;;;39272:20:0;;;;;;;;:::i;-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;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:131::-;-1:-1:-1;;;;;1811:31:1;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:1:o;2192:456::-;2269:6;2277;2285;2338:2;2326:9;2317:7;2313:23;2309:32;2306:52;;;2354:1;2351;2344:12;2306:52;2393:9;2380:23;2412:31;2437:5;2412:31;:::i;:::-;2462:5;-1:-1:-1;2519:2:1;2504:18;;2491:32;2532:33;2491:32;2532:33;:::i;:::-;2192:456;;2584:7;;-1:-1:-1;;;2638:2:1;2623:18;;;;2610:32;;2192:456::o;3020:271::-;3094:6;3147:2;3135:9;3126:7;3122:23;3118:32;3115:52;;;3163:1;3160;3153:12;3115:52;3202:9;3189:23;3241:1;3234:5;3231:12;3221:40;;3257:1;3254;3247:12;3296:315;3364:6;3372;3425:2;3413:9;3404:7;3400:23;3396:32;3393:52;;;3441:1;3438;3431:12;3393:52;3477:9;3464:23;3454:33;;3537:2;3526:9;3522:18;3509:32;3550:31;3575:5;3550:31;:::i;:::-;3600:5;3590:15;;;3296:315;;;;;:::o;3616:247::-;3675:6;3728:2;3716:9;3707:7;3703:23;3699:32;3696:52;;;3744:1;3741;3734:12;3696:52;3783:9;3770:23;3802:31;3827:5;3802:31;:::i;3868:127::-;3929:10;3924:3;3920:20;3917:1;3910:31;3960:4;3957:1;3950:15;3984:4;3981:1;3974:15;4000:275;4071:2;4065:9;4136:2;4117:13;;-1:-1:-1;;4113:27:1;4101:40;;4171:18;4156:34;;4192:22;;;4153:62;4150:88;;;4218:18;;:::i;:::-;4254:2;4247:22;4000:275;;-1:-1:-1;4000:275:1:o;4280:406::-;4344:5;4378:18;4370:6;4367:30;4364:56;;;4400:18;;:::i;:::-;4438:57;4483:2;4462:15;;-1:-1:-1;;4458:29:1;4489:4;4454:40;4438:57;:::i;:::-;4429:66;;4518:6;4511:5;4504:21;4558:3;4549:6;4544:3;4540:16;4537:25;4534:45;;;4575:1;4572;4565:12;4534:45;4624:6;4619:3;4612:4;4605:5;4601:16;4588:43;4678:1;4671:4;4662:6;4655:5;4651:18;4647:29;4640:40;4280:406;;;;;:::o;4691:220::-;4733:5;4786:3;4779:4;4771:6;4767:17;4763:27;4753:55;;4804:1;4801;4794:12;4753:55;4826:79;4901:3;4892:6;4879:20;4872:4;4864:6;4860:17;4826:79;:::i;4916:455::-;4993:6;5001;5054:2;5042:9;5033:7;5029:23;5025:32;5022:52;;;5070:1;5067;5060:12;5022:52;5109:9;5096:23;5128:31;5153:5;5128:31;:::i;:::-;5178:5;-1:-1:-1;5234:2:1;5219:18;;5206:32;5261:18;5250:30;;5247:50;;;5293:1;5290;5283:12;5247:50;5316:49;5357:7;5348:6;5337:9;5333:22;5316:49;:::i;:::-;5306:59;;;4916:455;;;;;:::o;5376:450::-;5445:6;5498:2;5486:9;5477:7;5473:23;5469:32;5466:52;;;5514:1;5511;5504:12;5466:52;5554:9;5541:23;5587:18;5579:6;5576:30;5573:50;;;5619:1;5616;5609:12;5573:50;5642:22;;5695:4;5687:13;;5683:27;-1:-1:-1;5673:55:1;;5724:1;5721;5714:12;5673:55;5747:73;5812:7;5807:2;5794:16;5789:2;5785;5781:11;5747:73;:::i;6013:946::-;6097:6;6128:2;6171;6159:9;6150:7;6146:23;6142:32;6139:52;;;6187:1;6184;6177:12;6139:52;6227:9;6214:23;6256:18;6297:2;6289:6;6286:14;6283:34;;;6313:1;6310;6303:12;6283:34;6351:6;6340:9;6336:22;6326:32;;6396:7;6389:4;6385:2;6381:13;6377:27;6367:55;;6418:1;6415;6408:12;6367:55;6454:2;6441:16;6476:2;6472;6469:10;6466:36;;;6482:18;;:::i;:::-;6528:2;6525:1;6521:10;6511:20;;6551:28;6575:2;6571;6567:11;6551:28;:::i;:::-;6613:15;;;6683:11;;;6679:20;;;6644:12;;;;6711:19;;;6708:39;;;6743:1;6740;6733:12;6708:39;6767:11;;;;6787:142;6803:6;6798:3;6795:15;6787:142;;;6869:17;;6857:30;;6820:12;;;;6907;;;;6787:142;;;6948:5;6013:946;-1:-1:-1;;;;;;;;6013:946:1:o;6964:642::-;7129:2;7181:21;;;7251:13;;7154:18;;;7273:22;;;7100:4;;7129:2;7352:15;;;;7326:2;7311:18;;;7100:4;7395:185;7409:6;7406:1;7403:13;7395:185;;;7484:13;;7477:21;7470:29;7458:42;;7555:15;;;;7520:12;;;;7431:1;7424:9;7395:185;;;-1:-1:-1;7597:3:1;;6964:642;-1:-1:-1;;;;;;6964:642:1:o;7611:416::-;7676:6;7684;7737:2;7725:9;7716:7;7712:23;7708:32;7705:52;;;7753:1;7750;7743:12;7705:52;7792:9;7779:23;7811:31;7836:5;7811:31;:::i;:::-;7861:5;-1:-1:-1;7918:2:1;7903:18;;7890:32;7960:15;;7953:23;7941:36;;7931:64;;7991:1;7988;7981:12;8032:665;8127:6;8135;8143;8151;8204:3;8192:9;8183:7;8179:23;8175:33;8172:53;;;8221:1;8218;8211:12;8172:53;8260:9;8247:23;8279:31;8304:5;8279:31;:::i;:::-;8329:5;-1:-1:-1;8386:2:1;8371:18;;8358:32;8399:33;8358:32;8399:33;:::i;:::-;8451:7;-1:-1:-1;8505:2:1;8490:18;;8477:32;;-1:-1:-1;8560:2:1;8545:18;;8532:32;8587:18;8576:30;;8573:50;;;8619:1;8616;8609:12;8573:50;8642:49;8683:7;8674:6;8663:9;8659:22;8642:49;:::i;:::-;8632:59;;;8032:665;;;;;;;:::o;8702:127::-;8763:10;8758:3;8754:20;8751:1;8744:31;8794:4;8791:1;8784:15;8818:4;8815:1;8808:15;8834:343;8981:2;8966:18;;9014:1;9003:13;;8993:144;;9059:10;9054:3;9050:20;9047:1;9040:31;9094:4;9091:1;9084:15;9122:4;9119:1;9112:15;8993:144;9146:25;;;8834:343;:::o;9182:388::-;9250:6;9258;9311:2;9299:9;9290:7;9286:23;9282:32;9279:52;;;9327:1;9324;9317:12;9279:52;9366:9;9353:23;9385:31;9410:5;9385:31;:::i;:::-;9435:5;-1:-1:-1;9492:2:1;9477:18;;9464:32;9505:33;9464:32;9505:33;:::i;9575:380::-;9654:1;9650:12;;;;9697;;;9718:61;;9772:4;9764:6;9760:17;9750:27;;9718:61;9825:2;9817:6;9814:14;9794:18;9791:38;9788:161;;9871:10;9866:3;9862:20;9859:1;9852:31;9906:4;9903:1;9896:15;9934:4;9931:1;9924:15;9788:161;;9575:380;;;:::o;10792:409::-;10994:2;10976:21;;;11033:2;11013:18;;;11006:30;11072:34;11067:2;11052:18;;11045:62;-1:-1:-1;;;11138:2:1;11123:18;;11116:43;11191:3;11176:19;;10792:409::o;11622:408::-;11824:2;11806:21;;;11863:2;11843:18;;;11836:30;11902:34;11897:2;11882:18;;11875:62;-1:-1:-1;;;11968:2:1;11953:18;;11946:42;12020:3;12005:19;;11622:408::o;12035:::-;12237:2;12219:21;;;12276:2;12256:18;;;12249:30;12315:34;12310:2;12295:18;;12288:62;-1:-1:-1;;;12381:2:1;12366:18;;12359:42;12433:3;12418:19;;12035:408::o;14385:127::-;14446:10;14441:3;14437:20;14434:1;14427:31;14477:4;14474:1;14467:15;14501:4;14498:1;14491:15;14517:127;14578:10;14573:3;14569:20;14566:1;14559:31;14609:4;14606:1;14599:15;14633:4;14630:1;14623:15;14649:135;14688:3;14709:17;;;14706:43;;14729:18;;:::i;:::-;-1:-1:-1;14776:1:1;14765:13;;14649:135::o;17163:251::-;17233:6;17286:2;17274:9;17265:7;17261:23;17257:32;17254:52;;;17302:1;17299;17292:12;17254:52;17334:9;17328:16;17353:31;17378:5;17353:31;:::i;17778:128::-;17818:3;17849:1;17845:6;17842:1;17839:13;17836:39;;;17855:18;;:::i;:::-;-1:-1:-1;17891:9:1;;17778:128::o;19089:175::-;19126:3;19170:4;19163:5;19159:16;19199:4;19190:7;19187:17;19184:43;;19207:18;;:::i;:::-;19256:1;19243:15;;19089:175;-1:-1:-1;;19089:175:1:o;21033:470::-;21212:3;21250:6;21244:13;21266:53;21312:6;21307:3;21300:4;21292:6;21288:17;21266:53;:::i;:::-;21382:13;;21341:16;;;;21404:57;21382:13;21341:16;21438:4;21426:17;;21404:57;:::i;:::-;21477:20;;21033:470;-1:-1:-1;;;;21033:470:1:o;21508:401::-;21710:2;21692:21;;;21749:2;21729:18;;;21722:30;21788:34;21783:2;21768:18;;21761:62;-1:-1:-1;;;21854:2:1;21839:18;;21832:35;21899:3;21884:19;;21508:401::o;22319:184::-;22389:6;22442:2;22430:9;22421:7;22417:23;22413:32;22410:52;;;22458:1;22455;22448:12;22410:52;-1:-1:-1;22481:16:1;;22319:184;-1:-1:-1;22319:184:1:o;23333:407::-;23535:2;23517:21;;;23574:2;23554:18;;;23547:30;23613:34;23608:2;23593:18;;23586:62;-1:-1:-1;;;23679:2:1;23664:18;;23657:41;23730:3;23715:19;;23333:407::o;24099:414::-;24301:2;24283:21;;;24340:2;24320:18;;;24313:30;24379:34;24374:2;24359:18;;24352:62;-1:-1:-1;;;24445:2:1;24430:18;;24423:48;24503:3;24488:19;;24099:414::o;24650:125::-;24690:4;24718:1;24715;24712:8;24709:34;;;24723:18;;:::i;:::-;-1:-1:-1;24760:9:1;;24650:125::o;24780:786::-;25191:25;25186:3;25179:38;25161:3;25246:6;25240:13;25262:62;25317:6;25312:2;25307:3;25303:12;25296:4;25288:6;25284:17;25262:62;:::i;:::-;-1:-1:-1;;;25383:2:1;25343:16;;;25375:11;;;25368:40;25433:13;;25455:63;25433:13;25504:2;25496:11;;25489:4;25477:17;;25455:63;:::i;:::-;25538:17;25557:2;25534:26;;24780:786;-1:-1:-1;;;;24780:786:1:o;25985:489::-;-1:-1:-1;;;;;26254:15:1;;;26236:34;;26306:15;;26301:2;26286:18;;26279:43;26353:2;26338:18;;26331:34;;;26401:3;26396:2;26381:18;;26374:31;;;26179:4;;26422:46;;26448:19;;26440:6;26422:46;:::i;:::-;26414:54;25985:489;-1:-1:-1;;;;;;25985:489:1:o;26479:249::-;26548:6;26601:2;26589:9;26580:7;26576:23;26572:32;26569:52;;;26617:1;26614;26607:12;26569:52;26649:9;26643:16;26668:30;26692:5;26668:30;:::i;26733:168::-;26773:7;26839:1;26835;26831:6;26827:14;26824:1;26821:21;26816:1;26809:9;26802:17;26798:45;26795:71;;;26846:18;;:::i;:::-;-1:-1:-1;26886:9:1;;26733:168::o;26906:136::-;26945:3;26973:5;26963:39;;26982:18;;:::i;:::-;-1:-1:-1;;;27018:18:1;;26906:136::o;27815:274::-;27944:3;27982:6;27976:13;27998:53;28044:6;28039:3;28032:4;28024:6;28020:17;27998:53;:::i;:::-;28067:16;;;;;27815:274;-1:-1:-1;;27815:274:1:o
Swarm Source
ipfs://207afe116e1dd29e784d9d5457aee0749fd912ef1520c088c6e960bb8b045924
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.