ETH Price: $2,521.49 (-0.12%)

Token

DAO Vault Stonks (daoSTO)
 

Overview

Max Total Supply

345.086825738658704354 daoSTO

Holders

5

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000058724254641206 daoSTO

Value
$0.00
0x496Aa49830137bFb023A4cF93009905182aDbA9b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FAANGVault

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 12 : vaultFAANG.sol
//SPDX-License-Identifier: MIT" 
pragma solidity 0.7.6;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../../libs/BaseRelayRecipient.sol";
import "../../interfaces/IUniswapV2Router02.sol";

interface IStrategy {
    function deposit(uint _amount, IERC20 _token) external;
    function getTotalValueInPool() external view returns (uint256);
    function withdraw(uint256 amount, address token) external;
    function withdrawAllFunds(IERC20 _token) external;
    function yield() external ;
    function setCommunityWallet(address) external;
    function setTreasuryWallet(address) external;
    function setStrategist(address) external;
}

contract FAANGVault is ERC20("DAO Vault Stonks", "daoSTO"), Ownable, BaseRelayRecipient{
    using SafeERC20 for IERC20;
    using SafeMath for uint256;
    IERC20 public constant USDT = IERC20(0xdAC17F958D2ee523a2206206994597C13D831ec7);
    IERC20 public constant USDC = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);
    IERC20 public constant DAI = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);
    IUniswapV2Router02 public constant Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    IStrategy public strategy;

    mapping(address => uint256)public depositedAmount;
    
    address public treasuryWallet;
    address public admin;
    address public pendingStrategy;
    address public communityWallet;
    address public strategist;
    
    uint256 public unlockTime;
    uint256 public constant LOCKTIME = 2 days;
    uint256 public fee = 20; //20%
    uint256 usdcPercInVault = 5; //5%
    uint256 daiPercInVault = 5 ; //5%
    uint256 usdtPercInVault = 5; //5%
    
    uint256[] public networkFeeTier2 = [50000*1e18+1, 100000*1e18];
    uint256 public customNetworkFeeTier = 1000000*1e18;
    uint256[] public networkFeePerc = [100, 75, 50];
    uint256 public customNetworkFeePerc = 25;
    
    bool public canSetPendingStrategy = true;
    
    bool public isEmergency;
    IERC20 tokenWithdrawnInEmergency;
    
    event Deposit(address indexed from, address indexed token, uint amount, uint sharesMinted);
    event Withdraw(address indexed from, address indexed token, uint amount, uint sharesBurned);
    event migrateFunds(address indexed newStrategy, uint amount);
    event SetAdmin(address oldAdmin, address newAdmin);
    event SetTreasuryWallet(address oldTreasury, address newTreasury);
    event SetPendingStrategy(address newStrategy);
    event UnlockMigrateFunds(uint unlockTime);
    event EmergencyWithdraw(address admin);
    event SetBiconomy(address biconomy);
    event SetCommunityWallet(address oldCommunityWallet, address newcommunityWallet);
    event SetStrategistWallet(address oldStrategistWallet, address newStrategistWallet);
    event SetWithdrawlFee(uint fee);
    event SetNetworkFeePerc(uint256[] oldNetworkFeePerc, uint256[] newNetworkFeePerc);
    event SetCustomNetworkFeePerc(uint256 oldCustomNetworkFeePerc, uint256 newCustomNetworkFeePerc);


    constructor(address _treasuryWallet, address _admin, address _strategy, address _biconomy, address _communityWallet, address _strategist) {
        admin = _admin;
        treasuryWallet = _treasuryWallet;        
        strategy = IStrategy(_strategy);
        trustedForwarder = _biconomy;
        communityWallet = _communityWallet;
        strategist = _strategist;

        DAI.safeApprove(_strategy, type(uint).max);
        USDC.safeApprove(_strategy, type(uint).max);
        USDT.safeApprove(_strategy, type(uint).max);


        DAI.safeApprove(address(Router), type(uint).max);
        USDC.safeApprove(address(Router), type(uint).max);
        USDT.safeApprove(address(Router), type(uint).max);
    }

    modifier onlyEOA {
        require(msg.sender == tx.origin, "Only EOA");
        _;
    }

    modifier onlyAdmin() {
        require(msg.sender == admin, "Only Admin");
        _;
    }
    
    function _msgSender() internal override(Context, BaseRelayRecipient) view returns (address payable) {
        return BaseRelayRecipient._msgSender();
    }
    
    
    function versionRecipient() external pure override returns (string memory) {
        return "1";
    }

    function setPendingStrategy(address _strategy) external onlyOwner{
        require(_strategy != address(0), "Invalid address");
        require(canSetPendingStrategy, "Cannot set new strategy");  

        pendingStrategy = _strategy;
        emit SetPendingStrategy(_strategy);
    }

    function setAmountToKeepInVaultPerc(uint _daiPercentage, uint _usdcPercentage, uint usdtPercentage) external onlyAdmin{
        usdcPercInVault = _usdcPercentage;
        daiPercInVault = _daiPercentage;
        usdtPercInVault = usdtPercentage;
    }

    function setAdmin(address _newAdmin) external onlyOwner{
        require(_newAdmin != address(0), "ZERO_ADDRESS");
        address oldAdmin = admin;
        admin = _newAdmin;        

        emit SetAdmin(oldAdmin, _newAdmin);
    }

    function setTreasuryWallet(address _newTreasury) external onlyOwner {
        require(_newTreasury != address(0), "ZERO_ADDRESS");
        
        address oldTreasury = treasuryWallet;
        treasuryWallet = _newTreasury;
        strategy.setTreasuryWallet(_newTreasury);

        emit SetTreasuryWallet(oldTreasury, _newTreasury);
    }

    function setCommunityWallet(address _newCommunityWallet) external onlyOwner {
        require(_newCommunityWallet != address(0), "ZERO_ADDRESS");
        
        address oldCommunityWallet = communityWallet;
        communityWallet = _newCommunityWallet;
        strategy.setCommunityWallet(_newCommunityWallet);

        emit SetCommunityWallet(oldCommunityWallet, _newCommunityWallet);
    }

    function setStrategistWallet(address _strategist) external onlyOwner {
        require(msg.sender == owner() || msg.sender == strategist, "Only owner or strategist");
        require(_strategist != address(0), "ZERO_ADDRESS");
        
        address oldStrategistWallet = strategist;
        strategist = _strategist;
        strategy.setStrategist(_strategist);

        emit SetStrategistWallet(oldStrategistWallet, _strategist);
    }


    function setWithdrawalFee(uint _fee) external onlyOwner{
        fee = _fee;
        emit SetWithdrawlFee(_fee);
    }
    
    function setNetworkFeePerc(uint256[] calldata _networkFeePerc) external onlyOwner {
        require(
            _networkFeePerc[0] < 3000 &&
                _networkFeePerc[1] < 3000 &&
                _networkFeePerc[2] < 3000,
            "Network fee percentage cannot be more than 30%"
        );
        /**
         * _networkFeePerc content a array of 3 element, representing network fee of tier 1, tier 2 and tier 3
         * For example networkFeePerc is [100, 75, 50]
         * which mean network fee for Tier 1 = 1%, Tier 2 = 0.75% and Tier 3 = 0.5%
         */
        uint256[] memory oldNetworkFeePerc = networkFeePerc;
        networkFeePerc = _networkFeePerc;
        emit SetNetworkFeePerc(oldNetworkFeePerc, _networkFeePerc);
    }

    /// @notice Function to set new custom network fee percentage
    /// @param _percentage Percentage of new custom network fee
    function setCustomNetworkFeePerc(uint256 _percentage) public onlyOwner {
        require(_percentage < networkFeePerc[2], "Custom network fee percentage cannot be more than tier 2");

        uint256 oldCustomNetworkFeePerc = customNetworkFeePerc;
        customNetworkFeePerc = _percentage;
        emit SetCustomNetworkFeePerc(oldCustomNetworkFeePerc, _percentage);
    }

    function setBiconomy(address _biconomy) external onlyOwner {
        trustedForwarder = _biconomy;
        emit SetBiconomy(_biconomy);
    }

    function deposit(uint256 _amount, IERC20 _token) external {
        require(msg.sender == tx.origin || isTrustedForwarder(msg.sender), "Only EOA or Biconomy");
        require(isEmergency == false, "Cannot call when in emergencyMode");
        require(_amount > 0, "Invalid amount");
        uint256 shares;
        address _sender = _msgSender();
        if (_token == DAI) {
            (uint amountAfterFee, uint _fee) = _calcNetworkFee(_amount);

            shares = totalSupply() == 0
                ? amountAfterFee
                : amountAfterFee.mul(totalSupply()).div(getTotalValueInPool());
            DAI.safeTransferFrom(_sender, address(this), _amount);

            uint _treasuryFee =  _fee.mul(2).div(5); // 40%
            
            DAI.safeTransfer(treasuryWallet, _treasuryFee);
            DAI.safeTransfer(communityWallet, _treasuryFee);
            DAI.safeTransfer(strategist, _fee.sub(_treasuryFee).sub(_treasuryFee));
            depositedAmount[_sender] = depositedAmount[_sender].add(amountAfterFee);
            
        } else if (_token == USDC) {
            
            // uint _amountMagnified = _amount.mul(1e12);
            (uint amountAfterFee, uint _fee) = _calcNetworkFee(_amount.mul(1e12));
            shares = totalSupply() == 0
                ? amountAfterFee
                : amountAfterFee.mul(totalSupply()).div(
                    getTotalValueInPool());

            USDC.safeTransferFrom(_sender, address(this), _amount);
            
            uint feeReduced = _fee.div(1e12);
            uint _treasuryFee =  feeReduced.mul(2).div(5); // 40%
            
            USDC.safeTransfer(treasuryWallet, _treasuryFee);
            USDC.safeTransfer(communityWallet, _treasuryFee);
            USDC.safeTransfer(strategist, feeReduced.sub(_treasuryFee).sub(_treasuryFee));
            
            depositedAmount[_sender] = depositedAmount[_sender].add(amountAfterFee);
        } else if (_token == USDT) {

            (uint amountAfterFee, uint _fee) = _calcNetworkFee(_amount.mul(1e12));
            
            shares = totalSupply() == 0
                ? amountAfterFee
                : amountAfterFee.mul(totalSupply()).div(getTotalValueInPool());
            
            USDT.safeTransferFrom(_sender, address(this), _amount);

            uint feeReduced = _fee.div(1e12);
            uint _treasuryFee =  feeReduced.mul(2).div(5); // 40%
            
            USDT.safeTransfer(treasuryWallet, _treasuryFee);
            USDT.safeTransfer(communityWallet, _treasuryFee);
            USDT.safeTransfer(strategist, feeReduced.sub(_treasuryFee).sub(_treasuryFee));
            depositedAmount[_sender] = depositedAmount[_sender].add(amountAfterFee);
        } else {
            revert("Invalid deposit Token");
        }

        
        
        _mint(_sender, shares);
        emit Deposit(_sender, address(_token), _amount, shares);
    }

    function withdraw(uint256 _shares, IERC20 _token) external onlyEOA {
        require(_token == DAI || _token == USDC || _token == USDT, "Invalid token");
        require(_shares > 0, "Invalid amount");
        uint256 _totalShares = balanceOf(msg.sender);
        require(_totalShares >= _shares, "Insuffient funds");

        uint256 amountDeposited = depositedAmount[msg.sender].mul(_shares).div(_totalShares);
        depositedAmount[msg.sender] = depositedAmount[msg.sender].sub(amountDeposited);
        
        uint256 amountToWithdraw = getTotalValueInPool().mul(_shares).div(totalSupply());
        
        
        
        uint balanceInContract = _token == DAI ? _token.balanceOf(address(this)) : _token.balanceOf(address(this)).mul(1e12);
        
        if(balanceInContract < amountToWithdraw) {

            if(isEmergency == true && _token != tokenWithdrawnInEmergency) {
                //value in strategy is zero during emergency
                //balanceInContract is less means emergencyWithdraw() was called with a different token. 
                //so convert to user's token
                address[] memory path = new address[](2);
                path[0] = address(tokenWithdrawnInEmergency);
                path[1] = address(_token);

                //using amountToWithdraw as first parameter because, in normal case `amountToWithdraw` is removed from the contract.
                Router.swapExactTokensForTokens(_token == DAI ? amountToWithdraw.sub(balanceInContract) : amountToWithdraw.sub(balanceInContract).div(1e12), 0, path, address(this), block.timestamp);
            } 

            if(isEmergency == false) {
                strategy.withdraw(amountToWithdraw.sub(balanceInContract), address(_token));
            }
            
            
        }

        if (amountToWithdraw > amountDeposited) {
            uint256 _profit = amountToWithdraw.sub(amountDeposited);
            uint256 _feeTotal = _profit.mul(fee).div(100); //20% fee
            amountToWithdraw = amountToWithdraw.sub(_feeTotal);

            if(_token != DAI) {
                uint _feeReduced = _feeTotal.div(1e12);
                uint _fee = _feeReduced.mul(2).div(5);
                _token.safeTransfer(treasuryWallet, _fee);    
                _token.safeTransfer(communityWallet, _fee);    
                _token.safeTransfer(strategist, _feeReduced.sub(_fee).sub(_fee));    
            } else {
                uint _fee = _feeTotal.mul(2).div(5);
                _token.safeTransfer(treasuryWallet, _fee);
                _token.safeTransfer(communityWallet, _fee);    
                _token.safeTransfer(strategist, _feeTotal.sub(_fee).sub(_fee));    
            }
            
        }

        if(_token != DAI) {
            amountToWithdraw = amountToWithdraw.div(1e12);
        }

        _burn(msg.sender, _shares);
        
        balanceInContract = _token.balanceOf(address(this));
        amountToWithdraw = amountToWithdraw > balanceInContract ? balanceInContract : amountToWithdraw;
        _token.safeTransfer(msg.sender, amountToWithdraw);        
        emit Withdraw(msg.sender, address(_token), amountToWithdraw, _shares);
    }
    /**
        @notice harvests from farms
     */
    function yield() external onlyAdmin {
        require(isEmergency == false, "Cannot call when in emergencyMode");
        strategy.yield();
    }

    /**
        @notice Move funds to strategy and add to farms
     */
    function invest() external onlyAdmin {
        require(isEmergency == false, "Cannot call when in emergencyMode");
        uint daiBalance = DAI.balanceOf(address(this));

        uint ValueInPool = getTotalValueInPool();

        if(daiBalance > 0) {
            uint daiAmountToKeep = ValueInPool.mul(daiPercInVault).div(100);
            
            if(daiBalance > daiAmountToKeep) {
                strategy.deposit(daiBalance.sub(daiAmountToKeep), DAI);
            }
        }

        uint usdcBalance = USDC.balanceOf(address(this));
        if(usdcBalance > 0) {
            uint usdcAmountToKeep = ValueInPool.mul(usdcPercInVault).div(100).div(1e12);

            if(usdcBalance > usdcAmountToKeep) {
                strategy.deposit(usdcBalance.sub(usdcAmountToKeep), USDC);    
            }
        }

        uint usdtBalance = USDT.balanceOf(address(this));
        if(usdtBalance > 0) {
            uint usdtAmountToKeep = ValueInPool.mul(usdtPercInVault).div(100).div(1e12);

            if(usdtBalance > usdtAmountToKeep) {
                strategy.deposit(usdtBalance.sub(usdtAmountToKeep), USDT);
            }
        }
    }
    /**
        @notice This function reinvests the funds withdrawn during emergency to same strategy
     */
    function reInvest() external onlyAdmin {
        isEmergency = false; 

        uint daiBalance = DAI.balanceOf(address(this));

        uint ValueInPool = getTotalValueInPool();

        if(daiBalance > 0) {
            uint daiAmountToKeep = ValueInPool.mul(daiPercInVault).div(100);
            
            if(daiBalance > daiAmountToKeep) {
                strategy.deposit(daiBalance.sub(daiAmountToKeep), DAI);
            }
        }

        uint usdcBalance = USDC.balanceOf(address(this));
        if(usdcBalance > 0) {
            uint usdcAmountToKeep = ValueInPool.mul(usdcPercInVault).div(100).div(1e12);

            if(usdcBalance > usdcAmountToKeep) {
                strategy.deposit(usdcBalance.sub(usdcAmountToKeep), USDC);    
            }
        }

        uint usdtBalance = USDT.balanceOf(address(this));
        if(usdtBalance > 0) {
            uint usdtAmountToKeep = ValueInPool.mul(usdtPercInVault).div(100).div(1e12);

            if(usdtBalance > usdtAmountToKeep) {
                strategy.deposit(usdtBalance.sub(usdtAmountToKeep), USDT);
            }
        }
    }

    function migrateFund(IERC20 _token) external onlyOwner{
        require(unlockTime <= block.timestamp && unlockTime.add(1 days) >= block.timestamp, "Function locked");
        require(_token == DAI || _token == USDC || _token == USDT, "Invalid token");
        require(isEmergency == false, "Cannot call when in emergencyMode");

        uint balanceBefore = _token.balanceOf(address(this));

        strategy.withdrawAllFunds(_token);

        uint balanceAfter = _token.balanceOf(address(this));

        strategy = IStrategy(pendingStrategy);

        DAI.safeApprove(pendingStrategy, type(uint).max);
        USDC.safeApprove(pendingStrategy, type(uint).max);
        USDT.safeApprove(pendingStrategy, type(uint).max);

        //deposit only the withdrawn amount to new strategy
        strategy.deposit(balanceAfter.sub(balanceBefore), _token);

        canSetPendingStrategy = true;

        emit migrateFunds(pendingStrategy, balanceAfter.sub(balanceBefore));

    }

    function unlockMigrateFunds() external onlyOwner{
        unlockTime = block.timestamp.add(LOCKTIME);
        canSetPendingStrategy = false;

        emit UnlockMigrateFunds(unlockTime);
    }

    function emergencyWithdraw(IERC20 _token) external onlyAdmin {
        require(_token == DAI || _token == USDC || _token == USDT, "Invalid token");

        strategy.withdrawAllFunds(_token);
        isEmergency = true;
        tokenWithdrawnInEmergency = _token;


        emit EmergencyWithdraw(admin);
    }

    function _calcNetworkFee(uint _amount) internal view returns (uint _amountAfterFee, uint _fee) {
        uint256 _networkFeePerc;
        if (_amount < networkFeeTier2[0]) {
            // Tier 1
            _networkFeePerc = networkFeePerc[0];
        } else if (_amount <= networkFeeTier2[1]) {
            // Tier 2
            _networkFeePerc = networkFeePerc[1];
        } else if (_amount < customNetworkFeeTier) {
            // Tier 3
            _networkFeePerc = networkFeePerc[2];
        } else {
            // Custom Tier
            _networkFeePerc = customNetworkFeePerc;
        }
        _fee = _amount.mul(_networkFeePerc).div(10000);
        
        _amountAfterFee = _amount.sub(_fee);
    }

    function getTotalValueInPool() public view returns (uint) {
        return strategy.getTotalValueInPool().add(DAI.balanceOf(address(this)))
        .add(USDC.balanceOf(address(this)).mul(1e12))
        .add(USDT.balanceOf(address(this)).mul(1e12));
    }


}

