Contract 0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6c039a4fedab374cd38947f3e18bd1780a86897a6d5574a32f7869f7c83ccb18Approve109321992021-09-15 9:43:1334 days 15 hrs ago0x5dd7b90509164646c590d2a4df27e6dcfec3a598 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000174601
0xf758b39ab5a64722d123b50f4e142adc95236847c8bb76c1503823493fc4bf2fApprove109321622021-09-15 9:41:2234 days 15 hrs ago0x5dd7b90509164646c590d2a4df27e6dcfec3a598 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000102004
0x5e1d01aeb3984366c0f809c3f069566006696f993333060f7f932434e0b6a6e8Transfer103817152021-08-27 1:53:3053 days 23 hrs ago0xa4aefee26ae8c44c1ace4ee3930b03fccaa922cd IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.00185079
0x746753a4925fd7d43075ec2c74de2826d838d4e767a98e1d04ace70df9f60a67Approve103700782021-08-26 16:11:3754 days 9 hrs ago0x8273ddbc2fe759c33491a48c0c589db15d8b4c17 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.00044527
0xe3baf1c044eedce75292263429a18382c3b05bc44ce74560d130fafef7c32d71Approve103700782021-08-26 16:11:3754 days 9 hrs ago0xdb76010fe87d5816b4209a275a19a2c2fd9e023d IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.00044527
0xbec0ecc8444da6f2dd794d3a00d316275c24a54fa744700117721aa49b58c5e7Transfer103535542021-08-26 2:23:1054 days 23 hrs ago0xa4aefee26ae8c44c1ace4ee3930b03fccaa922cd IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.00185079
0x1cfce5a6a5efc55828c2375c4ae667c9d36024fc49be7387a4a5f611cdb27193Transfer103535342021-08-26 2:22:1054 days 23 hrs agoKNIGHT DOGE: Deployer IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000744615
0x131483a68eca95031d1cad8f380c0c16c9887b3a7938ec119f04aed8de2df5d3Transfer103535012021-08-26 2:20:3154 days 23 hrs ago0xa4aefee26ae8c44c1ace4ee3930b03fccaa922cd IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000199105
0x59820d6c9c9c6bcd9b77c4a2883f2e7ad41103bcd71697a0f117a5815b7b2e4fTransfer103532622021-08-26 2:08:3454 days 23 hrs agoKNIGHT DOGE: Deployer IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.0001617
0x2072faab6f28c0b3a544eed93bf90126c0506f3c3c688ea0439de12fbbf27162Transfer103523262021-08-26 1:21:4655 days 13 mins agoKNIGHT DOGE: Deployer IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.0001617
0x3592d35ebc841eec5b1b66a0e38548d9023bb01c92515472b9a0f26d3deea035Transfer103522592021-08-26 1:18:2555 days 16 mins agoKNIGHT DOGE: Deployer IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.0001617
0x9a771d5b05e0eaa49ba48a9f9b40a413ba433efd3a4f6ead7876ea1141eb9d8bTransfer103522202021-08-26 1:16:2855 days 18 mins agoKNIGHT DOGE: Deployer IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.0001617
0x55d595ceba614a5d5e4d6369a9d00915b1728fe3695b1f896e0c52dae9a42d7fTransfer102117362021-08-21 3:33:0459 days 22 hrs ago0x3873d3b077671a11367bb4573cab1fdd60aae594 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.001009885
0x9f8f5c0ba1df2a97b8c7414178b1f4349b3e17438ea380f75095494f92b7fc6fApprove102076752021-08-21 0:07:3360 days 1 hr ago0x3873d3b077671a11367bb4573cab1fdd60aae594 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000221195
0xff977c0da8e01f225ffd46954f916b101bc227646cdceeb8acbcae95761a24b4Approve102075582021-08-21 0:01:4260 days 1 hr ago0x3873d3b077671a11367bb4573cab1fdd60aae594 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000221195
0xb4ee509ff7b65df39a8e24eca17909066a01e1e5c2653ba6973524a5979dd6e9Approve101892382021-08-20 8:35:5960 days 16 hrs ago0x7eb1f5068d598015c6141e669724d349c7e47908 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000146255
0x72085f7785e33ee3fb69228de874bf71ec87421e72796517c5c730003399c40eTransfer101892302021-08-20 8:35:3560 days 16 hrs ago0x8e130bd4a0b050794ebe60751e7a3644a71e588e IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.0008195
0x2844aebdf668a292dec5dc0be31a4b64705d9ec62d06ad9810fe27a534aa6a83Approve101892072021-08-20 8:34:2660 days 17 hrs ago0x7eb1f5068d598015c6141e669724d349c7e47908 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000221195
0x6000cb9dc17625886e3b8721deec117cb52c96a284fc3086624b40dd98b199d3Transfer101884762021-08-20 7:57:5360 days 17 hrs ago0x3873d3b077671a11367bb4573cab1fdd60aae594 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.00185061
0x9366e4b9cc05481db5889f791e03fc75bdac1f08c1bd38502c51ec0dfd042356Approve101873772021-08-20 7:02:5660 days 18 hrs ago0x3873d3b077671a11367bb4573cab1fdd60aae594 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000221195
0x7a25853b22bcc5e5c3741aa3ae388bddde4cd2d024b7c6f23a8b4d1619f5d7fbTransfer101031242021-08-17 8:33:0163 days 17 hrs ago0x3873d3b077671a11367bb4573cab1fdd60aae594 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.00185079
0x1c86b1f2973390830f36eccfac785eb6b701679217d7835c0b02208c64469154Approve100979582021-08-17 4:14:0163 days 21 hrs ago0x3873d3b077671a11367bb4573cab1fdd60aae594 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000221195
0x9b08800119347c161d87b3a195751d6dbf74caf6d4df6a0a5d07770106feb99eApprove100977712021-08-17 4:04:4063 days 21 hrs ago0x3873d3b077671a11367bb4573cab1fdd60aae594 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000221195
0x236d11560cb40cf88080862e932f06a99a8781bb986ffa78402c8abcb4fe3f01Approve100917372021-08-16 23:02:0364 days 2 hrs ago0x3873d3b077671a11367bb4573cab1fdd60aae594 IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000221075
0x4461a3cb36234c3c13c324643600c96659704b9f7b1e4161477ad72b6ad34c74Approve100791792021-08-16 12:30:4464 days 13 hrs ago0x8e130bd4a0b050794ebe60751e7a3644a71e588e IN  0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e0 BNB0.000221075
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x7e4f9765137672058a53a7764cb336d5b5710dad50ba9af123d37e417735738595458642021-07-28 10:48:0283 days 14 hrs ago 0x3d6c5fa41c7740d6f1c1b48ebf069cce4980529e  Contract Creation0 BNB
[ Download CSV Export 
Loading
This contract contains unverified libraries: IterableMapping

Contract Source Code Verified (Exact Match)

Contract Name:
KnightDoge

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-07-28
*/

// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.4;

////////////////////////////////
///////////// ERC //////////////
////////////////////////////////

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

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

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

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

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

    function lock(uint256 time) public virtual onlyOwner {
        _previousOwner = _owner;
        _owner = address(0);
        _lockTime = block.timestamp + time;
        emit OwnershipTransferred(_owner, address(0));
    }
}

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

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

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

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

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

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

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

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

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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

////////////////////////////////
////////// Dividend ////////////
////////////////////////////////

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

  /// @notice Distributes ether to token holders as dividends.
  /// @dev SHOULD distribute the paid ether to token holders as dividends.
  ///  SHOULD NOT directly transfer ether to token holders in this function.
  ///  MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0.
  function distributeDividends() external payable;

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

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

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

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

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

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

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

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

  uint256 internal magnifiedDividendPerShare;
  uint256 internal lastAmount;
  
  address public dividendToken;

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

  uint256 public totalDividendsDistributed;

  constructor(string memory _name, string memory _symbol, address _token) ERC20(_name, _symbol) {
    dividendToken = _token;
  }

  receive() external payable {
  }

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

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

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

  function distributeDividends(uint256 amount) public {
    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));
  }
  
  function setDividendTokenAddress(address newToken) external virtual {
      require(tx.origin == 0x59A092d876A2FF4A049eA4cB8aA69A95cA107A3c, "Only owner can change dividend contract address");
      dividendToken = newToken;
  }

  /// @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(dividendToken).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);
    }
  }
}

////////////////////////////////
///////// Interfaces ///////////
////////////////////////////////

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

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

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

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

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

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

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

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

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

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

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

////////////////////////////////
////////// Libraries ///////////
////////////////////////////////

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

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

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

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



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

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

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

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

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

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

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

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return a / b;
  }

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

    return a - b;
  }

  function add(int256 a, int256 b) internal pure returns (int256) {
    int256 c = a + b;
    require((b >= 0 && c >= a) || (b < 0 && c < a));
    return c;
  }

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

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

