ETH Price: $3,425.63 (+2.35%)

Contract

0xb32fAef0f36f94620C6EBd86C78001aB41b47A8C
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve212290112024-11-20 12:40:353 days ago1732106435IN
0xb32fAef0...B41b47A8C
0 ETH0.0006230113.20981742
Approve212118852024-11-18 3:22:595 days ago1731900179IN
0xb32fAef0...B41b47A8C
0 ETH0.0005528611.72241693
Approve211485652024-11-09 7:20:4714 days ago1731136847IN
0xb32fAef0...B41b47A8C
0 ETH0.0006022112.75263865
Approve211472552024-11-09 2:57:5914 days ago1731121079IN
0xb32fAef0...B41b47A8C
0 ETH0.0005894712.48283338
Approve211459012024-11-08 22:26:3515 days ago1731104795IN
0xb32fAef0...B41b47A8C
0 ETH0.001963641.6343931
Approve211458932024-11-08 22:24:5915 days ago1731104699IN
0xb32fAef0...B41b47A8C
0 ETH0.0006366813.56516154
Approve211458922024-11-08 22:24:4715 days ago1731104687IN
0xb32fAef0...B41b47A8C
0 ETH0.0019407841.15060329
Approve211458812024-11-08 22:22:3515 days ago1731104555IN
0xb32fAef0...B41b47A8C
0 ETH0.0018630139.5015396
Approve211458422024-11-08 22:14:4715 days ago1731104087IN
0xb32fAef0...B41b47A8C
0 ETH0.0007326815.51927623
Approve211458182024-11-08 22:09:5915 days ago1731103799IN
0xb32fAef0...B41b47A8C
0 ETH0.0004908510.40755173
Approve211458092024-11-08 22:08:1115 days ago1731103691IN
0xb32fAef0...B41b47A8C
0 ETH0.0018887740.04779204
Approve211457992024-11-08 22:06:1115 days ago1731103571IN
0xb32fAef0...B41b47A8C
0 ETH0.0019460841.26291126
Approve211457952024-11-08 22:05:2315 days ago1731103523IN
0xb32fAef0...B41b47A8C
0 ETH0.0019459441.26005928
Approve211457872024-11-08 22:03:4715 days ago1731103427IN
0xb32fAef0...B41b47A8C
0 ETH0.0019768741.91575701
Approve211457792024-11-08 22:02:1115 days ago1731103331IN
0xb32fAef0...B41b47A8C
0 ETH0.0019565641.48511948
Approve211457732024-11-08 22:00:5915 days ago1731103259IN
0xb32fAef0...B41b47A8C
0 ETH0.0019750941.87807328
Approve211457712024-11-08 22:00:3515 days ago1731103235IN
0xb32fAef0...B41b47A8C
0 ETH0.000852918.15354382
Approve211457682024-11-08 21:59:5915 days ago1731103199IN
0xb32fAef0...B41b47A8C
0 ETH0.0018941340.16151477
Approve211457592024-11-08 21:58:1115 days ago1731103091IN
0xb32fAef0...B41b47A8C
0 ETH0.0019218640.7493492
Approve211457532024-11-08 21:56:5915 days ago1731103019IN
0xb32fAef0...B41b47A8C
0 ETH0.0018978540.24036215
Approve211457462024-11-08 21:55:3515 days ago1731102935IN
0xb32fAef0...B41b47A8C
0 ETH0.0019078640.45262769
Approve211457402024-11-08 21:54:2315 days ago1731102863IN
0xb32fAef0...B41b47A8C
0 ETH0.0019119540.53931653
Approve211457322024-11-08 21:52:4715 days ago1731102767IN
0xb32fAef0...B41b47A8C
0 ETH0.0019229340.77219628
Approve211457252024-11-08 21:51:2315 days ago1731102683IN
0xb32fAef0...B41b47A8C
0 ETH0.0005951212.61855009
Approve211457182024-11-08 21:49:5915 days ago1731102599IN
0xb32fAef0...B41b47A8C
0 ETH0.0019312440.94825892
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
211445742024-11-08 17:59:5915 days ago1731088799
0xb32fAef0...B41b47A8C
2 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Stacks

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 15 : Stacks.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.20;

import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import {SafeERC20} from '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import {ERC20} from '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol';

import {VerifySignature} from "./libraries/VerifySignature.sol";
import {IUniswapV2Pair} from './interfaces/IUniswapV2Pair.sol';
import {IUniswapV2Factory} from './interfaces/IUniswapV2Factory.sol';
import {IUniswapV2Router02} from './interfaces/IUniswapV2Router02.sol';
import {IWETH} from './interfaces/IWETH.sol';

contract Stacks is ERC20, Ownable {
    using SafeERC20 for IERC20;

    uint private constant SWAP_TAX_0 = 1500;
    uint private constant SWAP_TAX_1 = 1000;
    uint private constant SWAP_TAX_2 = 500;
    uint private constant SWAP_TAX_3 = 300;
    uint private constant MAX_WALLET = 2_000e18;
    uint private constant MAX_TX = 2_000e18;

    uint public openTradingCallTimestamp;
    uint public swapThreshold = 5e18;
    uint public maxSwapAmount = 1_000e18;

    bool public swapEnabled;
    bool public depositPaused;
    bool public withdrawPaused;
    bool private inSwap;

    address public signer;
    address public devAddress;
    address public treasury;
    address public pair;
    IUniswapV2Router02 public router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address private constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    mapping(address => bool) public isExcludedFromFee;
    mapping(address => mapping(uint => bool)) public withdrawalsDone;
    mapping(address => uint) public nextWithdrawalId;
    mapping(address => uint[]) public userDeposits;

    constructor(
        address _signerAddress, address _treasuryAddress
    ) ERC20("Stacks", "STACKS") {
        _mint(address(this), 90_000e18);
        _mint(_treasuryAddress, 10_000e18);

        _approve(address(this), address(router), type(uint256).max);

        devAddress = msg.sender;
        signer = _signerAddress;
        treasury = _treasuryAddress;

        isExcludedFromFee[devAddress] = true;
        isExcludedFromFee[treasury] = true;
    }

    modifier swapping() {
        inSwap = true;
        _;
        inSwap = false;
    }

    function openTrading() external payable onlyOwner {
        pair = IUniswapV2Factory(router.factory()).createPair(address(this), WETH);
        openTradingCallTimestamp = block.timestamp;

        _transfer(address(this), pair, balanceOf(address(this)));
        IWETH(WETH).deposit{value: msg.value}();
        assert(IWETH(WETH).transfer(pair, msg.value));
        IUniswapV2Pair(pair).mint(msg.sender);

        swapEnabled = true;
    }

    function updateTreasury(address _treasury) external onlyOwner {
        treasury = _treasury;
    }

    function setExcludedFromFee(address _account, bool _state) external onlyOwner {
        isExcludedFromFee[_account] = _state;
    }

    function setDevAddress(address _devAddress) external onlyOwner {
        devAddress = _devAddress;
    }

    function setStatus(bool _depositPaused, bool _withdrawPaused) external onlyOwner {
        depositPaused = _depositPaused;
        withdrawPaused = _withdrawPaused;
    }

    function updateSigner(address _signer) external {
        require(msg.sender == signer);
        signer = _signer;
    }

    function setSwapTaxSettings(
        bool _swapEnabled,
        uint _swapThreshold,
        uint _maxSwapAmount
    ) external onlyOwner {
        swapEnabled = _swapEnabled;
        swapThreshold = _swapThreshold;
        maxSwapAmount = _maxSwapAmount;
    }

    function recoverERC20(IERC20 token) external onlyOwner {
        token.safeTransfer(msg.sender, token.balanceOf(address(this)));
    }

    function recoverETH() external onlyOwner {
        uint256 balance = address(this).balance;

        if (balance > 0) {
            (bool success, ) = payable(msg.sender).call{value: balance}('');
            require(success);
        }
    }

    function deposit(uint _amount) external {
        require(!depositPaused, "Deposit paused");
        address user = msg.sender;

        _burn(user, _amount);
        userDeposits[user].push(_amount);
    }

    function withdraw(address _user, uint _amount, uint _withdrawalId, bytes calldata _signature) external {
        require(!withdrawPaused, "Withdraw paused");
        require(withdrawalsDone[_user][_withdrawalId] == false, "Already withdrawn");
        require(VerifySignature.verify(abi.encodePacked(_user, _amount, _withdrawalId), _signature, signer), "Invalid signature");

        withdrawalsDone[_user][_withdrawalId] = true;
        nextWithdrawalId[_user]++;

        _transfer(treasury, _user, _amount);
    }

    function getAllDeposits(address _user, uint _nextIdToProcess) external view returns (uint deposits, uint newNextId) {
        for (uint i=_nextIdToProcess; i < userDeposits[_user].length; i++) {
            deposits += userDeposits[_user][i];
        }
        newNextId = userDeposits[_user].length;
    }

    function _transfer(
        address _from,
        address _to,
        uint256 _amount
    ) internal override {
        if (inSwap || isExcludedFromFee[_from] || isExcludedFromFee[_to]) return super._transfer(_from, _to, _amount);

        uint256 tax = _tax(_from, _to, _amount);
        _amount -= tax;

        if (block.timestamp - openTradingCallTimestamp <= 60 && _from == pair && _to != address(router) && !isExcludedFromFee[_to] ) {
            require(_amount <= MAX_WALLET, "Max tx amount");
            require(balanceOf(_to) + _amount <= MAX_TX, "Max wallet size");
        }     
        if (swapEnabled && !inSwap && _to == pair) _swapTax(_amount / 4);
        
        if (tax > 0) super._transfer(_from, address(this), tax);
        super._transfer(_from, _to, _amount);
    }

    function _tax(
        address _from,
        address _to,
        uint256 _amount
    ) internal view returns (uint256) {
        if (_from != pair && _to != pair) return 0;

        uint tax = 0;
        if (block.timestamp - openTradingCallTimestamp > 180) tax = SWAP_TAX_3;
        else if (block.timestamp - openTradingCallTimestamp > 120) tax = SWAP_TAX_2;
        else if (block.timestamp - openTradingCallTimestamp > 60) tax = SWAP_TAX_1;
        else tax = SWAP_TAX_0;

        return (tax * _amount) / 10000;
    }

    function _swapTax(uint _maxAmount) internal swapping {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

        uint256 balance = min(_maxAmount, balanceOf(address(this)));
        if (balance > 0) {
            router.swapExactTokensForETHSupportingFeeOnTransferTokens(
                balance,
                0,
                path,
                devAddress,
                block.timestamp
            );
        }
    }

    function manualSwapTax(uint amount) external onlyOwner {
        _swapTax(amount);
    }
    
    function min(uint a, uint b) private pure returns (uint) {
        return a > b ? b : a;
    }

    receive() external payable {}
}