File 2 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../../utils/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

File 3 of 12 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 4 of 12 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20.sol";
import "../../math/SafeMath.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 SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    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'
        // solhint-disable-next-line max-line-length
        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));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @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");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 5 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 6 of 12 : BaseRelayRecipient.sol
// SPDX-License-Identifier:MIT
pragma solidity 0.7.6;

import "../interfaces/IRelayRecipient.sol";

/**
 * A base contract to be inherited by any contract that want to receive relayed transactions
 * A subclass must use "_msgSender()" instead of "msg.sender"
 */
abstract contract BaseRelayRecipient is IRelayRecipient {

    /*
     * Forwarder singleton we accept calls from
     */
    address public trustedForwarder;

    /*
     * require a function to be called through GSN only
     */
    modifier trustedForwarderOnly() {
        require(msg.sender == address(trustedForwarder), "Function can only be called through the trusted Forwarder");
        _;
    }

    function isTrustedForwarder(address forwarder) public override view returns(bool) {
        return forwarder == trustedForwarder;
    }

    /**
     * return the sender of this call.
     * if the call came through our trusted forwarder, return the original sender.
     * otherwise, return `msg.sender`.
     * should be used in the contract anywhere instead of msg.sender
     */
    function _msgSender() internal override virtual view returns (address payable ret) {
        if (msg.data.length >= 24 && isTrustedForwarder(msg.sender)) {
            // At this point we know that the sender is a trusted forwarder,
            // so we trust that the last bytes of msg.data are the verified sender address.
            // extract sender address from the end of msg.data
            assembly {
                ret := shr(96,calldataload(sub(calldatasize(),20)))
            }
        } else {
            return msg.sender;
        }
    }
}

File 7 of 12 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

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 8 of 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 9 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool);

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

File 10 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 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://diligence.consensys.net/posts/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.5.11/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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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 functionCall(target, data, "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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 12 : IRelayRecipient.sol
// SPDX-License-Identifier:MIT
pragma solidity 0.7.6;

/**
 * a contract must implement this interface in order to support relayed transaction.
 * It is better to inherit the BaseRelayRecipient as its implementation.
 */
abstract contract IRelayRecipient {

    /**
     * return if the forwarder is trusted to forward relayed transactions to us.
     * the forwarder is required to verify the sender's signature, and verify
     * the call is not a replay.
     */
    function isTrustedForwarder(address forwarder) public virtual view returns(bool);

    /**
     * return the sender of this call.
     * if the call came through our trusted forwarder, then the real sender is appended as the last 20 bytes
     * of the msg.data.
     * otherwise, return `msg.sender`
     * should be used in the contract anywhere instead of msg.sender
     */
    function _msgSender() internal virtual view returns (address payable);

    function versionRecipient() external virtual view returns (string memory);
}

