ETH Price: $3,487.20 (+3.43%)
Gas: 4 Gwei

Contract

0x8B12BD54CA9B2311960057C8F3C88013e79316E3
 

Overview

ETH Balance

0.027437473944724748 ETH

Eth Value

$95.68 (@ $3,487.20/ETH)

Token Holdings

More Info

Private Name Tags

TokenTracker

Reach ($Reach) (@$0.0266)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve202068752024-06-30 20:24:599 hrs ago1719779099IN
Reach: $Reach Token
0 ETH0.00026085.55406999
Approve202067932024-06-30 20:08:3510 hrs ago1719778115IN
Reach: $Reach Token
0 ETH0.000267185.69715406
Transfer202059602024-06-30 17:21:1112 hrs ago1719768071IN
Reach: $Reach Token
0 ETH0.000209654.25804216
Transfer202059592024-06-30 17:20:5912 hrs ago1719768059IN
Reach: $Reach Token
0 ETH0.0002054.1665699
Transfer202059222024-06-30 17:13:3512 hrs ago1719767615IN
Reach: $Reach Token
0 ETH0.000353694.97367902
Transfer202057702024-06-30 16:43:1113 hrs ago1719765791IN
Reach: $Reach Token
0 ETH0.000534587.51605987
Transfer202056582024-06-30 16:20:4713 hrs ago1719764447IN
Reach: $Reach Token
0 ETH0.000298376.05982316
Transfer202056352024-06-30 16:16:1113 hrs ago1719764171IN
Reach: $Reach Token
0 ETH0.000352836.53369703
Transfer202055522024-06-30 15:59:2314 hrs ago1719763163IN
Reach: $Reach Token
0 ETH0.000405765.70585403
Transfer202055412024-06-30 15:57:1114 hrs ago1719763031IN
Reach: $Reach Token
0 ETH0.0006481612
Transfer202055362024-06-30 15:56:1114 hrs ago1719762971IN
Reach: $Reach Token
0 ETH0.0013503525
Transfer202055362024-06-30 15:56:1114 hrs ago1719762971IN
Reach: $Reach Token
0 ETH0.0008533612
Transfer202053612024-06-30 15:20:5914 hrs ago1719760859IN
Reach: $Reach Token
0 ETH0.000246675.00994142
Transfer202039252024-06-30 10:32:1119 hrs ago1719743531IN
Reach: $Reach Token
0 ETH0.000640029
Approve202033862024-06-30 8:43:5921 hrs ago1719737039IN
Reach: $Reach Token
0 ETH0.000178873.79094928
Approve202027282024-06-30 6:31:5923 hrs ago1719729119IN
Reach: $Reach Token
0 ETH0.000061892.26827888
Approve202027252024-06-30 6:31:2323 hrs ago1719729083IN
Reach: $Reach Token
0 ETH0.000106212.25095742
Transfer201993922024-06-29 19:20:4734 hrs ago1719688847IN
Reach: $Reach Token
0 ETH0.000151533.07991548
Transfer201991652024-06-29 18:35:1135 hrs ago1719686111IN
Reach: $Reach Token
0 ETH0.000223074.12994306
Transfer201981982024-06-29 15:20:5938 hrs ago1719674459IN
Reach: $Reach Token
0 ETH0.000248695.05080772
Transfer201981982024-06-29 15:20:5938 hrs ago1719674459IN
Reach: $Reach Token
0 ETH0.000248695.05080772
Transfer201967822024-06-29 10:35:2343 hrs ago1719657323IN
Reach: $Reach Token
0 ETH0.000166072.50397034
Transfer201958052024-06-29 7:18:3546 hrs ago1719645515IN
Reach: $Reach Token
0 ETH0.000140422.52851834
Transfer201937272024-06-29 0:20:472 days ago1719620447IN
Reach: $Reach Token
0 ETH0.00015493.14605178
Transfer201917512024-06-28 17:43:112 days ago1719596591IN
Reach: $Reach Token
0 ETH0.0005414811
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
188928022023-12-29 17:45:35184 days ago1703871935
Reach: $Reach Token
2.18254757 ETH
188928022023-12-29 17:45:35184 days ago1703871935
Reach: $Reach Token
2.18254757 ETH
188905922023-12-29 10:18:35184 days ago1703845115
Reach: $Reach Token
2.57591206 ETH
188905922023-12-29 10:18:35184 days ago1703845115
Reach: $Reach Token
2.57591206 ETH
188851042023-12-28 15:49:47185 days ago1703778587
Reach: $Reach Token
1.9456671 ETH
188851042023-12-28 15:49:47185 days ago1703778587
Reach: $Reach Token
1.9456671 ETH
188799032023-12-27 22:17:23186 days ago1703715443
Reach: $Reach Token
1.88930702 ETH
188799032023-12-27 22:17:23186 days ago1703715443
Reach: $Reach Token
1.88930702 ETH
188798602023-12-27 22:08:35186 days ago1703714915
Reach: $Reach Token
1.88930702 ETH
188798602023-12-27 22:08:35186 days ago1703714915
Reach: $Reach Token
1.88930702 ETH
188798602023-12-27 22:08:35186 days ago1703714915
Reach: $Reach Token
1.88930702 ETH
188798602023-12-27 22:08:35186 days ago1703714915
Reach: $Reach Token
1.88930702 ETH
188752472023-12-27 6:34:35186 days ago1703658875
Reach: $Reach Token
1.27059611 ETH
188752472023-12-27 6:34:35186 days ago1703658875
Reach: $Reach Token
1.27059611 ETH
188715682023-12-26 18:11:23187 days ago1703614283
Reach: $Reach Token
1.74257127 ETH
188715682023-12-26 18:11:23187 days ago1703614283
Reach: $Reach Token
1.74257127 ETH
188667532023-12-26 1:59:47188 days ago1703555987
Reach: $Reach Token
1.60520906 ETH
188667532023-12-26 1:59:47188 days ago1703555987
Reach: $Reach Token
1.60520906 ETH
188627192023-12-25 12:23:11188 days ago1703506991
Reach: $Reach Token
1.57691243 ETH
188627192023-12-25 12:23:11188 days ago1703506991
Reach: $Reach Token
1.57691243 ETH
188558792023-12-24 13:20:11189 days ago1703424011
Reach: $Reach Token
1.75472167 ETH
188558792023-12-24 13:20:11189 days ago1703424011
Reach: $Reach Token
1.75472167 ETH
188557182023-12-24 12:47:35189 days ago1703422055
Reach: $Reach Token
1.73674296 ETH
188557182023-12-24 12:47:35189 days ago1703422055
Reach: $Reach Token
1.73674296 ETH
188556882023-12-24 12:41:35189 days ago1703421695
Reach: $Reach Token
1.72920529 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Reach

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Reach.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable2Step.sol";
import "./interfaces/IDex.sol";