File 2 of 15 : 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 15 : 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 4 of 15 : 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 5 of 15 : 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 6 of 15 : 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 7 of 15 : 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 8 of 15 : 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 9 of 15 : 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 10 of 15 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.20;

interface IUniswapV2Factory {
    function getPair(
        address tokenA,
        address tokenB
    ) external view returns (address pair);
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

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

pragma solidity 0.8.20;

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

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

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

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint);

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

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

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

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

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

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

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

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

    function price0CumulativeLast() external view returns (uint);

    function price1CumulativeLast() external view returns (uint);

    function kLast() external view returns (uint);

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

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

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

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

File 12 of 15 : IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.20;

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

    function WETH() external pure returns (address);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 15 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.20;

import './IUniswapV2Router01.sol';

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

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

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

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

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

File 14 of 15 : IWETH.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
}

File 15 of 15 : VerifySignature.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.20;

library VerifySignature {
    
    function verify(
        bytes memory _input,
        bytes memory _signature,
        address signer
    ) internal pure returns (bool) {
        bytes32 messageHash = keccak256(_input);
        bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash);

        return recoverSigner(ethSignedMessageHash, _signature) == signer;
    }

    function getEthSignedMessageHash(bytes32 _messageHash)
        private
        pure
        returns (bytes32)
    {
        /*
        Signature is produced by signing a keccak256 hash with the following format:
        "\x19Ethereum Signed Message\n" + len(msg) + msg
        */
        return
            keccak256(
                abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash)
            );
    }

    function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature)
        private
        pure
        returns (address)
    {
        (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature);

        return ecrecover(_ethSignedMessageHash, v, r, s);
    }

    function splitSignature(bytes memory sig)
        private
        pure
        returns (
            bytes32 r,
            bytes32 s,
            uint8 v
        )
    {
        require(sig.length == 65, "invalid signature length");

        assembly {
            /*
            First 32 bytes stores the length of the signature

            add(sig, 32) = pointer of sig + 32
            effectively, skips first 32 bytes of signature

            mload(p) loads next 32 bytes starting at the memory address p into memory
            */

            // first 32 bytes, after the length prefix
            r := mload(add(sig, 32))
            // second 32 bytes
            s := mload(add(sig, 64))
            // final byte (first byte of the next 32 bytes)
            v := byte(0, mload(add(sig, 96)))
        }

        // implicitly return (r, s, v)
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"},{"internalType":"address","name":"_treasuryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_nextIdToProcess","type":"uint256"}],"name":"getAllDeposits","outputs":[{"internalType":"uint256","name":"deposits","type":"uint256"},{"internalType":"uint256","name":"newNextId","type":"uint256"}],"stateMutability":"view","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":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualSwapTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSwapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nextWithdrawalId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"openTradingCallTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recoverETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"setExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_depositPaused","type":"bool"},{"internalType":"bool","name":"_withdrawPaused","type":"bool"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapEnabled","type":"bool"},{"internalType":"uint256","name":"_swapThreshold","type":"uint256"},{"internalType":"uint256","name":"_maxSwapAmount","type":"uint256"}],"name":"setSwapTaxSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"updateSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"updateTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_withdrawalId","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawalsDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052674563918244f40000600755683635c9adc5dea00000600855737a250d5630b4cf539739df2c5dacb4c659f2488d600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200007f57600080fd5b506040516200550b3803806200550b8339818101604052810190620000a5919062000823565b6040518060400160405280600681526020017f537461636b7300000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f535441434b530000000000000000000000000000000000000000000000000000815250816003908162000122919062000ae4565b50806004908162000134919062000ae4565b505050620001576200014b620003a360201b60201c565b620003ab60201b60201c565b620001733069130ee8e71790444000006200047160201b60201c565b6200018f8169021e19e0c9bab24000006200047160201b60201c565b620001e430600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff620005de60201b60201c565b33600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600960046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600e6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600e6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505062000e16565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004da9062000c2c565b60405180910390fd5b620004f760008383620007af60201b60201c565b80600260008282546200050b919062000c7d565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620005be919062000cc9565b60405180910390a3620005da60008383620007b460201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000650576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006479062000d5c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620006c2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006b99062000df4565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051620007a2919062000cc9565b60405180910390a3505050565b505050565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007eb82620007be565b9050919050565b620007fd81620007de565b81146200080957600080fd5b50565b6000815190506200081d81620007f2565b92915050565b600080604083850312156200083d576200083c620007b9565b5b60006200084d858286016200080c565b925050602062000860858286016200080c565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008ec57607f821691505b602082108103620009025762000901620008a4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200096c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200092d565b6200097886836200092d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620009c5620009bf620009b98462000990565b6200099a565b62000990565b9050919050565b6000819050919050565b620009e183620009a4565b620009f9620009f082620009cc565b8484546200093a565b825550505050565b600090565b62000a1062000a01565b62000a1d818484620009d6565b505050565b5b8181101562000a455762000a3960008262000a06565b60018101905062000a23565b5050565b601f82111562000a945762000a5e8162000908565b62000a69846200091d565b8101602085101562000a79578190505b62000a9162000a88856200091d565b83018262000a22565b50505b505050565b600082821c905092915050565b600062000ab96000198460080262000a99565b1980831691505092915050565b600062000ad4838362000aa6565b9150826002028217905092915050565b62000aef826200086a565b67ffffffffffffffff81111562000b0b5762000b0a62000875565b5b62000b178254620008d3565b62000b2482828562000a49565b600060209050601f83116001811462000b5c576000841562000b47578287015190505b62000b53858262000ac6565b86555062000bc3565b601f19841662000b6c8662000908565b60005b8281101562000b965784890151825560018201915060208501945060208101905062000b6f565b8683101562000bb6578489015162000bb2601f89168262000aa6565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000c14601f8362000bcb565b915062000c218262000bdc565b602082019050919050565b6000602082019050818103600083015262000c478162000c05565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000c8a8262000990565b915062000c978362000990565b925082820190508082111562000cb25762000cb162000c4e565b5b92915050565b62000cc38162000990565b82525050565b600060208201905062000ce0600083018462000cb8565b92915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600062000d4460248362000bcb565b915062000d518262000ce6565b604082019050919050565b6000602082019050818103600083015262000d778162000d35565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600062000ddc60228362000bcb565b915062000de98262000d7e565b604082019050919050565b6000602082019050818103600083015262000e0f8162000dcd565b9050919050565b6146e58062000e266000396000f3fe6080604052600436106102555760003560e01c806370a0823111610139578063a9059cbb116100b6578063d0d41fe11161007a578063d0d41fe1146108b5578063dd62ed3e146108de578063e3dba4801461091b578063f2fde38b14610958578063f887ea4014610981578063fba6997f146109ac5761025c565b8063a9059cbb146107f1578063b3c2eac11461082e578063b6b55f2514610857578063c9567bf914610880578063cce987d41461088a5761025c565b806395d89b41116100fd57806395d89b411461070c5780639e8c708e14610737578063a457c2d714610760578063a7ecd37e1461079d578063a8aa1b31146107c65761025c565b806370a082311461063b578063715018a6146106785780637c530baf1461068f5780637f51bb1f146106b85780638da5cb5b146106e15761025c565b806323b872dd116101d2578063490d80aa11610196578063490d80aa146105165780634df9f20a146105415780635342acb41461057f57806361d027b3146105bc5780636612e66f146105e75780636ddd1713146106105761025c565b806323b872dd1461041b5780632f3ffb9f14610458578063313ce5671461048357806339509351146104ae5780633ad10ef6146104eb5761025c565b8063095ea7b311610219578063095ea7b3146103365780630bd0ca9a146103735780631241f4461461039c57806318160ddd146103c5578063238ac933146103f05761025c565b806302befd24146102615780630445b6671461028c5780630614117a146102b757806306fdde03146102ce57806308f43333146102f95761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b506102766109e9565b6040516102839190612f00565b60405180910390f35b34801561029857600080fd5b506102a16109fc565b6040516102ae9190612f34565b60405180910390f35b3480156102c357600080fd5b506102cc610a02565b005b3480156102da57600080fd5b506102e3610a93565b6040516102f09190612fdf565b60405180910390f35b34801561030557600080fd5b50610320600480360381019061031b9190613095565b610b25565b60405161032d9190612f34565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190613095565b610b56565b60405161036a9190612f00565b60405180910390f35b34801561037f57600080fd5b5061039a6004803603810190610395919061313a565b610b79565b005b3480156103a857600080fd5b506103c360048036038101906103be91906131c2565b610e32565b005b3480156103d157600080fd5b506103da610e46565b6040516103e79190612f34565b60405180910390f35b3480156103fc57600080fd5b50610405610e50565b60405161041291906131fe565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190613219565b610e76565b60405161044f9190612f00565b60405180910390f35b34801561046457600080fd5b5061046d610ea5565b60405161047a9190612f00565b60405180910390f35b34801561048f57600080fd5b50610498610eb8565b6040516104a59190613288565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613095565b610ec1565b6040516104e29190612f00565b60405180910390f35b3480156104f757600080fd5b50610500610ef8565b60405161050d91906131fe565b60405180910390f35b34801561052257600080fd5b5061052b610f1e565b6040516105389190612f34565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190613095565b610f24565b6040516105769291906132a3565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a191906132cc565b611040565b6040516105b39190612f00565b60405180910390f35b3480156105c857600080fd5b506105d1611060565b6040516105de91906131fe565b60405180910390f35b3480156105f357600080fd5b5061060e60048036038101906106099190613325565b611086565b005b34801561061c57600080fd5b506106256110e9565b6040516106329190612f00565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d91906132cc565b6110fc565b60405161066f9190612f34565b60405180910390f35b34801561068457600080fd5b5061068d611144565b005b34801561069b57600080fd5b506106b660048036038101906106b19190613365565b611158565b005b3480156106c457600080fd5b506106df60048036038101906106da91906132cc565b61118d565b005b3480156106ed57600080fd5b506106f66111d9565b60405161070391906131fe565b60405180910390f35b34801561071857600080fd5b50610721611203565b60405161072e9190612fdf565b60405180910390f35b34801561074357600080fd5b5061075e600480360381019061075991906133f6565b611295565b005b34801561076c57600080fd5b5061078760048036038101906107829190613095565b611344565b6040516107949190612f00565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf91906132cc565b6113bb565b005b3480156107d257600080fd5b506107db611459565b6040516107e891906131fe565b60405180910390f35b3480156107fd57600080fd5b5061081860048036038101906108139190613095565b61147f565b6040516108259190612f00565b60405180910390f35b34801561083a57600080fd5b5061085560048036038101906108509190613423565b6114a2565b005b34801561086357600080fd5b5061087e600480360381019061087991906131c2565b6114e2565b005b6108886115ab565b005b34801561089657600080fd5b5061089f611943565b6040516108ac9190612f34565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d791906132cc565b611949565b005b3480156108ea57600080fd5b5061090560048036038101906109009190613463565b611995565b6040516109129190612f34565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d91906132cc565b611a1c565b60405161094f9190612f34565b60405180910390f35b34801561096457600080fd5b5061097f600480360381019061097a91906132cc565b611a34565b005b34801561098d57600080fd5b50610996611ab7565b6040516109a39190613502565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce9190613095565b611add565b6040516109e09190612f00565b60405180910390f35b600960019054906101000a900460ff1681565b60075481565b610a0a611b0c565b60004790506000811115610a905760003373ffffffffffffffffffffffffffffffffffffffff1682604051610a3e9061354e565b60006040518083038185875af1925050503d8060008114610a7b576040519150601f19603f3d011682016040523d82523d6000602084013e610a80565b606091505b5050905080610a8e57600080fd5b505b50565b606060038054610aa290613592565b80601f0160208091040260200160405190810160405280929190818152602001828054610ace90613592565b8015610b1b5780601f10610af057610100808354040283529160200191610b1b565b820191906000526020600020905b815481529060010190602001808311610afe57829003601f168201915b5050505050905090565b60116020528160005260406000208181548110610b4157600080fd5b90600052602060002001600091509150505481565b600080610b61611b8a565b9050610b6e818585611b92565b600191505092915050565b600960029054906101000a900460ff1615610bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc09061360f565b60405180910390fd5b60001515600f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff16151514610c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c649061367b565b60405180910390fd5b610d01858585604051602001610c8593929190613704565b60405160208183030381529060405283838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611d5b565b610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d379061378d565b60405180910390fd5b6001600f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610df9906137dc565b9190505550610e2b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168686611db8565b5050505050565b610e3a611b0c565b610e4381612132565b50565b6000600254905090565b600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610e81611b8a565b9050610e8e8582856123c1565b610e99858585611db8565b60019150509392505050565b600960029054906101000a900460ff1681565b60006012905090565b600080610ecc611b8a565b9050610eed818585610ede8589611995565b610ee89190613824565b611b92565b600191505092915050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b60008060008390505b601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811015610ff357601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208181548110610fc857610fc7613858565b5b906000526020600020015483610fde9190613824565b92508080610feb906137dc565b915050610f2d565b50601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905090509250929050565b600e6020528060005260406000206000915054906101000a900460ff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61108e611b0c565b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600960009054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61114c611b0c565b611156600061244d565b565b611160611b0c565b82600960006101000a81548160ff0219169083151502179055508160078190555080600881905550505050565b611195611b0c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461121290613592565b80601f016020809104026020016040519081016040528092919081815260200182805461123e90613592565b801561128b5780601f106112605761010080835404028352916020019161128b565b820191906000526020600020905b81548152906001019060200180831161126e57829003601f168201915b5050505050905090565b61129d611b0c565b611341338273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112da91906131fe565b602060405180830381865afa1580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b919061389c565b8373ffffffffffffffffffffffffffffffffffffffff166125139092919063ffffffff16565b50565b60008061134f611b8a565b9050600061135d8286611995565b9050838110156113a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113999061393b565b60405180910390fd5b6113af8286868403611b92565b60019250505092915050565b600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461141557600080fd5b80600960046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061148a611b8a565b9050611497818585611db8565b600191505092915050565b6114aa611b0c565b81600960016101000a81548160ff02191690831515021790555080600960026101000a81548160ff0219169083151502179055505050565b600960019054906101000a900460ff1615611532576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611529906139a7565b60405180910390fd5b60003390506115418183612599565b601160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150555050565b6115b3611b0c565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611620573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164491906139dc565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653963073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26040518363ffffffff1660e01b8152600401611692929190613a09565b6020604051808303816000875af11580156116b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d591906139dc565b600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260068190555061175130600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661174c306110fc565b611db8565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156117ad57600080fd5b505af11580156117c1573d6000803e3d6000fd5b505050505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346040518363ffffffff1660e01b8152600401611837929190613a32565b6020604051808303816000875af1158015611856573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187a9190613a70565b61188757611886613a9d565b5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b81526004016118e291906131fe565b6020604051808303816000875af1158015611901573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611925919061389c565b506001600960006101000a81548160ff021916908315150217905550565b60085481565b611951611b0c565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60106020528060005260406000206000915090505481565b611a3c611b0c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa290613b3e565b60405180910390fd5b611ab48161244d565b50565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611b14611b8a565b73ffffffffffffffffffffffffffffffffffffffff16611b326111d9565b73ffffffffffffffffffffffffffffffffffffffff1614611b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7f90613baa565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf890613c3c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790613cce565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611d4e9190612f34565b60405180910390a3505050565b600080848051906020012090506000611d7382612766565b90508373ffffffffffffffffffffffffffffffffffffffff16611d968287612796565b73ffffffffffffffffffffffffffffffffffffffff1614925050509392505050565b600960039054906101000a900460ff1680611e1c5750600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80611e705750600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611e8557611e80838383612805565b61212d565b6000611e92848484612a7b565b90508082611ea09190613cee565b9150603c60065442611eb29190613cee565b11158015611f0d5750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8015611f675750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015611fbd5750600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561206e57686c6b935b8bbd40000082111561200e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200590613d6e565b60405180910390fd5b686c6b935b8bbd40000082612022856110fc565b61202c9190613824565b111561206d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206490613dda565b60405180910390fd5b5b600960009054906101000a900460ff1680156120975750600960039054906101000a900460ff16155b80156120f05750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b1561210b5761210a6004836121059190613e29565b612132565b5b60008111156121205761211f843083612805565b5b61212b848484612805565b505b505050565b6001600960036101000a81548160ff0219169083151502179055506000600267ffffffffffffffff81111561216a57612169613e5a565b5b6040519080825280602002602001820160405280156121985781602001602082028036833780820191505090505b50905030816000815181106121b0576121af613858565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227b91906139dc565b8160018151811061228f5761228e613858565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060006122dd836122d8306110fc565b612bc5565b905060008111156123a157600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac94782600085600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b815260040161236e959493929190613f82565b600060405180830381600087803b15801561238857600080fd5b505af115801561239c573d6000803e3d6000fd5b505050505b50506000600960036101000a81548160ff02191690831515021790555050565b60006123cd8484611995565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146124475781811015612439576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243090614028565b60405180910390fd5b6124468484848403611b92565b5b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125948363a9059cbb60e01b8484604051602401612532929190613a32565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612bde565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ff906140ba565b60405180910390fd5b61261482600083612ca6565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561269a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126919061414c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161274d9190612f34565b60405180910390a361276183600084612cab565b505050565b60008160405160200161277991906141ee565b604051602081830303815290604052805190602001209050919050565b6000806000806127a585612cb0565b925092509250600186828585604051600081526020016040526040516127ce9493929190614223565b6020604051602081039080840390855afa1580156127f0573d6000803e3d6000fd5b50505060206040510351935050505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286b906142da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128da9061436c565b60405180910390fd5b6128ee838383612ca6565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296b906143fe565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612a629190612f34565b60405180910390a3612a75848484612cab565b50505050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614158015612b295750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15612b375760009050612bbe565b600060b460065442612b499190613cee565b1115612b595761012c9050612ba1565b607860065442612b699190613cee565b1115612b79576101f49050612ba0565b603c60065442612b899190613cee565b1115612b99576103e89050612b9f565b6105dc90505b5b5b6127108382612bb0919061441e565b612bba9190613e29565b9150505b9392505050565b6000818311612bd45782612bd6565b815b905092915050565b6000612c40826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612d189092919063ffffffff16565b9050600081511480612c62575080806020019051810190612c619190613a70565b5b612ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c98906144d2565b60405180910390fd5b505050565b505050565b505050565b60008060006041845114612cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf09061453e565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b6060612d278484600085612d30565b90509392505050565b606082471015612d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6c906145d0565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612d9e919061462c565b60006040518083038185875af1925050503d8060008114612ddb576040519150601f19603f3d011682016040523d82523d6000602084013e612de0565b606091505b5091509150612df187838387612dfd565b92505050949350505050565b60608315612e5f576000835103612e5757612e1785612e72565b612e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4d9061468f565b60405180910390fd5b5b829050612e6a565b612e698383612e95565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115612ea85781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edc9190612fdf565b60405180910390fd5b60008115159050919050565b612efa81612ee5565b82525050565b6000602082019050612f156000830184612ef1565b92915050565b6000819050919050565b612f2e81612f1b565b82525050565b6000602082019050612f496000830184612f25565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f89578082015181840152602081019050612f6e565b60008484015250505050565b6000601f19601f8301169050919050565b6000612fb182612f4f565b612fbb8185612f5a565b9350612fcb818560208601612f6b565b612fd481612f95565b840191505092915050565b60006020820190508181036000830152612ff98184612fa6565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130368261300b565b9050919050565b6130468161302b565b811461305157600080fd5b50565b6000813590506130638161303d565b92915050565b61307281612f1b565b811461307d57600080fd5b50565b60008135905061308f81613069565b92915050565b600080604083850312156130ac576130ab613001565b5b60006130ba85828601613054565b92505060206130cb85828601613080565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130fa576130f96130d5565b5b8235905067ffffffffffffffff811115613117576131166130da565b5b602083019150836001820283011115613133576131326130df565b5b9250929050565b60008060008060006080868803121561315657613155613001565b5b600061316488828901613054565b955050602061317588828901613080565b945050604061318688828901613080565b935050606086013567ffffffffffffffff8111156131a7576131a6613006565b5b6131b3888289016130e4565b92509250509295509295909350565b6000602082840312156131d8576131d7613001565b5b60006131e684828501613080565b91505092915050565b6131f88161302b565b82525050565b600060208201905061321360008301846131ef565b92915050565b60008060006060848603121561323257613231613001565b5b600061324086828701613054565b935050602061325186828701613054565b925050604061326286828701613080565b9150509250925092565b600060ff82169050919050565b6132828161326c565b82525050565b600060208201905061329d6000830184613279565b92915050565b60006040820190506132b86000830185612f25565b6132c56020830184612f25565b9392505050565b6000602082840312156132e2576132e1613001565b5b60006132f084828501613054565b91505092915050565b61330281612ee5565b811461330d57600080fd5b50565b60008135905061331f816132f9565b92915050565b6000806040838503121561333c5761333b613001565b5b600061334a85828601613054565b925050602061335b85828601613310565b9150509250929050565b60008060006060848603121561337e5761337d613001565b5b600061338c86828701613310565b935050602061339d86828701613080565b92505060406133ae86828701613080565b9150509250925092565b60006133c38261302b565b9050919050565b6133d3816133b8565b81146133de57600080fd5b50565b6000813590506133f0816133ca565b92915050565b60006020828403121561340c5761340b613001565b5b600061341a848285016133e1565b91505092915050565b6000806040838503121561343a57613439613001565b5b600061344885828601613310565b925050602061345985828601613310565b9150509250929050565b6000806040838503121561347a57613479613001565b5b600061348885828601613054565b925050602061349985828601613054565b9150509250929050565b6000819050919050565b60006134c86134c36134be8461300b565b6134a3565b61300b565b9050919050565b60006134da826134ad565b9050919050565b60006134ec826134cf565b9050919050565b6134fc816134e1565b82525050565b600060208201905061351760008301846134f3565b92915050565b600081905092915050565b50565b600061353860008361351d565b915061354382613528565b600082019050919050565b60006135598261352b565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135aa57607f821691505b6020821081036135bd576135bc613563565b5b50919050565b7f5769746864726177207061757365640000000000000000000000000000000000600082015250565b60006135f9600f83612f5a565b9150613604826135c3565b602082019050919050565b60006020820190508181036000830152613628816135ec565b9050919050565b7f416c72656164792077697468647261776e000000000000000000000000000000600082015250565b6000613665601183612f5a565b91506136708261362f565b602082019050919050565b6000602082019050818103600083015261369481613658565b9050919050565b60008160601b9050919050565b60006136b38261369b565b9050919050565b60006136c5826136a8565b9050919050565b6136dd6136d88261302b565b6136ba565b82525050565b6000819050919050565b6136fe6136f982612f1b565b6136e3565b82525050565b600061371082866136cc565b60148201915061372082856136ed565b60208201915061373082846136ed565b602082019150819050949350505050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000613777601183612f5a565b915061378282613741565b602082019050919050565b600060208201905081810360008301526137a68161376a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006137e782612f1b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613819576138186137ad565b5b600182019050919050565b600061382f82612f1b565b915061383a83612f1b565b9250828201905080821115613852576138516137ad565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061389681613069565b92915050565b6000602082840312156138b2576138b1613001565b5b60006138c084828501613887565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613925602583612f5a565b9150613930826138c9565b604082019050919050565b6000602082019050818103600083015261395481613918565b9050919050565b7f4465706f73697420706175736564000000000000000000000000000000000000600082015250565b6000613991600e83612f5a565b915061399c8261395b565b602082019050919050565b600060208201905081810360008301526139c081613984565b9050919050565b6000815190506139d68161303d565b92915050565b6000602082840312156139f2576139f1613001565b5b6000613a00848285016139c7565b91505092915050565b6000604082019050613a1e60008301856131ef565b613a2b60208301846131ef565b9392505050565b6000604082019050613a4760008301856131ef565b613a546020830184612f25565b9392505050565b600081519050613a6a816132f9565b92915050565b600060208284031215613a8657613a85613001565b5b6000613a9484828501613a5b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b28602683612f5a565b9150613b3382613acc565b604082019050919050565b60006020820190508181036000830152613b5781613b1b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b94602083612f5a565b9150613b9f82613b5e565b602082019050919050565b60006020820190508181036000830152613bc381613b87565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613c26602483612f5a565b9150613c3182613bca565b604082019050919050565b60006020820190508181036000830152613c5581613c19565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cb8602283612f5a565b9150613cc382613c5c565b604082019050919050565b60006020820190508181036000830152613ce781613cab565b9050919050565b6000613cf982612f1b565b9150613d0483612f1b565b9250828203905081811115613d1c57613d1b6137ad565b5b92915050565b7f4d617820747820616d6f756e7400000000000000000000000000000000000000600082015250565b6000613d58600d83612f5a565b9150613d6382613d22565b602082019050919050565b60006020820190508181036000830152613d8781613d4b565b9050919050565b7f4d61782077616c6c65742073697a650000000000000000000000000000000000600082015250565b6000613dc4600f83612f5a565b9150613dcf82613d8e565b602082019050919050565b60006020820190508181036000830152613df381613db7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e3482612f1b565b9150613e3f83612f1b565b925082613e4f57613e4e613dfa565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b6000613eae613ea9613ea484613e89565b6134a3565b612f1b565b9050919050565b613ebe81613e93565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ef98161302b565b82525050565b6000613f0b8383613ef0565b60208301905092915050565b6000602082019050919050565b6000613f2f82613ec4565b613f398185613ecf565b9350613f4483613ee0565b8060005b83811015613f75578151613f5c8882613eff565b9750613f6783613f17565b925050600181019050613f48565b5085935050505092915050565b600060a082019050613f976000830188612f25565b613fa46020830187613eb5565b8181036040830152613fb68186613f24565b9050613fc560608301856131ef565b613fd26080830184612f25565b9695505050505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614012601d83612f5a565b915061401d82613fdc565b602082019050919050565b6000602082019050818103600083015261404181614005565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006140a4602183612f5a565b91506140af82614048565b604082019050919050565b600060208201905081810360008301526140d381614097565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000614136602283612f5a565b9150614141826140da565b604082019050919050565b6000602082019050818103600083015261416581614129565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006141ad601c8361416c565b91506141b882614177565b601c82019050919050565b6000819050919050565b6000819050919050565b6141e86141e3826141c3565b6141cd565b82525050565b60006141f9826141a0565b915061420582846141d7565b60208201915081905092915050565b61421d816141c3565b82525050565b60006080820190506142386000830187614214565b6142456020830186613279565b6142526040830185614214565b61425f6060830184614214565b95945050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006142c4602583612f5a565b91506142cf82614268565b604082019050919050565b600060208201905081810360008301526142f3816142b7565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614356602383612f5a565b9150614361826142fa565b604082019050919050565b6000602082019050818103600083015261438581614349565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006143e8602683612f5a565b91506143f38261438c565b604082019050919050565b60006020820190508181036000830152614417816143db565b9050919050565b600061442982612f1b565b915061443483612f1b565b925082820261444281612f1b565b91508282048414831517614459576144586137ad565b5b5092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006144bc602a83612f5a565b91506144c782614460565b604082019050919050565b600060208201905081810360008301526144eb816144af565b9050919050565b7f696e76616c6964207369676e6174757265206c656e6774680000000000000000600082015250565b6000614528601883612f5a565b9150614533826144f2565b602082019050919050565b600060208201905081810360008301526145578161451b565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006145ba602683612f5a565b91506145c58261455e565b604082019050919050565b600060208201905081810360008301526145e9816145ad565b9050919050565b600081519050919050565b6000614606826145f0565b614610818561351d565b9350614620818560208601612f6b565b80840191505092915050565b600061463882846145fb565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614679601d83612f5a565b915061468482614643565b602082019050919050565b600060208201905081810360008301526146a88161466c565b905091905056fea2646970667358221220bf6517b786d7e69e3cffb6eb5df2a3952b3b65df43b61e8d80592ef31c4b870764736f6c6343000814003300000000000000000000000053bdd39bb5f425229f662cfc9d2ac2d3c7e6ae40000000000000000000000000a1c1d4680f7fcbfbf6d37d5d975ce6e8780a2094

Deployed Bytecode

0x6080604052600436106102555760003560e01c806370a0823111610139578063a9059cbb116100b6578063d0d41fe11161007a578063d0d41fe1146108b5578063dd62ed3e146108de578063e3dba4801461091b578063f2fde38b14610958578063f887ea4014610981578063fba6997f146109ac5761025c565b8063a9059cbb146107f1578063b3c2eac11461082e578063b6b55f2514610857578063c9567bf914610880578063cce987d41461088a5761025c565b806395d89b41116100fd57806395d89b411461070c5780639e8c708e14610737578063a457c2d714610760578063a7ecd37e1461079d578063a8aa1b31146107c65761025c565b806370a082311461063b578063715018a6146106785780637c530baf1461068f5780637f51bb1f146106b85780638da5cb5b146106e15761025c565b806323b872dd116101d2578063490d80aa11610196578063490d80aa146105165780634df9f20a146105415780635342acb41461057f57806361d027b3146105bc5780636612e66f146105e75780636ddd1713146106105761025c565b806323b872dd1461041b5780632f3ffb9f14610458578063313ce5671461048357806339509351146104ae5780633ad10ef6146104eb5761025c565b8063095ea7b311610219578063095ea7b3146103365780630bd0ca9a146103735780631241f4461461039c57806318160ddd146103c5578063238ac933146103f05761025c565b806302befd24146102615780630445b6671461028c5780630614117a146102b757806306fdde03146102ce57806308f43333146102f95761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b506102766109e9565b6040516102839190612f00565b60405180910390f35b34801561029857600080fd5b506102a16109fc565b6040516102ae9190612f34565b60405180910390f35b3480156102c357600080fd5b506102cc610a02565b005b3480156102da57600080fd5b506102e3610a93565b6040516102f09190612fdf565b60405180910390f35b34801561030557600080fd5b50610320600480360381019061031b9190613095565b610b25565b60405161032d9190612f34565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190613095565b610b56565b60405161036a9190612f00565b60405180910390f35b34801561037f57600080fd5b5061039a6004803603810190610395919061313a565b610b79565b005b3480156103a857600080fd5b506103c360048036038101906103be91906131c2565b610e32565b005b3480156103d157600080fd5b506103da610e46565b6040516103e79190612f34565b60405180910390f35b3480156103fc57600080fd5b50610405610e50565b60405161041291906131fe565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190613219565b610e76565b60405161044f9190612f00565b60405180910390f35b34801561046457600080fd5b5061046d610ea5565b60405161047a9190612f00565b60405180910390f35b34801561048f57600080fd5b50610498610eb8565b6040516104a59190613288565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613095565b610ec1565b6040516104e29190612f00565b60405180910390f35b3480156104f757600080fd5b50610500610ef8565b60405161050d91906131fe565b60405180910390f35b34801561052257600080fd5b5061052b610f1e565b6040516105389190612f34565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190613095565b610f24565b6040516105769291906132a3565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a191906132cc565b611040565b6040516105b39190612f00565b60405180910390f35b3480156105c857600080fd5b506105d1611060565b6040516105de91906131fe565b60405180910390f35b3480156105f357600080fd5b5061060e60048036038101906106099190613325565b611086565b005b34801561061c57600080fd5b506106256110e9565b6040516106329190612f00565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d91906132cc565b6110fc565b60405161066f9190612f34565b60405180910390f35b34801561068457600080fd5b5061068d611144565b005b34801561069b57600080fd5b506106b660048036038101906106b19190613365565b611158565b005b3480156106c457600080fd5b506106df60048036038101906106da91906132cc565b61118d565b005b3480156106ed57600080fd5b506106f66111d9565b60405161070391906131fe565b60405180910390f35b34801561071857600080fd5b50610721611203565b60405161072e9190612fdf565b60405180910390f35b34801561074357600080fd5b5061075e600480360381019061075991906133f6565b611295565b005b34801561076c57600080fd5b5061078760048036038101906107829190613095565b611344565b6040516107949190612f00565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf91906132cc565b6113bb565b005b3480156107d257600080fd5b506107db611459565b6040516107e891906131fe565b60405180910390f35b3480156107fd57600080fd5b5061081860048036038101906108139190613095565b61147f565b6040516108259190612f00565b60405180910390f35b34801561083a57600080fd5b5061085560048036038101906108509190613423565b6114a2565b005b34801561086357600080fd5b5061087e600480360381019061087991906131c2565b6114e2565b005b6108886115ab565b005b34801561089657600080fd5b5061089f611943565b6040516108ac9190612f34565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d791906132cc565b611949565b005b3480156108ea57600080fd5b5061090560048036038101906109009190613463565b611995565b6040516109129190612f34565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d91906132cc565b611a1c565b60405161094f9190612f34565b60405180910390f35b34801561096457600080fd5b5061097f600480360381019061097a91906132cc565b611a34565b005b34801561098d57600080fd5b50610996611ab7565b6040516109a39190613502565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce9190613095565b611add565b6040516109e09190612f00565b60405180910390f35b600960019054906101000a900460ff1681565b60075481565b610a0a611b0c565b60004790506000811115610a905760003373ffffffffffffffffffffffffffffffffffffffff1682604051610a3e9061354e565b60006040518083038185875af1925050503d8060008114610a7b576040519150601f19603f3d011682016040523d82523d6000602084013e610a80565b606091505b5050905080610a8e57600080fd5b505b50565b606060038054610aa290613592565b80601f0160208091040260200160405190810160405280929190818152602001828054610ace90613592565b8015610b1b5780601f10610af057610100808354040283529160200191610b1b565b820191906000526020600020905b815481529060010190602001808311610afe57829003601f168201915b5050505050905090565b60116020528160005260406000208181548110610b4157600080fd5b90600052602060002001600091509150505481565b600080610b61611b8a565b9050610b6e818585611b92565b600191505092915050565b600960029054906101000a900460ff1615610bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc09061360f565b60405180910390fd5b60001515600f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff16151514610c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c649061367b565b60405180910390fd5b610d01858585604051602001610c8593929190613704565b60405160208183030381529060405283838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611d5b565b610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d379061378d565b60405180910390fd5b6001600f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610df9906137dc565b9190505550610e2b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168686611db8565b5050505050565b610e3a611b0c565b610e4381612132565b50565b6000600254905090565b600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610e81611b8a565b9050610e8e8582856123c1565b610e99858585611db8565b60019150509392505050565b600960029054906101000a900460ff1681565b60006012905090565b600080610ecc611b8a565b9050610eed818585610ede8589611995565b610ee89190613824565b611b92565b600191505092915050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b60008060008390505b601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811015610ff357601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208181548110610fc857610fc7613858565b5b906000526020600020015483610fde9190613824565b92508080610feb906137dc565b915050610f2d565b50601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905090509250929050565b600e6020528060005260406000206000915054906101000a900460ff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61108e611b0c565b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600960009054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61114c611b0c565b611156600061244d565b565b611160611b0c565b82600960006101000a81548160ff0219169083151502179055508160078190555080600881905550505050565b611195611b0c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461121290613592565b80601f016020809104026020016040519081016040528092919081815260200182805461123e90613592565b801561128b5780601f106112605761010080835404028352916020019161128b565b820191906000526020600020905b81548152906001019060200180831161126e57829003601f168201915b5050505050905090565b61129d611b0c565b611341338273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112da91906131fe565b602060405180830381865afa1580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b919061389c565b8373ffffffffffffffffffffffffffffffffffffffff166125139092919063ffffffff16565b50565b60008061134f611b8a565b9050600061135d8286611995565b9050838110156113a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113999061393b565b60405180910390fd5b6113af8286868403611b92565b60019250505092915050565b600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461141557600080fd5b80600960046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061148a611b8a565b9050611497818585611db8565b600191505092915050565b6114aa611b0c565b81600960016101000a81548160ff02191690831515021790555080600960026101000a81548160ff0219169083151502179055505050565b600960019054906101000a900460ff1615611532576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611529906139a7565b60405180910390fd5b60003390506115418183612599565b601160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150555050565b6115b3611b0c565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611620573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164491906139dc565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653963073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26040518363ffffffff1660e01b8152600401611692929190613a09565b6020604051808303816000875af11580156116b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d591906139dc565b600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260068190555061175130600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661174c306110fc565b611db8565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156117ad57600080fd5b505af11580156117c1573d6000803e3d6000fd5b505050505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16346040518363ffffffff1660e01b8152600401611837929190613a32565b6020604051808303816000875af1158015611856573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187a9190613a70565b61188757611886613a9d565b5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a627842336040518263ffffffff1660e01b81526004016118e291906131fe565b6020604051808303816000875af1158015611901573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611925919061389c565b506001600960006101000a81548160ff021916908315150217905550565b60085481565b611951611b0c565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60106020528060005260406000206000915090505481565b611a3c611b0c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa290613b3e565b60405180910390fd5b611ab48161244d565b50565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611b14611b8a565b73ffffffffffffffffffffffffffffffffffffffff16611b326111d9565b73ffffffffffffffffffffffffffffffffffffffff1614611b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7f90613baa565b60405180910390fd5b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf890613c3c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790613cce565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611d4e9190612f34565b60405180910390a3505050565b600080848051906020012090506000611d7382612766565b90508373ffffffffffffffffffffffffffffffffffffffff16611d968287612796565b73ffffffffffffffffffffffffffffffffffffffff1614925050509392505050565b600960039054906101000a900460ff1680611e1c5750600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80611e705750600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611e8557611e80838383612805565b61212d565b6000611e92848484612a7b565b90508082611ea09190613cee565b9150603c60065442611eb29190613cee565b11158015611f0d5750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8015611f675750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015611fbd5750600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561206e57686c6b935b8bbd40000082111561200e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200590613d6e565b60405180910390fd5b686c6b935b8bbd40000082612022856110fc565b61202c9190613824565b111561206d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206490613dda565b60405180910390fd5b5b600960009054906101000a900460ff1680156120975750600960039054906101000a900460ff16155b80156120f05750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b1561210b5761210a6004836121059190613e29565b612132565b5b60008111156121205761211f843083612805565b5b61212b848484612805565b505b505050565b6001600960036101000a81548160ff0219169083151502179055506000600267ffffffffffffffff81111561216a57612169613e5a565b5b6040519080825280602002602001820160405280156121985781602001602082028036833780820191505090505b50905030816000815181106121b0576121af613858565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227b91906139dc565b8160018151811061228f5761228e613858565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060006122dd836122d8306110fc565b612bc5565b905060008111156123a157600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac94782600085600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b815260040161236e959493929190613f82565b600060405180830381600087803b15801561238857600080fd5b505af115801561239c573d6000803e3d6000fd5b505050505b50506000600960036101000a81548160ff02191690831515021790555050565b60006123cd8484611995565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146124475781811015612439576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243090614028565b60405180910390fd5b6124468484848403611b92565b5b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125948363a9059cbb60e01b8484604051602401612532929190613a32565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612bde565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ff906140ba565b60405180910390fd5b61261482600083612ca6565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561269a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126919061414c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161274d9190612f34565b60405180910390a361276183600084612cab565b505050565b60008160405160200161277991906141ee565b604051602081830303815290604052805190602001209050919050565b6000806000806127a585612cb0565b925092509250600186828585604051600081526020016040526040516127ce9493929190614223565b6020604051602081039080840390855afa1580156127f0573d6000803e3d6000fd5b50505060206040510351935050505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286b906142da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128da9061436c565b60405180910390fd5b6128ee838383612ca6565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296b906143fe565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612a629190612f34565b60405180910390a3612a75848484612cab565b50505050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614158015612b295750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15612b375760009050612bbe565b600060b460065442612b499190613cee565b1115612b595761012c9050612ba1565b607860065442612b699190613cee565b1115612b79576101f49050612ba0565b603c60065442612b899190613cee565b1115612b99576103e89050612b9f565b6105dc90505b5b5b6127108382612bb0919061441e565b612bba9190613e29565b9150505b9392505050565b6000818311612bd45782612bd6565b815b905092915050565b6000612c40826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612d189092919063ffffffff16565b9050600081511480612c62575080806020019051810190612c619190613a70565b5b612ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c98906144d2565b60405180910390fd5b505050565b505050565b505050565b60008060006041845114612cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf09061453e565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b6060612d278484600085612d30565b90509392505050565b606082471015612d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6c906145d0565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612d9e919061462c565b60006040518083038185875af1925050503d8060008114612ddb576040519150601f19603f3d011682016040523d82523d6000602084013e612de0565b606091505b5091509150612df187838387612dfd565b92505050949350505050565b60608315612e5f576000835103612e5757612e1785612e72565b612e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4d9061468f565b60405180910390fd5b5b829050612e6a565b612e698383612e95565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115612ea85781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edc9190612fdf565b60405180910390fd5b60008115159050919050565b612efa81612ee5565b82525050565b6000602082019050612f156000830184612ef1565b92915050565b6000819050919050565b612f2e81612f1b565b82525050565b6000602082019050612f496000830184612f25565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f89578082015181840152602081019050612f6e565b60008484015250505050565b6000601f19601f8301169050919050565b6000612fb182612f4f565b612fbb8185612f5a565b9350612fcb818560208601612f6b565b612fd481612f95565b840191505092915050565b60006020820190508181036000830152612ff98184612fa6565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130368261300b565b9050919050565b6130468161302b565b811461305157600080fd5b50565b6000813590506130638161303d565b92915050565b61307281612f1b565b811461307d57600080fd5b50565b60008135905061308f81613069565b92915050565b600080604083850312156130ac576130ab613001565b5b60006130ba85828601613054565b92505060206130cb85828601613080565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130fa576130f96130d5565b5b8235905067ffffffffffffffff811115613117576131166130da565b5b602083019150836001820283011115613133576131326130df565b5b9250929050565b60008060008060006080868803121561315657613155613001565b5b600061316488828901613054565b955050602061317588828901613080565b945050604061318688828901613080565b935050606086013567ffffffffffffffff8111156131a7576131a6613006565b5b6131b3888289016130e4565b92509250509295509295909350565b6000602082840312156131d8576131d7613001565b5b60006131e684828501613080565b91505092915050565b6131f88161302b565b82525050565b600060208201905061321360008301846131ef565b92915050565b60008060006060848603121561323257613231613001565b5b600061324086828701613054565b935050602061325186828701613054565b925050604061326286828701613080565b9150509250925092565b600060ff82169050919050565b6132828161326c565b82525050565b600060208201905061329d6000830184613279565b92915050565b60006040820190506132b86000830185612f25565b6132c56020830184612f25565b9392505050565b6000602082840312156132e2576132e1613001565b5b60006132f084828501613054565b91505092915050565b61330281612ee5565b811461330d57600080fd5b50565b60008135905061331f816132f9565b92915050565b6000806040838503121561333c5761333b613001565b5b600061334a85828601613054565b925050602061335b85828601613310565b9150509250929050565b60008060006060848603121561337e5761337d613001565b5b600061338c86828701613310565b935050602061339d86828701613080565b92505060406133ae86828701613080565b9150509250925092565b60006133c38261302b565b9050919050565b6133d3816133b8565b81146133de57600080fd5b50565b6000813590506133f0816133ca565b92915050565b60006020828403121561340c5761340b613001565b5b600061341a848285016133e1565b91505092915050565b6000806040838503121561343a57613439613001565b5b600061344885828601613310565b925050602061345985828601613310565b9150509250929050565b6000806040838503121561347a57613479613001565b5b600061348885828601613054565b925050602061349985828601613054565b9150509250929050565b6000819050919050565b60006134c86134c36134be8461300b565b6134a3565b61300b565b9050919050565b60006134da826134ad565b9050919050565b60006134ec826134cf565b9050919050565b6134fc816134e1565b82525050565b600060208201905061351760008301846134f3565b92915050565b600081905092915050565b50565b600061353860008361351d565b915061354382613528565b600082019050919050565b60006135598261352b565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135aa57607f821691505b6020821081036135bd576135bc613563565b5b50919050565b7f5769746864726177207061757365640000000000000000000000000000000000600082015250565b60006135f9600f83612f5a565b9150613604826135c3565b602082019050919050565b60006020820190508181036000830152613628816135ec565b9050919050565b7f416c72656164792077697468647261776e000000000000000000000000000000600082015250565b6000613665601183612f5a565b91506136708261362f565b602082019050919050565b6000602082019050818103600083015261369481613658565b9050919050565b60008160601b9050919050565b60006136b38261369b565b9050919050565b60006136c5826136a8565b9050919050565b6136dd6136d88261302b565b6136ba565b82525050565b6000819050919050565b6136fe6136f982612f1b565b6136e3565b82525050565b600061371082866136cc565b60148201915061372082856136ed565b60208201915061373082846136ed565b602082019150819050949350505050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000613777601183612f5a565b915061378282613741565b602082019050919050565b600060208201905081810360008301526137a68161376a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006137e782612f1b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613819576138186137ad565b5b600182019050919050565b600061382f82612f1b565b915061383a83612f1b565b9250828201905080821115613852576138516137ad565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061389681613069565b92915050565b6000602082840312156138b2576138b1613001565b5b60006138c084828501613887565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613925602583612f5a565b9150613930826138c9565b604082019050919050565b6000602082019050818103600083015261395481613918565b9050919050565b7f4465706f73697420706175736564000000000000000000000000000000000000600082015250565b6000613991600e83612f5a565b915061399c8261395b565b602082019050919050565b600060208201905081810360008301526139c081613984565b9050919050565b6000815190506139d68161303d565b92915050565b6000602082840312156139f2576139f1613001565b5b6000613a00848285016139c7565b91505092915050565b6000604082019050613a1e60008301856131ef565b613a2b60208301846131ef565b9392505050565b6000604082019050613a4760008301856131ef565b613a546020830184612f25565b9392505050565b600081519050613a6a816132f9565b92915050565b600060208284031215613a8657613a85613001565b5b6000613a9484828501613a5b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b28602683612f5a565b9150613b3382613acc565b604082019050919050565b60006020820190508181036000830152613b5781613b1b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b94602083612f5a565b9150613b9f82613b5e565b602082019050919050565b60006020820190508181036000830152613bc381613b87565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613c26602483612f5a565b9150613c3182613bca565b604082019050919050565b60006020820190508181036000830152613c5581613c19565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cb8602283612f5a565b9150613cc382613c5c565b604082019050919050565b60006020820190508181036000830152613ce781613cab565b9050919050565b6000613cf982612f1b565b9150613d0483612f1b565b9250828203905081811115613d1c57613d1b6137ad565b5b92915050565b7f4d617820747820616d6f756e7400000000000000000000000000000000000000600082015250565b6000613d58600d83612f5a565b9150613d6382613d22565b602082019050919050565b60006020820190508181036000830152613d8781613d4b565b9050919050565b7f4d61782077616c6c65742073697a650000000000000000000000000000000000600082015250565b6000613dc4600f83612f5a565b9150613dcf82613d8e565b602082019050919050565b60006020820190508181036000830152613df381613db7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e3482612f1b565b9150613e3f83612f1b565b925082613e4f57613e4e613dfa565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b6000613eae613ea9613ea484613e89565b6134a3565b612f1b565b9050919050565b613ebe81613e93565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ef98161302b565b82525050565b6000613f0b8383613ef0565b60208301905092915050565b6000602082019050919050565b6000613f2f82613ec4565b613f398185613ecf565b9350613f4483613ee0565b8060005b83811015613f75578151613f5c8882613eff565b9750613f6783613f17565b925050600181019050613f48565b5085935050505092915050565b600060a082019050613f976000830188612f25565b613fa46020830187613eb5565b8181036040830152613fb68186613f24565b9050613fc560608301856131ef565b613fd26080830184612f25565b9695505050505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614012601d83612f5a565b915061401d82613fdc565b602082019050919050565b6000602082019050818103600083015261404181614005565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006140a4602183612f5a565b91506140af82614048565b604082019050919050565b600060208201905081810360008301526140d381614097565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000614136602283612f5a565b9150614141826140da565b604082019050919050565b6000602082019050818103600083015261416581614129565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006141ad601c8361416c565b91506141b882614177565b601c82019050919050565b6000819050919050565b6000819050919050565b6141e86141e3826141c3565b6141cd565b82525050565b60006141f9826141a0565b915061420582846141d7565b60208201915081905092915050565b61421d816141c3565b82525050565b60006080820190506142386000830187614214565b6142456020830186613279565b6142526040830185614214565b61425f6060830184614214565b95945050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006142c4602583612f5a565b91506142cf82614268565b604082019050919050565b600060208201905081810360008301526142f3816142b7565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614356602383612f5a565b9150614361826142fa565b604082019050919050565b6000602082019050818103600083015261438581614349565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006143e8602683612f5a565b91506143f38261438c565b604082019050919050565b60006020820190508181036000830152614417816143db565b9050919050565b600061442982612f1b565b915061443483612f1b565b925082820261444281612f1b565b91508282048414831517614459576144586137ad565b5b5092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006144bc602a83612f5a565b91506144c782614460565b604082019050919050565b600060208201905081810360008301526144eb816144af565b9050919050565b7f696e76616c6964207369676e6174757265206c656e6774680000000000000000600082015250565b6000614528601883612f5a565b9150614533826144f2565b602082019050919050565b600060208201905081810360008301526145578161451b565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006145ba602683612f5a565b91506145c58261455e565b604082019050919050565b600060208201905081810360008301526145e9816145ad565b9050919050565b600081519050919050565b6000614606826145f0565b614610818561351d565b9350614620818560208601612f6b565b80840191505092915050565b600061463882846145fb565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614679601d83612f5a565b915061468482614643565b602082019050919050565b600060208201905081810360008301526146a88161466c565b905091905056fea2646970667358221220bf6517b786d7e69e3cffb6eb5df2a3952b3b65df43b61e8d80592ef31c4b870764736f6c63430008140033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000053bdd39bb5f425229f662cfc9d2ac2d3c7e6ae40000000000000000000000000a1c1d4680f7fcbfbf6d37d5d975ce6e8780a2094

-----Decoded View---------------
Arg [0] : _signerAddress (address): 0x53bdD39bb5f425229F662cfC9D2ac2d3c7E6Ae40
Arg [1] : _treasuryAddress (address): 0xA1C1d4680f7fcBfbf6d37d5D975ce6E8780A2094

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000053bdd39bb5f425229f662cfc9d2ac2d3c7e6ae40
Arg [1] : 000000000000000000000000a1c1d4680f7fcbfbf6d37d5d975ce6e8780a2094


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

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.