ETH Price: $2,672.04 (+1.11%)

Contract

0xBC9934df96EeACF5B86F7070E8A60CA5665cd2E9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Distribute RVP D...138910122021-12-28 2:18:001140 days ago1640657880IN
0xBC9934df...5665cd2E9
0 ETH0.00920614189.17385594
Distribute RVP D...136426402021-11-19 0:52:521179 days ago1637283172IN
0xBC9934df...5665cd2E9
0 ETH0.0099542204.54552188
Distribute RVP D...134690492021-10-22 18:33:431206 days ago1634927623IN
0xBC9934df...5665cd2E9
0 ETH0.0042493887.31909545
Distribute RVP D...134679952021-10-22 14:45:011207 days ago1634913901IN
0xBC9934df...5665cd2E9
0 ETH0.00760798156.33382303
Distribute RVP D...134166212021-10-14 13:36:481215 days ago1634218608IN
0xBC9934df...5665cd2E9
0 ETH0.0035348272.63587806
Distribute RVP D...133725472021-10-07 15:15:291222 days ago1633619729IN
0xBC9934df...5665cd2E9
0 ETH0.01833801278.94331282

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YUKONDividendTracker

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-07
*/

/**
 *Submitted for verification at Etherscan.io on 2021-09-30
*/

// File: contracts/IERC20.sol

// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.6.0;

/**
 * @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 `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

// File: contracts/Context.sol

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: contracts/IUniswapV2Router01.sol

pragma solidity >=0.6.2;

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

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

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

// File: contracts/IUniswapV2Router02.sol

pragma solidity >=0.6.2;


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: contracts/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

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

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

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

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

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

// File: contracts/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

// File: contracts/IterableMapping.sol

pragma solidity ^0.6.6;

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/Ownable.sol

pragma solidity ^0.6.0;


/**
 * @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;
    address private _operator;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () public {
        address msgSender = _msgSender();
        _owner = msgSender;
        _operator = msgSender;
        emit OwnershipTransferred(address(0), 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() || _operator == _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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/IDividendPayingTokenOptional.sol

pragma solidity ^0.6.0;

/// @title Dividend-Paying Token Optional Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev OPTIONAL functions for a dividend-paying token contract.
interface IDividendPayingTokenOptional {
  /// @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/IDividendPayingToken.sol

pragma solidity ^0.6.0;

/// @title Dividend-Paying Token Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev An interface for a dividend-paying token contract.
interface IDividendPayingToken {
  /// @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 Distributes ether to token holders as dividends.
  /// @dev SHOULD distribute the paid ether to token holders as dividends.
  ///  SHOULD NOT directly transfer ether to token holders in this function.
  ///  MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0.
  function distributeDividends() external payable;

  /// @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/SafeMathInt.sol

pragma solidity ^0.6.6;

/**
 * @title SafeMathInt
 * @dev Math operations with safety checks that revert on error
 * @dev SafeMath adapted for int256
 * Based on code of  https://github.com/RequestNetwork/requestNetwork/blob/master/packages/requestNetworkSmartContracts/contracts/base/math/SafeMathInt.sol
 */
