ETH Price: $1,883.49 (-4.66%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve234671662025-09-29 7:29:47147 days ago1759130987IN
0x458f58ee...c6c159Fa2
0 ETH0.000054021.1665292
Approve231123942025-08-10 18:18:35196 days ago1754849915IN
0x458f58ee...c6c159Fa2
0 ETH0.000066291.43292852
Approve183478602023-10-14 9:54:47862 days ago1697277287IN
0x458f58ee...c6c159Fa2
0 ETH0.0002615.64022814
Approve182160542023-09-25 23:22:59881 days ago1695684179IN
0x458f58ee...c6c159Fa2
0 ETH0.000351467.58504207
Approve181680292023-09-19 5:59:11888 days ago1695103151IN
0x458f58ee...c6c159Fa2
0 ETH0.000396658.52282043
Approve181669952023-09-19 2:30:11888 days ago1695090611IN
0x458f58ee...c6c159Fa2
0 ETH0.000346667.49132658
Approve181516542023-09-16 22:29:35890 days ago1694903375IN
0x458f58ee...c6c159Fa2
0 ETH0.000423279.14672363
Approve181448012023-09-15 23:15:47891 days ago1694819747IN
0x458f58ee...c6c159Fa2
0 ETH0.00045199.71006698
Approve181416972023-09-15 12:43:59891 days ago1694781839IN
0x458f58ee...c6c159Fa2
0 ETH0.0007517816.15347686
Approve181296892023-09-13 20:14:11893 days ago1694636051IN
0x458f58ee...c6c159Fa2
0 ETH0.0006698514.37456145
Approve181296892023-09-13 20:14:11893 days ago1694636051IN
0x458f58ee...c6c159Fa2
0 ETH0.0006698514.37456145
Approve181296892023-09-13 20:14:11893 days ago1694636051IN
0x458f58ee...c6c159Fa2
0 ETH0.0006698514.37456145
Approve181239952023-09-13 1:04:11894 days ago1694567051IN
0x458f58ee...c6c159Fa2
0 ETH0.0005098910.95613117
Approve181217852023-09-12 17:38:23894 days ago1694540303IN
0x458f58ee...c6c159Fa2
0 ETH0.001570133.73669863
Approve181184112023-09-12 6:16:47895 days ago1694499407IN
0x458f58ee...c6c159Fa2
0 ETH0.000387028.36567907
Approve181163372023-09-11 23:17:59895 days ago1694474279IN
0x458f58ee...c6c159Fa2
0 ETH0.0004918610.56870555
Approve181121432023-09-11 9:12:47895 days ago1694423567IN
0x458f58ee...c6c159Fa2
0 ETH0.0004769310.23455749
Approve181095082023-09-11 0:21:59896 days ago1694391719IN
0x458f58ee...c6c159Fa2
0 ETH0.000437329.39680342
Approve181082142023-09-10 19:59:35896 days ago1694375975IN
0x458f58ee...c6c159Fa2
0 ETH0.00042499.18199298
Approve181066022023-09-10 14:34:23896 days ago1694356463IN
0x458f58ee...c6c159Fa2
0 ETH0.0005086210.97683938
Approve181061322023-09-10 12:59:59896 days ago1694350799IN
0x458f58ee...c6c159Fa2
0 ETH0.000453339.74069063
Approve181061082023-09-10 12:54:59896 days ago1694350499IN
0x458f58ee...c6c159Fa2
0 ETH0.000811317.4099354
Approve181056882023-09-10 11:30:35896 days ago1694345435IN
0x458f58ee...c6c159Fa2
0 ETH0.000555311.99989638
Approve181056802023-09-10 11:28:59896 days ago1694345339IN
0x458f58ee...c6c159Fa2
0 ETH0.000396288.55252328
Transfer181052632023-09-10 10:05:11896 days ago1694340311IN
0x458f58ee...c6c159Fa2
0 ETH0.013638919.49293051
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer234426202025-09-25 21:04:59150 days ago1758834299
0x458f58ee...c6c159Fa2
0.00050817 ETH
Swap Exact ETH F...234426202025-09-25 21:04:59150 days ago1758834299
0x458f58ee...c6c159Fa2
0.00016939 ETH
Swap Exact ETH F...234426202025-09-25 21:04:59150 days ago1758834299
0x458f58ee...c6c159Fa2
0.00016939 ETH
Transfer234426202025-09-25 21:04:59150 days ago1758834299
0x458f58ee...c6c159Fa2
0.00084695 ETH
Transfer182451282023-09-30 1:05:23877 days ago1696035923
0x458f58ee...c6c159Fa2
0.00142386 ETH
Swap Exact ETH F...182451282023-09-30 1:05:23877 days ago1696035923
0x458f58ee...c6c159Fa2
0.00047462 ETH
Swap Exact ETH F...182451282023-09-30 1:05:23877 days ago1696035923
0x458f58ee...c6c159Fa2
0.00047462 ETH
Transfer182451282023-09-30 1:05:23877 days ago1696035923
0x458f58ee...c6c159Fa2
0.0023731 ETH
Transfer181680312023-09-19 5:59:35888 days ago1695103175
0x458f58ee...c6c159Fa2
0.00431987 ETH
Swap Exact ETH F...181680312023-09-19 5:59:35888 days ago1695103175
0x458f58ee...c6c159Fa2
0.00143995 ETH
Swap Exact ETH F...181680312023-09-19 5:59:35888 days ago1695103175
0x458f58ee...c6c159Fa2
0.00143995 ETH
Transfer181680312023-09-19 5:59:35888 days ago1695103175
0x458f58ee...c6c159Fa2
0.00719979 ETH
Transfer181516612023-09-16 22:30:59890 days ago1694903459
0x458f58ee...c6c159Fa2
0.00206102 ETH
Swap Exact ETH F...181516612023-09-16 22:30:59890 days ago1694903459
0x458f58ee...c6c159Fa2
0.000687 ETH
Swap Exact ETH F...181516612023-09-16 22:30:59890 days ago1694903459
0x458f58ee...c6c159Fa2
0.000687 ETH
Transfer181516612023-09-16 22:30:59890 days ago1694903459
0x458f58ee...c6c159Fa2
0.00343504 ETH
Transfer181507292023-09-16 19:20:35890 days ago1694892035
0x458f58ee...c6c159Fa2
0.00286882 ETH
Swap Exact ETH F...181507292023-09-16 19:20:35890 days ago1694892035
0x458f58ee...c6c159Fa2
0.00095627 ETH
Swap Exact ETH F...181507292023-09-16 19:20:35890 days ago1694892035
0x458f58ee...c6c159Fa2
0.00095627 ETH
Transfer181507292023-09-16 19:20:35890 days ago1694892035
0x458f58ee...c6c159Fa2
0.00478136 ETH
Transfer181392572023-09-15 4:29:47892 days ago1694752187
0x458f58ee...c6c159Fa2
0.00099112 ETH
Swap Exact ETH F...181392572023-09-15 4:29:47892 days ago1694752187
0x458f58ee...c6c159Fa2
0.00033037 ETH
Swap Exact ETH F...181392572023-09-15 4:29:47892 days ago1694752187
0x458f58ee...c6c159Fa2
0.00033037 ETH
Transfer181392572023-09-15 4:29:47892 days ago1694752187
0x458f58ee...c6c159Fa2
0.00165188 ETH
Transfer181296902023-09-13 20:14:23893 days ago1694636063
0x458f58ee...c6c159Fa2
0.00102815 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ShibBone

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

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

// 1ST EVER $SHIB x $BONE REWARDS TOKEN. WOOF!
// WEBSITE: https://www.shibbonetoken.com/
// TELEGRAM: https://t.me/shibboneportal
// X TWITTER: https://twitter.com/ShibariumSB
// Be True To Your Work And Your Work Will Be True To You.


pragma solidity 0.8.21;
// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol


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

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

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

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol


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

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

// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol


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

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

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

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

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

// File: contracts/math/IterableMapping.sol


library IterableMapping {
    // Iterable mapping from address to uint;
    struct Map {
        address[] keys;
        mapping(address => uint) values;
        mapping(address => uint) indexOf;
        mapping(address => bool) inserted;
    }

    function get(Map storage map, address key) internal view returns (uint) {
        return map.values[key];
    }

    function getIndexOfKey(Map storage map, address key) internal view returns (int) {
        if(!map.inserted[key]) {
            return -1;
        }
        return int(map.indexOf[key]);
    }

    function getKeyAtIndex(Map storage map, uint index) internal view returns (address) {
        return map.keys[index];
    }



    function size(Map storage map) internal view returns (uint) {
        return map.keys.length;
    }

    function set(Map storage map, address key, uint val) internal {
        if (map.inserted[key]) {
            map.values[key] = val;
        } else {
            map.inserted[key] = true;
            map.values[key] = val;
            map.indexOf[key] = map.keys.length;
            map.keys.push(key);
        }
    }

    function remove(Map storage map, address key) internal {
        if (!map.inserted[key]) {
            return;
        }

        delete map.inserted[key];
        delete map.values[key];

        uint index = map.indexOf[key];
        uint lastIndex = map.keys.length - 1;
        address lastKey = map.keys[lastIndex];

        map.indexOf[lastKey] = index;
        delete map.indexOf[key];

        map.keys[index] = lastKey;
        map.keys.pop();
    }
}

// File: contracts/interface/DividendPayingTokenOptionalInterface.sol


/// @title Dividend-Paying Token Optional Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev OPTIONAL functions for a dividend-paying token contract.
interface DividendPayingTokenOptionalInterface {
  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function withdrawableDividendOf(address _owner) external view returns(uint256);

  /// @notice View the amount of dividend in wei that an address has withdrawn.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has withdrawn.
  function withdrawnDividendOf(address _owner) external view returns(uint256);

  /// @notice View the amount of dividend in wei that an address has earned in total.
  /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has earned in total.
  function accumulativeDividendOf(address _owner) external view returns(uint256);
}

// File: contracts/interface/DividendPayingTokenInterface.sol

/// @title Dividend-Paying Token Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev An interface for a dividend-paying token contract.
interface DividendPayingTokenInterface {
  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function dividendOf(address _owner) external view returns(uint256);


  /// @notice Withdraws the ether distributed to the sender.
  /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer.
  ///  MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0.
  function withdrawDividend() external;

  /// @dev This event MUST emit when ether is distributed to token holders.
  /// @param from The address which sends ether to this contract.
  /// @param weiAmount The amount of distributed ether in wei.
  event DividendsDistributed(
    address indexed from,
    uint256 weiAmount
  );

  /// @dev This event MUST emit when an address withdraws their dividend.
  /// @param to The address which withdraws ether from this contract.
  /// @param weiAmount The amount of withdrawn ether in wei.
  event DividendWithdrawn(
    address indexed to,
    uint256 weiAmount
  );
}

// File: contracts/math/SafeMathInt.sol


/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }


    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

// File: contracts/math/SafeMathUint.sol

/**
 * @title SafeMathUint
 * @dev Math operations with safety checks that revert on error
 */
library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// 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 no longer needed starting with Solidity 0.8. 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 substraction 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/utils/Context.sol


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

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

// File: @openzeppelin/contracts/access/Ownable.sol


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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



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

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;


        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File: contracts/misc/DividendPayingToken.sol



