Contract Address Details

0x88a637456386F547AAB3Ac233BAe068c2aa2Ba95

Token
candyFROGE (candyFROGE)
Creator
0xdfddce–42cafc at 0x537942–acf739
Balance
0 Doge
Tokens
Fetching tokens...
Transactions
6 Transactions
Transfers
3 Transfers
Gas Used
265,989
Last Balance Update
2786720
Contract is not verified. However, we found a verified contract with the same bytecode in Blockscout DB 0xf74e16ef420c9fdc81444ea87976341d34d04512.
All metadata displayed below is from that contract. In order to verify current contract, click Verify & Publish button
Verify & Publish
Contract name:
AntiBotBuybackBabyToken




Optimization enabled
true
Compiler version
v0.8.4+commit.c7e474f2




Optimization runs
200
Verified at
2022-09-04T18:07:24.839757Z

Contract source code

// Sources flattened with hardhat v2.9.3 https://hardhat.org

// File @openzeppelin/contracts/utils/math/SafeMath.sol@v4.6.0

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/proxy/Clones.sol@v4.6.0

// OpenZeppelin Contracts v4.4.1 (proxy/Clones.sol)

pragma solidity ^0.8.0;

/**
 * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for
 * deploying minimal proxy contracts, also known as "clones".
 *
 * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies
 * > a minimal bytecode implementation that delegates all calls to a known, fixed address.
 *
 * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2`
 * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the
 * deterministic method.
 *
 * _Available since v3.4._
 */
library Clones {
    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create opcode, which should never revert.
     */
    function clone(address implementation) internal returns (address instance) {
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(ptr, 0x14), shl(0x60, implementation))
            mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
            instance := create(0, ptr, 0x37)
        }
        require(instance != address(0), "ERC1167: create failed");
    }

    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create2 opcode and a `salt` to deterministically deploy
     * the clone. Using the same `implementation` and `salt` multiple time will revert, since
     * the clones cannot be deployed twice at the same address.
     */
    function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) {
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(ptr, 0x14), shl(0x60, implementation))
            mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
            instance := create2(0, ptr, 0x37, salt)
        }
        require(instance != address(0), "ERC1167: create2 failed");
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(
        address implementation,
        bytes32 salt,
        address deployer
    ) internal pure returns (address predicted) {
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(ptr, 0x14), shl(0x60, implementation))
            mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000)
            mstore(add(ptr, 0x38), shl(0x60, deployer))
            mstore(add(ptr, 0x4c), salt)
            mstore(add(ptr, 0x6c), keccak256(ptr, 0x37))
            predicted := keccak256(add(ptr, 0x37), 0x55)
        }
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(address implementation, bytes32 salt)
        internal
        view
        returns (address predicted)
    {
        return predictDeterministicAddress(implementation, salt, address(this));
    }
}


// File contracts/interfaces/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}


// File contracts/interfaces/IUniswapV2Router02.sol

pragma solidity >=0.6.2;

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

    function WETH() external pure returns (address);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File contracts/interfaces/IERC20Extended.sol

pragma solidity =0.8.4;

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


// File contracts/buyback/Auth.sol

pragma solidity =0.8.4;

abstract contract Auth {
    address internal owner;
    mapping(address => bool) internal authorizations;

    constructor(address _owner) {
        owner = _owner;
        authorizations[_owner] = true;
    }

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

    /**
     * Function modifier to require caller to be authorized
     */
    modifier authorized() {
        require(isAuthorized(msg.sender), "!AUTHORIZED");
        _;
    }

    /**
     * Authorize address. Owner only
     */
    function authorize(address adr) public onlyOwner {
        authorizations[adr] = true;
    }

    /**
     * Remove address' authorization. Owner only
     */
    function unauthorize(address adr) public onlyOwner {
        authorizations[adr] = false;
    }

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

    /**
     * Return address' authorization status
     */
    function isAuthorized(address adr) public view returns (bool) {
        return authorizations[adr];
    }

    /**
     * Transfer ownership to new address. Caller must be owner. Leaves old owner authorized
     */
    function transferOwnership(address payable adr) public onlyOwner {
        owner = adr;
        authorizations[adr] = true;
        emit OwnershipTransferred(adr);
    }

    event OwnershipTransferred(address owner);
}


// File contracts/buyback/DividendDistributor.sol

pragma solidity =0.8.4;



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

    function setShare(address shareholder, uint256 amount) external;

    function deposit() external payable;

    function process(uint256 gas) external;
}

contract DividendDistributor is IDividendDistributor {
    using SafeMath for uint256;

    address public _token;

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

    IERC20Extended public rewardToken;
    IUniswapV2Router02 public router;

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

    mapping(address => Share) public shares;

    uint256 public totalShares;
    uint256 public totalDividends;
    uint256 public totalDistributed;
    uint256 public dividendsPerShare;
    uint256 public dividendsPerShareAccuracyFactor;

    uint256 public minPeriod;
    uint256 public minDistribution;

    uint256 currentIndex;

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

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

    constructor(address rewardToken_, address router_) {
        _token = msg.sender;
        rewardToken = IERC20Extended(rewardToken_);
        router = IUniswapV2Router02(router_);

        dividendsPerShareAccuracyFactor = 10**36;
        minPeriod = 1 hours;
        minDistribution = 1 * (10**rewardToken.decimals());
    }

    function setDistributionCriteria(
        uint256 _minPeriod,
        uint256 _minDistribution
    ) external override onlyToken {
        minPeriod = _minPeriod;
        minDistribution = _minDistribution;
    }

    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() external payable override onlyToken {
        uint256 balanceBefore = rewardToken.balanceOf(address(this));

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

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

        uint256 amount = rewardToken.balanceOf(address(this)).sub(
            balanceBefore
        );

        totalDividends = totalDividends.add(amount);
        dividendsPerShare = dividendsPerShare.add(
            dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)
        );
    }

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

        if (shareholderCount == 0) {
            return;
        }

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

        uint256 iterations = 0;

        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)
        internal
        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);
            rewardToken.transfer(shareholder, amount);
            shareholderClaims[shareholder] = block.timestamp;
            shares[shareholder].totalRealised = shares[shareholder]
                .totalRealised
                .add(amount);
            shares[shareholder].totalExcluded = getCumulativeDividends(
                shares[shareholder].amount
            );
        }
    }

    function claimDividend() external {
        distributeDividend(msg.sender);
    }

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


// File contracts/interfaces/ICronosPadAntiBot.sol

pragma solidity >=0.5.0;

interface ICronosPadAntiBot {
    function setTokenOwner(address owner) external;

    function onPreTransferCheck(
        address from,
        address to,
        uint256 amount
    ) external;
}


// File contracts/BaseToken.sol

pragma solidity =0.8.4;

enum TokenType {
    standard,
    antiBotStandard,
    liquidityGenerator,
    antiBotLiquidityGenerator,
    baby,
    antiBotBaby,
    buybackBaby,
    antiBotBuybackBaby
}

abstract contract BaseToken {
    event TokenCreated(
        address indexed owner,
        address indexed token,
        TokenType tokenType,
        uint256 version
    );
}


// File contracts/tokens/AntiBotBuybackBabyToken.sol

pragma solidity 0.8.4;









