BNB Price: $711.46 (+0.13%)
Gas: 1 GWei
 

More Info

Private Name Tags

TokenTracker

Anji (ANJI) (@$0.00)
Transaction Hash
Method
Block
From
To
Approve448994052024-12-15 16:13:1516 hrs ago1734279195IN
AnjiEco: ANJI Token
0 BNB0.000046591
Approve448663452024-12-14 12:40:1444 hrs ago1734180014IN
AnjiEco: ANJI Token
0 BNB0.000073153
Approve448663272024-12-14 12:39:2044 hrs ago1734179960IN
AnjiEco: ANJI Token
0 BNB0.000073153
Approve448663102024-12-14 12:38:2944 hrs ago1734179909IN
AnjiEco: ANJI Token
0 BNB0.000073153
Approve448583792024-12-14 6:01:552 days ago1734156115IN
AnjiEco: ANJI Token
0 BNB0.000046591
Approve446011812024-12-05 7:39:3011 days ago1733384370IN
AnjiEco: ANJI Token
0 BNB0.000046671
Approve446007102024-12-05 7:15:5711 days ago1733382957IN
AnjiEco: ANJI Token
0 BNB0.000046591
Approve445439282024-12-03 7:56:4713 days ago1733212607IN
AnjiEco: ANJI Token
0 BNB0.000026821.1
Approve445433192024-12-03 7:26:2013 days ago1733210780IN
AnjiEco: ANJI Token
0 BNB0.000046591
Approve445370782024-12-03 2:14:1713 days ago1733192057IN
AnjiEco: ANJI Token
0 BNB0.000046591
Approve444898112024-12-01 10:50:4414 days ago1733050244IN
AnjiEco: ANJI Token
0 BNB0.000046591
Approve444463052024-11-29 22:35:1816 days ago1732919718IN
AnjiEco: ANJI Token
0 BNB0.000046591
Approve444422972024-11-29 19:14:5416 days ago1732907694IN
AnjiEco: ANJI Token
0 BNB0.000046591
Approve443878402024-11-27 21:51:3618 days ago1732744296IN
AnjiEco: ANJI Token
0 BNB0.000046591
Transfer443548752024-11-26 18:23:1719 days ago1732645397IN
AnjiEco: ANJI Token
0 BNB0.000430551
Approve442945162024-11-24 16:05:1421 days ago1732464314IN
AnjiEco: ANJI Token
0 BNB0.000026821.1
Approve441461172024-11-19 12:24:5526 days ago1732019095IN
AnjiEco: ANJI Token
0 BNB0.000046591
Approve441088462024-11-18 5:21:2228 days ago1731907282IN
AnjiEco: ANJI Token
0 BNB0.000046591
Transfer440933762024-11-17 16:27:5228 days ago1731860872IN
AnjiEco: ANJI Token
0 BNB0.000344471
Approve439218152024-11-11 17:29:2834 days ago1731346168IN
AnjiEco: ANJI Token
0 BNB0.000026821.1
Approve438946712024-11-10 18:52:1135 days ago1731264731IN
AnjiEco: ANJI Token
0 BNB0.000046671
Approve438545682024-11-09 9:26:5636 days ago1731144416IN
AnjiEco: ANJI Token
0 BNB0.000046591
Transfer438490452024-11-09 4:50:3937 days ago1731127839IN
AnjiEco: ANJI Token
0 BNB0.000162011
Approve437624892024-11-06 4:31:1740 days ago1730867477IN
AnjiEco: ANJI Token
0 BNB0.000027091.111
Approve437435212024-11-05 12:42:5240 days ago1730810572IN
AnjiEco: ANJI Token
0 BNB0.000046591
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
448583882024-12-14 6:02:222 days ago1734156142
AnjiEco: ANJI Token
0.00005226 BNB
448583882024-12-14 6:02:222 days ago1734156142
AnjiEco: ANJI Token
0.00010453 BNB
448583882024-12-14 6:02:222 days ago1734156142
AnjiEco: ANJI Token
0.00010453 BNB
448583882024-12-14 6:02:222 days ago1734156142
AnjiEco: ANJI Token
0.00010453 BNB
448583882024-12-14 6:02:222 days ago1734156142
AnjiEco: ANJI Token
0.00036587 BNB
446012022024-12-05 7:40:3311 days ago1733384433
AnjiEco: ANJI Token
0.00000158 BNB
446012022024-12-05 7:40:3311 days ago1733384433
AnjiEco: ANJI Token
0.00000316 BNB
446012022024-12-05 7:40:3311 days ago1733384433
AnjiEco: ANJI Token
0.00000316 BNB
446012022024-12-05 7:40:3311 days ago1733384433
AnjiEco: ANJI Token
0.00000316 BNB
446012022024-12-05 7:40:3311 days ago1733384433
AnjiEco: ANJI Token
0.00001107 BNB
446007162024-12-05 7:16:1511 days ago1733382975
AnjiEco: ANJI Token
0.00000078 BNB
446007162024-12-05 7:16:1511 days ago1733382975
AnjiEco: ANJI Token
0.00000156 BNB
446007162024-12-05 7:16:1511 days ago1733382975
AnjiEco: ANJI Token
0.00000156 BNB
446007162024-12-05 7:16:1511 days ago1733382975
AnjiEco: ANJI Token
0.00000156 BNB
446007162024-12-05 7:16:1511 days ago1733382975
AnjiEco: ANJI Token
0.00000548 BNB
445433332024-12-03 7:27:0213 days ago1733210822
AnjiEco: ANJI Token
0.00000016 BNB
445433332024-12-03 7:27:0213 days ago1733210822
AnjiEco: ANJI Token
0.00000032 BNB
445433332024-12-03 7:27:0213 days ago1733210822
AnjiEco: ANJI Token
0.00000032 BNB
445433332024-12-03 7:27:0213 days ago1733210822
AnjiEco: ANJI Token
0.00000032 BNB
445433332024-12-03 7:27:0213 days ago1733210822
AnjiEco: ANJI Token
0.00000115 BNB
445370832024-12-03 2:14:3213 days ago1733192072
AnjiEco: ANJI Token
0.0000055 BNB
445370832024-12-03 2:14:3213 days ago1733192072
AnjiEco: ANJI Token
0.00001101 BNB
445370832024-12-03 2:14:3213 days ago1733192072
AnjiEco: ANJI Token
0.00001101 BNB
445370832024-12-03 2:14:3213 days ago1733192072
AnjiEco: ANJI Token
0.00001101 BNB
445370832024-12-03 2:14:3213 days ago1733192072
AnjiEco: ANJI Token
0.00003854 BNB
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AnjiToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Audited
File 1 of 1 : AnjiToken.sol
/**
 * Anji is about building an ecosystem of altruistic defi applications to enable a decentralised digital economy that leaves the earth in a better way than we found it.
 *
 * Web: https://anji.eco
 * Telegram: https://t.me/anjieco
 * Twitter: https://twitter.com/anji_eco
 *
 *                 _ _   ______                        _
 *     /\         (_|_) |  ____|                      | |
 *    /  \   _ __  _ _  | |__   ___ ___  ___ _   _ ___| |_ ___ _ __ ___
 *   / /\ \ | '_ \| | | |  __| / __/ _ \/ __| | | / __| __/ _ \ '_ ` _ \
 *  / ____ \| | | | | | | |___| (_| (_) \__ \ |_| \__ \ ||  __/ | | | | |
 * /_/    \_\_| |_| |_| |______\___\___/|___/\__, |___/\__\___|_| |_| |_|
 *               _/ |                         __/ |
 *              |__/                         |___/
 */

//SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

/**
 * Standard SafeMath, stripped down to just add/sub/mul/div
 */
library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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() {
        _setOwner(_msgSender());
    }

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

/**
 * BEP20 standard interface.
 */