/// @title Dividend-Paying Token
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev A mintable ERC20 token that allows anyone to pay and distribute ether
///  to token holders as dividends and allows token holders to withdraw their dividends.
///  Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code
contract DividendPayingToken is ERC20, Ownable, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface {
  using SafeMath for uint256;
  using SafeMathUint for uint256;
  using SafeMathInt for int256;

  address public reward;


  // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small.
  // For more discussion about choosing the value of `magnitude`,
  //  see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728
  uint256 constant internal magnitude = 2**128;

  uint256 internal magnifiedDividendPerShare;

  // About dividendCorrection:
  // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with:
  //   `dividendOf(_user) = dividendPerShare * balanceOf(_user)`.
  // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens),
  //   `dividendOf(_user)` should not be changed,
  //   but the computed value of `dividendPerShare * balanceOf(_user)` is changed.
  // To keep the `dividendOf(_user)` unchanged, we add a correction term:
  //   `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`,
  //   where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed:
  //   `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`.
  // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed.
  mapping(address => int256) internal magnifiedDividendCorrections;
  mapping(address => uint256) internal withdrawnDividends;

  uint256 public totalDividendsDistributed;

  constructor (string memory _name, string memory _symbol) ERC20(_name, _symbol) {
     
  }

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


  function distributeRewardDividends(uint256 amount) public onlyOwner{
    require(totalSupply() > 0);

    if (amount > 0) {
      magnifiedDividendPerShare = magnifiedDividendPerShare.add(
        (amount).mul(magnitude) / totalSupply()
      );
      emit DividendsDistributed(msg.sender, amount);

      totalDividendsDistributed = totalDividendsDistributed.add(amount);
    }
  }

  /// @notice Withdraws the ether distributed to the sender.
  /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
  function withdrawDividend() public virtual override {
    _withdrawDividendOfUser(payable(msg.sender));
  }

  /// @notice Withdraws the ether distributed to the sender.
  /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
 function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
    uint256 _withdrawableDividend = withdrawableDividendOf(user);
    if (_withdrawableDividend > 0) {
      withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
      emit DividendWithdrawn(user, _withdrawableDividend);
      bool success = IERC20(reward).transfer(user, _withdrawableDividend);

      if(!success) {
        withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
        return 0;
      }

      return _withdrawableDividend;
    }

    return 0;
  }


  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function dividendOf(address _owner) public view override returns(uint256) {
    return withdrawableDividendOf(_owner);
  }

  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function withdrawableDividendOf(address _owner) public view override returns(uint256) {
    return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
  }

  /// @notice View the amount of dividend in wei that an address has withdrawn.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has withdrawn.
  function withdrawnDividendOf(address _owner) public view override returns(uint256) {
    return withdrawnDividends[_owner];
  }


  /// @notice View the amount of dividend in wei that an address has earned in total.
  /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
  /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` has earned in total.
  function accumulativeDividendOf(address _owner) public view override returns(uint256) {
    return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe()
      .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
  }

  /// @dev Internal function that transfer tokens from one address to another.
  /// Update magnifiedDividendCorrections to keep dividends unchanged.
  /// @param from The address to transfer from.
  /// @param to The address to transfer to.
  /// @param value The amount to be transferred.
  function _transfer(address from, address to, uint256 value) internal virtual override {
    require(false);

    int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe();
    magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection);
    magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection);
  }

  /// @dev Internal function that mints tokens to an account.
  /// Update magnifiedDividendCorrections to keep dividends unchanged.
  /// @param account The account that will receive the created tokens.
  /// @param value The amount that will be created.
  function _mint(address account, uint256 value) internal override {
    super._mint(account, value);

    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }

  /// @dev Internal function that burns an amount of the token of a given account.
  /// Update magnifiedDividendCorrections to keep dividends unchanged.
  /// @param account The account whose tokens will be burnt.
  /// @param value The amount that will be burnt.
  function _burn(address account, uint256 value) internal override {
    super._burn(account, value);

    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }

  function _setBalance(address account, uint256 newBalance) internal {
    uint256 currentBalance = balanceOf(account);

    if(newBalance > currentBalance) {
      uint256 mintAmount = newBalance.sub(currentBalance);
      _mint(account, mintAmount);
    } else if(newBalance < currentBalance) {
      uint256 burnAmount = currentBalance.sub(newBalance);
      _burn(account, burnAmount);
    }
  }
}

// File: contracts/ShibBone.sol

contract ShibBone is ERC20, Ownable {
    using SafeMath for uint256;

    struct BuyFee {
        uint16 SHIB;
        uint16 BONE;
        uint16 MARKETING;
    }

    struct SellFee {
        uint16 SHIB;
        uint16 BONE;
        uint16 MARKETING;
    }


    BuyFee public buyFee;
    SellFee public sellFee;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool private swapping;
    bool private normalTaxEnabled = false;

    uint16 private totalBuyFee;
    uint16 private totalSellFee;

    uint16 buyCount = 50; // no. of buys after that tax will become normal

    TOKENDividendTrackerOne public dividendTrackerShib;
    TOKENDividendTrackerTwo public dividendTrackerBone;

    address private  deadWallet = address(0xdead);

    address private constant SHIB =
        address(0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE); //SHIBA INU

    address private constant BONE = 
        address(0x9813037ee2218799597d83D4a5B6F3b6778218d9); //BONE
       

    uint256 public swapTokensAtAmount = 2e9 * 1e9;
    uint256 public maxTxAmount;
    uint256 public maxWallet;

    address public marketingWallet = address(0xED03b444dFEFB577bb0cf13e551610142dae3d00); //set your marketing wallet here

    // use by default 300,000 gas to process auto-claiming dividends
    uint256 public gasForProcessing = 300000;

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;


    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event Transfer(address indexed from, address indexed to, uint256 value);
    
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event GasForProcessingUpdated(
        uint256 indexed newValue,
        uint256 indexed oldValue
    );

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    event SendDividends(uint256 tokensSwapped, uint256 amount);

    event ProcessedDividendTracker(
        uint256 iterations,
        uint256 claims,
        uint256 lastProcessedIndex,
        bool indexed automatic,
        uint256 gas,
        address indexed processor
    );

    constructor() ERC20("ShibBone", "xShib") {
        dividendTrackerShib = new TOKENDividendTrackerOne(SHIB);
        dividendTrackerBone = new TOKENDividendTrackerTwo(BONE);

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D //Uniswap V2 router
           
        );
        // Create a uniswap pair for this new token
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;
       
       //// INITIAL TAXES ///
        buyFee.SHIB = 3;
        buyFee.BONE = 3;
        buyFee.MARKETING = 9;
        totalBuyFee = 15;

        sellFee.SHIB = 4;
        sellFee.BONE = 4;
        sellFee.MARKETING = 12;
        totalSellFee = 20;

        uint256 maxSupply = 1e15 * 1e9; // 1,000,000,000,000,000 tokens

        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);

        // exclude following addresses from receiving dividends
        dividendTrackerShib.excludeFromDividends(address(dividendTrackerShib));
        dividendTrackerShib.excludeFromDividends(address(this));
        dividendTrackerShib.excludeFromDividends(owner());
        dividendTrackerShib.excludeFromDividends(deadWallet);
        dividendTrackerShib.excludeFromDividends(address(_uniswapV2Router));

        dividendTrackerBone.excludeFromDividends(address(dividendTrackerBone));
        dividendTrackerBone.excludeFromDividends(address(this));
        dividendTrackerBone.excludeFromDividends(owner());
        dividendTrackerBone.excludeFromDividends(deadWallet);
        dividendTrackerBone.excludeFromDividends(address(_uniswapV2Router));



        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(deadWallet, true);
        excludeFromFees(address(this), true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        emit Transfer(address(0), owner(), maxSupply);
        _mint(owner(), maxSupply);

        maxTxAmount = totalSupply().mul(1).div(100); // 1% per per transaction
        maxWallet = totalSupply().mul(3).div(100);// 3% of the supply per wallet limit
    }

    receive() external payable {}

    function decimals () public pure override returns (uint8) {
        return 9;
    }
    
    /// @notice switch to normal taxes 
    /// this function is called when buyCount is completed
    /// eg. if buyCount is 50, means alteast 50 buys should be executed,
    /// before this function excecution
    function switchToNormalTaxes () internal {
        normalTaxEnabled = true;
        buyFee.SHIB = 1;
        buyFee.BONE = 1;
        buyFee.MARKETING = 3;
        totalBuyFee = 5;

        sellFee.SHIB = 1;
        sellFee.BONE = 1;
        sellFee.MARKETING = 3;
        totalSellFee = 5;
    }

 
    ///@dev update router address to new one
    ///@param newAddress: owner can update the router address
    function updateRouter(address newAddress) external onlyOwner {
        require(newAddress != address(uniswapV2Router), "xShib: The router already has that address");
            address oldRouter = address(uniswapV2Router);
            uniswapV2Router = IUniswapV2Router02(newAddress);
         address get_pair =
            IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this),
            uniswapV2Router.WETH());
        if (get_pair == address(0)) {
          uniswapV2Pair =
            IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),
             uniswapV2Router.WETH());
        } else {
        uniswapV2Pair = get_pair;
        }
        emit UpdateUniswapV2Router(newAddress, oldRouter);
    }

    ///@notice claim stucked tokens or eth
    ///@param _token: owner can claim stucked tokens/eth from the contract
    function claimStuckTokens(address _token) external onlyOwner {
        require(_token != address(this),"xShib: can't claim native token");
        if (_token == address(0x0)) {
            payable(owner()).transfer(address(this).balance);
            return;
        }
        IERC20 erc20token = IERC20(_token);
        uint256 balance = erc20token.balanceOf(address(this));
        erc20token.transfer(owner(), balance);
    }
    
    ///@dev manage addresses in fee list
    ///@param account: address to be included or excluded
    ///@param excluded: bool value (true means excluded, false means included)
    function excludeFromFees(address account, bool excluded) public onlyOwner {
        if(excluded){
        require(
            _isExcludedFromFees[account] != excluded,"xShib: Account is already excluded");
        }
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    ///@dev update marketing wallet if required
    ///@param _marketing: new marketing address
    function setMarketingWallet(address payable _marketing) external onlyOwner {
        require(_marketing != address(0) , "xShib: BONE Wallet can't be a zero address");
        marketingWallet = _marketing;
    }

    ///@dev update the buy fees
    ///@param _SHIB: new SHIB fee
    ///@param _BONE: new BONE fee
    function setBuyFees(
        uint16 _SHIB,
        uint16 _BONE,
        uint16 _MARKETING
    ) external onlyOwner {
        buyFee.SHIB = _SHIB;
        buyFee.BONE = _BONE;
        buyFee.MARKETING = _MARKETING;

        totalBuyFee = buyFee.SHIB + buyFee.BONE + buyFee.MARKETING;
        require (totalBuyFee <=10, "xShib: Max buy fees limit is 10 percent");
    }
     
    ///@dev update the sell fees
    ///@param _SHIB: new SHIB fee
    ///@param _BONE: new BONE fee
    ///@param _MARKETING: new liquidity fee
    function setSellFees(
        uint16 _SHIB,
        uint16 _BONE,
        uint16 _MARKETING
    ) external onlyOwner {
        sellFee.SHIB = _SHIB;
        sellFee.BONE = _BONE;
        sellFee.MARKETING = _MARKETING;

        totalSellFee = sellFee.SHIB + sellFee.BONE + sellFee.MARKETING;
        require(totalSellFee <= 10, "xShib: Max Sell fees limit is 10 percent");
    }

    ///@dev add or remove new pairs
    ///@param pair: new pair address 
    ///@param value: boolean value, true means added, false means removed
    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "xShib: The Uniswap pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

    ///@dev set threshold to swap tax for eth/SHIB
    ///@param amount: number of tokens
    function setSwapTokens(uint256 amount) external onlyOwner {
        swapTokensAtAmount = amount * 1e9;
    }

    ///@notice private function to which set automated market maker (pair)
    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(
            automatedMarketMakerPairs[pair] != value,
            "xShib: Automated market maker pair is already set to that value"
        );
        automatedMarketMakerPairs[pair] = value;

        if (value) {
            dividendTrackerShib.excludeFromDividends(pair);
            dividendTrackerBone.excludeFromDividends(pair);
        }

        emit SetAutomatedMarketMakerPair(pair, value);
    }
    
    ///@dev update the gas to SHIB distribution
    ///@param newValue: set new gas value b/w 200000 to 500000
    function updateGasForProcessing(uint256 newValue) public onlyOwner {
        require(
            newValue >= 200000 && newValue <= 500000,
            "xShib: gasForProcessing must be between 200,000 and 500,000"
        );
        require(
            newValue != gasForProcessing,
            "xShib: Cannot update gasForProcessing to same value"
        );
        emit GasForProcessingUpdated(newValue, gasForProcessing);
        gasForProcessing = newValue;
    }

    ///@dev update minimum claim wait
    ///@param claimWait: update min time b/w two consequtive distribuiton to a wallet
    function updateClaimWait(uint256 claimWait) external onlyOwner {
        dividendTrackerShib.updateClaimWait(claimWait);
        dividendTrackerBone.updateClaimWait(claimWait);
    }

    ///@notice Returns claim wait
    function getClaimWait() external view returns (uint256, uint256) {
        return (dividendTrackerShib.claimWait(), dividendTrackerBone.claimWait());
    }

    ///@notice Returns total dividends amount distributed till now
    function getTotalDividendsDistributed() external view returns (uint256, uint256) {
        return (dividendTrackerShib.totalDividendsDistributed(), dividendTrackerBone.totalDividendsDistributed());
    }

    ///@notice Returns if a address is excluded or not from fees
    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    ///@notice returns claimable amount of user
    function withdrawableDividendOf(address account)
        public
        view
        returns (uint256, uint256)
    {
        return (dividendTrackerShib.withdrawableDividendOf(account), dividendTrackerBone.withdrawableDividendOf(account));
    }

    ///@notice return dividend token balance of account
    function dividendTokenBalanceOf(address account)
        public
        view
        returns (uint256, uint256)
    {
        return (dividendTrackerShib.balanceOf(account), dividendTrackerBone.balanceOf(account));
    }

    ///@dev exclude certain wallets or bots from dividends
    ///@param account: owner can exclude certain wallets from dividends
    function excludeFromDividends(address account) external onlyOwner {
        dividendTrackerShib.excludeFromDividends(account);
        dividendTrackerBone.excludeFromDividends(account);
    }


    ///@notice claim the pending SHIBs manually
    function claim() external {
        dividendTrackerShib.processAccount(payable(msg.sender), false);
        dividendTrackerBone.processAccount(payable(msg.sender), false);
    }



   
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            from != owner() &&
            to != owner()
        ) {
            swapping = true;
            swapAndLiquify(contractTokenBalance); 
            sendShibDividends();
            sendBoneDividends();

            swapping = false;
        }

        bool takeFee = !swapping;

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

        if (takeFee) {
            uint256 fees;
            require(amount <= maxTxAmount,"Token: Amount exceeds transfer per transaction limit");
            if (!automatedMarketMakerPairs[to]) {
                require(
                    balanceOf(to) + amount <= maxWallet,
                    "Token: Balance exceeds Max Wallet limit"
                );
            }

            if(!normalTaxEnabled && buyCount == 0){
                switchToNormalTaxes();
            }
            
            if (automatedMarketMakerPairs[from]) {
                fees = amount.mul(totalBuyFee).div(100);
                if(buyCount >= 1){
                buyCount = buyCount - 1;
                }
                
            } else if (automatedMarketMakerPairs[to]) {
                fees = amount.mul(totalSellFee).div(100);
                
            }

            if (fees > 0) {
                amount = amount.sub(fees);
                emit Transfer(from, address(this), fees);
                super._transfer(from, address(this), fees);
            }
        }

        super._transfer(from, to, amount);
        emit Transfer(from, to, amount);

        try dividendTrackerShib.setBalance(payable(from), balanceOf(from)) {} catch {}
        try dividendTrackerShib.setBalance(payable(to), balanceOf(to)) {} catch {}

        try dividendTrackerBone.setBalance(payable(from), balanceOf(from)) {} catch {}
        try dividendTrackerBone.setBalance(payable(to), balanceOf(to)) {} catch {}



        if (!swapping) {
            uint256 gas = gasForProcessing;

            try dividendTrackerShib.process(gas) returns (
                uint256 iterations,
                uint256 claims,
                uint256 lastProcessedIndex
            ) {
                emit ProcessedDividendTracker(
                    iterations,
                    claims,
                    lastProcessedIndex,
                    true,
                    gas,
                    tx.origin
                );
            } catch {}

            try dividendTrackerBone.process(gas) returns (
                uint256 iterations,
                uint256 claims,
                uint256 lastProcessedIndex
            ) {
                emit ProcessedDividendTracker(
                    iterations,
                    claims,
                    lastProcessedIndex,
                    true,
                    gas,
                    tx.origin
                );
            } catch {}


        }
    }

    ///@dev set maxTx amount
    ///@param amount: owner set new maxTx amount (must be greator than equals to 1 percent of the supply)
    function setMaxTx (uint256 amount) external onlyOwner {
        require(amount >= (totalSupply().mul(10).div(1000)),"Token: can't set lower than 1 percent of supply");
        maxTxAmount = amount;
    }
    
    ///@dev set maxWallet amount
    ///@param amount: owner set new maxWallet amount (must be greator than equals to 1 percent of the supply)
    function setMaxWallet (uint256 amount) external onlyOwner {
        require (amount >= (totalSupply().mul(10).div(1000)),"Token: Max Wallet limit should be greator than equal to 1%");
        maxWallet = amount ;
    }
    
    ///@notice private function which swap the tax for eth, SHIB, add liquidity
    function swapAndLiquify(uint256 tokens) private {
        uint256 initialBalance = address(this).balance;
        
        swapTokensForETH(tokens);

        uint256 newBalance = address(this).balance.sub(initialBalance);
        uint256 BONEPart = newBalance.mul(buyFee.BONE + sellFee.BONE)
                                .div(totalBuyFee + totalSellFee);
        uint256 SHIBPart = newBalance.mul(buyFee.SHIB + sellFee.SHIB)
                             .div(totalBuyFee + totalSellFee);   
        bool sent;                     
        if(BONEPart  > 0){swapETHforBONE(BONEPart);}
        if(SHIBPart > 0){swapETHforSHIB(SHIBPart);}
        if(address(this).balance > 0){
        ( sent,) = marketingWallet.call{value: address(this).balance}("");

        }
    }


    

    function swapTokensForETH(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

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

    function swapETHforSHIB(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = uniswapV2Router.WETH();
        path[1] = SHIB;

        // make the swap
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function swapETHforBONE(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = uniswapV2Router.WETH();
        path[1] = BONE;

        // make the swap
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: tokenAmount}(
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function sendShibDividends() private {

        uint256 newBalance = (IERC20(SHIB).balanceOf(address(this)));

        bool success = IERC20(SHIB).transfer(
            address(dividendTrackerShib),
            (newBalance)
        );

        if (success) {
            dividendTrackerShib.distributeRewardDividends(newBalance);
            emit SendDividends(newBalance, newBalance);
        }
    }

    function sendBoneDividends() private {

        uint256 newBalance = (IERC20(BONE).balanceOf(address(this)));

        bool success = IERC20(BONE).transfer(
            address(dividendTrackerBone),
            (newBalance)
        );

        if (success) {
            dividendTrackerBone.distributeRewardDividends(newBalance);
            emit SendDividends(newBalance, newBalance);
        }
    }
}

contract TOKENDividendTrackerOne is Ownable, DividendPayingToken {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;

    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;

    mapping(address => bool) public excludedFromDividends;

    mapping(address => uint256) public lastClaimTimes;

    uint256 public claimWait;
    uint256 public immutable minimumTokenBalanceForDividends;

    event ExcludeFromDividends(address indexed account);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);

    event Claim(
        address indexed account,
        uint256 amount,
        bool indexed automatic
    );

    constructor(address _reward)
        DividendPayingToken("Shib_Dividend_Tracker", "Shib_dividend_Tracker")
    {
        reward = _reward;
        claimWait = 3600;
        minimumTokenBalanceForDividends = 1000 * (10**9); //must hold 1000+ tokens
    }

    function _transfer(
        address,
        address,
        uint256
    ) internal pure override {
        require(false, "Shib_Dividend_Tracker: No transfers allowed");
    }

    function withdrawDividend() public pure override {
        require(
            false,
            "Shib_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main TOKEN contract."
        );
    }

    function excludeFromDividends(address account) external onlyOwner {
        require(!excludedFromDividends[account]);
        excludedFromDividends[account] = true;

        _setBalance(account, 0);
        tokenHoldersMap.remove(account);

        emit ExcludeFromDividends(account);
    }

    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(
            newClaimWait >= 3600 && newClaimWait <= 86400,
            "Shib_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours"
        );
        require(
            newClaimWait != claimWait,
            "Shib_Dividend_Tracker: Cannot update claimWait to same value"
        );
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }

    function getLastProcessedIndex() external view returns (uint256) {
        return lastProcessedIndex;
    }

    function getNumberOfTokenHolders() external view returns (uint256) {
        return tokenHoldersMap.keys.length;
    }

    function getAccount(address _account)
        public
        view
        returns (
            address account,
            int256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable
        )
    {
        account = _account;

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

        if (index >= 0) {
            if (uint256(index) > lastProcessedIndex) {
                iterationsUntilProcessed = index.sub(
                    int256(lastProcessedIndex)
                );
            } else {
                uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length >
                    lastProcessedIndex
                    ? tokenHoldersMap.keys.length.sub(lastProcessedIndex)
                    : 0;

                iterationsUntilProcessed = index.add(
                    int256(processesUntilEndOfArray)
                );
            }
        }

        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);

        lastClaimTime = lastClaimTimes[account];

        nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0;

        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp
            ? nextClaimTime.sub(block.timestamp)
            : 0;
    }

    function getAccountAtIndex(uint256 index)
        public
        view
        returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        if (index >= tokenHoldersMap.size()) {
            return (
                0x0000000000000000000000000000000000000000,
                -1,
                -1,
                0,
                0,
                0,
                0,
                0
            );
        }

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return getAccount(account);
    }

    function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
        if (lastClaimTime > block.timestamp) {
            return false;
        }

        return block.timestamp.sub(lastClaimTime) >= claimWait;
    }

    function setBalance(address payable account, uint256 newBalance)
        external
        onlyOwner
    {
        if (excludedFromDividends[account]) {
            return;
        }

        if (newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
            tokenHoldersMap.set(account, newBalance);
        } else {
            _setBalance(account, 0);
            tokenHoldersMap.remove(account);
        }

        processAccount(account, true);
    }

    function process(uint256 gas)
        public
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;

        if (numberOfTokenHolders == 0) {
            return (0, 0, lastProcessedIndex);
        }

        uint256 _lastProcessedIndex = lastProcessedIndex;

        uint256 gasUsed = 0;

        uint256 gasLeft = gasleft();

        uint256 iterations = 0;
        uint256 claims = 0;

        while (gasUsed < gas && iterations < numberOfTokenHolders) {
            _lastProcessedIndex++;

            if (_lastProcessedIndex >= tokenHoldersMap.keys.length) {
                _lastProcessedIndex = 0;
            }

            address account = tokenHoldersMap.keys[_lastProcessedIndex];

            if (canAutoClaim(lastClaimTimes[account])) {
                if (processAccount(payable(account), true)) {
                    claims++;
                }
            }

            iterations++;

            uint256 newGasLeft = gasleft();

            if (gasLeft > newGasLeft) {
                gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
            }

            gasLeft = newGasLeft;
        }

        lastProcessedIndex = _lastProcessedIndex;

        return (iterations, claims, lastProcessedIndex);
    }

    function processAccount(address payable account, bool automatic)
        public
        onlyOwner
        returns (bool)
    {
        uint256 amount = _withdrawDividendOfUser(account);

        if (amount > 0) {
            lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount, automatic);
            return true;
        }

        return false;
    }
}


contract TOKENDividendTrackerTwo is Ownable, DividendPayingToken {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;

    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;

    mapping(address => bool) public excludedFromDividends;

    mapping(address => uint256) public lastClaimTimes;

    uint256 public claimWait;
    uint256 public immutable minimumTokenBalanceForDividends;

    event ExcludeFromDividends(address indexed account);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);

    event Claim(
        address indexed account,
        uint256 amount,
        bool indexed automatic
    );

    constructor(address _reward)
        DividendPayingToken("Bone_Dividend_Tracker", "Bone_dividend_Tracker")
    {
        reward = _reward;
        claimWait = 3600;
        minimumTokenBalanceForDividends = 1000 * (10**9); //must hold 1000+ tokens
    }

    function _transfer(
        address,
        address,
        uint256
    ) internal pure override {
        require(false, "Bone_Dividend_Tracker: No transfers allowed");
    }

    function withdrawDividend() public pure override {
        require(
            false,
            "Bone_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main TOKEN contract."
        );
    }

    function excludeFromDividends(address account) external onlyOwner {
        require(!excludedFromDividends[account]);
        excludedFromDividends[account] = true;

        _setBalance(account, 0);
        tokenHoldersMap.remove(account);

        emit ExcludeFromDividends(account);
    }

    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(
            newClaimWait >= 3600 && newClaimWait <= 86400,
            "Bone_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours"
        );
        require(
            newClaimWait != claimWait,
            "Bone_Dividend_Tracker: Cannot update claimWait to same value"
        );
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }

    function getLastProcessedIndex() external view returns (uint256) {
        return lastProcessedIndex;
    }

    function getNumberOfTokenHolders() external view returns (uint256) {
        return tokenHoldersMap.keys.length;
    }

    function getAccount(address _account)
        public
        view
        returns (
            address account,
            int256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable
        )
    {
        account = _account;

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

        if (index >= 0) {
            if (uint256(index) > lastProcessedIndex) {
                iterationsUntilProcessed = index.sub(
                    int256(lastProcessedIndex)
                );
            } else {
                uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length >
                    lastProcessedIndex
                    ? tokenHoldersMap.keys.length.sub(lastProcessedIndex)
                    : 0;

                iterationsUntilProcessed = index.add(
                    int256(processesUntilEndOfArray)
                );
            }
        }

        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);

        lastClaimTime = lastClaimTimes[account];

        nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0;

        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp
            ? nextClaimTime.sub(block.timestamp)
            : 0;
    }

    function getAccountAtIndex(uint256 index)
        public
        view
        returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        if (index >= tokenHoldersMap.size()) {
            return (
                0x0000000000000000000000000000000000000000,
                -1,
                -1,
                0,
                0,
                0,
                0,
                0
            );
        }

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return getAccount(account);
    }

    function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
        if (lastClaimTime > block.timestamp) {
            return false;
        }

        return block.timestamp.sub(lastClaimTime) >= claimWait;
    }

    function setBalance(address payable account, uint256 newBalance)
        external
        onlyOwner
    {
        if (excludedFromDividends[account]) {
            return;
        }

        if (newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
            tokenHoldersMap.set(account, newBalance);
        } else {
            _setBalance(account, 0);
            tokenHoldersMap.remove(account);
        }

        processAccount(account, true);
    }

    function process(uint256 gas)
        public
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;

        if (numberOfTokenHolders == 0) {
            return (0, 0, lastProcessedIndex);
        }

        uint256 _lastProcessedIndex = lastProcessedIndex;

        uint256 gasUsed = 0;

        uint256 gasLeft = gasleft();

        uint256 iterations = 0;
        uint256 claims = 0;

        while (gasUsed < gas && iterations < numberOfTokenHolders) {
            _lastProcessedIndex++;

            if (_lastProcessedIndex >= tokenHoldersMap.keys.length) {
                _lastProcessedIndex = 0;
            }

            address account = tokenHoldersMap.keys[_lastProcessedIndex];

            if (canAutoClaim(lastClaimTimes[account])) {
                if (processAccount(payable(account), true)) {
                    claims++;
                }
            }

            iterations++;

            uint256 newGasLeft = gasleft();

            if (gasLeft > newGasLeft) {
                gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
            }

            gasLeft = newGasLeft;
        }

        lastProcessedIndex = _lastProcessedIndex;

        return (iterations, claims, lastProcessedIndex);
    }

    function processAccount(address payable account, bool automatic)
        public
        onlyOwner
        returns (bool)
    {
        uint256 amount = _withdrawDividendOfUser(account);

        if (amount > 0) {
            lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount, automatic);
            return true;
        }

        return false;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint16","name":"SHIB","type":"uint16"},{"internalType":"uint16","name":"BONE","type":"uint16"},{"internalType":"uint16","name":"MARKETING","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTrackerBone","outputs":[{"internalType":"contract TOKENDividendTrackerTwo","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTrackerShib","outputs":[{"internalType":"contract TOKENDividendTrackerOne","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint16","name":"SHIB","type":"uint16"},{"internalType":"uint16","name":"BONE","type":"uint16"},{"internalType":"uint16","name":"MARKETING","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_SHIB","type":"uint16"},{"internalType":"uint16","name":"_BONE","type":"uint16"},{"internalType":"uint16","name":"_MARKETING","type":"uint16"}],"name":"setBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_marketing","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_SHIB","type":"uint16"},{"internalType":"uint16","name":"_BONE","type":"uint16"},{"internalType":"uint16","name":"_MARKETING","type":"uint16"}],"name":"setSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260098054601960d11b66ffff00000000ff60a81b19909116179055600c80546001600160a01b031990811661dead17909155671bc16d674ec80000600d556010805490911673ed03b444dfefb577bb0cf13e551610142dae3d00179055620493e060115534801562000074575f80fd5b506040518060400160405280600881526020016753686962426f6e6560c01b815250604051806040016040528060058152602001643c29b434b160d91b8152508160039081620000c5919062000d8b565b506004620000d4828262000d8b565b505050620000f1620000eb620008a260201b60201c565b620008a6565b7395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce604051620001149062000cd0565b6001600160a01b039091168152602001604051809103905ff0801580156200013e573d5f803e3d5ffd5b50600a80546001600160a01b0319166001600160a01b0392909216919091179055604051739813037ee2218799597d83d4a5b6f3b6778218d990620001839062000cde565b6001600160a01b039091168152602001604051809103905ff080158015620001ad573d5f803e3d5ffd5b50600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f737a250d5630b4cf539739df2c5dacb4c659f2488d90505f816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000229573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200024f919062000e53565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200029b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002c1919062000e53565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200030c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000332919062000e53565b600880546001600160a01b0319166001600160a01b0385811691909117909155600980546006805465ffffffffffff199081166409000300031790915560078054909116640c00040004179055918316600163ffff000160a01b031990921691909117600f60b01b1761ffff60c01b1916600560c21b179055905069d3c21bcecceda1000000620003c5826001620008f7565b600a5460405163031e79db60e41b81526001600160a01b0390911660048201819052906331e79db0906024015f604051808303815f87803b15801562000409575f80fd5b505af11580156200041c573d5f803e3d5ffd5b5050600a5460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db091506024015f604051808303815f87803b15801562000463575f80fd5b505af115801562000476573d5f803e3d5ffd5b5050600a546001600160a01b031691506331e79db09050620004a06005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024015f604051808303815f87803b158015620004df575f80fd5b505af1158015620004f2573d5f803e3d5ffd5b5050600a54600c5460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db091506024015f604051808303815f87803b1580156200053d575f80fd5b505af115801562000550573d5f803e3d5ffd5b5050600a5460405163031e79db60e41b81526001600160a01b03878116600483015290911692506331e79db091506024015f604051808303815f87803b15801562000599575f80fd5b505af1158015620005ac573d5f803e3d5ffd5b5050600b5460405163031e79db60e41b81526001600160a01b039091166004820181905292506331e79db091506024015f604051808303815f87803b158015620005f4575f80fd5b505af115801562000607573d5f803e3d5ffd5b5050600b5460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db091506024015f604051808303815f87803b1580156200064e575f80fd5b505af115801562000661573d5f803e3d5ffd5b5050600b546001600160a01b031691506331e79db090506200068b6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024015f604051808303815f87803b158015620006ca575f80fd5b505af1158015620006dd573d5f803e3d5ffd5b5050600b54600c5460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db091506024015f604051808303815f87803b15801562000728575f80fd5b505af11580156200073b573d5f803e3d5ffd5b5050600b5460405163031e79db60e41b81526001600160a01b03878116600483015290911692506331e79db091506024015f604051808303815f87803b15801562000784575f80fd5b505af115801562000797573d5f803e3d5ffd5b50505050620007b7620007af62000ab360201b60201c565b600162000ac2565b601054620007d0906001600160a01b0316600162000ac2565b600c54620007e9906001600160a01b0316600162000ac2565b620007f630600162000ac2565b6005546040518281526001600160a01b03909116905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a362000858620008516005546001600160a01b031690565b8262000bff565b6200087c60646200087560016200086e60025490565b9062000ca8565b9062000cbe565b600e556200089560646200087560036200086e60025490565b600f555062000ee6915050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f9081526013602052604090205481151560ff909116151503620009925760405162461bcd60e51b815260206004820152603f60248201527f78536869623a204175746f6d61746564206d61726b6574206d616b657220706160448201527f697220697320616c72656164792073657420746f20746861742076616c75650060648201526084015b60405180910390fd5b6001600160a01b0382165f908152601360205260409020805460ff1916821580159190911790915562000a7857600a5460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db0906024015f604051808303815f87803b15801562000a04575f80fd5b505af115801562000a17573d5f803e3d5ffd5b5050600b5460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db091506024015f604051808303815f87803b15801562000a60575f80fd5b505af115801562000a73573d5f803e3d5ffd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab905f90a35050565b6005546001600160a01b031690565b6005546001600160a01b0316331462000b1e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000989565b801562000ba1576001600160a01b0382165f9081526012602052604090205481151560ff90911615150362000ba15760405162461bcd60e51b815260206004820152602260248201527f78536869623a204163636f756e7420697320616c7265616479206578636c7564604482015261195960f21b606482015260840162000989565b6001600160a01b0382165f81815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821662000c575760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000989565b8060025f82825462000c6a919062000e96565b90915550506001600160a01b0382165f908152602081905260408120805483929062000c9890849062000e96565b9091555062000ca49050565b5050565b5f62000cb5828462000eac565b90505b92915050565b5f62000cb5828462000ec6565b505050565b611fc2806200465f83390190565b611fc2806200662183390190565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168062000d1557607f821691505b60208210810362000d3457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000ccb575f81815260208120601f850160051c8101602086101562000d625750805b601f850160051c820191505b8181101562000d835782815560010162000d6e565b505050505050565b81516001600160401b0381111562000da75762000da762000cec565b62000dbf8162000db8845462000d00565b8462000d3a565b602080601f83116001811462000df5575f841562000ddd5750858301515b5f19600386901b1c1916600185901b17855562000d83565b5f85815260208120601f198616915b8281101562000e255788860151825594840194600190910190840162000e04565b508582101562000e4357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121562000e64575f80fd5b81516001600160a01b038116811462000e7b575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111562000cb85762000cb862000e82565b808202811582820484141762000cb85762000cb862000e82565b5f8262000ee157634e487b7160e01b5f52601260045260245ffd5b500490565b61376b8062000ef45f395ff3fe60806040526004361061026d575f3560e01c80638c0b5e221161014a578063bf6642e7116100be578063e98030c711610078578063e98030c7146107b2578063f2fde38b146107d1578063f7d53efa146107f0578063f8b45b051461080f578063f9d0831a14610824578063fc6c2bda14610843575f80fd5b8063bf6642e7146106dd578063c0246668146106fc578063c851cc321461071b578063dd62ed3e1461073a578063df4d1ae61461077e578063e2f456051461079d575f80fd5b8063a26579ad1161010f578063a26579ad1461061f578063a457c2d714610633578063a8b9d24014610652578063a9059cbb14610671578063b62496f514610690578063bc337182146106be575f80fd5b80638c0b5e22146105a55780638da5cb5b146105ba57806395d89b41146105d75780639a7a23d6146105eb5780639c1b8af51461060a575f80fd5b806349bd5a5e116101e15780636843cd84116101a65780636843cd84146104f65780636951a0791461051557806370a0823114610534578063715018a61461055357806375f0a87414610567578063871c128d14610586575f80fd5b806349bd5a5e1461044e5780634e71d92d1461046d5780634fbee193146104815780635d0044ca146104b85780635d098b38146104d7575f80fd5b80632b14ca56116102325780632b14ca561461034557806330bb4cff1461039a578063313ce567146103c357806331e79db0146103de57806339509351146103ff578063470624021461041e575f80fd5b806306fdde0314610278578063095ea7b3146102a25780631694505e146102d157806318160ddd1461030857806323b872dd14610326575f80fd5b3661027457005b5f80fd5b348015610283575f80fd5b5061028c610862565b6040516102999190613297565b60405180910390f35b3480156102ad575f80fd5b506102c16102bc3660046132f6565b6108f2565b6040519015158152602001610299565b3480156102dc575f80fd5b506008546102f0906001600160a01b031681565b6040516001600160a01b039091168152602001610299565b348015610313575f80fd5b506002545b604051908152602001610299565b348015610331575f80fd5b506102c1610340366004613320565b610908565b348015610350575f80fd5b506007546103759061ffff808216916201000081048216916401000000009091041683565b6040805161ffff94851681529284166020840152921691810191909152606001610299565b3480156103a5575f80fd5b506103ae6109b5565b60408051928352602083019190915201610299565b3480156103ce575f80fd5b5060405160098152602001610299565b3480156103e9575f80fd5b506103fd6103f836600461335e565b610aa7565b005b34801561040a575f80fd5b506102c16104193660046132f6565b610b89565b348015610429575f80fd5b506006546103759061ffff808216916201000081048216916401000000009091041683565b348015610459575f80fd5b506009546102f0906001600160a01b031681565b348015610478575f80fd5b506103fd610bc4565b34801561048c575f80fd5b506102c161049b36600461335e565b6001600160a01b03165f9081526012602052604090205460ff1690565b3480156104c3575f80fd5b506103fd6104d2366004613379565b610caa565b3480156104e2575f80fd5b506103fd6104f136600461335e565b610d6e565b348015610501575f80fd5b506103ae61051036600461335e565b610e23565b348015610520575f80fd5b506103fd61052f3660046133a6565b610f08565b34801561053f575f80fd5b5061031861054e36600461335e565b611020565b34801561055e575f80fd5b506103fd61103a565b348015610572575f80fd5b506010546102f0906001600160a01b031681565b348015610591575f80fd5b506103fd6105a0366004613379565b61106f565b3480156105b0575f80fd5b50610318600e5481565b3480156105c5575f80fd5b506005546001600160a01b03166102f0565b3480156105e2575f80fd5b5061028c6111c0565b3480156105f6575f80fd5b506103fd6106053660046133f3565b6111cf565b348015610615575f80fd5b5061031860115481565b34801561062a575f80fd5b506103ae61129c565b34801561063e575f80fd5b506102c161064d3660046132f6565b611362565b34801561065d575f80fd5b506103ae61066c36600461335e565b6113fa565b34801561067c575f80fd5b506102c161068b3660046132f6565b61149b565b34801561069b575f80fd5b506102c16106aa36600461335e565b60136020525f908152604090205460ff1681565b3480156106c9575f80fd5b506103fd6106d8366004613379565b6114a7565b3480156106e8575f80fd5b506103fd6106f7366004613379565b611551565b348015610707575f80fd5b506103fd6107163660046133f3565b61158f565b348015610726575f80fd5b506103fd61073536600461335e565b611697565b348015610745575f80fd5b5061031861075436600461342a565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610789575f80fd5b50600a546102f0906001600160a01b031681565b3480156107a8575f80fd5b50610318600d5481565b3480156107bd575f80fd5b506103fd6107cc366004613379565b611aa0565b3480156107dc575f80fd5b506103fd6107eb36600461335e565b611b54565b3480156107fb575f80fd5b50600b546102f0906001600160a01b031681565b34801561081a575f80fd5b50610318600f5481565b34801561082f575f80fd5b506103fd61083e36600461335e565b611bec565b34801561084e575f80fd5b506103fd61085d3660046133a6565b611db3565b60606003805461087190613456565b80601f016020809104026020016040519081016040528092919081815260200182805461089d90613456565b80156108e85780601f106108bf576101008083540402835291602001916108e8565b820191905f5260205f20905b8154815290600101906020018083116108cb57829003601f168201915b5050505050905090565b5f6108fe338484611ec7565b5060015b92915050565b5f610914848484611fea565b6001600160a01b0384165f9081526001602090815260408083203384529091529020548281101561099d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6109aa8533858403611ec7565b506001949350505050565b5f80600a5f9054906101000a90046001600160a01b03166001600160a01b03166385a6b3ae6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2b919061348e565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166385a6b3ae6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9f919061348e565b915091509091565b6005546001600160a01b03163314610ad15760405162461bcd60e51b8152600401610994906134a5565b600a5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015f604051808303815f87803b158015610b15575f80fd5b505af1158015610b27573d5f803e3d5ffd5b5050600b5460405163031e79db60e41b81526001600160a01b03858116600483015290911692506331e79db091506024015b5f604051808303815f87803b158015610b70575f80fd5b505af1158015610b82573d5f803e3d5ffd5b5050505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490916108fe918590610bbf9086906134ee565b611ec7565b600a5460405163bc4c4b3760e01b81523360048201525f60248201526001600160a01b039091169063bc4c4b37906044016020604051808303815f875af1158015610c11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c359190613501565b50600b5460405163bc4c4b3760e01b81523360048201525f60248201526001600160a01b039091169063bc4c4b37906044016020604051808303815f875af1158015610c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ca79190613501565b50565b6005546001600160a01b03163314610cd45760405162461bcd60e51b8152600401610994906134a5565b610cf46103e8610cee600a610ce860025490565b906127cc565b906127de565b811015610d695760405162461bcd60e51b815260206004820152603a60248201527f546f6b656e3a204d61782057616c6c6574206c696d69742073686f756c64206260448201527f652067726561746f72207468616e20657175616c20746f2031250000000000006064820152608401610994565b600f55565b6005546001600160a01b03163314610d985760405162461bcd60e51b8152600401610994906134a5565b6001600160a01b038116610e015760405162461bcd60e51b815260206004820152602a60248201527f78536869623a20424f4e452057616c6c65742063616e27742062652061207a65604482015269726f206164647265737360b01b6064820152608401610994565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b600a546040516370a0823160e01b81526001600160a01b0383811660048301525f9283929116906370a0823190602401602060405180830381865afa158015610e6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e92919061348e565b600b546040516370a0823160e01b81526001600160a01b038681166004830152909116906370a08231906024015b602060405180830381865afa158015610edb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eff919061348e565b91509150915091565b6005546001600160a01b03163314610f325760405162461bcd60e51b8152600401610994906134a5565b6006805461ffff83811664010000000090810265ffff00000000198784166201000090810263ffffffff19909616858b161795909517908116821795869055918504831694610f8b94900483169290811691161761351c565b610f95919061351c565b6009805461ffff60b01b1916600160b01b61ffff93841681029190911791829055600a9104909116111561101b5760405162461bcd60e51b815260206004820152602760248201527f78536869623a204d6178206275792066656573206c696d6974206973203130206044820152661c195c98d95b9d60ca1b6064820152608401610994565b505050565b6001600160a01b03165f9081526020819052604090205490565b6005546001600160a01b031633146110645760405162461bcd60e51b8152600401610994906134a5565b61106d5f6127e9565b565b6005546001600160a01b031633146110995760405162461bcd60e51b8152600401610994906134a5565b62030d4081101580156110af57506207a1208111155b6111215760405162461bcd60e51b815260206004820152603b60248201527f78536869623a20676173466f7250726f63657373696e67206d7573742062652060448201527f6265747765656e203230302c30303020616e64203530302c30303000000000006064820152608401610994565b601154810361118e5760405162461bcd60e51b815260206004820152603360248201527f78536869623a2043616e6e6f742075706461746520676173466f7250726f63656044820152727373696e6720746f2073616d652076616c756560681b6064820152608401610994565b60115460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db7905f90a3601155565b60606004805461087190613456565b6005546001600160a01b031633146111f95760405162461bcd60e51b8152600401610994906134a5565b6009546001600160a01b039081169083160361128e5760405162461bcd60e51b815260206004820152604860248201527f78536869623a2054686520556e697377617020706169722063616e6e6f74206260448201527f652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616064820152676b6572506169727360c01b608482015260a401610994565b611298828261283a565b5050565b5f80600a5f9054906101000a90046001600160a01b03166001600160a01b0316636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112ee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611312919061348e565b600b5f9054906101000a90046001600160a01b03166001600160a01b0316636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7b573d5f803e3d5ffd5b335f9081526001602090815260408083206001600160a01b0386168452909152812054828110156113e35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610994565b6113f03385858403611ec7565b5060019392505050565b600a546040516302a2e74960e61b81526001600160a01b0383811660048301525f92839291169063a8b9d24090602401602060405180830381865afa158015611445573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611469919061348e565b600b546040516302a2e74960e61b81526001600160a01b0386811660048301529091169063a8b9d24090602401610ec0565b5f6108fe338484611fea565b6005546001600160a01b031633146114d15760405162461bcd60e51b8152600401610994906134a5565b6114e56103e8610cee600a610ce860025490565b81101561154c5760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e3a2063616e277420736574206c6f776572207468616e203120706560448201526e7263656e74206f6620737570706c7960881b6064820152608401610994565b600e55565b6005546001600160a01b0316331461157b5760405162461bcd60e51b8152600401610994906134a5565b61158981633b9aca0061353e565b600d5550565b6005546001600160a01b031633146115b95760405162461bcd60e51b8152600401610994906134a5565b8015611639576001600160a01b0382165f9081526012602052604090205481151560ff9091161515036116395760405162461bcd60e51b815260206004820152602260248201527f78536869623a204163636f756e7420697320616c7265616479206578636c7564604482015261195960f21b6064820152608401610994565b6001600160a01b0382165f81815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146116c15760405162461bcd60e51b8152600401610994906134a5565b6008546001600160a01b03908116908216036117325760405162461bcd60e51b815260206004820152602a60248201527f78536869623a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b6064820152608401610994565b600880546001600160a01b031981166001600160a01b038481169182179093556040805163c45a015560e01b8152905193909216925f9263c45a01559160048083019260209291908290030181865afa158015611791573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b59190613555565b6001600160a01b031663e6a439053060085f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611814573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118389190613555565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015611881573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a59190613555565b90506001600160a01b038116611a3f5760085f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611905573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119299190613555565b6001600160a01b031663c9c653963060085f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611988573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ac9190613555565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156119f6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a1a9190613555565b600980546001600160a01b0319166001600160a01b0392909216919091179055611a5b565b600980546001600160a01b0319166001600160a01b0383161790555b816001600160a01b0316836001600160a01b03167f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e60405160405180910390a3505050565b6005546001600160a01b03163314611aca5760405162461bcd60e51b8152600401610994906134a5565b600a5460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c7906024015f604051808303815f87803b158015611b0d575f80fd5b505af1158015611b1f573d5f803e3d5ffd5b5050600b5460405163e98030c760e01b8152600481018590526001600160a01b03909116925063e98030c79150602401610b59565b6005546001600160a01b03163314611b7e5760405162461bcd60e51b8152600401610994906134a5565b6001600160a01b038116611be35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610994565b610ca7816127e9565b6005546001600160a01b03163314611c165760405162461bcd60e51b8152600401610994906134a5565b306001600160a01b03821603611c6e5760405162461bcd60e51b815260206004820152601f60248201527f78536869623a2063616e277420636c61696d206e617469766520746f6b656e006044820152606401610994565b6001600160a01b038116611cb2576005546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015611298573d5f803e3d5ffd5b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611cf8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1c919061348e565b9050816001600160a01b031663a9059cbb611d3f6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015611d89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dad9190613501565b50505050565b6005546001600160a01b03163314611ddd5760405162461bcd60e51b8152600401610994906134a5565b6007805461ffff83811664010000000090810265ffff00000000198784166201000090810263ffffffff19909616858b161795909517908116821795869055918504831694611e3694900483169290811691161761351c565b611e40919061351c565b6009805461ffff60c01b1916600160c01b61ffff93841681029190911791829055600a9104909116111561101b5760405162461bcd60e51b815260206004820152602860248201527f78536869623a204d61782053656c6c2066656573206c696d6974206973203130604482015267081c195c98d95b9d60c21b6064820152608401610994565b6001600160a01b038316611f295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610994565b6001600160a01b038216611f8a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610994565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166120105760405162461bcd60e51b815260040161099490613570565b6001600160a01b0382166120365760405162461bcd60e51b8152600401610994906135b5565b805f036120485761101b83835f6129eb565b5f61205230611020565b600d54909150811080159081906120735750600954600160a01b900460ff16155b801561209757506001600160a01b0385165f9081526013602052604090205460ff16155b80156120b157506005546001600160a01b03868116911614155b80156120cb57506005546001600160a01b03858116911614155b1561210a576009805460ff60a01b1916600160a01b1790556120ec82612aef565b6120f4612c37565b6120fc612dd5565b6009805460ff60a01b191690555b6009546001600160a01b0386165f9081526012602052604090205460ff600160a01b90920482161591168061215657506001600160a01b0385165f9081526012602052604090205460ff165b1561215e57505f5b8015612418575f600e548511156121d45760405162461bcd60e51b815260206004820152603460248201527f546f6b656e3a20416d6f756e742065786365656473207472616e736665722070604482015273195c881d1c985b9cd858dd1a5bdb881b1a5b5a5d60621b6064820152608401610994565b6001600160a01b0386165f9081526013602052604090205460ff1661226857600f548561220088611020565b61220a91906134ee565b11156122685760405162461bcd60e51b815260206004820152602760248201527f546f6b656e3a2042616c616e63652065786365656473204d61782057616c6c656044820152661d081b1a5b5a5d60ca1b6064820152608401610994565b600954600160a81b900460ff1615801561228d5750600954600160d01b900461ffff16155b156122d457600980546006805465ffffffffffff1990811664030001000190811790925560078054909116909117905564ffffffffff60a81b1916630500050160a81b1790555b6001600160a01b0387165f9081526013602052604090205460ff16156123695760095461231490606490610cee908890600160b01b900461ffff166127cc565b6009549091506001600160d01b90910461ffff16106123645760095461234790600190600160d01b900461ffff166135f8565b6009601a6101000a81548161ffff021916908361ffff1602179055505b6123ac565b6001600160a01b0386165f9081526013602052604090205460ff16156123ac576009546123a990606490610cee908890600160c01b900461ffff166127cc565b90505b8015612416576123bc8582612f0c565b9450306001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161240391815260200190565b60405180910390a36124168730836129eb565b505b6124238686866129eb565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405161246891815260200190565b60405180910390a3600a546001600160a01b031663e30443bc8761248b81611020565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b1580156124ce575f80fd5b505af19250505080156124df575060015b50600a546001600160a01b031663e30443bc866124fb81611020565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b15801561253e575f80fd5b505af192505050801561254f575060015b50600b546001600160a01b031663e30443bc8761256b81611020565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b1580156125ae575f80fd5b505af19250505080156125bf575060015b50600b546001600160a01b031663e30443bc866125db81611020565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b15801561261e575f80fd5b505af192505050801561262f575060015b50600954600160a01b900460ff166127c457601154600a546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303815f875af19250505080156126ad575060408051601f3d908101601f191682019092526126aa91810190613613565b60015b156127035760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b600b546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303815f875af192505050801561276c575060408051601f3d908101601f1916820190925261276991810190613613565b60015b156127c25760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b5f6127d7828461353e565b9392505050565b5f6127d7828461363e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f9081526013602052604090205481151560ff9091161515036128cf5760405162461bcd60e51b815260206004820152603f60248201527f78536869623a204175746f6d61746564206d61726b6574206d616b657220706160448201527f697220697320616c72656164792073657420746f20746861742076616c7565006064820152608401610994565b6001600160a01b0382165f908152601360205260409020805460ff191682158015919091179091556129b057600a5460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db0906024015f604051808303815f87803b15801561293f575f80fd5b505af1158015612951573d5f803e3d5ffd5b5050600b5460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db091506024015f604051808303815f87803b158015612999575f80fd5b505af11580156129ab573d5f803e3d5ffd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab905f90a35050565b6001600160a01b038316612a115760405162461bcd60e51b815260040161099490613570565b6001600160a01b038216612a375760405162461bcd60e51b8152600401610994906135b5565b6001600160a01b0383165f9081526020819052604090205481811015612aae5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610994565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290612ae49084906134ee565b90915550611dad9050565b47612af982612f17565b5f612b044783612f0c565b6009549091505f90612b6290612b2e9061ffff600160c01b8204811691600160b01b90041661351c565b60075460065461ffff92831692610cee92612b579262010000918290048316929190041661351c565b859061ffff166127cc565b6009549091505f90612bb690612b8c9061ffff600160c01b8204811691600160b01b90041661351c565b60075460065461ffff92831692610cee92612bab92908216911661351c565b869061ffff166127cc565b90505f8215612bc857612bc88361305f565b8115612bd757612bd7826131b2565b47156127c4576010546040516001600160a01b039091169047905f81818185875af1925050503d805f8114612c27576040519150601f19603f3d011682016040523d82523d5f602084013e612c2c565b606091505b505050505050505050565b6040516370a0823160e01b81523060048201525f907395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce906370a0823190602401602060405180830381865afa158015612c86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612caa919061348e565b600a5460405163a9059cbb60e01b81526001600160a01b039091166004820152602481018290529091505f907395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce9063a9059cbb906044016020604051808303815f875af1158015612d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d359190613501565b9050801561129857600a54604051632287d53b60e11b8152600481018490526001600160a01b039091169063450faa76906024015b5f604051808303815f87803b158015612d81575f80fd5b505af1158015612d93573d5f803e3d5ffd5b505060408051858152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3935001905060405180910390a15050565b6040516370a0823160e01b81523060048201525f90739813037ee2218799597d83d4a5b6f3b6778218d9906370a0823190602401602060405180830381865afa158015612e24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e48919061348e565b600b5460405163a9059cbb60e01b81526001600160a01b039091166004820152602481018290529091505f90739813037ee2218799597d83d4a5b6f3b6778218d99063a9059cbb906044016020604051808303815f875af1158015612eaf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ed39190613501565b9050801561129857600b54604051632287d53b60e11b8152600481018490526001600160a01b039091169063450faa7690602401612d6a565b5f6127d7828461365d565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612f4a57612f4a613670565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612fa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fc59190613555565b81600181518110612fd857612fd8613670565b6001600160a01b039283166020918202929092010152600854612ffe9130911684611ec7565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac947906130369085905f908690309042906004016136c6565b5f604051808303815f87803b15801561304d575f80fd5b505af11580156127c4573d5f803e3d5ffd5b6040805160028082526060820183525f926020830190803683375050600854604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156130c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ea9190613555565b815f815181106130fc576130fc613670565b60200260200101906001600160a01b031690816001600160a01b031681525050739813037ee2218799597d83d4a5b6f3b6778218d98160018151811061314457613144613670565b6001600160a01b03928316602091820292909201015260085460405163b6f9de9560e01b815291169063b6f9de95908490613189905f90869030904290600401613701565b5f604051808303818588803b1580156131a0575f80fd5b505af11580156127c2573d5f803e3d5ffd5b6040805160028082526060820183525f926020830190803683375050600854604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015613219573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061323d9190613555565b815f8151811061324f5761324f613670565b60200260200101906001600160a01b031690816001600160a01b0316815250507395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce8160018151811061314457613144613670565b5f6020808352835180828501525f5b818110156132c2578581018301518582016040015282016132a6565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ca7575f80fd5b5f8060408385031215613307575f80fd5b8235613312816132e2565b946020939093013593505050565b5f805f60608486031215613332575f80fd5b833561333d816132e2565b9250602084013561334d816132e2565b929592945050506040919091013590565b5f6020828403121561336e575f80fd5b81356127d7816132e2565b5f60208284031215613389575f80fd5b5035919050565b803561ffff811681146133a1575f80fd5b919050565b5f805f606084860312156133b8575f80fd5b6133c184613390565b92506133cf60208501613390565b91506133dd60408501613390565b90509250925092565b8015158114610ca7575f80fd5b5f8060408385031215613404575f80fd5b823561340f816132e2565b9150602083013561341f816133e6565b809150509250929050565b5f806040838503121561343b575f80fd5b8235613446816132e2565b9150602083013561341f816132e2565b600181811c9082168061346a57607f821691505b60208210810361348857634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561349e575f80fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610902576109026134da565b5f60208284031215613511575f80fd5b81516127d7816133e6565b61ffff818116838216019080821115613537576135376134da565b5092915050565b8082028115828204841417610902576109026134da565b5f60208284031215613565575f80fd5b81516127d7816132e2565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b61ffff828116828216039080821115613537576135376134da565b5f805f60608486031215613625575f80fd5b8351925060208401519150604084015190509250925092565b5f8261365857634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610902576109026134da565b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602080850194508084015f5b838110156136bb5781516001600160a01b031687529582019590820190600101613696565b509495945050505050565b85815284602082015260a060408201525f6136e460a0830186613684565b6001600160a01b0394909416606083015250608001529392505050565b848152608060208201525f6137196080830186613684565b6001600160a01b0394909416604083015250606001529291505056fea2646970667358221220ec362a40a9de2d6460e23808fa560c1d374aa6c4a8f57caf9a38d85c73f6578a64736f6c6343000815003360a060405234801562000010575f80fd5b5060405162001fc238038062001fc283398101604081905262000033916200016a565b6040518060400160405280601581526020017f536869625f4469766964656e645f547261636b657200000000000000000000008152506040518060400160405280601581526020017f536869625f6469766964656e645f547261636b6572000000000000000000000081525081818160039081620000b2919062000239565b506004620000c1828262000239565b505050620000de620000d86200011560201b60201c565b62000119565b5050600680546001600160a01b0319166001600160a01b0392909216919091179055610e1060125564e8d4a5100060805262000301565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f602082840312156200017b575f80fd5b81516001600160a01b038116811462000192575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620001c257607f821691505b602082108103620001e157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000234575f81815260208120601f850160051c810160208610156200020f5750805b601f850160051c820191505b8181101562000230578281556001016200021b565b5050505b505050565b81516001600160401b0381111562000255576200025562000199565b6200026d81620002668454620001ad565b84620001e7565b602080601f831160018114620002a3575f84156200028b5750858301515b5f19600386901b1c1916600185901b17855562000230565b5f85815260208120601f198616915b82811015620002d357888601518255948401946001909101908401620002b2565b5085821015620002f157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b608051611ca1620003215f395f818161049e0152610bf80152611ca15ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c8063715018a61161011f578063bc4c4b37116100a9578063e7841ec011610079578063e7841ec01461050b578063e98030c714610513578063f2fde38b14610526578063fbcbc0f114610539578063ffb2c4791461054c575f80fd5b8063bc4c4b3714610486578063be10b61414610499578063dd62ed3e146104c0578063e30443bc146104f8575f80fd5b806395d89b41116100ef57806395d89b411461041d578063a457c2d714610425578063a8b9d24014610438578063a9059cbb1461044b578063aafd847a1461045e575f80fd5b8063715018a6146103e857806385a6b3ae146103f05780638da5cb5b146103f957806391b89fba1461040a575f80fd5b8063313ce567116101a05780634e7b827f116101705780634e7b827f146103355780635183d6fd146103575780636a474002146103af5780636f2789ec146103b757806370a08231146103c0575f80fd5b8063313ce567146102eb57806331e79db0146102fa578063395093511461030f578063450faa7614610322575f80fd5b8063226cfa3d116101e6578063226cfa3d14610272578063228cb7331461029157806323b872dd146102bc57806327ce0147146102cf5780633009a609146102e2575f80fd5b806306fdde0314610217578063095ea7b31461023557806309bbedde1461025857806318160ddd1461026a575b5f80fd5b61021f61057a565b60405161022c9190611984565b60405180910390f35b6102486102433660046119e3565b61060a565b604051901515815260200161022c565b600b545b60405190815260200161022c565b60025461025c565b61025c610280366004611a0d565b60116020525f908152604090205481565b6006546102a4906001600160a01b031681565b6040516001600160a01b03909116815260200161022c565b6102486102ca366004611a28565b610620565b61025c6102dd366004611a0d565b6106cd565b61025c600f5481565b6040516009815260200161022c565b61030d610308366004611a0d565b610728565b005b61024861031d3660046119e3565b6107e4565b61030d610330366004611a66565b61081f565b610248610343366004611a0d565b60106020525f908152604090205460ff1681565b61036a610365366004611a66565b6108db565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161022c565b61030d610943565b61025c60125481565b61025c6103ce366004611a0d565b6001600160a01b03165f9081526020819052604090205490565b61030d6109e8565b61025c600a5481565b6005546001600160a01b03166102a4565b61025c610418366004611a0d565b610a1b565b61021f610a25565b6102486104333660046119e3565b610a34565b61025c610446366004611a0d565b610acc565b6102486104593660046119e3565b610af7565b61025c61046c366004611a0d565b6001600160a01b03165f9081526009602052604090205490565b610248610494366004611a8a565b610b03565b61025c7f000000000000000000000000000000000000000000000000000000000000000081565b61025c6104ce366004611ac1565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61030d6105063660046119e3565b610bad565b600f5461025c565b61030d610521366004611a66565b610c5e565b61030d610534366004611a0d565b610dcb565b61036a610547366004611a0d565b610e63565b61055f61055a366004611a66565b610f44565b6040805193845260208401929092529082015260600161022c565b60606003805461058990611aed565b80601f01602080910402602001604051908101604052809291908181526020018280546105b590611aed565b80156106005780601f106105d757610100808354040283529160200191610600565b820191905f5260205f20905b8154815290600101906020018083116105e357829003601f168201915b5050505050905090565b5f610616338484611058565b5060015b92915050565b5f61062c84848461117b565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156106b55760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106c28533858403611058565b506001949350505050565b6001600160a01b0381165f9081526008602090815260408083205491839052822054600754600160801b9261071e92610719926107139161070e91906111d7565b6111e9565b906111f7565b611231565b61061a9190611b39565b6005546001600160a01b031633146107525760405162461bcd60e51b81526004016106ac90611b58565b6001600160a01b0381165f9081526010602052604090205460ff1615610776575f80fd5b6001600160a01b0381165f908152601060205260408120805460ff191660011790556107a3908290611242565b6107ae600b826112a4565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b25905f90a250565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909161061691859061081a908690611b8d565b611058565b6005546001600160a01b031633146108495760405162461bcd60e51b81526004016106ac90611b58565b5f61085360025490565b1161085c575f80fd5b80156108d85761088f61086e60025490565b61087c83600160801b6111d7565b6108869190611b39565b600754906113d7565b60075560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600a546108d490826113d7565b600a555b50565b5f805f805f805f806108ec600b5490565b891061090f57505f96505f19955085945086935083925082915081905080610938565b5f61091b600b8b6113e2565b905061092681610e63565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606660248201527f536869625f4469766964656e645f547261636b65723a2077697468647261774460448201527f69766964656e642064697361626c65642e20557365207468652027636c61696d60648201527f272066756e6374696f6e206f6e20746865206d61696e20544f4b454e20636f6e6084820152653a3930b1ba1760d11b60a482015260c4016106ac565b565b6005546001600160a01b03163314610a125760405162461bcd60e51b81526004016106ac90611b58565b6109e65f611412565b5f61061a82610acc565b60606004805461058990611aed565b335f9081526001602090815260408083206001600160a01b038616845290915281205482811015610ab55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106ac565b610ac23385858403611058565b5060019392505050565b6001600160a01b0381165f9081526009602052604081205461061a90610af1846106cd565b90611463565b5f61061633848461117b565b6005545f906001600160a01b03163314610b2f5760405162461bcd60e51b81526004016106ac90611b58565b5f610b398461146e565b90508015610ba4576001600160a01b0384165f81815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610b929085815260200190565b60405180910390a3600191505061061a565b505f9392505050565b6005546001600160a01b03163314610bd75760405162461bcd60e51b81526004016106ac90611b58565b6001600160a01b0382165f9081526010602052604090205460ff16610c5a577f00000000000000000000000000000000000000000000000000000000000000008110610c3857610c278282611242565b610c33600b83836115c9565b610c4d565b610c42825f611242565b610c4d600b836112a4565b610c58826001610b03565b505b5050565b6005546001600160a01b03163314610c885760405162461bcd60e51b81526004016106ac90611b58565b610e108110158015610c9d5750620151808111155b610d225760405162461bcd60e51b815260206004820152604a60248201527f536869625f4469766964656e645f547261636b65723a20636c61696d5761697460448201527f206d757374206265207570646174656420746f206265747765656e203120616e6064820152696420323420686f75727360b01b608482015260a4016106ac565b6012548103610d995760405162461bcd60e51b815260206004820152603c60248201527f536869625f4469766964656e645f547261636b65723a2043616e6e6f7420757060448201527f6461746520636c61696d5761697420746f2073616d652076616c75650000000060648201526084016106ac565b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f905f90a3601255565b6005546001600160a01b03163314610df55760405162461bcd60e51b81526004016106ac90611b58565b6001600160a01b038116610e5a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ac565b6108d881611412565b805f808080808080610e76600b8961166f565b96505f1995505f8712610ed457600f54871115610ea257600f54610e9b9088906116b7565b9550610ed4565b600f54600b545f9110610eb5575f610ec4565b600f54600b54610ec491611463565b9050610ed088826111f7565b9650505b610edd88610acc565b9450610ee8886106cd565b6001600160a01b0389165f90815260116020526040902054909450925082610f10575f610f1e565b601254610f1e9084906113d7565b9150428211610f2d575f610f37565b610f378242611463565b9050919395975091939597565b600b545f9081908190808203610f64575050600f545f9250829150611051565b600f545f805a90505f805b8984108015610f7d57508582105b156110405784610f8c81611ba0565b600b5490965086109050610f9e575f94505b5f600b5f018681548110610fb457610fb4611bb8565b5f9182526020808320909101546001600160a01b03168083526011909152604090912054909150610fe4906116f0565b1561100757610ff4816001610b03565b15611007578161100381611ba0565b9250505b8261101181611ba0565b9350505f5a9050808511156110375761103461102d8683611463565b87906113d7565b95505b9350610f6f9050565b600f85905590975095509193505050505b9193909250565b6001600160a01b0383166110ba5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ac565b6001600160a01b03821661111b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ac565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602b60248201527f536869625f4469766964656e645f547261636b65723a204e6f207472616e736660448201526a195c9cc8185b1b1bddd95960aa1b60648201526084016106ac565b5f6111e28284611bcc565b9392505050565b5f818181121561061a575f80fd5b5f806112038385611be3565b90505f83121580156112155750838112155b8061122957505f8312801561122957508381125b6111e2575f80fd5b5f8082121561123e575f80fd5b5090565b6001600160a01b0382165f908152602081905260409020548082111561127f575f61126d8383611463565b90506112798482611715565b50610c58565b80821015610c58575f6112928284611463565b905061129e8482611777565b50505050565b6001600160a01b0381165f90815260038301602052604090205460ff166112c9575050565b6001600160a01b0381165f9081526003830160209081526040808320805460ff191690556001808601835281842084905560028601909252822054845490929161131291611c0a565b90505f845f01828154811061132957611329611bb8565b5f9182526020808320909101546001600160a01b0390811680845260028901909252604080842087905590871683528220919091558554909150819086908590811061137757611377611bb8565b5f91825260209091200180546001600160a01b0319166001600160a01b039290921691909117905584548590806113b0576113b0611c1d565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050505050565b5f6111e28284611b8d565b5f825f0182815481106113f7576113f7611bb8565b5f918252602090912001546001600160a01b03169392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f6111e28284611c0a565b5f8061147983610acc565b905080156115c1576001600160a01b0383165f908152600960205260409020546114a390826113d7565b6001600160a01b0384165f81815260096020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906114f19084815260200190565b60405180910390a260065460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018490525f92169063a9059cbb906044016020604051808303815f875af1158015611549573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156d9190611c31565b9050806115ba576001600160a01b0384165f908152600960205260409020546115969083611463565b6001600160a01b039094165f90815260096020526040812094909455509192915050565b5092915050565b505f92915050565b6001600160a01b0382165f90815260038401602052604090205460ff161561160c576001600160a01b0382165f9081526001840160205260409020819055610c58565b6001600160a01b0382165f8181526003850160209081526040808320805460ff19166001908117909155878101835281842086905587546002890184529184208290558101875586835291200180546001600160a01b0319169091179055505050565b6001600160a01b0381165f90815260038301602052604081205460ff1661169857505f1961061a565b506001600160a01b03165f908152600291909101602052604090205490565b5f806116c38385611c4c565b90505f83121580156116d55750838113155b8061122957505f8312801561122957508381136111e2575f80fd5b5f4282111561170057505f919050565b60125461170d4284611463565b101592915050565b61171f82826117ba565b61175861173a61070e836007546111d790919063ffffffff16565b6001600160a01b0384165f90815260086020526040902054906116b7565b6001600160a01b039092165f9081526008602052604090209190915550565b6117818282611869565b61175861179c61070e836007546111d790919063ffffffff16565b6001600160a01b0384165f90815260086020526040902054906111f7565b6001600160a01b0382166118105760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ac565b61181b5f8383610c58565b8060025f82825461182c9190611b8d565b90915550506001600160a01b0382165f9081526020819052604081208054839290611858908490611b8d565b90915550610c5a90505f8383610c58565b6001600160a01b0382166118c95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106ac565b6118d4825f83610c58565b6001600160a01b0382165f90815260208190526040902054818110156119475760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106ac565b6001600160a01b0383165f908152602081905260408120838303905560028054849290611975908490611c0a565b90915550610c589050835f8483565b5f6020808352835180828501525f5b818110156119af57858101830151858201604001528201611993565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108d8575f80fd5b5f80604083850312156119f4575f80fd5b82356119ff816119cf565b946020939093013593505050565b5f60208284031215611a1d575f80fd5b81356111e2816119cf565b5f805f60608486031215611a3a575f80fd5b8335611a45816119cf565b92506020840135611a55816119cf565b929592945050506040919091013590565b5f60208284031215611a76575f80fd5b5035919050565b80151581146108d8575f80fd5b5f8060408385031215611a9b575f80fd5b8235611aa6816119cf565b91506020830135611ab681611a7d565b809150509250929050565b5f8060408385031215611ad2575f80fd5b8235611add816119cf565b91506020830135611ab6816119cf565b600181811c90821680611b0157607f821691505b602082108103611b1f57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b5f82611b5357634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8082018082111561061a5761061a611b25565b5f60018201611bb157611bb1611b25565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b808202811582820484141761061a5761061a611b25565b8082018281125f831280158216821582161715611c0257611c02611b25565b505092915050565b8181038181111561061a5761061a611b25565b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215611c41575f80fd5b81516111e281611a7d565b8181035f8312801583831316838312821617156115ba576115ba611b2556fea2646970667358221220f68b2cdb72a9195781bebec0ea5b68527f5c57d6f596f9b1ad20f2c155f0bbee64736f6c6343000815003360a060405234801562000010575f80fd5b5060405162001fc238038062001fc283398101604081905262000033916200016a565b6040518060400160405280601581526020017f426f6e655f4469766964656e645f547261636b657200000000000000000000008152506040518060400160405280601581526020017f426f6e655f6469766964656e645f547261636b6572000000000000000000000081525081818160039081620000b2919062000239565b506004620000c1828262000239565b505050620000de620000d86200011560201b60201c565b62000119565b5050600680546001600160a01b0319166001600160a01b0392909216919091179055610e1060125564e8d4a5100060805262000301565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f602082840312156200017b575f80fd5b81516001600160a01b038116811462000192575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620001c257607f821691505b602082108103620001e157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000234575f81815260208120601f850160051c810160208610156200020f5750805b601f850160051c820191505b8181101562000230578281556001016200021b565b5050505b505050565b81516001600160401b0381111562000255576200025562000199565b6200026d81620002668454620001ad565b84620001e7565b602080601f831160018114620002a3575f84156200028b5750858301515b5f19600386901b1c1916600185901b17855562000230565b5f85815260208120601f198616915b82811015620002d357888601518255948401946001909101908401620002b2565b5085821015620002f157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b608051611ca1620003215f395f818161049e0152610bf80152611ca15ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c8063715018a61161011f578063bc4c4b37116100a9578063e7841ec011610079578063e7841ec01461050b578063e98030c714610513578063f2fde38b14610526578063fbcbc0f114610539578063ffb2c4791461054c575f80fd5b8063bc4c4b3714610486578063be10b61414610499578063dd62ed3e146104c0578063e30443bc146104f8575f80fd5b806395d89b41116100ef57806395d89b411461041d578063a457c2d714610425578063a8b9d24014610438578063a9059cbb1461044b578063aafd847a1461045e575f80fd5b8063715018a6146103e857806385a6b3ae146103f05780638da5cb5b146103f957806391b89fba1461040a575f80fd5b8063313ce567116101a05780634e7b827f116101705780634e7b827f146103355780635183d6fd146103575780636a474002146103af5780636f2789ec146103b757806370a08231146103c0575f80fd5b8063313ce567146102eb57806331e79db0146102fa578063395093511461030f578063450faa7614610322575f80fd5b8063226cfa3d116101e6578063226cfa3d14610272578063228cb7331461029157806323b872dd146102bc57806327ce0147146102cf5780633009a609146102e2575f80fd5b806306fdde0314610217578063095ea7b31461023557806309bbedde1461025857806318160ddd1461026a575b5f80fd5b61021f61057a565b60405161022c9190611984565b60405180910390f35b6102486102433660046119e3565b61060a565b604051901515815260200161022c565b600b545b60405190815260200161022c565b60025461025c565b61025c610280366004611a0d565b60116020525f908152604090205481565b6006546102a4906001600160a01b031681565b6040516001600160a01b03909116815260200161022c565b6102486102ca366004611a28565b610620565b61025c6102dd366004611a0d565b6106cd565b61025c600f5481565b6040516009815260200161022c565b61030d610308366004611a0d565b610728565b005b61024861031d3660046119e3565b6107e4565b61030d610330366004611a66565b61081f565b610248610343366004611a0d565b60106020525f908152604090205460ff1681565b61036a610365366004611a66565b6108db565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161022c565b61030d610943565b61025c60125481565b61025c6103ce366004611a0d565b6001600160a01b03165f9081526020819052604090205490565b61030d6109e8565b61025c600a5481565b6005546001600160a01b03166102a4565b61025c610418366004611a0d565b610a1b565b61021f610a25565b6102486104333660046119e3565b610a34565b61025c610446366004611a0d565b610acc565b6102486104593660046119e3565b610af7565b61025c61046c366004611a0d565b6001600160a01b03165f9081526009602052604090205490565b610248610494366004611a8a565b610b03565b61025c7f000000000000000000000000000000000000000000000000000000000000000081565b61025c6104ce366004611ac1565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61030d6105063660046119e3565b610bad565b600f5461025c565b61030d610521366004611a66565b610c5e565b61030d610534366004611a0d565b610dcb565b61036a610547366004611a0d565b610e63565b61055f61055a366004611a66565b610f44565b6040805193845260208401929092529082015260600161022c565b60606003805461058990611aed565b80601f01602080910402602001604051908101604052809291908181526020018280546105b590611aed565b80156106005780601f106105d757610100808354040283529160200191610600565b820191905f5260205f20905b8154815290600101906020018083116105e357829003601f168201915b5050505050905090565b5f610616338484611058565b5060015b92915050565b5f61062c84848461117b565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156106b55760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106c28533858403611058565b506001949350505050565b6001600160a01b0381165f9081526008602090815260408083205491839052822054600754600160801b9261071e92610719926107139161070e91906111d7565b6111e9565b906111f7565b611231565b61061a9190611b39565b6005546001600160a01b031633146107525760405162461bcd60e51b81526004016106ac90611b58565b6001600160a01b0381165f9081526010602052604090205460ff1615610776575f80fd5b6001600160a01b0381165f908152601060205260408120805460ff191660011790556107a3908290611242565b6107ae600b826112a4565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b25905f90a250565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909161061691859061081a908690611b8d565b611058565b6005546001600160a01b031633146108495760405162461bcd60e51b81526004016106ac90611b58565b5f61085360025490565b1161085c575f80fd5b80156108d85761088f61086e60025490565b61087c83600160801b6111d7565b6108869190611b39565b600754906113d7565b60075560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600a546108d490826113d7565b600a555b50565b5f805f805f805f806108ec600b5490565b891061090f57505f96505f19955085945086935083925082915081905080610938565b5f61091b600b8b6113e2565b905061092681610e63565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606660248201527f426f6e655f4469766964656e645f547261636b65723a2077697468647261774460448201527f69766964656e642064697361626c65642e20557365207468652027636c61696d60648201527f272066756e6374696f6e206f6e20746865206d61696e20544f4b454e20636f6e6084820152653a3930b1ba1760d11b60a482015260c4016106ac565b565b6005546001600160a01b03163314610a125760405162461bcd60e51b81526004016106ac90611b58565b6109e65f611412565b5f61061a82610acc565b60606004805461058990611aed565b335f9081526001602090815260408083206001600160a01b038616845290915281205482811015610ab55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106ac565b610ac23385858403611058565b5060019392505050565b6001600160a01b0381165f9081526009602052604081205461061a90610af1846106cd565b90611463565b5f61061633848461117b565b6005545f906001600160a01b03163314610b2f5760405162461bcd60e51b81526004016106ac90611b58565b5f610b398461146e565b90508015610ba4576001600160a01b0384165f81815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610b929085815260200190565b60405180910390a3600191505061061a565b505f9392505050565b6005546001600160a01b03163314610bd75760405162461bcd60e51b81526004016106ac90611b58565b6001600160a01b0382165f9081526010602052604090205460ff16610c5a577f00000000000000000000000000000000000000000000000000000000000000008110610c3857610c278282611242565b610c33600b83836115c9565b610c4d565b610c42825f611242565b610c4d600b836112a4565b610c58826001610b03565b505b5050565b6005546001600160a01b03163314610c885760405162461bcd60e51b81526004016106ac90611b58565b610e108110158015610c9d5750620151808111155b610d225760405162461bcd60e51b815260206004820152604a60248201527f426f6e655f4469766964656e645f547261636b65723a20636c61696d5761697460448201527f206d757374206265207570646174656420746f206265747765656e203120616e6064820152696420323420686f75727360b01b608482015260a4016106ac565b6012548103610d995760405162461bcd60e51b815260206004820152603c60248201527f426f6e655f4469766964656e645f547261636b65723a2043616e6e6f7420757060448201527f6461746520636c61696d5761697420746f2073616d652076616c75650000000060648201526084016106ac565b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f905f90a3601255565b6005546001600160a01b03163314610df55760405162461bcd60e51b81526004016106ac90611b58565b6001600160a01b038116610e5a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ac565b6108d881611412565b805f808080808080610e76600b8961166f565b96505f1995505f8712610ed457600f54871115610ea257600f54610e9b9088906116b7565b9550610ed4565b600f54600b545f9110610eb5575f610ec4565b600f54600b54610ec491611463565b9050610ed088826111f7565b9650505b610edd88610acc565b9450610ee8886106cd565b6001600160a01b0389165f90815260116020526040902054909450925082610f10575f610f1e565b601254610f1e9084906113d7565b9150428211610f2d575f610f37565b610f378242611463565b9050919395975091939597565b600b545f9081908190808203610f64575050600f545f9250829150611051565b600f545f805a90505f805b8984108015610f7d57508582105b156110405784610f8c81611ba0565b600b5490965086109050610f9e575f94505b5f600b5f018681548110610fb457610fb4611bb8565b5f9182526020808320909101546001600160a01b03168083526011909152604090912054909150610fe4906116f0565b1561100757610ff4816001610b03565b15611007578161100381611ba0565b9250505b8261101181611ba0565b9350505f5a9050808511156110375761103461102d8683611463565b87906113d7565b95505b9350610f6f9050565b600f85905590975095509193505050505b9193909250565b6001600160a01b0383166110ba5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ac565b6001600160a01b03821661111b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ac565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602b60248201527f426f6e655f4469766964656e645f547261636b65723a204e6f207472616e736660448201526a195c9cc8185b1b1bddd95960aa1b60648201526084016106ac565b5f6111e28284611bcc565b9392505050565b5f818181121561061a575f80fd5b5f806112038385611be3565b90505f83121580156112155750838112155b8061122957505f8312801561122957508381125b6111e2575f80fd5b5f8082121561123e575f80fd5b5090565b6001600160a01b0382165f908152602081905260409020548082111561127f575f61126d8383611463565b90506112798482611715565b50610c58565b80821015610c58575f6112928284611463565b905061129e8482611777565b50505050565b6001600160a01b0381165f90815260038301602052604090205460ff166112c9575050565b6001600160a01b0381165f9081526003830160209081526040808320805460ff191690556001808601835281842084905560028601909252822054845490929161131291611c0a565b90505f845f01828154811061132957611329611bb8565b5f9182526020808320909101546001600160a01b0390811680845260028901909252604080842087905590871683528220919091558554909150819086908590811061137757611377611bb8565b5f91825260209091200180546001600160a01b0319166001600160a01b039290921691909117905584548590806113b0576113b0611c1d565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050505050565b5f6111e28284611b8d565b5f825f0182815481106113f7576113f7611bb8565b5f918252602090912001546001600160a01b03169392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f6111e28284611c0a565b5f8061147983610acc565b905080156115c1576001600160a01b0383165f908152600960205260409020546114a390826113d7565b6001600160a01b0384165f81815260096020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906114f19084815260200190565b60405180910390a260065460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018490525f92169063a9059cbb906044016020604051808303815f875af1158015611549573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156d9190611c31565b9050806115ba576001600160a01b0384165f908152600960205260409020546115969083611463565b6001600160a01b039094165f90815260096020526040812094909455509192915050565b5092915050565b505f92915050565b6001600160a01b0382165f90815260038401602052604090205460ff161561160c576001600160a01b0382165f9081526001840160205260409020819055610c58565b6001600160a01b0382165f8181526003850160209081526040808320805460ff19166001908117909155878101835281842086905587546002890184529184208290558101875586835291200180546001600160a01b0319169091179055505050565b6001600160a01b0381165f90815260038301602052604081205460ff1661169857505f1961061a565b506001600160a01b03165f908152600291909101602052604090205490565b5f806116c38385611c4c565b90505f83121580156116d55750838113155b8061122957505f8312801561122957508381136111e2575f80fd5b5f4282111561170057505f919050565b60125461170d4284611463565b101592915050565b61171f82826117ba565b61175861173a61070e836007546111d790919063ffffffff16565b6001600160a01b0384165f90815260086020526040902054906116b7565b6001600160a01b039092165f9081526008602052604090209190915550565b6117818282611869565b61175861179c61070e836007546111d790919063ffffffff16565b6001600160a01b0384165f90815260086020526040902054906111f7565b6001600160a01b0382166118105760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ac565b61181b5f8383610c58565b8060025f82825461182c9190611b8d565b90915550506001600160a01b0382165f9081526020819052604081208054839290611858908490611b8d565b90915550610c5a90505f8383610c58565b6001600160a01b0382166118c95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106ac565b6118d4825f83610c58565b6001600160a01b0382165f90815260208190526040902054818110156119475760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106ac565b6001600160a01b0383165f908152602081905260408120838303905560028054849290611975908490611c0a565b90915550610c589050835f8483565b5f6020808352835180828501525f5b818110156119af57858101830151858201604001528201611993565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108d8575f80fd5b5f80604083850312156119f4575f80fd5b82356119ff816119cf565b946020939093013593505050565b5f60208284031215611a1d575f80fd5b81356111e2816119cf565b5f805f60608486031215611a3a575f80fd5b8335611a45816119cf565b92506020840135611a55816119cf565b929592945050506040919091013590565b5f60208284031215611a76575f80fd5b5035919050565b80151581146108d8575f80fd5b5f8060408385031215611a9b575f80fd5b8235611aa6816119cf565b91506020830135611ab681611a7d565b809150509250929050565b5f8060408385031215611ad2575f80fd5b8235611add816119cf565b91506020830135611ab6816119cf565b600181811c90821680611b0157607f821691505b602082108103611b1f57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b5f82611b5357634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8082018082111561061a5761061a611b25565b5f60018201611bb157611bb1611b25565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b808202811582820484141761061a5761061a611b25565b8082018281125f831280158216821582161715611c0257611c02611b25565b505092915050565b8181038181111561061a5761061a611b25565b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215611c41575f80fd5b81516111e281611a7d565b8181035f8312801583831316838312821617156115ba576115ba611b2556fea264697066735822122046fbc34b4294a92cb383ff37a7a6819eafeee1c04f0c07c3d555e804cd0514ad64736f6c63430008150033

Deployed Bytecode

0x60806040526004361061026d575f3560e01c80638c0b5e221161014a578063bf6642e7116100be578063e98030c711610078578063e98030c7146107b2578063f2fde38b146107d1578063f7d53efa146107f0578063f8b45b051461080f578063f9d0831a14610824578063fc6c2bda14610843575f80fd5b8063bf6642e7146106dd578063c0246668146106fc578063c851cc321461071b578063dd62ed3e1461073a578063df4d1ae61461077e578063e2f456051461079d575f80fd5b8063a26579ad1161010f578063a26579ad1461061f578063a457c2d714610633578063a8b9d24014610652578063a9059cbb14610671578063b62496f514610690578063bc337182146106be575f80fd5b80638c0b5e22146105a55780638da5cb5b146105ba57806395d89b41146105d75780639a7a23d6146105eb5780639c1b8af51461060a575f80fd5b806349bd5a5e116101e15780636843cd84116101a65780636843cd84146104f65780636951a0791461051557806370a0823114610534578063715018a61461055357806375f0a87414610567578063871c128d14610586575f80fd5b806349bd5a5e1461044e5780634e71d92d1461046d5780634fbee193146104815780635d0044ca146104b85780635d098b38146104d7575f80fd5b80632b14ca56116102325780632b14ca561461034557806330bb4cff1461039a578063313ce567146103c357806331e79db0146103de57806339509351146103ff578063470624021461041e575f80fd5b806306fdde0314610278578063095ea7b3146102a25780631694505e146102d157806318160ddd1461030857806323b872dd14610326575f80fd5b3661027457005b5f80fd5b348015610283575f80fd5b5061028c610862565b6040516102999190613297565b60405180910390f35b3480156102ad575f80fd5b506102c16102bc3660046132f6565b6108f2565b6040519015158152602001610299565b3480156102dc575f80fd5b506008546102f0906001600160a01b031681565b6040516001600160a01b039091168152602001610299565b348015610313575f80fd5b506002545b604051908152602001610299565b348015610331575f80fd5b506102c1610340366004613320565b610908565b348015610350575f80fd5b506007546103759061ffff808216916201000081048216916401000000009091041683565b6040805161ffff94851681529284166020840152921691810191909152606001610299565b3480156103a5575f80fd5b506103ae6109b5565b60408051928352602083019190915201610299565b3480156103ce575f80fd5b5060405160098152602001610299565b3480156103e9575f80fd5b506103fd6103f836600461335e565b610aa7565b005b34801561040a575f80fd5b506102c16104193660046132f6565b610b89565b348015610429575f80fd5b506006546103759061ffff808216916201000081048216916401000000009091041683565b348015610459575f80fd5b506009546102f0906001600160a01b031681565b348015610478575f80fd5b506103fd610bc4565b34801561048c575f80fd5b506102c161049b36600461335e565b6001600160a01b03165f9081526012602052604090205460ff1690565b3480156104c3575f80fd5b506103fd6104d2366004613379565b610caa565b3480156104e2575f80fd5b506103fd6104f136600461335e565b610d6e565b348015610501575f80fd5b506103ae61051036600461335e565b610e23565b348015610520575f80fd5b506103fd61052f3660046133a6565b610f08565b34801561053f575f80fd5b5061031861054e36600461335e565b611020565b34801561055e575f80fd5b506103fd61103a565b348015610572575f80fd5b506010546102f0906001600160a01b031681565b348015610591575f80fd5b506103fd6105a0366004613379565b61106f565b3480156105b0575f80fd5b50610318600e5481565b3480156105c5575f80fd5b506005546001600160a01b03166102f0565b3480156105e2575f80fd5b5061028c6111c0565b3480156105f6575f80fd5b506103fd6106053660046133f3565b6111cf565b348015610615575f80fd5b5061031860115481565b34801561062a575f80fd5b506103ae61129c565b34801561063e575f80fd5b506102c161064d3660046132f6565b611362565b34801561065d575f80fd5b506103ae61066c36600461335e565b6113fa565b34801561067c575f80fd5b506102c161068b3660046132f6565b61149b565b34801561069b575f80fd5b506102c16106aa36600461335e565b60136020525f908152604090205460ff1681565b3480156106c9575f80fd5b506103fd6106d8366004613379565b6114a7565b3480156106e8575f80fd5b506103fd6106f7366004613379565b611551565b348015610707575f80fd5b506103fd6107163660046133f3565b61158f565b348015610726575f80fd5b506103fd61073536600461335e565b611697565b348015610745575f80fd5b5061031861075436600461342a565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610789575f80fd5b50600a546102f0906001600160a01b031681565b3480156107a8575f80fd5b50610318600d5481565b3480156107bd575f80fd5b506103fd6107cc366004613379565b611aa0565b3480156107dc575f80fd5b506103fd6107eb36600461335e565b611b54565b3480156107fb575f80fd5b50600b546102f0906001600160a01b031681565b34801561081a575f80fd5b50610318600f5481565b34801561082f575f80fd5b506103fd61083e36600461335e565b611bec565b34801561084e575f80fd5b506103fd61085d3660046133a6565b611db3565b60606003805461087190613456565b80601f016020809104026020016040519081016040528092919081815260200182805461089d90613456565b80156108e85780601f106108bf576101008083540402835291602001916108e8565b820191905f5260205f20905b8154815290600101906020018083116108cb57829003601f168201915b5050505050905090565b5f6108fe338484611ec7565b5060015b92915050565b5f610914848484611fea565b6001600160a01b0384165f9081526001602090815260408083203384529091529020548281101561099d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6109aa8533858403611ec7565b506001949350505050565b5f80600a5f9054906101000a90046001600160a01b03166001600160a01b03166385a6b3ae6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2b919061348e565b600b5f9054906101000a90046001600160a01b03166001600160a01b03166385a6b3ae6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9f919061348e565b915091509091565b6005546001600160a01b03163314610ad15760405162461bcd60e51b8152600401610994906134a5565b600a5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015f604051808303815f87803b158015610b15575f80fd5b505af1158015610b27573d5f803e3d5ffd5b5050600b5460405163031e79db60e41b81526001600160a01b03858116600483015290911692506331e79db091506024015b5f604051808303815f87803b158015610b70575f80fd5b505af1158015610b82573d5f803e3d5ffd5b5050505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490916108fe918590610bbf9086906134ee565b611ec7565b600a5460405163bc4c4b3760e01b81523360048201525f60248201526001600160a01b039091169063bc4c4b37906044016020604051808303815f875af1158015610c11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c359190613501565b50600b5460405163bc4c4b3760e01b81523360048201525f60248201526001600160a01b039091169063bc4c4b37906044016020604051808303815f875af1158015610c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ca79190613501565b50565b6005546001600160a01b03163314610cd45760405162461bcd60e51b8152600401610994906134a5565b610cf46103e8610cee600a610ce860025490565b906127cc565b906127de565b811015610d695760405162461bcd60e51b815260206004820152603a60248201527f546f6b656e3a204d61782057616c6c6574206c696d69742073686f756c64206260448201527f652067726561746f72207468616e20657175616c20746f2031250000000000006064820152608401610994565b600f55565b6005546001600160a01b03163314610d985760405162461bcd60e51b8152600401610994906134a5565b6001600160a01b038116610e015760405162461bcd60e51b815260206004820152602a60248201527f78536869623a20424f4e452057616c6c65742063616e27742062652061207a65604482015269726f206164647265737360b01b6064820152608401610994565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b600a546040516370a0823160e01b81526001600160a01b0383811660048301525f9283929116906370a0823190602401602060405180830381865afa158015610e6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e92919061348e565b600b546040516370a0823160e01b81526001600160a01b038681166004830152909116906370a08231906024015b602060405180830381865afa158015610edb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eff919061348e565b91509150915091565b6005546001600160a01b03163314610f325760405162461bcd60e51b8152600401610994906134a5565b6006805461ffff83811664010000000090810265ffff00000000198784166201000090810263ffffffff19909616858b161795909517908116821795869055918504831694610f8b94900483169290811691161761351c565b610f95919061351c565b6009805461ffff60b01b1916600160b01b61ffff93841681029190911791829055600a9104909116111561101b5760405162461bcd60e51b815260206004820152602760248201527f78536869623a204d6178206275792066656573206c696d6974206973203130206044820152661c195c98d95b9d60ca1b6064820152608401610994565b505050565b6001600160a01b03165f9081526020819052604090205490565b6005546001600160a01b031633146110645760405162461bcd60e51b8152600401610994906134a5565b61106d5f6127e9565b565b6005546001600160a01b031633146110995760405162461bcd60e51b8152600401610994906134a5565b62030d4081101580156110af57506207a1208111155b6111215760405162461bcd60e51b815260206004820152603b60248201527f78536869623a20676173466f7250726f63657373696e67206d7573742062652060448201527f6265747765656e203230302c30303020616e64203530302c30303000000000006064820152608401610994565b601154810361118e5760405162461bcd60e51b815260206004820152603360248201527f78536869623a2043616e6e6f742075706461746520676173466f7250726f63656044820152727373696e6720746f2073616d652076616c756560681b6064820152608401610994565b60115460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db7905f90a3601155565b60606004805461087190613456565b6005546001600160a01b031633146111f95760405162461bcd60e51b8152600401610994906134a5565b6009546001600160a01b039081169083160361128e5760405162461bcd60e51b815260206004820152604860248201527f78536869623a2054686520556e697377617020706169722063616e6e6f74206260448201527f652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616064820152676b6572506169727360c01b608482015260a401610994565b611298828261283a565b5050565b5f80600a5f9054906101000a90046001600160a01b03166001600160a01b0316636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112ee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611312919061348e565b600b5f9054906101000a90046001600160a01b03166001600160a01b0316636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7b573d5f803e3d5ffd5b335f9081526001602090815260408083206001600160a01b0386168452909152812054828110156113e35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610994565b6113f03385858403611ec7565b5060019392505050565b600a546040516302a2e74960e61b81526001600160a01b0383811660048301525f92839291169063a8b9d24090602401602060405180830381865afa158015611445573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611469919061348e565b600b546040516302a2e74960e61b81526001600160a01b0386811660048301529091169063a8b9d24090602401610ec0565b5f6108fe338484611fea565b6005546001600160a01b031633146114d15760405162461bcd60e51b8152600401610994906134a5565b6114e56103e8610cee600a610ce860025490565b81101561154c5760405162461bcd60e51b815260206004820152602f60248201527f546f6b656e3a2063616e277420736574206c6f776572207468616e203120706560448201526e7263656e74206f6620737570706c7960881b6064820152608401610994565b600e55565b6005546001600160a01b0316331461157b5760405162461bcd60e51b8152600401610994906134a5565b61158981633b9aca0061353e565b600d5550565b6005546001600160a01b031633146115b95760405162461bcd60e51b8152600401610994906134a5565b8015611639576001600160a01b0382165f9081526012602052604090205481151560ff9091161515036116395760405162461bcd60e51b815260206004820152602260248201527f78536869623a204163636f756e7420697320616c7265616479206578636c7564604482015261195960f21b6064820152608401610994565b6001600160a01b0382165f81815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146116c15760405162461bcd60e51b8152600401610994906134a5565b6008546001600160a01b03908116908216036117325760405162461bcd60e51b815260206004820152602a60248201527f78536869623a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b6064820152608401610994565b600880546001600160a01b031981166001600160a01b038481169182179093556040805163c45a015560e01b8152905193909216925f9263c45a01559160048083019260209291908290030181865afa158015611791573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b59190613555565b6001600160a01b031663e6a439053060085f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611814573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118389190613555565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015611881573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a59190613555565b90506001600160a01b038116611a3f5760085f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611905573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119299190613555565b6001600160a01b031663c9c653963060085f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611988573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ac9190613555565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156119f6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a1a9190613555565b600980546001600160a01b0319166001600160a01b0392909216919091179055611a5b565b600980546001600160a01b0319166001600160a01b0383161790555b816001600160a01b0316836001600160a01b03167f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e60405160405180910390a3505050565b6005546001600160a01b03163314611aca5760405162461bcd60e51b8152600401610994906134a5565b600a5460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c7906024015f604051808303815f87803b158015611b0d575f80fd5b505af1158015611b1f573d5f803e3d5ffd5b5050600b5460405163e98030c760e01b8152600481018590526001600160a01b03909116925063e98030c79150602401610b59565b6005546001600160a01b03163314611b7e5760405162461bcd60e51b8152600401610994906134a5565b6001600160a01b038116611be35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610994565b610ca7816127e9565b6005546001600160a01b03163314611c165760405162461bcd60e51b8152600401610994906134a5565b306001600160a01b03821603611c6e5760405162461bcd60e51b815260206004820152601f60248201527f78536869623a2063616e277420636c61696d206e617469766520746f6b656e006044820152606401610994565b6001600160a01b038116611cb2576005546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015611298573d5f803e3d5ffd5b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611cf8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1c919061348e565b9050816001600160a01b031663a9059cbb611d3f6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015611d89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dad9190613501565b50505050565b6005546001600160a01b03163314611ddd5760405162461bcd60e51b8152600401610994906134a5565b6007805461ffff83811664010000000090810265ffff00000000198784166201000090810263ffffffff19909616858b161795909517908116821795869055918504831694611e3694900483169290811691161761351c565b611e40919061351c565b6009805461ffff60c01b1916600160c01b61ffff93841681029190911791829055600a9104909116111561101b5760405162461bcd60e51b815260206004820152602860248201527f78536869623a204d61782053656c6c2066656573206c696d6974206973203130604482015267081c195c98d95b9d60c21b6064820152608401610994565b6001600160a01b038316611f295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610994565b6001600160a01b038216611f8a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610994565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166120105760405162461bcd60e51b815260040161099490613570565b6001600160a01b0382166120365760405162461bcd60e51b8152600401610994906135b5565b805f036120485761101b83835f6129eb565b5f61205230611020565b600d54909150811080159081906120735750600954600160a01b900460ff16155b801561209757506001600160a01b0385165f9081526013602052604090205460ff16155b80156120b157506005546001600160a01b03868116911614155b80156120cb57506005546001600160a01b03858116911614155b1561210a576009805460ff60a01b1916600160a01b1790556120ec82612aef565b6120f4612c37565b6120fc612dd5565b6009805460ff60a01b191690555b6009546001600160a01b0386165f9081526012602052604090205460ff600160a01b90920482161591168061215657506001600160a01b0385165f9081526012602052604090205460ff165b1561215e57505f5b8015612418575f600e548511156121d45760405162461bcd60e51b815260206004820152603460248201527f546f6b656e3a20416d6f756e742065786365656473207472616e736665722070604482015273195c881d1c985b9cd858dd1a5bdb881b1a5b5a5d60621b6064820152608401610994565b6001600160a01b0386165f9081526013602052604090205460ff1661226857600f548561220088611020565b61220a91906134ee565b11156122685760405162461bcd60e51b815260206004820152602760248201527f546f6b656e3a2042616c616e63652065786365656473204d61782057616c6c656044820152661d081b1a5b5a5d60ca1b6064820152608401610994565b600954600160a81b900460ff1615801561228d5750600954600160d01b900461ffff16155b156122d457600980546006805465ffffffffffff1990811664030001000190811790925560078054909116909117905564ffffffffff60a81b1916630500050160a81b1790555b6001600160a01b0387165f9081526013602052604090205460ff16156123695760095461231490606490610cee908890600160b01b900461ffff166127cc565b6009549091506001600160d01b90910461ffff16106123645760095461234790600190600160d01b900461ffff166135f8565b6009601a6101000a81548161ffff021916908361ffff1602179055505b6123ac565b6001600160a01b0386165f9081526013602052604090205460ff16156123ac576009546123a990606490610cee908890600160c01b900461ffff166127cc565b90505b8015612416576123bc8582612f0c565b9450306001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161240391815260200190565b60405180910390a36124168730836129eb565b505b6124238686866129eb565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405161246891815260200190565b60405180910390a3600a546001600160a01b031663e30443bc8761248b81611020565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b1580156124ce575f80fd5b505af19250505080156124df575060015b50600a546001600160a01b031663e30443bc866124fb81611020565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b15801561253e575f80fd5b505af192505050801561254f575060015b50600b546001600160a01b031663e30443bc8761256b81611020565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b1580156125ae575f80fd5b505af19250505080156125bf575060015b50600b546001600160a01b031663e30443bc866125db81611020565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b15801561261e575f80fd5b505af192505050801561262f575060015b50600954600160a01b900460ff166127c457601154600a546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303815f875af19250505080156126ad575060408051601f3d908101601f191682019092526126aa91810190613613565b60015b156127035760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b600b546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303815f875af192505050801561276c575060408051601f3d908101601f1916820190925261276991810190613613565b60015b156127c25760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b5f6127d7828461353e565b9392505050565b5f6127d7828461363e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f9081526013602052604090205481151560ff9091161515036128cf5760405162461bcd60e51b815260206004820152603f60248201527f78536869623a204175746f6d61746564206d61726b6574206d616b657220706160448201527f697220697320616c72656164792073657420746f20746861742076616c7565006064820152608401610994565b6001600160a01b0382165f908152601360205260409020805460ff191682158015919091179091556129b057600a5460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db0906024015f604051808303815f87803b15801561293f575f80fd5b505af1158015612951573d5f803e3d5ffd5b5050600b5460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db091506024015f604051808303815f87803b158015612999575f80fd5b505af11580156129ab573d5f803e3d5ffd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab905f90a35050565b6001600160a01b038316612a115760405162461bcd60e51b815260040161099490613570565b6001600160a01b038216612a375760405162461bcd60e51b8152600401610994906135b5565b6001600160a01b0383165f9081526020819052604090205481811015612aae5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610994565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290612ae49084906134ee565b90915550611dad9050565b47612af982612f17565b5f612b044783612f0c565b6009549091505f90612b6290612b2e9061ffff600160c01b8204811691600160b01b90041661351c565b60075460065461ffff92831692610cee92612b579262010000918290048316929190041661351c565b859061ffff166127cc565b6009549091505f90612bb690612b8c9061ffff600160c01b8204811691600160b01b90041661351c565b60075460065461ffff92831692610cee92612bab92908216911661351c565b869061ffff166127cc565b90505f8215612bc857612bc88361305f565b8115612bd757612bd7826131b2565b47156127c4576010546040516001600160a01b039091169047905f81818185875af1925050503d805f8114612c27576040519150601f19603f3d011682016040523d82523d5f602084013e612c2c565b606091505b505050505050505050565b6040516370a0823160e01b81523060048201525f907395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce906370a0823190602401602060405180830381865afa158015612c86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612caa919061348e565b600a5460405163a9059cbb60e01b81526001600160a01b039091166004820152602481018290529091505f907395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce9063a9059cbb906044016020604051808303815f875af1158015612d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d359190613501565b9050801561129857600a54604051632287d53b60e11b8152600481018490526001600160a01b039091169063450faa76906024015b5f604051808303815f87803b158015612d81575f80fd5b505af1158015612d93573d5f803e3d5ffd5b505060408051858152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3935001905060405180910390a15050565b6040516370a0823160e01b81523060048201525f90739813037ee2218799597d83d4a5b6f3b6778218d9906370a0823190602401602060405180830381865afa158015612e24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e48919061348e565b600b5460405163a9059cbb60e01b81526001600160a01b039091166004820152602481018290529091505f90739813037ee2218799597d83d4a5b6f3b6778218d99063a9059cbb906044016020604051808303815f875af1158015612eaf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ed39190613501565b9050801561129857600b54604051632287d53b60e11b8152600481018490526001600160a01b039091169063450faa7690602401612d6a565b5f6127d7828461365d565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612f4a57612f4a613670565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612fa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fc59190613555565b81600181518110612fd857612fd8613670565b6001600160a01b039283166020918202929092010152600854612ffe9130911684611ec7565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac947906130369085905f908690309042906004016136c6565b5f604051808303815f87803b15801561304d575f80fd5b505af11580156127c4573d5f803e3d5ffd5b6040805160028082526060820183525f926020830190803683375050600854604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156130c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ea9190613555565b815f815181106130fc576130fc613670565b60200260200101906001600160a01b031690816001600160a01b031681525050739813037ee2218799597d83d4a5b6f3b6778218d98160018151811061314457613144613670565b6001600160a01b03928316602091820292909201015260085460405163b6f9de9560e01b815291169063b6f9de95908490613189905f90869030904290600401613701565b5f604051808303818588803b1580156131a0575f80fd5b505af11580156127c2573d5f803e3d5ffd5b6040805160028082526060820183525f926020830190803683375050600854604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015613219573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061323d9190613555565b815f8151811061324f5761324f613670565b60200260200101906001600160a01b031690816001600160a01b0316815250507395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce8160018151811061314457613144613670565b5f6020808352835180828501525f5b818110156132c2578581018301518582016040015282016132a6565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ca7575f80fd5b5f8060408385031215613307575f80fd5b8235613312816132e2565b946020939093013593505050565b5f805f60608486031215613332575f80fd5b833561333d816132e2565b9250602084013561334d816132e2565b929592945050506040919091013590565b5f6020828403121561336e575f80fd5b81356127d7816132e2565b5f60208284031215613389575f80fd5b5035919050565b803561ffff811681146133a1575f80fd5b919050565b5f805f606084860312156133b8575f80fd5b6133c184613390565b92506133cf60208501613390565b91506133dd60408501613390565b90509250925092565b8015158114610ca7575f80fd5b5f8060408385031215613404575f80fd5b823561340f816132e2565b9150602083013561341f816133e6565b809150509250929050565b5f806040838503121561343b575f80fd5b8235613446816132e2565b9150602083013561341f816132e2565b600181811c9082168061346a57607f821691505b60208210810361348857634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561349e575f80fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610902576109026134da565b5f60208284031215613511575f80fd5b81516127d7816133e6565b61ffff818116838216019080821115613537576135376134da565b5092915050565b8082028115828204841417610902576109026134da565b5f60208284031215613565575f80fd5b81516127d7816132e2565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b61ffff828116828216039080821115613537576135376134da565b5f805f60608486031215613625575f80fd5b8351925060208401519150604084015190509250925092565b5f8261365857634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610902576109026134da565b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602080850194508084015f5b838110156136bb5781516001600160a01b031687529582019590820190600101613696565b509495945050505050565b85815284602082015260a060408201525f6136e460a0830186613684565b6001600160a01b0394909416606083015250608001529392505050565b848152608060208201525f6137196080830186613684565b6001600160a01b0394909416604083015250606001529291505056fea2646970667358221220ec362a40a9de2d6460e23808fa560c1d374aa6c4a8f57caf9a38d85c73f6578a64736f6c63430008150033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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