contract Reach is ERC20, Ownable2Step {
    using SafeERC20 for IERC20;
    using Address for address payable;

    IRouter public router;
    address public pair;

    bool private swapping;
    bool public swapEnabled = true;
    bool public tradingEnabled;
    address public treasuryWallet = 0x024059d3729302d2EED0CA698B18F611805E699C;
    uint256 public swapTokensAtAmount = 50_000 * 10 ** 18; //swap every 0.05% of total supply
    uint256 public constant maxTxAmount = 250_000 ether;
    uint256 public constant maxHoldingAmount = 500_000 ether;
    uint256 public antiSnipeExpiresAt;

    ///////////////
    //   Fees    //
    ///////////////

    uint8 public totalBuyTax = 4;
    uint8 public totalSellTax = 4;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public automatedMarketMakerPairs;

    ///////////////
    //   Events  //
    ///////////////

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event GasForProcessingUpdated(
        uint256 indexed newValue,
        uint256 indexed oldValue
    );
    event FeesCollected(uint256 indexed amount);

    constructor() ERC20("Reach", "$Reach") {
        IRouter _router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        address _pair = IFactory(_router.factory()).createPair(
            address(this),
            _router.WETH()
        );

        router = _router;
        pair = _pair;

        _setAutomatedMarketMakerPair(_pair, true);

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(treasuryWallet, true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), 10e7 * (10 ** 18));
    }

    receive() external payable {}

    /// @notice Withdraw tokens sent by mistake.
    /// @param tokenAddress The address of the token to withdraw
    function rescueERC20Tokens(address tokenAddress) external onlyOwner {
        IERC20(tokenAddress).safeTransfer(
            owner(),
            IERC20(tokenAddress).balanceOf(address(this))
        );
    }

    /// @notice Send remaining ETH to treasuryWallet
    /// @dev It will send all ETH to treasuryWallet
    function forceSend() external {
        uint256 ETHbalance = address(this).balance;
        payable(treasuryWallet).sendValue(ETHbalance);
    }

    function updateRouter(address newRouter) external onlyOwner {
        router = IRouter(newRouter);
    }

    /////////////////////////////////
    // Exclude / Include functions //
    /////////////////////////////////

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "Reach: Account is already the value of 'excluded'"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    function excludeMultipleAccountsFromFees(
        address[] calldata accounts,
        bool excluded
    ) public onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            _isExcludedFromFees[accounts[i]] = excluded;
        }
        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

    ///////////////////////
    //  Setter Functions //
    ///////////////////////

    function setTreasuryWallet(address newWallet) external onlyOwner {
        treasuryWallet = newWallet;
    }

    /// @notice Update the threshold to swap tokens for liquidity,
    function setSwapTokensAtAmount(uint256 amount) external onlyOwner {
        //amount should be between 50k and 500k tokens
        require(
            amount >= 50_000 && amount <= 500_000,
            "Amount should be between 50k and 500k tokens"
        );
        swapTokensAtAmount = amount * 10 ** 18;
    }

    function setBuyTaxes(uint8 _buyTax) external onlyOwner {
        require(_buyTax <= 20, "Fee must be <= 20%");
        totalBuyTax = _buyTax;
    }

    function setSellTaxes(uint8 _sellTax) external onlyOwner {
        require(_sellTax <= 20, "Fee must be <= 20%");
        totalSellTax = _sellTax;
    }

    /// @notice Enable or disable internal swaps
    /// @dev Set "true" to enable internal swaps for liquidity, treasury and dividends
    function setSwapEnabled(bool _enabled) external onlyOwner {
        swapEnabled = _enabled;
    }

    function activateTrading() external onlyOwner {
        require(!tradingEnabled, "Trading already enabled");
        antiSnipeExpiresAt = block.timestamp + 30 minutes;
        tradingEnabled = true;
    }

    /// @dev Set new pairs created due to listing in new DEX
    function setAutomatedMarketMakerPair(
        address newPair,
        bool value
    ) external onlyOwner {
        _setAutomatedMarketMakerPair(newPair, value);
    }

    function _setAutomatedMarketMakerPair(address newPair, bool value) private {
        require(
            automatedMarketMakerPairs[newPair] != value,
            "Reach: Automated market maker pair is already set to that value"
        );
        automatedMarketMakerPairs[newPair] = value;

        emit SetAutomatedMarketMakerPair(newPair, value);
    }

    //////////////////////
    // Getter Functions //
    //////////////////////

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    ////////////////////////
    // Transfer Functions //
    ////////////////////////

    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");
        if (
            block.timestamp < antiSnipeExpiresAt && !_isExcludedFromFees[from]
        ) {
            require(
                amount <= maxTxAmount,
                "Transfer amount exceeds the maxTxAmount."
            );

            if (automatedMarketMakerPairs[from])
                require(
                    balanceOf(to) + amount <= maxHoldingAmount,
                    "Max holding amount"
                );
        }

        if (
            !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !swapping
        ) {
            require(tradingEnabled, "Trading not active");
        }

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            !swapping &&
            swapEnabled &&
            automatedMarketMakerPairs[to] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            if (totalSellTax > 0) {
                swapAndLiquify(swapTokensAtAmount);
            }

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        if (!automatedMarketMakerPairs[to] && !automatedMarketMakerPairs[from])
            takeFee = false;

        if (takeFee) {
            uint256 feeAmt;
            if (automatedMarketMakerPairs[to])
                feeAmt = (amount * totalSellTax) / 100;
            else if (automatedMarketMakerPairs[from])
                feeAmt = (amount * totalBuyTax) / 100;

            amount = amount - feeAmt;
            super._transfer(from, address(this), feeAmt);
        }

        super._transfer(from, to, amount);
    }

    function swapAndLiquify(uint256 tokens) private {
        swapTokensForETH(tokens);
        uint256 ETHbalance = address(this).balance;
        payable(treasuryWallet).sendValue(ETHbalance);
        emit FeesCollected(ETHbalance);
    }

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

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

        // make the swap
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.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 is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 11 : Ownable2Step.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.0;

import "./Ownable.sol";

/**
 * @dev Contract module which provides 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} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Returns the address of the pending owner.
     */
    function pendingOwner() public view virtual returns (address) {
        return _pendingOwner;
    }

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner");
        _transferOwnership(sender);
    }
}

File 4 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 5 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 6 of 11 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 7 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