contract AntiBotBuybackBabyToken is IERC20Extended, Auth, BaseToken {
    using SafeMath for uint256;

    uint256 public constant VERSION = 1;

    address private constant DEAD = address(0xdead);
    address private constant ZERO = address(0);
    uint8 private constant _decimals = 9;

    string private _name;
    string private _symbol;
    uint256 private _totalSupply;

    address public rewardToken;
    IUniswapV2Router02 public router;
    address public pair;
    address public autoLiquidityReceiver;
    address public marketingFeeReceiver;

    uint256 public liquidityFee; // default: 200
    uint256 public buybackFee; // default: 300
    uint256 public reflectionFee; // default: 800
    uint256 public marketingFee; // default: 100
    uint256 public totalFee;
    uint256 public feeDenominator; // default: 10000

    uint256 public targetLiquidity; // default: 25
    uint256 public targetLiquidityDenominator; // default: 100

    uint256 public buybackMultiplierNumerator; // default: 200
    uint256 public buybackMultiplierDenominator; // default: 100
    uint256 public buybackMultiplierTriggeredAt;
    uint256 public buybackMultiplierLength; // default: 30 mins

    bool public autoBuybackEnabled;

    uint256 public autoBuybackCap;
    uint256 public autoBuybackAccumulator;
    uint256 public autoBuybackAmount;
    uint256 public autoBuybackBlockPeriod;
    uint256 public autoBuybackBlockLast;

    DividendDistributor public distributor;

    uint256 public distributorGas;

    bool public swapEnabled;
    uint256 public swapThreshold;

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

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

    ICronosPadAntiBot public cronosPadAntiBot;
    bool public enableAntiBot;

    event AutoLiquify(uint256 amountBNB, uint256 amountBOG);
    event BuybackMultiplierActive(uint256 duration);

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

    modifier onlyBuybacker() {
        require(buyBacker[msg.sender] == true, "Not a buybacker");
        _;
    }

    constructor(
        string memory name_,
        string memory symbol_,
        uint256 totalSupply_,
        address rewardToken_,
        address router_,
        address antiBot_,
        uint256[5] memory feeSettings_,
        address serviceFeeReceiver_,
        uint256 serviceFee_
    ) payable Auth(msg.sender) {
        _name = name_;
        _symbol = symbol_;
        _totalSupply = totalSupply_;

        cronosPadAntiBot = ICronosPadAntiBot(antiBot_);
        cronosPadAntiBot.setTokenOwner(msg.sender);
        enableAntiBot = true;

        rewardToken = rewardToken_;
        router = IUniswapV2Router02(router_);
        pair = IUniswapV2Factory(router.factory()).createPair(
            address(this),
            router.WETH()
        );
        distributor = new DividendDistributor(rewardToken_, router_);

        _initializeFees(feeSettings_);
        _initializeLiquidityBuyBack();

        distributorGas = 500000;
        swapEnabled = true;
        swapThreshold = _totalSupply / 20000; // 0.005%

        isFeeExempt[msg.sender] = true;
        isDividendExempt[pair] = true;
        isDividendExempt[address(this)] = true;
        isDividendExempt[DEAD] = true;
        buyBacker[msg.sender] = true;

        autoLiquidityReceiver = msg.sender;
        marketingFeeReceiver = msg.sender;

        _allowances[address(this)][address(router)] = _totalSupply;
        _allowances[address(this)][address(pair)] = _totalSupply;

        _balances[msg.sender] = _totalSupply;
        emit Transfer(address(0), msg.sender, _totalSupply);

        emit TokenCreated(
            msg.sender,
            address(this),
            TokenType.antiBotBuybackBaby,
            VERSION
        );

        payable(serviceFeeReceiver_).transfer(serviceFee_);
    }

    function _initializeFees(uint256[5] memory feeSettings_) internal {
        _setFees(
            feeSettings_[0], // liquidityFee
            feeSettings_[1], // buybackFee
            feeSettings_[2], // reflectionFee
            feeSettings_[3], // marketingFee
            feeSettings_[4] // feeDenominator
        );
    }

    function _initializeLiquidityBuyBack() internal {
        targetLiquidity = 25;
        targetLiquidityDenominator = 100;

        buybackMultiplierNumerator = 200;
        buybackMultiplierDenominator = 100;
        buybackMultiplierLength = 30 minutes;
    }

    function setEnableAntiBot(bool _enable) external authorized {
        enableAntiBot = _enable;
    }

    receive() external payable {}

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

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

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

    function name() external view 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 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, _totalSupply);
    }

    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] != _totalSupply) {
            _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) {
        if (enableAntiBot) {
            cronosPadAntiBot.onPreTransferCheck(sender, recipient, amount);
        }

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

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

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

        uint256 amountReceived = shouldTakeFee(sender)
            ? takeFee(sender, recipient, amount)
            : amount;

        _balances[recipient] = _balances[recipient].add(amountReceived);

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

        try distributor.process(distributorGas) {} catch {}

        emit Transfer(sender, recipient, amountReceived);
        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 shouldTakeFee(address sender) internal view returns (bool) {
        return !isFeeExempt[sender];
    }

    function getTotalFee(bool selling) public view returns (uint256) {
        if (selling) {
            return getMultipliedFee();
        }
        return totalFee;
    }

    function getMultipliedFee() public view returns (uint256) {
        if (
            buybackMultiplierTriggeredAt.add(buybackMultiplierLength) >
            block.timestamp
        ) {
            uint256 remainingTime = buybackMultiplierTriggeredAt
                .add(buybackMultiplierLength)
                .sub(block.timestamp);
            uint256 feeIncrease = totalFee
                .mul(buybackMultiplierNumerator)
                .div(buybackMultiplierDenominator)
                .sub(totalFee);
            return
                totalFee.add(
                    feeIncrease.mul(remainingTime).div(buybackMultiplierLength)
                );
        }
        return totalFee;
    }

    function takeFee(
        address sender,
        address receiver,
        uint256 amount
    ) internal returns (uint256) {
        uint256 feeAmount = amount.mul(getTotalFee(receiver == pair)).div(
            feeDenominator
        );

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

        return amount.sub(feeAmount);
    }

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

    function swapBack() internal swapping {
        uint256 dynamicLiquidityFee = isOverLiquified(
            targetLiquidity,
            targetLiquidityDenominator
        )
            ? 0
            : liquidityFee;
        uint256 amountToLiquify = swapThreshold
            .mul(dynamicLiquidityFee)
            .div(totalFee)
            .div(2);
        uint256 amountToSwap = swapThreshold.sub(amountToLiquify);

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

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

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

        uint256 totalBNBFee = totalFee.sub(dynamicLiquidityFee.div(2));

        uint256 amountBNBLiquidity = amountBNB
            .mul(dynamicLiquidityFee)
            .div(totalBNBFee)
            .div(2);
        uint256 amountBNBReflection = amountBNB.mul(reflectionFee).div(
            totalBNBFee
        );
        uint256 amountBNBMarketing = amountBNB.mul(marketingFee).div(
            totalBNBFee
        );

        try distributor.deposit{value: amountBNBReflection}() {} catch {}
        payable(marketingFeeReceiver).transfer(amountBNBMarketing);

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

    function shouldAutoBuyback() internal view returns (bool) {
        return
            msg.sender != pair &&
            !inSwap &&
            autoBuybackEnabled &&
            autoBuybackBlockLast + autoBuybackBlockPeriod <= block.number && // After N blocks from last buyback
            address(this).balance >= autoBuybackAmount;
    }

    function triggerZeusBuyback(uint256 amount, bool triggerBuybackMultiplier)
        external
        authorized
    {
        buyTokens(amount, DEAD);
        if (triggerBuybackMultiplier) {
            buybackMultiplierTriggeredAt = block.timestamp;
            emit BuybackMultiplierActive(buybackMultiplierLength);
        }
    }

    function clearBuybackMultiplier() external authorized {
        buybackMultiplierTriggeredAt = 0;
    }

    function triggerAutoBuyback() internal {
        buyTokens(autoBuybackAmount, DEAD);
        autoBuybackBlockLast = block.number;
        autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount);
        if (autoBuybackAccumulator > autoBuybackCap) {
            autoBuybackEnabled = false;
        }
    }

    function buyTokens(uint256 amount, address to) internal swapping {
        address[] memory path = new address[](2);
        path[0] = router.WETH();
        path[1] = address(this);

        router.swapExactETHForTokensSupportingFeeOnTransferTokens{
            value: amount
        }(0, path, to, block.timestamp);
    }

    function setAutoBuybackSettings(
        bool _enabled,
        uint256 _cap,
        uint256 _amount,
        uint256 _period
    ) external authorized {
        autoBuybackEnabled = _enabled;
        autoBuybackCap = _cap;
        autoBuybackAccumulator = 0;
        autoBuybackAmount = _amount;
        autoBuybackBlockPeriod = _period;
        autoBuybackBlockLast = block.number;
    }

    function setBuybackMultiplierSettings(
        uint256 numerator,
        uint256 denominator,
        uint256 length
    ) external authorized {
        require(numerator / denominator <= 2 && numerator > denominator);
        buybackMultiplierNumerator = numerator;
        buybackMultiplierDenominator = denominator;
        buybackMultiplierLength = length;
    }

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

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

    function setBuyBacker(address acc, bool add) external authorized {
        buyBacker[acc] = add;
    }

    function setFees(
        uint256 _liquidityFee,
        uint256 _buybackFee,
        uint256 _reflectionFee,
        uint256 _marketingFee,
        uint256 _feeDenominator
    ) public authorized {
        _setFees(
            _liquidityFee,
            _buybackFee,
            _reflectionFee,
            _marketingFee,
            _feeDenominator
        );
    }

    function _setFees(
        uint256 _liquidityFee,
        uint256 _buybackFee,
        uint256 _reflectionFee,
        uint256 _marketingFee,
        uint256 _feeDenominator
    ) internal {
        liquidityFee = _liquidityFee;
        buybackFee = _buybackFee;
        reflectionFee = _reflectionFee;
        marketingFee = _marketingFee;
        totalFee = _liquidityFee.add(_buybackFee).add(_reflectionFee).add(
            _marketingFee
        );
        feeDenominator = _feeDenominator;
        require(
            totalFee < feeDenominator / 4,
            "Total fee should not be greater than 1/4 of fee denominator"
        );
    }

    function setFeeReceivers(
        address _autoLiquidityReceiver,
        address _marketingFeeReceiver
    ) external authorized {
        autoLiquidityReceiver = _autoLiquidityReceiver;
        marketingFeeReceiver = _marketingFeeReceiver;
    }

    function setSwapBackSettings(bool _enabled, uint256 _amount)
        external
        authorized
    {
        swapEnabled = _enabled;
        swapThreshold = _amount;
    }

    function setTargetLiquidity(uint256 _target, uint256 _denominator)
        external
        authorized
    {
        targetLiquidity = _target;
        targetLiquidityDenominator = _denominator;
    }

    function setDistributionCriteria(
        uint256 _minPeriod,
        uint256 _minDistribution
    ) external authorized {
        distributor.setDistributionCriteria(_minPeriod, _minDistribution);
    }

    function setDistributorSettings(uint256 gas) external authorized {
        require(gas < 750000, "Gas must be lower than 750000");
        distributorGas = gas;
    }

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

    function getLiquidityBacking(uint256 accuracy)
        public
        view
        returns (uint256)
    {
        return accuracy.mul(balanceOf(pair).mul(2)).div(getCirculatingSupply());
    }

    function isOverLiquified(uint256 target, uint256 accuracy)
        public
        view
        returns (bool)
    {
        return getLiquidityBacking(accuracy) > target;
    }
}
        

