ETH Price: $3,432.75 (+1.00%)

Contract

0x205e982D0BA8814ecd76e2e296D92345968f1292
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer198536742024-05-12 11:34:47226 days ago1715513687IN
0x205e982D...5968f1292
0 ETH0.000743593.36304765
Approve198409352024-05-10 16:49:47228 days ago1715359787IN
0x205e982D...5968f1292
0 ETH0.000206858.54531063
Transfer189069332023-12-31 17:25:59359 days ago1704043559IN
0x205e982D...5968f1292
0 ETH0.0014098715.05132062
Remove Stuck Div...174374572023-06-08 18:50:35565 days ago1686250235IN
0x205e982D...5968f1292
0 ETH0.00193429.07622857
Approve173524422023-05-27 19:22:35577 days ago1685215355IN
0x205e982D...5968f1292
0 ETH0.0011633725.02376653
Approve171728782023-05-02 11:45:35602 days ago1683027935IN
0x205e982D...5968f1292
0 ETH0.0028392661.07123838
Approve171728572023-05-02 11:41:23602 days ago1683027683IN
0x205e982D...5968f1292
0 ETH0.0028396161.07872481
Approve170600072023-04-16 14:23:11618 days ago1681654991IN
0x205e982D...5968f1292
0 ETH0.0006099725.13587948
Approve170344582023-04-12 21:04:11621 days ago1681333451IN
0x205e982D...5968f1292
0 ETH0.0010059221.76044579
Approve170331222023-04-12 16:31:35622 days ago1681317095IN
0x205e982D...5968f1292
0 ETH0.0012804527.69210637
Approve170237542023-04-11 8:44:35623 days ago1681202675IN
0x205e982D...5968f1292
0 ETH0.0009778721.03372585
Approve170102282023-04-09 10:43:23625 days ago1681037003IN
0x205e982D...5968f1292
0 ETH0.0005230121.60591684
Approve170095822023-04-09 8:31:23625 days ago1681029083IN
0x205e982D...5968f1292
0 ETH0.0004934520.38472498
Withdraw From Ke...170042312023-04-08 14:20:35626 days ago1680963635IN
0x205e982D...5968f1292
0 ETH0.001504418.65650699
Approve169880132023-04-06 7:01:47628 days ago1680764507IN
0x205e982D...5968f1292
0 ETH0.0012712327.49278075
Approve169515102023-04-01 3:03:35633 days ago1680318215IN
0x205e982D...5968f1292
0 ETH0.0010638722.88346991
Approve169434452023-03-30 23:53:11634 days ago1680220391IN
0x205e982D...5968f1292
0 ETH0.0014114930.53396586
Approve169388382023-03-30 8:20:59635 days ago1680164459IN
0x205e982D...5968f1292
0 ETH0.001269827.31283704
Approve169204982023-03-27 18:27:35638 days ago1679941655IN
0x205e982D...5968f1292
0 ETH0.0014973832.38355956
Approve168971282023-03-24 11:41:11641 days ago1679658071IN
0x205e982D...5968f1292
0 ETH0.0004677917.85
Approve168971272023-03-24 11:40:59641 days ago1679658059IN
0x205e982D...5968f1292
0 ETH0.0004320917.85
Approve168778732023-03-21 18:45:59644 days ago1679424359IN
0x205e982D...5968f1292
0 ETH0.000905519.47704214
Approve168778632023-03-21 18:43:59644 days ago1679424239IN
0x205e982D...5968f1292
0 ETH0.0009451420.32967841
Approve168654522023-03-20 0:55:23645 days ago1679273723IN
0x205e982D...5968f1292
0 ETH0.0007428815.95850047
Approve168633802023-03-19 17:56:11646 days ago1679248571IN
0x205e982D...5968f1292
0 ETH0.0010185521.88037215
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
173524452023-05-27 19:23:11577 days ago1685215391
0x205e982D...5968f1292
0.00641112 ETH
173524452023-05-27 19:23:11577 days ago1685215391
0x205e982D...5968f1292
0.01301653 ETH
173524452023-05-27 19:23:11577 days ago1685215391
0x205e982D...5968f1292
0.01942765 ETH
170423902023-04-14 2:06:59620 days ago1681438019
0x205e982D...5968f1292
0.00745784 ETH
170423902023-04-14 2:06:59620 days ago1681438019
0x205e982D...5968f1292
0.01514168 ETH
170423902023-04-14 2:06:59620 days ago1681438019
0x205e982D...5968f1292
0.02259952 ETH
170237602023-04-11 8:45:47623 days ago1681202747
0x205e982D...5968f1292
0.01121254 ETH
170237602023-04-11 8:45:47623 days ago1681202747
0x205e982D...5968f1292
0.02276486 ETH
170237602023-04-11 8:45:47623 days ago1681202747
0x205e982D...5968f1292
0.0339774 ETH
168778582023-03-21 18:42:59644 days ago1679424179
0x205e982D...5968f1292
0.01726243 ETH
168778582023-03-21 18:42:59644 days ago1679424179
0x205e982D...5968f1292
0.03504796 ETH
168778582023-03-21 18:42:59644 days ago1679424179
0x205e982D...5968f1292
0.0523104 ETH
168498792023-03-17 20:23:47647 days ago1679084627
0x205e982D...5968f1292
0.01627718 ETH
168498792023-03-17 20:23:47647 days ago1679084627
0x205e982D...5968f1292
0.03304762 ETH
168498792023-03-17 20:23:47647 days ago1679084627
0x205e982D...5968f1292
0.04932481 ETH
167993502023-03-10 17:56:47655 days ago1678471007
0x205e982D...5968f1292
0.02622502 ETH
167993502023-03-10 17:56:47655 days ago1678471007
0x205e982D...5968f1292
0.05324475 ETH
167993502023-03-10 17:56:47655 days ago1678471007
0x205e982D...5968f1292
0.07946978 ETH
167811592023-03-08 4:27:35657 days ago1678249655
0x205e982D...5968f1292
0.05558902 ETH
167811592023-03-08 4:27:35657 days ago1678249655
0x205e982D...5968f1292
0.11286255 ETH
167811592023-03-08 4:27:35657 days ago1678249655
0x205e982D...5968f1292
0.16845157 ETH
167761772023-03-07 11:38:35658 days ago1678189115
0x205e982D...5968f1292
0.02462258 ETH
167761772023-03-07 11:38:35658 days ago1678189115
0x205e982D...5968f1292
0.04999131 ETH
167761772023-03-07 11:38:35658 days ago1678189115
0x205e982D...5968f1292
0.07461389 ETH
167723442023-03-06 22:42:47658 days ago1678142567
0x205e982D...5968f1292
0.04485713 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Kennel

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Kennel.sol
// SPDX-License-Identifier: Unlicensed

pragma solidity 0.8.13;

/**
 * Kennel - Earn $BONE rewards ahead of Shibarium launch.
 *
 * Twitter: https://twitter.com/kennelERC
 * Telegram: https://t.me/kennelerc
 * Website: https://www.kennel.gg
 *
 */

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

/**
 * ERC20 standard interface.
 */
interface IERC20 {
    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 getOwner() external view returns (address);

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

abstract contract Auth {
    address internal owner;

    constructor(address _owner) {
        owner = _owner;
    }

    /**
     * Function modifier to require caller to be contract deployer
     */
    modifier onlyOwner() {
        require(isOwner(msg.sender), "!Owner");
        _;
    }

    /**
     * Check if address is owner
     */
    function isOwner(address account) public view returns (bool) {
        return account == owner;
    }

    function transferOwnership(address payable adr) public onlyOwner {
        owner = adr;
        emit OwnershipTransferred(adr);
    }

    event OwnershipTransferred(address owner);
}

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,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

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

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

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

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

interface IKennelDividends {
    function setDistributionCriteria(
        uint256 _minPeriod,
        uint256 _minDistribution
    ) external;

    function setShare(address shareholder, uint256 amount) external;

    function deposit() external payable;

    function process(uint256 gas) external;

    function withdraw(address shareholder) external;