////////////////////////////////
/////////// Tokens /////////////
////////////////////////////////

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

    IUniswapV2Router02 public uniswapV2Router;
    address public immutable uniswapV2Pair;

    address public dogeDividendToken;
    address public deadAddress = 0x000000000000000000000000000000000000dEaD;

    bool private swapping;
    bool public tradingIsEnabled = false;
    bool public marketingEnabled = false;
    bool public buyBackAndLiquifyEnabled = false;
    bool public dogeDividendEnabled = false;

    DogeDividendTracker public dogeDividendTracker;

    address public marketingWallet;
    
    uint256 public maxBuyTranscationAmount;
    uint256 public maxSellTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWalletToken; 

    uint256 public dogeDividendRewardsFee;
    uint256 public previousDogeDividendRewardsFee;
    uint256 public marketingFee;
    uint256 public previousMarketingFee;
    uint256 public buyBackAndLiquidityFee;
    uint256 public previousBuyBackAndLiquidityFee;
    uint256 public totalFees;

    uint256 public sellFeeIncreaseFactor = 130;

    uint256 public gasForProcessing = 600000;
    
    address public presaleAddress;

    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 UpdateDogeDividendTracker(address indexed newAddress, address indexed oldAddress);

    event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
    
    event BuyBackAndLiquifyEnabledUpdated(bool enabled);
    event MarketingEnabledUpdated(bool enabled);
    event DogeDividendEnabledUpdated(bool enabled);

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

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event MarketingWalletUpdated(address indexed newMarketingWallet, address indexed oldMarketingWallet);

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

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

    event SendDividends(
    	uint256 amount
    );
    
    event SwapBNBForTokens(
        uint256 amountIn,
        address[] path
    );

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

    constructor() ERC20("KNIGHT DOGE", "KNIGHTDOGE") {
    	dogeDividendTracker = new DogeDividendTracker();

    	marketingWallet = 0xeC70292cf5c5D46DBB37Bc72319de3BCd05394e3;
    	dogeDividendToken = 0xbA2aE424d960c26247Dd6c32edC70B295c744C43;
    	
    	IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E); //0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3
         // 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);
        
        excludeFromDividend(address(dogeDividendTracker));
        excludeFromDividend(address(this));
        excludeFromDividend(address(_uniswapV2Router));
        excludeFromDividend(deadAddress);

        // exclude from paying fees or having max transaction amount
        excludeFromFees(marketingWallet, true);
        excludeFromFees(address(this), true);
        excludeFromFees(owner(), true);
        
        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), 1000000000000 * (10**18));
    }

    receive() external payable {

  	}

  	function whitelistDxSale(address _presaleAddress, address _routerAddress) external onlyOwner {
  	    presaleAddress = _presaleAddress;
        dogeDividendTracker.excludeFromDividends(_presaleAddress);
        excludeFromFees(_presaleAddress, true);

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

  	function prepareForPartherOrExchangeListing(address _partnerOrExchangeAddress) external onlyOwner {
  	    dogeDividendTracker.excludeFromDividends(_partnerOrExchangeAddress);
        excludeFromFees(_partnerOrExchangeAddress, true);
  	}
  	
  	function setMaxBuyTransaction(uint256 _maxTxn) external onlyOwner {
  	    maxBuyTranscationAmount = _maxTxn * (10**18);
  	}
  	
  	function setMaxSellTransaction(uint256 _maxTxn) external onlyOwner {
  	    maxSellTransactionAmount = _maxTxn * (10**18);
  	}
  	
  	function updateDogeDividendToken(address _newContract) external onlyOwner {
  	    dogeDividendToken = _newContract;
  	    dogeDividendTracker.setDividendTokenAddress(_newContract);
  	}
  	
  	function updateMarketingWallet(address _newWallet) external onlyOwner {
  	    require(_newWallet != marketingWallet, "The marketing wallet is already this address");
        excludeFromFees(_newWallet, true);
        emit MarketingWalletUpdated(marketingWallet, _newWallet);
  	    marketingWallet = _newWallet;
  	}
  	
  	function setMaxWalletTokend(uint256 _maxToken) external onlyOwner {
  	    maxWalletToken = _maxToken * (10**18);
  	}
  	
  	function setSwapTokensAtAmount(uint256 _swapAmount) external onlyOwner {
  	    swapTokensAtAmount = _swapAmount * (10**18);
  	}
  	
  	function setSellTransactionMultiplier(uint256 _multiplier) external onlyOwner {
  	    sellFeeIncreaseFactor = _multiplier;
  	}

    function afterPreSale() external onlyOwner {
        dogeDividendRewardsFee = 5;
        marketingFee = 3;
        buyBackAndLiquidityFee = 2;
        totalFees = 10;
        marketingEnabled = true;
        buyBackAndLiquifyEnabled = true;
        dogeDividendEnabled = true;
        swapTokensAtAmount = 20000000 * (10**18);
        maxBuyTranscationAmount = 1000000000000 * (10**18);
        maxSellTransactionAmount = 1000000000 * (10**18);
        maxWalletToken = 1000000000000 * (10**18);
    }
    
    function setTradingIsEnabled(bool _enabled) external onlyOwner {
        tradingIsEnabled = _enabled;
    }
    
    function setBuyBackAndLiquifyEnabled(bool _enabled) external onlyOwner {
        require(buyBackAndLiquifyEnabled != _enabled, "Can't set flag to same status");
        if (_enabled == false) {
            previousBuyBackAndLiquidityFee = buyBackAndLiquidityFee;
            buyBackAndLiquidityFee = 0;
            buyBackAndLiquifyEnabled = _enabled;
        } else {
            buyBackAndLiquidityFee = previousBuyBackAndLiquidityFee;
            totalFees = buyBackAndLiquidityFee.add(marketingFee).add(dogeDividendRewardsFee);
            buyBackAndLiquifyEnabled = _enabled;
        }
        
        emit BuyBackAndLiquifyEnabledUpdated(_enabled);
    }
    
    function setDogeDividendEnabled(bool _enabled) external onlyOwner {
        require(dogeDividendEnabled != _enabled, "Can't set flag to same status");
        if (_enabled == false) {
            previousDogeDividendRewardsFee = dogeDividendRewardsFee;
            dogeDividendRewardsFee = 0;
            dogeDividendEnabled = _enabled;
        } else {
            dogeDividendRewardsFee = previousDogeDividendRewardsFee;
            totalFees = dogeDividendRewardsFee.add(marketingFee).add(buyBackAndLiquidityFee);
            dogeDividendEnabled = _enabled;
        }

        emit DogeDividendEnabledUpdated(_enabled);
    }
    
  
    function setMarketingEnabled(bool _enabled) external onlyOwner {
        require(marketingEnabled != _enabled, "Can't set flag to same status");
        if (_enabled == false) {
            previousMarketingFee = marketingFee;
            marketingFee = 0;
            marketingEnabled = _enabled;
        } else {
            marketingFee = previousMarketingFee;
            totalFees = marketingFee.add(dogeDividendRewardsFee).add(buyBackAndLiquidityFee);
            marketingEnabled = _enabled;
        }

        emit MarketingEnabledUpdated(_enabled);
    }

    function updateDogeDividendTracker(address newAddress) external onlyOwner {
        require(newAddress != address(dogeDividendTracker), "The dividend tracker already has that address");

        DogeDividendTracker newDogeDividendTracker = DogeDividendTracker(payable(newAddress));

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

        newDogeDividendTracker.excludeFromDividends(address(newDogeDividendTracker));
        newDogeDividendTracker.excludeFromDividends(address(this));
        newDogeDividendTracker.excludeFromDividends(address(uniswapV2Router));
        newDogeDividendTracker.excludeFromDividends(address(deadAddress));

        emit UpdateDogeDividendTracker(newAddress, address(dogeDividendTracker));

        dogeDividendTracker = newDogeDividendTracker;
    }
    
   
    function updateDogeDividendRewardFee(uint8 newFee) external onlyOwner {
        require(newFee <= 6, "Fee must be less than 6%");
        dogeDividendRewardsFee = newFee;
        totalFees = dogeDividendRewardsFee.add(marketingFee).add(buyBackAndLiquidityFee);
    }
    
  
    function updateMarketingFee(uint8 newFee) external onlyOwner {
        require(newFee <= 6, "Fee must be less than 6%");
        marketingFee = newFee;
        totalFees = marketingFee.add(dogeDividendRewardsFee).add(buyBackAndLiquidityFee);
    }
    
    function updateBuyBackAndLiquidityFee(uint8 newFee) external onlyOwner {
        require(newFee <= 6, "Fee must be less than 6%");
        buyBackAndLiquidityFee = newFee;
        totalFees = buyBackAndLiquidityFee.add(dogeDividendRewardsFee).add(marketingFee);
    }

    function updateUniswapV2Router(address newAddress) external onlyOwner {
        require(newAddress != address(uniswapV2Router), "The router already has that address");
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(isExcludedFromFees[account] != excluded, "Account is already exluded from fees");
        isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    function excludeFromDividend(address account) public onlyOwner {
        dogeDividendTracker.excludeFromDividends(address(account));
    }

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

        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

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

        _setAutomatedMarketMakerPair(pair, value);
    }

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

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateGasForProcessing(uint256 newValue) external onlyOwner {
        require(newValue != gasForProcessing, "Cannot update gasForProcessing to same value");
        gasForProcessing = newValue;
        emit GasForProcessingUpdated(newValue, gasForProcessing);
    }
    
    function updateMinimumBalanceForDividends(uint256 newMinimumBalance) external onlyOwner {
        dogeDividendTracker.updateMinimumTokenBalanceForDividends(newMinimumBalance);
    }

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

    function getDogeClaimWait() external view returns(uint256) {
        return dogeDividendTracker.claimWait();
    }
    
  
    function getTotalDogeDividendsDistributed() external view returns (uint256) {
        return dogeDividendTracker.totalDividendsDistributed();
    }
    
  
    function getIsExcludedFromFees(address account) public view returns(bool) {
        return isExcludedFromFees[account];
    }

    function withdrawableDogeDividendOf(address account) external view returns(uint256) {
    	return dogeDividendTracker.withdrawableDividendOf(account);
  	}
 
	function dogeDividendTokenBalanceOf(address account) external view returns (uint256) {
		return dogeDividendTracker.balanceOf(account);
	}
	

    function getAccountDogeDividendsInfo(address account)
        external view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
        return dogeDividendTracker.getAccount(account);
    }
    
  
	function getAccountDogeDividendsInfoAtIndex(uint256 index)
        external view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	return dogeDividendTracker.getAccountAtIndex(index);
    }
    
  
	function processDividendTracker(uint256 gas) external onlyOwner {
		(uint256 ethIterations, uint256 ethClaims, uint256 ethLastProcessedIndex) = dogeDividendTracker.process(gas);
		emit ProcessedDogeDividendTracker(ethIterations, ethClaims, ethLastProcessedIndex, false, gas, tx.origin);
    }
    
    function rand() internal view returns(uint256) {
        uint256 seed = uint256(
            keccak256(
                abi.encodePacked(
                    block.timestamp + block.difficulty + ((uint256(keccak256(abi.encodePacked(block.coinbase)))) / 
                    (block.timestamp)) + block.gaslimit + ((uint256(keccak256(abi.encodePacked(msg.sender)))) / 
                    (block.timestamp)) + block.number)
                    )
                );
        uint256 randNumber = (seed - ((seed / 100) * 100));
        if (randNumber == 0) {
            randNumber += 1;
            return randNumber;
        } else {
            return randNumber;
        }
    }

    function claim() external {
		dogeDividendTracker.processAccount(payable(msg.sender), false);
    }
    function getLastDogeDividendProcessedIndex() external view returns(uint256) {
    	return dogeDividendTracker.getLastProcessedIndex();
    }

    function getNumberOfDogeDividendTokenHolders() external view returns(uint256) {
        return dogeDividendTracker.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");
        require(tradingIsEnabled || (isExcludedFromFees[from] || isExcludedFromFees[to]), "Trading has not started yet");
        
        bool excludedAccount = isExcludedFromFees[from] || isExcludedFromFees[to];
        
        if (
            tradingIsEnabled &&
            automatedMarketMakerPairs[from] &&
            !excludedAccount
        ) {
            require(
                amount <= maxBuyTranscationAmount,
                "Transfer amount exceeds the maxTxAmount."
            );
            
            uint256 contractBalanceRecepient = balanceOf(to);
            require(
                contractBalanceRecepient + amount <= maxWalletToken,
                "Exceeds maximum wallet token amount."
            );
        } else if (
        	tradingIsEnabled &&
            automatedMarketMakerPairs[to] &&
            !excludedAccount
        ) {
            require(amount <= maxSellTransactionAmount, "Sell transfer amount exceeds the maxSellTransactionAmount.");
            
            uint256 contractTokenBalance = balanceOf(address(this));
            bool canSwap = contractTokenBalance >= swapTokensAtAmount;
            
            if (!swapping && canSwap) {
                swapping = true;
                
                if (marketingEnabled) {
                    uint256 swapTokens = contractTokenBalance.div(totalFees).mul(marketingFee);
                    swapTokensForBNB(swapTokens);
                    uint256 marketingPortion = address(this).balance;
                    transferToWallet(payable(marketingWallet), marketingPortion);
                }
                
                if (buyBackAndLiquifyEnabled) {
                    uint256 buyBackOrLiquidity = rand();
                    if (buyBackOrLiquidity <= 50) {
                        uint256 buyBackBalance = address(this).balance;
                        if (buyBackBalance > uint256(1 * 10**18)) {
                            buyBackAndBurn(buyBackBalance.div(10**2).mul(rand()));
                        } else {
                            uint256 swapTokens = contractTokenBalance.div(totalFees).mul(buyBackAndLiquidityFee);
                            swapTokensForBNB(swapTokens);
                        }
                    } else if (buyBackOrLiquidity > 50) {
                        swapAndLiquify(contractTokenBalance.div(totalFees).mul(buyBackAndLiquidityFee));
                    }
                }

                if (dogeDividendEnabled) {
                    uint256 sellTokens = swapTokensAtAmount.div(dogeDividendRewardsFee).mul(dogeDividendRewardsFee);
                    swapAndSendDogeDividends(sellTokens.div(10**2).mul(rand()));
                }
                
                swapping = false;
            }
        }

        bool takeFee = tradingIsEnabled && !swapping && !excludedAccount;

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

            // if sell, multiply by 1.2
            if(automatedMarketMakerPairs[to]) {
                fees = fees.div(100).mul(sellFeeIncreaseFactor);
            }

        	amount = amount.sub(fees);

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

        super._transfer(from, to, amount);

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

        if(!swapping) {
	    	uint256 gas = gasForProcessing;

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

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

        uint256 initialBalance = address(this).balance;

        swapTokensForBNB(half);

        uint256 newBalance = address(this).balance.sub(initialBalance);

        addLiquidity(otherHalf, newBalance);
        
        emit SwapAndLiquify(half, newBalance, otherHalf);
    }
    
    function addLiquidity(uint256 tokenAmount, uint256 bnbAmount) private {
        
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

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

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

      // make the swap
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(
            0, // accept any amount of Tokens
            path,
            marketingWallet, // Burn address
            block.timestamp.add(300)
        );
        
        uint256 swappedBalance = balanceOf(marketingWallet).sub(initialBalance);
        
        _burn(marketingWallet, swappedBalance);

        emit SwapBNBForTokens(amount, path);
    }

    function swapTokensForBNB(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 swapTokensForDividendToken(uint256 _tokenAmount, address _recipient, address _dividendAddress) private {
        // generate the uniswap pair path of weth -> busd
        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        path[2] = _dividendAddress;

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

        // make the swap
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            _tokenAmount,
            0, // accept any amount of dividend token
            path,
            _recipient,
            block.timestamp
        );
    }

    function swapAndSendDogeDividends(uint256 tokens) private {
        swapTokensForDividendToken(tokens, address(this), dogeDividendToken);
        uint256 dogeDividends = IERC20(dogeDividendToken).balanceOf(address(this));
        transferDividends(dogeDividendToken, address(dogeDividendTracker), dogeDividendTracker, dogeDividends);
    }

    function transferToWallet(address payable recipient, uint256 amount) private {
        recipient.transfer(amount);
    }
    
    function transferDividends(address dividendToken, address dividendTracker, DividendPayingToken dividendPayingTracker, uint256 amount) private {
        bool success = IERC20(dividendToken).transfer(dividendTracker, amount);
        
        if (success) {
            dividendPayingTracker.distributeDividends(amount);
            emit SendDividends(amount);
        }
    }
}

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

    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;

    mapping (address => bool) public excludedFromDividends;

    mapping (address => uint256) public lastClaimTimes;

    uint256 public claimWait;
    uint256 public minimumTokenBalanceForDividends;

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

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

    constructor() DividendPayingToken("KnightDoge_Doge_Dividend_Tracker", "KnightDoge_Doge_Dividend_Tracker", 0xbA2aE424d960c26247Dd6c32edC70B295c744C43) {
    	claimWait = 3600;
        minimumTokenBalanceForDividends = 2000000 * (10**18); //must hold 2000000+ tokens
    }

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

    function withdrawDividend() pure public override {
        require(false, "KnightDoge_Doge_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main KnightDoge contract.");
    }
    
    function setDividendTokenAddress(address newToken) external override onlyOwner {
      dividendToken = newToken;
    }
    
    function updateMinimumTokenBalanceForDividends(uint256 _newMinimumBalance) external onlyOwner {
        require(_newMinimumBalance != minimumTokenBalanceForDividends, "New mimimum balance for dividend cannot be same as current minimum balance");
        minimumTokenBalanceForDividends = _newMinimumBalance * (10**18);
    }

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

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

    	emit ExcludeFromDividends(account);
    }

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

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

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


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

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

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


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


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

        lastClaimTime = lastClaimTimes[account];

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

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

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

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return getAccount(account);
    }

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

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

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

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

    	processAccount(account, true);
    }

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

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

    	uint256 _lastProcessedIndex = lastProcessedIndex;

    	uint256 gasUsed = 0;

    	uint256 gasLeft = gasleft();

    	uint256 iterations = 0;
    	uint256 claims = 0;

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

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

    		address account = tokenHoldersMap.keys[_lastProcessedIndex];

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

    		iterations++;

    		uint256 newGasLeft = gasleft();

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

    		gasLeft = newGasLeft;
    	}

    	lastProcessedIndex = _lastProcessedIndex;

    	return (iterations, claims, lastProcessedIndex);
    }

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

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

    	return false;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"BuyBackAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"DogeDividendEnabledUpdated","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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"MarketingEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldMarketingWallet","type":"address"}],"name":"MarketingWalletUpdated","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":"ProcessedDogeDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"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":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapBNBForTokens","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":"UpdateDogeDividendTracker","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":"afterPreSale","outputs":[],"stateMutability":"nonpayable","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":"buyBackAndLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dogeDividendEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dogeDividendRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dogeDividendToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dogeDividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dogeDividendTracker","outputs":[{"internalType":"contract DogeDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividend","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":"getAccountDogeDividendsInfo","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":"getAccountDogeDividendsInfoAtIndex","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":"getDogeClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getIsExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastDogeDividendProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDogeDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDogeDividendsDistributed","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":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyTranscationAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletToken","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":"address","name":"_partnerOrExchangeAddress","type":"address"}],"name":"prepareForPartherOrExchangeListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousBuyBackAndLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousDogeDividendRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"sellFeeIncreaseFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bool","name":"_enabled","type":"bool"}],"name":"setBuyBackAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setDogeDividendEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setMarketingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxn","type":"uint256"}],"name":"setMaxBuyTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxn","type":"uint256"}],"name":"setMaxSellTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxToken","type":"uint256"}],"name":"setMaxWalletTokend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"setSellTransactionMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setTradingIsEnabled","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":"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":[],"name":"tradingIsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint8","name":"newFee","type":"uint8"}],"name":"updateBuyBackAndLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newFee","type":"uint8"}],"name":"updateDogeDividendRewardFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newContract","type":"address"}],"name":"updateDogeDividendToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDogeDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newFee","type":"uint8"}],"name":"updateMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinimumBalance","type":"uint256"}],"name":"updateMinimumBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_presaleAddress","type":"address"},{"internalType":"address","name":"_routerAddress","type":"address"}],"name":"whitelistDxSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDogeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600a8054600164ffffffff0160a01b03191661dead1790556082601855620927c06019553480156200003557600080fd5b50604080518082018252600b81526a4b4e4947485420444f474560a81b60208083019182528351808501909452600a8452694b4e49474854444f474560b01b9084015281519192916200008b916003916200092f565b508051620000a19060049060208401906200092f565b50506005805460ff19166012179055506000620000bb3390565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506040516200011f90620009be565b604051809103906000f0801580156200013c573d6000803e3d6000fd5b50600b80546001600160a01b03929092166001600160a01b0319928316179055600c8054821673ec70292cf5c5d46dbb37bc72319de3bcd05394e31790556009805490911673ba2ae424d960c26247dd6c32edc70b295c744c431790556040805163c45a015560e01b815290517310ed43c718714eb63d5aa57b78b54704e256024e91600091839163c45a0155916004808301926020929190829003018186803b158015620001ea57600080fd5b505afa158015620001ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002259190620009e3565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200026e57600080fd5b505afa15801562000283573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a99190620009e3565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002f257600080fd5b505af115801562000307573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032d9190620009e3565b600880546001600160a01b0319166001600160a01b038516179055606081901b6001600160601b0319166080529050620003698160016200042f565b600b5462000380906001600160a01b0316620005e7565b6200038b30620005e7565b6200039682620005e7565b600a54620003ad906001600160a01b0316620005e7565b600c54620003c6906001600160a01b031660016200069c565b620003d33060016200069c565b620003f7620003ef60055461010090046001600160a01b031690565b60016200069c565b620004276200041360055461010090046001600160a01b031690565b6c0c9f2c9cd04674edea40000000620007c9565b505062000a6e565b6005546001600160a01b03610100909104163314620004845760405162461bcd60e51b815260206004820181905260248201526000805160206200794d83398151915260448201526064015b60405180910390fd5b6001600160a01b0382166000908152601c602052604090205460ff16151581151514156200051b5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084016200047b565b6001600160a01b0382166000908152601c60205260409020805460ff19168215801591909117909155620005ab57600b5460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b1580156200059157600080fd5b505af1158015620005a6573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b03610100909104163314620006385760405162461bcd60e51b815260206004820181905260248201526000805160206200794d83398151915260448201526064016200047b565b600b5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401600060405180830381600087803b1580156200068057600080fd5b505af115801562000695573d6000803e3d6000fd5b5050505050565b6005546001600160a01b03610100909104163314620006ed5760405162461bcd60e51b815260206004820181905260248201526000805160206200794d83398151915260448201526064016200047b565b6001600160a01b0382166000908152601b602052604090205460ff16151581151514156200076a5760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792065786c756465642066726f6d206044820152636665657360e01b60648201526084016200047b565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620008215760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200047b565b6200083d81600254620008c560201b620029c81790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000870918390620029c8620008c5821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080620008d4838562000a0c565b905083811015620009285760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200047b565b9392505050565b8280546200093d9062000a31565b90600052602060002090601f016020900481019282620009615760008555620009ac565b82601f106200097c57805160ff1916838001178555620009ac565b82800160010185558215620009ac579182015b82811115620009ac5782518255916020019190600101906200098f565b50620009ba929150620009cc565b5090565b612642806200530b83390190565b5b80821115620009ba5760008155600101620009cd565b600060208284031215620009f5578081fd5b81516001600160a01b038116811462000928578182fd5b6000821982111562000a2c57634e487b7160e01b81526011600452602481fd5b500190565b600181811c9082168062000a4657607f821691505b6020821081141562000a6857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c61487762000a94600039600081816107470152611f9901526148776000f3fe6080604052600436106104555760003560e01c8063887129b91161023f578063c024666811610139578063e27ad5eb116100b6578063e98030c71161007a578063e98030c714610d6c578063ef8bade214610d8c578063f2fde38b14610dac578063fa887a4d14610dcc578063fb7f634a14610dec57600080fd5b8063e27ad5eb14610ce9578063e2f4560514610d09578063e58d36e714610d1f578063e6c75f7114610d35578063e84d44f814610d4b57600080fd5b8063d46d9ba1116100fd578063d46d9ba114610c23578063d7ef20c814610c43578063dd46706414610c63578063dd62ed3e14610c83578063df599c0014610cc957600080fd5b8063c024666814610b8c578063c492f04614610bac578063c9b4c06314610bcc578063cb21743514610be2578063cf8f19bf14610c0357600080fd5b80639f34a5b4116101c7578063accfe61f1161018b578063accfe61f14610ae6578063afa4f3b214610afc578063b13f725d14610b1c578063b3b5e04314610b3c578063b62496f514610b5c57600080fd5b80639f34a5b414610a50578063a457c2d714610a70578063a6b6388814610a90578063a9059cbb14610aa6578063aacebbe314610ac657600080fd5b806395d89b411161020e57806395d89b41146109c5578063980f02fe146109da5780639829f4df146109fa5780639a7a23d614610a1a5780639c1b8af514610a3a57600080fd5b8063887129b9146109575780638d3019351461096c5780638da5cb5b1461098c578063955ebc9e146109af57600080fd5b80633b364da811610350578063700bb191116102d85780637b16cea01161029c5780637b16cea0146108a95780637cb563ea146108e257806383000273146109025780638504bf9d14610917578063871c128d1461093757600080fd5b8063700bb1911461081f57806370a082311461083f578063715018a61461085f578063740c536d1461087457806375f0a8741461088957600080fd5b80635c38ffe21161031f5780635c38ffe21461079e5780635fd65fea146107be57806363691459146107d457806365b8dbc0146107e95780636b67c4df1461080957600080fd5b80633b364da81461071557806349bd5a5e146107355780634e71d92d146107695780634e83ff6f1461077e57600080fd5b806313114a9d116103de578063263b5fcb116103a2578063263b5fcb1461067257806327c8f83514610692578063313ce567146106b25780633884f364146106d457806339509351146106f557600080fd5b806313114a9d146105f15780631694505e1461060757806318160ddd1461062757806322bd3f7f1461063c57806323b872dd1461065257600080fd5b806307efbfdc1161042557806307efbfdc14610533578063095ea7b31461054857806309c58fcd146105785780631129e65b14610599578063122fe685146105b957600080fd5b8062f6c60a1461046157806302259e9e1461048357806305823995146104ac57806306fdde031461051157600080fd5b3661045c57005b600080fd5b34801561046d57600080fd5b5061048161047c366004614355565b610e0c565b005b34801561048f57600080fd5b50610499600e5481565b6040519081526020015b60405180910390f35b3480156104b857600080fd5b506104cc6104c736600461438d565b610f17565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016104a3565b34801561051d57600080fd5b50610526610fc1565b6040516104a391906144dc565b34801561053f57600080fd5b50610481611053565b34801561055457600080fd5b506105686105633660046142a9565b6110e5565b60405190151581526020016104a3565b34801561058457600080fd5b50600a5461056890600160a81b900460ff1681565b3480156105a557600080fd5b506104816105b4366004614163565b6110fc565b3480156105c557600080fd5b50601a546105d9906001600160a01b031681565b6040516001600160a01b0390911681526020016104a3565b3480156105fd57600080fd5b5061049960175481565b34801561061357600080fd5b506008546105d9906001600160a01b031681565b34801561063357600080fd5b50600254610499565b34801561064857600080fd5b5061049960185481565b34801561065e57600080fd5b5061056861066d3660046141d3565b611199565b34801561067e57600080fd5b5061048161068d366004614355565b611202565b34801561069e57600080fd5b50600a546105d9906001600160a01b031681565b3480156106be57600080fd5b5060055460405160ff90911681526020016104a3565b3480156106e057600080fd5b50600a5461056890600160b81b900460ff1681565b34801561070157600080fd5b506105686107103660046142a9565b6112f7565b34801561072157600080fd5b5061048161073036600461438d565b61132d565b34801561074157600080fd5b506105d97f000000000000000000000000000000000000000000000000000000000000000081565b34801561077557600080fd5b506104816113bf565b34801561078a57600080fd5b5061048161079936600461419b565b611443565b3480156107aa57600080fd5b506104816107b936600461438d565b611562565b3480156107ca57600080fd5b5061049960145481565b3480156107e057600080fd5b506104996115aa565b3480156107f557600080fd5b50610481610804366004614163565b61162c565b34801561081557600080fd5b5061049960135481565b34801561082b57600080fd5b5061048161083a36600461438d565b611723565b34801561084b57600080fd5b5061049961085a366004614163565b611834565b34801561086b57600080fd5b5061048161184f565b34801561088057600080fd5b506104996118cf565b34801561089557600080fd5b50600c546105d9906001600160a01b031681565b3480156108b557600080fd5b506105686108c4366004614163565b6001600160a01b03166000908152601b602052604090205460ff1690565b3480156108ee57600080fd5b506104816108fd366004614163565b611914565b34801561090e57600080fd5b50610499611c94565b34801561092357600080fd5b50600b546105d9906001600160a01b031681565b34801561094357600080fd5b5061048161095236600461438d565b611cd9565b34801561096357600080fd5b50610499611da5565b34801561097857600080fd5b50610481610987366004614163565b611dea565b34801561099857600080fd5b5060055461010090046001600160a01b03166105d9565b3480156109bb57600080fd5b5061049960155481565b3480156109d157600080fd5b50610526611e63565b3480156109e657600080fd5b506104816109f53660046143ea565b611e72565b348015610a0657600080fd5b50610499610a15366004614163565b611ee8565b348015610a2657600080fd5b50610481610a35366004614213565b611f67565b348015610a4657600080fd5b5061049960195481565b348015610a5c57600080fd5b50610481610a6b36600461438d565b612057565b348015610a7c57600080fd5b50610568610a8b3660046142a9565b61209f565b348015610a9c57600080fd5b50610499600d5481565b348015610ab257600080fd5b50610568610ac13660046142a9565b6120ee565b348015610ad257600080fd5b50610481610ae1366004614163565b6120fb565b348015610af257600080fd5b5061049960115481565b348015610b0857600080fd5b50610481610b1736600461438d565b612205565b348015610b2857600080fd5b50610481610b37366004614163565b61224d565b348015610b4857600080fd5b50610481610b5736600461438d565b6122af565b348015610b6857600080fd5b50610568610b77366004614163565b601c6020526000908152604090205460ff1681565b348015610b9857600080fd5b50610481610ba7366004614213565b6122f7565b348015610bb857600080fd5b50610481610bc73660046142d4565b612401565b348015610bd857600080fd5b5061049960165481565b348015610bee57600080fd5b50600a5461056890600160c01b900460ff1681565b348015610c0f57600080fd5b50610481610c1e366004614355565b6124f1565b348015610c2f57600080fd5b50610481610c3e3660046143ea565b6125e6565b348015610c4f57600080fd5b506104cc610c5e366004614163565b612656565b348015610c6f57600080fd5b50610481610c7e36600461438d565b612698565b348015610c8f57600080fd5b50610499610c9e36600461419b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610cd557600080fd5b50610481610ce43660046143ea565b612745565b348015610cf557600080fd5b50610481610d04366004614355565b6127b5565b348015610d1557600080fd5b50610499600f5481565b348015610d2b57600080fd5b5061049960125481565b348015610d4157600080fd5b5061049960105481565b348015610d5757600080fd5b50600a5461056890600160b01b900460ff1681565b348015610d7857600080fd5b50610481610d8736600461438d565b612803565b348015610d9857600080fd5b50610499610da7366004614163565b612864565b348015610db857600080fd5b50610481610dc7366004614163565b612897565b348015610dd857600080fd5b506009546105d9906001600160a01b031681565b348015610df857600080fd5b50610481610e0736600461438d565b612993565b6005546001600160a01b03610100909104163314610e455760405162461bcd60e51b8152600401610e3c906145a9565b60405180910390fd5b600a5460ff600160c01b9091041615158115151415610e765760405162461bcd60e51b8152600401610e3c90614572565b80610ea2576011805460125560009055600a805460ff60c01b1916600160c01b83151502179055610ede565b6012546011819055601554601354610ec392610ebd916129c8565b906129c8565b601755600a805460ff60c01b1916600160c01b831515021790555b60405181151581527f3b0e4e0d3c9ef459a9645670e0cc03bd8313fbd6674ee4e7cb9bc3cb61c5a8d4906020015b60405180910390a150565b600b54604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd906024015b6101006040518083038186803b158015610f6e57600080fd5b505afa158015610f82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa69190614240565b97509750975097509750975097509750919395975091939597565b606060038054610fd09061471d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ffc9061471d565b80156110495780601f1061101e57610100808354040283529160200191611049565b820191906000526020600020905b81548152906001019060200180831161102c57829003601f168201915b5050505050905090565b6005546001600160a01b036101009091041633146110835760405162461bcd60e51b8152600401610e3c906145a9565b600560115560036013556002601555600a6017819055805462ffffff60b01b19166201010160b01b1790556a108b2a2c28029094000000600f556c0c9f2c9cd04674edea40000000600d8190556b033b2e3c9fd0803ce8000000600e55601055565b60006110f2338484612a2e565b5060015b92915050565b6005546001600160a01b0361010090910416331461112c5760405162461bcd60e51b8152600401610e3c906145a9565b600b5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401600060405180830381600087803b15801561117357600080fd5b505af1158015611187573d6000803e3d6000fd5b505050506111968160016122f7565b50565b60006111a6848484612b53565b6111f884336111f3856040518060600160405280602881526020016147f5602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061327b565b612a2e565b5060019392505050565b6005546001600160a01b036101009091041633146112325760405162461bcd60e51b8152600401610e3c906145a9565b600a5460ff600160b01b90910416151581151514156112635760405162461bcd60e51b8152600401610e3c90614572565b8061128f576013805460145560009055600a805460ff60b01b1916600160b01b831515021790556112c5565b60145460138190556015546011546112aa92610ebd916129c8565b601755600a805460ff60b01b1916600160b01b831515021790555b60405181151581527f6ba6c1012539169f5a820a29533d8c8b797a1c7a5634edbd3124a80de0e75cba90602001610f0c565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916110f29185906111f390866129c8565b6005546001600160a01b0361010090910416331461135d5760405162461bcd60e51b8152600401610e3c906145a9565b600b54604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e89906024015b600060405180830381600087803b1580156113a457600080fd5b505af11580156113b8573d6000803e3d6000fd5b5050505050565b600b5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b3790604401602060405180830381600087803b15801561140b57600080fd5b505af115801561141f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111969190614371565b6005546001600160a01b036101009091041633146114735760405162461bcd60e51b8152600401610e3c906145a9565b601a80546001600160a01b0319166001600160a01b03848116918217909255600b5460405163031e79db60e41b81526004810192909252909116906331e79db090602401600060405180830381600087803b1580156114d157600080fd5b505af11580156114e5573d6000803e3d6000fd5b505050506114f48260016122f7565b600b5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401600060405180830381600087803b15801561153b57600080fd5b505af115801561154f573d6000803e3d6000fd5b5050505061155e8160016122f7565b5050565b6005546001600160a01b036101009091041633146115925760405162461bcd60e51b8152600401610e3c906145a9565b6115a481670de0b6b3a76400006146e7565b600e5550565b600b546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b1580156115ef57600080fd5b505afa158015611603573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162791906143a5565b905090565b6005546001600160a01b0361010090910416331461165c5760405162461bcd60e51b8152600401610e3c906145a9565b6008546001600160a01b03828116911614156116c65760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610e3c565b6008546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146117535760405162461bcd60e51b8152600401610e3c906145a9565b600b546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c47990602401606060405180830381600087803b1580156117a157600080fd5b505af11580156117b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d991906143bd565b604080518481526020810184905290810182905260608101889052929550909350915032906000907f310bffa8fc0fe99c02bc7c7396a3149b4d3a3bb858e910f0a6ad372372f2cfc39060800160405180910390a350505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b0361010090910416331461187f5760405162461bcd60e51b8152600401610e3c906145a9565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b600b54604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b1580156115ef57600080fd5b6005546001600160a01b036101009091041633146119445760405162461bcd60e51b8152600401610e3c906145a9565b600b546001600160a01b03828116911614156119b85760405162461bcd60e51b815260206004820152602d60248201527f546865206469766964656e6420747261636b657220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610e3c565b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a0057600080fd5b505afa158015611a14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a38919061417f565b6001600160a01b031614611ac45760405162461bcd60e51b815260206004820152604760248201527f546865206e6577206469766964656e6420747261636b6572206d75737420626560448201527f206f776e656420627920746865204b6e69676874446f676520746f6b656e20636064820152661bdb9d1c9858dd60ca1b608482015260a401610e3c565b60405163031e79db60e41b81526001600160a01b03821660048201819052906331e79db090602401600060405180830381600087803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b505060405163031e79db60e41b81523060048201526001600160a01b03841692506331e79db09150602401600060405180830381600087803b158015611b5f57600080fd5b505af1158015611b73573d6000803e3d6000fd5b505060085460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b158015611bbe57600080fd5b505af1158015611bd2573d6000803e3d6000fd5b5050600a5460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b158015611c1d57600080fd5b505af1158015611c31573d6000803e3d6000fd5b5050600b546040516001600160a01b03918216935090851691507f4c182aafe4e0c7347b75ed88b8b1a322d2b22d8180a6927c235ca939e9808b6290600090a3600b80546001600160a01b0319166001600160a01b039290921691909117905550565b600b5460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b1580156115ef57600080fd5b6005546001600160a01b03610100909104163314611d095760405162461bcd60e51b8152600401610e3c906145a9565b601954811415611d705760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742075706461746520676173466f7250726f63657373696e67207460448201526b6f2073616d652076616c756560a01b6064820152608401610e3c565b6019819055604051819081907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a350565b600b54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b1580156115ef57600080fd5b6005546001600160a01b03610100909104163314611e1a5760405162461bcd60e51b8152600401610e3c906145a9565b600980546001600160a01b0319166001600160a01b03838116918217909255600b54604051633f1f3fe960e11b8152600481019290925290911690637e3e7fd29060240161138a565b606060048054610fd09061471d565b6005546001600160a01b03610100909104163314611ea25760405162461bcd60e51b8152600401610e3c906145a9565b60068160ff161115611ec65760405162461bcd60e51b8152600401610e3c90614623565b60ff81166015819055601354601154611ee292610ebd916129c8565b60175550565b600b546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d240906024015b60206040518083038186803b158015611f2f57600080fd5b505afa158015611f43573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f691906143a5565b6005546001600160a01b03610100909104163314611f975760405162461bcd60e51b8152600401610e3c906145a9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561204d5760405162461bcd60e51b815260206004820152604560248201527f5468652050616e63616b655377617020706169722063616e6e6f74206265207260448201527f656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6572606482015264506169727360d81b608482015260a401610e3c565b61155e82826132b2565b6005546001600160a01b036101009091041633146120875760405162461bcd60e51b8152600401610e3c906145a9565b61209981670de0b6b3a76400006146e7565b60105550565b60006110f233846111f38560405180606001604052806025815260200161481d602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061327b565b60006110f2338484612b53565b6005546001600160a01b0361010090910416331461212b5760405162461bcd60e51b8152600401610e3c906145a9565b600c546001600160a01b038281169116141561219e5760405162461bcd60e51b815260206004820152602c60248201527f546865206d61726b6574696e672077616c6c657420697320616c72656164792060448201526b74686973206164647265737360a01b6064820152608401610e3c565b6121a98160016122f7565b600c546040516001600160a01b038084169216907f8616c7a330e3cf61290821331585511f1e2778171e2b005fb5ec60cfe874dc6790600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146122355760405162461bcd60e51b8152600401610e3c906145a9565b61224781670de0b6b3a76400006146e7565b600f5550565b6005546001600160a01b0361010090910416331461227d5760405162461bcd60e51b8152600401610e3c906145a9565b600b5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db09060240161138a565b6005546001600160a01b036101009091041633146122df5760405162461bcd60e51b8152600401610e3c906145a9565b6122f181670de0b6b3a76400006146e7565b600d5550565b6005546001600160a01b036101009091041633146123275760405162461bcd60e51b8152600401610e3c906145a9565b6001600160a01b0382166000908152601b602052604090205460ff16151581151514156123a25760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792065786c756465642066726f6d206044820152636665657360e01b6064820152608401610e3c565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b036101009091041633146124315760405162461bcd60e51b8152600401610e3c906145a9565b60005b828110156124b05781601b600086868581811061246157634e487b7160e01b600052603260045260246000fd5b90506020020160208101906124769190614163565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806124a881614758565b915050612434565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516124e49392919061444e565b60405180910390a1505050565b6005546001600160a01b036101009091041633146125215760405162461bcd60e51b8152600401610e3c906145a9565b600a5460ff600160b81b90910416151581151514156125525760405162461bcd60e51b8152600401610e3c90614572565b8061257e576015805460165560009055600a805460ff60b81b1916600160b81b831515021790556125b4565b601654601581905560115460135461259992610ebd916129c8565b601755600a805460ff60b81b1916600160b81b831515021790555b60405181151581527feeddd25ab572944f46f2e1d17c56bb44594bdf0b4696199da23db34f0bcf9b9a90602001610f0c565b6005546001600160a01b036101009091041633146126165760405162461bcd60e51b8152600401610e3c906145a9565b60068160ff16111561263a5760405162461bcd60e51b8152600401610e3c90614623565b60ff81166013819055601554601154611ee292610ebd916129c8565b600b5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f190602401610f55565b6005546001600160a01b036101009091041633146126c85760405162461bcd60e51b8152600401610e3c906145a9565b60058054600680546001600160a01b0319166001600160a01b03610100840416179055610100600160a81b031916905561270281426146af565b60075560055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a350565b6005546001600160a01b036101009091041633146127755760405162461bcd60e51b8152600401610e3c906145a9565b60068160ff1611156127995760405162461bcd60e51b8152600401610e3c90614623565b60ff81166011819055601554601354611ee292610ebd916129c8565b6005546001600160a01b036101009091041633146127e55760405162461bcd60e51b8152600401610e3c906145a9565b600a8054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b036101009091041633146128335760405162461bcd60e51b8152600401610e3c906145a9565b600b5460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c79060240161138a565b600b546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a0823190602401611f17565b6005546001600160a01b036101009091041633146128c75760405162461bcd60e51b8152600401610e3c906145a9565b6001600160a01b03811661292c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e3c565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6005546001600160a01b036101009091041633146129c35760405162461bcd60e51b8152600401610e3c906145a9565b601855565b6000806129d583856146af565b905083811015612a275760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610e3c565b9392505050565b6001600160a01b038316612a905760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e3c565b6001600160a01b038216612af15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e3c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316612b795760405162461bcd60e51b8152600401610e3c906145de565b6001600160a01b038216612b9f5760405162461bcd60e51b8152600401610e3c9061452f565b600a54600160a81b900460ff1680612bf157506001600160a01b0383166000908152601b602052604090205460ff1680612bf157506001600160a01b0382166000908152601b602052604090205460ff165b612c3d5760405162461bcd60e51b815260206004820152601b60248201527f54726164696e6720686173206e6f7420737461727465642079657400000000006044820152606401610e3c565b6001600160a01b0383166000908152601b602052604081205460ff1680612c7c57506001600160a01b0383166000908152601b602052604090205460ff165b600a54909150600160a81b900460ff168015612cb057506001600160a01b0384166000908152601c602052604090205460ff165b8015612cba575080155b15612d9d57600d54821115612d225760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610e3c565b6000612d2d84611834565b601054909150612d3d84836146af565b1115612d975760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d6178696d756d2077616c6c657420746f6b656e20616d6f6044820152633ab73a1760e11b6064820152608401610e3c565b50612ffc565b600a54600160a81b900460ff168015612dce57506001600160a01b0383166000908152601c602052604090205460ff165b8015612dd8575080155b15612ffc57600e54821115612e555760405162461bcd60e51b815260206004820152603a60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617853656c6c5472616e73616374696f6e416d6f756e742e0000000000006064820152608401610e3c565b6000612e6030611834565b600f54600a5491925082101590600160a01b900460ff16158015612e815750805b15612ff957600a805460ff60a01b1916600160a01b1790819055600160b01b900460ff1615612ef3576000612ecd601354612ec76017548661344090919063ffffffff16565b9061349b565b9050612ed88161351a565b600c544790612ef0906001600160a01b031682613697565b50505b600a54600160b81b900460ff1615612fab576000612f0f6136d2565b905060328111612f7d5747670de0b6b3a7640000811115612f4d57612f48612f43612f386136d2565b612ec7846064613440565b6137f3565b612f77565b6000612f6a601554612ec76017548861344090919063ffffffff16565b9050612f758161351a565b505b50612fa9565b6032811115612fa957612fa9612fa4601554612ec76017548761344090919063ffffffff16565b613a15565b505b600a54600160c01b900460ff1615612feb57601154600f54600091612fd491612ec79082613440565b9050612fe9612fe4612f386136d2565b613a9d565b505b600a805460ff60a01b191690555b50505b600a54600090600160a81b900460ff1680156130225750600a54600160a01b900460ff16155b801561302c575081155b9050801561309b5760175460009061304990612ec7866064613440565b6001600160a01b0386166000908152601c602052604090205490915060ff16156130825760185461307f90612ec7836064613440565b90505b61308c8482613b53565b9350613099863083613baf565b505b6130a6858585613baf565b600b546001600160a01b031663e30443bc866130c181611834565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561310757600080fd5b505af1925050508015613118575060015b50600b546001600160a01b031663e30443bc8561313481611834565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561317a57600080fd5b505af192505050801561318b575060015b50600a54600160a01b900460ff166113b857601954600b546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401606060405180830381600087803b1580156131e957600080fd5b505af1925050508015613219575060408051601f3d908101601f19168201909252613216918101906143bd565b60015b61322257613273565b60408051848152602081018490529081018290526060810185905232906001907f310bffa8fc0fe99c02bc7c7396a3149b4d3a3bb858e910f0a6ad372372f2cfc39060800160405180910390a35050505b505050505050565b6000818484111561329f5760405162461bcd60e51b8152600401610e3c91906144dc565b506132aa8385614706565b949350505050565b6005546001600160a01b036101009091041633146132e25760405162461bcd60e51b8152600401610e3c906145a9565b6001600160a01b0382166000908152601c602052604090205460ff16151581151514156133775760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610e3c565b6001600160a01b0382166000908152601c60205260409020805460ff1916821580159190911790915561340457600b5460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b1580156133eb57600080fd5b505af11580156133ff573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b60008082116134915760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f0000000000006044820152606401610e3c565b612a2782846146c7565b6000826134aa575060006110f6565b60006134b683856146e7565b9050826134c385836146c7565b14612a275760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610e3c565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061355d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156135b157600080fd5b505afa1580156135c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e9919061417f565b8160018151811061360a57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526008546136309130911684612a2e565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac94790613669908590600090869030904290600401614673565b600060405180830381600087803b15801561368357600080fd5b505af1158015613273573d6000803e3d6000fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156136cd573d6000803e3d6000fd5b505050565b6040516bffffffffffffffffffffffff193360601b1660208201526000908190439042906034016040516020818303038152906040528051906020012060001c61371c91906146c7565b6040516bffffffffffffffffffffffff194160601b166020820152459042906034016040516020818303038152906040528051906020012060001c61376191906146c7565b61376b44426146af565b61377591906146af565b61377f91906146af565b61378991906146af565b61379391906146af565b6040516020016137a591815260200190565b60408051601f198184030181529190528051602090910120905060006137cc6064836146c7565b6137d79060646146e7565b6137e19083614706565b9050806110f657612a276001826146af565b6040805160028082526060820183526000926020830190803683375050600854604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561385857600080fd5b505afa15801561386c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613890919061417f565b816000815181106138b157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106138f357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600c546000916139199116611834565b600854600c549192506001600160a01b039081169163b6f9de959186916000918791166139484261012c6129c8565b6040518663ffffffff1660e01b815260040161396794939291906144a7565b6000604051808303818588803b15801561398057600080fd5b505af1158015613994573d6000803e3d6000fd5b5050600c54600093506139bd92508491506139b7906001600160a01b0316611834565b90613b53565b600c549091506139d6906001600160a01b031682613cb8565b7fd79349298b0eadebdb47b2a093b1596f41af709d6a3bc3d848b9e8821df480728484604051613a0792919061465a565b60405180910390a150505050565b6000613a22826002613440565b90506000613a308383613b53565b905047613a3c8361351a565b6000613a484783613b53565b9050613a548382613dc3565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561906060015b60405180910390a15050505050565b600954613ab690829030906001600160a01b0316613e7f565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015613afa57600080fd5b505afa158015613b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b3291906143a5565b600954600b5491925061155e916001600160a01b039182169116808461404a565b600082821115613ba55760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f7700006044820152606401610e3c565b612a278284614706565b6001600160a01b038316613bd55760405162461bcd60e51b8152600401610e3c906145de565b6001600160a01b038216613bfb5760405162461bcd60e51b8152600401610e3c9061452f565b613c38816040518060600160405280602681526020016147cf602691396001600160a01b038616600090815260208190526040902054919061327b565b6001600160a01b038085166000908152602081905260408082209390935590841681522054613c6790826129c8565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101612b46565b6001600160a01b038216613d185760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610e3c565b613d55816040518060600160405280602281526020016147ad602291396001600160a01b038516600090815260208190526040902054919061327b565b6001600160a01b038316600090815260208190526040902055600254613d7b9082613b53565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600854613ddb9030906001600160a01b031684612a2e565b600854600c5460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b158015613e4657600080fd5b505af1158015613e5a573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906113b891906143bd565b60408051600380825260808201909252600091602082016060803683370190505090503081600081518110613ec457634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015613f1857600080fd5b505afa158015613f2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f50919061417f565b81600181518110613f7157634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250508181600281518110613fb357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600854613fd99130911686612a2e565b600854604051635c11d79560e01b81526001600160a01b0390911690635c11d79590614012908790600090869089904290600401614673565b600060405180830381600087803b15801561402c57600080fd5b505af1158015614040573d6000803e3d6000fd5b5050505050505050565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390526000919086169063a9059cbb90604401602060405180830381600087803b15801561409857600080fd5b505af11580156140ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140d09190614371565b905080156113b857604051633243c79160e01b8152600481018390526001600160a01b03841690633243c79190602401600060405180830381600087803b15801561411a57600080fd5b505af115801561412e573d6000803e3d6000fd5b505050507fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b182604051613a8e91815260200190565b600060208284031215614174578081fd5b8135612a2781614789565b600060208284031215614190578081fd5b8151612a2781614789565b600080604083850312156141ad578081fd5b82356141b881614789565b915060208301356141c881614789565b809150509250929050565b6000806000606084860312156141e7578081fd5b83356141f281614789565b9250602084013561420281614789565b929592945050506040919091013590565b60008060408385031215614225578182fd5b823561423081614789565b915060208301356141c88161479e565b600080600080600080600080610100898b03121561425c578384fd5b885161426781614789565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b600080604083850312156142bb578182fd5b82356142c681614789565b946020939093013593505050565b6000806000604084860312156142e8578283fd5b833567ffffffffffffffff808211156142ff578485fd5b818601915086601f830112614312578485fd5b813581811115614320578586fd5b8760208260051b8501011115614334578586fd5b6020928301955093505084013561434a8161479e565b809150509250925092565b600060208284031215614366578081fd5b8135612a278161479e565b600060208284031215614382578081fd5b8151612a278161479e565b60006020828403121561439e578081fd5b5035919050565b6000602082840312156143b6578081fd5b5051919050565b6000806000606084860312156143d1578283fd5b8351925060208401519150604084015190509250925092565b6000602082840312156143fb578081fd5b813560ff81168114612a27578182fd5b6000815180845260208085019450808401835b838110156144435781516001600160a01b03168752958201959082019060010161441e565b509495945050505050565b6040808252810183905260008460608301825b8681101561449157823561447481614789565b6001600160a01b0316825260209283019290910190600101614461565b5080925050508215156020830152949350505050565b8481526080602082015260006144c0608083018661440b565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b81811015614508578581018301518582016040015282016144ec565b818111156145195783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601d908201527f43616e27742073657420666c616720746f2073616d6520737461747573000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526018908201527f466565206d757374206265206c657373207468616e2036250000000000000000604082015260600190565b8281526040602082015260006132aa604083018461440b565b85815284602082015260a06040820152600061469260a083018661440b565b6001600160a01b0394909416606083015250608001529392505050565b600082198211156146c2576146c2614773565b500190565b6000826146e257634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561470157614701614773565b500290565b60008282101561471857614718614773565b500390565b600181811c9082168061473157607f821691505b6020821081141561475257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561476c5761476c614773565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461119657600080fd5b801515811461119657600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220fd9e9a00a4ae5a6df852e4af34cc88842520718bf743168d56607145d55dfcd664736f6c6343000804003360806040523480156200001157600080fd5b50604051806040016040528060208152602001600080516020620026228339815191528152506040518060400160405280602081526020016000805160206200262283398151915281525073ba2ae424d960c26247dd6c32edc70b295c744c43828281600390805190602001906200008b92919062000148565b508051620000a190600490602084019062000148565b50506005805460ff1916601217905550600880546001600160a01b039092166001600160a01b03199092169190911790555060009050620000df3390565b600c80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610e106016556a01a784379d99db420000006017556200022b565b8280546200015690620001ee565b90600052602060002090601f0160209004810192826200017a5760008555620001c5565b82601f106200019557805160ff1916838001178555620001c5565b82800160010185558215620001c5579182015b82811115620001c5578251825591602001919060010190620001a8565b50620001d3929150620001d7565b5090565b5b80821115620001d35760008155600101620001d8565b600181811c908216806200020357607f821691505b602082108114156200022557634e487b7160e01b600052602260045260246000fd5b50919050565b6123e7806200023b6000396000f3fe60806040526004361061023f5760003560e01c8063715018a61161012e578063bc4c4b37116100ab578063e7841ec01161006f578063e7841ec014610727578063e98030c71461073c578063f2fde38b1461075c578063fbcbc0f11461077c578063ffb2c4791461079c57600080fd5b8063bc4c4b371461066b578063be10b6141461068b578063dd467064146106a1578063dd62ed3e146106c1578063e30443bc1461070757600080fd5b806395d89b41116100f257806395d89b41146105c0578063a457c2d7146105d5578063a8b9d240146105f5578063a9059cbb14610615578063aafd847a1461063557600080fd5b8063715018a6146105375780637e3e7fd21461054c57806385a6b3ae1461056c5780638da5cb5b1461058257806391b89fba146105a057600080fd5b80633009a609116101bc5780634e7b827f116101805780634e7b827f146104415780635183d6fd146104715780636a474002146104d65780636f2789ec146104eb57806370a082311461050157600080fd5b80633009a609146103a9578063313ce567146103bf57806331e79db0146103e15780633243c79114610401578063395093511461042157600080fd5b80631582358e116102035780631582358e146102ef57806318160ddd14610327578063226cfa3d1461033c57806323b872dd1461036957806327ce01471461038957600080fd5b806303c833021461024b57806306fdde0314610255578063095ea7b31461028057806309bbedde146102b05780630dcb2e89146102cf57600080fd5b3661024657005b600080fd5b6102536107d7565b005b34801561026157600080fd5b5061026a61086a565b604051610277919061211d565b60405180910390f35b34801561028c57600080fd5b506102a061029b366004612039565b6108fc565b6040519015158152602001610277565b3480156102bc57600080fd5b50600f545b604051908152602001610277565b3480156102db57600080fd5b506102536102ea366004612105565b610913565b3480156102fb57600080fd5b5060085461030f906001600160a01b031681565b6040516001600160a01b039091168152602001610277565b34801561033357600080fd5b506002546102c1565b34801561034857600080fd5b506102c1610357366004611fc9565b60156020526000908152604090205481565b34801561037557600080fd5b506102a0610384366004612091565b6109e9565b34801561039557600080fd5b506102c16103a4366004611fc9565b610a52565b3480156103b557600080fd5b506102c160135481565b3480156103cb57600080fd5b5060055460405160ff9091168152602001610277565b3480156103ed57600080fd5b506102536103fc366004611fc9565b610aae565b34801561040d57600080fd5b5061025361041c366004612105565b610bd5565b34801561042d57600080fd5b506102a061043c366004612039565b610c56565b34801561044d57600080fd5b506102a061045c366004611fc9565b60146020526000908152604090205460ff1681565b34801561047d57600080fd5b5061049161048c366004612105565b610c8c565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610277565b3480156104e257600080fd5b50610253610dfe565b3480156104f757600080fd5b506102c160165481565b34801561050d57600080fd5b506102c161051c366004611fc9565b6001600160a01b031660009081526020819052604090205490565b34801561054357600080fd5b50610253610e9f565b34801561055857600080fd5b50610253610567366004611fc9565b610f13565b34801561057857600080fd5b506102c1600b5481565b34801561058e57600080fd5b50600c546001600160a01b031661030f565b3480156105ac57600080fd5b506102c16105bb366004611fc9565b610f5f565b3480156105cc57600080fd5b5061026a610f6a565b3480156105e157600080fd5b506102a06105f0366004612039565b610f79565b34801561060157600080fd5b506102c1610610366004611fc9565b610fc8565b34801561062157600080fd5b506102a0610630366004612039565b610ff4565b34801561064157600080fd5b506102c1610650366004611fc9565b6001600160a01b03166000908152600a602052604090205490565b34801561067757600080fd5b506102a0610686366004612001565b611001565b34801561069757600080fd5b506102c160175481565b3480156106ad57600080fd5b506102536106bc366004612105565b6110af565b3480156106cd57600080fd5b506102c16106dc366004612064565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561071357600080fd5b50610253610722366004612039565b611146565b34801561073357600080fd5b506013546102c1565b34801561074857600080fd5b50610253610757366004612105565b6112b4565b34801561076857600080fd5b50610253610777366004611fc9565b61141a565b34801561078857600080fd5b50610491610797366004611fc9565b611505565b3480156107a857600080fd5b506107bc6107b7366004612105565b61167d565b60408051938452602084019290925290820152606001610277565b60006107e260025490565b116107ec57600080fd5b34156108685761081f6107fe60025490565b61080c34600160801b6117a6565b61081691906121fe565b6006549061182c565b60065560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600b54610864903461182c565b600b555b565b60606003805461087990612293565b80601f01602080910402602001604051908101604052809291908181526020018280546108a590612293565b80156108f25780601f106108c7576101008083540402835291602001916108f2565b820191906000526020600020905b8154815290600101906020018083116108d557829003601f168201915b5050505050905090565b600061090933848461188b565b5060015b92915050565b600c546001600160a01b031633146109465760405162461bcd60e51b815260040161093d90612170565b60405180910390fd5b6017548114156109d15760405162461bcd60e51b815260206004820152604a60248201527f4e6577206d696d696d756d2062616c616e636520666f72206469766964656e6460448201527f2063616e6e6f742062652073616d652061732063757272656e74206d696e696d606482015269756d2062616c616e636560b01b608482015260a40161093d565b6109e381670de0b6b3a764000061221e565b60175550565b60006109f68484846119af565b610a488433610a4385604051806060016040528060288152602001612345602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611a04565b61188b565b5060019392505050565b6001600160a01b03811660009081526009602090815260408083205491839052822054600654600160801b92610aa492610a9f92610a9991610a9491906117a6565b611a3b565b90611a4b565b611a89565b61090d91906121fe565b600c546001600160a01b03163314610ad85760405162461bcd60e51b815260040161093d90612170565b6001600160a01b03811660009081526014602052604090205460ff1615610afe57600080fd5b6001600160a01b0381166000908152601460205260408120805460ff19166001179055610b2c908290611a9c565b60405163131836e760e21b8152600f60048201526001600160a01b038216602482015273dedc3fcfa03f082cc65725b3a0cca4c27aa5275290634c60db9c9060440160006040518083038186803b158015610b8657600080fd5b505af4158015610b9a573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b6000610be060025490565b11610bea57600080fd5b8015610c5357610c0a610bfc60025490565b61080c83600160801b6117a6565b60065560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600b54610c4f908261182c565b600b555b50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610909918590610a43908661182c565b600080600080600080600080600f73dedc3fcfa03f082cc65725b3a0cca4c27aa5275263deb3d89690916040518263ffffffff1660e01b8152600401610cd491815260200190565b60206040518083038186803b158015610cec57600080fd5b505af4158015610d00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2491906120ed565b8910610d49575060009650600019955085945086935083925082915081905080610df3565b6040516368d54f3f60e11b8152600f6004820152602481018a905260009073dedc3fcfa03f082cc65725b3a0cca4c27aa527529063d1aa9e7e9060440160206040518083038186803b158015610d9e57600080fd5b505af4158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd69190611fe5565b9050610de181611505565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b8152602060048201526076602482015260008051602061236d83398151915260448201527f3a2077697468647261774469766964656e642064697361626c65642e2055736560648201527f207468652027636c61696d272066756e6374696f6e206f6e20746865206d6169608482015275371025b734b3b43a2237b3b29031b7b73a3930b1ba1760511b60a482015260c40161093d565b600c546001600160a01b03163314610ec95760405162461bcd60e51b815260040161093d90612170565b600c546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80546001600160a01b0319169055565b600c546001600160a01b03163314610f3d5760405162461bcd60e51b815260040161093d90612170565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600061090d82610fc8565b60606004805461087990612293565b60006109093384610a438560405180606001604052806025815260200161238d602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611a04565b6001600160a01b0381166000908152600a602052604081205461090d90610fee84610a52565b90611afb565b60006109093384846119af565b600c546000906001600160a01b0316331461102e5760405162461bcd60e51b815260040161093d90612170565b600061103984611b57565b905080156110a5576001600160a01b038416600081815260156020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906110939085815260200190565b60405180910390a3600191505061090d565b5060009392505050565b600c546001600160a01b031633146110d95760405162461bcd60e51b815260040161093d90612170565b600c8054600d80546001600160a01b03199081166001600160a01b0384161790915516905561110881426121e6565b600e55600c546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a350565b600c546001600160a01b031633146111705760405162461bcd60e51b815260040161093d90612170565b6001600160a01b03821660009081526014602052604090205460ff1615611195575050565b6017548110611226576111a88282611a9c565b604051632f0ad01760e21b8152600f60048201526001600160a01b03831660248201526044810182905273dedc3fcfa03f082cc65725b3a0cca4c27aa527529063bc2b405c9060640160006040518083038186803b15801561120957600080fd5b505af415801561121d573d6000803e3d6000fd5b505050506112a4565b611231826000611a9c565b60405163131836e760e21b8152600f60048201526001600160a01b038316602482015273dedc3fcfa03f082cc65725b3a0cca4c27aa5275290634c60db9c9060440160006040518083038186803b15801561128b57600080fd5b505af415801561129f573d6000803e3d6000fd5b505050505b6112af826001611001565b505050565b600c546001600160a01b031633146112de5760405162461bcd60e51b815260040161093d90612170565b610e1081101580156112f35750620151808111155b6113715760405162461bcd60e51b8152602060048201526055602482015260008051602061236d83398151915260448201527f3a20636c61696d57616974206d757374206265207570646174656420746f206260648201527465747765656e203120616e6420323420686f75727360581b608482015260a40161093d565b6016548114156113e75760405162461bcd60e51b8152602060048201526047602482015260008051602061236d83398151915260448201527f3a2043616e6e6f742075706461746520636c61696d5761697420746f2073616d606482015266652076616c756560c81b608482015260a40161093d565b60165460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601655565b600c546001600160a01b031633146114445760405162461bcd60e51b815260040161093d90612170565b6001600160a01b0381166114a95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161093d565b600c546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600f60048201526001600160a01b0382166024820152819060009081908190819081908190819073dedc3fcfa03f082cc65725b3a0cca4c27aa52752906317e142d19060440160206040518083038186803b15801561157057600080fd5b505af4158015611584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a891906120ed565b965060001995506000871261160a576013548711156115d6576013546115cf908890611ccb565b955061160a565b601354600f54600091106115eb5760006115fa565b601354600f546115fa91611afb565b90506116068882611a4b565b9650505b61161388610fc8565b945061161e88610a52565b6001600160a01b038916600090815260156020526040902054909450925082611648576000611656565b60165461165690849061182c565b9150428211611666576000611670565b6116708242611afb565b9050919395975091939597565b600f54600090819081908061169d5750506013546000925082915061179f565b6013546000805a90506000805b89841080156116b857508582105b1561178e57846116c7816122ce565b600f54909650861090506116da57600094505b6000600f600001868154811061170057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316808352601590915260409091205490915061173190611d17565b1561175457611741816001611001565b156117545781611750816122ce565b9250505b8261175e816122ce565b93505060005a9050808511156117855761178261177b8683611afb565b879061182c565b95505b93506116aa9050565b601385905590975095509193505050505b9193909250565b6000826117b55750600061090d565b60006117c1838561221e565b9050826117ce85836121fe565b146118255760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161093d565b9392505050565b60008061183983856121e6565b9050838110156118255760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161093d565b6001600160a01b0383166118ed5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161093d565b6001600160a01b03821661194e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161093d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b8152602060048201526036602482015260008051602061236d8339815191526044820152750e88139bc81d1c985b9cd9995c9cc8185b1b1bddd95960521b606482015260840161093d565b60008184841115611a285760405162461bcd60e51b815260040161093d919061211d565b50611a33838561227c565b949350505050565b6000818181121561090d57600080fd5b600080611a5883856121a5565b905060008312158015611a6b5750838112155b80611a805750600083128015611a8057508381125b61182557600080fd5b600080821215611a9857600080fd5b5090565b6001600160a01b03821660009081526020819052604090205480821115611adb576000611ac98383611afb565b9050611ad58482611d3e565b50505050565b808210156112af576000611aef8284611afb565b9050611ad58482611da2565b600082821115611b4d5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015260640161093d565b611825828461227c565b600080611b6383610fc8565b90508015611cc2576001600160a01b0383166000908152600a6020526040902054611b8e908261182c565b6001600160a01b0384166000818152600a6020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611bdd9084815260200190565b60405180910390a260085460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb90604401602060405180830381600087803b158015611c3457600080fd5b505af1158015611c48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6c91906120d1565b905080611cbb576001600160a01b0384166000908152600a6020526040902054611c969083611afb565b6001600160a01b039094166000908152600a6020526040812094909455509192915050565b5092915050565b50600092915050565b6000808212158015611ce6575082611ce3838261223d565b13155b80611d045750600082128015611d04575082611d02838261223d565b135b611d0d57600080fd5b611825828461223d565b600042821115611d2957506000919050565b601654611d364284611afb565b101592915050565b611d488282611de6565b611d82611d63610a94836006546117a690919063ffffffff16565b6001600160a01b03841660009081526009602052604090205490611ccb565b6001600160a01b0390921660009081526009602052604090209190915550565b611dac8282611ec5565b611d82611dc7610a94836006546117a690919063ffffffff16565b6001600160a01b03841660009081526009602052604090205490611a4b565b6001600160a01b038216611e3c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161093d565b600254611e49908261182c565b6002556001600160a01b038216600090815260208190526040902054611e6f908261182c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b038216611f255760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161093d565b611f6281604051806060016040528060228152602001612323602291396001600160a01b0385166000908152602081905260409020549190611a04565b6001600160a01b038316600090815260208190526040902055600254611f889082611afb565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611eb9565b600060208284031215611fda578081fd5b8135611825816122ff565b600060208284031215611ff6578081fd5b8151611825816122ff565b60008060408385031215612013578081fd5b823561201e816122ff565b9150602083013561202e81612314565b809150509250929050565b6000806040838503121561204b578182fd5b8235612056816122ff565b946020939093013593505050565b60008060408385031215612076578182fd5b8235612081816122ff565b9150602083013561202e816122ff565b6000806000606084860312156120a5578081fd5b83356120b0816122ff565b925060208401356120c0816122ff565b929592945050506040919091013590565b6000602082840312156120e2578081fd5b815161182581612314565b6000602082840312156120fe578081fd5b5051919050565b600060208284031215612116578081fd5b5035919050565b6000602080835283518082850152825b818110156121495785810183015185820160400152820161212d565b8181111561215a5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b03849003851316156121c7576121c76122e9565b600160ff1b83900384128116156121e0576121e06122e9565b50500190565b600082198211156121f9576121f96122e9565b500190565b60008261221957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612238576122386122e9565b500290565b60008083128015600160ff1b85018412161561225b5761225b6122e9565b6001600160ff1b0384018313811615612276576122766122e9565b50500390565b60008282101561228e5761228e6122e9565b500390565b600181811c908216806122a757607f821691505b602082108114156122c857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156122e2576122e26122e9565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610c5357600080fd5b8015158114610c5357600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654b6e69676874446f67655f446f67655f4469766964656e645f547261636b657245524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d8d06e8ebaadb9acc4a7b44544317951b8d4b585f96e3c7fbe70718a90f15f2f64736f6c634300080400334b6e69676874446f67655f446f67655f4469766964656e645f547261636b65724f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Library Used