interface IBEP20 {
    function totalSupply() external view returns (uint256);
    function decimals() external view returns (uint8);
    function symbol() external view returns (string memory);
    function name() external view returns (string memory);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address _owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

interface IDEXRouter {
    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 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;
}

interface IDividendDistributor {
    function setShare(address shareholder, uint256 amount) external;
    function deposit(uint256 amount) external;
    function claimDividend(address shareholder) external;
}

contract BNBDistributor is IDividendDistributor {
    using SafeMath for uint256;

    address _token;
    address charityReceiver;
    address marketingReceiver;
    address liquidityReceiver;

    struct Share {
        uint256 amount;
        uint256 totalExcluded;
        uint256 totalRealised;
    }

    address WBNB;
    IDEXRouter router;

    mapping(address => uint256) _shareAmount;
    mapping(address => uint256) _shareEntry;
    mapping(address => uint256) _accured;
    uint256 _totalShared;
    uint256 _totalReward;
    uint256 _totalAccured;
    uint256 _stakingMagnitude;

    uint256 public minAmount = 0;

    modifier onlyToken() {
        require(msg.sender == _token); _;
    }

    constructor (address _wbnb, address _router, address _charityReceiver, address _marketingReceiver, address _liquidityReceiver) {
        WBNB = _wbnb;
        router = IDEXRouter(_router);
        _token = msg.sender;
        charityReceiver = _charityReceiver;
        marketingReceiver = _marketingReceiver;
        liquidityReceiver = _liquidityReceiver;

        _stakingMagnitude = 10 * 10 ** (9 + 9); // 10 Billion
    }

    function setShare(address shareholder, uint256 amount) external override onlyToken {
        // Shareholder has given up their Reward Share
        if (amount < 1000000000) {
            uint256 current_rewards = currentRewards(shareholder);
            if (current_rewards > 0) {
                distributeDividend(shareholder, marketingReceiver);
            }

            _accured[shareholder] = _accured[shareholder] - _accured[shareholder];
            _totalShared = _totalShared - _shareAmount[shareholder];

            _shareAmount[shareholder] = _shareAmount[shareholder] - _shareAmount[shareholder];
            _shareEntry[shareholder] = _totalAccured;
        } else {
            if (_shareAmount[shareholder] > 0) {
                _accured[shareholder] = currentRewards(shareholder);
            }

            _totalShared = _totalShared.sub(_shareAmount[shareholder]).add(amount);
            _shareAmount[shareholder] = amount;

            _shareEntry[shareholder] = _totalAccured;
        }
    }

    function getWalletShare(address shareholder) public view returns (uint256) {
        return _shareAmount[shareholder];
    }

    function deposit(uint256 amount) external override onlyToken {
        _totalReward = _totalReward + amount;
        _totalAccured = _totalAccured + amount * _stakingMagnitude / _totalShared;
    }

    function distributeDividend(address shareholder, address receiver) internal {
        if(_shareAmount[shareholder] == 0){ return; }

        _accured[shareholder] = currentRewards(shareholder);
        require(_accured[shareholder] > minAmount, "Reward amount has to be more than minimum amount");

        payable(receiver).transfer(_accured[shareholder]);
        _totalReward = _totalReward - _accured[shareholder];
        _accured[shareholder] = _accured[shareholder] - _accured[shareholder];

        _shareEntry[shareholder] = _totalAccured;
    }

    function claimDividend(address shareholder) external override onlyToken {
        uint256 amount = currentRewards(shareholder);
        if (amount == 0) {
            return;
        }

        distributeDividend(shareholder, shareholder);
    }

    function setCharityFeeReceiver(address _receiver) external onlyToken {
        charityReceiver = _receiver;
    }

    function setMarketingFeeReceiver(address _receiver) external onlyToken {
        marketingReceiver = _receiver;
    }

    function setLiquidityFeeReceiver(address _receiver) external onlyToken {
        liquidityReceiver = _receiver;
    }

    function donate(address shareholder) onlyToken external {
        distributeDividend(shareholder, charityReceiver);
    }

    function buyToken(address shareholder) external onlyToken {
        if(_shareAmount[shareholder] == 0){ return; }

        uint256 amount = currentRewards(shareholder);

        if (amount == 0) { return; }

        _accured[shareholder] = amount;

        uint256 amountToCharity = amount.mul(2).div(100);
        uint256 amountToLiquify = amount.mul(3).div(100).div(2);
        uint256 walletAmount = amount.mul(95).div(100);

        uint256 amountToSwap = amountToLiquify.add(walletAmount);

        // Pay charity fee
        payable(charityReceiver).transfer(amountToCharity);

        address[] memory path = new address[](2);
        path[0] = WBNB;
        path[1] = _token;

        uint256 balanceBefore = IBEP20(_token).balanceOf(address(this));

        IBEP20(_token).approve(address(router), amountToSwap);
        // Buy more tokens with the BNB of the shareholder and send to them
        router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountToSwap}(
            0,
            path,
            address(this),
            block.timestamp
        );

        uint256 swapBalance = IBEP20(_token).balanceOf(address(this)).sub(balanceBefore);
        uint256 amountTokensToLiquify = swapBalance.mul(3).div(98);
        uint256 amountTokensToShareholder = swapBalance.sub(amountTokensToLiquify);

        if (amountTokensToShareholder > 0) {
            IBEP20(_token).transfer(shareholder, amountTokensToShareholder);
        }

        if (amountTokensToLiquify > 0 && amountToLiquify > 0){
            IBEP20(_token).approve(address(router), amountTokensToLiquify);
            router.addLiquidityETH{ value: amountToLiquify }(
                _token,
                amountTokensToLiquify,
                0,
                0,
                liquidityReceiver,
                block.timestamp
            );
        }

        _totalReward = _totalReward - _accured[shareholder];
        _accured[shareholder] = _accured[shareholder] - _accured[shareholder];

        _shareEntry[shareholder] = _totalAccured;
    }

    function depositExternalBNB(uint256 amount) external onlyToken {
        _totalReward = _totalReward + amount;
        _totalAccured = _totalAccured + amount * _stakingMagnitude / _totalShared;
    }

    function _calculateReward(address addy) private view returns (uint256) {
        return _shareAmount[addy] * (_totalAccured - _shareEntry[addy]) / _stakingMagnitude;
    }

    function currentRewards(address addy) public view returns (uint256) {
        uint256 totalRewards = address(this).balance;

        uint256 calcReward = _accured[addy] + _calculateReward(addy);

        // Fail safe to ensure rewards are never more than the contract holding.
        if (calcReward > totalRewards) {
            return totalRewards;
        }

        return calcReward;
    }

    receive() external payable { }
}