File 12 of 12 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_biconomy","type":"address"},{"internalType":"address","name":"_communityWallet","type":"address"},{"internalType":"address","name":"_strategist","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sharesMinted","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"admin","type":"address"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"SetAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"biconomy","type":"address"}],"name":"SetBiconomy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldCommunityWallet","type":"address"},{"indexed":false,"internalType":"address","name":"newcommunityWallet","type":"address"}],"name":"SetCommunityWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldCustomNetworkFeePerc","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newCustomNetworkFeePerc","type":"uint256"}],"name":"SetCustomNetworkFeePerc","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"oldNetworkFeePerc","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"newNetworkFeePerc","type":"uint256[]"}],"name":"SetNetworkFeePerc","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newStrategy","type":"address"}],"name":"SetPendingStrategy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldStrategistWallet","type":"address"},{"indexed":false,"internalType":"address","name":"newStrategistWallet","type":"address"}],"name":"SetStrategistWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldTreasury","type":"address"},{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"SetTreasuryWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"SetWithdrawlFee","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"unlockTime","type":"uint256"}],"name":"UnlockMigrateFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sharesBurned","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newStrategy","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrateFunds","type":"event"},{"inputs":[],"name":"DAI","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LOCKTIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDT","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canSetPendingStrategy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"customNetworkFeePerc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"customNetworkFeeTier","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"},{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"depositedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalValueInPool","outputs":[{"internalType":"uint256","name":"","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":[],"name":"invest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isEmergency","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"migrateFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"networkFeePerc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"networkFeeTier2","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":"pendingStrategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reInvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daiPercentage","type":"uint256"},{"internalType":"uint256","name":"_usdcPercentage","type":"uint256"},{"internalType":"uint256","name":"usdtPercentage","type":"uint256"}],"name":"setAmountToKeepInVaultPerc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_biconomy","type":"address"}],"name":"setBiconomy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newCommunityWallet","type":"address"}],"name":"setCommunityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentage","type":"uint256"}],"name":"setCustomNetworkFeePerc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_networkFeePerc","type":"uint256[]"}],"name":"setNetworkFeePerc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategy","type":"address"}],"name":"setPendingStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategistWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTreasury","type":"address"}],"name":"setTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"contract IStrategy","name":"","type":"address"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trustedForwarder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockMigrateFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"versionRecipient","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"yield","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6014600f5560056010819055601181905560125560c0604052690a968163f0a57b400001608090815269152d02c7e14af680000060a052620000469060139060026200080f565b5069d3c21bcecceda10000006014556040805160608101825260648152604b6020820152603291810191909152620000839060159060036200086a565b5060196016556017805460ff19166001179055348015620000a357600080fd5b506040516200536a3803806200536a833981810160405260c0811015620000c957600080fd5b5080516020808301516040808501516060860151608087015160a09097015183518085018552601081526f44414f205661756c742053746f6e6b7360801b8188019081528551808701909652600686526564616f53544f60d01b97860197909752805197989597939692959491939092620001489160039190620008ad565b5080516200015e906004906020840190620008ad565b50506005805460ff191660121790555060006200017a62000394565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600a80546001600160a01b03199081166001600160a01b0388811691909117909255600980548216898416179055600780548216878416179055600680548216868416179055600c80548216858416179055600d805490911691831691909117905562000261736b175474e89094c44da98b954eedeac495271d0f85600019620003b1602090811b62003a5817901c565b6200029073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4885600019620003b1602090811b62003a5817901c565b620002bf73dac17f958d2ee523a2206206994597c13d831ec785600019620003b1602090811b62003a5817901c565b62000302736b175474e89094c44da98b954eedeac495271d0f737a250d5630b4cf539739df2c5dacb4c659f2488d600019620003b1602090811b62003a5817901c565b6200034573a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48737a250d5630b4cf539739df2c5dacb4c659f2488d600019620003b1602090811b62003a5817901c565b6200038873dac17f958d2ee523a2206206994597c13d831ec7737a250d5630b4cf539739df2c5dacb4c659f2488d600019620003b1602090811b62003a5817901c565b50505050505062000947565b6000620003ab620004d560201b62003ba21760201c565b90505b90565b8015806200043b575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200040b57600080fd5b505afa15801562000420573d6000803e3d6000fd5b505050506040513d60208110156200043757600080fd5b5051155b620004785760405162461bcd60e51b8152600401808060200182810382526036815260200180620053346036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620004d09185916200050d16565b505050565b600060183610801590620004ef5750620004ef33620005c9565b1562000505575060131936013560601c620003ae565b5033620003ae565b600062000569826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620005dd60201b62003bd4179092919060201c565b805190915015620004d0578080602001905160208110156200058a57600080fd5b5051620004d05760405162461bcd60e51b815260040180806020018281038252602a8152602001806200530a602a913960400191505060405180910390fd5b6006546001600160a01b0390811691161490565b6060620005ee8484600085620005f8565b90505b9392505050565b6060824710156200063b5760405162461bcd60e51b8152600401808060200182810382526026815260200180620052e46026913960400191505060405180910390fd5b62000646856200075f565b62000698576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310620006d85780518252601f199092019160209182019101620006b7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146200073c576040519150601f19603f3d011682016040523d82523d6000602084013e62000741565b606091505b5090925090506200075482828662000765565b979650505050505050565b3b151590565b6060831562000776575081620005f1565b825115620007875782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620007d3578181015183820152602001620007b9565b50505050905090810190601f168015620008015780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b82805482825590600052602060002090810192821562000858579160200282015b828111156200085857825182906001600160501b031690559160200191906001019062000830565b506200086692915062000930565b5090565b82805482825590600052602060002090810192821562000858579160200282015b8281111562000858578251829060ff169055916020019190600101906200088b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620008e5576000855562000858565b82601f106200090057805160ff191683800117855562000858565b8280016001018555821562000858579182015b828111156200085857825182559160200191906001019062000913565b5b8082111562000866576000815560010162000931565b61498d80620009576000396000f3fe608060405234801561001057600080fd5b50600436106103775760003560e01c8063737ea0ad116101d3578063c54e44eb11610104578063e5ec14d4116100a2578063f2fde38b1161007c578063f2fde38b1461093e578063f6d7eade14610964578063f851a4401461096c578063f99bab241461097457610377565b8063e5ec14d4146108f3578063e8b5e51f14610910578063ec09742d1461091857610377565b8063ce25aa79116100de578063ce25aa79146108ad578063dd62ed3e146108b5578063ddca3f43146108e3578063e0bab4c4146108eb57610377565b8063c54e44eb14610895578063c75748391461089d578063c8ecaf30146108a557610377565b80638da5cb5b11610171578063a8602fea1161014b578063a8602fea1461081e578063a8c62e7614610844578063a9059cbb1461084c578063ac1e50251461087857610377565b80638da5cb5b146107e257806395d89b41146107ea578063a457c2d7146107f257610377565b8063854ab6df116101ad578063854ab6df1461078f57806385d6bb811461079757806389a30271146107bd5780638ce418f9146107c557610377565b8063737ea0ad1461070f57806378fe08d51461077f5780637da0a8771461078757610377565b8063313ce567116102ad578063572b6c051161024b5780636ff1c9bc116102255780636ff1c9bc14610695578063704b6c02146106bb57806370a08231146106e1578063715018a61461070757610377565b8063572b6c051461063b5780635f9e8f82146106615780636e553f651461066957610377565b8063465fc5d211610287578063465fc5d2146105fd578063486ff0cd146106055780634a4643f71461060d57806350be99ad1461063357610377565b8063313ce567146105ab57806339509351146105c95780634626402b146105f557610377565b80631fe4a6861161031a578063242c8e69116102f4578063242c8e691461056d578063251c1aa314610575578063254187721461057d57806328593984146105a357610377565b80631fe4a686146104f6578063238b15981461051a57806323b872dd1461053757610377565b80630c226577116103565780630c226577146104675780630d8b76a81461049057806318160ddd146104b65780631a8f0c0a146104d057610377565b8062f714ce1461037c57806306fdde03146103aa578063095ea7b314610427575b600080fd5b6103a86004803603604081101561039257600080fd5b50803590602001356001600160a01b031661097c565b005b6103b2611288565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103ec5781810151838201526020016103d4565b50505050905090810190601f1680156104195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104536004803603604081101561043d57600080fd5b506001600160a01b03813516906020013561131f565b604080519115158252519081900360200190f35b6103a86004803603606081101561047d57600080fd5b508035906020810135906040013561133d565b6103a8600480360360208110156104a657600080fd5b50356001600160a01b031661139a565b6104be611450565b60408051918252519081900360200190f35b6103a8600480360360208110156104e657600080fd5b50356001600160a01b0316611456565b6104fe6115be565b604080516001600160a01b039092168252519081900360200190f35b6104be6004803603602081101561053057600080fd5b50356115cd565b6104536004803603606081101561054d57600080fd5b506001600160a01b038135811691602081013590911690604001356115ee565b6104be611676565b6104be61167d565b6103a86004803603602081101561059357600080fd5b50356001600160a01b0316611683565b6103a8611b22565b6105b3611c1f565b6040805160ff9092168252519081900360200190f35b610453600480360360408110156105df57600080fd5b506001600160a01b038135169060200135611c28565b6104fe611c76565b6104fe611c85565b6103b2611c94565b6104be6004803603602081101561062357600080fd5b50356001600160a01b0316611ccb565b6103a8611cdd565b6104536004803603602081101561065157600080fd5b50356001600160a01b0316612117565b61045361212b565b6103a86004803603604081101561067f57600080fd5b50803590602001356001600160a01b0316612139565b6103a8600480360360208110156106ab57600080fd5b50356001600160a01b0316612726565b6103a8600480360360208110156106d157600080fd5b50356001600160a01b031661290f565b6104be600480360360208110156106f757600080fd5b50356001600160a01b0316612a1e565b6103a8612a39565b6103a86004803603602081101561072557600080fd5b81019060208101813564010000000081111561074057600080fd5b82018360208201111561075257600080fd5b8035906020019184602083028401116401000000008311171561077457600080fd5b509092509050612af8565b6104be612d02565b6104fe612d08565b610453612d17565b6103a8600480360360208110156107ad57600080fd5b50356001600160a01b0316612d20565b6104fe612ead565b6103a8600480360360208110156107db57600080fd5b5035612ec5565b6104fe612fc4565b6103b2612fd8565b6104536004803603604081101561080857600080fd5b506001600160a01b038135169060200135613039565b6103a86004803603602081101561083457600080fd5b50356001600160a01b03166130a1565b6104fe61322e565b6104536004803603604081101561086257600080fd5b506001600160a01b03813516906020013561323d565b6103a86004803603602081101561088e57600080fd5b5035613251565b6104fe6132ee565b6104fe613306565b6104be613315565b6104be61350e565b6104be600480360360408110156108cb57600080fd5b506001600160a01b0381358116916020013516613514565b6104be61353f565b6104fe613545565b6104be6004803603602081101561090957600080fd5b503561355d565b6103a861356d565b6103a86004803603602081101561092e57600080fd5b50356001600160a01b0316613655565b6103a86004803603602081101561095457600080fd5b50356001600160a01b0316613864565b6104fe61397f565b6104fe613997565b6103a86139a6565b3332146109d0576040805162461bcd60e51b815260206004820152600860248201527f4f6e6c7920454f41000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038116736b175474e89094c44da98b954eedeac495271d0f1480610a1757506001600160a01b03811673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48145b80610a3e57506001600160a01b03811673dac17f958d2ee523a2206206994597c13d831ec7145b610a7f576040805162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b604482015290519081900360640190fd5b60008211610ad4576040805162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015290519081900360640190fd5b6000610adf33612a1e565b905082811015610b36576040805162461bcd60e51b815260206004820152601060248201527f496e7375666669656e742066756e647300000000000000000000000000000000604482015290519081900360640190fd5b33600090815260086020526040812054610b5c908390610b569087613beb565b90613c44565b33600090815260086020526040902054909150610b799082613cab565b33600090815260086020526040812091909155610ba9610b97611450565b610b5687610ba3613315565b90613beb565b905060006001600160a01b038516736b175474e89094c44da98b954eedeac495271d0f14610c5e57610c5964e8d4a51000866001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c2757600080fd5b505afa158015610c3b573d6000803e3d6000fd5b505050506040513d6020811015610c5157600080fd5b505190613beb565b610cd1565b604080516370a0823160e01b815230600482015290516001600160a01b038716916370a08231916024808301926020929190829003018186803b158015610ca457600080fd5b505afa158015610cb8573d6000803e3d6000fd5b505050506040513d6020811015610cce57600080fd5b50515b905081811015610fe65760175460ff6101009091041615156001148015610d0c57506017546001600160a01b03868116620100009092041614155b15610f5d57604080516002808252606082018352600092602083019080368337019050509050601760029054906101000a90046001600160a01b031681600081518110610d5557fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508581600181518110610d8357fe5b6001600160a01b039283166020918202929092010152737a250d5630b4cf539739df2c5dacb4c659f2488d906338ed1739908816736b175474e89094c44da98b954eedeac495271d0f14610de957610de464e8d4a51000610b568787613cab565b610df3565b610df38585613cab565b60008430426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610e68578181015183820152602001610e50565b505050509050019650505050505050600060405180830381600087803b158015610e9157600080fd5b505af1158015610ea5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610ece57600080fd5b8101908080516040519392919084640100000000821115610eee57600080fd5b908301906020820185811115610f0357600080fd5b8251866020820283011164010000000082111715610f2057600080fd5b82525081516020918201928201910280838360005b83811015610f4d578181015183820152602001610f35565b5050505090500160405250505050505b601754610100900460ff16610fe6576007546001600160a01b031662f714ce610f868484613cab565b876040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015610fcd57600080fd5b505af1158015610fe1573d6000803e3d6000fd5b505050505b8282111561115f576000610ffa8385613cab565b905060006110186064610b56600f5485613beb90919063ffffffff16565b90506110248482613cab565b93506001600160a01b038716736b175474e89094c44da98b954eedeac495271d0f146110e257600061105b8264e8d4a51000613c44565b9050600061106f6005610b56846002613beb565b60095490915061108c906001600160a01b038b8116911683613d08565b600c546110a6906001600160a01b038b8116911683613d08565b600d546110db906001600160a01b03166110ca836110c48682613cab565b90613cab565b6001600160a01b038c169190613d08565b505061115c565b60006110f46005610b56846002613beb565b600954909150611111906001600160a01b038a8116911683613d08565b600c5461112b906001600160a01b038a8116911683613d08565b600d5461115a906001600160a01b0316611149836110c48682613cab565b6001600160a01b038b169190613d08565b505b50505b6001600160a01b038516736b175474e89094c44da98b954eedeac495271d0f14611195576111928264e8d4a51000613c44565b91505b61119f3387613d73565b604080516370a0823160e01b815230600482015290516001600160a01b038716916370a08231916024808301926020929190829003018186803b1580156111e557600080fd5b505afa1580156111f9573d6000803e3d6000fd5b505050506040513d602081101561120f57600080fd5b505190508082116112205781611222565b805b91506112386001600160a01b0386163384613d08565b604080518381526020810188905281516001600160a01b0388169233927ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567929081900390910190a3505050505050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156113145780601f106112e957610100808354040283529160200191611314565b820191906000526020600020905b8154815290600101906020018083116112f757829003601f168201915b505050505090505b90565b600061133361132c613e6f565b8484613e79565b5060015b92915050565b600a546001600160a01b03163314611389576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b601091909155601191909155601255565b6113a2613e6f565b6001600160a01b03166113b3612fc4565b6001600160a01b0316146113fc576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b600680546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fbd83a64c8b36dd6255edf98e81aab9e70343df51463f4a125c5b2ab882bc404e9181900360200190a150565b60025490565b61145e613e6f565b6001600160a01b031661146f612fc4565b6001600160a01b0316146114b8576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b038116611513576040805162461bcd60e51b815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015290519081900360640190fd5b60175460ff1661156a576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420736574206e6577207374726174656779000000000000000000604482015290519081900360640190fd5b600b80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f2e92d71287661afbffa7b2606ab5cd0c4298416dd6309a764c1684a235ed02179181900360200190a150565b600d546001600160a01b031681565b601581815481106115dd57600080fd5b600091825260209091200154905081565b60006115fb848484613f65565b61166b84611607613e6f565b611666856040518060600160405280602881526020016147c8602891396001600160a01b038a16600090815260016020526040812090611645613e6f565b6001600160a01b0316815260208101919091526040016000205491906140c0565b613e79565b5060015b9392505050565b6202a30081565b600e5481565b61168b613e6f565b6001600160a01b031661169c612fc4565b6001600160a01b0316146116e5576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b42600e54111580156117075750600e5442906117049062015180614157565b10155b611758576040805162461bcd60e51b815260206004820152600f60248201527f46756e6374696f6e206c6f636b65640000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038116736b175474e89094c44da98b954eedeac495271d0f148061179f57506001600160a01b03811673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48145b806117c657506001600160a01b03811673dac17f958d2ee523a2206206994597c13d831ec7145b611807576040805162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b604482015290519081900360640190fd5b601754610100900460ff161561184e5760405162461bcd60e51b815260040180806020018281038252602181526020018061488e6021913960400191505060405180910390fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561189d57600080fd5b505afa1580156118b1573d6000803e3d6000fd5b505050506040513d60208110156118c757600080fd5b5051600754604080516332dee40b60e01b81526001600160a01b03868116600483015291519394509116916332dee40b9160248082019260009290919082900301818387803b15801561191957600080fd5b505af115801561192d573d6000803e3d6000fd5b505050506000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561198057600080fd5b505afa158015611994573d6000803e3d6000fd5b505050506040513d60208110156119aa57600080fd5b5051600b54600780546001600160a01b0319166001600160a01b0390921691821790559091506119f290736b175474e89094c44da98b954eedeac495271d0f90600019613a58565b600b54611a209073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906001600160a01b0316600019613a58565b600b54611a4e9073dac17f958d2ee523a2206206994597c13d831ec7906001600160a01b0316600019613a58565b6007546001600160a01b0316636e553f65611a698385613cab565b856040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015611ab057600080fd5b505af1158015611ac4573d6000803e3d6000fd5b50506017805460ff191660011790555050600b546001600160a01b03167fa9c117f7b6846ef96df18c788b663977460b17797467b5d2b4af658b32bf993f611b0c8385613cab565b60408051918252519081900360200190a2505050565b600a546001600160a01b03163314611b6e576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b601754610100900460ff1615611bb55760405162461bcd60e51b815260040180806020018281038252602181526020018061488e6021913960400191505060405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b031663285939846040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611c0557600080fd5b505af1158015611c19573d6000803e3d6000fd5b50505050565b60055460ff1690565b6000611333611c35613e6f565b846116668560016000611c46613e6f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490614157565b6009546001600160a01b031681565b600b546001600160a01b031681565b60408051808201909152600181527f3100000000000000000000000000000000000000000000000000000000000000602082015290565b60086020526000908152604090205481565b600a546001600160a01b03163314611d29576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b6017805461ff0019169055604080516370a0823160e01b81523060048201529051600091736b175474e89094c44da98b954eedeac495271d0f916370a0823191602480820192602092909190829003018186803b158015611d8957600080fd5b505afa158015611d9d573d6000803e3d6000fd5b505050506040513d6020811015611db357600080fd5b505190506000611dc1613315565b90508115611e80576000611de56064610b5660115485613beb90919063ffffffff16565b905080831115611e7e576007546001600160a01b0316636e553f65611e0a8584613cab565b736b175474e89094c44da98b954eedeac495271d0f6040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015611e6557600080fd5b505af1158015611e79573d6000803e3d6000fd5b505050505b505b604080516370a0823160e01b8152306004820152905160009173a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48916370a0823191602480820192602092909190829003018186803b158015611ed557600080fd5b505afa158015611ee9573d6000803e3d6000fd5b505050506040513d6020811015611eff57600080fd5b505190508015611fc9576000611f2e64e8d4a51000610b566064610b5660105488613beb90919063ffffffff16565b905080821115611fc7576007546001600160a01b0316636e553f65611f538484613cab565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015611fae57600080fd5b505af1158015611fc2573d6000803e3d6000fd5b505050505b505b604080516370a0823160e01b8152306004820152905160009173dac17f958d2ee523a2206206994597c13d831ec7916370a0823191602480820192602092909190829003018186803b15801561201e57600080fd5b505afa158015612032573d6000803e3d6000fd5b505050506040513d602081101561204857600080fd5b505190508015611c1957600061207764e8d4a51000610b566064610b5660125489613beb90919063ffffffff16565b905080821115612110576007546001600160a01b0316636e553f6561209c8484613cab565b73dac17f958d2ee523a2206206994597c13d831ec76040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b1580156120f757600080fd5b505af115801561210b573d6000803e3d6000fd5b505050505b5050505050565b6006546001600160a01b0390811691161490565b601754610100900460ff1681565b3332148061214b575061214b33612117565b61219c576040805162461bcd60e51b815260206004820152601460248201527f4f6e6c7920454f41206f72204269636f6e6f6d79000000000000000000000000604482015290519081900360640190fd5b601754610100900460ff16156121e35760405162461bcd60e51b815260040180806020018281038252602181526020018061488e6021913960400191505060405180910390fd5b60008211612238576040805162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015290519081900360640190fd5b600080612243613e6f565b90506001600160a01b038316736b175474e89094c44da98b954eedeac495271d0f14156123b957600080612276866141b1565b91509150612282611450565b156122a9576122a4612292613315565b610b5661229d611450565b8590613beb565b6122ab565b815b93506122cd736b175474e89094c44da98b954eedeac495271d0f843089614264565b60006122df6005610b56846002613beb565b60095490915061230e90736b175474e89094c44da98b954eedeac495271d0f906001600160a01b031683613d08565b600c5461233a90736b175474e89094c44da98b954eedeac495271d0f906001600160a01b031683613d08565b600d54612374906001600160a01b0316612358836110c48682613cab565b736b175474e89094c44da98b954eedeac495271d0f9190613d08565b6001600160a01b0384166000908152600860205260409020546123979084614157565b6001600160a01b038516600090815260086020526040902055506126c3915050565b6001600160a01b03831673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48141561253d576000806123f86123f38764e8d4a51000613beb565b6141b1565b91509150612404611450565b1561241957612414612292613315565b61241b565b815b935061243d73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48843089614264565b600061244e8264e8d4a51000613c44565b905060006124626005610b56846002613beb565b6009549091506124919073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906001600160a01b031683613d08565b600c546124bd9073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906001600160a01b031683613d08565b600d546124f7906001600160a01b03166124db836110c48682613cab565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489190613d08565b6001600160a01b03851660009081526008602052604090205461251a9085614157565b6001600160a01b038616600090815260086020526040902055506126c392505050565b6001600160a01b03831673dac17f958d2ee523a2206206994597c13d831ec71415612676576000806125776123f38764e8d4a51000613beb565b91509150612583611450565b1561259857612593612292613315565b61259a565b815b93506125bc73dac17f958d2ee523a2206206994597c13d831ec7843089614264565b60006125cd8264e8d4a51000613c44565b905060006125e16005610b56846002613beb565b6009549091506126109073dac17f958d2ee523a2206206994597c13d831ec7906001600160a01b031683613d08565b600c5461263c9073dac17f958d2ee523a2206206994597c13d831ec7906001600160a01b031683613d08565b600d546124f7906001600160a01b031661265a836110c48682613cab565b73dac17f958d2ee523a2206206994597c13d831ec79190613d08565b6040805162461bcd60e51b815260206004820152601560248201527f496e76616c6964206465706f73697420546f6b656e0000000000000000000000604482015290519081900360640190fd5b6126cd81836142d7565b826001600160a01b0316816001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78685604051808381526020018281526020019250505060405180910390a350505050565b600a546001600160a01b03163314612772576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116736b175474e89094c44da98b954eedeac495271d0f14806127b957506001600160a01b03811673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48145b806127e057506001600160a01b03811673dac17f958d2ee523a2206206994597c13d831ec7145b612821576040805162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b604482015290519081900360640190fd5b600754604080516332dee40b60e01b81526001600160a01b038481166004830152915191909216916332dee40b91602480830192600092919082900301818387803b15801561286f57600080fd5b505af1158015612883573d6000803e3d6000fd5b5050601780546001600160a01b0380861662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff61ff0019909316610100179290921691909117909155600a546040805191909216815290517f5e7b34819cd91b239220bec92fcfd3c10da2214ba13e4e2b1f6c9cfdbd68a9a29350908190036020019150a150565b612917613e6f565b6001600160a01b0316612928612fc4565b6001600160a01b031614612971576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b0381166129bb576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f848ac24ab84501710d6631faab117b66b79aba7ec6f7778cf3bcff428c1a4efc929181900390910190a15050565b6001600160a01b031660009081526020819052604090205490565b612a41613e6f565b6001600160a01b0316612a52612fc4565b6001600160a01b031614612a9b576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805474ffffffffffffffffffffffffffffffffffffffff0019169055565b612b00613e6f565b6001600160a01b0316612b11612fc4565b6001600160a01b031614612b5a576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b610bb882826000818110612b6a57fe5b90506020020135108015612b925750610bb882826001818110612b8957fe5b90506020020135105b8015612bb25750610bb882826002818110612ba957fe5b90506020020135105b612bed5760405162461bcd60e51b815260040180806020018281038252602e815260200180614753602e913960400191505060405180910390fd5b60006015805480602002602001604051908101604052809291908181526020018280548015612c3b57602002820191906000526020600020905b815481526020019060010190808311612c27575b50505050509050828260159190612c5392919061463f565b507f3227c0eb87cc3f1cd6f5dbf94481c11a412dc6a3fcbaef0a10671bfe878d46a5818484604051808060200180602001838103835286818151815260200191508051906020019060200280838360005b83811015612cbc578181015183820152602001612ca4565b505050509050018381038252858582818152602001925060200280828437600083820152604051601f909101601f191690920182900397509095505050505050a1505050565b60165481565b6006546001600160a01b031681565b60175460ff1681565b612d28613e6f565b6001600160a01b0316612d39612fc4565b6001600160a01b031614612d82576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b038116612dcc576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600c80546001600160a01b038381166001600160a01b031983168117909355600754604080517f85d6bb81000000000000000000000000000000000000000000000000000000008152600481019590955251928216939116916385d6bb819160248082019260009290919082900301818387803b158015612e4c57600080fd5b505af1158015612e60573d6000803e3d6000fd5b5050604080516001600160a01b0380861682528616602082015281517f7c2cfb870a55cea02043717c09aa9837391f1bc8eedb1dbd1a6c1a3ea5232e0a9450908190039091019150a15050565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b612ecd613e6f565b6001600160a01b0316612ede612fc4565b6001600160a01b031614612f27576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6015600281548110612f3557fe5b90600052602060002001548110612f7d5760405162461bcd60e51b81526004018080602001828103825260388152602001806148316038913960400191505060405180910390fd5b6016805490829055604080518281526020810184905281517f88956a36dde8b18c54b71bdb817c8ac920184c2365db87fb7b44c5aecaf738ad929181900390910190a15050565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156113145780601f106112e957610100808354040283529160200191611314565b6000611333613046613e6f565b84611666856040518060600160405280602581526020016149336025913960016000613070613e6f565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906140c0565b6130a9613e6f565b6001600160a01b03166130ba612fc4565b6001600160a01b031614613103576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b03811661314d576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600980546001600160a01b038381166001600160a01b031983168117909355600754604080517fa8602fea0000000000000000000000000000000000000000000000000000000081526004810195909552519282169391169163a8602fea9160248082019260009290919082900301818387803b1580156131cd57600080fd5b505af11580156131e1573d6000803e3d6000fd5b5050604080516001600160a01b0380861682528616602082015281517febcecb9db04071cf4b4ecc1e2e1e4603e74c9382d6e36c3531f0b62af4c78ed79450908190039091019150a15050565b6007546001600160a01b031681565b600061133361324a613e6f565b8484613f65565b613259613e6f565b6001600160a01b031661326a612fc4565b6001600160a01b0316146132b3576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b600f8190556040805182815290517f6c862c95209ac13de6ba58fa7963e5fb78b569dce070efa64c8f0d86d5cc7c249181900360200190a150565b73dac17f958d2ee523a2206206994597c13d831ec781565b600c546001600160a01b031681565b600061350961338464e8d4a5100073dac17f958d2ee523a2206206994597c13d831ec76001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c2757600080fd5b6135036133f164e8d4a5100073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c2757600080fd5b604080516370a0823160e01b8152306004820152905161350391736b175474e89094c44da98b954eedeac495271d0f916370a0823191602480820192602092909190829003018186803b15801561344757600080fd5b505afa15801561345b573d6000803e3d6000fd5b505050506040513d602081101561347157600080fd5b5051600754604080517fc8ecaf3000000000000000000000000000000000000000000000000000000000815290516001600160a01b039092169163c8ecaf3091600480820192602092909190829003018186803b1580156134d157600080fd5b505afa1580156134e5573d6000803e3d6000fd5b505050506040513d60208110156134fb57600080fd5b505190614157565b90614157565b905090565b60145481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600f5481565b736b175474e89094c44da98b954eedeac495271d0f81565b601381815481106115dd57600080fd5b600a546001600160a01b031633146135b9576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b601754610100900460ff16156136005760405162461bcd60e51b815260040180806020018281038252602181526020018061488e6021913960400191505060405180910390fd5b604080516370a0823160e01b81523060048201529051600091736b175474e89094c44da98b954eedeac495271d0f916370a0823191602480820192602092909190829003018186803b158015611d8957600080fd5b61365d613e6f565b6001600160a01b031661366e612fc4565b6001600160a01b0316146136b7576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6136bf612fc4565b6001600160a01b0316336001600160a01b031614806136e85750600d546001600160a01b031633145b613739576040805162461bcd60e51b815260206004820152601860248201527f4f6e6c79206f776e6572206f7220737472617465676973740000000000000000604482015290519081900360640190fd5b6001600160a01b038116613783576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600d80546001600160a01b038381166001600160a01b031983168117909355600754604080517fc7b9d5300000000000000000000000000000000000000000000000000000000081526004810195909552519282169391169163c7b9d5309160248082019260009290919082900301818387803b15801561380357600080fd5b505af1158015613817573d6000803e3d6000fd5b5050604080516001600160a01b0380861682528616602082015281517f2535c9dd3f3fd17150d4e30e0c6f7a750497f21431ccbff950ca77042cc772869450908190039091019150a15050565b61386c613e6f565b6001600160a01b031661387d612fc4565b6001600160a01b0316146138c6576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b03811661390b5760405162461bcd60e51b81526004018080602001828103825260268152602001806146e56026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b600a546001600160a01b031681565b6139ae613e6f565b6001600160a01b03166139bf612fc4565b6001600160a01b031614613a08576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b613a15426202a300614157565b600e8190556017805460ff1916905560408051918252517fff76cf14f454ffa693b9eedc298fb8c0f71d59d16a1df3e1489a8c0a41922efc9181900360200190a1565b801580613af75750604080517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015613ac957600080fd5b505afa158015613add573d6000803e3d6000fd5b505050506040513d6020811015613af357600080fd5b5051155b613b325760405162461bcd60e51b81526004018080602001828103825260368152602001806148fd6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b03167f095ea7b300000000000000000000000000000000000000000000000000000000179052613b9d9084906143c7565b505050565b600060183610801590613bb95750613bb933612117565b15613bcd575060131936013560601c61131c565b503361131c565b6060613be38484600085614478565b949350505050565b600082613bfa57506000611337565b82820282848281613c0757fe5b041461166f5760405162461bcd60e51b81526004018080602001828103825260218152602001806147a76021913960400191505060405180910390fd5b6000808211613c9a576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381613ca357fe5b049392505050565b600082821115613d02576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b03167fa9059cbb00000000000000000000000000000000000000000000000000000000179052613b9d9084906143c7565b6001600160a01b038216613db85760405162461bcd60e51b81526004018080602001828103825260218152602001806148106021913960400191505060405180910390fd5b613dc482600083613b9d565b613e01816040518060600160405280602281526020016146c3602291396001600160a01b03851660009081526020819052604090205491906140c0565b6001600160a01b038316600090815260208190526040902055600254613e279082613cab565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000613509613ba2565b6001600160a01b038316613ebe5760405162461bcd60e51b81526004018080602001828103825260248152602001806148af6024913960400191505060405180910390fd5b6001600160a01b038216613f035760405162461bcd60e51b815260040180806020018281038252602281526020018061470b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316613faa5760405162461bcd60e51b81526004018080602001828103825260258152602001806148696025913960400191505060405180910390fd5b6001600160a01b038216613fef5760405162461bcd60e51b81526004018080602001828103825260238152602001806146a06023913960400191505060405180910390fd5b613ffa838383613b9d565b6140378160405180606001604052806026815260200161472d602691396001600160a01b03861660009081526020819052604090205491906140c0565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546140669082614157565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561414f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156141145781810151838201526020016140fc565b50505050905090810190601f1680156141415780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561166f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600080600060136000815481106141c457fe5b90600052602060002001548410156141f65760156000815481106141e457fe5b90600052602060002001549050614240565b601360018154811061420457fe5b906000526020600020015484116142235760156001815481106141e457fe5b60145484101561423b5760156002815481106141e457fe5b506016545b614250612710610b568684613beb565b915061425c8483613cab565b925050915091565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03167f23b872dd00000000000000000000000000000000000000000000000000000000179052611c199085906143c7565b6001600160a01b038216614332576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61433e60008383613b9d565b60025461434b9082614157565b6002556001600160a01b0382166000908152602081905260409020546143719082614157565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600061441c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613bd49092919063ffffffff16565b805190915015613b9d5780806020019051602081101561443b57600080fd5b5051613b9d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806148d3602a913960400191505060405180910390fd5b6060824710156144b95760405162461bcd60e51b81526004018080602001828103825260268152602001806147816026913960400191505060405180910390fd5b6144c2856145d3565b614513576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106145515780518252601f199092019160209182019101614532565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146145b3576040519150601f19603f3d011682016040523d82523d6000602084013e6145b8565b606091505b50915091506145c88282866145d9565b979650505050505050565b3b151590565b606083156145e857508161166f565b8251156145f85782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156141145781810151838201526020016140fc565b82805482825590600052602060002090810192821561467a579160200282015b8281111561467a57823582559160200191906001019061465f565b5061468692915061468a565b5090565b5b80821115614686576000815560010161468b56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654e6574776f726b206665652070657263656e746167652063616e6e6f74206265206d6f7265207468616e20333025416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f2061646472657373437573746f6d206e6574776f726b206665652070657263656e746167652063616e6e6f74206265206d6f7265207468616e2074696572203245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737343616e6e6f742063616c6c207768656e20696e20656d657267656e63794d6f646545524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220869aeddb7dca794b7d6b909405cc9422a15fb894e23a61fe07332902bd69cb0a64736f6c63430007060033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000000059e83877bd248cbfe392dbb5a8a29959bcb485920000000000000000000000003f68a3c1023d736d8be867ca49cb18c543373b990000000000000000000000004a73dd597b8257e651ef12fd04a91a8819c8941600000000000000000000000084a0856b038eaad1cc7e297cf34a7e72685a8693000000000000000000000000dd6c35aff646b2fb7d8a8955ccbe0994409348d000000000000000000000000054d003d451c973ad7693f825d5b78adfc0efe934

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103775760003560e01c8063737ea0ad116101d3578063c54e44eb11610104578063e5ec14d4116100a2578063f2fde38b1161007c578063f2fde38b1461093e578063f6d7eade14610964578063f851a4401461096c578063f99bab241461097457610377565b8063e5ec14d4146108f3578063e8b5e51f14610910578063ec09742d1461091857610377565b8063ce25aa79116100de578063ce25aa79146108ad578063dd62ed3e146108b5578063ddca3f43146108e3578063e0bab4c4146108eb57610377565b8063c54e44eb14610895578063c75748391461089d578063c8ecaf30146108a557610377565b80638da5cb5b11610171578063a8602fea1161014b578063a8602fea1461081e578063a8c62e7614610844578063a9059cbb1461084c578063ac1e50251461087857610377565b80638da5cb5b146107e257806395d89b41146107ea578063a457c2d7146107f257610377565b8063854ab6df116101ad578063854ab6df1461078f57806385d6bb811461079757806389a30271146107bd5780638ce418f9146107c557610377565b8063737ea0ad1461070f57806378fe08d51461077f5780637da0a8771461078757610377565b8063313ce567116102ad578063572b6c051161024b5780636ff1c9bc116102255780636ff1c9bc14610695578063704b6c02146106bb57806370a08231146106e1578063715018a61461070757610377565b8063572b6c051461063b5780635f9e8f82146106615780636e553f651461066957610377565b8063465fc5d211610287578063465fc5d2146105fd578063486ff0cd146106055780634a4643f71461060d57806350be99ad1461063357610377565b8063313ce567146105ab57806339509351146105c95780634626402b146105f557610377565b80631fe4a6861161031a578063242c8e69116102f4578063242c8e691461056d578063251c1aa314610575578063254187721461057d57806328593984146105a357610377565b80631fe4a686146104f6578063238b15981461051a57806323b872dd1461053757610377565b80630c226577116103565780630c226577146104675780630d8b76a81461049057806318160ddd146104b65780631a8f0c0a146104d057610377565b8062f714ce1461037c57806306fdde03146103aa578063095ea7b314610427575b600080fd5b6103a86004803603604081101561039257600080fd5b50803590602001356001600160a01b031661097c565b005b6103b2611288565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103ec5781810151838201526020016103d4565b50505050905090810190601f1680156104195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104536004803603604081101561043d57600080fd5b506001600160a01b03813516906020013561131f565b604080519115158252519081900360200190f35b6103a86004803603606081101561047d57600080fd5b508035906020810135906040013561133d565b6103a8600480360360208110156104a657600080fd5b50356001600160a01b031661139a565b6104be611450565b60408051918252519081900360200190f35b6103a8600480360360208110156104e657600080fd5b50356001600160a01b0316611456565b6104fe6115be565b604080516001600160a01b039092168252519081900360200190f35b6104be6004803603602081101561053057600080fd5b50356115cd565b6104536004803603606081101561054d57600080fd5b506001600160a01b038135811691602081013590911690604001356115ee565b6104be611676565b6104be61167d565b6103a86004803603602081101561059357600080fd5b50356001600160a01b0316611683565b6103a8611b22565b6105b3611c1f565b6040805160ff9092168252519081900360200190f35b610453600480360360408110156105df57600080fd5b506001600160a01b038135169060200135611c28565b6104fe611c76565b6104fe611c85565b6103b2611c94565b6104be6004803603602081101561062357600080fd5b50356001600160a01b0316611ccb565b6103a8611cdd565b6104536004803603602081101561065157600080fd5b50356001600160a01b0316612117565b61045361212b565b6103a86004803603604081101561067f57600080fd5b50803590602001356001600160a01b0316612139565b6103a8600480360360208110156106ab57600080fd5b50356001600160a01b0316612726565b6103a8600480360360208110156106d157600080fd5b50356001600160a01b031661290f565b6104be600480360360208110156106f757600080fd5b50356001600160a01b0316612a1e565b6103a8612a39565b6103a86004803603602081101561072557600080fd5b81019060208101813564010000000081111561074057600080fd5b82018360208201111561075257600080fd5b8035906020019184602083028401116401000000008311171561077457600080fd5b509092509050612af8565b6104be612d02565b6104fe612d08565b610453612d17565b6103a8600480360360208110156107ad57600080fd5b50356001600160a01b0316612d20565b6104fe612ead565b6103a8600480360360208110156107db57600080fd5b5035612ec5565b6104fe612fc4565b6103b2612fd8565b6104536004803603604081101561080857600080fd5b506001600160a01b038135169060200135613039565b6103a86004803603602081101561083457600080fd5b50356001600160a01b03166130a1565b6104fe61322e565b6104536004803603604081101561086257600080fd5b506001600160a01b03813516906020013561323d565b6103a86004803603602081101561088e57600080fd5b5035613251565b6104fe6132ee565b6104fe613306565b6104be613315565b6104be61350e565b6104be600480360360408110156108cb57600080fd5b506001600160a01b0381358116916020013516613514565b6104be61353f565b6104fe613545565b6104be6004803603602081101561090957600080fd5b503561355d565b6103a861356d565b6103a86004803603602081101561092e57600080fd5b50356001600160a01b0316613655565b6103a86004803603602081101561095457600080fd5b50356001600160a01b0316613864565b6104fe61397f565b6104fe613997565b6103a86139a6565b3332146109d0576040805162461bcd60e51b815260206004820152600860248201527f4f6e6c7920454f41000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038116736b175474e89094c44da98b954eedeac495271d0f1480610a1757506001600160a01b03811673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48145b80610a3e57506001600160a01b03811673dac17f958d2ee523a2206206994597c13d831ec7145b610a7f576040805162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b604482015290519081900360640190fd5b60008211610ad4576040805162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015290519081900360640190fd5b6000610adf33612a1e565b905082811015610b36576040805162461bcd60e51b815260206004820152601060248201527f496e7375666669656e742066756e647300000000000000000000000000000000604482015290519081900360640190fd5b33600090815260086020526040812054610b5c908390610b569087613beb565b90613c44565b33600090815260086020526040902054909150610b799082613cab565b33600090815260086020526040812091909155610ba9610b97611450565b610b5687610ba3613315565b90613beb565b905060006001600160a01b038516736b175474e89094c44da98b954eedeac495271d0f14610c5e57610c5964e8d4a51000866001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c2757600080fd5b505afa158015610c3b573d6000803e3d6000fd5b505050506040513d6020811015610c5157600080fd5b505190613beb565b610cd1565b604080516370a0823160e01b815230600482015290516001600160a01b038716916370a08231916024808301926020929190829003018186803b158015610ca457600080fd5b505afa158015610cb8573d6000803e3d6000fd5b505050506040513d6020811015610cce57600080fd5b50515b905081811015610fe65760175460ff6101009091041615156001148015610d0c57506017546001600160a01b03868116620100009092041614155b15610f5d57604080516002808252606082018352600092602083019080368337019050509050601760029054906101000a90046001600160a01b031681600081518110610d5557fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508581600181518110610d8357fe5b6001600160a01b039283166020918202929092010152737a250d5630b4cf539739df2c5dacb4c659f2488d906338ed1739908816736b175474e89094c44da98b954eedeac495271d0f14610de957610de464e8d4a51000610b568787613cab565b610df3565b610df38585613cab565b60008430426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610e68578181015183820152602001610e50565b505050509050019650505050505050600060405180830381600087803b158015610e9157600080fd5b505af1158015610ea5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610ece57600080fd5b8101908080516040519392919084640100000000821115610eee57600080fd5b908301906020820185811115610f0357600080fd5b8251866020820283011164010000000082111715610f2057600080fd5b82525081516020918201928201910280838360005b83811015610f4d578181015183820152602001610f35565b5050505090500160405250505050505b601754610100900460ff16610fe6576007546001600160a01b031662f714ce610f868484613cab565b876040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015610fcd57600080fd5b505af1158015610fe1573d6000803e3d6000fd5b505050505b8282111561115f576000610ffa8385613cab565b905060006110186064610b56600f5485613beb90919063ffffffff16565b90506110248482613cab565b93506001600160a01b038716736b175474e89094c44da98b954eedeac495271d0f146110e257600061105b8264e8d4a51000613c44565b9050600061106f6005610b56846002613beb565b60095490915061108c906001600160a01b038b8116911683613d08565b600c546110a6906001600160a01b038b8116911683613d08565b600d546110db906001600160a01b03166110ca836110c48682613cab565b90613cab565b6001600160a01b038c169190613d08565b505061115c565b60006110f46005610b56846002613beb565b600954909150611111906001600160a01b038a8116911683613d08565b600c5461112b906001600160a01b038a8116911683613d08565b600d5461115a906001600160a01b0316611149836110c48682613cab565b6001600160a01b038b169190613d08565b505b50505b6001600160a01b038516736b175474e89094c44da98b954eedeac495271d0f14611195576111928264e8d4a51000613c44565b91505b61119f3387613d73565b604080516370a0823160e01b815230600482015290516001600160a01b038716916370a08231916024808301926020929190829003018186803b1580156111e557600080fd5b505afa1580156111f9573d6000803e3d6000fd5b505050506040513d602081101561120f57600080fd5b505190508082116112205781611222565b805b91506112386001600160a01b0386163384613d08565b604080518381526020810188905281516001600160a01b0388169233927ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb567929081900390910190a3505050505050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156113145780601f106112e957610100808354040283529160200191611314565b820191906000526020600020905b8154815290600101906020018083116112f757829003601f168201915b505050505090505b90565b600061133361132c613e6f565b8484613e79565b5060015b92915050565b600a546001600160a01b03163314611389576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b601091909155601191909155601255565b6113a2613e6f565b6001600160a01b03166113b3612fc4565b6001600160a01b0316146113fc576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b600680546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fbd83a64c8b36dd6255edf98e81aab9e70343df51463f4a125c5b2ab882bc404e9181900360200190a150565b60025490565b61145e613e6f565b6001600160a01b031661146f612fc4565b6001600160a01b0316146114b8576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b038116611513576040805162461bcd60e51b815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015290519081900360640190fd5b60175460ff1661156a576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420736574206e6577207374726174656779000000000000000000604482015290519081900360640190fd5b600b80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f2e92d71287661afbffa7b2606ab5cd0c4298416dd6309a764c1684a235ed02179181900360200190a150565b600d546001600160a01b031681565b601581815481106115dd57600080fd5b600091825260209091200154905081565b60006115fb848484613f65565b61166b84611607613e6f565b611666856040518060600160405280602881526020016147c8602891396001600160a01b038a16600090815260016020526040812090611645613e6f565b6001600160a01b0316815260208101919091526040016000205491906140c0565b613e79565b5060015b9392505050565b6202a30081565b600e5481565b61168b613e6f565b6001600160a01b031661169c612fc4565b6001600160a01b0316146116e5576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b42600e54111580156117075750600e5442906117049062015180614157565b10155b611758576040805162461bcd60e51b815260206004820152600f60248201527f46756e6374696f6e206c6f636b65640000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038116736b175474e89094c44da98b954eedeac495271d0f148061179f57506001600160a01b03811673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48145b806117c657506001600160a01b03811673dac17f958d2ee523a2206206994597c13d831ec7145b611807576040805162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b604482015290519081900360640190fd5b601754610100900460ff161561184e5760405162461bcd60e51b815260040180806020018281038252602181526020018061488e6021913960400191505060405180910390fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561189d57600080fd5b505afa1580156118b1573d6000803e3d6000fd5b505050506040513d60208110156118c757600080fd5b5051600754604080516332dee40b60e01b81526001600160a01b03868116600483015291519394509116916332dee40b9160248082019260009290919082900301818387803b15801561191957600080fd5b505af115801561192d573d6000803e3d6000fd5b505050506000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561198057600080fd5b505afa158015611994573d6000803e3d6000fd5b505050506040513d60208110156119aa57600080fd5b5051600b54600780546001600160a01b0319166001600160a01b0390921691821790559091506119f290736b175474e89094c44da98b954eedeac495271d0f90600019613a58565b600b54611a209073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906001600160a01b0316600019613a58565b600b54611a4e9073dac17f958d2ee523a2206206994597c13d831ec7906001600160a01b0316600019613a58565b6007546001600160a01b0316636e553f65611a698385613cab565b856040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015611ab057600080fd5b505af1158015611ac4573d6000803e3d6000fd5b50506017805460ff191660011790555050600b546001600160a01b03167fa9c117f7b6846ef96df18c788b663977460b17797467b5d2b4af658b32bf993f611b0c8385613cab565b60408051918252519081900360200190a2505050565b600a546001600160a01b03163314611b6e576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b601754610100900460ff1615611bb55760405162461bcd60e51b815260040180806020018281038252602181526020018061488e6021913960400191505060405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b031663285939846040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611c0557600080fd5b505af1158015611c19573d6000803e3d6000fd5b50505050565b60055460ff1690565b6000611333611c35613e6f565b846116668560016000611c46613e6f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490614157565b6009546001600160a01b031681565b600b546001600160a01b031681565b60408051808201909152600181527f3100000000000000000000000000000000000000000000000000000000000000602082015290565b60086020526000908152604090205481565b600a546001600160a01b03163314611d29576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b6017805461ff0019169055604080516370a0823160e01b81523060048201529051600091736b175474e89094c44da98b954eedeac495271d0f916370a0823191602480820192602092909190829003018186803b158015611d8957600080fd5b505afa158015611d9d573d6000803e3d6000fd5b505050506040513d6020811015611db357600080fd5b505190506000611dc1613315565b90508115611e80576000611de56064610b5660115485613beb90919063ffffffff16565b905080831115611e7e576007546001600160a01b0316636e553f65611e0a8584613cab565b736b175474e89094c44da98b954eedeac495271d0f6040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015611e6557600080fd5b505af1158015611e79573d6000803e3d6000fd5b505050505b505b604080516370a0823160e01b8152306004820152905160009173a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48916370a0823191602480820192602092909190829003018186803b158015611ed557600080fd5b505afa158015611ee9573d6000803e3d6000fd5b505050506040513d6020811015611eff57600080fd5b505190508015611fc9576000611f2e64e8d4a51000610b566064610b5660105488613beb90919063ffffffff16565b905080821115611fc7576007546001600160a01b0316636e553f65611f538484613cab565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015611fae57600080fd5b505af1158015611fc2573d6000803e3d6000fd5b505050505b505b604080516370a0823160e01b8152306004820152905160009173dac17f958d2ee523a2206206994597c13d831ec7916370a0823191602480820192602092909190829003018186803b15801561201e57600080fd5b505afa158015612032573d6000803e3d6000fd5b505050506040513d602081101561204857600080fd5b505190508015611c1957600061207764e8d4a51000610b566064610b5660125489613beb90919063ffffffff16565b905080821115612110576007546001600160a01b0316636e553f6561209c8484613cab565b73dac17f958d2ee523a2206206994597c13d831ec76040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050600060405180830381600087803b1580156120f757600080fd5b505af115801561210b573d6000803e3d6000fd5b505050505b5050505050565b6006546001600160a01b0390811691161490565b601754610100900460ff1681565b3332148061214b575061214b33612117565b61219c576040805162461bcd60e51b815260206004820152601460248201527f4f6e6c7920454f41206f72204269636f6e6f6d79000000000000000000000000604482015290519081900360640190fd5b601754610100900460ff16156121e35760405162461bcd60e51b815260040180806020018281038252602181526020018061488e6021913960400191505060405180910390fd5b60008211612238576040805162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015290519081900360640190fd5b600080612243613e6f565b90506001600160a01b038316736b175474e89094c44da98b954eedeac495271d0f14156123b957600080612276866141b1565b91509150612282611450565b156122a9576122a4612292613315565b610b5661229d611450565b8590613beb565b6122ab565b815b93506122cd736b175474e89094c44da98b954eedeac495271d0f843089614264565b60006122df6005610b56846002613beb565b60095490915061230e90736b175474e89094c44da98b954eedeac495271d0f906001600160a01b031683613d08565b600c5461233a90736b175474e89094c44da98b954eedeac495271d0f906001600160a01b031683613d08565b600d54612374906001600160a01b0316612358836110c48682613cab565b736b175474e89094c44da98b954eedeac495271d0f9190613d08565b6001600160a01b0384166000908152600860205260409020546123979084614157565b6001600160a01b038516600090815260086020526040902055506126c3915050565b6001600160a01b03831673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48141561253d576000806123f86123f38764e8d4a51000613beb565b6141b1565b91509150612404611450565b1561241957612414612292613315565b61241b565b815b935061243d73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48843089614264565b600061244e8264e8d4a51000613c44565b905060006124626005610b56846002613beb565b6009549091506124919073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906001600160a01b031683613d08565b600c546124bd9073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906001600160a01b031683613d08565b600d546124f7906001600160a01b03166124db836110c48682613cab565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489190613d08565b6001600160a01b03851660009081526008602052604090205461251a9085614157565b6001600160a01b038616600090815260086020526040902055506126c392505050565b6001600160a01b03831673dac17f958d2ee523a2206206994597c13d831ec71415612676576000806125776123f38764e8d4a51000613beb565b91509150612583611450565b1561259857612593612292613315565b61259a565b815b93506125bc73dac17f958d2ee523a2206206994597c13d831ec7843089614264565b60006125cd8264e8d4a51000613c44565b905060006125e16005610b56846002613beb565b6009549091506126109073dac17f958d2ee523a2206206994597c13d831ec7906001600160a01b031683613d08565b600c5461263c9073dac17f958d2ee523a2206206994597c13d831ec7906001600160a01b031683613d08565b600d546124f7906001600160a01b031661265a836110c48682613cab565b73dac17f958d2ee523a2206206994597c13d831ec79190613d08565b6040805162461bcd60e51b815260206004820152601560248201527f496e76616c6964206465706f73697420546f6b656e0000000000000000000000604482015290519081900360640190fd5b6126cd81836142d7565b826001600160a01b0316816001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78685604051808381526020018281526020019250505060405180910390a350505050565b600a546001600160a01b03163314612772576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b6001600160a01b038116736b175474e89094c44da98b954eedeac495271d0f14806127b957506001600160a01b03811673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48145b806127e057506001600160a01b03811673dac17f958d2ee523a2206206994597c13d831ec7145b612821576040805162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b604482015290519081900360640190fd5b600754604080516332dee40b60e01b81526001600160a01b038481166004830152915191909216916332dee40b91602480830192600092919082900301818387803b15801561286f57600080fd5b505af1158015612883573d6000803e3d6000fd5b5050601780546001600160a01b0380861662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff61ff0019909316610100179290921691909117909155600a546040805191909216815290517f5e7b34819cd91b239220bec92fcfd3c10da2214ba13e4e2b1f6c9cfdbd68a9a29350908190036020019150a150565b612917613e6f565b6001600160a01b0316612928612fc4565b6001600160a01b031614612971576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b0381166129bb576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517f848ac24ab84501710d6631faab117b66b79aba7ec6f7778cf3bcff428c1a4efc929181900390910190a15050565b6001600160a01b031660009081526020819052604090205490565b612a41613e6f565b6001600160a01b0316612a52612fc4565b6001600160a01b031614612a9b576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805474ffffffffffffffffffffffffffffffffffffffff0019169055565b612b00613e6f565b6001600160a01b0316612b11612fc4565b6001600160a01b031614612b5a576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b610bb882826000818110612b6a57fe5b90506020020135108015612b925750610bb882826001818110612b8957fe5b90506020020135105b8015612bb25750610bb882826002818110612ba957fe5b90506020020135105b612bed5760405162461bcd60e51b815260040180806020018281038252602e815260200180614753602e913960400191505060405180910390fd5b60006015805480602002602001604051908101604052809291908181526020018280548015612c3b57602002820191906000526020600020905b815481526020019060010190808311612c27575b50505050509050828260159190612c5392919061463f565b507f3227c0eb87cc3f1cd6f5dbf94481c11a412dc6a3fcbaef0a10671bfe878d46a5818484604051808060200180602001838103835286818151815260200191508051906020019060200280838360005b83811015612cbc578181015183820152602001612ca4565b505050509050018381038252858582818152602001925060200280828437600083820152604051601f909101601f191690920182900397509095505050505050a1505050565b60165481565b6006546001600160a01b031681565b60175460ff1681565b612d28613e6f565b6001600160a01b0316612d39612fc4565b6001600160a01b031614612d82576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b038116612dcc576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600c80546001600160a01b038381166001600160a01b031983168117909355600754604080517f85d6bb81000000000000000000000000000000000000000000000000000000008152600481019590955251928216939116916385d6bb819160248082019260009290919082900301818387803b158015612e4c57600080fd5b505af1158015612e60573d6000803e3d6000fd5b5050604080516001600160a01b0380861682528616602082015281517f7c2cfb870a55cea02043717c09aa9837391f1bc8eedb1dbd1a6c1a3ea5232e0a9450908190039091019150a15050565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b612ecd613e6f565b6001600160a01b0316612ede612fc4565b6001600160a01b031614612f27576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6015600281548110612f3557fe5b90600052602060002001548110612f7d5760405162461bcd60e51b81526004018080602001828103825260388152602001806148316038913960400191505060405180910390fd5b6016805490829055604080518281526020810184905281517f88956a36dde8b18c54b71bdb817c8ac920184c2365db87fb7b44c5aecaf738ad929181900390910190a15050565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156113145780601f106112e957610100808354040283529160200191611314565b6000611333613046613e6f565b84611666856040518060600160405280602581526020016149336025913960016000613070613e6f565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906140c0565b6130a9613e6f565b6001600160a01b03166130ba612fc4565b6001600160a01b031614613103576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b03811661314d576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600980546001600160a01b038381166001600160a01b031983168117909355600754604080517fa8602fea0000000000000000000000000000000000000000000000000000000081526004810195909552519282169391169163a8602fea9160248082019260009290919082900301818387803b1580156131cd57600080fd5b505af11580156131e1573d6000803e3d6000fd5b5050604080516001600160a01b0380861682528616602082015281517febcecb9db04071cf4b4ecc1e2e1e4603e74c9382d6e36c3531f0b62af4c78ed79450908190039091019150a15050565b6007546001600160a01b031681565b600061133361324a613e6f565b8484613f65565b613259613e6f565b6001600160a01b031661326a612fc4565b6001600160a01b0316146132b3576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b600f8190556040805182815290517f6c862c95209ac13de6ba58fa7963e5fb78b569dce070efa64c8f0d86d5cc7c249181900360200190a150565b73dac17f958d2ee523a2206206994597c13d831ec781565b600c546001600160a01b031681565b600061350961338464e8d4a5100073dac17f958d2ee523a2206206994597c13d831ec76001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c2757600080fd5b6135036133f164e8d4a5100073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c2757600080fd5b604080516370a0823160e01b8152306004820152905161350391736b175474e89094c44da98b954eedeac495271d0f916370a0823191602480820192602092909190829003018186803b15801561344757600080fd5b505afa15801561345b573d6000803e3d6000fd5b505050506040513d602081101561347157600080fd5b5051600754604080517fc8ecaf3000000000000000000000000000000000000000000000000000000000815290516001600160a01b039092169163c8ecaf3091600480820192602092909190829003018186803b1580156134d157600080fd5b505afa1580156134e5573d6000803e3d6000fd5b505050506040513d60208110156134fb57600080fd5b505190614157565b90614157565b905090565b60145481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600f5481565b736b175474e89094c44da98b954eedeac495271d0f81565b601381815481106115dd57600080fd5b600a546001600160a01b031633146135b9576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9020b236b4b760b11b604482015290519081900360640190fd5b601754610100900460ff16156136005760405162461bcd60e51b815260040180806020018281038252602181526020018061488e6021913960400191505060405180910390fd5b604080516370a0823160e01b81523060048201529051600091736b175474e89094c44da98b954eedeac495271d0f916370a0823191602480820192602092909190829003018186803b158015611d8957600080fd5b61365d613e6f565b6001600160a01b031661366e612fc4565b6001600160a01b0316146136b7576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6136bf612fc4565b6001600160a01b0316336001600160a01b031614806136e85750600d546001600160a01b031633145b613739576040805162461bcd60e51b815260206004820152601860248201527f4f6e6c79206f776e6572206f7220737472617465676973740000000000000000604482015290519081900360640190fd5b6001600160a01b038116613783576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600d80546001600160a01b038381166001600160a01b031983168117909355600754604080517fc7b9d5300000000000000000000000000000000000000000000000000000000081526004810195909552519282169391169163c7b9d5309160248082019260009290919082900301818387803b15801561380357600080fd5b505af1158015613817573d6000803e3d6000fd5b5050604080516001600160a01b0380861682528616602082015281517f2535c9dd3f3fd17150d4e30e0c6f7a750497f21431ccbff950ca77042cc772869450908190039091019150a15050565b61386c613e6f565b6001600160a01b031661387d612fc4565b6001600160a01b0316146138c6576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b6001600160a01b03811661390b5760405162461bcd60e51b81526004018080602001828103825260268152602001806146e56026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b600a546001600160a01b031681565b6139ae613e6f565b6001600160a01b03166139bf612fc4565b6001600160a01b031614613a08576040805162461bcd60e51b815260206004820181905260248201526000805160206147f0833981519152604482015290519081900360640190fd5b613a15426202a300614157565b600e8190556017805460ff1916905560408051918252517fff76cf14f454ffa693b9eedc298fb8c0f71d59d16a1df3e1489a8c0a41922efc9181900360200190a1565b801580613af75750604080517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015613ac957600080fd5b505afa158015613add573d6000803e3d6000fd5b505050506040513d6020811015613af357600080fd5b5051155b613b325760405162461bcd60e51b81526004018080602001828103825260368152602001806148fd6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b03167f095ea7b300000000000000000000000000000000000000000000000000000000179052613b9d9084906143c7565b505050565b600060183610801590613bb95750613bb933612117565b15613bcd575060131936013560601c61131c565b503361131c565b6060613be38484600085614478565b949350505050565b600082613bfa57506000611337565b82820282848281613c0757fe5b041461166f5760405162461bcd60e51b81526004018080602001828103825260218152602001806147a76021913960400191505060405180910390fd5b6000808211613c9a576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381613ca357fe5b049392505050565b600082821115613d02576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b03167fa9059cbb00000000000000000000000000000000000000000000000000000000179052613b9d9084906143c7565b6001600160a01b038216613db85760405162461bcd60e51b81526004018080602001828103825260218152602001806148106021913960400191505060405180910390fd5b613dc482600083613b9d565b613e01816040518060600160405280602281526020016146c3602291396001600160a01b03851660009081526020819052604090205491906140c0565b6001600160a01b038316600090815260208190526040902055600254613e279082613cab565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000613509613ba2565b6001600160a01b038316613ebe5760405162461bcd60e51b81526004018080602001828103825260248152602001806148af6024913960400191505060405180910390fd5b6001600160a01b038216613f035760405162461bcd60e51b815260040180806020018281038252602281526020018061470b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316613faa5760405162461bcd60e51b81526004018080602001828103825260258152602001806148696025913960400191505060405180910390fd5b6001600160a01b038216613fef5760405162461bcd60e51b81526004018080602001828103825260238152602001806146a06023913960400191505060405180910390fd5b613ffa838383613b9d565b6140378160405180606001604052806026815260200161472d602691396001600160a01b03861660009081526020819052604090205491906140c0565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546140669082614157565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561414f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156141145781810151838201526020016140fc565b50505050905090810190601f1680156141415780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561166f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600080600060136000815481106141c457fe5b90600052602060002001548410156141f65760156000815481106141e457fe5b90600052602060002001549050614240565b601360018154811061420457fe5b906000526020600020015484116142235760156001815481106141e457fe5b60145484101561423b5760156002815481106141e457fe5b506016545b614250612710610b568684613beb565b915061425c8483613cab565b925050915091565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03167f23b872dd00000000000000000000000000000000000000000000000000000000179052611c199085906143c7565b6001600160a01b038216614332576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61433e60008383613b9d565b60025461434b9082614157565b6002556001600160a01b0382166000908152602081905260409020546143719082614157565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600061441c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613bd49092919063ffffffff16565b805190915015613b9d5780806020019051602081101561443b57600080fd5b5051613b9d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806148d3602a913960400191505060405180910390fd5b6060824710156144b95760405162461bcd60e51b81526004018080602001828103825260268152602001806147816026913960400191505060405180910390fd5b6144c2856145d3565b614513576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106145515780518252601f199092019160209182019101614532565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146145b3576040519150601f19603f3d011682016040523d82523d6000602084013e6145b8565b606091505b50915091506145c88282866145d9565b979650505050505050565b3b151590565b606083156145e857508161166f565b8251156145f85782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156141145781810151838201526020016140fc565b82805482825590600052602060002090810192821561467a579160200282015b8281111561467a57823582559160200191906001019061465f565b5061468692915061468a565b5090565b5b80821115614686576000815560010161468b56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654e6574776f726b206665652070657263656e746167652063616e6e6f74206265206d6f7265207468616e20333025416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f2061646472657373437573746f6d206e6574776f726b206665652070657263656e746167652063616e6e6f74206265206d6f7265207468616e2074696572203245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737343616e6e6f742063616c6c207768656e20696e20656d657267656e63794d6f646545524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220869aeddb7dca794b7d6b909405cc9422a15fb894e23a61fe07332902bd69cb0a64736f6c63430007060033

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