Contract ABI

[{"type":"constructor","stateMutability":"payable","inputs":[{"type":"string","name":"name_","internalType":"string"},{"type":"string","name":"symbol_","internalType":"string"},{"type":"uint256","name":"totalSupply_","internalType":"uint256"},{"type":"address","name":"rewardToken_","internalType":"address"},{"type":"address","name":"router_","internalType":"address"},{"type":"address","name":"antiBot_","internalType":"address"},{"type":"uint256[5]","name":"feeSettings_","internalType":"uint256[5]"},{"type":"address","name":"serviceFeeReceiver_","internalType":"address"},{"type":"uint256","name":"serviceFee_","internalType":"uint256"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"AutoLiquify","inputs":[{"type":"uint256","name":"amountBNB","internalType":"uint256","indexed":false},{"type":"uint256","name":"amountBOG","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"BuybackMultiplierActive","inputs":[{"type":"uint256","name":"duration","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"TokenCreated","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"uint8","name":"tokenType","internalType":"enum TokenType","indexed":false},{"type":"uint256","name":"version","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"VERSION","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"holder","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approveMax","inputs":[{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"authorize","inputs":[{"type":"address","name":"adr","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"autoBuybackAccumulator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"autoBuybackAmount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"autoBuybackBlockLast","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"autoBuybackBlockPeriod","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"autoBuybackCap","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"autoBuybackEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"autoLiquidityReceiver","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"buyBacker","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buybackFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buybackMultiplierDenominator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buybackMultiplierLength","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buybackMultiplierNumerator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buybackMultiplierTriggeredAt","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"clearBuybackMultiplier","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract ICronosPadAntiBot"}],"name":"cronosPadAntiBot","inputs":[]},{"type":"function","stateMutability":"pure","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract DividendDistributor"}],"name":"distributor","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"distributorGas","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"enableAntiBot","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"feeDenominator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getCirculatingSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLiquidityBacking","inputs":[{"type":"uint256","name":"accuracy","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getMultipliedFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getTotalFee","inputs":[{"type":"bool","name":"selling","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isAuthorized","inputs":[{"type":"address","name":"adr","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isDividendExempt","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isFeeExempt","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isOverLiquified","inputs":[{"type":"uint256","name":"target","internalType":"uint256"},{"type":"uint256","name":"accuracy","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isOwner","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"liquidityFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"marketingFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"marketingFeeReceiver","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"reflectionFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"rewardToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"router","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAutoBuybackSettings","inputs":[{"type":"bool","name":"_enabled","internalType":"bool"},{"type":"uint256","name":"_cap","internalType":"uint256"},{"type":"uint256","name":"_amount","internalType":"uint256"},{"type":"uint256","name":"_period","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBuyBacker","inputs":[{"type":"address","name":"acc","internalType":"address"},{"type":"bool","name":"add","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBuybackMultiplierSettings","inputs":[{"type":"uint256","name":"numerator","internalType":"uint256"},{"type":"uint256","name":"denominator","internalType":"uint256"},{"type":"uint256","name":"length","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDistributionCriteria","inputs":[{"type":"uint256","name":"_minPeriod","internalType":"uint256"},{"type":"uint256","name":"_minDistribution","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDistributorSettings","inputs":[{"type":"uint256","name":"gas","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setEnableAntiBot","inputs":[{"type":"bool","name":"_enable","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFeeReceivers","inputs":[{"type":"address","name":"_autoLiquidityReceiver","internalType":"address"},{"type":"address","name":"_marketingFeeReceiver","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFees","inputs":[{"type":"uint256","name":"_liquidityFee","internalType":"uint256"},{"type":"uint256","name":"_buybackFee","internalType":"uint256"},{"type":"uint256","name":"_reflectionFee","internalType":"uint256"},{"type":"uint256","name":"_marketingFee","internalType":"uint256"},{"type":"uint256","name":"_feeDenominator","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setIsDividendExempt","inputs":[{"type":"address","name":"holder","internalType":"address"},{"type":"bool","name":"exempt","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setIsFeeExempt","inputs":[{"type":"address","name":"holder","internalType":"address"},{"type":"bool","name":"exempt","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapBackSettings","inputs":[{"type":"bool","name":"_enabled","internalType":"bool"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTargetLiquidity","inputs":[{"type":"uint256","name":"_target","internalType":"uint256"},{"type":"uint256","name":"_denominator","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapThreshold","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"targetLiquidity","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"targetLiquidityDenominator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"adr","internalType":"address payable"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"triggerZeusBuyback","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bool","name":"triggerBuybackMultiplier","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unauthorize","inputs":[{"type":"address","name":"adr","internalType":"address"}]},{"type":"receive","stateMutability":"payable"}]
            

Contract Creation Code

Verify & Publish
0x6080604052604051620043c5380380620043c58339810160408190526200002691620007d6565b600080546001600160a01b0319163390811782558152600160208181526040909220805460ff1916909117905589516200006791600291908c019062000657565b5087516200007d9060039060208b019062000657565b506004878155602580546001600160a01b0319166001600160a01b0387169081179091556040516318e02bd960e01b81523392810192909252906318e02bd990602401600060405180830381600087803b158015620000db57600080fd5b505af1158015620000f0573d6000803e3d6000fd5b50506025805460ff60a01b1916600160a01b1790555050600580546001600160a01b038089166001600160a01b0319928316179092556006805492881692909116821790556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b1580156200016c57600080fd5b505afa15801562000181573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a79190620007b9565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020557600080fd5b505afa1580156200021a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002409190620007b9565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200028957600080fd5b505af11580156200029e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c49190620007b9565b600760006101000a8154816001600160a01b0302191690836001600160a01b031602179055508585604051620002fa90620006e6565b6001600160a01b03928316815291166020820152604001604051809103906000f0801580156200032e573d6000803e3d6000fd5b50601c80546001600160a01b0319166001600160a01b03929092169190911790556200035a836200053c565b6200037a60196010556064601181905560c8601255601355610708601555565b6207a120601d55601e805460ff19166001179055600454620003a090614e2090620009a6565b601f553360008181526023602090815260408083208054600160ff199182168117909255600780546001600160a01b0390811687526024865284872080548416851790553080885285882080548516861790557fc85df64b997460f9ebf6929eca33c1ed2309802ac6ba41eea1e539280d5c25008054851686179055888852602287528588208054909416909417909255600880546001600160a01b031990811689179091556009805490911688179055600454928652602185528386206006548316875285528386208390555416845281842081905584845282805281842081905590519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3604051309033907f56358b41df5fa59f5639228f0930994cbdde383c8a8fd74e06c04e1deebe356290620004ed90600790600190620008f6565b60405180910390a36040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156200052c573d6000803e3d6000fd5b5050505050505050505062000a1a565b8051602082015160408301516060840151608085015162000561949392919062000564565b50565b600a859055600b849055600c839055600d829055620005ab82620005978581898962000642602090811b620015ef17901c565b6200064260201b620015ef1790919060201c565b600e55600f819055620005c0600482620009a6565b600e54106200063b5760405162461bcd60e51b815260206004820152603b60248201527f546f74616c206665652073686f756c64206e6f7420626520677265617465722060448201527f7468616e20312f34206f66206665652064656e6f6d696e61746f720000000000606482015260840160405180910390fd5b5050505050565b600062000650828462000981565b9392505050565b8280546200066590620009c7565b90600052602060002090601f016020900481019282620006895760008555620006d4565b82601f10620006a457805160ff1916838001178555620006d4565b82800160010185558215620006d4579182015b82811115620006d4578251825591602001919060010190620006b7565b50620006e2929150620006f4565b5090565b611236806200318f83390190565b5b80821115620006e25760008155600101620006f5565b80516001600160a01b03811681146200072357600080fd5b919050565b600082601f83011262000739578081fd5b81516001600160401b0381111562000755576200075562000a04565b60206200076b601f8301601f191682016200094e565b82815285828487010111156200077f578384fd5b835b838110156200079e57858101830151828201840152820162000781565b83811115620007af57848385840101525b5095945050505050565b600060208284031215620007cb578081fd5b62000650826200070b565b60008060008060008060008060006101a08a8c031215620007f5578485fd5b89516001600160401b03808211156200080c578687fd5b6200081a8d838e0162000728565b9a5060209150818c01518181111562000831578788fd5b6200083f8e828f0162000728565b9a50505060408b015197506200085860608c016200070b565b96506200086860808c016200070b565b95506200087860a08c016200070b565b94508b60df8c011262000889578384fd5b6200089362000923565b8060c08d016101608e018f811115620008aa578788fd5b875b6005811015620008cb57825185529385019391850191600101620008ac565b50829750620008da816200070b565b965050505050506101808a015190509295985092959850929598565b60408101600884106200091957634e487b7160e01b600052602160045260246000fd5b9281526020015290565b60405160a081016001600160401b038111828210171562000948576200094862000a04565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000979576200097962000a04565b604052919050565b60008219821115620009a157634e487b7160e01b81526011600452602481fd5b500190565b600082620009c257634e487b7160e01b81526012600452602481fd5b500490565b600181811c90821680620009dc57607f821691505b60208210811415620009fe57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6127658062000a2a6000396000f3fe6080604052600436106103e85760003560e01c80636ddd171311610208578063ca33e64c11610118578063f0b37c04116100ab578063f708a64f1161007a578063f708a64f14610b69578063f7c618c114610b89578063f887ea4014610ba9578063fe9fbb8014610bc9578063ffa1ad7414610be957600080fd5b8063f0b37c0414610ae9578063f1f3bca314610b09578063f2fde38b14610b29578063f5cfec0a14610b4957600080fd5b8063df20fd49116100e7578063df20fd4914610a63578063e96fada214610a83578063ecbf666f14610aa3578063eff0dc2214610ab957600080fd5b8063ca33e64c146109c8578063d51ed1c8146109e8578063d806d12f14610a08578063dd62ed3e14610a1d57600080fd5b806398118cb41161019b578063a9059cbb1161016a578063a9059cbb1461093d578063b210b06d1461095d578063b6a5d7de14610972578063b91854f414610992578063bfe10928146109a857600080fd5b806398118cb4146108c75780639d1944f5146108dd578063a4b45c00146108fd578063a8aa1b311461091d57600080fd5b80638ab6ffc7116101d75780638ab6ffc714610870578063921250d11461088657806392258ec81461089c57806395d89b41146108b257600080fd5b80636ddd1713146107f55780636e78eb491461080f57806370a082311461082557806383ad79941461085a57600080fd5b8063241ec3be116103035780634355855a11610296578063591cf08d11610265578063591cf08d1461077d5780635a53c1fb1461079357806360e71962146107a9578063658d4b7f146107bf5780636b67c4df146107df57600080fd5b80634355855a146106df5780634896a6321461070f57806351969d2f14610725578063571ac8b01461075d57600080fd5b8063313ce567116102d2578063313ce567146106635780633b2d081c1461067f5780633bb8a8d4146106955780633f4218e0146106af57600080fd5b8063241ec3be146105de5780632b112e49146105ff5780632d48e896146106145780632f54bf6e1461063457600080fd5b8063180b0d7e1161037b5780631f46b1c61161034a5780631f46b1c61461055e578063201e79911461057e5780632375ce401461059e57806323b872dd146105be57600080fd5b8063180b0d7e1461050757806318160ddd1461051d57806319be947b146105325780631df4ccfc1461054857600080fd5b8063095ea7b3116103b7578063095ea7b3146104815780631023d5d4146104b15780631161ae39146104c757806317d43583146104e757600080fd5b80630445b667146103f4578063048c7baf1461041d57806304a66b481461043f57806306fdde031461045f57600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b5061040a601f5481565b6040519081526020015b60405180910390f35b34801561042957600080fd5b5061043d6104383660046123e7565b610bfe565b005b34801561044b57600080fd5b5061043d61045a3660046124d2565b610c55565b34801561046b57600080fd5b50610474610c8e565b6040516104149190612584565b34801561048d57600080fd5b506104a161049c366004612387565b610d20565b6040519015158152602001610414565b3480156104bd57600080fd5b5061040a60155481565b3480156104d357600080fd5b506104a16104e2366004612459565b610d8c565b3480156104f357600080fd5b5061043d610502366004612353565b610da0565b34801561051357600080fd5b5061040a600f5481565b34801561052957600080fd5b5060045461040a565b34801561053e57600080fd5b5061040a60145481565b34801561055457600080fd5b5061040a600e5481565b34801561056a57600080fd5b5061043d6105793660046123b2565b610df0565b34801561058a57600080fd5b5061043d610599366004612459565b610e33565b3480156105aa57600080fd5b5061043d6105b936600461247a565b610e63565b3480156105ca57600080fd5b506104a16105d9366004612313565b610eb8565b3480156105ea57600080fd5b506025546104a190600160a01b900460ff1681565b34801561060b57600080fd5b5061040a610f7c565b34801561062057600080fd5b5061043d61062f366004612459565b610fec565b34801561064057600080fd5b506104a161064f3660046122a3565b6000546001600160a01b0391821691161490565b34801561066f57600080fd5b5060405160098152602001610414565b34801561068b57600080fd5b5061040a600b5481565b3480156106a157600080fd5b506016546104a19060ff1681565b3480156106bb57600080fd5b506104a16106ca3660046122a3565b60236020526000908152604090205460ff1681565b3480156106eb57600080fd5b506104a16106fa3660046122a3565b60246020526000908152604090205460ff1681565b34801561071b57600080fd5b5061040a60195481565b34801561073157600080fd5b50602554610745906001600160a01b031681565b6040516001600160a01b039091168152602001610414565b34801561076957600080fd5b506104a16107783660046122a3565b61107b565b34801561078957600080fd5b5061040a60175481565b34801561079f57600080fd5b5061040a601a5481565b3480156107b557600080fd5b5061040a601d5481565b3480156107cb57600080fd5b5061043d6107da366004612353565b61108f565b3480156107eb57600080fd5b5061040a600d5481565b34801561080157600080fd5b50601e546104a19060ff1681565b34801561081b57600080fd5b5061040a60185481565b34801561083157600080fd5b5061040a6108403660046122a3565b6001600160a01b0316600090815260208052604090205490565b34801561086657600080fd5b5061040a600c5481565b34801561087c57600080fd5b5061040a60115481565b34801561089257600080fd5b5061040a60125481565b3480156108a857600080fd5b5061040a60105481565b3480156108be57600080fd5b506104746110df565b3480156108d357600080fd5b5061040a600a5481565b3480156108e957600080fd5b5061043d6108f836600461241f565b6110ee565b34801561090957600080fd5b5061043d6109183660046122db565b61116a565b34801561092957600080fd5b50600754610745906001600160a01b031681565b34801561094957600080fd5b506104a1610958366004612387565b6111bd565b34801561096957600080fd5b5061043d6111ca565b34801561097e57600080fd5b5061043d61098d3660046122a3565b6111f6565b34801561099e57600080fd5b5061040a601b5481565b3480156109b457600080fd5b50601c54610745906001600160a01b031681565b3480156109d457600080fd5b50600854610745906001600160a01b031681565b3480156109f457600080fd5b5061040a610a0336600461241f565b611247565b348015610a1457600080fd5b5061040a61128a565b348015610a2957600080fd5b5061040a610a383660046122db565b6001600160a01b03918216600090815260216020908152604080832093909416825291909152205490565b348015610a6f57600080fd5b5061043d610a7e3660046123cc565b611323565b348015610a8f57600080fd5b50600954610745906001600160a01b031681565b348015610aaf57600080fd5b5061040a60135481565b348015610ac557600080fd5b506104a1610ad43660046122a3565b60226020526000908152604090205460ff1681565b348015610af557600080fd5b5061043d610b043660046122a3565b61135f565b348015610b1557600080fd5b5061040a610b243660046123b2565b6113aa565b348015610b3557600080fd5b5061043d610b443660046122a3565b6113c2565b348015610b5557600080fd5b5061043d610b64366004612437565b611458565b348015610b7557600080fd5b5061043d610b84366004612353565b6114ce565b348015610b9557600080fd5b50600554610745906001600160a01b031681565b348015610bb557600080fd5b50600654610745906001600160a01b031681565b348015610bd557600080fd5b506104a1610be43660046122a3565b6115d1565b348015610bf557600080fd5b5061040a600181565b610c07336115d1565b610c2c5760405162461bcd60e51b8152600401610c23906125f7565b60405180910390fd5b6016805460ff1916941515949094179093556017919091556000601855601955601a5543601b55565b610c5e336115d1565b610c7a5760405162461bcd60e51b8152600401610c23906125f7565b610c8785858585856115fb565b5050505050565b606060028054610c9d906126c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc9906126c6565b8015610d165780601f10610ceb57610100808354040283529160200191610d16565b820191906000526020600020905b815481529060010190602001808311610cf957829003601f168201915b5050505050905090565b3360008181526021602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610d7b9086815260200190565b60405180910390a350600192915050565b600082610d9883611247565b119392505050565b610da9336115d1565b610dc55760405162461bcd60e51b8152600401610c23906125f7565b6001600160a01b03919091166000908152602260205260409020805460ff1916911515919091179055565b610df9336115d1565b610e155760405162461bcd60e51b8152600401610c23906125f7565b60258054911515600160a01b0260ff60a01b19909216919091179055565b610e3c336115d1565b610e585760405162461bcd60e51b8152600401610c23906125f7565b601091909155601155565b610e6c336115d1565b610e885760405162461bcd60e51b8152600401610c23906125f7565b6002610e948385612670565b11158015610ea157508183115b610eaa57600080fd5b601292909255601355601555565b6004546001600160a01b0384166000908152602160209081526040808320338452909152812054909114610f67576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152602182528381203382529091529190912054610f429184906116ae565b6001600160a01b03851660009081526021602090815260408083203384529091529020555b610f728484846116da565b90505b9392505050565b602080527f29ab76e7ca72530a8284597fb76b039d796325740b21528d71ade454c6f2dbe95461dead60009081527fcbaad361c71be11fa6bdbe0e740c6259be964b32182da2da47b54472477c6a17546004549192610fe7929091610fe19190611a4c565b90611a4c565b905090565b610ff5336115d1565b6110115760405162461bcd60e51b8152600401610c23906125f7565b601c546040516316a4744b60e11b815260048101849052602481018390526001600160a01b0390911690632d48e896906044015b600060405180830381600087803b15801561105f57600080fd5b505af1158015611073573d6000803e3d6000fd5b505050505050565b600061108982600454610d20565b92915050565b611098336115d1565b6110b45760405162461bcd60e51b8152600401610c23906125f7565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b606060038054610c9d906126c6565b6110f7336115d1565b6111135760405162461bcd60e51b8152600401610c23906125f7565b620b71b081106111655760405162461bcd60e51b815260206004820152601d60248201527f476173206d757374206265206c6f776572207468616e203735303030300000006044820152606401610c23565b601d55565b611173336115d1565b61118f5760405162461bcd60e51b8152600401610c23906125f7565b600880546001600160a01b039384166001600160a01b03199182161790915560098054929093169116179055565b6000610f753384846116da565b6111d3336115d1565b6111ef5760405162461bcd60e51b8152600401610c23906125f7565b6000601455565b6000546001600160a01b031633146112205760405162461bcd60e51b8152600401610c23906125d7565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b6000611089611254610f7c565b6007546001600160a01b031660009081526020805260409020546112849061127d906002611a58565b8590611a58565b90611a64565b6000426112a46015546014546115ef90919063ffffffff16565b111561131c5760006112c742610fe16015546014546115ef90919063ffffffff16565b905060006112ee600e54610fe1601354611284601254600e54611a5890919063ffffffff16565b905061131561130c6015546112848585611a5890919063ffffffff16565b600e54906115ef565b9250505090565b50600e5490565b61132c336115d1565b6113485760405162461bcd60e51b8152600401610c23906125f7565b601e805460ff191692151592909217909155601f55565b6000546001600160a01b031633146113895760405162461bcd60e51b8152600401610c23906125d7565b6001600160a01b03166000908152600160205260409020805460ff19169055565b600081156113ba5761108961128a565b5050600e5490565b6000546001600160a01b031633146113ec5760405162461bcd60e51b8152600401610c23906125d7565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b611461336115d1565b61147d5760405162461bcd60e51b8152600401610c23906125f7565b6114898261dead611a70565b80156114ca57426014556015546040519081527f39d2389ec5c1fa77b2c0d374bc61b6d7bd97ccba280fcdeb4e9c7644898d7c3a9060200160405180910390a15b5050565b6114d7336115d1565b6114f35760405162461bcd60e51b8152600401610c23906125f7565b6001600160a01b038216301480159061151a57506007546001600160a01b03838116911614155b61152357600080fd5b6001600160a01b0382166000908152602460205260409020805460ff1916821580159190911790915561158957601c54604051630a5b654b60e11b81526001600160a01b03848116600483015260006024830152909116906314b6ca9690604401611045565b601c546001600160a01b03838116600081815260208052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401611045565b6001600160a01b031660009081526001602052604090205460ff1690565b6000610f758284612658565b600a859055600b849055600c839055600d8290556116258261161f858189896115ef565b906115ef565b600e55600f819055611638600482612670565b600e5410610c875760405162461bcd60e51b815260206004820152603b60248201527f546f74616c206665652073686f756c64206e6f7420626520677265617465722060448201527f7468616e20312f34206f66206665652064656e6f6d696e61746f7200000000006064820152608401610c23565b600081848411156116d25760405162461bcd60e51b8152600401610c239190612584565b505050900390565b602554600090600160a01b900460ff161561175e5760255460405163090ec10b60e31b81526001600160a01b03868116600483015285811660248301526044820185905290911690634876085890606401600060405180830381600087803b15801561174557600080fd5b505af1158015611759573d6000803e3d6000fd5b505050505b602554600160a81b900460ff16156117825761177b848484611c0d565b9050610f75565b61178a611ce8565b1561179757611797611d3d565b61179f61213e565b156117ac576117ac6121a0565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038716600090815290805291909120546117fc9184906116ae565b6001600160a01b03851660009081526020808052604080832093909355602390529081205460ff161561182f578261183a565b61183a8585856121dc565b6001600160a01b038516600090815260208052604090205490915061185f90826115ef565b6001600160a01b038086166000908152602080805260408083209490945591881681526024909152205460ff1661190057601c546001600160a01b03868116600081815260208052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b1580156118ed57600080fd5b505af19250505080156118fe575060015b505b6001600160a01b03841660009081526024602052604090205460ff1661199057601c546001600160a01b03858116600081815260208052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b15801561197d57600080fd5b505af192505050801561198e575060015b505b601c54601d546040516001624d3b8760e01b031981526001600160a01b039092169163ffb2c479916119c89160040190815260200190565b600060405180830381600087803b1580156119e257600080fd5b505af19250505080156119f3575060015b50836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611a3991815260200190565b60405180910390a3506001949350505050565b6000610f7582846126af565b6000610f758284612690565b6000610f758284612670565b6025805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b158015611ae857600080fd5b505afa158015611afc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2091906122bf565b81600081518110611b4157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611b8357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260065460405163b6f9de9560e01b815291169063b6f9de95908590611bc99060009086908890429060040161254f565b6000604051808303818588803b158015611be257600080fd5b505af1158015611bf6573d6000803e3d6000fd5b50506025805460ff60a81b19169055505050505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038616600090815290805291822054611c5c9184906116ae565b6001600160a01b0380861660009081526020805260408082209390935590851681522054611c8a90836115ef565b6001600160a01b038481166000818152602080805260409182902094909455518581529092918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35060019392505050565b6007546000906001600160a01b03163314801590611d105750602554600160a81b900460ff16155b8015611d1e5750601e5460ff165b8015610fe7575050601f54306000908152602080526040902054101590565b6025805460ff60a81b1916600160a81b179055601054601154600091611d6291610d8c565b611d6e57600a54611d71565b60005b90506000611d956002611284600e5461128486601f54611a5890919063ffffffff16565b90506000611dae82601f54611a4c90919063ffffffff16565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611df657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611e4a57600080fd5b505afa158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8291906122bf565b81600181518110611ea357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b81524792919091169063791ac94790611eed90869060009087903090429060040161261c565b600060405180830381600087803b158015611f0757600080fd5b505af1158015611f1b573d6000803e3d6000fd5b505050506000611f348247611a4c90919063ffffffff16565b90506000611f4f611f46886002611a64565b600e5490611a4c565b90506000611f6460026112848481878d611a58565b90506000611f8183611284600c5487611a5890919063ffffffff16565b90506000611f9e84611284600d5488611a5890919063ffffffff16565b9050601c60009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b158015611ff057600080fd5b505af193505050508015612002575060015b506009546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561203d573d6000803e3d6000fd5b5088156121255760065460085460405163f305d71960e01b8152306004820152602481018c905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990859060c4016060604051808303818588803b1580156120af57600080fd5b505af11580156120c3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120e891906124a5565b505060408051858152602081018c90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15b50506025805460ff60a81b191690555050505050505050565b6007546000906001600160a01b031633148015906121665750602554600160a81b900460ff16155b8015612174575060165460ff165b801561218f575043601a54601b5461218c9190612658565b11155b8015610fe757505060195447101590565b6121ae60195461dead611a70565b43601b556019546018546121c1916115ef565b601881905560175410156121da576016805460ff191690555b565b600f54600754600091829161220e919061128490612207906001600160a01b038981169116146113aa565b8690611a58565b30600090815260208052604090205490915061222a90826115ef565b3060008181526020808052604091829020939093555183815290916001600160a01b038816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36122858382611a4c565b95945050505050565b8035801515811461229e57600080fd5b919050565b6000602082840312156122b4578081fd5b8135610f7581612717565b6000602082840312156122d0578081fd5b8151610f7581612717565b600080604083850312156122ed578081fd5b82356122f881612717565b9150602083013561230881612717565b809150509250929050565b600080600060608486031215612327578081fd5b833561233281612717565b9250602084013561234281612717565b929592945050506040919091013590565b60008060408385031215612365578182fd5b823561237081612717565b915061237e6020840161228e565b90509250929050565b60008060408385031215612399578182fd5b82356123a481612717565b946020939093013593505050565b6000602082840312156123c3578081fd5b610f758261228e565b600080604083850312156123de578182fd5b6123a48361228e565b600080600080608085870312156123fc578081fd5b6124058561228e565b966020860135965060408601359560600135945092505050565b600060208284031215612430578081fd5b5035919050565b60008060408385031215612449578182fd5b8235915061237e6020840161228e565b6000806040838503121561246b578182fd5b50508035926020909101359150565b60008060006060848603121561248e578283fd5b505081359360208301359350604090920135919050565b6000806000606084860312156124b9578283fd5b8351925060208401519150604084015190509250925092565b600080600080600060a086880312156124e9578283fd5b505083359560208501359550604085013594606081013594506080013592509050565b6000815180845260208085019450808401835b838110156125445781516001600160a01b03168752958201959082019060010161251f565b509495945050505050565b848152608060208201526000612568608083018661250c565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b818110156125b057858101830151858201604001528201612594565b818111156125c15783604083870101525b50601f01601f1916929092016040019392505050565b60208082526006908201526510a7aba722a960d11b604082015260600190565b6020808252600b908201526a085055551213d49256915160aa1b604082015260600190565b85815284602082015260a06040820152600061263b60a083018661250c565b6001600160a01b0394909416606083015250608001529392505050565b6000821982111561266b5761266b612701565b500190565b60008261268b57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156126aa576126aa612701565b500290565b6000828210156126c1576126c1612701565b500390565b600181811c908216806126da57607f821691505b602082108114156126fb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461272c57600080fd5b5056fea264697066735822122013466d59932e622911d4eca438a2ab53cc7286d7ab080669d59a56592c5219bd64736f6c6343000804003360806040523480156200001157600080fd5b50604051620012363803806200123683398101604081905262000034916200013f565b60008054336001600160a01b0319918216179091556001805482166001600160a01b0385811691821790925560028054909316918416919091179091556ec097ce7bc90715b34b9f1000000000600b55610e10600c556040805163313ce56760e01b8152905163313ce56791600480820192602092909190829003018186803b158015620000c157600080fd5b505afa158015620000d6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000fc919062000176565b6200010990600a620001e9565b62000116906001620002aa565b600d5550620002e29050565b80516001600160a01b03811681146200013a57600080fd5b919050565b6000806040838503121562000152578182fd5b6200015d8362000122565b91506200016d6020840162000122565b90509250929050565b60006020828403121562000188578081fd5b815160ff8116811462000199578182fd5b9392505050565b600181815b80851115620001e1578160001904821115620001c557620001c5620002cc565b80851615620001d357918102915b93841c9390800290620001a5565b509250929050565b60006200019960ff8416836000826200020557506001620002a4565b816200021457506000620002a4565b81600181146200022d5760028114620002385762000258565b6001915050620002a4565b60ff8411156200024c576200024c620002cc565b50506001821b620002a4565b5060208310610133831016604e8410600b84101617156200027d575081810a620002a4565b620002898383620001a0565b8060001904821115620002a057620002a0620002cc565b0290505b92915050565b6000816000190483118215151615620002c757620002c7620002cc565b500290565b634e487b7160e01b600052601160045260246000fd5b610f4480620002f26000396000f3fe60806040526004361061011f5760003560e01c8063d0e30db0116100a0578063f0fc6bca11610064578063f0fc6bca1461032e578063f7c618c114610343578063f887ea4014610363578063ffb2c47914610383578063ffd49c84146103a357600080fd5b8063d0e30db0146102ad578063d4fda1f2146102b5578063e2d2e219146102e2578063ecd0c0c3146102f8578063efca2eed1461031857600080fd5b80634fab0ae8116100e75780634fab0ae8146101c557806366817df5146101db578063997664d714610208578063ab377daa1461021e578063ce7c2ac21461025657600080fd5b806311ce023d1461012457806314b6ca961461014d57806328fd31981461016f5780632d48e8961461018f5780633a98ef39146101af575b600080fd5b34801561013057600080fd5b5061013a600b5481565b6040519081526020015b60405180910390f35b34801561015957600080fd5b5061016d610168366004610d55565b6103b9565b005b34801561017b57600080fd5b5061013a61018a366004610d1d565b610531565b34801561019b57600080fd5b5061016d6101aa366004610dd0565b6105ba565b3480156101bb57600080fd5b5061013a60075481565b3480156101d157600080fd5b5061013a600d5481565b3480156101e757600080fd5b5061013a6101f6366004610d1d565b60056020526000908152604090205481565b34801561021457600080fd5b5061013a60085481565b34801561022a57600080fd5b5061023e610239366004610da0565b6105dc565b6040516001600160a01b039091168152602001610144565b34801561026257600080fd5b50610292610271366004610d1d565b60066020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610144565b61016d610606565b3480156102c157600080fd5b5061013a6102d0366004610d1d565b60046020526000908152604090205481565b3480156102ee57600080fd5b5061013a600a5481565b34801561030457600080fd5b5060005461023e906001600160a01b031681565b34801561032457600080fd5b5061013a60095481565b34801561033a57600080fd5b5061016d6108de565b34801561034f57600080fd5b5060015461023e906001600160a01b031681565b34801561036f57600080fd5b5060025461023e906001600160a01b031681565b34801561038f57600080fd5b5061016d61039e366004610da0565b6108e9565b3480156103af57600080fd5b5061013a600c5481565b6000546001600160a01b031633146103d057600080fd5b6001600160a01b038216600090815260066020526040902054156103f7576103f782610a06565b60008111801561041d57506001600160a01b038216600090815260066020526040902054155b1561048357600380546001600160a01b0384166000818152600460205260408120839055600183018455929092527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b03191690911790556104b6565b801580156104a857506001600160a01b03821660009081526006602052604090205415155b156104b6576104b682610b31565b6001600160a01b0382166000908152600660205260409020546007546104e79183916104e191610c7e565b90610c91565b6007556001600160a01b038216600090815260066020526040902081905561050e81610c9d565b6001600160a01b0390921660009081526006602052604090206001019190915550565b6001600160a01b03811660009081526006602052604081205461055657506000919050565b6001600160a01b03821660009081526006602052604081205461057890610c9d565b6001600160a01b0384166000908152600660205260409020600101549091508082116105a8575060009392505050565b6105b28282610c7e565b949350505050565b6000546001600160a01b031633146105d157600080fd5b600c91909155600d55565b600381815481106105ec57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b0316331461061d57600080fd5b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561066157600080fd5b505afa158015610675573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106999190610db8565b60408051600280825260608201835292935060009290916020830190803683375050600254604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561070357600080fd5b505afa158015610717573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073b9190610d39565b8160008151811061075c57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600180548351921691839190811061079a57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260025460405163b6f9de9560e01b815291169063b6f9de959034906107e090600090869030904290600401610df1565b6000604051808303818588803b1580156107f957600080fd5b505af115801561080d573d6000803e3d6000fd5b50506001546040516370a0823160e01b81523060048201526000945061089c93508692506001600160a01b03909116906370a082319060240160206040518083038186803b15801561085e57600080fd5b505afa158015610872573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108969190610db8565b90610c7e565b6008549091506108ac9082610c91565b600855600754600b546108d6916108cd916108c79085610cc0565b90610ccc565b600a5490610c91565b600a55505050565b6108e733610a06565b565b6000546001600160a01b0316331461090057600080fd5b6003548061090c575050565b6000805a905060005b848310801561092357508381105b156109fe5783600e5410610937576000600e555b6109776003600e548154811061095d57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316610cd8565b156109bc576109bc6003600e54815481106109a257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316610a06565b6109d16109ca5a8490610c7e565b8490610c91565b92505a600e805491935060006109e683610ec8565b919050555080806109f690610ec8565b915050610915565b505050505b50565b6001600160a01b038116600090815260066020526040902054610a265750565b6000610a3182610531565b90508015610b2d57600954610a469082610c91565b60095560015460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b158015610a9757600080fd5b505af1158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf9190610d80565b506001600160a01b03821660009081526005602090815260408083204290556006909152902060020154610b039082610c91565b6001600160a01b038316600090815260066020526040902060028101919091555461050e90610c9d565b5050565b60038054610b4190600190610eb1565b81548110610b5f57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0384811684526004909252604090922054600380549290931692918110610bab57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b03948516179055918316815260049182905260408120546003805491939291610bf790600190610eb1565b81548110610c1557634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020556003805480610c5957634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b031916905501905550565b6000610c8a8284610eb1565b9392505050565b6000610c8a8284610e5a565b6000610cba600b546108c7600a5485610cc090919063ffffffff16565b92915050565b6000610c8a8284610e92565b6000610c8a8284610e72565b600c546001600160a01b03821660009081526005602052604081205490914291610d029190610e5a565b108015610cba5750600d54610d1683610531565b1192915050565b600060208284031215610d2e578081fd5b8135610c8a81610ef9565b600060208284031215610d4a578081fd5b8151610c8a81610ef9565b60008060408385031215610d67578081fd5b8235610d7281610ef9565b946020939093013593505050565b600060208284031215610d91578081fd5b81518015158114610c8a578182fd5b600060208284031215610db1578081fd5b5035919050565b600060208284031215610dc9578081fd5b5051919050565b60008060408385031215610de2578182fd5b50508035926020909101359150565b600060808201868352602060808185015281875180845260a0860191508289019350845b81811015610e3a5784516001600160a01b031683529383019391830191600101610e15565b50506001600160a01b039690961660408501525050506060015292915050565b60008219821115610e6d57610e6d610ee3565b500190565b600082610e8d57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610eac57610eac610ee3565b500290565b600082821015610ec357610ec3610ee3565b500390565b6000600019821415610edc57610edc610ee3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610a0357600080fdfea26469706673582212202dad365699253025be6f49bae549ece0571e29a3cef2bbf0725e3dacaa24c51564736f6c6343000804003300000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000765277eebeca2e31912c9946eae1021199b39c6100000000000000000000000072d85ab47fbfc5e7e04a8bcfca1601d8f8ce1a50000000000000000000000000aad608899ed545132cb335c4642ff81411a14bdc00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000002710000000000000000000000000de28c7c4f0021f165681ff7f1c507d3d1e3a223000000000000000000000000000000000000000000000000d8d726b7177a80000000000000000000000000000000000000000000000000000000000000000000a63616e647946524f474500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a63616e647946524f474500000000000000000000000000000000000000000000

Deployed ByteCode

0x6080604052600436106103e85760003560e01c80636ddd171311610208578063ca33e64c11610118578063f0b37c04116100ab578063f708a64f1161007a578063f708a64f14610b69578063f7c618c114610b89578063f887ea4014610ba9578063fe9fbb8014610bc9578063ffa1ad7414610be957600080fd5b8063f0b37c0414610ae9578063f1f3bca314610b09578063f2fde38b14610b29578063f5cfec0a14610b4957600080fd5b8063df20fd49116100e7578063df20fd4914610a63578063e96fada214610a83578063ecbf666f14610aa3578063eff0dc2214610ab957600080fd5b8063ca33e64c146109c8578063d51ed1c8146109e8578063d806d12f14610a08578063dd62ed3e14610a1d57600080fd5b806398118cb41161019b578063a9059cbb1161016a578063a9059cbb1461093d578063b210b06d1461095d578063b6a5d7de14610972578063b91854f414610992578063bfe10928146109a857600080fd5b806398118cb4146108c75780639d1944f5146108dd578063a4b45c00146108fd578063a8aa1b311461091d57600080fd5b80638ab6ffc7116101d75780638ab6ffc714610870578063921250d11461088657806392258ec81461089c57806395d89b41146108b257600080fd5b80636ddd1713146107f55780636e78eb491461080f57806370a082311461082557806383ad79941461085a57600080fd5b8063241ec3be116103035780634355855a11610296578063591cf08d11610265578063591cf08d1461077d5780635a53c1fb1461079357806360e71962146107a9578063658d4b7f146107bf5780636b67c4df146107df57600080fd5b80634355855a146106df5780634896a6321461070f57806351969d2f14610725578063571ac8b01461075d57600080fd5b8063313ce567116102d2578063313ce567146106635780633b2d081c1461067f5780633bb8a8d4146106955780633f4218e0146106af57600080fd5b8063241ec3be146105de5780632b112e49146105ff5780632d48e896146106145780632f54bf6e1461063457600080fd5b8063180b0d7e1161037b5780631f46b1c61161034a5780631f46b1c61461055e578063201e79911461057e5780632375ce401461059e57806323b872dd146105be57600080fd5b8063180b0d7e1461050757806318160ddd1461051d57806319be947b146105325780631df4ccfc1461054857600080fd5b8063095ea7b3116103b7578063095ea7b3146104815780631023d5d4146104b15780631161ae39146104c757806317d43583146104e757600080fd5b80630445b667146103f4578063048c7baf1461041d57806304a66b481461043f57806306fdde031461045f57600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b5061040a601f5481565b6040519081526020015b60405180910390f35b34801561042957600080fd5b5061043d6104383660046123e7565b610bfe565b005b34801561044b57600080fd5b5061043d61045a3660046124d2565b610c55565b34801561046b57600080fd5b50610474610c8e565b6040516104149190612584565b34801561048d57600080fd5b506104a161049c366004612387565b610d20565b6040519015158152602001610414565b3480156104bd57600080fd5b5061040a60155481565b3480156104d357600080fd5b506104a16104e2366004612459565b610d8c565b3480156104f357600080fd5b5061043d610502366004612353565b610da0565b34801561051357600080fd5b5061040a600f5481565b34801561052957600080fd5b5060045461040a565b34801561053e57600080fd5b5061040a60145481565b34801561055457600080fd5b5061040a600e5481565b34801561056a57600080fd5b5061043d6105793660046123b2565b610df0565b34801561058a57600080fd5b5061043d610599366004612459565b610e33565b3480156105aa57600080fd5b5061043d6105b936600461247a565b610e63565b3480156105ca57600080fd5b506104a16105d9366004612313565b610eb8565b3480156105ea57600080fd5b506025546104a190600160a01b900460ff1681565b34801561060b57600080fd5b5061040a610f7c565b34801561062057600080fd5b5061043d61062f366004612459565b610fec565b34801561064057600080fd5b506104a161064f3660046122a3565b6000546001600160a01b0391821691161490565b34801561066f57600080fd5b5060405160098152602001610414565b34801561068b57600080fd5b5061040a600b5481565b3480156106a157600080fd5b506016546104a19060ff1681565b3480156106bb57600080fd5b506104a16106ca3660046122a3565b60236020526000908152604090205460ff1681565b3480156106eb57600080fd5b506104a16106fa3660046122a3565b60246020526000908152604090205460ff1681565b34801561071b57600080fd5b5061040a60195481565b34801561073157600080fd5b50602554610745906001600160a01b031681565b6040516001600160a01b039091168152602001610414565b34801561076957600080fd5b506104a16107783660046122a3565b61107b565b34801561078957600080fd5b5061040a60175481565b34801561079f57600080fd5b5061040a601a5481565b3480156107b557600080fd5b5061040a601d5481565b3480156107cb57600080fd5b5061043d6107da366004612353565b61108f565b3480156107eb57600080fd5b5061040a600d5481565b34801561080157600080fd5b50601e546104a19060ff1681565b34801561081b57600080fd5b5061040a60185481565b34801561083157600080fd5b5061040a6108403660046122a3565b6001600160a01b0316600090815260208052604090205490565b34801561086657600080fd5b5061040a600c5481565b34801561087c57600080fd5b5061040a60115481565b34801561089257600080fd5b5061040a60125481565b3480156108a857600080fd5b5061040a60105481565b3480156108be57600080fd5b506104746110df565b3480156108d357600080fd5b5061040a600a5481565b3480156108e957600080fd5b5061043d6108f836600461241f565b6110ee565b34801561090957600080fd5b5061043d6109183660046122db565b61116a565b34801561092957600080fd5b50600754610745906001600160a01b031681565b34801561094957600080fd5b506104a1610958366004612387565b6111bd565b34801561096957600080fd5b5061043d6111ca565b34801561097e57600080fd5b5061043d61098d3660046122a3565b6111f6565b34801561099e57600080fd5b5061040a601b5481565b3480156109b457600080fd5b50601c54610745906001600160a01b031681565b3480156109d457600080fd5b50600854610745906001600160a01b031681565b3480156109f457600080fd5b5061040a610a0336600461241f565b611247565b348015610a1457600080fd5b5061040a61128a565b348015610a2957600080fd5b5061040a610a383660046122db565b6001600160a01b03918216600090815260216020908152604080832093909416825291909152205490565b348015610a6f57600080fd5b5061043d610a7e3660046123cc565b611323565b348015610a8f57600080fd5b50600954610745906001600160a01b031681565b348015610aaf57600080fd5b5061040a60135481565b348015610ac557600080fd5b506104a1610ad43660046122a3565b60226020526000908152604090205460ff1681565b348015610af557600080fd5b5061043d610b043660046122a3565b61135f565b348015610b1557600080fd5b5061040a610b243660046123b2565b6113aa565b348015610b3557600080fd5b5061043d610b443660046122a3565b6113c2565b348015610b5557600080fd5b5061043d610b64366004612437565b611458565b348015610b7557600080fd5b5061043d610b84366004612353565b6114ce565b348015610b9557600080fd5b50600554610745906001600160a01b031681565b348015610bb557600080fd5b50600654610745906001600160a01b031681565b348015610bd557600080fd5b506104a1610be43660046122a3565b6115d1565b348015610bf557600080fd5b5061040a600181565b610c07336115d1565b610c2c5760405162461bcd60e51b8152600401610c23906125f7565b60405180910390fd5b6016805460ff1916941515949094179093556017919091556000601855601955601a5543601b55565b610c5e336115d1565b610c7a5760405162461bcd60e51b8152600401610c23906125f7565b610c8785858585856115fb565b5050505050565b606060028054610c9d906126c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc9906126c6565b8015610d165780601f10610ceb57610100808354040283529160200191610d16565b820191906000526020600020905b815481529060010190602001808311610cf957829003601f168201915b5050505050905090565b3360008181526021602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610d7b9086815260200190565b60405180910390a350600192915050565b600082610d9883611247565b119392505050565b610da9336115d1565b610dc55760405162461bcd60e51b8152600401610c23906125f7565b6001600160a01b03919091166000908152602260205260409020805460ff1916911515919091179055565b610df9336115d1565b610e155760405162461bcd60e51b8152600401610c23906125f7565b60258054911515600160a01b0260ff60a01b19909216919091179055565b610e3c336115d1565b610e585760405162461bcd60e51b8152600401610c23906125f7565b601091909155601155565b610e6c336115d1565b610e885760405162461bcd60e51b8152600401610c23906125f7565b6002610e948385612670565b11158015610ea157508183115b610eaa57600080fd5b601292909255601355601555565b6004546001600160a01b0384166000908152602160209081526040808320338452909152812054909114610f67576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152602182528381203382529091529190912054610f429184906116ae565b6001600160a01b03851660009081526021602090815260408083203384529091529020555b610f728484846116da565b90505b9392505050565b602080527f29ab76e7ca72530a8284597fb76b039d796325740b21528d71ade454c6f2dbe95461dead60009081527fcbaad361c71be11fa6bdbe0e740c6259be964b32182da2da47b54472477c6a17546004549192610fe7929091610fe19190611a4c565b90611a4c565b905090565b610ff5336115d1565b6110115760405162461bcd60e51b8152600401610c23906125f7565b601c546040516316a4744b60e11b815260048101849052602481018390526001600160a01b0390911690632d48e896906044015b600060405180830381600087803b15801561105f57600080fd5b505af1158015611073573d6000803e3d6000fd5b505050505050565b600061108982600454610d20565b92915050565b611098336115d1565b6110b45760405162461bcd60e51b8152600401610c23906125f7565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b606060038054610c9d906126c6565b6110f7336115d1565b6111135760405162461bcd60e51b8152600401610c23906125f7565b620b71b081106111655760405162461bcd60e51b815260206004820152601d60248201527f476173206d757374206265206c6f776572207468616e203735303030300000006044820152606401610c23565b601d55565b611173336115d1565b61118f5760405162461bcd60e51b8152600401610c23906125f7565b600880546001600160a01b039384166001600160a01b03199182161790915560098054929093169116179055565b6000610f753384846116da565b6111d3336115d1565b6111ef5760405162461bcd60e51b8152600401610c23906125f7565b6000601455565b6000546001600160a01b031633146112205760405162461bcd60e51b8152600401610c23906125d7565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b6000611089611254610f7c565b6007546001600160a01b031660009081526020805260409020546112849061127d906002611a58565b8590611a58565b90611a64565b6000426112a46015546014546115ef90919063ffffffff16565b111561131c5760006112c742610fe16015546014546115ef90919063ffffffff16565b905060006112ee600e54610fe1601354611284601254600e54611a5890919063ffffffff16565b905061131561130c6015546112848585611a5890919063ffffffff16565b600e54906115ef565b9250505090565b50600e5490565b61132c336115d1565b6113485760405162461bcd60e51b8152600401610c23906125f7565b601e805460ff191692151592909217909155601f55565b6000546001600160a01b031633146113895760405162461bcd60e51b8152600401610c23906125d7565b6001600160a01b03166000908152600160205260409020805460ff19169055565b600081156113ba5761108961128a565b5050600e5490565b6000546001600160a01b031633146113ec5760405162461bcd60e51b8152600401610c23906125d7565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b611461336115d1565b61147d5760405162461bcd60e51b8152600401610c23906125f7565b6114898261dead611a70565b80156114ca57426014556015546040519081527f39d2389ec5c1fa77b2c0d374bc61b6d7bd97ccba280fcdeb4e9c7644898d7c3a9060200160405180910390a15b5050565b6114d7336115d1565b6114f35760405162461bcd60e51b8152600401610c23906125f7565b6001600160a01b038216301480159061151a57506007546001600160a01b03838116911614155b61152357600080fd5b6001600160a01b0382166000908152602460205260409020805460ff1916821580159190911790915561158957601c54604051630a5b654b60e11b81526001600160a01b03848116600483015260006024830152909116906314b6ca9690604401611045565b601c546001600160a01b03838116600081815260208052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401611045565b6001600160a01b031660009081526001602052604090205460ff1690565b6000610f758284612658565b600a859055600b849055600c839055600d8290556116258261161f858189896115ef565b906115ef565b600e55600f819055611638600482612670565b600e5410610c875760405162461bcd60e51b815260206004820152603b60248201527f546f74616c206665652073686f756c64206e6f7420626520677265617465722060448201527f7468616e20312f34206f66206665652064656e6f6d696e61746f7200000000006064820152608401610c23565b600081848411156116d25760405162461bcd60e51b8152600401610c239190612584565b505050900390565b602554600090600160a01b900460ff161561175e5760255460405163090ec10b60e31b81526001600160a01b03868116600483015285811660248301526044820185905290911690634876085890606401600060405180830381600087803b15801561174557600080fd5b505af1158015611759573d6000803e3d6000fd5b505050505b602554600160a81b900460ff16156117825761177b848484611c0d565b9050610f75565b61178a611ce8565b1561179757611797611d3d565b61179f61213e565b156117ac576117ac6121a0565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038716600090815290805291909120546117fc9184906116ae565b6001600160a01b03851660009081526020808052604080832093909355602390529081205460ff161561182f578261183a565b61183a8585856121dc565b6001600160a01b038516600090815260208052604090205490915061185f90826115ef565b6001600160a01b038086166000908152602080805260408083209490945591881681526024909152205460ff1661190057601c546001600160a01b03868116600081815260208052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b1580156118ed57600080fd5b505af19250505080156118fe575060015b505b6001600160a01b03841660009081526024602052604090205460ff1661199057601c546001600160a01b03858116600081815260208052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b15801561197d57600080fd5b505af192505050801561198e575060015b505b601c54601d546040516001624d3b8760e01b031981526001600160a01b039092169163ffb2c479916119c89160040190815260200190565b600060405180830381600087803b1580156119e257600080fd5b505af19250505080156119f3575060015b50836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611a3991815260200190565b60405180910390a3506001949350505050565b6000610f7582846126af565b6000610f758284612690565b6000610f758284612670565b6025805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b158015611ae857600080fd5b505afa158015611afc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2091906122bf565b81600081518110611b4157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611b8357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260065460405163b6f9de9560e01b815291169063b6f9de95908590611bc99060009086908890429060040161254f565b6000604051808303818588803b158015611be257600080fd5b505af1158015611bf6573d6000803e3d6000fd5b50506025805460ff60a81b19169055505050505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038616600090815290805291822054611c5c9184906116ae565b6001600160a01b0380861660009081526020805260408082209390935590851681522054611c8a90836115ef565b6001600160a01b038481166000818152602080805260409182902094909455518581529092918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35060019392505050565b6007546000906001600160a01b03163314801590611d105750602554600160a81b900460ff16155b8015611d1e5750601e5460ff165b8015610fe7575050601f54306000908152602080526040902054101590565b6025805460ff60a81b1916600160a81b179055601054601154600091611d6291610d8c565b611d6e57600a54611d71565b60005b90506000611d956002611284600e5461128486601f54611a5890919063ffffffff16565b90506000611dae82601f54611a4c90919063ffffffff16565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611df657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611e4a57600080fd5b505afa158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8291906122bf565b81600181518110611ea357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b81524792919091169063791ac94790611eed90869060009087903090429060040161261c565b600060405180830381600087803b158015611f0757600080fd5b505af1158015611f1b573d6000803e3d6000fd5b505050506000611f348247611a4c90919063ffffffff16565b90506000611f4f611f46886002611a64565b600e5490611a4c565b90506000611f6460026112848481878d611a58565b90506000611f8183611284600c5487611a5890919063ffffffff16565b90506000611f9e84611284600d5488611a5890919063ffffffff16565b9050601c60009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b158015611ff057600080fd5b505af193505050508015612002575060015b506009546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561203d573d6000803e3d6000fd5b5088156121255760065460085460405163f305d71960e01b8152306004820152602481018c905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990859060c4016060604051808303818588803b1580156120af57600080fd5b505af11580156120c3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120e891906124a5565b505060408051858152602081018c90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15b50506025805460ff60a81b191690555050505050505050565b6007546000906001600160a01b031633148015906121665750602554600160a81b900460ff16155b8015612174575060165460ff165b801561218f575043601a54601b5461218c9190612658565b11155b8015610fe757505060195447101590565b6121ae60195461dead611a70565b43601b556019546018546121c1916115ef565b601881905560175410156121da576016805460ff191690555b565b600f54600754600091829161220e919061128490612207906001600160a01b038981169116146113aa565b8690611a58565b30600090815260208052604090205490915061222a90826115ef565b3060008181526020808052604091829020939093555183815290916001600160a01b038816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36122858382611a4c565b95945050505050565b8035801515811461229e57600080fd5b919050565b6000602082840312156122b4578081fd5b8135610f7581612717565b6000602082840312156122d0578081fd5b8151610f7581612717565b600080604083850312156122ed578081fd5b82356122f881612717565b9150602083013561230881612717565b809150509250929050565b600080600060608486031215612327578081fd5b833561233281612717565b9250602084013561234281612717565b929592945050506040919091013590565b60008060408385031215612365578182fd5b823561237081612717565b915061237e6020840161228e565b90509250929050565b60008060408385031215612399578182fd5b82356123a481612717565b946020939093013593505050565b6000602082840312156123c3578081fd5b610f758261228e565b600080604083850312156123de578182fd5b6123a48361228e565b600080600080608085870312156123fc578081fd5b6124058561228e565b966020860135965060408601359560600135945092505050565b600060208284031215612430578081fd5b5035919050565b60008060408385031215612449578182fd5b8235915061237e6020840161228e565b6000806040838503121561246b578182fd5b50508035926020909101359150565b60008060006060848603121561248e578283fd5b505081359360208301359350604090920135919050565b6000806000606084860312156124b9578283fd5b8351925060208401519150604084015190509250925092565b600080600080600060a086880312156124e9578283fd5b505083359560208501359550604085013594606081013594506080013592509050565b6000815180845260208085019450808401835b838110156125445781516001600160a01b03168752958201959082019060010161251f565b509495945050505050565b848152608060208201526000612568608083018661250c565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b818110156125b057858101830151858201604001528201612594565b818111156125c15783604083870101525b50601f01601f1916929092016040019392505050565b60208082526006908201526510a7aba722a960d11b604082015260600190565b6020808252600b908201526a085055551213d49256915160aa1b604082015260600190565b85815284602082015260a06040820152600061263b60a083018661250c565b6001600160a01b0394909416606083015250608001529392505050565b6000821982111561266b5761266b612701565b500190565b60008261268b57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156126aa576126aa612701565b500290565b6000828210156126c1576126c1612701565b500390565b600181811c908216806126da57607f821691505b602082108114156126fb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461272c57600080fd5b5056fea264697066735822122013466d59932e622911d4eca438a2ab53cc7286d7ab080669d59a56592c5219bd64736f6c63430008040033