ERC-20
Overview
Max Total Supply
6,900,000,000,000 DYOR
Holders
1,693
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000000001 DYORValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DYOR
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-07 */ // File @openzeppelin/contracts/token/ERC20/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // 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 _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @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) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private constant _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`. * However, to ensure consistency with the upgradeable transpiler, we will continue * to reserve a slot. * @custom:oz-renamed-from _PERMIT_TYPEHASH */ // solhint-disable-next-line var-name-mixedcase bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT; /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File contracts/DYOR.sol //******* ** ** ******* ******* \_A__ A A AA ___/ ///**////** //** ** **/////** /**////** \____ ^^^^^^^^ ___/ ///** /** //**** ** //**/** /** \| |/ /\_/\ ///** /** //** /** /**/******* ___ /\_/\ | | ((@v@)) __/ ///** /** /** /** /**/**///** (o,o) ((@v@)) | | ():::() / ///** ** /** //** ** /** //** < . > ():::() | |------VV-VV------ ///******* /** //******* /** //** ------"-"----VV-VV---| |----------------- ///////// // /////// // // ---------------------| | \__ pragma solidity ^0.8.9; contract DYOR is ERC20, Ownable, ERC20Permit { constructor() ERC20("DYOR", "DYOR") ERC20Permit("DYOR"){} /// turn on/off contributions bool public allowContributions = false; /// turn on/off refunds bool public allowRefund = false; /// mint LP once bool public lpMinted = false; /// a minimum contribution per tx to participate in the presale uint256 public constant MIN_CONTRIBUTION = .025 ether; /// limit the maximum contribution per tx for each wallet uint256 public constant MAX_CONTRIBUTION = .25 ether; /// the maximum amount of eth that this contract will accept for presale uint256 public constant HARD_CAP = 20 ether; /// total number of tokens available uint256 public constant MAX_SUPPLY = 6900000000000 * 10 ** 18; /// 45% of tokens reserved for presale uint256 public constant PRESALE_SUPPLY = 3105000000000 * 10 ** 18; /// 35% of tokens reserved for LP uint256 public constant LP_SUPPLY = 2415000000000 * 10 ** 18; /// used to track the total contributions for the presale uint256 public TOTAL_CONTRIBUTED; /// used to track the total number of contributoors uint256 public NUMBER_OF_CONTRIBUTOORS; uint256 public AIRDROP_INDEX = 1; /// a struct used to keep track of each contributoors address and contribution amount struct Contribution { address addr; uint256 amount; } /// mapping of contributions mapping (uint256 => Contribution) public contribution; /// index of an address to it's contribition information mapping (address => uint256) public contributoor; /// collect presale contributions function sendToPresale() public payable { /// initialize a contribution index so we can keep track of this address' contributions uint256 contributionIndex; /// check to see if contributions are allowed require (allowContributions, "Contributions not allowed"); /// check to see that at least the min is being sent in require(msg.value >= MIN_CONTRIBUTION, "Contribution too low"); /// enforce per-wallet contribution limit require (msg.value <= MAX_CONTRIBUTION, "Contribution exceeds per wallet limit"); /// enforce hard cap require (msg.value + TOTAL_CONTRIBUTED <= HARD_CAP, "Contribution exceeds hard cap"); if (contributoor[msg.sender] != 0){ /// no need to increase the number of contributors since this person already added contributionIndex = contributoor[msg.sender]; } else { /// keep track of each new contributor with a unique index contributionIndex = NUMBER_OF_CONTRIBUTOORS + 1; NUMBER_OF_CONTRIBUTOORS++; contributoor[msg.sender] = contributionIndex; contribution[contributionIndex].addr = msg.sender; } /// add the contribution to the amount contributed TOTAL_CONTRIBUTED = TOTAL_CONTRIBUTED + msg.value; /// keep track of the address' contributions so far contribution[contributionIndex].amount += msg.value; } function airdropPresale(uint256 airdropamount) external onlyOwner { require (!allowContributions, "presale is still on"); /// determine the price per token uint256 pricePerToken = (HARD_CAP * 20 ** 18) /PRESALE_SUPPLY; //check to make sure you are not going over the number of contributoors uint256 minttoIndex = AIRDROP_INDEX + airdropamount; require(minttoIndex - 1 <= NUMBER_OF_CONTRIBUTOORS, "out of airdrop range"); /// loop over each contribution and distribute tokens for (uint256 i = AIRDROP_INDEX; i < minttoIndex; i++) { /// convert contribution to 18 decimals uint256 contributionAmount = contribution[i].amount * 20 ** 18; /// calculate the percentage of the pool based on the address' contribution uint256 numberOfTokensToMint = contributionAmount/pricePerToken; /// mint the tokens to the address _mint(contribution[i].addr, numberOfTokensToMint); } // update starting index for next airdrop AIRDROP_INDEX = minttoIndex; } /// dev mint the remainder of the pool to round out the supply function devMint(address _address) external onlyOwner { /// calculate the remaining supply uint256 numberToMint = MAX_SUPPLY - totalSupply(); //make sure contributions are set to false require (!allowContributions, "presale is still on"); /// mint the remaining supply to the dev's wallet _mint(_address, numberToMint); } /// set whether or not the contract allows contributions function setAllowContributions(bool _value) external onlyOwner { allowContributions = _value; } /// set whether or not we want to scrub the project function setAllowRefund(bool _value) external onlyOwner { allowRefund = _value; } /// take your eth out function getRefund() public { require (allowRefund, "refund is not allowed"); require (!allowContributions, "presale is still on"); require(contributoor[msg.sender] != 0, "user did not contribute"); uint256 contributionIndex = contributoor[msg.sender]; uint256 amountToRefund = contribution[contributionIndex].amount; require(amountToRefund > 0, "nothing to refund"); contribution[contributionIndex].amount = 0; address payable refundAddress = payable(contribution[contributionIndex].addr); refundAddress.transfer(amountToRefund); } /// mint the LP amount function mintLPAmount() external onlyOwner { require(!lpMinted, "LP Minted"); lpMinted = true; _mint(msg.sender, LP_SUPPLY); } /// allows the owner to withdraw the funds in this contract function withdrawBalance(address payable _address) external onlyOwner { (bool success, ) = _address.call{value: address(this).balance}(""); require(success, "Withdraw failed"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"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":"AIRDROP_INDEX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HARD_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LP_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CONTRIBUTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_CONTRIBUTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUMBER_OF_CONTRIBUTOORS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_CONTRIBUTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropamount","type":"uint256"}],"name":"airdropPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowContributions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowRefund","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"contribution","outputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contributoor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lpMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLPAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sendToPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"setAllowContributions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"setAllowRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_address","type":"address"}],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040526008805462ffffff191690556001600b553480156200002357600080fd5b5060405180604001604052806004815260200163222ca7a960e11b81525080604051806040016040528060018152602001603160f81b81525060405180604001604052806004815260200163222ca7a960e11b81525060405180604001604052806004815260200163222ca7a960e11b8152508160039080519060200190620000ae929190620001cd565b508051620000c4906004906020840190620001cd565b505050620000e1620000db6200017760201b60201c565b6200017b565b815160209283012081519183019190912060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818801819052818301969096526060810194909452608080850193909352308483018190528151808603909301835260c0948501909152815191909501209052919091526101205250620002af565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001db9062000273565b90600052602060002090601f016020900481019282620001ff57600085556200024a565b82601f106200021a57805160ff19168380011785556200024a565b828001600101855582156200024a579182015b828111156200024a5782518255916020019190600101906200022d565b50620002589291506200025c565b5090565b5b808211156200025857600081556001016200025d565b600181811c908216806200028857607f821691505b602082108103620002a957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051611d4c620002ff600039600061167f015260006116ce015260006116a9015260006116020152600061162c015260006116560152611d4c6000f3fe6080604052600436106102305760003560e01c806370a082311161012e578063a457c2d7116100ab578063d505accf1161006f578063d505accf1461063c578063dd62ed3e1461065c578063e8709c401461067c578063f2fde38b146106db578063ffb2d35d146106fb57600080fd5b8063a457c2d7146105b2578063a88ab886146105d2578063a9059cbb146105f2578063b2d5ae4414610612578063bdf8a69d1461062757600080fd5b80638357e492116100f25780638357e4921461052357806387e3c520146105395780638da5cb5b1461055957806394d95f8f1461058157806395d89b411461059d57600080fd5b806370a0823114610477578063715018a6146104ad57806373138e4f146104c2578063756af45f146104e35780637ecebe001461050357600080fd5b806338471dba116101bc57806341ee05f71161018057806341ee05f7146103fe578063511f07261461041e5780635ea0602814610426578063670171fd1461043c5780637072e45c1461045d57600080fd5b806338471dba1461035957806339509351146103795780633a03171c146103995780633dfa10f9146103b657806340650c91146103e357600080fd5b80632159dafc116102035780632159dafc146102c557806323b872dd146102e7578063313ce5671461030757806332cb6b0c146103235780633644e5151461034457600080fd5b8063044f910c1461023557806306fdde031461025e578063095ea7b31461028057806318160ddd146102b0575b600080fd5b34801561024157600080fd5b5061024b600a5481565b6040519081526020015b60405180910390f35b34801561026a57600080fd5b5061027361071a565b6040516102559190611a1a565b34801561028c57600080fd5b506102a061029b366004611a84565b6107ac565b6040519015158152602001610255565b3480156102bc57600080fd5b5060025461024b565b3480156102d157600080fd5b506102e56102e0366004611ab0565b6107c4565b005b3480156102f357600080fd5b506102a0610302366004611ac9565b610919565b34801561031357600080fd5b5060405160128152602001610255565b34801561032f57600080fd5b5061024b6c57171a3a037fc0699d2000000081565b34801561035057600080fd5b5061024b61093d565b34801561036557600080fd5b506102e5610374366004611b0a565b61094c565b34801561038557600080fd5b506102a0610394366004611a84565b61096e565b3480156103a557600080fd5b5061024b6801158e460913d0000081565b3480156103c257600080fd5b5061024b6103d1366004611b33565b600d6020526000908152604090205481565b3480156103ef57600080fd5b5061024b6658d15e1762800081565b34801561040a57600080fd5b506102e5610419366004611b33565b610990565b6102e56109ee565b34801561043257600080fd5b5061024b60095481565b34801561044857600080fd5b5061024b6c1e7b492de79fe9be909800000081565b34801561046957600080fd5b506008546102a09060ff1681565b34801561048357600080fd5b5061024b610492366004611b33565b6001600160a01b031660009081526020819052604090205490565b3480156104b957600080fd5b506102e5610c18565b3480156104ce57600080fd5b5061024b6c2730cbcd4e5fe362b9e800000081565b3480156104ef57600080fd5b506102e56104fe366004611b33565b610c2c565b34801561050f57600080fd5b5061024b61051e366004611b33565b610cc9565b34801561052f57600080fd5b5061024b600b5481565b34801561054557600080fd5b506102e5610554366004611b0a565b610ce9565b34801561056557600080fd5b506005546040516001600160a01b039091168152602001610255565b34801561058d57600080fd5b5061024b6703782dace9d9000081565b3480156105a957600080fd5b50610273610d04565b3480156105be57600080fd5b506102a06105cd366004611a84565b610d13565b3480156105de57600080fd5b506008546102a09062010000900460ff1681565b3480156105fe57600080fd5b506102a061060d366004611a84565b610d8e565b34801561061e57600080fd5b506102e5610d9c565b34801561063357600080fd5b506102e5610f23565b34801561064857600080fd5b506102e5610657366004611b50565b610f98565b34801561066857600080fd5b5061024b610677366004611bc7565b6110fc565b34801561068857600080fd5b506106bc610697366004611ab0565b600c60205260009081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b039093168352602083019190915201610255565b3480156106e757600080fd5b506102e56106f6366004611b33565b611127565b34801561070757600080fd5b506008546102a090610100900460ff1681565b60606003805461072990611c00565b80601f016020809104026020016040519081016040528092919081815260200182805461075590611c00565b80156107a25780601f10610777576101008083540402835291602001916107a2565b820191906000526020600020905b81548152906001019060200180831161078557829003601f168201915b5050505050905090565b6000336107ba8185856111a0565b5060019392505050565b6107cc6112c4565b60085460ff16156107f85760405162461bcd60e51b81526004016107ef90611c34565b60405180910390fd5b60006c2730cbcd4e5fe362b9e80000006108256801158e460913d00000693782dace9d9000000000611c77565b61082f9190611c96565b9050600082600b546108419190611cb8565b600a54909150610852600183611cd0565b11156108975760405162461bcd60e51b81526020600482015260146024820152736f7574206f662061697264726f702072616e676560601b60448201526064016107ef565b600b545b81811015610911576000818152600c60205260408120600101546108c990693782dace9d9000000000611c77565b905060006108d78583611c96565b6000848152600c60205260409020549091506108fc906001600160a01b03168261131e565b5050808061090990611ce7565b91505061089b565b50600b555050565b6000336109278582856113dd565b610932858585611451565b506001949350505050565b60006109476115f5565b905090565b6109546112c4565b600880549115156101000261ff0019909216919091179055565b6000336107ba81858561098183836110fc565b61098b9190611cb8565b6111a0565b6109986112c4565b60006109a360025490565b6109ba906c57171a3a037fc0699d20000000611cd0565b60085490915060ff16156109e05760405162461bcd60e51b81526004016107ef90611c34565b6109ea828261131e565b5050565b60085460009060ff16610a435760405162461bcd60e51b815260206004820152601960248201527f436f6e747269627574696f6e73206e6f7420616c6c6f7765640000000000000060448201526064016107ef565b6658d15e17628000341015610a915760405162461bcd60e51b8152602060048201526014602482015273436f6e747269627574696f6e20746f6f206c6f7760601b60448201526064016107ef565b6703782dace9d90000341115610af75760405162461bcd60e51b815260206004820152602560248201527f436f6e747269627574696f6e2065786365656473207065722077616c6c6574206044820152641b1a5b5a5d60da1b60648201526084016107ef565b6801158e460913d0000060095434610b0f9190611cb8565b1115610b5d5760405162461bcd60e51b815260206004820152601d60248201527f436f6e747269627574696f6e206578636565647320686172642063617000000060448201526064016107ef565b336000908152600d602052604090205415610b885750336000908152600d6020526040902054610bde565b600a54610b96906001611cb8565b600a80549192506000610ba883611ce7565b9091555050336000818152600d60209081526040808320859055848352600c909152902080546001600160a01b03191690911790555b34600954610bec9190611cb8565b6009556000818152600c602052604081206001018054349290610c10908490611cb8565b909155505050565b610c206112c4565b610c2a600061171c565b565b610c346112c4565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c81576040519150601f19603f3d011682016040523d82523d6000602084013e610c86565b606091505b50509050806109ea5760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b60448201526064016107ef565b6001600160a01b0381166000908152600660205260408120545b92915050565b610cf16112c4565b6008805460ff1916911515919091179055565b60606004805461072990611c00565b60003381610d2182866110fc565b905083811015610d815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107ef565b61093282868684036111a0565b6000336107ba818585611451565b600854610100900460ff16610deb5760405162461bcd60e51b81526020600482015260156024820152741c99599d5b99081a5cc81b9bdd08185b1b1bddd959605a1b60448201526064016107ef565b60085460ff1615610e0e5760405162461bcd60e51b81526004016107ef90611c34565b336000908152600d60205260408120549003610e6c5760405162461bcd60e51b815260206004820152601760248201527f7573657220646964206e6f7420636f6e7472696275746500000000000000000060448201526064016107ef565b336000908152600d6020908152604080832054808452600c9092529091206001015480610ecf5760405162461bcd60e51b81526020600482015260116024820152701b9bdd1a1a5b99c81d1bc81c99599d5b99607a1b60448201526064016107ef565b6000828152600c6020526040808220600181018390555490516001600160a01b0390911691829184156108fc0291859190818181858888f19350505050158015610f1d573d6000803e3d6000fd5b50505050565b610f2b6112c4565b60085462010000900460ff1615610f705760405162461bcd60e51b8152602060048201526009602482015268131408135a5b9d195960ba1b60448201526064016107ef565b6008805462ff0000191662010000179055610c2a336c1e7b492de79fe9be909800000061131e565b83421115610fe85760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016107ef565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886110178c61176e565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061107282611796565b90506000611082828787876117e4565b9050896001600160a01b0316816001600160a01b0316146110e55760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016107ef565b6110f08a8a8a6111a0565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61112f6112c4565b6001600160a01b0381166111945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ef565b61119d8161171c565b50565b6001600160a01b0383166112025760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107ef565b6001600160a01b0382166112635760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107ef565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610c2a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ef565b6001600160a01b0382166113745760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107ef565b80600260008282546113869190611cb8565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006113e984846110fc565b90506000198114610f1d57818110156114445760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107ef565b610f1d84848484036111a0565b6001600160a01b0383166114b55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107ef565b6001600160a01b0382166115175760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107ef565b6001600160a01b0383166000908152602081905260409020548181101561158f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107ef565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f1d565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561164e57507f000000000000000000000000000000000000000000000000000000000000000046145b1561167857507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b6000610ce36117a36115f5565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006117f58787878761180c565b91509150611802816118d0565b5095945050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561184357506000905060036118c7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611897573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166118c0576000600192509250506118c7565b9150600090505b94509492505050565b60008160048111156118e4576118e4611d00565b036118ec5750565b600181600481111561190057611900611d00565b0361194d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107ef565b600281600481111561196157611961611d00565b036119ae5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107ef565b60038160048111156119c2576119c2611d00565b0361119d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107ef565b600060208083528351808285015260005b81811015611a4757858101830151858201604001528201611a2b565b81811115611a59576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461119d57600080fd5b60008060408385031215611a9757600080fd5b8235611aa281611a6f565b946020939093013593505050565b600060208284031215611ac257600080fd5b5035919050565b600080600060608486031215611ade57600080fd5b8335611ae981611a6f565b92506020840135611af981611a6f565b929592945050506040919091013590565b600060208284031215611b1c57600080fd5b81358015158114611b2c57600080fd5b9392505050565b600060208284031215611b4557600080fd5b8135611b2c81611a6f565b600080600080600080600060e0888a031215611b6b57600080fd5b8735611b7681611a6f565b96506020880135611b8681611a6f565b95506040880135945060608801359350608088013560ff81168114611baa57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611bda57600080fd5b8235611be581611a6f565b91506020830135611bf581611a6f565b809150509250929050565b600181811c90821680611c1457607f821691505b60208210810361179057634e487b7160e01b600052602260045260246000fd5b602080825260139082015272383932b9b0b6329034b99039ba34b6361037b760691b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611c9157611c91611c61565b500290565b600082611cb357634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611ccb57611ccb611c61565b500190565b600082821015611ce257611ce2611c61565b500390565b600060018201611cf957611cf9611c61565b5060010190565b634e487b7160e01b600052602160045260246000fdfea26469706673582212201059aa1bba4603e03dda7fc74cd001bff6b9028eaa1787344ed7de3b49fe29be64736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106102305760003560e01c806370a082311161012e578063a457c2d7116100ab578063d505accf1161006f578063d505accf1461063c578063dd62ed3e1461065c578063e8709c401461067c578063f2fde38b146106db578063ffb2d35d146106fb57600080fd5b8063a457c2d7146105b2578063a88ab886146105d2578063a9059cbb146105f2578063b2d5ae4414610612578063bdf8a69d1461062757600080fd5b80638357e492116100f25780638357e4921461052357806387e3c520146105395780638da5cb5b1461055957806394d95f8f1461058157806395d89b411461059d57600080fd5b806370a0823114610477578063715018a6146104ad57806373138e4f146104c2578063756af45f146104e35780637ecebe001461050357600080fd5b806338471dba116101bc57806341ee05f71161018057806341ee05f7146103fe578063511f07261461041e5780635ea0602814610426578063670171fd1461043c5780637072e45c1461045d57600080fd5b806338471dba1461035957806339509351146103795780633a03171c146103995780633dfa10f9146103b657806340650c91146103e357600080fd5b80632159dafc116102035780632159dafc146102c557806323b872dd146102e7578063313ce5671461030757806332cb6b0c146103235780633644e5151461034457600080fd5b8063044f910c1461023557806306fdde031461025e578063095ea7b31461028057806318160ddd146102b0575b600080fd5b34801561024157600080fd5b5061024b600a5481565b6040519081526020015b60405180910390f35b34801561026a57600080fd5b5061027361071a565b6040516102559190611a1a565b34801561028c57600080fd5b506102a061029b366004611a84565b6107ac565b6040519015158152602001610255565b3480156102bc57600080fd5b5060025461024b565b3480156102d157600080fd5b506102e56102e0366004611ab0565b6107c4565b005b3480156102f357600080fd5b506102a0610302366004611ac9565b610919565b34801561031357600080fd5b5060405160128152602001610255565b34801561032f57600080fd5b5061024b6c57171a3a037fc0699d2000000081565b34801561035057600080fd5b5061024b61093d565b34801561036557600080fd5b506102e5610374366004611b0a565b61094c565b34801561038557600080fd5b506102a0610394366004611a84565b61096e565b3480156103a557600080fd5b5061024b6801158e460913d0000081565b3480156103c257600080fd5b5061024b6103d1366004611b33565b600d6020526000908152604090205481565b3480156103ef57600080fd5b5061024b6658d15e1762800081565b34801561040a57600080fd5b506102e5610419366004611b33565b610990565b6102e56109ee565b34801561043257600080fd5b5061024b60095481565b34801561044857600080fd5b5061024b6c1e7b492de79fe9be909800000081565b34801561046957600080fd5b506008546102a09060ff1681565b34801561048357600080fd5b5061024b610492366004611b33565b6001600160a01b031660009081526020819052604090205490565b3480156104b957600080fd5b506102e5610c18565b3480156104ce57600080fd5b5061024b6c2730cbcd4e5fe362b9e800000081565b3480156104ef57600080fd5b506102e56104fe366004611b33565b610c2c565b34801561050f57600080fd5b5061024b61051e366004611b33565b610cc9565b34801561052f57600080fd5b5061024b600b5481565b34801561054557600080fd5b506102e5610554366004611b0a565b610ce9565b34801561056557600080fd5b506005546040516001600160a01b039091168152602001610255565b34801561058d57600080fd5b5061024b6703782dace9d9000081565b3480156105a957600080fd5b50610273610d04565b3480156105be57600080fd5b506102a06105cd366004611a84565b610d13565b3480156105de57600080fd5b506008546102a09062010000900460ff1681565b3480156105fe57600080fd5b506102a061060d366004611a84565b610d8e565b34801561061e57600080fd5b506102e5610d9c565b34801561063357600080fd5b506102e5610f23565b34801561064857600080fd5b506102e5610657366004611b50565b610f98565b34801561066857600080fd5b5061024b610677366004611bc7565b6110fc565b34801561068857600080fd5b506106bc610697366004611ab0565b600c60205260009081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b039093168352602083019190915201610255565b3480156106e757600080fd5b506102e56106f6366004611b33565b611127565b34801561070757600080fd5b506008546102a090610100900460ff1681565b60606003805461072990611c00565b80601f016020809104026020016040519081016040528092919081815260200182805461075590611c00565b80156107a25780601f10610777576101008083540402835291602001916107a2565b820191906000526020600020905b81548152906001019060200180831161078557829003601f168201915b5050505050905090565b6000336107ba8185856111a0565b5060019392505050565b6107cc6112c4565b60085460ff16156107f85760405162461bcd60e51b81526004016107ef90611c34565b60405180910390fd5b60006c2730cbcd4e5fe362b9e80000006108256801158e460913d00000693782dace9d9000000000611c77565b61082f9190611c96565b9050600082600b546108419190611cb8565b600a54909150610852600183611cd0565b11156108975760405162461bcd60e51b81526020600482015260146024820152736f7574206f662061697264726f702072616e676560601b60448201526064016107ef565b600b545b81811015610911576000818152600c60205260408120600101546108c990693782dace9d9000000000611c77565b905060006108d78583611c96565b6000848152600c60205260409020549091506108fc906001600160a01b03168261131e565b5050808061090990611ce7565b91505061089b565b50600b555050565b6000336109278582856113dd565b610932858585611451565b506001949350505050565b60006109476115f5565b905090565b6109546112c4565b600880549115156101000261ff0019909216919091179055565b6000336107ba81858561098183836110fc565b61098b9190611cb8565b6111a0565b6109986112c4565b60006109a360025490565b6109ba906c57171a3a037fc0699d20000000611cd0565b60085490915060ff16156109e05760405162461bcd60e51b81526004016107ef90611c34565b6109ea828261131e565b5050565b60085460009060ff16610a435760405162461bcd60e51b815260206004820152601960248201527f436f6e747269627574696f6e73206e6f7420616c6c6f7765640000000000000060448201526064016107ef565b6658d15e17628000341015610a915760405162461bcd60e51b8152602060048201526014602482015273436f6e747269627574696f6e20746f6f206c6f7760601b60448201526064016107ef565b6703782dace9d90000341115610af75760405162461bcd60e51b815260206004820152602560248201527f436f6e747269627574696f6e2065786365656473207065722077616c6c6574206044820152641b1a5b5a5d60da1b60648201526084016107ef565b6801158e460913d0000060095434610b0f9190611cb8565b1115610b5d5760405162461bcd60e51b815260206004820152601d60248201527f436f6e747269627574696f6e206578636565647320686172642063617000000060448201526064016107ef565b336000908152600d602052604090205415610b885750336000908152600d6020526040902054610bde565b600a54610b96906001611cb8565b600a80549192506000610ba883611ce7565b9091555050336000818152600d60209081526040808320859055848352600c909152902080546001600160a01b03191690911790555b34600954610bec9190611cb8565b6009556000818152600c602052604081206001018054349290610c10908490611cb8565b909155505050565b610c206112c4565b610c2a600061171c565b565b610c346112c4565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c81576040519150601f19603f3d011682016040523d82523d6000602084013e610c86565b606091505b50509050806109ea5760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b60448201526064016107ef565b6001600160a01b0381166000908152600660205260408120545b92915050565b610cf16112c4565b6008805460ff1916911515919091179055565b60606004805461072990611c00565b60003381610d2182866110fc565b905083811015610d815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107ef565b61093282868684036111a0565b6000336107ba818585611451565b600854610100900460ff16610deb5760405162461bcd60e51b81526020600482015260156024820152741c99599d5b99081a5cc81b9bdd08185b1b1bddd959605a1b60448201526064016107ef565b60085460ff1615610e0e5760405162461bcd60e51b81526004016107ef90611c34565b336000908152600d60205260408120549003610e6c5760405162461bcd60e51b815260206004820152601760248201527f7573657220646964206e6f7420636f6e7472696275746500000000000000000060448201526064016107ef565b336000908152600d6020908152604080832054808452600c9092529091206001015480610ecf5760405162461bcd60e51b81526020600482015260116024820152701b9bdd1a1a5b99c81d1bc81c99599d5b99607a1b60448201526064016107ef565b6000828152600c6020526040808220600181018390555490516001600160a01b0390911691829184156108fc0291859190818181858888f19350505050158015610f1d573d6000803e3d6000fd5b50505050565b610f2b6112c4565b60085462010000900460ff1615610f705760405162461bcd60e51b8152602060048201526009602482015268131408135a5b9d195960ba1b60448201526064016107ef565b6008805462ff0000191662010000179055610c2a336c1e7b492de79fe9be909800000061131e565b83421115610fe85760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016107ef565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886110178c61176e565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061107282611796565b90506000611082828787876117e4565b9050896001600160a01b0316816001600160a01b0316146110e55760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016107ef565b6110f08a8a8a6111a0565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61112f6112c4565b6001600160a01b0381166111945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ef565b61119d8161171c565b50565b6001600160a01b0383166112025760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107ef565b6001600160a01b0382166112635760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107ef565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610c2a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ef565b6001600160a01b0382166113745760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107ef565b80600260008282546113869190611cb8565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006113e984846110fc565b90506000198114610f1d57818110156114445760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107ef565b610f1d84848484036111a0565b6001600160a01b0383166114b55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107ef565b6001600160a01b0382166115175760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107ef565b6001600160a01b0383166000908152602081905260409020548181101561158f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107ef565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f1d565b6000306001600160a01b037f0000000000000000000000008484e645a054586a6d6af60c0ee911d7b5180e641614801561164e57507f000000000000000000000000000000000000000000000000000000000000000146145b1561167857507f469c5060819bade0eb3f503fd70f2959554eef2dff81d10153589dc4784d092f90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f17f8e650f0a6d2cd2443a1270ceafae2fed9234f2616d7e912ab5a60bfca7458828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b6000610ce36117a36115f5565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006117f58787878761180c565b91509150611802816118d0565b5095945050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561184357506000905060036118c7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611897573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166118c0576000600192509250506118c7565b9150600090505b94509492505050565b60008160048111156118e4576118e4611d00565b036118ec5750565b600181600481111561190057611900611d00565b0361194d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107ef565b600281600481111561196157611961611d00565b036119ae5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107ef565b60038160048111156119c2576119c2611d00565b0361119d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107ef565b600060208083528351808285015260005b81811015611a4757858101830151858201604001528201611a2b565b81811115611a59576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461119d57600080fd5b60008060408385031215611a9757600080fd5b8235611aa281611a6f565b946020939093013593505050565b600060208284031215611ac257600080fd5b5035919050565b600080600060608486031215611ade57600080fd5b8335611ae981611a6f565b92506020840135611af981611a6f565b929592945050506040919091013590565b600060208284031215611b1c57600080fd5b81358015158114611b2c57600080fd5b9392505050565b600060208284031215611b4557600080fd5b8135611b2c81611a6f565b600080600080600080600060e0888a031215611b6b57600080fd5b8735611b7681611a6f565b96506020880135611b8681611a6f565b95506040880135945060608801359350608088013560ff81168114611baa57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611bda57600080fd5b8235611be581611a6f565b91506020830135611bf581611a6f565b809150509250929050565b600181811c90821680611c1457607f821691505b60208210810361179057634e487b7160e01b600052602260045260246000fd5b602080825260139082015272383932b9b0b6329034b99039ba34b6361037b760691b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611c9157611c91611c61565b500290565b600082611cb357634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611ccb57611ccb611c61565b500190565b600082821015611ce257611ce2611c61565b500390565b600060018201611cf957611cf9611c61565b5060010190565b634e487b7160e01b600052602160045260246000fdfea26469706673582212201059aa1bba4603e03dda7fc74cd001bff6b9028eaa1787344ed7de3b49fe29be64736f6c634300080d0033
Deployed Bytecode Sourcemap
57298:6303:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58509:38;;;;;;;;;;;;;;;;;;;160:25:1;;;148:2;133:18;58509:38:0;;;;;;;;6702:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;9053:201::-;;;;;;;;;;-1:-1:-1;9053:201:0;;;;;:::i;:::-;;:::i;:::-;;;1419:14:1;;1412:22;1394:41;;1382:2;1367:18;9053:201:0;1254:187:1;7822:108:0;;;;;;;;;;-1:-1:-1;7910:12:0;;7822:108;;60529:1138;;;;;;;;;;-1:-1:-1;60529:1138:0;;;;;:::i;:::-;;:::i;:::-;;9834:295;;;;;;;;;;-1:-1:-1;9834:295:0;;;;;:::i;:::-;;:::i;7664:93::-;;;;;;;;;;-1:-1:-1;7664:93:0;;7747:2;2234:36:1;;2222:2;2207:18;7664:93:0;2092:184:1;58052:61:0;;;;;;;;;;;;58089:24;58052:61;;53167:115;;;;;;;;;;;;;:::i;62374:95::-;;;;;;;;;;-1:-1:-1;62374:95:0;;;;;:::i;:::-;;:::i;10538:238::-;;;;;;;;;;-1:-1:-1;10538:238:0;;;;;:::i;:::-;;:::i;57958:43::-;;;;;;;;;;;;57993:8;57958:43;;58930:48;;;;;;;;;;-1:-1:-1;58930:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;57694:53;;;;;;;;;;;;57737:10;57694:53;;61743:386;;;;;;;;;;-1:-1:-1;61743:386:0;;;;;:::i;:::-;;:::i;59026:1495::-;;;:::i;58411:32::-;;;;;;;;;;;;;;;;58279:60;;;;;;;;;;;;58315:24;58279:60;;57450:38;;;;;;;;;;-1:-1:-1;57450:38:0;;;;;;;;7993:127;;;;;;;;;;-1:-1:-1;7993:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;8094:18:0;8067:7;8094:18;;;;;;;;;;;;7993:127;55521:103;;;;;;;;;;;;;:::i;58166:65::-;;;;;;;;;;;;58207:24;58166:65;;63397:201;;;;;;;;;;-1:-1:-1;63397:201:0;;;;;:::i;:::-;;:::i;52909:128::-;;;;;;;;;;-1:-1:-1;52909:128:0;;;;;:::i;:::-;;:::i;58556:32::-;;;;;;;;;;;;;;;;62200:109;;;;;;;;;;-1:-1:-1;62200:109:0;;;;;:::i;:::-;;:::i;54873:87::-;;;;;;;;;;-1:-1:-1;54946:6:0;;54873:87;;-1:-1:-1;;;;;54946:6:0;;;3399:51:1;;3387:2;3372:18;54873:87:0;3253:203:1;57819:52:0;;;;;;;;;;;;57862:9;57819:52;;6921:104;;;;;;;;;;;;;:::i;11279:436::-;;;;;;;;;;-1:-1:-1;11279:436:0;;;;;:::i;:::-;;:::i;57588:28::-;;;;;;;;;;-1:-1:-1;57588:28:0;;;;;;;;;;;8326:193;;;;;;;;;;-1:-1:-1;8326:193:0;;;;;:::i;:::-;;:::i;62504:626::-;;;;;;;;;;;;;:::i;63166:158::-;;;;;;;;;;;;;:::i;52198:645::-;;;;;;;;;;-1:-1:-1;52198:645:0;;;;;:::i;:::-;;:::i;8582:151::-;;;;;;;;;;-1:-1:-1;8582:151:0;;;;;:::i;:::-;;:::i;58806:53::-;;;;;;;;;;-1:-1:-1;58806:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58806:53:0;;;;;;;;;;-1:-1:-1;;;;;4880:32:1;;;4862:51;;4944:2;4929:18;;4922:34;;;;4835:18;58806:53:0;4688:274:1;55779:201:0;;;;;;;;;;-1:-1:-1;55779:201:0;;;;;:::i;:::-;;:::i;57526:31::-;;;;;;;;;;-1:-1:-1;57526:31:0;;;;;;;;;;;6702:100;6756:13;6789:5;6782:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6702:100;:::o;9053:201::-;9136:4;4420:10;9192:32;4420:10;9208:7;9217:6;9192:8;:32::i;:::-;-1:-1:-1;9242:4:0;;9053:201;-1:-1:-1;;;9053:201:0:o;60529:1138::-;54759:13;:11;:13::i;:::-;60618:18:::1;::::0;::::1;;60617:19;60608:52;;;;-1:-1:-1::0;;;60608:52:0::1;;;;;;;:::i;:::-;;;;;;;;;60716:21;58207:24;60741:19;57993:8;60752;60741:19;:::i;:::-;60740:37;;;;:::i;:::-;60716:61;;60871:19;60909:13;60893;;:29;;;;:::i;:::-;60960:23;::::0;60871:51;;-1:-1:-1;60941:15:0::1;60955:1;60871:51:::0;60941:15:::1;:::i;:::-;:42;;60933:75;;;::::0;-1:-1:-1;;;60933:75:0;;6692:2:1;60933:75:0::1;::::0;::::1;6674:21:1::0;6731:2;6711:18;;;6704:30;-1:-1:-1;;;6750:18:1;;;6743:50;6810:18;;60933:75:0::1;6490:344:1::0;60933:75:0::1;61101:13;::::0;61084:485:::1;61120:11;61116:1;:15;61084:485;;;61208:26;61237:15:::0;;;:12:::1;:15;::::0;;;;:22:::1;;::::0;:33:::1;::::0;61262:8:::1;61237:33;:::i;:::-;61208:62:::0;-1:-1:-1;61376:28:0::1;61407:32;61426:13:::0;61208:62;61407:32:::1;:::i;:::-;61510:15;::::0;;;:12:::1;:15;::::0;;;;:20;61376:63;;-1:-1:-1;61504:49:0::1;::::0;-1:-1:-1;;;;;61510:20:0::1;61376:63:::0;61504:5:::1;:49::i;:::-;61138:431;;61133:3;;;;;:::i;:::-;;;;61084:485;;;-1:-1:-1::0;61632:13:0::1;:27:::0;-1:-1:-1;;60529:1138:0:o;9834:295::-;9965:4;4420:10;10023:38;10039:4;4420:10;10054:6;10023:15;:38::i;:::-;10072:27;10082:4;10088:2;10092:6;10072:9;:27::i;:::-;-1:-1:-1;10117:4:0;;9834:295;-1:-1:-1;;;;9834:295:0:o;53167:115::-;53227:7;53254:20;:18;:20::i;:::-;53247:27;;53167:115;:::o;62374:95::-;54759:13;:11;:13::i;:::-;62441:11:::1;:20:::0;;;::::1;;;;-1:-1:-1::0;;62441:20:0;;::::1;::::0;;;::::1;::::0;;62374:95::o;10538:238::-;10626:4;4420:10;10682:64;4420:10;10698:7;10735:10;10707:25;4420:10;10698:7;10707:9;:25::i;:::-;:38;;;;:::i;:::-;10682:8;:64::i;61743:386::-;54759:13;:11;:13::i;:::-;61854:20:::1;61890:13;7910:12:::0;;;7822:108;61890:13:::1;61877:26;::::0;58089:24:::1;61877:26;:::i;:::-;61978:18;::::0;61854:49;;-1:-1:-1;61978:18:0::1;;61977:19;61968:52;;;;-1:-1:-1::0;;;61968:52:0::1;;;;;;;:::i;:::-;62092:29;62098:8;62108:12;62092:5;:29::i;:::-;61797:332;61743:386:::0;:::o;59026:1495::-;59278:18;;59176:25;;59278:18;;59269:57;;;;-1:-1:-1;;;59269:57:0;;7181:2:1;59269:57:0;;;7163:21:1;7220:2;7200:18;;;7193:30;7259:27;7239:18;;;7232:55;7304:18;;59269:57:0;6979:349:1;59269:57:0;57737:10;59412:9;:29;;59404:62;;;;-1:-1:-1;;;59404:62:0;;7535:2:1;59404:62:0;;;7517:21:1;7574:2;7554:18;;;7547:30;-1:-1:-1;;;7593:18:1;;;7586:50;7653:18;;59404:62:0;7333:344:1;59404:62:0;57862:9;59539;:29;;59530:80;;;;-1:-1:-1;;;59530:80:0;;7884:2:1;59530:80:0;;;7866:21:1;7923:2;7903:18;;;7896:30;7962:34;7942:18;;;7935:62;-1:-1:-1;;;8013:18:1;;;8006:35;8058:19;;59530:80:0;7682:401:1;59530:80:0;57993:8;59674:17;;59662:9;:29;;;;:::i;:::-;:41;;59653:84;;;;-1:-1:-1;;;59653:84:0;;8290:2:1;59653:84:0;;;8272:21:1;8329:2;8309:18;;;8302:30;8368:31;8348:18;;;8341:59;8417:18;;59653:84:0;8088:353:1;59653:84:0;59768:10;59755:24;;;;:12;:24;;;;;;:29;59751:516;;-1:-1:-1;59929:10:0;59916:24;;;;:12;:24;;;;;;59751:516;;;60065:23;;:27;;60091:1;60065:27;:::i;:::-;60107:23;:25;;60045:47;;-1:-1:-1;60107:23:0;:25;;;:::i;:::-;;;;-1:-1:-1;;60160:10:0;60147:24;;;;:12;:24;;;;;;;;:44;;;60206:31;;;:12;:31;;;;;:49;;-1:-1:-1;;;;;;60206:49:0;;;;;;59751:516;60379:9;60359:17;;:29;;;;:::i;:::-;60339:17;:49;60462:31;;;;:12;:31;;;;;:38;;:51;;60504:9;;60462:31;:51;;60504:9;;60462:51;:::i;:::-;;;;-1:-1:-1;;;59026:1495:0:o;55521:103::-;54759:13;:11;:13::i;:::-;55586:30:::1;55613:1;55586:18;:30::i;:::-;55521:103::o:0;63397:201::-;54759:13;:11;:13::i;:::-;63479:12:::1;63497:8;-1:-1:-1::0;;;;;63497:13:0::1;63518:21;63497:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63478:66;;;63563:7;63555:35;;;::::0;-1:-1:-1;;;63555:35:0;;8858:2:1;63555:35:0::1;::::0;::::1;8840:21:1::0;8897:2;8877:18;;;8870:30;-1:-1:-1;;;8916:18:1;;;8909:45;8971:18;;63555:35:0::1;8656:339:1::0;52909:128:0;-1:-1:-1;;;;;53005:14:0;;52978:7;53005:14;;;:7;:14;;;;;49843;53005:24;52998:31;52909:128;-1:-1:-1;;52909:128:0:o;62200:109::-;54759:13;:11;:13::i;:::-;62274:18:::1;:27:::0;;-1:-1:-1;;62274:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;62200:109::o;6921:104::-;6977:13;7010:7;7003:14;;;;;:::i;11279:436::-;11372:4;4420:10;11372:4;11455:25;4420:10;11472:7;11455:9;:25::i;:::-;11428:52;;11519:15;11499:16;:35;;11491:85;;;;-1:-1:-1;;;11491:85:0;;9202:2:1;11491:85:0;;;9184:21:1;9241:2;9221:18;;;9214:30;9280:34;9260:18;;;9253:62;-1:-1:-1;;;9331:18:1;;;9324:35;9376:19;;11491:85:0;9000:401:1;11491:85:0;11612:60;11621:5;11628:7;11656:15;11637:16;:34;11612:8;:60::i;8326:193::-;8405:4;4420:10;8461:28;4420:10;8478:2;8482:6;8461:9;:28::i;62504:626::-;62554:11;;;;;;;62545:46;;;;-1:-1:-1;;;62545:46:0;;9608:2:1;62545:46:0;;;9590:21:1;9647:2;9627:18;;;9620:30;-1:-1:-1;;;9666:18:1;;;9659:51;9727:18;;62545:46:0;9406:345:1;62545:46:0;62612:18;;;;62611:19;62602:52;;;;-1:-1:-1;;;62602:52:0;;;;;;;:::i;:::-;62686:10;62673:24;;;;:12;:24;;;;;;:29;;62665:65;;;;-1:-1:-1;;;62665:65:0;;9958:2:1;62665:65:0;;;9940:21:1;9997:2;9977:18;;;9970:30;10036:25;10016:18;;;10009:53;10079:18;;62665:65:0;9756:347:1;62665:65:0;62784:10;62743:25;62771:24;;;:12;:24;;;;;;;;;62831:31;;;:12;:31;;;;;;:38;;;62890:18;62882:48;;;;-1:-1:-1;;;62882:48:0;;10310:2:1;62882:48:0;;;10292:21:1;10349:2;10329:18;;;10322:30;-1:-1:-1;;;10368:18:1;;;10361:47;10425:18;;62882:48:0;10108:341:1;62882:48:0;62982:1;62941:31;;;:12;:31;;;;;;:38;;;:42;;;63036:36;63084:38;;-1:-1:-1;;;;;63036:36:0;;;;;;63084:38;;;;;63107:14;;63084:38;;62982:1;63084:38;63107:14;63036:36;63084:38;;;;;;;;;;;;;;;;;;;;;62532:598;;;62504:626::o;63166:158::-;54759:13;:11;:13::i;:::-;63229:8:::1;::::0;;;::::1;;;63228:9;63220:31;;;::::0;-1:-1:-1;;;63220:31:0;;10656:2:1;63220:31:0::1;::::0;::::1;10638:21:1::0;10695:1;10675:18;;;10668:29;-1:-1:-1;;;10713:18:1;;;10706:39;10762:18;;63220:31:0::1;10454:332:1::0;63220:31:0::1;63262:8;:15:::0;;-1:-1:-1;;63262:15:0::1;::::0;::::1;::::0;;63288:28:::1;63294:10;58315:24;63288:5;:28::i;52198:645::-:0;52442:8;52423:15;:27;;52415:69;;;;-1:-1:-1;;;52415:69:0;;10993:2:1;52415:69:0;;;10975:21:1;11032:2;11012:18;;;11005:30;11071:31;11051:18;;;11044:59;11120:18;;52415:69:0;10791:353:1;52415:69:0;52497:18;51373:95;52557:5;52564:7;52573:5;52580:16;52590:5;52580:9;:16::i;:::-;52528:79;;;;;;11436:25:1;;;;-1:-1:-1;;;;;11535:15:1;;;11515:18;;;11508:43;11587:15;;;;11567:18;;;11560:43;11619:18;;;11612:34;11662:19;;;11655:35;11706:19;;;11699:35;;;11408:19;;52528:79:0;;;;;;;;;;;;52518:90;;;;;;52497:111;;52621:12;52636:28;52653:10;52636:16;:28::i;:::-;52621:43;;52677:14;52694:28;52708:4;52714:1;52717;52720;52694:13;:28::i;:::-;52677:45;;52751:5;-1:-1:-1;;;;;52741:15:0;:6;-1:-1:-1;;;;;52741:15:0;;52733:58;;;;-1:-1:-1;;;52733:58:0;;11947:2:1;52733:58:0;;;11929:21:1;11986:2;11966:18;;;11959:30;12025:32;12005:18;;;11998:60;12075:18;;52733:58:0;11745:354:1;52733:58:0;52804:31;52813:5;52820:7;52829:5;52804:8;:31::i;:::-;52404:439;;;52198:645;;;;;;;:::o;8582:151::-;-1:-1:-1;;;;;8698:18:0;;;8671:7;8698:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8582:151::o;55779:201::-;54759:13;:11;:13::i;:::-;-1:-1:-1;;;;;55868:22:0;::::1;55860:73;;;::::0;-1:-1:-1;;;55860:73:0;;12306:2:1;55860:73:0::1;::::0;::::1;12288:21:1::0;12345:2;12325:18;;;12318:30;12384:34;12364:18;;;12357:62;-1:-1:-1;;;12435:18:1;;;12428:36;12481:19;;55860:73:0::1;12104:402:1::0;55860:73:0::1;55944:28;55963:8;55944:18;:28::i;:::-;55779:201:::0;:::o;15306:380::-;-1:-1:-1;;;;;15442:19:0;;15434:68;;;;-1:-1:-1;;;15434:68:0;;12713:2:1;15434:68:0;;;12695:21:1;12752:2;12732:18;;;12725:30;12791:34;12771:18;;;12764:62;-1:-1:-1;;;12842:18:1;;;12835:34;12886:19;;15434:68:0;12511:400:1;15434:68:0;-1:-1:-1;;;;;15521:21:0;;15513:68;;;;-1:-1:-1;;;15513:68:0;;13118:2:1;15513:68:0;;;13100:21:1;13157:2;13137:18;;;13130:30;13196:34;13176:18;;;13169:62;-1:-1:-1;;;13247:18:1;;;13240:32;13289:19;;15513:68:0;12916:398:1;15513:68:0;-1:-1:-1;;;;;15594:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15646:32;;160:25:1;;;15646:32:0;;133:18:1;15646:32:0;;;;;;;15306:380;;;:::o;55038:132::-;54946:6;;-1:-1:-1;;;;;54946:6:0;4420:10;55102:23;55094:68;;;;-1:-1:-1;;;55094:68:0;;13521:2:1;55094:68:0;;;13503:21:1;;;13540:18;;;13533:30;13599:34;13579:18;;;13572:62;13651:18;;55094:68:0;13319:356:1;13312:548:0;-1:-1:-1;;;;;13396:21:0;;13388:65;;;;-1:-1:-1;;;13388:65:0;;13882:2:1;13388:65:0;;;13864:21:1;13921:2;13901:18;;;13894:30;13960:33;13940:18;;;13933:61;14011:18;;13388:65:0;13680:355:1;13388:65:0;13544:6;13528:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;13699:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;13754:37;160:25:1;;;13754:37:0;;133:18:1;13754:37:0;;;;;;;61797:332:::1;61743:386:::0;:::o;15977:453::-;16112:24;16139:25;16149:5;16156:7;16139:9;:25::i;:::-;16112:52;;-1:-1:-1;;16179:16:0;:37;16175:248;;16261:6;16241:16;:26;;16233:68;;;;-1:-1:-1;;;16233:68:0;;14242:2:1;16233:68:0;;;14224:21:1;14281:2;14261:18;;;14254:30;14320:31;14300:18;;;14293:59;14369:18;;16233:68:0;14040:353:1;16233:68:0;16345:51;16354:5;16361:7;16389:6;16370:16;:25;16345:8;:51::i;12185:840::-;-1:-1:-1;;;;;12316:18:0;;12308:68;;;;-1:-1:-1;;;12308:68:0;;14600:2:1;12308:68:0;;;14582:21:1;14639:2;14619:18;;;14612:30;14678:34;14658:18;;;14651:62;-1:-1:-1;;;14729:18:1;;;14722:35;14774:19;;12308:68:0;14398:401:1;12308:68:0;-1:-1:-1;;;;;12395:16:0;;12387:64;;;;-1:-1:-1;;;12387:64:0;;15006:2:1;12387:64:0;;;14988:21:1;15045:2;15025:18;;;15018:30;15084:34;15064:18;;;15057:62;-1:-1:-1;;;15135:18:1;;;15128:33;15178:19;;12387:64:0;14804:399:1;12387:64:0;-1:-1:-1;;;;;12537:15:0;;12515:19;12537:15;;;;;;;;;;;12571:21;;;;12563:72;;;;-1:-1:-1;;;12563:72:0;;15410:2:1;12563:72:0;;;15392:21:1;15449:2;15429:18;;;15422:30;15488:34;15468:18;;;15461:62;-1:-1:-1;;;15539:18:1;;;15532:36;15585:19;;12563:72:0;15208:402:1;12563:72:0;-1:-1:-1;;;;;12671:15:0;;;:9;:15;;;;;;;;;;;12689:20;;;12671:38;;12889:13;;;;;;;;;;:23;;;;;;12941:26;;160:25:1;;;12889:13:0;;12941:26;;133:18:1;12941:26:0;;;;;;;12980:37;17030:125;47472:314;47525:7;47557:4;-1:-1:-1;;;;;47566:12:0;47549:29;;:66;;;;;47599:16;47582:13;:33;47549:66;47545:234;;;-1:-1:-1;47639:24:0;;47472:314::o;47545:234::-;-1:-1:-1;47975:73:0;;;47725:10;47975:73;;;;15874:25:1;;;;47737:12:0;15915:18:1;;;15908:34;47751:15:0;15958:18:1;;;15951:34;48019:13:0;16001:18:1;;;15994:34;48042:4:0;16044:19:1;;;;16037:61;;;;47975:73:0;;;;;;;;;;15846:19:1;;;;47975:73:0;;;47965:84;;;;;;53167:115::o;56140:191::-;56233:6;;;-1:-1:-1;;;;;56250:17:0;;;-1:-1:-1;;;;;;56250:17:0;;;;;;;56283:40;;56233:6;;;56250:17;56233:6;;56283:40;;56214:16;;56283:40;56203:128;56140:191;:::o;53420:207::-;-1:-1:-1;;;;;53541:14:0;;53480:15;53541:14;;;:7;:14;;;;;49843;;49980:1;49962:19;;;;49843:14;53602:17;53497:130;53420:207;;;:::o;48699:167::-;48776:7;48803:55;48825:20;:18;:20::i;:::-;48847:10;44162:57;;-1:-1:-1;;;44162:57:0;;;16367:27:1;16410:11;;;16403:27;;;16446:12;;;16439:28;;;44125:7:0;;16483:12:1;;44162:57:0;;;;;;;;;;;;44152:68;;;;;;44145:75;;44032:196;;;;;42341:279;42469:7;42490:17;42509:18;42531:25;42542:4;42548:1;42551;42554;42531:10;:25::i;:::-;42489:67;;;;42567:18;42579:5;42567:11;:18::i;:::-;-1:-1:-1;42603:9:0;42341:279;-1:-1:-1;;;;;42341:279:0:o;40682:1520::-;40813:7;;41747:66;41734:79;;41730:163;;;-1:-1:-1;41846:1:0;;-1:-1:-1;41850:30:0;41830:51;;41730:163;42007:24;;;41990:14;42007:24;;;;;;;;;16733:25:1;;;16806:4;16794:17;;16774:18;;;16767:45;;;;16828:18;;;16821:34;;;16871:18;;;16864:34;;;42007:24:0;;16705:19:1;;42007:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;42007:24:0;;-1:-1:-1;;42007:24:0;;;-1:-1:-1;;;;;;;42046:20:0;;42042:103;;42099:1;42103:29;42083:50;;;;;;;42042:103;42165:6;-1:-1:-1;42173:20:0;;-1:-1:-1;40682:1520:0;;;;;;;;:::o;36074:521::-;36152:20;36143:5;:29;;;;;;;;:::i;:::-;;36139:449;;36074:521;:::o;36139:449::-;36250:29;36241:5;:38;;;;;;;;:::i;:::-;;36237:351;;36296:34;;-1:-1:-1;;;36296:34:0;;17243:2:1;36296:34:0;;;17225:21:1;17282:2;17262:18;;;17255:30;17321:26;17301:18;;;17294:54;17365:18;;36296:34:0;17041:348:1;36237:351:0;36361:35;36352:5;:44;;;;;;;;:::i;:::-;;36348:240;;36413:41;;-1:-1:-1;;;36413:41:0;;17596:2:1;36413:41:0;;;17578:21:1;17635:2;17615:18;;;17608:30;17674:33;17654:18;;;17647:61;17725:18;;36413:41:0;17394:355:1;36348:240:0;36485:30;36476:5;:39;;;;;;;;:::i;:::-;;36472:116;;36532:44;;-1:-1:-1;;;36532:44:0;;17956:2:1;36532:44:0;;;17938:21:1;17995:2;17975:18;;;17968:30;18034:34;18014:18;;;18007:62;-1:-1:-1;;;18085:18:1;;;18078:32;18127:19;;36532:44:0;17754:398:1;196:597;308:4;337:2;366;355:9;348:21;398:6;392:13;441:6;436:2;425:9;421:18;414:34;466:1;476:140;490:6;487:1;484:13;476:140;;;585:14;;;581:23;;575:30;551:17;;;570:2;547:26;540:66;505:10;;476:140;;;634:6;631:1;628:13;625:91;;;704:1;699:2;690:6;679:9;675:22;671:31;664:42;625:91;-1:-1:-1;777:2:1;756:15;-1:-1:-1;;752:29:1;737:45;;;;784:2;733:54;;196:597;-1:-1:-1;;;196:597:1:o;798:131::-;-1:-1:-1;;;;;873:31:1;;863:42;;853:70;;919:1;916;909:12;934:315;1002:6;1010;1063:2;1051:9;1042:7;1038:23;1034:32;1031:52;;;1079:1;1076;1069:12;1031:52;1118:9;1105:23;1137:31;1162:5;1137:31;:::i;:::-;1187:5;1239:2;1224:18;;;;1211:32;;-1:-1:-1;;;934:315:1:o;1446:180::-;1505:6;1558:2;1546:9;1537:7;1533:23;1529:32;1526:52;;;1574:1;1571;1564:12;1526:52;-1:-1:-1;1597:23:1;;1446:180;-1:-1:-1;1446:180:1:o;1631:456::-;1708:6;1716;1724;1777:2;1765:9;1756:7;1752:23;1748:32;1745:52;;;1793:1;1790;1783:12;1745:52;1832:9;1819:23;1851:31;1876:5;1851:31;:::i;:::-;1901:5;-1:-1:-1;1958:2:1;1943:18;;1930:32;1971:33;1930:32;1971:33;:::i;:::-;1631:456;;2023:7;;-1:-1:-1;;;2077:2:1;2062:18;;;;2049:32;;1631:456::o;2463:273::-;2519:6;2572:2;2560:9;2551:7;2547:23;2543:32;2540:52;;;2588:1;2585;2578:12;2540:52;2627:9;2614:23;2680:5;2673:13;2666:21;2659:5;2656:32;2646:60;;2702:1;2699;2692:12;2646:60;2725:5;2463:273;-1:-1:-1;;;2463:273:1:o;2741:247::-;2800:6;2853:2;2841:9;2832:7;2828:23;2824:32;2821:52;;;2869:1;2866;2859:12;2821:52;2908:9;2895:23;2927:31;2952:5;2927:31;:::i;3461:829::-;3572:6;3580;3588;3596;3604;3612;3620;3673:3;3661:9;3652:7;3648:23;3644:33;3641:53;;;3690:1;3687;3680:12;3641:53;3729:9;3716:23;3748:31;3773:5;3748:31;:::i;:::-;3798:5;-1:-1:-1;3855:2:1;3840:18;;3827:32;3868:33;3827:32;3868:33;:::i;:::-;3920:7;-1:-1:-1;3974:2:1;3959:18;;3946:32;;-1:-1:-1;4025:2:1;4010:18;;3997:32;;-1:-1:-1;4081:3:1;4066:19;;4053:33;4130:4;4117:18;;4105:31;;4095:59;;4150:1;4147;4140:12;4095:59;3461:829;;;;-1:-1:-1;3461:829:1;;;;4173:7;4227:3;4212:19;;4199:33;;-1:-1:-1;4279:3:1;4264:19;;;4251:33;;3461:829;-1:-1:-1;;3461:829:1:o;4295:388::-;4363:6;4371;4424:2;4412:9;4403:7;4399:23;4395:32;4392:52;;;4440:1;4437;4430:12;4392:52;4479:9;4466:23;4498:31;4523:5;4498:31;:::i;:::-;4548:5;-1:-1:-1;4605:2:1;4590:18;;4577:32;4618:33;4577:32;4618:33;:::i;:::-;4670:7;4660:17;;;4295:388;;;;;:::o;4967:380::-;5046:1;5042:12;;;;5089;;;5110:61;;5164:4;5156:6;5152:17;5142:27;;5110:61;5217:2;5209:6;5206:14;5186:18;5183:38;5180:161;;5263:10;5258:3;5254:20;5251:1;5244:31;5298:4;5295:1;5288:15;5326:4;5323:1;5316:15;5352:343;5554:2;5536:21;;;5593:2;5573:18;;;5566:30;-1:-1:-1;;;5627:2:1;5612:18;;5605:49;5686:2;5671:18;;5352:343::o;5700:127::-;5761:10;5756:3;5752:20;5749:1;5742:31;5792:4;5789:1;5782:15;5816:4;5813:1;5806:15;5832:168;5872:7;5938:1;5934;5930:6;5926:14;5923:1;5920:21;5915:1;5908:9;5901:17;5897:45;5894:71;;;5945:18;;:::i;:::-;-1:-1:-1;5985:9:1;;5832:168::o;6005:217::-;6045:1;6071;6061:132;;6115:10;6110:3;6106:20;6103:1;6096:31;6150:4;6147:1;6140:15;6178:4;6175:1;6168:15;6061:132;-1:-1:-1;6207:9:1;;6005:217::o;6227:128::-;6267:3;6298:1;6294:6;6291:1;6288:13;6285:39;;;6304:18;;:::i;:::-;-1:-1:-1;6340:9:1;;6227:128::o;6360:125::-;6400:4;6428:1;6425;6422:8;6419:34;;;6433:18;;:::i;:::-;-1:-1:-1;6470:9:1;;6360:125::o;6839:135::-;6878:3;6899:17;;;6896:43;;6919:18;;:::i;:::-;-1:-1:-1;6966:1:1;6955:13;;6839:135::o;16909:127::-;16970:10;16965:3;16961:20;16958:1;16951:31;17001:4;16998:1;16991:15;17025:4;17022:1;17015:15
Swarm Source
ipfs://1059aa1bba4603e03dda7fc74cd001bff6b9028eaa1787344ed7de3b49fe29be
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.