Contract 0x29dee3902e27727053fce4b6bde7065735259378

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xacb392959be66758c4d087d672174794c2dc22fec12c2956f12e909ce8024066Deposit131661722021-12-03 18:36:4033 mins ago0x12b597e7199d0101417c856fd8396b770d86f7af IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00092301
0xab6b41a9f0dcf7584f58b34de90c7756791fb8975746ed63e2a3b85dce515650Leave Staking131639072021-12-03 16:43:212 hrs 27 mins ago0xcbcdd0f5d654bbe1c5c429dd1ac28827f257b17a IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00081207
0xbdc55a55e825b8ba6c7f11b4635b51fe1425197aed2356707a1134feb153bf75Enter Staking131603472021-12-03 13:41:075 hrs 29 mins ago0x64db46c381d7af4427db8f57c14bcd49a5426f01 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001053925
0xd6fc94ffbc0ccb9525caa1e7251967c8a596f8ae2fcea77f4c08a70128f23292Deposit131603372021-12-03 13:40:335 hrs 29 mins ago0x64db46c381d7af4427db8f57c14bcd49a5426f01 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00084801
0xeb7d97f1f1e5c0ebbdcca8b3dcbd83d247a1b072d4c44afb5a25a616f5e56aa3Enter Staking131587752021-12-03 12:17:566 hrs 52 mins ago0x7f83272e2b8b9a00e1e6821693ae907554892a7e IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001032905
0xad952bf9898649fb2df9ec36bc02006eb77b557b0c4598942deabd29c1ca4fdaEnter Staking131555842021-12-03 9:35:309 hrs 34 mins ago0xfac0abcaecc34e190951dd3132566a9e973df10f IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001032965
0x38bd578670e68cec568e395428c46ad3b8b33303948b32d00cfbd388f66941b8Deposit131554842021-12-03 9:30:309 hrs 39 mins ago0xdc78707ef0a42af3ed17f14ff5f383dc7bc808e3 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00055284
0xeeeea6084835b32176b60ed407feaf99609235eb309a68b5d7081961a10c6dd0Deposit131554662021-12-03 9:29:369 hrs 40 mins ago0xdc78707ef0a42af3ed17f14ff5f383dc7bc808e3 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00055284
0xd1fd09764cb3cb8954783d60977822a1e3fadfe9568c27ad6388c4413f97f3c9Deposit131554562021-12-03 9:29:069 hrs 41 mins ago0xdc78707ef0a42af3ed17f14ff5f383dc7bc808e3 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00070284
0x613d4851a9e946c308bfc4b6193031739444cd1332d939dc648cb544f24504c0Enter Staking131542442021-12-03 8:25:5110 hrs 44 mins ago0x2dda1c35b79ca8fd23fe48cc0f0021bf70e7566c IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001020915
0x25f064a22fbe57424dae940943cc0ad2c0b88b811326d213ff73f22c759c1ecfEnter Staking131532262021-12-03 7:34:5611 hrs 35 mins ago0x78175e8485e7e5a9f228883d9bd170b60e609b67 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001179456
0x56b0b03d39a5ddf093b5f1afc223ff00adde2ebc25433b4f88ab384d6d95755aEnter Staking131532162021-12-03 7:34:2611 hrs 35 mins ago0x78175e8485e7e5a9f228883d9bd170b60e609b67 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001239558
0x21b1e409ec3bae13ffef12271fb75f1b2170a23faa2105433b2c3764f695f81cDeposit131532012021-12-03 7:33:4111 hrs 36 mins ago0x78175e8485e7e5a9f228883d9bd170b60e609b67 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001107612
0x295ca6d58620dedf913c791917084f3cc1b49da539808ed02a50cd0550f0b006Enter Staking131528742021-12-03 7:16:5211 hrs 53 mins ago0xa00a24ae4c3d3799b206a0347f29285af8513199 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.0007906
0x8382aca1b8ebc6fe90d4e7f0c7ccdbb4bb196b1d7c149efe8b577f3057536e09Deposit131528632021-12-03 7:16:1911 hrs 54 mins ago0xa00a24ae4c3d3799b206a0347f29285af8513199 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00084801
0xa8c460185e935f173a393930074cb4c2725031006c5fd6fc256a77a9748fe546Enter Staking131526562021-12-03 7:05:5812 hrs 4 mins ago0x808d88544b7f491b5183bb2ccb77076292e5fe42 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00098276
0x7a9d501ff0cccd060eac5a527e8e0e93faec0460b9c303bd9185f8ae8d342a2aWithdraw131521192021-12-03 6:38:5012 hrs 31 mins ago0xf8c42a73685a2433a067ab6506d736d7c5465feb IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00070656
0xf758ef40d6fbc1d05f551dbda7626f3bf76c58f752f8ea24c3adfd38de9f2114Deposit131502572021-12-03 5:03:4214 hrs 6 mins ago0xb0132e4f55b4405bb81d52bf9bc53ea1540d8a4e IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00070284
0xd63d3ce0ea4001dfd4482729aa693d7492c8c925e7f8322ea3941d5905e17b46Enter Staking131494232021-12-03 4:22:0014 hrs 48 mins ago0xa6364d67f057d6a65308382c9dc23cc6ce44f8c1 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001032965
0x5df1156be4686c558f84f09135c6a52e200a3c4e2cd81d88bea507db04a80dcbEnter Staking131454572021-12-03 1:02:2418 hrs 7 mins ago0x6e43baa3e7d6b7d0d757b603268c2512140720ee IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001032965
0x7c556c274600952c321afee08752c26f76a769c1bcdbd60065e176bd1f05d030Enter Staking131454092021-12-03 1:00:0018 hrs 10 mins ago0xcc19717a095043cae5cf6c1a59f577ecbd5498e3 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00126471
0x7bb7b972235c0d5bb042ab447ea3f468034bdae3026b9e05a9df057900799820Deposit131453822021-12-03 0:58:3918 hrs 11 mins ago0xcc19717a095043cae5cf6c1a59f577ecbd5498e3 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001073628
0xc57873c023d08820005268135efa21c072e0999b545a80aff6f6d86efd7fc963Enter Staking131445012021-12-03 0:14:3518 hrs 55 mins ago0x906d1e4e68fed72f7e6c3769d5bff813e7fecc70 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00098288
0xaba194c8dda6ed5a65cf26a330e23f8e2aa8fd62c74f1e74489fd6275d6a065fEnter Staking131444922021-12-03 0:14:0818 hrs 56 mins ago0x906d1e4e68fed72f7e6c3769d5bff813e7fecc70 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.001032965
0xfcdcd42cd444cfe34cecbb1de73ecbc0626ae1eb76bea8fffbee9fbb176434bfDeposit131444802021-12-03 0:13:3218 hrs 56 mins ago0x906d1e4e68fed72f7e6c3769d5bff813e7fecc70 IN  0x29dee3902e27727053fce4b6bde70657352593780 BNB0.00092301
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MOKController

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 777 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-11-06
*/