contract AnjiToken is Context, IBEP20, Ownable {
    using SafeMath for uint256;

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

    string constant _name = "Anji";
    string constant _symbol = "ANJI";
    uint8 constant _decimals = 9;

    uint256 _totalSupply = 10 * 10 ** (9 + _decimals); // 10 Billion

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

    mapping (address => bool) isFeeExempt;
    mapping (address => bool) isTxLimitExempt;
    mapping (address => bool) isDividendExempt;
    mapping (address => bool) isRestricted;

    uint256 liquidityFee = 300;
    uint256 charityFee = 200;
    uint256 marketingFee = 200;
    uint256 bnbReflectionFee = 300;

    uint256 feeDenominator = 10000;

    address public charityFeeReceiver;
    address public marketingFeeReceiver;
    address public autoLiquidityReceiver;

    IDEXRouter public router;
    address pancakeV2BNBPair;
    address[] public pairs;

    bool public swapEnabled = true;
    bool public feesOnNormalTransfers = true;

    BNBDistributor public bnbDistributor;

    bool inSwap;
    modifier swapping { inSwap = true; _; inSwap = false; }
    uint256 public swapThreshold = 100 * 10 ** _decimals;

    event AutoLiquify(uint256 amountBNB, uint256 amountBOG);
    event BuybackMultiplierActive(uint256 duration);
    event BoughtBack(uint256 amount, address to);
    event Launched(uint256 blockNumber, uint256 timestamp);
    event SwapBackSuccess(uint256 amount);
    event SwapBackFailed(string message);

    constructor() {
        address _owner = msg.sender;

        router = IDEXRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E);
        pancakeV2BNBPair = IDEXFactory(router.factory()).createPair(WBNB, address(this));
        _allowances[address(this)][address(router)] = ~uint256(0);

        pairs.push(pancakeV2BNBPair);
        bnbDistributor = new BNBDistributor(WBNB, address(router), _owner, _owner, _owner);

        isFeeExempt[_owner] = true;
        isFeeExempt[address(this)] = true;
        isFeeExempt[address(bnbDistributor)] = true;
        isDividendExempt[pancakeV2BNBPair] = true;
        isDividendExempt[address(this)] = true;
        isDividendExempt[DEAD] = true;
        isDividendExempt[ZERO] = true;
        isDividendExempt[address(bnbDistributor)] = true;
        isDividendExempt[_owner] = true;

        address upgradeContract = 0x5Ba41eAE2AE8a103B19ffE23384310B065bAF7f3;
        isFeeExempt[upgradeContract] = true;
        isDividendExempt[upgradeContract] = true;

        charityFeeReceiver = _owner;
        marketingFeeReceiver = _owner;
        autoLiquidityReceiver = _owner;

        _balances[_owner] = _totalSupply;
        emit Transfer(address(0), _owner, _totalSupply);
    }

    function totalSupply() external view override returns (uint256) { return _totalSupply; }
    function decimals() external pure override returns (uint8) { return _decimals; }
    function symbol() external pure override returns (string memory) { return _symbol; }
    function name() external pure override returns (string memory) { return _name; }
    function balanceOf(address account) public view override returns (uint256) { return _balances[account]; }
    function allowance(address holder, address spender) external view override returns (uint256) { return _allowances[holder][spender]; }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

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

    function approveMax(address spender) external returns (bool) {
        return approve(spender, ~uint256(0));
    }

    function transfer(address recipient, uint256 amount) external override returns (bool) {
        return _transferFrom(msg.sender, recipient, amount);
    }

    function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) {
        if(_allowances[sender][msg.sender] != ~uint256(0)){
            _allowances[sender][msg.sender] = _allowances[sender][msg.sender].sub(amount, "Insufficient Allowance");
        }

        return _transferFrom(sender, recipient, amount);
    }

    function _transferFrom(address sender, address recipient, uint256 amount) internal returns (bool) {
        require(!isRestricted[recipient], "Address is restricted");

        if(inSwap){ return _basicTransfer(sender, recipient, amount); }

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

        require(_balances[sender].sub(amount) >= 0, "Insufficient Balance");
        _balances[sender] = _balances[sender].sub(amount);

        if (shouldTakeFee(sender, recipient)) {
            uint256 _marketingFee = amount.mul(marketingFee).div(feeDenominator);
            uint256 _charityFee = amount.mul(charityFee).div(feeDenominator);
            uint256 _bnbFee = amount.mul(bnbReflectionFee).div(feeDenominator);
            uint256 _liquidityFee = amount.mul(liquidityFee).div(feeDenominator);

            uint256 _totalFee = _marketingFee + _charityFee + _bnbFee + _liquidityFee; // Total token fee

            _balances[address(this)] = _balances[address(this)] + _totalFee; // New Balance

            uint256 amountReceived = amount - _totalFee;
            _balances[recipient] = _balances[recipient].add(amountReceived);
            emit Transfer(sender, recipient, amountReceived);

        } else {
            _balances[recipient] = _balances[recipient].add(amount);
            emit Transfer(sender, recipient, amount);
        }

        if (!isDividendExempt[sender]) {
            try bnbDistributor.setShare(sender, _balances[sender]) {} catch {}
        }

        if(!isDividendExempt[recipient]) {
            try bnbDistributor.setShare(recipient, _balances[recipient]) {} catch {}
        }

        return true;
    }

    function _basicTransfer(address sender, address recipient, uint256 amount) internal returns (bool) {
        require(balanceOf(sender).sub(amount) >= 0, "Insufficient Balance");
        _balances[sender] = _balances[sender].sub(amount);
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
        return true;
    }

    function shouldTakeFee(address sender, address recipient) internal view returns (bool) {
        if (isFeeExempt[sender] || isFeeExempt[recipient]) return false;

        address[] memory liqPairs = pairs;

        for (uint256 i = 0; i < liqPairs.length; i++) {
            if (sender == liqPairs[i] || recipient == liqPairs[i]) return true;
        }

        return feesOnNormalTransfers;
    }

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

    function swapAndLiquidify() external onlyOwner {
        swapBack();
    }

    function swapBack() internal swapping {
        uint256 balanceBefore = address(this).balance;

        uint256 totalAmount = _balances[address(this)];
        uint256 denom = liquidityFee + charityFee + marketingFee + bnbReflectionFee;

        uint256 marketingSwap = totalAmount.mul(marketingFee).div(denom);
        uint256 charitySwap = totalAmount.mul(charityFee).div(denom);
        uint256 bnbSwap = totalAmount.mul(bnbReflectionFee).div(denom);
        uint256 liquiditySwap = totalAmount.mul(liquidityFee).div(denom);

        uint256 amountToLiquify = liquiditySwap.div(2);

        uint256 amountToSwap = marketingSwap + charitySwap + bnbSwap + amountToLiquify;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

        _approve(address(this), address(router), amountToSwap);
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amountToSwap,
            0,
            path,
            address(this),
            block.timestamp
        );

        uint256 swapedBNBAmount = address(this).balance.sub(balanceBefore);

        if (swapedBNBAmount > 0) {
            uint256 bnbDenom = liquidityFee.div(2) + charityFee + marketingFee + bnbReflectionFee;
            uint256 bnbSwapMarketingAmount = swapedBNBAmount.mul(marketingFee).div(bnbDenom); // BNB for Marketing
            uint256 bnbSwapCharityAmount = swapedBNBAmount.mul(charityFee).div(bnbDenom); // BNB for Charity
            uint256 bnbSwapBnbAmount = swapedBNBAmount.mul(bnbReflectionFee).div(bnbDenom); // BNB for BNB Rewards
            uint256 bnbLiquidify = swapedBNBAmount.mul(liquidityFee.div(2)).div(bnbDenom); // BNB for Liqudity

            if (bnbSwapMarketingAmount > 0) {
                // Send BNB for Marketing
                payable(marketingFeeReceiver).transfer(bnbSwapMarketingAmount);
            }

            if (bnbSwapCharityAmount > 0) {
                // Send BNB for Charity
                payable(charityFeeReceiver).transfer(bnbSwapCharityAmount);
            }

            if (bnbSwapBnbAmount > 0) {
                // Send BNB for Rewards
                payable(bnbDistributor).transfer(bnbSwapBnbAmount);
                bnbDistributor.depositExternalBNB(bnbSwapBnbAmount);
            }

            if (bnbLiquidify > 0){
                _approve(address(this), address(router), amountToLiquify);
                router.addLiquidityETH{ value: bnbLiquidify }(
                    address(this),
                    amountToLiquify,
                    0,
                    0,
                    autoLiquidityReceiver,
                    block.timestamp
                );
            }
        }
    }

    function BNBbalance() external view returns (uint256) {
        return address(this).balance;
    }

    function BNBRewardbalance() external view returns (uint256) {
        return address(bnbDistributor).balance;
    }

    function setIsDividendExempt(address holder, bool exempt) external onlyOwner {
        require(holder != address(this) && holder != pancakeV2BNBPair);
        isDividendExempt[holder] = exempt;
        if (exempt) {
            bnbDistributor.setShare(holder, 0);
        } else{
            bnbDistributor.setShare(holder, _balances[holder]);
        }
    }

    function setIsFeeExempt(address holder, bool exempt) external onlyOwner {
        isFeeExempt[holder] = exempt;
    }

    function setFees(
        uint256 _liquidityFee,
        uint256 _charityFee,
        uint256 _marketingFee,
        uint256 _bnbReflectionFee
    ) external onlyOwner {
        liquidityFee = _liquidityFee;
        charityFee = _charityFee;
        marketingFee = _marketingFee;
        bnbReflectionFee = _bnbReflectionFee;
    }

    function setSwapThreshold(uint256 threshold) external onlyOwner {
        swapThreshold = threshold;
    }

    function setSwapEnabled(bool _enabled) external onlyOwner {
        swapEnabled = _enabled;
    }

    function setCharityFeeReceiver(address _receiver) external onlyOwner {
        charityFeeReceiver = _receiver;
        bnbDistributor.setCharityFeeReceiver(_receiver);

        isDividendExempt[_receiver] = true;
        isFeeExempt[_receiver] = true;
    }

    function setMarketingFeeReceiver(address _receiver) external onlyOwner {
        marketingFeeReceiver = _receiver;
        bnbDistributor.setMarketingFeeReceiver(_receiver);

        isDividendExempt[_receiver] = true;
        isFeeExempt[_receiver] = true;
    }

    function setLiquidityFeeReceiver(address _receiver) external onlyOwner {
        autoLiquidityReceiver = _receiver;
        bnbDistributor.setLiquidityFeeReceiver(_receiver);

        isDividendExempt[_receiver] = true;
        isFeeExempt[_receiver] = true;
    }


    function getCirculatingSupply() external view returns (uint256) {
        return _totalSupply.sub(balanceOf(DEAD)).sub(balanceOf(ZERO));
    }

    function getClaimableBNB() external view returns (uint256) {
        return bnbDistributor.currentRewards(msg.sender);
    }

    function getWalletClaimableBNB(address _addr) external view returns (uint256) {
        return bnbDistributor.currentRewards(_addr);
    }

    function getWalletShareAmount(address _addr) external view returns (uint256) {
        return bnbDistributor.getWalletShare(_addr);
    }

    function claim() external {
        bnbDistributor.claimDividend(msg.sender);
    }

    function donate() external {
        bnbDistributor.donate(msg.sender);
    }

    function depositExternalBNB() external payable {
        payable(bnbDistributor).transfer(msg.value);
        bnbDistributor.depositExternalBNB(msg.value);
    }

    function buyAnjiWithReward() external {
        bnbDistributor.buyToken(msg.sender);
    }

    function addPair(address pair) external onlyOwner {
        pairs.push(pair);
    }

    function removeLastPair() external onlyOwner {
        pairs.pop();
    }

    function setFeesOnNormalTransfers(bool _enabled) external onlyOwner {
        feesOnNormalTransfers = _enabled;
    }

    function setisRestricted(address adr, bool restricted) external onlyOwner {
        isRestricted[adr] = restricted;
    }

    function walletIsDividendExempt(address adr) external view returns (bool) {
        return isDividendExempt[adr];
    }

    function walletIsTaxExempt(address adr) external view returns (bool) {
        return isFeeExempt[adr];
    }

    function walletisRestricted(address adr) external view returns (bool) {
        return isRestricted[adr];
    }

    // only for recovering excess BNB in the contract, in times of miscalculation. Can only be sent to marketing wallet - ALWAYS CONFIRM BEFORE USE
    function recoverExcess(uint256 amount) external onlyOwner {
        require(amount < address(this).balance, "ANJI: Can not send more than contract balance");
        payable(marketingFeeReceiver).transfer(amount);
    }

    // only for recovering tokens that are NOT ANJI tokens sent in error by wallets
    function withdrawTokens(address tokenaddr) external onlyOwner {
        require(tokenaddr != address(this), 'This is for tokens sent to the contract by mistake');
        uint256 tokenBal = IBEP20(tokenaddr).balanceOf(address(this));
        if (tokenBal > 0) {
            IBEP20(tokenaddr).transfer(marketingFeeReceiver, tokenBal);
        }
    }

    receive() external payable { }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

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":false,"internalType":"uint256","name":"amountBNB","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountBOG","type":"uint256"}],"name":"AutoLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"BoughtBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"}],"name":"BuybackMultiplierActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Launched","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":"string","name":"message","type":"string"}],"name":"SwapBackFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapBackSuccess","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":"BNBRewardbalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BNBbalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"addPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoLiquidityReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bnbDistributor","outputs":[{"internalType":"contract BNBDistributor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyAnjiWithReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"charityFeeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"depositExternalBNB","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"donate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesOnNormalTransfers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimableBNB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"getWalletClaimableBNB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"getWalletShareAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pairs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recoverExcess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLastPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"setCharityFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_charityFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_bnbReflectionFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setFeesOnNormalTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsDividendExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsFeeExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"setLiquidityFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"setMarketingFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"threshold","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"},{"internalType":"bool","name":"restricted","type":"bool"}],"name":"setisRestricted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquidify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"walletIsDividendExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"walletIsTaxExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"walletisRestricted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenaddr","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600180546001600160a01b031990811673bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c1790915560028054821661dead1790556003805490911690556200004f60098062000525565b6200005c90600a62000596565b6200006990600a62000657565b60045561012c600b81905560c8600c819055600d55600e55612710600f556016805461ffff1916610101179055620000a46009600a62000596565b620000b190606462000657565b601755348015620000c157600080fd5b50620000cd3362000497565b601380546001600160a01b0319167310ed43c718714eb63d5aa57b78b54704e256024e9081179091556040805163c45a015560e01b8152905133929163c45a0155916004808301926020929190829003018186803b1580156200012f57600080fd5b505afa15801562000144573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016a9190620004f5565b6001546040516364e329cb60e11b81526001600160a01b03918216600482015230602482015291169063c9c6539690604401602060405180830381600087803b158015620001b757600080fd5b505af1158015620001cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f29190620004f5565b601480546001600160a01b039283166001600160a01b031991821617825530600090815260066020908152604080832060138054881685529252808320600019905593546015805460018181018355919094527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec47590930180549094169086161790925554905491519083169291909116908390819081906200029490620004e7565b6001600160a01b0395861681529385166020850152918416604084015283166060830152909116608082015260a001604051809103906000f080158015620002e0573d6000803e3d6000fd5b506016805462010000600160b01b031916620100006001600160a01b0393841681029190911782558383166000818152600760209081526040808320805460ff19908116600190811790925530808652838620805483168417905588548890048a16865283862080548316841790556014548a168652600985528386208054831684179055855282852080548216831790556002548916855282852080548216831790556003548916855282852080548216831790559654959095049096168252858220805486168517905582825285822080548616851790557fe569725e509638b41784de5e69345be5736041f1738ddbf41e1e3428d3dad72e80548616851790557f753a325a8b03604664b381f95dfdec57d8b4cf734bc1d3caef7421a15e4f6b1a8054909516909317909355601080546001600160a01b03199081168317909155601180548216831790556012805490911682179055600454600583528484208190559351938452735ba41eae2ae8a103b19ffe23384310b065baf7f3939092917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350506200068f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6112d280620030e183390190565b60006020828403121562000507578081fd5b81516001600160a01b03811681146200051e578182fd5b9392505050565b600060ff821660ff84168060ff0382111562000545576200054562000679565b019392505050565b600181815b808511156200058e57816000190482111562000572576200057262000679565b808516156200058057918102915b93841c939080029062000552565b509250929050565b60006200051e60ff841683600082620005b25750600162000651565b81620005c15750600062000651565b8160018114620005da5760028114620005e55762000605565b600191505062000651565b60ff841115620005f957620005f962000679565b50506001821b62000651565b5060208310610133831016604e8410600b84101617156200062a575081810a62000651565b6200063683836200054d565b80600019048211156200064d576200064d62000679565b0290505b92915050565b600081600019048311821515161562000674576200067462000679565b500290565b634e487b7160e01b600052601160045260246000fd5b612a42806200069f6000396000f3fe6080604052600436106102cc5760003560e01c806370a0823111610175578063bc41a1d7116100dc578063e96fada211610095578063f2fde38b1161006f578063f2fde38b146108eb578063f3a54f2c1461090b578063f708a64f1461092b578063f887ea401461094b57600080fd5b8063e96fada214610896578063ed88c68e146108b6578063edafd4ad146108cb57600080fd5b8063bc41a1d7146107c8578063c2b7bbb6146107d0578063c538c63b146107f0578063ca33e64c14610810578063dd62ed3e14610830578063e01af92c1461087657600080fd5b806395d89b411161012e57806395d89b41146106e2578063976cc8e41461070f5780639d0014b114610748578063a9059cbb14610768578063aaa224e814610788578063b91ac788146107a857600080fd5b806370a082311461060d578063715018a61461064357806379c75eec146106585780637df8d8431461066b5780638da5cb5b1461068b5780639373c0a4146106a957600080fd5b8063313ce56711610234578063571ac8b0116101ed5780635b94f9c5116101c75780635b94f9c514610593578063658d4b7f146105b35780636ddd1713146105d35780636fcba377146105ed57600080fd5b8063571ac8b01461051657806358c1f2e6146105365780635abe67111461057457600080fd5b8063313ce567146104655780633190bb8a146104815780633a814487146104a157806349df728c146104c15780634e71d92d146104e157806356e7401a146104f657600080fd5b806323b872dd1161028657806323b872dd146103cc57806325f16153146103ec578063268767371461040157806326ffefe4146104165780632925bbab1461043b5780632b112e491461045057600080fd5b806293dc14146102d85780630445b667146102ef57806306fdde031461031857806307c0e7901461034e578063095ea7b31461039757806318160ddd146103b757600080fd5b366102d357005b600080fd5b3480156102e457600080fd5b506102ed61096b565b005b3480156102fb57600080fd5b5061030560175481565b6040519081526020015b60405180910390f35b34801561032457600080fd5b50604080518082019091526004815263416e6a6960e01b60208201525b60405161030f9190612852565b34801561035a57600080fd5b50610387610369366004612684565b6001600160a01b031660009081526007602052604090205460ff1690565b604051901515815260200161030f565b3480156103a357600080fd5b506103876103b2366004612761565b6109e1565b3480156103c357600080fd5b50600454610305565b3480156103d857600080fd5b506103876103e73660046126f4565b6109f8565b3480156103f857600080fd5b50610305610aba565b34801561040d57600080fd5b506102ed610b41565b34801561042257600080fd5b506016546201000090046001600160a01b031631610305565b34801561044757600080fd5b506102ed610b75565b34801561045c57600080fd5b50610305610bda565b34801561047157600080fd5b506040516009815260200161030f565b34801561048d57600080fd5b506102ed61049c366004612684565b610c27565b3480156104ad57600080fd5b506102ed6104bc3660046127c4565b610d0a565b3480156104cd57600080fd5b506102ed6104dc366004612684565b610dd7565b3480156104ed57600080fd5b506102ed610f82565b34801561050257600080fd5b50610305610511366004612684565b610fb7565b34801561052257600080fd5b50610387610531366004612684565b61103c565b34801561054257600080fd5b5060165461055c906201000090046001600160a01b031681565b6040516001600160a01b03909116815260200161030f565b34801561058057600080fd5b5060165461038790610100900460ff1681565b34801561059f57600080fd5b506103056105ae366004612684565b61104a565b3480156105bf57600080fd5b506102ed6105ce366004612734565b611083565b3480156105df57600080fd5b506016546103879060ff1681565b3480156105f957600080fd5b506102ed610608366004612821565b6110d8565b34801561061957600080fd5b50610305610628366004612684565b6001600160a01b031660009081526005602052604090205490565b34801561064f57600080fd5b506102ed611116565b34801561066457600080fd5b5047610305565b34801561067757600080fd5b506102ed610686366004612734565b61114a565b34801561069757600080fd5b506000546001600160a01b031661055c565b3480156106b557600080fd5b506103876106c4366004612684565b6001600160a01b03166000908152600a602052604090205460ff1690565b3480156106ee57600080fd5b50604080518082019091526004815263414e4a4960e01b6020820152610341565b34801561071b57600080fd5b5061038761072a366004612684565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561075457600080fd5b506102ed6107633660046127c4565b61119f565b34801561077457600080fd5b50610387610783366004612761565b6111ce565b34801561079457600080fd5b5060105461055c906001600160a01b031681565b3480156107b457600080fd5b5061055c6107c33660046127c4565b6111db565b6102ed611205565b3480156107dc57600080fd5b506102ed6107eb366004612684565b61127c565b3480156107fc57600080fd5b506102ed61080b366004612684565b6112f8565b34801561081c57600080fd5b5060125461055c906001600160a01b031681565b34801561083c57600080fd5b5061030561084b3660046126bc565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561088257600080fd5b506102ed61089136600461278c565b611371565b3480156108a257600080fd5b5060115461055c906001600160a01b031681565b3480156108c257600080fd5b506102ed6113ae565b3480156108d757600080fd5b506102ed6108e6366004612684565b6113e1565b3480156108f757600080fd5b506102ed610906366004612684565b61145a565b34801561091757600080fd5b506102ed61092636600461278c565b6114f5565b34801561093757600080fd5b506102ed610946366004612734565b611539565b34801561095757600080fd5b5060135461055c906001600160a01b031681565b6000546001600160a01b0316331461099e5760405162461bcd60e51b8152600401610995906128a5565b60405180910390fd5b60158054806109bd57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055565b60006109ee338484611681565b5060015b92915050565b6001600160a01b038316600090815260066020908152604080832033845290915281205460001914610aa5576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152600682528381203382529091529190912054610a809184906117a5565b6001600160a01b03851660009081526006602090815260408083203384529091529020555b610ab08484846117df565b90505b9392505050565b601654604051630a0f1b4560e21b81523360048201526000916201000090046001600160a01b03169063283c6d149060240160206040518083038186803b158015610b0457600080fd5b505afa158015610b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3c91906127dc565b905090565b6000546001600160a01b03163314610b6b5760405162461bcd60e51b8152600401610995906128a5565b610b73611c50565b565b601654604051633f397da960e11b8152336004820152620100009091046001600160a01b031690637e72fb52906024015b600060405180830381600087803b158015610bc057600080fd5b505af1158015610bd4573d6000803e3d6000fd5b50505050565b6003546001600160a01b0316600090815260056020526040812054610b3c906002546001600160a01b0316600090815260056020526040902054610c2190600454906121bf565b906121bf565b6000546001600160a01b03163314610c515760405162461bcd60e51b8152600401610995906128a5565b601280546001600160a01b0319166001600160a01b038381169182179092556016546040516318c85dc560e11b8152600481019290925262010000900490911690633190bb8a906024015b600060405180830381600087803b158015610cb657600080fd5b505af1158015610cca573d6000803e3d6000fd5b505050506001600160a01b031660009081526009602090815260408083208054600160ff1991821681179092556007909352922080549091169091179055565b6000546001600160a01b03163314610d345760405162461bcd60e51b8152600401610995906128a5565b478110610d995760405162461bcd60e51b815260206004820152602d60248201527f414e4a493a2043616e206e6f742073656e64206d6f7265207468616e20636f6e60448201526c74726163742062616c616e636560981b6064820152608401610995565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610dd3573d6000803e3d6000fd5b5050565b6000546001600160a01b03163314610e015760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b038116301415610e755760405162461bcd60e51b815260206004820152603260248201527f5468697320697320666f7220746f6b656e732073656e7420746f2074686520636044820152716f6e7472616374206279206d697374616b6560701b6064820152608401610995565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610eb757600080fd5b505afa158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef91906127dc565b90508015610dd35760115460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb90604401602060405180830381600087803b158015610f4557600080fd5b505af1158015610f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7d91906127a8565b505050565b601654604051630afbf02f60e11b8152336004820152620100009091046001600160a01b0316906315f7e05e90602401610ba6565b601654604051630a0f1b4560e21b81526001600160a01b038381166004830152600092620100009004169063283c6d14906024015b60206040518083038186803b15801561100457600080fd5b505afa158015611018573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f291906127dc565b60006109f2826000196109e1565b601654604051630c1df59960e31b81526001600160a01b03838116600483015260009262010000900416906360efacc890602401610fec565b6000546001600160a01b031633146110ad5760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146111025760405162461bcd60e51b8152600401610995906128a5565b600b93909355600c91909155600d55600e55565b6000546001600160a01b031633146111405760405162461bcd60e51b8152600401610995906128a5565b610b736000612201565b6000546001600160a01b031633146111745760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146111c95760405162461bcd60e51b8152600401610995906128a5565b601755565b6000610ab33384846117df565b601581815481106111eb57600080fd5b6000918252602090912001546001600160a01b0316905081565b6016546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f19350505050158015611246573d6000803e3d6000fd5b506016546040516378addfc760e01b8152346004820152620100009091046001600160a01b0316906378addfc790602401610ba6565b6000546001600160a01b031633146112a65760405162461bcd60e51b8152600401610995906128a5565b601580546001810182556000919091527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec4750180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113225760405162461bcd60e51b8152600401610995906128a5565b601080546001600160a01b0319166001600160a01b0383811691821790925560165460405163c538c63b60e01b815260048101929092526201000090049091169063c538c63b90602401610c9c565b6000546001600160a01b0316331461139b5760405162461bcd60e51b8152600401610995906128a5565b6016805460ff1916911515919091179055565b60165460405162362a9560e01b8152336004820152620100009091046001600160a01b03169062362a9590602401610ba6565b6000546001600160a01b0316331461140b5760405162461bcd60e51b8152600401610995906128a5565b601180546001600160a01b0319166001600160a01b0383811691821790925560165460405163edafd4ad60e01b815260048101929092526201000090049091169063edafd4ad90602401610c9c565b6000546001600160a01b031633146114845760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b0381166114e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610995565b6114f281612201565b50565b6000546001600160a01b0316331461151f5760405162461bcd60e51b8152600401610995906128a5565b601680549115156101000261ff0019909216919091179055565b6000546001600160a01b031633146115635760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b038216301480159061158a57506014546001600160a01b03838116911614155b61159357600080fd5b6001600160a01b0382166000908152600960205260409020805460ff1916821580159190911790915561163257601654604051630a5b654b60e11b81526001600160a01b0384811660048301526000602483015262010000909204909116906314b6ca96906044015b600060405180830381600087803b15801561161657600080fd5b505af115801561162a573d6000803e3d6000fd5b505050505050565b6016546001600160a01b0383811660008181526005602052604090819020549051630a5b654b60e11b8152600481019290925260248201526201000090920416906314b6ca96906044016115fc565b6001600160a01b0383166116e35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610995565b6001600160a01b0382166117445760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610995565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600081848411156117c95760405162461bcd60e51b81526004016109959190612852565b5060006117d684866129a1565b95945050505050565b6001600160a01b0382166000908152600a602052604081205460ff16156118405760405162461bcd60e51b81526020600482015260156024820152741059191c995cdcc81a5cc81c995cdd1c9a58dd1959605a1b6044820152606401610995565b601654600160b01b900460ff16156118645761185d848484612251565b9050610ab3565b61186c612374565b1561187957611879611c50565b6001600160a01b03841660009081526005602052604081205461189c90846121bf565b10156118e15760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b6044820152606401610995565b6001600160a01b03841660009081526005602052604090205461190490836121bf565b6001600160a01b03851660009081526005602052604090205561192784846123ca565b15611a9857600061194f600f54611949600d548661253690919063ffffffff16565b906125b5565b9050600061196e600f54611949600c548761253690919063ffffffff16565b9050600061198d600f54611949600e548861253690919063ffffffff16565b905060006119ac600f54611949600b548961253690919063ffffffff16565b9050600081836119bc868861294a565b6119c6919061294a565b6119d0919061294a565b306000908152600560205260409020549091506119ee90829061294a565b30600090815260056020526040812091909155611a0b82896129a1565b6001600160a01b038a16600090815260056020526040902054909150611a3190826125f7565b6001600160a01b03808b1660008181526005602052604090819020939093559151908c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a859085815260200190565b60405180910390a3505050505050611b18565b6001600160a01b038316600090815260056020526040902054611abb90836125f7565b6001600160a01b0380851660008181526005602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b0f9086815260200190565b60405180910390a35b6001600160a01b03841660009081526009602052604090205460ff16611baf576016546001600160a01b0385811660008181526005602052604090819020549051630a5b654b60e11b8152600481019290925260248201526201000090920416906314b6ca9690604401600060405180830381600087803b158015611b9c57600080fd5b505af1925050508015611bad575060015b505b6001600160a01b03831660009081526009602052604090205460ff16611c46576016546001600160a01b0384811660008181526005602052604090819020549051630a5b654b60e11b8152600481019290925260248201526201000090920416906314b6ca9690604401600060405180830381600087803b158015611c3357600080fd5b505af1925050508015611c44575060015b505b5060019392505050565b6016805460ff60b01b1916600160b01b17905530600090815260056020526040812054600e54600d54600c54600b544795939291611c8d9161294a565b611c97919061294a565b611ca1919061294a565b90506000611cbe82611949600d548661253690919063ffffffff16565b90506000611cdb83611949600c548761253690919063ffffffff16565b90506000611cf884611949600e548861253690919063ffffffff16565b90506000611d1585611949600b548961253690919063ffffffff16565b90506000611d248260026125b5565b905060008184611d34878961294a565b611d3e919061294a565b611d48919061294a565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611d9057634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611de457600080fd5b505afa158015611df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1c91906126a0565b81600181518110611e3d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601354611e639130911684611681565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac94790611e9c9085906000908690309042906004016128da565b600060405180830381600087803b158015611eb657600080fd5b505af1158015611eca573d6000803e3d6000fd5b505050506000611ee38b476121bf90919063ffffffff16565b905080156121a5576000600e54600d54600c54611f0c6002600b546125b590919063ffffffff16565b611f16919061294a565b611f20919061294a565b611f2a919061294a565b90506000611f4782611949600d548661253690919063ffffffff16565b90506000611f6483611949600c548761253690919063ffffffff16565b90506000611f8184611949600e548861253690919063ffffffff16565b90506000611fa985611949611fa26002600b546125b590919063ffffffff16565b8990612536565b90508315611fed576011546040516001600160a01b039091169085156108fc029086906000818181858888f19350505050158015611feb573d6000803e3d6000fd5b505b821561202f576010546040516001600160a01b039091169084156108fc029085906000818181858888f1935050505015801561202d573d6000803e3d6000fd5b505b81156120d957601654604051620100009091046001600160a01b0316906108fc8415029084906000818181858888f19350505050158015612074573d6000803e3d6000fd5b506016546040516378addfc760e01b815260048101849052620100009091046001600160a01b0316906378addfc790602401600060405180830381600087803b1580156120c057600080fd5b505af11580156120d4573d6000803e3d6000fd5b505050505b801561219f576013546120f79030906001600160a01b03168b611681565b60135460125460405163f305d71960e01b8152306004820152602481018c905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b15801561216257600080fd5b505af1158015612176573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061219b91906127f4565b5050505b50505050505b50506016805460ff60b01b19169055505050505050505050565b6000610ab383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117a5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008061227783610c21876001600160a01b031660009081526005602052604090205490565b10156122bc5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b6044820152606401610995565b6001600160a01b0384166000908152600560205260409020546122df90836121bf565b6001600160a01b03808616600090815260056020526040808220939093559085168152205461230e90836125f7565b6001600160a01b0380851660008181526005602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906123629086815260200190565b60405180910390a35060019392505050565b6014546000906001600160a01b0316331480159061239c5750601654600160b01b900460ff16155b80156123aa575060165460ff165b8015610b3c57505060175430600090815260056020526040902054101590565b6001600160a01b03821660009081526007602052604081205460ff168061240957506001600160a01b03821660009081526007602052604090205460ff165b15612416575060006109f2565b6000601580548060200260200160405190810160405280929190818152602001828054801561246e57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612450575b5050505050905060005b8151811015612522578181815181106124a157634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b0316856001600160a01b0316148061250057508181815181106124e357634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b0316846001600160a01b0316145b15612510576001925050506109f2565b8061251a816129b8565b915050612478565b5050601654610100900460ff169392505050565b600082612545575060006109f2565b60006125518385612982565b90508261255e8583612962565b14610ab35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610995565b6000610ab383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612656565b600080612604838561294a565b905083811015610ab35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610995565b600081836126775760405162461bcd60e51b81526004016109959190612852565b5060006117d68486612962565b600060208284031215612695578081fd5b8135610ab3816129e9565b6000602082840312156126b1578081fd5b8151610ab3816129e9565b600080604083850312156126ce578081fd5b82356126d9816129e9565b915060208301356126e9816129e9565b809150509250929050565b600080600060608486031215612708578081fd5b8335612713816129e9565b92506020840135612723816129e9565b929592945050506040919091013590565b60008060408385031215612746578182fd5b8235612751816129e9565b915060208301356126e9816129fe565b60008060408385031215612773578182fd5b823561277e816129e9565b946020939093013593505050565b60006020828403121561279d578081fd5b8135610ab3816129fe565b6000602082840312156127b9578081fd5b8151610ab3816129fe565b6000602082840312156127d5578081fd5b5035919050565b6000602082840312156127ed578081fd5b5051919050565b600080600060608486031215612808578283fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215612836578081fd5b5050823594602084013594506040840135936060013592509050565b6000602080835283518082850152825b8181101561287e57858101830151858201604001528201612862565b8181111561288f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156129295784516001600160a01b031683529383019391830191600101612904565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561295d5761295d6129d3565b500190565b60008261297d57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561299c5761299c6129d3565b500290565b6000828210156129b3576129b36129d3565b500390565b60006000198214156129cc576129cc6129d3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146114f257600080fd5b80151581146114f257600080fdfea26469706673582212208cff0910e5cec639e6ed6816dc02ae4c648b37ac31f7e2fd7c73db7df11237ce64736f6c6343000804003360806040526000600d553480156200001657600080fd5b50604051620012d2380380620012d28339810160408190526200003991620000d0565b600480546001600160a01b039687166001600160a01b03199182161790915560058054958716958216959095179094556000805485163317905560018054938616938516939093179092556002805491851691841691909117905560038054919093169116179055678ac7230489e80000600c556200013f565b80516001600160a01b0381168114620000cb57600080fd5b919050565b600080600080600060a08688031215620000e8578081fd5b620000f386620000b3565b94506200010360208701620000b3565b93506200011360408701620000b3565b92506200012360608701620000b3565b91506200013360808701620000b3565b90509295509295909350565b611183806200014f6000396000f3fe6080604052600436106100aa5760003560e01c806378addfc71161006457806378addfc7146101a05780637e72fb52146101c05780639b2cb5d8146101e0578063b6b55f25146101a0578063c538c63b146101f6578063edafd4ad1461021657600080fd5b8062362a95146100b657806314b6ca96146100d857806315f7e05e146100f8578063283c6d14146101185780633190bb8a1461014a57806360efacc81461016a57600080fd5b366100b157005b600080fd5b3480156100c257600080fd5b506100d66100d1366004610f4d565b610236565b005b3480156100e457600080fd5b506100d66100f3366004610f67565b610267565b34801561010457600080fd5b506100d6610113366004610f4d565b610403565b34801561012457600080fd5b50610138610133366004610f4d565b61043a565b60405190815260200160405180910390f35b34801561015657600080fd5b506100d6610165366004610f4d565b610482565b34801561017657600080fd5b50610138610185366004610f4d565b6001600160a01b031660009081526006602052604090205490565b3480156101ac57600080fd5b506100d66101bb366004610fb0565b6104bb565b3480156101cc57600080fd5b506100d66101db366004610f4d565b610510565b3480156101ec57600080fd5b50610138600d5481565b34801561020257600080fd5b506100d6610211366004610f4d565b610b1c565b34801561022257600080fd5b506100d6610231366004610f4d565b610b55565b6000546001600160a01b0316331461024d57600080fd5b6001546102649082906001600160a01b0316610b8e565b50565b6000546001600160a01b0316331461027e57600080fd5b633b9aca0081101561035f5760006102958361043a565b905080156102b4576002546102b49084906001600160a01b0316610b8e565b6001600160a01b0383166000908152600860205260409020546102d79080611120565b6001600160a01b0384166000908152600860209081526040808320939093556006905220546009546103099190611120565b6009556001600160a01b03831660009081526006602052604090205461032f9080611120565b6001600160a01b038416600090815260066020908152604080832093909355600b54600790915291902055505050565b6001600160a01b038216600090815260066020526040902054156103a0576103868261043a565b6001600160a01b0383166000908152600860205260409020555b6001600160a01b0382166000908152600660205260409020546009546103d19183916103cb91610d05565b90610d50565b6009556001600160a01b0382166000908152600660209081526040808320849055600b546007909252909120555b5050565b6000546001600160a01b0316331461041a57600080fd5b60006104258261043a565b905080610430575050565b6103ff8283610b8e565b6000478161044784610daf565b6001600160a01b03851660009081526008602052604090205461046a91906110c9565b90508181111561047b575092915050565b9392505050565b6000546001600160a01b0316331461049957600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104d257600080fd5b80600a546104e091906110c9565b600a55600954600c546104f39083611101565b6104fd91906110e1565b600b5461050a91906110c9565b600b5550565b6000546001600160a01b0316331461052757600080fd5b6001600160a01b0381166000908152600660205260409020546105475750565b60006105528261043a565b90508061055d575050565b6001600160a01b038216600090815260086020526040812082905561058e6064610588846002610e08565b90610e87565b905060006105a56002610588606481876003610e08565b905060006105b9606461058886605f610e08565b905060006105c78383610d50565b6001546040519192506001600160a01b03169085156108fc029086906000818181858888f19350505050158015610602573d6000803e3d6000fd5b50604080516002808252606082018352600092602083019080368337505060045482519293506001600160a01b03169183915060009061065257634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260005482519116908290600190811061069157634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600080546040516370a0823160e01b8152306004820152919216906370a082319060240160206040518083038186803b1580156106e357600080fd5b505afa1580156106f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071b9190610fc8565b60005460055460405163095ea7b360e01b81526001600160a01b03918216600482015260248101879052929350169063095ea7b390604401602060405180830381600087803b15801561076d57600080fd5b505af1158015610781573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a59190610f90565b5060055460405163b6f9de9560e01b81526001600160a01b039091169063b6f9de959085906107df9060009087903090429060040161100d565b6000604051808303818588803b1580156107f857600080fd5b505af115801561080c573d6000803e3d6000fd5b5050600080546040516370a0823160e01b815230600482015291945061089993508592506001600160a01b0316906370a082319060240160206040518083038186803b15801561085b57600080fd5b505afa15801561086f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108939190610fc8565b90610d05565b905060006108ad6062610588846003610e08565b905060006108bb8383610d05565b9050801561094b5760005460405163a9059cbb60e01b81526001600160a01b038d81166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b15801561091157600080fd5b505af1158015610925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109499190610f90565b505b60008211801561095b5750600088115b15610a985760005460055460405163095ea7b360e01b81526001600160a01b0391821660048201526024810185905291169063095ea7b390604401602060405180830381600087803b1580156109b057600080fd5b505af11580156109c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e89190610f90565b506005546000805460035460405163f305d71960e01b81526001600160a01b03928316600482015260248101879052604481018490526064810193909352811660848301524260a48301529091169063f305d719908a9060c4016060604051808303818588803b158015610a5b57600080fd5b505af1158015610a6f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a949190610fe0565b5050505b6001600160a01b038b16600090815260086020526040902054600a54610abe9190611120565b600a556001600160a01b038b16600090815260086020526040902054610ae49080611120565b6001600160a01b038c16600090815260086020908152604080832093909355600b546007909152919020555050505050505050505050565b6000546001600160a01b03163314610b3357600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610b6c57600080fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216600090815260066020526040902054610baf575050565b610bb88261043a565b6001600160a01b0383166000908152600860205260409020819055600d5410610c415760405162461bcd60e51b815260206004820152603060248201527f52657761726420616d6f756e742068617320746f206265206d6f72652074686160448201526f1b881b5a5b9a5b5d5b48185b5bdd5b9d60821b60648201526084015b60405180910390fd5b6001600160a01b038281166000908152600860205260408082205490519284169281156108fc0292818181858888f19350505050158015610c86573d6000803e3d6000fd5b506001600160a01b038216600090815260086020526040902054600a54610cad9190611120565b600a556001600160a01b038216600090815260086020526040902054610cd39080611120565b6001600160a01b03909216600090815260086020908152604080832094909455600b5460079091529290209190915550565b6000610d4783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ec9565b90505b92915050565b600080610d5d83856110c9565b905083811015610d475760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610c38565b600c546001600160a01b038216600090815260076020526040812054600b54919291610ddb9190611120565b6001600160a01b038416600090815260066020526040902054610dfe9190611101565b610d4a91906110e1565b600082610e1757506000610d4a565b6000610e238385611101565b905082610e3085836110e1565b14610d475760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610c38565b6000610d4783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610f03565b60008184841115610eed5760405162461bcd60e51b8152600401610c389190611076565b506000610efa8486611120565b95945050505050565b60008183610f245760405162461bcd60e51b8152600401610c389190611076565b506000610efa84866110e1565b80356001600160a01b0381168114610f4857600080fd5b919050565b600060208284031215610f5e578081fd5b610d4782610f31565b60008060408385031215610f79578081fd5b610f8283610f31565b946020939093013593505050565b600060208284031215610fa1578081fd5b81518015158114610d47578182fd5b600060208284031215610fc1578081fd5b5035919050565b600060208284031215610fd9578081fd5b5051919050565b600080600060608486031215610ff4578081fd5b8351925060208401519150604084015190509250925092565b600060808201868352602060808185015281875180845260a0860191508289019350845b818110156110565784516001600160a01b031683529383019391830191600101611031565b50506001600160a01b039690961660408501525050506060015292915050565b6000602080835283518082850152825b818110156110a257858101830151858201604001528201611086565b818111156110b35783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156110dc576110dc611137565b500190565b6000826110fc57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561111b5761111b611137565b500290565b60008282101561113257611132611137565b500390565b634e487b7160e01b600052601160045260246000fdfea26469706673582212206b17a5fa0246a673b76b76c9fb570aa808c84fd7bbf3e1463e7f72e24b09b9dc64736f6c63430008040033