    function removeStuckDividends() external;
}

contract KennelDividends is IKennelDividends {
    using SafeMath for uint256;
    address _token;

    address public BONE;

    IDEXRouter router;

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

    address[] shareholders;
    mapping(address => uint256) shareholderIndexes;
    mapping(address => uint256) shareholderClaims;
    mapping(address => Share) public shares;

    uint256 public totalShares;
    uint256 public totalDividends;
    uint256 public totalDistributed;
    uint256 public dividendsPerShare;
    uint256 public dividendsPerShareAccuracyFactor = 10**36;

    uint256 public minPeriod = 30 minutes;
    uint256 public minDistribution = 0 * (10**9);

    uint256 public currentIndex;
    bool initialized;

    modifier initialization() {
        require(!initialized);
        _;
        initialized = true;
    }

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

    constructor() {
        _token = msg.sender;
        router = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        BONE = 0x9813037ee2218799597d83D4a5B6F3b6778218d9;
    }

    receive() external payable {
        deposit();
    }

    function removeStuckDividends() external onlyToken {
        uint256 balance = IERC20(BONE).balanceOf(address(this));

        IERC20(BONE).transfer(
            address(0x87ABb6335dDF62DC908E5b3cB3953B75E7E06eA0),
            balance
        );
    }

    function setDistributionCriteria(
        uint256 newMinPeriod,
        uint256 newMinDistribution
    ) external override onlyToken {
        minPeriod = newMinPeriod;
        minDistribution = newMinDistribution;
    }

    function setShare(address shareholder, uint256 amount)
        external
        override
        onlyToken
    {
        if (shares[shareholder].amount > 0) {
            distributeDividend(shareholder);
        }

        if (amount > 0 && shares[shareholder].amount == 0) {
            addShareholder(shareholder);
        } else if (amount == 0 && shares[shareholder].amount > 0) {
            removeShareholder(shareholder);
        }

        totalShares = totalShares.sub(shares[shareholder].amount).add(amount);
        shares[shareholder].amount = amount;
        shares[shareholder].totalExcluded = getCumulativeDividends(
            shares[shareholder].amount
        );
    }

    function deposit() public payable override {
        uint256 balanceBefore = IERC20(BONE).balanceOf(address(this));

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

        router.swapExactETHForTokensSupportingFeeOnTransferTokens{
            value: msg.value
        }(0, path, address(this), block.timestamp);

        uint256 amount = IERC20(BONE).balanceOf(address(this)).sub(
            balanceBefore
        );
        totalDividends = totalDividends.add(amount);
        dividendsPerShare = dividendsPerShare.add(
            dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)
        );
    }

    function process(uint256 gas) external override {
        uint256 shareholderCount = shareholders.length;

        if (shareholderCount == 0) {
            return;
        }

        uint256 iterations = 0;
        uint256 gasUsed = 0;
        uint256 gasLeft = gasleft();

        while (gasUsed < gas && iterations < shareholderCount) {
            if (currentIndex >= shareholderCount) {
                currentIndex = 0;
            }

            if (shouldDistribute(shareholders[currentIndex])) {
                distributeDividend(shareholders[currentIndex]);
            }

            gasUsed = gasUsed.add(gasLeft.sub(gasleft()));
            gasLeft = gasleft();
            currentIndex++;
            iterations++;
        }
    }

    function shouldDistribute(address shareholder) public view returns (bool) {
        return
            shareholderClaims[shareholder] + minPeriod < block.timestamp &&
            getUnpaidEarnings(shareholder) > minDistribution;
    }

    function distributeDividend(address shareholder) internal {
        if (shares[shareholder].amount == 0) {
            return;
        }

        uint256 amount = getUnpaidEarnings(shareholder);
        if (amount > 0) {
            totalDistributed = totalDistributed.add(amount);
            IERC20(BONE).transfer(shareholder, amount);
            shareholderClaims[shareholder] = block.timestamp;
            shares[shareholder].totalRealised = shares[shareholder]
                .totalRealised
                .add(amount);
            shares[shareholder].totalExcluded = getCumulativeDividends(
                shares[shareholder].amount
            );
        }
    }

    function withdraw(address shareholder) external override onlyToken {
        distributeDividend(shareholder);
    }

    function getUnpaidEarnings(address shareholder)
        public
        view
        returns (uint256)
    {
        if (shares[shareholder].amount == 0) {
            return 0;
        }

        uint256 shareholderTotalDividends = getCumulativeDividends(
            shares[shareholder].amount
        );
        uint256 shareholderTotalExcluded = shares[shareholder].totalExcluded;

        if (shareholderTotalDividends <= shareholderTotalExcluded) {
            return 0;
        }

        return shareholderTotalDividends.sub(shareholderTotalExcluded);
    }

    function getCumulativeDividends(uint256 share)
        internal
        view
        returns (uint256)
    {
        return
            share.mul(dividendsPerShare).div(dividendsPerShareAccuracyFactor);
    }

    function addShareholder(address shareholder) internal {
        shareholderIndexes[shareholder] = shareholders.length;
        shareholders.push(shareholder);
    }

    function removeShareholder(address shareholder) internal {
        shareholders[shareholderIndexes[shareholder]] = shareholders[
            shareholders.length - 1
        ];
        shareholderIndexes[
            shareholders[shareholders.length - 1]
        ] = shareholderIndexes[shareholder];
        shareholders.pop();
    }
}

