ETH Price: $3,471.54 (+0.58%)

Token

PUTIN (PUTIN)
 

Overview

Max Total Supply

1,000,000 PUTIN

Holders

119

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
253.44439016663529293 PUTIN

Value
$0.00
0x8ecd5851c3478d8b12cecf5962221d9fbd9809e9
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.

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x2c9384c0...10Abe8d98
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
BABYTOKEN

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-12-10
*/

// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

// pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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


// Dependency file: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

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

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

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


// Dependency file: @openzeppelin/contracts/utils/Context.sol


// pragma solidity ^0.8.0;

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


// Dependency file: @openzeppelin/contracts/token/ERC20/ERC20.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
// import "@openzeppelin/contracts/utils/Context.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

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

        emit Transfer(account, address(0), amount);

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

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

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

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

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


// Dependency file: @openzeppelin/contracts/access/Ownable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/utils/Context.sol";

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

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

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

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

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

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

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

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


// Dependency file: @openzeppelin/contracts/utils/math/SafeMath.sol


// pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// Dependency file: @openzeppelin/contracts/proxy/Clones.sol


// pragma solidity ^0.8.0;

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

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

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

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


// Dependency file: contracts/interfaces/IUniswapV2Factory.sol

// pragma solidity >=0.5.0;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}


// Dependency file: contracts/interfaces/IUniswapV2Router02.sol

// pragma solidity >=0.6.2;

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

    function WETH() external pure returns (address);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol


// pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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);
}


// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @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);
}


// Dependency file: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol


// pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}


// Dependency file: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol


// pragma solidity ^0.8.0;
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

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

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}


// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead 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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
    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.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

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

        emit Transfer(account, address(0), amount);

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

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

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

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

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


// Dependency file: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _setOwner(_msgSender());
    }

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
    uint256[49] private __gap;
}


// Dependency file: contracts/interfaces/IUniswapV2Pair.sol

// pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

// Dependency file: contracts/libs/SafeMathInt.sol

// pragma solidity =0.8.4;

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


// Dependency file: contracts/libs/SafeMathUint.sol

// pragma solidity =0.8.4;

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


// Dependency file: contracts/baby/IterableMapping.sol

// pragma solidity =0.8.4;

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

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

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

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

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

    function set(
        Map storage map,
        address key,
        uint256 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];

        uint256 index = map.indexOf[key];
        uint256 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();
    }
}


// Dependency file: contracts/baby/BabyTokenDividendTracker.sol

// pragma solidity =0.8.4;

// import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
// import "@openzeppelin/contracts/utils/math/SafeMath.sol";
// import "contracts/interfaces/IUniswapV2Factory.sol";
// import "contracts/interfaces/IUniswapV2Router02.sol";
// import "contracts/interfaces/IUniswapV2Pair.sol";
// import "contracts/libs/SafeMathInt.sol";
// import "contracts/libs/SafeMathUint.sol";
// import "contracts/baby/IterableMapping.sol";

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

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

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

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

/// @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
    ERC20Upgradeable,
    OwnableUpgradeable,
    DividendPayingTokenInterface,
    DividendPayingTokenOptionalInterface
{
    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;

    address public rewardToken;

    // 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 internal constant magnitude = 2**128;

    uint256 internal magnifiedDividendPerShare;

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

    uint256 public totalDividendsDistributed;

    function __DividendPayingToken_init(
        address _rewardToken,
        string memory _name,
        string memory _symbol
    ) internal initializer {
        __Ownable_init();
        __ERC20_init(_name, _symbol);
        rewardToken = _rewardToken;
    }

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

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

            totalDividendsDistributed = totalDividendsDistributed.add(amount);
        }
    }

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

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

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

            return _withdrawableDividend;
        }

        return 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

contract BABYTOKENDividendTracker is OwnableUpgradeable, DividendPayingToken {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;

    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;

    mapping(address => bool) public excludedFromDividends;

    mapping(address => uint256) public lastClaimTimes;

    uint256 public claimWait;
    uint256 public minimumTokenBalanceForDividends;

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

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

    function initialize(
        address rewardToken_,
        uint256 minimumTokenBalanceForDividends_
    ) external initializer {
        DividendPayingToken.__DividendPayingToken_init(
            rewardToken_,
            "DIVIDEND_TRACKER",
            "DIVIDEND_TRACKER"
        );
        claimWait = 3600;
        minimumTokenBalanceForDividends = minimumTokenBalanceForDividends_;
    }

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

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

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

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

        emit ExcludeFromDividends(account);
    }

    function isExcludedFromDividends(address account)
        public
        view
        returns (bool)
    {
        return excludedFromDividends[account];
    }

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

    function updateMinimumTokenBalanceForDividends(uint256 amount)
        external
        onlyOwner
    {
        minimumTokenBalanceForDividends = amount;
    }

    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 (address(0), -1, -1, 0, 0, 0, 0, 0);
        }

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return getAccount(account);
    }

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

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

    function setBalance(address payable account, uint256 newBalance)
        external
        onlyOwner
    {
        if (excludedFromDividends[account]) {
            return;
        }
        if (newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
            tokenHoldersMap.set(account, newBalance);
        } else {
            _setBalance(account, 0);
            tokenHoldersMap.remove(account);
        }
        processAccount(account, true);
    }

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

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

        uint256 _lastProcessedIndex = lastProcessedIndex;

        uint256 gasUsed = 0;

        uint256 gasLeft = gasleft();

        uint256 iterations = 0;
        uint256 claims = 0;

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

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

            address account = tokenHoldersMap.keys[_lastProcessedIndex];

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

            iterations++;

            uint256 newGasLeft = gasleft();

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

            gasLeft = newGasLeft;
        }

        lastProcessedIndex = _lastProcessedIndex;

        return (iterations, claims, lastProcessedIndex);
    }

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

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

        return false;
    }
}


// Dependency file: contracts/BaseToken.sol

// pragma solidity =0.8.4;

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

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


// Root file: contracts/baby/BabyToken.sol

pragma solidity =0.8.4;

// import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts/utils/math/SafeMath.sol";
// import "@openzeppelin/contracts/proxy/Clones.sol";
// import "contracts/interfaces/IUniswapV2Factory.sol";
// import "contracts/interfaces/IUniswapV2Router02.sol";
// import "contracts/baby/BabyTokenDividendTracker.sol";
// import "contracts/BaseToken.sol";

