ETH Price: $3,664.62 (+2.14%)

Token

ERC-20: Stakify (SIFY)
 

Overview

Max Total Supply

113,096,082.134593108585699656 SIFY

Holders

1,328

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1.317385685201235353 SIFY

Value
$0.00
0xc336ce75652e1fbf4524ffb20bdeca18b4457f0e
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Stakify

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Lock.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/math/SignedSafeMath.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "./Pool.sol";

contract Stakify is IERC20, Ownable {
    using SafeMath for uint256;
    using SignedSafeMath for int256;

    event LogRebase(uint256 indexed epoch, uint256 totalSupply);
    event RepellentFeeActivated(uint256 activatedAmount);
    event RepellentFeeDisabled(uint256 disabledAmount);

    IUniswapV2Pair public pairContract;
    mapping(address => bool) _isFeeExempt;
    mapping(address => bool) isAuthorized;

    modifier validRecipient(address to) {
        require(to != address(0x0));
        _;
    }

    string constant _name = "Stakify";
    string constant _symbol = "SIFY";
    uint8 constant _decimals = 18;

    uint256 public constant DECIMALS = 18;
    uint256 public constant MAX_UINT256 = ~uint256(0);
    uint8 public constant RATE_DECIMALS = 11;

    uint256 private constant INITIAL_FRAGMENTS_SUPPLY =
        100 * 10 ** 6 * 10 ** DECIMALS;

    uint256 public autoBurnFee = 1;
    uint256 public liquidityFee = 3;
    uint256 public treasuryFee = 1;
    uint256 public totalFee = 5;

    uint256 public repellentSellAutoBurnFee = 15;
    uint256 public repellentSellLiquidityFee = 5;
    uint256 public repellentSellTreasuryFee = 10;
    uint256 public repellentSellTotalFee = 30;

    uint256 public repellentBuyAutoBurnFee = 1;
    uint256 public repellentBuyLiquidityFee = 1;
    uint256 public repellentBuyTreasuryFee = 1;
    uint256 public repellentBuyTotalFee = 3;

    uint256 public swapThershold = INITIAL_FRAGMENTS_SUPPLY / 10000;

    address DEAD = 0x000000000000000000000000000000000000dEaD;
    address ZERO = 0x0000000000000000000000000000000000000000;

    address BUSD = 0xdAC17F958D2ee523a2206206994597C13D831ec7;

    address public treasuryFeeWallet =
        0xdAb6280d5a87c10250F454EE3AD3b3b0C1A274C0;

    bool public swapEnabled = true;
    IUniswapV2Router02 public router;

    enum LPLevels {
        Level1,
        Level2,
        Level3,
        Level4,
        Level5
    }

    LPLevels public currentLpLevel;

    ReferalPool public referalPool;

    uint256 public lastLPCheckedAt;
    uint256 public lastLPAmount;
    uint256 public lpCheckFrequency = 1 hours;

    struct LPRange {
        uint256 minLimit;
        uint256 maxLimit;
        uint256 dropLimit;
        uint256 recoverLimit;
    }

    mapping(LPLevels => LPRange) public lpRanges;

    address public pair;
    bool inSwap = false;
    modifier swapping() {
        inSwap = true;
        _;
        inSwap = false;
    }

    uint256 private constant TOTAL_GONS =
        MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY);

    uint256 public swapThreshold;
    bool public tradingOpen = false;

    bool public isRepellentFee;

    uint256 public repellentFeeActivatedAt;
    uint256 public repellentFeeActivatedAmount;
    uint256 public repellentFeeRecoverAmount;

    uint256 public lastRepellentFeeActivatedAt;
    uint256 public lastRepellentFeeRecoveredAt;

    bool public _autoRebase;
    bool public _autoAddLiquidity;
    uint256 public _initRebaseStartTime;
    uint256 public _lastRebasedTime;
    uint256 public _lastAddLiquidityTime;
    uint256 public _totalSupply;
    uint256 private _gonsPerFragment;

    uint256 public initialRebaseRate = 19904549;

    mapping(address => uint256) private _gonBalances;
    mapping(address => mapping(address => uint256)) private _allowedFragments;

    constructor() {
        router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        pair = IUniswapV2Factory(router.factory()).createPair(
            router.WETH(),
            address(this)
        );

        address _newOwner = 0x64Ab7F64187AF212007A3EE9fdF990101DE4Bc16;

        _allowedFragments[address(this)][address(router)] = type(uint256).max;
        pairContract = IUniswapV2Pair(pair);

        isAuthorized[_newOwner] = true;

        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _gonBalances[_newOwner] = TOTAL_GONS;
        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);
        _initRebaseStartTime = block.timestamp;
        _lastRebasedTime = block.timestamp;
        _autoRebase = true;
        _autoAddLiquidity = true;
        _isFeeExempt[_newOwner] = true;
        _isFeeExempt[address(this)] = true;

        lpRanges[LPLevels.Level1].minLimit = 0;
        lpRanges[LPLevels.Level1].maxLimit = 100000 ether;
        lpRanges[LPLevels.Level1].dropLimit = 1000;
        lpRanges[LPLevels.Level1].recoverLimit = 2000;

        lpRanges[LPLevels.Level2].minLimit = 100000 ether;
        lpRanges[LPLevels.Level2].maxLimit = 200000 ether;
        lpRanges[LPLevels.Level2].dropLimit = 750;
        lpRanges[LPLevels.Level2].recoverLimit = 1500;

        lpRanges[LPLevels.Level3].minLimit = 200000 ether;
        lpRanges[LPLevels.Level3].maxLimit = 500000 ether;
        lpRanges[LPLevels.Level3].dropLimit = 500;
        lpRanges[LPLevels.Level3].recoverLimit = 1000;

        lpRanges[LPLevels.Level4].minLimit = 500000 ether;
        lpRanges[LPLevels.Level4].maxLimit = 1000000 ether;
        lpRanges[LPLevels.Level4].dropLimit = 250;
        lpRanges[LPLevels.Level4].recoverLimit = 500;

        lpRanges[LPLevels.Level5].minLimit = 1000000 ether;
        lpRanges[LPLevels.Level5].maxLimit = 600000 ether;
        lpRanges[LPLevels.Level5].dropLimit = 100;
        lpRanges[LPLevels.Level5].recoverLimit = 200;

        referalPool = new ReferalPool(_newOwner, address(this));

        _transferOwnership(_newOwner);
        emit Transfer(address(0x0), _newOwner, _totalSupply);
    }

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

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

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

    function rebase() internal {
        if (inSwap) return;
        uint256 rebaseRate;
        uint256 deltaTimeFromInit = block.timestamp - _initRebaseStartTime;
        uint256 deltaTime = block.timestamp - _lastRebasedTime;
        uint256 times = deltaTime.div(3600);
        uint256 epoch = times.mul(60);

        if (deltaTimeFromInit <= 10) {
            rebaseRate = initialRebaseRate;
        } else if (deltaTimeFromInit < 100) {
            uint256 numberOf10Days = deltaTimeFromInit / 10;
            rebaseRate = initialRebaseRate - (100000 * numberOf10Days);
        } else {
            rebaseRate = 272039;
        }

        for (uint256 i = 0; i < times; i++) {
            _totalSupply = _totalSupply
                .mul((10 ** RATE_DECIMALS).add(rebaseRate))
                .div(10 ** RATE_DECIMALS);
        }

        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);
        _lastRebasedTime = _lastRebasedTime.add(times.mul(60));

        pairContract.sync();

        emit LogRebase(epoch, _totalSupply);
    }

    function transfer(
        address to,
        uint256 value
    ) external override validRecipient(to) returns (bool) {
        _transferFrom(msg.sender, to, value);
        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external override validRecipient(to) returns (bool) {
        if (_allowedFragments[from][msg.sender] != type(uint256).max) {
            _allowedFragments[from][msg.sender] = _allowedFragments[from][
                msg.sender
            ].sub(value, "Insufficient Allowance");
        }
        _transferFrom(from, to, value);
        return true;
    }

    function _basicTransfer(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        uint256 gonAmount = amount.mul(_gonsPerFragment);
        _gonBalances[from] = _gonBalances[from].sub(gonAmount);
        _gonBalances[to] = _gonBalances[to].add(gonAmount);
        return true;
    }

    function _transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (bool) {
        if (!isAuthorized[sender]) {
            require(tradingOpen, "Trading not open yet");
        }
        if (inSwap || sender == address(referalPool)) {
            return _basicTransfer(sender, recipient, amount);
        }

        if (
            (lastLPCheckedAt + lpCheckFrequency) < block.timestamp &&
            !isRepellentFee &&
            tradingOpen
        ) {
            uint256 lpBnbBalance = IERC20(router.WETH()).balanceOf(
                address(pair)
            );
            lastLPAmount = getBnbPrice(lpBnbBalance);
            lastLPCheckedAt = block.timestamp;
        }

        if (sender == pair) {
            if (referalPool.userReferal(recipient) != ZERO) {
                referalPool.setReferalBonus(recipient, amount);
            }
        }
        if (tradingOpen) {
            calculateLPStatus();
        }

        if (shouldRebase()) {
            rebase();
        }

        if (shouldSwapBack()) {
            swapBack();
        }

        uint256 gonAmount = amount.mul(_gonsPerFragment);
        _gonBalances[sender] = _gonBalances[sender].sub(gonAmount);
        uint256 gonAmountReceived = shouldTakeFee(sender, recipient)
            ? takeFee(sender, recipient, gonAmount)
            : gonAmount;
        _gonBalances[recipient] = _gonBalances[recipient].add(
            gonAmountReceived
        );

        emit Transfer(
            sender,
            recipient,
            gonAmountReceived.div(_gonsPerFragment)
        );
        return true;
    }

    function takeFee(
        address sender,
        address recipient,
        uint256 gonAmount
    ) internal returns (uint256) {
        uint256 feeAmount = 0;
        uint256 tokensToTreasury = 0;
        uint256 tokensToBurn = 0;

        if (!isRepellentFee) {
            feeAmount = gonAmount.div(100).mul(totalFee);
            tokensToTreasury = feeAmount.mul(treasuryFee).div(totalFee);
            tokensToBurn = feeAmount.mul(autoBurnFee).div(totalFee);
        } else {
            if (recipient == pair) {
                feeAmount = gonAmount.div(100).mul(repellentSellTotalFee);
                tokensToTreasury = feeAmount.mul(repellentSellTreasuryFee).div(
                    repellentSellTotalFee
                );
                tokensToBurn = feeAmount.mul(repellentSellAutoBurnFee).div(
                    repellentSellTotalFee
                );
            } else {
                feeAmount = gonAmount.div(100).mul(repellentBuyTotalFee);
                tokensToTreasury = feeAmount.mul(repellentBuyTreasuryFee).div(
                    repellentBuyTotalFee
                );
                tokensToBurn = feeAmount.mul(repellentBuyAutoBurnFee).div(
                    repellentBuyTotalFee
                );
            }
        }

        feeAmount = feeAmount.sub(tokensToTreasury).sub(tokensToBurn);

        _gonBalances[treasuryFeeWallet] = _gonBalances[treasuryFeeWallet].add(
            tokensToTreasury
        );

        emit Transfer(
            sender,
            address(treasuryFeeWallet),
            tokensToTreasury.div(_gonsPerFragment)
        );
        _gonBalances[DEAD] = _gonBalances[DEAD].add(tokensToBurn);

        emit Transfer(sender, DEAD, tokensToBurn.div(_gonsPerFragment));
        _gonBalances[address(this)] = _gonBalances[address(this)].add(
            feeAmount
        );

        emit Transfer(sender, address(this), feeAmount.div(_gonsPerFragment));
        return gonAmount.sub(feeAmount + tokensToTreasury + tokensToBurn);
    }

    function swapAndLiquify(uint256 tokens) private {
        // split the contract balance into halves
        uint256 half = tokens.div(2);
        uint256 otherHalf = tokens.sub(half);

        // capture the contract's current ETH balance.
        // this is so that we can capture exactly the amount of ETH that the
        // swap creates, and not make the liquidity event include any ETH that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        // swap tokens for ETH
        swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance.sub(initialBalance);

        // add liquidity to uniswap
        addLiquidity(otherHalf, newBalance);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();
        // make the swap
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 bnbAmount) private {
        // add the liquidity
        router.addLiquidityETH{value: bnbAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            address(DEAD),
            block.timestamp
        );
    }

    function swapBack() internal swapping {
        uint256 contractTokenBalance = _gonBalances[address(this)].div(
            _gonsPerFragment
        );

        if (contractTokenBalance == 0 && totalFee == 0) return;

        swapAndLiquify(contractTokenBalance);
    }

    function shouldTakeFee(
        address from,
        address to
    ) internal view returns (bool) {
        return (pair == from || pair == to) && !_isFeeExempt[from];
    }

    function shouldRebase() internal view returns (bool) {
        return
            _autoRebase &&
            msg.sender != pair &&
            !inSwap &&
            tradingOpen &&
            block.timestamp >= (_lastRebasedTime + 15 minutes);
    }

    function shouldSwapBack() internal view returns (bool) {
        return
            !inSwap &&
            msg.sender != pair &&
            swapEnabled &&
            _gonBalances[address(this)] >= swapThershold;
    }

    function enableSwap(bool status) external onlyOwner {
        swapEnabled = status;
    }

    function setAutoRebase(bool _flag) external onlyOwner {
        if (_flag) {
            _autoRebase = _flag;
            _lastRebasedTime = block.timestamp;
        } else {
            _autoRebase = _flag;
        }
    }

    function setAutoAddLiquidity(bool _flag) external onlyOwner {
        if (_flag) {
            _autoAddLiquidity = _flag;
            _lastAddLiquidityTime = block.timestamp;
        } else {
            _autoAddLiquidity = _flag;
        }
    }

    function allowance(
        address owner_,
        address spender
    ) external view override returns (uint256) {
        return _allowedFragments[owner_][spender];
    }

    function enableTrading() public onlyOwner {
        tradingOpen = true;
    }

    function decreaseAllowance(
        address spender,
        uint256 subtractedValue
    ) external returns (bool) {
        uint256 oldValue = _allowedFragments[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedFragments[msg.sender][spender] = 0;
        } else {
            _allowedFragments[msg.sender][spender] = oldValue.sub(
                subtractedValue
            );
        }
        emit Approval(
            msg.sender,
            spender,
            _allowedFragments[msg.sender][spender]
        );
        return true;
    }

    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) external returns (bool) {
        _allowedFragments[msg.sender][spender] = _allowedFragments[msg.sender][
            spender
        ].add(addedValue);
        emit Approval(
            msg.sender,
            spender,
            _allowedFragments[msg.sender][spender]
        );
        return true;
    }

    function approve(
        address spender,
        uint256 value
    ) external override returns (bool) {
        _allowedFragments[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    function checkFeeExempt(address _addr) external view returns (bool) {
        return _isFeeExempt[_addr];
    }

    function getCirculatingSupply() public view returns (uint256) {
        return
            (TOTAL_GONS.sub(_gonBalances[DEAD]).sub(_gonBalances[ZERO])).div(
                _gonsPerFragment
            );
    }

    function isNotInSwap() external view returns (bool) {
        return !inSwap;
    }

    function manualSync() external {
        IUniswapV2Pair(pair).sync();
    }

    function setFeeReceivers(address _treasuryFeeWallet) external onlyOwner {
        treasuryFeeWallet = _treasuryFeeWallet;
    }

    function getLiquidityBacking(
        uint256 accuracy
    ) public view returns (uint256) {
        uint256 liquidityBalance = _gonBalances[pair].div(_gonsPerFragment);
        return
            accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply());
    }

    function setWhitelist(address _addr) external onlyOwner {
        _isFeeExempt[_addr] = true;
    }

    function setLP(address _address) external onlyOwner {
        pairContract = IUniswapV2Pair(_address);
    }

    function totalSupply() external view override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _gonBalances[account].div(_gonsPerFragment);
    }

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

    function _transferBNBToWallet(
        address payable recipient,
        uint256 amount
    ) private {
        recipient.transfer(amount);
    }

    function calculateLPStatus() internal {
        uint256 lpBnbBalance = IERC20(router.WETH()).balanceOf(address(pair));
        uint256 lpBalance = getBnbPrice(lpBnbBalance);

        if (
            lpBalance >= lpRanges[LPLevels.Level1].minLimit &&
            lpBalance <= lpRanges[LPLevels.Level1].maxLimit
        ) currentLpLevel = LPLevels.Level1;

        if (
            lpBalance >= lpRanges[LPLevels.Level2].minLimit &&
            lpBalance <= lpRanges[LPLevels.Level2].maxLimit
        ) currentLpLevel = LPLevels.Level2;

        if (
            lpBalance >= lpRanges[LPLevels.Level3].minLimit &&
            lpBalance <= lpRanges[LPLevels.Level3].maxLimit
        ) currentLpLevel = LPLevels.Level3;

        if (
            lpBalance >= lpRanges[LPLevels.Level4].minLimit &&
            lpBalance <= lpRanges[LPLevels.Level4].maxLimit
        ) currentLpLevel = LPLevels.Level4;

        if (lpBalance >= lpRanges[LPLevels.Level5].minLimit)
            currentLpLevel = LPLevels.Level5;

        if (lastLPAmount > lpBalance && !isRepellentFee) {
            uint256 lpDifference = lastLPAmount - lpBalance;

            uint256 differencePercentage = ((lpDifference * 10000) /
                lastLPAmount);

            if (differencePercentage > lpRanges[currentLpLevel].dropLimit) {
                isRepellentFee = true;
                repellentFeeActivatedAt = block.timestamp;
                lastRepellentFeeActivatedAt = block.timestamp;
                repellentFeeActivatedAmount = lpBalance;
                repellentFeeRecoverAmount =
                    lpBalance +
                    ((lpBalance * lpRanges[currentLpLevel].recoverLimit) /
                        10000);

                emit RepellentFeeActivated(lpBalance);
            }
        }
        if (isRepellentFee && lpBalance > repellentFeeRecoverAmount) {
            isRepellentFee = false;
            repellentFeeActivatedAt = 0;
            repellentFeeActivatedAmount = 0;
            repellentFeeRecoverAmount = 0;

            lastRepellentFeeRecoveredAt = block.timestamp;

            lastLPAmount = lpBalance;

            emit RepellentFeeDisabled(lpBalance);
        }
    }

    function getBnbPrice(uint256 _amount) public view returns (uint256) {
        address[] memory path = new address[](2);
        path[0] = router.WETH();
        path[1] = BUSD;

        uint256[] memory amounts = router.getAmountsOut(_amount, path);

        return amounts[1];
    }

    function setLpRange(
        LPLevels _level,
        uint256 _min,
        uint256 _max,
        uint256 _drop,
        uint256 _recover
    ) external onlyOwner {
        LPRange storage currentRange = lpRanges[_level];

        currentRange.minLimit = _min;
        currentRange.maxLimit = _max;
        currentRange.dropLimit = _drop;
        currentRange.recoverLimit = _recover;
    }

    function changeSwapPoint(uint256 _amount) external onlyOwner {
        swapThershold = _amount;
    }

    function changeRebaseRate(uint256 _amount) external onlyOwner {
        initialRebaseRate = _amount;
    }

    function changeNormalFees(
        uint256 _autoBurnFee,
        uint256 _liquidityFee,
        uint256 _treasuryFee
    ) external onlyOwner {
        autoBurnFee = _autoBurnFee;
        liquidityFee = _liquidityFee;
        treasuryFee = _treasuryFee;

        totalFee = _autoBurnFee + _liquidityFee + _treasuryFee;

        require(totalFee <= 20, "Fees can not be grater than 20%");
    }

    function changeRepellentSellFees(
        uint256 _autoBurnFee,
        uint256 _liquidityFee,
        uint256 _treasuryFee
    ) external onlyOwner {
        repellentSellAutoBurnFee = _autoBurnFee;
        repellentSellLiquidityFee = _liquidityFee;
        repellentSellTreasuryFee = _treasuryFee;

        repellentSellTotalFee = _autoBurnFee + _liquidityFee + _treasuryFee;

        require(repellentSellTotalFee <= 30, "Fees can not be grater than 30%");
    }

    function changeRepellentBuyFees(
        uint256 _autoBurnFee,
        uint256 _liquidityFee,
        uint256 _treasuryFee
    ) external onlyOwner {
        repellentBuyAutoBurnFee = _autoBurnFee;
        repellentBuyLiquidityFee = _liquidityFee;
        repellentBuyTreasuryFee = _treasuryFee;

        repellentBuyTotalFee = _autoBurnFee + _liquidityFee + _treasuryFee;

        require(repellentSellTotalFee <= 20, "Fees can not be grater than 20%");
    }

    function setAuthorizedWallet(
        address _wallet,
        bool _status
    ) external onlyOwner {
        isAuthorized[_wallet] = _status;
    }

    receive() external payable {}
}

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 4 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

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

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

