ERC-20
Overview
Max Total Supply
88,888 KWL
Holders
66
Market
Price
$0.00 @ 0.000000 S
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
101.306103654903779599 KWLValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
KEWLEXCHANGE
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-03-08 */ /* SPDX-License-Identifier: UNLICENSED KKKKKKKKK KKKKKKKEEEEEEEEEEEEEEEEEEEEEEWWWWWWWW WWWWWWWWLLLLLLLLLLL K:::::::K K:::::KE::::::::::::::::::::EW::::::W W::::::WL:::::::::L K:::::::K K:::::KE::::::::::::::::::::EW::::::W W::::::WL:::::::::L K:::::::K K::::::KEE::::::EEEEEEEEE::::EW::::::W W::::::WLL:::::::LL KK::::::K K:::::KKK E:::::E EEEEEE W:::::W WWWWW W:::::W L:::::L K:::::K K:::::K E:::::E W:::::W W:::::W W:::::W L:::::L K::::::K:::::K E::::::EEEEEEEEEE W:::::W W:::::::W W:::::W L:::::L K:::::::::::K E:::::::::::::::E W:::::W W:::::::::W W:::::W L:::::L K:::::::::::K E:::::::::::::::E W:::::W W:::::W:::::W W:::::W L:::::L K::::::K:::::K E::::::EEEEEEEEEE W:::::W W:::::W W:::::W W:::::W L:::::L K:::::K K:::::K E:::::E W:::::W:::::W W:::::W:::::W L:::::L KK::::::K K:::::KKK E:::::E EEEEEE W:::::::::W W:::::::::W L:::::L LLLLLL K:::::::K K::::::KEE::::::EEEEEEEE:::::E W:::::::W W:::::::W LL:::::::LLLLLLLLL:::::L K:::::::K K:::::KE::::::::::::::::::::E W:::::W W:::::W L::::::::::::::::::::::L K:::::::K K:::::KE::::::::::::::::::::E W:::W W:::W L::::::::::::::::::::::L KKKKKKKKK KKKKKKKEEEEEEEEEEEEEEEEEEEEEE WWW WWW LLLLLLLLLLLLLLLLLLLLLLLL Web: https://kewl.exchange https://kewlswap.com Telegram: https://t.me/kewlswap Twitter: https://twitter.com/kewlswap */ // File: @openzeppelin/[email protected]/utils/Nonces.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol) pragma solidity ^0.8.20; /** * @dev Provides tracking nonces for addresses. Nonces will only increment. */ abstract contract Nonces { /** * @dev The nonce used for an `account` is not the expected current nonce. */ error InvalidAccountNonce(address account, uint256 currentNonce); mapping(address account => uint256) private _nonces; /** * @dev Returns the next unused nonce for an address. */ function nonces(address owner) public view virtual returns (uint256) { return _nonces[owner]; } /** * @dev Consumes a nonce. * * Returns the current value and increments nonce. */ function _useNonce(address owner) internal virtual returns (uint256) { // For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be // decremented or reset. This guarantees that the nonce never overflows. unchecked { // It is important to do x++ and not ++x here. return _nonces[owner]++; } } /** * @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`. */ function _useCheckedNonce(address owner, uint256 nonce) internal virtual { uint256 current = _useNonce(owner); if (nonce != current) { revert InvalidAccountNonce(owner, current); } } } // File: @openzeppelin/[email protected]/interfaces/IERC5267.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol) pragma solidity ^0.8.20; 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: @openzeppelin/[email protected]/utils/StorageSlot.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol) // This file was procedurally generated from scripts/generate/templates/StorageSlot.js. pragma solidity ^0.8.20; /** * @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(newImplementation.code.length > 0); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` */ 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: @openzeppelin/[email protected]/utils/ShortStrings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/ShortStrings.sol) pragma solidity ^0.8.20; // | 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: @openzeppelin/[email protected]/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @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: @openzeppelin/[email protected]/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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 towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (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 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) 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. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 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. uint256 twos = denominator & (0 - denominator); 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 (unsignedRoundsUp(rounding) && 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 * towards zero. * * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: @openzeppelin/[email protected]/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @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), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(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) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } 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 bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/[email protected]/utils/cryptography/MessageHashUtils.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol) pragma solidity ^0.8.20; /** * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing. * * The library provides methods for generating a hash of a message that conforms to the * https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712] * specifications. */ library MessageHashUtils { /** * @dev Returns the keccak256 digest of an EIP-191 signed data with version * `0x45` (`personal_sign` messages). * * The digest is calculated by prefixing a bytes32 `messageHash` with * `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method. * * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with * keccak256, although any bytes32 value can be safely used because the final digest will * be re-hashed. * * See {ECDSA-recover}. */ function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) { /// @solidity memory-safe-assembly assembly { mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20) } } /** * @dev Returns the keccak256 digest of an EIP-191 signed data with version * `0x45` (`personal_sign` messages). * * The digest is calculated by prefixing an arbitrary `message` with * `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method. * * See {ECDSA-recover}. */ function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) { return keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message)); } /** * @dev Returns the keccak256 digest of an EIP-191 signed data with version * `0x00` (data with intended validator). * * The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended * `validator` address. Then hashing the result. * * See {ECDSA-recover}. */ function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { return keccak256(abi.encodePacked(hex"19_00", validator, data)); } /** * @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`). * * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with * `\x19\x01` and hashing the result. It corresponds to the hash signed by the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712. * * See {ECDSA-recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, hex"19_01") mstore(add(ptr, 0x02), domainSeparator) mstore(add(ptr, 0x22), structHash) digest := keccak256(ptr, 0x42) } } } // File: @openzeppelin/[email protected]/utils/cryptography/EIP712.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.20; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose * encoding is very generic and therefore its 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 order to * produce the hash of their typed data 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. * * @custom:oz-upgrades-unsafe-allow state-variable-immutable */ 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 MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev See {IERC-5267}. */ function eip712Domain() public view virtual returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions ) { return ( hex"0f", // 01111 _EIP712Name(), _EIP712Version(), block.chainid, address(this), bytes32(0), new uint256[](0) ); } /** * @dev The name parameter for the EIP712 domain. * * NOTE: By default this function reads _name which is an immutable value. * It only reads from storage if necessary (in case the value is too large to fit in a ShortString). */ // solhint-disable-next-line func-name-mixedcase function _EIP712Name() internal view returns (string memory) { return _name.toStringWithFallback(_nameFallback); } /** * @dev The version parameter for the EIP712 domain. * * NOTE: By default this function reads _version which is an immutable value. * It only reads from storage if necessary (in case the value is too large to fit in a ShortString). */ // solhint-disable-next-line func-name-mixedcase function _EIP712Version() internal view returns (string memory) { return _version.toStringWithFallback(_versionFallback); } } // File: @openzeppelin/[email protected]/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.20; /** * @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 } /** * @dev The signature derives the `address(0)`. */ error ECDSAInvalidSignature(); /** * @dev The signature has an invalid length. */ error ECDSAInvalidSignatureLength(uint256 length); /** * @dev The signature has an S value that is in the upper half order. */ error ECDSAInvalidSignatureS(bytes32 s); /** * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not * return address(0) without also returning an error description. Errors are documented using an enum (error type) * and a bytes32 providing additional information about the error. * * If no error is returned, then the address can be used for verification purposes. * * The `ecrecover` EVM precompile 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 {MessageHashUtils-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] */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) { 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, bytes32(signature.length)); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM precompile 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 {MessageHashUtils-toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature); _throwError(error, errorArg); 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] */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) { unchecked { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); // We do not check for an overflow here since the shift operation results in 0 or 1. 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. */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs); _throwError(error, errorArg); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError, bytes32) { // 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, s); } // 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, bytes32(0)); } return (signer, RecoverError.NoError, bytes32(0)); } /** * @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, bytes32 errorArg) = tryRecover(hash, v, r, s); _throwError(error, errorArg); return recovered; } /** * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided. */ function _throwError(RecoverError error, bytes32 errorArg) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert ECDSAInvalidSignature(); } else if (error == RecoverError.InvalidSignatureLength) { revert ECDSAInvalidSignatureLength(uint256(errorArg)); } else if (error == RecoverError.InvalidSignatureS) { revert ECDSAInvalidSignatureS(errorArg); } } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @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. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ 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]. * * CAUTION: See Security Considerations above. */ 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: @openzeppelin/[email protected]/interfaces/draft-IERC6093.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); } // File: @openzeppelin/[email protected]/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/[email protected]/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/[email protected]/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); } // File: @openzeppelin/[email protected]/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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: @openzeppelin/[email protected]/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; /** * @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}. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Permit.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Permit.sol) pragma solidity ^0.8.20; /** * @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. */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712, Nonces { bytes32 private constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev Permit deadline has expired. */ error ERC2612ExpiredSignature(uint256 deadline); /** * @dev Mismatched signature. */ error ERC2612InvalidSigner(address signer, address owner); /** * @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") {} /** * @inheritdoc IERC20Permit */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { if (block.timestamp > deadline) { revert ERC2612ExpiredSignature(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); if (signer != owner) { revert ERC2612InvalidSigner(signer, owner); } _approve(owner, spender, value); } /** * @inheritdoc IERC20Permit */ function nonces(address owner) public view virtual override(IERC20Permit, Nonces) returns (uint256) { return super.nonces(owner); } /** * @inheritdoc IERC20Permit */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view virtual returns (bytes32) { return _domainSeparatorV4(); } } // File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.20; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys a `value` amount of tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 value) public virtual { _burn(_msgSender(), value); } /** * @dev Destroys a `value` amount of tokens from `account`, deducting from * the caller's allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `value`. */ function burnFrom(address account, uint256 value) public virtual { _spendAllowance(account, _msgSender(), value); _burn(account, value); } } // Compatible with OpenZeppelin Contracts ^5.0.0 contract KEWLEXCHANGE is ERC20, ERC20Burnable, ERC20Permit, Ownable { constructor(address initialOwner) ERC20("KEWL EXCHANGE", "KWL") ERC20Permit("KEWL EXCHANGE") Ownable(initialOwner) { _mint(msg.sender, 1000000 * 10 ** decimals()); } function website() public pure returns(string memory){ return "https://kewl.exchange"; } // Added to rescue assets sent to the contract address in error. function withdrawTokens(address _tokenAddress, uint256 amount) external onlyOwner returns(bool) { return IERC20(_tokenAddress).transfer(owner(), amount); } // Added to rescue assets sent to the contract address in error. function getContractTokenBalance(address _tokenAddress) public view returns(uint256) { return IERC20(_tokenAddress).balanceOf(address(this)); } // Added to rescue assets sent to the contract address in error. function getContractBalance() public view returns(uint256) { return address(this).balance; } // Added to rescue assets sent to the contract address in error. function withdrawEther(uint256 amount) public onlyOwner returns(bool) { safeTransferEther(msg.sender, amount); return true; } // Added to rescue assets sent to the contract address in error. function safeTransferEther(address to, uint256 value) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, "Ether transfer failed"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":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":"value","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":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":[],"name":"getContractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"getContractTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"value","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":"value","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"},{"inputs":[],"name":"website","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawEther","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610160604052348015610010575f80fd5b5060405161331038038061331083398181016040528101906100329190610772565b806040518060400160405280600d81526020017f4b45574c2045584348414e474500000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600d81526020017f4b45574c2045584348414e4745000000000000000000000000000000000000008152506040518060400160405280600381526020017f4b574c0000000000000000000000000000000000000000000000000000000000815250816003908161011b91906109d7565b50806004908161012b91906109d7565b50505061014260058361029660201b90919060201c565b610120818152505061015e60068261029660201b90919060201c565b6101408181525050818051906020012060e08181525050808051906020012061010081815250504660a0818152505061019b6102e360201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250505050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610249575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016102409190610ab5565b60405180910390fd5b6102588161033d60201b60201c565b506102903361026b61040060201b60201c565b600a6102779190610c36565b620f42406102859190610c80565b61040860201b60201c565b50610ed3565b5f6020835110156102b7576102b08361048d60201b60201c565b90506102dd565b826102c7836104f260201b60201c565b5f0190816102d591906109d7565b5060ff5f1b90505b92915050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60e051610100514630604051602001610322959493929190610ce8565b60405160208183030381529060405280519060200120905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610478575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161046f9190610ab5565b60405180910390fd5b6104895f83836104fb60201b60201c565b5050565b5f80829050601f815111156104d957826040517f305a27a90000000000000000000000000000000000000000000000000000000081526004016104d09190610d9f565b60405180910390fd5b8051816104e590610dec565b5f1c175f1b915050919050565b5f819050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361054b578060025f82825461053f9190610e52565b92505081905550610619565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156105d4578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016105cb93929190610e85565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610660578060025f82825403925050819055506106aa565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107079190610eba565b60405180910390a3505050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61074182610718565b9050919050565b61075181610737565b811461075b575f80fd5b50565b5f8151905061076c81610748565b92915050565b5f6020828403121561078757610786610714565b5b5f6107948482850161075e565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061081857607f821691505b60208210810361082b5761082a6107d4565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261088d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610852565b6108978683610852565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6108db6108d66108d1846108af565b6108b8565b6108af565b9050919050565b5f819050919050565b6108f4836108c1565b610908610900826108e2565b84845461085e565b825550505050565b5f90565b61091c610910565b6109278184846108eb565b505050565b5b8181101561094a5761093f5f82610914565b60018101905061092d565b5050565b601f82111561098f5761096081610831565b61096984610843565b81016020851015610978578190505b61098c61098485610843565b83018261092c565b50505b505050565b5f82821c905092915050565b5f6109af5f1984600802610994565b1980831691505092915050565b5f6109c783836109a0565b9150826002028217905092915050565b6109e08261079d565b67ffffffffffffffff8111156109f9576109f86107a7565b5b610a038254610801565b610a0e82828561094e565b5f60209050601f831160018114610a3f575f8415610a2d578287015190505b610a3785826109bc565b865550610a9e565b601f198416610a4d86610831565b5f5b82811015610a7457848901518255600182019150602085019450602081019050610a4f565b86831015610a915784890151610a8d601f8916826109a0565b8355505b6001600288020188555050505b505050505050565b610aaf81610737565b82525050565b5f602082019050610ac85f830184610aa6565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b6001851115610b5057808604811115610b2c57610b2b610ace565b5b6001851615610b3b5780820291505b8081029050610b4985610afb565b9450610b10565b94509492505050565b5f82610b685760019050610c23565b81610b75575f9050610c23565b8160018114610b8b5760028114610b9557610bc4565b6001915050610c23565b60ff841115610ba757610ba6610ace565b5b8360020a915084821115610bbe57610bbd610ace565b5b50610c23565b5060208310610133831016604e8410600b8410161715610bf95782820a905083811115610bf457610bf3610ace565b5b610c23565b610c068484846001610b07565b92509050818404811115610c1d57610c1c610ace565b5b81810290505b9392505050565b5f60ff82169050919050565b5f610c40826108af565b9150610c4b83610c2a565b9250610c787fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610b59565b905092915050565b5f610c8a826108af565b9150610c95836108af565b9250828202610ca3816108af565b91508282048414831517610cba57610cb9610ace565b5b5092915050565b5f819050919050565b610cd381610cc1565b82525050565b610ce2816108af565b82525050565b5f60a082019050610cfb5f830188610cca565b610d086020830187610cca565b610d156040830186610cca565b610d226060830185610cd9565b610d2f6080830184610aa6565b9695505050505050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610d718261079d565b610d7b8185610d39565b9350610d8b818560208601610d49565b610d9481610d57565b840191505092915050565b5f6020820190508181035f830152610db78184610d67565b905092915050565b5f81519050919050565b5f819050602082019050919050565b5f610de38251610cc1565b80915050919050565b5f610df682610dbf565b82610e0084610dc9565b9050610e0b81610dd8565b92506020821015610e4b57610e467fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83602003600802610852565b831692505b5050919050565b5f610e5c826108af565b9150610e67836108af565b9250828201905080821115610e7f57610e7e610ace565b5b92915050565b5f606082019050610e985f830186610aa6565b610ea56020830185610cd9565b610eb26040830184610cd9565b949350505050565b5f602082019050610ecd5f830184610cd9565b92915050565b60805160a05160c05160e0516101005161012051610140516123ec610f245f395f61110501525f6110ca01525f6115fe01525f6115dd01525f610d8b01525f610de101525f610e0a01526123ec5ff3fe608060405234801561000f575f80fd5b506004361061014b575f3560e01c806370a08231116100c157806395d89b411161007a57806395d89b41146103b9578063a9059cbb146103d7578063beb0a41614610407578063d505accf14610425578063dd62ed3e14610441578063f2fde38b146104715761014b565b806370a08231146102f1578063715018a61461032157806379cc67901461032b5780637ecebe001461034757806384b0196e146103775780638da5cb5b1461039b5761014b565b806323b872dd1161011357806323b872dd1461021b578063313ce5671461024b5780633644e515146102695780633bed33ce1461028757806342966c68146102b75780636f9fb98a146102d35761014b565b806306b091f91461014f57806306fdde031461017f578063095ea7b31461019d57806314205e28146101cd57806318160ddd146101fd575b5f80fd5b61016960048036038101906101649190611ad5565b61048d565b6040516101769190611b2d565b60405180910390f35b610187610520565b6040516101949190611bb6565b60405180910390f35b6101b760048036038101906101b29190611ad5565b6105b0565b6040516101c49190611b2d565b60405180910390f35b6101e760048036038101906101e29190611bd6565b6105d2565b6040516101f49190611c10565b60405180910390f35b610205610652565b6040516102129190611c10565b60405180910390f35b61023560048036038101906102309190611c29565b61065b565b6040516102429190611b2d565b60405180910390f35b610253610689565b6040516102609190611c94565b60405180910390f35b610271610691565b60405161027e9190611cc5565b60405180910390f35b6102a1600480360381019061029c9190611cde565b61069f565b6040516102ae9190611b2d565b60405180910390f35b6102d160048036038101906102cc9190611cde565b6106bb565b005b6102db6106cf565b6040516102e89190611c10565b60405180910390f35b61030b60048036038101906103069190611bd6565b6106d6565b6040516103189190611c10565b60405180910390f35b61032961071b565b005b61034560048036038101906103409190611ad5565b61072e565b005b610361600480360381019061035c9190611bd6565b61074e565b60405161036e9190611c10565b60405180910390f35b61037f61075f565b6040516103929796959493929190611e09565b60405180910390f35b6103a3610804565b6040516103b09190611e8b565b60405180910390f35b6103c161082c565b6040516103ce9190611bb6565b60405180910390f35b6103f160048036038101906103ec9190611ad5565b6108bc565b6040516103fe9190611b2d565b60405180910390f35b61040f6108de565b60405161041c9190611bb6565b60405180910390f35b61043f600480360381019061043a9190611ef8565b61091b565b005b61045b60048036038101906104569190611f95565b610a60565b6040516104689190611c10565b60405180910390f35b61048b60048036038101906104869190611bd6565b610ae2565b005b5f610496610b66565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6104ba610804565b846040518363ffffffff1660e01b81526004016104d8929190611fd3565b6020604051808303815f875af11580156104f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105189190612024565b905092915050565b60606003805461052f9061207c565b80601f016020809104026020016040519081016040528092919081815260200182805461055b9061207c565b80156105a65780601f1061057d576101008083540402835291602001916105a6565b820191905f5260205f20905b81548152906001019060200180831161058957829003601f168201915b5050505050905090565b5f806105ba610bed565b90506105c7818585610bf4565b600191505092915050565b5f8173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161060c9190611e8b565b602060405180830381865afa158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906120c0565b9050919050565b5f600254905090565b5f80610665610bed565b9050610672858285610c06565b61067d858585610c98565b60019150509392505050565b5f6012905090565b5f61069a610d88565b905090565b5f6106a8610b66565b6106b23383610e3e565b60019050919050565b6106cc6106c6610bed565b82610f39565b50565b5f47905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610723610b66565b61072c5f610fb8565b565b6107408261073a610bed565b83610c06565b61074a8282610f39565b5050565b5f6107588261107b565b9050919050565b5f6060805f805f60606107706110c1565b6107786110fc565b46305f801b5f67ffffffffffffffff811115610797576107966120eb565b5b6040519080825280602002602001820160405280156107c55781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461083b9061207c565b80601f01602080910402602001604051908101604052809291908181526020018280546108679061207c565b80156108b25780601f10610889576101008083540402835291602001916108b2565b820191905f5260205f20905b81548152906001019060200180831161089557829003601f168201915b5050505050905090565b5f806108c6610bed565b90506108d3818585610c98565b600191505092915050565b60606040518060400160405280601581526020017f68747470733a2f2f6b65776c2e65786368616e67650000000000000000000000815250905090565b8342111561096057836040517f627913020000000000000000000000000000000000000000000000000000000081526004016109579190611c10565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861098e8c611137565b896040516020016109a496959493929190612118565b6040516020818303038152906040528051906020012090505f6109c68261118a565b90505f6109d5828787876111a3565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a4957808a6040517f4b800e46000000000000000000000000000000000000000000000000000000008152600401610a40929190612177565b60405180910390fd5b610a548a8a8a610bf4565b50505050505050505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610aea610b66565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b5a575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610b519190611e8b565b60405180910390fd5b610b6381610fb8565b50565b610b6e610bed565b73ffffffffffffffffffffffffffffffffffffffff16610b8c610804565b73ffffffffffffffffffffffffffffffffffffffff1614610beb57610baf610bed565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610be29190611e8b565b60405180910390fd5b565b5f33905090565b610c0183838360016111d1565b505050565b5f610c118484610a60565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610c925781811015610c83578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610c7a9392919061219e565b60405180910390fd5b610c9184848484035f6111d1565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d08575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610cff9190611e8b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d78575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d6f9190611e8b565b60405180910390fd5b610d838383836113a0565b505050565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015610e0357507f000000000000000000000000000000000000000000000000000000000000000046145b15610e30577f00000000000000000000000000000000000000000000000000000000000000009050610e3b565b610e386115b9565b90505b90565b5f8273ffffffffffffffffffffffffffffffffffffffff16825f67ffffffffffffffff811115610e7157610e706120eb565b5b6040519080825280601f01601f191660200182016040528015610ea35781602001600182028036833780820191505090505b50604051610eb19190612217565b5f6040518083038185875af1925050503d805f8114610eeb576040519150601f19603f3d011682016040523d82523d5f602084013e610ef0565b606091505b5050905080610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90612277565b60405180910390fd5b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fa9575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610fa09190611e8b565b60405180910390fd5b610fb4825f836113a0565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60606110f760057f000000000000000000000000000000000000000000000000000000000000000061164e90919063ffffffff16565b905090565b606061113260067f000000000000000000000000000000000000000000000000000000000000000061164e90919063ffffffff16565b905090565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050559050919050565b5f61119c611196610d88565b836116fb565b9050919050565b5f805f806111b38888888861173b565b9250925092506111c38282611822565b829350505050949350505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611241575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016112389190611e8b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112b1575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016112a89190611e8b565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550801561139a578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516113919190611c10565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036113f0578060025f8282546113e491906122c2565b925050819055506114be565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611479578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016114709392919061219e565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611505578060025f828254039250508190555061154f565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516115ac9190611c10565b60405180910390a3505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000046306040516020016116339594939291906122f5565b60405160208183030381529060405280519060200120905090565b606060ff5f1b831461166a5761166383611984565b90506116f5565b8180546116769061207c565b80601f01602080910402602001604051908101604052809291908181526020018280546116a29061207c565b80156116ed5780601f106116c4576101008083540402835291602001916116ed565b820191905f5260205f20905b8154815290600101906020018083116116d057829003601f168201915b505050505090505b92915050565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c1115611777575f600385925092509250611818565b5f6001888888886040515f815260200160405260405161179a9493929190612346565b6020604051602081039080840390855afa1580156117ba573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361180b575f60015f801b93509350935050611818565b805f805f1b935093509350505b9450945094915050565b5f600381111561183557611834612389565b5b82600381111561184857611847612389565b5b0315611980576001600381111561186257611861612389565b5b82600381111561187557611874612389565b5b036118ac576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260038111156118c0576118bf612389565b5b8260038111156118d3576118d2612389565b5b0361191757805f1c6040517ffce698f700000000000000000000000000000000000000000000000000000000815260040161190e9190611c10565b60405180910390fd5b60038081111561192a57611929612389565b5b82600381111561193d5761193c612389565b5b0361197f57806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016119769190611cc5565b60405180910390fd5b5b5050565b60605f611990836119f6565b90505f602067ffffffffffffffff8111156119ae576119ad6120eb565b5b6040519080825280601f01601f1916602001820160405280156119e05781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b5f8060ff835f1c169050601f811115611a3b576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611a7182611a48565b9050919050565b611a8181611a67565b8114611a8b575f80fd5b50565b5f81359050611a9c81611a78565b92915050565b5f819050919050565b611ab481611aa2565b8114611abe575f80fd5b50565b5f81359050611acf81611aab565b92915050565b5f8060408385031215611aeb57611aea611a44565b5b5f611af885828601611a8e565b9250506020611b0985828601611ac1565b9150509250929050565b5f8115159050919050565b611b2781611b13565b82525050565b5f602082019050611b405f830184611b1e565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611b8882611b46565b611b928185611b50565b9350611ba2818560208601611b60565b611bab81611b6e565b840191505092915050565b5f6020820190508181035f830152611bce8184611b7e565b905092915050565b5f60208284031215611beb57611bea611a44565b5b5f611bf884828501611a8e565b91505092915050565b611c0a81611aa2565b82525050565b5f602082019050611c235f830184611c01565b92915050565b5f805f60608486031215611c4057611c3f611a44565b5b5f611c4d86828701611a8e565b9350506020611c5e86828701611a8e565b9250506040611c6f86828701611ac1565b9150509250925092565b5f60ff82169050919050565b611c8e81611c79565b82525050565b5f602082019050611ca75f830184611c85565b92915050565b5f819050919050565b611cbf81611cad565b82525050565b5f602082019050611cd85f830184611cb6565b92915050565b5f60208284031215611cf357611cf2611a44565b5b5f611d0084828501611ac1565b91505092915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b611d3d81611d09565b82525050565b611d4c81611a67565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b611d8481611aa2565b82525050565b5f611d958383611d7b565b60208301905092915050565b5f602082019050919050565b5f611db782611d52565b611dc18185611d5c565b9350611dcc83611d6c565b805f5b83811015611dfc578151611de38882611d8a565b9750611dee83611da1565b925050600181019050611dcf565b5085935050505092915050565b5f60e082019050611e1c5f83018a611d34565b8181036020830152611e2e8189611b7e565b90508181036040830152611e428188611b7e565b9050611e516060830187611c01565b611e5e6080830186611d43565b611e6b60a0830185611cb6565b81810360c0830152611e7d8184611dad565b905098975050505050505050565b5f602082019050611e9e5f830184611d43565b92915050565b611ead81611c79565b8114611eb7575f80fd5b50565b5f81359050611ec881611ea4565b92915050565b611ed781611cad565b8114611ee1575f80fd5b50565b5f81359050611ef281611ece565b92915050565b5f805f805f805f60e0888a031215611f1357611f12611a44565b5b5f611f208a828b01611a8e565b9750506020611f318a828b01611a8e565b9650506040611f428a828b01611ac1565b9550506060611f538a828b01611ac1565b9450506080611f648a828b01611eba565b93505060a0611f758a828b01611ee4565b92505060c0611f868a828b01611ee4565b91505092959891949750929550565b5f8060408385031215611fab57611faa611a44565b5b5f611fb885828601611a8e565b9250506020611fc985828601611a8e565b9150509250929050565b5f604082019050611fe65f830185611d43565b611ff36020830184611c01565b9392505050565b61200381611b13565b811461200d575f80fd5b50565b5f8151905061201e81611ffa565b92915050565b5f6020828403121561203957612038611a44565b5b5f61204684828501612010565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061209357607f821691505b6020821081036120a6576120a561204f565b5b50919050565b5f815190506120ba81611aab565b92915050565b5f602082840312156120d5576120d4611a44565b5b5f6120e2848285016120ac565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f60c08201905061212b5f830189611cb6565b6121386020830188611d43565b6121456040830187611d43565b6121526060830186611c01565b61215f6080830185611c01565b61216c60a0830184611c01565b979650505050505050565b5f60408201905061218a5f830185611d43565b6121976020830184611d43565b9392505050565b5f6060820190506121b15f830186611d43565b6121be6020830185611c01565b6121cb6040830184611c01565b949350505050565b5f81519050919050565b5f81905092915050565b5f6121f1826121d3565b6121fb81856121dd565b935061220b818560208601611b60565b80840191505092915050565b5f61222282846121e7565b915081905092915050565b7f4574686572207472616e73666572206661696c656400000000000000000000005f82015250565b5f612261601583611b50565b915061226c8261222d565b602082019050919050565b5f6020820190508181035f83015261228e81612255565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6122cc82611aa2565b91506122d783611aa2565b92508282019050808211156122ef576122ee612295565b5b92915050565b5f60a0820190506123085f830188611cb6565b6123156020830187611cb6565b6123226040830186611cb6565b61232f6060830185611c01565b61233c6080830184611d43565b9695505050505050565b5f6080820190506123595f830187611cb6565b6123666020830186611c85565b6123736040830185611cb6565b6123806060830184611cb6565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffdfea2646970667358221220477dd64480127a6dda8ff48c3334dbd4fc3824fe7097e26c8f923323865f5b8064736f6c634300081a0033000000000000000000000000700ff3371befd82fdd207ce40b866905b1b9990b
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061014b575f3560e01c806370a08231116100c157806395d89b411161007a57806395d89b41146103b9578063a9059cbb146103d7578063beb0a41614610407578063d505accf14610425578063dd62ed3e14610441578063f2fde38b146104715761014b565b806370a08231146102f1578063715018a61461032157806379cc67901461032b5780637ecebe001461034757806384b0196e146103775780638da5cb5b1461039b5761014b565b806323b872dd1161011357806323b872dd1461021b578063313ce5671461024b5780633644e515146102695780633bed33ce1461028757806342966c68146102b75780636f9fb98a146102d35761014b565b806306b091f91461014f57806306fdde031461017f578063095ea7b31461019d57806314205e28146101cd57806318160ddd146101fd575b5f80fd5b61016960048036038101906101649190611ad5565b61048d565b6040516101769190611b2d565b60405180910390f35b610187610520565b6040516101949190611bb6565b60405180910390f35b6101b760048036038101906101b29190611ad5565b6105b0565b6040516101c49190611b2d565b60405180910390f35b6101e760048036038101906101e29190611bd6565b6105d2565b6040516101f49190611c10565b60405180910390f35b610205610652565b6040516102129190611c10565b60405180910390f35b61023560048036038101906102309190611c29565b61065b565b6040516102429190611b2d565b60405180910390f35b610253610689565b6040516102609190611c94565b60405180910390f35b610271610691565b60405161027e9190611cc5565b60405180910390f35b6102a1600480360381019061029c9190611cde565b61069f565b6040516102ae9190611b2d565b60405180910390f35b6102d160048036038101906102cc9190611cde565b6106bb565b005b6102db6106cf565b6040516102e89190611c10565b60405180910390f35b61030b60048036038101906103069190611bd6565b6106d6565b6040516103189190611c10565b60405180910390f35b61032961071b565b005b61034560048036038101906103409190611ad5565b61072e565b005b610361600480360381019061035c9190611bd6565b61074e565b60405161036e9190611c10565b60405180910390f35b61037f61075f565b6040516103929796959493929190611e09565b60405180910390f35b6103a3610804565b6040516103b09190611e8b565b60405180910390f35b6103c161082c565b6040516103ce9190611bb6565b60405180910390f35b6103f160048036038101906103ec9190611ad5565b6108bc565b6040516103fe9190611b2d565b60405180910390f35b61040f6108de565b60405161041c9190611bb6565b60405180910390f35b61043f600480360381019061043a9190611ef8565b61091b565b005b61045b60048036038101906104569190611f95565b610a60565b6040516104689190611c10565b60405180910390f35b61048b60048036038101906104869190611bd6565b610ae2565b005b5f610496610b66565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6104ba610804565b846040518363ffffffff1660e01b81526004016104d8929190611fd3565b6020604051808303815f875af11580156104f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105189190612024565b905092915050565b60606003805461052f9061207c565b80601f016020809104026020016040519081016040528092919081815260200182805461055b9061207c565b80156105a65780601f1061057d576101008083540402835291602001916105a6565b820191905f5260205f20905b81548152906001019060200180831161058957829003601f168201915b5050505050905090565b5f806105ba610bed565b90506105c7818585610bf4565b600191505092915050565b5f8173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161060c9190611e8b565b602060405180830381865afa158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906120c0565b9050919050565b5f600254905090565b5f80610665610bed565b9050610672858285610c06565b61067d858585610c98565b60019150509392505050565b5f6012905090565b5f61069a610d88565b905090565b5f6106a8610b66565b6106b23383610e3e565b60019050919050565b6106cc6106c6610bed565b82610f39565b50565b5f47905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610723610b66565b61072c5f610fb8565b565b6107408261073a610bed565b83610c06565b61074a8282610f39565b5050565b5f6107588261107b565b9050919050565b5f6060805f805f60606107706110c1565b6107786110fc565b46305f801b5f67ffffffffffffffff811115610797576107966120eb565b5b6040519080825280602002602001820160405280156107c55781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461083b9061207c565b80601f01602080910402602001604051908101604052809291908181526020018280546108679061207c565b80156108b25780601f10610889576101008083540402835291602001916108b2565b820191905f5260205f20905b81548152906001019060200180831161089557829003601f168201915b5050505050905090565b5f806108c6610bed565b90506108d3818585610c98565b600191505092915050565b60606040518060400160405280601581526020017f68747470733a2f2f6b65776c2e65786368616e67650000000000000000000000815250905090565b8342111561096057836040517f627913020000000000000000000000000000000000000000000000000000000081526004016109579190611c10565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861098e8c611137565b896040516020016109a496959493929190612118565b6040516020818303038152906040528051906020012090505f6109c68261118a565b90505f6109d5828787876111a3565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a4957808a6040517f4b800e46000000000000000000000000000000000000000000000000000000008152600401610a40929190612177565b60405180910390fd5b610a548a8a8a610bf4565b50505050505050505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610aea610b66565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b5a575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610b519190611e8b565b60405180910390fd5b610b6381610fb8565b50565b610b6e610bed565b73ffffffffffffffffffffffffffffffffffffffff16610b8c610804565b73ffffffffffffffffffffffffffffffffffffffff1614610beb57610baf610bed565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610be29190611e8b565b60405180910390fd5b565b5f33905090565b610c0183838360016111d1565b505050565b5f610c118484610a60565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610c925781811015610c83578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610c7a9392919061219e565b60405180910390fd5b610c9184848484035f6111d1565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d08575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610cff9190611e8b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d78575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d6f9190611e8b565b60405180910390fd5b610d838383836113a0565b505050565b5f7f000000000000000000000000ed5740209fcf6974d6f3a5f11e295b5e468ac27c73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015610e0357507f000000000000000000000000000000000000000000000000000000000000009246145b15610e30577ffc08da476210d353ccae71b54deb0123b36200142e2f1605fe05433a02e262839050610e3b565b610e386115b9565b90505b90565b5f8273ffffffffffffffffffffffffffffffffffffffff16825f67ffffffffffffffff811115610e7157610e706120eb565b5b6040519080825280601f01601f191660200182016040528015610ea35781602001600182028036833780820191505090505b50604051610eb19190612217565b5f6040518083038185875af1925050503d805f8114610eeb576040519150601f19603f3d011682016040523d82523d5f602084013e610ef0565b606091505b5050905080610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90612277565b60405180910390fd5b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fa9575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610fa09190611e8b565b60405180910390fd5b610fb4825f836113a0565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60606110f760057f4b45574c2045584348414e47450000000000000000000000000000000000000d61164e90919063ffffffff16565b905090565b606061113260067f310000000000000000000000000000000000000000000000000000000000000161164e90919063ffffffff16565b905090565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050559050919050565b5f61119c611196610d88565b836116fb565b9050919050565b5f805f806111b38888888861173b565b9250925092506111c38282611822565b829350505050949350505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611241575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016112389190611e8b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112b1575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016112a89190611e8b565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550801561139a578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516113919190611c10565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036113f0578060025f8282546113e491906122c2565b925050819055506114be565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611479578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016114709392919061219e565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611505578060025f828254039250508190555061154f565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516115ac9190611c10565b60405180910390a3505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7ff72365f5bd58de22db423e0dbdd040c43a8435c0cd5d15daa9bac9daeb1fdccd7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016116339594939291906122f5565b60405160208183030381529060405280519060200120905090565b606060ff5f1b831461166a5761166383611984565b90506116f5565b8180546116769061207c565b80601f01602080910402602001604051908101604052809291908181526020018280546116a29061207c565b80156116ed5780601f106116c4576101008083540402835291602001916116ed565b820191905f5260205f20905b8154815290600101906020018083116116d057829003601f168201915b505050505090505b92915050565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c1115611777575f600385925092509250611818565b5f6001888888886040515f815260200160405260405161179a9493929190612346565b6020604051602081039080840390855afa1580156117ba573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361180b575f60015f801b93509350935050611818565b805f805f1b935093509350505b9450945094915050565b5f600381111561183557611834612389565b5b82600381111561184857611847612389565b5b0315611980576001600381111561186257611861612389565b5b82600381111561187557611874612389565b5b036118ac576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260038111156118c0576118bf612389565b5b8260038111156118d3576118d2612389565b5b0361191757805f1c6040517ffce698f700000000000000000000000000000000000000000000000000000000815260040161190e9190611c10565b60405180910390fd5b60038081111561192a57611929612389565b5b82600381111561193d5761193c612389565b5b0361197f57806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016119769190611cc5565b60405180910390fd5b5b5050565b60605f611990836119f6565b90505f602067ffffffffffffffff8111156119ae576119ad6120eb565b5b6040519080825280601f01601f1916602001820160405280156119e05781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b5f8060ff835f1c169050601f811115611a3b576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611a7182611a48565b9050919050565b611a8181611a67565b8114611a8b575f80fd5b50565b5f81359050611a9c81611a78565b92915050565b5f819050919050565b611ab481611aa2565b8114611abe575f80fd5b50565b5f81359050611acf81611aab565b92915050565b5f8060408385031215611aeb57611aea611a44565b5b5f611af885828601611a8e565b9250506020611b0985828601611ac1565b9150509250929050565b5f8115159050919050565b611b2781611b13565b82525050565b5f602082019050611b405f830184611b1e565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611b8882611b46565b611b928185611b50565b9350611ba2818560208601611b60565b611bab81611b6e565b840191505092915050565b5f6020820190508181035f830152611bce8184611b7e565b905092915050565b5f60208284031215611beb57611bea611a44565b5b5f611bf884828501611a8e565b91505092915050565b611c0a81611aa2565b82525050565b5f602082019050611c235f830184611c01565b92915050565b5f805f60608486031215611c4057611c3f611a44565b5b5f611c4d86828701611a8e565b9350506020611c5e86828701611a8e565b9250506040611c6f86828701611ac1565b9150509250925092565b5f60ff82169050919050565b611c8e81611c79565b82525050565b5f602082019050611ca75f830184611c85565b92915050565b5f819050919050565b611cbf81611cad565b82525050565b5f602082019050611cd85f830184611cb6565b92915050565b5f60208284031215611cf357611cf2611a44565b5b5f611d0084828501611ac1565b91505092915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b611d3d81611d09565b82525050565b611d4c81611a67565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b611d8481611aa2565b82525050565b5f611d958383611d7b565b60208301905092915050565b5f602082019050919050565b5f611db782611d52565b611dc18185611d5c565b9350611dcc83611d6c565b805f5b83811015611dfc578151611de38882611d8a565b9750611dee83611da1565b925050600181019050611dcf565b5085935050505092915050565b5f60e082019050611e1c5f83018a611d34565b8181036020830152611e2e8189611b7e565b90508181036040830152611e428188611b7e565b9050611e516060830187611c01565b611e5e6080830186611d43565b611e6b60a0830185611cb6565b81810360c0830152611e7d8184611dad565b905098975050505050505050565b5f602082019050611e9e5f830184611d43565b92915050565b611ead81611c79565b8114611eb7575f80fd5b50565b5f81359050611ec881611ea4565b92915050565b611ed781611cad565b8114611ee1575f80fd5b50565b5f81359050611ef281611ece565b92915050565b5f805f805f805f60e0888a031215611f1357611f12611a44565b5b5f611f208a828b01611a8e565b9750506020611f318a828b01611a8e565b9650506040611f428a828b01611ac1565b9550506060611f538a828b01611ac1565b9450506080611f648a828b01611eba565b93505060a0611f758a828b01611ee4565b92505060c0611f868a828b01611ee4565b91505092959891949750929550565b5f8060408385031215611fab57611faa611a44565b5b5f611fb885828601611a8e565b9250506020611fc985828601611a8e565b9150509250929050565b5f604082019050611fe65f830185611d43565b611ff36020830184611c01565b9392505050565b61200381611b13565b811461200d575f80fd5b50565b5f8151905061201e81611ffa565b92915050565b5f6020828403121561203957612038611a44565b5b5f61204684828501612010565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061209357607f821691505b6020821081036120a6576120a561204f565b5b50919050565b5f815190506120ba81611aab565b92915050565b5f602082840312156120d5576120d4611a44565b5b5f6120e2848285016120ac565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f60c08201905061212b5f830189611cb6565b6121386020830188611d43565b6121456040830187611d43565b6121526060830186611c01565b61215f6080830185611c01565b61216c60a0830184611c01565b979650505050505050565b5f60408201905061218a5f830185611d43565b6121976020830184611d43565b9392505050565b5f6060820190506121b15f830186611d43565b6121be6020830185611c01565b6121cb6040830184611c01565b949350505050565b5f81519050919050565b5f81905092915050565b5f6121f1826121d3565b6121fb81856121dd565b935061220b818560208601611b60565b80840191505092915050565b5f61222282846121e7565b915081905092915050565b7f4574686572207472616e73666572206661696c656400000000000000000000005f82015250565b5f612261601583611b50565b915061226c8261222d565b602082019050919050565b5f6020820190508181035f83015261228e81612255565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6122cc82611aa2565b91506122d783611aa2565b92508282019050808211156122ef576122ee612295565b5b92915050565b5f60a0820190506123085f830188611cb6565b6123156020830187611cb6565b6123226040830186611cb6565b61232f6060830185611c01565b61233c6080830184611d43565b9695505050505050565b5f6080820190506123595f830187611cb6565b6123666020830186611c85565b6123736040830185611cb6565b6123806060830184611cb6565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffdfea2646970667358221220477dd64480127a6dda8ff48c3334dbd4fc3824fe7097e26c8f923323865f5b8064736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000700ff3371befd82fdd207ce40b866905b1b9990b
-----Decoded View---------------
Arg [0] : initialOwner (address): 0x700Ff3371Befd82FdD207Ce40B866905B1B9990b
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000700ff3371befd82fdd207ce40b866905b1b9990b
Deployed Bytecode Sourcemap
85758:1461:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86214:161;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72527:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;74820:190;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;86445:149;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;73629:99;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75588:249;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;73480:84;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;84386:114;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;86832:136;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85108:89;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;86664:98;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;73791:118;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66122:103;;;:::i;:::-;;85526:161;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;84128:145;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42604:580;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;65447:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72737:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;74114:182;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;86048:94;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;83374:695;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74359:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66380:220;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;86214:161;86304:4;65333:13;:11;:13::i;:::-;86331::::1;86324:30;;;86355:7;:5;:7::i;:::-;86364:6;86324:47;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86317:54;;86214:161:::0;;;;:::o;72527:91::-;72572:13;72605:5;72598:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72527:91;:::o;74820:190::-;74893:4;74910:13;74926:12;:10;:12::i;:::-;74910:28;;74949:31;74958:5;74965:7;74974:5;74949:8;:31::i;:::-;74998:4;74991:11;;;74820:190;;;;:::o;86445:149::-;86521:7;86551:13;86544:31;;;86584:4;86544:46;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86537:53;;86445:149;;;:::o;73629:99::-;73681:7;73708:12;;73701:19;;73629:99;:::o;75588:249::-;75675:4;75692:15;75710:12;:10;:12::i;:::-;75692:30;;75733:37;75749:4;75755:7;75764:5;75733:15;:37::i;:::-;75781:26;75791:4;75797:2;75801:5;75781:9;:26::i;:::-;75825:4;75818:11;;;75588:249;;;;;:::o;73480:84::-;73529:5;73554:2;73547:9;;73480:84;:::o;84386:114::-;84445:7;84472:20;:18;:20::i;:::-;84465:27;;84386:114;:::o;86832:136::-;86896:4;65333:13;:11;:13::i;:::-;86909:37:::1;86927:10;86939:6;86909:17;:37::i;:::-;86960:4;86953:11;;86832:136:::0;;;:::o;85108:89::-;85163:26;85169:12;:10;:12::i;:::-;85183:5;85163;:26::i;:::-;85108:89;:::o;86664:98::-;86714:7;86737:21;86730:28;;86664:98;:::o;73791:118::-;73856:7;73883:9;:18;73893:7;73883:18;;;;;;;;;;;;;;;;73876:25;;73791:118;;;:::o;66122:103::-;65333:13;:11;:13::i;:::-;66187:30:::1;66214:1;66187:18;:30::i;:::-;66122:103::o:0;85526:161::-;85602:45;85618:7;85627:12;:10;:12::i;:::-;85641:5;85602:15;:45::i;:::-;85658:21;85664:7;85673:5;85658;:21::i;:::-;85526:161;;:::o;84128:145::-;84219:7;84246:19;84259:5;84246:12;:19::i;:::-;84239:26;;84128:145;;;:::o;42604:580::-;42707:13;42735:18;42768:21;42804:15;42834:25;42874:12;42901:27;43009:13;:11;:13::i;:::-;43037:16;:14;:16::i;:::-;43068:13;43104:4;43132:1;43124:10;;43163:1;43149:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42956:220;;;;;;;;;;;;;;;;;;;;;42604:580;;;;;;;:::o;65447:87::-;65493:7;65520:6;;;;;;;;;;;65513:13;;65447:87;:::o;72737:95::-;72784:13;72817:7;72810:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72737:95;:::o;74114:182::-;74183:4;74200:13;74216:12;:10;:12::i;:::-;74200:28;;74239:27;74249:5;74256:2;74260:5;74239:9;:27::i;:::-;74284:4;74277:11;;;74114:182;;;;:::o;86048:94::-;86087:13;86108:30;;;;;;;;;;;;;;;;;;;86048:94;:::o;83374:695::-;83604:8;83586:15;:26;83582:99;;;83660:8;83636:33;;;;;;;;;;;:::i;:::-;;;;;;;;83582:99;83693:18;82694:95;83752:5;83759:7;83768:5;83775:16;83785:5;83775:9;:16::i;:::-;83793:8;83724:78;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83714:89;;;;;;83693:110;;83816:12;83831:28;83848:10;83831:16;:28::i;:::-;83816:43;;83872:14;83889:28;83903:4;83909:1;83912;83915;83889:13;:28::i;:::-;83872:45;;83942:5;83932:15;;:6;:15;;;83928:90;;83992:6;84000:5;83971:35;;;;;;;;;;;;:::i;:::-;;;;;;;;83928:90;84030:31;84039:5;84046:7;84055:5;84030:8;:31::i;:::-;83571:498;;;83374:695;;;;;;;:::o;74359:142::-;74439:7;74466:11;:18;74478:5;74466:18;;;;;;;;;;;;;;;:27;74485:7;74466:27;;;;;;;;;;;;;;;;74459:34;;74359:142;;;;:::o;66380:220::-;65333:13;:11;:13::i;:::-;66485:1:::1;66465:22;;:8;:22;;::::0;66461:93:::1;;66539:1;66511:31;;;;;;;;;;;:::i;:::-;;;;;;;;66461:93;66564:28;66583:8;66564:18;:28::i;:::-;66380:220:::0;:::o;65612:166::-;65683:12;:10;:12::i;:::-;65672:23;;:7;:5;:7::i;:::-;:23;;;65668:103;;65746:12;:10;:12::i;:::-;65719:40;;;;;;;;;;;:::i;:::-;;;;;;;;65668:103;65612:166::o;63450:98::-;63503:7;63530:10;63523:17;;63450:98;:::o;79647:130::-;79732:37;79741:5;79748:7;79757:5;79764:4;79732:8;:37::i;:::-;79647:130;;;:::o;81363:487::-;81463:24;81490:25;81500:5;81507:7;81490:9;:25::i;:::-;81463:52;;81550:17;81530:16;:37;81526:317;;81607:5;81588:16;:24;81584:132;;;81667:7;81676:16;81694:5;81640:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;81584:132;81759:57;81768:5;81775:7;81803:5;81784:16;:24;81810:5;81759:8;:57::i;:::-;81526:317;81452:398;81363:487;;;:::o;76222:308::-;76322:1;76306:18;;:4;:18;;;76302:88;;76375:1;76348:30;;;;;;;;;;;:::i;:::-;;;;;;;;76302:88;76418:1;76404:16;;:2;:16;;;76400:88;;76473:1;76444:32;;;;;;;;;;;:::i;:::-;;;;;;;;76400:88;76498:24;76506:4;76512:2;76516:5;76498:7;:24::i;:::-;76222:308;;;:::o;41271:268::-;41324:7;41365:11;41348:28;;41356:4;41348:28;;;:63;;;;;41397:14;41380:13;:31;41348:63;41344:188;;;41435:22;41428:29;;;;41344:188;41497:23;:21;:23::i;:::-;41490:30;;41271:268;;:::o;87038:176::-;87109:12;87127:2;:7;;87142:5;87159:1;87149:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87127:35;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87108:54;;;87177:7;87169:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;87101:113;87038:176;;:::o;78883:211::-;78973:1;78954:21;;:7;:21;;;78950:91;;79026:1;78999:30;;;;;;;;;;;:::i;:::-;;;;;;;;78950:91;79051:35;79059:7;79076:1;79080:5;79051:7;:35::i;:::-;78883:211;;:::o;66760:191::-;66834:16;66853:6;;;;;;;;;;;66834:25;;66879:8;66870:6;;:17;;;;;;;;;;;;;;;;;;66934:8;66903:40;;66924:8;66903:40;;;;;;;;;;;;66823:128;66760:191;:::o;3271:109::-;3331:7;3358;:14;3366:5;3358:14;;;;;;;;;;;;;;;;3351:21;;3271:109;;;:::o;43513:128::-;43559:13;43592:41;43619:13;43592:5;:26;;:41;;;;:::i;:::-;43585:48;;43513:128;:::o;43976:137::-;44025:13;44058:47;44088:16;44058:8;:29;;:47;;;;:::i;:::-;44051:54;;43976:137;:::o;3501:402::-;3561:7;3868;:14;3876:5;3868:14;;;;;;;;;;;;;;;;:16;;;;;;;;;;;;3861:23;;3501:402;;;:::o;42370:178::-;42447:7;42474:66;42507:20;:18;:20::i;:::-;42529:10;42474:32;:66::i;:::-;42467:73;;42370:178;;;:::o;51116:264::-;51201:7;51222:17;51241:18;51261:16;51281:25;51292:4;51298:1;51301;51304;51281:10;:25::i;:::-;51221:85;;;;;;51317:28;51329:5;51336:8;51317:11;:28::i;:::-;51363:9;51356:16;;;;;51116:264;;;;;;:::o;80628:443::-;80758:1;80741:19;;:5;:19;;;80737:91;;80813:1;80784:32;;;;;;;;;;;:::i;:::-;;;;;;;;80737:91;80861:1;80842:21;;:7;:21;;;80838:92;;80915:1;80887:31;;;;;;;;;;;:::i;:::-;;;;;;;;80838:92;80970:5;80940:11;:18;80952:5;80940:18;;;;;;;;;;;;;;;:27;80959:7;80940:27;;;;;;;;;;;;;;;:35;;;;80990:9;80986:78;;;81037:7;81021:31;;81030:5;81021:31;;;81046:5;81021:31;;;;;;:::i;:::-;;;;;;;;80986:78;80628:443;;;;:::o;76854:1135::-;76960:1;76944:18;;:4;:18;;;76940:552;;77098:5;77082:12;;:21;;;;;;;:::i;:::-;;;;;;;;76940:552;;;77136:19;77158:9;:15;77168:4;77158:15;;;;;;;;;;;;;;;;77136:37;;77206:5;77192:11;:19;77188:117;;;77264:4;77270:11;77283:5;77239:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;77188:117;77460:5;77446:11;:19;77428:9;:15;77438:4;77428:15;;;;;;;;;;;;;;;:37;;;;77121:371;76940:552;77522:1;77508:16;;:2;:16;;;77504:435;;77690:5;77674:12;;:21;;;;;;;;;;;77504:435;;;77907:5;77890:9;:13;77900:2;77890:13;;;;;;;;;;;;;;;;:22;;;;;;;;;;;77504:435;77971:2;77956:25;;77965:4;77956:25;;;77975:5;77956:25;;;;;;:::i;:::-;;;;;;;;76854:1135;;;:::o;41547:181::-;41602:7;39463:95;41661:11;41674:14;41690:13;41713:4;41639:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41629:91;;;;;;41622:98;;41547:181;:::o;12629:273::-;12723:13;10575:66;12782:17;;12772:5;12753:46;12749:146;;12823:15;12832:5;12823:8;:15::i;:::-;12816:22;;;;12749:146;12878:5;12871:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12629:273;;;;;:::o;37064:410::-;37157:14;37269:4;37263:11;37300:10;37295:3;37288:23;37348:15;37341:4;37336:3;37332:14;37325:39;37401:10;37394:4;37389:3;37385:14;37378:34;37451:4;37446:3;37436:20;37426:30;;37237:230;37064:410;;;;:::o;49421:1556::-;49552:7;49561:12;49575:7;50495:66;50490:1;50482:10;;:79;50478:166;;;50594:1;50598:30;50630:1;50578:54;;;;;;;;50478:166;50741:14;50758:24;50768:4;50774:1;50777;50780;50758:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50741:41;;50815:1;50797:20;;:6;:20;;;50793:115;;50850:1;50854:29;50893:1;50885:10;;50834:62;;;;;;;;;50793:115;50928:6;50936:20;50966:1;50958:10;;50920:49;;;;;;;49421:1556;;;;;;;;;:::o;51518:542::-;51614:20;51605:29;;;;;;;;:::i;:::-;;:5;:29;;;;;;;;:::i;:::-;;;51601:452;51651:7;51601:452;51712:29;51703:38;;;;;;;;:::i;:::-;;:5;:38;;;;;;;;:::i;:::-;;;51699:354;;51765:23;;;;;;;;;;;;;;51699:354;51819:35;51810:44;;;;;;;;:::i;:::-;;:5;:44;;;;;;;;:::i;:::-;;;51806:247;;51914:8;51906:17;;51878:46;;;;;;;;;;;:::i;:::-;;;;;;;;51806:247;51955:30;51946:39;;;;;;;;:::i;:::-;;:5;:39;;;;;;;;:::i;:::-;;;51942:111;;52032:8;52009:32;;;;;;;;;;;:::i;:::-;;;;;;;;51942:111;51518:542;;;:::o;11284:415::-;11343:13;11369:11;11383:16;11394:4;11383:10;:16::i;:::-;11369:30;;11489:17;11520:2;11509:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11489:34;;11614:3;11609;11602:16;11655:4;11648;11643:3;11639:14;11632:28;11688:3;11681:10;;;;11284:415;;;:::o;11776:251::-;11837:7;11857:14;11910:4;11901;11874:33;;:40;11857:57;;11938:2;11929:6;:11;11925:71;;;11964:20;;;;;;;;;;;;;;11925:71;12013:6;12006:13;;;11776:251;;;:::o;88:117:1:-;197:1;194;187:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:139::-;742:5;780:6;767:20;758:29;;796:33;823:5;796:33;:::i;:::-;696:139;;;;:::o;841:77::-;878:7;907:5;896:16;;841:77;;;:::o;924:122::-;997:24;1015:5;997:24;:::i;:::-;990:5;987:35;977:63;;1036:1;1033;1026:12;977:63;924:122;:::o;1052:139::-;1098:5;1136:6;1123:20;1114:29;;1152:33;1179:5;1152:33;:::i;:::-;1052:139;;;;:::o;1197:474::-;1265:6;1273;1322:2;1310:9;1301:7;1297:23;1293:32;1290:119;;;1328:79;;:::i;:::-;1290:119;1448:1;1473:53;1518:7;1509:6;1498:9;1494:22;1473:53;:::i;:::-;1463:63;;1419:117;1575:2;1601:53;1646:7;1637:6;1626:9;1622:22;1601:53;:::i;:::-;1591:63;;1546:118;1197:474;;;;;:::o;1677:90::-;1711:7;1754:5;1747:13;1740:21;1729:32;;1677:90;;;:::o;1773:109::-;1854:21;1869:5;1854:21;:::i;:::-;1849:3;1842:34;1773:109;;:::o;1888:210::-;1975:4;2013:2;2002:9;1998:18;1990:26;;2026:65;2088:1;2077:9;2073:17;2064:6;2026:65;:::i;:::-;1888:210;;;;:::o;2104:99::-;2156:6;2190:5;2184:12;2174:22;;2104:99;;;:::o;2209:169::-;2293:11;2327:6;2322:3;2315:19;2367:4;2362:3;2358:14;2343:29;;2209:169;;;;:::o;2384:139::-;2473:6;2468:3;2463;2457:23;2514:1;2505:6;2500:3;2496:16;2489:27;2384:139;;;:::o;2529:102::-;2570:6;2621:2;2617:7;2612:2;2605:5;2601:14;2597:28;2587:38;;2529:102;;;:::o;2637:377::-;2725:3;2753:39;2786:5;2753:39;:::i;:::-;2808:71;2872:6;2867:3;2808:71;:::i;:::-;2801:78;;2888:65;2946:6;2941:3;2934:4;2927:5;2923:16;2888:65;:::i;:::-;2978:29;3000:6;2978:29;:::i;:::-;2973:3;2969:39;2962:46;;2729:285;2637:377;;;;:::o;3020:313::-;3133:4;3171:2;3160:9;3156:18;3148:26;;3220:9;3214:4;3210:20;3206:1;3195:9;3191:17;3184:47;3248:78;3321:4;3312:6;3248:78;:::i;:::-;3240:86;;3020:313;;;;:::o;3339:329::-;3398:6;3447:2;3435:9;3426:7;3422:23;3418:32;3415:119;;;3453:79;;:::i;:::-;3415:119;3573:1;3598:53;3643:7;3634:6;3623:9;3619:22;3598:53;:::i;:::-;3588:63;;3544:117;3339:329;;;;:::o;3674:118::-;3761:24;3779:5;3761:24;:::i;:::-;3756:3;3749:37;3674:118;;:::o;3798:222::-;3891:4;3929:2;3918:9;3914:18;3906:26;;3942:71;4010:1;3999:9;3995:17;3986:6;3942:71;:::i;:::-;3798:222;;;;:::o;4026:619::-;4103:6;4111;4119;4168:2;4156:9;4147:7;4143:23;4139:32;4136:119;;;4174:79;;:::i;:::-;4136:119;4294:1;4319:53;4364:7;4355:6;4344:9;4340:22;4319:53;:::i;:::-;4309:63;;4265:117;4421:2;4447:53;4492:7;4483:6;4472:9;4468:22;4447:53;:::i;:::-;4437:63;;4392:118;4549:2;4575:53;4620:7;4611:6;4600:9;4596:22;4575:53;:::i;:::-;4565:63;;4520:118;4026:619;;;;;:::o;4651:86::-;4686:7;4726:4;4719:5;4715:16;4704:27;;4651:86;;;:::o;4743:112::-;4826:22;4842:5;4826:22;:::i;:::-;4821:3;4814:35;4743:112;;:::o;4861:214::-;4950:4;4988:2;4977:9;4973:18;4965:26;;5001:67;5065:1;5054:9;5050:17;5041:6;5001:67;:::i;:::-;4861:214;;;;:::o;5081:77::-;5118:7;5147:5;5136:16;;5081:77;;;:::o;5164:118::-;5251:24;5269:5;5251:24;:::i;:::-;5246:3;5239:37;5164:118;;:::o;5288:222::-;5381:4;5419:2;5408:9;5404:18;5396:26;;5432:71;5500:1;5489:9;5485:17;5476:6;5432:71;:::i;:::-;5288:222;;;;:::o;5516:329::-;5575:6;5624:2;5612:9;5603:7;5599:23;5595:32;5592:119;;;5630:79;;:::i;:::-;5592:119;5750:1;5775:53;5820:7;5811:6;5800:9;5796:22;5775:53;:::i;:::-;5765:63;;5721:117;5516:329;;;;:::o;5851:149::-;5887:7;5927:66;5920:5;5916:78;5905:89;;5851:149;;;:::o;6006:115::-;6091:23;6108:5;6091:23;:::i;:::-;6086:3;6079:36;6006:115;;:::o;6127:118::-;6214:24;6232:5;6214:24;:::i;:::-;6209:3;6202:37;6127:118;;:::o;6251:114::-;6318:6;6352:5;6346:12;6336:22;;6251:114;;;:::o;6371:184::-;6470:11;6504:6;6499:3;6492:19;6544:4;6539:3;6535:14;6520:29;;6371:184;;;;:::o;6561:132::-;6628:4;6651:3;6643:11;;6681:4;6676:3;6672:14;6664:22;;6561:132;;;:::o;6699:108::-;6776:24;6794:5;6776:24;:::i;:::-;6771:3;6764:37;6699:108;;:::o;6813:179::-;6882:10;6903:46;6945:3;6937:6;6903:46;:::i;:::-;6981:4;6976:3;6972:14;6958:28;;6813:179;;;;:::o;6998:113::-;7068:4;7100;7095:3;7091:14;7083:22;;6998:113;;;:::o;7147:732::-;7266:3;7295:54;7343:5;7295:54;:::i;:::-;7365:86;7444:6;7439:3;7365:86;:::i;:::-;7358:93;;7475:56;7525:5;7475:56;:::i;:::-;7554:7;7585:1;7570:284;7595:6;7592:1;7589:13;7570:284;;;7671:6;7665:13;7698:63;7757:3;7742:13;7698:63;:::i;:::-;7691:70;;7784:60;7837:6;7784:60;:::i;:::-;7774:70;;7630:224;7617:1;7614;7610:9;7605:14;;7570:284;;;7574:14;7870:3;7863:10;;7271:608;;;7147:732;;;;:::o;7885:1215::-;8234:4;8272:3;8261:9;8257:19;8249:27;;8286:69;8352:1;8341:9;8337:17;8328:6;8286:69;:::i;:::-;8402:9;8396:4;8392:20;8387:2;8376:9;8372:18;8365:48;8430:78;8503:4;8494:6;8430:78;:::i;:::-;8422:86;;8555:9;8549:4;8545:20;8540:2;8529:9;8525:18;8518:48;8583:78;8656:4;8647:6;8583:78;:::i;:::-;8575:86;;8671:72;8739:2;8728:9;8724:18;8715:6;8671:72;:::i;:::-;8753:73;8821:3;8810:9;8806:19;8797:6;8753:73;:::i;:::-;8836;8904:3;8893:9;8889:19;8880:6;8836:73;:::i;:::-;8957:9;8951:4;8947:20;8941:3;8930:9;8926:19;8919:49;8985:108;9088:4;9079:6;8985:108;:::i;:::-;8977:116;;7885:1215;;;;;;;;;;:::o;9106:222::-;9199:4;9237:2;9226:9;9222:18;9214:26;;9250:71;9318:1;9307:9;9303:17;9294:6;9250:71;:::i;:::-;9106:222;;;;:::o;9334:118::-;9405:22;9421:5;9405:22;:::i;:::-;9398:5;9395:33;9385:61;;9442:1;9439;9432:12;9385:61;9334:118;:::o;9458:135::-;9502:5;9540:6;9527:20;9518:29;;9556:31;9581:5;9556:31;:::i;:::-;9458:135;;;;:::o;9599:122::-;9672:24;9690:5;9672:24;:::i;:::-;9665:5;9662:35;9652:63;;9711:1;9708;9701:12;9652:63;9599:122;:::o;9727:139::-;9773:5;9811:6;9798:20;9789:29;;9827:33;9854:5;9827:33;:::i;:::-;9727:139;;;;:::o;9872:1199::-;9983:6;9991;9999;10007;10015;10023;10031;10080:3;10068:9;10059:7;10055:23;10051:33;10048:120;;;10087:79;;:::i;:::-;10048:120;10207:1;10232:53;10277:7;10268:6;10257:9;10253:22;10232:53;:::i;:::-;10222:63;;10178:117;10334:2;10360:53;10405:7;10396:6;10385:9;10381:22;10360:53;:::i;:::-;10350:63;;10305:118;10462:2;10488:53;10533:7;10524:6;10513:9;10509:22;10488:53;:::i;:::-;10478:63;;10433:118;10590:2;10616:53;10661:7;10652:6;10641:9;10637:22;10616:53;:::i;:::-;10606:63;;10561:118;10718:3;10745:51;10788:7;10779:6;10768:9;10764:22;10745:51;:::i;:::-;10735:61;;10689:117;10845:3;10872:53;10917:7;10908:6;10897:9;10893:22;10872:53;:::i;:::-;10862:63;;10816:119;10974:3;11001:53;11046:7;11037:6;11026:9;11022:22;11001:53;:::i;:::-;10991:63;;10945:119;9872:1199;;;;;;;;;;:::o;11077:474::-;11145:6;11153;11202:2;11190:9;11181:7;11177:23;11173:32;11170:119;;;11208:79;;:::i;:::-;11170:119;11328:1;11353:53;11398:7;11389:6;11378:9;11374:22;11353:53;:::i;:::-;11343:63;;11299:117;11455:2;11481:53;11526:7;11517:6;11506:9;11502:22;11481:53;:::i;:::-;11471:63;;11426:118;11077:474;;;;;:::o;11557:332::-;11678:4;11716:2;11705:9;11701:18;11693:26;;11729:71;11797:1;11786:9;11782:17;11773:6;11729:71;:::i;:::-;11810:72;11878:2;11867:9;11863:18;11854:6;11810:72;:::i;:::-;11557:332;;;;;:::o;11895:116::-;11965:21;11980:5;11965:21;:::i;:::-;11958:5;11955:32;11945:60;;12001:1;11998;11991:12;11945:60;11895:116;:::o;12017:137::-;12071:5;12102:6;12096:13;12087:22;;12118:30;12142:5;12118:30;:::i;:::-;12017:137;;;;:::o;12160:345::-;12227:6;12276:2;12264:9;12255:7;12251:23;12247:32;12244:119;;;12282:79;;:::i;:::-;12244:119;12402:1;12427:61;12480:7;12471:6;12460:9;12456:22;12427:61;:::i;:::-;12417:71;;12373:125;12160:345;;;;:::o;12511:180::-;12559:77;12556:1;12549:88;12656:4;12653:1;12646:15;12680:4;12677:1;12670:15;12697:320;12741:6;12778:1;12772:4;12768:12;12758:22;;12825:1;12819:4;12815:12;12846:18;12836:81;;12902:4;12894:6;12890:17;12880:27;;12836:81;12964:2;12956:6;12953:14;12933:18;12930:38;12927:84;;12983:18;;:::i;:::-;12927:84;12748:269;12697:320;;;:::o;13023:143::-;13080:5;13111:6;13105:13;13096:22;;13127:33;13154:5;13127:33;:::i;:::-;13023:143;;;;:::o;13172:351::-;13242:6;13291:2;13279:9;13270:7;13266:23;13262:32;13259:119;;;13297:79;;:::i;:::-;13259:119;13417:1;13442:64;13498:7;13489:6;13478:9;13474:22;13442:64;:::i;:::-;13432:74;;13388:128;13172:351;;;;:::o;13529:180::-;13577:77;13574:1;13567:88;13674:4;13671:1;13664:15;13698:4;13695:1;13688:15;13715:775;13948:4;13986:3;13975:9;13971:19;13963:27;;14000:71;14068:1;14057:9;14053:17;14044:6;14000:71;:::i;:::-;14081:72;14149:2;14138:9;14134:18;14125:6;14081:72;:::i;:::-;14163;14231:2;14220:9;14216:18;14207:6;14163:72;:::i;:::-;14245;14313:2;14302:9;14298:18;14289:6;14245:72;:::i;:::-;14327:73;14395:3;14384:9;14380:19;14371:6;14327:73;:::i;:::-;14410;14478:3;14467:9;14463:19;14454:6;14410:73;:::i;:::-;13715:775;;;;;;;;;:::o;14496:332::-;14617:4;14655:2;14644:9;14640:18;14632:26;;14668:71;14736:1;14725:9;14721:17;14712:6;14668:71;:::i;:::-;14749:72;14817:2;14806:9;14802:18;14793:6;14749:72;:::i;:::-;14496:332;;;;;:::o;14834:442::-;14983:4;15021:2;15010:9;15006:18;14998:26;;15034:71;15102:1;15091:9;15087:17;15078:6;15034:71;:::i;:::-;15115:72;15183:2;15172:9;15168:18;15159:6;15115:72;:::i;:::-;15197;15265:2;15254:9;15250:18;15241:6;15197:72;:::i;:::-;14834:442;;;;;;:::o;15282:98::-;15333:6;15367:5;15361:12;15351:22;;15282:98;;;:::o;15386:147::-;15487:11;15524:3;15509:18;;15386:147;;;;:::o;15539:386::-;15643:3;15671:38;15703:5;15671:38;:::i;:::-;15725:88;15806:6;15801:3;15725:88;:::i;:::-;15718:95;;15822:65;15880:6;15875:3;15868:4;15861:5;15857:16;15822:65;:::i;:::-;15912:6;15907:3;15903:16;15896:23;;15647:278;15539:386;;;;:::o;15931:271::-;16061:3;16083:93;16172:3;16163:6;16083:93;:::i;:::-;16076:100;;16193:3;16186:10;;15931:271;;;;:::o;16208:171::-;16348:23;16344:1;16336:6;16332:14;16325:47;16208:171;:::o;16385:366::-;16527:3;16548:67;16612:2;16607:3;16548:67;:::i;:::-;16541:74;;16624:93;16713:3;16624:93;:::i;:::-;16742:2;16737:3;16733:12;16726:19;;16385:366;;;:::o;16757:419::-;16923:4;16961:2;16950:9;16946:18;16938:26;;17010:9;17004:4;17000:20;16996:1;16985:9;16981:17;16974:47;17038:131;17164:4;17038:131;:::i;:::-;17030:139;;16757:419;;;:::o;17182:180::-;17230:77;17227:1;17220:88;17327:4;17324:1;17317:15;17351:4;17348:1;17341:15;17368:191;17408:3;17427:20;17445:1;17427:20;:::i;:::-;17422:25;;17461:20;17479:1;17461:20;:::i;:::-;17456:25;;17504:1;17501;17497:9;17490:16;;17525:3;17522:1;17519:10;17516:36;;;17532:18;;:::i;:::-;17516:36;17368:191;;;;:::o;17565:664::-;17770:4;17808:3;17797:9;17793:19;17785:27;;17822:71;17890:1;17879:9;17875:17;17866:6;17822:71;:::i;:::-;17903:72;17971:2;17960:9;17956:18;17947:6;17903:72;:::i;:::-;17985;18053:2;18042:9;18038:18;18029:6;17985:72;:::i;:::-;18067;18135:2;18124:9;18120:18;18111:6;18067:72;:::i;:::-;18149:73;18217:3;18206:9;18202:19;18193:6;18149:73;:::i;:::-;17565:664;;;;;;;;:::o;18235:545::-;18408:4;18446:3;18435:9;18431:19;18423:27;;18460:71;18528:1;18517:9;18513:17;18504:6;18460:71;:::i;:::-;18541:68;18605:2;18594:9;18590:18;18581:6;18541:68;:::i;:::-;18619:72;18687:2;18676:9;18672:18;18663:6;18619:72;:::i;:::-;18701;18769:2;18758:9;18754:18;18745:6;18701:72;:::i;:::-;18235:545;;;;;;;:::o;18786:180::-;18834:77;18831:1;18824:88;18931:4;18928:1;18921:15;18955:4;18952:1;18945:15
Swarm Source
ipfs://477dd64480127a6dda8ff48c3334dbd4fc3824fe7097e26c8f923323865f5b80
[ 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.