Overview
Max Total Supply
64,117.864177256 QLT
Holders
134 (0.00%)
Transfers
-
0
Market
Price
$8.61 @ 0.004237 ETH
Onchain Market Cap
-
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 9 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
QLT
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2022-02-15
*/
// Sources flattened with hardhat v2.8.0 https://hardhat.org
// File contracts/interfaces/IUniswapV3Factory.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;
/// @title The interface for the Uniswap V3 Factory
/// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees
interface IUniswapV3Factory {
/// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist
/// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order
/// @param tokenA The contract address of either token0 or token1
/// @param tokenB The contract address of the other token
/// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip
/// @return pool The pool address
function getPool(
address tokenA,
address tokenB,
uint24 fee
) external view returns (address pool);
/// @notice Creates a pool for the given two tokens and fee
/// @param tokenA One of the two tokens in the desired pool
/// @param tokenB The other of the two tokens in the desired pool
/// @param fee The desired fee for the pool
/// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved
/// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments
/// are invalid.
/// @return pool The address of the newly created pool
function createPool(
address tokenA,
address tokenB,
uint24 fee
) external returns (address pool);
}
// File contracts/interfaces/IUniswapV3Pool.sol
interface IUniswapV3Pool {
/// @notice Sets the initial price for the pool
/// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value
/// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96
function initialize(uint160 sqrtPriceX96) external;
/// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas
/// when accessed externally.
/// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value
/// tick The current tick of the pool, i.e. according to the last tick transition that was run.
/// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick
/// boundary.
/// observationIndex The index of the last oracle observation that was written,
/// observationCardinality The current maximum number of observations stored in the pool,
/// observationCardinalityNext The next maximum number of observations, to be updated when the observation.
/// feeProtocol The protocol fee for both tokens of the pool.
/// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0
/// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.
/// unlocked Whether the pool is currently locked to reentrancy
function slot0()
external
view
returns (
uint160 sqrtPriceX96,
int24 tick,
uint16 observationIndex,
uint16 observationCardinality,
uint16 observationCardinalityNext,
uint8 feeProtocol,
bool unlocked
);
/// @notice Increase the maximum number of price and liquidity observations that this pool will store
/// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to
/// the input observationCardinalityNext.
/// @param observationCardinalityNext The desired minimum number of observations for the pool to store
function increaseObservationCardinalityNext(
uint16 observationCardinalityNext
) external;
/// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp
/// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing
/// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,
/// you must call it with secondsAgos = [3600, 0].
/// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in
/// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.
/// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned
/// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp
/// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block
/// timestamp
function observe(uint32[] calldata secondsAgos)
external
view
returns (
int56[] memory tickCumulatives,
uint160[] memory secondsPerLiquidityCumulativeX128s
);
}
// File contracts/libraries/Ownable.sol
/**
* @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 {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(msg.sender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == msg.sender, "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/interfaces/IERC20.sol
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount)
external
returns (bool);
function allowance(address owner, address spender)
external
view
returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
}
// File contracts/libraries/ERC20.sol
/**
* @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.zeppelin.solutions/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 IERC20 {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
uint8 private _decimals;
/**
* @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_,
uint8 decimals_
) {
_name = name_;
_symbol = symbol_;
_decimals = decimals_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the 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 returns (uint8) {
return _decimals;
}
/**
* @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:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount)
public
virtual
override
returns (bool)
{
_transfer(msg.sender, recipient, 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)
{
_approve(msg.sender, 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:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
uint256 currentAllowance = _allowances[sender][msg.sender];
if (currentAllowance != type(uint256).max) {
require(
currentAllowance >= amount,
"ERC20: transfer amount exceeds allowance"
);
unchecked {
_approve(sender, msg.sender, currentAllowance - amount);
}
}
_transfer(sender, recipient, 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)
{
_approve(
msg.sender,
spender,
_allowances[msg.sender][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)
{
uint256 currentAllowance = _allowances[msg.sender][spender];
require(
currentAllowance >= subtractedValue,
"ERC20: decreased allowance below zero"
);
unchecked {
_approve(msg.sender, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* 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:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(
senderBalance >= amount,
"ERC20: transfer amount exceeds balance"
);
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(sender, recipient, 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;
_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;
}
_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 Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
// File contracts/libraries/Math.sol
library Math {
function compound(uint256 rewardRateX96, uint256 nCompounds)
internal
pure
returns (uint256 compoundedX96)
{
if (nCompounds == 0) {
compoundedX96 = 2**96;
} else if (nCompounds == 1) {
compoundedX96 = rewardRateX96;
} else {
compoundedX96 = compound(rewardRateX96, nCompounds / 2);
compoundedX96 = mulX96(compoundedX96, compoundedX96);
if (nCompounds % 2 == 1) {
compoundedX96 = mulX96(compoundedX96, rewardRateX96);
}
}
}
// ref: https://blogs.sas.com/content/iml/2016/05/16/babylonian-square-roots.html
function sqrt(uint256 x) internal pure returns (uint256 y) {
uint256 z = (x + 1) / 2;
y = x;
while (z < y) {
y = z;
z = (x / z + z) / 2;
}
}
function mulX96(uint256 x, uint256 y) internal pure returns (uint256 z) {
z = (x * y) >> 96;
}
function divX96(uint256 x, uint256 y) internal pure returns (uint256 z) {
z = (x << 96) / y;
}
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
}
// File contracts/libraries/TickMath.sol
/// @title Math library for computing sqrt prices from ticks and vice versa
/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports
/// prices between 2**-128 and 2**128
library TickMath {
/// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128
int24 internal constant MIN_TICK = -887272;
/// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128
int24 internal constant MAX_TICK = -MIN_TICK;
/// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)
uint160 internal constant MIN_SQRT_RATIO = 4295128739;
/// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)
uint160 internal constant MAX_SQRT_RATIO =
1461446703485210103287273052203988822378723970342;
/// @notice Calculates sqrt(1.0001^tick) * 2^96
/// @dev Throws if |tick| > max tick
/// @param tick The input tick for the above formula
/// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)
/// at the given tick
function getSqrtRatioAtTick(int24 tick)
internal
pure
returns (uint160 sqrtPriceX96)
{
uint256 absTick = tick < 0
? uint256(-int256(tick))
: uint256(int256(tick));
require(absTick <= uint256(int256(MAX_TICK)), "T");
uint256 ratio = absTick & 0x1 != 0
? 0xfffcb933bd6fad37aa2d162d1a594001
: 0x100000000000000000000000000000000;
if (absTick & 0x2 != 0)
ratio = (ratio * 0xfff97272373d413259a46990580e213a) >> 128;
if (absTick & 0x4 != 0)
ratio = (ratio * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;
if (absTick & 0x8 != 0)
ratio = (ratio * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;
if (absTick & 0x10 != 0)
ratio = (ratio * 0xffcb9843d60f6159c9db58835c926644) >> 128;
if (absTick & 0x20 != 0)
ratio = (ratio * 0xff973b41fa98c081472e6896dfb254c0) >> 128;
if (absTick & 0x40 != 0)
ratio = (ratio * 0xff2ea16466c96a3843ec78b326b52861) >> 128;
if (absTick & 0x80 != 0)
ratio = (ratio * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;
if (absTick & 0x100 != 0)
ratio = (ratio * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;
if (absTick & 0x200 != 0)
ratio = (ratio * 0xf987a7253ac413176f2b074cf7815e54) >> 128;
if (absTick & 0x400 != 0)
ratio = (ratio * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;
if (absTick & 0x800 != 0)
ratio = (ratio * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;
if (absTick & 0x1000 != 0)
ratio = (ratio * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;
if (absTick & 0x2000 != 0)
ratio = (ratio * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;
if (absTick & 0x4000 != 0)
ratio = (ratio * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;
if (absTick & 0x8000 != 0)
ratio = (ratio * 0x31be135f97d08fd981231505542fcfa6) >> 128;
if (absTick & 0x10000 != 0)
ratio = (ratio * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;
if (absTick & 0x20000 != 0)
ratio = (ratio * 0x5d6af8dedb81196699c329225ee604) >> 128;
if (absTick & 0x40000 != 0)
ratio = (ratio * 0x2216e584f5fa1ea926041bedfe98) >> 128;
if (absTick & 0x80000 != 0)
ratio = (ratio * 0x48a170391f7dc42444e8fa2) >> 128;
if (tick > 0) ratio = type(uint256).max / ratio;
// this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.
// we then downcast because we know the result always fits within 160 bits due to our tick input constraint
// we round up in the division so getTickAtSqrtRatio of the output price is always consistent
sqrtPriceX96 = uint160(
(ratio >> 32) + (ratio % (1 << 32) == 0 ? 0 : 1)
);
}
/// @notice Calculates the greatest tick value such that getRatioAtTick(tick) <= ratio
/// @dev Throws in case sqrtPriceX96 < MIN_SQRT_RATIO, as MIN_SQRT_RATIO is the lowest value getRatioAtTick may
/// ever return.
/// @param sqrtPriceX96 The sqrt ratio for which to compute the tick as a Q64.96
/// @return tick The greatest tick for which the ratio is less than or equal to the input ratio
function getTickAtSqrtRatio(uint160 sqrtPriceX96)
internal
pure
returns (int24 tick)
{
// second inequality must be < because the price can never reach the price at the max tick
require(
sqrtPriceX96 >= MIN_SQRT_RATIO && sqrtPriceX96 < MAX_SQRT_RATIO,
"R"
);
uint256 ratio = uint256(sqrtPriceX96) << 32;
uint256 r = ratio;
uint256 msb = 0;
assembly {
let f := shl(7, gt(r, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))
msb := or(msb, f)
r := shr(f, r)
}
assembly {
let f := shl(6, gt(r, 0xFFFFFFFFFFFFFFFF))
msb := or(msb, f)
r := shr(f, r)
}
assembly {
let f := shl(5, gt(r, 0xFFFFFFFF))
msb := or(msb, f)
r := shr(f, r)
}
assembly {
let f := shl(4, gt(r, 0xFFFF))
msb := or(msb, f)
r := shr(f, r)
}
assembly {
let f := shl(3, gt(r, 0xFF))
msb := or(msb, f)
r := shr(f, r)
}
assembly {
let f := shl(2, gt(r, 0xF))
msb := or(msb, f)
r := shr(f, r)
}
assembly {
let f := shl(1, gt(r, 0x3))
msb := or(msb, f)
r := shr(f, r)
}
assembly {
let f := gt(r, 0x1)
msb := or(msb, f)
}
if (msb >= 128) r = ratio >> (msb - 127);
else r = ratio << (127 - msb);
int256 log_2 = (int256(msb) - 128) << 64;
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(63, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(62, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(61, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(60, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(59, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(58, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(57, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(56, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(55, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(54, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(53, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(52, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(51, f))
r := shr(f, r)
}
assembly {
r := shr(127, mul(r, r))
let f := shr(128, r)
log_2 := or(log_2, shl(50, f))
}
int256 log_sqrt10001 = log_2 * 255738958999603826347141; // 128.128 number
int24 tickLow = int24(
(log_sqrt10001 - 3402992956809132418596140100660247210) >> 128
);
int24 tickHi = int24(
(log_sqrt10001 + 291339464771989622907027621153398088495) >> 128
);
tick = tickLow == tickHi
? tickLow
: getSqrtRatioAtTick(tickHi) <= sqrtPriceX96
? tickHi
: tickLow;
}
}
// File contracts/Const.sol
int24 constant INITIAL_QLT_PRICE_TICK = -23000; // QLT_USDC price ~ 100.0
// initial values
uint24 constant UNISWAP_POOL_FEE = 10000;
int24 constant UNISWAP_POOL_TICK_SPACING = 200;
uint16 constant UNISWAP_POOL_OBSERVATION_CADINALITY = 64;
// default values
uint256 constant DEFAULT_MIN_MINT_PRICE_X96 = 100 * Q96;
uint32 constant DEFAULT_TWAP_DURATION = 1 hours;
uint32 constant DEFAULT_UNSTAKE_LOCKUP_PERIOD = 3 days;
// floating point math
uint256 constant Q96 = 2**96;
uint256 constant MX96 = Q96 / 10**6;
uint256 constant TX96 = Q96 / 10**12;
// ERC-20 contract addresses
address constant WETH = address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
address constant USDC = address(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);
address constant USDT = address(0xdAC17F958D2ee523a2206206994597C13D831ec7);
address constant DAI = address(0x6B175474E89094C44Da98b954EedeAC495271d0F);
address constant BUSD = address(0x4Fabb145d64652a948d72533023f6E7A623C7C53);
address constant FRAX = address(0x853d955aCEf822Db058eb8505911ED77F175b99e);
address constant WBTC = address(0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599);
// Uniswap, see `https://docs.uniswap.org/protocol/reference/deployments`
address constant UNISWAP_FACTORY = address(
0x1F98431c8aD98523631AE4a59f267346ea31F984
);
address constant UNISWAP_ROUTER = address(
0xE592427A0AEce92De3Edee1F18E0157C05861564
);
address constant UNISWAP_NFP_MGR = address(
0xC36442b4a4522E871399CD717aBDD847Ab11FE88
);
// File contracts/QLT.sol
contract QLT is ERC20, Ownable {
event Mint(address indexed account, uint256 amount);
event Burn(uint256 amount);
mapping(address => bool) public authorizedMinters;
constructor() ERC20("Quantland", "QLT", 9) {
require(
address(this) < USDC,
"QLT contract address must be smaller than USDC token contract address"
);
authorizedMinters[msg.sender] = true;
// deploy uniswap pool
IUniswapV3Pool pool = IUniswapV3Pool(
IUniswapV3Factory(UNISWAP_FACTORY).createPool(
address(this),
USDC,
UNISWAP_POOL_FEE
)
);
pool.initialize(TickMath.getSqrtRatioAtTick(INITIAL_QLT_PRICE_TICK));
pool.increaseObservationCardinalityNext(
UNISWAP_POOL_OBSERVATION_CADINALITY
);
}
function mint(address account, uint256 amount)
external
onlyAuthorizedMinter
{
_mint(account, amount);
emit Mint(account, amount);
}
function burn(uint256 amount) external onlyOwner {
_burn(msg.sender, amount);
emit Burn(amount);
}
/* Access Control */
modifier onlyAuthorizedMinter() {
require(authorizedMinters[msg.sender], "not authorized minter");
_;
}
function addAuthorizedMinter(address account) external onlyOwner {
authorizedMinters[account] = true;
}
function removeAuthorizedMinter(address account) external onlyOwner {
authorizedMinters[account] = false;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addAuthorizedMinter","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"authorizedMinters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeAuthorizedMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b5060405180604001604052806009815260200168145d585b9d1b185b9960ba1b8152506040518060400160405280600381526020016214531560ea1b815250600982600390805190602001906200006a92919062000796565b5081516200008090600490602085019062000796565b506005805460ff191660ff9290921691909117905550620000a3905033620002dd565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb483010620001405760405162461bcd60e51b815260206004820152604560248201527f514c5420636f6e74726163742061646472657373206d75737420626520736d6160448201527f6c6c6572207468616e205553444320746f6b656e20636f6e7472616374206164606482015264647265737360d81b608482015260a4015b60405180910390fd5b33600090815260066020526040808220805460ff191660011790555163a167129560e01b815230600482015273a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4860248201526127106044820152731f98431c8ad98523631ae4a59f267346ea31f9849063a1671295906064016020604051808303816000875af1158015620001cd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f391906200083c565b9050806001600160a01b031663f637731d6200021d6159d7196200033760201b620007e21760201c565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b1580156200025f57600080fd5b505af115801562000274573d6000803e3d6000fd5b5050604080516332148f6760e01b815260048101919091526001600160a01b03841692506332148f679150602401600060405180830381600087803b158015620002bd57600080fd5b505af1158015620002d2573d6000803e3d6000fd5b505050505062000988565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060008360020b1262000350578260020b6200035f565b8260020b6200035f9062000884565b905062000370620d89e719620008a4565b60020b811115620003a85760405162461bcd60e51b81526020600482015260016024820152601560fa1b604482015260640162000137565b600060018216620003be57600160801b620003d0565b6ffffcb933bd6fad37aa2d162d1a5940015b6001600160881b0316905060028216156200040857608062000403826ffff97272373d413259a46990580e213a620008ca565b901c90505b60048216156200043557608062000430826ffff2e50f5f656932ef12357cf3c7fdcc620008ca565b901c90505b6008821615620004625760806200045d826fffe5caca7e10e4e61c3624eaa0941cd0620008ca565b901c90505b60108216156200048f5760806200048a826fffcb9843d60f6159c9db58835c926644620008ca565b901c90505b6020821615620004bc576080620004b7826fff973b41fa98c081472e6896dfb254c0620008ca565b901c90505b6040821615620004e9576080620004e4826fff2ea16466c96a3843ec78b326b52861620008ca565b901c90505b60808216156200051657608062000511826ffe5dee046a99a2a811c461f1969c3053620008ca565b901c90505b610100821615620005445760806200053f826ffcbe86c7900a88aedcffc83b479aa3a4620008ca565b901c90505b610200821615620005725760806200056d826ff987a7253ac413176f2b074cf7815e54620008ca565b901c90505b610400821615620005a05760806200059b826ff3392b0822b70005940c7a398e4b70f3620008ca565b901c90505b610800821615620005ce576080620005c9826fe7159475a2c29b7443b29c7fa6e889d9620008ca565b901c90505b611000821615620005fc576080620005f7826fd097f3bdfd2022b8845ad8f792aa5825620008ca565b901c90505b6120008216156200062a57608062000625826fa9f746462d870fdf8a65dc1f90e061e5620008ca565b901c90505b6140008216156200065857608062000653826f70d869a156d2a1b890bb3df62baf32f7620008ca565b901c90505b6180008216156200068657608062000681826f31be135f97d08fd981231505542fcfa6620008ca565b901c90505b62010000821615620006b5576080620006b0826f09aa508b5b7a84e1c677de54f3e99bc9620008ca565b901c90505b62020000821615620006e3576080620006de826e5d6af8dedb81196699c329225ee604620008ca565b901c90505b62040000821615620007105760806200070b826d2216e584f5fa1ea926041bedfe98620008ca565b901c90505b620800008216156200073b57608062000736826b048a170391f7dc42444e8fa2620008ca565b901c90505b60008460020b13156200075957620007568160001962000902565b90505b6200076a6401000000008262000919565b15620007785760016200077b565b60005b6200078e9060ff16602083901c62000930565b949350505050565b828054620007a4906200094b565b90600052602060002090601f016020900481019282620007c8576000855562000813565b82601f10620007e357805160ff191683800117855562000813565b8280016001018555821562000813579182015b8281111562000813578251825591602001919060010190620007f6565b506200082192915062000825565b5090565b5b8082111562000821576000815560010162000826565b6000602082840312156200084f57600080fd5b81516001600160a01b03811681146200086757600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b6000600160ff1b8214156200089d576200089d6200086e565b5060000390565b60008160020b627fffff19811415620008c157620008c16200086e565b60000392915050565b6000816000190483118215151615620008e757620008e76200086e565b500290565b634e487b7160e01b600052601260045260246000fd5b600082620009145762000914620008ec565b500490565b6000826200092b576200092b620008ec565b500690565b600082198211156200094657620009466200086e565b500190565b600181811c908216806200096057607f821691505b602082108114156200098257634e487b7160e01b600052602260045260246000fd5b50919050565b61143f80620009986000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80635f710f5c116100ad578063a457c2d711610071578063a457c2d714610264578063a9059cbb14610277578063aa2fe91b1461028a578063dd62ed3e146102ad578063f2fde38b146102e657600080fd5b80635f710f5c146101ef57806370a0823114610202578063715018a61461022b5780638da5cb5b1461023357806395d89b411461025c57600080fd5b8063313ce567116100f4578063313ce5671461018c57806339509351146101a157806340c10f19146101b457806342966c68146101c9578063475ae039146101dc57600080fd5b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016757806323b872dd14610179575b600080fd5b61012e6102f9565b60405161013b9190611172565b60405180910390f35b6101576101523660046111e3565b61038b565b604051901515815260200161013b565b6002545b60405190815260200161013b565b61015761018736600461120d565b6103a1565b60055460405160ff909116815260200161013b565b6101576101af3660046111e3565b610457565b6101c76101c23660046111e3565b610493565b005b6101c76101d7366004611249565b61053b565b6101c76101ea366004611262565b6105ab565b6101c76101fd366004611262565b6105fc565b61016b610210366004611262565b6001600160a01b031660009081526020819052604090205490565b6101c7610650565b60055461010090046001600160a01b03166040516001600160a01b03909116815260200161013b565b61012e61068c565b6101576102723660046111e3565b61069b565b6101576102853660046111e3565b610734565b610157610298366004611262565b60066020526000908152604090205460ff1681565b61016b6102bb366004611284565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101c76102f4366004611262565b610741565b606060038054610308906112b7565b80601f0160208091040260200160405190810160405280929190818152602001828054610334906112b7565b80156103815780601f1061035657610100808354040283529160200191610381565b820191906000526020600020905b81548152906001019060200180831161036457829003601f168201915b5050505050905090565b6000610398338484610bff565b50600192915050565b6001600160a01b0383166000908152600160209081526040808320338452909152812054600019811461044157828110156104345760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104418533858403610bff565b61044c858585610d24565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161039891859061048e908690611308565b610bff565b3360009081526006602052604090205460ff166104ea5760405162461bcd60e51b81526020600482015260156024820152743737ba1030baba3437b934bd32b21036b4b73a32b960591b604482015260640161042b565b6104f48282610ef3565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161052f91815260200190565b60405180910390a25050565b6005546001600160a01b0361010090910416331461056b5760405162461bcd60e51b815260040161042b90611320565b6105753382610fd2565b6040518181527fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb9060200160405180910390a150565b6005546001600160a01b036101009091041633146105db5760405162461bcd60e51b815260040161042b90611320565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6005546001600160a01b0361010090910416331461062c5760405162461bcd60e51b815260040161042b90611320565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6005546001600160a01b036101009091041633146106805760405162461bcd60e51b815260040161042b90611320565b61068a6000611118565b565b606060048054610308906112b7565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561071d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161042b565b61072a3385858403610bff565b5060019392505050565b6000610398338484610d24565b6005546001600160a01b036101009091041633146107715760405162461bcd60e51b815260040161042b90611320565b6001600160a01b0381166107d65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161042b565b6107df81611118565b50565b60008060008360020b126107f9578260020b610806565b8260020b61080690611355565b9050610815620d89e719611372565b60020b81111561084b5760405162461bcd60e51b81526020600482015260016024820152601560fa1b604482015260640161042b565b60006001821661085f57600160801b610871565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff16905060028216156108b05760806108ab826ffff97272373d413259a46990580e213a611395565b901c90505b60048216156108da5760806108d5826ffff2e50f5f656932ef12357cf3c7fdcc611395565b901c90505b60088216156109045760806108ff826fffe5caca7e10e4e61c3624eaa0941cd0611395565b901c90505b601082161561092e576080610929826fffcb9843d60f6159c9db58835c926644611395565b901c90505b6020821615610958576080610953826fff973b41fa98c081472e6896dfb254c0611395565b901c90505b604082161561098257608061097d826fff2ea16466c96a3843ec78b326b52861611395565b901c90505b60808216156109ac5760806109a7826ffe5dee046a99a2a811c461f1969c3053611395565b901c90505b6101008216156109d75760806109d2826ffcbe86c7900a88aedcffc83b479aa3a4611395565b901c90505b610200821615610a025760806109fd826ff987a7253ac413176f2b074cf7815e54611395565b901c90505b610400821615610a2d576080610a28826ff3392b0822b70005940c7a398e4b70f3611395565b901c90505b610800821615610a58576080610a53826fe7159475a2c29b7443b29c7fa6e889d9611395565b901c90505b611000821615610a83576080610a7e826fd097f3bdfd2022b8845ad8f792aa5825611395565b901c90505b612000821615610aae576080610aa9826fa9f746462d870fdf8a65dc1f90e061e5611395565b901c90505b614000821615610ad9576080610ad4826f70d869a156d2a1b890bb3df62baf32f7611395565b901c90505b618000821615610b04576080610aff826f31be135f97d08fd981231505542fcfa6611395565b901c90505b62010000821615610b30576080610b2b826f09aa508b5b7a84e1c677de54f3e99bc9611395565b901c90505b62020000821615610b5b576080610b56826e5d6af8dedb81196699c329225ee604611395565b901c90505b62040000821615610b85576080610b80826d2216e584f5fa1ea926041bedfe98611395565b901c90505b62080000821615610bad576080610ba8826b048a170391f7dc42444e8fa2611395565b901c90505b60008460020b1315610bc857610bc5816000196113ca565b90505b610bd7640100000000826113de565b15610be3576001610be6565b60005b610bf79060ff16602083901c611308565b949350505050565b6001600160a01b038316610c615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161042b565b6001600160a01b038216610cc25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161042b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610d885760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161042b565b6001600160a01b038216610dea5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161042b565b6001600160a01b03831660009081526020819052604090205481811015610e625760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161042b565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610e99908490611308565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ee591815260200190565b60405180910390a350505050565b6001600160a01b038216610f495760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161042b565b8060026000828254610f5b9190611308565b90915550506001600160a01b03821660009081526020819052604081208054839290610f88908490611308565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166110325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161042b565b6001600160a01b038216600090815260208190526040902054818110156110a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161042b565b6001600160a01b03831660009081526020819052604081208383039055600280548492906110d59084906113f2565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610d17565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b8181101561119f57858101830151858201604001528201611183565b818111156111b1576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146111de57600080fd5b919050565b600080604083850312156111f657600080fd5b6111ff836111c7565b946020939093013593505050565b60008060006060848603121561122257600080fd5b61122b846111c7565b9250611239602085016111c7565b9150604084013590509250925092565b60006020828403121561125b57600080fd5b5035919050565b60006020828403121561127457600080fd5b61127d826111c7565b9392505050565b6000806040838503121561129757600080fd5b6112a0836111c7565b91506112ae602084016111c7565b90509250929050565b600181811c908216806112cb57607f821691505b602082108114156112ec57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561131b5761131b6112f2565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000600160ff1b82141561136b5761136b6112f2565b5060000390565b60008160020b627fffff1981141561138c5761138c6112f2565b60000392915050565b60008160001904831182151516156113af576113af6112f2565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826113d9576113d96113b4565b500490565b6000826113ed576113ed6113b4565b500690565b600082821015611404576114046112f2565b50039056fea2646970667358221220b3ee33f627be47d8878876515575f7559691b173ac7cfd61ca0590a849908c4f64736f6c634300080b0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c80635f710f5c116100ad578063a457c2d711610071578063a457c2d714610264578063a9059cbb14610277578063aa2fe91b1461028a578063dd62ed3e146102ad578063f2fde38b146102e657600080fd5b80635f710f5c146101ef57806370a0823114610202578063715018a61461022b5780638da5cb5b1461023357806395d89b411461025c57600080fd5b8063313ce567116100f4578063313ce5671461018c57806339509351146101a157806340c10f19146101b457806342966c68146101c9578063475ae039146101dc57600080fd5b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016757806323b872dd14610179575b600080fd5b61012e6102f9565b60405161013b9190611172565b60405180910390f35b6101576101523660046111e3565b61038b565b604051901515815260200161013b565b6002545b60405190815260200161013b565b61015761018736600461120d565b6103a1565b60055460405160ff909116815260200161013b565b6101576101af3660046111e3565b610457565b6101c76101c23660046111e3565b610493565b005b6101c76101d7366004611249565b61053b565b6101c76101ea366004611262565b6105ab565b6101c76101fd366004611262565b6105fc565b61016b610210366004611262565b6001600160a01b031660009081526020819052604090205490565b6101c7610650565b60055461010090046001600160a01b03166040516001600160a01b03909116815260200161013b565b61012e61068c565b6101576102723660046111e3565b61069b565b6101576102853660046111e3565b610734565b610157610298366004611262565b60066020526000908152604090205460ff1681565b61016b6102bb366004611284565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101c76102f4366004611262565b610741565b606060038054610308906112b7565b80601f0160208091040260200160405190810160405280929190818152602001828054610334906112b7565b80156103815780601f1061035657610100808354040283529160200191610381565b820191906000526020600020905b81548152906001019060200180831161036457829003601f168201915b5050505050905090565b6000610398338484610bff565b50600192915050565b6001600160a01b0383166000908152600160209081526040808320338452909152812054600019811461044157828110156104345760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104418533858403610bff565b61044c858585610d24565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161039891859061048e908690611308565b610bff565b3360009081526006602052604090205460ff166104ea5760405162461bcd60e51b81526020600482015260156024820152743737ba1030baba3437b934bd32b21036b4b73a32b960591b604482015260640161042b565b6104f48282610ef3565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161052f91815260200190565b60405180910390a25050565b6005546001600160a01b0361010090910416331461056b5760405162461bcd60e51b815260040161042b90611320565b6105753382610fd2565b6040518181527fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb9060200160405180910390a150565b6005546001600160a01b036101009091041633146105db5760405162461bcd60e51b815260040161042b90611320565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6005546001600160a01b0361010090910416331461062c5760405162461bcd60e51b815260040161042b90611320565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6005546001600160a01b036101009091041633146106805760405162461bcd60e51b815260040161042b90611320565b61068a6000611118565b565b606060048054610308906112b7565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561071d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161042b565b61072a3385858403610bff565b5060019392505050565b6000610398338484610d24565b6005546001600160a01b036101009091041633146107715760405162461bcd60e51b815260040161042b90611320565b6001600160a01b0381166107d65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161042b565b6107df81611118565b50565b60008060008360020b126107f9578260020b610806565b8260020b61080690611355565b9050610815620d89e719611372565b60020b81111561084b5760405162461bcd60e51b81526020600482015260016024820152601560fa1b604482015260640161042b565b60006001821661085f57600160801b610871565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff16905060028216156108b05760806108ab826ffff97272373d413259a46990580e213a611395565b901c90505b60048216156108da5760806108d5826ffff2e50f5f656932ef12357cf3c7fdcc611395565b901c90505b60088216156109045760806108ff826fffe5caca7e10e4e61c3624eaa0941cd0611395565b901c90505b601082161561092e576080610929826fffcb9843d60f6159c9db58835c926644611395565b901c90505b6020821615610958576080610953826fff973b41fa98c081472e6896dfb254c0611395565b901c90505b604082161561098257608061097d826fff2ea16466c96a3843ec78b326b52861611395565b901c90505b60808216156109ac5760806109a7826ffe5dee046a99a2a811c461f1969c3053611395565b901c90505b6101008216156109d75760806109d2826ffcbe86c7900a88aedcffc83b479aa3a4611395565b901c90505b610200821615610a025760806109fd826ff987a7253ac413176f2b074cf7815e54611395565b901c90505b610400821615610a2d576080610a28826ff3392b0822b70005940c7a398e4b70f3611395565b901c90505b610800821615610a58576080610a53826fe7159475a2c29b7443b29c7fa6e889d9611395565b901c90505b611000821615610a83576080610a7e826fd097f3bdfd2022b8845ad8f792aa5825611395565b901c90505b612000821615610aae576080610aa9826fa9f746462d870fdf8a65dc1f90e061e5611395565b901c90505b614000821615610ad9576080610ad4826f70d869a156d2a1b890bb3df62baf32f7611395565b901c90505b618000821615610b04576080610aff826f31be135f97d08fd981231505542fcfa6611395565b901c90505b62010000821615610b30576080610b2b826f09aa508b5b7a84e1c677de54f3e99bc9611395565b901c90505b62020000821615610b5b576080610b56826e5d6af8dedb81196699c329225ee604611395565b901c90505b62040000821615610b85576080610b80826d2216e584f5fa1ea926041bedfe98611395565b901c90505b62080000821615610bad576080610ba8826b048a170391f7dc42444e8fa2611395565b901c90505b60008460020b1315610bc857610bc5816000196113ca565b90505b610bd7640100000000826113de565b15610be3576001610be6565b60005b610bf79060ff16602083901c611308565b949350505050565b6001600160a01b038316610c615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161042b565b6001600160a01b038216610cc25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161042b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610d885760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161042b565b6001600160a01b038216610dea5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161042b565b6001600160a01b03831660009081526020819052604090205481811015610e625760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161042b565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610e99908490611308565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ee591815260200190565b60405180910390a350505050565b6001600160a01b038216610f495760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161042b565b8060026000828254610f5b9190611308565b90915550506001600160a01b03821660009081526020819052604081208054839290610f88908490611308565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166110325760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161042b565b6001600160a01b038216600090815260208190526040902054818110156110a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161042b565b6001600160a01b03831660009081526020819052604081208383039055600280548492906110d59084906113f2565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610d17565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b8181101561119f57858101830151858201604001528201611183565b818111156111b1576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146111de57600080fd5b919050565b600080604083850312156111f657600080fd5b6111ff836111c7565b946020939093013593505050565b60008060006060848603121561122257600080fd5b61122b846111c7565b9250611239602085016111c7565b9150604084013590509250925092565b60006020828403121561125b57600080fd5b5035919050565b60006020828403121561127457600080fd5b61127d826111c7565b9392505050565b6000806040838503121561129757600080fd5b6112a0836111c7565b91506112ae602084016111c7565b90509250929050565b600181811c908216806112cb57607f821691505b602082108114156112ec57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561131b5761131b6112f2565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000600160ff1b82141561136b5761136b6112f2565b5060000390565b60008160020b627fffff1981141561138c5761138c6112f2565b60000392915050565b60008160001904831182151516156113af576113af6112f2565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826113d9576113d96113b4565b500490565b6000826113ed576113ed6113b4565b500690565b600082821015611404576114046112f2565b50039056fea2646970667358221220b3ee33f627be47d8878876515575f7559691b173ac7cfd61ca0590a849908c4f64736f6c634300080b0033
Deployed Bytecode Sourcemap
33847:1620:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10779:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;13238:208;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:1;;1211:22;1193:41;;1181:2;1166:18;13238:208:0;1053:187:1;11879:108:0;11967:12;;11879:108;;;1391:25:1;;;1379:2;1364:18;11879:108:0;1245:177:1;14039:618:0;;;;;;:::i;:::-;;:::i;11723:91::-;11797:9;;11723:91;;11797:9;;;;1902:36:1;;1890:2;1875:18;11723:91:0;1760:184:1;15066:293:0;;;;;;:::i;:::-;;:::i;34739:180::-;;;;;;:::i;:::-;;:::i;:::-;;34927:123;;;;;;:::i;:::-;;:::i;35343:121::-;;;;;;:::i;:::-;;:::i;35218:117::-;;;;;;:::i;:::-;;:::i;12050:177::-;;;;;;:::i;:::-;-1:-1:-1;;;;;12201:18:0;12169:7;12201:18;;;;;;;;;;;;12050:177;6969:103;;;:::i;6320:87::-;6393:6;;;;;-1:-1:-1;;;;;6393:6:0;6320:87;;-1:-1:-1;;;;;2489:32:1;;;2471:51;;2459:2;2444:18;6320:87:0;2325:203:1;10989:95:0;;;:::i;15862:478::-;;;;;;:::i;:::-;;:::i;12440:214::-;;;;;;:::i;:::-;;:::i;33978:49::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;12717:201;;;;;;:::i;:::-;-1:-1:-1;;;;;12883:18:0;;;12851:7;12883:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;12717:201;7227:238;;;;;;:::i;:::-;;:::i;10779:91::-;10824:13;10857:5;10850:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10779:91;:::o;13238:208::-;13357:4;13379:37;13388:10;13400:7;13409:6;13379:8;:37::i;:::-;-1:-1:-1;13434:4:0;13238:208;;;;:::o;14039:618::-;-1:-1:-1;;;;;14223:19:0;;14179:4;14223:19;;;:11;:19;;;;;;;;14243:10;14223:31;;;;;;;;-1:-1:-1;;14269:37:0;;14265:312;;14369:6;14349:16;:26;;14323:128;;;;-1:-1:-1;;;14323:128:0;;3385:2:1;14323:128:0;;;3367:21:1;3424:2;3404:18;;;3397:30;3463:34;3443:18;;;3436:62;-1:-1:-1;;;3514:18:1;;;3507:38;3562:19;;14323:128:0;;;;;;;;;14495:55;14504:6;14512:10;14543:6;14524:16;:25;14495:8;:55::i;:::-;14589:36;14599:6;14607:9;14618:6;14589:9;:36::i;:::-;-1:-1:-1;14645:4:0;;14039:618;-1:-1:-1;;;;14039:618:0:o;15066:293::-;15226:10;15181:4;15273:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;15273:32:0;;;;;;;;;;15181:4;;15203:126;;15251:7;;15273:45;;15308:10;;15273:45;:::i;:::-;15203:8;:126::i;34739:180::-;35153:10;35135:29;;;;:17;:29;;;;;;;;35127:63;;;;-1:-1:-1;;;35127:63:0;;4059:2:1;35127:63:0;;;4041:21:1;4098:2;4078:18;;;4071:30;-1:-1:-1;;;4117:18:1;;;4110:51;4178:18;;35127:63:0;3857:345:1;35127:63:0;34850:22:::1;34856:7;34865:6;34850:5;:22::i;:::-;34895:7;-1:-1:-1::0;;;;;34890:21:0::1;;34904:6;34890:21;;;;1391:25:1::0;;1379:2;1364:18;;1245:177;34890:21:0::1;;;;;;;;34739:180:::0;;:::o;34927:123::-;6393:6;;-1:-1:-1;;;;;6393:6:0;;;;;6551:10;6540:21;6532:66;;;;-1:-1:-1;;;6532:66:0;;;;;;;:::i;:::-;34987:25:::1;34993:10;35005:6;34987:5;:25::i;:::-;35030:12;::::0;1391:25:1;;;35030:12:0::1;::::0;1379:2:1;1364:18;35030:12:0::1;;;;;;;34927:123:::0;:::o;35343:121::-;6393:6;;-1:-1:-1;;;;;6393:6:0;;;;;6551:10;6540:21;6532:66;;;;-1:-1:-1;;;6532:66:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35422:26:0::1;35451:5;35422:26:::0;;;:17:::1;:26;::::0;;;;:34;;-1:-1:-1;;35422:34:0::1;::::0;;35343:121::o;35218:117::-;6393:6;;-1:-1:-1;;;;;6393:6:0;;;;;6551:10;6540:21;6532:66;;;;-1:-1:-1;;;6532:66:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35294:26:0::1;;::::0;;;:17:::1;:26;::::0;;;;:33;;-1:-1:-1;;35294:33:0::1;35323:4;35294:33;::::0;;35218:117::o;6969:103::-;6393:6;;-1:-1:-1;;;;;6393:6:0;;;;;6551:10;6540:21;6532:66;;;;-1:-1:-1;;;6532:66:0;;;;;;;:::i;:::-;7034:30:::1;7061:1;7034:18;:30::i;:::-;6969:103::o:0;10989:95::-;11036:13;11069:7;11062:14;;;;;:::i;15862:478::-;16043:10;15982:4;16031:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;16031:32:0;;;;;;;;;;16096:35;;;;16074:122;;;;-1:-1:-1;;;16074:122:0;;4770:2:1;16074:122:0;;;4752:21:1;4809:2;4789:18;;;4782:30;4848:34;4828:18;;;4821:62;-1:-1:-1;;;4899:18:1;;;4892:35;4944:19;;16074:122:0;4568:401:1;16074:122:0;16232:65;16241:10;16253:7;16281:15;16262:16;:34;16232:8;:65::i;:::-;-1:-1:-1;16328:4:0;;15862:478;-1:-1:-1;;;15862:478:0:o;12440:214::-;12562:4;12584:40;12594:10;12606:9;12617:6;12584:9;:40::i;7227:238::-;6393:6;;-1:-1:-1;;;;;6393:6:0;;;;;6551:10;6540:21;6532:66;;;;-1:-1:-1;;;6532:66:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7330:22:0;::::1;7308:110;;;::::0;-1:-1:-1;;;7308:110:0;;5176:2:1;7308:110:0::1;::::0;::::1;5158:21:1::0;5215:2;5195:18;;;5188:30;5254:34;5234:18;;;5227:62;-1:-1:-1;;;5305:18:1;;;5298:36;5351:19;;7308:110:0::1;4974:402:1::0;7308:110:0::1;7429:28;7448:8;7429:18;:28::i;:::-;7227:238:::0;:::o;24270:2974::-;24360:20;24398:15;24423:1;24416:4;:8;;;:83;;24493:4;24486:12;;24416:83;;;24456:4;24449:12;;24448:13;;;:::i;:::-;24398:101;-1:-1:-1;23531:9:0;-1:-1:-1;;23531:9:0;:::i;:::-;24537:16;;24518:7;:36;;24510:50;;;;-1:-1:-1;;;24510:50:0;;5913:2:1;24510:50:0;;;5895:21:1;5952:1;5932:18;;;5925:29;-1:-1:-1;;;5970:18:1;;;5963:31;6011:18;;24510:50:0;5711:324:1;24510:50:0;24573:13;24599:3;24589:13;;:119;;-1:-1:-1;;;24589:119:0;;;24623:34;24589:119;24573:135;;;-1:-1:-1;24733:3:0;24723:13;;:18;24719:96;;24812:3;24765:42;:5;24773:34;24765:42;:::i;:::-;24764:51;;24756:59;;24719:96;24840:3;24830:13;;:18;24826:96;;24919:3;24872:42;:5;24880:34;24872:42;:::i;:::-;24871:51;;24863:59;;24826:96;24947:3;24937:13;;:18;24933:96;;25026:3;24979:42;:5;24987:34;24979:42;:::i;:::-;24978:51;;24970:59;;24933:96;25054:4;25044:14;;:19;25040:97;;25134:3;25087:42;:5;25095:34;25087:42;:::i;:::-;25086:51;;25078:59;;25040:97;25162:4;25152:14;;:19;25148:97;;25242:3;25195:42;:5;25203:34;25195:42;:::i;:::-;25194:51;;25186:59;;25148:97;25270:4;25260:14;;:19;25256:97;;25350:3;25303:42;:5;25311:34;25303:42;:::i;:::-;25302:51;;25294:59;;25256:97;25378:4;25368:14;;:19;25364:97;;25458:3;25411:42;:5;25419:34;25411:42;:::i;:::-;25410:51;;25402:59;;25364:97;25486:5;25476:15;;:20;25472:98;;25567:3;25520:42;:5;25528:34;25520:42;:::i;:::-;25519:51;;25511:59;;25472:98;25595:5;25585:15;;:20;25581:98;;25676:3;25629:42;:5;25637:34;25629:42;:::i;:::-;25628:51;;25620:59;;25581:98;25704:5;25694:15;;:20;25690:98;;25785:3;25738:42;:5;25746:34;25738:42;:::i;:::-;25737:51;;25729:59;;25690:98;25813:5;25803:15;;:20;25799:98;;25894:3;25847:42;:5;25855:34;25847:42;:::i;:::-;25846:51;;25838:59;;25799:98;25922:6;25912:16;;:21;25908:99;;26004:3;25957:42;:5;25965:34;25957:42;:::i;:::-;25956:51;;25948:59;;25908:99;26032:6;26022:16;;:21;26018:99;;26114:3;26067:42;:5;26075:34;26067:42;:::i;:::-;26066:51;;26058:59;;26018:99;26142:6;26132:16;;:21;26128:99;;26224:3;26177:42;:5;26185:34;26177:42;:::i;:::-;26176:51;;26168:59;;26128:99;26252:6;26242:16;;:21;26238:99;;26334:3;26287:42;:5;26295:34;26287:42;:::i;:::-;26286:51;;26278:59;;26238:99;26362:7;26352:17;;:22;26348:99;;26444:3;26398:41;:5;26406:33;26398:41;:::i;:::-;26397:50;;26389:58;;26348:99;26472:7;26462:17;;:22;26458:98;;26553:3;26508:40;:5;26516:32;26508:40;:::i;:::-;26507:49;;26499:57;;26458:98;26581:7;26571:17;;:22;26567:96;;26660:3;26617:38;:5;26625:30;26617:38;:::i;:::-;26616:47;;26608:55;;26567:96;26688:7;26678:17;;:22;26674:91;;26762:3;26724:33;:5;26732:25;26724:33;:::i;:::-;26723:42;;26715:50;;26674:91;26789:1;26782:4;:8;;;26778:47;;;26800:25;26820:5;-1:-1:-1;;26800:25:0;:::i;:::-;26792:33;;26778:47;27194:17;27203:7;27194:5;:17;:::i;:::-;:22;:30;;27223:1;27194:30;;;27219:1;27194:30;27177:48;;;;27187:2;27178:11;;;27177:48;:::i;:::-;27140:96;24270:2974;-1:-1:-1;;;;24270:2974:0:o;19648:380::-;-1:-1:-1;;;;;19784:19:0;;19776:68;;;;-1:-1:-1;;;19776:68:0;;6789:2:1;19776:68:0;;;6771:21:1;6828:2;6808:18;;;6801:30;6867:34;6847:18;;;6840:62;-1:-1:-1;;;6918:18:1;;;6911:34;6962:19;;19776:68:0;6587:400:1;19776:68:0;-1:-1:-1;;;;;19863:21:0;;19855:68;;;;-1:-1:-1;;;19855:68:0;;7194:2:1;19855:68:0;;;7176:21:1;7233:2;7213:18;;;7206:30;7272:34;7252:18;;;7245:62;-1:-1:-1;;;7323:18:1;;;7316:32;7365:19;;19855:68:0;6992:398:1;19855:68:0;-1:-1:-1;;;;;19936:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;19988:32;;1391:25:1;;;19988:32:0;;1364:18:1;19988:32:0;;;;;;;;19648:380;;;:::o;16830:770::-;-1:-1:-1;;;;;16970:20:0;;16962:70;;;;-1:-1:-1;;;16962:70:0;;7597:2:1;16962:70:0;;;7579:21:1;7636:2;7616:18;;;7609:30;7675:34;7655:18;;;7648:62;-1:-1:-1;;;7726:18:1;;;7719:35;7771:19;;16962:70:0;7395:401:1;16962:70:0;-1:-1:-1;;;;;17051:23:0;;17043:71;;;;-1:-1:-1;;;17043:71:0;;8003:2:1;17043:71:0;;;7985:21:1;8042:2;8022:18;;;8015:30;8081:34;8061:18;;;8054:62;-1:-1:-1;;;8132:18:1;;;8125:33;8175:19;;17043:71:0;7801:399:1;17043:71:0;-1:-1:-1;;;;;17211:17:0;;17187:21;17211:17;;;;;;;;;;;17261:23;;;;17239:111;;;;-1:-1:-1;;;17239:111:0;;8407:2:1;17239:111:0;;;8389:21:1;8446:2;8426:18;;;8419:30;8485:34;8465:18;;;8458:62;-1:-1:-1;;;8536:18:1;;;8529:36;8582:19;;17239:111:0;8205:402:1;17239:111:0;-1:-1:-1;;;;;17386:17:0;;;:9;:17;;;;;;;;;;;17406:22;;;17386:42;;17450:20;;;;;;;;:30;;17422:6;;17386:9;17450:30;;17422:6;;17450:30;:::i;:::-;;;;;;;;17515:9;-1:-1:-1;;;;;17498:35:0;17507:6;-1:-1:-1;;;;;17498:35:0;;17526:6;17498:35;;;;1391:25:1;;1379:2;1364:18;;1245:177;17498:35:0;;;;;;;;16951:649;16830:770;;;:::o;17887:399::-;-1:-1:-1;;;;;17971:21:0;;17963:65;;;;-1:-1:-1;;;17963:65:0;;8814:2:1;17963:65:0;;;8796:21:1;8853:2;8833:18;;;8826:30;8892:33;8872:18;;;8865:61;8943:18;;17963:65:0;8612:355:1;17963:65:0;18119:6;18103:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;18136:18:0;;:9;:18;;;;;;;;;;:28;;18158:6;;18136:9;:28;;18158:6;;18136:28;:::i;:::-;;;;-1:-1:-1;;18180:37:0;;1391:25:1;;;-1:-1:-1;;;;;18180:37:0;;;18197:1;;18180:37;;1379:2:1;1364:18;18180:37:0;;;;;;;17887:399;;:::o;18619:591::-;-1:-1:-1;;;;;18703:21:0;;18695:67;;;;-1:-1:-1;;;18695:67:0;;9174:2:1;18695:67:0;;;9156:21:1;9213:2;9193:18;;;9186:30;9252:34;9232:18;;;9225:62;-1:-1:-1;;;9303:18:1;;;9296:31;9344:19;;18695:67:0;8972:397:1;18695:67:0;-1:-1:-1;;;;;18862:18:0;;18837:22;18862:18;;;;;;;;;;;18899:24;;;;18891:71;;;;-1:-1:-1;;;18891:71:0;;9576:2:1;18891:71:0;;;9558:21:1;9615:2;9595:18;;;9588:30;9654:34;9634:18;;;9627:62;-1:-1:-1;;;9705:18:1;;;9698:32;9747:19;;18891:71:0;9374:398:1;18891:71:0;-1:-1:-1;;;;;18998:18:0;;:9;:18;;;;;;;;;;19019:23;;;18998:44;;19064:12;:22;;19036:6;;18998:9;19064:22;;19036:6;;19064:22;:::i;:::-;;;;-1:-1:-1;;19104:37:0;;1391:25:1;;;19130:1:0;;-1:-1:-1;;;;;19104:37:0;;;;;1379:2:1;1364:18;19104:37:0;1245:177:1;7625:191:0;7718:6;;;-1:-1:-1;;;;;7735:17:0;;;7718:6;7735:17;;;-1:-1:-1;;;;;;7735:17:0;;;;;;7768:40;;7718:6;;;;;;;;7768:40;;7699:16;;7768:40;7688:128;7625:191;:::o;14:597:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:1;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:1:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;1949:180::-;2008:6;2061:2;2049:9;2040:7;2036:23;2032:32;2029:52;;;2077:1;2074;2067:12;2029:52;-1:-1:-1;2100:23:1;;1949:180;-1:-1:-1;1949:180:1:o;2134:186::-;2193:6;2246:2;2234:9;2225:7;2221:23;2217:32;2214:52;;;2262:1;2259;2252:12;2214:52;2285:29;2304:9;2285:29;:::i;:::-;2275:39;2134:186;-1:-1:-1;;;2134:186:1:o;2533:260::-;2601:6;2609;2662:2;2650:9;2641:7;2637:23;2633:32;2630:52;;;2678:1;2675;2668:12;2630:52;2701:29;2720:9;2701:29;:::i;:::-;2691:39;;2749:38;2783:2;2772:9;2768:18;2749:38;:::i;:::-;2739:48;;2533:260;;;;;:::o;2798:380::-;2877:1;2873:12;;;;2920;;;2941:61;;2995:4;2987:6;2983:17;2973:27;;2941:61;3048:2;3040:6;3037:14;3017:18;3014:38;3011:161;;;3094:10;3089:3;3085:20;3082:1;3075:31;3129:4;3126:1;3119:15;3157:4;3154:1;3147:15;3011:161;;2798:380;;;:::o;3592:127::-;3653:10;3648:3;3644:20;3641:1;3634:31;3684:4;3681:1;3674:15;3708:4;3705:1;3698:15;3724:128;3764:3;3795:1;3791:6;3788:1;3785:13;3782:39;;;3801:18;;:::i;:::-;-1:-1:-1;3837:9:1;;3724:128::o;4207:356::-;4409:2;4391:21;;;4428:18;;;4421:30;4487:34;4482:2;4467:18;;4460:62;4554:2;4539:18;;4207:356::o;5381:136::-;5416:3;-1:-1:-1;;;5437:22:1;;5434:48;;;5462:18;;:::i;:::-;-1:-1:-1;5502:1:1;5498:13;;5381:136::o;5522:184::-;5556:3;5603:5;5600:1;5589:20;5637:7;5633:12;5624:7;5621:25;5618:51;;;5649:18;;:::i;:::-;5689:1;5685:15;;5522:184;-1:-1:-1;;5522:184:1:o;6040:168::-;6080:7;6146:1;6142;6138:6;6134:14;6131:1;6128:21;6123:1;6116:9;6109:17;6105:45;6102:71;;;6153:18;;:::i;:::-;-1:-1:-1;6193:9:1;;6040:168::o;6213:127::-;6274:10;6269:3;6265:20;6262:1;6255:31;6305:4;6302:1;6295:15;6329:4;6326:1;6319:15;6345:120;6385:1;6411;6401:35;;6416:18;;:::i;:::-;-1:-1:-1;6450:9:1;;6345:120::o;6470:112::-;6502:1;6528;6518:35;;6533:18;;:::i;:::-;-1:-1:-1;6567:9:1;;6470:112::o;9777:125::-;9817:4;9845:1;9842;9839:8;9836:34;;;9850:18;;:::i;:::-;-1:-1:-1;9887:9:1;;9777:125::o
Swarm Source
ipfs://b3ee33f627be47d8878876515575f7559691b173ac7cfd61ca0590a849908c4f
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.
Add Token to MetaMask (Web3)