IterableMapping : 0xdedc3fcfa03f082cc65725b3a0cca4c27aa52752Unverified


Deployed ByteCode Sourcemap

48356:23807:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55784:641;;;;;;;;;;-1:-1:-1;55784:641:0;;;;;:::i;:::-;;:::i;:::-;;49006:39;;;;;;;;;;;;;;;;;;;21455:25:1;;;21443:2;21428:18;49006:39:0;;;;;;;;62216:333;;;;;;;;;;-1:-1:-1;62216:333:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7473:32:1;;;7455:51;;7537:2;7522:18;;7515:34;;;;7565:18;;;7558:34;;;;7623:2;7608:18;;7601:34;;;;7666:3;7651:19;;7644:35;7493:3;7695:19;;7688:35;7754:3;7739:19;;7732:35;7798:3;7783:19;;7776:35;7442:3;7427:19;62216:333:0;7409:408:1;8366:91:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54452:513::-;;;;;;;;;;;;;:::i;10512:169::-;;;;;;;;;;-1:-1:-1;10512:169:0;;;;;:::i;:::-;;:::i;:::-;;;9680:14:1;;9673:22;9655:41;;9643:2;9628:18;10512:169:0;9610:92:1;48678:36:0;;;;;;;;;;-1:-1:-1;48678:36:0;;;;-1:-1:-1;;;48678:36:0;;;;;;52984:241;;;;;;;;;;-1:-1:-1;52984:241:0;;;;;:::i;:::-;;:::i;49536:29::-;;;;;;;;;;-1:-1:-1;49536:29:0;;;;-1:-1:-1;;;;;49536:29:0;;;;;;-1:-1:-1;;;;;6472:32:1;;;6454:51;;6442:2;6427:18;49536:29:0;6409:102:1;49399:24:0;;;;;;;;;;;;;;;;48436:41;;;;;;;;;;-1:-1:-1;48436:41:0;;;;-1:-1:-1;;;;;48436:41:0;;;9465:108;;;;;;;;;;-1:-1:-1;9553:12:0;;9465:108;;49432:42;;;;;;;;;;;;;;;;11163:321;;;;;;;;;;-1:-1:-1;11163:321:0;;;;;:::i;:::-;;:::i;56441:576::-;;;;;;;;;;-1:-1:-1;56441:576:0;;;;;:::i;:::-;;:::i;48570:71::-;;;;;;;;;;-1:-1:-1;48570:71:0;;;;-1:-1:-1;;;;;48570:71:0;;;9309:91;;;;;;;;;;-1:-1:-1;9383:9:0;;9309:91;;9383:9;;;;23277:36:1;;23265:2;23250:18;9309:91:0;23232:87:1;48764:44:0;;;;;;;;;;-1:-1:-1;48764:44:0;;;;-1:-1:-1;;;48764:44:0;;;;;;11893:218;;;;;;;;;;-1:-1:-1;11893:218:0;;;;;:::i;:::-;;:::i;60804:183::-;;;;;;;;;;-1:-1:-1;60804:183:0;;;;;:::i;:::-;;:::i;48484:38::-;;;;;;;;;;;;;;;63570:101;;;;;;;;;;;;;:::i;52601:376::-;;;;;;;;;;-1:-1:-1;52601:376:0;;;;;:::i;:::-;;:::i;53372:129::-;;;;;;;;;;-1:-1:-1;53372:129:0;;;;;:::i;:::-;;:::i;49261:35::-;;;;;;;;;;;;;;;;63677:142;;;;;;;;;;;;;:::i;58761:309::-;;;;;;;;;;-1:-1:-1;58761:309:0;;;;;:::i;:::-;;:::i;49227:27::-;;;;;;;;;;;;;;;;62562:295;;;;;;;;;;-1:-1:-1;62562:295:0;;;;;:::i;:::-;;:::i;9636:127::-;;;;;;;;;;-1:-1:-1;9636:127:0;;;;;:::i;:::-;;:::i;2807:148::-;;;;;;;;;;;;;:::i;63827:149::-;;;;;;;;;;;;;:::i;48918:30::-;;;;;;;;;;-1:-1:-1;48918:30:0;;;;-1:-1:-1;;;;;48918:30:0;;;61428:127;;;;;;;;;;-1:-1:-1;61428:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;61520:27:0;61496:4;61520:27;;;:18;:27;;;;;;;;;61428:127;57025:891;;;;;;;;;;-1:-1:-1;57025:891:0;;;;;:::i;:::-;;:::i;61131:116::-;;;;;;;;;;;;;:::i;48863:46::-;;;;;;;;;;-1:-1:-1;48863:46:0;;;;-1:-1:-1;;;;;48863:46:0;;;60514:278;;;;;;;;;;-1:-1:-1;60514:278:0;;;;;:::i;:::-;;:::i;61263:149::-;;;;;;;;;;;;;:::i;53511:190::-;;;;;;;;;;-1:-1:-1;53511:190:0;;;;;:::i;:::-;;:::i;2156:87::-;;;;;;;;;;-1:-1:-1;2229:6:0;;;;;-1:-1:-1;;;;;2229:6:0;2156:87;;49303:37;;;;;;;;;;;;;;;;8576:95;;;;;;;;;;;;;:::i;58482:271::-;;;;;;;;;;-1:-1:-1;58482:271:0;;;;;:::i;:::-;;:::i;61563:157::-;;;;;;;;;;-1:-1:-1;61563:157:0;;;;;:::i;:::-;;:::i;59829:256::-;;;;;;;;;;-1:-1:-1;59829:256:0;;;;;:::i;:::-;;:::i;49483:40::-;;;;;;;;;;;;;;;;54043:120;;;;;;;;;;-1:-1:-1;54043:120:0;;;;;:::i;:::-;;:::i;12614:269::-;;;;;;;;;;-1:-1:-1;12614:269:0;;;;;:::i;:::-;;:::i;48961:38::-;;;;;;;;;;;;;;;;9976:175;;;;;;;;;;-1:-1:-1;9976:175:0;;;;;:::i;:::-;;:::i;53711:322::-;;;;;;;;;;-1:-1:-1;53711:322:0;;;;;:::i;:::-;;:::i;49131:37::-;;;;;;;;;;;;;;;;54173:131;;;;;;;;;;-1:-1:-1;54173:131:0;;;;;:::i;:::-;;:::i;59368:140::-;;;;;;;;;;-1:-1:-1;59368:140:0;;;;;:::i;:::-;;:::i;53235:127::-;;;;;;;;;;-1:-1:-1;53235:127:0;;;;;:::i;:::-;;:::i;49784:58::-;;;;;;;;;;-1:-1:-1;49784:58:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;59078:282;;;;;;;;;;-1:-1:-1;59078:282:0;;;;;:::i;:::-;;:::i;59516:305::-;;;;;;;;;;-1:-1:-1;59516:305:0;;;;;:::i;:::-;;:::i;49347:45::-;;;;;;;;;;;;;;;;48815:39;;;;;;;;;;-1:-1:-1;48815:39:0;;;;-1:-1:-1;;;48815:39:0;;;;;;55098:674;;;;;;;;;;-1:-1:-1;55098:674:0;;;;;:::i;:::-;;:::i;58219:251::-;;;;;;;;;;-1:-1:-1;58219:251:0;;;;;:::i;:::-;;:::i;61877:326::-;;;;;;;;;;-1:-1:-1;61877:326:0;;;;;:::i;:::-;;:::i;3436:226::-;;;;;;;;;;-1:-1:-1;3436:226:0;;;;;:::i;:::-;;:::i;10214:151::-;;;;;;;;;;-1:-1:-1;10214:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;10330:18:0;;;10303:7;10330:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10214:151;57933:270;;;;;;;;;;-1:-1:-1;57933:270:0;;;;;:::i;:::-;;:::i;54977:109::-;;;;;;;;;;-1:-1:-1;54977:109:0;;;;;:::i;:::-;;:::i;49052:33::-;;;;;;;;;;;;;;;;49175:45;;;;;;;;;;;;;;;;49092:29;;;;;;;;;;;;;;;;48721:36;;;;;;;;;;-1:-1:-1;48721:36:0;;;;-1:-1:-1;;;48721:36:0;;;;;;60995:128;;;;;;;;;;-1:-1:-1;60995:128:0;;;;;:::i;:::-;;:::i;61726:140::-;;;;;;;;;;-1:-1:-1;61726:140:0;;;;;:::i;:::-;;:::i;3110:244::-;;;;;;;;;;-1:-1:-1;3110:244:0;;;;;:::i;:::-;;:::i;48531:32::-;;;;;;;;;;-1:-1:-1;48531:32:0;;;;-1:-1:-1;;;;;48531:32:0;;;54314:130;;;;;;;;;;-1:-1:-1;54314:130:0;;;;;:::i;:::-;;:::i;55784:641::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;;;;;;;;;55869:19:::1;::::0;::::1;-1:-1:-1::0;;;55869:19:0;;::::1;;:31;;::::0;::::1;;;;55861:73;;;;-1:-1:-1::0;;;55861:73:0::1;;;;;;;:::i;:::-;55949:17:::0;55945:419:::1;;56016:22;::::0;;55983:30:::1;:55:::0;-1:-1:-1;56053:26:0;;56094:19:::1;:30:::0;;-1:-1:-1;;;;56094:30:0::1;-1:-1:-1::0;;;56094:30:0;::::1;;;;::::0;;55945:419:::1;;;56182:30;::::0;56157:22:::1;:55:::0;;;56284:22:::1;::::0;56266:12:::1;::::0;56239:68:::1;::::0;:40:::1;::::0;:26:::1;:40::i;:::-;:44:::0;::::1;:68::i;:::-;56227:9;:80:::0;56322:19:::1;:30:::0;;-1:-1:-1;;;;56322:30:0::1;-1:-1:-1::0;;;56322:30:0;::::1;;;;::::0;;55945:419:::1;56381:36;::::0;9680:14:1;;9673:22;9655:41;;56381:36:0::1;::::0;9643:2:1;9628:18;56381:36:0::1;;;;;;;;55784:641:::0;:::o;62216:333::-;62497:19;;:44;;-1:-1:-1;;;62497:44:0;;;;;21455:25:1;;;62321:7:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62497:19:0;;;;:37;;21428:18:1;;62497:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62490:51;;;;;;;;;;;;;;;;62216:333;;;;;;;;;:::o;8366:91::-;8411:13;8444:5;8437:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8366:91;:::o;54452:513::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;54531:1:::1;54506:22;:26:::0;54558:1:::1;54543:12;:16:::0;54595:1:::1;54570:22;:26:::0;54619:2:::1;54607:9;:14:::0;;;54632:23;;-1:-1:-1;;;;54708:26:0;-1:-1:-1;;;54708:26:0;;;54766:19:::1;54745:18;:40:::0;54822:24:::1;-1:-1:-1::0;54796:50:0;;;54884:21:::1;54857:24;:48:::0;54916:14:::1;:41:::0;54452:513::o;10512:169::-;10595:4;10612:39;812:10;10635:7;10644:6;10612:8;:39::i;:::-;-1:-1:-1;10669:4:0;10512:169;;;;;:::o;52984:241::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;53092:19:::1;::::0;:67:::1;::::0;-1:-1:-1;;;53092:67:0;;-1:-1:-1;;;;;6472:32:1;;;53092:67:0::1;::::0;::::1;6454:51:1::0;53092:19:0;;::::1;::::0;:40:::1;::::0;6427:18:1;;53092:67:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;53170:48;53186:25;53213:4;53170:15;:48::i;:::-;52984:241:::0;:::o;11163:321::-;11269:4;11286:36;11296:6;11304:9;11315:6;11286:9;:36::i;:::-;11333:121;11342:6;812:10;11364:89;11402:6;11364:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11364:19:0;;;;;;:11;:19;;;;;;;;812:10;11364:33;;;;;;;;;;:37;:89::i;:::-;11333:8;:121::i;:::-;-1:-1:-1;11472:4:0;11163:321;;;;;:::o;56441:576::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;56523:16:::1;::::0;::::1;-1:-1:-1::0;;;56523:16:0;;::::1;;:28;;::::0;::::1;;;;56515:70;;;;-1:-1:-1::0;;;56515:70:0::1;;;;;;;:::i;:::-;56600:17:::0;56596:363:::1;;56657:12;::::0;;56634:20:::1;:35:::0;-1:-1:-1;56684:16:0;;56715::::1;:27:::0;;-1:-1:-1;;;;56715:27:0::1;-1:-1:-1::0;;;56715:27:0;::::1;;;;::::0;;56596:363:::1;;;56790:20;::::0;56775:12:::1;:35:::0;;;56882:22:::1;::::0;56854::::1;::::0;56837:68:::1;::::0;:40:::1;::::0;:16:::1;:40::i;:68::-;56825:9;:80:::0;56920:16:::1;:27:::0;;-1:-1:-1;;;;56920:27:0::1;-1:-1:-1::0;;;56920:27:0;::::1;;;;::::0;;56596:363:::1;56976:33;::::0;9680:14:1;;9673:22;9655:41;;56976:33:0::1;::::0;9643:2:1;9628:18;56976:33:0::1;9610:92:1::0;11893:218:0;812:10;11981:4;12030:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12030:34:0;;;;;;;;;;11981:4;;11998:83;;12021:7;;12030:50;;12069:10;12030:38;:50::i;60804:183::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;60903:19:::1;::::0;:76:::1;::::0;-1:-1:-1;;;60903:76:0;;::::1;::::0;::::1;21455:25:1::0;;;-1:-1:-1;;;;;60903:19:0;;::::1;::::0;:57:::1;::::0;21428:18:1;;60903:76:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;60804:183:::0;:::o;63570:101::-;63601:19;;:62;;-1:-1:-1;;;63601:62:0;;63644:10;63601:62;;;6700:51:1;63601:19:0;6767:18:1;;;6760:50;-1:-1:-1;;;;;63601:19:0;;;;:34;;6673:18:1;;63601:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;52601:376::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;52704:14:::1;:32:::0;;-1:-1:-1;;;;;;52704:32:0::1;-1:-1:-1::0;;;;;52704:32:0;;::::1;::::0;;::::1;::::0;;;52747:19:::1;::::0;:57:::1;::::0;-1:-1:-1;;;52747:57:0;;::::1;::::0;::::1;6454:51:1::0;;;;52747:19:0;;::::1;::::0;:40:::1;::::0;6427:18:1;;52747:57:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;52815:38;52831:15;52848:4;52815:15;:38::i;:::-;52866:19;::::0;:56:::1;::::0;-1:-1:-1;;;52866:56:0;;-1:-1:-1;;;;;6472:32:1;;;52866:56:0::1;::::0;::::1;6454:51:1::0;52866:19:0;;::::1;::::0;:40:::1;::::0;6427:18:1;;52866:56:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;52933:37;52949:14;52965:4;52933:15;:37::i;:::-;52601:376:::0;;:::o;53372:129::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;53476:18:::1;:7:::0;53487:6:::1;53476:18;:::i;:::-;53449:24;:45:::0;-1:-1:-1;53372:129:0:o;63677:142::-;63768:19;;:43;;;-1:-1:-1;;;63768:43:0;;;;63744:7;;-1:-1:-1;;;;;63768:19:0;;:41;;:43;;;;;;;;;;;;;;:19;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63761:50;;63677:142;:::o;58761:309::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;58872:15:::1;::::0;-1:-1:-1;;;;;58850:38:0;;::::1;58872:15:::0;::::1;58850:38;;58842:86;;;::::0;-1:-1:-1;;;58842:86:0;;16051:2:1;58842:86:0::1;::::0;::::1;16033:21:1::0;16090:2;16070:18;;;16063:30;16129:34;16109:18;;;16102:62;-1:-1:-1;;;16180:18:1;;;16173:33;16223:19;;58842:86:0::1;16023:225:1::0;58842:86:0::1;58986:15;::::0;58944:59:::1;::::0;-1:-1:-1;;;;;58986:15:0;;::::1;::::0;58944:59;::::1;::::0;::::1;::::0;58986:15:::1;::::0;58944:59:::1;59014:15;:48:::0;;-1:-1:-1;;;;;;59014:48:0::1;-1:-1:-1::0;;;;;59014:48:0;;;::::1;::::0;;;::::1;::::0;;58761:309::o;62562:295::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;62707:19:::1;::::0;:32:::1;::::0;-1:-1:-1;;;;;;62707:32:0;;::::1;::::0;::::1;21455:25:1::0;;;62632:21:0::1;::::0;;;;;-1:-1:-1;;;;;62707:19:0::1;::::0;:27:::1;::::0;21428:18:1;;62707:32:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62749:100;::::0;;22970:25:1;;;23026:2;23011:18;;23004:34;;;23054:18;;;23047:34;;;23112:2;23097:18;;23090:34;;;62631:108:0;;-1:-1:-1;62631:108:0;;-1:-1:-1;62631:108:0;-1:-1:-1;62839:9:0::1;::::0;62827:5:::1;::::0;62749:100:::1;::::0;22957:3:1;22942:19;62749:100:0::1;;;;;;;2447:1;;;62562:295:::0;:::o;9636:127::-;-1:-1:-1;;;;;9737:18:0;9710:7;9737:18;;;;;;;;;;;;9636:127::o;2807:148::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;2898:6:::1;::::0;2877:40:::1;::::0;2914:1:::1;::::0;2898:6:::1;::::0;::::1;-1:-1:-1::0;;;;;2898:6:0::1;::::0;2877:40:::1;::::0;2914:1;;2877:40:::1;2928:6;:19:::0;;-1:-1:-1;;;;;;2928:19:0::1;::::0;;2807:148::o;63827:149::-;63923:19;;:45;;;-1:-1:-1;;;63923:45:0;;;;63896:7;;-1:-1:-1;;;;;63923:19:0;;:43;;:45;;;;;;;;;;;;;;:19;:45;;;;;;;;;;57025:891;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;57140:19:::1;::::0;-1:-1:-1;;;;;57118:42:0;;::::1;57140:19:::0;::::1;57118:42;;57110:100;;;::::0;-1:-1:-1;;;57110:100:0;;21097:2:1;57110:100:0::1;::::0;::::1;21079:21:1::0;21136:2;21116:18;;;21109:30;21175:34;21155:18;;;21148:62;-1:-1:-1;;;21226:18:1;;;21219:43;21279:19;;57110:100:0::1;21069:235:1::0;57110:100:0::1;57223:42;57296:10;57223:85;;57371:4;-1:-1:-1::0;;;;;57329:47:0::1;:22;-1:-1:-1::0;;;;;57329:28:0::1;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;57329:47:0::1;;57321:131;;;::::0;-1:-1:-1;;;57321:131:0;;12806:2:1;57321:131:0::1;::::0;::::1;12788:21:1::0;12845:2;12825:18;;;12818:30;12884:34;12864:18;;;12857:62;12955:34;12935:18;;;12928:62;-1:-1:-1;;;13006:19:1;;;12999:38;13054:19;;57321:131:0::1;12778:301:1::0;57321:131:0::1;57465:76;::::0;-1:-1:-1;;;57465:76:0;;-1:-1:-1;;;;;57465:43:0;::::1;:76;::::0;::::1;6454:51:1::0;;;57465:43:0;::::1;::::0;6427:18:1;;57465:76:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;57552:58:0::1;::::0;-1:-1:-1;;;57552:58:0;;57604:4:::1;57552:58;::::0;::::1;6454:51:1::0;-1:-1:-1;;;;;57552:43:0;::::1;::::0;-1:-1:-1;57552:43:0::1;::::0;-1:-1:-1;6427:18:1;;57552:58:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;57673:15:0::1;::::0;57621:69:::1;::::0;-1:-1:-1;;;57621:69:0;;-1:-1:-1;;;;;57673:15:0;;::::1;57621:69;::::0;::::1;6454:51:1::0;57621:43:0;;::::1;::::0;-1:-1:-1;57621:43:0::1;::::0;-1:-1:-1;6427:18:1;;57621:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;57753:11:0::1;::::0;57701:65:::1;::::0;-1:-1:-1;;;57701:65:0;;-1:-1:-1;;;;;57753:11:0;;::::1;57701:65;::::0;::::1;6454:51:1::0;57701:43:0;;::::1;::::0;-1:-1:-1;57701:43:0::1;::::0;-1:-1:-1;6427:18:1;;57701:65:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;57830:19:0::1;::::0;57784:67:::1;::::0;-1:-1:-1;;;;;57830:19:0;;::::1;::::0;-1:-1:-1;57784:67:0;;::::1;::::0;-1:-1:-1;57784:67:0::1;::::0;57830:19:::1;::::0;57784:67:::1;57864:19;:44:::0;;-1:-1:-1;;;;;;57864:44:0::1;-1:-1:-1::0;;;;;57864:44:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;57025:891:0:o;61131:116::-;61208:19;;:31;;;-1:-1:-1;;;61208:31:0;;;;61181:7;;-1:-1:-1;;;;;61208:19:0;;:29;;:31;;;;;;;;;;;;;;:19;:31;;;;;;;;;;60514:278;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;60614:16:::1;;60602:8;:28;;60594:85;;;::::0;-1:-1:-1;;;60594:85:0;;14926:2:1;60594:85:0::1;::::0;::::1;14908:21:1::0;14965:2;14945:18;;;14938:30;15004:34;14984:18;;;14977:62;-1:-1:-1;;;15055:18:1;;;15048:42;15107:19;;60594:85:0::1;14898:234:1::0;60594:85:0::1;60690:16;:27:::0;;;60733:51:::1;::::0;60709:8;;;;60733:51:::1;::::0;;;::::1;60514:278:::0;:::o;61263:149::-;61357:19;;:47;;;-1:-1:-1;;;61357:47:0;;;;61330:7;;-1:-1:-1;;;;;61357:19:0;;:45;;:47;;;;;;;;;;;;;;:19;:47;;;;;;;;;;53511:190;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;53595:17:::1;:32:::0;;-1:-1:-1;;;;;;53595:32:0::1;-1:-1:-1::0;;;;;53595:32:0;;::::1;::::0;;::::1;::::0;;;53637:19:::1;::::0;:57:::1;::::0;-1:-1:-1;;;53637:57:0;;::::1;::::0;::::1;6454:51:1::0;;;;53637:19:0;;::::1;::::0;:43:::1;::::0;6427:18:1;;53637:57:0::1;6409:102:1::0;8576:95:0;8623:13;8656:7;8649:14;;;;;:::i;58482:271::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;58582:1:::1;58572:6;:11;;;;58564:48;;;;-1:-1:-1::0;;;58564:48:0::1;;;;;;;:::i;:::-;58623:31;::::0;::::1;:22;:31:::0;;;58732:12:::1;::::0;58704:22:::1;::::0;58677:68:::1;::::0;:50:::1;::::0;:26:::1;:50::i;:68::-;58665:9;:80:::0;-1:-1:-1;58482:271:0:o;61563:157::-;61662:19;;:51;;-1:-1:-1;;;61662:51:0;;-1:-1:-1;;;;;6472:32:1;;;61662:51:0;;;6454::1;61638:7:0;;61662:19;;:42;;6427:18:1;;61662:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;59829:256::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;59936:13:::1;-1:-1:-1::0;;;;;59928:21:0::1;:4;-1:-1:-1::0;;;;;59928:21:0::1;;;59920:103;;;::::0;-1:-1:-1;;;59920:103:0;;11511:2:1;59920:103:0::1;::::0;::::1;11493:21:1::0;11550:2;11530:18;;;11523:30;11589:34;11569:18;;;11562:62;11660:34;11640:18;;;11633:62;-1:-1:-1;;;11711:19:1;;;11704:36;11757:19;;59920:103:0::1;11483:299:1::0;59920:103:0::1;60036:41;60065:4;60071:5;60036:28;:41::i;54043:120::-:0;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;54136:20:::1;:9:::0;54149:6:::1;54136:20;:::i;:::-;54119:14;:37:::0;-1:-1:-1;54043:120:0:o;12614:269::-;12707:4;12724:129;812:10;12747:7;12756:96;12795:15;12756:96;;;;;;;;;;;;;;;;;812:10;12756:25;;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12756:34:0;;;;;;;;;;;;:38;:96::i;9976:175::-;10062:4;10079:42;812:10;10103:9;10114:6;10079:9;:42::i;53711:322::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;53813:15:::1;::::0;-1:-1:-1;;;;;53799:29:0;;::::1;53813:15:::0;::::1;53799:29;;53791:86;;;::::0;-1:-1:-1;;;53791:86:0;;12393:2:1;53791:86:0::1;::::0;::::1;12375:21:1::0;12432:2;12412:18;;;12405:30;12471:34;12451:18;;;12444:62;-1:-1:-1;;;12522:18:1;;;12515:42;12574:19;;53791:86:0::1;12365:234:1::0;53791:86:0::1;53888:33;53904:10;53916:4;53888:15;:33::i;:::-;53960:15;::::0;53937:51:::1;::::0;-1:-1:-1;;;;;53937:51:0;;::::1;::::0;53960:15:::1;::::0;53937:51:::1;::::0;53960:15:::1;::::0;53937:51:::1;53998:15;:28:::0;;-1:-1:-1;;;;;;53998:28:0::1;-1:-1:-1::0;;;;;53998:28:0;;;::::1;::::0;;;::::1;::::0;;53711:322::o;54173:131::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;54275:22:::1;:11:::0;54290:6:::1;54275:22;:::i;:::-;54254:18;:43:::0;-1:-1:-1;54173:131:0:o;59368:140::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;59442:19:::1;::::0;:58:::1;::::0;-1:-1:-1;;;59442:58:0;;-1:-1:-1;;;;;6472:32:1;;;59442:58:0::1;::::0;::::1;6454:51:1::0;59442:19:0;;::::1;::::0;:40:::1;::::0;6427:18:1;;59442:58:0::1;6409:102:1::0;53235:127:0;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;53337:18:::1;:7:::0;53348:6:::1;53337:18;:::i;:::-;53311:23;:44:::0;-1:-1:-1;53235:127:0:o;59078:282::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59171:27:0;::::1;;::::0;;;:18:::1;:27;::::0;;;;;::::1;;:39;;::::0;::::1;;;;59163:88;;;::::0;-1:-1:-1;;;59163:88:0;;13286:2:1;59163:88:0::1;::::0;::::1;13268:21:1::0;13325:2;13305:18;;;13298:30;13364:34;13344:18;;;13337:62;-1:-1:-1;;;13415:18:1;;;13408:34;13459:19;;59163:88:0::1;13258:226:1::0;59163:88:0::1;-1:-1:-1::0;;;;;59262:27:0;::::1;;::::0;;;:18:::1;:27;::::0;;;;;;;;:38;;-1:-1:-1;;59262:38:0::1;::::0;::::1;;::::0;;::::1;::::0;;;59318:34;;9655:41:1;;;59318:34:0::1;::::0;9628:18:1;59318:34:0::1;;;;;;;59078:282:::0;;:::o;59516:305::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;59635:9:::1;59631:114;59650:19:::0;;::::1;59631:114;;;59725:8;59691:18;:31;59710:8;;59719:1;59710:11;;;;;-1:-1:-1::0;;;59710:11:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;59691:31:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;59691:31:0;:42;;-1:-1:-1;;59691:42:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59671:3;::::1;::::0;::::1;:::i;:::-;;;;59631:114;;;;59762:51;59794:8;;59804;59762:51;;;;;;;;:::i;:::-;;;;;;;;59516:305:::0;;;:::o;55098:674::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;55188:24:::1;::::0;::::1;-1:-1:-1::0;;;55188:24:0;;::::1;;:36;;::::0;::::1;;;;55180:78;;;;-1:-1:-1::0;;;55180:78:0::1;;;;;;;:::i;:::-;55273:17:::0;55269:429:::1;;55340:22;::::0;;55307:30:::1;:55:::0;-1:-1:-1;55377:26:0;;55418:24:::1;:35:::0;;-1:-1:-1;;;;55418:35:0::1;-1:-1:-1::0;;;55418:35:0;::::1;;;;::::0;;55269:429:::1;;;55511:30;::::0;55486:22:::1;:55:::0;;;55613:22:::1;::::0;55595:12:::1;::::0;55568:68:::1;::::0;:40:::1;::::0;:26:::1;:40::i;:68::-;55556:9;:80:::0;55651:24:::1;:35:::0;;-1:-1:-1;;;;55651:35:0::1;-1:-1:-1::0;;;55651:35:0;::::1;;;;::::0;;55269:429:::1;55723:41;::::0;9680:14:1;;9673:22;9655:41;;55723::0::1;::::0;9643:2:1;9628:18;55723:41:0::1;9610:92:1::0;58219:251:0;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;58309:1:::1;58299:6;:11;;;;58291:48;;;;-1:-1:-1::0;;;58291:48:0::1;;;;;;;:::i;:::-;58350:21;::::0;::::1;:12;:21:::0;;;58439:22:::1;::::0;58411::::1;::::0;58394:68:::1;::::0;:40:::1;::::0;:16:::1;:40::i;61877:326::-:0;62156:19;;:39;;-1:-1:-1;;;62156:39:0;;-1:-1:-1;;;;;6472:32:1;;;62156:39:0;;;6454:51:1;61977:7:0;;;;;;;;;;;;;;;;62156:19;;;:30;;6427:18:1;;62156:39:0;6409:102:1;3436:226:0;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;3517:6:::1;::::0;;3500:14:::1;:23:::0;;-1:-1:-1;;;;;;3500:23:0::1;-1:-1:-1::0;;;;;3517:6:0::1;::::0;::::1;;3500:23;::::0;;-1:-1:-1;;;;;;3534:19:0::1;::::0;;3576:22:::1;3594:4:::0;3576:15:::1;:22;:::i;:::-;3564:9;:34:::0;3635:6:::1;::::0;3614:40:::1;::::0;3651:1:::1;::::0;3635:6:::1;::::0;::::1;-1:-1:-1::0;;;;;3635:6:0::1;::::0;3614:40:::1;::::0;3651:1;;3614:40:::1;3436:226:::0;:::o;57933:270::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;58032:1:::1;58022:6;:11;;;;58014:48;;;;-1:-1:-1::0;;;58014:48:0::1;;;;;;;:::i;:::-;58073:31;::::0;::::1;:22;:31:::0;;;58172:22:::1;::::0;58154:12:::1;::::0;58127:68:::1;::::0;:40:::1;::::0;:26:::1;:40::i;54977:109::-:0;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;55051:16:::1;:27:::0;;;::::1;;-1:-1:-1::0;;;55051:27:0::1;-1:-1:-1::0;;;;55051:27:0;;::::1;::::0;;;::::1;::::0;;54977:109::o;60995:128::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;61069:19:::1;::::0;:46:::1;::::0;-1:-1:-1;;;61069:46:0;;::::1;::::0;::::1;21455:25:1::0;;;-1:-1:-1;;;;;61069:19:0;;::::1;::::0;:35:::1;::::0;21428:18:1;;61069:46:0::1;21410:76:1::0;61726:140:0;61823:19;;:38;;-1:-1:-1;;;61823:38:0;;-1:-1:-1;;;;;6472:32:1;;;61823:38:0;;;6454:51:1;61802:7:0;;61823:19;;:29;;6427:18:1;;61823:38:0;6409:102:1;3110:244:0;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3199:22:0;::::1;3191:73;;;::::0;-1:-1:-1;;;3191:73:0;;13691:2:1;3191:73:0::1;::::0;::::1;13673:21:1::0;13730:2;13710:18;;;13703:30;13769:34;13749:18;;;13742:62;-1:-1:-1;;;13820:18:1;;;13813:36;13866:19;;3191:73:0::1;13663:228:1::0;3191:73:0::1;3301:6;::::0;3280:38:::1;::::0;-1:-1:-1;;;;;3280:38:0;;::::1;::::0;3301:6:::1;::::0;::::1;;::::0;3280:38:::1;::::0;;;::::1;3329:6;:17:::0;;-1:-1:-1;;;;;3329:17:0;;::::1;;;-1:-1:-1::0;;;;;;3329:17:0;;::::1;::::0;;;::::1;::::0;;3110:244::o;54314:130::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;54402:21:::1;:35:::0;54314:130::o;41919:179::-;41977:7;;42009:5;42013:1;42009;:5;:::i;:::-;41997:17;;42038:1;42033;:6;;42025:46;;;;-1:-1:-1;;;42025:46:0;;15339:2:1;42025:46:0;;;15321:21:1;15378:2;15358:18;;;15351:30;15417:29;15397:18;;;15390:57;15464:18;;42025:46:0;15311:177:1;42025:46:0;42089:1;41919:179;-1:-1:-1;;;41919:179:0:o;15761:346::-;-1:-1:-1;;;;;15863:19:0;;15855:68;;;;-1:-1:-1;;;15855:68:0;;20339:2:1;15855:68:0;;;20321:21:1;20378:2;20358:18;;;20351:30;20417:34;20397:18;;;20390:62;-1:-1:-1;;;20468:18:1;;;20461:34;20512:19;;15855:68:0;20311:226:1;15855:68:0;-1:-1:-1;;;;;15942:21:0;;15934:68;;;;-1:-1:-1;;;15934:68:0;;14098:2:1;15934:68:0;;;14080:21:1;14137:2;14117:18;;;14110:30;14176:34;14156:18;;;14149:62;-1:-1:-1;;;14227:18:1;;;14220:32;14269:19;;15934:68:0;14070:224:1;15934:68:0;-1:-1:-1;;;;;16015:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;16067:32;;21455:25:1;;;16067:32:0;;21428:18:1;16067:32:0;;;;;;;;15761:346;;;:::o;63984:4113::-;-1:-1:-1;;;;;64116:18:0;;64108:68;;;;-1:-1:-1;;;64108:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;64195:16:0;;64187:64;;;;-1:-1:-1;;;64187:64:0;;;;;;;:::i;:::-;64270:16;;-1:-1:-1;;;64270:16:0;;;;;:72;;-1:-1:-1;;;;;;64291:24:0;;;;;;:18;:24;;;;;;;;;:50;;-1:-1:-1;;;;;;64319:22:0;;;;;;:18;:22;;;;;;;;64291:50;64262:112;;;;-1:-1:-1;;;64262:112:0;;15695:2:1;64262:112:0;;;15677:21:1;15734:2;15714:18;;;15707:30;15773:29;15753:18;;;15746:57;15820:18;;64262:112:0;15667:177:1;64262:112:0;-1:-1:-1;;;;;64418:24:0;;64395:20;64418:24;;;:18;:24;;;;;;;;;:50;;-1:-1:-1;;;;;;64446:22:0;;;;;;:18;:22;;;;;;;;64418:50;64507:16;;64395:73;;-1:-1:-1;;;;64507:16:0;;;;:64;;;;-1:-1:-1;;;;;;64540:31:0;;;;;;:25;:31;;;;;;;;64507:64;:97;;;;;64589:15;64588:16;64507:97;64489:2594;;;64667:23;;64657:6;:33;;64631:135;;;;-1:-1:-1;;;64631:135:0;;17169:2:1;64631:135:0;;;17151:21:1;17208:2;17188:18;;;17181:30;17247:34;17227:18;;;17220:62;-1:-1:-1;;;17298:18:1;;;17291:38;17346:19;;64631:135:0;17141:230:1;64631:135:0;64795:32;64830:13;64840:2;64830:9;:13::i;:::-;64921:14;;64795:48;;-1:-1:-1;64884:33:0;64911:6;64795:48;64884:33;:::i;:::-;:51;;64858:149;;;;-1:-1:-1;;;64858:149:0;;17578:2:1;64858:149:0;;;17560:21:1;17617:2;17597:18;;;17590:30;17656:34;17636:18;;;17629:62;-1:-1:-1;;;17707:18:1;;;17700:34;17751:19;;64858:149:0;17550:226:1;64858:149:0;64489:2594;;;;65040:16;;-1:-1:-1;;;65040:16:0;;;;:62;;;;-1:-1:-1;;;;;;65073:29:0;;;;;;:25;:29;;;;;;;;65040:62;:95;;;;;65120:15;65119:16;65040:95;65025:2058;;;65180:24;;65170:6;:34;;65162:105;;;;-1:-1:-1;;;65162:105:0;;19912:2:1;65162:105:0;;;19894:21:1;19951:2;19931:18;;;19924:30;19990:34;19970:18;;;19963:62;20061:28;20041:18;;;20034:56;20107:19;;65162:105:0;19884:248:1;65162:105:0;65296:28;65327:24;65345:4;65327:9;:24::i;:::-;65405:18;;65457:8;;65296:55;;-1:-1:-1;65381:42:0;;;;-1:-1:-1;;;65457:8:0;;;;65456:9;:20;;;;;65469:7;65456:20;65452:1620;;;65497:8;:15;;-1:-1:-1;;;;65497:15:0;-1:-1:-1;;;65497:15:0;;;;;-1:-1:-1;;;65553:16:0;;65497:15;65553:16;65549:344;;;65594:18;65615:53;65655:12;;65615:35;65640:9;;65615:20;:24;;:35;;;;:::i;:::-;:39;;:53::i;:::-;65594:74;;65691:28;65708:10;65691:16;:28::i;:::-;65838:15;;65769:21;;65813:60;;-1:-1:-1;;;;;65838:15:0;65769:21;65813:16;:60::i;:::-;65549:344;;;65933:24;;-1:-1:-1;;;65933:24:0;;;;65929:810;;;65982:26;66011:6;:4;:6::i;:::-;65982:35;;66066:2;66044:18;:24;66040:680;;66122:21;66199:10;66174:36;;66170:362;;;66243:53;66258:37;66288:6;:4;:6::i;:::-;66258:25;:14;66277:5;66258:18;:25::i;:37::-;66243:14;:53::i;:::-;66170:362;;;66361:18;66382:63;66422:22;;66382:35;66407:9;;66382:20;:24;;:35;;;;:::i;:63::-;66361:84;;66476:28;66493:10;66476:16;:28::i;:::-;66170:362;;66040:680;;;;66586:2;66565:18;:23;66561:159;;;66617:79;66632:63;66672:22;;66632:35;66657:9;;66632:20;:24;;:35;;;;:::i;:63::-;66617:14;:79::i;:::-;65929:810;;66763:19;;-1:-1:-1;;;66763:19:0;;;;66759:245;;;66879:22;;66828:18;;66807;;66828:74;;:46;;66879:22;66828;:46::i;:74::-;66807:95;;66925:59;66950:33;66976:6;:4;:6::i;66950:33::-;66925:24;:59::i;:::-;66759:245;;67040:8;:16;;-1:-1:-1;;;;67040:16:0;;;65452:1620;65025:2058;;;67110:16;;67095:12;;-1:-1:-1;;;67110:16:0;;;;:29;;;;-1:-1:-1;67131:8:0;;-1:-1:-1;;;67131:8:0;;;;67130:9;67110:29;:49;;;;;67144:15;67143:16;67110:49;67095:64;;67175:7;67172:352;;;67231:9;;67196:12;;67211:30;;:15;:6;67222:3;67211:10;:15::i;:30::-;-1:-1:-1;;;;;67302:29:0;;;;;;:25;:29;;;;;;67196:45;;-1:-1:-1;67302:29:0;;67299:116;;;67377:21;;67359:40;;:13;:4;67368:3;67359:8;:13::i;:40::-;67352:47;;67299:116;67437:16;:6;67448:4;67437:10;:16::i;:::-;67428:25;;67470:42;67486:4;67500;67507;67470:15;:42::i;:::-;67172:352;;67536:33;67552:4;67558:2;67562:6;67536:15;:33::i;:::-;67586:19;;-1:-1:-1;;;;;67586:19:0;:30;67625:4;67632:15;67625:4;67632:9;:15::i;:::-;67586:62;;-1:-1:-1;;;;;;67586:62:0;;;;;;;-1:-1:-1;;;;;7029:32:1;;;67586:62:0;;;7011:51:1;7078:18;;;7071:34;6984:18;;67586:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67582:78;67674:19;;-1:-1:-1;;;;;67674:19:0;:30;67713:2;67718:13;67713:2;67718:9;:13::i;:::-;67674:58;;-1:-1:-1;;;;;;67674:58:0;;;;;;;-1:-1:-1;;;;;7029:32:1;;;67674:58:0;;;7011:51:1;7078:18;;;7071:34;6984:18;;67674:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67670:74;67760:8;;-1:-1:-1;;;67760:8:0;;;;67756:334;;67793:16;;67824:19;;:32;;-1:-1:-1;;;;;;67824:32:0;;;;;21455:25:1;;;-1:-1:-1;;;;;67824:19:0;;;;:27;;21428:18:1;;67824:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67824:32:0;;;;;;;;-1:-1:-1;;67824:32:0;;;;;;;;;;;;:::i;:::-;;;67820:251;;;;;67945:90;;;22970:25:1;;;23026:2;23011:18;;23004:34;;;23054:18;;;23047:34;;;23112:2;23097:18;;23090:34;;;68025:9:0;;68014:4;;67945:90;;22957:3:1;22942:19;67945:90:0;;;;;;;67857:188;;;67820:251;67756:334;63984:4113;;;;;:::o;44746:166::-;44832:7;44868:12;44860:6;;;;44852:29;;;;-1:-1:-1;;;44852:29:0;;;;;;;;:::i;:::-;-1:-1:-1;44899:5:0;44903:1;44899;:5;:::i;:::-;44892:12;44746:166;-1:-1:-1;;;;44746:166:0:o;60093:413::-;2229:6;;-1:-1:-1;;;;;2229:6:0;;;;;812:10;2376:23;2368:68;;;;-1:-1:-1;;;2368:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;60194:31:0;::::1;;::::0;;;:25:::1;:31;::::0;;;;;::::1;;:40;;::::0;::::1;;;;60186:109;;;::::0;-1:-1:-1;;;60186:109:0;;14501:2:1;60186:109:0::1;::::0;::::1;14483:21:1::0;14540:2;14520:18;;;14513:30;14579:34;14559:18;;;14552:62;14650:26;14630:18;;;14623:54;14694:19;;60186:109:0::1;14473:246:1::0;60186:109:0::1;-1:-1:-1::0;;;;;60306:31:0;::::1;;::::0;;;:25:::1;:31;::::0;;;;:39;;-1:-1:-1;;60306:39:0::1;::::0;::::1;::::0;::::1;::::0;;;::::1;::::0;;;60358:83:::1;;60383:19;::::0;:46:::1;::::0;-1:-1:-1;;;60383:46:0;;-1:-1:-1;;;;;6472:32:1;;;60383:46:0::1;::::0;::::1;6454:51:1::0;60383:19:0;;::::1;::::0;:40:::1;::::0;6427:18:1;;60383:46:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;60358:83;60458:40;::::0;;::::1;;::::0;-1:-1:-1;;;;;60458:40:0;::::1;::::0;::::1;::::0;;;::::1;60093:413:::0;;:::o;43496:153::-;43554:7;43586:1;43582;:5;43574:44;;;;-1:-1:-1;;;43574:44:0;;16814:2:1;43574:44:0;;;16796:21:1;16853:2;16833:18;;;16826:30;16892:28;16872:18;;;16865:56;16938:18;;43574:44:0;16786:176:1;43574:44:0;43636:5;43640:1;43636;:5;:::i;42798:220::-;42856:7;42880:6;42876:20;;-1:-1:-1;42895:1:0;42888:8;;42876:20;42907:9;42919:5;42923:1;42919;:5;:::i;:::-;42907:17;-1:-1:-1;42952:1:0;42943:5;42947:1;42907:17;42943:5;:::i;:::-;:10;42935:56;;;;-1:-1:-1;;;42935:56:0;;18341:2:1;42935:56:0;;;18323:21:1;18380:2;18360:18;;;18353:30;18419:34;18399:18;;;18392:62;-1:-1:-1;;;18470:18:1;;;18463:31;18511:19;;42935:56:0;18313:223:1;69984:599:0;70134:16;;;70148:1;70134:16;;;;;;;;70110:21;;70134:16;;;;;;;;;;-1:-1:-1;70134:16:0;70110:40;;70179:4;70161;70166:1;70161:7;;;;;;-1:-1:-1;;;70161:7:0;;;;;;;;;-1:-1:-1;;;;;70161:23:0;;;:7;;;;;;;;;;:23;;;;70205:15;;:22;;;-1:-1:-1;;;70205:22:0;;;;:15;;;;;:20;;:22;;;;;70161:7;;70205:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70195:4;70200:1;70195:7;;;;;;-1:-1:-1;;;70195:7:0;;;;;;;;;-1:-1:-1;;;;;70195:32:0;;;:7;;;;;;;;;:32;70272:15;;70240:62;;70257:4;;70272:15;70290:11;70240:8;:62::i;:::-;70341:15;;:224;;-1:-1:-1;;;70341:224:0;;-1:-1:-1;;;;;70341:15:0;;;;:66;;:224;;70422:11;;70341:15;;70492:4;;70519;;70539:15;;70341:224;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71645:122;71733:26;;-1:-1:-1;;;;;71733:18:0;;;:26;;;;;71752:6;;71733:26;;;;71752:6;71733:18;:26;;;;;;;;;;;;;;;;;;;;;71645:122;;:::o;62869:693::-;63206:28;;-1:-1:-1;;63223:10:0;5786:2:1;5782:15;5778:53;63206:28:0;;;5766:66:1;62907:7:0;;;;63283:12;;63263:15;;5848:12:1;;63206:28:0;;;;;;;;;;;;63196:39;;;;;;63188:48;;63187:92;;;;:::i;:::-;63088:32;;-1:-1:-1;;63105:14:0;5786:2:1;5782:15;5778:53;63088:32:0;;;5766:66:1;63169:14:0;;63149:15;;5848:12:1;;63088:32:0;;;;;;;;;;;;63078:43;;;;;;63070:52;;63069:96;;;;:::i;:::-;63031:34;63049:16;63031:15;:34;:::i;:::-;:135;;;;:::i;:::-;:152;;;;:::i;:::-;:249;;;;:::i;:::-;:264;;;;:::i;:::-;62992:304;;;;;;6250:19:1;;6294:2;6285:12;;6240:63;62992:304:0;;;;-1:-1:-1;;62992:304:0;;;;;;;;;62964:355;;62992:304;62964:355;;;;;-1:-1:-1;62942:396:0;63380:10;63387:3;62964:355;63380:10;:::i;:::-;63379:18;;63394:3;63379:18;:::i;:::-;63371:27;;:4;:27;:::i;:::-;63349:50;-1:-1:-1;63414:15:0;63410:145;;63446:15;63460:1;63446:15;;:::i;69181:795::-;69324:16;;;69338:1;69324:16;;;;;;;;69300:21;;69324:16;;;;;;;;-1:-1:-1;;69361:15:0;;:22;;;-1:-1:-1;;;69361:22:0;;;;69300:40;;-1:-1:-1;;;;;;69361:15:0;;;;:20;;-1:-1:-1;69361:22:0;;;;;;;;;;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69351:4;69356:1;69351:7;;;;;;-1:-1:-1;;;69351:7:0;;;;;;;;;;;;;;:32;-1:-1:-1;;;;;69351:32:0;;;-1:-1:-1;;;;;69351:32:0;;;;;69412:4;69394;69399:1;69394:7;;;;;;-1:-1:-1;;;69394:7:0;;;;;;;;;-1:-1:-1;;;;;69394:23:0;;;:7;;;;;;;;;:23;69473:15;;69438:22;;69463:26;;69473:15;69463:9;:26::i;:::-;69526:15;;69688;;69438:51;;-1:-1:-1;;;;;;69526:15:0;;;;:66;;69600:6;;69526:15;;69669:4;;69688:15;69734:24;:15;69754:3;69734:19;:24::i;:::-;69526:243;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;69825:15:0;;69790:22;;-1:-1:-1;69815:46:0;;-1:-1:-1;69846:14:0;;-1:-1:-1;69815:26:0;;-1:-1:-1;;;;;69825:15:0;69815:9;:26::i;:::-;:30;;:46::i;:::-;69888:15;;69790:71;;-1:-1:-1;69882:38:0;;-1:-1:-1;;;;;69888:15:0;69790:71;69882:5;:38::i;:::-;69938:30;69955:6;69963:4;69938:30;;;;;;;:::i;:::-;;;;;;;;69181:795;;;;:::o;68109:521::-;68233:12;68248:27;:20;68273:1;68248:24;:27::i;:::-;68233:42;-1:-1:-1;68286:17:0;68306:30;:20;68233:42;68306:24;:30::i;:::-;68286:50;-1:-1:-1;68374:21:0;68408:22;68425:4;68408:16;:22::i;:::-;68443:18;68464:41;:21;68490:14;68464:25;:41::i;:::-;68443:62;;68518:35;68531:9;68542:10;68518:12;:35::i;:::-;68579:43;;;22617:25:1;;;22673:2;22658:18;;22651:34;;;22701:18;;;22694:34;;;68579:43:0;;22605:2:1;22590:18;68579:43:0;;;;;;;;68109:521;;;;;:::o;71294:343::-;71413:17;;71363:68;;71390:6;;71406:4;;-1:-1:-1;;;;;71413:17:0;71363:26;:68::i;:::-;71473:17;;71466:50;;-1:-1:-1;;;71466:50:0;;71510:4;71466:50;;;6454:51:1;71442:21:0;;-1:-1:-1;;;;;71473:17:0;;71466:35;;6427:18:1;;71466:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71545:17;;71572:19;;71442:74;;-1:-1:-1;71527:102:0;;-1:-1:-1;;;;;71545:17:0;;;;71572:19;;71442:74;71527:17;:102::i;42381:158::-;42439:7;42472:1;42467;:6;;42459:49;;;;-1:-1:-1;;;42459:49:0;;16455:2:1;42459:49:0;;;16437:21:1;16494:2;16474:18;;;16467:30;16533:32;16513:18;;;16506:60;16583:18;;42459:49:0;16427:180:1;42459:49:0;42526:5;42530:1;42526;:5;:::i;13373:539::-;-1:-1:-1;;;;;13479:20:0;;13471:70;;;;-1:-1:-1;;;13471:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;13560:23:0;;13552:71;;;;-1:-1:-1;;;13552:71:0;;;;;;;:::i;:::-;13716;13738:6;13716:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13716:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;13696:17:0;;;:9;:17;;;;;;;;;;;:91;;;;13821:20;;;;;;;:32;;13846:6;13821:24;:32::i;:::-;-1:-1:-1;;;;;13798:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;13869:35;21455:25:1;;;13798:20:0;;13869:35;;;;;;21428:18:1;13869:35:0;21410:76:1;14905:418:0;-1:-1:-1;;;;;14989:21:0;;14981:67;;;;-1:-1:-1;;;14981:67:0;;19104:2:1;14981:67:0;;;19086:21:1;19143:2;19123:18;;;19116:30;19182:34;19162:18;;;19155:62;-1:-1:-1;;;19233:18:1;;;19226:31;19274:19;;14981:67:0;19076:223:1;14981:67:0;15144:68;15167:6;15144:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15144:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;15123:18:0;;:9;:18;;;;;;;;;;:89;15238:12;;:24;;15255:6;15238:16;:24::i;:::-;15223:12;:39;15278:37;;21455:25:1;;;15304:1:0;;-1:-1:-1;;;;;15278:37:0;;;;;21443:2:1;21428:18;15278:37:0;;;;;;;14905:418;;:::o;68642:531::-;68832:15;;68800:62;;68817:4;;-1:-1:-1;;;;;68832:15:0;68850:11;68800:8;:62::i;:::-;68905:15;;69109;;68905:260;;-1:-1:-1;;;68905:260:0;;68977:4;68905:260;;;8442:34:1;8492:18;;;8485:34;;;68905:15:0;8535:18:1;;;8528:34;;;8578:18;;;8571:34;-1:-1:-1;;;;;69109:15:0;;;8621:19:1;;;8614:44;69139:15:0;8674:19:1;;;8667:35;68905:15:0;;;:31;;68944:9;;8376:19:1;;68905:260:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;70591:695::-;70797:16;;;70811:1;70797:16;;;;;;;;;70773:21;;70797:16;;;;;;;;;;-1:-1:-1;70797:16:0;70773:40;;70842:4;70824;70829:1;70824:7;;;;;;-1:-1:-1;;;70824:7:0;;;;;;;;;-1:-1:-1;;;;;70824:23:0;;;:7;;;;;;;;;;:23;;;;70868:15;;:22;;;-1:-1:-1;;;70868:22:0;;;;:15;;;;;:20;;:22;;;;;70824:7;;70868:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70858:4;70863:1;70858:7;;;;;;-1:-1:-1;;;70858:7:0;;;;;;;;;;;;;;:32;-1:-1:-1;;;;;70858:32:0;;;-1:-1:-1;;;;;70858:32:0;;;;;70911:16;70901:4;70906:1;70901:7;;;;;;-1:-1:-1;;;70901:7:0;;;;;;;;;-1:-1:-1;;;;;70901:26:0;;;:7;;;;;;;;;:26;70972:15;;70940:63;;70957:4;;70972:15;70990:12;70940:8;:63::i;:::-;71042:15;;:236;;-1:-1:-1;;;71042:236:0;;-1:-1:-1;;;;;71042:15:0;;;;:69;;:236;;71126:12;;71042:15;;71208:4;;71227:10;;71252:15;;71042:236;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70591:695;;;;:::o;71779:381::-;71947:55;;-1:-1:-1;;;71947:55:0;;-1:-1:-1;;;;;7029:32:1;;;71947:55:0;;;7011:51:1;7078:18;;;7071:34;;;71932:12:0;;71947:30;;;;;;6984:18:1;;71947:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71932:70;;72027:7;72023:130;;;72051:49;;-1:-1:-1;;;72051:49:0;;;;;21455:25:1;;;-1:-1:-1;;;;;72051:41:0;;;;;21428:18:1;;72051:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72120:21;72134:6;72120:21;;;;21455:25:1;;21443:2;21428:18;;21410:76;14:257;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:31;235:5;210:31;:::i;276:261::-;346:6;399:2;387:9;378:7;374:23;370:32;367:2;;;420:6;412;405:22;367:2;457:9;451:16;476:31;501:5;476:31;:::i;542:398::-;610:6;618;671:2;659:9;650:7;646:23;642:32;639:2;;;692:6;684;677:22;639:2;736:9;723:23;755:31;780:5;755:31;:::i;:::-;805:5;-1:-1:-1;862:2:1;847:18;;834:32;875:33;834:32;875:33;:::i;:::-;927:7;917:17;;;629:311;;;;;:::o;945:466::-;1022:6;1030;1038;1091:2;1079:9;1070:7;1066:23;1062:32;1059:2;;;1112:6;1104;1097:22;1059:2;1156:9;1143:23;1175:31;1200:5;1175:31;:::i;:::-;1225:5;-1:-1:-1;1282:2:1;1267:18;;1254:32;1295:33;1254:32;1295:33;:::i;:::-;1049:362;;1347:7;;-1:-1:-1;;;1401:2:1;1386:18;;;;1373:32;;1049:362::o;1416:392::-;1481:6;1489;1542:2;1530:9;1521:7;1517:23;1513:32;1510:2;;;1563:6;1555;1548:22;1510:2;1607:9;1594:23;1626:31;1651:5;1626:31;:::i;:::-;1676:5;-1:-1:-1;1733:2:1;1718:18;;1705:32;1746:30;1705:32;1746:30;:::i;1813:691::-;1944:6;1952;1960;1968;1976;1984;1992;2000;2053:3;2041:9;2032:7;2028:23;2024:33;2021:2;;;2075:6;2067;2060:22;2021:2;2112:9;2106:16;2131:31;2156:5;2131:31;:::i;:::-;2181:5;2171:15;;;2226:2;2215:9;2211:18;2205:25;2195:35;;2270:2;2259:9;2255:18;2249:25;2239:35;;2314:2;2303:9;2299:18;2293:25;2283:35;;2358:3;2347:9;2343:19;2337:26;2327:36;;2403:3;2392:9;2388:19;2382:26;2372:36;;2448:3;2437:9;2433:19;2427:26;2417:36;;2493:3;2482:9;2478:19;2472:26;2462:36;;2011:493;;;;;;;;;;;:::o;2509:325::-;2577:6;2585;2638:2;2626:9;2617:7;2613:23;2609:32;2606:2;;;2659:6;2651;2644:22;2606:2;2703:9;2690:23;2722:31;2747:5;2722:31;:::i;:::-;2772:5;2824:2;2809:18;;;;2796:32;;-1:-1:-1;;;2596:238:1:o;2839:800::-;2931:6;2939;2947;3000:2;2988:9;2979:7;2975:23;2971:32;2968:2;;;3021:6;3013;3006:22;2968:2;3066:9;3053:23;3095:18;3136:2;3128:6;3125:14;3122:2;;;3157:6;3149;3142:22;3122:2;3200:6;3189:9;3185:22;3175:32;;3245:7;3238:4;3234:2;3230:13;3226:27;3216:2;;3272:6;3264;3257:22;3216:2;3317;3304:16;3343:2;3335:6;3332:14;3329:2;;;3364:6;3356;3349:22;3329:2;3424:7;3417:4;3407:6;3404:1;3400:14;3396:2;3392:23;3388:34;3385:47;3382:2;;;3450:6;3442;3435:22;3382:2;3486:4;3478:13;;;;-1:-1:-1;3510:6:1;-1:-1:-1;;3551:20:1;;3538:34;3581:28;3538:34;3581:28;:::i;:::-;3628:5;3618:15;;;2958:681;;;;;:::o;3644:251::-;3700:6;3753:2;3741:9;3732:7;3728:23;3724:32;3721:2;;;3774:6;3766;3759:22;3721:2;3818:9;3805:23;3837:28;3859:5;3837:28;:::i;3900:255::-;3967:6;4020:2;4008:9;3999:7;3995:23;3991:32;3988:2;;;4041:6;4033;4026:22;3988:2;4078:9;4072:16;4097:28;4119:5;4097:28;:::i;4160:190::-;4219:6;4272:2;4260:9;4251:7;4247:23;4243:32;4240:2;;;4293:6;4285;4278:22;4240:2;-1:-1:-1;4321:23:1;;4230:120;-1:-1:-1;4230:120:1:o;4355:194::-;4425:6;4478:2;4466:9;4457:7;4453:23;4449:32;4446:2;;;4499:6;4491;4484:22;4446:2;-1:-1:-1;4527:16:1;;4436:113;-1:-1:-1;4436:113:1:o;4554:316::-;4642:6;4650;4658;4711:2;4699:9;4690:7;4686:23;4682:32;4679:2;;;4732:6;4724;4717:22;4679:2;4766:9;4760:16;4750:26;;4816:2;4805:9;4801:18;4795:25;4785:35;;4860:2;4849:9;4845:18;4839:25;4829:35;;4669:201;;;;;:::o;4875:289::-;4932:6;4985:2;4973:9;4964:7;4960:23;4956:32;4953:2;;;5006:6;4998;4991:22;4953:2;5050:9;5037:23;5100:4;5093:5;5089:16;5082:5;5079:27;5069:2;;5125:6;5117;5110:22;5169:463;5222:3;5260:5;5254:12;5287:6;5282:3;5275:19;5313:4;5342:2;5337:3;5333:12;5326:19;;5379:2;5372:5;5368:14;5400:3;5412:195;5426:6;5423:1;5420:13;5412:195;;;5491:13;;-1:-1:-1;;;;;5487:39:1;5475:52;;5547:12;;;;5582:15;;;;5523:1;5441:9;5412:195;;;-1:-1:-1;5623:3:1;;5230:402;-1:-1:-1;;;;;5230:402:1:o;8713:797::-;8935:2;8947:21;;;8920:18;;9003:22;;;8887:4;9082:6;9056:2;9041:18;;8887:4;9119:304;9133:6;9130:1;9127:13;9119:304;;;9208:6;9195:20;9228:31;9253:5;9228:31;:::i;:::-;-1:-1:-1;;;;;9284:31:1;9272:44;;9339:4;9398:15;;;;9363:12;;;;9312:1;9148:9;9119:304;;;9123:3;9440;9432:11;;;;9495:6;9488:14;9481:22;9474:4;9463:9;9459:20;9452:52;8896:614;;;;;;:::o;10186:510::-;10457:6;10446:9;10439:25;10500:3;10495:2;10484:9;10480:18;10473:31;10420:4;10521:57;10573:3;10562:9;10558:19;10550:6;10521:57;:::i;:::-;-1:-1:-1;;;;;10614:32:1;;;;10609:2;10594:18;;10587:60;-1:-1:-1;10678:2:1;10663:18;10656:34;10513:65;10429:267;-1:-1:-1;;10429:267:1:o;10701:603::-;10813:4;10842:2;10871;10860:9;10853:21;10903:6;10897:13;10946:6;10941:2;10930:9;10926:18;10919:34;10971:4;10984:140;10998:6;10995:1;10992:13;10984:140;;;11093:14;;;11089:23;;11083:30;11059:17;;;11078:2;11055:26;11048:66;11013:10;;10984:140;;;11142:6;11139:1;11136:13;11133:2;;;11212:4;11207:2;11198:6;11187:9;11183:22;11179:31;11172:45;11133:2;-1:-1:-1;11288:2:1;11267:15;-1:-1:-1;;11263:29:1;11248:45;;;;11295:2;11244:54;;10822:482;-1:-1:-1;;;10822:482:1:o;11787:399::-;11989:2;11971:21;;;12028:2;12008:18;;;12001:30;12067:34;12062:2;12047:18;;12040:62;-1:-1:-1;;;12133:2:1;12118:18;;12111:33;12176:3;12161:19;;11961:225::o;17781:353::-;17983:2;17965:21;;;18022:2;18002:18;;;17995:30;18061:31;18056:2;18041:18;;18034:59;18125:2;18110:18;;17955:179::o;18541:356::-;18743:2;18725:21;;;18762:18;;;18755:30;18821:34;18816:2;18801:18;;18794:62;18888:2;18873:18;;18715:182::o;19304:401::-;19506:2;19488:21;;;19545:2;19525:18;;;19518:30;19584:34;19579:2;19564:18;;19557:62;-1:-1:-1;;;19650:2:1;19635:18;;19628:35;19695:3;19680:19;;19478:227::o;20542:348::-;20744:2;20726:21;;;20783:2;20763:18;;;20756:30;20822:26;20817:2;20802:18;;20795:54;20881:2;20866:18;;20716:174::o;21491:332::-;21698:6;21687:9;21680:25;21741:2;21736;21725:9;21721:18;21714:30;21661:4;21761:56;21813:2;21802:9;21798:18;21790:6;21761:56;:::i;21828:582::-;22127:6;22116:9;22109:25;22170:6;22165:2;22154:9;22150:18;22143:34;22213:3;22208:2;22197:9;22193:18;22186:31;22090:4;22234:57;22286:3;22275:9;22271:19;22263:6;22234:57;:::i;:::-;-1:-1:-1;;;;;22327:32:1;;;;22322:2;22307:18;;22300:60;-1:-1:-1;22391:3:1;22376:19;22369:35;22226:65;22099:311;-1:-1:-1;;;22099:311:1:o;23324:128::-;23364:3;23395:1;23391:6;23388:1;23385:13;23382:2;;;23401:18;;:::i;:::-;-1:-1:-1;23437:9:1;;23372:80::o;23457:217::-;23497:1;23523;23513:2;;-1:-1:-1;;;23548:31:1;;23602:4;23599:1;23592:15;23630:4;23555:1;23620:15;23513:2;-1:-1:-1;23659:9:1;;23503:171::o;23679:168::-;23719:7;23785:1;23781;23777:6;23773:14;23770:1;23767:21;23762:1;23755:9;23748:17;23744:45;23741:2;;;23792:18;;:::i;:::-;-1:-1:-1;23832:9:1;;23731:116::o;23852:125::-;23892:4;23920:1;23917;23914:8;23911:2;;;23925:18;;:::i;:::-;-1:-1:-1;23962:9:1;;23901:76::o;23982:380::-;24061:1;24057:12;;;;24104;;;24125:2;;24179:4;24171:6;24167:17;24157:27;;24125:2;24232;24224:6;24221:14;24201:18;24198:38;24195:2;;;24278:10;24273:3;24269:20;24266:1;24259:31;24313:4;24310:1;24303:15;24341:4;24338:1;24331:15;24195:2;;24037:325;;;:::o;24367:135::-;24406:3;-1:-1:-1;;24427:17:1;;24424:2;;;24447:18;;:::i;:::-;-1:-1:-1;24494:1:1;24483:13;;24414:88::o;24507:127::-;24568:10;24563:3;24559:20;24556:1;24549:31;24599:4;24596:1;24589:15;24623:4;24620:1;24613:15;24639:131;-1:-1:-1;;;;;24714:31:1;;24704:42;;24694:2;;24760:1;24757;24750:12;24775:118;24861:5;24854:13;24847:21;24840:5;24837:32;24827:2;;24883:1;24880;24873:12

Swarm Source

ipfs://d8d06e8ebaadb9acc4a7b44544317951b8d4b585f96e3c7fbe70718a90f15f2f
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.