Contract 0xd53f89a893c825C09Afd39E02369Ca0BCf27d03d 1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6d661d113eaba2402b9460b40a794e7478ab98fbd07e790b6736101a486e951cApprove132931002021-12-08 8:42:013 hrs 38 mins ago0xa605bfa6888f53d030ae7112296fca058ac427d8 IN  BnbRain: BRAIN Token0 BNB0.00022237
0xa5a2181db6cc31b358415279224abbf63d8d85738029ad7130f700cc90790a78Approve132805502021-12-07 20:44:4615 hrs 35 mins ago0x4a3411f95795c6a479d39b5032e97b57af4830f9 IN  BnbRain: BRAIN Token0 BNB0.000072725
0xdff6465f0dc8b9ca6cdb3c6eb323c5aaba3f82d6ceefb5dde1f8a79f0aae3101Approve132735032021-12-07 14:13:2322 hrs 6 mins ago0x168a1e268fc6ae2776700a025d6817ca9466cb54 IN  BnbRain: BRAIN Token0 BNB0.00012637
0x7081d3f2f11d4f6f32c94b73411db63e54575d44ced431f062aa8043db242c46Approve132734532021-12-07 14:10:2222 hrs 9 mins ago0x168a1e268fc6ae2776700a025d6817ca9466cb54 IN  BnbRain: BRAIN Token0 BNB0.00022237
0x93bea458c1c8f170e07a56bf9439907adac62678a7f5a0697399ede79c696f17Approve132709332021-12-07 11:44:231 day 35 mins ago0x46ed1eada07d498d2fe8a2252c89e3bf3f95bfa1 IN  BnbRain: BRAIN Token0 BNB0.000072725
0x65c7a21026c5810bbff1de5a6e82b4aabfa44b386e3b9d570fbd3a86d97471c6Transfer131970432021-12-04 20:40:233 days 15 hrs ago0xea93a529501f6a5534030ab55bf723e30b36687a IN  BnbRain: BRAIN Token0 BNB0.001307485
0x6663147baba82a7bf62555ade385c815a234ebb469357544603ae5acde2ea987Approve131430262021-12-02 23:00:505 days 13 hrs ago0x7c400e4f8c410948dacdbc6aa1d85d1f64b9d353 IN  BnbRain: BRAIN Token0 BNB0.00022237
0x24538272362fbb80041cd30a65183bb925a0a36606415454c7af9cfeaff67568Approve131116962021-12-01 20:05:426 days 16 hrs ago0x7222a3fa1b9da063be15ec02bb1eefa7ed8e8d43 IN  BnbRain: BRAIN Token0 BNB0.00008727
0xc0be9bbdf9d512ae2821565d35f7e0b296385fc43eb74a664861922fed2285d3Approve131048982021-12-01 14:04:466 days 22 hrs ago0xfa1033dfcf00b7ba7d531ea1450a61df2fb4194c IN  BnbRain: BRAIN Token0 BNB0.000266844
0x564e187327a090eecc1c0e5aac3e6b2f664ca92ad0585d813c8ce94db9da232cTransfer130825252021-11-30 17:54:427 days 18 hrs ago0x19c89f6601909aba17a135f9926df82fff8601a8 IN  BnbRain: BRAIN Token0 BNB0.000953425
0x44f7ccc6409335293a842b9213cd322f8bcaa8b0acf5091917f48e90b710f2b3Approve130787332021-11-30 14:33:547 days 21 hrs ago0x3ba366763008e845d92fb63cab977aacc43590a1 IN  BnbRain: BRAIN Token0 BNB0.00022237
0xcea3836ab39c0940e28b4a75c8f53089d200a238bf246919593afd8125154c59Approve130738872021-11-30 10:11:418 days 2 hrs ago0x31483db9526f989ceac4e4402f239fbe95cd8aee IN  BnbRain: BRAIN Token0 BNB0.00022237
0xdb3180363cf0100e2837142b19a0b2f4c9a2821767ae08d49f9a34b7ab9e47f5Approve130601802021-11-29 21:50:348 days 14 hrs ago0x2e4fd5e25c0999274e45fe40396d5f3dcc5b4d8f IN  BnbRain: BRAIN Token0 BNB0.000072725
0xb10f1d3a372a2287c1cd5eb7584a1425af06c05d6a5895a03854b6e2796c0a94Approve130399802021-11-29 3:13:019 days 9 hrs ago0xa1a293849b22ed6db02ba65719d9708c6a11e927 IN  BnbRain: BRAIN Token0 BNB0.000072725
0x2983a4cf183fa2f20612a10ab12adb708e659d73c31dc9391ad6c7bbcc2a878fApprove130143302021-11-28 4:11:1910 days 8 hrs ago0xe0d80ff2418c8ccb7fedb6015d3a2fa756ccc3fe IN  BnbRain: BRAIN Token0 BNB0.00022237
0xa1b6369bc0cda66fc01b8032c74e31e714fd77bae79a21216f3dcf2cea11a56fApprove130037332021-11-27 18:48:3010 days 17 hrs ago0xd436c7037d47d6a48ea88b97e59ac81cd5ed7152 IN  BnbRain: BRAIN Token0 BNB0.000311318
0x323248509518bb750246a0f3a9aed9669520784f083b4d6b6517af464df0140fApprove129859142021-11-27 2:40:1211 days 9 hrs ago0x2f624c59c55895be785322ccc7daa26a7471df23 IN  BnbRain: BRAIN Token0 BNB0.000311318
0x0ea9231b34fb98c484833ee8f952ec1f75eeaebcca7ab41c1ff458cf18e81230Approve129854202021-11-27 2:14:1911 days 10 hrs ago0x4dd7e3aea0fbd5e4a8f66581d6bbf1314799fbcd IN  BnbRain: BRAIN Token0 BNB0.000072725
0x9a3b8f7a363521ec4c4d565725b594ae7f2e768a8e210880ca934c27d1ba0ac0Transfer129838472021-11-27 0:50:0311 days 11 hrs ago0xc94042e00e1c8d156c7d8316588ea2b94d7144a5 IN  BnbRain: BRAIN Token0 BNB0.00129806
0xcd496f2aced083ed55733853135589288b4a22ca23364a994a4e155771a6d547Approve129746412021-11-26 16:39:2711 days 19 hrs ago0x0e48033fdfed1199032b510adc0c8c8db33c2474 IN  BnbRain: BRAIN Token0 BNB0.00012637
0xd8891cb2d0d121789e2b2df68df6dd54464c54fdb0f38e545c6dbb4516f16059Approve129746412021-11-26 16:39:2711 days 19 hrs ago0x0e48033fdfed1199032b510adc0c8c8db33c2474 IN  BnbRain: BRAIN Token0 BNB0.00012637
0x52387bc57a7c87304082181ed6c520de01af593f3cae1e1dea01b554f419d709Approve129746412021-11-26 16:39:2711 days 19 hrs ago0x0e48033fdfed1199032b510adc0c8c8db33c2474 IN  BnbRain: BRAIN Token0 BNB0.00012637
0x7871562c575ac28197f6a7bee05f8c0a6dc6fe9b82d4b6df66315ced6325dc2dApprove129746412021-11-26 16:39:2711 days 19 hrs ago0x0e48033fdfed1199032b510adc0c8c8db33c2474 IN  BnbRain: BRAIN Token0 BNB0.00022237
0x05f6da81b0ea34685caf3f29ac506706f2b4211b07ba6306d3d1fd6409c562caApprove129606022021-11-26 3:20:4412 days 8 hrs ago0x4eda71503211daa1e56eabb30c914c31af88cde4 IN  BnbRain: BRAIN Token0 BNB0.000266844
0x2151432140ec0298e8992f8819f1af7705c11dca6f22c4bd7109eb274e1da08dApprove129561852021-11-25 22:58:5212 days 13 hrs ago0xc7538f8e395a15d7c0c33e7ab3712e5bf30567c6 IN  BnbRain: BRAIN Token0 BNB0.000072725
[ Download CSV Export 

OVERVIEW

BNBRAIN token focuses on rewarding holders automatically with BNB.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x7602aadd6f7c98d3c454cf04a2e4173e04ec68a40dbfd239726721aa1b8bbc9f132921552021-12-08 7:29:564 hrs 50 mins ago BnbRain: BRAIN Token 0x96229a7f3e0d13d115e2b8e43e0c1954d76754e90.000035492692543955 BNB
0x7602aadd6f7c98d3c454cf04a2e4173e04ec68a40dbfd239726721aa1b8bbc9f132921552021-12-08 7:29:564 hrs 50 mins ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000035492692543955 BNB
0x7602aadd6f7c98d3c454cf04a2e4173e04ec68a40dbfd239726721aa1b8bbc9f132921552021-12-08 7:29:564 hrs 50 mins ago BnbRain: BRAIN Token0xb03c1e68a56b98d9ef7a8fbec16ef5f603517fc60.00001776330064747 BNB
0x7602aadd6f7c98d3c454cf04a2e4173e04ec68a40dbfd239726721aa1b8bbc9f132921552021-12-08 7:29:564 hrs 50 mins ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.00001776330064747 BNB
0x7602aadd6f7c98d3c454cf04a2e4173e04ec68a40dbfd239726721aa1b8bbc9f132921552021-12-08 7:29:564 hrs 50 mins ago BnbRain: BRAIN Token PancakeSwap: Router v20.000008888389988885 BNB
0x7602aadd6f7c98d3c454cf04a2e4173e04ec68a40dbfd239726721aa1b8bbc9f132921552021-12-08 7:29:564 hrs 50 mins ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000008888389988885 BNB
0x498f44f1ae71d47da72a16bd1cc442610bae51662cad9e03e787aba1291e2fa7131727132021-12-04 0:05:154 days 12 hrs ago BnbRain: BRAIN Token 0x96229a7f3e0d13d115e2b8e43e0c1954d76754e90.000266310195814743 BNB
0x498f44f1ae71d47da72a16bd1cc442610bae51662cad9e03e787aba1291e2fa7131727132021-12-04 0:05:154 days 12 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000266310195814743 BNB
0x498f44f1ae71d47da72a16bd1cc442610bae51662cad9e03e787aba1291e2fa7131727132021-12-04 0:05:154 days 12 hrs ago BnbRain: BRAIN Token0xb03c1e68a56b98d9ef7a8fbec16ef5f603517fc60.000134377398301846 BNB
0x498f44f1ae71d47da72a16bd1cc442610bae51662cad9e03e787aba1291e2fa7131727132021-12-04 0:05:154 days 12 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000134377398301846 BNB
0x498f44f1ae71d47da72a16bd1cc442610bae51662cad9e03e787aba1291e2fa7131727132021-12-04 0:05:154 days 12 hrs ago BnbRain: BRAIN Token PancakeSwap: Router v20.000067505557850794 BNB
0x498f44f1ae71d47da72a16bd1cc442610bae51662cad9e03e787aba1291e2fa7131727132021-12-04 0:05:154 days 12 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000067505557850794 BNB
0x9a20881e96389c3ce0d5e34767da4385af61b033e1d42141386db6f1d2c8cb74130103732021-11-28 0:38:0810 days 11 hrs ago BnbRain: BRAIN Token 0x96229a7f3e0d13d115e2b8e43e0c1954d76754e90.001712477409018158 BNB
0x9a20881e96389c3ce0d5e34767da4385af61b033e1d42141386db6f1d2c8cb74130103732021-11-28 0:38:0810 days 11 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.001709862546394933 BNB
0x9a20881e96389c3ce0d5e34767da4385af61b033e1d42141386db6f1d2c8cb74130103732021-11-28 0:38:0810 days 11 hrs ago BnbRain: BRAIN Token0xb03c1e68a56b98d9ef7a8fbec16ef5f603517fc60.000896479065184057 BNB
0x9a20881e96389c3ce0d5e34767da4385af61b033e1d42141386db6f1d2c8cb74130103732021-11-28 0:38:0810 days 11 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000896479065184057 BNB
0x9a20881e96389c3ce0d5e34767da4385af61b033e1d42141386db6f1d2c8cb74130103732021-11-28 0:38:0810 days 11 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000002614862623225 BNB
0x9a20881e96389c3ce0d5e34767da4385af61b033e1d42141386db6f1d2c8cb74130103732021-11-28 0:38:0810 days 11 hrs ago BnbRain: BRAIN Token PancakeSwap: Router v20.00045925107867558 BNB
0x9a20881e96389c3ce0d5e34767da4385af61b033e1d42141386db6f1d2c8cb74130103732021-11-28 0:38:0810 days 11 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.00045925107867558 BNB
0x44087b7a085d803807544bb6c8d596d230f5178b2be8a0ce30348ee1565a07f0129844882021-11-27 1:23:5611 days 10 hrs ago BnbRain: BRAIN Token 0x96229a7f3e0d13d115e2b8e43e0c1954d76754e90.000085398046921551 BNB
0x44087b7a085d803807544bb6c8d596d230f5178b2be8a0ce30348ee1565a07f0129844882021-11-27 1:23:5611 days 10 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000085398046921551 BNB
0x44087b7a085d803807544bb6c8d596d230f5178b2be8a0ce30348ee1565a07f0129844882021-11-27 1:23:5611 days 10 hrs ago BnbRain: BRAIN Token0xb03c1e68a56b98d9ef7a8fbec16ef5f603517fc60.000042810084123005 BNB
0x44087b7a085d803807544bb6c8d596d230f5178b2be8a0ce30348ee1565a07f0129844882021-11-27 1:23:5611 days 10 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000042810084123005 BNB
0x44087b7a085d803807544bb6c8d596d230f5178b2be8a0ce30348ee1565a07f0129844882021-11-27 1:23:5611 days 10 hrs ago BnbRain: BRAIN Token PancakeSwap: Router v20.000021438212814034 BNB
0x44087b7a085d803807544bb6c8d596d230f5178b2be8a0ce30348ee1565a07f0129844882021-11-27 1:23:5611 days 10 hrs ago PancakeSwap: Router v2 BnbRain: BRAIN Token0.000021438212814034 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BnbRainToken

Compiler Version
v0.6.12+commit.27d51765

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-30
*/

// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.6.12;

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

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

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

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

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

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

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

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}
/**
 * @dev Interface for the optional metadata functions from the BEP20 standard.
 *
 * _Available since v4.1._
 */