Deployed Bytecode

0x6080604052600436106102cc5760003560e01c806370a0823111610175578063bc41a1d7116100dc578063e96fada211610095578063f2fde38b1161006f578063f2fde38b146108eb578063f3a54f2c1461090b578063f708a64f1461092b578063f887ea401461094b57600080fd5b8063e96fada214610896578063ed88c68e146108b6578063edafd4ad146108cb57600080fd5b8063bc41a1d7146107c8578063c2b7bbb6146107d0578063c538c63b146107f0578063ca33e64c14610810578063dd62ed3e14610830578063e01af92c1461087657600080fd5b806395d89b411161012e57806395d89b41146106e2578063976cc8e41461070f5780639d0014b114610748578063a9059cbb14610768578063aaa224e814610788578063b91ac788146107a857600080fd5b806370a082311461060d578063715018a61461064357806379c75eec146106585780637df8d8431461066b5780638da5cb5b1461068b5780639373c0a4146106a957600080fd5b8063313ce56711610234578063571ac8b0116101ed5780635b94f9c5116101c75780635b94f9c514610593578063658d4b7f146105b35780636ddd1713146105d35780636fcba377146105ed57600080fd5b8063571ac8b01461051657806358c1f2e6146105365780635abe67111461057457600080fd5b8063313ce567146104655780633190bb8a146104815780633a814487146104a157806349df728c146104c15780634e71d92d146104e157806356e7401a146104f657600080fd5b806323b872dd1161028657806323b872dd146103cc57806325f16153146103ec578063268767371461040157806326ffefe4146104165780632925bbab1461043b5780632b112e491461045057600080fd5b806293dc14146102d85780630445b667146102ef57806306fdde031461031857806307c0e7901461034e578063095ea7b31461039757806318160ddd146103b757600080fd5b366102d357005b600080fd5b3480156102e457600080fd5b506102ed61096b565b005b3480156102fb57600080fd5b5061030560175481565b6040519081526020015b60405180910390f35b34801561032457600080fd5b50604080518082019091526004815263416e6a6960e01b60208201525b60405161030f9190612852565b34801561035a57600080fd5b50610387610369366004612684565b6001600160a01b031660009081526007602052604090205460ff1690565b604051901515815260200161030f565b3480156103a357600080fd5b506103876103b2366004612761565b6109e1565b3480156103c357600080fd5b50600454610305565b3480156103d857600080fd5b506103876103e73660046126f4565b6109f8565b3480156103f857600080fd5b50610305610aba565b34801561040d57600080fd5b506102ed610b41565b34801561042257600080fd5b506016546201000090046001600160a01b031631610305565b34801561044757600080fd5b506102ed610b75565b34801561045c57600080fd5b50610305610bda565b34801561047157600080fd5b506040516009815260200161030f565b34801561048d57600080fd5b506102ed61049c366004612684565b610c27565b3480156104ad57600080fd5b506102ed6104bc3660046127c4565b610d0a565b3480156104cd57600080fd5b506102ed6104dc366004612684565b610dd7565b3480156104ed57600080fd5b506102ed610f82565b34801561050257600080fd5b50610305610511366004612684565b610fb7565b34801561052257600080fd5b50610387610531366004612684565b61103c565b34801561054257600080fd5b5060165461055c906201000090046001600160a01b031681565b6040516001600160a01b03909116815260200161030f565b34801561058057600080fd5b5060165461038790610100900460ff1681565b34801561059f57600080fd5b506103056105ae366004612684565b61104a565b3480156105bf57600080fd5b506102ed6105ce366004612734565b611083565b3480156105df57600080fd5b506016546103879060ff1681565b3480156105f957600080fd5b506102ed610608366004612821565b6110d8565b34801561061957600080fd5b50610305610628366004612684565b6001600160a01b031660009081526005602052604090205490565b34801561064f57600080fd5b506102ed611116565b34801561066457600080fd5b5047610305565b34801561067757600080fd5b506102ed610686366004612734565b61114a565b34801561069757600080fd5b506000546001600160a01b031661055c565b3480156106b557600080fd5b506103876106c4366004612684565b6001600160a01b03166000908152600a602052604090205460ff1690565b3480156106ee57600080fd5b50604080518082019091526004815263414e4a4960e01b6020820152610341565b34801561071b57600080fd5b5061038761072a366004612684565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561075457600080fd5b506102ed6107633660046127c4565b61119f565b34801561077457600080fd5b50610387610783366004612761565b6111ce565b34801561079457600080fd5b5060105461055c906001600160a01b031681565b3480156107b457600080fd5b5061055c6107c33660046127c4565b6111db565b6102ed611205565b3480156107dc57600080fd5b506102ed6107eb366004612684565b61127c565b3480156107fc57600080fd5b506102ed61080b366004612684565b6112f8565b34801561081c57600080fd5b5060125461055c906001600160a01b031681565b34801561083c57600080fd5b5061030561084b3660046126bc565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561088257600080fd5b506102ed61089136600461278c565b611371565b3480156108a257600080fd5b5060115461055c906001600160a01b031681565b3480156108c257600080fd5b506102ed6113ae565b3480156108d757600080fd5b506102ed6108e6366004612684565b6113e1565b3480156108f757600080fd5b506102ed610906366004612684565b61145a565b34801561091757600080fd5b506102ed61092636600461278c565b6114f5565b34801561093757600080fd5b506102ed610946366004612734565b611539565b34801561095757600080fd5b5060135461055c906001600160a01b031681565b6000546001600160a01b0316331461099e5760405162461bcd60e51b8152600401610995906128a5565b60405180910390fd5b60158054806109bd57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055565b60006109ee338484611681565b5060015b92915050565b6001600160a01b038316600090815260066020908152604080832033845290915281205460001914610aa5576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152600682528381203382529091529190912054610a809184906117a5565b6001600160a01b03851660009081526006602090815260408083203384529091529020555b610ab08484846117df565b90505b9392505050565b601654604051630a0f1b4560e21b81523360048201526000916201000090046001600160a01b03169063283c6d149060240160206040518083038186803b158015610b0457600080fd5b505afa158015610b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3c91906127dc565b905090565b6000546001600160a01b03163314610b6b5760405162461bcd60e51b8152600401610995906128a5565b610b73611c50565b565b601654604051633f397da960e11b8152336004820152620100009091046001600160a01b031690637e72fb52906024015b600060405180830381600087803b158015610bc057600080fd5b505af1158015610bd4573d6000803e3d6000fd5b50505050565b6003546001600160a01b0316600090815260056020526040812054610b3c906002546001600160a01b0316600090815260056020526040902054610c2190600454906121bf565b906121bf565b6000546001600160a01b03163314610c515760405162461bcd60e51b8152600401610995906128a5565b601280546001600160a01b0319166001600160a01b038381169182179092556016546040516318c85dc560e11b8152600481019290925262010000900490911690633190bb8a906024015b600060405180830381600087803b158015610cb657600080fd5b505af1158015610cca573d6000803e3d6000fd5b505050506001600160a01b031660009081526009602090815260408083208054600160ff1991821681179092556007909352922080549091169091179055565b6000546001600160a01b03163314610d345760405162461bcd60e51b8152600401610995906128a5565b478110610d995760405162461bcd60e51b815260206004820152602d60248201527f414e4a493a2043616e206e6f742073656e64206d6f7265207468616e20636f6e60448201526c74726163742062616c616e636560981b6064820152608401610995565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610dd3573d6000803e3d6000fd5b5050565b6000546001600160a01b03163314610e015760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b038116301415610e755760405162461bcd60e51b815260206004820152603260248201527f5468697320697320666f7220746f6b656e732073656e7420746f2074686520636044820152716f6e7472616374206279206d697374616b6560701b6064820152608401610995565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610eb757600080fd5b505afa158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef91906127dc565b90508015610dd35760115460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb90604401602060405180830381600087803b158015610f4557600080fd5b505af1158015610f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7d91906127a8565b505050565b601654604051630afbf02f60e11b8152336004820152620100009091046001600160a01b0316906315f7e05e90602401610ba6565b601654604051630a0f1b4560e21b81526001600160a01b038381166004830152600092620100009004169063283c6d14906024015b60206040518083038186803b15801561100457600080fd5b505afa158015611018573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f291906127dc565b60006109f2826000196109e1565b601654604051630c1df59960e31b81526001600160a01b03838116600483015260009262010000900416906360efacc890602401610fec565b6000546001600160a01b031633146110ad5760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146111025760405162461bcd60e51b8152600401610995906128a5565b600b93909355600c91909155600d55600e55565b6000546001600160a01b031633146111405760405162461bcd60e51b8152600401610995906128a5565b610b736000612201565b6000546001600160a01b031633146111745760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146111c95760405162461bcd60e51b8152600401610995906128a5565b601755565b6000610ab33384846117df565b601581815481106111eb57600080fd5b6000918252602090912001546001600160a01b0316905081565b6016546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f19350505050158015611246573d6000803e3d6000fd5b506016546040516378addfc760e01b8152346004820152620100009091046001600160a01b0316906378addfc790602401610ba6565b6000546001600160a01b031633146112a65760405162461bcd60e51b8152600401610995906128a5565b601580546001810182556000919091527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec4750180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113225760405162461bcd60e51b8152600401610995906128a5565b601080546001600160a01b0319166001600160a01b0383811691821790925560165460405163c538c63b60e01b815260048101929092526201000090049091169063c538c63b90602401610c9c565b6000546001600160a01b0316331461139b5760405162461bcd60e51b8152600401610995906128a5565b6016805460ff1916911515919091179055565b60165460405162362a9560e01b8152336004820152620100009091046001600160a01b03169062362a9590602401610ba6565b6000546001600160a01b0316331461140b5760405162461bcd60e51b8152600401610995906128a5565b601180546001600160a01b0319166001600160a01b0383811691821790925560165460405163edafd4ad60e01b815260048101929092526201000090049091169063edafd4ad90602401610c9c565b6000546001600160a01b031633146114845760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b0381166114e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610995565b6114f281612201565b50565b6000546001600160a01b0316331461151f5760405162461bcd60e51b8152600401610995906128a5565b601680549115156101000261ff0019909216919091179055565b6000546001600160a01b031633146115635760405162461bcd60e51b8152600401610995906128a5565b6001600160a01b038216301480159061158a57506014546001600160a01b03838116911614155b61159357600080fd5b6001600160a01b0382166000908152600960205260409020805460ff1916821580159190911790915561163257601654604051630a5b654b60e11b81526001600160a01b0384811660048301526000602483015262010000909204909116906314b6ca96906044015b600060405180830381600087803b15801561161657600080fd5b505af115801561162a573d6000803e3d6000fd5b505050505050565b6016546001600160a01b0383811660008181526005602052604090819020549051630a5b654b60e11b8152600481019290925260248201526201000090920416906314b6ca96906044016115fc565b6001600160a01b0383166116e35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610995565b6001600160a01b0382166117445760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610995565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600081848411156117c95760405162461bcd60e51b81526004016109959190612852565b5060006117d684866129a1565b95945050505050565b6001600160a01b0382166000908152600a602052604081205460ff16156118405760405162461bcd60e51b81526020600482015260156024820152741059191c995cdcc81a5cc81c995cdd1c9a58dd1959605a1b6044820152606401610995565b601654600160b01b900460ff16156118645761185d848484612251565b9050610ab3565b61186c612374565b1561187957611879611c50565b6001600160a01b03841660009081526005602052604081205461189c90846121bf565b10156118e15760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b6044820152606401610995565b6001600160a01b03841660009081526005602052604090205461190490836121bf565b6001600160a01b03851660009081526005602052604090205561192784846123ca565b15611a9857600061194f600f54611949600d548661253690919063ffffffff16565b906125b5565b9050600061196e600f54611949600c548761253690919063ffffffff16565b9050600061198d600f54611949600e548861253690919063ffffffff16565b905060006119ac600f54611949600b548961253690919063ffffffff16565b9050600081836119bc868861294a565b6119c6919061294a565b6119d0919061294a565b306000908152600560205260409020549091506119ee90829061294a565b30600090815260056020526040812091909155611a0b82896129a1565b6001600160a01b038a16600090815260056020526040902054909150611a3190826125f7565b6001600160a01b03808b1660008181526005602052604090819020939093559151908c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a859085815260200190565b60405180910390a3505050505050611b18565b6001600160a01b038316600090815260056020526040902054611abb90836125f7565b6001600160a01b0380851660008181526005602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b0f9086815260200190565b60405180910390a35b6001600160a01b03841660009081526009602052604090205460ff16611baf576016546001600160a01b0385811660008181526005602052604090819020549051630a5b654b60e11b8152600481019290925260248201526201000090920416906314b6ca9690604401600060405180830381600087803b158015611b9c57600080fd5b505af1925050508015611bad575060015b505b6001600160a01b03831660009081526009602052604090205460ff16611c46576016546001600160a01b0384811660008181526005602052604090819020549051630a5b654b60e11b8152600481019290925260248201526201000090920416906314b6ca9690604401600060405180830381600087803b158015611c3357600080fd5b505af1925050508015611c44575060015b505b5060019392505050565b6016805460ff60b01b1916600160b01b17905530600090815260056020526040812054600e54600d54600c54600b544795939291611c8d9161294a565b611c97919061294a565b611ca1919061294a565b90506000611cbe82611949600d548661253690919063ffffffff16565b90506000611cdb83611949600c548761253690919063ffffffff16565b90506000611cf884611949600e548861253690919063ffffffff16565b90506000611d1585611949600b548961253690919063ffffffff16565b90506000611d248260026125b5565b905060008184611d34878961294a565b611d3e919061294a565b611d48919061294a565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611d9057634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611de457600080fd5b505afa158015611df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1c91906126a0565b81600181518110611e3d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601354611e639130911684611681565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac94790611e9c9085906000908690309042906004016128da565b600060405180830381600087803b158015611eb657600080fd5b505af1158015611eca573d6000803e3d6000fd5b505050506000611ee38b476121bf90919063ffffffff16565b905080156121a5576000600e54600d54600c54611f0c6002600b546125b590919063ffffffff16565b611f16919061294a565b611f20919061294a565b611f2a919061294a565b90506000611f4782611949600d548661253690919063ffffffff16565b90506000611f6483611949600c548761253690919063ffffffff16565b90506000611f8184611949600e548861253690919063ffffffff16565b90506000611fa985611949611fa26002600b546125b590919063ffffffff16565b8990612536565b90508315611fed576011546040516001600160a01b039091169085156108fc029086906000818181858888f19350505050158015611feb573d6000803e3d6000fd5b505b821561202f576010546040516001600160a01b039091169084156108fc029085906000818181858888f1935050505015801561202d573d6000803e3d6000fd5b505b81156120d957601654604051620100009091046001600160a01b0316906108fc8415029084906000818181858888f19350505050158015612074573d6000803e3d6000fd5b506016546040516378addfc760e01b815260048101849052620100009091046001600160a01b0316906378addfc790602401600060405180830381600087803b1580156120c057600080fd5b505af11580156120d4573d6000803e3d6000fd5b505050505b801561219f576013546120f79030906001600160a01b03168b611681565b60135460125460405163f305d71960e01b8152306004820152602481018c905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b15801561216257600080fd5b505af1158015612176573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061219b91906127f4565b5050505b50505050505b50506016805460ff60b01b19169055505050505050505050565b6000610ab383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117a5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008061227783610c21876001600160a01b031660009081526005602052604090205490565b10156122bc5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742042616c616e636560601b6044820152606401610995565b6001600160a01b0384166000908152600560205260409020546122df90836121bf565b6001600160a01b03808616600090815260056020526040808220939093559085168152205461230e90836125f7565b6001600160a01b0380851660008181526005602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906123629086815260200190565b60405180910390a35060019392505050565b6014546000906001600160a01b0316331480159061239c5750601654600160b01b900460ff16155b80156123aa575060165460ff165b8015610b3c57505060175430600090815260056020526040902054101590565b6001600160a01b03821660009081526007602052604081205460ff168061240957506001600160a01b03821660009081526007602052604090205460ff165b15612416575060006109f2565b6000601580548060200260200160405190810160405280929190818152602001828054801561246e57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612450575b5050505050905060005b8151811015612522578181815181106124a157634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b0316856001600160a01b0316148061250057508181815181106124e357634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b0316846001600160a01b0316145b15612510576001925050506109f2565b8061251a816129b8565b915050612478565b5050601654610100900460ff169392505050565b600082612545575060006109f2565b60006125518385612982565b90508261255e8583612962565b14610ab35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610995565b6000610ab383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612656565b600080612604838561294a565b905083811015610ab35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610995565b600081836126775760405162461bcd60e51b81526004016109959190612852565b5060006117d68486612962565b600060208284031215612695578081fd5b8135610ab3816129e9565b6000602082840312156126b1578081fd5b8151610ab3816129e9565b600080604083850312156126ce578081fd5b82356126d9816129e9565b915060208301356126e9816129e9565b809150509250929050565b600080600060608486031215612708578081fd5b8335612713816129e9565b92506020840135612723816129e9565b929592945050506040919091013590565b60008060408385031215612746578182fd5b8235612751816129e9565b915060208301356126e9816129fe565b60008060408385031215612773578182fd5b823561277e816129e9565b946020939093013593505050565b60006020828403121561279d578081fd5b8135610ab3816129fe565b6000602082840312156127b9578081fd5b8151610ab3816129fe565b6000602082840312156127d5578081fd5b5035919050565b6000602082840312156127ed578081fd5b5051919050565b600080600060608486031215612808578283fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215612836578081fd5b5050823594602084013594506040840135936060013592509050565b6000602080835283518082850152825b8181101561287e57858101830151858201604001528201612862565b8181111561288f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156129295784516001600160a01b031683529383019391830191600101612904565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561295d5761295d6129d3565b500190565b60008261297d57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561299c5761299c6129d3565b500290565b6000828210156129b3576129b36129d3565b500390565b60006000198214156129cc576129cc6129d3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146114f257600080fd5b80151581146114f257600080fdfea26469706673582212208cff0910e5cec639e6ed6816dc02ae4c648b37ac31f7e2fd7c73db7df11237ce64736f6c63430008040033

Block Transaction Gas Used Reward
view all blocks produced
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
View All Validatorset

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

OVERVIEW

Anji is the security token behind the Anji ecosystem, that rewards holders for its growth. The smart dividends function fairly distributes these rewards in real time, drawing from swap volume and the fees generated through the use of AnjiEco's applications and services.

Loading...
Loading

Validator Index Block Amount
View All Withdrawals

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

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