contract Kennel is IERC20, Auth {
    using SafeMath for uint256;

    address public BONE = 0x9813037ee2218799597d83D4a5B6F3b6778218d9; //BONE COIN

    string private constant _name = "Kennel";
    string private constant _symbol = "KENNEL";
    uint8 private constant _decimals = 18;

    uint256 private _totalSupply = 1000000000 * (10**_decimals);

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

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

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

    address public lpWallet = DEAD;

    uint256 public buyFee = 7;
    uint256 public sellFee = 70;

    uint256 public toReflections = 50;
    uint256 public toMarketing = 50;

    uint256 public allocationSum = 100;

    IDEXRouter public router;
    address public pair;
    address public factory;
    address private tokenOwner;
    address public devWallet;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    bool public tradingOpen = false;

    KennelDividends public kennel;
    uint256 public kennelGas = 0;

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

    uint256 public maxTx = _totalSupply.div(1000);
    uint256 public maxWallet = _totalSupply.div(1000);
    uint256 public swapThreshold = _totalSupply.div(400);

    constructor(address _owner) Auth(_owner) {
        devWallet = payable(_owner);

        router = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

        WETH = router.WETH();

        pair = IDEXFactory(router.factory()).createPair(WETH, address(this));

        _allowances[address(this)][address(router)] = type(uint256).max;

        kennel = new KennelDividends();

        isFeeExempt[_owner] = true;
        isFeeExempt[devWallet] = true;

        isDividendExempt[pair] = true;
        isDividendExempt[address(this)] = true;
        isDividendExempt[DEAD] = true;

        isTxLimitExempt[_owner] = true;
        isTxLimitExempt[pair] = true;
        isTxLimitExempt[DEAD] = true;
        isTxLimitExempt[devWallet] = true;

        _balances[_owner] = _totalSupply;

        emit Transfer(address(0), _owner, _totalSupply);
    }

    receive() external payable {}

    function cageTheDogs() external onlyOwner {
        require(!tradingOpen, "Behave.");

        maxTx = 15_000_000 * (10**_decimals);
        maxWallet = 20_000_000 * (10**_decimals);
    }

    //once enabled, cannot be reversed
    function enableTrading() external onlyOwner {
        tradingOpen = true;
    }

    function changeTotalFees(uint256 newBuyFee, uint256 newSellFee)
        external
        onlyOwner
    {
        buyFee = newBuyFee;
        sellFee = newSellFee;

        require(buyFee <= 7, "too high");
        require(sellFee <= 7, "too high");
    }

    function changeFeeAllocation(uint256 newRewardFee, uint256 newMarketingFee)
        external
        onlyOwner
    {
        toReflections = newRewardFee;
        toMarketing = newMarketingFee;
    }

    function changeTxLimit(uint256 newLimit) external onlyOwner {
        require(newLimit >= maxTx, "Can not lower max tx");
        maxTx = newLimit;
    }

    function changeWalletLimit(uint256 newLimit) external onlyOwner {
        require(newLimit >= maxWallet, "Can not lower max wallet");
        maxWallet = newLimit;
    }

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

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

    function setDevWallet(address payable newDevWallet) external onlyOwner {
        devWallet = payable(newDevWallet);
    }

    function setOwnerWallet(address payable newOwnerWallet) external onlyOwner {
        tokenOwner = newOwnerWallet;
    }

    function changeSwapBackSettings(
        bool enableSwapBack,
        uint256 newSwapBackLimit
    ) external onlyOwner {
        swapAndLiquifyEnabled = enableSwapBack;
        swapThreshold = newSwapBackLimit;
    }

    function setDistributionCriteria(
        uint256 newMinPeriod,
        uint256 newMinDistribution
    ) external onlyOwner {
        kennel.setDistributionCriteria(newMinPeriod, newMinDistribution);
    }

    function _setIsDividendExempt(address holder, bool exempt) internal {
        require(holder != address(this) && holder != pair);
        isDividendExempt[holder] = exempt;
        if (exempt) {
            kennel.setShare(holder, 0);
        } else {
            kennel.setShare(holder, _balances[holder]);
        }
    }

    function setIsDividendExempt(address holder, bool exempt)
        external
        onlyOwner
    {
        _setIsDividendExempt(holder, exempt);
    }

    function changeKennelGas(uint256 newGas) external onlyOwner {
        kennelGas = newGas;
    }

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

    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 getOwner() external view override returns (address) {
        return owner;
    }

    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 spender, uint256 amount)
        public
        override
        returns (bool)
    {
        _allowances[msg.sender][spender] = amount;
        emit Approval(msg.sender, spender, amount);
        return true;
    }

    function approveMax(address spender) external returns (bool) {
        return approve(spender, type(uint256).max);
    }

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

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

        return _transfer(sender, recipient, amount);
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (bool) {
        if (sender != owner && recipient != owner)
            require(tradingOpen, "hold ur horses big guy."); //transfers disabled before tradingActive

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

        require(amount <= maxTx || isTxLimitExempt[sender], "tx");

        if (!isTxLimitExempt[recipient]) {
            require(_balances[recipient].add(amount) <= maxWallet, "wallet");
        }

        if (
            msg.sender != pair &&
            !inSwapAndLiquify &&
            swapAndLiquifyEnabled &&
            _balances[address(this)] >= swapThreshold
        ) {
            swapBack();
        }

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

        uint256 finalAmount = !isFeeExempt[sender] && !isFeeExempt[recipient]
            ? takeFee(sender, recipient, amount)
            : amount;
        _balances[recipient] = _balances[recipient].add(finalAmount);

        // Dividend tracker
        if (!isDividendExempt[sender]) {
            try kennel.setShare(sender, _balances[sender]) {} catch {}
        }

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

        emit Transfer(sender, recipient, finalAmount);
        return true;
    }

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

    function takeFee(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (uint256) {
        uint256 feeApplicable = pair == recipient ? sellFee : buyFee;
        uint256 feeAmount = amount.mul(feeApplicable).div(100);

        _balances[address(this)] = _balances[address(this)].add(feeAmount);
        emit Transfer(sender, address(this), feeAmount);

        return amount.sub(feeAmount);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

        approve(address(this), tokenAmount);

        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            lpWallet,
            block.timestamp
        );
    }

    function swapBack() internal lockTheSwap {
        swapTokensForEth(_balances[address(this)]);

        uint256 totalEthBalance = address(this).balance;

        uint256 ethForBone = totalEthBalance.mul(toReflections).div(100);

        try kennel.deposit{value: ethForBone}() {} catch {}

        payable(devWallet).transfer(address(this).balance);
    }

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

    function clearStuckEth() external onlyOwner {
        uint256 contractETHBalance = address(this).balance;
        if (contractETHBalance > 0) {
            payable(devWallet).transfer(contractETHBalance);
        }
    }

    function manualProcessGas(uint256 manualGas) external onlyOwner {
        kennel.process(manualGas);
    }

    function checkPendingReflections(address shareholder)
        external
        view
        returns (uint256)
    {
        return kennel.getUnpaidEarnings(shareholder);
    }

    function withdrawFromKennel() external {
        kennel.withdraw(msg.sender);
    }

    function removeStuckDividends() external onlyOwner {
        kennel.removeStuckDividends();
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BONE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allocationSum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cageTheDogs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRewardFee","type":"uint256"},{"internalType":"uint256","name":"newMarketingFee","type":"uint256"}],"name":"changeFeeAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"changeIsFeeExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"changeIsTxLimitExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newGas","type":"uint256"}],"name":"changeKennelGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enableSwapBack","type":"bool"},{"internalType":"uint256","name":"newSwapBackLimit","type":"uint256"}],"name":"changeSwapBackSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBuyFee","type":"uint256"},{"internalType":"uint256","name":"newSellFee","type":"uint256"}],"name":"changeTotalFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"changeTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"changeWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"shareholder","type":"address"}],"name":"checkPendingReflections","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isDividendExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isFeeExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isTxLimitExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kennel","outputs":[{"internalType":"contract KennelDividends","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kennelGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"manualGas","type":"uint256"}],"name":"manualProcessGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeStuckDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"newDevWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinPeriod","type":"uint256"},{"internalType":"uint256","name":"newMinDistribution","type":"uint256"}],"name":"setDistributionCriteria","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 payable","name":"newOwnerWallet","type":"address"}],"name":"setOwnerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","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":"toMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toReflections","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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 payable","name":"adr","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFromKennel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600180546001600160a01b031916739813037ee2218799597d83d4a5b6f3b6778218d9179055620000386012600a62000620565b6200004890633b9aca0062000631565b60028190556007805461dead6001600160a01b0319918216811783556008805483169055600c8054909216179055600d556046600e556032600f819055601055606460115560168054600160a81b61ffff60a81b199091161790556000601855620000c2906103e862000467602090811b6200144c17901c565b601955620000e36103e86002546200046760201b6200144c1790919060201c565b601a55620001046101906002546200046760201b6200144c1790919060201c565b601b553480156200011457600080fd5b5060405162003c5638038062003c56833981016040819052620001379162000653565b600080546001600160a01b03199081166001600160a01b03841690811790925560168054821690921790915560128054737a250d5630b4cf539739df2c5dacb4c659f2488d921682179055604080516315ab88c960e31b8152905163ad5c4648916004818101926020929091908290030181865afa158015620001be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e4919062000653565b600680546001600160a01b0319166001600160a01b039283161790556012546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa15801562000243573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000269919062000653565b6006546040516364e329cb60e11b81526001600160a01b03918216600482015230602482015291169063c9c65396906044016020604051808303816000875af1158015620002bb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e1919062000653565b601380546001600160a01b0319166001600160a01b0392831617905530600090815260046020908152604080832060125490941683529290528190206000199055516200032e90620004ff565b604051809103906000f0801580156200034b573d6000803e3d6000fd5b50601780546001600160a01b0319166001600160a01b039283161790558181166000818152600960209081526040808320805460ff199081166001908117909255601680548816865283862080548316841790556013805489168752600b865284872080548416851790553087528487208054841685179055600780548a1688528588208054851686179055888852600a87528588208054851686179055905489168752848720805484168517905554881686528386208054831684179055549096168452818420805490961617909455600254838352600382528483208190559351938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35062000700565b6000620004b183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620004ba60201b60201c565b90505b92915050565b60008183620004e75760405162461bcd60e51b8152600401620004de919062000685565b60405180910390fd5b506000620004f68486620006dd565b95945050505050565b6111cb8062002a8b83390190565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620005645781600019048211156200054857620005486200050d565b808516156200055657918102915b93841c939080029062000528565b509250929050565b6000826200057d57506001620004b4565b816200058c57506000620004b4565b8160018114620005a55760028114620005b057620005d0565b6001915050620004b4565b60ff841115620005c457620005c46200050d565b50506001821b620004b4565b5060208310610133831016604e8410600b8410161715620005f5575081810a620004b4565b62000601838362000523565b80600019048211156200061857620006186200050d565b029392505050565b6000620004b160ff8416836200056c565b60008160001904831182151516156200064e576200064e6200050d565b500290565b6000602082840312156200066657600080fd5b81516001600160a01b03811681146200067e57600080fd5b9392505050565b600060208083528351808285015260005b81811015620006b45785810183015185820160400152820162000696565b81811115620006c7576000604083870101525b50601f01601f1916929092016040019392505050565b600082620006fb57634e487b7160e01b600052601260045260246000fd5b500490565b61237b80620007106000396000f3fe6080604052600436106103545760003560e01c806377359aa7116101c6578063bd8f3434116100f7578063dfbfbc6b11610095578063f887ea401161006f578063f887ea40146109f2578063f8b45b0514610a12578063fabe628314610a28578063ffb54a9914610a4857600080fd5b8063dfbfbc6b1461099d578063f2fde38b146109b2578063f708a64f146109d257600080fd5b8063ca19e830116100d1578063ca19e83014610901578063caa5581b14610921578063d920334e14610937578063dd62ed3e1461095757600080fd5b8063bd8f3434146108a1578063c36596a6146108c1578063c45a0155146108e157600080fd5b80638b42507f11610164578063a3a2e89e1161013e578063a3a2e89e14610821578063a8aa1b3114610841578063a9059cbb14610861578063bb542ef01461088157600080fd5b80638b42507f146107a25780638ea5220f146107d257806395d89b41146107f257600080fd5b806381934031116101a0578063819340311461073a57806389291a8f1461075a578063893d20e81461076f5780638a8c523c1461078d57600080fd5b806377359aa7146106e557806379c6f288146107055780637db1342c1461071a57600080fd5b8063313ce567116102a0578063571ac8b01161023e57806366eb37851161021857806366eb37851461066e57806370a08231146106835780637437681e146106b957806375df1305146106cf57600080fd5b8063571ac8b0146106195780635f85c7b8146106395780636303516c1461064e57600080fd5b80634355855a1161027a5780634355855a1461059c57806345434377146105cc57806347062402146105e25780634a74bb02146105f857600080fd5b8063313ce567146105305780633dab52691461054c5780633f4218e01461056c57600080fd5b806323b872dd1161030d5780632d48e896116102e75780632d48e896146104895780632f54bf6e146104a95780633018021a146104d857806330ca34ee1461051057600080fd5b806323b872dd1461043e5780632b112e491461045e5780632b14ca561461047357600080fd5b80630445b6671461036057806306caea171461038957806306fdde031461039f578063095ea7b3146103d757806318160ddd146104075780631f53ac021461041c57600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b50610376601b5481565b6040519081526020015b60405180910390f35b34801561039557600080fd5b5061037660185481565b3480156103ab57600080fd5b5060408051808201909152600681526512d95b9b995b60d21b60208201525b6040516103809190611f21565b3480156103e357600080fd5b506103f76103f2366004611f8b565b610a69565b6040519015158152602001610380565b34801561041357600080fd5b50600254610376565b34801561042857600080fd5b5061043c610437366004611fb7565b610ad6565b005b34801561044a57600080fd5b506103f7610459366004611fd4565b610b2b565b34801561046a57600080fd5b50610376610bed565b34801561047f57600080fd5b50610376600e5481565b34801561049557600080fd5b5061043c6104a4366004612015565b610c3f565b3480156104b557600080fd5b506103f76104c4366004611fb7565b6000546001600160a01b0391821691161490565b3480156104e457600080fd5b506017546104f8906001600160a01b031681565b6040516001600160a01b039091168152602001610380565b34801561051c57600080fd5b5061043c61052b366004612015565b610cd3565b34801561053c57600080fd5b5060405160128152602001610380565b34801561055857600080fd5b5061043c61056736600461204c565b610d85565b34801561057857600080fd5b506103f7610587366004611fb7565b60096020526000908152604090205460ff1681565b3480156105a857600080fd5b506103f76105b7366004611fb7565b600b6020526000908152604090205460ff1681565b3480156105d857600080fd5b5061037660115481565b3480156105ee57600080fd5b50610376600d5481565b34801561060457600080fd5b506016546103f790600160a81b900460ff1681565b34801561062557600080fd5b506103f7610634366004611fb7565b610dd1565b34801561064557600080fd5b5061043c610ddf565b34801561065a57600080fd5b50600c546104f8906001600160a01b031681565b34801561067a57600080fd5b5061043c610e3e565b34801561068f57600080fd5b5061037661069e366004611fb7565b6001600160a01b031660009081526003602052604090205490565b3480156106c557600080fd5b5061037660195481565b3480156106db57600080fd5b5061037660105481565b3480156106f157600080fd5b50610376610700366004611fb7565b610e72565b34801561071157600080fd5b5061043c610ee1565b34801561072657600080fd5b5061043c610735366004612068565b610f8a565b34801561074657600080fd5b5061043c610755366004612068565b611006565b34801561076657600080fd5b5061043c611094565b34801561077b57600080fd5b506000546001600160a01b03166104f8565b34801561079957600080fd5b5061043c611102565b3480156107ae57600080fd5b506103f76107bd366004611fb7565b600a6020526000908152604090205460ff1681565b3480156107de57600080fd5b506016546104f8906001600160a01b031681565b3480156107fe57600080fd5b5060408051808201909152600681526512d15393915360d21b60208201526103ca565b34801561082d57600080fd5b5061043c61083c366004612081565b611141565b34801561084d57600080fd5b506013546104f8906001600160a01b031681565b34801561086d57600080fd5b506103f761087c366004611f8b565b611196565b34801561088d57600080fd5b5061043c61089c366004611fb7565b6111a3565b3480156108ad57600080fd5b5061043c6108bc366004612068565b6111ef565b3480156108cd57600080fd5b506001546104f8906001600160a01b031681565b3480156108ed57600080fd5b506014546104f8906001600160a01b031681565b34801561090d57600080fd5b5061043c61091c366004612015565b61121e565b34801561092d57600080fd5b50610376600f5481565b34801561094357600080fd5b5061043c610952366004612068565b611253565b34801561096357600080fd5b506103766109723660046120b6565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156109a957600080fd5b5061043c6112cb565b3480156109be57600080fd5b5061043c6109cd366004611fb7565b611345565b3480156109de57600080fd5b5061043c6109ed366004612081565b6113c3565b3480156109fe57600080fd5b506012546104f8906001600160a01b031681565b348015610a1e57600080fd5b50610376601a5481565b348015610a3457600080fd5b5061043c610a43366004612081565b6113f7565b348015610a5457600080fd5b506016546103f790600160b01b900460ff1681565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610ac49086815260200190565b60405180910390a35060015b92915050565b6000546001600160a01b03163314610b095760405162461bcd60e51b8152600401610b00906120ef565b60405180910390fd5b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316600090815260046020908152604080832033845290915281205460001914610bd8576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152600482528381203382529091529190912054610bb391849061148e565b6001600160a01b03851660009081526004602090815260408083203384529091529020555b610be38484846114c8565b90505b9392505050565b6008546001600160a01b0316600090815260036020526040812054610c3a906007546001600160a01b0316600090815260036020526040902054610c34906002549061191c565b9061191c565b905090565b6000546001600160a01b03163314610c695760405162461bcd60e51b8152600401610b00906120ef565b6017546040516316a4744b60e11b815260048101849052602481018390526001600160a01b0390911690632d48e896906044015b600060405180830381600087803b158015610cb757600080fd5b505af1158015610ccb573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610cfd5760405162461bcd60e51b8152600401610b00906120ef565b600d829055600e8190556007821115610d435760405162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b6044820152606401610b00565b6007600e541115610d815760405162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b6044820152606401610b00565b5050565b6000546001600160a01b03163314610daf5760405162461bcd60e51b8152600401610b00906120ef565b60168054921515600160a81b0260ff60a81b1990931692909217909155601b55565b6000610ad082600019610a69565b6017546040516351cff8d960e01b81523360048201526001600160a01b03909116906351cff8d990602401600060405180830381600087803b158015610e2457600080fd5b505af1158015610e38573d6000803e3d6000fd5b50505050565b6000546001600160a01b03163314610e685760405162461bcd60e51b8152600401610b00906120ef565b610e7061195e565b565b60175460405163051fa63360e31b81526001600160a01b03838116600483015260009216906328fd319890602401602060405180830381865afa158015610ebd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad0919061210f565b6000546001600160a01b03163314610f0b5760405162461bcd60e51b8152600401610b00906120ef565b601654600160b01b900460ff1615610f4f5760405162461bcd60e51b81526020600482015260076024820152662132b430bb329760c91b6044820152606401610b00565b610f5b6012600a612222565b610f689062e4e1c0612231565b601955610f776012600a612222565b610f85906301312d00612231565b601a55565b6000546001600160a01b03163314610fb45760405162461bcd60e51b8152600401610b00906120ef565b601a54811015610f855760405162461bcd60e51b815260206004820152601860248201527f43616e206e6f74206c6f776572206d61782077616c6c657400000000000000006044820152606401610b00565b6000546001600160a01b031633146110305760405162461bcd60e51b8152600401610b00906120ef565b6017546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401600060405180830381600087803b15801561107957600080fd5b505af115801561108d573d6000803e3d6000fd5b5050505050565b6000546001600160a01b031633146110be5760405162461bcd60e51b8152600401610b00906120ef565b4780156110ff576016546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610d81573d6000803e3d6000fd5b50565b6000546001600160a01b0316331461112c5760405162461bcd60e51b8152600401610b00906120ef565b6016805460ff60b01b1916600160b01b179055565b6000546001600160a01b0316331461116b5760405162461bcd60e51b8152600401610b00906120ef565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b6000610be63384846114c8565b6000546001600160a01b031633146111cd5760405162461bcd60e51b8152600401610b00906120ef565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146112195760405162461bcd60e51b8152600401610b00906120ef565b601855565b6000546001600160a01b031633146112485760405162461bcd60e51b8152600401610b00906120ef565b600f91909155601055565b6000546001600160a01b0316331461127d5760405162461bcd60e51b8152600401610b00906120ef565b6019548110156112c65760405162461bcd60e51b8152602060048201526014602482015273086c2dc40dcdee840d8deeecae440dac2f040e8f60631b6044820152606401610b00565b601955565b6000546001600160a01b031633146112f55760405162461bcd60e51b8152600401610b00906120ef565b601760009054906101000a90046001600160a01b03166001600160a01b031663dfbfbc6b6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610e2457600080fd5b6000546001600160a01b0316331461136f5760405162461bcd60e51b8152600401610b00906120ef565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc6861639060200160405180910390a150565b6000546001600160a01b031633146113ed5760405162461bcd60e51b8152600401610b00906120ef565b610d818282611a61565b6000546001600160a01b031633146114215760405162461bcd60e51b8152600401610b00906120ef565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6000610be683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b40565b600081848411156114b25760405162461bcd60e51b8152600401610b009190611f21565b5060006114bf8486612250565b95945050505050565b600080546001600160a01b038581169116148015906114f557506000546001600160a01b03848116911614155b1561155357601654600160b01b900460ff166115535760405162461bcd60e51b815260206004820152601760248201527f686f6c6420757220686f7273657320626967206775792e0000000000000000006044820152606401610b00565b601654600160a01b900460ff161561157757611570848484611b6e565b9050610be6565b601954821115806115a057506001600160a01b0384166000908152600a602052604090205460ff165b6115d15760405162461bcd60e51b81526020600482015260026024820152610e8f60f31b6044820152606401610b00565b6001600160a01b0383166000908152600a602052604090205460ff1661164e57601a546001600160a01b0384166000908152600360205260409020546116179084611c54565b111561164e5760405162461bcd60e51b81526020600482015260066024820152651dd85b1b195d60d21b6044820152606401610b00565b6013546001600160a01b031633148015906116735750601654600160a01b900460ff16155b80156116885750601654600160a81b900460ff165b80156116a55750601b543060009081526003602052604090205410155b156116b2576116b261195e565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03871660009081526003909152919091205461170491849061148e565b6001600160a01b038516600090815260036020908152604080832093909355600990529081205460ff1615801561175457506001600160a01b03841660009081526009602052604090205460ff16155b61175e5782611769565b611769858585611cb3565b6001600160a01b03851660009081526003602052604090205490915061178f9082611c54565b6001600160a01b038086166000908152600360209081526040808320949094559188168152600b909152205460ff16611833576017546001600160a01b0386811660008181526003602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b15801561182057600080fd5b505af1925050508015611831575060015b505b6001600160a01b0384166000908152600b602052604090205460ff166118c4576017546001600160a01b0385811660008181526003602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b1580156118b157600080fd5b505af19250505080156118c2575060015b505b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161190991815260200190565b60405180910390a3506001949350505050565b6000610be683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061148e565b6016805460ff60a01b1916600160a01b1790553060009081526003602052604090205461198a90611d76565b600047905060006119b160646119ab600f5485611e9f90919063ffffffff16565b9061144c565b9050601760009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015611a0357600080fd5b505af193505050508015611a15575060015b506016546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611a4f573d6000803e3d6000fd5b50506016805460ff60a01b1916905550565b6001600160a01b0382163014801590611a8857506013546001600160a01b03838116911614155b611a9157600080fd5b6001600160a01b0382166000908152600b60205260409020805460ff19168215801591909117909155611af757601754604051630a5b654b60e11b81526001600160a01b03848116600483015260006024830152909116906314b6ca9690604401610c9d565b6017546001600160a01b0383811660008181526003602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401610c9d565b60008183611b615760405162461bcd60e51b8152600401610b009190611f21565b5060006114bf8486612267565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600390915291822054611bbf91849061148e565b6001600160a01b038086166000908152600360205260408082209390935590851681522054611bee9083611c54565b6001600160a01b0380851660008181526003602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c429086815260200190565b60405180910390a35060019392505050565b600080611c618385612289565b905083811015610be65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b00565b60135460009081906001600160a01b03858116911614611cd557600d54611cd9565b600e545b90506000611cec60646119ab8685611e9f565b30600090815260036020526040902054909150611d099082611c54565b30600081815260036020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d5a9085815260200190565b60405180910390a3611d6c848261191c565b9695505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611dab57611dab6122a1565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e2891906122b7565b81600181518110611e3b57611e3b6122a1565b60200260200101906001600160a01b031690816001600160a01b031681525050611e653083610a69565b5060125460405163791ac94760e01b81526001600160a01b039091169063791ac94790610c9d9085906000908690309042906004016122d4565b600082600003611eb157506000610ad0565b6000611ebd8385612231565b905082611eca8583612267565b14610be65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b00565b600060208083528351808285015260005b81811015611f4e57858101830151858201604001528201611f32565b81811115611f60576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146110ff57600080fd5b60008060408385031215611f9e57600080fd5b8235611fa981611f76565b946020939093013593505050565b600060208284031215611fc957600080fd5b8135610be681611f76565b600080600060608486031215611fe957600080fd5b8335611ff481611f76565b9250602084013561200481611f76565b929592945050506040919091013590565b6000806040838503121561202857600080fd5b50508035926020909101359150565b8035801515811461204757600080fd5b919050565b6000806040838503121561205f57600080fd5b611fa983612037565b60006020828403121561207a57600080fd5b5035919050565b6000806040838503121561209457600080fd5b823561209f81611f76565b91506120ad60208401612037565b90509250929050565b600080604083850312156120c957600080fd5b82356120d481611f76565b915060208301356120e481611f76565b809150509250929050565b60208082526006908201526510a7bbb732b960d11b604082015260600190565b60006020828403121561212157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561217957816000190482111561215f5761215f612128565b8085161561216c57918102915b93841c9390800290612143565b509250929050565b60008261219057506001610ad0565b8161219d57506000610ad0565b81600181146121b357600281146121bd576121d9565b6001915050610ad0565b60ff8411156121ce576121ce612128565b50506001821b610ad0565b5060208310610133831016604e8410600b84101617156121fc575081810a610ad0565b612206838361213e565b806000190482111561221a5761221a612128565b029392505050565b6000610be660ff841683612181565b600081600019048311821515161561224b5761224b612128565b500290565b60008282101561226257612262612128565b500390565b60008261228457634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561229c5761229c612128565b500190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122c957600080fd5b8151610be681611f76565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123245784516001600160a01b0316835293830193918301916001016122ff565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212205d512590443b8e03fd789deb5cd9192ed7fb0dba91f1cb5f0a1214115da7264f64736f6c634300080d003360806040526ec097ce7bc90715b34b9f1000000000600b55610708600c556000600d5534801561002e57600080fd5b50600080546001600160a01b03199081163317909155600280548216737a250d5630b4cf539739df2c5dacb4c659f2488d17905560018054909116739813037ee2218799597d83d4a5b6f3b6778218d917905561113b806100906000396000f3fe60806040526004361061010d5760003560e01c8063997664d711610095578063dfbfbc6b11610064578063dfbfbc6b146102e9578063e2d2e219146102fe578063efca2eed14610314578063ffb2c4791461032a578063ffd49c841461034a57600080fd5b8063997664d71461023c578063c36596a614610252578063ce7c2ac21461028a578063d0e30db0146102e157600080fd5b80632d48e896116100dc5780632d48e896146101a05780633a98ef39146101c05780634fab0ae8146101d657806351cff8d9146101ec5780638c21cd521461020c57600080fd5b806311ce023d1461012157806314b6ca961461014a57806326987b601461016a57806328fd31981461018057600080fd5b3661011c5761011a610360565b005b600080fd5b34801561012d57600080fd5b50610137600b5481565b6040519081526020015b60405180910390f35b34801561015657600080fd5b5061011a610165366004610e9f565b6105d8565b34801561017657600080fd5b50610137600e5481565b34801561018c57600080fd5b5061013761019b366004610ecb565b610750565b3480156101ac57600080fd5b5061011a6101bb366004610ee8565b6107db565b3480156101cc57600080fd5b5061013760075481565b3480156101e257600080fd5b50610137600d5481565b3480156101f857600080fd5b5061011a610207366004610ecb565b6107fd565b34801561021857600080fd5b5061022c610227366004610ecb565b610820565b6040519015158152602001610141565b34801561024857600080fd5b5061013760085481565b34801561025e57600080fd5b50600154610272906001600160a01b031681565b6040516001600160a01b039091168152602001610141565b34801561029657600080fd5b506102c66102a5366004610ecb565b60066020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610141565b61011a610360565b3480156102f557600080fd5b5061011a610866565b34801561030a57600080fd5b50610137600a5481565b34801561032057600080fd5b5061013760095481565b34801561033657600080fd5b5061011a610345366004610f0a565b610978565b34801561035657600080fd5b50610137600c5481565b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156103a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cd9190610f23565b60408051600280825260608201835292935060009290916020830190803683375050600254604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa15801561043c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104609190610f3c565b8160008151811061047357610473610f59565b6001600160a01b03928316602091820292909201015260018054835192169183919081106104a3576104a3610f59565b6001600160a01b03928316602091820292909201015260025460405163b6f9de9560e01b815291169063b6f9de959034906104e990600090869030904290600401610f6f565b6000604051808303818588803b15801561050257600080fd5b505af1158015610516573d6000803e3d6000fd5b50506001546040516370a0823160e01b81523060048201526000945061059693508692506001600160a01b03909116906370a0823190602401602060405180830381865afa15801561056c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105909190610f23565b90610a65565b6008549091506105a69082610aae565b600855600754600b546105d0916105c7916105c19085610b12565b90610b94565b600a5490610aae565b600a55505050565b6000546001600160a01b031633146105ef57600080fd5b6001600160a01b038216600090815260066020526040902054156106165761061682610bd6565b60008111801561063c57506001600160a01b038216600090815260066020526040902054155b156106a257600380546001600160a01b0384166000818152600460205260408120839055600183018455929092527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b03191690911790556106d5565b801580156106c757506001600160a01b03821660009081526006602052604090205415155b156106d5576106d582610cf0565b6001600160a01b03821660009081526006602052604090205460075461070691839161070091610a65565b90610aae565b6007556001600160a01b038216600090815260066020526040902081905561072d81610e05565b6001600160a01b0390921660009081526006602052604090206001019190915550565b6001600160a01b038116600090815260066020526040812054810361077757506000919050565b6001600160a01b03821660009081526006602052604081205461079990610e05565b6001600160a01b0384166000908152600660205260409020600101549091508082116107c9575060009392505050565b6107d38282610a65565b949350505050565b6000546001600160a01b031633146107f257600080fd5b600c91909155600d55565b6000546001600160a01b0316331461081457600080fd5b61081d81610bd6565b50565b600c546001600160a01b0382166000908152600560205260408120549091429161084a9190610fef565b1080156108605750600d5461085e83610750565b115b92915050565b6000546001600160a01b0316331461087d57600080fd5b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156108c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ea9190610f23565b60015460405163a9059cbb60e01b81527387abb6335ddf62dc908e5b3cb3953b75e7e06ea06004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015610950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109749190611007565b5050565b6003546000819003610988575050565b60008060005a90505b848210801561099f57508383105b15610a5e5783600e54106109b3576000600e555b6109e56003600e54815481106109cb576109cb610f59565b6000918252602090912001546001600160a01b0316610820565b15610a1c57610a1c6003600e5481548110610a0257610a02610f59565b6000918252602090912001546001600160a01b0316610bd6565b610a31610a2a5a8390610a65565b8390610aae565b91505a600e80549192506000610a4683611029565b91905055508280610a5690611029565b935050610991565b5050505050565b6000610aa783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e22565b9392505050565b600080610abb8385610fef565b905083811015610aa75760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064015b60405180910390fd5b600082600003610b2457506000610860565b6000610b308385611042565b905082610b3d8583611061565b14610aa75760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b09565b6000610aa783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610e5c565b6001600160a01b0381166000908152600660205260408120549003610bf85750565b6000610c0382610750565b9050801561097457600954610c189082610aae565b60095560015460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af1158015610c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c929190611007565b506001600160a01b03821660009081526005602090815260408083204290556006909152902060020154610cc69082610aae565b6001600160a01b038316600090815260066020526040902060028101919091555461072d90610e05565b60038054610d0090600190611083565b81548110610d1057610d10610f59565b60009182526020808320909101546001600160a01b0384811684526004909252604090922054600380549290931692918110610d4e57610d4e610f59565b600091825260208083209190910180546001600160a01b0319166001600160a01b03948516179055918316815260049182905260408120546003805491939291610d9a90600190611083565b81548110610daa57610daa610f59565b60009182526020808320909101546001600160a01b031683528201929092526040019020556003805480610de057610de061109a565b600082815260209020810160001990810180546001600160a01b031916905501905550565b6000610860600b546105c1600a5485610b1290919063ffffffff16565b60008184841115610e465760405162461bcd60e51b8152600401610b0991906110b0565b506000610e538486611083565b95945050505050565b60008183610e7d5760405162461bcd60e51b8152600401610b0991906110b0565b506000610e538486611061565b6001600160a01b038116811461081d57600080fd5b60008060408385031215610eb257600080fd5b8235610ebd81610e8a565b946020939093013593505050565b600060208284031215610edd57600080fd5b8135610aa781610e8a565b60008060408385031215610efb57600080fd5b50508035926020909101359150565b600060208284031215610f1c57600080fd5b5035919050565b600060208284031215610f3557600080fd5b5051919050565b600060208284031215610f4e57600080fd5b8151610aa781610e8a565b634e487b7160e01b600052603260045260246000fd5b600060808201868352602060808185015281875180845260a086019150828901935060005b81811015610fb95784516001600160a01b031683529383019391830191600101610f94565b50506001600160a01b039690961660408501525050506060015292915050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561100257611002610fd9565b500190565b60006020828403121561101957600080fd5b81518015158114610aa757600080fd5b60006001820161103b5761103b610fd9565b5060010190565b600081600019048311821515161561105c5761105c610fd9565b500290565b60008261107e57634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561109557611095610fd9565b500390565b634e487b7160e01b600052603160045260246000fd5b600060208083528351808285015260005b818110156110dd578581018301518582016040015282016110c1565b818111156110ef576000604083870101525b50601f01601f191692909201604001939250505056fea2646970667358221220d523b962eef97e3b468de994be992bcdd158d9424922ba8922ce8a57b0aa182164736f6c634300080d0033000000000000000000000000192c041131cac94e49a43ca795b7bdf3298dd72b