contract BABYTOKEN is ERC20, Ownable, BaseToken {
    using SafeMath for uint256;

    uint256 public constant VERSION = 1;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool private swapping;

    BABYTOKENDividendTracker public dividendTracker;

    address public rewardToken;

    uint256 public swapTokensAtAmount;

    uint256 public tokenRewardsFee;
    uint256 public liquidityFee;
    uint256 public marketingFee;
    uint256 public totalFees;

    address public _marketingWalletAddress;

    uint256 public gasForProcessing;

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

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

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

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

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);

    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 SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    event SendDividends(uint256 tokensSwapped, uint256 amount);

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

    constructor(
        string memory name_,
        string memory symbol_,
        uint256 totalSupply_,
        address[4] memory addrs, // reward, router, marketing wallet, dividendTracker
        uint256[3] memory feeSettings, // rewards, liquidity, marketing
        uint256 minimumTokenBalanceForDividends_,
        address serviceFeeReceiver_,
        uint256 serviceFee_
    ) payable ERC20(name_, symbol_) {
        rewardToken = addrs[0];
        _marketingWalletAddress = addrs[2];
        require(
            msg.sender != _marketingWalletAddress,
            "Owner and marketing wallet cannot be the same"
        );

        tokenRewardsFee = feeSettings[0];
        liquidityFee = feeSettings[1];
        marketingFee = feeSettings[2];
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 25, "Total fee is over 25%");
        swapTokensAtAmount = totalSupply_.mul(2).div(10**6); // 0.002%

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

        dividendTracker = BABYTOKENDividendTracker(
            payable(Clones.clone(addrs[3]))
        );
        dividendTracker.initialize(
            rewardToken,
            minimumTokenBalanceForDividends_
        );

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(addrs[1]);
        // 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(this));
        dividendTracker.excludeFromDividends(owner());
        dividendTracker.excludeFromDividends(address(0xdead));
        dividendTracker.excludeFromDividends(address(_uniswapV2Router));
        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(_marketingWalletAddress, true);
        excludeFromFees(address(this), true);
        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), totalSupply_);

        emit TokenCreated(owner(), address(this), TokenType.baby, VERSION);

        payable(serviceFeeReceiver_).transfer(serviceFee_);
    }

    receive() external payable {}

    function setSwapTokensAtAmount(uint256 amount) external onlyOwner {
        swapTokensAtAmount = amount;
    }

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

        BABYTOKENDividendTracker newDividendTracker = BABYTOKENDividendTracker(
            payable(newAddress)
        );

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

        newDividendTracker.excludeFromDividends(address(newDividendTracker));
        newDividendTracker.excludeFromDividends(address(this));
        newDividendTracker.excludeFromDividends(owner());
        newDividendTracker.excludeFromDividends(address(uniswapV2Router));

        emit UpdateDividendTracker(newAddress, address(dividendTracker));

        dividendTracker = newDividendTracker;
    }

    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(
            newAddress != address(uniswapV2Router),
            "BABYTOKEN: The router already has that address"
        );
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
        address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory())
            .createPair(address(this), uniswapV2Router.WETH());
        uniswapV2Pair = _uniswapV2Pair;
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "BABYTOKEN: Account is already the value of 'excluded'"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    function excludeMultipleAccountsFromFees(
        address[] calldata accounts,
        bool excluded
    ) public onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            _isExcludedFromFees[accounts[i]] = excluded;
        }

        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

    function setMarketingWallet(address payable wallet) external onlyOwner {
        _marketingWalletAddress = wallet;
    }

    function setTokenRewardsFee(uint256 value) external onlyOwner {
        tokenRewardsFee = value;
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 25, "Total fee is over 25%");
    }

    function setLiquiditFee(uint256 value) external onlyOwner {
        liquidityFee = value;
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 25, "Total fee is over 25%");
    }

    function setMarketingFee(uint256 value) external onlyOwner {
        marketingFee = value;
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 25, "Total fee is over 25%");
    }

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

        _setAutomatedMarketMakerPair(pair, value);
    }

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

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateGasForProcessing(uint256 newValue) public onlyOwner {
        require(
            newValue >= 200000 && newValue <= 500000,
            "BABYTOKEN: gasForProcessing must be between 200,000 and 500,000"
        );
        require(
            newValue != gasForProcessing,
            "BABYTOKEN: Cannot update gasForProcessing to same value"
        );
        emit GasForProcessingUpdated(newValue, gasForProcessing);
        gasForProcessing = newValue;
    }

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

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

    function updateMinimumTokenBalanceForDividends(uint256 amount)
        external
        onlyOwner
    {
        dividendTracker.updateMinimumTokenBalanceForDividends(amount);
    }

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

    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 excludeFromDividends(address account) external onlyOwner {
        dividendTracker.excludeFromDividends(account);
    }

    function isExcludedFromDividends(address account)
        public
        view
        returns (bool)
    {
        return dividendTracker.isExcludedFromDividends(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");

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

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

            uint256 marketingTokens = contractTokenBalance
                .mul(marketingFee)
                .div(totalFees);
            swapAndSendToFee(marketingTokens);

            uint256 swapTokens = contractTokenBalance.mul(liquidityFee).div(
                totalFees
            );
            swapAndLiquify(swapTokens);

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

            swapping = false;
        }

        bool takeFee = !swapping;

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

        if (takeFee) {
            uint256 fees = amount.mul(totalFees).div(100);
            if (automatedMarketMakerPairs[to]) {
                fees += amount.mul(1).div(100);
            }
            amount = amount.sub(fees);

            super._transfer(from, address(this), fees);
        }

        super._transfer(from, to, amount);

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

        if (!swapping) {
            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 swapAndSendToFee(uint256 tokens) private {
        uint256 initialCAKEBalance = IERC20(rewardToken).balanceOf(
            address(this)
        );

        swapTokensForCake(tokens);
        uint256 newBalance = (IERC20(rewardToken).balanceOf(address(this))).sub(
            initialCAKEBalance
        );
        IERC20(rewardToken).transfer(_marketingWalletAddress, newBalance);
    }

    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 SwapAndLiquify(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 swapTokensForCake(uint256 tokenAmount) private {
        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        path[2] = rewardToken;

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

        // make the swap
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            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
            address(0),
            block.timestamp
        );
    }

    function swapAndSendDividends(uint256 tokens) private {
        swapTokensForCake(tokens);
        uint256 dividends = IERC20(rewardToken).balanceOf(address(this));
        bool success = IERC20(rewardToken).transfer(
            address(dividendTracker),
            dividends
        );

        if (success) {
            dividendTracker.distributeCAKEDividends(dividends);
            emit SendDividends(tokens, dividends);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"},{"internalType":"address[4]","name":"addrs","type":"address[4]"},{"internalType":"uint256[3]","name":"feeSettings","type":"uint256[3]"},{"internalType":"uint256","name":"minimumTokenBalanceForDividends_","type":"uint256"},{"internalType":"address","name":"serviceFeeReceiver_","type":"address"},{"internalType":"uint256","name":"serviceFee_","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"enum TokenType","name":"tokenType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"}],"name":"TokenCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract BABYTOKENDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","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":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","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":"account","type":"address"}],"name":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","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":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setLiquiditFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setTokenRewardsFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","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":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateMinimumTokenBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526040516200470538038062004705833981016040819052620000269162000e4a565b8751889088906200003f90600390602085019062000c65565b5080516200005590600490602084019062000c65565b505050620000726200006c6200077a60201b60201c565b6200077e565b8451600980546001600160a01b03199081166001600160a01b03938416179091556040870151600f805490921692169182179055331415620001115760405162461bcd60e51b815260206004820152602d60248201527f4f776e657220616e64206d61726b6574696e672077616c6c65742063616e6e6f60448201526c74206265207468652073616d6560981b60648201526084015b60405180910390fd5b8351600b819055602080860151600c8190556040870151600d8190556200015d93909262000149929062001fde620007d0821b17901c565b620007d060201b62001fde1790919060201c565b600e81905560191015620001b45760405162461bcd60e51b815260206004820152601560248201527f546f74616c20666565206973206f766572203235250000000000000000000000604482015260640162000108565b620001eb620f4240620001d7600289620007e560201b62001ff11790919060201c565b620007f360201b62001ffd1790919060201c565b600a55620493e06010556200021285600360200201516200080160201b620020091760201c565b600880546001600160a01b0319166001600160a01b0392831690811790915560095460405163cd6dc68760e01b815292166004830152602482018590529063cd6dc68790604401600060405180830381600087803b1580156200027457600080fd5b505af115801562000289573d6000803e3d6000fd5b50505050600085600160048110620002b157634e487b7160e01b600052603260045260246000fd5b602002015190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620002f457600080fd5b505afa15801562000309573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032f919062000e2d565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200037857600080fd5b505afa1580156200038d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003b3919062000e2d565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620003fc57600080fd5b505af115801562000411573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000437919062000e2d565b600680546001600160a01b038086166001600160a01b0319928316179092556007805492841692909116919091179055905062000476816001620008b0565b60085460405163031e79db60e41b81526001600160a01b0390911660048201819052906331e79db090602401600060405180830381600087803b158015620004bd57600080fd5b505af1158015620004d2573d6000803e3d6000fd5b505060085460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b1580156200051c57600080fd5b505af115801562000531573d6000803e3d6000fd5b50506008546001600160a01b031691506331e79db090506200055b6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b1580156200059d57600080fd5b505af1158015620005b2573d6000803e3d6000fd5b505060085460405163031e79db60e41b815261dead60048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b158015620005fe57600080fd5b505af115801562000613573d6000803e3d6000fd5b505060085460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db09150602401600060405180830381600087803b1580156200065f57600080fd5b505af115801562000674573d6000803e3d6000fd5b50505050620006946200068c62000a1f60201b60201c565b600162000a2e565b600f54620006ad906001600160a01b0316600162000a2e565b620006ba30600162000a2e565b620006d8620006d16005546001600160a01b031690565b8962000b80565b30620006ec6005546001600160a01b031690565b6001600160a01b03167f56358b41df5fa59f5639228f0930994cbdde383c8a8fd74e06c04e1deebe3562600460016040516200072a92919062000f5a565b60405180910390a36040516001600160a01b0385169084156108fc029085906000818181858888f1935050505015801562000769573d6000803e3d6000fd5b5050505050505050505050620010ac565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000620007de828462000fe5565b9392505050565b6000620007de828462001021565b6000620007de828462001000565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b038116620008ab5760405162461bcd60e51b815260206004820152601660248201527f455243313136373a20637265617465206661696c656400000000000000000000604482015260640162000108565b919050565b6001600160a01b03821660009081526012602052604090205460ff1615158115151415620009535760405162461bcd60e51b815260206004820152604360248201527f42414259544f4b454e3a204175746f6d61746564206d61726b6574206d616b6560448201527f72207061697220697320616c72656164792073657420746f20746861742076616064820152626c756560e81b608482015260a40162000108565b6001600160a01b0382166000908152601260205260409020805460ff19168215801591909117909155620009e35760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b158015620009c957600080fd5b505af1158015620009de573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031690565b6005546001600160a01b0316331462000a8a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000108565b6001600160a01b03821660009081526011602052604090205460ff161515811515141562000b215760405162461bcd60e51b815260206004820152603560248201527f42414259544f4b454e3a204163636f756e7420697320616c726561647920746860448201527f652076616c7565206f6620276578636c75646564270000000000000000000000606482015260840162000108565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821662000bd85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000108565b806002600082825462000bec919062000fe5565b90915550506001600160a01b0382166000908152602081905260408120805483929062000c1b90849062000fe5565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000c739062001043565b90600052602060002090601f01602090048101928262000c97576000855562000ce2565b82601f1062000cb257805160ff191683800117855562000ce2565b8280016001018555821562000ce2579182015b8281111562000ce257825182559160200191906001019062000cc5565b5062000cf092915062000cf4565b5090565b5b8082111562000cf0576000815560010162000cf5565b80516001600160a01b0381168114620008ab57600080fd5b600082601f83011262000d34578081fd5b604051606081016001600160401b038111828210171562000d595762000d5962001096565b60405280836060810186101562000d6e578384fd5b835b600381101562000d9157815183526020928301929091019060010162000d70565b509195945050505050565b600082601f83011262000dad578081fd5b81516001600160401b0381111562000dc95762000dc962001096565b602062000ddf601f8301601f1916820162000fb2565b828152858284870101111562000df3578384fd5b835b8381101562000e1257858101830151828201840152820162000df5565b8381111562000e2357848385840101525b5095945050505050565b60006020828403121562000e3f578081fd5b620007de8262000d0b565b6000806000806000806000806101a0898b03121562000e67578384fd5b88516001600160401b038082111562000e7e578586fd5b62000e8c8c838d0162000d9c565b995060209150818b01518181111562000ea3578687fd5b62000eb18d828e0162000d9c565b9950505060408a015196508a607f8b011262000ecb578485fd5b62000ed562000f87565b8060608c0160e08d018e81111562000eeb578889fd5b885b600481101562000f155762000f028362000d0b565b8552938501939185019160010162000eed565b5082995062000f258f8262000d23565b98505050505050610140890151925062000f436101608a0162000d0b565b915061018089015190509295985092959890939650565b604081016008841062000f7d57634e487b7160e01b600052602160045260246000fd5b9281526020015290565b604051608081016001600160401b038111828210171562000fac5762000fac62001096565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000fdd5762000fdd62001096565b604052919050565b6000821982111562000ffb5762000ffb62001080565b500190565b6000826200101c57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156200103e576200103e62001080565b500290565b600181811c908216806200105857607f821691505b602082108114156200107a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b61364980620010bc6000396000f3fe6080604052600436106103395760003560e01c806388bdd9be116101ab578063b62496f5116100f7578063e708a0f911610095578063f27fd2541161006f578063f27fd254146109cd578063f2fde38b146109ed578063f7c618c114610a0d578063ffa1ad7414610a2d57600080fd5b8063e708a0f914610982578063e7841ec014610998578063e98030c7146109ad57600080fd5b8063c492f046116100d1578063c492f046146108e6578063c705c56914610906578063dd62ed3e14610926578063e2f456051461096c57600080fd5b8063b62496f514610881578063bdd4f29f146108b1578063c0246668146108c657600080fd5b8063a26579ad11610164578063a9059cbb1161013e578063a9059cbb146107bc578063ad56c13c146107dc578063adefd90c14610841578063afa4f3b21461086157600080fd5b8063a26579ad14610767578063a457c2d71461077c578063a8b9d2401461079c57600080fd5b806388bdd9be146106c85780638da5cb5b146106e857806395d89b411461070657806398118cb41461071b5780639a7a23d6146107315780639c1b8af51461075157600080fd5b806349bd5a5e1161028557806365b8dbc011610223578063700bb191116101fd578063700bb1911461063d57806370a082311461065d578063715018a614610693578063871c128d146106a857600080fd5b806365b8dbc0146105e75780636843cd84146106075780636b67c4df1461062757600080fd5b80634fbee1931161025f5780634fbee193146105595780635d098b3814610592578063625e764c146105b257806364b0f653146105d257600080fd5b806349bd5a5e146105045780634e71d92d146105245780634ed080c71461053957600080fd5b806323b872dd116102f2578063313ce567116102cc578063313ce5671461048857806331e79db0146104a457806339509351146104c45780634144d9e4146104e457600080fd5b806323b872dd146104335780632c1f52161461045357806330bb4cff1461047357600080fd5b806306fdde0314610345578063095ea7b3146103705780630dcb2e89146103a057806313114a9d146103c25780631694505e146103e657806318160ddd1461041e57600080fd5b3661034057005b600080fd5b34801561035157600080fd5b5061035a610a42565b6040516103679190613396565b60405180910390f35b34801561037c57600080fd5b5061039061038b366004613218565b610ad4565b6040519015158152602001610367565b3480156103ac57600080fd5b506103c06103bb3660046132e0565b610aea565b005b3480156103ce57600080fd5b506103d8600e5481565b604051908152602001610367565b3480156103f257600080fd5b50600654610406906001600160a01b031681565b6040516001600160a01b039091168152602001610367565b34801561042a57600080fd5b506002546103d8565b34801561043f57600080fd5b5061039061044e366004613142565b610b7f565b34801561045f57600080fd5b50600854610406906001600160a01b031681565b34801561047f57600080fd5b506103d8610c29565b34801561049457600080fd5b5060405160128152602001610367565b3480156104b057600080fd5b506103c06104bf3660046130d2565b610cab565b3480156104d057600080fd5b506103906104df366004613218565b610d07565b3480156104f057600080fd5b50600f54610406906001600160a01b031681565b34801561051057600080fd5b50600754610406906001600160a01b031681565b34801561053057600080fd5b506103c0610d43565b34801561054557600080fd5b506103c06105543660046132e0565b610dca565b34801561056557600080fd5b506103906105743660046130d2565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561059e57600080fd5b506103c06105ad3660046130d2565b610e62565b3480156105be57600080fd5b506103c06105cd3660046132e0565b610eae565b3480156105de57600080fd5b506103d8610ef2565b3480156105f357600080fd5b506103c06106023660046130d2565b610f37565b34801561061357600080fd5b506103d86106223660046130d2565b6111d9565b34801561063357600080fd5b506103d8600d5481565b34801561064957600080fd5b506103c06106583660046132e0565b61125e565b34801561066957600080fd5b506103d86106783660046130d2565b6001600160a01b031660009081526020819052604090205490565b34801561069f57600080fd5b506103c0611340565b3480156106b457600080fd5b506103c06106c33660046132e0565b611376565b3480156106d457600080fd5b506103c06106e33660046130d2565b6114d3565b3480156106f457600080fd5b506005546001600160a01b0316610406565b34801561071257600080fd5b5061035a611882565b34801561072757600080fd5b506103d8600c5481565b34801561073d57600080fd5b506103c061074c366004613182565b611891565b34801561075d57600080fd5b506103d860105481565b34801561077357600080fd5b506103d8611966565b34801561078857600080fd5b50610390610797366004613218565b6119ab565b3480156107a857600080fd5b506103d86107b73660046130d2565b611a44565b3480156107c857600080fd5b506103906107d7366004613218565b611a77565b3480156107e857600080fd5b506107fc6107f73660046130d2565b611a84565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610367565b34801561084d57600080fd5b506103c061085c3660046132e0565b611b2e565b34801561086d57600080fd5b506103c061087c3660046132e0565b611b72565b34801561088d57600080fd5b5061039061089c3660046130d2565b60126020526000908152604090205460ff1681565b3480156108bd57600080fd5b506103d8611ba1565b3480156108d257600080fd5b506103c06108e1366004613182565b611be6565b3480156108f257600080fd5b506103c0610901366004613243565b611cfc565b34801561091257600080fd5b506103906109213660046130d2565b611de6565b34801561093257600080fd5b506103d861094136600461310a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561097857600080fd5b506103d8600a5481565b34801561098e57600080fd5b506103d8600b5481565b3480156109a457600080fd5b506103d8611e64565b3480156109b957600080fd5b506103c06109c83660046132e0565b611ea9565b3480156109d957600080fd5b506107fc6109e83660046132e0565b611f04565b3480156109f957600080fd5b506103c0610a083660046130d2565b611f46565b348015610a1957600080fd5b50600954610406906001600160a01b031681565b348015610a3957600080fd5b506103d8600181565b606060038054610a5190613584565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7d90613584565b8015610aca5780601f10610a9f57610100808354040283529160200191610aca565b820191906000526020600020905b815481529060010190602001808311610aad57829003601f168201915b5050505050905090565b6000610ae13384846120a6565b50600192915050565b6005546001600160a01b03163314610b1d5760405162461bcd60e51b8152600401610b149061342c565b60405180910390fd5b600854604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e89906024015b600060405180830381600087803b158015610b6457600080fd5b505af1158015610b78573d6000803e3d6000fd5b5050505050565b6000610b8c8484846121ca565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610c115760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610b14565b610c1e85338584036120a6565b506001949350505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610c6e57600080fd5b505afa158015610c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca691906132f8565b905090565b6005546001600160a01b03163314610cd55760405162461bcd60e51b8152600401610b149061342c565b60085460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401610b4a565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610ae1918590610d3e908690613516565b6120a6565b60085460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b3790604401602060405180830381600087803b158015610d8f57600080fd5b505af1158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc791906132c4565b50565b6005546001600160a01b03163314610df45760405162461bcd60e51b8152600401610b149061342c565b600b819055600d54600c54610e159190610e0f908490611fde565b90611fde565b600e81905560191015610dc75760405162461bcd60e51b8152602060048201526015602482015274546f74616c20666565206973206f7665722032352560581b6044820152606401610b14565b6005546001600160a01b03163314610e8c5760405162461bcd60e51b8152600401610b149061342c565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ed85760405162461bcd60e51b8152600401610b149061342c565b600d819055600c54600b54610e15918391610e0f91611fde565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610c6e57600080fd5b6005546001600160a01b03163314610f615760405162461bcd60e51b8152600401610b149061342c565b6006546001600160a01b0382811691161415610fd65760405162461bcd60e51b815260206004820152602e60248201527f42414259544f4b454e3a2054686520726f7574657220616c726561647920686160448201526d732074686174206164647265737360901b6064820152608401610b14565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a0155916004808301926020929190829003018186803b15801561106857600080fd5b505afa15801561107c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a091906130ee565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156110fd57600080fd5b505afa158015611111573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113591906130ee565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561117d57600080fd5b505af1158015611191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b591906130ee565b600780546001600160a01b0319166001600160a01b03929092169190911790555050565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b60206040518083038186803b15801561122057600080fd5b505afa158015611234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125891906132f8565b92915050565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c47990602401606060405180830381600087803b1580156112ac57600080fd5b505af11580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190613310565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a98906080015b60405180910390a350505050565b6005546001600160a01b0316331461136a5760405162461bcd60e51b8152600401610b149061342c565b6113746000612627565b565b6005546001600160a01b031633146113a05760405162461bcd60e51b8152600401610b149061342c565b62030d4081101580156113b657506207a1208111155b6114285760405162461bcd60e51b815260206004820152603f60248201527f42414259544f4b454e3a20676173466f7250726f63657373696e67206d75737460448201527f206265206265747765656e203230302c30303020616e64203530302c303030006064820152608401610b14565b6010548114156114a05760405162461bcd60e51b815260206004820152603760248201527f42414259544f4b454e3a2043616e6e6f742075706461746520676173466f725060448201527f726f63657373696e6720746f2073616d652076616c75650000000000000000006064820152608401610b14565b60105460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601055565b6005546001600160a01b031633146114fd5760405162461bcd60e51b8152600401610b149061342c565b6008546001600160a01b03828116911614156115815760405162461bcd60e51b815260206004820152603860248201527f42414259544f4b454e3a20546865206469766964656e6420747261636b65722060448201527f616c7265616479206861732074686174206164647265737300000000000000006064820152608401610b14565b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156115c957600080fd5b505afa1580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160191906130ee565b6001600160a01b0316146116975760405162461bcd60e51b815260206004820152605160248201527f42414259544f4b454e3a20546865206e6577206469766964656e64207472616360448201527f6b6572206d757374206265206f776e6564206279207468652042414259544f4b6064820152701153881d1bdad95b8818dbdb9d1c9858dd607a1b608482015260a401610b14565b60405163031e79db60e41b81526001600160a01b03821660048201819052906331e79db090602401600060405180830381600087803b1580156116d957600080fd5b505af11580156116ed573d6000803e3d6000fd5b505060405163031e79db60e41b81523060048201526001600160a01b03841692506331e79db09150602401600060405180830381600087803b15801561173257600080fd5b505af1158015611746573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db061176b6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b1580156117ac57600080fd5b505af11580156117c0573d6000803e3d6000fd5b505060065460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b15801561180b57600080fd5b505af115801561181f573d6000803e3d6000fd5b50506008546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b606060048054610a5190613584565b6005546001600160a01b031633146118bb5760405162461bcd60e51b8152600401610b149061342c565b6007546001600160a01b03838116911614156119585760405162461bcd60e51b815260206004820152605060248201527f42414259544f4b454e3a205468652050616e63616b655377617020706169722060448201527f63616e6e6f742062652072656d6f7665642066726f6d206175746f6d6174656460648201526f4d61726b65744d616b6572506169727360801b608482015260a401610b14565b6119628282612679565b5050565b60085460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b158015610c6e57600080fd5b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015611a2d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b14565b611a3a33858584036120a6565b5060019392505050565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611208565b6000610ae13384846121ca565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b6101006040518083038186803b158015611adb57600080fd5b505afa158015611aef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1391906131af565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b03163314611b585760405162461bcd60e51b8152600401610b149061342c565b600c819055600d54600b54610e159190610e0f9084611fde565b6005546001600160a01b03163314611b9c5760405162461bcd60e51b8152600401610b149061342c565b600a55565b60085460408051632f842d8560e21b815290516000926001600160a01b03169163be10b614916004808301926020929190829003018186803b158015610c6e57600080fd5b6005546001600160a01b03163314611c105760405162461bcd60e51b8152600401610b149061342c565b6001600160a01b03821660009081526011602052604090205460ff1615158115151415611c9d5760405162461bcd60e51b815260206004820152603560248201527f42414259544f4b454e3a204163636f756e7420697320616c7265616479207468604482015274652076616c7565206f6620276578636c756465642760581b6064820152608401610b14565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314611d265760405162461bcd60e51b8152600401610b149061342c565b60005b82811015611da5578160116000868685818110611d5657634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d6b91906130d2565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611d9d816135bf565b915050611d29565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051611dd99392919061333d565b60405180910390a1505050565b60085460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c5699060240160206040518083038186803b158015611e2c57600080fd5b505afa158015611e40573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125891906132c4565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b158015610c6e57600080fd5b6005546001600160a01b03163314611ed35760405162461bcd60e51b8152600401610b149061342c565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610b4a565b600854604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd90602401611ac2565b6005546001600160a01b03163314611f705760405162461bcd60e51b8152600401610b149061342c565b6001600160a01b038116611fd55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b14565b610dc781612627565b6000611fea8284613516565b9392505050565b6000611fea828461354e565b6000611fea828461352e565b6000604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b0381166120a15760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610b14565b919050565b6001600160a01b0383166121085760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b14565b6001600160a01b0382166121695760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b14565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166121f05760405162461bcd60e51b8152600401610b1490613461565b6001600160a01b0382166122165760405162461bcd60e51b8152600401610b14906133e9565b8061222c57612227838360006127e3565b505050565b30600090815260208190526040902054600a548110801590819061225a5750600754600160a01b900460ff16155b801561227f57506001600160a01b03851660009081526012602052604090205460ff16155b801561229957506005546001600160a01b03868116911614155b80156122b357506005546001600160a01b03858116911614155b15612346576007805460ff60a01b1916600160a01b179055600e54600d546000916122e9916122e3908690611ff1565b90611ffd565b90506122f481612930565b6000612311600e546122e3600c5487611ff190919063ffffffff16565b905061231c81612ac9565b3060009081526020819052604090205461233581612b50565b50506007805460ff60a01b19169055505b6007546001600160a01b03861660009081526011602052604090205460ff600160a01b90920482161591168061239457506001600160a01b03851660009081526011602052604090205460ff165b1561239d575060005b80156124195760006123bf60646122e3600e5488611ff190919063ffffffff16565b6001600160a01b03871660009081526012602052604090205490915060ff1615612400576123f360646122e3876001611ff1565b6123fd9082613516565b90505b61240a8582612d00565b94506124178730836127e3565b505b6124248686866127e3565b6008546001600160a01b031663e30443bc87612455816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561249b57600080fd5b505af19250505080156124ac575060015b506008546001600160a01b031663e30443bc866124de816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561252457600080fd5b505af1925050508015612535575060015b50600754600160a01b900460ff1661261f576010546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401606060405180830381600087803b15801561259357600080fd5b505af19250505080156125c3575060408051601f3d908101601f191682019092526125c091810190613310565b60015b6125cc5761261d565b60408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526012602052604090205460ff161515811515141561271a5760405162461bcd60e51b815260206004820152604360248201527f42414259544f4b454e3a204175746f6d61746564206d61726b6574206d616b6560448201527f72207061697220697320616c72656164792073657420746f20746861742076616064820152626c756560e81b608482015260a401610b14565b6001600160a01b0382166000908152601260205260409020805460ff191682158015919091179091556127a75760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b15801561278e57600080fd5b505af11580156127a2573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166128095760405162461bcd60e51b8152600401610b1490613461565b6001600160a01b03821661282f5760405162461bcd60e51b8152600401610b14906133e9565b6001600160a01b038316600090815260208190526040902054818110156128a75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b14565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906128de908490613516565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161133291815260200190565b50505050565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561297457600080fd5b505afa158015612988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ac91906132f8565b90506129b782612d0c565b6009546040516370a0823160e01b8152306004820152600091612a3f9184916001600160a01b0316906370a082319060240160206040518083038186803b158015612a0157600080fd5b505afa158015612a15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3991906132f8565b90612d00565b600954600f5460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb90604401602060405180830381600087803b158015612a9157600080fd5b505af1158015612aa5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292a91906132c4565b6000612ad6826002611ffd565b90506000612ae48383612d00565b905047612af083612eca565b6000612afc4783612d00565b9050612b088382613019565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b612b5981612d0c565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015612b9d57600080fd5b505afa158015612bb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd591906132f8565b60095460085460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905292935060009291169063a9059cbb90604401602060405180830381600087803b158015612c2b57600080fd5b505af1158015612c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6391906132c4565b905080156122275760085460405163ba72a95560e01b8152600481018490526001600160a01b039091169063ba72a95590602401600060405180830381600087803b158015612cb157600080fd5b505af1158015612cc5573d6000803e3d6000fd5b505060408051868152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc39350019050611dd9565b6000611fea828461356d565b60408051600380825260808201909252600091602082016060803683370190505090503081600081518110612d5157634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612da557600080fd5b505afa158015612db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ddd91906130ee565b81600181518110612dfe57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600954825191169082906002908110612e3d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600654612e6391309116846120a6565b600654604051635c11d79560e01b81526001600160a01b0390911690635c11d79590612e9c9085906000908690309042906004016134a6565b600060405180830381600087803b158015612eb657600080fd5b505af115801561261f573d6000803e3d6000fd5b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612f0d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612f6157600080fd5b505afa158015612f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f9991906130ee565b81600181518110612fba57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600654612fe091309116846120a6565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790612e9c9085906000908690309042906004016134a6565b6006546130319030906001600160a01b0316846120a6565b60065460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b15801561309957600080fd5b505af11580156130ad573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b789190613310565b6000602082840312156130e3578081fd5b8135611fea816135f0565b6000602082840312156130ff578081fd5b8151611fea816135f0565b6000806040838503121561311c578081fd5b8235613127816135f0565b91506020830135613137816135f0565b809150509250929050565b600080600060608486031215613156578081fd5b8335613161816135f0565b92506020840135613171816135f0565b929592945050506040919091013590565b60008060408385031215613194578182fd5b823561319f816135f0565b9150602083013561313781613605565b600080600080600080600080610100898b0312156131cb578384fd5b88516131d6816135f0565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b6000806040838503121561322a578182fd5b8235613235816135f0565b946020939093013593505050565b600080600060408486031215613257578283fd5b833567ffffffffffffffff8082111561326e578485fd5b818601915086601f830112613281578485fd5b81358181111561328f578586fd5b8760208260051b85010111156132a3578586fd5b602092830195509350508401356132b981613605565b809150509250925092565b6000602082840312156132d5578081fd5b8151611fea81613605565b6000602082840312156132f1578081fd5b5035919050565b600060208284031215613309578081fd5b5051919050565b600080600060608486031215613324578283fd5b8351925060208401519150604084015190509250925092565b6040808252810183905260008460608301825b86811015613380578235613363816135f0565b6001600160a01b0316825260209283019290910190600101613350565b5080925050508215156020830152949350505050565b6000602080835283518082850152825b818110156133c2578581018301518582016040015282016133a6565b818111156133d35783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156134f55784516001600160a01b0316835293830193918301916001016134d0565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613529576135296135da565b500190565b60008261354957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613568576135686135da565b500290565b60008282101561357f5761357f6135da565b500390565b600181811c9082168061359857607f821691505b602082108114156135b957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156135d3576135d36135da565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610dc757600080fd5b8015158114610dc757600080fdfea26469706673582212200543b0af3d999f61068ae73dcb4df8aa4822607175c7d0aea3d0a8872afca67a64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000629b8c891b267182b61400000000000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000055be7bec1adf72a8c3befd9271fa9a30c583cbae0000000000000000000000000e1757b9d6501e60b2e4ca0d000e49532948cf6c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000204fce5e3e250261100000000000000000000000000000004b04213c2774f77e60702880654206b116d00508000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000008323032324d4f4f4e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005323032324d000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103395760003560e01c806388bdd9be116101ab578063b62496f5116100f7578063e708a0f911610095578063f27fd2541161006f578063f27fd254146109cd578063f2fde38b146109ed578063f7c618c114610a0d578063ffa1ad7414610a2d57600080fd5b8063e708a0f914610982578063e7841ec014610998578063e98030c7146109ad57600080fd5b8063c492f046116100d1578063c492f046146108e6578063c705c56914610906578063dd62ed3e14610926578063e2f456051461096c57600080fd5b8063b62496f514610881578063bdd4f29f146108b1578063c0246668146108c657600080fd5b8063a26579ad11610164578063a9059cbb1161013e578063a9059cbb146107bc578063ad56c13c146107dc578063adefd90c14610841578063afa4f3b21461086157600080fd5b8063a26579ad14610767578063a457c2d71461077c578063a8b9d2401461079c57600080fd5b806388bdd9be146106c85780638da5cb5b146106e857806395d89b411461070657806398118cb41461071b5780639a7a23d6146107315780639c1b8af51461075157600080fd5b806349bd5a5e1161028557806365b8dbc011610223578063700bb191116101fd578063700bb1911461063d57806370a082311461065d578063715018a614610693578063871c128d146106a857600080fd5b806365b8dbc0146105e75780636843cd84146106075780636b67c4df1461062757600080fd5b80634fbee1931161025f5780634fbee193146105595780635d098b3814610592578063625e764c146105b257806364b0f653146105d257600080fd5b806349bd5a5e146105045780634e71d92d146105245780634ed080c71461053957600080fd5b806323b872dd116102f2578063313ce567116102cc578063313ce5671461048857806331e79db0146104a457806339509351146104c45780634144d9e4146104e457600080fd5b806323b872dd146104335780632c1f52161461045357806330bb4cff1461047357600080fd5b806306fdde0314610345578063095ea7b3146103705780630dcb2e89146103a057806313114a9d146103c25780631694505e146103e657806318160ddd1461041e57600080fd5b3661034057005b600080fd5b34801561035157600080fd5b5061035a610a42565b6040516103679190613396565b60405180910390f35b34801561037c57600080fd5b5061039061038b366004613218565b610ad4565b6040519015158152602001610367565b3480156103ac57600080fd5b506103c06103bb3660046132e0565b610aea565b005b3480156103ce57600080fd5b506103d8600e5481565b604051908152602001610367565b3480156103f257600080fd5b50600654610406906001600160a01b031681565b6040516001600160a01b039091168152602001610367565b34801561042a57600080fd5b506002546103d8565b34801561043f57600080fd5b5061039061044e366004613142565b610b7f565b34801561045f57600080fd5b50600854610406906001600160a01b031681565b34801561047f57600080fd5b506103d8610c29565b34801561049457600080fd5b5060405160128152602001610367565b3480156104b057600080fd5b506103c06104bf3660046130d2565b610cab565b3480156104d057600080fd5b506103906104df366004613218565b610d07565b3480156104f057600080fd5b50600f54610406906001600160a01b031681565b34801561051057600080fd5b50600754610406906001600160a01b031681565b34801561053057600080fd5b506103c0610d43565b34801561054557600080fd5b506103c06105543660046132e0565b610dca565b34801561056557600080fd5b506103906105743660046130d2565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561059e57600080fd5b506103c06105ad3660046130d2565b610e62565b3480156105be57600080fd5b506103c06105cd3660046132e0565b610eae565b3480156105de57600080fd5b506103d8610ef2565b3480156105f357600080fd5b506103c06106023660046130d2565b610f37565b34801561061357600080fd5b506103d86106223660046130d2565b6111d9565b34801561063357600080fd5b506103d8600d5481565b34801561064957600080fd5b506103c06106583660046132e0565b61125e565b34801561066957600080fd5b506103d86106783660046130d2565b6001600160a01b031660009081526020819052604090205490565b34801561069f57600080fd5b506103c0611340565b3480156106b457600080fd5b506103c06106c33660046132e0565b611376565b3480156106d457600080fd5b506103c06106e33660046130d2565b6114d3565b3480156106f457600080fd5b506005546001600160a01b0316610406565b34801561071257600080fd5b5061035a611882565b34801561072757600080fd5b506103d8600c5481565b34801561073d57600080fd5b506103c061074c366004613182565b611891565b34801561075d57600080fd5b506103d860105481565b34801561077357600080fd5b506103d8611966565b34801561078857600080fd5b50610390610797366004613218565b6119ab565b3480156107a857600080fd5b506103d86107b73660046130d2565b611a44565b3480156107c857600080fd5b506103906107d7366004613218565b611a77565b3480156107e857600080fd5b506107fc6107f73660046130d2565b611a84565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610367565b34801561084d57600080fd5b506103c061085c3660046132e0565b611b2e565b34801561086d57600080fd5b506103c061087c3660046132e0565b611b72565b34801561088d57600080fd5b5061039061089c3660046130d2565b60126020526000908152604090205460ff1681565b3480156108bd57600080fd5b506103d8611ba1565b3480156108d257600080fd5b506103c06108e1366004613182565b611be6565b3480156108f257600080fd5b506103c0610901366004613243565b611cfc565b34801561091257600080fd5b506103906109213660046130d2565b611de6565b34801561093257600080fd5b506103d861094136600461310a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561097857600080fd5b506103d8600a5481565b34801561098e57600080fd5b506103d8600b5481565b3480156109a457600080fd5b506103d8611e64565b3480156109b957600080fd5b506103c06109c83660046132e0565b611ea9565b3480156109d957600080fd5b506107fc6109e83660046132e0565b611f04565b3480156109f957600080fd5b506103c0610a083660046130d2565b611f46565b348015610a1957600080fd5b50600954610406906001600160a01b031681565b348015610a3957600080fd5b506103d8600181565b606060038054610a5190613584565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7d90613584565b8015610aca5780601f10610a9f57610100808354040283529160200191610aca565b820191906000526020600020905b815481529060010190602001808311610aad57829003601f168201915b5050505050905090565b6000610ae13384846120a6565b50600192915050565b6005546001600160a01b03163314610b1d5760405162461bcd60e51b8152600401610b149061342c565b60405180910390fd5b600854604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e89906024015b600060405180830381600087803b158015610b6457600080fd5b505af1158015610b78573d6000803e3d6000fd5b5050505050565b6000610b8c8484846121ca565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610c115760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610b14565b610c1e85338584036120a6565b506001949350505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610c6e57600080fd5b505afa158015610c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca691906132f8565b905090565b6005546001600160a01b03163314610cd55760405162461bcd60e51b8152600401610b149061342c565b60085460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401610b4a565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610ae1918590610d3e908690613516565b6120a6565b60085460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b3790604401602060405180830381600087803b158015610d8f57600080fd5b505af1158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc791906132c4565b50565b6005546001600160a01b03163314610df45760405162461bcd60e51b8152600401610b149061342c565b600b819055600d54600c54610e159190610e0f908490611fde565b90611fde565b600e81905560191015610dc75760405162461bcd60e51b8152602060048201526015602482015274546f74616c20666565206973206f7665722032352560581b6044820152606401610b14565b6005546001600160a01b03163314610e8c5760405162461bcd60e51b8152600401610b149061342c565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ed85760405162461bcd60e51b8152600401610b149061342c565b600d819055600c54600b54610e15918391610e0f91611fde565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610c6e57600080fd5b6005546001600160a01b03163314610f615760405162461bcd60e51b8152600401610b149061342c565b6006546001600160a01b0382811691161415610fd65760405162461bcd60e51b815260206004820152602e60248201527f42414259544f4b454e3a2054686520726f7574657220616c726561647920686160448201526d732074686174206164647265737360901b6064820152608401610b14565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a0155916004808301926020929190829003018186803b15801561106857600080fd5b505afa15801561107c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a091906130ee565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156110fd57600080fd5b505afa158015611111573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113591906130ee565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561117d57600080fd5b505af1158015611191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b591906130ee565b600780546001600160a01b0319166001600160a01b03929092169190911790555050565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b60206040518083038186803b15801561122057600080fd5b505afa158015611234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125891906132f8565b92915050565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c47990602401606060405180830381600087803b1580156112ac57600080fd5b505af11580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190613310565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a98906080015b60405180910390a350505050565b6005546001600160a01b0316331461136a5760405162461bcd60e51b8152600401610b149061342c565b6113746000612627565b565b6005546001600160a01b031633146113a05760405162461bcd60e51b8152600401610b149061342c565b62030d4081101580156113b657506207a1208111155b6114285760405162461bcd60e51b815260206004820152603f60248201527f42414259544f4b454e3a20676173466f7250726f63657373696e67206d75737460448201527f206265206265747765656e203230302c30303020616e64203530302c303030006064820152608401610b14565b6010548114156114a05760405162461bcd60e51b815260206004820152603760248201527f42414259544f4b454e3a2043616e6e6f742075706461746520676173466f725060448201527f726f63657373696e6720746f2073616d652076616c75650000000000000000006064820152608401610b14565b60105460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601055565b6005546001600160a01b031633146114fd5760405162461bcd60e51b8152600401610b149061342c565b6008546001600160a01b03828116911614156115815760405162461bcd60e51b815260206004820152603860248201527f42414259544f4b454e3a20546865206469766964656e6420747261636b65722060448201527f616c7265616479206861732074686174206164647265737300000000000000006064820152608401610b14565b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156115c957600080fd5b505afa1580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160191906130ee565b6001600160a01b0316146116975760405162461bcd60e51b815260206004820152605160248201527f42414259544f4b454e3a20546865206e6577206469766964656e64207472616360448201527f6b6572206d757374206265206f776e6564206279207468652042414259544f4b6064820152701153881d1bdad95b8818dbdb9d1c9858dd607a1b608482015260a401610b14565b60405163031e79db60e41b81526001600160a01b03821660048201819052906331e79db090602401600060405180830381600087803b1580156116d957600080fd5b505af11580156116ed573d6000803e3d6000fd5b505060405163031e79db60e41b81523060048201526001600160a01b03841692506331e79db09150602401600060405180830381600087803b15801561173257600080fd5b505af1158015611746573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db061176b6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b1580156117ac57600080fd5b505af11580156117c0573d6000803e3d6000fd5b505060065460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b15801561180b57600080fd5b505af115801561181f573d6000803e3d6000fd5b50506008546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b606060048054610a5190613584565b6005546001600160a01b031633146118bb5760405162461bcd60e51b8152600401610b149061342c565b6007546001600160a01b03838116911614156119585760405162461bcd60e51b815260206004820152605060248201527f42414259544f4b454e3a205468652050616e63616b655377617020706169722060448201527f63616e6e6f742062652072656d6f7665642066726f6d206175746f6d6174656460648201526f4d61726b65744d616b6572506169727360801b608482015260a401610b14565b6119628282612679565b5050565b60085460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b158015610c6e57600080fd5b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015611a2d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b14565b611a3a33858584036120a6565b5060019392505050565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611208565b6000610ae13384846121ca565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b6101006040518083038186803b158015611adb57600080fd5b505afa158015611aef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1391906131af565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b03163314611b585760405162461bcd60e51b8152600401610b149061342c565b600c819055600d54600b54610e159190610e0f9084611fde565b6005546001600160a01b03163314611b9c5760405162461bcd60e51b8152600401610b149061342c565b600a55565b60085460408051632f842d8560e21b815290516000926001600160a01b03169163be10b614916004808301926020929190829003018186803b158015610c6e57600080fd5b6005546001600160a01b03163314611c105760405162461bcd60e51b8152600401610b149061342c565b6001600160a01b03821660009081526011602052604090205460ff1615158115151415611c9d5760405162461bcd60e51b815260206004820152603560248201527f42414259544f4b454e3a204163636f756e7420697320616c7265616479207468604482015274652076616c7565206f6620276578636c756465642760581b6064820152608401610b14565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314611d265760405162461bcd60e51b8152600401610b149061342c565b60005b82811015611da5578160116000868685818110611d5657634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d6b91906130d2565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611d9d816135bf565b915050611d29565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051611dd99392919061333d565b60405180910390a1505050565b60085460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c5699060240160206040518083038186803b158015611e2c57600080fd5b505afa158015611e40573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125891906132c4565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b158015610c6e57600080fd5b6005546001600160a01b03163314611ed35760405162461bcd60e51b8152600401610b149061342c565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610b4a565b600854604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd90602401611ac2565b6005546001600160a01b03163314611f705760405162461bcd60e51b8152600401610b149061342c565b6001600160a01b038116611fd55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b14565b610dc781612627565b6000611fea8284613516565b9392505050565b6000611fea828461354e565b6000611fea828461352e565b6000604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b0381166120a15760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610b14565b919050565b6001600160a01b0383166121085760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b14565b6001600160a01b0382166121695760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b14565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166121f05760405162461bcd60e51b8152600401610b1490613461565b6001600160a01b0382166122165760405162461bcd60e51b8152600401610b14906133e9565b8061222c57612227838360006127e3565b505050565b30600090815260208190526040902054600a548110801590819061225a5750600754600160a01b900460ff16155b801561227f57506001600160a01b03851660009081526012602052604090205460ff16155b801561229957506005546001600160a01b03868116911614155b80156122b357506005546001600160a01b03858116911614155b15612346576007805460ff60a01b1916600160a01b179055600e54600d546000916122e9916122e3908690611ff1565b90611ffd565b90506122f481612930565b6000612311600e546122e3600c5487611ff190919063ffffffff16565b905061231c81612ac9565b3060009081526020819052604090205461233581612b50565b50506007805460ff60a01b19169055505b6007546001600160a01b03861660009081526011602052604090205460ff600160a01b90920482161591168061239457506001600160a01b03851660009081526011602052604090205460ff165b1561239d575060005b80156124195760006123bf60646122e3600e5488611ff190919063ffffffff16565b6001600160a01b03871660009081526012602052604090205490915060ff1615612400576123f360646122e3876001611ff1565b6123fd9082613516565b90505b61240a8582612d00565b94506124178730836127e3565b505b6124248686866127e3565b6008546001600160a01b031663e30443bc87612455816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561249b57600080fd5b505af19250505080156124ac575060015b506008546001600160a01b031663e30443bc866124de816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561252457600080fd5b505af1925050508015612535575060015b50600754600160a01b900460ff1661261f576010546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401606060405180830381600087803b15801561259357600080fd5b505af19250505080156125c3575060408051601f3d908101601f191682019092526125c091810190613310565b60015b6125cc5761261d565b60408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526012602052604090205460ff161515811515141561271a5760405162461bcd60e51b815260206004820152604360248201527f42414259544f4b454e3a204175746f6d61746564206d61726b6574206d616b6560448201527f72207061697220697320616c72656164792073657420746f20746861742076616064820152626c756560e81b608482015260a401610b14565b6001600160a01b0382166000908152601260205260409020805460ff191682158015919091179091556127a75760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b15801561278e57600080fd5b505af11580156127a2573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166128095760405162461bcd60e51b8152600401610b1490613461565b6001600160a01b03821661282f5760405162461bcd60e51b8152600401610b14906133e9565b6001600160a01b038316600090815260208190526040902054818110156128a75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b14565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906128de908490613516565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161133291815260200190565b50505050565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561297457600080fd5b505afa158015612988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ac91906132f8565b90506129b782612d0c565b6009546040516370a0823160e01b8152306004820152600091612a3f9184916001600160a01b0316906370a082319060240160206040518083038186803b158015612a0157600080fd5b505afa158015612a15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3991906132f8565b90612d00565b600954600f5460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb90604401602060405180830381600087803b158015612a9157600080fd5b505af1158015612aa5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292a91906132c4565b6000612ad6826002611ffd565b90506000612ae48383612d00565b905047612af083612eca565b6000612afc4783612d00565b9050612b088382613019565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b612b5981612d0c565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015612b9d57600080fd5b505afa158015612bb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd591906132f8565b60095460085460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905292935060009291169063a9059cbb90604401602060405180830381600087803b158015612c2b57600080fd5b505af1158015612c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6391906132c4565b905080156122275760085460405163ba72a95560e01b8152600481018490526001600160a01b039091169063ba72a95590602401600060405180830381600087803b158015612cb157600080fd5b505af1158015612cc5573d6000803e3d6000fd5b505060408051868152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc39350019050611dd9565b6000611fea828461356d565b60408051600380825260808201909252600091602082016060803683370190505090503081600081518110612d5157634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612da557600080fd5b505afa158015612db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ddd91906130ee565b81600181518110612dfe57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600954825191169082906002908110612e3d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600654612e6391309116846120a6565b600654604051635c11d79560e01b81526001600160a01b0390911690635c11d79590612e9c9085906000908690309042906004016134a6565b600060405180830381600087803b158015612eb657600080fd5b505af115801561261f573d6000803e3d6000fd5b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612f0d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612f6157600080fd5b505afa158015612f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f9991906130ee565b81600181518110612fba57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600654612fe091309116846120a6565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790612e9c9085906000908690309042906004016134a6565b6006546130319030906001600160a01b0316846120a6565b60065460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b15801561309957600080fd5b505af11580156130ad573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b789190613310565b6000602082840312156130e3578081fd5b8135611fea816135f0565b6000602082840312156130ff578081fd5b8151611fea816135f0565b6000806040838503121561311c578081fd5b8235613127816135f0565b91506020830135613137816135f0565b809150509250929050565b600080600060608486031215613156578081fd5b8335613161816135f0565b92506020840135613171816135f0565b929592945050506040919091013590565b60008060408385031215613194578182fd5b823561319f816135f0565b9150602083013561313781613605565b600080600080600080600080610100898b0312156131cb578384fd5b88516131d6816135f0565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b6000806040838503121561322a578182fd5b8235613235816135f0565b946020939093013593505050565b600080600060408486031215613257578283fd5b833567ffffffffffffffff8082111561326e578485fd5b818601915086601f830112613281578485fd5b81358181111561328f578586fd5b8760208260051b85010111156132a3578586fd5b602092830195509350508401356132b981613605565b809150509250925092565b6000602082840312156132d5578081fd5b8151611fea81613605565b6000602082840312156132f1578081fd5b5035919050565b600060208284031215613309578081fd5b5051919050565b600080600060608486031215613324578283fd5b8351925060208401519150604084015190509250925092565b6040808252810183905260008460608301825b86811015613380578235613363816135f0565b6001600160a01b0316825260209283019290910190600101613350565b5080925050508215156020830152949350505050565b6000602080835283518082850152825b818110156133c2578581018301518582016040015282016133a6565b818111156133d35783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156134f55784516001600160a01b0316835293830193918301916001016134d0565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613529576135296135da565b500190565b60008261354957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613568576135686135da565b500290565b60008282101561357f5761357f6135da565b500390565b600181811c9082168061359857607f821691505b602082108114156135b957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156135d3576135d36135da565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610dc757600080fd5b8015158114610dc757600080fdfea26469706673582212200543b0af3d999f61068ae73dcb4df8aa4822607175c7d0aea3d0a8872afca67a64736f6c63430008040033

Deployed Bytecode Sourcemap

86001:18462:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6747:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8914:169;;;;;;;;;;-1:-1:-1;8914:169:0;;;;;:::i;:::-;;:::i;:::-;;;8570:14:1;;8563:22;8545:41;;8533:2;8518:18;8914:169:0;8500:92:1;95510:185:0;;;;;;;;;;-1:-1:-1;95510:185:0;;;;;:::i;:::-;;:::i;:::-;;86488:24;;;;;;;;;;;;;;;;;;;17709:25:1;;;17697:2;17682:18;86488:24:0;17664:76:1;86135:41:0;;;;;;;;;;-1:-1:-1;86135:41:0;;;;-1:-1:-1;;;;;86135:41:0;;;;;;-1:-1:-1;;;;;5053:32:1;;;5035:51;;5023:2;5008:18;86135:41:0;4990:102:1;7867:108:0;;;;;;;;;;-1:-1:-1;7955:12:0;;7867:108;;9565:492;;;;;;;;;;-1:-1:-1;9565:492:0;;;;;:::i;:::-;;:::i;86250:47::-;;;;;;;;;;-1:-1:-1;86250:47:0;;;;-1:-1:-1;;;;;86250:47:0;;;95896:141;;;;;;;;;;;;;:::i;7709:93::-;;;;;;;;;;-1:-1:-1;7709:93:0;;7792:2;19848:36:1;;19836:2;19821:18;7709:93:0;19803:87:1;96550:130:0;;;;;;;;;;-1:-1:-1;96550:130:0;;;;;:::i;:::-;;:::i;10466:215::-;;;;;;;;;;-1:-1:-1;10466:215:0;;;;;:::i;:::-;;:::i;86521:38::-;;;;;;;;;;-1:-1:-1;86521:38:0;;;;-1:-1:-1;;;;;86521:38:0;;;86183:28;;;;;;;;;;-1:-1:-1;86183:28:0;;;;-1:-1:-1;;;;;86183:28:0;;;98025:103;;;;;;;;;;;;;:::i;93249:238::-;;;;;;;;;;-1:-1:-1;93249:238:0;;;;;:::i;:::-;;:::i;96045:126::-;;;;;;;;;;-1:-1:-1;96045:126:0;;;;;:::i;:::-;-1:-1:-1;;;;;96135:28:0;96111:4;96135:28;;;:19;:28;;;;;;;;;96045:126;93119:122;;;;;;;;;;-1:-1:-1;93119:122:0;;;;;:::i;:::-;;:::i;93734:232::-;;;;;;;;;;-1:-1:-1;93734:232:0;;;;;:::i;:::-;;:::i;98274:142::-;;;;;;;;;;;;;:::i;91887:540::-;;;;;;;;;;-1:-1:-1;91887:540:0;;;;;:::i;:::-;;:::i;96371:171::-;;;;;;;;;;-1:-1:-1;96371:171:0;;;;;:::i;:::-;;:::i;86454:27::-;;;;;;;;;;;;;;;;97607:410;;;;;;;;;;-1:-1:-1;97607:410:0;;;;;:::i;:::-;;:::i;8038:127::-;;;;;;;;;;-1:-1:-1;8038:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;8139:18:0;8112:7;8139:18;;;;;;;;;;;;8038:127;18427:94;;;;;;;;;;;;;:::i;94765:488::-;;;;;;;;;;-1:-1:-1;94765:488:0;;;;;:::i;:::-;;:::i;90926:953::-;;;;;;;;;;-1:-1:-1;90926:953:0;;;;;:::i;:::-;;:::i;17776:87::-;;;;;;;;;;-1:-1:-1;17849:6:0;;-1:-1:-1;;;;;17849:6:0;17776:87;;6966:104;;;;;;;;;;;;;:::i;86420:27::-;;;;;;;;;;;;;;;;93974:327;;;;;;;;;;-1:-1:-1;93974:327:0;;;;;:::i;:::-;;:::i;86568:31::-;;;;;;;;;;;;;;;;95393:109;;;;;;;;;;;;;:::i;11184:413::-;;;;;;;;;;-1:-1:-1;11184:413:0;;;;;:::i;:::-;;:::i;96179:184::-;;;;;;;;;;-1:-1:-1;96179:184:0;;;;;:::i;:::-;;:::i;8378:175::-;;;;;;;;;;-1:-1:-1;8378:175:0;;;;;:::i;:::-;;:::i;96879:351::-;;;;;;;;;;-1:-1:-1;96879:351:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6363:32:1;;;6345:51;;6427:2;6412:18;;6405:34;;;;6455:18;;;6448:34;;;;6513:2;6498:18;;6491:34;;;;6556:3;6541:19;;6534:35;6383:3;6585:19;;6578:35;6644:3;6629:19;;6622:35;6688:3;6673:19;;6666:35;6332:3;6317:19;96879:351:0;6299:408:1;93495:231:0;;;;;;;;;;-1:-1:-1;93495:231:0;;;;;:::i;:::-;;:::i;90806:112::-;;;;;;;;;;-1:-1:-1;90806:112:0;;;;;:::i;:::-;;:::i;86871:57::-;;;;;;;;;;-1:-1:-1;86871:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;95703:185;;;;;;;;;;;;;:::i;92435:338::-;;;;;;;;;;-1:-1:-1;92435:338:0;;;;;:::i;:::-;;:::i;92781:330::-;;;;;;;;;;-1:-1:-1;92781:330:0;;;;;:::i;:::-;;:::i;96688:183::-;;;;;;;;;;-1:-1:-1;96688:183:0;;;;;:::i;:::-;;:::i;8616:151::-;;;;;;;;;;-1:-1:-1;8616:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;8732:18:0;;;8705:7;8732:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8616:151;86341:33;;;;;;;;;;;;;;;;86383:30;;;;;;;;;;;;;;;;98136:130;;;;;;;;;;;;;:::i;95261:124::-;;;;;;;;;;-1:-1:-1;95261:124:0;;;;;:::i;:::-;;:::i;97238:361::-;;;;;;;;;;-1:-1:-1;97238:361:0;;;;;:::i;:::-;;:::i;18676:192::-;;;;;;;;;;-1:-1:-1;18676:192:0;;;;;:::i;:::-;;:::i;86306:26::-;;;;;;;;;;-1:-1:-1;86306:26:0;;;;-1:-1:-1;;;;;86306:26:0;;;86091:35;;;;;;;;;;;;86125:1;86091:35;;6747:100;6801:13;6834:5;6827:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6747:100;:::o;8914:169::-;8997:4;9014:39;4333:10;9037:7;9046:6;9014:8;:39::i;:::-;-1:-1:-1;9071:4:0;8914:169;;;;:::o;95510:185::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;;;;;;;;;95626:15:::1;::::0;:61:::1;::::0;-1:-1:-1;;;95626:61:0;;::::1;::::0;::::1;17709:25:1::0;;;-1:-1:-1;;;;;95626:15:0;;::::1;::::0;:53:::1;::::0;17682:18:1;;95626:61:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;95510:185:::0;:::o;9565:492::-;9705:4;9722:36;9732:6;9740:9;9751:6;9722:9;:36::i;:::-;-1:-1:-1;;;;;9798:19:0;;9771:24;9798:19;;;:11;:19;;;;;;;;4333:10;9798:33;;;;;;;;9850:26;;;;9842:79;;;;-1:-1:-1;;;9842:79:0;;14027:2:1;9842:79:0;;;14009:21:1;14066:2;14046:18;;;14039:30;14105:34;14085:18;;;14078:62;-1:-1:-1;;;14156:18:1;;;14149:38;14204:19;;9842:79:0;13999:230:1;9842:79:0;9957:57;9966:6;4333:10;10007:6;9988:16;:25;9957:8;:57::i;:::-;-1:-1:-1;10045:4:0;;9565:492;-1:-1:-1;;;;9565:492:0:o;95896:141::-;95986:15;;:43;;;-1:-1:-1;;;95986:43:0;;;;95959:7;;-1:-1:-1;;;;;95986:15:0;;:41;;:43;;;;;;;;;;;;;;:15;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;95979:50;;95896:141;:::o;96550:130::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;96627:15:::1;::::0;:45:::1;::::0;-1:-1:-1;;;96627:45:0;;-1:-1:-1;;;;;5053:32:1;;;96627:45:0::1;::::0;::::1;5035:51:1::0;96627:15:0;;::::1;::::0;:36:::1;::::0;5008:18:1;;96627:45:0::1;4990:102:1::0;10466:215:0;4333:10;10554:4;10603:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10603:34:0;;;;;;;;;;10554:4;;10571:80;;10594:7;;10603:47;;10640:10;;10603:47;:::i;:::-;10571:8;:80::i;98025:103::-;98062:15;;:58;;-1:-1:-1;;;98062:58:0;;98101:10;98062:58;;;5281:51:1;98062:15:0;5348:18:1;;;5341:50;-1:-1:-1;;;;;98062:15:0;;;;:30;;5254:18:1;;98062:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;98025:103::o;93249:238::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;93322:15:::1;:23:::0;;;93406:12:::1;::::0;93388::::1;::::0;93368:51:::1;::::0;93406:12;93368:33:::1;::::0;93340:5;;93368:19:::1;:33::i;:::-;:37:::0;::::1;:51::i;:::-;93356:9;:63:::0;;;93451:2:::1;-1:-1:-1::0;93438:15:0::1;93430:49;;;::::0;-1:-1:-1;;;93430:49:0;;12412:2:1;93430:49:0::1;::::0;::::1;12394:21:1::0;12451:2;12431:18;;;12424:30;-1:-1:-1;;;12470:18:1;;;12463:51;12531:18;;93430:49:0::1;12384:171:1::0;93119:122:0;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;93201:23:::1;:32:::0;;-1:-1:-1;;;;;;93201:32:0::1;-1:-1:-1::0;;;;;93201:32:0;;;::::1;::::0;;;::::1;::::0;;93119:122::o;93734:232::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;93804:12:::1;:20:::0;;;93867:12:::1;::::0;93847:15:::1;::::0;:51:::1;::::0;93819:5;;93847:33:::1;::::0;:19:::1;:33::i;98274:142::-:0;98367:15;;:41;;;-1:-1:-1;;;98367:41:0;;;;98340:7;;-1:-1:-1;;;;;98367:15:0;;:39;;:41;;;;;;;;;;;;;;:15;:41;;;;;;;;;;91887:540;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;92010:15:::1;::::0;-1:-1:-1;;;;;91988:38:0;;::::1;92010:15:::0;::::1;91988:38;;91966:134;;;::::0;-1:-1:-1;;;91966:134:0;;15219:2:1;91966:134:0::1;::::0;::::1;15201:21:1::0;15258:2;15238:18;;;15231:30;15297:34;15277:18;;;15270:62;-1:-1:-1;;;15348:18:1;;;15341:44;15402:19;;91966:134:0::1;15191:236:1::0;91966:134:0::1;92158:15;::::0;92116:59:::1;::::0;-1:-1:-1;;;;;92158:15:0;;::::1;::::0;92116:59;::::1;::::0;::::1;::::0;92158:15:::1;::::0;92116:59:::1;92186:15;:48:::0;;-1:-1:-1;;;;;;92186:48:0::1;-1:-1:-1::0;;;;;92186:48:0;::::1;::::0;;::::1;::::0;;;92288:25:::1;::::0;;-1:-1:-1;;;92288:25:0;;;;-1:-1:-1;;92186:48:0;92288:23:::1;::::0;:25:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;92186:48;92288:25;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;92270:69:0::1;;92348:4;92355:15;;;;;;;;;-1:-1:-1::0;;;;;92355:15:0::1;-1:-1:-1::0;;;;;92355:20:0::1;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;92270:108;::::0;-1:-1:-1;;;;;;92270:108:0::1;::::0;;;;;;-1:-1:-1;;;;;5927:15:1;;;92270:108:0::1;::::0;::::1;5909:34:1::0;5979:15;;5959:18;;;5952:43;5844:18;;92270:108:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;92389:13;:30:::0;;-1:-1:-1;;;;;;92389:30:0::1;-1:-1:-1::0;;;;;92389:30:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;91887:540:0:o;96371:171::-;96500:15;;:34;;-1:-1:-1;;;96500:34:0;;-1:-1:-1;;;;;5053:32:1;;;96500:34:0;;;5035:51:1;96468:7:0;;96500:15;;:25;;5008:18:1;;96500:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;96493:41;96371:171;-1:-1:-1;;96371:171:0:o;97607:410::-;97789:15;;:28;;-1:-1:-1;;;;;;97789:28:0;;;;;17709:25:1;;;97687:18:0;;;;;;-1:-1:-1;;;;;97789:15:0;;:23;;17682:18:1;;97789:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;97833:176;;;19541:25:1;;;19597:2;19582:18;;19575:34;;;19625:18;;;19618:34;;;19683:2;19668:18;;19661:34;;;97672:145:0;;-1:-1:-1;97672:145:0;;-1:-1:-1;97672:145:0;-1:-1:-1;97989:9:0;;97951:5;;97833:176;;19528:3:1;19513:19;97833:176:0;;;;;;;;97607:410;;;;:::o;18427:94::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;18492:21:::1;18510:1;18492:9;:21::i;:::-;18427:94::o:0;94765:488::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;94877:6:::1;94865:8;:18;;:40;;;;;94899:6;94887:8;:18;;94865:40;94843:153;;;::::0;-1:-1:-1;;;94843:153:0;;10763:2:1;94843:153:0::1;::::0;::::1;10745:21:1::0;10802:2;10782:18;;;10775:30;10841:34;10821:18;;;10814:62;10912:33;10892:18;;;10885:61;10963:19;;94843:153:0::1;10735:253:1::0;94843:153:0::1;95041:16;;95029:8;:28;;95007:133;;;::::0;-1:-1:-1;;;95007:133:0;;16935:2:1;95007:133:0::1;::::0;::::1;16917:21:1::0;16974:2;16954:18;;;16947:30;17013:34;16993:18;;;16986:62;17084:25;17064:18;;;17057:53;17127:19;;95007:133:0::1;16907:245:1::0;95007:133:0::1;95190:16;::::0;95156:51:::1;::::0;95180:8;;95156:51:::1;::::0;;;::::1;95218:16;:27:::0;94765:488::o;90926:953::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;91049:15:::1;::::0;-1:-1:-1;;;;;91027:38:0;;::::1;91049:15:::0;::::1;91027:38;;91005:144;;;::::0;-1:-1:-1;;;91005:144:0;;13113:2:1;91005:144:0::1;::::0;::::1;13095:21:1::0;13152:2;13132:18;;;13125:30;13191:34;13171:18;;;13164:62;13262:26;13242:18;;;13235:54;13306:19;;91005:144:0::1;13085:246:1::0;91005:144:0::1;91162:43;91255:10;91162:115;;91350:4;-1:-1:-1::0;;;;;91312:43:0::1;:18;-1:-1:-1::0;;;;;91312:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;91312:43:0::1;;91290:174;;;::::0;-1:-1:-1;;;91290:174:0;;16445:2:1;91290:174:0::1;::::0;::::1;16427:21:1::0;16484:2;16464:18;;;16457:30;16523:34;16503:18;;;16496:62;16594:34;16574:18;;;16567:62;-1:-1:-1;;;16645:19:1;;;16638:48;16703:19;;91290:174:0::1;16417:311:1::0;91290:174:0::1;91477:68;::::0;-1:-1:-1;;;91477:68:0;;-1:-1:-1;;;;;91477:39:0;::::1;:68;::::0;::::1;5035:51:1::0;;;91477:39:0;::::1;::::0;5008:18:1;;91477:68:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;91556:54:0::1;::::0;-1:-1:-1;;;91556:54:0;;91604:4:::1;91556:54;::::0;::::1;5035:51:1::0;-1:-1:-1;;;;;91556:39:0;::::1;::::0;-1:-1:-1;91556:39:0::1;::::0;-1:-1:-1;5008:18:1;;91556:54:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;91621:18;-1:-1:-1::0;;;;;91621:39:0::1;;91661:7;17849:6:::0;;-1:-1:-1;;;;;17849:6:0;;17776:87;91661:7:::1;91621:48;::::0;-1:-1:-1;;;;;;91621:48:0::1;::::0;;;;;;-1:-1:-1;;;;;5053:32:1;;;91621:48:0::1;::::0;::::1;5035:51:1::0;5008:18;;91621:48:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;91728:15:0::1;::::0;91680:65:::1;::::0;-1:-1:-1;;;91680:65:0;;-1:-1:-1;;;;;91728:15:0;;::::1;91680:65;::::0;::::1;5035:51:1::0;91680:39:0;;::::1;::::0;-1:-1:-1;91680:39:0::1;::::0;-1:-1:-1;5008:18:1;;91680:65:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;91805:15:0::1;::::0;91763:59:::1;::::0;-1:-1:-1;;;;;91805:15:0;;::::1;::::0;-1:-1:-1;91763:59:0;;::::1;::::0;-1:-1:-1;91763:59:0::1;::::0;91805:15:::1;::::0;91763:59:::1;91835:15;:36:::0;;-1:-1:-1;;;;;;91835:36:0::1;-1:-1:-1::0;;;;;91835:36:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;90926:953:0:o;6966:104::-;7022:13;7055:7;7048:14;;;;;:::i;93974:327::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;94118:13:::1;::::0;-1:-1:-1;;;;;94110:21:0;;::::1;94118:13:::0;::::1;94110:21;;94088:151;;;::::0;-1:-1:-1;;;94088:151:0;;13538:2:1;94088:151:0::1;::::0;::::1;13520:21:1::0;13577:2;13557:18;;;13550:30;13616:34;13596:18;;;13589:62;13687:34;13667:18;;;13660:62;-1:-1:-1;;;13738:19:1;;;13731:47;13795:19;;94088:151:0::1;13510:310:1::0;94088:151:0::1;94252:41;94281:4;94287:5;94252:28;:41::i;:::-;93974:327:::0;;:::o;95393:109::-;95467:15;;:27;;;-1:-1:-1;;;95467:27:0;;;;95440:7;;-1:-1:-1;;;;;95467:15:0;;:25;;:27;;;;;;;;;;;;;;:15;:27;;;;;;;;;;11184:413;4333:10;11277:4;11321:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;11321:34:0;;;;;;;;;;11374:35;;;;11366:85;;;;-1:-1:-1;;;11366:85:0;;17359:2:1;11366:85:0;;;17341:21:1;17398:2;17378:18;;;17371:30;17437:34;17417:18;;;17410:62;-1:-1:-1;;;17488:18:1;;;17481:35;17533:19;;11366:85:0;17331:227:1;11366:85:0;11487:67;4333:10;11510:7;11538:15;11519:16;:34;11487:8;:67::i;:::-;-1:-1:-1;11585:4:0;;11184:413;-1:-1:-1;;;11184:413:0:o;96179:184::-;96308:15;;:47;;-1:-1:-1;;;96308:47:0;;-1:-1:-1;;;;;5053:32:1;;;96308:47:0;;;5035:51:1;96276:7:0;;96308:15;;:38;;5008:18:1;;96308:47:0;4990:102:1;8378:175:0;8464:4;8481:42;4333:10;8505:9;8516:6;8481:9;:42::i;96879:351::-;97187:15;;:35;;-1:-1:-1;;;97187:35:0;;-1:-1:-1;;;;;5053:32:1;;;97187:35:0;;;5035:51:1;96993:7:0;;;;;;;;;;;;;;;;97187:15;;;:26;;5008:18:1;;97187:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;97180:42;;;;;;;;;;;;;;;;96879:351;;;;;;;;;:::o;93495:231::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;93564:12:::1;:20:::0;;;93645:12:::1;::::0;93607:15:::1;::::0;:51:::1;::::0;93645:12;93607:33:::1;::::0;93579:5;93607:19:::1;:33::i;90806:112::-:0;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;90883:18:::1;:27:::0;90806:112::o;95703:185::-;95831:15;;:49;;;-1:-1:-1;;;95831:49:0;;;;95799:7;;-1:-1:-1;;;;;95831:15:0;;:47;;:49;;;;;;;;;;;;;;:15;:49;;;;;;;;;;92435:338;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;92542:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;::::1;;:40;;::::0;::::1;;;;92520:143;;;::::0;-1:-1:-1;;;92520:143:0;;14797:2:1;92520:143:0::1;::::0;::::1;14779:21:1::0;14836:2;14816:18;;;14809:30;14875:34;14855:18;;;14848:62;-1:-1:-1;;;14926:18:1;;;14919:51;14987:19;;92520:143:0::1;14769:243:1::0;92520:143:0::1;-1:-1:-1::0;;;;;92674:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;;;;:39;;-1:-1:-1;;92674:39:0::1;::::0;::::1;;::::0;;::::1;::::0;;;92731:34;;8545:41:1;;;92731:34:0::1;::::0;8518:18:1;92731:34:0::1;;;;;;;92435:338:::0;;:::o;92781:330::-;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;92924:9:::1;92919:116;92939:19:::0;;::::1;92919:116;;;93015:8;92980:19;:32;93000:8;;93009:1;93000:11;;;;;-1:-1:-1::0;;;93000:11:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;92980:32:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;92980:32:0;:43;;-1:-1:-1;;92980:43:0::1;::::0;::::1;;::::0;;;::::1;::::0;;92960:3;::::1;::::0;::::1;:::i;:::-;;;;92919:116;;;;93052:51;93084:8;;93094;93052:51;;;;;;;;:::i;:::-;;;;;;;;92781:330:::0;;;:::o;96688:183::-;96815:15;;:48;;-1:-1:-1;;;96815:48:0;;-1:-1:-1;;;;;5053:32:1;;;96815:48:0;;;5035:51:1;96786:4:0;;96815:15;;:39;;5008:18:1;;96815:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;98136:130::-;98219:15;;:39;;;-1:-1:-1;;;98219:39:0;;;;98192:7;;-1:-1:-1;;;;;98219:15:0;;:37;;:39;;;;;;;;;;;;;;:15;:39;;;;;;;;;;95261:124;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;95335:15:::1;::::0;:42:::1;::::0;-1:-1:-1;;;95335:42:0;;::::1;::::0;::::1;17709:25:1::0;;;-1:-1:-1;;;;;95335:15:0;;::::1;::::0;:31:::1;::::0;17682:18:1;;95335:42:0::1;17664:76:1::0;97238:361:0;97551:15;;:40;;-1:-1:-1;;;97551:40:0;;;;;17709:25:1;;;97357:7:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;97551:15:0;;;;:33;;17682:18:1;;97551:40:0;17664:76:1;18676:192:0;17849:6;;-1:-1:-1;;;;;17849:6:0;4333:10;17996:23;17988:68;;;;-1:-1:-1;;;17988:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;18765:22:0;::::1;18757:73;;;::::0;-1:-1:-1;;;18757:73:0;;11195:2:1;18757:73:0::1;::::0;::::1;11177:21:1::0;11234:2;11214:18;;;11207:30;11273:34;11253:18;;;11246:62;-1:-1:-1;;;11324:18:1;;;11317:36;11370:19;;18757:73:0::1;11167:228:1::0;18757:73:0::1;18841:19;18851:8;18841:9;:19::i;21862:98::-:0;21920:7;21947:5;21951:1;21947;:5;:::i;:::-;21940:12;21862:98;-1:-1:-1;;;21862:98:0:o;22600:::-;22658:7;22685:5;22689:1;22685;:5;:::i;22999:98::-;23057:7;23084:5;23088:1;23084;:5;:::i;26992:524::-;27049:16;27119:4;27113:11;-1:-1:-1;;;27145:3:0;27138:79;27264:14;27258:4;27254:25;27247:4;27242:3;27238:14;27231:49;-1:-1:-1;;;27310:4:0;27305:3;27301:14;27294:90;27425:4;27420:3;27417:1;27410:20;27398:32;-1:-1:-1;;;;;;;27459:22:0;;27451:57;;;;-1:-1:-1;;;27451:57:0;;12762:2:1;27451:57:0;;;12744:21:1;12801:2;12781:18;;;12774:30;-1:-1:-1;;;12820:18:1;;;12813:52;12882:18;;27451:57:0;12734:172:1;27451:57:0;26992:524;;;:::o;14868:380::-;-1:-1:-1;;;;;15004:19:0;;14996:68;;;;-1:-1:-1;;;14996:68:0;;16040:2:1;14996:68:0;;;16022:21:1;16079:2;16059:18;;;16052:30;16118:34;16098:18;;;16091:62;-1:-1:-1;;;16169:18:1;;;16162:34;16213:19;;14996:68:0;16012:226:1;14996:68:0;-1:-1:-1;;;;;15083:21:0;;15075:68;;;;-1:-1:-1;;;15075:68:0;;11602:2:1;15075:68:0;;;11584:21:1;11641:2;11621:18;;;11614:30;11680:34;11660:18;;;11653:62;-1:-1:-1;;;11731:18:1;;;11724:32;11773:19;;15075:68:0;11574:224:1;15075:68:0;-1:-1:-1;;;;;15156:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15208:32;;17709:25:1;;;15208:32:0;;17682:18:1;15208:32:0;;;;;;;14868:380;;;:::o;98424:2562::-;-1:-1:-1;;;;;98556:18:0;;98548:68;;;;-1:-1:-1;;;98548:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;98635:16:0;;98627:64;;;;-1:-1:-1;;;98627:64:0;;;;;;;:::i;:::-;98708:11;98704:93;;98736:28;98752:4;98758:2;98762:1;98736:15;:28::i;:::-;98424:2562;;;:::o;98704:93::-;98858:4;98809:28;8139:18;;;;;;;;;;;98916;;98892:42;;;;;;;98965:33;;-1:-1:-1;98990:8:0;;-1:-1:-1;;;98990:8:0;;;;98989:9;98965:33;:82;;;;-1:-1:-1;;;;;;99016:31:0;;;;;;:25;:31;;;;;;;;99015:32;98965:82;:114;;;;-1:-1:-1;17849:6:0;;-1:-1:-1;;;;;99064:15:0;;;17849:6;;99064:15;;98965:114;:144;;;;-1:-1:-1;17849:6:0;;-1:-1:-1;;;;;99096:13:0;;;17849:6;;99096:13;;98965:144;98947:702;;;99136:8;:15;;-1:-1:-1;;;;99136:15:0;-1:-1:-1;;;99136:15:0;;;99273:9;;99237:12;;99136:15;;99194:89;;:56;;:20;;:42;:56::i;:::-;:78;;:89::i;:::-;99168:115;;99298:33;99315:15;99298:16;:33::i;:::-;99348:18;99369:85;99430:9;;99369:38;99394:12;;99369:20;:24;;:38;;;;:::i;:85::-;99348:106;;99469:26;99484:10;99469:14;:26::i;:::-;99551:4;99512:18;8139;;;;;;;;;;;99572:32;8139:18;99572:20;:32::i;:::-;-1:-1:-1;;99621:8:0;:16;;-1:-1:-1;;;;99621:16:0;;;-1:-1:-1;98947:702:0;99677:8;;-1:-1:-1;;;;;99787:25:0;;99661:12;99787:25;;;:19;:25;;;;;;99677:8;-1:-1:-1;;;99677:8:0;;;;;99676:9;;99787:25;;:52;;-1:-1:-1;;;;;;99816:23:0;;;;;;:19;:23;;;;;;;;99787:52;99783:100;;;-1:-1:-1;99866:5:0;99783:100;99899:7;99895:298;;;99923:12;99938:30;99964:3;99938:21;99949:9;;99938:6;:10;;:21;;;;:::i;:30::-;-1:-1:-1;;;;;99987:29:0;;;;;;:25;:29;;;;;;99923:45;;-1:-1:-1;99987:29:0;;99983:100;;;100045:22;100063:3;100045:13;:6;100056:1;100045:10;:13::i;:22::-;100037:30;;;;:::i;:::-;;;99983:100;100106:16;:6;100117:4;100106:10;:16::i;:::-;100097:25;;100139:42;100155:4;100169;100176;100139:15;:42::i;:::-;99895:298;;100205:33;100221:4;100227:2;100231:6;100205:15;:33::i;:::-;100268:15;;-1:-1:-1;;;;;100268:15:0;:26;100303:4;100310:15;100303:4;-1:-1:-1;;;;;8139:18:0;8112:7;8139:18;;;;;;;;;;;;8038:127;100310:15;100268:58;;-1:-1:-1;;;;;;100268:58:0;;;;;;;-1:-1:-1;;;;;5610:32:1;;;100268:58:0;;;5592:51:1;5659:18;;;5652:34;5565:18;;100268:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100251:96;100361:15;;-1:-1:-1;;;;;100361:15:0;:26;100396:2;100401:13;100396:2;-1:-1:-1;;;;;8139:18:0;8112:7;8139:18;;;;;;;;;;;;8038:127;100401:13;100361:54;;-1:-1:-1;;;;;;100361:54:0;;;;;;;-1:-1:-1;;;;;5610:32:1;;;100361:54:0;;;5592:51:1;5659:18;;;5652:34;5565:18;;100361:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100357:70;100444:8;;-1:-1:-1;;;100444:8:0;;;;100439:540;;100483:16;;100520:15;;:28;;-1:-1:-1;;;;;;100520:28:0;;;;;17709:25:1;;;-1:-1:-1;;;;;100520:15:0;;;;:23;;17682:18:1;;100520:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;100520:28:0;;;;;;;;-1:-1:-1;;100520:28:0;;;;;;;;;;;;:::i;:::-;;;100516:452;;;;;100712:231;;;19541:25:1;;;19597:2;19582:18;;19575:34;;;19625:18;;;19618:34;;;19683:2;19668:18;;19661:34;;;100915:9:0;;100862:4;;100712:231;;19528:3:1;19513:19;100712:231:0;;;;;;;100549:410;;;100516:452;100439:540;;98424:2562;;;;;;:::o;18876:173::-;18951:6;;;-1:-1:-1;;;;;18968:17:0;;;-1:-1:-1;;;;;;18968:17:0;;;;;;;19001:40;;18951:6;;;18968:17;18951:6;;19001:40;;18932:16;;19001:40;18876:173;;:::o;94309:448::-;-1:-1:-1;;;;;94414:31:0;;;;;;:25;:31;;;;;;;;:40;;;;;;;94392:157;;;;-1:-1:-1;;;94392:157:0;;10287:2:1;94392:157:0;;;10269:21:1;10326:2;10306:18;;;10299:30;10365:34;10345:18;;;10338:62;10436:34;10416:18;;;10409:62;-1:-1:-1;;;10487:19:1;;;10480:34;10531:19;;94392:157:0;10259:297:1;94392:157:0;-1:-1:-1;;;;;94560:31:0;;;;;;:25;:31;;;;;:39;;-1:-1:-1;;94560:39:0;;;;;;;;;;;;94612:80;;94638:15;;:42;;-1:-1:-1;;;94638:42:0;;-1:-1:-1;;;;;5053:32:1;;;94638:42:0;;;5035:51:1;94638:15:0;;;;:36;;5008:18:1;;94638:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94612:80;94709:40;;;;;;-1:-1:-1;;;;;94709:40:0;;;;;;;;94309:448;;:::o;12087:733::-;-1:-1:-1;;;;;12227:20:0;;12219:70;;;;-1:-1:-1;;;12219:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;12308:23:0;;12300:71;;;;-1:-1:-1;;;12300:71:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;12468:17:0;;12444:21;12468:17;;;;;;;;;;;12504:23;;;;12496:74;;;;-1:-1:-1;;;12496:74:0;;12005:2:1;12496:74:0;;;11987:21:1;12044:2;12024:18;;;12017:30;12083:34;12063:18;;;12056:62;-1:-1:-1;;;12134:18:1;;;12127:36;12180:19;;12496:74:0;11977:228:1;12496:74:0;-1:-1:-1;;;;;12606:17:0;;;:9;:17;;;;;;;;;;;12626:22;;;12606:42;;12670:20;;;;;;;;:30;;12642:6;;12606:9;12670:30;;12642:6;;12670:30;:::i;:::-;;;;;;;;12735:9;-1:-1:-1;;;;;12718:35:0;12727:6;-1:-1:-1;;;;;12718:35:0;;12746:6;12718:35;;;;17709:25:1;;17697:2;17682:18;;17664:76;12766:46:0;12087:733;;;;:::o;100994:406::-;101091:11;;101084:68;;-1:-1:-1;;;101084:68:0;;101136:4;101084:68;;;5035:51:1;101055:26:0;;-1:-1:-1;;;;;101091:11:0;;101084:29;;5008:18:1;;101084:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101055:97;;101165:25;101183:6;101165:17;:25::i;:::-;101230:11;;101223:44;;-1:-1:-1;;;101223:44:0;;101261:4;101223:44;;;5035:51:1;101201:18:0;;101222:94;;101287:18;;-1:-1:-1;;;;;101230:11:0;;101223:29;;5008:18:1;;101223:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101222:50;;:94::i;:::-;101334:11;;101356:23;;101327:65;;-1:-1:-1;;;101327:65:0;;-1:-1:-1;;;;;101356:23:0;;;101327:65;;;5592:51:1;5659:18;;;5652:34;;;101201:115:0;;-1:-1:-1;101334:11:0;;101327:28;;5565:18:1;;101327:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;101408:923::-;101518:12;101533:13;:6;101544:1;101533:10;:13::i;:::-;101518:28;-1:-1:-1;101557:17:0;101577:16;:6;101518:28;101577:10;:16::i;:::-;101557:36;-1:-1:-1;101896:21:0;101962:22;101979:4;101962:16;:22::i;:::-;102115:18;102136:41;:21;102162:14;102136:25;:41::i;:::-;102115:62;;102227:35;102240:9;102251:10;102227:12;:35::i;:::-;102280:43;;;19188:25:1;;;19244:2;19229:18;;19222:34;;;19272:18;;;19265:34;;;102280:43:0;;19176:2:1;19161:18;102280:43:0;;;;;;;101408:923;;;;;:::o;104005:455::-;104070:25;104088:6;104070:17;:25::i;:::-;104133:11;;104126:44;;-1:-1:-1;;;104126:44:0;;104164:4;104126:44;;;5035:51:1;104106:17:0;;-1:-1:-1;;;;;104133:11:0;;104126:29;;5008:18:1;;104126:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;104203:11;;104247:15;;104196:102;;-1:-1:-1;;;104196:102:0;;-1:-1:-1;;;;;104247:15:0;;;104196:102;;;5592:51:1;5659:18;;;5652:34;;;104106:64:0;;-1:-1:-1;104181:12:0;;104203:11;;;104196:28;;5565:18:1;;104196:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;104181:117;;104315:7;104311:142;;;104339:15;;:50;;-1:-1:-1;;;104339:50:0;;;;;17709:25:1;;;-1:-1:-1;;;;;104339:15:0;;;;:39;;17682:18:1;;104339:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;104409:32:0;;;18907:25:1;;;18963:2;18948:18;;18941:34;;;104409:32:0;;-1:-1:-1;18880:18:1;;-1:-1:-1;104409:32:0;18862:119:1;22243:98:0;22301:7;22328:5;22332:1;22328;:5;:::i;102936:537::-;103027:16;;;103041:1;103027:16;;;;;;;;;103003:21;;103027:16;;;;;;;;;;-1:-1:-1;103027:16:0;103003:40;;103072:4;103054;103059:1;103054:7;;;;;;-1:-1:-1;;;103054:7:0;;;;;;;;;-1:-1:-1;;;;;103054:23:0;;;:7;;;;;;;;;;:23;;;;103098:15;;:22;;;-1:-1:-1;;;103098:22:0;;;;:15;;;;;:20;;:22;;;;;103054:7;;103098:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;103088:4;103093:1;103088:7;;;;;;-1:-1:-1;;;103088:7:0;;;;;;;;;-1:-1:-1;;;;;103088:32:0;;;:7;;;;;;;;;:32;103141:11;;103131:7;;103141:11;;;103131:4;;103136:1;;103131:7;;;;-1:-1:-1;;;103131:7:0;;;;;;;;;-1:-1:-1;;;;;103131:21:0;;;:7;;;;;;;;;:21;103197:15;;103165:62;;103182:4;;103197:15;103215:11;103165:8;:62::i;:::-;103266:15;;:199;;-1:-1:-1;;;103266:199:0;;-1:-1:-1;;;;;103266:15:0;;;;:69;;:199;;103350:11;;103266:15;;103392:4;;103419;;103439:15;;103266:199;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102339:589;102489:16;;;102503:1;102489:16;;;;;;;;102465:21;;102489:16;;;;;;;;;;-1:-1:-1;102489:16:0;102465:40;;102534:4;102516;102521:1;102516:7;;;;;;-1:-1:-1;;;102516:7:0;;;;;;;;;-1:-1:-1;;;;;102516:23:0;;;:7;;;;;;;;;;:23;;;;102560:15;;:22;;;-1:-1:-1;;;102560:22:0;;;;:15;;;;;:20;;:22;;;;;102516:7;;102560:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;102550:4;102555:1;102550:7;;;;;;-1:-1:-1;;;102550:7:0;;;;;;;;;-1:-1:-1;;;;;102550:32:0;;;:7;;;;;;;;;:32;102627:15;;102595:62;;102612:4;;102627:15;102645:11;102595:8;:62::i;:::-;102696:15;;:224;;-1:-1:-1;;;102696:224:0;;-1:-1:-1;;;;;102696:15:0;;;;:66;;:224;;102777:11;;102696:15;;102847:4;;102874;;102894:15;;102696:224;;;:::i;103481:516::-;103661:15;;103629:62;;103646:4;;-1:-1:-1;;;;;103661:15:0;103679:11;103629:8;:62::i;:::-;103734:15;;:255;;-1:-1:-1;;;103734:255:0;;103806:4;103734:255;;;7332:34:1;7382:18;;;7375:34;;;103734:15:0;7425:18:1;;;7418:34;;;7468:18;;;7461:34;;;7511:19;;;7504:44;103963:15:0;7564:19:1;;;7557:35;-1:-1:-1;;;;;103734:15:0;;;;:31;;103773:9;;7266:19:1;;103734:255:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;14:257:1:-;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;812:398::-;880:6;888;941:2;929:9;920:7;916:23;912:32;909:2;;;962:6;954;947:22;909:2;1006:9;993:23;1025:31;1050:5;1025:31;:::i;:::-;1075:5;-1:-1:-1;1132:2:1;1117:18;;1104:32;1145:33;1104:32;1145:33;:::i;:::-;1197:7;1187:17;;;899:311;;;;;:::o;1215:466::-;1292:6;1300;1308;1361:2;1349:9;1340:7;1336:23;1332:32;1329:2;;;1382:6;1374;1367:22;1329:2;1426:9;1413:23;1445:31;1470:5;1445:31;:::i;:::-;1495:5;-1:-1:-1;1552:2:1;1537:18;;1524:32;1565:33;1524:32;1565:33;:::i;:::-;1319:362;;1617:7;;-1:-1:-1;;;1671:2:1;1656:18;;;;1643:32;;1319:362::o;1686:392::-;1751:6;1759;1812:2;1800:9;1791:7;1787:23;1783:32;1780:2;;;1833:6;1825;1818:22;1780:2;1877:9;1864:23;1896:31;1921:5;1896:31;:::i;:::-;1946:5;-1:-1:-1;2003:2:1;1988:18;;1975:32;2016:30;1975:32;2016:30;:::i;2083:691::-;2214:6;2222;2230;2238;2246;2254;2262;2270;2323:3;2311:9;2302:7;2298:23;2294:33;2291:2;;;2345:6;2337;2330:22;2291:2;2382:9;2376:16;2401:31;2426:5;2401:31;:::i;:::-;2451:5;2441:15;;;2496:2;2485:9;2481:18;2475:25;2465:35;;2540:2;2529:9;2525:18;2519:25;2509:35;;2584:2;2573:9;2569:18;2563:25;2553:35;;2628:3;2617:9;2613:19;2607:26;2597:36;;2673:3;2662:9;2658:19;2652:26;2642:36;;2718:3;2707:9;2703:19;2697:26;2687:36;;2763:3;2752:9;2748:19;2742:26;2732:36;;2281:493;;;;;;;;;;;:::o;2779:325::-;2847:6;2855;2908:2;2896:9;2887:7;2883:23;2879:32;2876:2;;;2929:6;2921;2914:22;2876:2;2973:9;2960:23;2992:31;3017:5;2992:31;:::i;:::-;3042:5;3094:2;3079:18;;;;3066:32;;-1:-1:-1;;;2866:238:1:o;3109:800::-;3201:6;3209;3217;3270:2;3258:9;3249:7;3245:23;3241:32;3238:2;;;3291:6;3283;3276:22;3238:2;3336:9;3323:23;3365:18;3406:2;3398:6;3395:14;3392:2;;;3427:6;3419;3412:22;3392:2;3470:6;3459:9;3455:22;3445:32;;3515:7;3508:4;3504:2;3500:13;3496:27;3486:2;;3542:6;3534;3527:22;3486:2;3587;3574:16;3613:2;3605:6;3602:14;3599:2;;;3634:6;3626;3619:22;3599:2;3694:7;3687:4;3677:6;3674:1;3670:14;3666:2;3662:23;3658:34;3655:47;3652:2;;;3720:6;3712;3705:22;3652:2;3756:4;3748:13;;;;-1:-1:-1;3780:6:1;-1:-1:-1;;3821:20:1;;3808:34;3851:28;3808:34;3851:28;:::i;:::-;3898:5;3888:15;;;3228:681;;;;;:::o;3914:255::-;3981:6;4034:2;4022:9;4013:7;4009:23;4005:32;4002:2;;;4055:6;4047;4040:22;4002:2;4092:9;4086:16;4111:28;4133:5;4111:28;:::i;4174:190::-;4233:6;4286:2;4274:9;4265:7;4261:23;4257:32;4254:2;;;4307:6;4299;4292:22;4254:2;-1:-1:-1;4335:23:1;;4244:120;-1:-1:-1;4244:120:1:o;4369:194::-;4439:6;4492:2;4480:9;4471:7;4467:23;4463:32;4460:2;;;4513:6;4505;4498:22;4460:2;-1:-1:-1;4541:16:1;;4450:113;-1:-1:-1;4450:113:1:o;4568:316::-;4656:6;4664;4672;4725:2;4713:9;4704:7;4700:23;4696:32;4693:2;;;4746:6;4738;4731:22;4693:2;4780:9;4774:16;4764:26;;4830:2;4819:9;4815:18;4809:25;4799:35;;4874:2;4863:9;4859:18;4853:25;4843:35;;4683:201;;;;;:::o;7603:797::-;7825:2;7837:21;;;7810:18;;7893:22;;;7777:4;7972:6;7946:2;7931:18;;7777:4;8009:304;8023:6;8020:1;8017:13;8009:304;;;8098:6;8085:20;8118:31;8143:5;8118:31;:::i;:::-;-1:-1:-1;;;;;8174:31:1;8162:44;;8229:4;8288:15;;;;8253:12;;;;8202:1;8038:9;8009:304;;;8013:3;8330;8322:11;;;;8385:6;8378:14;8371:22;8364:4;8353:9;8349:20;8342:52;7786:614;;;;;;:::o;9073:603::-;9185:4;9214:2;9243;9232:9;9225:21;9275:6;9269:13;9318:6;9313:2;9302:9;9298:18;9291:34;9343:4;9356:140;9370:6;9367:1;9364:13;9356:140;;;9465:14;;;9461:23;;9455:30;9431:17;;;9450:2;9427:26;9420:66;9385:10;;9356:140;;;9514:6;9511:1;9508:13;9505:2;;;9584:4;9579:2;9570:6;9559:9;9555:22;9551:31;9544:45;9505:2;-1:-1:-1;9660:2:1;9639:15;-1:-1:-1;;9635:29:1;9620:45;;;;9667:2;9616:54;;9194:482;-1:-1:-1;;;9194:482:1:o;9681:399::-;9883:2;9865:21;;;9922:2;9902:18;;;9895:30;9961:34;9956:2;9941:18;;9934:62;-1:-1:-1;;;10027:2:1;10012:18;;10005:33;10070:3;10055:19;;9855:225::o;14234:356::-;14436:2;14418:21;;;14455:18;;;14448:30;14514:34;14509:2;14494:18;;14487:62;14581:2;14566:18;;14408:182::o;15432:401::-;15634:2;15616:21;;;15673:2;15653:18;;;15646:30;15712:34;15707:2;15692:18;;15685:62;-1:-1:-1;;;15778:2:1;15763:18;;15756:35;15823:3;15808:19;;15606:227::o;17745:983::-;18007:4;18055:3;18044:9;18040:19;18086:6;18075:9;18068:25;18112:2;18150:6;18145:2;18134:9;18130:18;18123:34;18193:3;18188:2;18177:9;18173:18;18166:31;18217:6;18252;18246:13;18283:6;18275;18268:22;18321:3;18310:9;18306:19;18299:26;;18360:2;18352:6;18348:15;18334:29;;18381:4;18394:195;18408:6;18405:1;18402:13;18394:195;;;18473:13;;-1:-1:-1;;;;;18469:39:1;18457:52;;18564:15;;;;18529:12;;;;18505:1;18423:9;18394:195;;;-1:-1:-1;;;;;;;18645:32:1;;;;18640:2;18625:18;;18618:60;-1:-1:-1;;;18709:3:1;18694:19;18687:35;18606:3;18016:712;-1:-1:-1;;;18016:712:1:o;19895:128::-;19935:3;19966:1;19962:6;19959:1;19956:13;19953:2;;;19972:18;;:::i;:::-;-1:-1:-1;20008:9:1;;19943:80::o;20028:217::-;20068:1;20094;20084:2;;-1:-1:-1;;;20119:31:1;;20173:4;20170:1;20163:15;20201:4;20126:1;20191:15;20084:2;-1:-1:-1;20230:9:1;;20074:171::o;20250:168::-;20290:7;20356:1;20352;20348:6;20344:14;20341:1;20338:21;20333:1;20326:9;20319:17;20315:45;20312:2;;;20363:18;;:::i;:::-;-1:-1:-1;20403:9:1;;20302:116::o;20423:125::-;20463:4;20491:1;20488;20485:8;20482:2;;;20496:18;;:::i;:::-;-1:-1:-1;20533:9:1;;20472:76::o;20553:380::-;20632:1;20628:12;;;;20675;;;20696:2;;20750:4;20742:6;20738:17;20728:27;;20696:2;20803;20795:6;20792:14;20772:18;20769:38;20766:2;;;20849:10;20844:3;20840:20;20837:1;20830:31;20884:4;20881:1;20874:15;20912:4;20909:1;20902:15;20766:2;;20608:325;;;:::o;20938:135::-;20977:3;-1:-1:-1;;20998:17:1;;20995:2;;;21018:18;;:::i;:::-;-1:-1:-1;21065:1:1;21054:13;;20985:88::o;21078:127::-;21139:10;21134:3;21130:20;21127:1;21120:31;21170:4;21167:1;21160:15;21194:4;21191:1;21184:15;21210:131;-1:-1:-1;;;;;21285:31:1;;21275:42;;21265:2;;21331:1;21328;21321:12;21346:118;21432:5;21425:13;21418:21;21411:5;21408:32;21398:2;;21454:1;21451;21444:12

Swarm Source

ipfs://0543b0af3d999f61068ae73dcb4df8aa4822607175c7d0aea3d0a8872afca67a
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.