File 8 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 9 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 10 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 11 of 11 : IDex.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.19;

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

    function token0() external view returns (address);
}

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

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

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

    function WETH() external pure returns (address);

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeesCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activateTrading","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":[],"name":"antiSnipeExpiresAt","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":"automatedMarketMakerPairs","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":[],"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":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHoldingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"rescueERC20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_buyTax","type":"uint8"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_sellTax","type":"uint8"}],"name":"setSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyTax","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellTax","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001600860156101000a81548160ff02191690831515021790555073024059d3729302d2eed0ca698b18f611805e699c600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550690a968163f0a57b400000600a556004600c60006101000a81548160ff021916908360ff1602179055506004600c60016101000a81548160ff021916908360ff160217905550348015620000c757600080fd5b506040518060400160405280600581526020017f52656163680000000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f2452656163680000000000000000000000000000000000000000000000000000815250816003908162000145919062000c68565b50806004908162000157919062000c68565b5050506200017a6200016e6200042f60201b60201c565b6200043760201b60201c565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d905060008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000207919062000db9565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308473ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200026f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000295919062000db9565b6040518363ffffffff1660e01b8152600401620002b492919062000dfc565b6020604051808303816000875af1158015620002d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002fa919062000db9565b905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003918160016200047060201b60201c565b620003b3620003a5620005a660201b60201c565b6001620005d060201b60201c565b620003c6306001620005d060201b60201c565b620003fb600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001620005d060201b60201c565b620004276200040f620005a660201b60201c565b6a52b7d2dcc80cd2e40000006200072060201b60201c565b505062001120565b600033905090565b600660006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556200046d816200088d60201b60201c565b50565b801515600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615150362000505576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004fc9062000eb0565b60405180910390fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620005e06200095360201b60201c565b801515600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615150362000675576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200066c9062000f48565b60405180910390fd5b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df78260405162000714919062000f87565b60405180910390a25050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000792576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007899062000ff4565b60405180910390fd5b620007a660008383620009e460201b60201c565b8060026000828254620007ba919062001045565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200086d919062001091565b60405180910390a36200088960008383620009e960201b60201c565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620009636200042f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000989620005a660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620009e2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009d990620010fe565b60405180910390fd5b565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a7057607f821691505b60208210810362000a865762000a8562000a28565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000af07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000ab1565b62000afc868362000ab1565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000b4962000b4362000b3d8462000b14565b62000b1e565b62000b14565b9050919050565b6000819050919050565b62000b658362000b28565b62000b7d62000b748262000b50565b84845462000abe565b825550505050565b600090565b62000b9462000b85565b62000ba181848462000b5a565b505050565b5b8181101562000bc95762000bbd60008262000b8a565b60018101905062000ba7565b5050565b601f82111562000c185762000be28162000a8c565b62000bed8462000aa1565b8101602085101562000bfd578190505b62000c1562000c0c8562000aa1565b83018262000ba6565b50505b505050565b600082821c905092915050565b600062000c3d6000198460080262000c1d565b1980831691505092915050565b600062000c58838362000c2a565b9150826002028217905092915050565b62000c7382620009ee565b67ffffffffffffffff81111562000c8f5762000c8e620009f9565b5b62000c9b825462000a57565b62000ca882828562000bcd565b600060209050601f83116001811462000ce0576000841562000ccb578287015190505b62000cd7858262000c4a565b86555062000d47565b601f19841662000cf08662000a8c565b60005b8281101562000d1a5784890151825560018201915060208501945060208101905062000cf3565b8683101562000d3a578489015162000d36601f89168262000c2a565b8355505b6001600288020188555050505b505050505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000d818262000d54565b9050919050565b62000d938162000d74565b811462000d9f57600080fd5b50565b60008151905062000db38162000d88565b92915050565b60006020828403121562000dd25762000dd162000d4f565b5b600062000de28482850162000da2565b91505092915050565b62000df68162000d74565b82525050565b600060408201905062000e13600083018562000deb565b62000e22602083018462000deb565b9392505050565b600082825260208201905092915050565b7f52656163683a204175746f6d61746564206d61726b6574206d616b657220706160008201527f697220697320616c72656164792073657420746f20746861742076616c756500602082015250565b600062000e98603f8362000e29565b915062000ea58262000e3a565b604082019050919050565b6000602082019050818103600083015262000ecb8162000e89565b9050919050565b7f52656163683a204163636f756e7420697320616c72656164792074686520766160008201527f6c7565206f6620276578636c7564656427000000000000000000000000000000602082015250565b600062000f3060318362000e29565b915062000f3d8262000ed2565b604082019050919050565b6000602082019050818103600083015262000f638162000f21565b9050919050565b60008115159050919050565b62000f818162000f6a565b82525050565b600060208201905062000f9e600083018462000f76565b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000fdc601f8362000e29565b915062000fe98262000fa4565b602082019050919050565b600060208201905081810360008301526200100f8162000fcd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620010528262000b14565b91506200105f8362000b14565b92508282019050808211156200107a576200107962001016565b5b92915050565b6200108b8162000b14565b82525050565b6000602082019050620010a8600083018462001080565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620010e660208362000e29565b9150620010f382620010ae565b602082019050919050565b600060208201905081810360008301526200111981620010d7565b9050919050565b61427780620011306000396000f3fe60806040526004361061024a5760003560e01c80638da5cb5b11610139578063c0246668116100b6578063dd62ed3e1161007a578063dd62ed3e14610865578063e01af92c146108a2578063e2f45605146108cb578063e30c3978146108f6578063f2fde38b14610921578063f887ea401461094a57610251565b8063c024666814610798578063c3e0f5cf146107c1578063c492f046146107ea578063c851cc3214610813578063cd1ee0f41461083c57610251565b8063a8aa1b31116100fd578063a8aa1b311461069f578063a9059cbb146106ca578063afa4f3b214610707578063b221f36a14610730578063b62496f51461075b57610251565b80638da5cb5b146105ba57806395d89b41146105e55780639a7a23d614610610578063a457c2d714610639578063a8602fea1461067657610251565b80634626402b116101c757806370a082311161018b57806370a08231146104f9578063715018a61461053657806379ba50971461054d57806389f9a1d3146105645780638c0b5e221461058f57610251565b80634626402b1461041057806346469afb1461043b5780634ada218b146104665780634fbee193146104915780636ddd1713146104ce57610251565b80631b3cf39e1161020e5780631b3cf39e146103175780631bff78981461034057806323b872dd1461036b578063313ce567146103a857806339509351146103d357610251565b806306fdde0314610256578063095ea7b3146102815780630bd05b69146102be57806312b77e8a146102d557806318160ddd146102ec57610251565b3661025157005b600080fd5b34801561026257600080fd5b5061026b610975565b6040516102789190612c2f565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a39190612cef565b610a07565b6040516102b59190612d4a565b60405180910390f35b3480156102ca57600080fd5b506102d3610a2a565b005b3480156102e157600080fd5b506102ea610ab3565b005b3480156102f857600080fd5b50610301610b06565b60405161030e9190612d74565b60405180910390f35b34801561032357600080fd5b5061033e60048036038101906103399190612dc8565b610b10565b005b34801561034c57600080fd5b50610355610b7d565b6040516103629190612e04565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190612e1f565b610b90565b60405161039f9190612d4a565b60405180910390f35b3480156103b457600080fd5b506103bd610bbf565b6040516103ca9190612e04565b60405180910390f35b3480156103df57600080fd5b506103fa60048036038101906103f59190612cef565b610bc8565b6040516104079190612d4a565b60405180910390f35b34801561041c57600080fd5b50610425610bff565b6040516104329190612e81565b60405180910390f35b34801561044757600080fd5b50610450610c25565b60405161045d9190612e04565b60405180910390f35b34801561047257600080fd5b5061047b610c38565b6040516104889190612d4a565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b39190612e9c565b610c4b565b6040516104c59190612d4a565b60405180910390f35b3480156104da57600080fd5b506104e3610ca1565b6040516104f09190612d4a565b60405180910390f35b34801561050557600080fd5b50610520600480360381019061051b9190612e9c565b610cb4565b60405161052d9190612d74565b60405180910390f35b34801561054257600080fd5b5061054b610cfc565b005b34801561055957600080fd5b50610562610d10565b005b34801561057057600080fd5b50610579610d9d565b6040516105869190612d74565b60405180910390f35b34801561059b57600080fd5b506105a4610dab565b6040516105b19190612d74565b60405180910390f35b3480156105c657600080fd5b506105cf610db9565b6040516105dc9190612e81565b60405180910390f35b3480156105f157600080fd5b506105fa610de3565b6040516106079190612c2f565b60405180910390f35b34801561061c57600080fd5b5061063760048036038101906106329190612ef5565b610e75565b005b34801561064557600080fd5b50610660600480360381019061065b9190612cef565b610e8b565b60405161066d9190612d4a565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190612e9c565b610f02565b005b3480156106ab57600080fd5b506106b4610f4e565b6040516106c19190612e81565b60405180910390f35b3480156106d657600080fd5b506106f160048036038101906106ec9190612cef565b610f74565b6040516106fe9190612d4a565b60405180910390f35b34801561071357600080fd5b5061072e60048036038101906107299190612f35565b610f97565b005b34801561073c57600080fd5b50610745611010565b6040516107529190612d74565b60405180910390f35b34801561076757600080fd5b50610782600480360381019061077d9190612e9c565b611016565b60405161078f9190612d4a565b60405180910390f35b3480156107a457600080fd5b506107bf60048036038101906107ba9190612ef5565b611036565b005b3480156107cd57600080fd5b506107e860048036038101906107e39190612e9c565b611179565b005b3480156107f657600080fd5b50610811600480360381019061080c9190612fc7565b61122f565b005b34801561081f57600080fd5b5061083a60048036038101906108359190612e9c565b611317565b005b34801561084857600080fd5b50610863600480360381019061085e9190612dc8565b611363565b005b34801561087157600080fd5b5061088c60048036038101906108879190613027565b6113d0565b6040516108999190612d74565b60405180910390f35b3480156108ae57600080fd5b506108c960048036038101906108c49190613067565b611457565b005b3480156108d757600080fd5b506108e061147c565b6040516108ed9190612d74565b60405180910390f35b34801561090257600080fd5b5061090b611482565b6040516109189190612e81565b60405180910390f35b34801561092d57600080fd5b5061094860048036038101906109439190612e9c565b6114ac565b005b34801561095657600080fd5b5061095f611559565b60405161096c91906130f3565b60405180910390f35b6060600380546109849061313d565b80601f01602080910402602001604051908101604052809291908181526020018280546109b09061313d565b80156109fd5780601f106109d2576101008083540402835291602001916109fd565b820191906000526020600020905b8154815290600101906020018083116109e057829003601f168201915b5050505050905090565b600080610a1261157f565b9050610a1f818585611587565b600191505092915050565b610a32611750565b600860169054906101000a900460ff1615610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a79906131ba565b60405180910390fd5b61070842610a909190613209565b600b819055506001600860166101000a81548160ff021916908315150217905550565b6000479050610b0381600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117ce90919063ffffffff16565b50565b6000600254905090565b610b18611750565b60148160ff161115610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5690613289565b60405180910390fd5b80600c60006101000a81548160ff021916908360ff16021790555050565b600c60019054906101000a900460ff1681565b600080610b9b61157f565b9050610ba88582856118c2565b610bb385858561194e565b60019150509392505050565b60006012905090565b600080610bd361157f565b9050610bf4818585610be585896113d0565b610bef9190613209565b611587565b600191505092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900460ff1681565b600860169054906101000a900460ff1681565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600860159054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d04611750565b610d0e600061210d565b565b6000610d1a61157f565b90508073ffffffffffffffffffffffffffffffffffffffff16610d3b611482565b73ffffffffffffffffffffffffffffffffffffffff1614610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d889061331b565b60405180910390fd5b610d9a8161210d565b50565b6969e10de76676d080000081565b6934f086f3b33b6840000081565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610df29061313d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1e9061313d565b8015610e6b5780601f10610e4057610100808354040283529160200191610e6b565b820191906000526020600020905b815481529060010190602001808311610e4e57829003601f168201915b5050505050905090565b610e7d611750565b610e87828261213e565b5050565b600080610e9661157f565b90506000610ea482866113d0565b905083811015610ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee0906133ad565b60405180910390fd5b610ef68286868403611587565b60019250505092915050565b610f0a611750565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610f7f61157f565b9050610f8c81858561194e565b600191505092915050565b610f9f611750565b61c3508110158015610fb457506207a1208111155b610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea9061343f565b60405180910390fd5b670de0b6b3a764000081611007919061345f565b600a8190555050565b600b5481565b600e6020528060005260406000206000915054906101000a900460ff1681565b61103e611750565b801515600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515036110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c790613513565b60405180910390fd5b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df78260405161116d9190612d4a565b60405180910390a25050565b611181611750565b61122c61118c610db9565b8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111c59190612e81565b602060405180830381865afa1580156111e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112069190613548565b8373ffffffffffffffffffffffffffffffffffffffff166122719092919063ffffffff16565b50565b611237611750565b60005b838390508110156112d65781600d600086868581811061125d5761125c613575565b5b90506020020160208101906112729190612e9c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806112ce906135a4565b91505061123a565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b3583838360405161130a939291906136af565b60405180910390a1505050565b61131f611750565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61136b611750565b60148160ff1611156113b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a990613289565b60405180910390fd5b80600c60016101000a81548160ff021916908360ff16021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61145f611750565b80600860156101000a81548160ff02191690831515021790555050565b600a5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114b4611750565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611514610db9565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90613753565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c906137e5565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117439190612d74565b60405180910390a3505050565b61175861157f565b73ffffffffffffffffffffffffffffffffffffffff16611776610db9565b73ffffffffffffffffffffffffffffffffffffffff16146117cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c390613851565b60405180910390fd5b565b80471015611811576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611808906138bd565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516118379061390e565b60006040518083038185875af1925050503d8060008114611874576040519150601f19603f3d011682016040523d82523d6000602084013e611879565b606091505b50509050806118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490613995565b60405180910390fd5b505050565b60006118ce84846113d0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611948578181101561193a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193190613a01565b60405180910390fd5b6119478484848403611587565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b490613a93565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2390613b25565b60405180910390fd5b600b5442108015611a875750600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611b8d576934f086f3b33b68400000811115611ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad090613bb7565b60405180910390fd5b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611b8c576969e10de76676d080000081611b4084610cb4565b611b4a9190613209565b1115611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8290613c23565b60405180910390fd5b5b5b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611c315750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015611c4a5750600860149054906101000a900460ff16155b15611c9f57600860169054906101000a900460ff16611c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9590613c8f565b60405180910390fd5b5b60008103611cb857611cb3838360006122f7565b612108565b6000611cc330610cb4565b90506000600a548210159050808015611ce95750600860149054906101000a900460ff16155b8015611d015750600860159054906101000a900460ff165b8015611d565750600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8015611dac5750600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015611e025750600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611e65576001600860146101000a81548160ff0219169083151502179055506000600c60019054906101000a900460ff1660ff161115611e4957611e48600a5461256d565b5b6000600860146101000a81548160ff0219169083151502179055505b6000600860149054906101000a900460ff16159050600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611f1b5750600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611f2557600090505b600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611fc95750600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611fd357600090505b80156120f9576000600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561205e576064600c60019054906101000a900460ff1660ff168661204d919061345f565b6120579190613cde565b90506120de565b600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156120dd576064600c60009054906101000a900460ff1660ff16866120d0919061345f565b6120da9190613cde565b90505b5b80856120ea9190613d0f565b94506120f78730836122f7565b505b6121048686866122f7565b5050505b505050565b600660006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905561213b816125f7565b50565b801515600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515036121d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c790613db5565b60405180910390fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b6122f28363a9059cbb60e01b8484604051602401612290929190613dd5565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126bd565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235d90613a93565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc90613b25565b60405180910390fd5b6123e0838383612785565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245d90613e70565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125549190612d74565b60405180910390a361256784848461278a565b50505050565b6125768161278f565b60004790506125c681600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117ce90919063ffffffff16565b807f860c0aa5520013080c2f65981705fcdea474d9f7c3daf954656ed5e65d692d1f60405160405180910390a25050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061271f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166129d29092919063ffffffff16565b90506000815114806127415750808060200190518101906127409190613ea5565b5b612780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277790613f44565b60405180910390fd5b505050565b505050565b505050565b6000600267ffffffffffffffff8111156127ac576127ab613f64565b5b6040519080825280602002602001820160405280156127da5781602001602082028036833780820191505090505b50905030816000815181106127f2576127f1613575565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bd9190613fa8565b816001815181106128d1576128d0613575565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061293830600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611587565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b815260040161299c959493929190614096565b600060405180830381600087803b1580156129b657600080fd5b505af11580156129ca573d6000803e3d6000fd5b505050505050565b60606129e184846000856129ea565b90509392505050565b606082471015612a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2690614162565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612a5891906141be565b60006040518083038185875af1925050503d8060008114612a95576040519150601f19603f3d011682016040523d82523d6000602084013e612a9a565b606091505b5091509150612aab87838387612ab7565b92505050949350505050565b60608315612b19576000835103612b1157612ad185612b2c565b612b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0790614221565b60405180910390fd5b5b829050612b24565b612b238383612b4f565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115612b625781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b969190612c2f565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b83811015612bd9578082015181840152602081019050612bbe565b60008484015250505050565b6000601f19601f8301169050919050565b6000612c0182612b9f565b612c0b8185612baa565b9350612c1b818560208601612bbb565b612c2481612be5565b840191505092915050565b60006020820190508181036000830152612c498184612bf6565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c8682612c5b565b9050919050565b612c9681612c7b565b8114612ca157600080fd5b50565b600081359050612cb381612c8d565b92915050565b6000819050919050565b612ccc81612cb9565b8114612cd757600080fd5b50565b600081359050612ce981612cc3565b92915050565b60008060408385031215612d0657612d05612c51565b5b6000612d1485828601612ca4565b9250506020612d2585828601612cda565b9150509250929050565b60008115159050919050565b612d4481612d2f565b82525050565b6000602082019050612d5f6000830184612d3b565b92915050565b612d6e81612cb9565b82525050565b6000602082019050612d896000830184612d65565b92915050565b600060ff82169050919050565b612da581612d8f565b8114612db057600080fd5b50565b600081359050612dc281612d9c565b92915050565b600060208284031215612dde57612ddd612c51565b5b6000612dec84828501612db3565b91505092915050565b612dfe81612d8f565b82525050565b6000602082019050612e196000830184612df5565b92915050565b600080600060608486031215612e3857612e37612c51565b5b6000612e4686828701612ca4565b9350506020612e5786828701612ca4565b9250506040612e6886828701612cda565b9150509250925092565b612e7b81612c7b565b82525050565b6000602082019050612e966000830184612e72565b92915050565b600060208284031215612eb257612eb1612c51565b5b6000612ec084828501612ca4565b91505092915050565b612ed281612d2f565b8114612edd57600080fd5b50565b600081359050612eef81612ec9565b92915050565b60008060408385031215612f0c57612f0b612c51565b5b6000612f1a85828601612ca4565b9250506020612f2b85828601612ee0565b9150509250929050565b600060208284031215612f4b57612f4a612c51565b5b6000612f5984828501612cda565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612f8757612f86612f62565b5b8235905067ffffffffffffffff811115612fa457612fa3612f67565b5b602083019150836020820283011115612fc057612fbf612f6c565b5b9250929050565b600080600060408486031215612fe057612fdf612c51565b5b600084013567ffffffffffffffff811115612ffe57612ffd612c56565b5b61300a86828701612f71565b9350935050602061301d86828701612ee0565b9150509250925092565b6000806040838503121561303e5761303d612c51565b5b600061304c85828601612ca4565b925050602061305d85828601612ca4565b9150509250929050565b60006020828403121561307d5761307c612c51565b5b600061308b84828501612ee0565b91505092915050565b6000819050919050565b60006130b96130b46130af84612c5b565b613094565b612c5b565b9050919050565b60006130cb8261309e565b9050919050565b60006130dd826130c0565b9050919050565b6130ed816130d2565b82525050565b600060208201905061310860008301846130e4565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061315557607f821691505b6020821081036131685761316761310e565b5b50919050565b7f54726164696e6720616c726561647920656e61626c6564000000000000000000600082015250565b60006131a4601783612baa565b91506131af8261316e565b602082019050919050565b600060208201905081810360008301526131d381613197565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061321482612cb9565b915061321f83612cb9565b9250828201905080821115613237576132366131da565b5b92915050565b7f466565206d757374206265203c3d203230250000000000000000000000000000600082015250565b6000613273601283612baa565b915061327e8261323d565b602082019050919050565b600060208201905081810360008301526132a281613266565b9050919050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613305602983612baa565b9150613310826132a9565b604082019050919050565b60006020820190508181036000830152613334816132f8565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613397602583612baa565b91506133a28261333b565b604082019050919050565b600060208201905081810360008301526133c68161338a565b9050919050565b7f416d6f756e742073686f756c64206265206265747765656e2035306b20616e6460008201527f203530306b20746f6b656e730000000000000000000000000000000000000000602082015250565b6000613429602c83612baa565b9150613434826133cd565b604082019050919050565b600060208201905081810360008301526134588161341c565b9050919050565b600061346a82612cb9565b915061347583612cb9565b925082820261348381612cb9565b9150828204841483151761349a576134996131da565b5b5092915050565b7f52656163683a204163636f756e7420697320616c72656164792074686520766160008201527f6c7565206f6620276578636c7564656427000000000000000000000000000000602082015250565b60006134fd603183612baa565b9150613508826134a1565b604082019050919050565b6000602082019050818103600083015261352c816134f0565b9050919050565b60008151905061354281612cc3565b92915050565b60006020828403121561355e5761355d612c51565b5b600061356c84828501613533565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006135af82612cb9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135e1576135e06131da565b5b600182019050919050565b600082825260208201905092915050565b6000819050919050565b61361081612c7b565b82525050565b60006136228383613607565b60208301905092915050565b600061363d6020840184612ca4565b905092915050565b6000602082019050919050565b600061365e83856135ec565b9350613669826135fd565b8060005b858110156136a25761367f828461362e565b6136898882613616565b975061369483613645565b92505060018101905061366d565b5085925050509392505050565b600060408201905081810360008301526136ca818587613652565b90506136d96020830184612d3b565b949350505050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061373d602483612baa565b9150613748826136e1565b604082019050919050565b6000602082019050818103600083015261376c81613730565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006137cf602283612baa565b91506137da82613773565b604082019050919050565b600060208201905081810360008301526137fe816137c2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061383b602083612baa565b915061384682613805565b602082019050919050565b6000602082019050818103600083015261386a8161382e565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006138a7601d83612baa565b91506138b282613871565b602082019050919050565b600060208201905081810360008301526138d68161389a565b9050919050565b600081905092915050565b50565b60006138f86000836138dd565b9150613903826138e8565b600082019050919050565b6000613919826138eb565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061397f603a83612baa565b915061398a82613923565b604082019050919050565b600060208201905081810360008301526139ae81613972565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006139eb601d83612baa565b91506139f6826139b5565b602082019050919050565b60006020820190508181036000830152613a1a816139de565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613a7d602583612baa565b9150613a8882613a21565b604082019050919050565b60006020820190508181036000830152613aac81613a70565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613b0f602383612baa565b9150613b1a82613ab3565b604082019050919050565b60006020820190508181036000830152613b3e81613b02565b9050919050565b7f5472616e7366657220616d6f756e74206578636565647320746865206d61785460008201527f78416d6f756e742e000000000000000000000000000000000000000000000000602082015250565b6000613ba1602883612baa565b9150613bac82613b45565b604082019050919050565b60006020820190508181036000830152613bd081613b94565b9050919050565b7f4d617820686f6c64696e6720616d6f756e740000000000000000000000000000600082015250565b6000613c0d601283612baa565b9150613c1882613bd7565b602082019050919050565b60006020820190508181036000830152613c3c81613c00565b9050919050565b7f54726164696e67206e6f74206163746976650000000000000000000000000000600082015250565b6000613c79601283612baa565b9150613c8482613c43565b602082019050919050565b60006020820190508181036000830152613ca881613c6c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613ce982612cb9565b9150613cf483612cb9565b925082613d0457613d03613caf565b5b828204905092915050565b6000613d1a82612cb9565b9150613d2583612cb9565b9250828203905081811115613d3d57613d3c6131da565b5b92915050565b7f52656163683a204175746f6d61746564206d61726b6574206d616b657220706160008201527f697220697320616c72656164792073657420746f20746861742076616c756500602082015250565b6000613d9f603f83612baa565b9150613daa82613d43565b604082019050919050565b60006020820190508181036000830152613dce81613d92565b9050919050565b6000604082019050613dea6000830185612e72565b613df76020830184612d65565b9392505050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613e5a602683612baa565b9150613e6582613dfe565b604082019050919050565b60006020820190508181036000830152613e8981613e4d565b9050919050565b600081519050613e9f81612ec9565b92915050565b600060208284031215613ebb57613eba612c51565b5b6000613ec984828501613e90565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613f2e602a83612baa565b9150613f3982613ed2565b604082019050919050565b60006020820190508181036000830152613f5d81613f21565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600081519050613fa281612c8d565b92915050565b600060208284031215613fbe57613fbd612c51565b5b6000613fcc84828501613f93565b91505092915050565b6000819050919050565b6000613ffa613ff5613ff084613fd5565b613094565b612cb9565b9050919050565b61400a81613fdf565b82525050565b600081519050919050565b6000819050602082019050919050565b6000602082019050919050565b600061404382614010565b61404d81856135ec565b93506140588361401b565b8060005b838110156140895781516140708882613616565b975061407b8361402b565b92505060018101905061405c565b5085935050505092915050565b600060a0820190506140ab6000830188612d65565b6140b86020830187614001565b81810360408301526140ca8186614038565b90506140d96060830185612e72565b6140e66080830184612d65565b9695505050505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061414c602683612baa565b9150614157826140f0565b604082019050919050565b6000602082019050818103600083015261417b8161413f565b9050919050565b600081519050919050565b600061419882614182565b6141a281856138dd565b93506141b2818560208601612bbb565b80840191505092915050565b60006141ca828461418d565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061420b601d83612baa565b9150614216826141d5565b602082019050919050565b6000602082019050818103600083015261423a816141fe565b905091905056fea2646970667358221220d3cb6fe5ccd72a89d83299c214eef57e5ca19af678bb51d162503c671a56719864736f6c63430008130033

