Address Details
contract
token

0x5927fd244E11dB1c7b1215619144d2aAbAc80a4F

Token
celoLaunch (cLA)
Creator
0x3ab0d0–f00118 at 0xb758a8–956e40
Balance
14.904261911425431412 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
12,713 Transactions
Transfers
11,105 Transfers
Gas Used
463,089,241
Last Balance Update
28594808
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
celoLaunch




Optimization enabled
true
Compiler version
v0.8.7+commit.e28d00a7




Optimization runs
200
EVM Version
london




Verified at
2021-12-28T08:52:23.237900Z

contracts/token.sol

/**
    — CeloLaunch —
    The First Rug-proof DeFi Launchpad on Celo Network assists 
    projects in crowdsourcing funds through the use of 
    advanced token pooling and distribution mechanisms.
    — Official Links —
    Website: https://celolaunch.io          
    Twitter: https://twitter.com/celolaunch        
    Chat: https://t.me/celolaunch          
    News: https://t.me/celolaunch_ann        
    Docs: https://docs.celolaunch.io          
    Blog: https://blog.celolaunch.io          
    Medium: https://celolaunch.medium.com        
    Pitch Deck: https://celolaunch.io/docs/CeloLaunch-Pitch-Deck.pdf  
    GitHub: https://github.com/celolaunch
    CoinMarketCap: https://coinmarketcap.com/currencies/celolaunch
    CertiK Audit: https://www.certik.org/projects/celolaunch
**/
pragma solidity ^0.8.0;

// SPDX-License-Identifier: MIT
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(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;
    }
}