interface IBEP20Metadata is IBEP20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

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

        return c;
    }

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

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

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

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

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

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

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

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

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

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


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

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

/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, IBEP20Metadata {
    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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_, uint8 decimals_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
    }

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

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

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

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

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

    /**
     * @dev See {IBEP20-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 {IBEP20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IBEP20-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 {IBEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20}.
     *
     * 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, "BEP20: 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 {IBEP20-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 {IBEP20-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, "BEP20: 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), "BEP20: transfer from the zero address");
        require(recipient != address(0), "BEP20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

        _balances[account] = _balances[account].sub(amount, "BEP20: 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), "BEP20: approve from the zero address");
        require(spender != address(0), "BEP20: approve to the zero address");

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

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

interface IPancakeswapV2Factory {
    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 IPancakeswapV2Pair {
    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 IPancakeswapV2Router01 {
    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 IPancakeswapV2Router02 is IPancakeswapV2Router01 {
    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;
}

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

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

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

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

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

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

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

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

/// @title Dividend-Paying Token
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev A mintable BEP20 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 BEP20, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface {
  using SafeMath for uint256;
  using SafeMathUint for uint256;
  using SafeMathInt for int256;

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

  uint256 internal magnifiedDividendPerShare;

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

  uint256 public totalDividendsDistributed;

  constructor(string memory _name, string memory _symbol, uint8 _decimals) public BEP20(_name, _symbol, _decimals) {

  }

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

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

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

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

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

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

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


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

contract Ownable is Context {
    address private _owner;

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
contract BnbRainDividendTracker 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 immutable minimumTokenBalanceForDividends;

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

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

    constructor() public DividendPayingToken("BnbRain_Dividend_Tracker", "BnbRain_Dividend_Tracker", 9) {
    	claimWait = 14400;
        minimumTokenBalanceForDividends = 1000000 * (10**9); //must hold 10000000+ tokens
    }

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

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

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

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

    	emit ExcludeFromDividends(account);
    }

    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(newClaimWait >= 3600 && newClaimWait <= 86400, "BnbRain_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours");
        require(newClaimWait != claimWait, "BnbRain_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 BnbRainToken is BEP20, Ownable {
    using SafeMath for uint256;

    IPancakeswapV2Router02 public pancakeswapV2Router;
    address public immutable pancakeswapV2Pair;
    address public marketingWallet = 0xB03c1E68a56b98D9ef7a8FBec16Ef5F603517FC6;

    bool private swapping;

    BnbRainDividendTracker public dividendTracker;

    address public liquidityWallet;

    uint256 public maxSellTransactionAmount = 50000000000 * (10**9);
    uint256 public swapTokensAtAmount = 1000000000 * (10**9);

    uint256 public immutable BNBRewardsFee;
    uint256 public immutable liquidityFee;
    uint256 public immutable marketingFee;
    uint256 public immutable totalFees;

    // sells have fees of 12 and 6 (10 * 1.2 and 5 * 1.2)
    uint256 public sellFeeIncreaseFactor = 200; 

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

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

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

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

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

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

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

    event LiquidityWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet);

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

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

    event SendDividends(
    	uint256 tokensSwapped,
    	uint256 amount
    );

    event ProcessedDividendTracker(
    	uint256 iterations,
    	uint256 claims,
        uint256 lastProcessedIndex,
    	bool indexed automatic,
    	uint256 gas,
    	address indexed processor
    );
    event UpdatedCanTransferBeforeTrading(address  account, bool state);
    event UpdateTradingEnabledTimestamp(uint256 timestamp);
    constructor() public BEP20("BnbRain", "BRAIN", 9) {
        uint256 _BNBRewardsFee = 6;
        uint256 _liquidityFee = 3;
        uint256 _marketingFee = 3; 
        address burnAdd = 0x000000000000000000000000000000000000dEaD;
        BNBRewardsFee = _BNBRewardsFee;
        liquidityFee = _liquidityFee;
        marketingFee = _marketingFee;
        totalFees = _BNBRewardsFee.add(_liquidityFee).add(_marketingFee);


    	dividendTracker = new BnbRainDividendTracker();

    	liquidityWallet = owner();
        //testnet
    	// IPancakeswapV2Router02 _pancakeswapV2Router = IPancakeswapV2Router02(0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3);
    	//mainnet
    	IPancakeswapV2Router02 _pancakeswapV2Router = IPancakeswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E);
         // Create a pancakeswap pair for this new token
        address _pancakeswapV2Pair = IPancakeswapV2Factory(_pancakeswapV2Router.factory())
            .createPair(address(this), _pancakeswapV2Router.WETH());

        pancakeswapV2Router = _pancakeswapV2Router;
        pancakeswapV2Pair = _pancakeswapV2Pair;

        _setAutomatedMarketMakerPair(_pancakeswapV2Pair, true);

        // exclude from receiving dividends
        dividendTracker.excludeFromDividends(address(dividendTracker));
        dividendTracker.excludeFromDividends(address(this));
        dividendTracker.excludeFromDividends(owner());
        dividendTracker.excludeFromDividends(address(burnAdd));
        dividendTracker.excludeFromDividends(address(_pancakeswapV2Router));

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

        /*
            _mint is an internal function in BEP20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), 1000000000000 * (10**9));
    }

    receive() external payable {

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

        BnbRainDividendTracker newDividendTracker = BnbRainDividendTracker(payable(newAddress));

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

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

        emit UpdateDividendTracker(newAddress, address(dividendTracker));

        dividendTracker = newDividendTracker;
    }

    function updatePancakeswapV2Router(address newAddress) public onlyOwner {
        require(newAddress != address(pancakeswapV2Router), "BnbRain: The router already has that address");
        emit UpdatePancakeswapV2Router(newAddress, address(pancakeswapV2Router));
        pancakeswapV2Router = IPancakeswapV2Router02(newAddress);
        dividendTracker.excludeFromDividends(address(pancakeswapV2Router));
    }

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

        emit ExcludeFromFees(account, excluded);
    }
    
   

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

        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

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

        _setAutomatedMarketMakerPair(pair, value);
    }

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

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }


    function updateLiquidityWallet(address newLiquidityWallet) public onlyOwner {
        require(newLiquidityWallet != liquidityWallet, "BnbRain: The liquidity wallet is already this address");
        excludeFromFees(newLiquidityWallet, true);
        emit LiquidityWalletUpdated(newLiquidityWallet, liquidityWallet);
        liquidityWallet = newLiquidityWallet;
    }

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

    function updateClaimWait(uint256 claimWait) external onlyOwner {
        dividendTracker.updateClaimWait(claimWait);
    }
    
    function setMaxtxn(uint256 txnAmount) external onlyOwner {
        maxSellTransactionAmount= txnAmount;
    }
    function setSwapAt(uint256 swapAmount) external onlyOwner {
        swapTokensAtAmount = swapAmount;
    }
    
    function setNewFee(uint256 feeAmount) external onlyOwner {
        sellFeeIncreaseFactor = feeAmount;
    }
    
    function getClaimWait() external view returns(uint256) {
        return dividendTracker.claimWait();
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

		uint256 contractTokenBalance = balanceOf(address(this));
        
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

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

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

            swapping = false;
        }


        bool takeFee = !swapping;

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

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

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

        	amount = amount.sub(fees);

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

        super._transfer(from, to, amount);

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

        if(!swapping) {
	    	uint256 gas = gasForProcessing;

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

	    	}
        }
    }

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

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

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

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

        // add liquidity to pancakeswap
        addLiquidity(otherHalf, newBalance);
        
        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

    function swapTokensForEth(uint256 tokenAmount) private {

        
        // generate the pancakeswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = pancakeswapV2Router.WETH();

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

        // make the swap
        pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
        
    }
    
    function swapAndSendToMarketing(uint256 tokens) private {

        uint256 initialBalance = address(this).balance;
        
        swapTokensForEth(tokens);
        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance.sub(initialBalance);
         payable(marketingWallet).transfer(newBalance);
    }

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

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

    function swapAndSendDividends(uint256 tokens) private {
        swapTokensForEth(tokens);
        uint256 dividends = address(this).balance;
        (bool success,) = address(dividendTracker).call{value: dividends}("");

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdatePancakeswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"UpdateTradingEnabledTimestamp","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"state","type":"bool"}],"name":"UpdatedCanTransferBeforeTrading","type":"event"},{"inputs":[],"name":"BNBRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract BnbRainDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"maxSellTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pancakeswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pancakeswapV2Router","outputs":[{"internalType":"contract IPancakeswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"uint256","name":"txnAmount","type":"uint256"}],"name":"setMaxtxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"setNewFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"swapAmount","type":"uint256"}],"name":"setSwapAt","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":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newLiquidityWallet","type":"address"}],"name":"updateLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updatePancakeswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

610120604052600780546001600160a01b03191673b03c1e68a56b98d9ef7a8fbec16ef5f603517fc61790556802b5e3af16b1880000600a55670de0b6b3a7640000600b5560c8600c55620493e0600d553480156200005d57600080fd5b5060408051808201825260078152662137312930b4b760c91b602080830191825283518085019094526005845264212920a4a760d91b908401528151919291600991620000ae916003919062000a18565b508151620000c490600490602085019062000a18565b506005805460ff191660ff929092169190911790555060009050620000e862000625565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600660a0819052600360c081905260e08190528061dead620001868262000172868262000629602090811b620021cd17901c565b6200062960201b620021cd1790919060201c565b61010052604051620001989062000a9d565b604051809103906000f080158015620001b5573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055620001e06200068b565b600960006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060007310ed43c718714eb63d5aa57b78b54704e256024e90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200025b57600080fd5b505afa15801562000270573d6000803e3d6000fd5b505050506040513d60208110156200028757600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929187169163ad5c464891600480820192602092909190829003018186803b158015620002d857600080fd5b505afa158015620002ed573d6000803e3d6000fd5b505050506040513d60208110156200030457600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156200035757600080fd5b505af11580156200036c573d6000803e3d6000fd5b505050506040513d60208110156200038357600080fd5b5051600680546001600160a01b0319166001600160a01b038516179055606081901b6001600160601b0319166080529050620003c18160016200069f565b6008546040805163031e79db60e41b81526001600160a01b0390921660048301819052905190916331e79db091602480830192600092919082900301818387803b1580156200040f57600080fd5b505af115801562000424573d6000803e3d6000fd5b50506008546040805163031e79db60e41b815230600482015290516001600160a01b0390921693506331e79db0925060248082019260009290919082900301818387803b1580156200047557600080fd5b505af11580156200048a573d6000803e3d6000fd5b50506008546001600160a01b031691506331e79db09050620004ab6200068b565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015620004eb57600080fd5b505af115801562000500573d6000803e3d6000fd5b50506008546040805163031e79db60e41b81526001600160a01b03888116600483015291519190921693506331e79db09250602480830192600092919082900301818387803b1580156200055357600080fd5b505af115801562000568573d6000803e3d6000fd5b50506008546040805163031e79db60e41b81526001600160a01b03878116600483015291519190921693506331e79db09250602480830192600092919082900301818387803b158015620005bb57600080fd5b505af1158015620005d0573d6000803e3d6000fd5b5050600954620005ee92506001600160a01b031690506001620007d2565b620005fb306001620007d2565b62000619620006096200068b565b683635c9adc5dea0000062000904565b50505050505062000ac2565b3390565b60008282018381101562000684576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60055461010090046001600160a01b031690565b6001600160a01b0382166000908152600f602052604090205460ff1615158115151415620006ff5760405162461bcd60e51b81526004018080602001828103825260418152602001806200643d6041913960600191505060405180910390fd5b6001600160a01b0382166000908152600f60205260409020805460ff1916821580159190911790915562000796576008546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b1580156200077c57600080fd5b505af115801562000791573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b620007dc62000625565b60055461010090046001600160a01b0390811691161462000844576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166000908152600e602052604090205460ff1615158115151415620008a45760405162461bcd60e51b81526004018080602001828103825260338152602001806200647e6033913960400191505060405180910390fd5b6001600160a01b0382166000818152600e6020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b6001600160a01b03821662000960576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200096e6000838362000a13565b6200098a816002546200062960201b620021cd1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620009bd918390620021cd62000629821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000a5b57805160ff191683800117855562000a8b565b8280016001018555821562000a8b579182015b8281111562000a8b57825182559160200191906001019062000a6e565b5062000a9992915062000aab565b5090565b612419806200402483390190565b5b8082111562000a99576000815560010162000aac565b60805160601c60a05160c05160e0516101005161350162000b2360003980610d865280612519528061257a528061265f52508061110a528061259f5250806117df528061253e525080611d28525080610fbc528061186052506135016000f3fe6080604052600436106102cd5760003560e01c80638da5cb5b11610175578063c492f046116100dc578063e5dffed311610095578063f27fd2541161006f578063f27fd25414610ab5578063f2fde38b14610adf578063f4ef90be14610b12578063fd886b4214610b3c576102d4565b8063e5dffed314610a61578063e7841ec014610a76578063e98030c714610a8b576102d4565b8063c492f04614610935578063d01f5816146109b4578063d4698016146109c9578063dd62ed3e146109de578063e2f4560514610a19578063e37ba8f914610a2e576102d4565b8063a457c2d71161012e578063a457c2d7146107a4578063a8b9d240146107dd578063a9059cbb14610810578063ad56c13c14610849578063b62496f5146108c7578063c0246668146108fa576102d4565b80638da5cb5b1461070057806395d89b411461071557806398118cb41461072a5780639a7a23d61461073f5780639c1b8af51461077a578063a26579ad1461078f576102d4565b80634e71d92d116102345780636b67c4df116101ed578063715018a6116101c7578063715018a61461067957806375f0a8741461068e578063871c128d146106a357806388bdd9be146106cd576102d4565b80636b67c4df14610607578063700bb1911461061c57806370a0823114610646576102d4565b80634e71d92d146105385780634fbee1931461054d57806352892884146105805780635c04ac941461059557806364b0f653146105bf5780636843cd84146105d4576102d4565b806322bd3f7f1161028657806322bd3f7f1461043657806323b872dd1461044b5780632c1f52161461048e57806330bb4cff146104bf578063313ce567146104d457806339509351146104ff576102d4565b806301f1c6b9146102d957806302259e9e1461030e57806306fdde0314610335578063095ea7b3146103bf57806313114a9d1461040c57806318160ddd14610421576102d4565b366102d457005b600080fd5b3480156102e557600080fd5b5061030c600480360360208110156102fc57600080fd5b50356001600160a01b0316610b66565b005b34801561031a57600080fd5b50610323610cca565b60408051918252519081900360200190f35b34801561034157600080fd5b5061034a610cd0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561038457818101518382015260200161036c565b50505050905090810190601f1680156103b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103cb57600080fd5b506103f8600480360360408110156103e257600080fd5b506001600160a01b038135169060200135610d66565b604080519115158252519081900360200190f35b34801561041857600080fd5b50610323610d84565b34801561042d57600080fd5b50610323610da8565b34801561044257600080fd5b50610323610dae565b34801561045757600080fd5b506103f86004803603606081101561046e57600080fd5b506001600160a01b03813581169160208101359091169060400135610db4565b34801561049a57600080fd5b506104a3610e3b565b604080516001600160a01b039092168252519081900360200190f35b3480156104cb57600080fd5b50610323610e4a565b3480156104e057600080fd5b506104e9610ec0565b6040805160ff9092168252519081900360200190f35b34801561050b57600080fd5b506103f86004803603604081101561052257600080fd5b506001600160a01b038135169060200135610ec9565b34801561054457600080fd5b5061030c610f17565b34801561055957600080fd5b506103f86004803603602081101561057057600080fd5b50356001600160a01b0316610f9c565b34801561058c57600080fd5b506104a3610fba565b3480156105a157600080fd5b5061030c600480360360208110156105b857600080fd5b5035610fde565b3480156105cb57600080fd5b50610323611040565b3480156105e057600080fd5b50610323600480360360208110156105f757600080fd5b50356001600160a01b0316611085565b34801561061357600080fd5b50610323611108565b34801561062857600080fd5b5061030c6004803603602081101561063f57600080fd5b503561112c565b34801561065257600080fd5b506103236004803603602081101561066957600080fd5b50356001600160a01b0316611213565b34801561068557600080fd5b5061030c61122e565b34801561069a57600080fd5b506104a36112db565b3480156106af57600080fd5b5061030c600480360360208110156106c657600080fd5b50356112ea565b3480156106d957600080fd5b5061030c600480360360208110156106f057600080fd5b50356001600160a01b031661140c565b34801561070c57600080fd5b506104a3611768565b34801561072157600080fd5b5061034a61177c565b34801561073657600080fd5b506103236117dd565b34801561074b57600080fd5b5061030c6004803603604081101561076257600080fd5b506001600160a01b0381351690602001351515611801565b34801561078657600080fd5b506103236118d9565b34801561079b57600080fd5b506103236118df565b3480156107b057600080fd5b506103f8600480360360408110156107c757600080fd5b506001600160a01b038135169060200135611924565b3480156107e957600080fd5b506103236004803603602081101561080057600080fd5b50356001600160a01b031661198c565b34801561081c57600080fd5b506103f86004803603604081101561083357600080fd5b506001600160a01b0381351690602001356119dd565b34801561085557600080fd5b5061087c6004803603602081101561086c57600080fd5b50356001600160a01b03166119f1565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156108d357600080fd5b506103f8600480360360208110156108ea57600080fd5b50356001600160a01b0316611ad1565b34801561090657600080fd5b5061030c6004803603604081101561091d57600080fd5b506001600160a01b0381351690602001351515611ae6565b34801561094157600080fd5b5061030c6004803603604081101561095857600080fd5b81019060208101813564010000000081111561097357600080fd5b82018360208201111561098557600080fd5b803590602001918460208302840111640100000000831117156109a757600080fd5b9193509150351515611c01565b3480156109c057600080fd5b50610323611d26565b3480156109d557600080fd5b506104a3611d4a565b3480156109ea57600080fd5b5061032360048036036040811015610a0157600080fd5b506001600160a01b0381358116916020013516611d59565b348015610a2557600080fd5b50610323611d84565b348015610a3a57600080fd5b5061030c60048036036020811015610a5157600080fd5b50356001600160a01b0316611d8a565b348015610a6d57600080fd5b506104a3611e9c565b348015610a8257600080fd5b50610323611eab565b348015610a9757600080fd5b5061030c60048036036020811015610aae57600080fd5b5035611ef0565b348015610ac157600080fd5b5061087c60048036036020811015610ad857600080fd5b5035611f9a565b348015610aeb57600080fd5b5061030c60048036036020811015610b0257600080fd5b50356001600160a01b0316612000565b348015610b1e57600080fd5b5061030c60048036036020811015610b3557600080fd5b5035612109565b348015610b4857600080fd5b5061030c60048036036020811015610b5f57600080fd5b503561216b565b610b6e61222e565b60055461010090046001600160a01b03908116911614610bc3576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b6006546001600160a01b0382811691161415610c105760405162461bcd60e51b815260040180806020018281038252602c81526020018061347e602c913960400191505060405180910390fd5b6006546040516001600160a01b03918216918316907f4e433bc63dcf1ede8b524ed76576b5148fb1df1cea96e7e42d84c435a88a7ad090600090a3600680546001600160a01b0319166001600160a01b0383811691909117918290556008546040805163031e79db60e41b81529383166004850152519116916331e79db091602480830192600092919082900301818387803b158015610caf57600080fd5b505af1158015610cc3573d6000803e3d6000fd5b5050505050565b600a5481565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d5c5780601f10610d3157610100808354040283529160200191610d5c565b820191906000526020600020905b815481529060010190602001808311610d3f57829003601f168201915b5050505050905090565b6000610d7a610d7361222e565b8484612232565b5060015b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60025490565b600c5481565b6000610dc184848461231e565b610e3184610dcd61222e565b610e2c856040518060600160405280602881526020016131ff602891396001600160a01b038a16600090815260016020526040812090610e0b61222e565b6001600160a01b0316815260208101919091526040016000205491906128cb565b612232565b5060019392505050565b6008546001600160a01b031681565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610e8f57600080fd5b505afa158015610ea3573d6000803e3d6000fd5b505050506040513d6020811015610eb957600080fd5b5051905090565b60055460ff1690565b6000610d7a610ed661222e565b84610e2c8560016000610ee761222e565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906121cd565b6008546040805163bc4c4b3760e01b815233600482015260006024820181905291516001600160a01b039093169263bc4c4b3792604480840193602093929083900390910190829087803b158015610f6e57600080fd5b505af1158015610f82573d6000803e3d6000fd5b505050506040513d6020811015610f9857600080fd5b5050565b6001600160a01b03166000908152600e602052604090205460ff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b610fe661222e565b60055461010090046001600160a01b0390811691161461103b576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b600b55565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610e8f57600080fd5b600854604080516370a0823160e01b81526001600160a01b038481166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b1580156110d657600080fd5b505afa1580156110ea573d6000803e3d6000fd5b505050506040513d602081101561110057600080fd5b505192915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600854604080516001624d3b8760e01b03198152600481018490529051600092839283926001600160a01b039092169163ffb2c4799160248082019260609290919082900301818787803b15801561118357600080fd5b505af1158015611197573d6000803e3d6000fd5b505050506040513d60608110156111ad57600080fd5b5080516020808301516040938401518451848152928301829052828501819052606083018990529351929650945091925032916000917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a350505050565b6001600160a01b031660009081526020819052604090205490565b61123661222e565b60055461010090046001600160a01b0390811691161461128b576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6007546001600160a01b031681565b6112f261222e565b60055461010090046001600160a01b03908116911614611347576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b62030d40811015801561135d57506207a1208111155b6113985760405162461bcd60e51b815260040180806020018281038252603d81526020018061315b603d913960400191505060405180910390fd5b600d548114156113d95760405162461bcd60e51b81526004018080602001828103825260358152602001806132756035913960400191505060405180910390fd5b600d5460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3600d55565b61141461222e565b60055461010090046001600160a01b03908116911614611469576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b6008546001600160a01b03828116911614156114b65760405162461bcd60e51b81526004018080602001828103825260368152602001806134486036913960400191505060405180910390fd5b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fe57600080fd5b505afa158015611512573d6000803e3d6000fd5b505050506040513d602081101561152857600080fd5b50516001600160a01b03161461156f5760405162461bcd60e51b815260040180806020018281038252604d8152602001806132cb604d913960600191505060405180910390fd5b806001600160a01b03166331e79db0826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156115be57600080fd5b505af11580156115d2573d6000803e3d6000fd5b50506040805163031e79db60e41b815230600482015290516001600160a01b03851693506331e79db09250602480830192600092919082900301818387803b15801561161d57600080fd5b505af1158015611631573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db061164c611768565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561168b57600080fd5b505af115801561169f573d6000803e3d6000fd5b50506006546040805163031e79db60e41b81526001600160a01b039283166004820152905191851693506331e79db0925060248082019260009290919082900301818387803b1580156116f157600080fd5b505af1158015611705573d6000803e3d6000fd5b50506008546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600880546001600160a01b0319166001600160a01b039290921691909117905550565b60055461010090046001600160a01b031690565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d5c5780601f10610d3157610100808354040283529160200191610d5c565b7f000000000000000000000000000000000000000000000000000000000000000081565b61180961222e565b60055461010090046001600160a01b0390811691161461185e576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156118cf5760405162461bcd60e51b815260040180806020018281038252604e815260200180613227604e913960600191505060405180910390fd5b610f988282612962565b600d5481565b60085460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b158015610e8f57600080fd5b6000610d7a61193161222e565b84610e2c85604051806060016040528060258152602001613381602591396001600061195b61222e565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906128cb565b600854604080516302a2e74960e61b81526001600160a01b0384811660048301529151600093929092169163a8b9d24091602480820192602092909190829003018186803b1580156110d657600080fd5b6000610d7a6119ea61222e565b848461231e565b600080600080600080600080600860009054906101000a90046001600160a01b03166001600160a01b031663fbcbc0f18a6040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506101006040518083038186803b158015611a6057600080fd5b505afa158015611a74573d6000803e3d6000fd5b505050506040513d610100811015611a8b57600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e090970151959e50939c50919a509850965094509092509050919395975091939597565b600f6020526000908152604090205460ff1681565b611aee61222e565b60055461010090046001600160a01b03908116911614611b43576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b6001600160a01b0382166000908152600e602052604090205460ff1615158115151415611ba15760405162461bcd60e51b81526004018080602001828103825260338152602001806133a66033913960400191505060405180910390fd5b6001600160a01b0382166000818152600e6020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b611c0961222e565b60055461010090046001600160a01b03908116911614611c5e576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b60005b82811015611cb35781600e6000868685818110611c7a57fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101611c61565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051808060200183151581526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6009546001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600b5481565b611d9261222e565b60055461010090046001600160a01b03908116911614611de7576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b6009546001600160a01b0382811691161415611e345760405162461bcd60e51b81526004018080602001828103825260358152602001806134136035913960400191505060405180910390fd5b611e3f816001611ae6565b6009546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031681565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b158015610e8f57600080fd5b611ef861222e565b60055461010090046001600160a01b03908116911614611f4d576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b6008546040805163e98030c760e01b81526004810184905290516001600160a01b039092169163e98030c79160248082019260009290919082900301818387803b158015610caf57600080fd5b600080600080600080600080600860009054906101000a90046001600160a01b03166001600160a01b0316635183d6fd8a6040518263ffffffff1660e01b8152600401808281526020019150506101006040518083038186803b158015611a6057600080fd5b61200861222e565b60055461010090046001600160a01b0390811691161461205d576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b6001600160a01b0381166120a25760405162461bcd60e51b81526004018080602001828103825260268152602001806131986026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b61211161222e565b60055461010090046001600160a01b03908116911614612166576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b600c55565b61217361222e565b60055461010090046001600160a01b039081169116146121c8576040805162461bcd60e51b81526020600482018190526024820152600080516020613318833981519152604482015290519081900360640190fd5b600a55565b600082820183811015612227576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166122775760405162461bcd60e51b81526004018080602001828103825260248152602001806131376024913960400191505060405180910390fd5b6001600160a01b0382166122bc5760405162461bcd60e51b81526004018080602001828103825260228152602001806134aa6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166123635760405162461bcd60e51b81526004018080602001828103825260258152602001806131126025913960400191505060405180910390fd5b6001600160a01b0382166123a85760405162461bcd60e51b815260040180806020018281038252602381526020018061335e6023913960400191505060405180910390fd5b806123be576123b983836000612a90565b6128c6565b600754600160a01b900460ff161580156123f057506001600160a01b0382166000908152600f602052604090205460ff165b801561240a57506006546001600160a01b03848116911614155b801561242f57506001600160a01b0382166000908152600e602052604090205460ff16155b1561247557600a548111156124755760405162461bcd60e51b815260040180806020018281038252603a8152602001806133d9603a913960400191505060405180910390fd5b600061248030611213565b600b54909150811080159081906124a15750600754600160a01b900460ff16155b80156124c657506001600160a01b0385166000908152600f602052604090205460ff16155b80156124e057506009546001600160a01b03868116911614155b80156124fa57506009546001600160a01b03858116911614155b156125f5576007805460ff60a01b1916600160a01b17905560006125687f0000000000000000000000000000000000000000000000000000000000000000612562857f0000000000000000000000000000000000000000000000000000000000000000612beb565b90612c44565b905061257381612c86565b60006125c37f0000000000000000000000000000000000000000000000000000000000000000612562867f0000000000000000000000000000000000000000000000000000000000000000612beb565b90506125ce81612d0c565b60006125d930611213565b90506125e481612d63565b50506007805460ff60a01b19169055505b6007546001600160a01b0386166000908152600e602052604090205460ff600160a01b90920482161591168061264357506001600160a01b0385166000908152600e602052604090205460ff165b1561264c575060005b80156126dd5760006126836064612562877f0000000000000000000000000000000000000000000000000000000000000000612beb565b6001600160a01b0387166000908152600f602052604090205490915060ff16156126c4576126c16064612562600c5484612beb90919063ffffffff16565b90505b6126ce8582612e0c565b94506126db873083612a90565b505b6126e8868686612a90565b6008546001600160a01b031663e30443bc8761270381611213565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561274957600080fd5b505af192505050801561275a575060015b506008546001600160a01b031663e30443bc8661277681611213565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156127bc57600080fd5b505af19250505080156127cd575060015b50600754600160a01b900460ff166128c257600d54600854604080516001624d3b8760e01b031981526004810184905290516001600160a01b039092169163ffb2c479916024808201926060929091908290030181600087803b15801561283357600080fd5b505af192505050801561286757506040513d606081101561285357600080fd5b508051602082015160409092015190919060015b612870576128c0565b604080518481526020810184905280820183905260608101869052905132916001917fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989181900360800190a35050505b505b5050505b505050565b6000818484111561295a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561291f578181015183820152602001612907565b50505050905090810190601f16801561294c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166000908152600f602052604090205460ff16151581151514156129c05760405162461bcd60e51b81526004018080602001828103825260418152602001806131be6041913960600191505060405180910390fd5b6001600160a01b0382166000908152600f60205260409020805460ff19168215801591909117909155612a54576008546040805163031e79db60e41b81526001600160a01b038581166004830152915191909216916331e79db091602480830192600092919082900301818387803b158015612a3b57600080fd5b505af1158015612a4f573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b038316612ad55760405162461bcd60e51b81526004018080602001828103825260258152602001806131126025913960400191505060405180910390fd5b6001600160a01b038216612b1a5760405162461bcd60e51b815260040180806020018281038252602381526020018061335e6023913960400191505060405180910390fd5b612b258383836128c6565b612b6281604051806060016040528060268152602001613338602691396001600160a01b03861660009081526020819052604090205491906128cb565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612b9190826121cd565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082612bfa57506000610d7e565b82820282848281612c0757fe5b04146122275760405162461bcd60e51b81526004018080602001828103825260218152602001806132aa6021913960400191505060405180910390fd5b600061222783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612e4e565b6000612c93826002612c44565b90506000612ca18383612e0c565b905047612cad83612eb3565b6000612cb94783612e0c565b9050612cc58382613059565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15050505050565b47612d1682612eb3565b6000612d224783612e0c565b6007546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015612d5d573d6000803e3d6000fd5b50505050565b612d6c81612eb3565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114612dbd576040519150601f19603f3d011682016040523d82523d6000602084013e612dc2565b606091505b5050905080156128c657604080518481526020810184905281517f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3929181900390910190a1505050565b600061222783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506128cb565b60008183612e9d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561291f578181015183820152602001612907565b506000838581612ea957fe5b0495945050505050565b60408051600280825260608083018452926020830190803683370190505090503081600081518110612ee157fe5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612f3557600080fd5b505afa158015612f49573d6000803e3d6000fd5b505050506040513d6020811015612f5f57600080fd5b5051815182906001908110612f7057fe5b6001600160a01b039283166020918202929092010152600654612f969130911684612232565b60065460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b8381101561301c578181015183820152602001613004565b505050509050019650505050505050600060405180830381600087803b15801561304557600080fd5b505af11580156128c2573d6000803e3d6000fd5b6006546130719030906001600160a01b031684612232565b6006546009546040805163f305d71960e01b81523060048201526024810186905260006044820181905260648201526001600160a01b0392831660848201524260a48201529051919092169163f305d71991849160c48082019260609290919082900301818588803b1580156130e657600080fd5b505af11580156130fa573d6000803e3d6000fd5b50505050506040513d6060811015612d5d57600080fdfe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f2061646472657373426e625261696e3a20676173466f7250726f63657373696e67206d757374206265206265747765656e203230302c30303020616e64203530302c3030304f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373426e625261696e3a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c756542455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365426e625261696e3a205468652050616e63616b655377617020706169722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b65725061697273426e625261696e3a2043616e6e6f742075706461746520676173466f7250726f63657373696e6720746f2073616d652076616c7565536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77426e625261696e3a20546865206e6577206469766964656e6420747261636b6572206d757374206265206f776e65642062792074686520426e625261696e20746f6b656e20636f6e74726163744f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f426e625261696e3a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642753656c6c207472616e7366657220616d6f756e74206578636565647320746865206d617853656c6c5472616e73616374696f6e416d6f756e742e426e625261696e3a20546865206c69717569646974792077616c6c657420697320616c726561647920746869732061646472657373426e625261696e3a20546865206469766964656e6420747261636b657220616c72656164792068617320746861742061646472657373426e625261696e3a2054686520726f7574657220616c7265616479206861732074686174206164647265737342455032303a20617070726f766520746f20746865207a65726f2061646472657373a26469706673582212200906262614d4ad1cc5adfa6b1398ad14bbd73fe36e1d9a3d36d096c7f35a432064736f6c634300060c003360a06040523480156200001157600080fd5b506040518060400160405280601881526020017f426e625261696e5f4469766964656e645f547261636b657200000000000000008152506040518060400160405280601881526020017f426e625261696e5f4469766964656e645f547261636b65720000000000000000815250600982828282600390805190602001906200009b92919062000143565b508151620000b190600490602085019062000143565b506005805460ff191660ff929092169190911790555060009350620000da92506200013f915050565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061384060125566038d7ea4c68000608052620001df565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200018657805160ff1916838001178555620001b6565b82800160010185558215620001b6579182015b82811115620001b657825182559160200191906001019062000199565b50620001c4929150620001c8565b5090565b5b80821115620001c45760008155600101620001c9565b60805161221a620001ff600039806111485280611215525061221a6000f3fe6080604052600436106102085760003560e01c8063715018a611610118578063bc4c4b37116100a0578063e7841ec01161006f578063e7841ec0146107d0578063e98030c7146107e5578063f2fde38b1461080f578063fbcbc0f114610842578063ffb2c4791461087557610217565b8063bc4c4b371461070c578063be10b61414610747578063dd62ed3e1461075c578063e30443bc1461079757610217565b806395d89b41116100e757806395d89b411461061f578063a457c2d714610634578063a8b9d2401461066d578063a9059cbb146106a0578063aafd847a146106d957610217565b8063715018a61461059157806385a6b3ae146105a65780638da5cb5b146105bb57806391b89fba146105ec57610217565b80633009a6091161019b5780634e7b827f1161016a5780634e7b827f1461048c5780635183d6fd146104bf5780636a474002146105345780636f2789ec1461054957806370a082311461055e57610217565b80633009a609146103e0578063313ce567146103f557806331e79db014610420578063395093511461045357610217565b806318160ddd116101d757806318160ddd14610322578063226cfa3d1461033757806323b872dd1461036a57806327ce0147146103ad57610217565b806303c833021461021c57806306fdde0314610224578063095ea7b3146102ae57806309bbedde146102fb57610217565b36610217576102156108bd565b005b600080fd5b6102156108bd565b34801561023057600080fd5b5061023961094e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561027357818101518382015260200161025b565b50505050905090810190601f1680156102a05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ba57600080fd5b506102e7600480360360408110156102d157600080fd5b506001600160a01b0381351690602001356109e4565b604080519115158252519081900360200190f35b34801561030757600080fd5b50610310610a02565b60408051918252519081900360200190f35b34801561032e57600080fd5b50610310610a08565b34801561034357600080fd5b506103106004803603602081101561035a57600080fd5b50356001600160a01b0316610a0e565b34801561037657600080fd5b506102e76004803603606081101561038d57600080fd5b506001600160a01b03813581169160208101359091169060400135610a20565b3480156103b957600080fd5b50610310600480360360208110156103d057600080fd5b50356001600160a01b0316610aa7565b3480156103ec57600080fd5b50610310610b06565b34801561040157600080fd5b5061040a610b0c565b6040805160ff9092168252519081900360200190f35b34801561042c57600080fd5b506102156004803603602081101561044357600080fd5b50356001600160a01b0316610b15565b34801561045f57600080fd5b506102e76004803603604081101561047657600080fd5b506001600160a01b038135169060200135610c71565b34801561049857600080fd5b506102e7600480360360208110156104af57600080fd5b50356001600160a01b0316610cbf565b3480156104cb57600080fd5b506104e9600480360360208110156104e257600080fd5b5035610cd4565b604080516001600160a01b0390991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b34801561054057600080fd5b50610215610e33565b34801561055557600080fd5b50610310610e6a565b34801561056a57600080fd5b506103106004803603602081101561058157600080fd5b50356001600160a01b0316610e70565b34801561059d57600080fd5b50610215610e8b565b3480156105b257600080fd5b50610310610f2d565b3480156105c757600080fd5b506105d0610f33565b604080516001600160a01b039092168252519081900360200190f35b3480156105f857600080fd5b506103106004803603602081101561060f57600080fd5b50356001600160a01b0316610f42565b34801561062b57600080fd5b50610239610f4d565b34801561064057600080fd5b506102e76004803603604081101561065757600080fd5b506001600160a01b038135169060200135610fae565b34801561067957600080fd5b506103106004803603602081101561069057600080fd5b50356001600160a01b0316611016565b3480156106ac57600080fd5b506102e7600480360360408110156106c357600080fd5b506001600160a01b038135169060200135611042565b3480156106e557600080fd5b50610310600480360360208110156106fc57600080fd5b50356001600160a01b0316611056565b34801561071857600080fd5b506102e76004803603604081101561072f57600080fd5b506001600160a01b0381351690602001351515611071565b34801561075357600080fd5b50610310611146565b34801561076857600080fd5b506103106004803603604081101561077f57600080fd5b506001600160a01b038135811691602001351661116a565b3480156107a357600080fd5b50610215600480360360408110156107ba57600080fd5b506001600160a01b038135169060200135611195565b3480156107dc57600080fd5b5061031061135f565b3480156107f157600080fd5b506102156004803603602081101561080857600080fd5b5035611365565b34801561081b57600080fd5b506102156004803603602081101561083257600080fd5b50356001600160a01b0316611481565b34801561084e57600080fd5b506104e96004803603602081101561086557600080fd5b50356001600160a01b031661157a565b34801561088157600080fd5b5061089f6004803603602081101561089857600080fd5b50356116ed565b60408051938452602084019290925282820152519081900360600190f35b60006108c7610a08565b116108d157600080fd5b341561094c576109026108e2610a08565b6108f034600160801b6117eb565b816108f757fe5b60065491900461184b565b60065560408051348152905133917fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511919081900360200190a2600954610948903461184b565b6009555b565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109da5780601f106109af576101008083540402835291602001916109da565b820191906000526020600020905b8154815290600101906020018083116109bd57829003601f168201915b5050505050905090565b60006109f86109f16118a5565b84846118a9565b5060015b92915050565b600b5490565b60025490565b60116020526000908152604090205481565b6000610a2d848484611995565b610a9d84610a396118a5565b610a9885604051806060016040528060288152602001611fcd602891396001600160a01b038a16600090815260016020526040812090610a776118a5565b6001600160a01b0316815260208101919091526040016000205491906119cc565b6118a9565b5060019392505050565b6001600160a01b038116600090815260076020526040812054600160801b90610af690610af190610aeb610ae6610add88610e70565b600654906117eb565b611a63565b90611a73565b611aa6565b81610afd57fe5b0490505b919050565b600f5481565b60055460ff1690565b610b1d6118a5565b600a546001600160a01b03908116911614610b6d576040805162461bcd60e51b815260206004820181905260248201526000805160206120af833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526010602052604090205460ff1615610b9357600080fd5b6001600160a01b0381166000908152601060205260408120805460ff19166001179055610bc1908290611ab9565b6040805163131836e760e21b8152600b60048201526001600160a01b03831660248201529051731962047f98c42c331965d85b8e89ae9fff73fe2791634c60db9c916044808301926000929190829003018186803b158015610c2257600080fd5b505af4158015610c36573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b60006109f8610c7e6118a5565b84610a988560016000610c8f6118a5565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061184b565b60106020526000908152604090205460ff1681565b600080600080600080600080600b731962047f98c42c331965d85b8e89ae9fff73fe2763deb3d89690916040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610d3257600080fd5b505af4158015610d46573d6000803e3d6000fd5b505050506040513d6020811015610d5c57600080fd5b50518910610d83575060009650600019955085945086935083925082915081905080610e28565b6000600b731962047f98c42c331965d85b8e89ae9fff73fe2763d1aa9e7e90918c6040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b158015610ddf57600080fd5b505af4158015610df3573d6000803e3d6000fd5b505050506040513d6020811015610e0957600080fd5b50519050610e168161157a565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260040180806020018281038252606b815260200180611ff5606b913960800191505060405180910390fd5b60125481565b6001600160a01b031660009081526020819052604090205490565b610e936118a5565b600a546001600160a01b03908116911614610ee3576040805162461bcd60e51b815260206004820181905260248201526000805160206120af833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60095481565b600a546001600160a01b031690565b60006109fc82611016565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109da5780601f106109af576101008083540402835291602001916109da565b60006109f8610fbb6118a5565b84610a988560405180606001604052806025815260200161210e6025913960016000610fe56118a5565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906119cc565b6001600160a01b0381166000908152600860205260408120546109fc9061103c84610aa7565b90611b12565b60006109f861104f6118a5565b8484611995565b6001600160a01b031660009081526008602052604090205490565b600061107b6118a5565b600a546001600160a01b039081169116146110cb576040805162461bcd60e51b815260206004820181905260248201526000805160206120af833981519152604482015290519081900360640190fd5b60006110d684611b54565b9050801561113c576001600160a01b0384166000818152601160209081526040918290204290558151848152915186151593927fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09292908290030190a360019150506109fc565b5060009392505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61119d6118a5565b600a546001600160a01b039081169116146111ed576040805162461bcd60e51b815260206004820181905260248201526000805160206120af833981519152604482015290519081900360640190fd5b6001600160a01b03821660009081526010602052604090205460ff16156112135761135b565b7f000000000000000000000000000000000000000000000000000000000000000081106112c9576112448282611ab9565b60408051632f0ad01760e21b8152600b60048201526001600160a01b0384166024820152604481018390529051731962047f98c42c331965d85b8e89ae9fff73fe279163bc2b405c916064808301926000929190829003018186803b1580156112ac57600080fd5b505af41580156112c0573d6000803e3d6000fd5b5050505061134e565b6112d4826000611ab9565b6040805163131836e760e21b8152600b60048201526001600160a01b03841660248201529051731962047f98c42c331965d85b8e89ae9fff73fe2791634c60db9c916044808301926000929190829003018186803b15801561133557600080fd5b505af4158015611349573d6000803e3d6000fd5b505050505b611359826001611071565b505b5050565b600f5490565b61136d6118a5565b600a546001600160a01b039081169116146113bd576040805162461bcd60e51b815260206004820181905260248201526000805160206120af833981519152604482015290519081900360640190fd5b610e1081101580156113d25750620151808111155b61140d5760405162461bcd60e51b815260040180806020018281038252604d815260200180612154604d913960600191505060405180910390fd5b60125481141561144e5760405162461bcd60e51b815260040180806020018281038252603f8152602001806120cf603f913960400191505060405180910390fd5b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601255565b6114896118a5565b600a546001600160a01b039081169116146114d9576040805162461bcd60e51b815260206004820181905260248201526000805160206120af833981519152604482015290519081900360640190fd5b6001600160a01b03811661151e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611fa76026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080600080600080889750600b731962047f98c42c331965d85b8e89ae9fff73fe276317e142d190918a6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156115ec57600080fd5b505af4158015611600573d6000803e3d6000fd5b505050506040513d602081101561161657600080fd5b5051965060001995506000871261167a57600f5487111561164657600f5461163f908890611c95565b955061167a565b600f54600b546000911061165b57600061166a565b600f54600b5461166a91611b12565b90506116768882611a73565b9650505b61168388611016565b945061168e88610aa7565b6001600160a01b0389166000908152601160205260409020549094509250826116b85760006116c6565b6012546116c690849061184b565b91504282116116d65760006116e0565b6116e08242611b12565b9050919395975091939597565b600b54600090819081908061170d575050600f54600092508291506117e4565b600f546000805a90506000805b898410801561172857508582105b156117d357600b54600190950194851061174157600094505b6000600b600001868154811061175357fe5b60009182526020808320909101546001600160a01b0316808352601190915260409091205490915061178490611cc7565b156117a057611794816001611071565b156117a0576001909101905b60019092019160005a9050808511156117ca576117c76117c08683611b12565b879061184b565b95505b935061171a9050565b600f85905590975095509193505050505b9193909250565b6000826117fa575060006109fc565b8282028284828161180757fe5b04146118445760405162461bcd60e51b815260040180806020018281038252602181526020018061208e6021913960400191505060405180910390fd5b9392505050565b600082820183811015611844576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6001600160a01b0383166118ee5760405162461bcd60e51b8152600401808060200182810382526024815260200180611f836024913960400191505060405180910390fd5b6001600160a01b0382166119335760405162461bcd60e51b81526004018080602001828103825260228152602001806121c36022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60405162461bcd60e51b815260040180806020018281038252602e815260200180612060602e913960400191505060405180910390fd5b60008184841115611a5b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a20578181015183820152602001611a08565b50505050905090810190601f168015611a4d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081818112156109fc57600080fd5b6000828201818312801590611a885750838112155b80611a9d5750600083128015611a9d57508381125b61184457600080fd5b600080821215611ab557600080fd5b5090565b6000611ac483610e70565b905080821115611aec576000611ada8383611b12565b9050611ae68482611cee565b50611359565b80821015611359576000611b008284611b12565b9050611b0c8482611d52565b50505050565b600061184483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119cc565b600080611b6083611016565b90508015611c8c576001600160a01b038316600090815260086020526040902054611b8b908261184b565b6001600160a01b038416600081815260086020908152604091829020939093558051848152905191927fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d92918290030190a26040516000906001600160a01b03851690610bb890849084818181858888f193505050503d8060008114611c2d576040519150601f19603f3d011682016040523d82523d6000602084013e611c32565b606091505b5050905080611c84576001600160a01b038416600090815260086020526040902054611c5e9083611b12565b6001600160a01b0385166000908152600860205260408120919091559250610b01915050565b509050610b01565b50600092915050565b6000818303818312801590611caa5750838113155b80611a9d5750600083128015611a9d575083811361184457600080fd5b600042821115611cd957506000610b01565b601254611ce64284611b12565b101592915050565b611cf88282611d96565b611d32611d13610ae6836006546117eb90919063ffffffff16565b6001600160a01b03841660009081526007602052604090205490611c95565b6001600160a01b0390921660009081526007602052604090209190915550565b611d5c8282611e86565b611d32611d77610ae6836006546117eb90919063ffffffff16565b6001600160a01b03841660009081526007602052604090205490611a73565b6001600160a01b038216611df1576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611dfd60008383611359565b600254611e0a908261184b565b6002556001600160a01b038216600090815260208190526040902054611e30908261184b565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216611ecb5760405162461bcd60e51b81526004018080602001828103825260218152602001806121336021913960400191505060405180910390fd5b611ed782600083611359565b611f14816040518060600160405280602281526020016121a1602291396001600160a01b03851660009081526020819052604090205491906119cc565b6001600160a01b038316600090815260208190526040902055600254611f3a9082611b12565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe42455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365426e625261696e5f4469766964656e645f547261636b65723a2077697468647261774469766964656e642064697361626c65642e20557365207468652027636c61696d272066756e6374696f6e206f6e20746865206d61696e20426e625261696e20636f6e74726163742e426e625261696e5f4469766964656e645f547261636b65723a204e6f207472616e736665727320616c6c6f776564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572426e625261696e5f4469766964656e645f547261636b65723a2043616e6e6f742075706461746520636c61696d5761697420746f2073616d652076616c756542455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f2061646472657373426e625261696e5f4469766964656e645f547261636b65723a20636c61696d57616974206d757374206265207570646174656420746f206265747765656e203120616e6420323420686f75727342455032303a206275726e20616d6f756e7420657863656564732062616c616e636542455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220137f61bb4579fe88eae8ed01da89a9d036b3c7e383ace756a4fbd1ae5759029264736f6c634300060c0033426e625261696e3a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c7565426e625261696e3a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c7564656427

Library Used


Deployed ByteCode Sourcemap

51312:15997:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56634:417;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56634:417:0;-1:-1:-1;;;;;56634:417:0;;:::i;:::-;;51706:63;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;13209:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15383:169;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15383:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;51974:34;;;;;;;;;;;;;:::i;14336:108::-;;;;;;;;;;;;;:::i;52076:42::-;;;;;;;;;;;;;:::i;16034:355::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16034:355:0;;;;;;;;;;;;;;;;;:::i;51613:45::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;51613:45:0;;;;;;;;;;;;;;59792:141;;;;;;;;;;;;;:::i;14171:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16798:218;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16798:218:0;;;;;;;;:::i;61284:88::-;;;;;;;;;;;;;:::i;59941:125::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59941:125:0;-1:-1:-1;;;;;59941:125:0;;:::i;51450:42::-;;;;;;;;;;;;;:::i;59435:108::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59435:108:0;;:::i;61514:141::-;;;;;;;;;;;;;:::i;60226:130::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60226:130:0;-1:-1:-1;;;;;60226:130:0;;:::i;51930:37::-;;;;;;;;;;;;;:::i;61017:259::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61017:259:0;;:::i;14507:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14507:127:0;-1:-1:-1;;;;;14507:127:0;;:::i;44089:148::-;;;;;;;;;;;;;:::i;51499:75::-;;;;;;;;;;;;;:::i;58764:410::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58764:410:0;;:::i;55777:849::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55777:849:0;-1:-1:-1;;;;;55777:849:0;;:::i;43447:79::-;;;;;;;;;;;;;:::i;13428:104::-;;;;;;;;;;;;;:::i;51886:37::-;;;;;;;;;;;;;:::i;57689:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;57689:269:0;;;;;;;;;;:::i;52198:40::-;;;;;;;;;;;;;:::i;59676:108::-;;;;;;;;;;;;;:::i;17519:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17519:269:0;;;;;;;;:::i;60074:147::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60074:147:0;-1:-1:-1;;;;;60074:147:0;;:::i;14847:175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14847:175:0;;;;;;;;:::i;60364:318::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60364:318:0;-1:-1:-1;;;;;60364:318:0;;:::i;:::-;;;;-1:-1:-1;;;;;60364:318:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52511:58;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52511:58:0;-1:-1:-1;;;;;52511:58:0;;:::i;57059:299::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;57059:299:0;;;;;;;;;;:::i;57377:304::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57377:304:0;-1:-1:-1;57377:304:0;;;;:::i;51841:38::-;;;;;;;;;;;;;:::i;51667:30::-;;;;;;;;;;;;;:::i;15085:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15085:151:0;;;;;;;;;;:::i;51776:56::-;;;;;;;;;;;;;:::i;58384:372::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58384:372:0;-1:-1:-1;;;;;58384:372:0;;:::i;51394:49::-;;;;;;;;;;;;;:::i;61380:126::-;;;;;;;;;;;;;:::i;59182:124::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59182:124:0;;:::i;60687:325::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60687:325:0;;:::i;44392:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44392:244:0;-1:-1:-1;;;;;44392:244:0;;:::i;59555:109::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59555:109:0;;:::i;59318:111::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59318:111:0;;:::i;56634:417::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;56747:19:::1;::::0;-1:-1:-1;;;;;56725:42:0;;::::1;56747:19:::0;::::1;56725:42;;56717:99;;;;-1:-1:-1::0;;;56717:99:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56878:19;::::0;56832:67:::1;::::0;-1:-1:-1;;;;;56878:19:0;;::::1;::::0;56832:67;::::1;::::0;::::1;::::0;56878:19:::1;::::0;56832:67:::1;56910:19;:56:::0;;-1:-1:-1;;;;;;56910:56:0::1;-1:-1:-1::0;;;;;56910:56:0;;::::1;::::0;;;::::1;::::0;;;;56977:15:::1;::::0;:66:::1;::::0;;-1:-1:-1;;;56977:66:0;;57022:19;;::::1;56977:66;::::0;::::1;::::0;;:15;::::1;::::0;:36:::1;::::0;:66;;;;;-1:-1:-1;;56977:66:0;;;;;;;-1:-1:-1;56977:15:0;:66;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;56634:417:::0;:::o;51706:63::-;;;;:::o;13209:100::-;13296:5;13289:12;;;;;;;;-1:-1:-1;;13289:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13263:13;;13289:12;;13296:5;;13289:12;;13296:5;13289:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13209:100;:::o;15383:169::-;15466:4;15483:39;15492:12;:10;:12::i;:::-;15506:7;15515:6;15483:8;:39::i;:::-;-1:-1:-1;15540:4:0;15383:169;;;;;:::o;51974:34::-;;;:::o;14336:108::-;14424:12;;14336:108;:::o;52076:42::-;;;;:::o;16034:355::-;16174:4;16191:36;16201:6;16209:9;16220:6;16191:9;:36::i;:::-;16238:121;16247:6;16255:12;:10;:12::i;:::-;16269:89;16307:6;16269:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16269:19:0;;;;;;:11;:19;;;;;;16289:12;:10;:12::i;:::-;-1:-1:-1;;;;;16269:33:0;;;;;;;;;;;;-1:-1:-1;16269:33:0;;;:89;:37;:89::i;:::-;16238:8;:121::i;:::-;-1:-1:-1;16377:4:0;16034:355;;;;;:::o;51613:45::-;;;-1:-1:-1;;;;;51613:45:0;;:::o;59792:141::-;59882:15;;:43;;;-1:-1:-1;;;59882:43:0;;;;59855:7;;-1:-1:-1;;;;;59882:15:0;;:41;;:43;;;;;;;;;;;;;;:15;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59882:43:0;;-1:-1:-1;59792:141:0;:::o;14171:100::-;14254:9;;;;14171:100;:::o;16798:218::-;16886:4;16903:83;16912:12;:10;:12::i;:::-;16926:7;16935:50;16974:10;16935:11;:25;16947:12;:10;:12::i;:::-;-1:-1:-1;;;;;16935:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16935:25:0;;;:34;;;;;;;;;;;:38;:50::i;61284:88::-;61315:15;;:49;;;-1:-1:-1;;;61315:49:0;;61346:10;61315:49;;;;:15;:49;;;;;;;;-1:-1:-1;;;;;61315:15:0;;;;:30;;:49;;;;;;;;;;;;;;;;;;:15;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61284:88:0:o;59941:125::-;-1:-1:-1;;;;;60030:28:0;60006:4;60030:28;;;:19;:28;;;;;;;;;59941:125::o;51450:42::-;;;:::o;59435:108::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;59504:18:::1;:31:::0;59435:108::o;61514:141::-;61606:15;;:41;;;-1:-1:-1;;;61606:41:0;;;;61579:7;;-1:-1:-1;;;;;61606:15:0;;:39;;:41;;;;;;;;;;;;;;:15;:41;;;;;;;;;;60226:130;60317:15;;:34;;;-1:-1:-1;;;60317:34:0;;-1:-1:-1;;;;;60317:34:0;;;;;;;;;60296:7;;60317:15;;;;;:25;;:34;;;;;;;;;;;;;;;:15;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60317:34:0;;60226:130;-1:-1:-1;;60226:130:0:o;51930:37::-;;;:::o;61017:259::-;61143:15;;:28;;;-1:-1:-1;;;;;;61143:28:0;;;;;;;;;;61077:18;;;;;;-1:-1:-1;;;;;61143:15:0;;;;:23;;:28;;;;;;;;;;;;;;;61077:18;61143:15;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61143:28:0;;;;;;;;;;;;61181:87;;;;;;;;;;;;;;;;;61143:28;61181:87;;;;;;;61143:28;;-1:-1:-1;61143:28:0;-1:-1:-1;61143:28:0;;-1:-1:-1;61258:9:0;;61246:5;;61181:87;;;;;;;;;61017:259;;;;:::o;14507:127::-;-1:-1:-1;;;;;14608:18:0;14581:7;14608:18;;;;;;;;;;;;14507:127::o;44089:148::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;44180:6:::1;::::0;44159:40:::1;::::0;44196:1:::1;::::0;44180:6:::1;::::0;::::1;-1:-1:-1::0;;;;;44180:6:0::1;::::0;44159:40:::1;::::0;44196:1;;44159:40:::1;44210:6;:19:::0;;-1:-1:-1;;;;;;44210:19:0::1;::::0;;44089:148::o;51499:75::-;;;-1:-1:-1;;;;;51499:75:0;;:::o;58764:410::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;58862:6:::1;58850:8;:18;;:40;;;;;58884:6;58872:8;:18;;58850:40;58842:114;;;;-1:-1:-1::0;;;58842:114:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58987:16;;58975:8;:28;;58967:94;;;;-1:-1:-1::0;;;58967:94:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59111:16;::::0;59077:51:::1;::::0;59101:8;;59077:51:::1;::::0;;;::::1;59139:16;:27:::0;58764:410::o;55777:849::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;55886:15:::1;::::0;-1:-1:-1;;;;;55864:38:0;;::::1;55886:15:::0;::::1;55864:38;;55856:105;;;;-1:-1:-1::0;;;55856:105:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55974:41;56049:10;55974:87;;56120:4;-1:-1:-1::0;;;;;56082:43:0::1;:18;-1:-1:-1::0;;;;;56082:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;56082:26:0;-1:-1:-1;;;;;56082:43:0::1;;56074:133;;;;-1:-1:-1::0;;;56074:133:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56220:18;-1:-1:-1::0;;;;;56220:39:0::1;;56268:18;56220:68;;;;;;;;;;;;;-1:-1:-1::0;;;;;56220:68:0::1;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;56299:54:0::1;::::0;;-1:-1:-1;;;56299:54:0;;56347:4:::1;56299:54;::::0;::::1;::::0;;;-1:-1:-1;;;;;56299:39:0;::::1;::::0;-1:-1:-1;56299:39:0::1;::::0;-1:-1:-1;56299:54:0;;;;;-1:-1:-1;;56299:54:0;;;;;;;-1:-1:-1;56299:39:0;:54;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;56364:18;-1:-1:-1::0;;;;;56364:39:0::1;;56404:7;:5;:7::i;:::-;56364:48;;;;;;;;;;;;;-1:-1:-1::0;;;;;56364:48:0::1;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;56471:19:0::1;::::0;56423:69:::1;::::0;;-1:-1:-1;;;56423:69:0;;-1:-1:-1;;;;;56471:19:0;;::::1;56423:69;::::0;::::1;::::0;;;:39;;::::1;::::0;-1:-1:-1;56423:39:0::1;::::0;-1:-1:-1;56423:69:0;;;;;56471:19:::1;::::0;56423:69;;;;;;;;56471:19;56423:39;:69;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;56552:15:0::1;::::0;56510:59:::1;::::0;-1:-1:-1;;;;;56552:15:0;;::::1;::::0;-1:-1:-1;56510:59:0;;::::1;::::0;-1:-1:-1;56510:59:0::1;::::0;56552:15:::1;::::0;56510:59:::1;56582:15;:36:::0;;-1:-1:-1;;;;;;56582:36:0::1;-1:-1:-1::0;;;;;56582:36:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;55777:849:0:o;43447:79::-;43512:6;;;;;-1:-1:-1;;;;;43512:6:0;;43447:79::o;13428:104::-;13517:7;13510:14;;;;;;;;-1:-1:-1;;13510:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13484:13;;13510:14;;13517:7;;13510:14;;13517:7;13510:14;;;;;;;;;;;;;;;;;;;;;;;;51886:37;;;:::o;57689:269::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;57796:17:::1;-1:-1:-1::0;;;;;57788:25:0::1;:4;-1:-1:-1::0;;;;;57788:25:0::1;;;57780:116;;;;-1:-1:-1::0;;;57780:116:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57909:41;57938:4;57944:5;57909:28;:41::i;52198:40::-:0;;;;:::o;59676:108::-;59749:15;;:27;;;-1:-1:-1;;;59749:27:0;;;;59722:7;;-1:-1:-1;;;;;59749:15:0;;:25;;:27;;;;;;;;;;;;;;:15;:27;;;;;;;;;;17519:269;17612:4;17629:129;17638:12;:10;:12::i;:::-;17652:7;17661:96;17700:15;17661:96;;;;;;;;;;;;;;;;;:11;:25;17673:12;:10;:12::i;:::-;-1:-1:-1;;;;;17661:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17661:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;60074:147::-;60167:15;;:47;;;-1:-1:-1;;;60167:47:0;;-1:-1:-1;;;;;60167:47:0;;;;;;;;;60143:7;;60167:15;;;;;:38;;:47;;;;;;;;;;;;;;;:15;:47;;;;;;;;;;14847:175;14933:4;14950:42;14960:12;:10;:12::i;:::-;14974:9;14985:6;14950:9;:42::i;60364:318::-;60460:7;60482:6;60503;60524:7;60546;60568;60590;60612;60639:15;;;;;;;;;-1:-1:-1;;;;;60639:15:0;-1:-1:-1;;;;;60639:26:0;;60666:7;60639:35;;;;;;;;;;;;;-1:-1:-1;;;;;60639:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60639:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60639:35:0;;-1:-1:-1;60639:35:0;;-1:-1:-1;60639:35:0;-1:-1:-1;60639:35:0;-1:-1:-1;60639:35:0;-1:-1:-1;60639:35:0;;-1:-1:-1;60639:35:0;-1:-1:-1;60364:318:0;;;;;;;;;:::o;52511:58::-;;;;;;;;;;;;;;;:::o;57059:299::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;57152:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;::::1;;:40;;::::0;::::1;;;;57144:104;;;;-1:-1:-1::0;;;57144:104:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;57259:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;;;;:39;;-1:-1:-1;;57259:39:0::1;::::0;::::1;;::::0;;::::1;::::0;;;57316:34;;;;;;;::::1;::::0;;;;;;;;::::1;57059:299:::0;;:::o;57377:304::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;57494:9:::1;57490:115;57509:19:::0;;::::1;57490:115;;;57585:8;57550:19;:32;57570:8;;57579:1;57570:11;;;;;;;;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;;;;57570:11:0::1;57550:32:::0;;-1:-1:-1;57550:32:0;::::1;::::0;;;;;;-1:-1:-1;57550:32:0;:43;;-1:-1:-1;;57550:43:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;57530:3:0::1;57490:115;;;;57622:51;57654:8;;57664;57622:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;57622:51:0::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;57622:51:0;;-1:-1:-1;;;;;57622:51:0::1;57377:304:::0;;;:::o;51841:38::-;;;:::o;51667:30::-;;;-1:-1:-1;;;;;51667:30:0;;:::o;15085:151::-;-1:-1:-1;;;;;15201:18:0;;;15174:7;15201:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15085:151::o;51776:56::-;;;;:::o;58384:372::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;58501:15:::1;::::0;-1:-1:-1;;;;;58479:37:0;;::::1;58501:15:::0;::::1;58479:37;;58471:103;;;;-1:-1:-1::0;;;58471:103:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58585:41;58601:18;58621:4;58585:15;:41::i;:::-;58685:15;::::0;58642:59:::1;::::0;-1:-1:-1;;;;;58685:15:0;;::::1;::::0;58642:59;::::1;::::0;::::1;::::0;58685:15:::1;::::0;58642:59:::1;58712:15;:36:::0;;-1:-1:-1;;;;;;58712:36:0::1;-1:-1:-1::0;;;;;58712:36:0;;;::::1;::::0;;;::::1;::::0;;58384:372::o;51394:49::-;;;-1:-1:-1;;;;;51394:49:0;;:::o;61380:126::-;61459:15;;:39;;;-1:-1:-1;;;61459:39:0;;;;61435:7;;-1:-1:-1;;;;;61459:15:0;;:37;;:39;;;;;;;;;;;;;;:15;:39;;;;;;;;;;59182:124;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;59256:15:::1;::::0;:42:::1;::::0;;-1:-1:-1;;;59256:42:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;59256:15:0;;::::1;::::0;:31:::1;::::0;:42;;;;;:15:::1;::::0;:42;;;;;;;;:15;;:42;::::1;;::::0;::::1;;;;::::0;::::1;60687:325:::0;60788:7;60810:6;60831;60852:7;60874;60896;60918;60940;60964:15;;;;;;;;;-1:-1:-1;;;;;60964:15:0;-1:-1:-1;;;;;60964:33:0;;60998:5;60964:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44392:244;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44481:22:0;::::1;44473:73;;;;-1:-1:-1::0;;;44473:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44583:6;::::0;44562:38:::1;::::0;-1:-1:-1;;;;;44562:38:0;;::::1;::::0;44583:6:::1;::::0;::::1;;::::0;44562:38:::1;::::0;;;::::1;44611:6;:17:::0;;-1:-1:-1;;;;;44611:17:0;;::::1;;;-1:-1:-1::0;;;;;;44611:17:0;;::::1;::::0;;;::::1;::::0;;44392:244::o;59555:109::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;59623:21:::1;:33:::0;59555:109::o;59318:111::-;43669:12;:10;:12::i;:::-;43659:6;;;;;-1:-1:-1;;;;;43659:6:0;;;:22;;;43651:67;;;;;-1:-1:-1;;;43651:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43651:67:0;;;;;;;;;;;;;;;59386:24:::1;:35:::0;59318:111::o;4506:181::-;4564:7;4596:5;;;4620:6;;;;4612:46;;;;;-1:-1:-1;;;4612:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4678:1;4506:181;-1:-1:-1;;;4506:181:0:o;3897:98::-;3977:10;3897:98;:::o;20705:380::-;-1:-1:-1;;;;;20841:19:0;;20833:68;;;;-1:-1:-1;;;20833:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20920:21:0;;20912:68;;;;-1:-1:-1;;;20912:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20993:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21045:32;;;;;;;;;;;;;;;;;20705:380;;;:::o;61668:2825::-;-1:-1:-1;;;;;61800:18:0;;61792:68;;;;-1:-1:-1;;;61792:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61879:16:0;;61871:64;;;;-1:-1:-1;;;61871:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61951:11;61948:92;;61979:28;61995:4;62001:2;62005:1;61979:15;:28::i;:::-;62022:7;;61948:92;62068:8;;-1:-1:-1;;;62068:8:0;;;;62067:9;:55;;;;-1:-1:-1;;;;;;62093:29:0;;;;;;:25;:29;;;;;;;;62067:55;:172;;;;-1:-1:-1;62219:19:0;;-1:-1:-1;;;;;62203:36:0;;;62219:19;;62203:36;;62067:172;:277;;;;-1:-1:-1;;;;;;62321:23:0;;;;;;:19;:23;;;;;;;;62320:24;62067:277;62052:475;;;62428:24;;62418:6;:34;;62410:105;;;;-1:-1:-1;;;62410:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62533:28;62564:24;62582:4;62564:9;:24::i;:::-;62648:18;;62533:55;;-1:-1:-1;62624:42:0;;;;;;;62696:33;;-1:-1:-1;62721:8:0;;-1:-1:-1;;;62721:8:0;;;;62720:9;62696:33;:82;;;;-1:-1:-1;;;;;;62747:31:0;;;;;;:25;:31;;;;;;;;62746:32;62696:82;:122;;;;-1:-1:-1;62803:15:0;;-1:-1:-1;;;;;62795:23:0;;;62803:15;;62795:23;;62696:122;:160;;;;-1:-1:-1;62841:15:0;;-1:-1:-1;;;;;62835:21:0;;;62841:15;;62835:21;;62696:160;62679:667;;;62883:8;:15;;-1:-1:-1;;;;62883:15:0;-1:-1:-1;;;62883:15:0;;;;62936:53;62979:9;62936:38;:20;62961:12;62936:24;:38::i;:::-;:42;;:53::i;:::-;62915:74;;63004:26;63019:10;63004:14;:26::i;:::-;63059:23;63085:53;63128:9;63085:38;:20;63110:12;63085:24;:38::i;:53::-;63059:79;;63153:39;63176:15;63153:22;:39::i;:::-;63209:18;63230:24;63248:4;63230:9;:24::i;:::-;63209:45;;63269:32;63290:10;63269:20;:32::i;:::-;-1:-1:-1;;63318:8:0;:16;;-1:-1:-1;;;;63318:16:0;;;-1:-1:-1;62679:667:0;63376:8;;-1:-1:-1;;;;;63485:25:0;;63360:12;63485:25;;;:19;:25;;;;;;63376:8;-1:-1:-1;;;63376:8:0;;;;;63375:9;;63485:25;;:52;;-1:-1:-1;;;;;;63514:23:0;;;;;;:19;:23;;;;;;;;63485:52;63482:99;;;-1:-1:-1;63564:5:0;63482:99;63596:7;63593:350;;;63617:12;63632:30;63658:3;63632:21;:6;63643:9;63632:10;:21::i;:30::-;-1:-1:-1;;;;;63721:29:0;;;;;;:25;:29;;;;;;63617:45;;-1:-1:-1;63721:29:0;;63718:116;;;63778:40;63814:3;63778:31;63787:21;;63778:4;:8;;:31;;;;:::i;:40::-;63771:47;;63718:116;63856:16;:6;63867:4;63856:10;:16::i;:::-;63847:25;;63889:42;63905:4;63919;63926;63889:15;:42::i;:::-;63593:350;;63955:33;63971:4;63977:2;63981:6;63955:15;:33::i;:::-;64005:15;;-1:-1:-1;;;;;64005:15:0;:26;64040:4;64047:15;64040:4;64047:9;:15::i;:::-;64005:58;;;;;;;;;;;;;-1:-1:-1;;;;;64005:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64001:74;64089:15;;-1:-1:-1;;;;;64089:15:0;:26;64124:2;64129:13;64124:2;64129:9;:13::i;:::-;64089:54;;;;;;;;;;;;;-1:-1:-1;;;;;64089:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64085:70;64171:8;;-1:-1:-1;;;64171:8:0;;;;64167:319;;64204:16;;64235:15;;:28;;;-1:-1:-1;;;;;;64235:28:0;;;;;;;;;;-1:-1:-1;;;;;64235:15:0;;;;:23;;:28;;;;;;;;;;;;;;;64190:11;64235:15;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64235:28:0;;;;;;;;;;;;;;;;64231:244;;;;;64352:86;;;;;;;;;;;;;;;;;;;;;;;;;;64428:9;;64417:4;;64352:86;;;;;;;;;64264:184;;;64231:244;64167:319;;61668:2825;;;;;;;:::o;5409:192::-;5495:7;5531:12;5523:6;;;;5515:29;;;;-1:-1:-1;;;5515:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5567:5:0;;;5409:192::o;57966:408::-;-1:-1:-1;;;;;58057:31:0;;;;;;:25;:31;;;;;;;;:40;;;;;;;58049:118;;;;-1:-1:-1;;;58049:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58178:31:0;;;;;;:25;:31;;;;;:39;;-1:-1:-1;;58178:39:0;;;;;;;;;;;;58230:79;;58255:15;;:42;;;-1:-1:-1;;;58255:42:0;;-1:-1:-1;;;;;58255:42:0;;;;;;;;;:15;;;;;:36;;:42;;;;;:15;;:42;;;;;;;:15;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58230:79;58326:40;;;;;;-1:-1:-1;;;;;58326:40:0;;;;;;;;57966:408;;:::o;18278:573::-;-1:-1:-1;;;;;18418:20:0;;18410:70;;;;-1:-1:-1;;;18410:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18499:23:0;;18491:71;;;;-1:-1:-1;;;18491:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18575:47;18596:6;18604:9;18615:6;18575:20;:47::i;:::-;18655:71;18677:6;18655:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18655:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18635:17:0;;;:9;:17;;;;;;;;;;;:91;;;;18760:20;;;;;;;:32;;18785:6;18760:24;:32::i;:::-;-1:-1:-1;;;;;18737:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;18808:35;;;;;;;18737:20;;18808:35;;;;;;;;;;;;;18278:573;;;:::o;5860:471::-;5918:7;6163:6;6159:47;;-1:-1:-1;6193:1:0;6186:8;;6159:47;6230:5;;;6234:1;6230;:5;:1;6254:5;;;;;:10;6246:56;;;;-1:-1:-1;;;6246:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6807:132;6865:7;6892:39;6896:1;6899;6892:39;;;;;;;;;;;;;;;;;:3;:39::i;64501:935::-;64611:12;64626:13;:6;64637:1;64626:10;:13::i;:::-;64611:28;-1:-1:-1;64650:17:0;64670:16;:6;64611:28;64670:10;:16::i;:::-;64650:36;-1:-1:-1;64989:21:0;65055:22;65072:4;65055:16;:22::i;:::-;65208:18;65229:41;:21;65255:14;65229:25;:41::i;:::-;65208:62;;65324:35;65337:9;65348:10;65324:12;:35::i;:::-;65385:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64501:935;;;;;:::o;66083:346::-;66177:21;66219:24;66236:6;66219:16;:24::i;:::-;66302:18;66323:41;:21;66349:14;66323:25;:41::i;:::-;66384:15;;66376:45;;66302:62;;-1:-1:-1;;;;;;66384:15:0;;66376:45;;;;;66302:62;;66384:15;66376:45;66384:15;66376:45;66302:62;66384:15;66376:45;;;;;;;;;;;;;;;;;;;;;66083:346;;;:::o;66994:312::-;67059:24;67076:6;67059:16;:24::i;:::-;67172:15;;67164:51;;67114:21;;67094:17;;-1:-1:-1;;;;;67172:15:0;;;;67114:21;;67094:17;67164:51;67094:17;67164:51;67114:21;67172:15;67164:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67146:69;;;67231:7;67228:71;;;67255:32;;;;;;;;;;;;;;;;;;;;;;;;;66994:312;;;:::o;4970:136::-;5028:7;5055:43;5059:1;5062;5055:43;;;;;;;;;;;;;;;;;:3;:43::i;7435:278::-;7521:7;7556:12;7549:5;7541:28;;;;-1:-1:-1;;;7541:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7580:9;7596:1;7592;:5;;;;;;;7435:278;-1:-1:-1;;;;;7435:278:0:o;65444:627::-;65610:16;;;65624:1;65610:16;;;65586:21;65610:16;;;;;65586:21;65610:16;;;;;;;;;;-1:-1:-1;65610:16:0;65586:40;;65655:4;65637;65642:1;65637:7;;;;;;;;-1:-1:-1;;;;;65637:23:0;;;:7;;;;;;;;;;:23;;;;65681:19;;:26;;;-1:-1:-1;;;65681:26:0;;;;:19;;;;;:24;;:26;;;;;65637:7;;65681:26;;;;;:19;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65681:26:0;65671:7;;:4;;65676:1;;65671:7;;;;;;-1:-1:-1;;;;;65671:36:0;;;:7;;;;;;;;;:36;65752:19;;65720:66;;65737:4;;65752:19;65774:11;65720:8;:66::i;:::-;65825:19;;:228;;-1:-1:-1;;;65825:228:0;;;;;;;;:19;:228;;;;;;66007:4;65825:228;;;;;;66027:15;65825:228;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;65825:19:0;;;;:70;;65910:11;;65980:4;;66007;66027:15;65825:228;;;;;;;;;;;;;;;;:19;:228;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66437:549;66627:19;;66595:66;;66612:4;;-1:-1:-1;;;;;66627:19:0;66649:11;66595:8;:66::i;:::-;66704:19;;66912:15;;66704:264;;;-1:-1:-1;;;66704:264:0;;66780:4;66704:264;;;;;;;;;;:19;:264;;;;;;;;;;-1:-1:-1;;;;;66912:15:0;;;66704:264;;;;66942:15;66704:264;;;;;;:19;;;;;:35;;66747:9;;66704:264;;;;;;;;;;;;;;;66747:9;66704:19;:264;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://137f61bb4579fe88eae8ed01da89a9d036b3c7e383ace756a4fbd1ae57590292
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.