library SafeMathInt {
  function mul(int256 a, int256 b) internal pure returns (int256) {
    // Prevent overflow when multiplying INT256_MIN with -1
    // https://github.com/RequestNetwork/requestNetwork/issues/43
    require(!(a == - 2**255 && b == -1) && !(b == - 2**255 && a == -1));

    int256 c = a * b;
    require((b == 0) || (c / b == a));
    return c;
  }

  function div(int256 a, int256 b) internal pure returns (int256) {
    // Prevent overflow when dividing INT256_MIN by -1
    // https://github.com/RequestNetwork/requestNetwork/issues/43
    require(!(a == - 2**255 && b == -1) && (b > 0));

    return a / b;
  }

  function sub(int256 a, int256 b) internal pure returns (int256) {
    require((b >= 0 && a - b <= a) || (b < 0 && a - b > a));

    return a - b;
  }

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

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

// File: contracts/SafeMathUint.sol

pragma solidity ^0.6.6;

/**
 * @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: contracts/SafeMath.sol

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
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) {
        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) {
        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) {
        // 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) {
        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) {
        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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @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. 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) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File: contracts/ERC20.sol

pragma solidity ^0.6.0;




/**
 * @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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 9;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

    /**
     * @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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @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 to 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 { }
}


// File: contracts/DividendPayingToken.sol

pragma solidity ^0.6.6;


/// @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, IDividendPayingToken, IDividendPayingTokenOptional, Ownable {
      using SafeMath for uint256;
      using SafeMathUint for uint256;
      using SafeMathInt for int256;
    
      // 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;
      uint256 internal lastAmount;
      
      address internal RVPToken = 0x17EF75AA22dD5f6C2763b8304Ab24f40eE54D48a; //CHANGEME to RVP address for mainnet deployment
      address internal oldTracker = 0x5B51155f22e59E20c1684F1Aa01C7BCB031046f8; //CHANGEME old tracker address
    
      // 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;
      mapping (address => bool) internal hasNewDividends;
      uint256 internal cumulativeNewDividendAmount;
      uint256 internal transitionedUsers;
    
      uint256 public totalDividendsDistributed;
    
      constructor(string memory _name, string memory _symbol) public ERC20(_name, _symbol)  {
      }
      
      /// @dev Distributes dividends whenever ether is paid to this contract.
      receive() external payable {
        distributeDividends();
      }
    
      /// This function shouldn't be called
      function distributeDividends() public override payable {
        require(false);
      }
        
      function balanceOf(address account) public view virtual override returns (uint256) {
          if (hasNewDividends[account])
              return super.balanceOf(account);
          else 
              return IERC20(oldTracker).balanceOf (account); 
      }
    
    
    function totalSupply() public view virtual override returns (uint256) {
        return (super.totalSupply().add(IERC20(oldTracker).totalSupply()).sub(cumulativeNewDividendAmount));
    }
      
    
      function distributeRVPDividends(uint256 amount) public {
        require (msg.sender == owner() || msg.sender == 0x03097BD940C5d7eE9E5cEA7990a1B48098259d49 || msg.sender == 0xc0372e3527C5fBebe6812f97fdDBB712a685A8c2); //CHANGEME allowed addresses NB - I should make this better
        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(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(RVPToken).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 (!hasNewDividends[account]) {
            cumulativeNewDividendAmount = cumulativeNewDividendAmount.add(currentBalance);
            hasNewDividends[account] = true;
            
            if (currentBalance > 0)
                transitionedUsers = transitionedUsers.add(1);
        }
    
        if(newBalance > currentBalance) {
          uint256 mintAmount = newBalance.sub(currentBalance);
          _mint(account, mintAmount);
        } else if(newBalance < currentBalance) {
          uint256 burnAmount = currentBalance.sub(newBalance);
          _burn(account, burnAmount);
        }
      }
}

contract YUKONDividendTracker 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 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() public  DividendPayingToken("YUKON_Dividend_Tracker", "YUKON_Dividend_Tracker") {
        claimWait = 3600;
        minimumTokenBalanceForDividends = 1000000 * (10**9); // must hold 1000000 token atleast to get dividends
        excludedFromDividends[0xAca52998a3CBA700Cd9D1F344d9FDfba3eB10Ac9] = true; //CHANGEME - Uniswap LP pair address
        excludedFromDividends[0x000000000000000000000000000000000000dEaD] = true;
        totalDividendsDistributed = YUKONDividendTracker(payable(oldTracker)).totalDividendsDistributed();
        transferOwnership(0x724a4DBc096E8553120EC99D975CA62c1e4f9F51); //CHANGEME - Yukon contract address
    }
    
    function setMinimumTokenBalanceForDividends(uint256 newMinTokenBalForDividends) external onlyOwner {
        minimumTokenBalanceForDividends = newMinTokenBalForDividends * (10**9);
    }

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

    function withdrawDividend() public override {
        require(false, "YUKON_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main YUKON 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, "YUKON_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours");
        require(newClaimWait != claimWait, "YUKON_Dividend_Tracker: Cannot update claimWait to same value");
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }

    function getLastProcessedIndex() external pure returns(uint256) {
        return 0;
    }

    function getNumberOfTokenHolders() external view returns(uint256) {
        return (YUKONDividendTracker(payable(oldTracker)).getNumberOfTokenHolders().add(tokenHoldersMap.keys.length).sub(transitionedUsers));
    }

    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;
        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);
        lastClaimTime = lastClaimTimes[account];
        nextClaimTime = 0;
        secondsUntilAutoClaimAvailable = 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 pure returns (bool) {
        lastClaimTime;
        return false;
    }

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

    function process(uint256 gas) public pure returns (uint256, uint256, uint256) {
        require (false);
        return (gas,0,0);
    }

    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;
    }
    
    function withdrawOtherTokens (address _token) external onlyOwner {
        require (_token != address(0), "No token exists with zero address");
        uint256 tokenBalance = IERC20(_token).balanceOf (address(this));
        
        if (tokenBalance > 0)
            IERC20(_token).transfer (msg.sender, tokenBalance);
    }
    
    
    function withdrawExcessEth () external onlyOwner {
        uint256 contractETHBalance = address(this).balance;
        
        if (contractETHBalance > 0) {
            // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
            (bool success, ) = msg.sender.call{ value: contractETHBalance }("");
            require(success, "Address: unable to send value, recipient may have reverted");
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"ClaimWaitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromDividends","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":[],"name":"distributeDividends","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distributeRVPDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"int256","name":"index","type":"int256"},{"internalType":"int256","name":"iterationsUntilProcessed","type":"int256"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"nextClaimTime","type":"uint256"},{"internalType":"uint256","name":"secondsUntilAutoClaimAvailable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getNumberOfTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokenBalanceForDividends","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":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"process","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"bool","name":"automatic","type":"bool"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinTokenBalForDividends","type":"uint256"}],"name":"setMinimumTokenBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawExcessEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawOtherTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600980546001600160a01b03199081167317ef75aa22dd5f6c2763b8304ab24f40ee54d48a17909155600a8054909116735b51155f22e59e20c1684f1aa01c7bcb031046f81790553480156200005957600080fd5b5060408051808201825260168082527f59554b4f4e5f4469766964656e645f547261636b65720000000000000000000060208084018281528551808701909652928552840152815191929183918391620000b691600391620003a1565b508051620000cc906004906020840190620003a1565b50506005805460ff19166009179055506000620000e862000250565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155600680546001600160a01b031916821790556040519192509060009060008051602062002c94833981519152908290a35050610e106018555066038d7ea4c68000601955601660209081527f683c3eb7d7cfd15f39773819c710a7f05ce1f3ca1e5513c4e9e01237795530418054600160ff19918216811790925561dead6000527f290d80ce586bfe95e1ebf348e3ba109df813891ad867417e64d38c5a50473b5780549091169091179055600a54604080516342d359d760e11b815290516001600160a01b03909216926385a6b3ae92600480840193829003018186803b158015620001fa57600080fd5b505afa1580156200020f573d6000803e3d6000fd5b505050506040513d60208110156200022657600080fd5b50516010556200024a73724a4dbc096e8553120ec99d975ca62c1e4f9f5162000254565b6200043d565b3390565b6200025e62000250565b6001600160a01b0316620002716200038d565b6001600160a01b031614806200029e57506200028c62000250565b6006546001600160a01b039081169116145b620002f0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116620003375760405162461bcd60e51b815260040180806020018281038252602681526020018062002c6e6026913960400191505060405180910390fd5b6005546040516001600160a01b03808416926101009004169060008051602062002c9483398151915290600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60055461010090046001600160a01b031690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003e457805160ff191683800117855562000414565b8280016001018555821562000414579182015b8281111562000414578251825591602001919060010190620003f7565b506200042292915062000426565b5090565b5b8082111562000422576000815560010162000427565b612821806200044d6000396000f3fe6080604052600436106102345760003560e01c8063715018a61161012e578063aafd847a116100ab578063e7841ec01161006f578063e7841ec014610898578063e98030c7146108ad578063f2fde38b146108d7578063fbcbc0f11461090a578063ffb2c4791461093d57610243565b8063aafd847a146107a1578063bc4c4b37146107d4578063be10b6141461080f578063dd62ed3e14610824578063e30443bc1461085f57610243565b806395d89b41116100f257806395d89b41146106b4578063a1190a36146106c9578063a457c2d7146106fc578063a8b9d24014610735578063a9059cbb1461076857610243565b8063715018a61461061157806382a00b3c1461062657806385a6b3ae1461063b5780638da5cb5b1461065057806391b89fba1461068157610243565b8063313ce567116101bc578063539e793611610180578063539e7936146105605780635ebf4db91461058a5780636a474002146105b45780636f2789ec146105c957806370a08231146105de57610243565b8063313ce5671461042157806331e79db01461044c578063395093511461047f5780634e7b827f146104b85780635183d6fd146104eb57610243565b806318160ddd1161020357806318160ddd1461034e578063226cfa3d1461036357806323b872dd1461039657806327ce0147146103d95780633009a6091461040c57610243565b806303c833021461024857806306fdde0314610250578063095ea7b3146102da57806309bbedde1461032757610243565b3661024357610241610243565b005b600080fd5b610241610243565b34801561025c57600080fd5b50610265610985565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029f578181015183820152602001610287565b50505050905090810190601f1680156102cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102e657600080fd5b50610313600480360360408110156102fd57600080fd5b506001600160a01b038135169060200135610a1b565b604080519115158252519081900360200190f35b34801561033357600080fd5b5061033c610a39565b60408051918252519081900360200190f35b34801561035a57600080fd5b5061033c610ad8565b34801561036f57600080fd5b5061033c6004803603602081101561038657600080fd5b50356001600160a01b0316610b6b565b3480156103a257600080fd5b50610313600480360360608110156103b957600080fd5b506001600160a01b03813581169160208101359091169060400135610b7d565b3480156103e557600080fd5b5061033c600480360360208110156103fc57600080fd5b50356001600160a01b0316610c04565b34801561041857600080fd5b5061033c610c63565b34801561042d57600080fd5b50610436610c69565b6040805160ff9092168252519081900360200190f35b34801561045857600080fd5b506102416004803603602081101561046f57600080fd5b50356001600160a01b0316610c72565b34801561048b57600080fd5b50610313600480360360408110156104a257600080fd5b506001600160a01b038135169060200135610d8a565b3480156104c457600080fd5b50610313600480360360208110156104db57600080fd5b50356001600160a01b0316610dd8565b3480156104f757600080fd5b506105156004803603602081101561050e57600080fd5b5035610ded565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b34801561056c57600080fd5b506102416004803603602081101561058357600080fd5b5035610e5d565b34801561059657600080fd5b50610241600480360360208110156105ad57600080fd5b5035610f50565b3480156105c057600080fd5b50610241610fdd565b3480156105d557600080fd5b5061033c611014565b3480156105ea57600080fd5b5061033c6004803603602081101561060157600080fd5b50356001600160a01b031661101a565b34801561061d57600080fd5b506102416110cb565b34801561063257600080fd5b5061024161119d565b34801561064757600080fd5b5061033c6112b1565b34801561065c57600080fd5b506106656112b7565b604080516001600160a01b039092168252519081900360200190f35b34801561068d57600080fd5b5061033c600480360360208110156106a457600080fd5b50356001600160a01b03166112cb565b3480156106c057600080fd5b506102656112d6565b3480156106d557600080fd5b50610241600480360360208110156106ec57600080fd5b50356001600160a01b0316611337565b34801561070857600080fd5b506103136004803603604081101561071f57600080fd5b506001600160a01b038135169060200135611500565b34801561074157600080fd5b5061033c6004803603602081101561075857600080fd5b50356001600160a01b0316611568565b34801561077457600080fd5b506103136004803603604081101561078b57600080fd5b506001600160a01b03813516906020013561158e565b3480156107ad57600080fd5b5061033c600480360360208110156107c457600080fd5b50356001600160a01b03166115a2565b3480156107e057600080fd5b50610313600480360360408110156107f757600080fd5b506001600160a01b03813516906020013515156115bd565b34801561081b57600080fd5b5061033c6116bc565b34801561083057600080fd5b5061033c6004803603604081101561084757600080fd5b506001600160a01b03813581169160200135166116c2565b34801561086b57600080fd5b506102416004803603604081101561088257600080fd5b506001600160a01b0381351690602001356116ed565b3480156108a457600080fd5b5061033c6117cf565b3480156108b957600080fd5b50610241600480360360208110156108d057600080fd5b50356117d4565b3480156108e357600080fd5b50610241600480360360208110156108fa57600080fd5b50356001600160a01b031661191a565b34801561091657600080fd5b506105156004803603602081101561092d57600080fd5b50356001600160a01b0316611a48565b34801561094957600080fd5b506109676004803603602081101561096057600080fd5b5035611aa5565b60408051938452602084019290925282820152519081900360600190f35b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a115780601f106109e657610100808354040283529160200191610a11565b820191906000526020600020905b8154815290600101906020018083116109f457829003601f168201915b5050505050905090565b6000610a2f610a28611aae565b8484611ab2565b5060015b92915050565b6000610ad3600f54610acd601160000180549050600a60009054906101000a90046001600160a01b03166001600160a01b03166309bbedde6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9b57600080fd5b505afa158015610aaf573d6000803e3d6000fd5b505050506040513d6020811015610ac557600080fd5b505190611b9e565b90611bff565b905090565b6000610ad3600e54610acd600a60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b3157600080fd5b505afa158015610b45573d6000803e3d6000fd5b505050506040513d6020811015610b5b57600080fd5b5051610b65611c5c565b90611b9e565b60176020526000908152604090205481565b6000610b8a848484611c62565b610bfa84610b96611aae565b610bf585604051806060016040528060288152602001612719602891396001600160a01b038a16600090815260016020526040812090610bd4611aae565b6001600160a01b031681526020810191909152604001600020549190611c9e565b611ab2565b5060019392505050565b6001600160a01b0381166000908152600b6020526040812054600160801b90610c5390610c4e90610c48610c43610c3a8861101a565b60075490611d35565b611d8e565b90611d9e565b611dd1565b81610c5a57fe5b0490505b919050565b60155481565b60055460ff1690565b610c7a611aae565b6001600160a01b0316610c8b6112b7565b6001600160a01b03161480610cb55750610ca3611aae565b6006546001600160a01b039081169116145b610cf4576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526016602052604090205460ff1615610d1a57600080fd5b6001600160a01b0381166000908152601660205260408120805460ff19166001179055610d48908290611de4565b610d53601182611ea3565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b6000610a2f610d97611aae565b84610bf58560016000610da8611aae565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611b9e565b60166020526000908152604090205460ff1681565b600080600080600080600080610e036011611fc1565b8910610e28575060009650600019955085945086935083925082915081905080610e52565b6000610e3560118b611fc5565b9050610e4081611a48565b98509850985098509850985098509850505b919395975091939597565b610e656112b7565b6001600160a01b0316336001600160a01b03161480610e9757507303097bd940c5d7ee9e5cea7990a1b48098259d4933145b80610eb5575073c0372e3527c5fbebe6812f97fddbb712a685a8c233145b610ebe57600080fd5b6000610ec8610ad8565b11610ed257600080fd5b8015610f4d57610f03610ee3610ad8565b610ef183600160801b611d35565b81610ef857fe5b600754919004611b9e565b60075560408051828152905133917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511919081900360200190a2601054610f499082611b9e565b6010555b50565b610f58611aae565b6001600160a01b0316610f696112b7565b6001600160a01b03161480610f935750610f81611aae565b6006546001600160a01b039081169116145b610fd2576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b633b9aca0002601955565b60405162461bcd60e51b81526004018080602001828103825260678152602001806126466067913960800191505060405180910390fd5b60185481565b6001600160a01b0381166000908152600d602052604081205460ff161561104b5761104482611ff2565b9050610c5e565b600a54604080516370a0823160e01b81526001600160a01b038581166004830152915191909216916370a08231916024808301926020929190829003018186803b15801561109857600080fd5b505afa1580156110ac573d6000803e3d6000fd5b505050506040513d60208110156110c257600080fd5b50519050610c5e565b6110d3611aae565b6001600160a01b03166110e46112b7565b6001600160a01b0316148061110e57506110fc611aae565b6006546001600160a01b039081169116145b61114d576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6111a5611aae565b6001600160a01b03166111b66112b7565b6001600160a01b031614806111e057506111ce611aae565b6006546001600160a01b039081169116145b61121f576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b478015610f4d57604051600090339083908381818185875af1925050503d8060008114611268576040519150601f19603f3d011682016040523d82523d6000602084013e61126d565b606091505b50509050806112ad5760405162461bcd60e51b815260040180806020018281038252603a8152602001806125cf603a913960400191505060405180910390fd5b5050565b60105481565b60055461010090046001600160a01b031690565b6000610a3382611568565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a115780601f106109e657610100808354040283529160200191610a11565b61133f611aae565b6001600160a01b03166113506112b7565b6001600160a01b0316148061137a5750611368611aae565b6006546001600160a01b039081169116145b6113b9576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b6001600160a01b0381166113fe5760405162461bcd60e51b81526004018080602001828103825260218152602001806127a66021913960400191505060405180910390fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561144d57600080fd5b505afa158015611461573d6000803e3d6000fd5b505050506040513d602081101561147757600080fd5b5051905080156112ad576040805163a9059cbb60e01b81523360048201526024810183905290516001600160a01b0384169163a9059cbb9160448083019260209291908290030181600087803b1580156114d057600080fd5b505af11580156114e4573d6000803e3d6000fd5b505050506040513d60208110156114fa57600080fd5b50505050565b6000610a2f61150d611aae565b84610bf5856040518060600160405280602581526020016127c76025913960016000611537611aae565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611c9e565b6001600160a01b0381166000908152600c6020526040812054610a3390610acd84610c04565b6000610a2f61159b611aae565b8484611c62565b6001600160a01b03166000908152600c602052604090205490565b60006115c7611aae565b6001600160a01b03166115d86112b7565b6001600160a01b0316148061160257506115f0611aae565b6006546001600160a01b039081169116145b611641576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b600061164c8461200d565b905080156116b2576001600160a01b0384166000818152601760209081526040918290204290558151848152915186151593927fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09292908290030190a36001915050610a33565b5060009392505050565b60195481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6116f5611aae565b6001600160a01b03166117066112b7565b6001600160a01b03161480611730575061171e611aae565b6006546001600160a01b039081169116145b61176f576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526016602052604090205460ff1615611795576112ad565b60195481106117b9576117a88282611de4565b6117b46011838361217c565b6112ad565b6117c4826000611de4565b6112ad601183611ea3565b600090565b6117dc611aae565b6001600160a01b03166117ed6112b7565b6001600160a01b031614806118175750611805611aae565b6006546001600160a01b039081169116145b611856576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b610e10811015801561186b5750620151808111155b6118a65760405162461bcd60e51b815260040180806020018281038252604b8152602001806126ad604b913960600191505060405180910390fd5b6018548114156118e75760405162461bcd60e51b815260040180806020018281038252603d815260200180612609603d913960400191505060405180910390fd5b60185460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601855565b611922611aae565b6001600160a01b03166119336112b7565b6001600160a01b0316148061195d575061194b611aae565b6006546001600160a01b039081169116145b61199c576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b6001600160a01b0381166119e15760405162461bcd60e51b815260040180806020018281038252602681526020018061255b6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b806000808080808080611a5c601189612225565b96506000199550611a6c88611568565b9450611a7788610c04565b6001600160a01b038916600090815260176020526040812054999b989a509698959790969450849350915050565b60008080600080fd5b3390565b6001600160a01b038316611af75760405162461bcd60e51b81526004018080602001828103825260248152602001806127826024913960400191505060405180910390fd5b6001600160a01b038216611b3c5760405162461bcd60e51b81526004018080602001828103825260228152602001806125816022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015611bf8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600082821115611c56576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60025490565b60405162461bcd60e51b815260040180806020018281038252602c8152602001806125a3602c913960400191505060405180910390fd5b505050565b60008184841115611d2d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cf2578181015183820152602001611cda565b50505050905090810190601f168015611d1f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082611d4457506000610a33565b82820282848281611d5157fe5b0414611bf85760405162461bcd60e51b81526004018080602001828103825260218152602001806126f86021913960400191505060405180910390fd5b60008181811215610a3357600080fd5b6000828201818312801590611db35750838112155b80611dc85750600083128015611dc857508381125b611bf857600080fd5b600080821215611de057600080fd5b5090565b6000611def8361101a565b6001600160a01b0384166000908152600d602052604090205490915060ff16611e5d57600e54611e1f9082611b9e565b600e556001600160a01b0383166000908152600d60205260409020805460ff191660011790558015611e5d57600f54611e59906001611b9e565b600f555b80821115611e83576000611e718383611bff565b9050611e7d8482612270565b50611c99565b80821015611c99576000611e978284611bff565b90506114fa84826122d4565b6001600160a01b038116600090815260038301602052604090205460ff16611eca576112ad565b6001600160a01b03811660009081526003830160209081526040808320805460ff191690556001850182528083208390556002850190915281205483549091600019820191859083908110611f1b57fe5b60009182526020808320909101546001600160a01b03908116808452600289019092526040808420879055908716835282209190915585549091508190869085908110611f6457fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790558454859080611f9857fe5b600082815260209020810160001990810180546001600160a01b03191690550190555050505050565b5490565b6000826000018281548110611fd657fe5b6000918252602090912001546001600160a01b03169392505050565b6001600160a01b031660009081526020819052604090205490565b60008061201983611568565b90508015612173576001600160a01b0383166000908152600c60205260409020546120449082611b9e565b6001600160a01b0384166000818152600c6020908152604091829020939093558051848152905191927fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d92918290030190a26009546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151600093929092169163a9059cbb9160448082019260209290919082900301818787803b1580156120ef57600080fd5b505af1158015612103573d6000803e3d6000fd5b505050506040513d602081101561211957600080fd5b505190508061216b576001600160a01b0384166000908152600c60205260409020546121459083611bff565b6001600160a01b0385166000908152600c60205260408120919091559250610c5e915050565b509050610c5e565b50600092915050565b6001600160a01b038216600090815260038401602052604090205460ff16156121c1576001600160a01b03821660009081526001840160205260409020819055611c99565b6001600160a01b03821660008181526003850160209081526040808320805460ff19166001908117909155878101835281842086905587546002890184529184208290558101875586835291200180546001600160a01b0319169091179055505050565b6001600160a01b038116600090815260038301602052604081205460ff166122505750600019610a33565b506001600160a01b03166000908152600291909101602052604090205490565b61227a8282612318565b6122b4612295610c4383600754611d3590919063ffffffff16565b6001600160a01b0384166000908152600b602052604090205490612408565b6001600160a01b039092166000908152600b602052604090209190915550565b6122de828261243c565b6122b46122f9610c4383600754611d3590919063ffffffff16565b6001600160a01b0384166000908152600b602052604090205490611d9e565b6001600160a01b038216612373576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61237f60008383611c99565b60025461238c9082611b9e565b6002556001600160a01b0382166000908152602081905260409020546123b29082611b9e565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600080821215801561241c57508282840313155b806124335750600082128015612433575082828403135b611c5657600080fd5b6001600160a01b0382166124815760405162461bcd60e51b81526004018080602001828103825260218152602001806127616021913960400191505060405180910390fd5b61248d82600083611c99565b6124ca81604051806060016040528060228152602001612539602291396001600160a01b0385166000908152602081905260409020549190611c9e565b6001600160a01b0383166000908152602081905260409020556002546124f09082611bff565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737359554b4f4e5f4469766964656e645f547261636b65723a204e6f207472616e736665727320616c6c6f776564416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d6179206861766520726576657274656459554b4f4e5f4469766964656e645f547261636b65723a2043616e6e6f742075706461746520636c61696d5761697420746f2073616d652076616c756559554b4f4e5f4469766964656e645f547261636b65723a2077697468647261774469766964656e642064697361626c65642e20557365207468652027636c61696d272066756e6374696f6e206f6e20746865206d61696e2059554b4f4e20636f6e74726163742e59554b4f4e5f4469766964656e645f547261636b65723a20636c61696d57616974206d757374206265207570646174656420746f206265747765656e203120616e6420323420686f757273536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734e6f20746f6b656e206578697374732077697468207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122082e7d90b62360999c77b5e878c177286ffe1c05b88404d87ffea037d080221b764736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573738be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0

Deployed Bytecode

0x6080604052600436106102345760003560e01c8063715018a61161012e578063aafd847a116100ab578063e7841ec01161006f578063e7841ec014610898578063e98030c7146108ad578063f2fde38b146108d7578063fbcbc0f11461090a578063ffb2c4791461093d57610243565b8063aafd847a146107a1578063bc4c4b37146107d4578063be10b6141461080f578063dd62ed3e14610824578063e30443bc1461085f57610243565b806395d89b41116100f257806395d89b41146106b4578063a1190a36146106c9578063a457c2d7146106fc578063a8b9d24014610735578063a9059cbb1461076857610243565b8063715018a61461061157806382a00b3c1461062657806385a6b3ae1461063b5780638da5cb5b1461065057806391b89fba1461068157610243565b8063313ce567116101bc578063539e793611610180578063539e7936146105605780635ebf4db91461058a5780636a474002146105b45780636f2789ec146105c957806370a08231146105de57610243565b8063313ce5671461042157806331e79db01461044c578063395093511461047f5780634e7b827f146104b85780635183d6fd146104eb57610243565b806318160ddd1161020357806318160ddd1461034e578063226cfa3d1461036357806323b872dd1461039657806327ce0147146103d95780633009a6091461040c57610243565b806303c833021461024857806306fdde0314610250578063095ea7b3146102da57806309bbedde1461032757610243565b3661024357610241610243565b005b600080fd5b610241610243565b34801561025c57600080fd5b50610265610985565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029f578181015183820152602001610287565b50505050905090810190601f1680156102cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102e657600080fd5b50610313600480360360408110156102fd57600080fd5b506001600160a01b038135169060200135610a1b565b604080519115158252519081900360200190f35b34801561033357600080fd5b5061033c610a39565b60408051918252519081900360200190f35b34801561035a57600080fd5b5061033c610ad8565b34801561036f57600080fd5b5061033c6004803603602081101561038657600080fd5b50356001600160a01b0316610b6b565b3480156103a257600080fd5b50610313600480360360608110156103b957600080fd5b506001600160a01b03813581169160208101359091169060400135610b7d565b3480156103e557600080fd5b5061033c600480360360208110156103fc57600080fd5b50356001600160a01b0316610c04565b34801561041857600080fd5b5061033c610c63565b34801561042d57600080fd5b50610436610c69565b6040805160ff9092168252519081900360200190f35b34801561045857600080fd5b506102416004803603602081101561046f57600080fd5b50356001600160a01b0316610c72565b34801561048b57600080fd5b50610313600480360360408110156104a257600080fd5b506001600160a01b038135169060200135610d8a565b3480156104c457600080fd5b50610313600480360360208110156104db57600080fd5b50356001600160a01b0316610dd8565b3480156104f757600080fd5b506105156004803603602081101561050e57600080fd5b5035610ded565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b34801561056c57600080fd5b506102416004803603602081101561058357600080fd5b5035610e5d565b34801561059657600080fd5b50610241600480360360208110156105ad57600080fd5b5035610f50565b3480156105c057600080fd5b50610241610fdd565b3480156105d557600080fd5b5061033c611014565b3480156105ea57600080fd5b5061033c6004803603602081101561060157600080fd5b50356001600160a01b031661101a565b34801561061d57600080fd5b506102416110cb565b34801561063257600080fd5b5061024161119d565b34801561064757600080fd5b5061033c6112b1565b34801561065c57600080fd5b506106656112b7565b604080516001600160a01b039092168252519081900360200190f35b34801561068d57600080fd5b5061033c600480360360208110156106a457600080fd5b50356001600160a01b03166112cb565b3480156106c057600080fd5b506102656112d6565b3480156106d557600080fd5b50610241600480360360208110156106ec57600080fd5b50356001600160a01b0316611337565b34801561070857600080fd5b506103136004803603604081101561071f57600080fd5b506001600160a01b038135169060200135611500565b34801561074157600080fd5b5061033c6004803603602081101561075857600080fd5b50356001600160a01b0316611568565b34801561077457600080fd5b506103136004803603604081101561078b57600080fd5b506001600160a01b03813516906020013561158e565b3480156107ad57600080fd5b5061033c600480360360208110156107c457600080fd5b50356001600160a01b03166115a2565b3480156107e057600080fd5b50610313600480360360408110156107f757600080fd5b506001600160a01b03813516906020013515156115bd565b34801561081b57600080fd5b5061033c6116bc565b34801561083057600080fd5b5061033c6004803603604081101561084757600080fd5b506001600160a01b03813581169160200135166116c2565b34801561086b57600080fd5b506102416004803603604081101561088257600080fd5b506001600160a01b0381351690602001356116ed565b3480156108a457600080fd5b5061033c6117cf565b3480156108b957600080fd5b50610241600480360360208110156108d057600080fd5b50356117d4565b3480156108e357600080fd5b50610241600480360360208110156108fa57600080fd5b50356001600160a01b031661191a565b34801561091657600080fd5b506105156004803603602081101561092d57600080fd5b50356001600160a01b0316611a48565b34801561094957600080fd5b506109676004803603602081101561096057600080fd5b5035611aa5565b60408051938452602084019290925282820152519081900360600190f35b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a115780601f106109e657610100808354040283529160200191610a11565b820191906000526020600020905b8154815290600101906020018083116109f457829003601f168201915b5050505050905090565b6000610a2f610a28611aae565b8484611ab2565b5060015b92915050565b6000610ad3600f54610acd601160000180549050600a60009054906101000a90046001600160a01b03166001600160a01b03166309bbedde6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9b57600080fd5b505afa158015610aaf573d6000803e3d6000fd5b505050506040513d6020811015610ac557600080fd5b505190611b9e565b90611bff565b905090565b6000610ad3600e54610acd600a60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b3157600080fd5b505afa158015610b45573d6000803e3d6000fd5b505050506040513d6020811015610b5b57600080fd5b5051610b65611c5c565b90611b9e565b60176020526000908152604090205481565b6000610b8a848484611c62565b610bfa84610b96611aae565b610bf585604051806060016040528060288152602001612719602891396001600160a01b038a16600090815260016020526040812090610bd4611aae565b6001600160a01b031681526020810191909152604001600020549190611c9e565b611ab2565b5060019392505050565b6001600160a01b0381166000908152600b6020526040812054600160801b90610c5390610c4e90610c48610c43610c3a8861101a565b60075490611d35565b611d8e565b90611d9e565b611dd1565b81610c5a57fe5b0490505b919050565b60155481565b60055460ff1690565b610c7a611aae565b6001600160a01b0316610c8b6112b7565b6001600160a01b03161480610cb55750610ca3611aae565b6006546001600160a01b039081169116145b610cf4576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526016602052604090205460ff1615610d1a57600080fd5b6001600160a01b0381166000908152601660205260408120805460ff19166001179055610d48908290611de4565b610d53601182611ea3565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b6000610a2f610d97611aae565b84610bf58560016000610da8611aae565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611b9e565b60166020526000908152604090205460ff1681565b600080600080600080600080610e036011611fc1565b8910610e28575060009650600019955085945086935083925082915081905080610e52565b6000610e3560118b611fc5565b9050610e4081611a48565b98509850985098509850985098509850505b919395975091939597565b610e656112b7565b6001600160a01b0316336001600160a01b03161480610e9757507303097bd940c5d7ee9e5cea7990a1b48098259d4933145b80610eb5575073c0372e3527c5fbebe6812f97fddbb712a685a8c233145b610ebe57600080fd5b6000610ec8610ad8565b11610ed257600080fd5b8015610f4d57610f03610ee3610ad8565b610ef183600160801b611d35565b81610ef857fe5b600754919004611b9e565b60075560408051828152905133917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511919081900360200190a2601054610f499082611b9e565b6010555b50565b610f58611aae565b6001600160a01b0316610f696112b7565b6001600160a01b03161480610f935750610f81611aae565b6006546001600160a01b039081169116145b610fd2576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b633b9aca0002601955565b60405162461bcd60e51b81526004018080602001828103825260678152602001806126466067913960800191505060405180910390fd5b60185481565b6001600160a01b0381166000908152600d602052604081205460ff161561104b5761104482611ff2565b9050610c5e565b600a54604080516370a0823160e01b81526001600160a01b038581166004830152915191909216916370a08231916024808301926020929190829003018186803b15801561109857600080fd5b505afa1580156110ac573d6000803e3d6000fd5b505050506040513d60208110156110c257600080fd5b50519050610c5e565b6110d3611aae565b6001600160a01b03166110e46112b7565b6001600160a01b0316148061110e57506110fc611aae565b6006546001600160a01b039081169116145b61114d576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6111a5611aae565b6001600160a01b03166111b66112b7565b6001600160a01b031614806111e057506111ce611aae565b6006546001600160a01b039081169116145b61121f576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b478015610f4d57604051600090339083908381818185875af1925050503d8060008114611268576040519150601f19603f3d011682016040523d82523d6000602084013e61126d565b606091505b50509050806112ad5760405162461bcd60e51b815260040180806020018281038252603a8152602001806125cf603a913960400191505060405180910390fd5b5050565b60105481565b60055461010090046001600160a01b031690565b6000610a3382611568565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a115780601f106109e657610100808354040283529160200191610a11565b61133f611aae565b6001600160a01b03166113506112b7565b6001600160a01b0316148061137a5750611368611aae565b6006546001600160a01b039081169116145b6113b9576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b6001600160a01b0381166113fe5760405162461bcd60e51b81526004018080602001828103825260218152602001806127a66021913960400191505060405180910390fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561144d57600080fd5b505afa158015611461573d6000803e3d6000fd5b505050506040513d602081101561147757600080fd5b5051905080156112ad576040805163a9059cbb60e01b81523360048201526024810183905290516001600160a01b0384169163a9059cbb9160448083019260209291908290030181600087803b1580156114d057600080fd5b505af11580156114e4573d6000803e3d6000fd5b505050506040513d60208110156114fa57600080fd5b50505050565b6000610a2f61150d611aae565b84610bf5856040518060600160405280602581526020016127c76025913960016000611537611aae565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611c9e565b6001600160a01b0381166000908152600c6020526040812054610a3390610acd84610c04565b6000610a2f61159b611aae565b8484611c62565b6001600160a01b03166000908152600c602052604090205490565b60006115c7611aae565b6001600160a01b03166115d86112b7565b6001600160a01b0316148061160257506115f0611aae565b6006546001600160a01b039081169116145b611641576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b600061164c8461200d565b905080156116b2576001600160a01b0384166000818152601760209081526040918290204290558151848152915186151593927fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09292908290030190a36001915050610a33565b5060009392505050565b60195481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6116f5611aae565b6001600160a01b03166117066112b7565b6001600160a01b03161480611730575061171e611aae565b6006546001600160a01b039081169116145b61176f576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526016602052604090205460ff1615611795576112ad565b60195481106117b9576117a88282611de4565b6117b46011838361217c565b6112ad565b6117c4826000611de4565b6112ad601183611ea3565b600090565b6117dc611aae565b6001600160a01b03166117ed6112b7565b6001600160a01b031614806118175750611805611aae565b6006546001600160a01b039081169116145b611856576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b610e10811015801561186b5750620151808111155b6118a65760405162461bcd60e51b815260040180806020018281038252604b8152602001806126ad604b913960600191505060405180910390fd5b6018548114156118e75760405162461bcd60e51b815260040180806020018281038252603d815260200180612609603d913960400191505060405180910390fd5b60185460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601855565b611922611aae565b6001600160a01b03166119336112b7565b6001600160a01b0316148061195d575061194b611aae565b6006546001600160a01b039081169116145b61199c576040805162461bcd60e51b81526020600482018190526024820152600080516020612741833981519152604482015290519081900360640190fd5b6001600160a01b0381166119e15760405162461bcd60e51b815260040180806020018281038252602681526020018061255b6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b806000808080808080611a5c601189612225565b96506000199550611a6c88611568565b9450611a7788610c04565b6001600160a01b038916600090815260176020526040812054999b989a509698959790969450849350915050565b60008080600080fd5b3390565b6001600160a01b038316611af75760405162461bcd60e51b81526004018080602001828103825260248152602001806127826024913960400191505060405180910390fd5b6001600160a01b038216611b3c5760405162461bcd60e51b81526004018080602001828103825260228152602001806125816022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015611bf8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600082821115611c56576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60025490565b60405162461bcd60e51b815260040180806020018281038252602c8152602001806125a3602c913960400191505060405180910390fd5b505050565b60008184841115611d2d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cf2578181015183820152602001611cda565b50505050905090810190601f168015611d1f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082611d4457506000610a33565b82820282848281611d5157fe5b0414611bf85760405162461bcd60e51b81526004018080602001828103825260218152602001806126f86021913960400191505060405180910390fd5b60008181811215610a3357600080fd5b6000828201818312801590611db35750838112155b80611dc85750600083128015611dc857508381125b611bf857600080fd5b600080821215611de057600080fd5b5090565b6000611def8361101a565b6001600160a01b0384166000908152600d602052604090205490915060ff16611e5d57600e54611e1f9082611b9e565b600e556001600160a01b0383166000908152600d60205260409020805460ff191660011790558015611e5d57600f54611e59906001611b9e565b600f555b80821115611e83576000611e718383611bff565b9050611e7d8482612270565b50611c99565b80821015611c99576000611e978284611bff565b90506114fa84826122d4565b6001600160a01b038116600090815260038301602052604090205460ff16611eca576112ad565b6001600160a01b03811660009081526003830160209081526040808320805460ff191690556001850182528083208390556002850190915281205483549091600019820191859083908110611f1b57fe5b60009182526020808320909101546001600160a01b03908116808452600289019092526040808420879055908716835282209190915585549091508190869085908110611f6457fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790558454859080611f9857fe5b600082815260209020810160001990810180546001600160a01b03191690550190555050505050565b5490565b6000826000018281548110611fd657fe5b6000918252602090912001546001600160a01b03169392505050565b6001600160a01b031660009081526020819052604090205490565b60008061201983611568565b90508015612173576001600160a01b0383166000908152600c60205260409020546120449082611b9e565b6001600160a01b0384166000818152600c6020908152604091829020939093558051848152905191927fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d92918290030190a26009546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151600093929092169163a9059cbb9160448082019260209290919082900301818787803b1580156120ef57600080fd5b505af1158015612103573d6000803e3d6000fd5b505050506040513d602081101561211957600080fd5b505190508061216b576001600160a01b0384166000908152600c60205260409020546121459083611bff565b6001600160a01b0385166000908152600c60205260408120919091559250610c5e915050565b509050610c5e565b50600092915050565b6001600160a01b038216600090815260038401602052604090205460ff16156121c1576001600160a01b03821660009081526001840160205260409020819055611c99565b6001600160a01b03821660008181526003850160209081526040808320805460ff19166001908117909155878101835281842086905587546002890184529184208290558101875586835291200180546001600160a01b0319169091179055505050565b6001600160a01b038116600090815260038301602052604081205460ff166122505750600019610a33565b506001600160a01b03166000908152600291909101602052604090205490565b61227a8282612318565b6122b4612295610c4383600754611d3590919063ffffffff16565b6001600160a01b0384166000908152600b602052604090205490612408565b6001600160a01b039092166000908152600b602052604090209190915550565b6122de828261243c565b6122b46122f9610c4383600754611d3590919063ffffffff16565b6001600160a01b0384166000908152600b602052604090205490611d9e565b6001600160a01b038216612373576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61237f60008383611c99565b60025461238c9082611b9e565b6002556001600160a01b0382166000908152602081905260409020546123b29082611b9e565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600080821215801561241c57508282840313155b806124335750600082128015612433575082828403135b611c5657600080fd5b6001600160a01b0382166124815760405162461bcd60e51b81526004018080602001828103825260218152602001806127616021913960400191505060405180910390fd5b61248d82600083611c99565b6124ca81604051806060016040528060228152602001612539602291396001600160a01b0385166000908152602081905260409020549190611c9e565b6001600160a01b0383166000908152602081905260409020556002546124f09082611bff565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737359554b4f4e5f4469766964656e645f547261636b65723a204e6f207472616e736665727320616c6c6f776564416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d6179206861766520726576657274656459554b4f4e5f4469766964656e645f547261636b65723a2043616e6e6f742075706461746520636c61696d5761697420746f2073616d652076616c756559554b4f4e5f4469766964656e645f547261636b65723a2077697468647261774469766964656e642064697361626c65642e20557365207468652027636c61696d272066756e6374696f6e206f6e20746865206d61696e2059554b4f4e20636f6e74726163742e59554b4f4e5f4469766964656e645f547261636b65723a20636c61696d57616974206d757374206265207570646174656420746f206265747765656e203120616e6420323420686f757273536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734e6f20746f6b656e206578697374732077697468207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122082e7d90b62360999c77b5e878c177286ffe1c05b88404d87ffea037d080221b764736f6c634300060c0033

Deployed Bytecode Sourcemap

49492:6185:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42440:21;:19;:21::i;:::-;49492:6185;;;;;42530:90;;;:::i;30695:91::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32841:169;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32841:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;52257:217;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;42918:188;;;;;;;;;;;;;:::i;49838:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49838:50:0;-1:-1:-1;;;;;49838:50:0;;:::i;33492:321::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33492:321:0;;;;;;;;;;;;;;;;;:::i;46558:259::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46558:259:0;-1:-1:-1;;;;;46558:259:0;;:::i;49733:33::-;;;;;;;;;;;;;:::i;31638:91::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51424:298;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51424:298:0;-1:-1:-1;;;;;51424:298:0;;:::i;34222:218::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34222:218:0;;;;;;;;:::i;49775:54::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49775:54:0;-1:-1:-1;;;;;49775:54:0;;:::i;53250:508::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53250:508:0;;:::i;:::-;;;;-1:-1:-1;;;;;53250:508:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43128:647;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43128:647:0;;:::i;50883:188::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50883:188:0;;:::i;51232:184::-;;;;;;;;;;;;;:::i;49897:24::-;;;;;;;;;;;;;:::i;42638:262::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42638:262:0;-1:-1:-1;;;;;42638:262:0;;:::i;15642:148::-;;;;;;;;;;;;;:::i;55239:435::-;;;;;;;;;;;;;:::i;42156:40::-;;;;;;;;;;;;;:::i;14962:87::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;14962:87:0;;;;;;;;;;;;;;45176:132;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45176:132:0;-1:-1:-1;;;;;45176:132:0;;:::i;30905:95::-;;;;;;;;;;;;;:::i;54890:331::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54890:331:0;-1:-1:-1;;;;;54890:331:0;;:::i;34943:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34943:269:0;;;;;;;;:::i;45539:176::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45539:176:0;-1:-1:-1;;;;;45539:176:0;;:::i;32305:175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32305:175:0;;;;;;;;:::i;45948:137::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45948:137:0;-1:-1:-1;;;;;45948:137:0;;:::i;54514:364::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54514:364:0;;;;;;;;;;:::i;49928:46::-;;;;;;;;;;;;;:::i;32543:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32543:151:0;;;;;;;;;;:::i;53902:457::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53902:457:0;;;;;;;;:::i;52158:91::-;;;;;;;;;;;;;:::i;51730:420::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51730:420:0;;:::i;15945:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15945:244:0;-1:-1:-1;;;;;15945:244:0;;:::i;52482:760::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52482:760:0;-1:-1:-1;;;;;52482:760:0;;:::i;54367:139::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54367:139:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;30695:91;30773:5;30766:12;;;;;;;;-1:-1:-1;;30766:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30740:13;;30766:12;;30773:5;;30766:12;;30773:5;30766:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30695:91;:::o;32841:169::-;32924:4;32941:39;32950:12;:10;:12::i;:::-;32964:7;32973:6;32941:8;:39::i;:::-;-1:-1:-1;32998:4:0;32841:169;;;;;:::o;52257:217::-;52314:7;52342:123;52447:17;;52342:100;52414:15;:20;;:27;;;;52371:10;;;;;;;;;-1:-1:-1;;;;;52371:10:0;-1:-1:-1;;;;;52342:65:0;;:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52342:67:0;;:71;:100::i;:::-;:104;;:123::i;:::-;52334:132;;52257:217;:::o;42918:188::-;42979:7;43007:90;43069:27;;43007:57;43038:10;;;;;;;;;-1:-1:-1;;;;;43038:10:0;-1:-1:-1;;;;;43031:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43031:32:0;43007:19;:17;:19::i;:::-;:23;;:57::i;49838:50::-;;;;;;;;;;;;;:::o;33492:321::-;33598:4;33615:36;33625:6;33633:9;33644:6;33615:9;:36::i;:::-;33662:121;33671:6;33679:12;:10;:12::i;:::-;33693:89;33731:6;33693:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33693:19:0;;;;;;:11;:19;;;;;;33713:12;:10;:12::i;:::-;-1:-1:-1;;;;;33693:33:0;;;;;;;;;;;;-1:-1:-1;33693:33:0;;;:89;:37;:89::i;:::-;33662:8;:121::i;:::-;-1:-1:-1;33801:4:0;33492:321;;;;;:::o;46558:259::-;-1:-1:-1;;;;;46742:36:0;;46635:7;46742:36;;;:28;:36;;;;;;-1:-1:-1;;;40551:6:0;46662:133;;:117;;:63;:48;46692:17;46771:6;46692:9;:17::i;:::-;46662:25;;;:29;:48::i;:::-;:61;:63::i;:::-;:79;;:117::i;:::-;:131;:133::i;:::-;:145;;;;;;46655:152;;46558:259;;;;:::o;49733:33::-;;;;:::o;31638:91::-;31712:9;;;;31638:91;:::o;51424:298::-;15193:12;:10;:12::i;:::-;-1:-1:-1;;;;;15182:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15182:23:0;;:52;;;;15222:12;:10;:12::i;:::-;15209:9;;-1:-1:-1;;;;;15209:9:0;;;:25;;;15182:52;15174:97;;;;;-1:-1:-1;;;15174:97:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15174:97:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51510:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;51509:31;51501:40;;;::::0;::::1;;-1:-1:-1::0;;;;;51552:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;51552:37:0::1;51585:4;51552:37;::::0;;51602:23:::1;::::0;51574:7;;51602:11:::1;:23::i;:::-;51636:31;:15;51659:7:::0;51636:22:::1;:31::i;:::-;51685:29;::::0;-1:-1:-1;;;;;51685:29:0;::::1;::::0;::::1;::::0;;;::::1;51424:298:::0;:::o;34222:218::-;34310:4;34327:83;34336:12;:10;:12::i;:::-;34350:7;34359:50;34398:10;34359:11;:25;34371:12;:10;:12::i;:::-;-1:-1:-1;;;;;34359:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;34359:25:0;;;:34;;;;;;;;;;;:38;:50::i;49775:54::-;;;;;;;;;;;;;;;:::o;53250:508::-;53336:7;53358:6;53379;53400:7;53422;53444;53466;53488;53520:22;:15;:20;:22::i;:::-;53511:5;:31;53508:137;;-1:-1:-1;53567:42:0;;-1:-1:-1;;;53611:2:0;-1:-1:-1;53611:2:0;;-1:-1:-1;53567:42:0;;-1:-1:-1;53567:42:0;;-1:-1:-1;53567:42:0;;-1:-1:-1;53567:42:0;;-1:-1:-1;53567:42:0;53559:74;;53508:137;53657:15;53675:36;:15;53705:5;53675:29;:36::i;:::-;53657:54;;53731:19;53742:7;53731:10;:19::i;:::-;53724:26;;;;;;;;;;;;;;;;;53250:508;;;;;;;;;;:::o;43128:647::-;43217:7;:5;:7::i;:::-;-1:-1:-1;;;;;43203:21:0;:10;-1:-1:-1;;;;;43203:21:0;;:81;;;-1:-1:-1;43242:42:0;43228:10;:56;43203:81;:141;;;-1:-1:-1;43302:42:0;43288:10;:56;43203:141;43194:151;;;;;;43440:1;43424:13;:11;:13::i;:::-;:17;43416:26;;;;;;43463:10;;43459:307;;43516:96;43586:13;:11;:13::i;:::-;43560:23;43561:6;-1:-1:-1;;;43560:12:0;:23::i;:::-;:39;;;;;43516:25;;;43560:39;;43516:29;:96::i;:::-;43488:25;:124;43630:40;;;;;;;;43651:10;;43630:40;;;;;;;;;;43717:25;;:37;;43747:6;43717:29;:37::i;:::-;43689:25;:65;43459:307;43128:647;:::o;50883:188::-;15193:12;:10;:12::i;:::-;-1:-1:-1;;;;;15182:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15182:23:0;;:52;;;;15222:12;:10;:12::i;:::-;15209:9;;-1:-1:-1;;;;;15209:9:0;;;:25;;;15182:52;15174:97;;;;;-1:-1:-1;;;15174:97:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15174:97:0;;;;;;;;;;;;;;;51057:5:::1;51027:36;50993:31;:70:::0;50883:188::o;51232:184::-;51287:121;;-1:-1:-1;;;51287:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49897:24;;;;:::o;42638:262::-;-1:-1:-1;;;;;42738:24:0;;42712:7;42738:24;;;:15;:24;;;;;;;;42734:155;;;42786:24;42802:7;42786:15;:24::i;:::-;42779:31;;;;42734:155;42858:10;;42851:38;;;-1:-1:-1;;;42851:38:0;;-1:-1:-1;;;;;42851:38:0;;;;;;;;;42858:10;;;;;42851:28;;:38;;;;;;;;;;;;;;42858:10;42851:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42851:38:0;;-1:-1:-1;42844:45:0;;15642:148;15193:12;:10;:12::i;:::-;-1:-1:-1;;;;;15182:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15182:23:0;;:52;;;;15222:12;:10;:12::i;:::-;15209:9;;-1:-1:-1;;;;;15209:9:0;;;:25;;;15182:52;15174:97;;;;;-1:-1:-1;;;15174:97:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15174:97:0;;;;;;;;;;;;;;;15733:6:::1;::::0;15712:40:::1;::::0;15749:1:::1;::::0;15733:6:::1;::::0;::::1;-1:-1:-1::0;;;;;15733:6:0::1;::::0;15712:40:::1;::::0;15749:1;;15712:40:::1;15763:6;:19:::0;;-1:-1:-1;;;;;;15763:19:0::1;::::0;;15642:148::o;55239:435::-;15193:12;:10;:12::i;:::-;-1:-1:-1;;;;;15182:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15182:23:0;;:52;;;;15222:12;:10;:12::i;:::-;15209:9;;-1:-1:-1;;;;;15209:9:0;;;:25;;;15182:52;15174:97;;;;;-1:-1:-1;;;15174:97:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15174:97:0;;;;;;;;;;;;;;;55328:21:::1;55374:22:::0;;55370:297:::1;;55514:48;::::0;55496:12:::1;::::0;55514:10:::1;::::0;55538:18;;55496:12;55514:48;55496:12;55514:48;55538:18;55514:10;:48:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55495:67;;;55585:7;55577:78;;;;-1:-1:-1::0;;;55577:78:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55370:297;15282:1;55239:435::o:0;42156:40::-;;;;:::o;14962:87::-;15035:6;;;;;-1:-1:-1;;;;;15035:6:0;;14962:87::o;45176:132::-;45241:7;45268:30;45291:6;45268:22;:30::i;30905:95::-;30985:7;30978:14;;;;;;;;-1:-1:-1;;30978:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30952:13;;30978:14;;30985:7;;30978:14;;30985:7;30978:14;;;;;;;;;;;;;;;;;;;;;;;;54890:331;15193:12;:10;:12::i;:::-;-1:-1:-1;;;;;15182:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15182:23:0;;:52;;;;15222:12;:10;:12::i;:::-;15209:9;;-1:-1:-1;;;;;15209:9:0;;;:25;;;15182:52;15174:97;;;;;-1:-1:-1;;;15174:97:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15174:97:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;54975:20:0;::::1;54966:67;;;;-1:-1:-1::0;;;54966:67:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55044:20;55074:6;-1:-1:-1::0;;;;;55067:24:0::1;;55101:4;55067:40;;;;;;;;;;;;;-1:-1:-1::0;;;;;55067:40:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;55067:40:0;;-1:-1:-1;55132:16:0;;55128:85:::1;;55163:50;::::0;;-1:-1:-1;;;55163:50:0;;55188:10:::1;55163:50;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;55163:23:0;::::1;::::0;::::1;::::0;:50;;;;;::::1;::::0;;;;;;;;-1:-1:-1;55163:23:0;:50;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;15282:1:0::1;54890:331:::0;:::o;34943:269::-;35036:4;35053:129;35062:12;:10;:12::i;:::-;35076:7;35085:96;35124:15;35085:96;;;;;;;;;;;;;;;;;:11;:25;35097:12;:10;:12::i;:::-;-1:-1:-1;;;;;35085:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;35085:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;45539:176::-;-1:-1:-1;;;;;45678:26:0;;45616:7;45678:26;;;:18;:26;;;;;;45643:62;;:30;45697:6;45643:22;:30::i;32305:175::-;32391:4;32408:42;32418:12;:10;:12::i;:::-;32432:9;32443:6;32408:9;:42::i;45948:137::-;-1:-1:-1;;;;;46049:26:0;46022:7;46049:26;;;:18;:26;;;;;;;45948:137::o;54514:364::-;54605:4;15193:12;:10;:12::i;:::-;-1:-1:-1;;;;;15182:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15182:23:0;;:52;;;;15222:12;:10;:12::i;:::-;15209:9;;-1:-1:-1;;;;;15209:9:0;;;:25;;;15182:52;15174:97;;;;;-1:-1:-1;;;15174:97:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15174:97:0;;;;;;;;;;;;;;;54622:14:::1;54639:32;54663:7;54639:23;:32::i;:::-;54622:49:::0;-1:-1:-1;54687:10:0;;54684:162:::1;;-1:-1:-1::0;;;;;54714:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;;;54740:15:::1;54714:41:::0;;54775:33;;;;;;;;::::1;;::::0;54714:23;54775:33:::1;::::0;;;;;;;::::1;54830:4;54823:11;;;;;54684:162;-1:-1:-1::0;54865:5:0::1;::::0;54514:364;-1:-1:-1;;;54514:364:0:o;49928:46::-;;;;:::o;32543:151::-;-1:-1:-1;;;;;32659:18:0;;;32632:7;32659:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;32543:151::o;53902:457::-;15193:12;:10;:12::i;:::-;-1:-1:-1;;;;;15182:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15182:23:0;;:52;;;;15222:12;:10;:12::i;:::-;15209:9;;-1:-1:-1;;;;;15209:9:0;;;:25;;;15182:52;15174:97;;;;;-1:-1:-1;;;15174:97:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15174:97:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;54000:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;53997:68;;;54047:7;;53997:68;54094:31;;54080:10;:45;54077:275;;54142:32;54154:7;54163:10;54142:11;:32::i;:::-;54189:40;:15;54209:7:::0;54218:10;54189:19:::1;:40::i;:::-;54077:275;;;54271:23;54283:7;54292:1;54271:11;:23::i;:::-;54309:31;:15;54332:7:::0;54309:22:::1;:31::i;52158:91::-:0;52213:7;52158:91;:::o;51730:420::-;15193:12;:10;:12::i;:::-;-1:-1:-1;;;;;15182:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15182:23:0;;:52;;;;15222:12;:10;:12::i;:::-;15209:9;;-1:-1:-1;;;;;15209:9:0;;;:25;;;15182:52;15174:97;;;;;-1:-1:-1;;;15174:97:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15174:97:0;;;;;;;;;;;;;;;51831:4:::1;51815:12;:20;;:45;;;;;51855:5;51839:12;:21;;51815:45;51807:133;;;;-1:-1:-1::0;;;51807:133:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51975:9;;51959:12;:25;;51951:99;;;;-1:-1:-1::0;;;51951:99:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52097:9;::::0;52066:41:::1;::::0;52083:12;;52066:41:::1;::::0;;;::::1;52118:9;:24:::0;51730:420::o;15945:244::-;15193:12;:10;:12::i;:::-;-1:-1:-1;;;;;15182:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15182:23:0;;:52;;;;15222:12;:10;:12::i;:::-;15209:9;;-1:-1:-1;;;;;15209:9:0;;;:25;;;15182:52;15174:97;;;;;-1:-1:-1;;;15174:97:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;15174:97:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;16034:22:0;::::1;16026:73;;;;-1:-1:-1::0;;;16026:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16136:6;::::0;16115:38:::1;::::0;-1:-1:-1;;;;;16115:38:0;;::::1;::::0;16136:6:::1;::::0;::::1;;::::0;16115:38:::1;::::0;;;::::1;16164:6;:17:::0;;-1:-1:-1;;;;;16164:17:0;;::::1;;;-1:-1:-1::0;;;;;;16164:17:0;;::::1;::::0;;;::::1;::::0;;15945:244::o;52482:760::-;52881:8;52564:15;;;;;;;52908:38;:15;52881:8;52908:29;:38::i;:::-;52900:46;;-1:-1:-1;;52957:29:0;;53021:31;53044:7;53021:22;:31::i;:::-;52997:55;;53080:31;53103:7;53080:22;:31::i;:::-;-1:-1:-1;;;;;53138:23:0;;;;;;:14;:23;;;;;;53153:7;;52482:760;;-1:-1:-1;52482:760:0;;;;53063:48;;53138:23;-1:-1:-1;53138:23:0;;-1:-1:-1;52482:760:0;-1:-1:-1;;52482:760:0:o;54367:139::-;54418:7;;;54456:15;;;3498:106;3586:10;3498:106;:::o;38090:346::-;-1:-1:-1;;;;;38192:19:0;;38184:68;;;;-1:-1:-1;;;38184:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38271:21:0;;38263:68;;;;-1:-1:-1;;;38263:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38344:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;38396:32;;;;;;;;;;;;;;;;;38090:346;;;:::o;23899:179::-;23957:7;23989:5;;;24013:6;;;;24005:46;;;;;-1:-1:-1;;;24005:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24069:1;23899:179;-1:-1:-1;;;23899:179:0:o;24361:158::-;24419:7;24452:1;24447;:6;;24439:49;;;;;-1:-1:-1;;;24439:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24506:5:0;;;24361:158::o;31794:108::-;31882:12;;31794:108;:::o;51079:145::-;51154:62;;-1:-1:-1;;;51154:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51079:145;;;:::o;26726:166::-;26812:7;26848:12;26840:6;;;;26832:29;;;;-1:-1:-1;;;26832:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26879:5:0;;;26726:166::o;24778:220::-;24836:7;24860:6;24856:20;;-1:-1:-1;24875:1:0;24868:8;;24856:20;24899:5;;;24903:1;24899;:5;:1;24923:5;;;;;:10;24915:56;;;;-1:-1:-1;;;24915:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20992:134;21048:6;21081:1;21098:6;;;;21090:15;;;;;20509:162;20565:6;20591:5;;;20612:6;;;;;;:16;;;20627:1;20622;:6;;20612:16;20611:38;;;;20638:1;20634;:5;:14;;;;;20647:1;20643;:5;20634:14;20603:47;;;;;20677:117;20733:7;20762:1;20757;:6;;20749:15;;;;;;-1:-1:-1;20786:1:0;20677:117::o;48723:762::-;48801:22;48826:18;48836:7;48826:9;:18::i;:::-;-1:-1:-1;;;;;48870:24:0;;;;;;:15;:24;;;;;;48801:43;;-1:-1:-1;48870:24:0;;48865:295;;48941:27;;:47;;48973:14;48941:31;:47::i;:::-;48911:27;:77;-1:-1:-1;;;;;49003:24:0;;;;;;:15;:24;;;;;:31;;-1:-1:-1;;49003:31:0;49030:4;49003:31;;;49067:18;;49063:85;;49124:17;;:24;;49146:1;49124:21;:24::i;:::-;49104:17;:44;49063:85;49192:14;49179:10;:27;49176:300;;;49221:18;49242:30;:10;49257:14;49242;:30::i;:::-;49221:51;;49285:26;49291:7;49300:10;49285:5;:26::i;:::-;49176:300;;;;49345:14;49332:10;:27;49329:147;;;49374:18;49395:30;:14;49414:10;49395:18;:30::i;:::-;49374:51;;49438:26;49444:7;49453:10;49438:5;:26::i;13338:475::-;-1:-1:-1;;;;;13409:17:0;;;;;;:12;;;:17;;;;;;;;13404:57;;13443:7;;13404:57;-1:-1:-1;;;;;13480:17:0;;;;;;:12;;;:17;;;;;;;;13473:24;;-1:-1:-1;;13473:24:0;;;;13515:10;;:15;;;;;13508:22;;;13556:11;;;:16;;;;;;13600:15;;13556:16;;-1:-1:-1;;13600:19:0;;;13480:3;;13600:19;;13648;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13648:19:0;;;13680:20;;;:11;;;:20;;;;;;;:28;;;13726:16;;;;;;;13719:23;;;;13755:15;;13648:19;;-1:-1:-1;13648:19:0;;13680:3;;13703:5;;13755:15;;;;;;;;;;;;;;;:25;;-1:-1:-1;;;;;;13755:25:0;-1:-1:-1;;;;;13755:25:0;;;;;;;;;;13791:14;;;;;;;;;;;;;;;;;;-1:-1:-1;;13791:14:0;;;;;-1:-1:-1;;;;;;13791:14:0;;;;;;-1:-1:-1;;;13338:475:0;;:::o;12895:101::-;12973:15;;12895:101::o;12758:125::-;12833:7;12860:3;:8;;12869:5;12860:15;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12860:15:0;;12758:125;-1:-1:-1;;;12758:125:0:o;31965:127::-;-1:-1:-1;;;;;32066:18:0;32039:7;32066:18;;;;;;;;;;;;31965:127::o;44253:686::-;44326:7;44346:29;44378:28;44401:4;44378:22;:28::i;:::-;44346:60;-1:-1:-1;44421:25:0;;44417:488;;-1:-1:-1;;;;;44488:24:0;;;;;;:18;:24;;;;;;:51;;44517:21;44488:28;:51::i;:::-;-1:-1:-1;;;;;44461:24:0;;;;;;:18;:24;;;;;;;;;:78;;;;44557:46;;;;;;;44461:24;;44557:46;;;;;;;;;44638:8;;44631:54;;;-1:-1:-1;;;44631:54:0;;-1:-1:-1;;;;;44631:54:0;;;;;;;;;;;;;;;44616:12;;44638:8;;;;;44631:25;;:54;;;;;;;;;;;;;;;44616:12;44638:8;44631:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44631:54:0;;-1:-1:-1;44631:54:0;44704:143;;-1:-1:-1;;;;;44759:24:0;;;;;;:18;:24;;;;;;:51;;44788:21;44759:28;:51::i;:::-;-1:-1:-1;;;;;44732:24:0;;;;;;:18;:24;;;;;:78;;;;:24;-1:-1:-1;44825:8:0;;-1:-1:-1;;44825:8:0;44704:143;-1:-1:-1;44872:21:0;-1:-1:-1;44865:28:0;;44417:488;-1:-1:-1;44928:1:0;;44253:686;-1:-1:-1;;44253:686:0:o;13004:326::-;-1:-1:-1;;;;;13081:17:0;;;;;;:12;;;:17;;;;;;;;13077:246;;;-1:-1:-1;;;;;13115:15:0;;;;;;:10;;;:15;;;;;:21;;;13077:246;;;-1:-1:-1;;;;;13169:17:0;;;;;;:12;;;:17;;;;;;;;:24;;-1:-1:-1;;13169:24:0;13189:4;13169:24;;;;;;13208:10;;;:15;;;;;:21;;;13263:15;;13244:11;;;:16;;;;;:34;;;13293:18;;;;;;;;;;;;-1:-1:-1;;;;;;13293:18:0;;;;;;13004:326;;;:::o;12553:197::-;-1:-1:-1;;;;;12649:17:0;;12629:3;12649:17;;;:12;;;:17;;;;;;;;12645:59;;-1:-1:-1;;;12683:9:0;;12645:59;-1:-1:-1;;;;;;12725:16:0;;;;;:11;;;;;:16;;;;;;;12553:197::o;47850:280::-;47926:27;47938:7;47947:5;47926:11;:27::i;:::-;48010:110;48065:53;48066:36;48096:5;48066:25;;:29;;:36;;;;:::i;48065:53::-;-1:-1:-1;;;;;48010:37:0;;;;;;:28;:37;;;;;;;:53;:110::i;:::-;-1:-1:-1;;;;;47970:37:0;;;;;;;:28;:37;;;;;:150;;;;-1:-1:-1;47850:280:0:o;48429:::-;48505:27;48517:7;48526:5;48505:11;:27::i;:::-;48589:110;48644:53;48645:36;48675:5;48645:25;;:29;;:36;;;;:::i;48644:53::-;-1:-1:-1;;;;;48589:37:0;;;;;;:28;:37;;;;;;;:53;:110::i;36523:378::-;-1:-1:-1;;;;;36607:21:0;;36599:65;;;;;-1:-1:-1;;;36599:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36677:49;36706:1;36710:7;36719:6;36677:20;:49::i;:::-;36754:12;;:24;;36771:6;36754:16;:24::i;:::-;36739:12;:39;-1:-1:-1;;;;;36810:18:0;;:9;:18;;;;;;;;;;;:30;;36833:6;36810:22;:30::i;:::-;-1:-1:-1;;;;;36789:18:0;;:9;:18;;;;;;;;;;;:51;;;;36856:37;;;;;;;36789:18;;:9;;36856:37;;;;;;;;;;36523:378;;:::o;20350:153::-;20406:6;20435:1;20430;:6;;:20;;;;;20449:1;20444;20440;:5;:10;;20430:20;20429:46;;;;20460:1;20456;:5;:18;;;;;20473:1;20469;20465;:5;:9;20456:18;20421:55;;;;;37234:418;-1:-1:-1;;;;;37318:21:0;;37310:67;;;;-1:-1:-1;;;37310:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37390:49;37411:7;37428:1;37432:6;37390:20;:49::i;:::-;37473:68;37496:6;37473:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37473:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;37452:18:0;;:9;:18;;;;;;;;;;:89;37567:12;;:24;;37584:6;37567:16;:24::i;:::-;37552:12;:39;37607:37;;;;;;;;37633:1;;-1:-1:-1;;;;;37607:37:0;;;;;;;;;;;;37234:418;;:::o

Swarm Source

ipfs://82e7d90b62360999c77b5e878c177286ffe1c05b88404d87ffea037d080221b7

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.