interface IERC20 {
    function totalSupply() external view returns (uint256);

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

    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

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

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

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

library Address {
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

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

    function functionCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(
            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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _transferOwnership(_msgSender());
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

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

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

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

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

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

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

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

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

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

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

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

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

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

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

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

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

pragma solidity ^0.8.0;

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

    function WETH() external pure returns (address);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

contract celoLaunch is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    address public burnAddress = 0x000000000000000000000000000000000000dEaD;
    address public _routerAddress =
        address(0x1421bDe4B10e8dd459b3BCb598810B1337D56842);
    address public _buyBackWallet =
        address(0xACBce62CD53A266ff8c587349D02e2b963096db7);
    address public CELO = address(0x471EcE3750Da237f93B8E339c536989b8978a438);
    IERC20 _CELO = IERC20(CELO);
    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) public _whitelist;
    mapping(address => bool) private _isExcludedFromFee;

    mapping(address => bool) private _isExcluded;
    address[] private _excluded;

    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 100_000_000 * 10**18;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private _name = "celoLaunch";
    string private _symbol = "cLA";
    uint8 private _decimals = 18;

    uint256 public _taxFee = 1;
    uint256 private _previousTaxFee = _taxFee;

    uint256 public _liquidityFee = 2;
    uint256 private _previousLiquidityFee = _liquidityFee;

    uint256 public _maxTxAmount = 1_000_000 * 10**18;
    uint256 private minimumTokensBeforeSwap = 100_000 * 10**18;
    uint256 private buyBackUpperLimit = 50_000 * 10**18;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = false;
    bool public buyBackEnabled = false;

    event Log(string message);
    event TakeLiquidity(address account, uint256 amount);
    event SetTaxFeePercent(uint256 amount);
    event SetLiquidityFeePercent(uint256 liquidityFee);
    event SetMaxTxAmount(uint256 maxTxAmount);
    event SetMarketingDivisor(uint256 divisor);
    event SetNumTokensSellToAddToLiquidity(uint256 minimumTokensBeforeSwap);
    event RewardLiquidityProviders(uint256 tokenAmount);
    event BuyBackEnabledUpdated(bool enabled);
    event SetBuybackUpperLimit(uint256 tokenAmount);
    event SetBuyBackWallet(address wallet);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    event SwapETHForTokens(uint256 amountIn, address[] path);

    event SwapTokensForETH(uint256 amountIn, address[] path);

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

    modifier onlyWhitelist() {
        require(_whitelist[msg.sender] == true);
        _;
    }

    constructor() {
        _rOwned[_msgSender()] = _rTotal;

        // Mainnet
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            _routerAddress
        );

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), CELO);

        uniswapV2Router = _uniswapV2Router;

        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _approve(address(this), _routerAddress, type(uint256).max);
        _approve(_msgSender(), _routerAddress, type(uint256).max);
        _CELO.approve(_routerAddress, type(uint256).max);
        _CELO.approve(_msgSender(), type(uint256).max);
        _whitelist[address(this)] = true;
        _whitelist[_routerAddress] = true;
        _whitelist[owner()] = true;
        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount)
        public
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender)
        public
        view
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount)
        public
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

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

    function isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function minimumTokensBeforeSwapAmount() public view returns (uint256) {
        return minimumTokensBeforeSwap;
    }

    function buyBackUpperLimitAmount() public view returns (uint256) {
        return buyBackUpperLimit;
    }

    function deliver(uint256 tAmount) public {
        address sender = _msgSender();
        require(
            !_isExcluded[sender],
            "Excluded addresses cannot call this function"
        );
        (uint256 rAmount, , , , , ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rTotal = _rTotal.sub(rAmount);
        _tFeeTotal = _tFeeTotal.add(tAmount);
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee)
        public
        view
        returns (uint256)
    {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount, , , , , ) = _getValues(tAmount);
            return rAmount;
        } else {
            (, uint256 rTransferAmount, , , , ) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount)
        public
        view
        returns (uint256)
    {
        require(
            rAmount <= _rTotal,
            "Amount must be less than total reflections"
        );
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function excludeFromReward(address account) public onlyOwner {
        require(!_isExcluded[account], "Account is already excluded");
        if (_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(address account) external onlyOwner {
        require(_isExcluded[account], "Account is not excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _rOwned[account] = _tOwned[account].mul(_getRate());
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        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);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if (from != owner() && to != owner()) {
            require(
                amount <= _maxTxAmount,
                "Transfer amount exceeds the maxTxAmount."
            );
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool overMinimumTokenBalance = contractTokenBalance >=
            minimumTokensBeforeSwap;

        if (!inSwapAndLiquify && swapAndLiquifyEnabled && to == uniswapV2Pair) {
            if (overMinimumTokenBalance) {
                contractTokenBalance = minimumTokensBeforeSwap;
                swapTokens(contractTokenBalance);
            }
            uint256 balance = address(this).balance;
            if (buyBackEnabled && balance > uint256(1 * 10**18)) {
                if (balance > buyBackUpperLimit) balance = buyBackUpperLimit;
                buyBackTokens(balance.div(100));
            }
        }

        bool takeFee = true;

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

        _tokenTransfer(from, to, amount, takeFee);
    }

    function buyBackTokens(uint256 amount) private lockTheSwap {
        if (amount > 0) {
            swapETHForTokens(amount);
        }
    }

    function swapTokens(uint256 contractTokenBalance) private lockTheSwap {
        swapTokensForEth(contractTokenBalance);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = CELO;
        uint256[] memory amountOutMins = uniswapV2Router.getAmountsOut(
            tokenAmount,
            path
        );
        try
            uniswapV2Router
                .swapExactTokensForTokensSupportingFeeOnTransferTokens(
                    tokenAmount,
                    amountOutMins[path.length - 1], 
                    path,
                    _buyBackWallet,
                    block.timestamp
                )
        {} catch {
            emit Log("external call failed");
        }
        _CELO.transferFrom(
            _buyBackWallet,
            address(this),
            amountOutMins[path.length - 1]
        );
        emit SwapTokensForETH(tokenAmount, path);
    }

    function swapETHForTokens(uint256 amount) private {
        address[] memory path = new address[](2);
        path[0] = CELO;
        path[1] = address(this);
        uint256[] memory amountOutMins = uniswapV2Router.getAmountsOut(
            amount,
            path
        );
        try
            uniswapV2Router
                .swapExactTokensForTokensSupportingFeeOnTransferTokens(
                    amount,
                    amountOutMins[path.length - 1].mul(95).div(10**2),
                    path,
                    burnAddress,
                    block.timestamp
                )
        {} catch {
            emit Log("external call failed");
        }
        emit SwapETHForTokens(amount, path);
    }

    function _tokenTransfer(
        address sender,
        address recipient,
        uint256 amount,
        bool takeFee
    ) private {
        if (!takeFee) removeAllFee();

        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }

        if (!takeFee) restoreAllFee();
    }

    function _transferStandard(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferBothExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _getValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        (
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(
            tAmount,
            tFee,
            tLiquidity,
            _getRate()
        );
        return (
            rAmount,
            rTransferAmount,
            rFee,
            tTransferAmount,
            tFee,
            tLiquidity
        );
    }

    function _getTValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 tFee = calculateTaxFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
        return (tTransferAmount, tFee, tLiquidity);
    }

    function _getRValues(
        uint256 tAmount,
        uint256 tFee,
        uint256 tLiquidity,
        uint256 currentRate
    )
        private
        pure
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (
                _rOwned[_excluded[i]] > rSupply ||
                _tOwned[_excluded[i]] > tSupply
            ) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _takeLiquidity(uint256 tLiquidity) private {
        uint256 currentRate = _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
        if (_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
        emit TakeLiquidity(msg.sender, tLiquidity);
    }

    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_taxFee).div(10**2);
    }

    function calculateLiquidityFee(uint256 _amount)
        private
        view
        returns (uint256)
    {
        return _amount.mul(_liquidityFee).div(10**2);
    }

    function removeAllFee() private {
        if (_taxFee == 0 && _liquidityFee == 0) return;

        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;

        _taxFee = 0;
        _liquidityFee = 0;
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
    }

    function isExcludedFromFee(address account) public view returns (bool) {
        return _isExcludedFromFee[account];
    }

    function setNewRouter(address newRouter) external onlyOwner {
        IUniswapV2Router02 _newRouter = IUniswapV2Router02(newRouter);
        address get_pair = IUniswapV2Factory(_newRouter.factory()).getPair(
            address(this),
            CELO
        );
        if (get_pair == address(0)) {
            uniswapV2Pair = IUniswapV2Factory(_newRouter.factory()).createPair(
                address(this),
                CELO
            );
        } else {
            uniswapV2Pair = get_pair;
        }
        uniswapV2Router = _newRouter;
        _routerAddress = newRouter;
        _approve(address(this), newRouter, type(uint256).max);
        _CELO.approve(newRouter, type(uint256).max);
    }

    function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function setTaxFeePercent(uint256 taxFee) external onlyOwner {
        require(taxFee >= 0 && taxFee <= 10, "taxFee must from 0 to 10");
        _taxFee = taxFee;
        emit SetTaxFeePercent(taxFee);
    }

    function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner {
        require(
            liquidityFee >= 0 && liquidityFee <= 10,
            "liquidityFee must from 0 to 10"
        );
        _liquidityFee = liquidityFee;
        emit SetLiquidityFeePercent(liquidityFee);
    }

    function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner {
        require(maxTxAmount > 0, "maxTxAmount must be greater than 0");
        _maxTxAmount = maxTxAmount * 10**18;
        emit SetMaxTxAmount(maxTxAmount * 10**18);
    }

    function setNumTokensSellToAddToLiquidity(uint256 _minimumTokensBeforeSwap)
        external
        onlyOwner
    {
        minimumTokensBeforeSwap = _minimumTokensBeforeSwap * 10**18;
        emit SetNumTokensSellToAddToLiquidity(
            _minimumTokensBeforeSwap * 10**18
        );
    }

    function setBuybackUpperLimit(uint256 buyBackLimit) external onlyOwner {
        buyBackUpperLimit = buyBackLimit * 10**18;
        emit SetBuybackUpperLimit(buyBackLimit * 10**18);
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    function setBuyBackEnabled(bool _enabled) public onlyOwner {
        buyBackEnabled = _enabled;
        emit BuyBackEnabledUpdated(_enabled);
    }

    function setBuyBackWallet(address buybackWalet) public onlyOwner {
        _buyBackWallet = buybackWalet;
        emit SetBuyBackWallet(buybackWalet);
    }

    function prepareIDO() external onlyOwner {
        setSwapAndLiquifyEnabled(false);
        _taxFee = 0;
        _liquidityFee = 0;
        _maxTxAmount = 100_000_000 * 10**18;
    }

    function afterIDO() external onlyOwner {
        setSwapAndLiquifyEnabled(true);
        _taxFee = 1;
        _liquidityFee = 2;
        _maxTxAmount = 100_000 * 10**18;
    }

    function addWhitelist(address account) external onlyOwner {
        _whitelist[account] = true;
    }

    function removeWhitelist(address account) external onlyOwner {
        _whitelist[account] = false;
    }

    receive() external payable onlyWhitelist {}
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"BuyBackEnabledUpdated","inputs":[{"type":"bool","name":"enabled","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"Log","inputs":[{"type":"string","name":"message","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RewardLiquidityProviders","inputs":[{"type":"uint256","name":"tokenAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetBuyBackWallet","inputs":[{"type":"address","name":"wallet","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"SetBuybackUpperLimit","inputs":[{"type":"uint256","name":"tokenAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetLiquidityFeePercent","inputs":[{"type":"uint256","name":"liquidityFee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetMarketingDivisor","inputs":[{"type":"uint256","name":"divisor","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetMaxTxAmount","inputs":[{"type":"uint256","name":"maxTxAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetNumTokensSellToAddToLiquidity","inputs":[{"type":"uint256","name":"minimumTokensBeforeSwap","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetTaxFeePercent","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapAndLiquify","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"ethReceived","internalType":"uint256","indexed":false},{"type":"uint256","name":"tokensIntoLiquidity","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapAndLiquifyEnabledUpdated","inputs":[{"type":"bool","name":"enabled","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"SwapETHForTokens","inputs":[{"type":"uint256","name":"amountIn","internalType":"uint256","indexed":false},{"type":"address[]","name":"path","internalType":"address[]","indexed":false}],"anonymous":false},{"type":"event","name":"SwapTokensForETH","inputs":[{"type":"uint256","name":"amountIn","internalType":"uint256","indexed":false},{"type":"address[]","name":"path","internalType":"address[]","indexed":false}],"anonymous":false},{"type":"event","name":"TakeLiquidity","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"CELO","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_buyBackWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_liquidityFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_maxTxAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_routerAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_taxFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"_whitelist","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addWhitelist","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"afterIDO","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"burnAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"buyBackEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buyBackUpperLimitAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deliver","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minimumTokensBeforeSwapAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"prepareIDO","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"reflectionFromToken","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"},{"type":"bool","name":"deductTransferFee","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeWhitelist","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBuyBackEnabled","inputs":[{"type":"bool","name":"_enabled","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBuyBackWallet","inputs":[{"type":"address","name":"buybackWalet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBuybackUpperLimit","inputs":[{"type":"uint256","name":"buyBackLimit","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLiquidityFeePercent","inputs":[{"type":"uint256","name":"liquidityFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxTxAmount","inputs":[{"type":"uint256","name":"maxTxAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNewRouter","inputs":[{"type":"address","name":"newRouter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNumTokensSellToAddToLiquidity","inputs":[{"type":"uint256","name":"_minimumTokensBeforeSwap","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapAndLiquifyEnabled","inputs":[{"type":"bool","name":"_enabled","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTaxFeePercent","inputs":[{"type":"uint256","name":"taxFee","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapAndLiquifyEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenFromReflection","inputs":[{"type":"uint256","name":"rAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalFees","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"uniswapV2Pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"uniswapV2Router","inputs":[]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x6080604052600180546001600160a01b031990811661dead17909155600280548216731421bde4b10e8dd459b3bcb598810b1337d5684217905560038054821673acbce62cd53a266ff8c587349d02e2b963096db717905560048054821673471ece3750da237f93b8e339c536989b8978a438908117909155600580549092161790556a52b7d2dcc80cd2e4000000600d819055620000a19060001962000839565b620000af90600019620007d6565b600e5560408051808201909152600a808252690c6cad8de98c2eadcc6d60b31b6020909201918252620000e591601091620006da565b5060408051808201909152600380825262634c4160e81b60209092019182526200011291601191620006da565b506012805460ff191681179055600160138190556014556002601581905560165569d3c21bcecceda100000060175569152d02c7e14af6800000601855690a968163f0a57b400000601955601b805461ffff60a81b191690553480156200017857600080fd5b5062000184336200055e565b600e543360009081526006602090815260409182902092909255600254815163c45a015560e01b815291516001600160a01b0390911692839263c45a01559260048083019392829003018186803b158015620001df57600080fd5b505afa158015620001f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021a919062000780565b600480546040516364e329cb60e11b815230928101929092526001600160a01b039081166024830152919091169063c9c6539690604401602060405180830381600087803b1580156200026c57600080fd5b505af115801562000281573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a7919062000780565b601b80546001600160a01b03199081166001600160a01b0393841617909155601a80549091169183169190911790556001600a6000620002ef6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530808252600a909452919091208054909316600117909255600254620003479216600019620005ae565b62000361336002546001600160a01b0316600019620005ae565b60055460025460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b390604401602060405180830381600087803b158015620003b357600080fd5b505af1158015620003c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003ee9190620007b2565b506005546001600160a01b031663095ea7b3336040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526000196024820152604401602060405180830381600087803b1580156200044b57600080fd5b505af115801562000460573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004869190620007b2565b503060009081526009602081905260408083208054600160ff1991821681179092556002546001600160a01b031685529184208054909216811790915591620004d76000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620005073390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600d546040516200054f91815260200190565b60405180910390a3506200085c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316620006165760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620006795760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200060d565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828054620006e890620007fc565b90600052602060002090601f0160209004810192826200070c576000855562000757565b82601f106200072757805160ff191683800117855562000757565b8280016001018555821562000757579182015b82811115620007575782518255916020019190600101906200073a565b506200076592915062000769565b5090565b5b808211156200076557600081556001016200076a565b6000602082840312156200079357600080fd5b81516001600160a01b0381168114620007ab57600080fd5b9392505050565b600060208284031215620007c557600080fd5b81518015158114620007ab57600080fd5b600082821015620007f757634e487b7160e01b600052601160045260246000fd5b500390565b600181811c908216806200081157607f821691505b602082108114156200083357634e487b7160e01b600052602260045260246000fd5b50919050565b6000826200085757634e487b7160e01b600052601260045260246000fd5b500690565b6133d2806200086c6000396000f3fe6080604052600436106102e85760003560e01c806370d5ae0511610190578063a9059cbb116100dc578063ea2f0b3711610095578063f0f165af1161006f578063f0f165af14610926578063f2fde38b14610946578063f60e673e14610966578063f80f5dd51461098657600080fd5b8063ea2f0b37146108c6578063eafb5a3c146108e6578063ec28438a1461090657600080fd5b8063a9059cbb146107db578063bdc653ef146107fb578063c49b9a8014610810578063cfdb63ac14610830578063d9e6646014610860578063dd62ed3e1461088057600080fd5b806388f820201161014957806395d89b411161012357806395d89b4114610771578063a073d37f14610786578063a457c2d71461079b578063a4640b82146107bb57600080fd5b806388f82020146106fa5780638da5cb5b146107335780638ee88c531461075157600080fd5b806370d5ae051461065a578063715018a61461067a57806378c8cda71461068f5780637d1db4a5146106af5780637e09adfe146106c557806382d2a4bb146106da57600080fd5b8063395093511161024f57806349bd5a5e116102085780635342acb4116101e25780635342acb4146105ca5780636053a0e3146106035780636bc87c3a1461062457806370a082311461063a57600080fd5b806349bd5a5e146105695780634a74bb021461058957806352390c02146105aa57600080fd5b806339509351146104be5780633b124fe7146104de5780633bd5d173146104f45780634367e34414610514578063437823ec146105295780634549b0391461054957600080fd5b80631c7e8e15116102a15780631c7e8e15146103fc57806323b872dd1461041c57806329370cc61461043c5780632d8381191461045c578063313ce5671461047c5780633685d4191461049e57600080fd5b8063061c82d01461031557806306fdde0314610335578063095ea7b31461036057806313114a9d146103905780631694505e146103af57806318160ddd146103e757600080fd5b36610310573360009081526009602052604090205460ff16151560011461030e57600080fd5b005b600080fd5b34801561032157600080fd5b5061030e6103303660046130a5565b6109a6565b34801561034157600080fd5b5061034a610a66565b6040516103579190613127565b60405180910390f35b34801561036c57600080fd5b5061038061037b366004612f7a565b610af8565b6040519015158152602001610357565b34801561039c57600080fd5b50600f545b604051908152602001610357565b3480156103bb57600080fd5b50601a546103cf906001600160a01b031681565b6040516001600160a01b039091168152602001610357565b3480156103f357600080fd5b50600d546103a1565b34801561040857600080fd5b506003546103cf906001600160a01b031681565b34801561042857600080fd5b50610380610437366004612f39565b610b0f565b34801561044857600080fd5b5061030e61045736600461306b565b610b78565b34801561046857600080fd5b506103a16104773660046130a5565b610bef565b34801561048857600080fd5b5060125460405160ff9091168152602001610357565b3480156104aa57600080fd5b5061030e6104b9366004612ec6565b610c73565b3480156104ca57600080fd5b506103806104d9366004612f7a565b610e71565b3480156104ea57600080fd5b506103a160135481565b34801561050057600080fd5b5061030e61050f3660046130a5565b610ea7565b34801561052057600080fd5b5061030e610f91565b34801561053557600080fd5b5061030e610544366004612ec6565b610fdf565b34801561055557600080fd5b506103a16105643660046130be565b61102d565b34801561057557600080fd5b50601b546103cf906001600160a01b031681565b34801561059557600080fd5b50601b5461038090600160a81b900460ff1681565b3480156105b657600080fd5b5061030e6105c5366004612ec6565b6110ba565b3480156105d657600080fd5b506103806105e5366004612ec6565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561060f57600080fd5b50601b5461038090600160b01b900460ff1681565b34801561063057600080fd5b506103a160155481565b34801561064657600080fd5b506103a1610655366004612ec6565b61120d565b34801561066657600080fd5b506001546103cf906001600160a01b031681565b34801561068657600080fd5b5061030e61126c565b34801561069b57600080fd5b5061030e6106aa366004612ec6565b6112a2565b3480156106bb57600080fd5b506103a160175481565b3480156106d157600080fd5b5061030e6112ed565b3480156106e657600080fd5b5061030e6106f53660046130a5565b61133c565b34801561070657600080fd5b50610380610715366004612ec6565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561073f57600080fd5b506000546001600160a01b03166103cf565b34801561075d57600080fd5b5061030e61076c3660046130a5565b6113bc565b34801561077d57600080fd5b5061034a61146c565b34801561079257600080fd5b506018546103a1565b3480156107a757600080fd5b506103806107b6366004612f7a565b61147b565b3480156107c757600080fd5b5061030e6107d6366004612ec6565b6114ca565b3480156107e757600080fd5b506103806107f6366004612f7a565b611542565b34801561080757600080fd5b506019546103a1565b34801561081c57600080fd5b5061030e61082b36600461306b565b61154f565b34801561083c57600080fd5b5061038061084b366004612ec6565b60096020526000908152604090205460ff1681565b34801561086c57600080fd5b506002546103cf906001600160a01b031681565b34801561088c57600080fd5b506103a161089b366004612f00565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b3480156108d257600080fd5b5061030e6108e1366004612ec6565b6115c6565b3480156108f257600080fd5b5061030e610901366004612ec6565b611611565b34801561091257600080fd5b5061030e6109213660046130a5565b61194f565b34801561093257600080fd5b5061030e6109413660046130a5565b611a1c565b34801561095257600080fd5b5061030e610961366004612ec6565b611a8e565b34801561097257600080fd5b506004546103cf906001600160a01b031681565b34801561099257600080fd5b5061030e6109a1366004612ec6565b611b29565b6000546001600160a01b031633146109d95760405162461bcd60e51b81526004016109d09061317c565b60405180910390fd5b600a811115610a2a5760405162461bcd60e51b815260206004820152601860248201527f746178466565206d7573742066726f6d203020746f203130000000000000000060448201526064016109d0565b60138190556040518181527f19da908cae03512cf29c19a5842b2904a06fd24ef9982759c78f9379831ed70f906020015b60405180910390a150565b606060108054610a759061327e565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa19061327e565b8015610aee5780601f10610ac357610100808354040283529160200191610aee565b820191906000526020600020905b815481529060010190602001808311610ad157829003601f168201915b5050505050905090565b6000610b05338484611b77565b5060015b92915050565b6000610b1c848484611c9b565b610b6e8433610b6985604051806060016040528060288152602001613350602891396001600160a01b038a1660009081526008602090815260408083203384529091529020549190611f6b565b611b77565b5060019392505050565b6000546001600160a01b03163314610ba25760405162461bcd60e51b81526004016109d09061317c565b601b8054821515600160b01b0260ff60b01b199091161790556040517f3794234fa370c9f3b948dda3e3040530785b2ef1eb27dda3ffde478f4e2643c090610a5b90831515815260200190565b6000600e54821115610c565760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016109d0565b6000610c60611fa5565b9050610c6c8382611fc8565b9392505050565b6000546001600160a01b03163314610c9d5760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b0381166000908152600b602052604090205460ff16610d055760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c7564656400000000000000000060448201526064016109d0565b60005b600c54811015610e6d57816001600160a01b0316600c8281548110610d2f57610d2f613300565b6000918252602090912001546001600160a01b03161415610e5b57600c8054610d5a90600190613267565b81548110610d6a57610d6a613300565b600091825260209091200154600c80546001600160a01b039092169183908110610d9657610d96613300565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610dee610dcf611fa5565b6001600160a01b0384166000908152600760205260409020549061200a565b6001600160a01b03831660009081526006602090815260408083209390935560078152828220829055600b905220805460ff19169055600c805480610e3557610e356132ea565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e65816132b9565b915050610d08565b5050565b3360008181526008602090815260408083206001600160a01b03871684529091528120549091610b05918590610b699086612089565b336000818152600b602052604090205460ff1615610f1c5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016109d0565b6000610f27836120e8565b505050506001600160a01b038416600090815260066020526040902054919250610f5391905082612137565b6001600160a01b038316600090815260066020526040902055600e54610f799082612137565b600e55600f54610f899084612089565b600f55505050565b6000546001600160a01b03163314610fbb5760405162461bcd60e51b81526004016109d09061317c565b610fc5600161154f565b6001601355600260155569152d02c7e14af6800000601755565b6000546001600160a01b031633146110095760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6000600d548311156110815760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016109d0565b816110a0576000611091846120e8565b50939550610b09945050505050565b60006110ab846120e8565b50929550610b09945050505050565b6000546001600160a01b031633146110e45760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b0381166000908152600b602052604090205460ff161561114d5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016109d0565b6001600160a01b038116600090815260066020526040902054156111a7576001600160a01b03811660009081526006602052604090205461118d90610bef565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600b60205260408120805460ff19166001908117909155600c805491820181559091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319169091179055565b6001600160a01b0381166000908152600b602052604081205460ff161561124a57506001600160a01b031660009081526007602052604090205490565b6001600160a01b038216600090815260066020526040902054610b0990610bef565b6000546001600160a01b031633146112965760405162461bcd60e51b81526004016109d09061317c565b6112a06000612179565b565b6000546001600160a01b031633146112cc5760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b031633146113175760405162461bcd60e51b81526004016109d09061317c565b611321600061154f565b600060138190556015556a52b7d2dcc80cd2e4000000601755565b6000546001600160a01b031633146113665760405162461bcd60e51b81526004016109d09061317c565b61137881670de0b6b3a7640000613248565b6019557f453d1c4f1983c8f3e321a629b382fccd1a772598354930e59f5055603d6073a06113ae82670de0b6b3a7640000613248565b604051908152602001610a5b565b6000546001600160a01b031633146113e65760405162461bcd60e51b81526004016109d09061317c565b600a8111156114375760405162461bcd60e51b815260206004820152601e60248201527f6c6971756964697479466565206d7573742066726f6d203020746f203130000060448201526064016109d0565b60158190556040518181527fa080f06a1e9c2a432b1d35cf0a54ebca051cf5dce7433c3d8e94948436f1035690602001610a5b565b606060118054610a759061327e565b6000610b053384610b6985604051806060016040528060258152602001613378602591393360009081526008602090815260408083206001600160a01b038d1684529091529020549190611f6b565b6000546001600160a01b031633146114f45760405162461bcd60e51b81526004016109d09061317c565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f464b21d4f8d37def140f2fd646da2d96b1973957bdaf7ba80c1a107dd77f02bb90602001610a5b565b6000610b05338484611c9b565b6000546001600160a01b031633146115795760405162461bcd60e51b81526004016109d09061317c565b601b8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610a5b90831515815260200190565b6000546001600160a01b031633146115f05760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b6000546001600160a01b0316331461163b5760405162461bcd60e51b81526004016109d09061317c565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561167b57600080fd5b505afa15801561168f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b39190612ee3565b6004805460405163e6a4390560e01b815230928101929092526001600160a01b039081166024830152919091169063e6a439059060440160206040518083038186803b15801561170257600080fd5b505afa158015611716573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173a9190612ee3565b90506001600160a01b03811661186957816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561178357600080fd5b505afa158015611797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bb9190612ee3565b600480546040516364e329cb60e11b815230928101929092526001600160a01b039081166024830152919091169063c9c6539690604401602060405180830381600087803b15801561180c57600080fd5b505af1158015611820573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118449190612ee3565b601b80546001600160a01b0319166001600160a01b0392909216919091179055611885565b601b80546001600160a01b0319166001600160a01b0383161790555b601a80546001600160a01b038085166001600160a01b03199283161790925560028054928616929091169190911790556118c23084600019611b77565b60055460405163095ea7b360e01b81526001600160a01b03858116600483015260001960248301529091169063095ea7b390604401602060405180830381600087803b15801561191157600080fd5b505af1158015611925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119499190613088565b50505050565b6000546001600160a01b031633146119795760405162461bcd60e51b81526004016109d09061317c565b600081116119d45760405162461bcd60e51b815260206004820152602260248201527f6d61785478416d6f756e74206d7573742062652067726561746572207468616e604482015261020360f41b60648201526084016109d0565b6119e681670de0b6b3a7640000613248565b6017557f4a02caf9e7317d663463d3d976767ba90289279dd55c0a46f962536efc87a9a66113ae82670de0b6b3a7640000613248565b6000546001600160a01b03163314611a465760405162461bcd60e51b81526004016109d09061317c565b611a5881670de0b6b3a7640000613248565b6018557faf03e08ee79afbf1342640444643fbc5871a6b7623742379afd8a14401aa7d6f6113ae82670de0b6b3a7640000613248565b6000546001600160a01b03163314611ab85760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b038116611b1d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d0565b611b2681612179565b50565b6000546001600160a01b03163314611b535760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6001600160a01b038316611bd95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109d0565b6001600160a01b038216611c3a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109d0565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611cff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109d0565b6001600160a01b038216611d615760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109d0565b60008111611dc35760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016109d0565b6000546001600160a01b03848116911614801590611def57506000546001600160a01b03838116911614155b15611e5757601754811115611e575760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016109d0565b6000611e623061120d565b601854601b5491925082101590600160a01b900460ff16158015611e8f5750601b54600160a81b900460ff165b8015611ea85750601b546001600160a01b038581169116145b15611f0c578015611ec1576018549150611ec1826121c9565b601b544790600160b01b900460ff168015611ee35750670de0b6b3a764000081115b15611f0a57601954811115611ef757506019545b611f0a611f05826064611fc8565b6121f5565b505b6001600160a01b0385166000908152600a602052604090205460019060ff1680611f4e57506001600160a01b0385166000908152600a602052604090205460ff165b15611f57575060005b611f6386868684612217565b505050505050565b60008184841115611f8f5760405162461bcd60e51b81526004016109d09190613127565b506000611f9c8486613267565b95945050505050565b6000806000611fb261233c565b9092509050611fc18282611fc8565b9250505090565b6000610c6c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506124be565b60008261201957506000610b09565b60006120258385613248565b9050826120328583613226565b14610c6c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016109d0565b600080612096838561320e565b905083811015610c6c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016109d0565b60008060008060008060008060006120ff8a6124ec565b925092509250600080600061211d8d8686612118611fa5565b61252e565b919f909e50909c50959a5093985091965092945050505050565b6000610c6c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f6b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b601b805460ff60a01b1916600160a01b1790556121e58161257e565b50601b805460ff60a01b19169055565b601b805460ff60a01b1916600160a01b17905580156121e5576121e58161288f565b8061222457612224612afc565b6001600160a01b0384166000908152600b602052604090205460ff16801561226557506001600160a01b0383166000908152600b602052604090205460ff16155b1561227a57612275848484612b2a565b612326565b6001600160a01b0384166000908152600b602052604090205460ff161580156122bb57506001600160a01b0383166000908152600b602052604090205460ff165b156122cb57612275848484612c50565b6001600160a01b0384166000908152600b602052604090205460ff16801561230b57506001600160a01b0383166000908152600b602052604090205460ff165b1561231b57612275848484612cf9565b612326848484612d6c565b8061194957611949601454601355601654601555565b600e54600d546000918291825b600c5481101561248e578260066000600c848154811061236b5761236b613300565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806123d657508160076000600c84815481106123af576123af613300565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156123ec57600e54600d54945094505050509091565b61243260066000600c848154811061240657612406613300565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490612137565b925061247a60076000600c848154811061244e5761244e613300565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390612137565b915080612486816132b9565b915050612349565b50600d54600e5461249e91611fc8565b8210156124b557600e54600d549350935050509091565b90939092509050565b600081836124df5760405162461bcd60e51b81526004016109d09190613127565b506000611f9c8486613226565b6000806000806124fb85612db0565b9050600061250886612dcc565b905060006125208261251a8986612137565b90612137565b979296509094509092505050565b600080808061253d888661200a565b9050600061254b888761200a565b90506000612559888861200a565b9050600061256b8261251a8686612137565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106125b3576125b3613300565b6001600160a01b0392831660209182029290920101526004548251911690829060019081106125e4576125e4613300565b6001600160a01b039283166020918202929092010152601a5460405163d06ca61f60e01b8152600092919091169063d06ca61f9061262890869086906004016131b1565b60006040518083038186803b15801561264057600080fd5b505afa158015612654573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261267c9190810190612fa6565b601a5483519192506001600160a01b031690635c11d79590859084906126a490600190613267565b815181106126b4576126b4613300565b602002602001015185600360009054906101000a90046001600160a01b0316426040518663ffffffff1660e01b81526004016126f49594939291906131d2565b600060405180830381600087803b15801561270e57600080fd5b505af192505050801561271f575060015b612782577fcf34ef537ac33ee1ac626ca1587a0a7e8e51561e5514f8cb36afa1c5102b3bab60405161277990602080825260149082015273195e1d195c9b985b0818d85b1b0819985a5b195960621b604082015260600190565b60405180910390a15b60055460035483516001600160a01b03928316926323b872dd921690309085906127ae90600190613267565b815181106127be576127be613300565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401602060405180830381600087803b15801561281857600080fd5b505af115801561282c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128509190613088565b507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a783836040516128829291906131b1565b60405180910390a1505050565b604080516002808252606082018352600092602083019080368337505060045482519293506001600160a01b0316918391506000906128d0576128d0613300565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061290457612904613300565b6001600160a01b039283166020918202929092010152601a5460405163d06ca61f60e01b8152600092919091169063d06ca61f9061294890869086906004016131b1565b60006040518083038186803b15801561296057600080fd5b505afa158015612974573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261299c9190810190612fa6565b9050601a60009054906101000a90046001600160a01b03166001600160a01b0316635c11d79584612a086064612a02605f8760018a516129dc9190613267565b815181106129ec576129ec613300565b602002602001015161200a90919063ffffffff16565b90611fc8565b6001546040516001600160e01b031960e086901b168152612a3d93929188916001600160a01b039091169042906004016131d2565b600060405180830381600087803b158015612a5757600080fd5b505af1925050508015612a68575060015b612acb577fcf34ef537ac33ee1ac626ca1587a0a7e8e51561e5514f8cb36afa1c5102b3bab604051612ac290602080825260149082015273195e1d195c9b985b0818d85b1b0819985a5b195960621b604082015260600190565b60405180910390a15b7f6fd378a9d8b7345c2e5b18229aaf1e39d32b177b501d0a0d26a0a858a23a962483836040516128829291906131b1565b601354158015612b0c5750601554155b15612b1357565b601380546014556015805460165560009182905555565b600080600080600080612b3c876120e8565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150612b6e9088612137565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612b9d9087612137565b6001600160a01b03808b1660009081526006602052604080822093909355908a1681522054612bcc9086612089565b6001600160a01b038916600090815260066020526040902055612bee81612de8565b612bf88483612ea2565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612c3d91815260200190565b60405180910390a3505050505050505050565b600080600080600080612c62876120e8565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612c949087612137565b6001600160a01b03808b16600090815260066020908152604080832094909455918b16815260079091522054612cca9084612089565b6001600160a01b038916600090815260076020908152604080832093909355600690522054612bcc9086612089565b600080600080600080612d0b876120e8565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150612d3d9088612137565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612c949087612137565b600080600080600080612d7e876120e8565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612b9d9087612137565b6000610b096064612a026013548561200a90919063ffffffff16565b6000610b096064612a026015548561200a90919063ffffffff16565b6000612df2611fa5565b90506000612e00838361200a565b30600090815260066020526040902054909150612e1d9082612089565b30600090815260066020908152604080832093909355600b9052205460ff1615612e6c5730600090815260076020526040902054612e5b9084612089565b306000908152600760205260409020555b60408051338152602081018590527ff8daf4a07edf94beecca7b0f59fd1525aa6796712a0895cffee971515a71009e9101612882565b600e54612eaf9083612137565b600e55600f54612ebf9082612089565b600f555050565b600060208284031215612ed857600080fd5b8135610c6c8161332c565b600060208284031215612ef557600080fd5b8151610c6c8161332c565b60008060408385031215612f1357600080fd5b8235612f1e8161332c565b91506020830135612f2e8161332c565b809150509250929050565b600080600060608486031215612f4e57600080fd5b8335612f598161332c565b92506020840135612f698161332c565b929592945050506040919091013590565b60008060408385031215612f8d57600080fd5b8235612f988161332c565b946020939093013593505050565b60006020808385031215612fb957600080fd5b825167ffffffffffffffff80821115612fd157600080fd5b818501915085601f830112612fe557600080fd5b815181811115612ff757612ff7613316565b8060051b604051601f19603f8301168101818110858211171561301c5761301c613316565b604052828152858101935084860182860187018a101561303b57600080fd5b600095505b8386101561305e578051855260019590950194938601938601613040565b5098975050505050505050565b60006020828403121561307d57600080fd5b8135610c6c81613341565b60006020828403121561309a57600080fd5b8151610c6c81613341565b6000602082840312156130b757600080fd5b5035919050565b600080604083850312156130d157600080fd5b823591506020830135612f2e81613341565b600081518084526020808501945080840160005b8381101561311c5781516001600160a01b0316875295820195908201906001016130f7565b509495945050505050565b600060208083528351808285015260005b8181101561315457858101830151858201604001528201613138565b81811115613166576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8281526040602082015260006131ca60408301846130e3565b949350505050565b85815284602082015260a0604082015260006131f160a08301866130e3565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115613221576132216132d4565b500190565b60008261324357634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615613262576132626132d4565b500290565b600082821015613279576132796132d4565b500390565b600181811c9082168061329257607f821691505b602082108114156132b357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156132cd576132cd6132d4565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b2657600080fd5b8015158114611b2657600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205a4eee0fe3fb5bcdd241e240b5b6f7dc32316379aab0a7d22b1873ebdbc453ee64736f6c63430008070033

Deployed ByteCode

0x6080604052600436106102e85760003560e01c806370d5ae0511610190578063a9059cbb116100dc578063ea2f0b3711610095578063f0f165af1161006f578063f0f165af14610926578063f2fde38b14610946578063f60e673e14610966578063f80f5dd51461098657600080fd5b8063ea2f0b37146108c6578063eafb5a3c146108e6578063ec28438a1461090657600080fd5b8063a9059cbb146107db578063bdc653ef146107fb578063c49b9a8014610810578063cfdb63ac14610830578063d9e6646014610860578063dd62ed3e1461088057600080fd5b806388f820201161014957806395d89b411161012357806395d89b4114610771578063a073d37f14610786578063a457c2d71461079b578063a4640b82146107bb57600080fd5b806388f82020146106fa5780638da5cb5b146107335780638ee88c531461075157600080fd5b806370d5ae051461065a578063715018a61461067a57806378c8cda71461068f5780637d1db4a5146106af5780637e09adfe146106c557806382d2a4bb146106da57600080fd5b8063395093511161024f57806349bd5a5e116102085780635342acb4116101e25780635342acb4146105ca5780636053a0e3146106035780636bc87c3a1461062457806370a082311461063a57600080fd5b806349bd5a5e146105695780634a74bb021461058957806352390c02146105aa57600080fd5b806339509351146104be5780633b124fe7146104de5780633bd5d173146104f45780634367e34414610514578063437823ec146105295780634549b0391461054957600080fd5b80631c7e8e15116102a15780631c7e8e15146103fc57806323b872dd1461041c57806329370cc61461043c5780632d8381191461045c578063313ce5671461047c5780633685d4191461049e57600080fd5b8063061c82d01461031557806306fdde0314610335578063095ea7b31461036057806313114a9d146103905780631694505e146103af57806318160ddd146103e757600080fd5b36610310573360009081526009602052604090205460ff16151560011461030e57600080fd5b005b600080fd5b34801561032157600080fd5b5061030e6103303660046130a5565b6109a6565b34801561034157600080fd5b5061034a610a66565b6040516103579190613127565b60405180910390f35b34801561036c57600080fd5b5061038061037b366004612f7a565b610af8565b6040519015158152602001610357565b34801561039c57600080fd5b50600f545b604051908152602001610357565b3480156103bb57600080fd5b50601a546103cf906001600160a01b031681565b6040516001600160a01b039091168152602001610357565b3480156103f357600080fd5b50600d546103a1565b34801561040857600080fd5b506003546103cf906001600160a01b031681565b34801561042857600080fd5b50610380610437366004612f39565b610b0f565b34801561044857600080fd5b5061030e61045736600461306b565b610b78565b34801561046857600080fd5b506103a16104773660046130a5565b610bef565b34801561048857600080fd5b5060125460405160ff9091168152602001610357565b3480156104aa57600080fd5b5061030e6104b9366004612ec6565b610c73565b3480156104ca57600080fd5b506103806104d9366004612f7a565b610e71565b3480156104ea57600080fd5b506103a160135481565b34801561050057600080fd5b5061030e61050f3660046130a5565b610ea7565b34801561052057600080fd5b5061030e610f91565b34801561053557600080fd5b5061030e610544366004612ec6565b610fdf565b34801561055557600080fd5b506103a16105643660046130be565b61102d565b34801561057557600080fd5b50601b546103cf906001600160a01b031681565b34801561059557600080fd5b50601b5461038090600160a81b900460ff1681565b3480156105b657600080fd5b5061030e6105c5366004612ec6565b6110ba565b3480156105d657600080fd5b506103806105e5366004612ec6565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561060f57600080fd5b50601b5461038090600160b01b900460ff1681565b34801561063057600080fd5b506103a160155481565b34801561064657600080fd5b506103a1610655366004612ec6565b61120d565b34801561066657600080fd5b506001546103cf906001600160a01b031681565b34801561068657600080fd5b5061030e61126c565b34801561069b57600080fd5b5061030e6106aa366004612ec6565b6112a2565b3480156106bb57600080fd5b506103a160175481565b3480156106d157600080fd5b5061030e6112ed565b3480156106e657600080fd5b5061030e6106f53660046130a5565b61133c565b34801561070657600080fd5b50610380610715366004612ec6565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561073f57600080fd5b506000546001600160a01b03166103cf565b34801561075d57600080fd5b5061030e61076c3660046130a5565b6113bc565b34801561077d57600080fd5b5061034a61146c565b34801561079257600080fd5b506018546103a1565b3480156107a757600080fd5b506103806107b6366004612f7a565b61147b565b3480156107c757600080fd5b5061030e6107d6366004612ec6565b6114ca565b3480156107e757600080fd5b506103806107f6366004612f7a565b611542565b34801561080757600080fd5b506019546103a1565b34801561081c57600080fd5b5061030e61082b36600461306b565b61154f565b34801561083c57600080fd5b5061038061084b366004612ec6565b60096020526000908152604090205460ff1681565b34801561086c57600080fd5b506002546103cf906001600160a01b031681565b34801561088c57600080fd5b506103a161089b366004612f00565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b3480156108d257600080fd5b5061030e6108e1366004612ec6565b6115c6565b3480156108f257600080fd5b5061030e610901366004612ec6565b611611565b34801561091257600080fd5b5061030e6109213660046130a5565b61194f565b34801561093257600080fd5b5061030e6109413660046130a5565b611a1c565b34801561095257600080fd5b5061030e610961366004612ec6565b611a8e565b34801561097257600080fd5b506004546103cf906001600160a01b031681565b34801561099257600080fd5b5061030e6109a1366004612ec6565b611b29565b6000546001600160a01b031633146109d95760405162461bcd60e51b81526004016109d09061317c565b60405180910390fd5b600a811115610a2a5760405162461bcd60e51b815260206004820152601860248201527f746178466565206d7573742066726f6d203020746f203130000000000000000060448201526064016109d0565b60138190556040518181527f19da908cae03512cf29c19a5842b2904a06fd24ef9982759c78f9379831ed70f906020015b60405180910390a150565b606060108054610a759061327e565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa19061327e565b8015610aee5780601f10610ac357610100808354040283529160200191610aee565b820191906000526020600020905b815481529060010190602001808311610ad157829003601f168201915b5050505050905090565b6000610b05338484611b77565b5060015b92915050565b6000610b1c848484611c9b565b610b6e8433610b6985604051806060016040528060288152602001613350602891396001600160a01b038a1660009081526008602090815260408083203384529091529020549190611f6b565b611b77565b5060019392505050565b6000546001600160a01b03163314610ba25760405162461bcd60e51b81526004016109d09061317c565b601b8054821515600160b01b0260ff60b01b199091161790556040517f3794234fa370c9f3b948dda3e3040530785b2ef1eb27dda3ffde478f4e2643c090610a5b90831515815260200190565b6000600e54821115610c565760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016109d0565b6000610c60611fa5565b9050610c6c8382611fc8565b9392505050565b6000546001600160a01b03163314610c9d5760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b0381166000908152600b602052604090205460ff16610d055760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c7564656400000000000000000060448201526064016109d0565b60005b600c54811015610e6d57816001600160a01b0316600c8281548110610d2f57610d2f613300565b6000918252602090912001546001600160a01b03161415610e5b57600c8054610d5a90600190613267565b81548110610d6a57610d6a613300565b600091825260209091200154600c80546001600160a01b039092169183908110610d9657610d96613300565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550610dee610dcf611fa5565b6001600160a01b0384166000908152600760205260409020549061200a565b6001600160a01b03831660009081526006602090815260408083209390935560078152828220829055600b905220805460ff19169055600c805480610e3557610e356132ea565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e65816132b9565b915050610d08565b5050565b3360008181526008602090815260408083206001600160a01b03871684529091528120549091610b05918590610b699086612089565b336000818152600b602052604090205460ff1615610f1c5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016109d0565b6000610f27836120e8565b505050506001600160a01b038416600090815260066020526040902054919250610f5391905082612137565b6001600160a01b038316600090815260066020526040902055600e54610f799082612137565b600e55600f54610f899084612089565b600f55505050565b6000546001600160a01b03163314610fbb5760405162461bcd60e51b81526004016109d09061317c565b610fc5600161154f565b6001601355600260155569152d02c7e14af6800000601755565b6000546001600160a01b031633146110095760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6000600d548311156110815760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016109d0565b816110a0576000611091846120e8565b50939550610b09945050505050565b60006110ab846120e8565b50929550610b09945050505050565b6000546001600160a01b031633146110e45760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b0381166000908152600b602052604090205460ff161561114d5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016109d0565b6001600160a01b038116600090815260066020526040902054156111a7576001600160a01b03811660009081526006602052604090205461118d90610bef565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600b60205260408120805460ff19166001908117909155600c805491820181559091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319169091179055565b6001600160a01b0381166000908152600b602052604081205460ff161561124a57506001600160a01b031660009081526007602052604090205490565b6001600160a01b038216600090815260066020526040902054610b0990610bef565b6000546001600160a01b031633146112965760405162461bcd60e51b81526004016109d09061317c565b6112a06000612179565b565b6000546001600160a01b031633146112cc5760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b031633146113175760405162461bcd60e51b81526004016109d09061317c565b611321600061154f565b600060138190556015556a52b7d2dcc80cd2e4000000601755565b6000546001600160a01b031633146113665760405162461bcd60e51b81526004016109d09061317c565b61137881670de0b6b3a7640000613248565b6019557f453d1c4f1983c8f3e321a629b382fccd1a772598354930e59f5055603d6073a06113ae82670de0b6b3a7640000613248565b604051908152602001610a5b565b6000546001600160a01b031633146113e65760405162461bcd60e51b81526004016109d09061317c565b600a8111156114375760405162461bcd60e51b815260206004820152601e60248201527f6c6971756964697479466565206d7573742066726f6d203020746f203130000060448201526064016109d0565b60158190556040518181527fa080f06a1e9c2a432b1d35cf0a54ebca051cf5dce7433c3d8e94948436f1035690602001610a5b565b606060118054610a759061327e565b6000610b053384610b6985604051806060016040528060258152602001613378602591393360009081526008602090815260408083206001600160a01b038d1684529091529020549190611f6b565b6000546001600160a01b031633146114f45760405162461bcd60e51b81526004016109d09061317c565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f464b21d4f8d37def140f2fd646da2d96b1973957bdaf7ba80c1a107dd77f02bb90602001610a5b565b6000610b05338484611c9b565b6000546001600160a01b031633146115795760405162461bcd60e51b81526004016109d09061317c565b601b8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610a5b90831515815260200190565b6000546001600160a01b031633146115f05760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b6000546001600160a01b0316331461163b5760405162461bcd60e51b81526004016109d09061317c565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561167b57600080fd5b505afa15801561168f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b39190612ee3565b6004805460405163e6a4390560e01b815230928101929092526001600160a01b039081166024830152919091169063e6a439059060440160206040518083038186803b15801561170257600080fd5b505afa158015611716573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173a9190612ee3565b90506001600160a01b03811661186957816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561178357600080fd5b505afa158015611797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bb9190612ee3565b600480546040516364e329cb60e11b815230928101929092526001600160a01b039081166024830152919091169063c9c6539690604401602060405180830381600087803b15801561180c57600080fd5b505af1158015611820573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118449190612ee3565b601b80546001600160a01b0319166001600160a01b0392909216919091179055611885565b601b80546001600160a01b0319166001600160a01b0383161790555b601a80546001600160a01b038085166001600160a01b03199283161790925560028054928616929091169190911790556118c23084600019611b77565b60055460405163095ea7b360e01b81526001600160a01b03858116600483015260001960248301529091169063095ea7b390604401602060405180830381600087803b15801561191157600080fd5b505af1158015611925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119499190613088565b50505050565b6000546001600160a01b031633146119795760405162461bcd60e51b81526004016109d09061317c565b600081116119d45760405162461bcd60e51b815260206004820152602260248201527f6d61785478416d6f756e74206d7573742062652067726561746572207468616e604482015261020360f41b60648201526084016109d0565b6119e681670de0b6b3a7640000613248565b6017557f4a02caf9e7317d663463d3d976767ba90289279dd55c0a46f962536efc87a9a66113ae82670de0b6b3a7640000613248565b6000546001600160a01b03163314611a465760405162461bcd60e51b81526004016109d09061317c565b611a5881670de0b6b3a7640000613248565b6018557faf03e08ee79afbf1342640444643fbc5871a6b7623742379afd8a14401aa7d6f6113ae82670de0b6b3a7640000613248565b6000546001600160a01b03163314611ab85760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b038116611b1d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d0565b611b2681612179565b50565b6000546001600160a01b03163314611b535760405162461bcd60e51b81526004016109d09061317c565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6001600160a01b038316611bd95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109d0565b6001600160a01b038216611c3a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109d0565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611cff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109d0565b6001600160a01b038216611d615760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109d0565b60008111611dc35760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016109d0565b6000546001600160a01b03848116911614801590611def57506000546001600160a01b03838116911614155b15611e5757601754811115611e575760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016109d0565b6000611e623061120d565b601854601b5491925082101590600160a01b900460ff16158015611e8f5750601b54600160a81b900460ff165b8015611ea85750601b546001600160a01b038581169116145b15611f0c578015611ec1576018549150611ec1826121c9565b601b544790600160b01b900460ff168015611ee35750670de0b6b3a764000081115b15611f0a57601954811115611ef757506019545b611f0a611f05826064611fc8565b6121f5565b505b6001600160a01b0385166000908152600a602052604090205460019060ff1680611f4e57506001600160a01b0385166000908152600a602052604090205460ff165b15611f57575060005b611f6386868684612217565b505050505050565b60008184841115611f8f5760405162461bcd60e51b81526004016109d09190613127565b506000611f9c8486613267565b95945050505050565b6000806000611fb261233c565b9092509050611fc18282611fc8565b9250505090565b6000610c6c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506124be565b60008261201957506000610b09565b60006120258385613248565b9050826120328583613226565b14610c6c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016109d0565b600080612096838561320e565b905083811015610c6c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016109d0565b60008060008060008060008060006120ff8a6124ec565b925092509250600080600061211d8d8686612118611fa5565b61252e565b919f909e50909c50959a5093985091965092945050505050565b6000610c6c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f6b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b601b805460ff60a01b1916600160a01b1790556121e58161257e565b50601b805460ff60a01b19169055565b601b805460ff60a01b1916600160a01b17905580156121e5576121e58161288f565b8061222457612224612afc565b6001600160a01b0384166000908152600b602052604090205460ff16801561226557506001600160a01b0383166000908152600b602052604090205460ff16155b1561227a57612275848484612b2a565b612326565b6001600160a01b0384166000908152600b602052604090205460ff161580156122bb57506001600160a01b0383166000908152600b602052604090205460ff165b156122cb57612275848484612c50565b6001600160a01b0384166000908152600b602052604090205460ff16801561230b57506001600160a01b0383166000908152600b602052604090205460ff165b1561231b57612275848484612cf9565b612326848484612d6c565b8061194957611949601454601355601654601555565b600e54600d546000918291825b600c5481101561248e578260066000600c848154811061236b5761236b613300565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806123d657508160076000600c84815481106123af576123af613300565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156123ec57600e54600d54945094505050509091565b61243260066000600c848154811061240657612406613300565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490612137565b925061247a60076000600c848154811061244e5761244e613300565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390612137565b915080612486816132b9565b915050612349565b50600d54600e5461249e91611fc8565b8210156124b557600e54600d549350935050509091565b90939092509050565b600081836124df5760405162461bcd60e51b81526004016109d09190613127565b506000611f9c8486613226565b6000806000806124fb85612db0565b9050600061250886612dcc565b905060006125208261251a8986612137565b90612137565b979296509094509092505050565b600080808061253d888661200a565b9050600061254b888761200a565b90506000612559888861200a565b9050600061256b8261251a8686612137565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106125b3576125b3613300565b6001600160a01b0392831660209182029290920101526004548251911690829060019081106125e4576125e4613300565b6001600160a01b039283166020918202929092010152601a5460405163d06ca61f60e01b8152600092919091169063d06ca61f9061262890869086906004016131b1565b60006040518083038186803b15801561264057600080fd5b505afa158015612654573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261267c9190810190612fa6565b601a5483519192506001600160a01b031690635c11d79590859084906126a490600190613267565b815181106126b4576126b4613300565b602002602001015185600360009054906101000a90046001600160a01b0316426040518663ffffffff1660e01b81526004016126f49594939291906131d2565b600060405180830381600087803b15801561270e57600080fd5b505af192505050801561271f575060015b612782577fcf34ef537ac33ee1ac626ca1587a0a7e8e51561e5514f8cb36afa1c5102b3bab60405161277990602080825260149082015273195e1d195c9b985b0818d85b1b0819985a5b195960621b604082015260600190565b60405180910390a15b60055460035483516001600160a01b03928316926323b872dd921690309085906127ae90600190613267565b815181106127be576127be613300565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401602060405180830381600087803b15801561281857600080fd5b505af115801561282c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128509190613088565b507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a783836040516128829291906131b1565b60405180910390a1505050565b604080516002808252606082018352600092602083019080368337505060045482519293506001600160a01b0316918391506000906128d0576128d0613300565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061290457612904613300565b6001600160a01b039283166020918202929092010152601a5460405163d06ca61f60e01b8152600092919091169063d06ca61f9061294890869086906004016131b1565b60006040518083038186803b15801561296057600080fd5b505afa158015612974573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261299c9190810190612fa6565b9050601a60009054906101000a90046001600160a01b03166001600160a01b0316635c11d79584612a086064612a02605f8760018a516129dc9190613267565b815181106129ec576129ec613300565b602002602001015161200a90919063ffffffff16565b90611fc8565b6001546040516001600160e01b031960e086901b168152612a3d93929188916001600160a01b039091169042906004016131d2565b600060405180830381600087803b158015612a5757600080fd5b505af1925050508015612a68575060015b612acb577fcf34ef537ac33ee1ac626ca1587a0a7e8e51561e5514f8cb36afa1c5102b3bab604051612ac290602080825260149082015273195e1d195c9b985b0818d85b1b0819985a5b195960621b604082015260600190565b60405180910390a15b7f6fd378a9d8b7345c2e5b18229aaf1e39d32b177b501d0a0d26a0a858a23a962483836040516128829291906131b1565b601354158015612b0c5750601554155b15612b1357565b601380546014556015805460165560009182905555565b600080600080600080612b3c876120e8565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150612b6e9088612137565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612b9d9087612137565b6001600160a01b03808b1660009081526006602052604080822093909355908a1681522054612bcc9086612089565b6001600160a01b038916600090815260066020526040902055612bee81612de8565b612bf88483612ea2565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612c3d91815260200190565b60405180910390a3505050505050505050565b600080600080600080612c62876120e8565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612c949087612137565b6001600160a01b03808b16600090815260066020908152604080832094909455918b16815260079091522054612cca9084612089565b6001600160a01b038916600090815260076020908152604080832093909355600690522054612bcc9086612089565b600080600080600080612d0b876120e8565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150612d3d9088612137565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612c949087612137565b600080600080600080612d7e876120e8565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612b9d9087612137565b6000610b096064612a026013548561200a90919063ffffffff16565b6000610b096064612a026015548561200a90919063ffffffff16565b6000612df2611fa5565b90506000612e00838361200a565b30600090815260066020526040902054909150612e1d9082612089565b30600090815260066020908152604080832093909355600b9052205460ff1615612e6c5730600090815260076020526040902054612e5b9084612089565b306000908152600760205260409020555b60408051338152602081018590527ff8daf4a07edf94beecca7b0f59fd1525aa6796712a0895cffee971515a71009e9101612882565b600e54612eaf9083612137565b600e55600f54612ebf9082612089565b600f555050565b600060208284031215612ed857600080fd5b8135610c6c8161332c565b600060208284031215612ef557600080fd5b8151610c6c8161332c565b60008060408385031215612f1357600080fd5b8235612f1e8161332c565b91506020830135612f2e8161332c565b809150509250929050565b600080600060608486031215612f4e57600080fd5b8335612f598161332c565b92506020840135612f698161332c565b929592945050506040919091013590565b60008060408385031215612f8d57600080fd5b8235612f988161332c565b946020939093013593505050565b60006020808385031215612fb957600080fd5b825167ffffffffffffffff80821115612fd157600080fd5b818501915085601f830112612fe557600080fd5b815181811115612ff757612ff7613316565b8060051b604051601f19603f8301168101818110858211171561301c5761301c613316565b604052828152858101935084860182860187018a101561303b57600080fd5b600095505b8386101561305e578051855260019590950194938601938601613040565b5098975050505050505050565b60006020828403121561307d57600080fd5b8135610c6c81613341565b60006020828403121561309a57600080fd5b8151610c6c81613341565b6000602082840312156130b757600080fd5b5035919050565b600080604083850312156130d157600080fd5b823591506020830135612f2e81613341565b600081518084526020808501945080840160005b8381101561311c5781516001600160a01b0316875295820195908201906001016130f7565b509495945050505050565b600060208083528351808285015260005b8181101561315457858101830151858201604001528201613138565b81811115613166576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8281526040602082015260006131ca60408301846130e3565b949350505050565b85815284602082015260a0604082015260006131f160a08301866130e3565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115613221576132216132d4565b500190565b60008261324357634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615613262576132626132d4565b500290565b600082821015613279576132796132d4565b500390565b600181811c9082168061329257607f821691505b602082108114156132b357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156132cd576132cd6132d4565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b2657600080fd5b8015158114611b2657600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205a4eee0fe3fb5bcdd241e240b5b6f7dc32316379aab0a7d22b1873ebdbc453ee64736f6c63430008070033