// 
// 360Code: ad28-19ed-23xa-xa82-31dl
//   __  __            _    _        _ _  _____                           ___  
//  |  \/  |          | |  | |      (_) |/ ____|                         |__ \ 
//  | \  / | ___   ___| | _| |_ __ _ _| | (_____      ____ _ _ __   __   __ ) |
//  | |\/| |/ _ \ / __| |/ / __/ _` | | |\___ \ \ /\ / / _` | '_ \  \ \ / // / 
//  | |  | | (_) | (__|   <| || (_| | | |____) \ V  V / (_| | |_) |  \ V // /_ 
//  |_|  |_|\___/ \___|_|\_\\__\__,_|_|_|_____/ \_/\_/ \__,_| .__/    \_/|____|
//                                                          | |                
//                                                          |_|                
// 
// Website: https://mocktailswap.finance
// Telegram: https://t.me/MocktailSwap
// GitHub: https://github.com/MocktailSwap
// 
// Backed by Team Crypto360 (𝖙𝖍𝖊𝖈𝖗𝖞𝖕𝖙𝖔360.𝖈𝖔𝖒)
// 

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(
        IBEP20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IBEP20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            'SafeBEP20: approve from non-zero to non-zero allowance'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            'SafeBEP20: decreased allowance below zero'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IBEP20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, 'SafeBEP20: low-level call failed');
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), 'SafeBEP20: BEP20 operation did not succeed');
        }
    }
}
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() internal {
        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() external 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) external onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, 'Address: insufficient balance');

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}('');
        require(success, 'Address: unable to send value, recipient may have reverted');
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, 'Address: low-level call failed');
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, 'Address: low-level call with value failed');
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, 'Address: insufficient balance for call');
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we smok the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'smok and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the smok operation is unnecessary. However, since this occurs
            // so rarely, we still do the smok anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, 'EnumerableSet: index out of bounds');
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

    /**
     * @dev See {BEP20-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 override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    /**
     * @dev See {BEP20-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 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 {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public 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 {BEP20-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 returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero')
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        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 {
        require(sender != address(0), 'BEP20: transfer from the zero address');
        require(recipient != address(0), 'BEP20: transfer to the zero address');

        _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
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), 'BEP20: mint to the zero address');

        _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 {
        require(account != address(0), 'BEP20: burn from the zero address');

        _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 is 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 {
        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 Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')
        );
    }
}

contract Mocktail is BEP20('Mocktail', 'MOK') {
    
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }
    
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;
    mapping (address => uint32) public numCheckpoints;
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
    mapping (address => uint) public nonces;
    mapping (address => address) internal _delegates;
    
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);
    
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }
    
    function burn(address _from, uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
        _moveDelegates(_delegates[_from], address(0), _amount);
    }

    function delegates(address delegator)
    external
    view
    returns (address)
    {
        return _delegates[delegator];
    }

    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
    external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "MOK::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "MOK::delegateBySig: invalid nonce");
        require(now <= expiry, "MOK::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }
    
    function getCurrentVotes(address account)
    external
    view
    returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    function getPriorVotes(address account, uint blockNumber)
    external
    view
    returns (uint256)
    {
        require(blockNumber < block.number, "MOK::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }
        
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
    internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
    internal
    {
        uint32 blockNumber = safe32(block.number, "MOK::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}
contract Drinks is BEP20('Drinks', 'DRINK') {

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;
    mapping (address => address) internal _delegates;
    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    Mocktail public MOK;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);
    
    constructor(
        Mocktail _MOK
    ) public {
        MOK = _MOK;
    }

    
    
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    function burn(address _from ,uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
        _moveDelegates(_delegates[_from], address(0), _amount);
    }
    
    // Safe MOK transfer function, just in case if rounding error causes pool to not have enough MOKs.
    function safeMokTransfer(address _to, uint256 _amount) public onlyOwner {
        uint256 MOKBal = MOK.balanceOf(address(this));
        if (_amount > MOKBal) {
            MOK.transfer(_to, MOKBal);
        } else {
            MOK.transfer(_to, _amount);
        }
    }
    
    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
    external
    view
    returns (address)
    {
        return _delegates[delegator];
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
    external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "MOK::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "MOK::delegateBySig: invalid nonce");
        require(now <= expiry, "MOK::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
    external
    view
    returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
    external
    view
    returns (uint256)
    {
        require(blockNumber < block.number, "MOK::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
    internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying MOKs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
    internal
    {
        uint32 blockNumber = safe32(block.number, "MOK::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

contract MOKController is Ownable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;
    
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );
    
    event SetDevAddress(address indexed oldDev, address indexed newDev);
    event SetPoolAdder(address indexed oldAdder, address indexed newAdder);
    event SetMokPerBlock(uint256 oldPerBlock, uint256 newPerBlock);
    event SetMultiplier(uint256 oldMultiplier, uint256 newMultiplier);
    event SetMinReward(uint256 oldReward, uint256 newReward);
    event SetReferralReward(uint256 oldReferralReward, uint256 newReferralReward);
    event SetDevFee(uint256 oldFee, uint256 newFee);
    event SetNewMok(address indexed _newMok);
    event SetNewMokPos(address indexed _newMokPos);
    

    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        uint _lastInvested; // Last timestamp of invested token
        uint _blockInvested; // User Joined Block
    }
    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. MOKs to distribute per block.
        uint256 lastRewardBlock; // Last block number that MOKs distribution occurs.
        uint256 accMOKPerShare; // Accumulated MOKs per share, times 1e12. See below.
    }
    // The MOK TOKEN!
    Mocktail public MOK;
    // The MOK TOKEN!
    Drinks public mokPos;
    //Pools, Farms, Dev percent decimals
    uint256 constant public percentDec = 1000000;
    //Developers percent from token per block
    uint256 public devPercent;
    // Dev address.
    address public devaddr;
    // MOK tokens created per block.
    uint256 public MOKPerBlock;
    // Bonus muliplier for early MOK makers.
    uint256 public BONUS_MULTIPLIER = 1;
    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation poitns. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when MOK mining starts.
    uint256 public startBlock;
    // Deposited amount MOK in MasterChef
    uint256 public depositedMOK;
    // Referral commision
    uint256 public referralReward = 5;
    uint public MIN_WITHDRAW = 7 days;
    mapping(address => uint256) public _referrersFarm;
    mapping(address => uint256) public _referrersStake;
    mapping(address => bool) public _poolExists;
    mapping(address => address) public _mokReferrer;
    mapping(address => address[]) public _mokReferrals;
    
    address public poolAdder;
    address public referralAddr;

    modifier onlyPoolAdder() {
        require(poolAdder == _msgSender(), 'EmissionError: caller is not the emission alterer');
        _;
    }
    
    modifier validatePoolByPid(uint256 _pid) {
        require (_pid < poolInfo . length , "Pool does not exist") ;
        _;
    }

    constructor(
        Mocktail _MOK,
        Drinks _mokP,
        address _devaddr,
        uint256 _devPercent,
        address _poolAdder,
        address _refAddr,
        uint256 _mokPerBlock
    ) public {
        require(_devaddr != address(0), "MOKController: _devaddr should not be zero address");
        require(_poolAdder != address(0), "MOKController: _poolAdder should not be zero address");
        require(_refAddr != address(0), "MOKController: _refAddr should not be zero address");
        
        MOK = _MOK;
        mokPos = _mokP;
        devaddr = _devaddr;
        devPercent = _devPercent;
        startBlock = block.number + 3;
        poolAdder = _poolAdder;
        referralAddr = _refAddr;
        MOKPerBlock = _mokPerBlock;
        // staking pool
        poolInfo.push(PoolInfo({
            lpToken: _MOK,
            allocPoint: 1000,
            lastRewardBlock: startBlock,
            accMOKPerShare: 0
        }));
        _poolExists[address(_MOK)] = true;
    }
    
    function initReferree(address _referral) external {
        require(_mokReferrer[msg.sender] == address(0), '[+] Already Initialized Referree');
        require(_referral != address(0), '[+] Non-zero Address Required');
        require(_referral != msg.sender, '[+] Cannot Be Same Referrer');
        _mokReferrer[msg.sender] = _referral;
        _mokReferrals[_referral].push(msg.sender);
    }
    
    function setPoolAdder(address _poolAdder) external onlyOwner {
        require(_poolAdder != address(0), "MOKController: _poolAdder should not be zero address");
        emit SetPoolAdder(poolAdder, _poolAdder);
        poolAdder = _poolAdder;
    }
    
    function setDevFee(uint256 _fee) external onlyOwner {
        require(_fee <= 1000000, "Fee Should Not Exceeds 1000000");
        emit SetDevFee(devPercent, _fee);
        devPercent = _fee;
    }
    
    function _getMOKPerBlock() internal view returns (uint256) {
        return MOKPerBlock;
    }
    
    function getMOKPerBlock() external view returns (uint256) {
        return MOKPerBlock;
    }
    
    function setMOKPerBlock(uint256 _emission) external onlyOwner {
        emit SetMokPerBlock(MOKPerBlock, _emission);
        massUpdatePools();
        MOKPerBlock = _emission;
    }

    function updateMultiplier(uint256 multiplierNumber) external onlyOwner {
        emit SetMultiplier(BONUS_MULTIPLIER, multiplierNumber);
        BONUS_MULTIPLIER = multiplierNumber;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }
    
    function setMinReward(uint _minWithdraw) external onlyOwner {
        emit SetMinReward(MIN_WITHDRAW, _minWithdraw);
        MIN_WITHDRAW = _minWithdraw;
    }
    
    function canWithdrawRewards(uint _timeStamp) public view returns (bool){
        return (block.timestamp.sub(_timeStamp) >= MIN_WITHDRAW);
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add( uint256 _allocPoint, IBEP20 _lpToken, bool _withUpdate ) external onlyPoolAdder {
        require(!_poolExists[address(_lpToken)], "[!] Pool Already Exists");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accMOKPerShare: 0
            })
        );
        _poolExists[address(_lpToken)] = true;
    }

    // Update the given pool's MOK allocation point. Can only be called by the owner.
    function set( uint256 _pid, uint256 _allocPoint, bool _withUpdate) external onlyPoolAdder validatePoolByPid(_pid) {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
         return _to.sub(_from).mul(BONUS_MULTIPLIER);
    }

    // Check referral and send rewards
    function checkReferral(uint256 _amount) internal view returns(uint256){
        return _amount.sub(_amount.mul(referralReward).div(1e2));
    }
    // View function to see pending MOKs on frontend.
    function pendingMOK(uint256 _pid, address _user) external validatePoolByPid(_pid) view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accMOKPerShare = pool.accMOKPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (_pid == 0){
            lpSupply = depositedMOK;
        }
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 MOKReward = multiplier.mul(_getMOKPerBlock()).mul(pool.allocPoint).div(totalAllocPoint);
            accMOKPerShare = accMOKPerShare.add(MOKReward.mul(1e12).div(lpSupply));
        }
        return checkReferral(user.amount.mul(accMOKPerShare).div(1e12).sub(user.rewardDebt));
    }

    // Update reward vairables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public validatePoolByPid(_pid) {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (_pid == 0){
            lpSupply = depositedMOK;
        }
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 MOKReward = multiplier.mul(_getMOKPerBlock()).mul(pool.allocPoint).div(totalAllocPoint);
        uint256 devFee = MOKReward.mul(devPercent).div(percentDec);
        
        MOK.mint(address(mokPos), MOKReward);
        MOK.mint(address(devaddr), devFee);
        
        pool.accMOKPerShare = pool.accMOKPerShare.add(MOKReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }
    
    function setReferralReward(uint256 _rewards) external onlyOwner {
        emit SetReferralReward(referralReward, _rewards);
        referralReward = _rewards;
    }
    
    function getRewards(address _referrer) external view returns (uint256, uint256) {
        uint256 _farmRewards = _referrersFarm[_referrer];
        uint256 _stakeRewards = _referrersStake[_referrer];
        
        return (_farmRewards, _stakeRewards);
    }

    // Deposit LP tokens to MasterChef for MOK allocation.
    function deposit(uint256 _pid, uint256 _amount) external validatePoolByPid(_pid) {
        require (_pid != 0, 'deposit MOK by staking');

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accMOKPerShare).div(1e12).sub(user.rewardDebt);
            if(canWithdrawRewards(user._lastInvested)){
                initPending(msg.sender, pending, 'farm');
            }else{
                initPending(devaddr, pending, 'farm');
            }
        }
        pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
        user.amount = user.amount.add(_amount);
        user._lastInvested = block.timestamp;
        user._blockInvested = block.number;
        user.rewardDebt = user.amount.mul(pool.accMOKPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }
    
    function compareStrings(string memory a, string memory b) internal pure returns (bool) {
        return (keccak256(abi.encodePacked((a))) == keccak256(abi.encodePacked((b))));
    }
    
    function initPending(address sender, uint256 pending, string memory which) internal returns (uint256) {
        address referral = _mokReferrer[sender];
        uint256 refRewards = pending.mul(referralReward).div(100);
        uint256 pendingRewards = pending.sub(refRewards);
        safeMOKTransfer(sender, pendingRewards);
        if(referral != address(0)){
            safeMOKTransfer(referral, refRewards);
            if(compareStrings("farm", which)){
                _referrersFarm[referral] = _referrersFarm[referral].add(refRewards);
            }else {
                _referrersStake[referral] = _referrersStake[referral].add(refRewards);
            }
        }else{
            safeMOKTransfer(referralAddr, refRewards);
            if(compareStrings("farm", which)){
                _referrersFarm[referralAddr] = _referrersFarm[referralAddr].add(refRewards);
            }else {
                _referrersStake[referralAddr] = _referrersStake[referralAddr].add(refRewards);
            }
        }
        return pendingRewards;
    }

    function withdraw(uint256 _pid, uint256 _amount) external validatePoolByPid(_pid) {

        require (_pid != 0, 'withdraw MOK by unstaking');

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accMOKPerShare).div(1e12).sub(user.rewardDebt);
        if(canWithdrawRewards(user._lastInvested)){
            initPending(msg.sender, pending, 'farm');
        }else{
            initPending(devaddr, pending, 'farm');
        }
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accMOKPerShare).div(1e12);
        pool.lpToken.safeTransfer(address(msg.sender), _amount);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    function enterStaking(uint256 _amount, bool _isCompounding) external {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        updatePool(0);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accMOKPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                if(canWithdrawRewards(user._lastInvested)){
                    uint256 _reward = initPending(msg.sender, pending, "Stake");
                    if(_isCompounding){
                        _amount = _reward;
                    }
                }else{
                    initPending(devaddr, pending, "Stake");
                }
            }
        }
        if(_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            user.amount = user.amount.add(_amount);
            user._lastInvested = block.timestamp;
            user._blockInvested = block.number;
            depositedMOK = depositedMOK.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accMOKPerShare).div(1e12);
        mokPos.mint(msg.sender, _amount);
        emit Deposit(msg.sender, 0, _amount);
    }

    function leaveStaking(uint256 _amount) external {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(0);
        uint256 pending = user.amount.mul(pool.accMOKPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            if(canWithdrawRewards(user._lastInvested)){
                initPending(msg.sender, pending, "Stake");
            }else{
                initPending(devaddr, pending, "Stake");
            }
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
            depositedMOK = depositedMOK.sub(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accMOKPerShare).div(1e12);
        mokPos.burn(msg.sender, _amount);
        emit Withdraw(msg.sender, 0, _amount);
    }

    function emergencyWithdraw(uint256 _pid) external validatePoolByPid(_pid) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    function safeMOKTransfer(address _to, uint256 _amount) internal {
        mokPos.safeMokTransfer(_to, _amount);
    }

    function setDevAddress(address _devaddr) external onlyOwner {
        require(_devaddr != address(0), "MOKController: _devaddr should not be zero address");
        emit SetDevAddress(devaddr, _devaddr);
        devaddr = _devaddr;
    }
    
    function transferMOKOwner(address owner) external onlyOwner {
        MOK.transferOwnership(owner);
    }
    
    function transferPOSOwner(address owner) external onlyOwner {
        mokPos.transferOwnership(owner);
    }
    
    function setMOK(Mocktail _token) external onlyOwner {
        require(_token != Mocktail(0), "MOKController: _token should not be zero address");
        emit SetNewMok(address(_token));
        MOK = _token;
    }
    
    function setDrinks(Drinks _token) external onlyOwner {
        require(_token != Drinks(0), "MOKController: _token should not be zero address");
        emit SetNewMokPos(address(_token));
        mokPos = _token;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract Mocktail","name":"_MOK","type":"address"},{"internalType":"contract Drinks","name":"_mokP","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_devPercent","type":"uint256"},{"internalType":"address","name":"_poolAdder","type":"address"},{"internalType":"address","name":"_refAddr","type":"address"},{"internalType":"uint256","name":"_mokPerBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldDev","type":"address"},{"indexed":true,"internalType":"address","name":"newDev","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"SetDevFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newReward","type":"uint256"}],"name":"SetMinReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldPerBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPerBlock","type":"uint256"}],"name":"SetMokPerBlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldMultiplier","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMultiplier","type":"uint256"}],"name":"SetMultiplier","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_newMok","type":"address"}],"name":"SetNewMok","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_newMokPos","type":"address"}],"name":"SetNewMokPos","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAdder","type":"address"},{"indexed":true,"internalType":"address","name":"newAdder","type":"address"}],"name":"SetPoolAdder","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldReferralReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newReferralReward","type":"uint256"}],"name":"SetReferralReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_WITHDRAW","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MOK","outputs":[{"internalType":"contract Mocktail","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MOKPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"_mokReferrals","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_mokReferrer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_poolExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_referrersFarm","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_referrersStake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timeStamp","type":"uint256"}],"name":"canWithdrawRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositedMOK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_isCompounding","type":"bool"}],"name":"enterStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getMOKPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_referrer","type":"address"}],"name":"getRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_referral","type":"address"}],"name":"initReferree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"leaveStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mokPos","outputs":[{"internalType":"contract Drinks","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingMOK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentDec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolAdder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accMOKPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setDevFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract Drinks","name":"_token","type":"address"}],"name":"setDrinks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract Mocktail","name":"_token","type":"address"}],"name":"setMOK","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_emission","type":"uint256"}],"name":"setMOKPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minWithdraw","type":"uint256"}],"name":"setMinReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_poolAdder","type":"address"}],"name":"setPoolAdder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewards","type":"uint256"}],"name":"setReferralReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"transferMOKOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"transferPOSOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"multiplierNumber","type":"uint256"}],"name":"updateMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"_lastInvested","type":"uint256"},{"internalType":"uint256","name":"_blockInvested","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600160065560006009556005600c5562093a80600d553480156200002757600080fd5b5060405162003310380380620033108339810160408190526200004a9162000296565b60006200005662000292565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b038516620000d25760405162461bcd60e51b8152600401620000c990620003d7565b60405180910390fd5b6001600160a01b038316620000fb5760405162461bcd60e51b8152600401620000c9906200037a565b6001600160a01b038216620001245760405162461bcd60e51b8152600401620000c99062000328565b600180546001600160a01b03199081166001600160a01b03998a169081178355600280548316998b1699909917909855600480548216978a16979097178755600395865543909501600a819055601380548716958a169590951790945560148054861693891693909317909255600555604080516080810182528681526103e8602080830191825282840195865260006060840181815260078054808901825590835294517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68895909a02948501805490991699909b1698909817909655517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68982015592517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a84015595517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b909201919091559282526010905291909120805460ff1916909117905562000442565b3390565b600080600080600080600060e0888a031215620002b1578283fd5b8751620002be8162000429565b6020890151909750620002d18162000429565b6040890151909650620002e48162000429565b606089015160808a01519196509450620002fe8162000429565b60a0890151909350620003118162000429565b8092505060c0880151905092959891949750929550565b60208082526032908201527f4d4f4b436f6e74726f6c6c65723a205f726566416464722073686f756c64206e6040820152716f74206265207a65726f206164647265737360701b606082015260800190565b60208082526034908201527f4d4f4b436f6e74726f6c6c65723a205f706f6f6c41646465722073686f756c6460408201527f206e6f74206265207a65726f2061646472657373000000000000000000000000606082015260800190565b60208082526032908201527f4d4f4b436f6e74726f6c6c65723a205f646576616464722073686f756c64206e6040820152716f74206265207a65726f206164647265737360701b606082015260800190565b6001600160a01b03811681146200043f57600080fd5b50565b612ebe80620004526000396000f3fe608060405234801561001057600080fd5b50600436106103415760003560e01c80637549ba4d116101bd5780639f5cd809116100f9578063e2bbb158116100a2578063f70efc011161007c578063f70efc0114610673578063fbc45f7f14610686578063fc2833071461068e578063fc3c28af1461069657610341565b8063e2bbb1581461063a578063f15176121461064d578063f2fde38b1461066057610341565b8063d0d41fe1116100d3578063d0d41fe11461060c578063d49e77cd1461061f578063d9b0a56a1461062757610341565b80639f5cd809146105e9578063b6a1cb2b146105f1578063bce800a11461060457610341565b80638dbb1e3a1161016657806390a1382d1161014057806390a1382d1461058d57806393f1a40b146105a057806395eca40e146105c357806399885b9a146105d657610341565b80638dbb1e3a146105545780638ec3f7df146105675780638fb6c6f61461057a57610341565b806385cdf1db1161019757806385cdf1db1461053c5780638aa28550146105445780638da5cb5b1461054c57610341565b80637549ba4d1461050057806379ee54f714610513578063820028fd1461053457610341565b806334c0d74c1161028c57806351eb05a611610235578063630b5ba11161020f578063630b5ba1146104ca57806364482f79146104d25780636d68b658146104e5578063715018a6146104f857610341565b806351eb05a6146104915780635312ea8e146104a45780635ffe6146146104b757610341565b80634cc70777116102665780634cc70777146104635780634d68367414610476578063514a929d1461047e57610341565b806334c0d74c14610435578063441a3e701461044857806348cd4cb11461045b57610341565b80631c75b6b2116102ee5780632c782e07116102c85780632c782e07146104055780632f3944d61461041a5780632fc5ced11461042d57610341565b80631c75b6b2146103d75780631eaaa045146103ea57806321b1aecb146103fd57610341565b80631058d2811161031f5780631058d281146103995780631526fe27146103ac57806317caf6f1146103cf57610341565b806301df2ff114610346578063081e3eda1461035b578063097bb67714610379575b600080fd5b610359610354366004612784565b61069e565b005b6103636108d9565b6040516103709190612e07565b60405180910390f35b61038c610387366004612725565b6108df565b60405161037091906128a4565b6103596103a7366004612725565b6108f7565b6103bf6103ba366004612725565b610b21565b60405161037094939291906128af565b610363610b62565b6103596103e5366004612725565b610b68565b6103596103f83660046127a8565b610c00565b610363610daf565b61040d610db6565b6040516103709190612853565b61040d6104283660046126c2565b610dc5565b61040d610de0565b610359610443366004612725565b610def565b6103596104563660046127e9565b610e6c565b610363611041565b610363610471366004612755565b611047565b6103636111ec565b61035961048c3660046126c2565b6111f2565b61035961049f366004612725565b61128c565b6103596104b2366004612725565b6114de565b6103596104c5366004612725565b6115a9565b61035961161e565b6103596104e036600461280a565b61163d565b61038c6104f33660046126c2565b61170f565b610359611724565b61035961050e3660046126c2565b6117a3565b6105266105213660046126c2565b611854565b604051610370929190612e10565b61040d61187c565b61036361188b565b610363611891565b61040d611897565b6103636105623660046127e9565b6118a6565b6103636105753660046126c2565b6118c3565b610359610588366004612725565b6118d5565b61036361059b3660046126c2565b61194a565b6105b36105ae366004612755565b61195c565b6040516103709493929190612e1e565b6103596105d13660046126c2565b61198e565b61040d6105e43660046126de565b611a45565b61040d611a7a565b6103596105ff366004612725565b611a89565b610363611afe565b61035961061a3660046126c2565b611b04565b61040d611bbb565b6103596106353660046126c2565b611bca565b6103596106483660046127e9565b611c9f565b61035961065b3660046126c2565b611e55565b61035961066e3660046126c2565b611eba565b6103596106813660046126c2565b611efb565b610363611fac565b610363611fb2565b610363611fb8565b600060076000815481106106ae57fe5b600091825260208083203384527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c7909152604083206004909202019250906106f59061128c565b8054156107c4576000610736826001015461073064e8d4a5100061072a87600301548760000154611fbe90919063ffffffff16565b90611ff8565b9061203a565b905080156107c25761074b82600201546108df565b1561078c57600061077a3383604051806040016040528060058152602001645374616b6560d81b81525061207c565b90508415610786578095505b506107c2565b6004546040805180820190915260058152645374616b6560d81b60208201526107c0916001600160a01b031690839061207c565b505b505b831561080c5781546107e1906001600160a01b0316333087612263565b80546107ed90856122ee565b8155426002820155436003820155600b5461080890856122ee565b600b555b600382015481546108279164e8d4a510009161072a91611fbe565b60018201556002546040516340c10f1960e01b81526001600160a01b03909116906340c10f199061085e9033908890600401612867565b600060405180830381600087803b15801561087857600080fd5b505af115801561088c573d6000803e3d6000fd5b505050506000336001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040516108cb9190612e07565b60405180910390a350505050565b60075490565b600d546000906108ef428461203a565b101592915050565b6000600760008154811061090757fe5b600091825260208083203384527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c790915260409092208054600490920290920192508311156109715760405162461bcd60e51b815260040161096890612c99565b60405180910390fd5b61097b600061128c565b60006109a9826001015461073064e8d4a5100061072a87600301548760000154611fbe90919063ffffffff16565b90508015610a27576109be82600201546108df565b156109f1576109eb3382604051806040016040528060058152602001645374616b6560d81b81525061207c565b50610a27565b6004546040805180820190915260058152645374616b6560d81b6020820152610a25916001600160a01b031690839061207c565b505b8315610a62578154610a39908561203a565b82558254610a51906001600160a01b03163386612313565b600b54610a5e908561203a565b600b555b60038301548254610a7d9164e8d4a510009161072a91611fbe565b6001830155600254604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90610ab49033908890600401612867565b600060405180830381600087803b158015610ace57600080fd5b505af1158015610ae2573d6000803e3d6000fd5b505050506000336001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040516108cb9190612e07565b60078181548110610b2e57fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60095481565b610b70612337565b6000546001600160a01b03908116911614610b9d5760405162461bcd60e51b815260040161096890612b05565b620f4240811115610bc05760405162461bcd60e51b815260040161096890612cd0565b7fdfae5f42c0c976dcee53339899fa80275f63326acda2cab4348f49717462bd1760035482604051610bf3929190612e10565b60405180910390a1600355565b610c08612337565b6013546001600160a01b03908116911614610c355760405162461bcd60e51b81526004016109689061293f565b6001600160a01b03821660009081526010602052604090205460ff1615610c6e5760405162461bcd60e51b815260040161096890612dd0565b8015610c7c57610c7c61161e565b6000600a544311610c8f57600a54610c91565b435b600954909150610ca190856122ee565b600955604080516080810182526001600160a01b039485168082526020808301978852828401948552600060608401818152600780546001808201835591845295517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600490970296870180546001600160a01b03191691909b161790995598517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68985015594517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a84015596517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b909201919091558252601090945292909220805460ff1916909117905550565b620f424081565b6001546001600160a01b031681565b6011602052600090815260409020546001600160a01b031681565b6014546001600160a01b031681565b610df7612337565b6000546001600160a01b03908116911614610e245760405162461bcd60e51b815260040161096890612b05565b7ff8665f9a6029a126b9d0be1806b4b8b11758dfad52e0a93615aa39c50c6ba94f60055482604051610e57929190612e10565b60405180910390a1610e6761161e565b600555565b60075482908110610e8f5760405162461bcd60e51b815260040161096890612a8d565b82610eac5760405162461bcd60e51b815260040161096890612d07565b600060078481548110610ebb57fe5b600091825260208083208784526008825260408085203386529092529220805460049092029092019250841115610f045760405162461bcd60e51b815260040161096890612c99565b610f0d8561128c565b6000610f3b826001015461073064e8d4a5100061072a87600301548760000154611fbe90919063ffffffff16565b9050610f4a82600201546108df565b15610f7c57610f763382604051806040016040528060048152602001636661726d60e01b81525061207c565b50610fb3565b6004805460408051808201909152918252636661726d60e01b6020830152610fb1916001600160a01b0390911690839061207c565b505b8154610fbf908661203a565b8083556003840154610fdc9164e8d4a510009161072a9190611fbe565b60018301558254610ff7906001600160a01b03163387612313565b85336001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040516110319190612e07565b60405180910390a3505050505050565b600a5481565b6007546000908390811061106d5760405162461bcd60e51b815260040161096890612a8d565b60006007858154811061107c57fe5b600091825260208083208884526008825260408085206001600160a01b038a81168752935280852060049485029092016003810154815492516370a0823160e01b815291975092959294929391909116916370a08231916110df91309101612853565b60206040518083038186803b1580156110f757600080fd5b505afa15801561110b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112f919061273d565b90508761113b5750600b545b83600201544311801561114d57508015155b156111b05760006111628560020154436118a6565b9050600061118c60095461072a886001015461118661117f611fb2565b8790611fbe565b90611fbe565b90506111ab6111a48461072a8464e8d4a51000611fbe565b85906122ee565b935050505b6111e06111db846001015461073064e8d4a5100061072a878960000154611fbe90919063ffffffff16565b61233b565b98975050505050505050565b600c5481565b6111fa612337565b6000546001600160a01b039081169116146112275760405162461bcd60e51b815260040161096890612b05565b60025460405163f2fde38b60e01b81526001600160a01b039091169063f2fde38b90611257908490600401612853565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b5050505050565b600754819081106112af5760405162461bcd60e51b815260040161096890612a8d565b6000600783815481106112be57fe5b90600052602060002090600402019050806002015443116112df57506114da565b80546040516370a0823160e01b81526000916001600160a01b0316906370a082319061130f903090600401612853565b60206040518083038186803b15801561132757600080fd5b505afa15801561133b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135f919061273d565b90508361136b5750600b545b8061137d5750436002909101556114da565b600061138d8360020154436118a6565b905060006113aa60095461072a866001015461118661117f611fb2565b905060006113ca620f424061072a60035485611fbe90919063ffffffff16565b6001546002546040516340c10f1960e01b81529293506001600160a01b03918216926340c10f19926114029216908690600401612867565b600060405180830381600087803b15801561141c57600080fd5b505af1158015611430573d6000803e3d6000fd5b5050600154600480546040516340c10f1960e01b81526001600160a01b0393841695506340c10f19945061146a9390911691869101612867565b600060405180830381600087803b15801561148457600080fd5b505af1158015611498573d6000803e3d6000fd5b505050506114c66114bb8561072a64e8d4a5100086611fbe90919063ffffffff16565b6003870154906122ee565b600386015550504360029093019290925550505b5050565b600754819081106115015760405162461bcd60e51b815260040161096890612a8d565b60006007838154811061151057fe5b600091825260208083208684526008825260408085203380875293528420805485825560018201959095556004909302018054909450919291611560916001600160a01b03919091169083612313565b84336001600160a01b03167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05958360405161159a9190612e07565b60405180910390a35050505050565b6115b1612337565b6000546001600160a01b039081169116146115de5760405162461bcd60e51b815260040161096890612b05565b7f7c36f4f09129892bcf3dc5b110d9b3644884bbdd87fa190dcc3b1e9877dc438460065482604051611611929190612e10565b60405180910390a1600655565b60075460005b818110156114da576116358161128c565b600101611624565b611645612337565b6013546001600160a01b039081169116146116725760405162461bcd60e51b81526004016109689061293f565b600754839081106116955760405162461bcd60e51b815260040161096890612a8d565b81156116a3576116a361161e565b6116e0836116da600787815481106116b757fe5b90600052602060002090600402016001015460095461203a90919063ffffffff16565b906122ee565b60098190555082600785815481106116f457fe5b90600052602060002090600402016001018190555050505050565b60106020526000908152604090205460ff1681565b61172c612337565b6000546001600160a01b039081169116146117595760405162461bcd60e51b815260040161096890612b05565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6117ab612337565b6000546001600160a01b039081169116146117d85760405162461bcd60e51b815260040161096890612b05565b6001600160a01b0381166117fe5760405162461bcd60e51b815260040161096890612b3a565b6040516001600160a01b038216907ff726003f4ec1c38ea7a390b5c255541f9d37eced194a67212ec7fbfdc5243d2090600090a2600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03166000908152600e6020908152604080832054600f909252909120549091565b6013546001600160a01b031681565b60055481565b60065481565b6000546001600160a01b031690565b6006546000906118ba90611186848661203a565b90505b92915050565b600e6020526000908152604090205481565b6118dd612337565b6000546001600160a01b0390811691161461190a5760405162461bcd60e51b815260040161096890612b05565b7f608c431b7dadfd33cfc0596ce4995a14e7cbd66fdc93d4d5074da3bd5f31b58b600c548260405161193d929190612e10565b60405180910390a1600c55565b600f6020526000908152604090205481565b600860209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b611996612337565b6000546001600160a01b039081169116146119c35760405162461bcd60e51b815260040161096890612b05565b6001600160a01b0381166119e95760405162461bcd60e51b815260040161096890612c3c565b6013546040516001600160a01b038084169216907ff3c52449ff96be77d7e04cd2259a04437faed92cb6704a0259edbdc136f5580890600090a3601380546001600160a01b0319166001600160a01b0392909216919091179055565b60126020528160005260406000208181548110611a5e57fe5b6000918252602090912001546001600160a01b03169150829050565b6002546001600160a01b031681565b611a91612337565b6000546001600160a01b03908116911614611abe5760405162461bcd60e51b815260040161096890612b05565b7ff6ede462e9062271820cff4372529a7ed9a52f2a7ef0a55f2542fbf91eb7c9bf600d5482604051611af1929190612e10565b60405180910390a1600d55565b600b5481565b611b0c612337565b6000546001600160a01b03908116911614611b395760405162461bcd60e51b815260040161096890612b05565b6001600160a01b038116611b5f5760405162461bcd60e51b815260040161096890612d3e565b6004546040516001600160a01b038084169216907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b336000908152601160205260409020546001600160a01b031615611c005760405162461bcd60e51b815260040161096890612d9b565b6001600160a01b038116611c265760405162461bcd60e51b815260040161096890612908565b6001600160a01b038116331415611c4f5760405162461bcd60e51b815260040161096890612b97565b33600081815260116020908152604080832080546001600160a01b039096166001600160a01b03199687168117909155835260128252822080546001810182559083529120018054909216179055565b60075482908110611cc25760405162461bcd60e51b815260040161096890612a8d565b82611cdf5760405162461bcd60e51b815260040161096890612bce565b600060078481548110611cee57fe5b60009182526020808320878452600882526040808520338652909252922060049091029091019150611d1f8561128c565b805415611dce576000611d54826001015461073064e8d4a5100061072a87600301548760000154611fbe90919063ffffffff16565b9050611d6382600201546108df565b15611d9557611d8f3382604051806040016040528060048152602001636661726d60e01b81525061207c565b50611dcc565b6004805460408051808201909152918252636661726d60e01b6020830152611dca916001600160a01b0390911690839061207c565b505b505b8154611de5906001600160a01b0316333087612263565b8054611df190856122ee565b80825542600283015543600380840191909155830154611e1c9164e8d4a510009161072a9190611fbe565b6001820155604051859033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159061159a908890612e07565b611e5d612337565b6000546001600160a01b03908116911614611e8a5760405162461bcd60e51b815260040161096890612b05565b60015460405163f2fde38b60e01b81526001600160a01b039091169063f2fde38b90611257908490600401612853565b611ec2612337565b6000546001600160a01b03908116911614611eef5760405162461bcd60e51b815260040161096890612b05565b611ef881612361565b50565b611f03612337565b6000546001600160a01b03908116911614611f305760405162461bcd60e51b815260040161096890612b05565b6001600160a01b038116611f565760405162461bcd60e51b815260040161096890612b3a565b6040516001600160a01b038216907fee73e781c7e933271efd9f7a9671d6462f15c4b48d8fcb3002033f5f1817ea7490600090a2600280546001600160a01b0319166001600160a01b0392909216919091179055565b600d5481565b60055490565b60035481565b600082611fcd575060006118bd565b82820282848281611fda57fe5b04146118ba5760405162461bcd60e51b815260040161096890612ac4565b60006118ba83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506123e2565b60006118ba83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612419565b6001600160a01b03808416600090815260116020526040812054600c549192169082906120b19060649061072a908890611fbe565b905060006120bf868361203a565b90506120cb8782612445565b6001600160a01b03831615612192576120e48383612445565b61210a604051806040016040528060048152602001636661726d60e01b815250866124c6565b15612150576001600160a01b0383166000908152600e602052604090205461213290836122ee565b6001600160a01b0384166000908152600e602052604090205561218d565b6001600160a01b0383166000908152600f602052604090205461217390836122ee565b6001600160a01b0384166000908152600f60205260409020555b612259565b6014546121a8906001600160a01b031683612445565b6121ce604051806040016040528060048152602001636661726d60e01b815250866124c6565b15612218576014546001600160a01b03166000908152600e60205260409020546121f890836122ee565b6014546001600160a01b03166000908152600e6020526040902055612259565b6014546001600160a01b03166000908152600f602052604090205461223d90836122ee565b6014546001600160a01b03166000908152600f60205260409020555b9695505050505050565b6122e8846323b872dd60e01b85858560405160240161228493929190612880565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261251f565b50505050565b6000828201838110156118ba5760405162461bcd60e51b815260040161096890612a56565b6123328363a9059cbb60e01b8484604051602401612284929190612867565b505050565b3390565b60006118bd61235a606461072a600c5486611fbe90919063ffffffff16565b839061203a565b6001600160a01b0381166123875760405162461bcd60e51b8152600401610968906129f9565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081836124035760405162461bcd60e51b815260040161096891906128d5565b50600083858161240f57fe5b0495945050505050565b6000818484111561243d5760405162461bcd60e51b815260040161096891906128d5565b505050900390565b6002546040517fff00f59b0000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063ff00f59b906124909085908590600401612867565b600060405180830381600087803b1580156124aa57600080fd5b505af11580156124be573d6000803e3d6000fd5b505050505050565b6000816040516020016124d99190612837565b60405160208183030381529060405280519060200120836040516020016125009190612837565b6040516020818303038152906040528051906020012014905092915050565b6060612574826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125ae9092919063ffffffff16565b80519091501561233257808060200190518101906125929190612709565b6123325760405162461bcd60e51b81526004016109689061299c565b60606125bd84846000856125c5565b949350505050565b60606125d085612689565b6125ec5760405162461bcd60e51b815260040161096890612c05565b60006060866001600160a01b031685876040516126099190612837565b60006040518083038185875af1925050503d8060008114612646576040519150601f19603f3d011682016040523d82523d6000602084013e61264b565b606091505b5091509150811561265f5791506125bd9050565b80511561266f5780518082602001fd5b8360405162461bcd60e51b815260040161096891906128d5565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906125bd575050151592915050565b6000602082840312156126d3578081fd5b81356118ba81612e65565b600080604083850312156126f0578081fd5b82356126fb81612e65565b946020939093013593505050565b60006020828403121561271a578081fd5b81516118ba81612e7a565b600060208284031215612736578081fd5b5035919050565b60006020828403121561274e578081fd5b5051919050565b60008060408385031215612767578182fd5b82359150602083013561277981612e65565b809150509250929050565b60008060408385031215612796578182fd5b82359150602083013561277981612e7a565b6000806000606084860312156127bc578081fd5b8335925060208401356127ce81612e65565b915060408401356127de81612e7a565b809150509250925092565b600080604083850312156127fb578182fd5b50508035926020909101359150565b60008060006060848603121561281e578283fd5b833592506020840135915060408401356127de81612e7a565b60008251612849818460208701612e39565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b901515815260200190565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b60006020825282518060208401526128f4816040850160208701612e39565b601f01601f19169190910160400192915050565b6020808252601d908201527f5b2b5d204e6f6e2d7a65726f2041646472657373205265717569726564000000604082015260600190565b60208082526031908201527f456d697373696f6e4572726f723a2063616c6c6572206973206e6f742074686560408201527f20656d697373696f6e20616c7465726572000000000000000000000000000000606082015260800190565b6020808252602a908201527f5361666542455032303a204245503230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526013908201527f506f6f6c20646f6573206e6f7420657869737400000000000000000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526030908201527f4d4f4b436f6e74726f6c6c65723a205f746f6b656e2073686f756c64206e6f7460408201527f206265207a65726f206164647265737300000000000000000000000000000000606082015260800190565b6020808252601b908201527f5b2b5d2043616e6e6f742042652053616d652052656665727265720000000000604082015260600190565b60208082526016908201527f6465706f736974204d4f4b206279207374616b696e6700000000000000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526034908201527f4d4f4b436f6e74726f6c6c65723a205f706f6f6c41646465722073686f756c6460408201527f206e6f74206265207a65726f2061646472657373000000000000000000000000606082015260800190565b60208082526012908201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604082015260600190565b6020808252601e908201527f4665652053686f756c64204e6f74204578636565647320313030303030300000604082015260600190565b60208082526019908201527f7769746864726177204d4f4b20627920756e7374616b696e6700000000000000604082015260600190565b60208082526032908201527f4d4f4b436f6e74726f6c6c65723a205f646576616464722073686f756c64206e60408201527f6f74206265207a65726f20616464726573730000000000000000000000000000606082015260800190565b6020808252818101527f5b2b5d20416c726561647920496e697469616c697a6564205265666572726565604082015260600190565b60208082526017908201527f5b215d20506f6f6c20416c726561647920457869737473000000000000000000604082015260600190565b90815260200190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b60005b83811015612e54578181015183820152602001612e3c565b838111156122e85750506000910152565b6001600160a01b0381168114611ef857600080fd5b8015158114611ef857600080fdfea2646970667358221220f0c63cdb6c1ee93d2a6602664fb72408d0c49d4a9b8c2b1cd6c05a8b295aef4864736f6c634300060c0033000000000000000000000000ca69c118fa550387794d48900a866891217e5c9f000000000000000000000000731c759d4c136aa71c2d211ceef7143ee1a5cd830000000000000000000000002de86283a81e08eb5744a70389bb3680d7f92037000000000000000000000000000000000000000000000000000000000000c350000000000000000000000000cc1ba230b33bd1100eee9d85d8191d02d7c52b2e000000000000000000000000a409049eca82f667de5cc6dc798a8459ebb3fc900000000000000000000000000000000000000000000000000f43fc2c04ee0000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000ca69c118fa550387794d48900a866891217e5c9f000000000000000000000000731c759d4c136aa71c2d211ceef7143ee1a5cd830000000000000000000000002de86283a81e08eb5744a70389bb3680d7f92037000000000000000000000000000000000000000000000000000000000000c350000000000000000000000000cc1ba230b33bd1100eee9d85d8191d02d7c52b2e000000000000000000000000a409049eca82f667de5cc6dc798a8459ebb3fc900000000000000000000000000000000000000000000000000f43fc2c04ee0000

-----Decoded View---------------
Arg [0] : _MOK (address): 0xca69c118fa550387794d48900a866891217e5c9f
Arg [1] : _mokP (address): 0x731c759d4c136aa71c2d211ceef7143ee1a5cd83
Arg [2] : _devaddr (address): 0x2de86283a81e08eb5744a70389bb3680d7f92037
Arg [3] : _devPercent (uint256): 50000
Arg [4] : _poolAdder (address): 0xcc1ba230b33bd1100eee9d85d8191d02d7c52b2e
Arg [5] : _refAddr (address): 0xa409049eca82f667de5cc6dc798a8459ebb3fc90
Arg [6] : _mokPerBlock (uint256): 1100000000000000000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000ca69c118fa550387794d48900a866891217e5c9f
Arg [1] : 000000000000000000000000731c759d4c136aa71c2d211ceef7143ee1a5cd83
Arg [2] : 0000000000000000000000002de86283a81e08eb5744a70389bb3680d7f92037
Arg [3] : 000000000000000000000000000000000000000000000000000000000000c350
Arg [4] : 000000000000000000000000cc1ba230b33bd1100eee9d85d8191d02d7c52b2e
Arg [5] : 000000000000000000000000a409049eca82f667de5cc6dc798a8459ebb3fc90
Arg [6] : 0000000000000000000000000000000000000000000000000f43fc2c04ee0000


Deployed ByteCode Sourcemap

53324:17710:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67300:1249;;;;;;:::i;:::-;;:::i;:::-;;59244:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59525:146;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;68557:973::-;;;;;;:::i;:::-;;:::i;55517:26::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;55758:34::-;;;:::i;58425:200::-;;;;;;:::i;:::-;;:::i;59840:690::-;;;;;;:::i;:::-;;:::i;55151:44::-;;;:::i;55033:19::-;;;:::i;:::-;;;;;;;:::i;56227:47::-;;;;;;:::i;:::-;;:::i;56375:27::-;;;:::i;58852:186::-;;;;;;:::i;:::-;;:::i;66414:878::-;;;;;;:::i;:::-;;:::i;55848:25::-;;;:::i;61434:869::-;;;;;;:::i;:::-;;:::i;55984:33::-;;;:::i;70456:110::-;;;;;;:::i;:::-;;:::i;62642:975::-;;;;;;:::i;:::-;;:::i;69538:411::-;;;;;;:::i;:::-;;:::i;59046:190::-;;;;;;:::i;:::-;;:::i;62386:180::-;;;:::i;60625:335::-;;;;;;:::i;:::-;;:::i;56177:43::-;;;;;;:::i;:::-;;:::i;6110:142::-;;;:::i;70578:218::-;;;;;;:::i;:::-;;:::i;63808:265::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;56344:24::-;;;:::i;55369:26::-;;;:::i;55448:35::-;;;:::i;5468:79::-;;;:::i;61036:144::-;;;;;;:::i;:::-;;:::i;56064:49::-;;;;;;:::i;:::-;;:::i;63629:167::-;;;;;;:::i;:::-;;:::i;56120:50::-;;;;;;:::i;:::-;;:::i;55599:64::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;58160:253::-;;;;;;:::i;:::-;;:::i;56281:50::-;;;;;;:::i;:::-;;:::i;55082:20::-;;;:::i;59351:162::-;;;;;;:::i;:::-;;:::i;55923:27::-;;;:::i;70084:241::-;;;;;;:::i;:::-;;:::i;55302:22::-;;;:::i;57747:401::-;;;;;;:::i;:::-;;:::i;64141:985::-;;;;;;:::i;:::-;;:::i;70337:107::-;;;;;;:::i;:::-;;:::i;6407:111::-;;;;;;:::i;:::-;;:::i;70808:223::-;;;;;;:::i;:::-;;:::i;56024:33::-;;;:::i;58745:95::-;;;:::i;55249:25::-;;;:::i;67300:1249::-;67380:21;67404:8;67413:1;67404:11;;;;;;;;;;;;;;;;67462:10;67450:23;;:11;:23;;;:11;:23;;67404:11;;;;;;-1:-1:-1;67450:23:0;67484:13;;:10;:13::i;:::-;67512:11;;:15;67508:534;;67544:15;67562:67;67613:4;:15;;;67562:46;67603:4;67562:36;67578:4;:19;;;67562:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46::i;:::-;:50;;:67::i;:::-;67544:85;-1:-1:-1;67647:11:0;;67644:387;;67682:38;67701:4;:18;;;67682;:38::i;:::-;67679:337;;;67744:15;67762:41;67774:10;67786:7;67762:41;;;;;;;;;;;;;-1:-1:-1;;;67762:41:0;;;:11;:41::i;:::-;67744:59;;67829:14;67826:86;;;67881:7;67871:17;;67826:86;67679:337;;;;67970:7;;67958:38;;;;;;;;;;;;-1:-1:-1;;;67958:38:0;;;;;;-1:-1:-1;;;;;67970:7:0;;67979;;67958:11;:38::i;:::-;;67679:337;67508:534;;68055:11;;68052:325;;68083:12;;:74;;-1:-1:-1;;;;;68083:12:0;68121:10;68142:4;68149:7;68083:29;:74::i;:::-;68186:11;;:24;;68202:7;68186:15;:24::i;:::-;68172:38;;68246:15;68225:18;;;:36;68298:12;68276:19;;;:34;68340:12;;:25;;68357:7;68340:16;:25::i;:::-;68325:12;:40;68052:325;68421:19;;;;68405:11;;:46;;68446:4;;68405:36;;:15;:36::i;:46::-;68387:15;;;:64;68462:6;;:32;;-1:-1:-1;;;68462:32:0;;-1:-1:-1;;;;;68462:6:0;;;;:11;;:32;;68474:10;;68486:7;;68462:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68530:1;68518:10;-1:-1:-1;;;;;68510:31:0;;68533:7;68510:31;;;;;;:::i;:::-;;;;;;;;67300:1249;;;;:::o;59244:95::-;59316:8;:15;59244:95;:::o;59525:146::-;59650:12;;59591:4;;59615:31;:15;59635:10;59615:19;:31::i;:::-;:47;;;59525:146;-1:-1:-1;;59525:146:0:o;68557:973::-;68616:21;68640:8;68649:1;68640:11;;;;;;;;;;;;;;;;68698:10;68686:23;;:11;:23;;;:11;:23;;;68728:11;;68640;;;;;;;;-1:-1:-1;68728:22:0;-1:-1:-1;68728:22:0;68720:53;;;;-1:-1:-1;;;68720:53:0;;;;;;;:::i;:::-;;;;;;;;;68784:13;68795:1;68784:10;:13::i;:::-;68808:15;68826:67;68877:4;:15;;;68826:46;68867:4;68826:36;68842:4;:19;;;68826:4;:11;;;:15;;:36;;;;:::i;:67::-;68808:85;-1:-1:-1;68907:11:0;;68904:237;;68938:38;68957:4;:18;;;68938;:38::i;:::-;68935:195;;;68996:41;69008:10;69020:7;68996:41;;;;;;;;;;;;;-1:-1:-1;;;68996:41:0;;;:11;:41::i;:::-;;68935:195;;;69088:7;;69076:38;;;;;;;;;;;;-1:-1:-1;;;69076:38:0;;;;;;-1:-1:-1;;;;;69088:7:0;;69097;;69076:11;:38::i;:::-;;68935:195;69154:11;;69151:206;;69196:11;;:24;;69212:7;69196:15;:24::i;:::-;69182:38;;69235:12;;:55;;-1:-1:-1;;;;;69235:12:0;69269:10;69282:7;69235:25;:55::i;:::-;69320:12;;:25;;69337:7;69320:16;:25::i;:::-;69305:12;:40;69151:206;69401:19;;;;69385:11;;:46;;69426:4;;69385:36;;:15;:36::i;:46::-;69367:15;;;:64;69442:6;;:32;;-1:-1:-1;;;69442:32:0;;-1:-1:-1;;;;;69442:6:0;;;;:11;;:32;;69454:10;;69466:7;;69442:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69511:1;69499:10;-1:-1:-1;;;;;69490:32:0;;69514:7;69490:32;;;;;;:::i;55517:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55517:26:0;;;;-1:-1:-1;55517:26:0;;;:::o;55758:34::-;;;;:::o;58425:200::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;58504:7:::1;58496:4;:15;;58488:58;;;;-1:-1:-1::0;;;58488:58:0::1;;;;;;;:::i;:::-;58562:27;58572:10;;58584:4;58562:27;;;;;;;:::i;:::-;;;;;;;;58600:10;:17:::0;58425:200::o;59840:690::-;56468:12;:10;:12::i;:::-;56455:9;;-1:-1:-1;;;;;56455:9:0;;;:25;;;56447:87;;;;-1:-1:-1;;;56447:87:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59954:30:0;::::1;;::::0;;;:11:::1;:30;::::0;;;;;::::1;;59953:31;59945:67;;;;-1:-1:-1::0;;;59945:67:0::1;;;;;;;:::i;:::-;60027:11;60023:61;;;60055:17;:15;:17::i;:::-;60094:23;60135:10;;60120:12;:25;:53;;60163:10;;60120:53;;;60148:12;60120:53;60202:15;::::0;60094:79;;-1:-1:-1;60202:32:0::1;::::0;60222:11;60202:19:::1;:32::i;:::-;60184:15;:50:::0;60273:190:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;60273:190:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;;;;;;;-1:-1:-1;60273:190:0;;;;;;60245:8:::1;:229:::0;;::::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;60245:229:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;60485:30;;:11:::1;:30:::0;;;;;;;:37;;-1:-1:-1;;60485:37:0::1;::::0;;::::1;::::0;;-1:-1:-1;59840:690:0:o;55151:44::-;55188:7;55151:44;:::o;55033:19::-;;;-1:-1:-1;;;;;55033:19:0;;:::o;56227:47::-;;;;;;;;;;;;-1:-1:-1;;;;;56227:47:0;;:::o;56375:27::-;;;-1:-1:-1;;;;;56375:27:0;;:::o;58852:186::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;58930:38:::1;58945:11;;58958:9;58930:38;;;;;;;:::i;:::-;;;;;;;;58979:17;:15;:17::i;:::-;59007:11;:23:::0;58852:186::o;66414:878::-;56634:8;:17;66490:4;;56627:24;;56618:58;;;;-1:-1:-1;;;56618:58:0;;;;;;;:::i;:::-;66518:9;66509:48:::1;;;;-1:-1:-1::0;;;66509:48:0::1;;;;;;;:::i;:::-;66570:21;66594:8;66603:4;66594:14;;;;;;;;;::::0;;;::::1;::::0;;;66643;;;:8:::1;:14:::0;;;;;;66658:10:::1;66643:26:::0;;;;;;;66688:11;;66594:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;66688:22:0;-1:-1:-1;66688:22:0::1;66680:53;;;;-1:-1:-1::0;;;66680:53:0::1;;;;;;;:::i;:::-;66744:16;66755:4;66744:10;:16::i;:::-;66771:15;66789:67;66840:4;:15;;;66789:46;66830:4;66789:36;66805:4;:19;;;66789:4;:11;;;:15;;:36;;;;:::i;:67::-;66771:85;;66870:38;66889:4;:18;;;66870;:38::i;:::-;66867:177;;;66924:40;66936:10;66948:7;66924:40;;;;;;;;;;;;;-1:-1:-1::0;;;66924:40:0::1;;::::0;:11:::1;:40::i;:::-;;66867:177;;;67007:7;::::0;;66995:37:::1;::::0;;;;::::1;::::0;;;;;;-1:-1:-1;;;66995:37:0::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;67007:7:0;;::::1;::::0;67016;;66995:11:::1;:37::i;:::-;;66867:177;67068:11:::0;;:24:::1;::::0;67084:7;67068:15:::1;:24::i;:::-;67054:38:::0;;;67137:19:::1;::::0;::::1;::::0;67121:46:::1;::::0;67162:4:::1;::::0;67121:36:::1;::::0;67054:38;67121:15:::1;:36::i;:46::-;67103:15;::::0;::::1;:64:::0;67178:12;;:55:::1;::::0;-1:-1:-1;;;;;67178:12:0::1;67212:10;67225:7:::0;67178:25:::1;:55::i;:::-;67270:4;67258:10;-1:-1:-1::0;;;;;67249:35:0::1;;67276:7;67249:35;;;;;;:::i;:::-;;;;;;;;56688:1;;;66414:878:::0;;;:::o;55848:25::-;;;;:::o;61434:869::-;56634:8;:17;61530:7;;61510:4;;56627:24;;56618:58;;;;-1:-1:-1;;;56618:58:0;;;;;;;:::i;:::-;61550:21:::1;61574:8;61583:4;61574:14;;;;;;;;;::::0;;;::::1;::::0;;;61623;;;:8:::1;:14:::0;;;;;;-1:-1:-1;;;;;61623:21:0;;::::1;::::0;;;;;;;61574:14:::1;::::0;;::::1;::::0;;::::1;61680:19;::::0;::::1;::::0;61729:12;;:37;;-1:-1:-1;;;61729:37:0;;61574:14;;-1:-1:-1;61623:21:0;;61680:19;;61574:14;;61729:12;;;::::1;::::0;:22:::1;::::0;:37:::1;::::0;61760:4:::1;::::0;61729:37:::1;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61710:56:::0;-1:-1:-1;61781:9:0;61777:64:::1;;-1:-1:-1::0;61817:12:0::1;::::0;61777:64:::1;61870:4;:20;;;61855:12;:35;:52;;;;-1:-1:-1::0;61894:13:0;;::::1;61855:52;61851:350;;;61924:18;61945:49;61959:4;:20;;;61981:12;61945:13;:49::i;:::-;61924:70;;62009:17;62029:75;62088:15;;62029:54;62067:4;:15;;;62029:33;62044:17;:15;:17::i;:::-;62029:10:::0;;:14:::1;:33::i;:::-;:37:::0;::::1;:54::i;:75::-;62009:95:::0;-1:-1:-1;62136:53:0::1;62155:33;62179:8:::0;62155:19:::1;62009:95:::0;62169:4:::1;62155:13;:19::i;:33::-;62136:14:::0;;:18:::1;:53::i;:::-;62119:70;;61851:350;;;62218:77;62232:62;62278:4;:15;;;62232:41;62268:4;62232:31;62248:14;62232:4;:11;;;:15;;:31;;;;:::i;:62::-;62218:13;:77::i;:::-;62211:84:::0;61434:869;-1:-1:-1;;;;;;;;61434:869:0:o;55984:33::-;;;;:::o;70456:110::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;70527:6:::1;::::0;:31:::1;::::0;-1:-1:-1;;;70527:31:0;;-1:-1:-1;;;;;70527:6:0;;::::1;::::0;:24:::1;::::0;:31:::1;::::0;70552:5;;70527:31:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;70456:110:::0;:::o;62642:975::-;56634:8;:17;62701:4;;56627:24;;56618:58;;;;-1:-1:-1;;;56618:58:0;;;;;;;:::i;:::-;62718:21:::1;62742:8;62751:4;62742:14;;;;;;;;;;;;;;;;;;62718:38;;62787:4;:20;;;62771:12;:36;62767:75;;62824:7;;;62767:75;62871:12:::0;;:37:::1;::::0;-1:-1:-1;;;62871:37:0;;62852:16:::1;::::0;-1:-1:-1;;;;;62871:12:0::1;::::0;:22:::1;::::0;:37:::1;::::0;62902:4:::1;::::0;62871:37:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62852:56:::0;-1:-1:-1;62923:9:0;62919:64:::1;;-1:-1:-1::0;62959:12:0::1;::::0;62919:64:::1;62997:13:::0;62993:102:::1;;-1:-1:-1::0;63050:12:0::1;63027:20;::::0;;::::1;:35:::0;63077:7:::1;;62993:102;63115:18;63136:49;63150:4;:20;;;63172:12;63136:13;:49::i;:::-;63115:70;;63196:17;63216:75;63275:15;;63216:54;63254:4;:15;;;63216:33;63231:17;:15;:17::i;63216:75::-;63196:95;;63302:14;63319:41;55188:7;63319:25;63333:10;;63319:9;:13;;:25;;;;:::i;:41::-;63381:3;::::0;63398:6:::1;::::0;63381:36:::1;::::0;-1:-1:-1;;;63381:36:0;;63302:58;;-1:-1:-1;;;;;;63381:3:0;;::::1;::::0;:8:::1;::::0;:36:::1;::::0;63398:6:::1;::::0;63407:9;;63381:36:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;63428:3:0::1;::::0;63445:7:::1;::::0;;63428:34:::1;::::0;-1:-1:-1;;;63428:34:0;;-1:-1:-1;;;;;63428:3:0;;::::1;::::0;-1:-1:-1;63428:8:0::1;::::0;-1:-1:-1;63428:34:0::1;::::0;63445:7;;::::1;::::0;63455:6;;63428:34:::1;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;63505:58;63529:33;63553:8;63529:19;63543:4;63529:9;:13;;:19;;;;:::i;:33::-;63505:19;::::0;::::1;::::0;;:23:::1;:58::i;:::-;63483:19;::::0;::::1;:80:::0;-1:-1:-1;;63597:12:0::1;63574:20;::::0;;::::1;:35:::0;;;;-1:-1:-1;;56688:1:0::1;62642:975:::0;;:::o;69538:411::-;56634:8;:17;69606:4;;56627:24;;56618:58;;;;-1:-1:-1;;;56618:58:0;;;;;;;:::i;:::-;69623:21:::1;69647:8;69656:4;69647:14;;;;;;;;;::::0;;;::::1;::::0;;;69696;;;:8:::1;:14:::0;;;;;;69711:10:::1;69696:26:::0;;;;;;;69750:11;;69772:15;;;-1:-1:-1;69798:15:0;::::1;:19:::0;;;;69647:14:::1;::::0;;::::1;;69828:12:::0;;69647:14;;-1:-1:-1;69696:26:0;;69750:11;69828:54:::1;::::0;-1:-1:-1;;;;;69828:12:0;;;::::1;::::0;69750:11;69828:25:::1;:54::i;:::-;69928:4;69916:10;-1:-1:-1::0;;;;;69898:43:0::1;;69934:6;69898:43;;;;;;:::i;:::-;;;;;;;;56688:1;;;69538:411:::0;;:::o;59046:190::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;59133:49:::1;59147:16;;59165;59133:49;;;;;;;:::i;:::-;;;;;;;;59193:16;:35:::0;59046:190::o;62386:180::-;62448:8;:15;62431:14;62474:85;62502:6;62496:3;:12;62474:85;;;62532:15;62543:3;62532:10;:15::i;:::-;62510:5;;62474:85;;60625:335;56468:12;:10;:12::i;:::-;56455:9;;-1:-1:-1;;;;;56455:9:0;;;:25;;;56447:87;;;;-1:-1:-1;;;56447:87:0;;;;;;;:::i;:::-;56634:8:::1;:17:::0;60733:4;;56627:24;::::1;56618:58;;;;-1:-1:-1::0;;;56618:58:0::1;;;;;;;:::i;:::-;60754:11:::2;60750:61;;;60782:17;:15;:17::i;:::-;60839:63;60890:11;60839:46;60859:8;60868:4;60859:14;;;;;;;;;;;;;;;;;;:25;;;60839:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::2;:63::i;:::-;60821:15;:81;;;;60941:11;60913:8;60922:4;60913:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;56545:1:::1;60625:335:::0;;;:::o;56177:43::-;;;;;;;;;;;;;;;:::o;6110:142::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;6211:1:::1;6195:6:::0;;6174:40:::1;::::0;-1:-1:-1;;;;;6195:6:0;;::::1;::::0;6174:40:::1;::::0;6211:1;;6174:40:::1;6242:1;6225:19:::0;;-1:-1:-1;;;;;;6225:19:0::1;::::0;;6110:142::o;70578:218::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;70649:21:0;::::1;70641:82;;;;-1:-1:-1::0;;;70641:82:0::1;;;;;;;:::i;:::-;70739:26;::::0;-1:-1:-1;;;;;70739:26:0;::::1;::::0;::::1;::::0;;;::::1;70776:3;:12:::0;;-1:-1:-1;;;;;;70776:12:0::1;-1:-1:-1::0;;;;;70776:12:0;;;::::1;::::0;;;::::1;::::0;;70578:218::o;63808:265::-;-1:-1:-1;;;;;63922:25:0;63870:7;63922:25;;;:14;:25;;;;;;;;;63982:15;:26;;;;;;;63922:25;;63808:265::o;56344:24::-;;;-1:-1:-1;;;;;56344:24:0;;:::o;55369:26::-;;;;:::o;55448:35::-;;;;:::o;5468:79::-;5506:7;5533:6;-1:-1:-1;;;;;5533:6:0;5468:79;:::o;61036:144::-;61155:16;;61108:7;;61136:36;;:14;:3;61144:5;61136:7;:14::i;:36::-;61129:43;;61036:144;;;;;:::o;56064:49::-;;;;;;;;;;;;;:::o;63629:167::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;63709:43:::1;63727:14;;63743:8;63709:43;;;;;;;:::i;:::-;;;;;;;;63763:14;:25:::0;63629:167::o;56120:50::-;;;;;;;;;;;;;:::o;55599:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;58160:253::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58240:24:0;::::1;58232:89;;;;-1:-1:-1::0;;;58232:89:0::1;;;;;;;:::i;:::-;58350:9;::::0;58337:35:::1;::::0;-1:-1:-1;;;;;58337:35:0;;::::1;::::0;58350:9:::1;::::0;58337:35:::1;::::0;58350:9:::1;::::0;58337:35:::1;58383:9;:22:::0;;-1:-1:-1;;;;;;58383:22:0::1;-1:-1:-1::0;;;;;58383:22:0;;;::::1;::::0;;;::::1;::::0;;58160:253::o;56281:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56281:50:0;;-1:-1:-1;56281:50:0;;-1:-1:-1;56281:50:0:o;55082:20::-;;;-1:-1:-1;;;;;55082:20:0;;:::o;59351:162::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;59427:40:::1;59440:12;;59454;59427:40;;;;;;;:::i;:::-;;;;;;;;59478:12;:27:::0;59351:162::o;55923:27::-;;;;:::o;70084:241::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;70163:22:0;::::1;70155:85;;;;-1:-1:-1::0;;;70155:85:0::1;;;;;;;:::i;:::-;70270:7;::::0;70256:32:::1;::::0;-1:-1:-1;;;;;70256:32:0;;::::1;::::0;70270:7:::1;::::0;70256:32:::1;::::0;70270:7:::1;::::0;70256:32:::1;70299:7;:18:::0;;-1:-1:-1;;;;;;70299:18:0::1;-1:-1:-1::0;;;;;70299:18:0;;;::::1;::::0;;;::::1;::::0;;70084:241::o;55302:22::-;;;-1:-1:-1;;;;;55302:22:0;;:::o;57747:401::-;57829:10;57852:1;57816:24;;;:12;:24;;;;;;-1:-1:-1;;;;;57816:24:0;:38;57808:83;;;;-1:-1:-1;;;57808:83:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57910:23:0;;57902:65;;;;-1:-1:-1;;;57902:65:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57986:23:0;;57999:10;57986:23;;57978:63;;;;-1:-1:-1;;;57978:63:0;;;;;;;:::i;:::-;58065:10;58052:24;;;;:12;:24;;;;;;;;:36;;-1:-1:-1;;;;;58052:36:0;;;-1:-1:-1;;;;;;58052:36:0;;;;;;;;58099:24;;:13;:24;;;;:41;;58052:36;58099:41;;;;;;;;;;;;;;;;;;57747:401::o;64141:985::-;56634:8;:17;64216:4;;56627:24;;56618:58;;;;-1:-1:-1;;;56618:58:0;;;;;;;:::i;:::-;64242:9;64233:45:::1;;;;-1:-1:-1::0;;;64233:45:0::1;;;;;;;:::i;:::-;64291:21;64315:8;64324:4;64315:14;;;;;;;;;::::0;;;::::1;::::0;;;64364;;;:8:::1;:14:::0;;;;;;64379:10:::1;64364:26:::0;;;;;;;64315:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;64401:16:0::1;64373:4:::0;64401:10:::1;:16::i;:::-;64432:11:::0;;:15;64428:340:::1;;64464:15;64482:67;64533:4;:15;;;64482:46;64523:4;64482:36;64498:4;:19;;;64482:4;:11;;;:15;;:36;;;;:::i;:67::-;64464:85;;64567:38;64586:4;:18;;;64567;:38::i;:::-;64564:193;;;64625:40;64637:10;64649:7;64625:40;;;;;;;;;;;;;-1:-1:-1::0;;;64625:40:0::1;;::::0;:11:::1;:40::i;:::-;;64564:193;;;64716:7;::::0;;64704:37:::1;::::0;;;;::::1;::::0;;;;;;-1:-1:-1;;;64704:37:0::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;64716:7:0;;::::1;::::0;64725;;64704:11:::1;:37::i;:::-;;64564:193;64428:340;;64778:12:::0;;:74:::1;::::0;-1:-1:-1;;;;;64778:12:0::1;64816:10;64837:4;64844:7:::0;64778:29:::1;:74::i;:::-;64877:11:::0;;:24:::1;::::0;64893:7;64877:15:::1;:24::i;:::-;64863:38:::0;;;64933:15:::1;64912:18;::::0;::::1;:36:::0;64981:12:::1;64959:19;::::0;;::::1;:34:::0;;;;65038:19;::::1;::::0;65022:46:::1;::::0;65063:4:::1;::::0;65022:36:::1;::::0;64863:38;65022:15:::1;:36::i;:46::-;65004:15;::::0;::::1;:64:::0;65084:34:::1;::::0;65104:4;;65092:10:::1;::::0;65084:34:::1;::::0;::::1;::::0;65110:7;;65084:34:::1;:::i;70337:107::-:0;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;70408:3:::1;::::0;:28:::1;::::0;-1:-1:-1;;;70408:28:0;;-1:-1:-1;;;;;70408:3:0;;::::1;::::0;:21:::1;::::0;:28:::1;::::0;70430:5;;70408:28:::1;;;:::i;6407:111::-:0;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;6482:28:::1;6501:8;6482:18;:28::i;:::-;6407:111:::0;:::o;70808:223::-;5690:12;:10;:12::i;:::-;5680:6;;-1:-1:-1;;;;;5680:6:0;;;:22;;;5672:67;;;;-1:-1:-1;;;5672:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;70880:19:0;::::1;70872:80;;;;-1:-1:-1::0;;;70872:80:0::1;;;;;;;:::i;:::-;70968:29;::::0;-1:-1:-1;;;;;70968:29:0;::::1;::::0;::::1;::::0;;;::::1;71008:6;:15:::0;;-1:-1:-1;;;;;;71008:15:0::1;-1:-1:-1::0;;;;;71008:15:0;;;::::1;::::0;;;::::1;::::0;;70808:223::o;56024:33::-;;;;:::o;58745:95::-;58821:11;;58745:95;:::o;55249:25::-;;;;:::o;11656:471::-;11714:7;11959:6;11955:47;;-1:-1:-1;11989:1:0;11982:8;;11955:47;12026:5;;;12030:1;12026;:5;:1;12050:5;;;;;:10;12042:56;;;;-1:-1:-1;;;12042:56:0;;;;;;;:::i;12603:132::-;12661:7;12688:39;12692:1;12695;12688:39;;;;;;;;;;;;;;;;;:3;:39::i;10732:136::-;10790:7;10817:43;10821:1;10824;10817:43;;;;;;;;;;;;;;;;;:3;:43::i;65333:1073::-;-1:-1:-1;;;;;65465:20:0;;;65426:7;65465:20;;;:12;:20;;;;;;65529:14;;65426:7;;65465:20;;65426:7;;65517:36;;65549:3;;65517:27;;:7;;:11;:27::i;:36::-;65496:57;-1:-1:-1;65564:22:0;65589:23;:7;65496:57;65589:11;:23::i;:::-;65564:48;;65623:39;65639:6;65647:14;65623:15;:39::i;:::-;-1:-1:-1;;;;;65676:22:0;;;65673:694;;65714:37;65730:8;65740:10;65714:15;:37::i;:::-;65769:29;;;;;;;;;;;;;;-1:-1:-1;;;65769:29:0;;;65792:5;65769:14;:29::i;:::-;65766:244;;;-1:-1:-1;;;;;65845:24:0;;;;;;:14;:24;;;;;;:40;;65874:10;65845:28;:40::i;:::-;-1:-1:-1;;;;;65818:24:0;;;;;;:14;:24;;;;;:67;65766:244;;;-1:-1:-1;;;;;65953:25:0;;;;;;:15;:25;;;;;;:41;;65983:10;65953:29;:41::i;:::-;-1:-1:-1;;;;;65925:25:0;;;;;;:15;:25;;;;;:69;65766:244;65673:694;;;66056:12;;66040:41;;-1:-1:-1;;;;;66056:12:0;66070:10;66040:15;:41::i;:::-;66099:29;;;;;;;;;;;;;;-1:-1:-1;;;66099:29:0;;;66122:5;66099:14;:29::i;:::-;66096:260;;;66194:12;;-1:-1:-1;;;;;66194:12:0;66179:28;;;;:14;:28;;;;;;:44;;66212:10;66179:32;:44::i;:::-;66163:12;;-1:-1:-1;;;;;66163:12:0;66148:28;;;;:14;:28;;;;;:75;66096:260;;;66311:12;;-1:-1:-1;;;;;66311:12:0;66295:29;;;;:15;:29;;;;;;:45;;66329:10;66295:33;:45::i;:::-;66279:12;;-1:-1:-1;;;;;66279:12:0;66263:29;;;;:15;:29;;;;;:77;66096:260;66384:14;65333:1073;-1:-1:-1;;;;;;65333:1073:0:o;1324:248::-;1468:96;1488:5;1518:27;;;1547:4;1553:2;1557:5;1495:68;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1495:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1468:19;:96::i;:::-;1324:248;;;;:::o;10268:181::-;10326:7;10358:5;;;10382:6;;;;10374:46;;;;-1:-1:-1;;;10374:46:0;;;;;;;:::i;1105:211::-;1222:86;1242:5;1272:23;;;1297:2;1301:5;1249:58;;;;;;;;;:::i;1222:86::-;1105:211;;;:::o;4632:98::-;4712:10;4632:98;:::o;61228:145::-;61290:7;61316:49;61328:36;61360:3;61328:27;61340:14;;61328:7;:11;;:27;;;;:::i;:36::-;61316:7;;:11;:49::i;6624:229::-;-1:-1:-1;;;;;6698:22:0;;6690:73;;;;-1:-1:-1;;;6690:73:0;;;;;;;:::i;:::-;6800:6;;;6779:38;;-1:-1:-1;;;;;6779:38:0;;;;6800:6;;;6779:38;;;6828:6;:17;;-1:-1:-1;;;;;;6828:17:0;-1:-1:-1;;;;;6828:17:0;;;;;;;;;;6624:229::o;13231:312::-;13351:7;13386:12;13379:5;13371:28;;;;-1:-1:-1;;;13371:28:0;;;;;;;;:::i;:::-;;13410:9;13426:1;13422;:5;;;;;;;13231:312;-1:-1:-1;;;;;13231:312:0:o;11171:226::-;11291:7;11327:12;11319:6;;;;11311:29;;;;-1:-1:-1;;;11311:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;11363:5:0;;;11171:226::o;69957:119::-;70032:6;;:36;;;;;-1:-1:-1;;;;;70032:6:0;;;;:22;;:36;;70055:3;;70060:7;;70032:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69957:119;;:::o;65138:183::-;65219:4;65308:1;65290:21;;;;;;;;:::i;:::-;;;;;;;;;;;;;65280:32;;;;;;65272:1;65254:21;;;;;;;;:::i;:::-;;;;;;;;;;;;;65244:32;;;;;;:68;65236:77;;65138:183;;;;:::o;3640:774::-;4064:23;4090:69;4118:4;4090:69;;;;;;;;;;;;;;;;;4098:5;-1:-1:-1;;;;;4090:27:0;;;:69;;;;;:::i;:::-;4174:17;;4064:95;;-1:-1:-1;4174:21:0;4170:237;;4329:10;4318:30;;;;;;;;;;;;:::i;:::-;4310:85;;;;-1:-1:-1;;;4310:85:0;;;;;;;:::i;19118:230::-;19255:12;19287:53;19310:6;19318:4;19324:1;19327:12;19287:22;:53::i;:::-;19280:60;19118:230;-1:-1:-1;;;;19118:230:0:o;20606:1020::-;20779:12;20812:18;20823:6;20812:10;:18::i;:::-;20804:60;;;;-1:-1:-1;;;20804:60:0;;;;;;;:::i;:::-;20938:12;20952:23;20979:6;-1:-1:-1;;;;;20979:11:0;20998:8;21008:4;20979:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20937:76;;;;21028:7;21024:595;;;21059:10;-1:-1:-1;21052:17:0;;-1:-1:-1;21052:17:0;21024:595;21173:17;;:21;21169:439;;21436:10;21430:17;21497:15;21484:10;21480:2;21476:19;21469:44;21384:148;21579:12;21572:20;;-1:-1:-1;;;21572:20:0;;;;;;;;:::i;15981:641::-;16041:4;16522:20;;16352:66;16571:23;;;;;;:42;;-1:-1:-1;;16598:15:0;;;16563:51;-1:-1:-1;;15981:641:0:o;1189:241:-1:-;;1293:2;1281:9;1272:7;1268:23;1264:32;1261:2;;;-1:-1;;1299:12;1261:2;85:6;72:20;97:33;124:5;97:33;:::i;1437:366::-;;;1558:2;1546:9;1537:7;1533:23;1529:32;1526:2;;;-1:-1;;1564:12;1526:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1616:63;1716:2;1755:22;;;;978:20;;-1:-1;;;1520:283::o;1810:257::-;;1922:2;1910:9;1901:7;1897:23;1893:32;1890:2;;;-1:-1;;1928:12;1890:2;354:6;348:13;366:30;390:5;366:30;:::i;2634:241::-;;2738:2;2726:9;2717:7;2713:23;2709:32;2706:2;;;-1:-1;;2744:12;2706:2;-1:-1;978:20;;2700:175;-1:-1;2700:175::o;2882:263::-;;2997:2;2985:9;2976:7;2972:23;2968:32;2965:2;;;-1:-1;;3003:12;2965:2;-1:-1;1126:13;;2959:186;-1:-1;2959:186::o;3152:366::-;;;3273:2;3261:9;3252:7;3248:23;3244:32;3241:2;;;-1:-1;;3279:12;3241:2;991:6;978:20;3331:63;;3431:2;3474:9;3470:22;72:20;97:33;124:5;97:33;:::i;:::-;3439:63;;;;3235:283;;;;;:::o;3525:360::-;;;3643:2;3631:9;3622:7;3618:23;3614:32;3611:2;;;-1:-1;;3649:12;3611:2;991:6;978:20;3701:63;;3801:2;3841:9;3837:22;206:20;231:30;255:5;231:30;:::i;3892:513::-;;;;4041:2;4029:9;4020:7;4016:23;4012:32;4009:2;;;-1:-1;;4047:12;4009:2;991:6;978:20;4099:63;;4199:2;4256:9;4252:22;656:20;681:47;722:5;681:47;:::i;:::-;4207:77;-1:-1;4321:2;4357:22;;206:20;231:30;206:20;231:30;:::i;:::-;4329:60;;;;4003:402;;;;;:::o;4412:366::-;;;4533:2;4521:9;4512:7;4508:23;4504:32;4501:2;;;-1:-1;;4539:12;4501:2;-1:-1;;978:20;;;4691:2;4730:22;;;978:20;;-1:-1;4495:283::o;4785:485::-;;;;4920:2;4908:9;4899:7;4895:23;4891:32;4888:2;;;-1:-1;;4926:12;4888:2;991:6;978:20;4978:63;;5078:2;5121:9;5117:22;978:20;5086:63;;5186:2;5226:9;5222:22;206:20;231:30;255:5;231:30;:::i;14107:271::-;;5817:5;26946:12;5928:52;5973:6;5968:3;5961:4;5954:5;5950:16;5928:52;:::i;:::-;5992:16;;;;;14241:137;-1:-1;;14241:137::o;14667:222::-;-1:-1;;;;;28187:54;;;;5497:37;;14794:2;14779:18;;14765:124::o;14896:349::-;-1:-1;;;;;28187:54;;;;5356:58;;15231:2;15216:18;;14058:37;15059:2;15044:18;;15030:215::o;15252:444::-;-1:-1;;;;;28187:54;;;5497:37;;28187:54;;;;15599:2;15584:18;;5497:37;15682:2;15667:18;;14058:37;;;;15435:2;15420:18;;15406:290::o;16043:210::-;27759:13;;27752:21;5611:34;;16164:2;16149:18;;16135:118::o;16519:584::-;-1:-1;;;;;28187:54;;;;6106:65;;16923:2;16908:18;;14058:37;;;;17006:2;16991:18;;14058:37;17089:2;17074:18;;14058:37;16744:3;16729:19;;16715:388::o;17373:310::-;;17520:2;17541:17;17534:47;6656:5;26946:12;27385:6;17520:2;17509:9;17505:18;27373:19;6750:52;6795:6;27413:14;17509:9;27413:14;17520:2;6776:5;6772:16;6750:52;:::i;:::-;29939:7;29923:14;-1:-1;;29919:28;6814:39;;;;27413:14;6814:39;;17491:192;-1:-1;;17491:192::o;17690:416::-;17890:2;17904:47;;;7457:2;17875:18;;;27373:19;7493:31;27413:14;;;7473:52;7544:12;;;17861:245::o;18113:416::-;18313:2;18327:47;;;7795:2;18298:18;;;27373:19;7831:34;27413:14;;;7811:55;7900:19;7886:12;;;7879:41;7939:12;;;18284:245::o;18536:416::-;18736:2;18750:47;;;8190:2;18721:18;;;27373:19;8226:34;27413:14;;;8206:55;8295:12;8281;;;8274:34;8327:12;;;18707:245::o;18959:416::-;19159:2;19173:47;;;8578:2;19144:18;;;27373:19;8614:34;27413:14;;;8594:55;8683:8;8669:12;;;8662:30;8711:12;;;19130:245::o;19382:416::-;19582:2;19596:47;;;8962:2;19567:18;;;27373:19;8998:29;27413:14;;;8978:50;9047:12;;;19553:245::o;19805:416::-;20005:2;20019:47;;;9298:2;19990:18;;;27373:19;9334:21;27413:14;;;9314:42;9375:12;;;19976:245::o;20228:416::-;20428:2;20442:47;;;9626:2;20413:18;;;27373:19;9662:34;27413:14;;;9642:55;-1:-1;;;9717:12;;;9710:25;9754:12;;;20399:245::o;20651:416::-;20851:2;20865:47;;;20836:18;;;27373:19;10041:34;27413:14;;;10021:55;10095:12;;;20822:245::o;21074:416::-;21274:2;21288:47;;;10346:2;21259:18;;;27373:19;10382:34;27413:14;;;10362:55;10451:18;10437:12;;;10430:40;10489:12;;;21245:245::o;21497:416::-;21697:2;21711:47;;;10740:2;21682:18;;;27373:19;10776:29;27413:14;;;10756:50;10825:12;;;21668:245::o;21920:416::-;22120:2;22134:47;;;11076:2;22105:18;;;27373:19;11112:24;27413:14;;;11092:45;11156:12;;;22091:245::o;22343:416::-;22543:2;22557:47;;;11407:2;22528:18;;;27373:19;11443:31;27413:14;;;11423:52;11494:12;;;22514:245::o;22766:416::-;22966:2;22980:47;;;11745:2;22951:18;;;27373:19;11781:34;27413:14;;;11761:55;11850:22;11836:12;;;11829:44;11892:12;;;22937:245::o;23189:416::-;23389:2;23403:47;;;12143:2;23374:18;;;27373:19;12179:20;27413:14;;;12159:41;12219:12;;;23360:245::o;23612:416::-;23812:2;23826:47;;;12470:2;23797:18;;;27373:19;12506:32;27413:14;;;12486:53;12558:12;;;23783:245::o;24035:416::-;24235:2;24249:47;;;12809:2;24220:18;;;27373:19;12845:27;27413:14;;;12825:48;12892:12;;;24206:245::o;24458:416::-;24658:2;24672:47;;;13143:2;24643:18;;;27373:19;13179:34;27413:14;;;13159:55;13248:20;13234:12;;;13227:42;13288:12;;;24629:245::o;24881:416::-;25081:2;25095:47;;;25066:18;;;27373:19;13575:34;27413:14;;;13555:55;13629:12;;;25052:245::o;25304:416::-;25504:2;25518:47;;;13880:2;25489:18;;;27373:19;13916:25;27413:14;;;13896:46;13961:12;;;25475:245::o;25727:222::-;14058:37;;;25854:2;25839:18;;25825:124::o;25956:333::-;14058:37;;;26275:2;26260:18;;14058:37;26111:2;26096:18;;26082:207::o;26296:556::-;14058:37;;;26672:2;26657:18;;14058:37;;;;26755:2;26740:18;;14058:37;26838:2;26823:18;;14058:37;26507:3;26492:19;;26478:374::o;29579:268::-;29644:1;29651:101;29665:6;29662:1;29659:13;29651:101;;;29732:11;;;29726:18;29713:11;;;29706:39;29687:2;29680:10;29651:101;;;29767:6;29764:1;29761:13;29758:2;;;-1:-1;;29644:1;29814:16;;29807:27;29628:219::o;29960:117::-;-1:-1;;;;;30047:5;28187:54;30022:5;30019:35;30009:2;;30068:1;;30058:12;30084:111;30165:5;27759:13;27752:21;30143:5;30140:32;30130:2;;30186:1;;30176:12

Swarm Source

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