00000000000000000000000059e83877bd248cbfe392dbb5a8a29959bcb485920000000000000000000000003f68a3c1023d736d8be867ca49cb18c543373b990000000000000000000000004a73dd597b8257e651ef12fd04a91a8819c8941600000000000000000000000084a0856b038eaad1cc7e297cf34a7e72685a8693000000000000000000000000dd6c35aff646b2fb7d8a8955ccbe0994409348d000000000000000000000000054d003d451c973ad7693f825d5b78adfc0efe934

-----Decoded View---------------
Arg [0] : _treasuryWallet (address): 0x59E83877bD248cBFe392dbB5A8a29959bcb48592
Arg [1] : _admin (address): 0x3f68A3c1023d736D8Be867CA49Cb18c543373B99
Arg [2] : _strategy (address): 0x4a73Dd597B8257E651Ef12Fd04a91a8819C89416
Arg [3] : _biconomy (address): 0x84a0856b038eaAd1cC7E297cF34A7e72685A8693
Arg [4] : _communityWallet (address): 0xdd6c35aFF646B2fB7d8A8955Ccbe0994409348d0
Arg [5] : _strategist (address): 0x54D003d451c973AD7693F825D5b78Adfc0efe934

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000059e83877bd248cbfe392dbb5a8a29959bcb48592
Arg [1] : 0000000000000000000000003f68a3c1023d736d8be867ca49cb18c543373b99
Arg [2] : 0000000000000000000000004a73dd597b8257e651ef12fd04a91a8819c89416
Arg [3] : 00000000000000000000000084a0856b038eaad1cc7e297cf34a7e72685a8693
Arg [4] : 000000000000000000000000dd6c35aff646b2fb7d8a8955ccbe0994409348d0
Arg [5] : 00000000000000000000000054d003d451c973ad7693f825d5b78adfc0efe934


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.