File 6 of 11 : SignedSafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SignedSafeMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SignedSafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SignedSafeMath {
    /**
     * @dev Returns the multiplication of two signed integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two signed integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        return a / b;
    }

    /**
     * @dev Returns the subtraction of two signed integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        return a - b;
    }

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

File 7 of 11 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

    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(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 8 of 11 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

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

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

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

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

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 10 of 11 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

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

pragma solidity ^0.8.19;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract ReferalPool is Ownable {
    enum ReferalLevels {
        Basic,
        Advanced,
        Pro
    }
    struct Referals {
        ReferalLevels level;
        uint256 totalRewards;
        uint256 claimedRewards;
        uint256 lastClaimedAt;
        uint256 lastRewardsAt;
        address lastRewardFrom;
        bool isAtMaxLevel;
        uint256 referalCount;
    }

    struct TierStructure {
        uint256 minReferals;
        uint256 rewardPercentage;
    }

    uint256 constant DEVIDE_FACTOR = 10000;

    address public superAdmin;
    IERC20 public Token;

    uint256 public totalRewardsSent;

    mapping(ReferalLevels => TierStructure) public levelDetails;

    mapping(address => Referals) public referalDetails;

    mapping(address => address) public userReferal;

    event NewReferalAdded(address referee, address referal);
    event NewReferalBonusAdded(address from, address to, uint256 amount);

    modifier onlySuper() {
        require(
            msg.sender == superAdmin,
            "Ownable: caller is not the Super admin"
        );
        _;
    }

    constructor(address _superAdmin, address _token) {
        TierStructure storage _level1 = levelDetails[ReferalLevels.Basic];
        TierStructure storage _level2 = levelDetails[ReferalLevels.Advanced];
        TierStructure storage _level3 = levelDetails[ReferalLevels.Pro];

        _level1.minReferals = 1;
        _level1.rewardPercentage = 100;

        _level2.minReferals = 4;
        _level2.rewardPercentage = 200;

        _level3.minReferals = 7;
        _level3.rewardPercentage = 300;

        superAdmin = _superAdmin;
        Token = IERC20(_token);
    }

    function setReferal(address _referal) external {
        require(
            userReferal[msg.sender] == address(0),
            "Referal address already set"
        );

        require(msg.sender != _referal, "Can not set own address");

        userReferal[msg.sender] = _referal;

        Referals storage referal = referalDetails[_referal];

        referal.referalCount++;

        if (!referal.isAtMaxLevel) {
            updateReferalLevel(_referal);
        }

        emit NewReferalAdded(msg.sender, _referal);
    }

    function setReferalBonus(
        address from,
        uint256 buyAmount
    ) external onlyOwner {
        if (userReferal[from] == address(0)) return;
        Referals storage referal = referalDetails[userReferal[from]];
        TierStructure memory tier = levelDetails[referal.level];

        uint256 _bonus = (buyAmount * tier.rewardPercentage) / DEVIDE_FACTOR;

        referal.lastRewardFrom = from;
        referal.lastRewardsAt = block.timestamp;
        referal.totalRewards += _bonus;

        Token.transfer(userReferal[from], _bonus);

        emit NewReferalBonusAdded(from, userReferal[from], _bonus);
    }

    function changeTiers(
        ReferalLevels level,
        uint256 newMinReferals,
        uint256 newRewardPercentage
    ) external onlySuper {
        TierStructure storage tier = levelDetails[level];

        // Check that the provided values are valid
        require(newMinReferals > 0, "Minimum referrals must be greater than 0");
        require(
            newRewardPercentage > 0,
            "Reward percentage must be greater than 0"
        );

        // Update the tier structure with the new values
        tier.minReferals = newMinReferals;
        tier.rewardPercentage = newRewardPercentage;
    }

    function updateReferalLevel(address _user) internal {
        Referals storage referal = referalDetails[_user];

        uint256 referalCount = referal.referalCount;
        ReferalLevels newLevel;

        if (referalCount >= levelDetails[ReferalLevels.Pro].minReferals) {
            newLevel = ReferalLevels.Pro;
        } else if (
            referalCount >= levelDetails[ReferalLevels.Advanced].minReferals
        ) {
            newLevel = ReferalLevels.Advanced;
        } else {
            newLevel = ReferalLevels.Basic;
        }

        // Update the referral's level if it has changed
        if (referal.level != newLevel) {
            referal.level = newLevel;
            if (newLevel == ReferalLevels.Pro) referal.isAtMaxLevel = true;
        }
    }

    function claimRewards() external {
        Referals storage referal = referalDetails[msg.sender];

        require(referal.totalRewards > 0, "you didn't start earning yet");

        uint256 claimabaleRewards = referal.totalRewards -
            referal.claimedRewards;

        require(claimabaleRewards > 0, "you don't have any claiamble rewards");

        referal.claimedRewards += claimabaleRewards;

        referal.lastClaimedAt = block.timestamp;
        Token.transfer(msg.sender, claimabaleRewards);

        totalRewardsSent += claimabaleRewards;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"activatedAmount","type":"uint256"}],"name":"RepellentFeeActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"disabledAmount","type":"uint256"}],"name":"RepellentFeeDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_UINT256","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RATE_DECIMALS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_autoAddLiquidity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_autoRebase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_initRebaseStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_lastAddLiquidityTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_lastRebasedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_autoBurnFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"changeNormalFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"changeRebaseRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_autoBurnFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"changeRepellentBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_autoBurnFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"changeRepellentSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"changeSwapPoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"checkFeeExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentLpLevel","outputs":[{"internalType":"enum Stakify.LPLevels","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"enableSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getBnbPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"accuracy","type":"uint256"}],"name":"getLiquidityBacking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialRebaseRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isNotInSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRepellentFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLPAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLPCheckedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRepellentFeeActivatedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRepellentFeeRecoveredAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpCheckFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Stakify.LPLevels","name":"","type":"uint8"}],"name":"lpRanges","outputs":[{"internalType":"uint256","name":"minLimit","type":"uint256"},{"internalType":"uint256","name":"maxLimit","type":"uint256"},{"internalType":"uint256","name":"dropLimit","type":"uint256"},{"internalType":"uint256","name":"recoverLimit","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairContract","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referalPool","outputs":[{"internalType":"contract ReferalPool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"repellentBuyAutoBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentBuyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentBuyTotalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentBuyTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentFeeActivatedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentFeeActivatedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentFeeRecoverAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentSellAutoBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentSellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentSellTotalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"repellentSellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setAuthorizedWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setAutoAddLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setAutoRebase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryFeeWallet","type":"address"}],"name":"setFeeReceivers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Stakify.LPLevels","name":"_level","type":"uint8"},{"internalType":"uint256","name":"_min","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"},{"internalType":"uint256","name":"_drop","type":"uint256"},{"internalType":"uint256","name":"_recover","type":"uint256"}],"name":"setLpRange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThershold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFeeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001600455600360055560016006556005600755600f6008556005600955600a8055601e600b556001600c556001600d556001600e556003600f556127106012600a620000529190620009b3565b62000062906305f5e100620009c1565b6200006e9190620009f1565b601055601180546001600160a01b031990811661dead1790915560128054821690556013805490911673dac17f958d2ee523a2206206994597c13d831ec7179055601480547401dab6280d5a87c10250f454ee3ad3b3b0c1a274c06001600160a81b0319909116179055610e10601955601b805460ff60a01b19169055601d805460ff1916905563012fb8256029553480156200010a57600080fd5b5062000116336200082b565b601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200017b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a1919062000a08565b6001600160a01b031663c9c65396601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000203573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000229919062000a08565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af115801562000276573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029c919062000a08565b601b80546001600160a01b039283166001600160a01b0319918216178255306000908152602b602090815260408083206015548716845282528220600019905592546001805490931694169390931781557364ab7f64187af212007a3ee9fdf990101de4bc169283905260039091527f61d73a82ed90f2cb158bc5ee0be1a04a3f2a0eda8b856f1c0d757077358090de805460ff19169091179055620003456012600a620009b3565b62000355906305f5e100620009c1565b602755620003666012600a620009b3565b62000376906305f5e100620009c1565b620003849060001962000a3a565b620003929060001962000a51565b6001600160a01b0382166000908152602a6020526040902055602754620003f490620003c16012600a620009b3565b620003d1906305f5e100620009c1565b620003df9060001962000a3a565b620003ed9060001962000a51565b906200087b565b6028554260248190556025556023805461ffff19166101011790556001600160a01b0381166000908152600260209081526040808320805460ff1990811660019081179092553080865283862080549092169092179055601a9092527fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb69768025375083905569152d02c7e14af68000007fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb6976802537518190556103e87fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb6976802537528190556107d07fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb697680253753557ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c6191909155692a5a058fc295ed0000007ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c628190556102ee7ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c63556105dc7ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c64557f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c4f556969e10de76676d08000007f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c508190556101f47f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c518190557f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c52929092557f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e25569d3c21bcecceda10000007f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e381905560fa7f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e4557f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e59190915560049093527f06b28f262ad931a15c9e47271fc159a891b2bcb0da2659cac5bbfed4886cf26e92909255697f0e10af47c1c70000007f06b28f262ad931a15c9e47271fc159a891b2bcb0da2659cac5bbfed4886cf26f5560647f06b28f262ad931a15c9e47271fc159a891b2bcb0da2659cac5bbfed4886cf2705560c87f06b28f262ad931a15c9e47271fc159a891b2bcb0da2659cac5bbfed4886cf271559051829190620007739062000892565b6001600160a01b03928316815291166020820152604001604051809103906000f080158015620007a7573d6000803e3d6000fd5b50601680546001600160a01b0319166001600160a01b0392909216919091179055620007d3816200082b565b806001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6027546040516200081c91815260200190565b60405180910390a35062000a67565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000620008898284620009f1565b90505b92915050565b610f5c8062003adb83390190565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620008f7578160001904821115620008db57620008db620008a0565b80851615620008e957918102915b93841c9390800290620008bb565b509250929050565b60008262000910575060016200088c565b816200091f575060006200088c565b8160018114620009385760028114620009435762000963565b60019150506200088c565b60ff841115620009575762000957620008a0565b50506001821b6200088c565b5060208310610133831016604e8410600b841016171562000988575081810a6200088c565b620009948383620008b6565b8060001904821115620009ab57620009ab620008a0565b029392505050565b6000620008898383620008ff565b80820281158282048414176200088c576200088c620008a0565b634e487b7160e01b600052601260045260246000fd5b60008262000a035762000a03620009db565b500490565b60006020828403121562000a1b57600080fd5b81516001600160a01b038116811462000a3357600080fd5b9392505050565b60008262000a4c5762000a4c620009db565b500690565b818103818111156200088c576200088c620008a0565b6130648062000a776000396000f3fe60806040526004361061044b5760003560e01c80638346a6c211610234578063c062dc571161012e578063d9fe30f0116100b6578063f2fde38b1161007a578063f2fde38b14610c7b578063f38e28e914610c9b578063f887ea4014610cfd578063fbd8ddf414610d1d578063ffb54a9914610d3d57600080fd5b8063d9fe30f014610bc9578063dc14b62014610bdf578063dd62ed3e14610bf5578063e01bb68814610c3b578063e15beb8014610c5b57600080fd5b8063cf681453116100fd578063cf68145314610b1a578063cfbac92f14610b30578063d2a09c7114610b50578063d439979014610b70578063d51ed1c814610ba957600080fd5b8063c062dc5714610aae578063c8836d3c14610ace578063cc32d17614610aee578063cf21e18e14610b0457600080fd5b8063979e9589116101bc578063a457c2d711610180578063a457c2d714610a1e578063a8aa1b3114610a3e578063a9059cbb14610a5e578063afb9cf6d14610a7e578063ba625bfe14610a9857600080fd5b8063979e9589146109b057806398118cb4146109c65780639a0fd579146109dc5780639b2912cc146109f25780639b87676c14610a0857600080fd5b80638a8c523c116102035780638a8c523c1461091a5780638aec2cb21461092f5780638da5cb5b1461094f578063910c67351461096d57806395d89b411461098357600080fd5b80638346a6c2146108ae57806383b4ac68146108c4578063854cff2f146108e4578063866e7cf51461090457600080fd5b806333e75aca1161034557806361cf9265116102cd578063715018a611610291578063715018a61461083857806374858e761461084d578063753d02a11461086357806378f5a73f146108785780638289aaa01461089857600080fd5b806361cf9265146107ac5780636556fce5146107c25780636912652c146107d85780636ddd1713146107f757806370a082311461081857600080fd5b80634d709adf116103145780634d709adf1461070057806356b0ab0114610738578063583d9840146107585780635962b9d7146107785780635a604c521461079757600080fd5b806333e75aca1461069457806339509351146106aa578063396b6f71146106ca5780633eaaf86b146106ea57600080fd5b80631df4ccfc116103d35780632e0f2625116103975780632e0f2625146106115780632f34d28214610626578063313ce5671461064657806332b756831461066857806333a581d21461067e57600080fd5b80631df4ccfc146105905780631f55f48d146105a657806323b872dd146105c65780632b112e49146105e65780632d1f0b40146105fb57600080fd5b8063095ea7b31161041a578063095ea7b3146104f1578063122e97151461052157806318160ddd1461054f5780631c2d86ad146105645780631d407b2d1461057a57600080fd5b80630445b6671461045757806306273fc71461048057806306e454ad1461049657806306fdde03146104b857600080fd5b3661045257005b600080fd5b34801561046357600080fd5b5061046d601c5481565b6040519081526020015b60405180910390f35b34801561048c57600080fd5b5061046d60185481565b3480156104a257600080fd5b506104b66104b13660046129fc565b610d57565b005b3480156104c457600080fd5b506040805180820190915260078152665374616b69667960c81b60208201525b6040516104779190612a15565b3480156104fd57600080fd5b5061051161050c366004612a78565b610d64565b6040519015158152602001610477565b34801561052d57600080fd5b5060155461054290600160a01b900460ff1681565b6040516104779190612aba565b34801561055b57600080fd5b5060275461046d565b34801561057057600080fd5b5061046d600e5481565b34801561058657600080fd5b5061046d601e5481565b34801561059c57600080fd5b5061046d60075481565b3480156105b257600080fd5b5061046d6105c13660046129fc565b610dd1565b3480156105d257600080fd5b506105116105e1366004612ae2565b610f56565b3480156105f257600080fd5b5061046d611030565b34801561060757600080fd5b5061046d600b5481565b34801561061d57600080fd5b5061046d601281565b34801561063257600080fd5b506104b6610641366004612b23565b6110b2565b34801561065257600080fd5b5060125b60405160ff9091168152602001610477565b34801561067457600080fd5b5061046d60255481565b34801561068a57600080fd5b5061046d60001981565b3480156106a057600080fd5b5061046d600f5481565b3480156106b657600080fd5b506105116106c5366004612a78565b6110dc565b3480156106d657600080fd5b506104b66106e5366004612b40565b611161565b3480156106f657600080fd5b5061046d60275481565b34801561070c57600080fd5b50600154610720906001600160a01b031681565b6040516001600160a01b039091168152602001610477565b34801561074457600080fd5b506104b6610753366004612b40565b6111ed565b34801561076457600080fd5b50601454610720906001600160a01b031681565b34801561078457600080fd5b50601d5461051190610100900460ff1681565b3480156107a357600080fd5b50610656600b81565b3480156107b857600080fd5b5061046d600d5481565b3480156107ce57600080fd5b5061046d600a5481565b3480156107e457600080fd5b5060235461051190610100900460ff1681565b34801561080357600080fd5b5060145461051190600160a01b900460ff1681565b34801561082457600080fd5b5061046d610833366004612b23565b61126e565b34801561084457600080fd5b506104b6611296565b34801561085957600080fd5b5061046d60095481565b34801561086f57600080fd5b506104b66112aa565b34801561088457600080fd5b50601654610720906001600160a01b031681565b3480156108a457600080fd5b5061046d601f5481565b3480156108ba57600080fd5b5061046d60195481565b3480156108d057600080fd5b50601b54600160a01b900460ff1615610511565b3480156108f057600080fd5b506104b66108ff366004612b23565b611314565b34801561091057600080fd5b5061046d60205481565b34801561092657600080fd5b506104b6611340565b34801561093b57600080fd5b506104b661094a366004612b80565b611357565b34801561095b57600080fd5b506000546001600160a01b0316610720565b34801561097957600080fd5b5061046d60225481565b34801561098f57600080fd5b506040805180820190915260048152635349465960e01b60208201526104e4565b3480156109bc57600080fd5b5061046d60175481565b3480156109d257600080fd5b5061046d60055481565b3480156109e857600080fd5b5061046d60045481565b3480156109fe57600080fd5b5061046d60265481565b348015610a1457600080fd5b5061046d60245481565b348015610a2a57600080fd5b50610511610a39366004612a78565b6113b2565b348015610a4a57600080fd5b50601b54610720906001600160a01b031681565b348015610a6a57600080fd5b50610511610a79366004612a78565b611499565b348015610a8a57600080fd5b506023546105119060ff1681565b348015610aa457600080fd5b5061046d60215481565b348015610aba57600080fd5b506104b6610ac9366004612b40565b6114c5565b348015610ada57600080fd5b506104b6610ae9366004612bd2565b611546565b348015610afa57600080fd5b5061046d60065481565b348015610b1057600080fd5b5061046d600c5481565b348015610b2657600080fd5b5061046d60085481565b348015610b3c57600080fd5b506104b6610b4b366004612c07565b611579565b348015610b5c57600080fd5b506104b6610b6b366004612c07565b6115ba565b348015610b7c57600080fd5b50610511610b8b366004612b23565b6001600160a01b031660009081526002602052604090205460ff1690565b348015610bb557600080fd5b5061046d610bc43660046129fc565b6115e0565b348015610bd557600080fd5b5061046d60105481565b348015610beb57600080fd5b5061046d60295481565b348015610c0157600080fd5b5061046d610c10366004612c22565b6001600160a01b039182166000908152602b6020908152604080832093909416825291909152205490565b348015610c4757600080fd5b506104b6610c56366004612b23565b611634565b348015610c6757600080fd5b506104b6610c76366004612c07565b61165e565b348015610c8757600080fd5b506104b6610c96366004612b23565b611696565b348015610ca757600080fd5b50610cdd610cb6366004612c5b565b601a6020526000908152604090208054600182015460028301546003909301549192909184565b604080519485526020850193909352918301526060820152608001610477565b348015610d0957600080fd5b50601554610720906001600160a01b031681565b348015610d2957600080fd5b506104b6610d383660046129fc565b61170c565b348015610d4957600080fd5b50601d546105119060ff1681565b610d5f611719565b601055565b336000818152602b602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610dbf9086815260200190565b60405180910390a35060015b92915050565b604080516002808252606082018352600092839291906020830190803683375050601554604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015610e3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e639190612c8c565b81600081518110610e7657610e76612ca9565b6001600160a01b039283166020918202929092010152601354825191169082906001908110610ea757610ea7612ca9565b6001600160a01b03928316602091820292909201015260155460405163d06ca61f60e01b8152600092919091169063d06ca61f90610eeb9087908690600401612d03565b600060405180830381865afa158015610f08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f309190810190612d24565b905080600181518110610f4557610f45612ca9565b602002602001015192505050919050565b6000826001600160a01b038116610f6c57600080fd5b6001600160a01b0385166000908152602b6020908152604080832033845290915290205460001914611019576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0388166000908152602b82528381203382529091529190912054610ff4918590611773565b6001600160a01b0386166000908152602b602090815260408083203384529091529020555b61102485858561179f565b50600195945050505050565b602854601280546001600160a01b039081166000908152602a602052604080822054601154909316825281205490936110ad9390926110a79290916110a1919061107b90600a612edc565b611089906305f5e100612ee8565b61109590600019612f15565b6110a190600019612f29565b90611ba3565b90611baf565b905090565b6110ba611719565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152602b602090815260408083206001600160a01b038616845290915281205461110a9083611bbb565b336000818152602b602090815260408083206001600160a01b038916808552908352928190208590555193845290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101610dbf565b611169611719565b600c839055600d829055600e819055806111838385612f3c565b61118d9190612f3c565b600f55600b54601410156111e85760405162461bcd60e51b815260206004820152601f60248201527f466565732063616e206e6f7420626520677261746572207468616e203230250060448201526064015b60405180910390fd5b505050565b6111f5611719565b60088390556009829055600a8190558061120f8385612f3c565b6112199190612f3c565b600b819055601e10156111e85760405162461bcd60e51b815260206004820152601f60248201527f466565732063616e206e6f7420626520677261746572207468616e203330250060448201526064016111df565b6028546001600160a01b0382166000908152602a60205260408120549091610dcb9190611baf565b61129e611719565b6112a86000611bc7565b565b601b60009054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156112fa57600080fd5b505af115801561130e573d6000803e3d6000fd5b50505050565b61131c611719565b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b611348611719565b601d805460ff19166001179055565b61135f611719565b6000601a600087600481111561137757611377612aa4565b600481111561138857611388612aa4565b81526020810191909152604001600020948555506001840192909255600283015560039091015550565b336000908152602b602090815260408083206001600160a01b038616845290915281205480831061140657336000908152602b602090815260408083206001600160a01b0388168452909152812055611435565b6114108184611ba3565b336000908152602b602090815260408083206001600160a01b03891684529091529020555b336000818152602b602090815260408083206001600160a01b038916808552908352928190205490519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060019392505050565b6000826001600160a01b0381166114af57600080fd5b6114ba33858561179f565b506001949350505050565b6114cd611719565b600483905560058290556006819055806114e78385612f3c565b6114f19190612f3c565b6007819055601410156111e85760405162461bcd60e51b815260206004820152601f60248201527f466565732063616e206e6f7420626520677261746572207468616e203230250060448201526064016111df565b61154e611719565b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b611581611719565b80156115a357602380548215156101000261ff00199091161790554260265550565b6023805461ff001916610100831515021790555b50565b6115c2611719565b60148054911515600160a01b0260ff60a01b19909216919091179055565b602854601b546001600160a01b03166000908152602a60205260408120549091829161160b91611baf565b905061162d611618611030565b6110a7611626846002611c17565b8690611c17565b9392505050565b61163c611719565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b611666611719565b8015611683576023805482151560ff199091161790554260255550565b6023805482151560ff1990911617905550565b61169e611719565b6001600160a01b0381166117035760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016111df565b6115b781611bc7565b611714611719565b602955565b6000546001600160a01b031633146112a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016111df565b600081848411156117975760405162461bcd60e51b81526004016111df9190612a15565b505050900390565b6001600160a01b03831660009081526003602052604081205460ff1661180857601d5460ff166118085760405162461bcd60e51b8152602060048201526014602482015273151c98591a5b99c81b9bdd081bdc195b881e595d60621b60448201526064016111df565b601b54600160a01b900460ff168061182d57506016546001600160a01b038581169116145b156118445761183d848484611c23565b905061162d565b426019546017546118559190612f3c565b10801561186a5750601d54610100900460ff16155b80156118785750601d5460ff165b1561196c57601554604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa1580156118c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118eb9190612c8c565b601b546040516370a0823160e01b81526001600160a01b0391821660048201529116906370a0823190602401602060405180830381865afa158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612f4f565b905061196381610dd1565b60185550426017555b601b546001600160a01b0390811690851603611a6c5760125460165460405163c676ea6560e01b81526001600160a01b038681166004830152928316929091169063c676ea6590602401602060405180830381865afa1580156119d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f79190612c8c565b6001600160a01b031614611a6c5760165460405163b8f3ba8d60e01b81526001600160a01b038581166004830152602482018590529091169063b8f3ba8d90604401600060405180830381600087803b158015611a5357600080fd5b505af1158015611a67573d6000803e3d6000fd5b505050505b601d5460ff1615611a7f57611a7f611cb5565b611a876121b1565b15611a9457611a94612213565b611a9c61240a565b15611aa957611aa9612467565b6000611ac060285484611c1790919063ffffffff16565b6001600160a01b0386166000908152602a6020526040902054909150611ae69082611ba3565b6001600160a01b0386166000908152602a6020526040812091909155611b0c86866124ce565b611b165781611b21565b611b21868684612522565b6001600160a01b0386166000908152602a6020526040902054909150611b479082611bbb565b6001600160a01b038087166000818152602a60205260409020929092556028549088169060008051602061300f83398151915290611b86908590611baf565b60405190815260200160405180910390a350600195945050505050565b600061162d8284612f29565b600061162d8284612f68565b600061162d8284612f3c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061162d8284612ee8565b600080611c3b60285484611c1790919063ffffffff16565b6001600160a01b0386166000908152602a6020526040902054909150611c619082611ba3565b6001600160a01b038087166000908152602a60205260408082209390935590861681522054611c909082611bbb565b6001600160a01b0385166000908152602a602052604090205550600190509392505050565b601554604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015611cff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d239190612c8c565b601b546040516370a0823160e01b81526001600160a01b0391821660048201529116906370a0823190602401602060405180830381865afa158015611d6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d909190612f4f565b90506000611d9d82610dd1565b60008052601a6020527fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb697680253750549091508110801590611e04575060008052601a6020527fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb697680253751548111155b15611e17576015805460ff60a01b191690555b6001600052601a6020527ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c61548110801590611e7d57506001600052601a6020527ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c62548111155b15611e96576015805460ff60a01b1916600160a01b1790555b6002600052601a6020527f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c4f548110801590611efc57506002600052601a6020527f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c50548111155b15611f15576015805460ff60a01b1916600160a11b1790555b6003600052601a6020527f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e2548110801590611f7b57506003600052601a6020527f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e3548111155b15611f94576015805460ff60a01b1916600360a01b1790555b6004600052601a6020527f06b28f262ad931a15c9e47271fc159a891b2bcb0da2659cac5bbfed4886cf26e548110611fda576015805460ff60a01b1916600160a21b1790555b80601854118015611ff35750601d54610100900460ff16155b15612139576000816018546120089190612f29565b905060006018548261271061201d9190612ee8565b6120279190612f68565b9050601a6000601560149054906101000a900460ff16600481111561204e5761204e612aa4565b600481111561205f5761205f612aa4565b81526020019081526020016000206002015481111561213657601d805461ff00191661010017905542601e819055602155601f83905560155461271090601a90600090600160a01b900460ff1660048111156120bd576120bd612aa4565b60048111156120ce576120ce612aa4565b815260200190815260200160002060030154846120eb9190612ee8565b6120f59190612f68565b6120ff9084612f3c565b60209081556040518481527f1c436e00c3e6a4c9fe8c4b06b059a2cc9039fb62142b6512adfe4fe9c4475858910160405180910390a15b50505b601d54610100900460ff168015612151575060205481115b156121ad57601d805461ff00191690556000601e819055601f81905560209081554260225560188290556040518281527f7a711ba0fefabae0255256a32733d1e8f7500ae03b42aca2a87876c9d38a2a30910160405180910390a15b5050565b60235460009060ff1680156121d15750601b546001600160a01b03163314155b80156121e75750601b54600160a01b900460ff16155b80156121f55750601d5460ff165b80156110ad575060255461220b90610384612f3c565b421015905090565b601b54600160a01b900460ff161561222757565b600080602454426122389190612f29565b905060006025544261224a9190612f29565b9050600061225a82610e10611baf565b9050600061226982603c611c17565b9050600a841161227d5760295494506122be565b60648410156122b7576000612293600a86612f68565b90506122a281620186a0612ee8565b6029546122af9190612f29565b9550506122be565b620426a794505b60005b8281101561230f576122fa6122d8600b600a612f7c565b6110a76122f1896122eb600b600a612f7c565b90611bbb565b60275490611c17565b6027558061230781612f8b565b9150506122c1565b50602754612349906123236012600a612edc565b612331906305f5e100612ee8565b61233d90600019612f15565b6110a790600019612f29565b60285561236361235a83603c611c17565b60255490611bbb565b6025556001546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b1580156123af57600080fd5b505af11580156123c3573d6000803e3d6000fd5b50505050807f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f26027546040516123fb91815260200190565b60405180910390a25050505050565b601b54600090600160a01b900460ff161580156124325750601b546001600160a01b03163314155b80156124475750601454600160a01b900460ff165b80156110ad575050601054306000908152602a6020526040902054101590565b601b805460ff60a01b1916600160a01b179055602854306000908152602a602052604081205490916124999190611baf565b9050801580156124a95750600754155b156124b457506124bf565b6124bd816127e0565b505b601b805460ff60a01b19169055565b601b546000906001600160a01b03848116911614806124fa5750601b546001600160a01b038381169116145b801561162d575050506001600160a01b031660009081526002602052604090205460ff161590565b601d54600090819081908190610100900460ff16612593576007546125529061254c876064611baf565b90611c17565b925061256f6007546110a760065486611c1790919063ffffffff16565b915061258c6007546110a760045486611c1790919063ffffffff16565b9050612644565b601b546001600160a01b03908116908716036125f557600b546125bb9061254c876064611baf565b92506125d8600b546110a7600a5486611c1790919063ffffffff16565b915061258c600b546110a760085486611c1790919063ffffffff16565b600f546126079061254c876064611baf565b9250612624600f546110a7600e5486611c1790919063ffffffff16565b9150612641600f546110a7600c5486611c1790919063ffffffff16565b90505b612652816110a18585611ba3565b6014546001600160a01b03166000908152602a602052604090205490935061267a9083611bbb565b601480546001600160a01b039081166000908152602a6020526040902092909255546028549082169189169060008051602061300f833981519152906126c1908690611baf565b60405190815260200160405180910390a36011546001600160a01b03166000908152602a60205260409020546126f79082611bbb565b601180546001600160a01b039081166000908152602a6020526040902092909255546028549082169189169060008051602061300f8339815191529061273e908590611baf565b60405190815260200160405180910390a3306000908152602a60205260409020546127699084611bbb565b306000818152602a60205260409020919091556028546001600160a01b0389169060008051602061300f833981519152906127a5908790611baf565b60405190815260200160405180910390a36127d5816127c48486612f3c565b6127ce9190612f3c565b8690611ba3565b979650505050505050565b60006127ed826002611baf565b905060006127fb8383611ba3565b90504761280783612826565b60006128134783611ba3565b905061281f8382612967565b5050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061285b5761285b612ca9565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156128b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d89190612c8c565b816001815181106128eb576128eb612ca9565b6001600160a01b03928316602091820292909201015260155460405163791ac94760e01b815291169063791ac94790612931908590600090869030904290600401612fa4565b600060405180830381600087803b15801561294b57600080fd5b505af115801561295f573d6000803e3d6000fd5b505050505050565b60155460115460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af11580156129d7573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061281f9190612fe0565b600060208284031215612a0e57600080fd5b5035919050565b600060208083528351808285015260005b81811015612a4257858101830151858201604001528201612a26565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146115b757600080fd5b60008060408385031215612a8b57600080fd5b8235612a9681612a63565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b6020810160058310612adc57634e487b7160e01b600052602160045260246000fd5b91905290565b600080600060608486031215612af757600080fd5b8335612b0281612a63565b92506020840135612b1281612a63565b929592945050506040919091013590565b600060208284031215612b3557600080fd5b813561162d81612a63565b600080600060608486031215612b5557600080fd5b505081359360208301359350604090920135919050565b803560058110612b7b57600080fd5b919050565b600080600080600060a08688031215612b9857600080fd5b612ba186612b6c565b97602087013597506040870135966060810135965060800135945092505050565b80358015158114612b7b57600080fd5b60008060408385031215612be557600080fd5b8235612bf081612a63565b9150612bfe60208401612bc2565b90509250929050565b600060208284031215612c1957600080fd5b61162d82612bc2565b60008060408385031215612c3557600080fd5b8235612c4081612a63565b91506020830135612c5081612a63565b809150509250929050565b600060208284031215612c6d57600080fd5b61162d82612b6c565b634e487b7160e01b600052604160045260246000fd5b600060208284031215612c9e57600080fd5b815161162d81612a63565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015612cf85781516001600160a01b031687529582019590820190600101612cd3565b509495945050505050565b828152604060208201526000612d1c6040830184612cbf565b949350505050565b60006020808385031215612d3757600080fd5b825167ffffffffffffffff80821115612d4f57600080fd5b818501915085601f830112612d6357600080fd5b815181811115612d7557612d75612c76565b8060051b604051601f19603f83011681018181108582111715612d9a57612d9a612c76565b604052918252848201925083810185019188831115612db857600080fd5b938501935b82851015612dd657845184529385019392850192612dbd565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115612e33578160001904821115612e1957612e19612de2565b80851615612e2657918102915b93841c9390800290612dfd565b509250929050565b600082612e4a57506001610dcb565b81612e5757506000610dcb565b8160018114612e6d5760028114612e7757612e93565b6001915050610dcb565b60ff841115612e8857612e88612de2565b50506001821b610dcb565b5060208310610133831016604e8410600b8410161715612eb6575081810a610dcb565b612ec08383612df8565b8060001904821115612ed457612ed4612de2565b029392505050565b600061162d8383612e3b565b8082028115828204841417610dcb57610dcb612de2565b634e487b7160e01b600052601260045260246000fd5b600082612f2457612f24612eff565b500690565b81810381811115610dcb57610dcb612de2565b80820180821115610dcb57610dcb612de2565b600060208284031215612f6157600080fd5b5051919050565b600082612f7757612f77612eff565b500490565b600061162d60ff841683612e3b565b600060018201612f9d57612f9d612de2565b5060010190565b85815284602082015260a060408201526000612fc360a0830186612cbf565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215612ff557600080fd5b835192506020840151915060408401519050925092509256feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204956451442812c5c333b4b2069ddb140fd0fa2d4d3b686c967bc36c533c0bdf664736f6c63430008130033608060405234801561001057600080fd5b50604051610f5c380380610f5c83398101604081905261002f916101bb565b6100383361014f565b600460208190526002600081905260017f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec81905560647f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ed557fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe059290925560c87fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe065560077f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a75561012c7f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a85581546001600160a01b039485166001600160a01b03199182161790925580549290931691161790556101ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146101b657600080fd5b919050565b600080604083850312156101ce57600080fd5b6101d78361019f565b91506101e56020840161019f565b90509250929050565b610d5f806101fd6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80639d2dff9b1161008c578063c676ea6511610066578063c676ea6514610218578063d903dfed14610241578063e689f03914610254578063f2fde38b1461026757600080fd5b80639d2dff9b146101db578063b8f3ba8d146101f2578063c24126761461020557600080fd5b806329575f6a146100d4578063372500ab14610104578063524074ed1461010e57806354ba495a14610186578063715018a6146101c25780638da5cb5b146101ca575b600080fd5b6001546100e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61010c61027a565b005b61017261011c366004610b50565b6005602081905260009182526040909120805460018201546002830154600384015460048501549585015460069095015460ff94851696939592949193926001600160a01b03811692600160a01b909104169088565b6040516100fb989796959493929190610b88565b6101ad610194366004610bfb565b6004602052600090815260409020805460019091015482565b604080519283526020830191909152016100fb565b61010c610403565b6000546001600160a01b03166100e7565b6101e460035481565b6040519081526020016100fb565b61010c610200366004610c16565b610417565b6002546100e7906001600160a01b031681565b6100e7610226366004610b50565b6006602052600090815260409020546001600160a01b031681565b61010c61024f366004610b50565b610618565b61010c610262366004610c40565b610783565b61010c610275366004610b50565b6108f3565b33600090815260056020526040902060018101546102df5760405162461bcd60e51b815260206004820152601c60248201527f796f75206469646e2774207374617274206561726e696e67207965740000000060448201526064015b60405180910390fd5b6000816002015482600101546102f59190610c89565b9050600081116103535760405162461bcd60e51b8152602060048201526024808201527f796f7520646f6e2774206861766520616e7920636c6169616d626c65207265776044820152636172647360e01b60648201526084016102d6565b808260020160008282546103679190610ca2565b909155505042600383015560025460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156103c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e79190610cb5565b5080600360008282546103fa9190610ca2565b90915550505050565b61040b61096c565b61041560006109c6565b565b61041f61096c565b6001600160a01b038281166000908152600660205260409020541615610614576001600160a01b038083166000908152600660209081526040808320549093168252600590529081208054909190600490829060ff16600281111561048657610486610b72565b600281111561049757610497610b72565b815260200190815260200160002060405180604001604052908160008201548152602001600182015481525050905060006127108260200151856104db9190610cd7565b6104e59190610cee565b6005840180546001600160a01b0319166001600160a01b0388161790554260048501556001840180549192508291600090610521908490610ca2565b90915550506002546001600160a01b038681166000908152600660205260409081902054905163a9059cbb60e01b815290821660048201526024810184905291169063a9059cbb906044016020604051808303816000875af115801561058b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105af9190610cb5565b506001600160a01b03858116600081815260066020908152604091829020548251938452909316928201929092529081018290527fa9eed8225d1d42bc90fd6003bcebea74da32c2f116847e2444eb830af11dc7989060600160405180910390a15050505b5050565b336000908152600660205260409020546001600160a01b03161561067e5760405162461bcd60e51b815260206004820152601b60248201527f5265666572616c206164647265737320616c726561647920736574000000000060448201526064016102d6565b6001600160a01b03811633036106d65760405162461bcd60e51b815260206004820152601760248201527f43616e206e6f7420736574206f776e206164647265737300000000000000000060448201526064016102d6565b33600090815260066020818152604080842080546001600160a01b0319166001600160a01b0387169081179091558452600590915282209081018054919261071d83610d10565b90915550506005810154600160a01b900460ff1661073e5761073e82610a16565b604080513381526001600160a01b03841660208201527fac884625b9d65794bd752b984a53f3fd02cb49c30fb41f6af829b37c1086c3ce910160405180910390a15050565b6001546001600160a01b031633146107ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a2063616c6c6572206973206e6f74207468652053757065726044820152651030b236b4b760d11b60648201526084016102d6565b60006004600085600281111561080457610804610b72565b600281111561081557610815610b72565b81526020019081526020016000209050600083116108865760405162461bcd60e51b815260206004820152602860248201527f4d696e696d756d20726566657272616c73206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016102d6565b600082116108e75760405162461bcd60e51b815260206004820152602860248201527f5265776172642070657263656e74616765206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016102d6565b91825560019091015550565b6108fb61096c565b6001600160a01b0381166109605760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102d6565b610969816109c6565b50565b6000546001600160a01b031633146104155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d6565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381166000908152600560209081526040822060068101546002845260049092527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a7549092908210610a7157506002610aaf565b600160005260046020527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe05548210610aab57506001610aaf565b5060005b806002811115610ac157610ac1610b72565b835460ff166002811115610ad757610ad7610b72565b14610b2e5782548190849060ff19166001836002811115610afa57610afa610b72565b02179055506002816002811115610b1357610b13610b72565b03610b2e5760058301805460ff60a01b1916600160a01b1790555b50505050565b80356001600160a01b0381168114610b4b57600080fd5b919050565b600060208284031215610b6257600080fd5b610b6b82610b34565b9392505050565b634e487b7160e01b600052602160045260246000fd5b610100810160038a10610bab57634e487b7160e01b600052602160045260246000fd5b98815260208101979097526040870195909552606086019390935260808501919091526001600160a01b031660a0840152151560c083015260e09091015290565b803560038110610b4b57600080fd5b600060208284031215610c0d57600080fd5b610b6b82610bec565b60008060408385031215610c2957600080fd5b610c3283610b34565b946020939093013593505050565b600080600060608486031215610c5557600080fd5b610c5e84610bec565b95602085013595506040909401359392505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610c9c57610c9c610c73565b92915050565b80820180821115610c9c57610c9c610c73565b600060208284031215610cc757600080fd5b81518015158114610b6b57600080fd5b8082028115828204841417610c9c57610c9c610c73565b600082610d0b57634e487b7160e01b600052601260045260246000fd5b500490565b600060018201610d2257610d22610c73565b506001019056fea2646970667358221220ef4924014c7bd52ffb64582537eac2eddfe46ce30049bfeb1233fc55b5f8834164736f6c63430008130033

Deployed Bytecode

0x60806040526004361061044b5760003560e01c80638346a6c211610234578063c062dc571161012e578063d9fe30f0116100b6578063f2fde38b1161007a578063f2fde38b14610c7b578063f38e28e914610c9b578063f887ea4014610cfd578063fbd8ddf414610d1d578063ffb54a9914610d3d57600080fd5b8063d9fe30f014610bc9578063dc14b62014610bdf578063dd62ed3e14610bf5578063e01bb68814610c3b578063e15beb8014610c5b57600080fd5b8063cf681453116100fd578063cf68145314610b1a578063cfbac92f14610b30578063d2a09c7114610b50578063d439979014610b70578063d51ed1c814610ba957600080fd5b8063c062dc5714610aae578063c8836d3c14610ace578063cc32d17614610aee578063cf21e18e14610b0457600080fd5b8063979e9589116101bc578063a457c2d711610180578063a457c2d714610a1e578063a8aa1b3114610a3e578063a9059cbb14610a5e578063afb9cf6d14610a7e578063ba625bfe14610a9857600080fd5b8063979e9589146109b057806398118cb4146109c65780639a0fd579146109dc5780639b2912cc146109f25780639b87676c14610a0857600080fd5b80638a8c523c116102035780638a8c523c1461091a5780638aec2cb21461092f5780638da5cb5b1461094f578063910c67351461096d57806395d89b411461098357600080fd5b80638346a6c2146108ae57806383b4ac68146108c4578063854cff2f146108e4578063866e7cf51461090457600080fd5b806333e75aca1161034557806361cf9265116102cd578063715018a611610291578063715018a61461083857806374858e761461084d578063753d02a11461086357806378f5a73f146108785780638289aaa01461089857600080fd5b806361cf9265146107ac5780636556fce5146107c25780636912652c146107d85780636ddd1713146107f757806370a082311461081857600080fd5b80634d709adf116103145780634d709adf1461070057806356b0ab0114610738578063583d9840146107585780635962b9d7146107785780635a604c521461079757600080fd5b806333e75aca1461069457806339509351146106aa578063396b6f71146106ca5780633eaaf86b146106ea57600080fd5b80631df4ccfc116103d35780632e0f2625116103975780632e0f2625146106115780632f34d28214610626578063313ce5671461064657806332b756831461066857806333a581d21461067e57600080fd5b80631df4ccfc146105905780631f55f48d146105a657806323b872dd146105c65780632b112e49146105e65780632d1f0b40146105fb57600080fd5b8063095ea7b31161041a578063095ea7b3146104f1578063122e97151461052157806318160ddd1461054f5780631c2d86ad146105645780631d407b2d1461057a57600080fd5b80630445b6671461045757806306273fc71461048057806306e454ad1461049657806306fdde03146104b857600080fd5b3661045257005b600080fd5b34801561046357600080fd5b5061046d601c5481565b6040519081526020015b60405180910390f35b34801561048c57600080fd5b5061046d60185481565b3480156104a257600080fd5b506104b66104b13660046129fc565b610d57565b005b3480156104c457600080fd5b506040805180820190915260078152665374616b69667960c81b60208201525b6040516104779190612a15565b3480156104fd57600080fd5b5061051161050c366004612a78565b610d64565b6040519015158152602001610477565b34801561052d57600080fd5b5060155461054290600160a01b900460ff1681565b6040516104779190612aba565b34801561055b57600080fd5b5060275461046d565b34801561057057600080fd5b5061046d600e5481565b34801561058657600080fd5b5061046d601e5481565b34801561059c57600080fd5b5061046d60075481565b3480156105b257600080fd5b5061046d6105c13660046129fc565b610dd1565b3480156105d257600080fd5b506105116105e1366004612ae2565b610f56565b3480156105f257600080fd5b5061046d611030565b34801561060757600080fd5b5061046d600b5481565b34801561061d57600080fd5b5061046d601281565b34801561063257600080fd5b506104b6610641366004612b23565b6110b2565b34801561065257600080fd5b5060125b60405160ff9091168152602001610477565b34801561067457600080fd5b5061046d60255481565b34801561068a57600080fd5b5061046d60001981565b3480156106a057600080fd5b5061046d600f5481565b3480156106b657600080fd5b506105116106c5366004612a78565b6110dc565b3480156106d657600080fd5b506104b66106e5366004612b40565b611161565b3480156106f657600080fd5b5061046d60275481565b34801561070c57600080fd5b50600154610720906001600160a01b031681565b6040516001600160a01b039091168152602001610477565b34801561074457600080fd5b506104b6610753366004612b40565b6111ed565b34801561076457600080fd5b50601454610720906001600160a01b031681565b34801561078457600080fd5b50601d5461051190610100900460ff1681565b3480156107a357600080fd5b50610656600b81565b3480156107b857600080fd5b5061046d600d5481565b3480156107ce57600080fd5b5061046d600a5481565b3480156107e457600080fd5b5060235461051190610100900460ff1681565b34801561080357600080fd5b5060145461051190600160a01b900460ff1681565b34801561082457600080fd5b5061046d610833366004612b23565b61126e565b34801561084457600080fd5b506104b6611296565b34801561085957600080fd5b5061046d60095481565b34801561086f57600080fd5b506104b66112aa565b34801561088457600080fd5b50601654610720906001600160a01b031681565b3480156108a457600080fd5b5061046d601f5481565b3480156108ba57600080fd5b5061046d60195481565b3480156108d057600080fd5b50601b54600160a01b900460ff1615610511565b3480156108f057600080fd5b506104b66108ff366004612b23565b611314565b34801561091057600080fd5b5061046d60205481565b34801561092657600080fd5b506104b6611340565b34801561093b57600080fd5b506104b661094a366004612b80565b611357565b34801561095b57600080fd5b506000546001600160a01b0316610720565b34801561097957600080fd5b5061046d60225481565b34801561098f57600080fd5b506040805180820190915260048152635349465960e01b60208201526104e4565b3480156109bc57600080fd5b5061046d60175481565b3480156109d257600080fd5b5061046d60055481565b3480156109e857600080fd5b5061046d60045481565b3480156109fe57600080fd5b5061046d60265481565b348015610a1457600080fd5b5061046d60245481565b348015610a2a57600080fd5b50610511610a39366004612a78565b6113b2565b348015610a4a57600080fd5b50601b54610720906001600160a01b031681565b348015610a6a57600080fd5b50610511610a79366004612a78565b611499565b348015610a8a57600080fd5b506023546105119060ff1681565b348015610aa457600080fd5b5061046d60215481565b348015610aba57600080fd5b506104b6610ac9366004612b40565b6114c5565b348015610ada57600080fd5b506104b6610ae9366004612bd2565b611546565b348015610afa57600080fd5b5061046d60065481565b348015610b1057600080fd5b5061046d600c5481565b348015610b2657600080fd5b5061046d60085481565b348015610b3c57600080fd5b506104b6610b4b366004612c07565b611579565b348015610b5c57600080fd5b506104b6610b6b366004612c07565b6115ba565b348015610b7c57600080fd5b50610511610b8b366004612b23565b6001600160a01b031660009081526002602052604090205460ff1690565b348015610bb557600080fd5b5061046d610bc43660046129fc565b6115e0565b348015610bd557600080fd5b5061046d60105481565b348015610beb57600080fd5b5061046d60295481565b348015610c0157600080fd5b5061046d610c10366004612c22565b6001600160a01b039182166000908152602b6020908152604080832093909416825291909152205490565b348015610c4757600080fd5b506104b6610c56366004612b23565b611634565b348015610c6757600080fd5b506104b6610c76366004612c07565b61165e565b348015610c8757600080fd5b506104b6610c96366004612b23565b611696565b348015610ca757600080fd5b50610cdd610cb6366004612c5b565b601a6020526000908152604090208054600182015460028301546003909301549192909184565b604080519485526020850193909352918301526060820152608001610477565b348015610d0957600080fd5b50601554610720906001600160a01b031681565b348015610d2957600080fd5b506104b6610d383660046129fc565b61170c565b348015610d4957600080fd5b50601d546105119060ff1681565b610d5f611719565b601055565b336000818152602b602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610dbf9086815260200190565b60405180910390a35060015b92915050565b604080516002808252606082018352600092839291906020830190803683375050601554604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015610e3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e639190612c8c565b81600081518110610e7657610e76612ca9565b6001600160a01b039283166020918202929092010152601354825191169082906001908110610ea757610ea7612ca9565b6001600160a01b03928316602091820292909201015260155460405163d06ca61f60e01b8152600092919091169063d06ca61f90610eeb9087908690600401612d03565b600060405180830381865afa158015610f08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f309190810190612d24565b905080600181518110610f4557610f45612ca9565b602002602001015192505050919050565b6000826001600160a01b038116610f6c57600080fd5b6001600160a01b0385166000908152602b6020908152604080832033845290915290205460001914611019576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0388166000908152602b82528381203382529091529190912054610ff4918590611773565b6001600160a01b0386166000908152602b602090815260408083203384529091529020555b61102485858561179f565b50600195945050505050565b602854601280546001600160a01b039081166000908152602a602052604080822054601154909316825281205490936110ad9390926110a79290916110a1919061107b90600a612edc565b611089906305f5e100612ee8565b61109590600019612f15565b6110a190600019612f29565b90611ba3565b90611baf565b905090565b6110ba611719565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152602b602090815260408083206001600160a01b038616845290915281205461110a9083611bbb565b336000818152602b602090815260408083206001600160a01b038916808552908352928190208590555193845290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101610dbf565b611169611719565b600c839055600d829055600e819055806111838385612f3c565b61118d9190612f3c565b600f55600b54601410156111e85760405162461bcd60e51b815260206004820152601f60248201527f466565732063616e206e6f7420626520677261746572207468616e203230250060448201526064015b60405180910390fd5b505050565b6111f5611719565b60088390556009829055600a8190558061120f8385612f3c565b6112199190612f3c565b600b819055601e10156111e85760405162461bcd60e51b815260206004820152601f60248201527f466565732063616e206e6f7420626520677261746572207468616e203330250060448201526064016111df565b6028546001600160a01b0382166000908152602a60205260408120549091610dcb9190611baf565b61129e611719565b6112a86000611bc7565b565b601b60009054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156112fa57600080fd5b505af115801561130e573d6000803e3d6000fd5b50505050565b61131c611719565b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b611348611719565b601d805460ff19166001179055565b61135f611719565b6000601a600087600481111561137757611377612aa4565b600481111561138857611388612aa4565b81526020810191909152604001600020948555506001840192909255600283015560039091015550565b336000908152602b602090815260408083206001600160a01b038616845290915281205480831061140657336000908152602b602090815260408083206001600160a01b0388168452909152812055611435565b6114108184611ba3565b336000908152602b602090815260408083206001600160a01b03891684529091529020555b336000818152602b602090815260408083206001600160a01b038916808552908352928190205490519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060019392505050565b6000826001600160a01b0381166114af57600080fd5b6114ba33858561179f565b506001949350505050565b6114cd611719565b600483905560058290556006819055806114e78385612f3c565b6114f19190612f3c565b6007819055601410156111e85760405162461bcd60e51b815260206004820152601f60248201527f466565732063616e206e6f7420626520677261746572207468616e203230250060448201526064016111df565b61154e611719565b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b611581611719565b80156115a357602380548215156101000261ff00199091161790554260265550565b6023805461ff001916610100831515021790555b50565b6115c2611719565b60148054911515600160a01b0260ff60a01b19909216919091179055565b602854601b546001600160a01b03166000908152602a60205260408120549091829161160b91611baf565b905061162d611618611030565b6110a7611626846002611c17565b8690611c17565b9392505050565b61163c611719565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b611666611719565b8015611683576023805482151560ff199091161790554260255550565b6023805482151560ff1990911617905550565b61169e611719565b6001600160a01b0381166117035760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016111df565b6115b781611bc7565b611714611719565b602955565b6000546001600160a01b031633146112a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016111df565b600081848411156117975760405162461bcd60e51b81526004016111df9190612a15565b505050900390565b6001600160a01b03831660009081526003602052604081205460ff1661180857601d5460ff166118085760405162461bcd60e51b8152602060048201526014602482015273151c98591a5b99c81b9bdd081bdc195b881e595d60621b60448201526064016111df565b601b54600160a01b900460ff168061182d57506016546001600160a01b038581169116145b156118445761183d848484611c23565b905061162d565b426019546017546118559190612f3c565b10801561186a5750601d54610100900460ff16155b80156118785750601d5460ff165b1561196c57601554604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa1580156118c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118eb9190612c8c565b601b546040516370a0823160e01b81526001600160a01b0391821660048201529116906370a0823190602401602060405180830381865afa158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612f4f565b905061196381610dd1565b60185550426017555b601b546001600160a01b0390811690851603611a6c5760125460165460405163c676ea6560e01b81526001600160a01b038681166004830152928316929091169063c676ea6590602401602060405180830381865afa1580156119d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f79190612c8c565b6001600160a01b031614611a6c5760165460405163b8f3ba8d60e01b81526001600160a01b038581166004830152602482018590529091169063b8f3ba8d90604401600060405180830381600087803b158015611a5357600080fd5b505af1158015611a67573d6000803e3d6000fd5b505050505b601d5460ff1615611a7f57611a7f611cb5565b611a876121b1565b15611a9457611a94612213565b611a9c61240a565b15611aa957611aa9612467565b6000611ac060285484611c1790919063ffffffff16565b6001600160a01b0386166000908152602a6020526040902054909150611ae69082611ba3565b6001600160a01b0386166000908152602a6020526040812091909155611b0c86866124ce565b611b165781611b21565b611b21868684612522565b6001600160a01b0386166000908152602a6020526040902054909150611b479082611bbb565b6001600160a01b038087166000818152602a60205260409020929092556028549088169060008051602061300f83398151915290611b86908590611baf565b60405190815260200160405180910390a350600195945050505050565b600061162d8284612f29565b600061162d8284612f68565b600061162d8284612f3c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061162d8284612ee8565b600080611c3b60285484611c1790919063ffffffff16565b6001600160a01b0386166000908152602a6020526040902054909150611c619082611ba3565b6001600160a01b038087166000908152602a60205260408082209390935590861681522054611c909082611bbb565b6001600160a01b0385166000908152602a602052604090205550600190509392505050565b601554604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015611cff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d239190612c8c565b601b546040516370a0823160e01b81526001600160a01b0391821660048201529116906370a0823190602401602060405180830381865afa158015611d6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d909190612f4f565b90506000611d9d82610dd1565b60008052601a6020527fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb697680253750549091508110801590611e04575060008052601a6020527fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb697680253751548111155b15611e17576015805460ff60a01b191690555b6001600052601a6020527ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c61548110801590611e7d57506001600052601a6020527ff88cd8d612926ebb404e40725c01084b6e9b3ce0344cde068570342cbd448c62548111155b15611e96576015805460ff60a01b1916600160a01b1790555b6002600052601a6020527f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c4f548110801590611efc57506002600052601a6020527f4c287b3e2c2cb129ae3ba596d613d760b15affdac7242e12903c37a886ea1c50548111155b15611f15576015805460ff60a01b1916600160a11b1790555b6003600052601a6020527f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e2548110801590611f7b57506003600052601a6020527f4ac83fca211703e3ddb90093cd219714e5e3715bf0b4fd15b0441390534a24e3548111155b15611f94576015805460ff60a01b1916600360a01b1790555b6004600052601a6020527f06b28f262ad931a15c9e47271fc159a891b2bcb0da2659cac5bbfed4886cf26e548110611fda576015805460ff60a01b1916600160a21b1790555b80601854118015611ff35750601d54610100900460ff16155b15612139576000816018546120089190612f29565b905060006018548261271061201d9190612ee8565b6120279190612f68565b9050601a6000601560149054906101000a900460ff16600481111561204e5761204e612aa4565b600481111561205f5761205f612aa4565b81526020019081526020016000206002015481111561213657601d805461ff00191661010017905542601e819055602155601f83905560155461271090601a90600090600160a01b900460ff1660048111156120bd576120bd612aa4565b60048111156120ce576120ce612aa4565b815260200190815260200160002060030154846120eb9190612ee8565b6120f59190612f68565b6120ff9084612f3c565b60209081556040518481527f1c436e00c3e6a4c9fe8c4b06b059a2cc9039fb62142b6512adfe4fe9c4475858910160405180910390a15b50505b601d54610100900460ff168015612151575060205481115b156121ad57601d805461ff00191690556000601e819055601f81905560209081554260225560188290556040518281527f7a711ba0fefabae0255256a32733d1e8f7500ae03b42aca2a87876c9d38a2a30910160405180910390a15b5050565b60235460009060ff1680156121d15750601b546001600160a01b03163314155b80156121e75750601b54600160a01b900460ff16155b80156121f55750601d5460ff165b80156110ad575060255461220b90610384612f3c565b421015905090565b601b54600160a01b900460ff161561222757565b600080602454426122389190612f29565b905060006025544261224a9190612f29565b9050600061225a82610e10611baf565b9050600061226982603c611c17565b9050600a841161227d5760295494506122be565b60648410156122b7576000612293600a86612f68565b90506122a281620186a0612ee8565b6029546122af9190612f29565b9550506122be565b620426a794505b60005b8281101561230f576122fa6122d8600b600a612f7c565b6110a76122f1896122eb600b600a612f7c565b90611bbb565b60275490611c17565b6027558061230781612f8b565b9150506122c1565b50602754612349906123236012600a612edc565b612331906305f5e100612ee8565b61233d90600019612f15565b6110a790600019612f29565b60285561236361235a83603c611c17565b60255490611bbb565b6025556001546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b1580156123af57600080fd5b505af11580156123c3573d6000803e3d6000fd5b50505050807f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f26027546040516123fb91815260200190565b60405180910390a25050505050565b601b54600090600160a01b900460ff161580156124325750601b546001600160a01b03163314155b80156124475750601454600160a01b900460ff165b80156110ad575050601054306000908152602a6020526040902054101590565b601b805460ff60a01b1916600160a01b179055602854306000908152602a602052604081205490916124999190611baf565b9050801580156124a95750600754155b156124b457506124bf565b6124bd816127e0565b505b601b805460ff60a01b19169055565b601b546000906001600160a01b03848116911614806124fa5750601b546001600160a01b038381169116145b801561162d575050506001600160a01b031660009081526002602052604090205460ff161590565b601d54600090819081908190610100900460ff16612593576007546125529061254c876064611baf565b90611c17565b925061256f6007546110a760065486611c1790919063ffffffff16565b915061258c6007546110a760045486611c1790919063ffffffff16565b9050612644565b601b546001600160a01b03908116908716036125f557600b546125bb9061254c876064611baf565b92506125d8600b546110a7600a5486611c1790919063ffffffff16565b915061258c600b546110a760085486611c1790919063ffffffff16565b600f546126079061254c876064611baf565b9250612624600f546110a7600e5486611c1790919063ffffffff16565b9150612641600f546110a7600c5486611c1790919063ffffffff16565b90505b612652816110a18585611ba3565b6014546001600160a01b03166000908152602a602052604090205490935061267a9083611bbb565b601480546001600160a01b039081166000908152602a6020526040902092909255546028549082169189169060008051602061300f833981519152906126c1908690611baf565b60405190815260200160405180910390a36011546001600160a01b03166000908152602a60205260409020546126f79082611bbb565b601180546001600160a01b039081166000908152602a6020526040902092909255546028549082169189169060008051602061300f8339815191529061273e908590611baf565b60405190815260200160405180910390a3306000908152602a60205260409020546127699084611bbb565b306000818152602a60205260409020919091556028546001600160a01b0389169060008051602061300f833981519152906127a5908790611baf565b60405190815260200160405180910390a36127d5816127c48486612f3c565b6127ce9190612f3c565b8690611ba3565b979650505050505050565b60006127ed826002611baf565b905060006127fb8383611ba3565b90504761280783612826565b60006128134783611ba3565b905061281f8382612967565b5050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061285b5761285b612ca9565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156128b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d89190612c8c565b816001815181106128eb576128eb612ca9565b6001600160a01b03928316602091820292909201015260155460405163791ac94760e01b815291169063791ac94790612931908590600090869030904290600401612fa4565b600060405180830381600087803b15801561294b57600080fd5b505af115801561295f573d6000803e3d6000fd5b505050505050565b60155460115460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af11580156129d7573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061281f9190612fe0565b600060208284031215612a0e57600080fd5b5035919050565b600060208083528351808285015260005b81811015612a4257858101830151858201604001528201612a26565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146115b757600080fd5b60008060408385031215612a8b57600080fd5b8235612a9681612a63565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b6020810160058310612adc57634e487b7160e01b600052602160045260246000fd5b91905290565b600080600060608486031215612af757600080fd5b8335612b0281612a63565b92506020840135612b1281612a63565b929592945050506040919091013590565b600060208284031215612b3557600080fd5b813561162d81612a63565b600080600060608486031215612b5557600080fd5b505081359360208301359350604090920135919050565b803560058110612b7b57600080fd5b919050565b600080600080600060a08688031215612b9857600080fd5b612ba186612b6c565b97602087013597506040870135966060810135965060800135945092505050565b80358015158114612b7b57600080fd5b60008060408385031215612be557600080fd5b8235612bf081612a63565b9150612bfe60208401612bc2565b90509250929050565b600060208284031215612c1957600080fd5b61162d82612bc2565b60008060408385031215612c3557600080fd5b8235612c4081612a63565b91506020830135612c5081612a63565b809150509250929050565b600060208284031215612c6d57600080fd5b61162d82612b6c565b634e487b7160e01b600052604160045260246000fd5b600060208284031215612c9e57600080fd5b815161162d81612a63565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015612cf85781516001600160a01b031687529582019590820190600101612cd3565b509495945050505050565b828152604060208201526000612d1c6040830184612cbf565b949350505050565b60006020808385031215612d3757600080fd5b825167ffffffffffffffff80821115612d4f57600080fd5b818501915085601f830112612d6357600080fd5b815181811115612d7557612d75612c76565b8060051b604051601f19603f83011681018181108582111715612d9a57612d9a612c76565b604052918252848201925083810185019188831115612db857600080fd5b938501935b82851015612dd657845184529385019392850192612dbd565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115612e33578160001904821115612e1957612e19612de2565b80851615612e2657918102915b93841c9390800290612dfd565b509250929050565b600082612e4a57506001610dcb565b81612e5757506000610dcb565b8160018114612e6d5760028114612e7757612e93565b6001915050610dcb565b60ff841115612e8857612e88612de2565b50506001821b610dcb565b5060208310610133831016604e8410600b8410161715612eb6575081810a610dcb565b612ec08383612df8565b8060001904821115612ed457612ed4612de2565b029392505050565b600061162d8383612e3b565b8082028115828204841417610dcb57610dcb612de2565b634e487b7160e01b600052601260045260246000fd5b600082612f2457612f24612eff565b500690565b81810381811115610dcb57610dcb612de2565b80820180821115610dcb57610dcb612de2565b600060208284031215612f6157600080fd5b5051919050565b600082612f7757612f77612eff565b500490565b600061162d60ff841683612e3b565b600060018201612f9d57612f9d612de2565b5060010190565b85815284602082015260a060408201526000612fc360a0830186612cbf565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215612ff557600080fd5b835192506020840151915060408401519050925092509256feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204956451442812c5c333b4b2069ddb140fd0fa2d4d3b686c967bc36c533c0bdf664736f6c63430008130033

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

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