ETH Price: $2,733.70 (+12.85%)
 

Overview

Max Total Supply

1,000,000,000 OFI

Holders

1,218 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
0 OFI

Value
$0.00
0x91ed170b1b213bacb7f0bfdadb232cb065d6c6b5
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

#Ordinals + #DeFi = $OFI. A platform for developing DeFi applications on #Bitcoin

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OrdinalsFinance

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-19
*/

/*

 ██████╗ ███████╗██╗
██╔═══██╗██╔════╝██║
██║   ██║█████╗  ██║
██║   ██║██╔══╝  ██║
╚██████╔╝██║     ██║
 ╚═════╝ ╚═╝     ╚═╝

*First Bitcoin Ordinals Lending & Borrow Protocol

Website: https://ordin.finance/

Discord: https://discord.gg/xY2RQT45Tm 
Twitter: https://twitter.com/ordinalsfinance
Website: http://ordin.finance/
Channel: https://t.me/OFIChannel
Telegram: https://t.me/OrdinalsFinance
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.16;

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function allPairsLength() external view returns (uint256);

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);

    function allPairs(uint256) external view returns (address pair);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

/**
 * @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);
}

/**
 * @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 decimals places of the token.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);
}

/**
 * @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;
    }
}

/**
 * @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);
    }
}

/**
 * @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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() external view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() external view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _balances[account];
    }

    /**
     * @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 9;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() external view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    /**
     * @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)
        external
        virtual
        override
        returns (bool)
    {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @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)
        external
        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
    ) external virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        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)
        external
        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 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)
        external
        virtual
        returns (bool)
    {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /** @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");

        _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);
    }

    /**
     * @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");

        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);
    }

    /**
     * @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);
            }
        }
    }

    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");

        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);
    }
}

/**
 * @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 OrdinalsFinance is ERC20, Ownable {
    string private _name = "Ordinals Finance";
    string private _symbol = "OFI";
    uint8 private _decimals = 9;
    uint256 private _supply = 1000000000;
    uint256 public taxForLiquidity = 3;
    uint256 public taxForTreasury = 3;

    address public treasuryWallet = 0x524570E6427f4264E0f3e0514cE84474eDfa058a;
    address public DEAD = 0x000000000000000000000000000000000000dEaD;
    uint256 public _treasuryReserves = 0;
    mapping(address => bool) public _isExcludedFromFee;
    uint256 public numTokensSellToAddToLiquidity = 200000 * 10**_decimals;
    uint256 public numTokensSellToAddToETH = 100000 * 10**_decimals;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public uniswapV2Pair;
    
    bool inSwapAndLiquify;

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    modifier lockTheSwap() {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    /**
     * @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() ERC20(_name, _symbol) {
        _mint(msg.sender, (_supply * 10**_decimals));

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;

        _isExcludedFromFee[address(uniswapV2Router)] = true;
        _isExcludedFromFee[msg.sender] = true;
        _isExcludedFromFee[treasuryWallet] = 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 override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(balanceOf(from) >= amount, "ERC20: transfer amount exceeds balance");

        if ((from == uniswapV2Pair || to == uniswapV2Pair) && !inSwapAndLiquify) {
            if (from != uniswapV2Pair) {
                uint256 contractLiquidityBalance = balanceOf(address(this)) - _treasuryReserves;
                if (contractLiquidityBalance >= numTokensSellToAddToLiquidity) {
                    _swapAndLiquify(numTokensSellToAddToLiquidity);
                }
                if ((_treasuryReserves) >= numTokensSellToAddToETH) {
                    _swapTokensForETH(numTokensSellToAddToETH);
                    _treasuryReserves -= numTokensSellToAddToETH;
                    bool sent = payable(treasuryWallet).send(address(this).balance);
                    require(sent, "Failed to send ETH");
                }
            }

            uint256 transferAmount;
            if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
                transferAmount = amount;
            } 
            else {
                uint256 treasuryShare = ((amount * taxForTreasury) / 100);
                uint256 liquidityShare = ((amount * taxForLiquidity) / 100);
                transferAmount = amount - (treasuryShare + liquidityShare);
                _treasuryReserves += treasuryShare;

                super._transfer(from, address(this), (treasuryShare + liquidityShare));
            }
            super._transfer(from, to, transferAmount);
        } 
        else {
            super._transfer(from, to, amount);
        }
    }

    function excludeFromFee(address _address, bool _status) external onlyOwner {
        _isExcludedFromFee[_address] = _status;
    }

    function _swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        uint256 half = (contractTokenBalance / 2);
        uint256 otherHalf = (contractTokenBalance - half);

        uint256 initialBalance = address(this).balance;

        _swapTokensForETH(half);

        uint256 newBalance = (address(this).balance - initialBalance);

        _addLiquidity(otherHalf, newBalance);

        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

    function _swapTokensForETH(uint256 tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function _addLiquidity(uint256 tokenAmount, uint256 ethAmount)
        private
        lockTheSwap
    {
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            treasuryWallet,
            block.timestamp
        );
    }

    function setTreasuryWallet(address newWallet)
        public
        onlyOwner
        returns (bool)
    {
        require(newWallet != DEAD, "LP Pair cannot be the Dead wallet, or 0!");
        require(newWallet != address(0), "LP Pair cannot be the Dead wallet, or 0!");
        treasuryWallet = newWallet;
        return true;
    }

    function setTaxForLiquidityAndTreasury(uint256 _taxForLiquidity, uint256 _taxForTreasury)
        public
        onlyOwner
        returns (bool)
    {
        require((_taxForLiquidity+_taxForTreasury) <= 10, "ERC20: total tax must not be greater than 10%");
        taxForLiquidity = _taxForLiquidity;
        taxForTreasury = _taxForTreasury;

        return true;
    }

    function setNumTokensSellToAddToLiquidity(uint256 _numTokensSellToAddToLiquidity, uint256 _numTokensSellToAddToETH)
        public
        onlyOwner
        returns (bool)
    {
        require(_numTokensSellToAddToLiquidity < _supply / 98, "Cannot liquidate more than 2% of the supply at once!");
        require(_numTokensSellToAddToETH < _supply / 98, "Cannot liquidate more than 2% of the supply at once!");
        numTokensSellToAddToLiquidity = _numTokensSellToAddToLiquidity * 10**_decimals;
        numTokensSellToAddToETH = _numTokensSellToAddToETH * 10**_decimals;

        return true;
    }

    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","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":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_treasuryReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"excludeFromFee","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokensSellToAddToLiquidity","type":"uint256"},{"internalType":"uint256","name":"_numTokensSellToAddToETH","type":"uint256"}],"name":"setNumTokensSellToAddToLiquidity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxForLiquidity","type":"uint256"},{"internalType":"uint256","name":"_taxForTreasury","type":"uint256"}],"name":"setTaxForLiquidityAndTreasury","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setTreasuryWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e0604052601060a09081526f4f7264696e616c732046696e616e636560801b60c0526006906200003190826200062e565b506040805180820190915260038152624f464960e81b60208201526007906200005b90826200062e565b506008805460ff19166009908117909155633b9aca0081556003600a818155600b91909155600c80546001600160a01b031990811673524570e6427f4264e0f3e0514ce84474edfa058a17909155600d805490911661dead1790556000600e55620000c791906200080f565b620000d69062030d4062000827565b601055600854620000ec9060ff16600a6200080f565b620000fb90620186a062000827565b6011553480156200010b57600080fd5b50600680546200011b906200059f565b80601f016020809104026020016040519081016040528092919081815260200182805462000149906200059f565b80156200019a5780601f106200016e576101008083540402835291602001916200019a565b820191906000526020600020905b8154815290600101906020018083116200017c57829003601f168201915b505050505060078054620001ae906200059f565b80601f0160208091040260200160405190810160405280929190818152602001828054620001dc906200059f565b80156200022d5780601f1062000201576101008083540402835291602001916200022d565b820191906000526020600020905b8154815290600101906020018083116200020f57829003601f168201915b505050505081600390816200024391906200062e565b5060046200025282826200062e565b5050506200026f620002696200046d60201b60201c565b62000471565b6008546200029e903390620002899060ff16600a6200080f565b60095462000298919062000827565b620004c3565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031c919062000849565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200036a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000390919062000849565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620003de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000404919062000849565b601280546001600160a01b0319166001600160a01b0392831617905590811660808190526000908152600f6020526040808220805460ff1990811660019081179092553384528284208054821683179055600c549094168352912080549092161790556200088a565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200051e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000532919062000874565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005b457607f821691505b602082108103620005d557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200062957600081815260208120601f850160051c81016020861015620006045750805b601f850160051c820191505b81811015620006255782815560010162000610565b5050505b505050565b81516001600160401b038111156200064a576200064a62000589565b62000662816200065b84546200059f565b84620005db565b602080601f8311600181146200069a5760008415620006815750858301515b600019600386901b1c1916600185901b17855562000625565b600085815260208120601f198616915b82811015620006cb57888601518255948401946001909101908401620006aa565b5085821015620006ea5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000751578160001904821115620007355762000735620006fa565b808516156200074357918102915b93841c939080029062000715565b509250929050565b6000826200076a5750600162000809565b81620007795750600062000809565b81600181146200079257600281146200079d57620007bd565b600191505062000809565b60ff841115620007b157620007b1620006fa565b50506001821b62000809565b5060208310610133831016604e8410600b8410161715620007e2575081810a62000809565b620007ee838362000710565b8060001904821115620008055762000805620006fa565b0290505b92915050565b60006200082060ff84168362000759565b9392505050565b6000816000190483118215151615620008445762000844620006fa565b500290565b6000602082840312156200085c57600080fd5b81516001600160a01b03811681146200082057600080fd5b80820180821115620008095762000809620006fa565b608051611894620008c96000396000818161026801528181610f8e015281816110470152818161108301528181611209015261127101526118946000f3fe6080604052600436106101bb5760003560e01c80638da5cb5b116100ec578063d12a76881161008a578063e11f910e11610064578063e11f910e146104f7578063f2fde38b14610517578063f345bd8514610537578063fe7c2e361461054d57600080fd5b8063d12a7688146104a1578063dd62ed3e146104b7578063df8408fe146104d757600080fd5b8063a457c2d7116100c6578063a457c2d71461042b578063a8602fea1461044b578063a9059cbb1461046b578063ad16a0cf1461048b57600080fd5b80638da5cb5b146103d85780638fcc250d146103f657806395d89b411461041657600080fd5b8063395093511161015957806354fea8bd1161013357806354fea8bd1461034557806370a082311461035b578063715018a614610391578063768dc710146103a857600080fd5b806339509351146102e55780634626402b1461030557806349bd5a5e1461032557600080fd5b80631694505e116101955780631694505e1461025657806318160ddd1461028a57806323b872dd146102a9578063313ce567146102c957600080fd5b806303fd2a45146101c757806306fdde0314610204578063095ea7b31461022657600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b50600d546101e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561021057600080fd5b50610219610563565b6040516101fb91906112f6565b34801561023257600080fd5b50610246610241366004611359565b6105f5565b60405190151581526020016101fb565b34801561026257600080fd5b506101e77f000000000000000000000000000000000000000000000000000000000000000081565b34801561029657600080fd5b506002545b6040519081526020016101fb565b3480156102b557600080fd5b506102466102c4366004611385565b61060f565b3480156102d557600080fd5b50604051600981526020016101fb565b3480156102f157600080fd5b50610246610300366004611359565b610633565b34801561031157600080fd5b50600c546101e7906001600160a01b031681565b34801561033157600080fd5b506012546101e7906001600160a01b031681565b34801561035157600080fd5b5061029b600e5481565b34801561036757600080fd5b5061029b6103763660046113c6565b6001600160a01b031660009081526020819052604090205490565b34801561039d57600080fd5b506103a6610655565b005b3480156103b457600080fd5b506102466103c33660046113c6565b600f6020526000908152604090205460ff1681565b3480156103e457600080fd5b506005546001600160a01b03166101e7565b34801561040257600080fd5b506102466104113660046113ea565b610669565b34801561042257600080fd5b5061021961071b565b34801561043757600080fd5b50610246610446366004611359565b61072a565b34801561045757600080fd5b506102466104663660046113c6565b6107a5565b34801561047757600080fd5b50610246610486366004611359565b610828565b34801561049757600080fd5b5061029b60115481565b3480156104ad57600080fd5b5061029b60105481565b3480156104c357600080fd5b5061029b6104d236600461140c565b610836565b3480156104e357600080fd5b506103a66104f2366004611445565b610861565b34801561050357600080fd5b506102466105123660046113ea565b610894565b34801561052357600080fd5b506103a66105323660046113c6565b61091d565b34801561054357600080fd5b5061029b600a5481565b34801561055957600080fd5b5061029b600b5481565b60606003805461057290611478565b80601f016020809104026020016040519081016040528092919081815260200182805461059e90611478565b80156105eb5780601f106105c0576101008083540402835291602001916105eb565b820191906000526020600020905b8154815290600101906020018083116105ce57829003601f168201915b5050505050905090565b600033610603818585610996565b60019150505b92915050565b60003361061d858285610aba565b610628858585610b34565b506001949350505050565b6000336106038185856106468383610836565b61065091906114c8565b610996565b61065d610dd1565b6106676000610e2b565b565b6000610673610dd1565b606260095461068291906114db565b83106106a95760405162461bcd60e51b81526004016106a0906114fd565b60405180910390fd5b60626009546106b891906114db565b82106106d65760405162461bcd60e51b81526004016106a0906114fd565b6008546106e79060ff16600a611635565b6106f19084611644565b6010556008546107059060ff16600a611635565b61070f9083611644565b60115550600192915050565b60606004805461057290611478565b600033816107388286610836565b9050838110156107985760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106a0565b6106288286868403610996565b60006107af610dd1565b600d546001600160a01b03908116908316036107dd5760405162461bcd60e51b81526004016106a090611663565b6001600160a01b0382166108035760405162461bcd60e51b81526004016106a090611663565b50600c80546001600160a01b0383166001600160a01b03199091161790556001919050565b600033610603818585610b34565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610869610dd1565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061089e610dd1565b600a6108aa83856114c8565b111561090e5760405162461bcd60e51b815260206004820152602d60248201527f45524332303a20746f74616c20746178206d757374206e6f742062652067726560448201526c61746572207468616e2031302560981b60648201526084016106a0565b50600a91909155600b55600190565b610925610dd1565b6001600160a01b03811661098a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a0565b61099381610e2b565b50565b6001600160a01b0383166109f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a0565b6001600160a01b038216610a595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ac68484610836565b90506000198114610b2e5781811015610b215760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106a0565b610b2e8484848403610996565b50505050565b6001600160a01b038316610b5a5760405162461bcd60e51b81526004016106a0906116ab565b6001600160a01b038216610b805760405162461bcd60e51b81526004016106a0906116f0565b80610ba0846001600160a01b031660009081526020819052604090205490565b1015610bbe5760405162461bcd60e51b81526004016106a090611733565b6012546001600160a01b0384811691161480610be757506012546001600160a01b038381169116145b8015610bfd5750601254600160a01b900460ff16155b15610dc1576012546001600160a01b03848116911614610cea57600e54306000908152602081905260408120549091610c3591611779565b90506010548110610c4b57610c4b601054610e7d565b601154600e5410610ce857610c61601154610f24565b601154600e6000828254610c759190611779565b9091555050600c546040516000916001600160a01b0316904780156108fc029184818181858888f19350505050905080610ce65760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b60448201526064016106a0565b505b505b6001600160a01b0383166000908152600f602052604081205460ff1680610d2957506001600160a01b0383166000908152600f602052604090205460ff165b15610d35575080610db6565b60006064600b5484610d479190611644565b610d5191906114db565b905060006064600a5485610d659190611644565b610d6f91906114db565b9050610d7b81836114c8565b610d859085611779565b925081600e6000828254610d9991906114c8565b90915550610db390508630610dae84866114c8565b611104565b50505b610b2e848483611104565b610dcc838383611104565b505050565b6005546001600160a01b031633146106675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a0565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6012805460ff60a01b1916600160a01b1790556000610e9d6002836114db565b90506000610eab8284611779565b905047610eb783610f24565b6000610ec38247611779565b9050610ecf83826111f0565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506012805460ff60a01b19169055505050565b6012805460ff60a01b1916600160a01b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610f6c57610f6c61178c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100e91906117a2565b816001815181106110215761102161178c565b60200260200101906001600160a01b031690816001600160a01b03168152505061106c307f000000000000000000000000000000000000000000000000000000000000000084610996565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906110c19085906000908690309042906004016117bf565b600060405180830381600087803b1580156110db57600080fd5b505af11580156110ef573d6000803e3d6000fd5b50506012805460ff60a01b1916905550505050565b6001600160a01b03831661112a5760405162461bcd60e51b81526004016106a0906116ab565b6001600160a01b0382166111505760405162461bcd60e51b81526004016106a0906116f0565b6001600160a01b038316600090815260208190526040902054818110156111895760405162461bcd60e51b81526004016106a090611733565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6012805460ff60a01b1916600160a01b17905561122e307f000000000000000000000000000000000000000000000000000000000000000084610996565b600c5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af11580156112bd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906112e29190611830565b50506012805460ff60a01b19169055505050565b600060208083528351808285015260005b8181101561132357858101830151858201604001528201611307565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461099357600080fd5b6000806040838503121561136c57600080fd5b823561137781611344565b946020939093013593505050565b60008060006060848603121561139a57600080fd5b83356113a581611344565b925060208401356113b581611344565b929592945050506040919091013590565b6000602082840312156113d857600080fd5b81356113e381611344565b9392505050565b600080604083850312156113fd57600080fd5b50508035926020909101359150565b6000806040838503121561141f57600080fd5b823561142a81611344565b9150602083013561143a81611344565b809150509250929050565b6000806040838503121561145857600080fd5b823561146381611344565b91506020830135801515811461143a57600080fd5b600181811c9082168061148c57607f821691505b6020821081036114ac57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610609576106096114b2565b6000826114f857634e487b7160e01b600052601260045260246000fd5b500490565b60208082526034908201527f43616e6e6f74206c6971756964617465206d6f7265207468616e203225206f666040820152732074686520737570706c79206174206f6e63652160601b606082015260800190565b600181815b8085111561158c578160001904821115611572576115726114b2565b8085161561157f57918102915b93841c9390800290611556565b509250929050565b6000826115a357506001610609565b816115b057506000610609565b81600181146115c657600281146115d0576115ec565b6001915050610609565b60ff8411156115e1576115e16114b2565b50506001821b610609565b5060208310610133831016604e8410600b841016171561160f575081810a610609565b6116198383611551565b806000190482111561162d5761162d6114b2565b029392505050565b60006113e360ff841683611594565b600081600019048311821515161561165e5761165e6114b2565b500290565b60208082526028908201527f4c5020506169722063616e6e6f742062652074686520446561642077616c6c65604082015267742c206f7220302160c01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b81810381811115610609576106096114b2565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156117b457600080fd5b81516113e381611344565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561180f5784516001600160a01b0316835293830193918301916001016117ea565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561184557600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220b2bf06fd3383def15b0ce8f250b25b9bc3a23bd637f422b498dc7f71e380320f64736f6c63430008100033

Deployed Bytecode

0x6080604052600436106101bb5760003560e01c80638da5cb5b116100ec578063d12a76881161008a578063e11f910e11610064578063e11f910e146104f7578063f2fde38b14610517578063f345bd8514610537578063fe7c2e361461054d57600080fd5b8063d12a7688146104a1578063dd62ed3e146104b7578063df8408fe146104d757600080fd5b8063a457c2d7116100c6578063a457c2d71461042b578063a8602fea1461044b578063a9059cbb1461046b578063ad16a0cf1461048b57600080fd5b80638da5cb5b146103d85780638fcc250d146103f657806395d89b411461041657600080fd5b8063395093511161015957806354fea8bd1161013357806354fea8bd1461034557806370a082311461035b578063715018a614610391578063768dc710146103a857600080fd5b806339509351146102e55780634626402b1461030557806349bd5a5e1461032557600080fd5b80631694505e116101955780631694505e1461025657806318160ddd1461028a57806323b872dd146102a9578063313ce567146102c957600080fd5b806303fd2a45146101c757806306fdde0314610204578063095ea7b31461022657600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b50600d546101e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561021057600080fd5b50610219610563565b6040516101fb91906112f6565b34801561023257600080fd5b50610246610241366004611359565b6105f5565b60405190151581526020016101fb565b34801561026257600080fd5b506101e77f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561029657600080fd5b506002545b6040519081526020016101fb565b3480156102b557600080fd5b506102466102c4366004611385565b61060f565b3480156102d557600080fd5b50604051600981526020016101fb565b3480156102f157600080fd5b50610246610300366004611359565b610633565b34801561031157600080fd5b50600c546101e7906001600160a01b031681565b34801561033157600080fd5b506012546101e7906001600160a01b031681565b34801561035157600080fd5b5061029b600e5481565b34801561036757600080fd5b5061029b6103763660046113c6565b6001600160a01b031660009081526020819052604090205490565b34801561039d57600080fd5b506103a6610655565b005b3480156103b457600080fd5b506102466103c33660046113c6565b600f6020526000908152604090205460ff1681565b3480156103e457600080fd5b506005546001600160a01b03166101e7565b34801561040257600080fd5b506102466104113660046113ea565b610669565b34801561042257600080fd5b5061021961071b565b34801561043757600080fd5b50610246610446366004611359565b61072a565b34801561045757600080fd5b506102466104663660046113c6565b6107a5565b34801561047757600080fd5b50610246610486366004611359565b610828565b34801561049757600080fd5b5061029b60115481565b3480156104ad57600080fd5b5061029b60105481565b3480156104c357600080fd5b5061029b6104d236600461140c565b610836565b3480156104e357600080fd5b506103a66104f2366004611445565b610861565b34801561050357600080fd5b506102466105123660046113ea565b610894565b34801561052357600080fd5b506103a66105323660046113c6565b61091d565b34801561054357600080fd5b5061029b600a5481565b34801561055957600080fd5b5061029b600b5481565b60606003805461057290611478565b80601f016020809104026020016040519081016040528092919081815260200182805461059e90611478565b80156105eb5780601f106105c0576101008083540402835291602001916105eb565b820191906000526020600020905b8154815290600101906020018083116105ce57829003601f168201915b5050505050905090565b600033610603818585610996565b60019150505b92915050565b60003361061d858285610aba565b610628858585610b34565b506001949350505050565b6000336106038185856106468383610836565b61065091906114c8565b610996565b61065d610dd1565b6106676000610e2b565b565b6000610673610dd1565b606260095461068291906114db565b83106106a95760405162461bcd60e51b81526004016106a0906114fd565b60405180910390fd5b60626009546106b891906114db565b82106106d65760405162461bcd60e51b81526004016106a0906114fd565b6008546106e79060ff16600a611635565b6106f19084611644565b6010556008546107059060ff16600a611635565b61070f9083611644565b60115550600192915050565b60606004805461057290611478565b600033816107388286610836565b9050838110156107985760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106a0565b6106288286868403610996565b60006107af610dd1565b600d546001600160a01b03908116908316036107dd5760405162461bcd60e51b81526004016106a090611663565b6001600160a01b0382166108035760405162461bcd60e51b81526004016106a090611663565b50600c80546001600160a01b0383166001600160a01b03199091161790556001919050565b600033610603818585610b34565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610869610dd1565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b600061089e610dd1565b600a6108aa83856114c8565b111561090e5760405162461bcd60e51b815260206004820152602d60248201527f45524332303a20746f74616c20746178206d757374206e6f742062652067726560448201526c61746572207468616e2031302560981b60648201526084016106a0565b50600a91909155600b55600190565b610925610dd1565b6001600160a01b03811661098a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a0565b61099381610e2b565b50565b6001600160a01b0383166109f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a0565b6001600160a01b038216610a595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ac68484610836565b90506000198114610b2e5781811015610b215760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106a0565b610b2e8484848403610996565b50505050565b6001600160a01b038316610b5a5760405162461bcd60e51b81526004016106a0906116ab565b6001600160a01b038216610b805760405162461bcd60e51b81526004016106a0906116f0565b80610ba0846001600160a01b031660009081526020819052604090205490565b1015610bbe5760405162461bcd60e51b81526004016106a090611733565b6012546001600160a01b0384811691161480610be757506012546001600160a01b038381169116145b8015610bfd5750601254600160a01b900460ff16155b15610dc1576012546001600160a01b03848116911614610cea57600e54306000908152602081905260408120549091610c3591611779565b90506010548110610c4b57610c4b601054610e7d565b601154600e5410610ce857610c61601154610f24565b601154600e6000828254610c759190611779565b9091555050600c546040516000916001600160a01b0316904780156108fc029184818181858888f19350505050905080610ce65760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b60448201526064016106a0565b505b505b6001600160a01b0383166000908152600f602052604081205460ff1680610d2957506001600160a01b0383166000908152600f602052604090205460ff165b15610d35575080610db6565b60006064600b5484610d479190611644565b610d5191906114db565b905060006064600a5485610d659190611644565b610d6f91906114db565b9050610d7b81836114c8565b610d859085611779565b925081600e6000828254610d9991906114c8565b90915550610db390508630610dae84866114c8565b611104565b50505b610b2e848483611104565b610dcc838383611104565b505050565b6005546001600160a01b031633146106675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a0565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6012805460ff60a01b1916600160a01b1790556000610e9d6002836114db565b90506000610eab8284611779565b905047610eb783610f24565b6000610ec38247611779565b9050610ecf83826111f0565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506012805460ff60a01b19169055505050565b6012805460ff60a01b1916600160a01b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610f6c57610f6c61178c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100e91906117a2565b816001815181106110215761102161178c565b60200260200101906001600160a01b031690816001600160a01b03168152505061106c307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610996565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906110c19085906000908690309042906004016117bf565b600060405180830381600087803b1580156110db57600080fd5b505af11580156110ef573d6000803e3d6000fd5b50506012805460ff60a01b1916905550505050565b6001600160a01b03831661112a5760405162461bcd60e51b81526004016106a0906116ab565b6001600160a01b0382166111505760405162461bcd60e51b81526004016106a0906116f0565b6001600160a01b038316600090815260208190526040902054818110156111895760405162461bcd60e51b81526004016106a090611733565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6012805460ff60a01b1916600160a01b17905561122e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610996565b600c5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af11580156112bd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906112e29190611830565b50506012805460ff60a01b19169055505050565b600060208083528351808285015260005b8181101561132357858101830151858201604001528201611307565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461099357600080fd5b6000806040838503121561136c57600080fd5b823561137781611344565b946020939093013593505050565b60008060006060848603121561139a57600080fd5b83356113a581611344565b925060208401356113b581611344565b929592945050506040919091013590565b6000602082840312156113d857600080fd5b81356113e381611344565b9392505050565b600080604083850312156113fd57600080fd5b50508035926020909101359150565b6000806040838503121561141f57600080fd5b823561142a81611344565b9150602083013561143a81611344565b809150509250929050565b6000806040838503121561145857600080fd5b823561146381611344565b91506020830135801515811461143a57600080fd5b600181811c9082168061148c57607f821691505b6020821081036114ac57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610609576106096114b2565b6000826114f857634e487b7160e01b600052601260045260246000fd5b500490565b60208082526034908201527f43616e6e6f74206c6971756964617465206d6f7265207468616e203225206f666040820152732074686520737570706c79206174206f6e63652160601b606082015260800190565b600181815b8085111561158c578160001904821115611572576115726114b2565b8085161561157f57918102915b93841c9390800290611556565b509250929050565b6000826115a357506001610609565b816115b057506000610609565b81600181146115c657600281146115d0576115ec565b6001915050610609565b60ff8411156115e1576115e16114b2565b50506001821b610609565b5060208310610133831016604e8410600b841016171561160f575081810a610609565b6116198383611551565b806000190482111561162d5761162d6114b2565b029392505050565b60006113e360ff841683611594565b600081600019048311821515161561165e5761165e6114b2565b500290565b60208082526028908201527f4c5020506169722063616e6e6f742062652074686520446561642077616c6c65604082015267742c206f7220302160c01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b81810381811115610609576106096114b2565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156117b457600080fd5b81516113e381611344565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561180f5784516001600160a01b0316835293830193918301916001016117ea565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561184557600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220b2bf06fd3383def15b0ce8f250b25b9bc3a23bd637f422b498dc7f71e380320f64736f6c63430008100033

Deployed Bytecode Sourcemap

28764:7180:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29140:64;;;;;;;;;;-1:-1:-1;29140:64:0;;;;-1:-1:-1;;;;;29140:64:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;29140:64:0;;;;;;;;18482:102;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20756:244::-;;;;;;;;;;-1:-1:-1;20756:244:0;;;;;:::i;:::-;;:::i;:::-;;;1396:14:1;;1389:22;1371:41;;1359:2;1344:18;20756:244:0;1231:187:1;29459:51:0;;;;;;;;;;;;;;;19620:110;;;;;;;;;;-1:-1:-1;19710:12:0;;19620:110;;;1803:25:1;;;1791:2;1776:18;19620:110:0;1657:177:1;21580:297:0;;;;;;;;;;-1:-1:-1;21580:297:0;;;;;:::i;:::-;;:::i;19463:92::-;;;;;;;;;;-1:-1:-1;19463:92:0;;19546:1;2442:36:1;;2430:2;2415:18;19463:92:0;2300:184:1;23296:272:0;;;;;;;;;;-1:-1:-1;23296:272:0;;;;;:::i;:::-;;:::i;29059:74::-;;;;;;;;;;-1:-1:-1;29059:74:0;;;;-1:-1:-1;;;;;29059:74:0;;;29517:28;;;;;;;;;;-1:-1:-1;29517:28:0;;;;-1:-1:-1;;;;;29517:28:0;;;29211:36;;;;;;;;;;;;;;;;18647:177;;;;;;;;;;-1:-1:-1;18647:177:0;;;;;:::i;:::-;-1:-1:-1;;;;;18798:18:0;18766:7;18798:18;;;;;;;;;;;;18647:177;15741:103;;;;;;;;;;;;;:::i;:::-;;29254:50;;;;;;;;;;-1:-1:-1;29254:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;15093:87;;;;;;;;;;-1:-1:-1;15166:6:0;;-1:-1:-1;;;;;15166:6:0;15093:87;;35290:614;;;;;;;;;;-1:-1:-1;35290:614:0;;;;;:::i;:::-;;:::i;18306:106::-;;;;;;;;;;;;;:::i;22380:507::-;;;;;;;;;;-1:-1:-1;22380:507:0;;;;;:::i;:::-;;:::i;34546:345::-;;;;;;;;;;-1:-1:-1;34546:345:0;;;;;:::i;:::-;;:::i;20200:236::-;;;;;;;;;;-1:-1:-1;20200:236:0;;;;;:::i;:::-;;:::i;29387:63::-;;;;;;;;;;;;;;;;29311:69;;;;;;;;;;;;;;;;19793:201;;;;;;;;;;-1:-1:-1;19793:201:0;;;;;:::i;:::-;;:::i;33015:132::-;;;;;;;;;;-1:-1:-1;33015:132:0;;;;;:::i;:::-;;:::i;34899:383::-;;;;;;;;;;-1:-1:-1;34899:383:0;;;;;:::i;:::-;;:::i;15999:238::-;;;;;;;;;;-1:-1:-1;15999:238:0;;;;;:::i;:::-;;:::i;28976:34::-;;;;;;;;;;;;;;;;29017:33;;;;;;;;;;;;;;;;18482:102;18538:13;18571:5;18564:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18482:102;:::o;20756:244::-;20877:4;13966:10;20938:32;13966:10;20954:7;20963:6;20938:8;:32::i;:::-;20988:4;20981:11;;;20756:244;;;;;:::o;21580:297::-;21713:4;13966:10;21771:38;21787:4;13966:10;21802:6;21771:15;:38::i;:::-;21820:27;21830:4;21836:2;21840:6;21820:9;:27::i;:::-;-1:-1:-1;21865:4:0;;21580:297;-1:-1:-1;;;;21580:297:0:o;23296:272::-;23413:4;13966:10;23474:64;13966:10;23490:7;23527:10;23499:25;13966:10;23490:7;23499:9;:25::i;:::-;:38;;;;:::i;:::-;23474:8;:64::i;15741:103::-;14979:13;:11;:13::i;:::-;15806:30:::1;15833:1;15806:18;:30::i;:::-;15741:103::o:0;35290:614::-;35459:4;14979:13;:11;:13::i;:::-;35532:2:::1;35522:7;;:12;;;;:::i;:::-;35489:30;:45;35481:110;;;;-1:-1:-1::0;;;35481:110:0::1;;;;;;;:::i;:::-;;;;;;;;;35647:2;35637:7;;:12;;;;:::i;:::-;35610:24;:39;35602:104;;;;-1:-1:-1::0;;;35602:104:0::1;;;;;;;:::i;:::-;35786:9;::::0;35782:13:::1;::::0;35786:9:::1;;35782:2;:13;:::i;:::-;35749:46;::::0;:30;:46:::1;:::i;:::-;35717:29;:78:::0;35863:9:::1;::::0;35859:13:::1;::::0;35863:9:::1;;35859:2;:13;:::i;:::-;35832:40;::::0;:24;:40:::1;:::i;:::-;35806:23;:66:::0;-1:-1:-1;35892:4:0::1;35290:614:::0;;;;:::o;18306:106::-;18364:13;18397:7;18390:14;;;;;:::i;22380:507::-;22502:4;13966:10;22502:4;22590:25;13966:10;22607:7;22590:9;:25::i;:::-;22563:52;;22668:15;22648:16;:35;;22626:122;;;;-1:-1:-1;;;22626:122:0;;6856:2:1;22626:122:0;;;6838:21:1;6895:2;6875:18;;;6868:30;6934:34;6914:18;;;6907:62;-1:-1:-1;;;6985:18:1;;;6978:35;7030:19;;22626:122:0;6654:401:1;22626:122:0;22784:60;22793:5;22800:7;22828:15;22809:16;:34;22784:8;:60::i;34546:345::-;34645:4;14979:13;:11;:13::i;:::-;34688:4:::1;::::0;-1:-1:-1;;;;;34688:4:0;;::::1;34675:17:::0;;::::1;::::0;34667:70:::1;;;;-1:-1:-1::0;;;34667:70:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;34756:23:0;::::1;34748:76;;;;-1:-1:-1::0;;;34748:76:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;34835:14:0::1;:26:::0;;-1:-1:-1;;;;;34835:26:0;::::1;-1:-1:-1::0;;;;;;34835:26:0;;::::1;;::::0;;;34546:345;;;:::o;20200:236::-;20317:4;13966:10;20378:28;13966:10;20395:2;20399:6;20378:9;:28::i;19793:201::-;-1:-1:-1;;;;;19959:18:0;;;19927:7;19959:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19793:201::o;33015:132::-;14979:13;:11;:13::i;:::-;-1:-1:-1;;;;;33101:28:0;;;::::1;;::::0;;;:18:::1;:28;::::0;;;;:38;;-1:-1:-1;;33101:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;33015:132::o;34899:383::-;35042:4;14979:13;:11;:13::i;:::-;35110:2:::1;35073:32;35090:15:::0;35073:16;:32:::1;:::i;:::-;35072:40;;35064:98;;;::::0;-1:-1:-1;;;35064:98:0;;7671:2:1;35064:98:0::1;::::0;::::1;7653:21:1::0;7710:2;7690:18;;;7683:30;7749:34;7729:18;;;7722:62;-1:-1:-1;;;7800:18:1;;;7793:43;7853:19;;35064:98:0::1;7469:409:1::0;35064:98:0::1;-1:-1:-1::0;35173:15:0::1;:34:::0;;;;35218:14:::1;:32:::0;35270:4:::1;::::0;34899:383::o;15999:238::-;14979:13;:11;:13::i;:::-;-1:-1:-1;;;;;16102:22:0;::::1;16080:110;;;::::0;-1:-1:-1;;;16080:110:0;;8085:2:1;16080:110:0::1;::::0;::::1;8067:21:1::0;8124:2;8104:18;;;8097:30;8163:34;8143:18;;;8136:62;-1:-1:-1;;;8214:18:1;;;8207:36;8260:19;;16080:110:0::1;7883:402:1::0;16080:110:0::1;16201:28;16220:8;16201:18;:28::i;:::-;15999:238:::0;:::o;25603:380::-;-1:-1:-1;;;;;25739:19:0;;25731:68;;;;-1:-1:-1;;;25731:68:0;;8492:2:1;25731:68:0;;;8474:21:1;8531:2;8511:18;;;8504:30;8570:34;8550:18;;;8543:62;-1:-1:-1;;;8621:18:1;;;8614:34;8665:19;;25731:68:0;8290:400:1;25731:68:0;-1:-1:-1;;;;;25818:21:0;;25810:68;;;;-1:-1:-1;;;25810:68:0;;8897:2:1;25810:68:0;;;8879:21:1;8936:2;8916:18;;;8909:30;8975:34;8955:18;;;8948:62;-1:-1:-1;;;9026:18:1;;;9019:32;9068:19;;25810:68:0;8695:398:1;25810:68:0;-1:-1:-1;;;;;25891:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25943:32;;1803:25:1;;;25943:32:0;;1776:18:1;25943:32:0;;;;;;;25603:380;;;:::o;26274:502::-;26409:24;26436:25;26446:5;26453:7;26436:9;:25::i;:::-;26409:52;;-1:-1:-1;;26476:16:0;:37;26472:297;;26576:6;26556:16;:26;;26530:117;;;;-1:-1:-1;;;26530:117:0;;9300:2:1;26530:117:0;;;9282:21:1;9339:2;9319:18;;;9312:30;9378:31;9358:18;;;9351:59;9427:18;;26530:117:0;9098:353:1;26530:117:0;26691:51;26700:5;26707:7;26735:6;26716:16;:25;26691:8;:51::i;:::-;26398:378;26274:502;;;:::o;31181:1826::-;-1:-1:-1;;;;;31279:18:0;;31271:68;;;;-1:-1:-1;;;31271:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;31358:16:0;;31350:64;;;;-1:-1:-1;;;31350:64:0;;;;;;;:::i;:::-;31452:6;31433:15;31443:4;-1:-1:-1;;;;;18798:18:0;18766:7;18798:18;;;;;;;;;;;;18647:177;31433:15;:25;;31425:76;;;;-1:-1:-1;;;31425:76:0;;;;;;;:::i;:::-;31527:13;;-1:-1:-1;;;;;31519:21:0;;;31527:13;;31519:21;;:44;;-1:-1:-1;31550:13:0;;-1:-1:-1;;;;;31544:19:0;;;31550:13;;31544:19;31519:44;31518:67;;;;-1:-1:-1;31569:16:0;;-1:-1:-1;;;31569:16:0;;;;31568:17;31518:67;31514:1486;;;31614:13;;-1:-1:-1;;;;;31606:21:0;;;31614:13;;31606:21;31602:677;;31710:17;;31701:4;31648:32;18798:18;;;;;;;;;;;31648:32;;31683:44;;;:::i;:::-;31648:79;;31778:29;;31750:24;:57;31746:152;;31832:46;31848:29;;31832:15;:46::i;:::-;31943:23;;31921:17;;31920:46;31916:348;;31991:42;32009:23;;31991:17;:42::i;:::-;32077:23;;32056:17;;:44;;;;;;;:::i;:::-;;;;-1:-1:-1;;32143:14:0;;32135:51;;32123:9;;-1:-1:-1;;;;;32143:14:0;;32164:21;32135:51;;;;;32123:9;32135:51;32123:9;32135:51;32164:21;32143:14;32135:51;;;;;;;32123:63;;32217:4;32209:35;;;;-1:-1:-1;;;32209:35:0;;11008:2:1;32209:35:0;;;10990:21:1;11047:2;11027:18;;;11020:30;-1:-1:-1;;;11066:18:1;;;11059:48;11124:18;;32209:35:0;10806:342:1;32209:35:0;31968:296;31916:348;31629:650;31602:677;-1:-1:-1;;;;;32336:24:0;;32295:22;32336:24;;;:18;:24;;;;;;;;;:50;;-1:-1:-1;;;;;;32364:22:0;;;;;;:18;:22;;;;;;;;32336:50;32332:525;;;-1:-1:-1;32424:6:0;32332:525;;;32485:21;32538:3;32520:14;;32511:6;:23;;;;:::i;:::-;32510:31;;;;:::i;:::-;32485:57;;32561:22;32616:3;32597:15;;32588:6;:24;;;;:::i;:::-;32587:32;;;;:::i;:::-;32561:59;-1:-1:-1;32666:30:0;32561:59;32666:13;:30;:::i;:::-;32656:41;;:6;:41;:::i;:::-;32639:58;;32737:13;32716:17;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;32771:70:0;;-1:-1:-1;32787:4:0;32801;32809:30;32825:14;32809:13;:30;:::i;:::-;32771:15;:70::i;:::-;32466:391;;32332:525;32871:41;32887:4;32893:2;32897:14;32871:15;:41::i;31514:1486::-;32955:33;32971:4;32977:2;32981:6;32955:15;:33::i;:::-;31181:1826;;;:::o;15258:132::-;15166:6;;-1:-1:-1;;;;;15166:6:0;13966:10;15322:23;15314:68;;;;-1:-1:-1;;;15314:68:0;;11355:2:1;15314:68:0;;;11337:21:1;;;11374:18;;;11367:30;11433:34;11413:18;;;11406:62;11485:18;;15314:68:0;11153:356:1;16397:191:0;16490:6;;;-1:-1:-1;;;;;16507:17:0;;;-1:-1:-1;;;;;;16507:17:0;;;;;;;16540:40;;16490:6;;;16507:17;16490:6;;16540:40;;16471:16;;16540:40;16460:128;16397:191;:::o;33155:474::-;29757:16;:23;;-1:-1:-1;;;;29757:23:0;-1:-1:-1;;;29757:23:0;;;;33257:24:::1;33280:1;33257:20:::0;:24:::1;:::i;:::-;33241:41:::0;-1:-1:-1;33293:17:0::1;33314:27;33241:41:::0;33314:20;:27:::1;:::i;:::-;33293:49:::0;-1:-1:-1;33380:21:0::1;33414:23;33432:4:::0;33414:17:::1;:23::i;:::-;33450:18;33472:38;33496:14:::0;33472:21:::1;:38;:::i;:::-;33450:61;;33524:36;33538:9;33549:10;33524:13;:36::i;:::-;33578:43;::::0;;11716:25:1;;;11772:2;11757:18;;11750:34;;;11800:18;;;11793:34;;;33578:43:0::1;::::0;11704:2:1;11689:18;33578:43:0::1;;;;;;;-1:-1:-1::0;;29803:16:0;:24;;-1:-1:-1;;;;29803:24:0;;;-1:-1:-1;;;33155:474:0:o;33637:488::-;29757:16;:23;;-1:-1:-1;;;;29757:23:0;-1:-1:-1;;;29757:23:0;;;33740:16:::1;::::0;;33754:1:::1;33740:16:::0;;;;;::::1;::::0;;-1:-1:-1;;33740:16:0::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;33740:16:0::1;33716:40;;33785:4;33767;33772:1;33767:7;;;;;;;;:::i;:::-;;;;;;:23;-1:-1:-1::0;;;;;33767:23:0::1;;;-1:-1:-1::0;;;;;33767:23:0::1;;;::::0;::::1;33811:15;-1:-1:-1::0;;;;;33811:20:0::1;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33801:4;33806:1;33801:7;;;;;;;;:::i;:::-;;;;;;:32;-1:-1:-1::0;;;;;33801:32:0::1;;;-1:-1:-1::0;;;;;33801:32:0::1;;;::::0;::::1;33846:62;33863:4;33878:15;33896:11;33846:8;:62::i;:::-;33921:196;::::0;-1:-1:-1;;;33921:196:0;;-1:-1:-1;;;;;33921:15:0::1;:66;::::0;::::1;::::0;:196:::1;::::0;34002:11;;34028:1:::1;::::0;34044:4;;34071::::1;::::0;34091:15:::1;::::0;33921:196:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;29803:16:0;:24;;-1:-1:-1;;;;29803:24:0;;;-1:-1:-1;;;;33637:488:0:o;26784:776::-;-1:-1:-1;;;;;26915:18:0;;26907:68;;;;-1:-1:-1;;;26907:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;26994:16:0;;26986:64;;;;-1:-1:-1;;;26986:64:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27085:15:0;;27063:19;27085:15;;;;;;;;;;;27133:21;;;;27111:109;;;;-1:-1:-1;;;27111:109:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27256:15:0;;;:9;:15;;;;;;;;;;;27274:20;;;27256:38;;27474:13;;;;;;;;;;:23;;;;;;27526:26;;1803:25:1;;;27474:13:0;;27526:26;;1776:18:1;27526:26:0;;;;;;;26896:664;26784:776;;;:::o;34133:405::-;29757:16;:23;;-1:-1:-1;;;;29757:23:0;-1:-1:-1;;;29757:23:0;;;34250:62:::1;34267:4;34282:15;34300:11:::0;34250:8:::1;:62::i;:::-;34475:14;::::0;34325:205:::1;::::0;-1:-1:-1;;;34325:205:0;;34397:4:::1;34325:205;::::0;::::1;13684:34:1::0;13734:18;;;13727:34;;;34443:1:0::1;13777:18:1::0;;;13770:34;;;13820:18;;;13813:34;-1:-1:-1;;;;;34475:14:0;;::::1;13863:19:1::0;;;13856:44;34504:15:0::1;13916:19:1::0;;;13909:35;34325:15:0::1;:31:::0;;::::1;::::0;::::1;::::0;34364:9;;13618:19:1;;34325:205:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;29803:16:0;:24;;-1:-1:-1;;;;29803:24:0;;;-1:-1:-1;;;34133:405:0:o;222:548:1:-;334:4;363:2;392;381:9;374:21;424:6;418:13;467:6;462:2;451:9;447:18;440:34;492:1;502:140;516:6;513:1;510:13;502:140;;;611:14;;;607:23;;601:30;577:17;;;596:2;573:26;566:66;531:10;;502:140;;;506:3;691:1;686:2;677:6;666:9;662:22;658:31;651:42;761:2;754;750:7;745:2;737:6;733:15;729:29;718:9;714:45;710:54;702:62;;;;222:548;;;;:::o;775:131::-;-1:-1:-1;;;;;850:31:1;;840:42;;830:70;;896:1;893;886:12;911:315;979:6;987;1040:2;1028:9;1019:7;1015:23;1011:32;1008:52;;;1056:1;1053;1046:12;1008:52;1095:9;1082:23;1114:31;1139:5;1114:31;:::i;:::-;1164:5;1216:2;1201:18;;;;1188:32;;-1:-1:-1;;;911:315:1:o;1839:456::-;1916:6;1924;1932;1985:2;1973:9;1964:7;1960:23;1956:32;1953:52;;;2001:1;1998;1991:12;1953:52;2040:9;2027:23;2059:31;2084:5;2059:31;:::i;:::-;2109:5;-1:-1:-1;2166:2:1;2151:18;;2138:32;2179:33;2138:32;2179:33;:::i;:::-;1839:456;;2231:7;;-1:-1:-1;;;2285:2:1;2270:18;;;;2257:32;;1839:456::o;2489:247::-;2548:6;2601:2;2589:9;2580:7;2576:23;2572:32;2569:52;;;2617:1;2614;2607:12;2569:52;2656:9;2643:23;2675:31;2700:5;2675:31;:::i;:::-;2725:5;2489:247;-1:-1:-1;;;2489:247:1:o;2741:248::-;2809:6;2817;2870:2;2858:9;2849:7;2845:23;2841:32;2838:52;;;2886:1;2883;2876:12;2838:52;-1:-1:-1;;2909:23:1;;;2979:2;2964:18;;;2951:32;;-1:-1:-1;2741:248:1:o;2994:388::-;3062:6;3070;3123:2;3111:9;3102:7;3098:23;3094:32;3091:52;;;3139:1;3136;3129:12;3091:52;3178:9;3165:23;3197:31;3222:5;3197:31;:::i;:::-;3247:5;-1:-1:-1;3304:2:1;3289:18;;3276:32;3317:33;3276:32;3317:33;:::i;:::-;3369:7;3359:17;;;2994:388;;;;;:::o;3387:416::-;3452:6;3460;3513:2;3501:9;3492:7;3488:23;3484:32;3481:52;;;3529:1;3526;3519:12;3481:52;3568:9;3555:23;3587:31;3612:5;3587:31;:::i;:::-;3637:5;-1:-1:-1;3694:2:1;3679:18;;3666:32;3736:15;;3729:23;3717:36;;3707:64;;3767:1;3764;3757:12;3808:380;3887:1;3883:12;;;;3930;;;3951:61;;4005:4;3997:6;3993:17;3983:27;;3951:61;4058:2;4050:6;4047:14;4027:18;4024:38;4021:161;;4104:10;4099:3;4095:20;4092:1;4085:31;4139:4;4136:1;4129:15;4167:4;4164:1;4157:15;4021:161;;3808:380;;;:::o;4193:127::-;4254:10;4249:3;4245:20;4242:1;4235:31;4285:4;4282:1;4275:15;4309:4;4306:1;4299:15;4325:125;4390:9;;;4411:10;;;4408:36;;;4424:18;;:::i;4455:217::-;4495:1;4521;4511:132;;4565:10;4560:3;4556:20;4553:1;4546:31;4600:4;4597:1;4590:15;4628:4;4625:1;4618:15;4511:132;-1:-1:-1;4657:9:1;;4455:217::o;4677:416::-;4879:2;4861:21;;;4918:2;4898:18;;;4891:30;4957:34;4952:2;4937:18;;4930:62;-1:-1:-1;;;5023:2:1;5008:18;;5001:50;5083:3;5068:19;;4677:416::o;5098:422::-;5187:1;5230:5;5187:1;5244:270;5265:7;5255:8;5252:21;5244:270;;;5324:4;5320:1;5316:6;5312:17;5306:4;5303:27;5300:53;;;5333:18;;:::i;:::-;5383:7;5373:8;5369:22;5366:55;;;5403:16;;;;5366:55;5482:22;;;;5442:15;;;;5244:270;;;5248:3;5098:422;;;;;:::o;5525:806::-;5574:5;5604:8;5594:80;;-1:-1:-1;5645:1:1;5659:5;;5594:80;5693:4;5683:76;;-1:-1:-1;5730:1:1;5744:5;;5683:76;5775:4;5793:1;5788:59;;;;5861:1;5856:130;;;;5768:218;;5788:59;5818:1;5809:10;;5832:5;;;5856:130;5893:3;5883:8;5880:17;5877:43;;;5900:18;;:::i;:::-;-1:-1:-1;;5956:1:1;5942:16;;5971:5;;5768:218;;6070:2;6060:8;6057:16;6051:3;6045:4;6042:13;6038:36;6032:2;6022:8;6019:16;6014:2;6008:4;6005:12;6001:35;5998:77;5995:159;;;-1:-1:-1;6107:19:1;;;6139:5;;5995:159;6186:34;6211:8;6205:4;6186:34;:::i;:::-;6256:6;6252:1;6248:6;6244:19;6235:7;6232:32;6229:58;;;6267:18;;:::i;:::-;6305:20;;5525:806;-1:-1:-1;;;5525:806:1:o;6336:140::-;6394:5;6423:47;6464:4;6454:8;6450:19;6444:4;6423:47;:::i;6481:168::-;6521:7;6587:1;6583;6579:6;6575:14;6572:1;6569:21;6564:1;6557:9;6550:17;6546:45;6543:71;;;6594:18;;:::i;:::-;-1:-1:-1;6634:9:1;;6481:168::o;7060:404::-;7262:2;7244:21;;;7301:2;7281:18;;;7274:30;7340:34;7335:2;7320:18;;7313:62;-1:-1:-1;;;7406:2:1;7391:18;;7384:38;7454:3;7439:19;;7060:404::o;9456:401::-;9658:2;9640:21;;;9697:2;9677:18;;;9670:30;9736:34;9731:2;9716:18;;9709:62;-1:-1:-1;;;9802:2:1;9787:18;;9780:35;9847:3;9832:19;;9456:401::o;9862:399::-;10064:2;10046:21;;;10103:2;10083:18;;;10076:30;10142:34;10137:2;10122:18;;10115:62;-1:-1:-1;;;10208:2:1;10193:18;;10186:33;10251:3;10236:19;;9862:399::o;10266:402::-;10468:2;10450:21;;;10507:2;10487:18;;;10480:30;10546:34;10541:2;10526:18;;10519:62;-1:-1:-1;;;10612:2:1;10597:18;;10590:36;10658:3;10643:19;;10266:402::o;10673:128::-;10740:9;;;10761:11;;;10758:37;;;10775:18;;:::i;11970:127::-;12031:10;12026:3;12022:20;12019:1;12012:31;12062:4;12059:1;12052:15;12086:4;12083:1;12076:15;12102:251;12172:6;12225:2;12213:9;12204:7;12200:23;12196:32;12193:52;;;12241:1;12238;12231:12;12193:52;12273:9;12267:16;12292:31;12317:5;12292:31;:::i;12358:980::-;12620:4;12668:3;12657:9;12653:19;12699:6;12688:9;12681:25;12725:2;12763:6;12758:2;12747:9;12743:18;12736:34;12806:3;12801:2;12790:9;12786:18;12779:31;12830:6;12865;12859:13;12896:6;12888;12881:22;12934:3;12923:9;12919:19;12912:26;;12973:2;12965:6;12961:15;12947:29;;12994:1;13004:195;13018:6;13015:1;13012:13;13004:195;;;13083:13;;-1:-1:-1;;;;;13079:39:1;13067:52;;13174:15;;;;13139:12;;;;13115:1;13033:9;13004:195;;;-1:-1:-1;;;;;;;13255:32:1;;;;13250:2;13235:18;;13228:60;-1:-1:-1;;;13319:3:1;13304:19;13297:35;13216:3;12358:980;-1:-1:-1;;;12358:980:1:o;13955:306::-;14043:6;14051;14059;14112:2;14100:9;14091:7;14087:23;14083:32;14080:52;;;14128:1;14125;14118:12;14080:52;14157:9;14151:16;14141:26;;14207:2;14196:9;14192:18;14186:25;14176:35;;14251:2;14240:9;14236:18;14230:25;14220:35;;13955:306;;;;;:::o

Swarm Source

ipfs://b2bf06fd3383def15b0ce8f250b25b9bc3a23bd637f422b498dc7f71e380320f
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.