ETH Price: $3,295.80 (-3.79%)
Gas: 12 Gwei

Token

PumpETH_Dividend_Tracker (PumpETH_Dividend_Tracker)
 

Overview

Max Total Supply

5,164,375,866.102000021719214602 PumpETH_Dividend_Tracker

Holders

388

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
3,162,076.571421445404290376 PumpETH_Dividend_Tracker

Value
$0.00
0xd8fddf40f83ce5d52433e6a64b3525ac98b410e4
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
PumpETHDividendTracker

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-08-21
*/

/*

PumpETH

1) 10% distribution in Ethereum
2) 2% swapped and added to the liquidity pool
                                                                                   
    _/_/_/                                        _/_/_/_/  _/_/_/_/_/  _/    _/   
   _/    _/  _/    _/  _/_/_/  _/_/    _/_/_/    _/            _/      _/    _/    
  _/_/_/    _/    _/  _/    _/    _/  _/    _/  _/_/_/        _/      _/_/_/_/     
 _/        _/    _/  _/    _/    _/  _/    _/  _/            _/      _/    _/      
_/          _/_/_/  _/    _/    _/  _/_/_/    _/_/_/_/      _/      _/    _/       
                                   _/                                              
                                  _/                                               

*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

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

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

contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply = _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 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 {}
}

library SafeMath {
    /**
     * @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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

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

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

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

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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

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

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

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

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

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

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

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


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

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

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

    IUniswapV2Router02 public uniswapV2Router;
    address public immutable uniswapV2Pair;

    bool private liquidating;

    PumpETHDividendTracker public dividendTracker;
    
    address public deadAddress = 0x000000000000000000000000000000000000dEaD;
    address public liquidityWallet;

    uint256 public MAX_SELL_TRANSACTION_AMOUNT = 250000000 * (10**18); // 250 Million (0.5%)

    uint256 public ETH_REWARDS_FEE = 10;
    uint256 public LIQUIDITY_FEE = 2;
    uint256 public TOTAL_FEES = ETH_REWARDS_FEE + LIQUIDITY_FEE;

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

    // liquidate tokens for ETH when the contract reaches 100k tokens by default
    uint256 public liquidateTokensAtAmount = 50000 * (10**18); // 50 Thousand (0.0001%);

    // whether the token can already be traded
    bool public tradingEnabled;

    function activateTrading() public onlyOwner {
        require(!tradingEnabled, "PumpETH: Trading is already enabled");
        tradingEnabled = true;
    }

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

    // addresses that can make transfers before presale is over
    mapping (address => bool) public canTransferBeforeTradingIsEnabled;

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

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

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

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    
    event LiquidityWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet);

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

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

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

    event SentDividends(
        uint256 tokensSwapped,
        uint256 amount
    );

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

    constructor() ERC20("PumpETH", "PumpETH") {
        assert(TOTAL_FEES == 12);

        dividendTracker = new PumpETHDividendTracker();
        liquidityWallet = owner();

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

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);

        // exclude from receiving dividends
        dividendTracker.excludeFromDividends(address(dividendTracker));
        dividendTracker.excludeFromDividends(address(_uniswapV2Router));
        dividendTracker.excludeFromDividends(address(this));
        dividendTracker.excludeFromDividends(owner());
        dividendTracker.excludeFromDividends(deadAddress);

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

        // enable owner wallet to send tokens before presales are over.
        canTransferBeforeTradingIsEnabled[owner()] = true;

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), 50000000000 * (10**18)); // 50 Billion (100%)
    }

    receive() external payable {}
    
    function prepareForPresale() external onlyOwner {
        ETH_REWARDS_FEE = 0;
        LIQUIDITY_FEE = 0;
        TOTAL_FEES = 0;
    }
    
    function afterPresale() external onlyOwner {
        ETH_REWARDS_FEE = 10;
        LIQUIDITY_FEE = 2;
        TOTAL_FEES = ETH_REWARDS_FEE + LIQUIDITY_FEE;
    }
    
  	function whitelistDxSale(address _presaleAddress, address _routerAddress) public onlyOwner {
        dividendTracker.excludeFromDividends(_presaleAddress);
        excludeFromFees(_presaleAddress, true);

        dividendTracker.excludeFromDividends(_routerAddress);
        excludeFromFees(_routerAddress, true);
  	}

    function updateDividendTracker(address newAddress) public onlyOwner {
        require(newAddress != address(dividendTracker), "PumpETH: The dividend tracker already has that address");

        PumpETHDividendTracker newDividendTracker = PumpETHDividendTracker(payable(newAddress));

        require(newDividendTracker.owner() == address(this), "PumpETH: The new dividend tracker must be owned by the PumpETH token contract");

        newDividendTracker.excludeFromDividends(address(newDividendTracker));
        newDividendTracker.excludeFromDividends(address(uniswapV2Router));
        newDividendTracker.excludeFromDividends(address(deadAddress));

        emit UpdatedDividendTracker(newAddress, address(dividendTracker));

        dividendTracker = newDividendTracker;
    }

    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(newAddress != address(uniswapV2Router), "PumpETH: The router already has that address");
        emit UpdatedUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
    }

    function excludeFromFees(address account, bool value) public onlyOwner {
        require(!_isExcludedFromFees[account], "PumpETH: Account is already excluded from fees");
        _isExcludedFromFees[account] = value;
    }
    
    function excludeFromDividends(address account) public onlyOwner {
        dividendTracker.excludeFromDividends(account);
    }
    
    function setMaxSellTransactionAmount(uint256 amount) external onlyOwner {
        MAX_SELL_TRANSACTION_AMOUNT = amount * (10**18);   
    }
  	
  	function setEthRewardsFee(uint256 amount) external onlyOwner {
  	    require(amount >= 0 && amount <= 100, "PumpETH: Rewards fee must be between 0 (0%) and 100 (100%)");
  	    ETH_REWARDS_FEE = amount;
  	    TOTAL_FEES = LIQUIDITY_FEE + ETH_REWARDS_FEE;
  	}
  	
  	function setLiquidityFee(uint256 amount) external onlyOwner {
  	    require(amount >= 0 && amount <= 100, "PumpETH: Liquidity fee must be between 0 (0%) and 100 (100%)");
  	    LIQUIDITY_FEE = amount;
  	    TOTAL_FEES = ETH_REWARDS_FEE + LIQUIDITY_FEE;
  	}

    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "PumpETH: The Uniswap pair cannot be removed from automatedMarketMakerPairs");

        _setAutomatedMarketMakerPair(pair, value);
    }

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

        if (value) {
            dividendTracker.excludeFromDividends(pair);
        }

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function allowTransferBeforeTradingIsEnabled(address account) public onlyOwner {
        require(!canTransferBeforeTradingIsEnabled[account], "PumpETH: Account is already allowed to transfer before trading is enabled");
        canTransferBeforeTradingIsEnabled[account] = true;
    }
    
    function updateLiquidityWallet(address newLiquidityWallet) public onlyOwner {
        require(newLiquidityWallet != liquidityWallet, "PumpETH: This address is already the liquidity wallet");
        excludeFromFees(newLiquidityWallet, true);
        emit LiquidityWalletUpdated(newLiquidityWallet, liquidityWallet);
        liquidityWallet = newLiquidityWallet;
    }

    function updateGasForProcessing(uint256 newValue) public onlyOwner {
        // Need to make gas fee customizable to future-proof against Ethereum network upgrades.
        require(newValue != gasForProcessing, "PumpETH: Cannot update gasForProcessing to same value");
        emit GasForProcessingUpdated(newValue, gasForProcessing);
        gasForProcessing = newValue;
    }

    function updateLiquidationThreshold(uint256 newValue) external onlyOwner {
        require(newValue != liquidateTokensAtAmount, "PumpETH: Cannot update gasForProcessing to same value");
        emit LiquidationThresholdUpdated(newValue, liquidateTokensAtAmount);
        liquidateTokensAtAmount = newValue;
    }

    function updateGasForTransfer(uint256 gasForTransfer) external onlyOwner {
        dividendTracker.updateGasForTransfer(gasForTransfer);
    }

    function updateClaimWait(uint256 claimWait) external onlyOwner {
        dividendTracker.updateClaimWait(claimWait);
    }

    function getGasForTransfer() external view returns(uint256) {
        return dividendTracker.gasForTransfer();
    }

    function getClaimWait() external view returns(uint256) {
        return dividendTracker.claimWait();
    }

    function getTotalDividendsDistributed() external view returns (uint256) {
        return dividendTracker.totalDividendsDistributed();
    }

    function isExcludedFromFees(address account) public view returns(bool) {
        return _isExcludedFromFees[account];
    }

    function withdrawableDividendOf(address account) public view returns(uint256) {
        return dividendTracker.withdrawableDividendOf(account);
    }

    function dividendTokenBalanceOf(address account) public view returns (uint256) {
        return dividendTracker.balanceOf(account);
    }

    function getAccountDividendsInfo(address account)
    external view returns (
        address,
        int256,
        int256,
        uint256,
        uint256,
        uint256,
        uint256,
        uint256) {
        return dividendTracker.getAccount(account);
    }

    function getAccountDividendsInfoAtIndex(uint256 index)
    external view returns (
        address,
        int256,
        int256,
        uint256,
        uint256,
        uint256,
        uint256,
        uint256) {
        return dividendTracker.getAccountAtIndex(index);
    }

    function processDividendTracker(uint256 gas) external {
        (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas);
        emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin);
    }

    function claim() external {
        dividendTracker.processAccount(payable(msg.sender), false);
    }

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

    function getNumberOfDividendTokenHolders() external view returns(uint256) {
        return dividendTracker.getNumberOfTokenHolders();
    }

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

        bool tradingIsEnabled = tradingEnabled;

        // only whitelisted addresses can make transfers before the public presale is over.
        if (!tradingIsEnabled) {
            require(canTransferBeforeTradingIsEnabled[from], "PumpETH: This account cannot send tokens until trading is enabled");
        }

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (!liquidating &&
            tradingIsEnabled &&
            automatedMarketMakerPairs[to] && // sells only by detecting transfer to automated market maker pair
            from != address(uniswapV2Router) && //router -> pair is removing liquidity which shouldn't have max
            !_isExcludedFromFees[to] //no max tx-amount and wallet token amount for those excluded from fees
        ) {
            require(amount <= MAX_SELL_TRANSACTION_AMOUNT, "Sell transfer amount exceeds the MAX_SELL_TRANSACTION_AMOUNT.");
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= liquidateTokensAtAmount;

        if (tradingIsEnabled &&
            canSwap &&
            !liquidating &&
            !automatedMarketMakerPairs[from] &&
            from != address(this) &&
            to != address(this)
        ) {
            liquidating = true;

            uint256 swapTokens = contractTokenBalance.mul(LIQUIDITY_FEE).div(TOTAL_FEES);
            swapAndLiquify(swapTokens);

            uint256 sellTokens = balanceOf(address(this));
            swapAndSendDividends(sellTokens);

            liquidating = false;
        }

        bool takeFee = tradingIsEnabled && !liquidating;

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

        if (takeFee) {
            uint256 fees = amount.div(100).mul(TOTAL_FEES);
            amount = amount.sub(fees);

        }

        super._transfer(from, to, amount);

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

        if (!liquidating) {
            uint256 gas = gasForProcessing;

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

            }
        }
    }

    function swapAndLiquify(uint256 tokens) private {
        // split the contract balance into halves
        uint256 half = tokens.div(2);
        uint256 otherHalf = tokens.sub(half);

        // capture the contract's current ETH balance.
        // this is so that we can capture exactly the amount of ETH that the
        // swap creates, and not make the liquidity event include any ETH that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        // swap tokens for ETH
        swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance.sub(initialBalance);

        // add liquidity to uniswap
        addLiquidity(otherHalf, newBalance);

        emit Liquified(half, newBalance, otherHalf);
    }

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

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

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

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            liquidityWallet,
            block.timestamp
        );
    }

    function swapAndSendDividends(uint256 tokens) private {
        swapTokensForEth(tokens);
        uint256 dividends = address(this).balance;

        (bool success,) = address(dividendTracker).call{value: dividends}("");
        if (success) {
            emit SentDividends(tokens, dividends);
        }
    }
}

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

    /// @notice 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
    );
}

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

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

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

/// @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, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface {
    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;

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

    // Need to make gas fee customizable to future-proof against Ethereum network upgrades.
    uint256 public gasForTransfer;

    uint256 public totalDividendsDistributed;

    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {
        gasForTransfer = 3000;
    }

    /// @dev Distributes dividends whenever ether is paid to this contract.
    receive() external payable {
        distributeDividends();
    }

    /// @notice Distributes ether to token holders as dividends.
    /// @dev It reverts if the total supply of tokens is 0.
    /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0.
    /// About undistributed ether:
    ///   In each distribution, there is a small amount of ether not distributed,
    ///     the magnified amount of which is
    ///     `(msg.value * magnitude) % totalSupply()`.
    ///   With a well-chosen `magnitude`, the amount of undistributed ether
    ///     (de-magnified) in a distribution can be less than 1 wei.
    ///   We can actually keep track of the undistributed ether in a distribution
    ///     and try to distribute it in the next distribution,
    ///     but keeping track of such data on-chain costs much more than
    ///     the saved ether, so we don't do that.
    function distributeDividends() public override payable {
        require(totalSupply() > 0);

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

            totalDividendsDistributed = totalDividendsDistributed.add(msg.value);
        }
    }

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

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

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

            return _withdrawableDividend;
        }

        return 0;
    }

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

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

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


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

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

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

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

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

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

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

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

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

contract PumpETHDividendTracker is DividendPayingToken, Ownable {
    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 constant MIN_TOKEN_BALANCE_FOR_DIVIDENDS = 200000 * (10**18); // Must hold 200,000+ tokens.

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

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

    constructor() DividendPayingToken("PumpETH_Dividend_Tracker", "PumpETH_Dividend_Tracker") {
        claimWait = 43200; // 12 hours
    }

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

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

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

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

        emit ExcludedFromDividends(account);
    }

    function updateGasForTransfer(uint256 newGasForTransfer) external onlyOwner {
        require(newGasForTransfer != gasForTransfer, "PumpETH_Dividend_Tracker: Cannot update gasForTransfer to same value");
        emit GasForTransferUpdated(newGasForTransfer, gasForTransfer);
        gasForTransfer = newGasForTransfer;
    }

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

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

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

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

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

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

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

        lastClaimTime = lastClaimTimes[account];
        nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0;
        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0;
    }

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

        address account = tokenHoldersMap.getKeyAtIndex(index);
        return getAccount(account);
    }

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

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

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

        processAccount(account, true);
    }

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

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

        uint256 _lastProcessedIndex = lastProcessedIndex;

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

        uint256 iterations = 0;
        uint256 claims = 0;

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

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

            address account = tokenHoldersMap.keys[_lastProcessedIndex];

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

            iterations++;

            uint256 newGasLeft = gasleft();

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

            gasLeft = newGasLeft;
        }

        lastProcessedIndex = _lastProcessedIndex;

        return (iterations, claims, lastProcessedIndex);
    }

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

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

        return false;
    }
}

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) public view returns (uint) {
        return map.values[key];
    }

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

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

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

    function set(Map storage map, address key, uint val) public {
        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) public {
        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();
    }
}

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

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

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

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

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":"ExcludedFromDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForTransferUpdated","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":[],"name":"MIN_TOKEN_BALANCE_FOR_DIVIDENDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"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":[],"name":"gasForTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"view","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":"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":"nonpayable","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":[],"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":[{"internalType":"uint256","name":"newGasForTransfer","type":"uint256"}],"name":"updateGasForTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDividend","outputs":[],"stateMutability":"pure","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"}]

60806040523480156200001157600080fd5b5060408051808201825260188082527f50756d704554485f4469766964656e645f547261636b65720000000000000000602080840182815285518087019096529285528401528151919291839183916200006e91600391620000e0565b50805162000084906004906020840190620000e0565b5050610bb86008555050600a80546001600160a01b0319163390811790915560405190915081906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061a8c0601255620001c3565b828054620000ee9062000186565b90600052602060002090601f0160209004810192826200011257600085556200015d565b82601f106200012d57805160ff19168380011785556200015d565b828001600101855582156200015d579182015b828111156200015d57825182559160200191906001019062000140565b506200016b9291506200016f565b5090565b5b808211156200016b576000815560010162000170565b600181811c908216806200019b57607f821691505b60208210811415620001bd57634e487b7160e01b600052602260045260246000fd5b50919050565b61219380620001d36000396000f3fe60806040526004361061021e5760003560e01c806385a6b3ae11610123578063bc4c4b37116100ab578063e98030c71161006f578063e98030c714610695578063f2fde38b146106b5578063f39b5020146106d5578063fbcbc0f1146106eb578063ffb2c4791461070b57600080fd5b8063bc4c4b37146105dc578063c38f9cad146105fc578063dd62ed3e1461061a578063e30443bc14610660578063e7841ec01461068057600080fd5b80639d55d16f116100f25780639d55d16f14610526578063a457c2d714610546578063a8b9d24014610566578063a9059cbb14610586578063aafd847a146105a657600080fd5b806385a6b3ae146104b35780638da5cb5b146104c957806391b89fba146104f157806395d89b411461051157600080fd5b8063313ce567116101a65780635183d6fd116101755780635183d6fd146103d85780636a4740021461043d5780636f2789ec1461045257806370a0823114610468578063715018a61461049e57600080fd5b8063313ce5671461034c57806331e79db01461036857806339509351146103885780634e7b827f146103a857600080fd5b806318160ddd116101ed57806318160ddd146102b4578063226cfa3d146102c957806323b872dd146102f657806327ce0147146103165780633009a6091461033657600080fd5b806303c833021461023257806306fdde031461023a578063095ea7b31461026557806309bbedde1461029557600080fd5b3661022d5761022b610746565b005b600080fd5b61022b610746565b34801561024657600080fd5b5061024f6107d9565b60405161025c9190611ef4565b60405180910390f35b34801561027157600080fd5b50610285610280366004611e2c565b61086b565b604051901515815260200161025c565b3480156102a157600080fd5b50600b545b60405190815260200161025c565b3480156102c057600080fd5b506002546102a6565b3480156102d557600080fd5b506102a66102e4366004611db8565b60116020526000908152604090205481565b34801561030257600080fd5b50610285610311366004611e84565b610882565b34801561032257600080fd5b506102a6610331366004611db8565b6108eb565b34801561034257600080fd5b506102a6600f5481565b34801561035857600080fd5b506040516012815260200161025c565b34801561037457600080fd5b5061022b610383366004611db8565b610947565b34801561039457600080fd5b506102856103a3366004611e2c565b610a77565b3480156103b457600080fd5b506102856103c3366004611db8565b60106020526000908152604090205460ff1681565b3480156103e457600080fd5b506103f86103f3366004611edc565b610aad565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161025c565b34801561044957600080fd5b5061022b610c1f565b34801561045e57600080fd5b506102a660125481565b34801561047457600080fd5b506102a6610483366004611db8565b6001600160a01b031660009081526020819052604090205490565b3480156104aa57600080fd5b5061022b610cc7565b3480156104bf57600080fd5b506102a660095481565b3480156104d557600080fd5b50600a546040516001600160a01b03909116815260200161025c565b3480156104fd57600080fd5b506102a661050c366004611db8565b610d3b565b34801561051d57600080fd5b5061024f610d46565b34801561053257600080fd5b5061022b610541366004611edc565b610d55565b34801561055257600080fd5b50610285610561366004611e2c565b610e38565b34801561057257600080fd5b506102a6610581366004611db8565b610e87565b34801561059257600080fd5b506102856105a1366004611e2c565b610eb3565b3480156105b257600080fd5b506102a66105c1366004611db8565b6001600160a01b031660009081526007602052604090205490565b3480156105e857600080fd5b506102856105f7366004611df0565b610ec0565b34801561060857600080fd5b506102a6692a5a058fc295ed00000081565b34801561062657600080fd5b506102a6610635366004611e57565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561066c57600080fd5b5061022b61067b366004611e2c565b610f6e565b34801561068c57600080fd5b50600f546102a6565b3480156106a157600080fd5b5061022b6106b0366004611edc565b6110e4565b3480156106c157600080fd5b5061022b6106d0366004611db8565b611256565b3480156106e157600080fd5b506102a660085481565b3480156106f757600080fd5b506103f8610706366004611db8565b611341565b34801561071757600080fd5b5061072b610726366004611edc565b6114b9565b6040805193845260208401929092529082015260600161025c565b600061075160025490565b1161075b57600080fd5b34156107d75761078e61076d60025490565b61077b34600160801b6115e2565b6107859190611fd5565b60055490611668565b60055560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26009546107d39034611668565b6009555b565b6060600380546107e89061206a565b80601f01602080910402602001604051908101604052809291908181526020018280546108149061206a565b80156108615780601f1061083657610100808354040283529160200191610861565b820191906000526020600020905b81548152906001019060200180831161084457829003601f168201915b5050505050905090565b60006108783384846116c7565b5060015b92915050565b600061088f8484846117eb565b6108e184336108dc85604051806060016040528060288152602001612111602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061184a565b6116c7565b5060019392505050565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b9261093d92610938926109329161092d91906115e2565b611884565b90611894565b6118d2565b61087c9190611fd5565b600a546001600160a01b0316331461097a5760405162461bcd60e51b815260040161097190611f47565b60405180910390fd5b6001600160a01b03811660009081526010602052604090205460ff16156109a057600080fd5b6001600160a01b0381166000908152601060205260408120805460ff191660011790556109ce9082906118e5565b60405163131836e760e21b8152600b60048201526001600160a01b038216602482015273e116428a1a432c890f4acafb4e563f5d5337f6bf90634c60db9c9060440160006040518083038186803b158015610a2857600080fd5b505af4158015610a3c573d6000803e3d6000fd5b50506040516001600160a01b03841692507fbc358c1a6bbec2cf1d21c2fb5a564b55d7828e32fb5da64adf3c5479264650109150600090a250565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108789185906108dc9086611668565b600080600080600080600080600b73e116428a1a432c890f4acafb4e563f5d5337f6bf63deb3d89690916040518263ffffffff1660e01b8152600401610af591815260200190565b60206040518083038186803b158015610b0d57600080fd5b505af4158015610b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b459190611ec4565b8910610b6a575060009650600019955085945086935083925082915081905080610c14565b6040516368d54f3f60e11b8152600b6004820152602481018a905260009073e116428a1a432c890f4acafb4e563f5d5337f6bf9063d1aa9e7e9060440160206040518083038186803b158015610bbf57600080fd5b505af4158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf79190611dd4565b9050610c0281611341565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606b60248201527f50756d704554485f4469766964656e645f547261636b65723a2077697468647260448201527f61774469766964656e642064697361626c65642e20557365207468652027636c60648201527f61696d272066756e6374696f6e206f6e20746865206d61696e2050756d70455460848201526a241031b7b73a3930b1ba1760a91b60a482015260c401610971565b600a546001600160a01b03163314610cf15760405162461bcd60e51b815260040161097190611f47565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600061087c82610e87565b6060600480546107e89061206a565b600a546001600160a01b03163314610d7f5760405162461bcd60e51b815260040161097190611f47565b600854811415610e055760405162461bcd60e51b8152602060048201526044602482018190527f50756d704554485f4469766964656e645f547261636b65723a2043616e6e6f74908201527f2075706461746520676173466f725472616e7366657220746f2073616d652076606482015263616c756560e01b608482015260a401610971565b60085460405182907f5e2963a3d7c88b344b101641f89a2f7da9734fc777ed11ad0097b2775a9e9d1790600090a3600855565b600061087833846108dc85604051806060016040528060258152602001612139602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061184a565b6001600160a01b03811660009081526007602052604081205461087c90610ead846108eb565b90611944565b60006108783384846117eb565b600a546000906001600160a01b03163314610eed5760405162461bcd60e51b815260040161097190611f47565b6000610ef884611986565b90508015610f64576001600160a01b038416600081815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610f529085815260200190565b60405180910390a3600191505061087c565b5060009392505050565b600a546001600160a01b03163314610f985760405162461bcd60e51b815260040161097190611f47565b6001600160a01b03821660009081526010602052604090205460ff1615610fbd575050565b692a5a058fc295ed000000811061105657610fd882826118e5565b604051632f0ad01760e21b8152600b60048201526001600160a01b03831660248201526044810182905273e116428a1a432c890f4acafb4e563f5d5337f6bf9063bc2b405c9060640160006040518083038186803b15801561103957600080fd5b505af415801561104d573d6000803e3d6000fd5b505050506110d4565b6110618260006118e5565b60405163131836e760e21b8152600b60048201526001600160a01b038316602482015273e116428a1a432c890f4acafb4e563f5d5337f6bf90634c60db9c9060440160006040518083038186803b1580156110bb57600080fd5b505af41580156110cf573d6000803e3d6000fd5b505050505b6110df826001610ec0565b505050565b600a546001600160a01b0316331461110e5760405162461bcd60e51b815260040161097190611f47565b610e1081101580156111235750620151808111155b6111ab5760405162461bcd60e51b815260206004820152604d60248201527f50756d704554485f4469766964656e645f547261636b65723a20636c61696d5760448201527f616974206d757374206265207570646174656420746f206265747765656e203160648201526c20616e6420323420686f75727360981b608482015260a401610971565b6012548114156112235760405162461bcd60e51b815260206004820152603f60248201527f50756d704554485f4469766964656e645f547261636b65723a2043616e6e6f7460448201527f2075706461746520636c61696d5761697420746f2073616d652076616c7565006064820152608401610971565b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601255565b600a546001600160a01b031633146112805760405162461bcd60e51b815260040161097190611f47565b6001600160a01b0381166112e55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610971565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600b60048201526001600160a01b0382166024820152819060009081908190819081908190819073e116428a1a432c890f4acafb4e563f5d5337f6bf906317e142d19060440160206040518083038186803b1580156113ac57600080fd5b505af41580156113c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e49190611ec4565b965060001995506000871261144657600f5487111561141257600f5461140b908890611ac9565b9550611446565b600f54600b5460009110611427576000611436565b600f54600b5461143691611944565b90506114428882611894565b9650505b61144f88610e87565b945061145a886108eb565b6001600160a01b038916600090815260116020526040902054909450925082611484576000611492565b601254611492908490611668565b91504282116114a25760006114ac565b6114ac8242611944565b9050919395975091939597565b600b5460009081908190806114d9575050600f54600092508291506115db565b600f546000805a90506000805b89841080156114f457508582105b156115ca5784611503816120a5565b600b549096508610905061151657600094505b6000600b600001868154811061153c57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316808352601190915260409091205490915061156d90611b06565b156115905761157d816001610ec0565b15611590578161158c816120a5565b9250505b8261159a816120a5565b93505060005a9050808511156115c1576115be6115b78683611944565b8790611668565b95505b93506114e69050565b600f85905590975095509193505050505b9193909250565b6000826115f15750600061087c565b60006115fd8385611ff5565b90508261160a8583611fd5565b146116615760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610971565b9392505050565b6000806116758385611fbd565b9050838110156116615760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610971565b6001600160a01b0383166117295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610971565b6001600160a01b03821661178a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610971565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602e60248201527f50756d704554485f4469766964656e645f547261636b65723a204e6f2074726160448201526d1b9cd9995c9cc8185b1b1bddd95960921b6064820152608401610971565b6000818484111561186e5760405162461bcd60e51b81526004016109719190611ef4565b50600061187b8486612053565b95945050505050565b6000818181121561087c57600080fd5b6000806118a18385611f7c565b9050600083121580156118b45750838112155b806118c957506000831280156118c957508381125b61166157600080fd5b6000808212156118e157600080fd5b5090565b6001600160a01b038216600090815260208190526040902054808211156119245760006119128383611944565b905061191e8482611b2d565b50505050565b808210156110df5760006119388284611944565b905061191e8482611b91565b600061166183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061184a565b60008061199283610e87565b90508015611ac0576001600160a01b0383166000908152600760205260409020546119bd9082611668565b6001600160a01b038416600081815260076020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611a0c9084815260200190565b60405180910390a26008546040516000916001600160a01b03861691849084818181858888f193505050503d8060008114611a63576040519150601f19603f3d011682016040523d82523d6000602084013e611a68565b606091505b5050905080611ab9576001600160a01b038416600090815260076020526040902054611a949083611944565b6001600160a01b03909416600090815260076020526040812094909455509192915050565b5092915050565b50600092915050565b600080611ad68385612014565b905060008312158015611ae95750838113155b806118c957506000831280156118c9575083811361166157600080fd5b600042821115611b1857506000919050565b601254611b254284611944565b101592915050565b611b378282611bd5565b611b71611b5261092d836005546115e290919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611ac9565b6001600160a01b0390921660009081526006602052604090209190915550565b611b9b8282611cb4565b611b71611bb661092d836005546115e290919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611894565b6001600160a01b038216611c2b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610971565b600254611c389082611668565b6002556001600160a01b038216600090815260208190526040902054611c5e9082611668565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b038216611d145760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610971565b611d51816040518060600160405280602281526020016120ef602291396001600160a01b038516600090815260208190526040902054919061184a565b6001600160a01b038316600090815260208190526040902055600254611d779082611944565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611ca8565b600060208284031215611dc9578081fd5b8135611661816120d6565b600060208284031215611de5578081fd5b8151611661816120d6565b60008060408385031215611e02578081fd5b8235611e0d816120d6565b915060208301358015158114611e21578182fd5b809150509250929050565b60008060408385031215611e3e578182fd5b8235611e49816120d6565b946020939093013593505050565b60008060408385031215611e69578182fd5b8235611e74816120d6565b91506020830135611e21816120d6565b600080600060608486031215611e98578081fd5b8335611ea3816120d6565b92506020840135611eb3816120d6565b929592945050506040919091013590565b600060208284031215611ed5578081fd5b5051919050565b600060208284031215611eed578081fd5b5035919050565b6000602080835283518082850152825b81811015611f2057858101830151858201604001528201611f04565b81811115611f315783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b0384900385131615611f9e57611f9e6120c0565b600160ff1b8390038412811615611fb757611fb76120c0565b50500190565b60008219821115611fd057611fd06120c0565b500190565b600082611ff057634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561200f5761200f6120c0565b500290565b60008083128015600160ff1b850184121615612032576120326120c0565b6001600160ff1b038401831381161561204d5761204d6120c0565b50500390565b600082821015612065576120656120c0565b500390565b600181811c9082168061207e57607f821691505b6020821081141561209f57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120b9576120b96120c0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146120eb57600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122072077ba48f6ff1281382c7a764b5cd1075e1407e8b2af575685308c704fe33d764736f6c63430008040033

Deployed Bytecode

0x60806040526004361061021e5760003560e01c806385a6b3ae11610123578063bc4c4b37116100ab578063e98030c71161006f578063e98030c714610695578063f2fde38b146106b5578063f39b5020146106d5578063fbcbc0f1146106eb578063ffb2c4791461070b57600080fd5b8063bc4c4b37146105dc578063c38f9cad146105fc578063dd62ed3e1461061a578063e30443bc14610660578063e7841ec01461068057600080fd5b80639d55d16f116100f25780639d55d16f14610526578063a457c2d714610546578063a8b9d24014610566578063a9059cbb14610586578063aafd847a146105a657600080fd5b806385a6b3ae146104b35780638da5cb5b146104c957806391b89fba146104f157806395d89b411461051157600080fd5b8063313ce567116101a65780635183d6fd116101755780635183d6fd146103d85780636a4740021461043d5780636f2789ec1461045257806370a0823114610468578063715018a61461049e57600080fd5b8063313ce5671461034c57806331e79db01461036857806339509351146103885780634e7b827f146103a857600080fd5b806318160ddd116101ed57806318160ddd146102b4578063226cfa3d146102c957806323b872dd146102f657806327ce0147146103165780633009a6091461033657600080fd5b806303c833021461023257806306fdde031461023a578063095ea7b31461026557806309bbedde1461029557600080fd5b3661022d5761022b610746565b005b600080fd5b61022b610746565b34801561024657600080fd5b5061024f6107d9565b60405161025c9190611ef4565b60405180910390f35b34801561027157600080fd5b50610285610280366004611e2c565b61086b565b604051901515815260200161025c565b3480156102a157600080fd5b50600b545b60405190815260200161025c565b3480156102c057600080fd5b506002546102a6565b3480156102d557600080fd5b506102a66102e4366004611db8565b60116020526000908152604090205481565b34801561030257600080fd5b50610285610311366004611e84565b610882565b34801561032257600080fd5b506102a6610331366004611db8565b6108eb565b34801561034257600080fd5b506102a6600f5481565b34801561035857600080fd5b506040516012815260200161025c565b34801561037457600080fd5b5061022b610383366004611db8565b610947565b34801561039457600080fd5b506102856103a3366004611e2c565b610a77565b3480156103b457600080fd5b506102856103c3366004611db8565b60106020526000908152604090205460ff1681565b3480156103e457600080fd5b506103f86103f3366004611edc565b610aad565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161025c565b34801561044957600080fd5b5061022b610c1f565b34801561045e57600080fd5b506102a660125481565b34801561047457600080fd5b506102a6610483366004611db8565b6001600160a01b031660009081526020819052604090205490565b3480156104aa57600080fd5b5061022b610cc7565b3480156104bf57600080fd5b506102a660095481565b3480156104d557600080fd5b50600a546040516001600160a01b03909116815260200161025c565b3480156104fd57600080fd5b506102a661050c366004611db8565b610d3b565b34801561051d57600080fd5b5061024f610d46565b34801561053257600080fd5b5061022b610541366004611edc565b610d55565b34801561055257600080fd5b50610285610561366004611e2c565b610e38565b34801561057257600080fd5b506102a6610581366004611db8565b610e87565b34801561059257600080fd5b506102856105a1366004611e2c565b610eb3565b3480156105b257600080fd5b506102a66105c1366004611db8565b6001600160a01b031660009081526007602052604090205490565b3480156105e857600080fd5b506102856105f7366004611df0565b610ec0565b34801561060857600080fd5b506102a6692a5a058fc295ed00000081565b34801561062657600080fd5b506102a6610635366004611e57565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561066c57600080fd5b5061022b61067b366004611e2c565b610f6e565b34801561068c57600080fd5b50600f546102a6565b3480156106a157600080fd5b5061022b6106b0366004611edc565b6110e4565b3480156106c157600080fd5b5061022b6106d0366004611db8565b611256565b3480156106e157600080fd5b506102a660085481565b3480156106f757600080fd5b506103f8610706366004611db8565b611341565b34801561071757600080fd5b5061072b610726366004611edc565b6114b9565b6040805193845260208401929092529082015260600161025c565b600061075160025490565b1161075b57600080fd5b34156107d75761078e61076d60025490565b61077b34600160801b6115e2565b6107859190611fd5565b60055490611668565b60055560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26009546107d39034611668565b6009555b565b6060600380546107e89061206a565b80601f01602080910402602001604051908101604052809291908181526020018280546108149061206a565b80156108615780601f1061083657610100808354040283529160200191610861565b820191906000526020600020905b81548152906001019060200180831161084457829003601f168201915b5050505050905090565b60006108783384846116c7565b5060015b92915050565b600061088f8484846117eb565b6108e184336108dc85604051806060016040528060288152602001612111602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061184a565b6116c7565b5060019392505050565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b9261093d92610938926109329161092d91906115e2565b611884565b90611894565b6118d2565b61087c9190611fd5565b600a546001600160a01b0316331461097a5760405162461bcd60e51b815260040161097190611f47565b60405180910390fd5b6001600160a01b03811660009081526010602052604090205460ff16156109a057600080fd5b6001600160a01b0381166000908152601060205260408120805460ff191660011790556109ce9082906118e5565b60405163131836e760e21b8152600b60048201526001600160a01b038216602482015273e116428a1a432c890f4acafb4e563f5d5337f6bf90634c60db9c9060440160006040518083038186803b158015610a2857600080fd5b505af4158015610a3c573d6000803e3d6000fd5b50506040516001600160a01b03841692507fbc358c1a6bbec2cf1d21c2fb5a564b55d7828e32fb5da64adf3c5479264650109150600090a250565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108789185906108dc9086611668565b600080600080600080600080600b73e116428a1a432c890f4acafb4e563f5d5337f6bf63deb3d89690916040518263ffffffff1660e01b8152600401610af591815260200190565b60206040518083038186803b158015610b0d57600080fd5b505af4158015610b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b459190611ec4565b8910610b6a575060009650600019955085945086935083925082915081905080610c14565b6040516368d54f3f60e11b8152600b6004820152602481018a905260009073e116428a1a432c890f4acafb4e563f5d5337f6bf9063d1aa9e7e9060440160206040518083038186803b158015610bbf57600080fd5b505af4158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf79190611dd4565b9050610c0281611341565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606b60248201527f50756d704554485f4469766964656e645f547261636b65723a2077697468647260448201527f61774469766964656e642064697361626c65642e20557365207468652027636c60648201527f61696d272066756e6374696f6e206f6e20746865206d61696e2050756d70455460848201526a241031b7b73a3930b1ba1760a91b60a482015260c401610971565b600a546001600160a01b03163314610cf15760405162461bcd60e51b815260040161097190611f47565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600061087c82610e87565b6060600480546107e89061206a565b600a546001600160a01b03163314610d7f5760405162461bcd60e51b815260040161097190611f47565b600854811415610e055760405162461bcd60e51b8152602060048201526044602482018190527f50756d704554485f4469766964656e645f547261636b65723a2043616e6e6f74908201527f2075706461746520676173466f725472616e7366657220746f2073616d652076606482015263616c756560e01b608482015260a401610971565b60085460405182907f5e2963a3d7c88b344b101641f89a2f7da9734fc777ed11ad0097b2775a9e9d1790600090a3600855565b600061087833846108dc85604051806060016040528060258152602001612139602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061184a565b6001600160a01b03811660009081526007602052604081205461087c90610ead846108eb565b90611944565b60006108783384846117eb565b600a546000906001600160a01b03163314610eed5760405162461bcd60e51b815260040161097190611f47565b6000610ef884611986565b90508015610f64576001600160a01b038416600081815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610f529085815260200190565b60405180910390a3600191505061087c565b5060009392505050565b600a546001600160a01b03163314610f985760405162461bcd60e51b815260040161097190611f47565b6001600160a01b03821660009081526010602052604090205460ff1615610fbd575050565b692a5a058fc295ed000000811061105657610fd882826118e5565b604051632f0ad01760e21b8152600b60048201526001600160a01b03831660248201526044810182905273e116428a1a432c890f4acafb4e563f5d5337f6bf9063bc2b405c9060640160006040518083038186803b15801561103957600080fd5b505af415801561104d573d6000803e3d6000fd5b505050506110d4565b6110618260006118e5565b60405163131836e760e21b8152600b60048201526001600160a01b038316602482015273e116428a1a432c890f4acafb4e563f5d5337f6bf90634c60db9c9060440160006040518083038186803b1580156110bb57600080fd5b505af41580156110cf573d6000803e3d6000fd5b505050505b6110df826001610ec0565b505050565b600a546001600160a01b0316331461110e5760405162461bcd60e51b815260040161097190611f47565b610e1081101580156111235750620151808111155b6111ab5760405162461bcd60e51b815260206004820152604d60248201527f50756d704554485f4469766964656e645f547261636b65723a20636c61696d5760448201527f616974206d757374206265207570646174656420746f206265747765656e203160648201526c20616e6420323420686f75727360981b608482015260a401610971565b6012548114156112235760405162461bcd60e51b815260206004820152603f60248201527f50756d704554485f4469766964656e645f547261636b65723a2043616e6e6f7460448201527f2075706461746520636c61696d5761697420746f2073616d652076616c7565006064820152608401610971565b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601255565b600a546001600160a01b031633146112805760405162461bcd60e51b815260040161097190611f47565b6001600160a01b0381166112e55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610971565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600b60048201526001600160a01b0382166024820152819060009081908190819081908190819073e116428a1a432c890f4acafb4e563f5d5337f6bf906317e142d19060440160206040518083038186803b1580156113ac57600080fd5b505af41580156113c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e49190611ec4565b965060001995506000871261144657600f5487111561141257600f5461140b908890611ac9565b9550611446565b600f54600b5460009110611427576000611436565b600f54600b5461143691611944565b90506114428882611894565b9650505b61144f88610e87565b945061145a886108eb565b6001600160a01b038916600090815260116020526040902054909450925082611484576000611492565b601254611492908490611668565b91504282116114a25760006114ac565b6114ac8242611944565b9050919395975091939597565b600b5460009081908190806114d9575050600f54600092508291506115db565b600f546000805a90506000805b89841080156114f457508582105b156115ca5784611503816120a5565b600b549096508610905061151657600094505b6000600b600001868154811061153c57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316808352601190915260409091205490915061156d90611b06565b156115905761157d816001610ec0565b15611590578161158c816120a5565b9250505b8261159a816120a5565b93505060005a9050808511156115c1576115be6115b78683611944565b8790611668565b95505b93506114e69050565b600f85905590975095509193505050505b9193909250565b6000826115f15750600061087c565b60006115fd8385611ff5565b90508261160a8583611fd5565b146116615760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610971565b9392505050565b6000806116758385611fbd565b9050838110156116615760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610971565b6001600160a01b0383166117295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610971565b6001600160a01b03821661178a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610971565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602e60248201527f50756d704554485f4469766964656e645f547261636b65723a204e6f2074726160448201526d1b9cd9995c9cc8185b1b1bddd95960921b6064820152608401610971565b6000818484111561186e5760405162461bcd60e51b81526004016109719190611ef4565b50600061187b8486612053565b95945050505050565b6000818181121561087c57600080fd5b6000806118a18385611f7c565b9050600083121580156118b45750838112155b806118c957506000831280156118c957508381125b61166157600080fd5b6000808212156118e157600080fd5b5090565b6001600160a01b038216600090815260208190526040902054808211156119245760006119128383611944565b905061191e8482611b2d565b50505050565b808210156110df5760006119388284611944565b905061191e8482611b91565b600061166183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061184a565b60008061199283610e87565b90508015611ac0576001600160a01b0383166000908152600760205260409020546119bd9082611668565b6001600160a01b038416600081815260076020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611a0c9084815260200190565b60405180910390a26008546040516000916001600160a01b03861691849084818181858888f193505050503d8060008114611a63576040519150601f19603f3d011682016040523d82523d6000602084013e611a68565b606091505b5050905080611ab9576001600160a01b038416600090815260076020526040902054611a949083611944565b6001600160a01b03909416600090815260076020526040812094909455509192915050565b5092915050565b50600092915050565b600080611ad68385612014565b905060008312158015611ae95750838113155b806118c957506000831280156118c9575083811361166157600080fd5b600042821115611b1857506000919050565b601254611b254284611944565b101592915050565b611b378282611bd5565b611b71611b5261092d836005546115e290919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611ac9565b6001600160a01b0390921660009081526006602052604090209190915550565b611b9b8282611cb4565b611b71611bb661092d836005546115e290919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611894565b6001600160a01b038216611c2b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610971565b600254611c389082611668565b6002556001600160a01b038216600090815260208190526040902054611c5e9082611668565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b038216611d145760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610971565b611d51816040518060600160405280602281526020016120ef602291396001600160a01b038516600090815260208190526040902054919061184a565b6001600160a01b038316600090815260208190526040902055600254611d779082611944565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611ca8565b600060208284031215611dc9578081fd5b8135611661816120d6565b600060208284031215611de5578081fd5b8151611661816120d6565b60008060408385031215611e02578081fd5b8235611e0d816120d6565b915060208301358015158114611e21578182fd5b809150509250929050565b60008060408385031215611e3e578182fd5b8235611e49816120d6565b946020939093013593505050565b60008060408385031215611e69578182fd5b8235611e74816120d6565b91506020830135611e21816120d6565b600080600060608486031215611e98578081fd5b8335611ea3816120d6565b92506020840135611eb3816120d6565b929592945050506040919091013590565b600060208284031215611ed5578081fd5b5051919050565b600060208284031215611eed578081fd5b5035919050565b6000602080835283518082850152825b81811015611f2057858101830151858201604001528201611f04565b81811115611f315783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b0384900385131615611f9e57611f9e6120c0565b600160ff1b8390038412811615611fb757611fb76120c0565b50500190565b60008219821115611fd057611fd06120c0565b500190565b600082611ff057634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561200f5761200f6120c0565b500290565b60008083128015600160ff1b850184121615612032576120326120c0565b6001600160ff1b038401831381161561204d5761204d6120c0565b50500390565b600082821015612065576120656120c0565b500390565b600181811c9082168061207e57607f821691505b6020821081141561209f57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120b9576120b96120c0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146120eb57600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122072077ba48f6ff1281382c7a764b5cd1075e1407e8b2af575685308c704fe33d764736f6c63430008040033

Libraries Used


Deployed Bytecode Sourcemap

53065:6923:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46454:21;:19;:21::i;:::-;53065:6923;;;;;47360:439;;;:::i;8583:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10750:169;;;;;;;;;;-1:-1:-1;10750:169:0;;;;;:::i;:::-;;:::i;:::-;;;4414:14:1;;4407:22;4389:41;;4377:2;4362:18;10750:169:0;4344:92:1;55628:119:0;;;;;;;;;;-1:-1:-1;55712:15:0;:27;55628:119;;;10688:25:1;;;10676:2;10661:18;55628:119:0;10643:76:1;9703:108:0;;;;;;;;;;-1:-1:-1;9791:12:0;;9703:108;;53413:50;;;;;;;;;;-1:-1:-1;53413:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;11401:355;;;;;;;;;;-1:-1:-1;11401:355:0;;;;;:::i;:::-;;:::i;50520:255::-;;;;;;;;;;-1:-1:-1;50520:255:0;;;;;:::i;:::-;;:::i;53308:33::-;;;;;;;;;;;;;;;;9545:93;;;;;;;;;;-1:-1:-1;9545:93:0;;9628:2;12669:36:1;;12657:2;12642:18;9545:93:0;12624:87:1;54437:299:0;;;;;;;;;;-1:-1:-1;54437:299:0;;;;;:::i;:::-;;:::i;12165:218::-;;;;;;;;;;-1:-1:-1;12165:218:0;;;;;:::i;:::-;;:::i;53350:54::-;;;;;;;;;;-1:-1:-1;53350:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;57082:471;;;;;;;;;;-1:-1:-1;57082:471:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3900:32:1;;;;3882:51;;3964:2;3949:18;;3942:34;;;;3992:18;;;3985:34;;;;4050:2;4035:18;;4028:34;;;;4093:3;4078:19;;4071:35;-1:-1:-1;4122:19:1;;4115:35;4181:3;4166:19;;4159:35;4225:3;4210:19;;4203:35;3869:3;3854:19;57082:471:0;3836:408:1;54236:193:0;;;;;;;;;;;;;:::i;53472:24::-;;;;;;;;;;;;;;;;9874:127;;;;;;;;;;-1:-1:-1;9874:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;9975:18:0;9948:7;9975:18;;;;;;;;;;;;9874:127;2734:148;;;;;;;;;;;;;:::i;46164:40::-;;;;;;;;;;;;;;;;2092:79;;;;;;;;;;-1:-1:-1;2157:6:0;;2092:79;;-1:-1:-1;;;;;2157:6:0;;;3481:51:1;;3469:2;3454:18;2092:79:0;3436:102:1;49188:130:0;;;;;;;;;;-1:-1:-1;49188:130:0;;;;;:::i;:::-;;:::i;8802:104::-;;;;;;;;;;;;;:::i;54744:328::-;;;;;;;;;;-1:-1:-1;54744:328:0;;;;;:::i;:::-;;:::i;12886:269::-;;;;;;;;;;-1:-1:-1;12886:269:0;;;;;:::i;:::-;;:::i;49537:174::-;;;;;;;;;;-1:-1:-1;49537:174:0;;;;;:::i;:::-;;:::i;10214:175::-;;;;;;;;;;-1:-1:-1;10214:175:0;;;;;:::i;:::-;;:::i;49932:135::-;;;;;;;;;;-1:-1:-1;49932:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;50033:26:0;50006:7;50033:26;;;:18;:26;;;;;;;49932:135;59620:365;;;;;;;;;;-1:-1:-1;59620:365:0;;;;;:::i;:::-;;:::i;53503:75::-;;;;;;;;;;;;53561:17;53503:75;;10452:151;;;;;;;;;;-1:-1:-1;10452:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;10568:18:0;;;10541:7;10568:18;;;-1:-1:-1;10568:18:0;;;;;;;;:27;;;;;;;;;;;;;10452:151;57802:492;;;;;;;;;;-1:-1:-1;57802:492:0;;;;;:::i;:::-;;:::i;55512:108::-;;;;;;;;;;-1:-1:-1;55594:18:0;;55512:108;;55080:424;;;;;;;;;;-1:-1:-1;55080:424:0;;;;;:::i;:::-;;:::i;3037:244::-;;;;;;;;;;-1:-1:-1;3037:244:0;;;;;:::i;:::-;;:::i;46126:29::-;;;;;;;;;;;;;;;;55755:1319;;;;;;;;;;-1:-1:-1;55755:1319:0;;;;;:::i;:::-;;:::i;58302:1310::-;;;;;;;;;;-1:-1:-1;58302:1310:0;;;;;:::i;:::-;;:::i;:::-;;;;12405:25:1;;;12461:2;12446:18;;12439:34;;;;12489:18;;;12482:34;12393:2;12378:18;58302:1310:0;12360:162:1;47360:439:0;47450:1;47434:13;9791:12;;;9703:108;47434:13;:17;47426:26;;;;;;47469:9;:13;47465:327;;47527:105;47604:13;9791:12;;;9703:108;47604:13;47575:26;47576:9;-1:-1:-1;;;47575:15:0;:26::i;:::-;:42;;;;:::i;:::-;47527:25;;;:29;:105::i;:::-;47499:25;:133;47652:43;;47685:9;10688:25:1;;47673:10:0;;47652:43;;10676:2:1;10661:18;47652:43:0;;;;;;;47740:25;;:40;;47770:9;47740:29;:40::i;:::-;47712:25;:68;47465:327;47360:439::o;8583:100::-;8637:13;8670:5;8663:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8583:100;:::o;10750:169::-;10833:4;10850:39;1466:10;10873:7;10882:6;10850:8;:39::i;:::-;-1:-1:-1;10907:4:0;10750:169;;;;;:::o;11401:355::-;11541:4;11558:36;11568:6;11576:9;11587:6;11558:9;:36::i;:::-;11605:121;11614:6;1466:10;11636:89;11674:6;11636:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11636:19:0;;;;;;-1:-1:-1;11636:19:0;;;;;;;;1466:10;11636:33;;;;;;;;;;:37;:89::i;:::-;11605:8;:121::i;:::-;-1:-1:-1;11744:4:0;11401:355;;;;;:::o;50520:255::-;-1:-1:-1;;;;;50702:36:0;;50597:7;50702:36;;;:28;:36;;;;;;;;;9975:18;;;;;;;50624:25;;-1:-1:-1;;;;50624:131:0;;:115;;:63;;:48;;:25;:29;:48::i;:::-;:61;:63::i;:::-;:77;;:115::i;:::-;:129;:131::i;:::-;:143;;;;:::i;54437:299::-;2304:6;;-1:-1:-1;;;;;2304:6:0;1466:10;2304:22;2296:67;;;;-1:-1:-1;;;2296:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;54523:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;54522:31;54514:40;;;::::0;::::1;;-1:-1:-1::0;;;;;54565:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;54565:37:0::1;-1:-1:-1::0;54565:37:0::1;::::0;;54615:23:::1;::::0;54565:30;;54615:11:::1;:23::i;:::-;54649:31;::::0;-1:-1:-1;;;54649:31:0;;:15:::1;:31;::::0;::::1;10928:25:1::0;-1:-1:-1;;;;;10989:32:1;;10969:18;;;10962:60;54649:22:0::1;::::0;::::1;::::0;10901:18:1;;54649:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;54698:30:0::1;::::0;-1:-1:-1;;;;;54698:30:0;::::1;::::0;-1:-1:-1;54698:30:0::1;::::0;-1:-1:-1;54698:30:0;;::::1;54437:299:::0;:::o;12165:218::-;1466:10;12253:4;12302:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12302:34:0;;;;;;;;;;12253:4;;12270:83;;12302:34;;:50;;12341:10;12302:38;:50::i;57082:471::-;57160:7;57178:6;57195;57212:7;57230;57248;57266;57284;57317:15;:20;;;;:22;;;;;;;;;;;;;10688:25:1;;10676:2;10661:18;;10643:76;57317:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57308:5;:31;57304:138;;-1:-1:-1;57364:42:0;;-1:-1:-1;;;;;;;;57364:42:0;;-1:-1:-1;57364:42:0;;-1:-1:-1;57364:42:0;;-1:-1:-1;57364:42:0;;-1:-1:-1;57364:42:0;57356:74;;57304:138;57472:36;;-1:-1:-1;;;57472:36:0;;:15;:36;;;11942:25:1;11983:18;;;11976:34;;;57454:15:0;;57472:29;;;;11915:18:1;;57472:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57454:54;;57526:19;57537:7;57526:10;:19::i;:::-;57519:26;;;;;;;;;;;;;;;;;57082:471;;;;;;;;;;:::o;54236:193::-;54296:125;;-1:-1:-1;;;54296:125:0;;7309:2:1;54296:125:0;;;7291:21:1;7348:3;7328:18;;;7321:31;7388:34;7368:18;;;7361:62;7459:34;7439:18;;;7432:62;7531:34;7510:19;;;7503:63;-1:-1:-1;;;7582:19:1;;;7575:42;7634:19;;54296:125:0;7281:378:1;2734:148:0;2304:6;;-1:-1:-1;;;;;2304:6:0;1466:10;2304:22;2296:67;;;;-1:-1:-1;;;2296:67:0;;;;;;;:::i;:::-;2825:6:::1;::::0;2804:40:::1;::::0;2841:1:::1;::::0;-1:-1:-1;;;;;2825:6:0::1;::::0;2804:40:::1;::::0;2841:1;;2804:40:::1;2855:6;:19:::0;;-1:-1:-1;;;;;;2855:19:0::1;::::0;;2734:148::o;49188:130::-;49253:7;49280:30;49303:6;49280:22;:30::i;8802:104::-;8858:13;8891:7;8884:14;;;;;:::i;54744:328::-;2304:6;;-1:-1:-1;;;;;2304:6:0;1466:10;2304:22;2296:67;;;;-1:-1:-1;;;2296:67:0;;;;;;;:::i;:::-;54860:14:::1;;54839:17;:35;;54831:116;;;::::0;-1:-1:-1;;;54831:116:0;;6832:2:1;54831:116:0::1;::::0;::::1;6814:21:1::0;6871:2;6851:18;;;6844:30;;;6910:34;6890:18;;;6883:62;6981:34;6961:18;;;6954:62;-1:-1:-1;;;7032:19:1;;;7025:35;7077:19;;54831:116:0::1;6804:298:1::0;54831:116:0::1;55004:14;::::0;54963:56:::1;::::0;54985:17;;54963:56:::1;::::0;;;::::1;55030:14;:34:::0;54744:328::o;12886:269::-;12979:4;12996:129;1466:10;13019:7;13028:96;13067:15;13028:96;;;;;;;;;;;;;;;;;1466:10;13028:25;;;;:11;:25;;;;;;;;-1:-1:-1;;;;;13028:34:0;;;;;;;;;;;;:38;:96::i;49537:174::-;-1:-1:-1;;;;;49676:26:0;;49614:7;49676:26;;;:18;:26;;;;;;49641:62;;:30;49676:26;49641:22;:30::i;:::-;:34;;:62::i;10214:175::-;10300:4;10317:42;1466:10;10341:9;10352:6;10317:9;:42::i;59620:365::-;2304:6;;59711:4;;-1:-1:-1;;;;;2304:6:0;1466:10;2304:22;2296:67;;;;-1:-1:-1;;;2296:67:0;;;;;;;:::i;:::-;59728:14:::1;59745:32;59769:7;59745:23;:32::i;:::-;59728:49:::0;-1:-1:-1;59794:10:0;;59790:163:::1;;-1:-1:-1::0;;;;;59821:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;;;59847:15:::1;59821:41:::0;;59882:33;;10688:25:1;;;59882:33:0;::::1;;::::0;59821:23;59882:33:::1;::::0;10661:18:1;59882:33:0::1;;;;;;;59937:4;59930:11;;;;;59790:163;-1:-1:-1::0;59972:5:0::1;::::0;59620:365;-1:-1:-1;;;59620:365:0:o;57802:492::-;2304:6;;-1:-1:-1;;;;;2304:6:0;1466:10;2304:22;2296:67;;;;-1:-1:-1;;;2296:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57901:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;57897:69;;;57802:492:::0;;:::o;57897:69::-:1;53561:17;57982:10;:45;57978:267;;58044:32;58056:7;58065:10;58044:11;:32::i;:::-;58091:40;::::0;-1:-1:-1;;;58091:40:0;;:15:::1;:40;::::0;::::1;11590:25:1::0;-1:-1:-1;;;;;11651:32:1;;11631:18;;;11624:60;11700:18;;;11693:34;;;58091:19:0::1;::::0;::::1;::::0;11563:18:1;;58091:40:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;57978:267;;;58164:23;58176:7;58185:1;58164:11;:23::i;:::-;58202:31;::::0;-1:-1:-1;;;58202:31:0;;:15:::1;:31;::::0;::::1;10928:25:1::0;-1:-1:-1;;;;;10989:32:1;;10969:18;;;10962:60;58202:22:0::1;::::0;::::1;::::0;10901:18:1;;58202:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;57978:267;58257:29;58272:7;58281:4;58257:14;:29::i;:::-;;57802:492:::0;;:::o;55080:424::-;2304:6;;-1:-1:-1;;;;;2304:6:0;1466:10;2304:22;2296:67;;;;-1:-1:-1;;;2296:67:0;;;;;;;:::i;:::-;55181:4:::1;55165:12;:20;;:45;;;;;55205:5;55189:12;:21;;55165:45;55157:135;;;::::0;-1:-1:-1;;;55157:135:0;;7866:2:1;55157:135:0::1;::::0;::::1;7848:21:1::0;7905:2;7885:18;;;7878:30;7944:34;7924:18;;;7917:62;8015:34;7995:18;;;7988:62;-1:-1:-1;;;8066:19:1;;;8059:44;8120:19;;55157:135:0::1;7838:307:1::0;55157:135:0::1;55327:9;;55311:12;:25;;55303:101;;;::::0;-1:-1:-1;;;55303:101:0;;9517:2:1;55303:101:0::1;::::0;::::1;9499:21:1::0;9556:2;9536:18;;;9529:30;9595:34;9575:18;;;9568:62;9666:33;9646:18;;;9639:61;9717:19;;55303:101:0::1;9489:253:1::0;55303:101:0::1;55451:9;::::0;55420:41:::1;::::0;55437:12;;55420:41:::1;::::0;;;::::1;55472:9;:24:::0;55080:424::o;3037:244::-;2304:6;;-1:-1:-1;;;;;2304:6:0;1466:10;2304:22;2296:67;;;;-1:-1:-1;;;2296:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3126:22:0;::::1;3118:73;;;::::0;-1:-1:-1;;;3118:73:0;;5251:2:1;3118:73:0::1;::::0;::::1;5233:21:1::0;5290:2;5270:18;;;5263:30;5329:34;5309:18;;;5302:62;-1:-1:-1;;;5380:18:1;;;5373:36;5426:19;;3118:73:0::1;5223:228:1::0;3118:73:0::1;3228:6;::::0;3207:38:::1;::::0;-1:-1:-1;;;;;3207:38:0;;::::1;::::0;3228:6:::1;::::0;3207:38:::1;::::0;3228:6:::1;::::0;3207:38:::1;3256:6;:17:::0;;-1:-1:-1;;;;;;3256:17:0::1;-1:-1:-1::0;;;;;3256:17:0;;;::::1;::::0;;;::::1;::::0;;3037:244::o;55755:1319::-;56147:38;;-1:-1:-1;;;56147:38:0;;:15;:38;;;10928:25:1;-1:-1:-1;;;;;10989:32:1;;10969:18;;;10962:60;56118:8:0;;55829:15;;;;;;;;;;;;;;56147:29;;;;10901:18:1;;56147:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56139:46;-1:-1:-1;;;;;;56244:10:0;;56240:453;;56292:18;;56283:5;56275:35;56271:411;;;56375:18;;56358:37;;:5;;:9;:37::i;:::-;56331:64;;56271:411;;;56501:18;;56471:15;:27;56436:32;;-1:-1:-1;56471:106:0;;56576:1;56471:106;;;56554:18;;56522:15;:27;:51;;:31;:51::i;:::-;56436:141;-1:-1:-1;56623:43:0;:5;56436:141;56623:9;:43::i;:::-;56596:70;;56271:411;;56729:31;56752:7;56729:22;:31::i;:::-;56705:55;;56788:31;56811:7;56788:22;:31::i;:::-;-1:-1:-1;;;;;56848:23:0;;;;;;:14;:23;;;;;;56771:48;;-1:-1:-1;56848:23:0;-1:-1:-1;56848:23:0;56898:52;;56949:1;56898:52;;;56936:9;;56918:28;;:13;;:17;:28::i;:::-;56882:68;;57010:15;56994:13;:31;:72;;57065:1;56994:72;;;57028:34;:13;57046:15;57028:17;:34::i;:::-;56961:105;;55755:1319;;;;;;;;;:::o;58302:1310::-;58417:15;:27;58348:7;;;;;;58461:25;58457:91;;-1:-1:-1;;58517:18:0;;58511:1;;-1:-1:-1;58511:1:0;;-1:-1:-1;58503:33:0;;58457:91;58590:18;;58560:27;;58669:9;58651:27;;58691:18;58724:14;58755:737;58772:3;58762:7;:13;:50;;;;;58792:20;58779:10;:33;58762:50;58755:737;;;58829:21;;;;:::i;:::-;58894:15;:27;58829:21;;-1:-1:-1;58871:50:0;;;-1:-1:-1;58867:114:0;;58964:1;58942:23;;58867:114;58997:15;59015;:20;;59036:19;59015:41;;;;;;-1:-1:-1;;;59015:41:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59015:41:0;59090:23;;;:14;:23;;;;;;;;59015:41;;-1:-1:-1;59077:37:0;;:12;:37::i;:::-;59073:172;;;59139:38;59162:7;59172:4;59139:14;:38::i;:::-;59135:95;;;59202:8;;;;:::i;:::-;;;;59135:95;59261:12;;;;:::i;:::-;;;;59290:18;59311:9;59290:30;;59351:10;59341:7;:20;59337:107;;;59392:36;59404:23;:7;59416:10;59404:11;:23::i;:::-;59392:7;;:11;:36::i;:::-;59382:46;;59337:107;59470:10;-1:-1:-1;58755:737:0;;-1:-1:-1;58755:737:0;;59504:18;:40;;;59565:10;;-1:-1:-1;59577:6:0;-1:-1:-1;59525:19:0;;-1:-1:-1;;;;58302:1310:0;;;;;;:::o;18804:471::-;18862:7;19107:6;19103:47;;-1:-1:-1;19137:1:0;19130:8;;19103:47;19162:9;19174:5;19178:1;19174;:5;:::i;:::-;19162:17;-1:-1:-1;19207:1:0;19198:5;19202:1;19162:17;19198:5;:::i;:::-;:10;19190:56;;;;-1:-1:-1;;;19190:56:0;;8352:2:1;19190:56:0;;;8334:21:1;8391:2;8371:18;;;8364:30;8430:34;8410:18;;;8403:62;-1:-1:-1;;;8481:18:1;;;8474:31;8522:19;;19190:56:0;8324:223:1;19190:56:0;19266:1;18804:471;-1:-1:-1;;;18804:471:0:o;17450:181::-;17508:7;;17540:5;17544:1;17540;:5;:::i;:::-;17528:17;;17569:1;17564;:6;;17556:46;;;;-1:-1:-1;;;17556:46:0;;6061:2:1;17556:46:0;;;6043:21:1;6100:2;6080:18;;;6073:30;6139:29;6119:18;;;6112:57;6186:18;;17556:46:0;6033:177:1;16072:380:0;-1:-1:-1;;;;;16208:19:0;;16200:68;;;;-1:-1:-1;;;16200:68:0;;9949:2:1;16200:68:0;;;9931:21:1;9988:2;9968:18;;;9961:30;10027:34;10007:18;;;10000:62;-1:-1:-1;;;10078:18:1;;;10071:34;10122:19;;16200:68:0;9921:226:1;16200:68:0;-1:-1:-1;;;;;16287:21:0;;16279:68;;;;-1:-1:-1;;;16279:68:0;;5658:2:1;16279:68:0;;;5640:21:1;5697:2;5677:18;;;5670:30;5736:34;5716:18;;;5709:62;-1:-1:-1;;;5787:18:1;;;5780:32;5829:19;;16279:68:0;5630:224:1;16279:68:0;-1:-1:-1;;;;;16360:18:0;;;;;;;-1:-1:-1;16360:18:0;;;;;;;;:27;;;;;;;;;;;;;:36;;;16412:32;;10688:25:1;;;16412:32:0;;;;;;;;;;;;16072:380;;;:::o;54076:152::-;54156:64;;-1:-1:-1;;;54156:64:0;;6417:2:1;54156:64:0;;;6399:21:1;6456:2;6436:18;;;6429:30;6495:34;6475:18;;;6468:62;-1:-1:-1;;;6546:18:1;;;6539:44;6600:19;;54156:64:0;6389:236:1;18353:192:0;18439:7;18475:12;18467:6;;;;18459:29;;;;-1:-1:-1;;;18459:29:0;;;;;;;;:::i;:::-;-1:-1:-1;18499:9:0;18511:5;18515:1;18511;:5;:::i;:::-;18499:17;18353:192;-1:-1:-1;;;;;18353:192:0:o;23926:148::-;23982:6;24019:1;24040:6;;;;24032:15;;;;;23260:176;23316:6;;23346:5;23350:1;23346;:5;:::i;:::-;23335:16;;23376:1;23371;:6;;:16;;;;;23386:1;23381;:6;;23371:16;23370:38;;;;23397:1;23393;:5;:14;;;;;23406:1;23402;:5;23393:14;23362:47;;;;;23665:127;23721:7;23754:1;23749;:6;;23741:15;;;;;;-1:-1:-1;23782:1:0;23665:127::o;52609:449::-;-1:-1:-1;;;;;9975:18:0;;52687:22;9975:18;;;;;;;;;;;52746:27;;;52743:308;;;52790:18;52811:30;:10;52826:14;52811;:30::i;:::-;52790:51;;52856:26;52862:7;52871:10;52856:5;:26::i;:::-;52743:308;58257:29:::1;57802:492:::0;;:::o;52743:308::-;52916:14;52903:10;:27;52900:151;;;52947:18;52968:30;:14;52987:10;52968:18;:30::i;:::-;52947:51;;53013:26;53019:7;53028:10;53013:5;:26::i;17914:136::-;17972:7;17999:43;18003:1;18006;17999:43;;;;;;;;;;;;;;;;;:3;:43::i;48264:705::-;48337:7;48357:29;48389:28;48412:4;48389:22;:28::i;:::-;48357:60;-1:-1:-1;48432:25:0;;48428:513;;-1:-1:-1;;;;;48501:24:0;;;;;;:18;:24;;;;;;:51;;48530:21;48501:28;:51::i;:::-;-1:-1:-1;;;;;48474:24:0;;;;;;:18;:24;;;;;;;;;:78;;;;48572:46;10688:25:1;;;48474:24:0;;48572:46;;10661:18:1;48572:46:0;;;;;;;48696:14;;48651:64;;48634:12;;-1:-1:-1;;;;;48651:9:0;;;48668:21;;48634:12;48651:64;48634:12;48651:64;48668:21;48651:9;48696:14;48651:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48633:82;;;48736:7;48732:153;;-1:-1:-1;;;;;48791:24:0;;;;;;:18;:24;;;;;;:51;;48820:21;48791:28;:51::i;:::-;-1:-1:-1;;;;;48764:24:0;;;;;;;;:18;:24;;;;;:78;;;;-1:-1:-1;48764:24:0;;;-1:-1:-1;;48264:705:0:o;48732:153::-;-1:-1:-1;48908:21:0;48264:705;-1:-1:-1;;48264:705:0:o;48428:513::-;-1:-1:-1;48960:1:0;;48264:705;-1:-1:-1;;48264:705:0:o;22996:176::-;23052:6;;23082:5;23086:1;23082;:5;:::i;:::-;23071:16;;23112:1;23107;:6;;:16;;;;;23122:1;23117;:6;;23107:16;23106:38;;;;23133:1;23129;:5;:14;;;;;23142:1;23138;:5;23098:47;;;;;57561:233;57628:4;57665:15;57649:13;:31;57645:77;;;-1:-1:-1;57705:5:0;;57561:233;-1:-1:-1;57561:233:0:o;57645:77::-;57777:9;;57739:34;:15;57759:13;57739:19;:34::i;:::-;:47;;;57561:233;-1:-1:-1;;57561:233:0:o;51772:272::-;51848:27;51860:7;51869:5;51848:11;:27::i;:::-;51928:108;51981:53;51982:36;52012:5;51982:25;;:29;;:36;;;;:::i;51981:53::-;-1:-1:-1;;;;;51928:37:0;;;;;;:28;:37;;;;;;;:51;:108::i;:::-;-1:-1:-1;;;;;51888:37:0;;;;;;;;:28;:37;;;;;:148;;;;-1:-1:-1;51772:272:0:o;52329:::-;52405:27;52417:7;52426:5;52405:11;:27::i;:::-;52485:108;52538:53;52539:36;52569:5;52539:25;;:29;;:36;;;;:::i;52538:53::-;-1:-1:-1;;;;;52485:37:0;;;;;;:28;:37;;;;;;;:51;:108::i;14505:378::-;-1:-1:-1;;;;;14589:21:0;;14581:65;;;;-1:-1:-1;;;14581:65:0;;10354:2:1;14581:65:0;;;10336:21:1;10393:2;10373:18;;;10366:30;10432:33;10412:18;;;10405:61;10483:18;;14581:65:0;10326:181:1;14581:65:0;14736:12;;:24;;14753:6;14736:16;:24::i;:::-;14721:12;:39;-1:-1:-1;;;;;14792:18:0;;:9;:18;;;;;;;;;;;:30;;14815:6;14792:22;:30::i;:::-;-1:-1:-1;;;;;14771:18:0;;:9;:18;;;;;;;;;;;:51;;;;14838:37;;10688:25:1;;;14771:18:0;;:9;;14838:37;;10661:18:1;14838:37:0;;;;;;;;14505:378;;:::o;15216:418::-;-1:-1:-1;;;;;15300:21:0;;15292:67;;;;-1:-1:-1;;;15292:67:0;;9115:2:1;15292:67:0;;;9097:21:1;9154:2;9134:18;;;9127:30;9193:34;9173:18;;;9166:62;-1:-1:-1;;;9244:18:1;;;9237:31;9285:19;;15292:67:0;9087:223:1;15292:67:0;15455:68;15478:6;15455:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15455:18:0;;:9;:18;;;;;;;;;;;;;:22;:68::i;:::-;-1:-1:-1;;;;;15434:18:0;;:9;:18;;;;;;;;;;:89;15549:12;;:24;;15566:6;15549:16;:24::i;:::-;15534:12;:39;15589:37;;10688:25:1;;;15615:1:0;;-1:-1:-1;;;;;15589:37:0;;;;;10676:2:1;10661:18;15589:37:0;10643:76:1;14:257;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:31;235:5;210:31;:::i;276:261::-;346:6;399:2;387:9;378:7;374:23;370:32;367:2;;;420:6;412;405:22;367:2;457:9;451:16;476:31;501:5;476:31;:::i;542:444::-;615:6;623;676:2;664:9;655:7;651:23;647:32;644:2;;;697:6;689;682:22;644:2;741:9;728:23;760:31;785:5;760:31;:::i;:::-;810:5;-1:-1:-1;867:2:1;852:18;;839:32;909:15;;902:23;890:36;;880:2;;945:6;937;930:22;880:2;973:7;963:17;;;634:352;;;;;:::o;991:333::-;1067:6;1075;1128:2;1116:9;1107:7;1103:23;1099:32;1096:2;;;1149:6;1141;1134:22;1096:2;1193:9;1180:23;1212:31;1237:5;1212:31;:::i;:::-;1262:5;1314:2;1299:18;;;;1286:32;;-1:-1:-1;;;1086:238:1:o;1329:398::-;1397:6;1405;1458:2;1446:9;1437:7;1433:23;1429:32;1426:2;;;1479:6;1471;1464:22;1426:2;1523:9;1510:23;1542:31;1567:5;1542:31;:::i;:::-;1592:5;-1:-1:-1;1649:2:1;1634:18;;1621:32;1662:33;1621:32;1662:33;:::i;1732:466::-;1809:6;1817;1825;1878:2;1866:9;1857:7;1853:23;1849:32;1846:2;;;1899:6;1891;1884:22;1846:2;1943:9;1930:23;1962:31;1987:5;1962:31;:::i;:::-;2012:5;-1:-1:-1;2069:2:1;2054:18;;2041:32;2082:33;2041:32;2082:33;:::i;:::-;1836:362;;2134:7;;-1:-1:-1;;;2188:2:1;2173:18;;;;2160:32;;1836:362::o;2533:193::-;2602:6;2655:2;2643:9;2634:7;2630:23;2626:32;2623:2;;;2676:6;2668;2661:22;2623:2;-1:-1:-1;2704:16:1;;2613:113;-1:-1:-1;2613:113:1:o;2731:190::-;2790:6;2843:2;2831:9;2822:7;2818:23;2814:32;2811:2;;;2864:6;2856;2849:22;2811:2;-1:-1:-1;2892:23:1;;2801:120;-1:-1:-1;2801:120:1:o;4441:603::-;4553:4;4582:2;4611;4600:9;4593:21;4643:6;4637:13;4686:6;4681:2;4670:9;4666:18;4659:34;4711:4;4724:140;4738:6;4735:1;4732:13;4724:140;;;4833:14;;;4829:23;;4823:30;4799:17;;;4818:2;4795:26;4788:66;4753:10;;4724:140;;;4882:6;4879:1;4876:13;4873:2;;;4952:4;4947:2;4938:6;4927:9;4923:22;4919:31;4912:45;4873:2;-1:-1:-1;5028:2:1;5007:15;-1:-1:-1;;5003:29:1;4988:45;;;;5035:2;4984:54;;4562:482;-1:-1:-1;;;4562:482:1:o;8552:356::-;8754:2;8736:21;;;8773:18;;;8766:30;8832:34;8827:2;8812:18;;8805:62;8899:2;8884:18;;8726:182::o;12716:267::-;12755:3;12783:11;;;-1:-1:-1;;;;;12829:27:1;;;12822:35;;12810:10;;12806:52;12803:2;;;12861:18;;:::i;:::-;-1:-1:-1;;;12908:19:1;;;12901:27;;12893:36;;12890:2;;;12932:18;;:::i;:::-;-1:-1:-1;;12968:9:1;;12763:220::o;12988:128::-;13028:3;13059:1;13055:6;13052:1;13049:13;13046:2;;;13065:18;;:::i;:::-;-1:-1:-1;13101:9:1;;13036:80::o;13121:217::-;13161:1;13187;13177:2;;-1:-1:-1;;;13212:31:1;;13266:4;13263:1;13256:15;13294:4;13212:31;13284:15;13177:2;-1:-1:-1;13323:9:1;;13167:171::o;13343:168::-;13383:7;13449:1;13445;13441:6;13437:14;13434:1;13431:21;13426:1;13419:9;13412:17;13408:45;13405:2;;;13456:18;;:::i;:::-;-1:-1:-1;13496:9:1;;13395:116::o;13516:270::-;13555:4;13584:12;;;-1:-1:-1;;;13631:19:1;;13624:27;;13612:10;;13608:44;13605:2;;;13655:18;;:::i;:::-;-1:-1:-1;;;;;13702:27:1;;13695:35;;13687:44;;13684:2;;;13734:18;;:::i;:::-;-1:-1:-1;;13771:9:1;;13564:222::o;13791:125::-;13831:4;13859:1;13856;13853:8;13850:2;;;13864:18;;:::i;:::-;-1:-1:-1;13901:9:1;;13840:76::o;13921:380::-;14000:1;13996:12;;;;14043;;;14064:2;;14118:4;14110:6;14106:17;14096:27;;14064:2;14171;14163:6;14160:14;14140:18;14137:38;14134:2;;;14217:10;14212:3;14208:20;14205:1;14198:31;14252:4;14249:1;14242:15;14280:4;14277:1;14270:15;14134:2;;13976:325;;;:::o;14306:135::-;14345:3;-1:-1:-1;;14366:17:1;;14363:2;;;14386:18;;:::i;:::-;-1:-1:-1;14433:1:1;14422:13;;14353:88::o;14446:127::-;14507:10;14502:3;14498:20;14495:1;14488:31;14538:4;14535:1;14528:15;14562:4;14559:1;14552:15;14578:131;-1:-1:-1;;;;;14653:31:1;;14643:42;;14633:2;;14699:1;14696;14689:12;14633:2;14623:86;:::o

Swarm Source

ipfs://72077ba48f6ff1281382c7a764b5cd1075e1407e8b2af575685308c704fe33d7
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.