Deployed Bytecode

0x60806040526004361061024a5760003560e01c80638da5cb5b11610139578063c0246668116100b6578063dd62ed3e1161007a578063dd62ed3e14610865578063e01af92c146108a2578063e2f45605146108cb578063e30c3978146108f6578063f2fde38b14610921578063f887ea401461094a57610251565b8063c024666814610798578063c3e0f5cf146107c1578063c492f046146107ea578063c851cc3214610813578063cd1ee0f41461083c57610251565b8063a8aa1b31116100fd578063a8aa1b311461069f578063a9059cbb146106ca578063afa4f3b214610707578063b221f36a14610730578063b62496f51461075b57610251565b80638da5cb5b146105ba57806395d89b41146105e55780639a7a23d614610610578063a457c2d714610639578063a8602fea1461067657610251565b80634626402b116101c757806370a082311161018b57806370a08231146104f9578063715018a61461053657806379ba50971461054d57806389f9a1d3146105645780638c0b5e221461058f57610251565b80634626402b1461041057806346469afb1461043b5780634ada218b146104665780634fbee193146104915780636ddd1713146104ce57610251565b80631b3cf39e1161020e5780631b3cf39e146103175780631bff78981461034057806323b872dd1461036b578063313ce567146103a857806339509351146103d357610251565b806306fdde0314610256578063095ea7b3146102815780630bd05b69146102be57806312b77e8a146102d557806318160ddd146102ec57610251565b3661025157005b600080fd5b34801561026257600080fd5b5061026b610975565b6040516102789190612c2f565b60405180910390f35b34801561028d57600080fd5b506102a860048036038101906102a39190612cef565b610a07565b6040516102b59190612d4a565b60405180910390f35b3480156102ca57600080fd5b506102d3610a2a565b005b3480156102e157600080fd5b506102ea610ab3565b005b3480156102f857600080fd5b50610301610b06565b60405161030e9190612d74565b60405180910390f35b34801561032357600080fd5b5061033e60048036038101906103399190612dc8565b610b10565b005b34801561034c57600080fd5b50610355610b7d565b6040516103629190612e04565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190612e1f565b610b90565b60405161039f9190612d4a565b60405180910390f35b3480156103b457600080fd5b506103bd610bbf565b6040516103ca9190612e04565b60405180910390f35b3480156103df57600080fd5b506103fa60048036038101906103f59190612cef565b610bc8565b6040516104079190612d4a565b60405180910390f35b34801561041c57600080fd5b50610425610bff565b6040516104329190612e81565b60405180910390f35b34801561044757600080fd5b50610450610c25565b60405161045d9190612e04565b60405180910390f35b34801561047257600080fd5b5061047b610c38565b6040516104889190612d4a565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b39190612e9c565b610c4b565b6040516104c59190612d4a565b60405180910390f35b3480156104da57600080fd5b506104e3610ca1565b6040516104f09190612d4a565b60405180910390f35b34801561050557600080fd5b50610520600480360381019061051b9190612e9c565b610cb4565b60405161052d9190612d74565b60405180910390f35b34801561054257600080fd5b5061054b610cfc565b005b34801561055957600080fd5b50610562610d10565b005b34801561057057600080fd5b50610579610d9d565b6040516105869190612d74565b60405180910390f35b34801561059b57600080fd5b506105a4610dab565b6040516105b19190612d74565b60405180910390f35b3480156105c657600080fd5b506105cf610db9565b6040516105dc9190612e81565b60405180910390f35b3480156105f157600080fd5b506105fa610de3565b6040516106079190612c2f565b60405180910390f35b34801561061c57600080fd5b5061063760048036038101906106329190612ef5565b610e75565b005b34801561064557600080fd5b50610660600480360381019061065b9190612cef565b610e8b565b60405161066d9190612d4a565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190612e9c565b610f02565b005b3480156106ab57600080fd5b506106b4610f4e565b6040516106c19190612e81565b60405180910390f35b3480156106d657600080fd5b506106f160048036038101906106ec9190612cef565b610f74565b6040516106fe9190612d4a565b60405180910390f35b34801561071357600080fd5b5061072e60048036038101906107299190612f35565b610f97565b005b34801561073c57600080fd5b50610745611010565b6040516107529190612d74565b60405180910390f35b34801561076757600080fd5b50610782600480360381019061077d9190612e9c565b611016565b60405161078f9190612d4a565b60405180910390f35b3480156107a457600080fd5b506107bf60048036038101906107ba9190612ef5565b611036565b005b3480156107cd57600080fd5b506107e860048036038101906107e39190612e9c565b611179565b005b3480156107f657600080fd5b50610811600480360381019061080c9190612fc7565b61122f565b005b34801561081f57600080fd5b5061083a60048036038101906108359190612e9c565b611317565b005b34801561084857600080fd5b50610863600480360381019061085e9190612dc8565b611363565b005b34801561087157600080fd5b5061088c60048036038101906108879190613027565b6113d0565b6040516108999190612d74565b60405180910390f35b3480156108ae57600080fd5b506108c960048036038101906108c49190613067565b611457565b005b3480156108d757600080fd5b506108e061147c565b6040516108ed9190612d74565b60405180910390f35b34801561090257600080fd5b5061090b611482565b6040516109189190612e81565b60405180910390f35b34801561092d57600080fd5b5061094860048036038101906109439190612e9c565b6114ac565b005b34801561095657600080fd5b5061095f611559565b60405161096c91906130f3565b60405180910390f35b6060600380546109849061313d565b80601f01602080910402602001604051908101604052809291908181526020018280546109b09061313d565b80156109fd5780601f106109d2576101008083540402835291602001916109fd565b820191906000526020600020905b8154815290600101906020018083116109e057829003601f168201915b5050505050905090565b600080610a1261157f565b9050610a1f818585611587565b600191505092915050565b610a32611750565b600860169054906101000a900460ff1615610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a79906131ba565b60405180910390fd5b61070842610a909190613209565b600b819055506001600860166101000a81548160ff021916908315150217905550565b6000479050610b0381600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117ce90919063ffffffff16565b50565b6000600254905090565b610b18611750565b60148160ff161115610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5690613289565b60405180910390fd5b80600c60006101000a81548160ff021916908360ff16021790555050565b600c60019054906101000a900460ff1681565b600080610b9b61157f565b9050610ba88582856118c2565b610bb385858561194e565b60019150509392505050565b60006012905090565b600080610bd361157f565b9050610bf4818585610be585896113d0565b610bef9190613209565b611587565b600191505092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900460ff1681565b600860169054906101000a900460ff1681565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600860159054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d04611750565b610d0e600061210d565b565b6000610d1a61157f565b90508073ffffffffffffffffffffffffffffffffffffffff16610d3b611482565b73ffffffffffffffffffffffffffffffffffffffff1614610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d889061331b565b60405180910390fd5b610d9a8161210d565b50565b6969e10de76676d080000081565b6934f086f3b33b6840000081565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610df29061313d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1e9061313d565b8015610e6b5780601f10610e4057610100808354040283529160200191610e6b565b820191906000526020600020905b815481529060010190602001808311610e4e57829003601f168201915b5050505050905090565b610e7d611750565b610e87828261213e565b5050565b600080610e9661157f565b90506000610ea482866113d0565b905083811015610ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee0906133ad565b60405180910390fd5b610ef68286868403611587565b60019250505092915050565b610f0a611750565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610f7f61157f565b9050610f8c81858561194e565b600191505092915050565b610f9f611750565b61c3508110158015610fb457506207a1208111155b610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea9061343f565b60405180910390fd5b670de0b6b3a764000081611007919061345f565b600a8190555050565b600b5481565b600e6020528060005260406000206000915054906101000a900460ff1681565b61103e611750565b801515600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515036110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c790613513565b60405180910390fd5b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df78260405161116d9190612d4a565b60405180910390a25050565b611181611750565b61122c61118c610db9565b8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111c59190612e81565b602060405180830381865afa1580156111e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112069190613548565b8373ffffffffffffffffffffffffffffffffffffffff166122719092919063ffffffff16565b50565b611237611750565b60005b838390508110156112d65781600d600086868581811061125d5761125c613575565b5b90506020020160208101906112729190612e9c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806112ce906135a4565b91505061123a565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b3583838360405161130a939291906136af565b60405180910390a1505050565b61131f611750565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61136b611750565b60148160ff1611156113b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a990613289565b60405180910390fd5b80600c60016101000a81548160ff021916908360ff16021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61145f611750565b80600860156101000a81548160ff02191690831515021790555050565b600a5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114b4611750565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611514610db9565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90613753565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c906137e5565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117439190612d74565b60405180910390a3505050565b61175861157f565b73ffffffffffffffffffffffffffffffffffffffff16611776610db9565b73ffffffffffffffffffffffffffffffffffffffff16146117cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c390613851565b60405180910390fd5b565b80471015611811576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611808906138bd565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516118379061390e565b60006040518083038185875af1925050503d8060008114611874576040519150601f19603f3d011682016040523d82523d6000602084013e611879565b606091505b50509050806118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490613995565b60405180910390fd5b505050565b60006118ce84846113d0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611948578181101561193a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193190613a01565b60405180910390fd5b6119478484848403611587565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b490613a93565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2390613b25565b60405180910390fd5b600b5442108015611a875750600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611b8d576934f086f3b33b68400000811115611ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad090613bb7565b60405180910390fd5b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611b8c576969e10de76676d080000081611b4084610cb4565b611b4a9190613209565b1115611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8290613c23565b60405180910390fd5b5b5b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611c315750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015611c4a5750600860149054906101000a900460ff16155b15611c9f57600860169054906101000a900460ff16611c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9590613c8f565b60405180910390fd5b5b60008103611cb857611cb3838360006122f7565b612108565b6000611cc330610cb4565b90506000600a548210159050808015611ce95750600860149054906101000a900460ff16155b8015611d015750600860159054906101000a900460ff165b8015611d565750600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8015611dac5750600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015611e025750600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611e65576001600860146101000a81548160ff0219169083151502179055506000600c60019054906101000a900460ff1660ff161115611e4957611e48600a5461256d565b5b6000600860146101000a81548160ff0219169083151502179055505b6000600860149054906101000a900460ff16159050600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611f1b5750600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611f2557600090505b600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611fc95750600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611fd357600090505b80156120f9576000600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561205e576064600c60019054906101000a900460ff1660ff168661204d919061345f565b6120579190613cde565b90506120de565b600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156120dd576064600c60009054906101000a900460ff1660ff16866120d0919061345f565b6120da9190613cde565b90505b5b80856120ea9190613d0f565b94506120f78730836122f7565b505b6121048686866122f7565b5050505b505050565b600660006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905561213b816125f7565b50565b801515600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515036121d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c790613db5565b60405180910390fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b6122f28363a9059cbb60e01b8484604051602401612290929190613dd5565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126bd565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235d90613a93565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc90613b25565b60405180910390fd5b6123e0838383612785565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245d90613e70565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125549190612d74565b60405180910390a361256784848461278a565b50505050565b6125768161278f565b60004790506125c681600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117ce90919063ffffffff16565b807f860c0aa5520013080c2f65981705fcdea474d9f7c3daf954656ed5e65d692d1f60405160405180910390a25050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061271f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166129d29092919063ffffffff16565b90506000815114806127415750808060200190518101906127409190613ea5565b5b612780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277790613f44565b60405180910390fd5b505050565b505050565b505050565b6000600267ffffffffffffffff8111156127ac576127ab613f64565b5b6040519080825280602002602001820160405280156127da5781602001602082028036833780820191505090505b50905030816000815181106127f2576127f1613575565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bd9190613fa8565b816001815181106128d1576128d0613575565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061293830600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611587565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b815260040161299c959493929190614096565b600060405180830381600087803b1580156129b657600080fd5b505af11580156129ca573d6000803e3d6000fd5b505050505050565b60606129e184846000856129ea565b90509392505050565b606082471015612a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2690614162565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612a5891906141be565b60006040518083038185875af1925050503d8060008114612a95576040519150601f19603f3d011682016040523d82523d6000602084013e612a9a565b606091505b5091509150612aab87838387612ab7565b92505050949350505050565b60608315612b19576000835103612b1157612ad185612b2c565b612b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0790614221565b60405180910390fd5b5b829050612b24565b612b238383612b4f565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115612b625781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b969190612c2f565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b83811015612bd9578082015181840152602081019050612bbe565b60008484015250505050565b6000601f19601f8301169050919050565b6000612c0182612b9f565b612c0b8185612baa565b9350612c1b818560208601612bbb565b612c2481612be5565b840191505092915050565b60006020820190508181036000830152612c498184612bf6565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c8682612c5b565b9050919050565b612c9681612c7b565b8114612ca157600080fd5b50565b600081359050612cb381612c8d565b92915050565b6000819050919050565b612ccc81612cb9565b8114612cd757600080fd5b50565b600081359050612ce981612cc3565b92915050565b60008060408385031215612d0657612d05612c51565b5b6000612d1485828601612ca4565b9250506020612d2585828601612cda565b9150509250929050565b60008115159050919050565b612d4481612d2f565b82525050565b6000602082019050612d5f6000830184612d3b565b92915050565b612d6e81612cb9565b82525050565b6000602082019050612d896000830184612d65565b92915050565b600060ff82169050919050565b612da581612d8f565b8114612db057600080fd5b50565b600081359050612dc281612d9c565b92915050565b600060208284031215612dde57612ddd612c51565b5b6000612dec84828501612db3565b91505092915050565b612dfe81612d8f565b82525050565b6000602082019050612e196000830184612df5565b92915050565b600080600060608486031215612e3857612e37612c51565b5b6000612e4686828701612ca4565b9350506020612e5786828701612ca4565b9250506040612e6886828701612cda565b9150509250925092565b612e7b81612c7b565b82525050565b6000602082019050612e966000830184612e72565b92915050565b600060208284031215612eb257612eb1612c51565b5b6000612ec084828501612ca4565b91505092915050565b612ed281612d2f565b8114612edd57600080fd5b50565b600081359050612eef81612ec9565b92915050565b60008060408385031215612f0c57612f0b612c51565b5b6000612f1a85828601612ca4565b9250506020612f2b85828601612ee0565b9150509250929050565b600060208284031215612f4b57612f4a612c51565b5b6000612f5984828501612cda565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612f8757612f86612f62565b5b8235905067ffffffffffffffff811115612fa457612fa3612f67565b5b602083019150836020820283011115612fc057612fbf612f6c565b5b9250929050565b600080600060408486031215612fe057612fdf612c51565b5b600084013567ffffffffffffffff811115612ffe57612ffd612c56565b5b61300a86828701612f71565b9350935050602061301d86828701612ee0565b9150509250925092565b6000806040838503121561303e5761303d612c51565b5b600061304c85828601612ca4565b925050602061305d85828601612ca4565b9150509250929050565b60006020828403121561307d5761307c612c51565b5b600061308b84828501612ee0565b91505092915050565b6000819050919050565b60006130b96130b46130af84612c5b565b613094565b612c5b565b9050919050565b60006130cb8261309e565b9050919050565b60006130dd826130c0565b9050919050565b6130ed816130d2565b82525050565b600060208201905061310860008301846130e4565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061315557607f821691505b6020821081036131685761316761310e565b5b50919050565b7f54726164696e6720616c726561647920656e61626c6564000000000000000000600082015250565b60006131a4601783612baa565b91506131af8261316e565b602082019050919050565b600060208201905081810360008301526131d381613197565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061321482612cb9565b915061321f83612cb9565b9250828201905080821115613237576132366131da565b5b92915050565b7f466565206d757374206265203c3d203230250000000000000000000000000000600082015250565b6000613273601283612baa565b915061327e8261323d565b602082019050919050565b600060208201905081810360008301526132a281613266565b9050919050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613305602983612baa565b9150613310826132a9565b604082019050919050565b60006020820190508181036000830152613334816132f8565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613397602583612baa565b91506133a28261333b565b604082019050919050565b600060208201905081810360008301526133c68161338a565b9050919050565b7f416d6f756e742073686f756c64206265206265747765656e2035306b20616e6460008201527f203530306b20746f6b656e730000000000000000000000000000000000000000602082015250565b6000613429602c83612baa565b9150613434826133cd565b604082019050919050565b600060208201905081810360008301526134588161341c565b9050919050565b600061346a82612cb9565b915061347583612cb9565b925082820261348381612cb9565b9150828204841483151761349a576134996131da565b5b5092915050565b7f52656163683a204163636f756e7420697320616c72656164792074686520766160008201527f6c7565206f6620276578636c7564656427000000000000000000000000000000602082015250565b60006134fd603183612baa565b9150613508826134a1565b604082019050919050565b6000602082019050818103600083015261352c816134f0565b9050919050565b60008151905061354281612cc3565b92915050565b60006020828403121561355e5761355d612c51565b5b600061356c84828501613533565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006135af82612cb9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135e1576135e06131da565b5b600182019050919050565b600082825260208201905092915050565b6000819050919050565b61361081612c7b565b82525050565b60006136228383613607565b60208301905092915050565b600061363d6020840184612ca4565b905092915050565b6000602082019050919050565b600061365e83856135ec565b9350613669826135fd565b8060005b858110156136a25761367f828461362e565b6136898882613616565b975061369483613645565b92505060018101905061366d565b5085925050509392505050565b600060408201905081810360008301526136ca818587613652565b90506136d96020830184612d3b565b949350505050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061373d602483612baa565b9150613748826136e1565b604082019050919050565b6000602082019050818103600083015261376c81613730565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006137cf602283612baa565b91506137da82613773565b604082019050919050565b600060208201905081810360008301526137fe816137c2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061383b602083612baa565b915061384682613805565b602082019050919050565b6000602082019050818103600083015261386a8161382e565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006138a7601d83612baa565b91506138b282613871565b602082019050919050565b600060208201905081810360008301526138d68161389a565b9050919050565b600081905092915050565b50565b60006138f86000836138dd565b9150613903826138e8565b600082019050919050565b6000613919826138eb565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061397f603a83612baa565b915061398a82613923565b604082019050919050565b600060208201905081810360008301526139ae81613972565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006139eb601d83612baa565b91506139f6826139b5565b602082019050919050565b60006020820190508181036000830152613a1a816139de565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613a7d602583612baa565b9150613a8882613a21565b604082019050919050565b60006020820190508181036000830152613aac81613a70565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613b0f602383612baa565b9150613b1a82613ab3565b604082019050919050565b60006020820190508181036000830152613b3e81613b02565b9050919050565b7f5472616e7366657220616d6f756e74206578636565647320746865206d61785460008201527f78416d6f756e742e000000000000000000000000000000000000000000000000602082015250565b6000613ba1602883612baa565b9150613bac82613b45565b604082019050919050565b60006020820190508181036000830152613bd081613b94565b9050919050565b7f4d617820686f6c64696e6720616d6f756e740000000000000000000000000000600082015250565b6000613c0d601283612baa565b9150613c1882613bd7565b602082019050919050565b60006020820190508181036000830152613c3c81613c00565b9050919050565b7f54726164696e67206e6f74206163746976650000000000000000000000000000600082015250565b6000613c79601283612baa565b9150613c8482613c43565b602082019050919050565b60006020820190508181036000830152613ca881613c6c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613ce982612cb9565b9150613cf483612cb9565b925082613d0457613d03613caf565b5b828204905092915050565b6000613d1a82612cb9565b9150613d2583612cb9565b9250828203905081811115613d3d57613d3c6131da565b5b92915050565b7f52656163683a204175746f6d61746564206d61726b6574206d616b657220706160008201527f697220697320616c72656164792073657420746f20746861742076616c756500602082015250565b6000613d9f603f83612baa565b9150613daa82613d43565b604082019050919050565b60006020820190508181036000830152613dce81613d92565b9050919050565b6000604082019050613dea6000830185612e72565b613df76020830184612d65565b9392505050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613e5a602683612baa565b9150613e6582613dfe565b604082019050919050565b60006020820190508181036000830152613e8981613e4d565b9050919050565b600081519050613e9f81612ec9565b92915050565b600060208284031215613ebb57613eba612c51565b5b6000613ec984828501613e90565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613f2e602a83612baa565b9150613f3982613ed2565b604082019050919050565b60006020820190508181036000830152613f5d81613f21565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600081519050613fa281612c8d565b92915050565b600060208284031215613fbe57613fbd612c51565b5b6000613fcc84828501613f93565b91505092915050565b6000819050919050565b6000613ffa613ff5613ff084613fd5565b613094565b612cb9565b9050919050565b61400a81613fdf565b82525050565b600081519050919050565b6000819050602082019050919050565b6000602082019050919050565b600061404382614010565b61404d81856135ec565b93506140588361401b565b8060005b838110156140895781516140708882613616565b975061407b8361402b565b92505060018101905061405c565b5085935050505092915050565b600060a0820190506140ab6000830188612d65565b6140b86020830187614001565b81810360408301526140ca8186614038565b90506140d96060830185612e72565b6140e66080830184612d65565b9695505050505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061414c602683612baa565b9150614157826140f0565b604082019050919050565b6000602082019050818103600083015261417b8161413f565b9050919050565b600081519050919050565b600061419882614182565b6141a281856138dd565b93506141b2818560208601612bbb565b80840191505092915050565b60006141ca828461418d565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061420b601d83612baa565b9150614216826141d5565b602082019050919050565b6000602082019050818103600083015261423a816141fe565b905091905056fea2646970667358221220d3cb6fe5ccd72a89d83299c214eef57e5ca19af678bb51d162503c671a56719864736f6c63430008130033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Simplified automated protocol for quality contribution rewarding.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.