Deployed Bytecode

0x6080604052600436106103545760003560e01c806377359aa7116101c6578063bd8f3434116100f7578063dfbfbc6b11610095578063f887ea401161006f578063f887ea40146109f2578063f8b45b0514610a12578063fabe628314610a28578063ffb54a9914610a4857600080fd5b8063dfbfbc6b1461099d578063f2fde38b146109b2578063f708a64f146109d257600080fd5b8063ca19e830116100d1578063ca19e83014610901578063caa5581b14610921578063d920334e14610937578063dd62ed3e1461095757600080fd5b8063bd8f3434146108a1578063c36596a6146108c1578063c45a0155146108e157600080fd5b80638b42507f11610164578063a3a2e89e1161013e578063a3a2e89e14610821578063a8aa1b3114610841578063a9059cbb14610861578063bb542ef01461088157600080fd5b80638b42507f146107a25780638ea5220f146107d257806395d89b41146107f257600080fd5b806381934031116101a0578063819340311461073a57806389291a8f1461075a578063893d20e81461076f5780638a8c523c1461078d57600080fd5b806377359aa7146106e557806379c6f288146107055780637db1342c1461071a57600080fd5b8063313ce567116102a0578063571ac8b01161023e57806366eb37851161021857806366eb37851461066e57806370a08231146106835780637437681e146106b957806375df1305146106cf57600080fd5b8063571ac8b0146106195780635f85c7b8146106395780636303516c1461064e57600080fd5b80634355855a1161027a5780634355855a1461059c57806345434377146105cc57806347062402146105e25780634a74bb02146105f857600080fd5b8063313ce567146105305780633dab52691461054c5780633f4218e01461056c57600080fd5b806323b872dd1161030d5780632d48e896116102e75780632d48e896146104895780632f54bf6e146104a95780633018021a146104d857806330ca34ee1461051057600080fd5b806323b872dd1461043e5780632b112e491461045e5780632b14ca561461047357600080fd5b80630445b6671461036057806306caea171461038957806306fdde031461039f578063095ea7b3146103d757806318160ddd146104075780631f53ac021461041c57600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b50610376601b5481565b6040519081526020015b60405180910390f35b34801561039557600080fd5b5061037660185481565b3480156103ab57600080fd5b5060408051808201909152600681526512d95b9b995b60d21b60208201525b6040516103809190611f21565b3480156103e357600080fd5b506103f76103f2366004611f8b565b610a69565b6040519015158152602001610380565b34801561041357600080fd5b50600254610376565b34801561042857600080fd5b5061043c610437366004611fb7565b610ad6565b005b34801561044a57600080fd5b506103f7610459366004611fd4565b610b2b565b34801561046a57600080fd5b50610376610bed565b34801561047f57600080fd5b50610376600e5481565b34801561049557600080fd5b5061043c6104a4366004612015565b610c3f565b3480156104b557600080fd5b506103f76104c4366004611fb7565b6000546001600160a01b0391821691161490565b3480156104e457600080fd5b506017546104f8906001600160a01b031681565b6040516001600160a01b039091168152602001610380565b34801561051c57600080fd5b5061043c61052b366004612015565b610cd3565b34801561053c57600080fd5b5060405160128152602001610380565b34801561055857600080fd5b5061043c61056736600461204c565b610d85565b34801561057857600080fd5b506103f7610587366004611fb7565b60096020526000908152604090205460ff1681565b3480156105a857600080fd5b506103f76105b7366004611fb7565b600b6020526000908152604090205460ff1681565b3480156105d857600080fd5b5061037660115481565b3480156105ee57600080fd5b50610376600d5481565b34801561060457600080fd5b506016546103f790600160a81b900460ff1681565b34801561062557600080fd5b506103f7610634366004611fb7565b610dd1565b34801561064557600080fd5b5061043c610ddf565b34801561065a57600080fd5b50600c546104f8906001600160a01b031681565b34801561067a57600080fd5b5061043c610e3e565b34801561068f57600080fd5b5061037661069e366004611fb7565b6001600160a01b031660009081526003602052604090205490565b3480156106c557600080fd5b5061037660195481565b3480156106db57600080fd5b5061037660105481565b3480156106f157600080fd5b50610376610700366004611fb7565b610e72565b34801561071157600080fd5b5061043c610ee1565b34801561072657600080fd5b5061043c610735366004612068565b610f8a565b34801561074657600080fd5b5061043c610755366004612068565b611006565b34801561076657600080fd5b5061043c611094565b34801561077b57600080fd5b506000546001600160a01b03166104f8565b34801561079957600080fd5b5061043c611102565b3480156107ae57600080fd5b506103f76107bd366004611fb7565b600a6020526000908152604090205460ff1681565b3480156107de57600080fd5b506016546104f8906001600160a01b031681565b3480156107fe57600080fd5b5060408051808201909152600681526512d15393915360d21b60208201526103ca565b34801561082d57600080fd5b5061043c61083c366004612081565b611141565b34801561084d57600080fd5b506013546104f8906001600160a01b031681565b34801561086d57600080fd5b506103f761087c366004611f8b565b611196565b34801561088d57600080fd5b5061043c61089c366004611fb7565b6111a3565b3480156108ad57600080fd5b5061043c6108bc366004612068565b6111ef565b3480156108cd57600080fd5b506001546104f8906001600160a01b031681565b3480156108ed57600080fd5b506014546104f8906001600160a01b031681565b34801561090d57600080fd5b5061043c61091c366004612015565b61121e565b34801561092d57600080fd5b50610376600f5481565b34801561094357600080fd5b5061043c610952366004612068565b611253565b34801561096357600080fd5b506103766109723660046120b6565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156109a957600080fd5b5061043c6112cb565b3480156109be57600080fd5b5061043c6109cd366004611fb7565b611345565b3480156109de57600080fd5b5061043c6109ed366004612081565b6113c3565b3480156109fe57600080fd5b506012546104f8906001600160a01b031681565b348015610a1e57600080fd5b50610376601a5481565b348015610a3457600080fd5b5061043c610a43366004612081565b6113f7565b348015610a5457600080fd5b506016546103f790600160b01b900460ff1681565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610ac49086815260200190565b60405180910390a35060015b92915050565b6000546001600160a01b03163314610b095760405162461bcd60e51b8152600401610b00906120ef565b60405180910390fd5b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316600090815260046020908152604080832033845290915281205460001914610bd8576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152600482528381203382529091529190912054610bb391849061148e565b6001600160a01b03851660009081526004602090815260408083203384529091529020555b610be38484846114c8565b90505b9392505050565b6008546001600160a01b0316600090815260036020526040812054610c3a906007546001600160a01b0316600090815260036020526040902054610c34906002549061191c565b9061191c565b905090565b6000546001600160a01b03163314610c695760405162461bcd60e51b8152600401610b00906120ef565b6017546040516316a4744b60e11b815260048101849052602481018390526001600160a01b0390911690632d48e896906044015b600060405180830381600087803b158015610cb757600080fd5b505af1158015610ccb573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610cfd5760405162461bcd60e51b8152600401610b00906120ef565b600d829055600e8190556007821115610d435760405162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b6044820152606401610b00565b6007600e541115610d815760405162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b6044820152606401610b00565b5050565b6000546001600160a01b03163314610daf5760405162461bcd60e51b8152600401610b00906120ef565b60168054921515600160a81b0260ff60a81b1990931692909217909155601b55565b6000610ad082600019610a69565b6017546040516351cff8d960e01b81523360048201526001600160a01b03909116906351cff8d990602401600060405180830381600087803b158015610e2457600080fd5b505af1158015610e38573d6000803e3d6000fd5b50505050565b6000546001600160a01b03163314610e685760405162461bcd60e51b8152600401610b00906120ef565b610e7061195e565b565b60175460405163051fa63360e31b81526001600160a01b03838116600483015260009216906328fd319890602401602060405180830381865afa158015610ebd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad0919061210f565b6000546001600160a01b03163314610f0b5760405162461bcd60e51b8152600401610b00906120ef565b601654600160b01b900460ff1615610f4f5760405162461bcd60e51b81526020600482015260076024820152662132b430bb329760c91b6044820152606401610b00565b610f5b6012600a612222565b610f689062e4e1c0612231565b601955610f776012600a612222565b610f85906301312d00612231565b601a55565b6000546001600160a01b03163314610fb45760405162461bcd60e51b8152600401610b00906120ef565b601a54811015610f855760405162461bcd60e51b815260206004820152601860248201527f43616e206e6f74206c6f776572206d61782077616c6c657400000000000000006044820152606401610b00565b6000546001600160a01b031633146110305760405162461bcd60e51b8152600401610b00906120ef565b6017546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401600060405180830381600087803b15801561107957600080fd5b505af115801561108d573d6000803e3d6000fd5b5050505050565b6000546001600160a01b031633146110be5760405162461bcd60e51b8152600401610b00906120ef565b4780156110ff576016546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610d81573d6000803e3d6000fd5b50565b6000546001600160a01b0316331461112c5760405162461bcd60e51b8152600401610b00906120ef565b6016805460ff60b01b1916600160b01b179055565b6000546001600160a01b0316331461116b5760405162461bcd60e51b8152600401610b00906120ef565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b6000610be63384846114c8565b6000546001600160a01b031633146111cd5760405162461bcd60e51b8152600401610b00906120ef565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146112195760405162461bcd60e51b8152600401610b00906120ef565b601855565b6000546001600160a01b031633146112485760405162461bcd60e51b8152600401610b00906120ef565b600f91909155601055565b6000546001600160a01b0316331461127d5760405162461bcd60e51b8152600401610b00906120ef565b6019548110156112c65760405162461bcd60e51b8152602060048201526014602482015273086c2dc40dcdee840d8deeecae440dac2f040e8f60631b6044820152606401610b00565b601955565b6000546001600160a01b031633146112f55760405162461bcd60e51b8152600401610b00906120ef565b601760009054906101000a90046001600160a01b03166001600160a01b031663dfbfbc6b6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610e2457600080fd5b6000546001600160a01b0316331461136f5760405162461bcd60e51b8152600401610b00906120ef565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc6861639060200160405180910390a150565b6000546001600160a01b031633146113ed5760405162461bcd60e51b8152600401610b00906120ef565b610d818282611a61565b6000546001600160a01b031633146114215760405162461bcd60e51b8152600401610b00906120ef565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6000610be683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b40565b600081848411156114b25760405162461bcd60e51b8152600401610b009190611f21565b5060006114bf8486612250565b95945050505050565b600080546001600160a01b038581169116148015906114f557506000546001600160a01b03848116911614155b1561155357601654600160b01b900460ff166115535760405162461bcd60e51b815260206004820152601760248201527f686f6c6420757220686f7273657320626967206775792e0000000000000000006044820152606401610b00565b601654600160a01b900460ff161561157757611570848484611b6e565b9050610be6565b601954821115806115a057506001600160a01b0384166000908152600a602052604090205460ff165b6115d15760405162461bcd60e51b81526020600482015260026024820152610e8f60f31b6044820152606401610b00565b6001600160a01b0383166000908152600a602052604090205460ff1661164e57601a546001600160a01b0384166000908152600360205260409020546116179084611c54565b111561164e5760405162461bcd60e51b81526020600482015260066024820152651dd85b1b195d60d21b6044820152606401610b00565b6013546001600160a01b031633148015906116735750601654600160a01b900460ff16155b80156116885750601654600160a81b900460ff165b80156116a55750601b543060009081526003602052604090205410155b156116b2576116b261195e565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03871660009081526003909152919091205461170491849061148e565b6001600160a01b038516600090815260036020908152604080832093909355600990529081205460ff1615801561175457506001600160a01b03841660009081526009602052604090205460ff16155b61175e5782611769565b611769858585611cb3565b6001600160a01b03851660009081526003602052604090205490915061178f9082611c54565b6001600160a01b038086166000908152600360209081526040808320949094559188168152600b909152205460ff16611833576017546001600160a01b0386811660008181526003602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b15801561182057600080fd5b505af1925050508015611831575060015b505b6001600160a01b0384166000908152600b602052604090205460ff166118c4576017546001600160a01b0385811660008181526003602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b1580156118b157600080fd5b505af19250505080156118c2575060015b505b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161190991815260200190565b60405180910390a3506001949350505050565b6000610be683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061148e565b6016805460ff60a01b1916600160a01b1790553060009081526003602052604090205461198a90611d76565b600047905060006119b160646119ab600f5485611e9f90919063ffffffff16565b9061144c565b9050601760009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015611a0357600080fd5b505af193505050508015611a15575060015b506016546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611a4f573d6000803e3d6000fd5b50506016805460ff60a01b1916905550565b6001600160a01b0382163014801590611a8857506013546001600160a01b03838116911614155b611a9157600080fd5b6001600160a01b0382166000908152600b60205260409020805460ff19168215801591909117909155611af757601754604051630a5b654b60e11b81526001600160a01b03848116600483015260006024830152909116906314b6ca9690604401610c9d565b6017546001600160a01b0383811660008181526003602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401610c9d565b60008183611b615760405162461bcd60e51b8152600401610b009190611f21565b5060006114bf8486612267565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600390915291822054611bbf91849061148e565b6001600160a01b038086166000908152600360205260408082209390935590851681522054611bee9083611c54565b6001600160a01b0380851660008181526003602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c429086815260200190565b60405180910390a35060019392505050565b600080611c618385612289565b905083811015610be65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b00565b60135460009081906001600160a01b03858116911614611cd557600d54611cd9565b600e545b90506000611cec60646119ab8685611e9f565b30600090815260036020526040902054909150611d099082611c54565b30600081815260036020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d5a9085815260200190565b60405180910390a3611d6c848261191c565b9695505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611dab57611dab6122a1565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e2891906122b7565b81600181518110611e3b57611e3b6122a1565b60200260200101906001600160a01b031690816001600160a01b031681525050611e653083610a69565b5060125460405163791ac94760e01b81526001600160a01b039091169063791ac94790610c9d9085906000908690309042906004016122d4565b600082600003611eb157506000610ad0565b6000611ebd8385612231565b905082611eca8583612267565b14610be65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b00565b600060208083528351808285015260005b81811015611f4e57858101830151858201604001528201611f32565b81811115611f60576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146110ff57600080fd5b60008060408385031215611f9e57600080fd5b8235611fa981611f76565b946020939093013593505050565b600060208284031215611fc957600080fd5b8135610be681611f76565b600080600060608486031215611fe957600080fd5b8335611ff481611f76565b9250602084013561200481611f76565b929592945050506040919091013590565b6000806040838503121561202857600080fd5b50508035926020909101359150565b8035801515811461204757600080fd5b919050565b6000806040838503121561205f57600080fd5b611fa983612037565b60006020828403121561207a57600080fd5b5035919050565b6000806040838503121561209457600080fd5b823561209f81611f76565b91506120ad60208401612037565b90509250929050565b600080604083850312156120c957600080fd5b82356120d481611f76565b915060208301356120e481611f76565b809150509250929050565b60208082526006908201526510a7bbb732b960d11b604082015260600190565b60006020828403121561212157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561217957816000190482111561215f5761215f612128565b8085161561216c57918102915b93841c9390800290612143565b509250929050565b60008261219057506001610ad0565b8161219d57506000610ad0565b81600181146121b357600281146121bd576121d9565b6001915050610ad0565b60ff8411156121ce576121ce612128565b50506001821b610ad0565b5060208310610133831016604e8410600b84101617156121fc575081810a610ad0565b612206838361213e565b806000190482111561221a5761221a612128565b029392505050565b6000610be660ff841683612181565b600081600019048311821515161561224b5761224b612128565b500290565b60008282101561226257612262612128565b500390565b60008261228457634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561229c5761229c612128565b500190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122c957600080fd5b8151610be681611f76565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123245784516001600160a01b0316835293830193918301916001016122ff565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212205d512590443b8e03fd789deb5cd9192ed7fb0dba91f1cb5f0a1214115da7264f64736f6c634300080d0033

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

000000000000000000000000192c041131cac94e49a43ca795b7bdf3298dd72b

-----Decoded View---------------
Arg [0] : _owner (address): 0x192C041131cAc94e49a43cA795b7Bdf3298dD72B

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000192c041131cac94e49a43ca795b7bdf3298dd72b


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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