Polygon Sponsored slots available. Book your slot here!
ERC-20
Decentralized Web
Overview
Max Total Supply
156,554,390.5324 ECLD
Holders
29,291 (0.00%)
Market
Price
$0.0024 @ 0.003458 POL (+9.72%)
Onchain Market Cap
$380,599.38
Circulating Supply Market Cap
$1,200,005.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
41 ECLDValue
$0.10 ( ~0.142248247296899 POL) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
EthernityCloudERC20
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2023-10-14 */ // File: contracts/interfaces/IERC3156FlashBorrower.sol // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC3156FlashBorrower.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC3156 FlashBorrower, as defined in * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156]. * * _Available since v4.1._ */ interface IERC3156FlashBorrower { /** * @dev Receive a flash loan. * @param initiator The initiator of the loan. * @param token The loan currency. * @param amount The amount of tokens lent. * @param fee The additional amount of tokens to repay. * @param data Arbitrary data structure, intended to contain user-defined parameters. * @return The keccak256 hash of "ERC3156FlashBorrower.onFlashLoan" */ function onFlashLoan( address initiator, address token, uint256 amount, uint256 fee, bytes calldata data ) external returns (bytes32); } // File: contracts/interfaces/IERC3156FlashLender.sol // OpenZeppelin Contracts v4.4.1 (interfaces/IERC3156FlashLender.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC3156 FlashLender, as defined in * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156]. * * _Available since v4.1._ */ interface IERC3156FlashLender { /** * @dev The amount of currency available to be lended. * @param token The loan currency. * @return The amount of `token` that can be borrowed. */ function maxFlashLoan(address token) external view returns (uint256); /** * @dev The fee to be charged for a given loan. * @param token The loan currency. * @param amount The amount of tokens lent. * @return The amount of `token` to be charged for the loan, on top of the returned principal. */ function flashFee(address token, uint256 amount) external view returns (uint256); /** * @dev Initiate a flash loan. * @param receiver The receiver of the tokens in the loan, and the receiver of the callback. * @param token The loan currency. * @param amount The amount of tokens lent. * @param data Arbitrary data structure, intended to contain user-defined parameters. */ function flashLoan( IERC3156FlashBorrower receiver, address token, uint256 amount, bytes calldata data ) external returns (bool); } // File: contracts/token/ERC20/extensions/IERC20Capped.sol pragma solidity ^0.8.0; interface IERC20Capped { /** * @dev Returns the cap on the token's total supply. */ function cap() external view returns (uint256); } // File: contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: contracts/interfaces/IERC5267.sol // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol) pragma solidity ^0.8.0; interface IERC5267 { /** * @dev MAY be emitted to signal that the domain could have changed. */ event EIP712DomainChanged(); /** * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712 * signature. */ function eip712Domain() external view returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions ); } // File: contracts/utils/StorageSlot.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol) // This file was procedurally generated from scripts/generate/templates/StorageSlot.js. 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: * ```solidity * 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`, `uint256`._ * _Available since v4.9 for `string`, `bytes`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } struct StringSlot { string value; } struct BytesSlot { bytes 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 } } /** * @dev Returns an `StringSlot` with member `value` located at `slot`. */ function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` representation of the string storage pointer `store`. */ function getStringSlot(string storage store) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } /** * @dev Returns an `BytesSlot` with member `value` located at `slot`. */ function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`. */ function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } } // File: contracts/utils/ShortStrings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol) pragma solidity ^0.8.8; // | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | // | length | 0x BB | type ShortString is bytes32; /** * @dev This library provides functions to convert short memory strings * into a `ShortString` type that can be used as an immutable variable. * * Strings of arbitrary length can be optimized using this library if * they are short enough (up to 31 bytes) by packing them with their * length (1 byte) in a single EVM word (32 bytes). Additionally, a * fallback mechanism can be used for every other case. * * Usage example: * * ```solidity * contract Named { * using ShortStrings for *; * * ShortString private immutable _name; * string private _nameFallback; * * constructor(string memory contractName) { * _name = contractName.toShortStringWithFallback(_nameFallback); * } * * function name() external view returns (string memory) { * return _name.toStringWithFallback(_nameFallback); * } * } * ``` */ library ShortStrings { // Used as an identifier for strings longer than 31 bytes. bytes32 private constant _FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF; error StringTooLong(string str); error InvalidShortString(); /** * @dev Encode a string of at most 31 chars into a `ShortString`. * * This will trigger a `StringTooLong` error is the input string is too long. */ function toShortString(string memory str) internal pure returns (ShortString) { bytes memory bstr = bytes(str); if (bstr.length > 31) { revert StringTooLong(str); } return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length)); } /** * @dev Decode a `ShortString` back to a "normal" string. */ function toString(ShortString sstr) internal pure returns (string memory) { uint256 len = byteLength(sstr); // using `new string(len)` would work locally but is not memory safe. string memory str = new string(32); /// @solidity memory-safe-assembly assembly { mstore(str, len) mstore(add(str, 0x20), sstr) } return str; } /** * @dev Return the length of a `ShortString`. */ function byteLength(ShortString sstr) internal pure returns (uint256) { uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF; if (result > 31) { revert InvalidShortString(); } return result; } /** * @dev Encode a string into a `ShortString`, or write it to storage if it is too long. */ function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) { if (bytes(value).length < 32) { return toShortString(value); } else { StorageSlot.getStringSlot(store).value = value; return ShortString.wrap(_FALLBACK_SENTINEL); } } /** * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}. */ function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) { if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) { return toString(value); } else { return store; } } /** * @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}. * * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of * actual characters as the UTF-8 encoding of a single character can span over multiple bytes. */ function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) { if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) { return byteLength(value); } else { return bytes(store).length; } } } // File: contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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 256, 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 << 3) < value ? 1 : 0); } } } // File: contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) { // 32 is the length in bytes of hash, // enforced by the type signature above /// @solidity memory-safe-assembly assembly { mstore(0x00, "\x19Ethereum Signed Message:\n32") mstore(0x1c, hash) message := keccak256(0x00, 0x3c) } } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, "\x19\x01") mstore(add(ptr, 0x02), domainSeparator) mstore(add(ptr, 0x22), structHash) data := keccak256(ptr, 0x42) } } /** * @dev Returns an Ethereum Signed Data with intended validator, created from a * `validator` and `data` according to the version 0 of EIP-191. * * See {recover}. */ function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x00", validator, data)); } } // File: contracts/utils/cryptography/EIP712.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.8; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain * separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the * separator from the immutable values, which is cheaper than accessing a cached version in cold storage. * * _Available since v3.4._ * * @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment */ abstract contract EIP712 is IERC5267 { using ShortStrings for *; bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _cachedDomainSeparator; uint256 private immutable _cachedChainId; address private immutable _cachedThis; bytes32 private immutable _hashedName; bytes32 private immutable _hashedVersion; ShortString private immutable _name; ShortString private immutable _version; string private _nameFallback; string private _versionFallback; /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { _name = name.toShortStringWithFallback(_nameFallback); _version = version.toShortStringWithFallback(_versionFallback); _hashedName = keccak256(bytes(name)); _hashedVersion = keccak256(bytes(version)); _cachedChainId = block.chainid; _cachedDomainSeparator = _buildDomainSeparator(); _cachedThis = address(this); } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _cachedThis && block.chainid == _cachedChainId) { return _cachedDomainSeparator; } else { return _buildDomainSeparator(); } } function _buildDomainSeparator() private view returns (bytes32) { return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev See {EIP-5267}. * * _Available since v4.9._ */ function eip712Domain() public view virtual override returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions ) { return ( hex"0f", // 01111 _name.toStringWithFallback(_nameFallback), _version.toStringWithFallback(_versionFallback), block.chainid, address(this), bytes32(0), new uint256[](0) ); } } // File: contracts/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File: contracts/IEthernityCloudERC20.sol pragma solidity ^0.8.20; interface IEthernityCloudERC20 is IERC20, IERC20Permit, IERC3156FlashLender, IERC20Capped { function mint( address receiver, uint256 value, string memory mintId ) external; } // File: contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // File: contracts/token/ERC20/extensions/ERC20FlashMint.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/extensions/ERC20FlashMint.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the ERC3156 Flash loans extension, as defined in * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156]. * * Adds the {flashLoan} method, which provides flash loan support at the token * level. By default there is no fee, but this can be changed by overriding {flashFee}. * * _Available since v4.1._ */ abstract contract ERC20FlashMint is ERC20, IERC3156FlashLender { bytes32 private constant _RETURN_VALUE = keccak256("ERC3156FlashBorrower.onFlashLoan"); /** * @dev Returns the maximum amount of tokens available for loan. * @param token The address of the token that is requested. * @return The amount of token that can be loaned. */ function maxFlashLoan(address token) public view virtual override returns (uint256) { return token == address(this) ? type(uint256).max - ERC20.totalSupply() : 0; } /** * @dev Returns the fee applied when doing flash loans. This function calls * the {_flashFee} function which returns the fee applied when doing flash * loans. * @param token The token to be flash loaned. * @param amount The amount of tokens to be loaned. * @return The fees applied to the corresponding flash loan. */ function flashFee(address token, uint256 amount) public view virtual override returns (uint256) { require(token == address(this), "ERC20FlashMint: wrong token"); return _flashFee(token, amount); } /** * @dev Returns the fee applied when doing flash loans. By default this * implementation has 0 fees. This function can be overloaded to make * the flash loan mechanism deflationary. * @param token The token to be flash loaned. * @param amount The amount of tokens to be loaned. * @return The fees applied to the corresponding flash loan. */ function _flashFee(address token, uint256 amount) internal view virtual returns (uint256) { // silence warning about unused variable without the addition of bytecode. token; amount; return 0; } /** * @dev Returns the receiver address of the flash fee. By default this * implementation returns the address(0) which means the fee amount will be burnt. * This function can be overloaded to change the fee receiver. * @return The address for which the flash fee will be sent to. */ function _flashFeeReceiver() internal view virtual returns (address) { return address(0); } /** * @dev Performs a flash loan. New tokens are minted and sent to the * `receiver`, who is required to implement the {IERC3156FlashBorrower} * interface. By the end of the flash loan, the receiver is expected to own * amount + fee tokens and have them approved back to the token contract itself so * they can be burned. * @param receiver The receiver of the flash loan. Should implement the * {IERC3156FlashBorrower-onFlashLoan} interface. * @param token The token to be flash loaned. Only `address(this)` is * supported. * @param amount The amount of tokens to be loaned. * @param data An arbitrary datafield that is passed to the receiver. * @return `true` if the flash loan was successful. */ // This function can reenter, but it doesn't pose a risk because it always preserves the property that the amount // minted at the beginning is always recovered and burned at the end, or else the entire function will revert. // slither-disable-next-line reentrancy-no-eth function flashLoan( IERC3156FlashBorrower receiver, address token, uint256 amount, bytes calldata data ) public virtual override returns (bool) { require(amount <= maxFlashLoan(token), "ERC20FlashMint: amount exceeds maxFlashLoan"); uint256 fee = flashFee(token, amount); _mint(address(receiver), amount); require( receiver.onFlashLoan(msg.sender, token, amount, fee, data) == _RETURN_VALUE, "ERC20FlashMint: invalid return value" ); address flashFeeReceiver = _flashFeeReceiver(); _spendAllowance(address(receiver), address(this), amount + fee); if (fee == 0 || flashFeeReceiver == address(0)) { _burn(address(receiver), amount + fee); } else { _burn(address(receiver), amount); _transfer(address(receiver), flashFeeReceiver, fee); } return true; } } // File: contracts/token/ERC20/extensions/ERC20Capped.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Capped.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20, IERC20Capped { uint256 private immutable _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor(uint256 cap_) { require(cap_ > 0, "ERC20Capped: cap is 0"); _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_mint}. */ function _mint(address account, uint256 amount) internal virtual override { require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded"); super._mint(account, amount); } } // File: contracts/token/ERC20/extensions/ERC20Permit.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private constant _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`. * However, to ensure consistency with the upgradeable transpiler, we will continue * to reserve a slot. * @custom:oz-renamed-from _PERMIT_TYPEHASH */ // solhint-disable-next-line var-name-mixedcase bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT; /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } } // File: contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/EthernityCloudERC20.sol pragma solidity ^0.8.20; contract EthernityCloudERC20 is Ownable, ERC20, ERC20Permit, ERC20Capped, ERC20FlashMint, IEthernityCloudERC20 { event Mint(address receiver, uint256 value, string mintId); uint256 private immutable _initialCap = 1000000000 * (10**decimals()); // 1 billion ECLD (Wei) uint256 private immutable _initialBalance = 0; // 1 million ECLD (Wei) constructor() ERC20("Ethernity CLOUD", "ECLD") ERC20Permit("Ethernity CLOUD") ERC20Capped(_initialCap){ _mint(msg.sender, 0); } /** * @dev See {ERC20Capped-_mint}. */ function _mint(address account, uint256 amount) internal virtual override(ERC20Capped, ERC20) { ERC20Capped._mint(account, amount); } function mint(address receiver, uint256 value, string memory mintId) public onlyOwner { _mint(receiver, value); emit Mint(receiver, value, mintId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"mintId","type":"string"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"flashFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC3156FlashBorrower","name":"receiver","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flashLoan","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"maxFlashLoan","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"mintId","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101c0604052620000136012600a62000556565b6200002390633b9aca006200056e565b6101805260006101a0523480156200003a57600080fd5b50610180516040518060400160405280600f81526020016e115d1a195c9b9a5d1e4810d313d551608a1b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600f81526020016e115d1a195c9b9a5d1e4810d313d551608a1b815250604051806040016040528060048152602001631150d31160e21b815250620000e1620000db6200022360201b60201c565b62000227565b6004620000ef83826200062c565b506005620000fe82826200062c565b50620001109150839050600662000277565b610120526200012181600762000277565b61014052815160208084019190912060e052815190820120610100524660a052620001af60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c05250806200020c5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a206361702069732030000000000000000000000060448201526064015b60405180910390fd5b610160526200021d336000620002b0565b62000783565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208351101562000297576200028f83620002c0565b9050620002aa565b81620002a484826200062c565b5060ff90505b92915050565b620002bc828262000303565b5050565b600080829050601f81511115620002ee578260405163305a27a960e01b8152600401620002039190620006f8565b8051620002fb8262000748565b179392505050565b61016051816200031260035490565b6200031e91906200076d565b11156200036e5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015260640162000203565b620002bc82826001600160a01b038216620003cc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000203565b8060036000828254620003e091906200076d565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620002bc600083835b505050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200049a5781600019048211156200047e576200047e62000443565b808516156200048c57918102915b93841c93908002906200045e565b509250929050565b600082620004b357506001620002aa565b81620004c257506000620002aa565b8160018114620004db5760028114620004e65762000506565b6001915050620002aa565b60ff841115620004fa57620004fa62000443565b50506001821b620002aa565b5060208310610133831016604e8410600b84101617156200052b575081810a620002aa565b62000537838362000459565b80600019048211156200054e576200054e62000443565b029392505050565b60006200056760ff841683620004a2565b9392505050565b8082028115828204841417620002aa57620002aa62000443565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005b357607f821691505b602082108103620005d457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200043e57600081815260208120601f850160051c81016020861015620006035750805b601f850160051c820191505b8181101562000624578281556001016200060f565b505050505050565b81516001600160401b0381111562000648576200064862000588565b62000660816200065984546200059e565b84620005da565b602080601f8311600181146200069857600084156200067f5750858301515b600019600386901b1c1916600185901b17855562000624565b600085815260208120601f198616915b82811015620006c957888601518255948401946001909101908401620006a8565b5085821015620006e85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620007275785810183015185820160400152820162000709565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620005d45760001960209190910360031b1b16919050565b80820180821115620002aa57620002aa62000443565b60805160a05160c05160e05161010051610120516101405161016051610180516101a051611abf620008006000396000505060005050600081816101c901526111dd015260006106b40152600061068901526000610e7e01526000610e5601526000610db101526000610ddb01526000610e050152611abf6000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063a9059cbb1161007c578063a9059cbb146102c5578063d3fc9864146102d8578063d505accf146102eb578063d9d98ce4146102fe578063dd62ed3e14610311578063f2fde38b1461032457600080fd5b8063715018a6146102575780637ecebe001461026157806384b0196e146102745780638da5cb5b1461028f57806395d89b41146102aa578063a457c2d7146102b257600080fd5b8063355274ea11610115578063355274ea146101c75780633644e515146101ed57806339509351146101f55780635cffe9de14610208578063613255ab1461021b57806370a082311461022e57600080fd5b806306fdde0314610152578063095ea7b31461017057806318160ddd1461019357806323b872dd146101a5578063313ce567146101b8575b600080fd5b61015a610337565b60405161016791906115e4565b60405180910390f35b61018361017e36600461160c565b6103c9565b6040519015158152602001610167565b6003545b604051908152602001610167565b6101836101b3366004611638565b6103e3565b60405160128152602001610167565b7f0000000000000000000000000000000000000000000000000000000000000000610197565b610197610407565b61018361020336600461160c565b610416565b610183610216366004611679565b610438565b610197610229366004611718565b610621565b61019761023c366004611718565b6001600160a01b031660009081526001602052604090205490565b61025f610649565b005b61019761026f366004611718565b61065d565b61027c61067b565b6040516101679796959493929190611735565b6000546040516001600160a01b039091168152602001610167565b61015a610704565b6101836102c036600461160c565b610713565b6101836102d336600461160c565b61078e565b61025f6102e63660046117e1565b61079c565b61025f6102f93660046118ae565b6107ee565b61019761030c36600461160c565b610952565b61019761031f366004611925565b6109b6565b61025f610332366004611718565b6109e1565b6060600480546103469061195e565b80601f01602080910402602001604051908101604052809291908181526020018280546103729061195e565b80156103bf5780601f10610394576101008083540402835291602001916103bf565b820191906000526020600020905b8154815290600101906020018083116103a257829003601f168201915b5050505050905090565b6000336103d7818585610a5a565b60019150505b92915050565b6000336103f1858285610b7f565b6103fc858585610bf9565b506001949350505050565b6000610411610da4565b905090565b6000336103d781858561042983836109b6565b61043391906119a8565b610a5a565b600061044385610621565b8411156104ab5760405162461bcd60e51b815260206004820152602b60248201527f4552433230466c6173684d696e743a20616d6f756e742065786365656473206d60448201526a30bc233630b9b42637b0b760a91b60648201526084015b60405180910390fd5b60006104b78686610952565b90506104c38786610ecf565b6040516323e30c8b60e01b81527f439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd9906001600160a01b038916906323e30c8b9061051b9033908b908b9088908c908c906004016119bb565b6020604051808303816000875af115801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e9190611a17565b146105b75760405162461bcd60e51b8152602060048201526024808201527f4552433230466c6173684d696e743a20696e76616c69642072657475726e2076604482015263616c756560e01b60648201526084016104a2565b60006105cd88306105c8858a6119a8565b610b7f565b8115806105e157506001600160a01b038116155b156105fe576105f9886105f484896119a8565b610edd565b610613565b6106088887610edd565b610613888284610bf9565b506001979650505050505050565b60006001600160a01b038216301461063a5760006103dd565b6003546103dd90600019611a30565b610651611009565b61065b6000611063565b565b6001600160a01b0381166000908152600860205260408120546103dd565b6000606080828080836106af7f000000000000000000000000000000000000000000000000000000000000000060066110b3565b6106da7f000000000000000000000000000000000000000000000000000000000000000060076110b3565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600580546103469061195e565b6000338161072182866109b6565b9050838110156107815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104a2565b6103fc8286868403610a5a565b6000336103d7818585610bf9565b6107a4611009565b6107ae8383610ecf565b7f85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7a8383836040516107e193929190611a43565b60405180910390a1505050565b8342111561083e5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016104a2565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861086d8c61115e565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006108c882611186565b905060006108d8828787876111b3565b9050896001600160a01b0316816001600160a01b03161461093b5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016104a2565b6109468a8a8a610a5a565b50505050505050505050565b60006001600160a01b03831630146109ac5760405162461bcd60e51b815260206004820152601b60248201527f4552433230466c6173684d696e743a2077726f6e6720746f6b656e000000000060448201526064016104a2565b60005b9392505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6109e9611009565b6001600160a01b038116610a4e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104a2565b610a5781611063565b50565b6001600160a01b038316610abc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104a2565b6001600160a01b038216610b1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104a2565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610b8b84846109b6565b90506000198114610bf35781811015610be65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104a2565b610bf38484848403610a5a565b50505050565b6001600160a01b038316610c5d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104a2565b6001600160a01b038216610cbf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104a2565b6001600160a01b03831660009081526001602052604090205481811015610d375760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104a2565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d979086815260200190565b60405180910390a3610bf3565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610dfd57507f000000000000000000000000000000000000000000000000000000000000000046145b15610e2757507f000000000000000000000000000000000000000000000000000000000000000090565b610411604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b610ed982826111db565b5050565b6001600160a01b038216610f3d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104a2565b6001600160a01b03821660009081526001602052604090205481811015610fb15760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104a2565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b72565b6000546001600160a01b0316331461065b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104a2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060ff83146110cd576110c683611268565b90506103dd565b8180546110d99061195e565b80601f01602080910402602001604051908101604052809291908181526020018280546111059061195e565b80156111525780601f1061112757610100808354040283529160200191611152565b820191906000526020600020905b81548152906001019060200180831161113557829003601f168201915b505050505090506103dd565b6001600160a01b03811660009081526008602052604090208054600181018255905b50919050565b60006103dd611193610da4565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060006111c4878787876112a7565b915091506111d18161136b565b5095945050505050565b7f00000000000000000000000000000000000000000000000000000000000000008161120660035490565b61121091906119a8565b111561125e5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016104a2565b610ed982826114b5565b6060600061127583611576565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156112de5750600090506003611362565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611332573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661135b57600060019250925050611362565b9150600090505b94509492505050565b600081600481111561137f5761137f611a73565b036113875750565b600181600481111561139b5761139b611a73565b036113e85760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104a2565b60028160048111156113fc576113fc611a73565b036114495760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104a2565b600381600481111561145d5761145d611a73565b03610a575760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104a2565b6001600160a01b03821661150b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104a2565b806003600082825461151d91906119a8565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060ff8216601f8111156103dd57604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b818110156115c4576020818501810151868301820152016115a8565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006109af602083018461159e565b6001600160a01b0381168114610a5757600080fd5b6000806040838503121561161f57600080fd5b823561162a816115f7565b946020939093013593505050565b60008060006060848603121561164d57600080fd5b8335611658816115f7565b92506020840135611668816115f7565b929592945050506040919091013590565b60008060008060006080868803121561169157600080fd5b853561169c816115f7565b945060208601356116ac816115f7565b935060408601359250606086013567ffffffffffffffff808211156116d057600080fd5b818801915088601f8301126116e457600080fd5b8135818111156116f357600080fd5b89602082850101111561170557600080fd5b9699959850939650602001949392505050565b60006020828403121561172a57600080fd5b81356109af816115f7565b60ff60f81b881681526000602060e08184015261175560e084018a61159e565b8381036040850152611767818a61159e565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b818110156117b95783518352928401929184019160010161179d565b50909c9b505050505050505050505050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156117f657600080fd5b8335611801816115f7565b925060208401359150604084013567ffffffffffffffff8082111561182557600080fd5b818601915086601f83011261183957600080fd5b81358181111561184b5761184b6117cb565b604051601f8201601f19908116603f01168101908382118183101715611873576118736117cb565b8160405282815289602084870101111561188c57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b600080600080600080600060e0888a0312156118c957600080fd5b87356118d4816115f7565b965060208801356118e4816115f7565b95506040880135945060608801359350608088013560ff8116811461190857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561193857600080fd5b8235611943816115f7565b91506020830135611953816115f7565b809150509250929050565b600181811c9082168061197257607f821691505b60208210810361118057634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156103dd576103dd611992565b6001600160a01b03878116825286166020820152604081018590526060810184905260a06080820181905281018290526000828460c0840137600060c0848401015260c0601f19601f8501168301019050979650505050505050565b600060208284031215611a2957600080fd5b5051919050565b818103818111156103dd576103dd611992565b60018060a01b0384168152826020820152606060408201526000611a6a606083018461159e565b95945050505050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f57df2286cdc999f6d62e674e692c68fe3dfd807fb945c7a95c6a33df021afa664736f6c63430008150033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063a9059cbb1161007c578063a9059cbb146102c5578063d3fc9864146102d8578063d505accf146102eb578063d9d98ce4146102fe578063dd62ed3e14610311578063f2fde38b1461032457600080fd5b8063715018a6146102575780637ecebe001461026157806384b0196e146102745780638da5cb5b1461028f57806395d89b41146102aa578063a457c2d7146102b257600080fd5b8063355274ea11610115578063355274ea146101c75780633644e515146101ed57806339509351146101f55780635cffe9de14610208578063613255ab1461021b57806370a082311461022e57600080fd5b806306fdde0314610152578063095ea7b31461017057806318160ddd1461019357806323b872dd146101a5578063313ce567146101b8575b600080fd5b61015a610337565b60405161016791906115e4565b60405180910390f35b61018361017e36600461160c565b6103c9565b6040519015158152602001610167565b6003545b604051908152602001610167565b6101836101b3366004611638565b6103e3565b60405160128152602001610167565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000610197565b610197610407565b61018361020336600461160c565b610416565b610183610216366004611679565b610438565b610197610229366004611718565b610621565b61019761023c366004611718565b6001600160a01b031660009081526001602052604090205490565b61025f610649565b005b61019761026f366004611718565b61065d565b61027c61067b565b6040516101679796959493929190611735565b6000546040516001600160a01b039091168152602001610167565b61015a610704565b6101836102c036600461160c565b610713565b6101836102d336600461160c565b61078e565b61025f6102e63660046117e1565b61079c565b61025f6102f93660046118ae565b6107ee565b61019761030c36600461160c565b610952565b61019761031f366004611925565b6109b6565b61025f610332366004611718565b6109e1565b6060600480546103469061195e565b80601f01602080910402602001604051908101604052809291908181526020018280546103729061195e565b80156103bf5780601f10610394576101008083540402835291602001916103bf565b820191906000526020600020905b8154815290600101906020018083116103a257829003601f168201915b5050505050905090565b6000336103d7818585610a5a565b60019150505b92915050565b6000336103f1858285610b7f565b6103fc858585610bf9565b506001949350505050565b6000610411610da4565b905090565b6000336103d781858561042983836109b6565b61043391906119a8565b610a5a565b600061044385610621565b8411156104ab5760405162461bcd60e51b815260206004820152602b60248201527f4552433230466c6173684d696e743a20616d6f756e742065786365656473206d60448201526a30bc233630b9b42637b0b760a91b60648201526084015b60405180910390fd5b60006104b78686610952565b90506104c38786610ecf565b6040516323e30c8b60e01b81527f439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd9906001600160a01b038916906323e30c8b9061051b9033908b908b9088908c908c906004016119bb565b6020604051808303816000875af115801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e9190611a17565b146105b75760405162461bcd60e51b8152602060048201526024808201527f4552433230466c6173684d696e743a20696e76616c69642072657475726e2076604482015263616c756560e01b60648201526084016104a2565b60006105cd88306105c8858a6119a8565b610b7f565b8115806105e157506001600160a01b038116155b156105fe576105f9886105f484896119a8565b610edd565b610613565b6106088887610edd565b610613888284610bf9565b506001979650505050505050565b60006001600160a01b038216301461063a5760006103dd565b6003546103dd90600019611a30565b610651611009565b61065b6000611063565b565b6001600160a01b0381166000908152600860205260408120546103dd565b6000606080828080836106af7f45746865726e69747920434c4f5544000000000000000000000000000000000f60066110b3565b6106da7f310000000000000000000000000000000000000000000000000000000000000160076110b3565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600580546103469061195e565b6000338161072182866109b6565b9050838110156107815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104a2565b6103fc8286868403610a5a565b6000336103d7818585610bf9565b6107a4611009565b6107ae8383610ecf565b7f85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7a8383836040516107e193929190611a43565b60405180910390a1505050565b8342111561083e5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016104a2565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861086d8c61115e565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006108c882611186565b905060006108d8828787876111b3565b9050896001600160a01b0316816001600160a01b03161461093b5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016104a2565b6109468a8a8a610a5a565b50505050505050505050565b60006001600160a01b03831630146109ac5760405162461bcd60e51b815260206004820152601b60248201527f4552433230466c6173684d696e743a2077726f6e6720746f6b656e000000000060448201526064016104a2565b60005b9392505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6109e9611009565b6001600160a01b038116610a4e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104a2565b610a5781611063565b50565b6001600160a01b038316610abc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104a2565b6001600160a01b038216610b1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104a2565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610b8b84846109b6565b90506000198114610bf35781811015610be65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104a2565b610bf38484848403610a5a565b50505050565b6001600160a01b038316610c5d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104a2565b6001600160a01b038216610cbf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104a2565b6001600160a01b03831660009081526001602052604090205481811015610d375760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104a2565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d979086815260200190565b60405180910390a3610bf3565b6000306001600160a01b037f000000000000000000000000c6920888988caceea7acca0c96f2d65b05ee22ba16148015610dfd57507f000000000000000000000000000000000000000000000000000000000000008946145b15610e2757507f02c486094508fa6ac58c938feba86a1d88bf6d3b44e28d8e75a13789a73cb6fa90565b610411604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527fd0449794276c18ff0810473511d673b8aca737494042db19b01e8516b23cbbf5918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b610ed982826111db565b5050565b6001600160a01b038216610f3d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104a2565b6001600160a01b03821660009081526001602052604090205481811015610fb15760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104a2565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b72565b6000546001600160a01b0316331461065b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104a2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606060ff83146110cd576110c683611268565b90506103dd565b8180546110d99061195e565b80601f01602080910402602001604051908101604052809291908181526020018280546111059061195e565b80156111525780601f1061112757610100808354040283529160200191611152565b820191906000526020600020905b81548152906001019060200180831161113557829003601f168201915b505050505090506103dd565b6001600160a01b03811660009081526008602052604090208054600181018255905b50919050565b60006103dd611193610da4565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060006111c4878787876112a7565b915091506111d18161136b565b5095945050505050565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000008161120660035490565b61121091906119a8565b111561125e5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016104a2565b610ed982826114b5565b6060600061127583611576565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156112de5750600090506003611362565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611332573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661135b57600060019250925050611362565b9150600090505b94509492505050565b600081600481111561137f5761137f611a73565b036113875750565b600181600481111561139b5761139b611a73565b036113e85760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104a2565b60028160048111156113fc576113fc611a73565b036114495760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104a2565b600381600481111561145d5761145d611a73565b03610a575760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104a2565b6001600160a01b03821661150b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104a2565b806003600082825461151d91906119a8565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060ff8216601f8111156103dd57604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b818110156115c4576020818501810151868301820152016115a8565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006109af602083018461159e565b6001600160a01b0381168114610a5757600080fd5b6000806040838503121561161f57600080fd5b823561162a816115f7565b946020939093013593505050565b60008060006060848603121561164d57600080fd5b8335611658816115f7565b92506020840135611668816115f7565b929592945050506040919091013590565b60008060008060006080868803121561169157600080fd5b853561169c816115f7565b945060208601356116ac816115f7565b935060408601359250606086013567ffffffffffffffff808211156116d057600080fd5b818801915088601f8301126116e457600080fd5b8135818111156116f357600080fd5b89602082850101111561170557600080fd5b9699959850939650602001949392505050565b60006020828403121561172a57600080fd5b81356109af816115f7565b60ff60f81b881681526000602060e08184015261175560e084018a61159e565b8381036040850152611767818a61159e565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b818110156117b95783518352928401929184019160010161179d565b50909c9b505050505050505050505050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156117f657600080fd5b8335611801816115f7565b925060208401359150604084013567ffffffffffffffff8082111561182557600080fd5b818601915086601f83011261183957600080fd5b81358181111561184b5761184b6117cb565b604051601f8201601f19908116603f01168101908382118183101715611873576118736117cb565b8160405282815289602084870101111561188c57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b600080600080600080600060e0888a0312156118c957600080fd5b87356118d4816115f7565b965060208801356118e4816115f7565b95506040880135945060608801359350608088013560ff8116811461190857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561193857600080fd5b8235611943816115f7565b91506020830135611953816115f7565b809150509250929050565b600181811c9082168061197257607f821691505b60208210810361118057634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156103dd576103dd611992565b6001600160a01b03878116825286166020820152604081018590526060810184905260a06080820181905281018290526000828460c0840137600060c0848401015260c0601f19601f8501168301019050979650505050505050565b600060208284031215611a2957600080fd5b5051919050565b818103818111156103dd576103dd611992565b60018060a01b0384168152826020820152606060408201526000611a6a606083018461159e565b95945050505050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f57df2286cdc999f6d62e674e692c68fe3dfd807fb945c7a95c6a33df021afa664736f6c63430008150033
Deployed Bytecode Sourcemap
78044:902:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55193:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57553:201;;;;;;:::i;:::-;;:::i;:::-;;;1288:14:1;;1281:22;1263:41;;1251:2;1236:18;57553:201:0;1123:187:1;56322:108:0;56410:12;;56322:108;;;1461:25:1;;;1449:2;1434:18;56322:108:0;1315:177:1;58334:261:0;;;;;;:::i;:::-;;:::i;56164:93::-;;;56247:2;2100:36:1;;2088:2;2073:18;56164:93:0;1958:184:1;71662:83:0;71733:4;71662:83;;74810:115;;;:::i;59004:238::-;;;;;;:::i;:::-;;:::i;70014:959::-;;;;;;:::i;:::-;;:::i;67100:178::-;;;;;;:::i;:::-;;:::i;56493:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;56594:18:0;56567:7;56594:18;;;:9;:18;;;;;;;56493:127;77139:103;;;:::i;:::-;;74552:128;;;;;;:::i;:::-;;:::i;45286:657::-;;;:::i;:::-;;;;;;;;;;;;;:::i;76498:87::-;76544:7;76571:6;76498:87;;-1:-1:-1;;;;;76571:6:0;;;4960:51:1;;4948:2;4933:18;76498:87:0;4814:203:1;55412:104:0;;;:::i;59745:436::-;;;;;;:::i;:::-;;:::i;56826:193::-;;;;;;:::i;:::-;;:::i;78769:172::-;;;;;;:::i;:::-;;:::i;73841:645::-;;;;;;:::i;:::-;;:::i;67654:219::-;;;;;;:::i;:::-;;:::i;57082:151::-;;;;;;:::i;:::-;;:::i;77397:201::-;;;;;;:::i;:::-;;:::i;55193:100::-;55247:13;55280:5;55273:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55193:100;:::o;57553:201::-;57636:4;52925:10;57692:32;52925:10;57708:7;57717:6;57692:8;:32::i;:::-;57742:4;57735:11;;;57553:201;;;;;:::o;58334:261::-;58431:4;52925:10;58489:38;58505:4;52925:10;58520:6;58489:15;:38::i;:::-;58538:27;58548:4;58554:2;58558:6;58538:9;:27::i;:::-;-1:-1:-1;58583:4:0;;58334:261;-1:-1:-1;;;;58334:261:0:o;74810:115::-;74870:7;74897:20;:18;:20::i;:::-;74890:27;;74810:115;:::o;59004:238::-;59092:4;52925:10;59148:64;52925:10;59164:7;59201:10;59173:25;52925:10;59164:7;59173:9;:25::i;:::-;:38;;;;:::i;:::-;59148:8;:64::i;70014:959::-;70193:4;70228:19;70241:5;70228:12;:19::i;:::-;70218:6;:29;;70210:85;;;;-1:-1:-1;;;70210:85:0;;8360:2:1;70210:85:0;;;8342:21:1;8399:2;8379:18;;;8372:30;8438:34;8418:18;;;8411:62;-1:-1:-1;;;8489:18:1;;;8482:41;8540:19;;70210:85:0;;;;;;;;;70306:11;70320:23;70329:5;70336:6;70320:8;:23::i;:::-;70306:37;;70354:32;70368:8;70379:6;70354:5;:32::i;:::-;70419:58;;-1:-1:-1;;;70419:58:0;;66837:45;;-1:-1:-1;;;;;70419:20:0;;;;;:58;;70440:10;;70452:5;;70459:6;;70467:3;;70472:4;;;;70419:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:75;70397:161;;;;-1:-1:-1;;;70397:161:0;;9700:2:1;70397:161:0;;;9682:21:1;9739:2;9719:18;;;9712:30;9778:34;9758:18;;;9751:62;-1:-1:-1;;;9829:18:1;;;9822:34;9873:19;;70397:161:0;9498:400:1;70397:161:0;70569:24;70626:63;70650:8;70669:4;70676:12;70685:3;70676:6;:12;:::i;:::-;70626:15;:63::i;:::-;70704:8;;;:42;;-1:-1:-1;;;;;;70716:30:0;;;70704:42;70700:244;;;70763:38;70777:8;70788:12;70797:3;70788:6;:12;:::i;:::-;70763:5;:38::i;:::-;70700:244;;;70834:32;70848:8;70859:6;70834:5;:32::i;:::-;70881:51;70899:8;70910:16;70928:3;70881:9;:51::i;:::-;-1:-1:-1;70961:4:0;;70014:959;-1:-1:-1;;;;;;;70014:959:0:o;67100:178::-;67175:7;-1:-1:-1;;;;;67202:22:0;;67219:4;67202:22;:68;;67269:1;67202:68;;;56410:12;;67227:39;;-1:-1:-1;;67227:39:0;:::i;77139:103::-;76384:13;:11;:13::i;:::-;77204:30:::1;77231:1;77204:18;:30::i;:::-;77139:103::o:0;74552:128::-;-1:-1:-1;;;;;74648:14:0;;74621:7;74648:14;;;:7;:14;;;;;3657;74648:24;3565:114;45286:657;45407:13;45435:18;;45407:13;;;45435:18;45709:41;:5;45736:13;45709:26;:41::i;:::-;45765:47;:8;45795:16;45765:29;:47::i;:::-;45908:16;;;45891:1;45908:16;;;;;;;;;-1:-1:-1;;;45656:279:0;;;-1:-1:-1;45656:279:0;;-1:-1:-1;45827:13:0;;-1:-1:-1;45863:4:0;;-1:-1:-1;45891:1:0;-1:-1:-1;45908:16:0;-1:-1:-1;45656:279:0;-1:-1:-1;45286:657:0:o;55412:104::-;55468:13;55501:7;55494:14;;;;;:::i;59745:436::-;59838:4;52925:10;59838:4;59921:25;52925:10;59938:7;59921:9;:25::i;:::-;59894:52;;59985:15;59965:16;:35;;59957:85;;;;-1:-1:-1;;;59957:85:0;;10238:2:1;59957:85:0;;;10220:21:1;10277:2;10257:18;;;10250:30;10316:34;10296:18;;;10289:62;-1:-1:-1;;;10367:18:1;;;10360:35;10412:19;;59957:85:0;10036:401:1;59957:85:0;60078:60;60087:5;60094:7;60122:15;60103:16;:34;60078:8;:60::i;56826:193::-;56905:4;52925:10;56961:28;52925:10;56978:2;56982:6;56961:9;:28::i;78769:172::-;76384:13;:11;:13::i;:::-;78866:22:::1;78872:8;78882:5;78866;:22::i;:::-;78904:29;78909:8;78919:5;78926:6;78904:29;;;;;;;;:::i;:::-;;;;;;;;78769:172:::0;;;:::o;73841:645::-;74085:8;74066:15;:27;;74058:69;;;;-1:-1:-1;;;74058:69:0;;11037:2:1;74058:69:0;;;11019:21:1;11076:2;11056:18;;;11049:30;11115:31;11095:18;;;11088:59;11164:18;;74058:69:0;10835:353:1;74058:69:0;74140:18;73016:95;74200:5;74207:7;74216:5;74223:16;74233:5;74223:9;:16::i;:::-;74171:79;;;;;;11480:25:1;;;;-1:-1:-1;;;;;11579:15:1;;;11559:18;;;11552:43;11631:15;;;;11611:18;;;11604:43;11663:18;;;11656:34;11706:19;;;11699:35;11750:19;;;11743:35;;;11452:19;;74171:79:0;;;;;;;;;;;;74161:90;;;;;;74140:111;;74264:12;74279:28;74296:10;74279:16;:28::i;:::-;74264:43;;74320:14;74337:28;74351:4;74357:1;74360;74363;74337:13;:28::i;:::-;74320:45;;74394:5;-1:-1:-1;;;;;74384:15:0;:6;-1:-1:-1;;;;;74384:15:0;;74376:58;;;;-1:-1:-1;;;74376:58:0;;11991:2:1;74376:58:0;;;11973:21:1;12030:2;12010:18;;;12003:30;12069:32;12049:18;;;12042:60;12119:18;;74376:58:0;11789:354:1;74376:58:0;74447:31;74456:5;74463:7;74472:5;74447:8;:31::i;:::-;74047:439;;;73841:645;;;;;;;:::o;67654:219::-;67741:7;-1:-1:-1;;;;;67769:22:0;;67786:4;67769:22;67761:62;;;;-1:-1:-1;;;67761:62:0;;12350:2:1;67761:62:0;;;12332:21:1;12389:2;12369:18;;;12362:30;12428:29;12408:18;;;12401:57;12475:18;;67761:62:0;12148:351:1;67761:62:0;68353:7;67841:24;67834:31;67654:219;-1:-1:-1;;;67654:219:0:o;57082:151::-;-1:-1:-1;;;;;57198:18:0;;;57171:7;57198:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;57082:151::o;77397:201::-;76384:13;:11;:13::i;:::-;-1:-1:-1;;;;;77486:22:0;::::1;77478:73;;;::::0;-1:-1:-1;;;77478:73:0;;12706:2:1;77478:73:0::1;::::0;::::1;12688:21:1::0;12745:2;12725:18;;;12718:30;12784:34;12764:18;;;12757:62;-1:-1:-1;;;12835:18:1;;;12828:36;12881:19;;77478:73:0::1;12504:402:1::0;77478:73:0::1;77562:28;77581:8;77562:18;:28::i;:::-;77397:201:::0;:::o;63738:346::-;-1:-1:-1;;;;;63840:19:0;;63832:68;;;;-1:-1:-1;;;63832:68:0;;13113:2:1;63832:68:0;;;13095:21:1;13152:2;13132:18;;;13125:30;13191:34;13171:18;;;13164:62;-1:-1:-1;;;13242:18:1;;;13235:34;13286:19;;63832:68:0;12911:400:1;63832:68:0;-1:-1:-1;;;;;63919:21:0;;63911:68;;;;-1:-1:-1;;;63911:68:0;;13518:2:1;63911:68:0;;;13500:21:1;13557:2;13537:18;;;13530:30;13596:34;13576:18;;;13569:62;-1:-1:-1;;;13647:18:1;;;13640:32;13689:19;;63911:68:0;13316:398:1;63911:68:0;-1:-1:-1;;;;;63992:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;64044:32;;1461:25:1;;;64044:32:0;;1434:18:1;64044:32:0;;;;;;;;63738:346;;;:::o;64375:419::-;64476:24;64503:25;64513:5;64520:7;64503:9;:25::i;:::-;64476:52;;-1:-1:-1;;64543:16:0;:37;64539:248;;64625:6;64605:16;:26;;64597:68;;;;-1:-1:-1;;;64597:68:0;;13921:2:1;64597:68:0;;;13903:21:1;13960:2;13940:18;;;13933:30;13999:31;13979:18;;;13972:59;14048:18;;64597:68:0;13719:353:1;64597:68:0;64709:51;64718:5;64725:7;64753:6;64734:16;:25;64709:8;:51::i;:::-;64465:329;64375:419;;;:::o;60651:806::-;-1:-1:-1;;;;;60748:18:0;;60740:68;;;;-1:-1:-1;;;60740:68:0;;14279:2:1;60740:68:0;;;14261:21:1;14318:2;14298:18;;;14291:30;14357:34;14337:18;;;14330:62;-1:-1:-1;;;14408:18:1;;;14401:35;14453:19;;60740:68:0;14077:401:1;60740:68:0;-1:-1:-1;;;;;60827:16:0;;60819:64;;;;-1:-1:-1;;;60819:64:0;;14685:2:1;60819:64:0;;;14667:21:1;14724:2;14704:18;;;14697:30;14763:34;14743:18;;;14736:62;-1:-1:-1;;;14814:18:1;;;14807:33;14857:19;;60819:64:0;14483:399:1;60819:64:0;-1:-1:-1;;;;;60969:15:0;;60947:19;60969:15;;;:9;:15;;;;;;61003:21;;;;60995:72;;;;-1:-1:-1;;;60995:72:0;;15089:2:1;60995:72:0;;;15071:21:1;15128:2;15108:18;;;15101:30;15167:34;15147:18;;;15140:62;-1:-1:-1;;;15218:18:1;;;15211:36;15264:19;;60995:72:0;14887:402:1;60995:72:0;-1:-1:-1;;;;;61103:15:0;;;;;;;:9;:15;;;;;;61121:20;;;61103:38;;61321:13;;;;;;;;;;:23;;;;;;61373:26;;;;;;61135:6;1461:25:1;;1449:2;1434:18;;1315:177;61373:26:0;;;;;;;;61412:37;62625:675;43924:268;43977:7;44009:4;-1:-1:-1;;;;;44018:11:0;44001:28;;:63;;;;;44050:14;44033:13;:31;44001:63;43997:188;;;-1:-1:-1;44088:22:0;;43924:268::o;43997:188::-;44150:23;44292:81;;;42116:95;44292:81;;;16719:25:1;44315:11:0;16760:18:1;;;16753:34;;;;44328:14:0;16803:18:1;;;16796:34;44344:13:0;16846:18:1;;;16839:34;44367:4:0;16889:19:1;;;16882:61;44255:7:0;;16691:19:1;;44292:81:0;;;;;;;;;;;;44282:92;;;;;;44275:99;;44200:182;;78614:147;78719:34;78737:7;78746:6;78719:17;:34::i;:::-;78614:147;;:::o;62625:675::-;-1:-1:-1;;;;;62709:21:0;;62701:67;;;;-1:-1:-1;;;62701:67:0;;15496:2:1;62701:67:0;;;15478:21:1;15535:2;15515:18;;;15508:30;15574:34;15554:18;;;15547:62;-1:-1:-1;;;15625:18:1;;;15618:31;15666:19;;62701:67:0;15294:397:1;62701:67:0;-1:-1:-1;;;;;62868:18:0;;62843:22;62868:18;;;:9;:18;;;;;;62905:24;;;;62897:71;;;;-1:-1:-1;;;62897:71:0;;15898:2:1;62897:71:0;;;15880:21:1;15937:2;15917:18;;;15910:30;15976:34;15956:18;;;15949:62;-1:-1:-1;;;16027:18:1;;;16020:32;16069:19;;62897:71:0;15696:398:1;62897:71:0;-1:-1:-1;;;;;63004:18:0;;;;;;:9;:18;;;;;;;;63025:23;;;63004:44;;63143:12;:22;;;;;;;63194:37;1461:25:1;;;63004:18:0;;;63194:37;;1434:18:1;63194:37:0;1315:177:1;76663:132:0;76544:7;76571:6;-1:-1:-1;;;;;76571:6:0;52925:10;76727:23;76719:68;;;;-1:-1:-1;;;76719:68:0;;16301:2:1;76719:68:0;;;16283:21:1;;;16320:18;;;16313:30;16379:34;16359:18;;;16352:62;16431:18;;76719:68:0;16099:356:1;77758:191:0;77832:16;77851:6;;-1:-1:-1;;;;;77868:17:0;;;-1:-1:-1;;;;;;77868:17:0;;;;;;77901:40;;77851:6;;;;;;;77901:40;;77832:16;77901:40;77821:128;77758:191;:::o;12652:274::-;12746:13;10597:66;12776:47;;12772:147;;12847:15;12856:5;12847:8;:15::i;:::-;12840:22;;;;12772:147;12902:5;12895:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75063:207;-1:-1:-1;;;;;75184:14:0;;75123:15;75184:14;;;:7;:14;;;;;3657;;3794:1;3776:19;;;;3657:14;75245:17;75140:130;75063:207;;;:::o;45024:167::-;45101:7;45128:55;45150:20;:18;:20::i;:::-;45172:10;39604:4;39598:11;-1:-1:-1;;;39623:23:0;;39676:4;39667:14;;39660:39;;;;39729:4;39720:14;;39713:34;39784:4;39769:20;;;39401:406;37617:236;37702:7;37723:17;37742:18;37764:25;37775:4;37781:1;37784;37787;37764:10;:25::i;:::-;37722:67;;;;37800:18;37812:5;37800:11;:18::i;:::-;-1:-1:-1;37836:9:0;37617:236;-1:-1:-1;;;;;37617:236:0:o;71803:207::-;71733:4;71918:6;71896:19;56410:12;;;56322:108;71896:19;:28;;;;:::i;:::-;:37;;71888:75;;;;-1:-1:-1;;;71888:75:0;;17156:2:1;71888:75:0;;;17138:21:1;17195:2;17175:18;;;17168:30;17234:27;17214:18;;;17207:55;17279:18;;71888:75:0;16954:349:1;71888:75:0;71974:28;71986:7;71995:6;71974:11;:28::i;11306:415::-;11365:13;11391:11;11405:16;11416:4;11405:10;:16::i;:::-;11531:14;;;11542:2;11531:14;;;;;;;;;11391:30;;-1:-1:-1;11511:17:0;;11531:14;;;;;;;;;-1:-1:-1;;;11624:16:0;;;-1:-1:-1;11670:4:0;11661:14;;11654:28;;;;-1:-1:-1;11624:16:0;11306:415::o;36001:1477::-;36089:7;;37023:66;37010:79;;37006:163;;;-1:-1:-1;37122:1:0;;-1:-1:-1;37126:30:0;37106:51;;37006:163;37283:24;;;37266:14;37283:24;;;;;;;;;17535:25:1;;;17608:4;17596:17;;17576:18;;;17569:45;;;;17630:18;;;17623:34;;;17673:18;;;17666:34;;;37283:24:0;;17507:19:1;;37283:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37283:24:0;;-1:-1:-1;;37283:24:0;;;-1:-1:-1;;;;;;;37322:20:0;;37318:103;;37375:1;37379:29;37359:50;;;;;;;37318:103;37441:6;-1:-1:-1;37449:20:0;;-1:-1:-1;36001:1477:0;;;;;;;;:::o;31461:521::-;31539:20;31530:5;:29;;;;;;;;:::i;:::-;;31526:449;;31461:521;:::o;31526:449::-;31637:29;31628:5;:38;;;;;;;;:::i;:::-;;31624:351;;31683:34;;-1:-1:-1;;;31683:34:0;;18045:2:1;31683:34:0;;;18027:21:1;18084:2;18064:18;;;18057:30;18123:26;18103:18;;;18096:54;18167:18;;31683:34:0;17843:348:1;31624:351:0;31748:35;31739:5;:44;;;;;;;;:::i;:::-;;31735:240;;31800:41;;-1:-1:-1;;;31800:41:0;;18398:2:1;31800:41:0;;;18380:21:1;18437:2;18417:18;;;18410:30;18476:33;18456:18;;;18449:61;18527:18;;31800:41:0;18196:355:1;31735:240:0;31872:30;31863:5;:39;;;;;;;;:::i;:::-;;31859:116;;31919:44;;-1:-1:-1;;;31919:44:0;;18758:2:1;31919:44:0;;;18740:21:1;18797:2;18777:18;;;18770:30;18836:34;18816:18;;;18809:62;-1:-1:-1;;;18887:18:1;;;18880:32;18929:19;;31919:44:0;18556:398:1;61744:548:0;-1:-1:-1;;;;;61828:21:0;;61820:65;;;;-1:-1:-1;;;61820:65:0;;19161:2:1;61820:65:0;;;19143:21:1;19200:2;19180:18;;;19173:30;19239:33;19219:18;;;19212:61;19290:18;;61820:65:0;18959:355:1;61820:65:0;61976:6;61960:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;62131:18:0;;;;;;:9;:18;;;;;;;;:28;;;;;;62186:37;1461:25:1;;;62186:37:0;;1434:18:1;62186:37:0;;;;;;;78614:147;;:::o;11798:251::-;11859:7;11932:4;11896:40;;11960:2;11951:11;;11947:71;;;11986:20;;-1:-1:-1;;;11986:20:0;;;;;;;;;;;14:423:1;56:3;94:5;88:12;121:6;116:3;109:19;146:1;156:162;170:6;167:1;164:13;156:162;;;232:4;288:13;;;284:22;;278:29;260:11;;;256:20;;249:59;185:12;156:162;;;160:3;363:1;356:4;347:6;342:3;338:16;334:27;327:38;426:4;419:2;415:7;410:2;402:6;398:15;394:29;389:3;385:39;381:50;374:57;;;14:423;;;;:::o;442:220::-;591:2;580:9;573:21;554:4;611:45;652:2;641:9;637:18;629:6;611:45;:::i;667:131::-;-1:-1:-1;;;;;742:31:1;;732:42;;722:70;;788:1;785;778:12;803:315;871:6;879;932:2;920:9;911:7;907:23;903:32;900:52;;;948:1;945;938:12;900:52;987:9;974:23;1006:31;1031:5;1006:31;:::i;:::-;1056:5;1108:2;1093:18;;;;1080:32;;-1:-1:-1;;;803:315:1:o;1497:456::-;1574:6;1582;1590;1643:2;1631:9;1622:7;1618:23;1614:32;1611:52;;;1659:1;1656;1649:12;1611:52;1698:9;1685:23;1717:31;1742:5;1717:31;:::i;:::-;1767:5;-1:-1:-1;1824:2:1;1809:18;;1796:32;1837:33;1796:32;1837:33;:::i;:::-;1497:456;;1889:7;;-1:-1:-1;;;1943:2:1;1928:18;;;;1915:32;;1497:456::o;2329:964::-;2454:6;2462;2470;2478;2486;2539:3;2527:9;2518:7;2514:23;2510:33;2507:53;;;2556:1;2553;2546:12;2507:53;2595:9;2582:23;2614:31;2639:5;2614:31;:::i;:::-;2664:5;-1:-1:-1;2721:2:1;2706:18;;2693:32;2734:33;2693:32;2734:33;:::i;:::-;2786:7;-1:-1:-1;2840:2:1;2825:18;;2812:32;;-1:-1:-1;2895:2:1;2880:18;;2867:32;2918:18;2948:14;;;2945:34;;;2975:1;2972;2965:12;2945:34;3013:6;3002:9;2998:22;2988:32;;3058:7;3051:4;3047:2;3043:13;3039:27;3029:55;;3080:1;3077;3070:12;3029:55;3120:2;3107:16;3146:2;3138:6;3135:14;3132:34;;;3162:1;3159;3152:12;3132:34;3207:7;3202:2;3193:6;3189:2;3185:15;3181:24;3178:37;3175:57;;;3228:1;3225;3218:12;3175:57;2329:964;;;;-1:-1:-1;2329:964:1;;-1:-1:-1;3259:2:1;3251:11;;3281:6;2329:964;-1:-1:-1;;;2329:964:1:o;3298:247::-;3357:6;3410:2;3398:9;3389:7;3385:23;3381:32;3378:52;;;3426:1;3423;3416:12;3378:52;3465:9;3452:23;3484:31;3509:5;3484:31;:::i;3550:1259::-;3956:3;3951;3947:13;3939:6;3935:26;3924:9;3917:45;3898:4;3981:2;4019:3;4014:2;4003:9;3999:18;3992:31;4046:46;4087:3;4076:9;4072:19;4064:6;4046:46;:::i;:::-;4140:9;4132:6;4128:22;4123:2;4112:9;4108:18;4101:50;4174:33;4200:6;4192;4174:33;:::i;:::-;4238:2;4223:18;;4216:34;;;-1:-1:-1;;;;;4287:32:1;;4281:3;4266:19;;4259:61;4307:3;4336:19;;4329:35;;;4401:22;;;4395:3;4380:19;;4373:51;4473:13;;4495:22;;;4571:15;;;;-1:-1:-1;4533:15:1;;;;-1:-1:-1;4614:169:1;4628:6;4625:1;4622:13;4614:169;;;4689:13;;4677:26;;4758:15;;;;4723:12;;;;4650:1;4643:9;4614:169;;;-1:-1:-1;4800:3:1;;3550:1259;-1:-1:-1;;;;;;;;;;;;3550:1259:1:o;5022:127::-;5083:10;5078:3;5074:20;5071:1;5064:31;5114:4;5111:1;5104:15;5138:4;5135:1;5128:15;5154:1125;5241:6;5249;5257;5310:2;5298:9;5289:7;5285:23;5281:32;5278:52;;;5326:1;5323;5316:12;5278:52;5365:9;5352:23;5384:31;5409:5;5384:31;:::i;:::-;5434:5;-1:-1:-1;5486:2:1;5471:18;;5458:32;;-1:-1:-1;5541:2:1;5526:18;;5513:32;5564:18;5594:14;;;5591:34;;;5621:1;5618;5611:12;5591:34;5659:6;5648:9;5644:22;5634:32;;5704:7;5697:4;5693:2;5689:13;5685:27;5675:55;;5726:1;5723;5716:12;5675:55;5762:2;5749:16;5784:2;5780;5777:10;5774:36;;;5790:18;;:::i;:::-;5865:2;5859:9;5833:2;5919:13;;-1:-1:-1;;5915:22:1;;;5939:2;5911:31;5907:40;5895:53;;;5963:18;;;5983:22;;;5960:46;5957:72;;;6009:18;;:::i;:::-;6049:10;6045:2;6038:22;6084:2;6076:6;6069:18;6124:7;6119:2;6114;6110;6106:11;6102:20;6099:33;6096:53;;;6145:1;6142;6135:12;6096:53;6201:2;6196;6192;6188:11;6183:2;6175:6;6171:15;6158:46;6246:1;6241:2;6236;6228:6;6224:15;6220:24;6213:35;6267:6;6257:16;;;;;;;5154:1125;;;;;:::o;6284:829::-;6395:6;6403;6411;6419;6427;6435;6443;6496:3;6484:9;6475:7;6471:23;6467:33;6464:53;;;6513:1;6510;6503:12;6464:53;6552:9;6539:23;6571:31;6596:5;6571:31;:::i;:::-;6621:5;-1:-1:-1;6678:2:1;6663:18;;6650:32;6691:33;6650:32;6691:33;:::i;:::-;6743:7;-1:-1:-1;6797:2:1;6782:18;;6769:32;;-1:-1:-1;6848:2:1;6833:18;;6820:32;;-1:-1:-1;6904:3:1;6889:19;;6876:33;6953:4;6940:18;;6928:31;;6918:59;;6973:1;6970;6963:12;6918:59;6284:829;;;;-1:-1:-1;6284:829:1;;;;6996:7;7050:3;7035:19;;7022:33;;-1:-1:-1;7102:3:1;7087:19;;;7074:33;;6284:829;-1:-1:-1;;6284:829:1:o;7118:388::-;7186:6;7194;7247:2;7235:9;7226:7;7222:23;7218:32;7215:52;;;7263:1;7260;7253:12;7215:52;7302:9;7289:23;7321:31;7346:5;7321:31;:::i;:::-;7371:5;-1:-1:-1;7428:2:1;7413:18;;7400:32;7441:33;7400:32;7441:33;:::i;:::-;7493:7;7483:17;;;7118:388;;;;;:::o;7511:380::-;7590:1;7586:12;;;;7633;;;7654:61;;7708:4;7700:6;7696:17;7686:27;;7654:61;7761:2;7753:6;7750:14;7730:18;7727:38;7724:161;;7807:10;7802:3;7798:20;7795:1;7788:31;7842:4;7839:1;7832:15;7870:4;7867:1;7860:15;7896:127;7957:10;7952:3;7948:20;7945:1;7938:31;7988:4;7985:1;7978:15;8012:4;8009:1;8002:15;8028:125;8093:9;;;8114:10;;;8111:36;;;8127:18;;:::i;8570:734::-;-1:-1:-1;;;;;8877:15:1;;;8859:34;;8929:15;;8924:2;8909:18;;8902:43;8976:2;8961:18;;8954:34;;;9019:2;9004:18;;8997:34;;;8839:3;9062;9047:19;;9040:32;;;9088:19;;9081:35;;;8802:4;9109:6;9159;9153:3;9138:19;;9125:49;9224:1;9218:3;9209:6;9198:9;9194:22;9190:32;9183:43;9294:3;9287:2;9283:7;9278:2;9270:6;9266:15;9262:29;9251:9;9247:45;9243:55;9235:63;;8570:734;;;;;;;;;:::o;9309:184::-;9379:6;9432:2;9420:9;9411:7;9407:23;9403:32;9400:52;;;9448:1;9445;9438:12;9400:52;-1:-1:-1;9471:16:1;;9309:184;-1:-1:-1;9309:184:1:o;9903:128::-;9970:9;;;9991:11;;;9988:37;;;10005:18;;:::i;10442:388::-;10676:1;10672;10667:3;10663:11;10659:19;10651:6;10647:32;10636:9;10629:51;10716:6;10711:2;10700:9;10696:18;10689:34;10759:2;10754;10743:9;10739:18;10732:30;10610:4;10779:45;10820:2;10809:9;10805:18;10797:6;10779:45;:::i;:::-;10771:53;10442:388;-1:-1:-1;;;;;10442:388:1:o;17711:127::-;17772:10;17767:3;17763:20;17760:1;17753:31;17803:4;17800:1;17793:15;17827:4;17824:1;17817:15
Swarm Source
ipfs://f57df2286cdc999f6d62e674e692c68fe3dfd807fb945c7a95c6a33df021afa6
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.