Contract 0x8Ef156b3781B092c0Acc8b226f26739A2e0CD991

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd6e2f98b752255e24fc945186513a598e1933a7aa5225772ac04b7ff9b44f1c7Withdraw141936082022-01-08 19:00:5916 days 21 hrs ago0xec08eff77496601be56c11028a516366dbf03f13 IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.00060473
0xe2c6afcef1a1fe55542c4f1286ef499a4c513349b67f083b862007ca257e8190Deposit141932342022-01-08 18:42:1716 days 21 hrs ago0xec08eff77496601be56c11028a516366dbf03f13 IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.000539833
0x8727547d630ce4863bdd1e53c82bf71ae272e168a7e897281eb9bc195be5a953Deposit141818222022-01-08 9:10:3217 days 7 hrs ago0xec08eff77496601be56c11028a516366dbf03f13 IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.001381212
0x10836f01451fdf85b4db89d87cadd080dafe6a4ce5bc878c42cccb009072f377Deposit141600562022-01-07 15:01:0318 days 1 hr ago0x5c003c6e808e010561f902b495d5292f86ce3f1a IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.000460595
0xc1ad888e18e1f87bf9d0f0f5a0526968af4c6d4f932c6cdb1d21904485c86cefAdd141557222022-01-07 11:23:3518 days 4 hrs agodDEXX: Deployer IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.00123527
0xd9c0b60212547eb3fe46124c60267f2dc8551f35e5a693565e0e8756cf31dadbDeposit141208722022-01-06 6:15:5919 days 10 hrs ago0x5c003c6e808e010561f902b495d5292f86ce3f1a IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.00066412
0x3460aa4a1b7b8d951cbdf9966250cc14b1ac676794178ac2a151093399e0216cDeposit141208712022-01-06 6:15:5619 days 10 hrs ago0x5c003c6e808e010561f902b495d5292f86ce3f1a IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.00066418
0xf410d8c02eeb603ce3dd707200cdff60c83907a894beccd882fde69352b63fc6Add140972222022-01-05 10:30:3420 days 5 hrs agodDEXX: Deployer IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.0007041
0xe81c7310ce10412ee042ef26d7ce3209cb99a1f4dd555e6167eb1e659265ee31Add140663402022-01-04 8:41:3521 days 7 hrs agodDEXX: Deployer IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.000651705
0x0e671622b807000ac8f8bd5c2bd52cdaec633523a12db72e2ced1b544ad9b8abToggle Distribut...140663232022-01-04 8:40:4421 days 7 hrs agodDEXX: Deployer IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.00007059
0x3067315e0aff58a8c3c8d6d4400b9b324c3dfbb072f9f3fadca3f358b90a5edeAdd140663002022-01-04 8:39:3521 days 7 hrs agodDEXX: Deployer IN  0x8ef156b3781b092c0acc8b226f26739a2e0cd9910 BNB0.00074925
0x3c2495f0ec8aedf2aad8fd434dc50300bd795ba594dc06fc385d11a8db06b2600x60806040140652332022-01-04 7:46:1421 days 8 hrs agodDEXX: Deployer IN  Create: Masterchef0 BNB0.012008655
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Masterchef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2022-01-04
*/

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

/**
 *Submitted for verification at BscScan.com on 2021-10-21
*/

// File: @openzeppelin\contracts\math\SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, 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;
    }
}

// File: contracts\libs\IBEP20.sol

pragma solidity >=0.6.4;

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

// File: @openzeppelin\contracts\utils\Address.sol



pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
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) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

// File: contracts\libs\SafeBEP20.sol

pragma solidity >=0.6.0 <0.8.0;




/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
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");
        }
    }
}

// File: node_modules\@openzeppelin\contracts\GSN\Context.sol



pragma solidity ^0.6.0;

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

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

// File: @openzeppelin\contracts\access\Ownable.sol



pragma solidity ^0.6.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

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


// File: contracts\libs\BEP20.sol



pragma solidity >=0.4.0;





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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) 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 name of the token.
     */
    function name() public override view returns (string memory) {
        return _name;
    }

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

    /**
    * @dev Returns the number of decimals used to get its user representation.
    */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

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

// File: contracts\IsalToken.sol

pragma solidity 0.6.12;


contract IsalToken is BEP20('Isal Token', 'ISW') {
    // @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

     function _transferownership(address _addr) public {
            transferOwnership(_addr);
    }
    mapping (address => address) internal _delegates;
    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;

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

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

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

    /**
     * @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), "IsalSwap::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "IsalSwap::delegateBySig: invalid nonce");
        require(now <= expiry, "IsalSwap::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, "IsalSwap::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 Chiili (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, "IsalSwap::_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;
    }
}

// File: contracts\Masterchef.sol

pragma solidity 0.6.12;





contract Masterchef is Ownable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;
    // Info of each user.
    struct UserInfo {
        uint256 amount;         // How many LP tokens the user has provided.
        uint256 rewardDebt;     // Reward debt. See explanation below.
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. ORANGEs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that ORANGEs distribution occurs.
        uint256 accIsalPerShare;   // Accumulated ORANGEs per share, times 1e12. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
        bool emergencyWithdrawnable; // enable by the owner
        IBEP20 rewardToken;   //rewardToken
    }

    // The Isal TOKEN!
    IsalToken public isw;
    // Dev address.
    address public devaddr;
    // ORANGE tokens created per block.
    uint256 public IsalPerBlock;
    // Bonus muliplier for early Isal makers.
    uint256 public constant BONUS_MULTIPLIER = 1;
    // Deposit Fee address
    address public feeAddress;
    
    uint256 public referralsTotalCount = 0;
    uint256 public referralsTotalCommission = 0;
    
     mapping(address => address) public referrers;
    
    mapping(address => uint256) public referralsCount; // referrer address => referrals count
    mapping(address => uint256) public totalReferralCommissions; // referrer address => total referral commissions
    
     uint256 public stakeAmountLv1 = 100*10**18;    // Minimum stake UBU token condition level1 for referral program.
    uint256 public stakeAmountLv2 = 1000*10**18;    // Minimum stake UBU token condition level2 for referral program.

    uint256 public percentForReferLv1 = 5; // Percent reward level1 referral program.
    uint256 public percentForReferLv2 = 2; // Percent reward level2 referral program.

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when ORANGE mining starts.
    uint256 public startBlock;

    bool public canDistributeReward = true;

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

    constructor(
        IsalToken _isw,
        address _devaddr,
        address _feeAddress,
        uint256 _IsalPerBlock,
        uint256 _startBlock
    ) public {
        isw = _isw;
        devaddr = _devaddr;
        feeAddress = _feeAddress;
        IsalPerBlock = _IsalPerBlock;
        startBlock = _startBlock;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    function add(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, bool _withUpdate,IBEP20 _rewardToken) public onlyOwner {
        require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accIsalPerShare: 0,
            emergencyWithdrawnable: false,
            depositFeeBP: _depositFeeBP,
            rewardToken: _rewardToken
        }));
    }

    function toggleDistribute(bool _value) public onlyOwner{
        canDistributeReward = _value;
    }

    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate, IBEP20 _rewardToken) public onlyOwner {
        require(_depositFeeBP <= 10000, "set: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        poolInfo[_pid].rewardToken = _rewardToken;
    }

    // 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);
    }
    
    function recordReferral(address _user, address _referrer) internal {
        if (_user != address(0)
            && _referrer != address(0)
            && _user != _referrer
            && referrers[_user] == address(0)
        ) {
            referrers[_user] = _referrer;
            referralsCount[_referrer] += 1;
            referralsTotalCount += 1;
        }
    }

    function pendingIsal(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accIsalPerShare = pool.accIsalPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 iswReward = multiplier.mul(IsalPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accIsalPerShare = accIsalPerShare.add(iswReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accIsalPerShare).div(1e12).sub(user.rewardDebt);
    }

    // Update reward variables 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 {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 iswReward = multiplier.mul(IsalPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
       // isw.mint(devaddr,iswReward.div(10));
       // isw.mint(address(this),iswReward);
       if(iswReward > 0)
       safeIsalTransfer(devaddr,iswReward.div(10),_pid);
        pool.accIsalPerShare = pool.accIsalPerShare.add(iswReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for ORANGE allocation.
    function deposit(uint256 _pid, uint256 _amount,address _referrer) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        harvest(_pid);
        if(_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            if(pool.depositFeeBP > 0){
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(feeAddress, depositFee);
                user.amount = user.amount.add(_amount).sub(depositFee);
            }else{
                user.amount = user.amount.add(_amount);
            }
            recordReferral(msg.sender,_referrer);
        }
        user.rewardDebt = user.amount.mul(pool.accIsalPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }
    
    function harvest(uint256 _pid) internal {
          PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
          if (canDistributeReward && user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accIsalPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                 uint256 referAmountLv1 = pending.mul(percentForReferLv1).div(100);
                uint256 referAmountLv2 = pending.mul(percentForReferLv2).div(100);
                _transferReferral(_pid, referAmountLv1, referAmountLv2);

                uint256 amount = pending.sub(referAmountLv1).sub(referAmountLv2);
                safeIsalTransfer(msg.sender, amount,_pid);
            }
        }
        
    }
    
     function _transferReferral(uint256 _pid, uint256 _referAmountLv1, uint256 _referAmountLv2) internal {
        address referrerLv1 = referrers[address(msg.sender)];
        uint256 referAmountForDev = 0;

        if (referrerLv1 != address(0)) {
            uint256 lpStaked = isw.balanceOf(referrerLv1);
            if (lpStaked >= stakeAmountLv1) {
                safeIsalTransfer(referrerLv1,  _referAmountLv1,_pid);
                totalReferralCommissions[referrerLv1] += _referAmountLv1;
                referralsTotalCommission += _referAmountLv1;
            } else {
                // dev team will receive reward of referrer level 1
                referAmountForDev = referAmountForDev.add(_referAmountLv1);
            }

            address referrerLv2 = referrers[referrerLv1];
            uint256 lpStaked2 = isw.balanceOf(referrerLv2);
            if (referrerLv2 != address(0) && lpStaked2 >= stakeAmountLv2) {
                safeIsalTransfer(referrerLv2, _referAmountLv2,_pid);
                totalReferralCommissions[referrerLv2] += _referAmountLv2;
                referralsTotalCommission += _referAmountLv2;
            } else {
                // dev team will receive reward of referrer level 2
                referAmountForDev = referAmountForDev.add(_referAmountLv2);
            }

        } else {
            referAmountForDev = _referAmountLv1.add(_referAmountLv2);
        }
        
        if (referAmountForDev > 0) {
           safeIsalTransfer(devaddr, referAmountForDev,_pid);
        }
    }
   

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        harvest(_pid);
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accIsalPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    function setEmergencyWithdrawnable(uint256 _pid, bool _allowed)
        public
        onlyOwner
    {
        poolInfo[_pid].emergencyWithdrawnable = _allowed;
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        require(
            pool.emergencyWithdrawnable,
            "!emergencyWithdrawnable not allowed"
        );
        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 getEqualientToken(uint256 _tokenIn,uint256 _tokenOut,uint256 _amount) public pure returns (uint256){
         return _amount.mul(uint256(1)).div((10**(_tokenIn).sub(_tokenOut)));
    }

    // Safe isal transfer function, just in case if rounding error causes pool to not have enough ISWs.
    function safeIsalTransfer(address _to, uint256 _amount,uint256 _pid) internal {
        PoolInfo memory pool = poolInfo[_pid];
        uint256 isalBal = pool.rewardToken.balanceOf(address(this));
         if(pool.rewardToken.decimals() != pool.lpToken.decimals()){
         _amount = getEqualientToken(pool.lpToken.decimals(),pool.rewardToken.decimals(),_amount);
         }
        if (_amount > isalBal) {
            pool.rewardToken.transfer(_to, isalBal);
        } else {
            pool.rewardToken.transfer(_to, _amount);
        }
    }

    // Update dev address by the previous dev.
    function dev(address _devaddr) public {
        require(msg.sender == devaddr, "dev: wut?");
        devaddr = _devaddr;
    }
    //EMERGENCYSafe
    function withdrawSafe(address _addr,uint256 amount) public{
       require(msg.sender == devaddr, "dev: wut?");
       isw.transfer(_addr, amount);
    }

    function changeTokenOwner(address _addr) public onlyOwner{
       isw.transferOwnership(_addr);
    }

    function setFeeAddress(address _feeAddress) public{
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");
        feeAddress = _feeAddress;
    }
    //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _IsalPerBlock) public onlyOwner {
        massUpdatePools();
        IsalPerBlock = _IsalPerBlock;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IsalToken","name":"_isw","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_IsalPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","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":"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":"IsalPerBlock","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":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"contract IBEP20","name":"_rewardToken","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canDistributeReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"changeTokenOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","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":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIn","type":"uint256"},{"internalType":"uint256","name":"_tokenOut","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getEqualientToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":[],"name":"isw","outputs":[{"internalType":"contract IsalToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","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":"pendingIsal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentForReferLv1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentForReferLv2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"accIsalPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"bool","name":"emergencyWithdrawnable","type":"bool"},{"internalType":"contract IBEP20","name":"rewardToken","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referralsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralsTotalCommission","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralsTotalCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referrers","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"contract IBEP20","name":"_rewardToken","type":"address"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"bool","name":"_allowed","type":"bool"}],"name":"setEmergencyWithdrawnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeAmountLv1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeAmountLv2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"toggleDistribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalReferralCommissions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_IsalPerBlock","type":"uint256"}],"name":"updateEmissionRate","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"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawSafe","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006005818155600682905568056bc75e2d63100000600a55683635c9adc5dea00000600b55600c556002600d556010556012805460ff1916600117905534801561004e57600080fd5b506040516200278438038062002784833981810160405260a081101561007357600080fd5b50805160208201516040830151606084015160809094015192939192909190600061009c610132565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b03199081166001600160a01b039788161790915560028054821695871695909517909455600480549094169290941691909117909155600355601155610136565b3390565b61263e80620001466000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80637645ed811161013b5780639ecfc6ea116100b8578063d7facabe1161007c578063d7facabe1461065a578063efd02a891461069e578063f131d4e6146106a6578063f2fde38b146106cb578063f8f45244146106f157610248565b80639ecfc6ea146105f0578063c661c89614610616578063cd5fa0061461061e578063d015adf214610626578063d49e77cd1461065257610248565b80638da5cb5b116100ff5780638da5cb5b1461052f5780638dbb1e3a146105375780638dbdbe6d1461055a57806393f1a40b1461058c5780639cc5b047146105d157610248565b80637645ed811461049657806382f9c469146104bf5780638705fcd4146104db5780638aa28550146105015780638d88a90e1461050957610248565b806348cd4cb1116101c957806360dc47cb1161018d57806360dc47cb14610412578063630b5ba11461041a578063686ba9d9146104225780636b366c6614610468578063715018a61461048e57610248565b806348cd4cb1146103a257806348d3ceb0146103aa5780634a3b68cc146103b257806351eb05a6146103d85780635312ea8e146103f557610248565b8063319161c211610210578063319161c21461031f5780634127535814610343578063441a3e701461034b5780634433b0331461036e57806345c795c21461039a57610248565b8063081e3eda1461024d5780630ba84cd2146102675780630f809adb146102865780631526fe27146102ac57806317caf6f114610317575b600080fd5b6102556106f9565b60408051918252519081900360200190f35b6102846004803603602081101561027d57600080fd5b50356106ff565b005b6102846004803603602081101561029c57600080fd5b50356001600160a01b0316610764565b6102c9600480360360208110156102c257600080fd5b5035610825565b604080516001600160a01b039889168152602081019790975286810195909552606086019390935261ffff9091166080850152151560a084015290921660c082015290519081900360e00190f35b610255610887565b61032761088d565b604080516001600160a01b039092168252519081900360200190f35b61032761089c565b6102846004803603604081101561036157600080fd5b50803590602001356108ab565b6102846004803603604081101561038457600080fd5b506001600160a01b0381351690602001356109cc565b610255610a9d565b610255610aa3565b610255610aa9565b610327600480360360208110156103c857600080fd5b50356001600160a01b0316610aaf565b610284600480360360208110156103ee57600080fd5b5035610aca565b6102846004803603602081101561040b57600080fd5b5035610c30565b610255610d18565b610284610d1e565b610284600480360360a081101561043857600080fd5b508035906001600160a01b03602082013581169161ffff6040820135169160608201351515916080013516610d41565b6102556004803603602081101561047e57600080fd5b50356001600160a01b0316610f8b565b610284610f9d565b610255600480360360608110156104ac57600080fd5b508035906020810135906040013561103f565b6104c7611064565b604080519115158252519081900360200190f35b610284600480360360208110156104f157600080fd5b50356001600160a01b031661106d565b6102556110ee565b6102846004803603602081101561051f57600080fd5b50356001600160a01b03166110f3565b610327611160565b6102556004803603604081101561054d57600080fd5b508035906020013561116f565b6102846004803603606081101561057057600080fd5b50803590602081013590604001356001600160a01b0316611189565b6105b8600480360360408110156105a257600080fd5b50803590602001356001600160a01b03166112d2565b6040805192835260208301919091528051918290030190f35b610284600480360360208110156105e757600080fd5b503515156112f6565b6102556004803603602081101561060657600080fd5b50356001600160a01b0316611361565b610255611373565b610255611379565b6102556004803603604081101561063c57600080fd5b50803590602001356001600160a01b031661137f565b6103276114dd565b610284600480360360a081101561067057600080fd5b50803590602081013590604081013561ffff16906060810135151590608001356001600160a01b03166114ec565b610255611680565b610284600480360360408110156106bc57600080fd5b50803590602001351515611686565b610284600480360360208110156106e157600080fd5b50356001600160a01b0316611718565b610255611810565b600e5490565b610707611816565b6000546001600160a01b03908116911614610757576040805162461bcd60e51b815260206004820181905260248201526000805160206125e9833981519152604482015290519081900360640190fd5b61075f610d1e565b600355565b61076c611816565b6000546001600160a01b039081169116146107bc576040805162461bcd60e51b815260206004820181905260248201526000805160206125e9833981519152604482015290519081900360640190fd5b6001546040805163f2fde38b60e01b81526001600160a01b0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b15801561080a57600080fd5b505af115801561081e573d6000803e3d6000fd5b5050505050565b600e818154811061083257fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b03938416955091939092909161ffff81169160ff6201000083041691630100000090041687565b60105481565b6001546001600160a01b031681565b6004546001600160a01b031681565b6000600e83815481106108ba57fe5b60009182526020808320868452600f82526040808520338652909252922080546005909202909201925083111561092d576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61093684610aca565b61093f8461181a565b8215610969578054610951908461190c565b81558154610969906001600160a01b0316338561194e565b6003820154815461098a9164e8d4a5100091610984916119a0565b906119f9565b6001820155604080518481529051859133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a350505050565b6002546001600160a01b03163314610a17576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b6001546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610a6d57600080fd5b505af1158015610a81573d6000803e3d6000fd5b505050506040513d6020811015610a9757600080fd5b50505050565b600a5481565b60115481565b600b5481565b6007602052600090815260409020546001600160a01b031681565b6000600e8281548110610ad957fe5b9060005260206000209060050201905080600201544311610afa5750610c2d565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610b4457600080fd5b505afa158015610b58573d6000803e3d6000fd5b505050506040513d6020811015610b6e57600080fd5b50519050801580610b8157506001820154155b15610b93575043600290910155610c2d565b6000610ba383600201544361116f565b90506000610bd06010546109848660010154610bca600354876119a090919063ffffffff16565b906119a0565b90508015610bf957600254610bf9906001600160a01b0316610bf383600a6119f9565b87611a3b565b610c1a610c0f846109848464e8d4a510006119a0565b600386015490611e2f565b6003850155505043600290920191909155505b50565b6000600e8281548110610c3f57fe5b906000526020600020906005020190508060040160029054906101000a900460ff16610c9c5760405162461bcd60e51b81526004018080602001828103825260238152602001806125806023913960400191505060405180910390fd5b6000828152600f602090815260408083203380855292528220805483825560018201939093558354909291610cdb916001600160a01b0316908361194e565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b600d5481565b600e5460005b81811015610d3d57610d3581610aca565b600101610d24565b5050565b610d49611816565b6000546001600160a01b03908116911614610d99576040805162461bcd60e51b815260206004820181905260248201526000805160206125e9833981519152604482015290519081900360640190fd5b6127108361ffff161115610dde5760405162461bcd60e51b815260040180806020018281038252602581526020018061250b6025913960400191505060405180910390fd5b8115610dec57610dec610d1e565b60006011544311610dff57601154610e01565b435b601054909150610e119087611e2f565b6010556040805160e0810182526001600160a01b0396871681526020810197885290810191825260006060820181815261ffff9687166080840190815260a0840183815295891660c08501908152600e80546001810182559452935160059093027fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd81018054948b166001600160a01b03199095169490941790935598517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe83015592517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3ff82015591517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c40083015595517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c4019091018054925196519095166301000000026301000000600160b81b0319961515620100000262ff0000199290951661ffff199093169290921716929092179390931617905550565b60086020526000908152604090205481565b610fa5611816565b6000546001600160a01b03908116911614610ff5576040805162461bcd60e51b815260206004820181905260248201526000805160206125e9833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061105c61104e858561190c565b600a0a6109848460016119a0565b949350505050565b60125460ff1681565b6004546001600160a01b031633146110cc576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600181565b6002546001600160a01b0316331461113e576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60006111806001610bca848661190c565b90505b92915050565b6000600e848154811061119857fe5b60009182526020808320878452600f825260408085203386529092529220600590910290910191506111c985610aca565b6111d28561181a565b83156112745781546111ef906001600160a01b0316333087611e89565b600482015461ffff161561125b57600482015460009061121c906127109061098490889061ffff166119a0565b600454845491925061123b916001600160a01b0390811691168361194e565b815461125390829061124d9088611e2f565b9061190c565b82555061126a565b80546112679085611e2f565b81555b6112743384611ee3565b6003820154815461128f9164e8d4a5100091610984916119a0565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b600f6020908152600092835260408084209091529082529020805460019091015482565b6112fe611816565b6000546001600160a01b0390811691161461134e576040805162461bcd60e51b815260206004820181905260248201526000805160206125e9833981519152604482015290519081900360640190fd5b6012805460ff1916911515919091179055565b60096020526000908152604090205481565b60055481565b60035481565b600080600e848154811061138f57fe5b60009182526020808320878452600f825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b15801561140957600080fd5b505afa15801561141d573d6000803e3d6000fd5b505050506040513d602081101561143357600080fd5b505160028501549091504311801561144a57508015155b156114aa57600061145f85600201544361116f565b905060006114866010546109848860010154610bca600354876119a090919063ffffffff16565b90506114a561149e846109848464e8d4a510006119a0565b8590611e2f565b935050505b6114d2836001015461124d64e8d4a510006109848688600001546119a090919063ffffffff16565b979650505050505050565b6002546001600160a01b031681565b6114f4611816565b6000546001600160a01b03908116911614611544576040805162461bcd60e51b815260206004820181905260248201526000805160206125e9833981519152604482015290519081900360640190fd5b6127108361ffff1611156115895760405162461bcd60e51b81526004018080602001828103825260258152602001806125c46025913960400191505060405180910390fd5b811561159757611597610d1e565b6115d4846115ce600e88815481106115ab57fe5b90600052602060002090600502016001015460105461190c90919063ffffffff16565b90611e2f565b60108190555083600e86815481106115e857fe5b90600052602060002090600502016001018190555082600e868154811061160b57fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff16021790555080600e868154811061164457fe5b906000526020600020906005020160040160036101000a8154816001600160a01b0302191690836001600160a01b031602179055505050505050565b600c5481565b61168e611816565b6000546001600160a01b039081169116146116de576040805162461bcd60e51b815260206004820181905260248201526000805160206125e9833981519152604482015290519081900360640190fd5b80600e83815481106116ec57fe5b906000526020600020906005020160040160026101000a81548160ff0219169083151502179055505050565b611720611816565b6000546001600160a01b03908116911614611770576040805162461bcd60e51b815260206004820181905260248201526000805160206125e9833981519152604482015290519081900360640190fd5b6001600160a01b0381166117b55760405162461bcd60e51b815260040180806020018281038252602681526020018061255a6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60065481565b3390565b6000600e828154811061182957fe5b60009182526020808320858452600f8252604080852033865290925292206012546005909202909201925060ff1680156118635750805415155b15611907576000611896826001015461124d64e8d4a51000610984876003015487600001546119a090919063ffffffff16565b90508015610a975760006118ba6064610984600c54856119a090919063ffffffff16565b905060006118d86064610984600d54866119a090919063ffffffff16565b90506118e5868383611f9a565b60006118f58261124d868661190c565b9050611902338289611a3b565b505050505b505050565b600061118083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506121a4565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261190790849061223b565b6000826119af57506000611183565b828202828482816119bc57fe5b04146111805760405162461bcd60e51b81526004018080602001828103825260218152602001806125a36021913960400191505060405180910390fd5b600061118083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122ec565b611a436124ce565b600e8281548110611a5057fe5b600091825260208083206040805160e081018252600590940290910180546001600160a01b0390811685526001820154858501526002820154858401526003820154606086015260049182015461ffff8116608087015260ff62010000820416151560a0870152630100000090041660c0850181905282516370a0823160e01b81523092810192909252915193955090926370a0823192602480840193919291829003018186803b158015611b0457600080fd5b505afa158015611b18573d6000803e3d6000fd5b505050506040513d6020811015611b2e57600080fd5b505182516040805163313ce56760e01b815290519293506001600160a01b039091169163313ce56791600480820192602092909190829003018186803b158015611b7757600080fd5b505afa158015611b8b573d6000803e3d6000fd5b505050506040513d6020811015611ba157600080fd5b505160c08301516040805163313ce56760e01b8152905160ff909316926001600160a01b039092169163313ce56791600480820192602092909190829003018186803b158015611bf057600080fd5b505afa158015611c04573d6000803e3d6000fd5b505050506040513d6020811015611c1a57600080fd5b505160ff1614611d1557611d1282600001516001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611c6457600080fd5b505afa158015611c78573d6000803e3d6000fd5b505050506040513d6020811015611c8e57600080fd5b505160c08401516040805163313ce56760e01b8152905160ff909316926001600160a01b039092169163313ce56791600480820192602092909190829003018186803b158015611cdd57600080fd5b505afa158015611cf1573d6000803e3d6000fd5b505050506040513d6020811015611d0757600080fd5b505160ff168661103f565b93505b80841115611daa578160c001516001600160a01b031663a9059cbb86836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611d7857600080fd5b505af1158015611d8c573d6000803e3d6000fd5b505050506040513d6020811015611da257600080fd5b5061081e9050565b8160c001516001600160a01b031663a9059cbb86866040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611e0557600080fd5b505af1158015611e19573d6000803e3d6000fd5b505050506040513d602081101561190257600080fd5b600082820183811015611180576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610a9790859061223b565b6001600160a01b03821615801590611f0357506001600160a01b03811615155b8015611f215750806001600160a01b0316826001600160a01b031614155b8015611f4557506001600160a01b0382811660009081526007602052604090205416155b15610d3d576001600160a01b03808316600090815260076020908152604080832080549486166001600160a01b0319909516851790559282526008905220805460019081019091556005805490910190555050565b336000908152600760205260408120546001600160a01b031690811561217a57600154604080516370a0823160e01b81526001600160a01b038581166004830152915160009392909216916370a0823191602480820192602092909190829003018186803b15801561200b57600080fd5b505afa15801561201f573d6000803e3d6000fd5b505050506040513d602081101561203557600080fd5b5051600a5490915081106120795761204e838688611a3b565b6001600160a01b03831660009081526009602052604090208054860190556006805486019055612086565b6120838286611e2f565b91505b6001600160a01b0380841660009081526007602090815260408083205460015482516370a0823160e01b8152918616600483018190529251929516926370a0823192602480840193829003018186803b1580156120e257600080fd5b505afa1580156120f6573d6000803e3d6000fd5b505050506040513d602081101561210c57600080fd5b505190506001600160a01b0382161580159061212a5750600b548110155b156121655761213a82878a611a3b565b6001600160a01b03821660009081526009602052604090208054870190556006805487019055612172565b61216f8487611e2f565b93505b505050612187565b6121848484611e2f565b90505b801561081e5760025461081e906001600160a01b03168287611a3b565b600081848411156122335760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121f85781810151838201526020016121e0565b50505050905090810190601f1680156122255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6060612290826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123519092919063ffffffff16565b805190915015611907578080602001905160208110156122af57600080fd5b50516119075760405162461bcd60e51b815260040180806020018281038252602a815260200180612530602a913960400191505060405180910390fd5b6000818361233b5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156121f85781810151838201526020016121e0565b50600083858161234757fe5b0495945050505050565b606061105c84846000856060612366856124c8565b6123b7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106123f65780518252601f1990920191602091820191016123d7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612458576040519150601f19603f3d011682016040523d82523d6000602084013e61245d565b606091505b5091509150811561247157915061105c9050565b8051156124815780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156121f85781810151838201526020016121e0565b3b151590565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091529056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737321656d657267656e637957697468647261776e61626c65206e6f7420616c6c6f776564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220afe3b381b8c5db3afe37b886ced0e1e7fff2590878d1b527bfa381b065f523d964736f6c634300060c003300000000000000000000000064c5bfae6f4b597f82b6ae6adc033f743241840b0000000000000000000000001702b7f2d27e9b3d21301de35b979e649ed3babb0000000000000000000000009459e709f636abf4dff8975dd8d42641531cd7fc0000000000000000000000000000000000000000000000000853a0d2313c00000000000000000000000000000000000000000000000000000000000000d69e8e

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

00000000000000000000000064c5bfae6f4b597f82b6ae6adc033f743241840b0000000000000000000000001702b7f2d27e9b3d21301de35b979e649ed3babb0000000000000000000000009459e709f636abf4dff8975dd8d42641531cd7fc0000000000000000000000000000000000000000000000000853a0d2313c00000000000000000000000000000000000000000000000000000000000000d69e8e

-----Decoded View---------------
Arg [0] : _isw (address): 0x64c5bfae6f4b597f82b6ae6adc033f743241840b
Arg [1] : _devaddr (address): 0x1702b7f2d27e9b3d21301de35b979e649ed3babb
Arg [2] : _feeAddress (address): 0x9459e709f636abf4dff8975dd8d42641531cd7fc
Arg [3] : _IsalPerBlock (uint256): 600000000000000000
Arg [4] : _startBlock (uint256): 14065294

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000064c5bfae6f4b597f82b6ae6adc033f743241840b
Arg [1] : 0000000000000000000000001702b7f2d27e9b3d21301de35b979e649ed3babb
Arg [2] : 0000000000000000000000009459e709f636abf4dff8975dd8d42641531cd7fc
Arg [3] : 0000000000000000000000000000000000000000000000000853a0d2313c0000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000d69e8e


Deployed ByteCode Sourcemap

40469:13736:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43556:95;;;:::i;:::-;;;;;;;;;;;;;;;;54059:143;;;;;;;;;;;;;;;;-1:-1:-1;54059:143:0;;:::i;:::-;;53654:103;;;;;;;;;;;;;;;;-1:-1:-1;53654:103:0;-1:-1:-1;;;;;53654:103:0;;:::i;42544:26::-;;;;;;;;;;;;;;;;-1:-1:-1;42544:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;42544:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42787:34;;;:::i;41409:20::-;;;:::i;:::-;;;;-1:-1:-1;;;;;41409:20:0;;;;;;;;;;;;;;41687:25;;;:::i;51070:577::-;;;;;;;;;;;;;;;;-1:-1:-1;51070:577:0;;;;;;;:::i;53490:156::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53490:156:0;;;;;;;;:::i;42102:42::-;;;:::i;42880:25::-;;;:::i;42220:43::-;;;:::i;41827:44::-;;;;;;;;;;;;;;;;-1:-1:-1;41827:44:0;-1:-1:-1;;;;;41827:44:0;;:::i;46793:885::-;;;;;;;;;;;;;;;;-1:-1:-1;46793:885:0;;:::i;51897:508::-;;;;;;;;;;;;;;;;-1:-1:-1;51897:508:0;;:::i;42428:37::-;;;:::i;46537:180::-;;;:::i;43659:764::-;;;;;;;;;;;;;;;;-1:-1:-1;43659:764:0;;;-1:-1:-1;;;;;43659:764:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;41884:49::-;;;;;;;;;;;;;;;;-1:-1:-1;41884:49:0;-1:-1:-1;;;;;41884:49:0;;:::i;21227:148::-;;;:::i;52413:195::-;;;;;;;;;;;;;;;;-1:-1:-1;52413:195:0;;;;;;;;;;;;:::i;42914:38::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;53765:165;;;;;;;;;;;;;;;;-1:-1:-1;53765:165:0;-1:-1:-1;;;;;53765:165:0;;:::i;41608:44::-;;;:::i;53334:129::-;;;;;;;;;;;;;;;;-1:-1:-1;53334:129:0;-1:-1:-1;;;;;53334:129:0;;:::i;20585:79::-;;;:::i;45153:143::-;;;;;;;;;;;;;;;;-1:-1:-1;45153:143:0;;;;;;;:::i;47749:900::-;;;;;;;;;;;;;;;;-1:-1:-1;47749:900:0;;;;;;;;;;;-1:-1:-1;;;;;47749:900:0;;:::i;42626:66::-;;;;;;;;;;;;;;;;-1:-1:-1;42626:66:0;;;;;;-1:-1:-1;;;;;42626:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;44431:102;;;;;;;;;;;;;;;;-1:-1:-1;44431:102:0;;;;:::i;41979:59::-;;;;;;;;;;;;;;;;-1:-1:-1;41979:59:0;-1:-1:-1;;;;;41979:59:0;;:::i;41725:38::-;;;:::i;41527:27::-;;;:::i;45697:757::-;;;;;;;;;;;;;;;;-1:-1:-1;45697:757:0;;;;;;-1:-1:-1;;;;;45697:757:0;;:::i;41457:22::-;;;:::i;44541:536::-;;;;;;;;;;;;;;;;-1:-1:-1;44541:536:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44541:536:0;;:::i;42341:37::-;;;:::i;51655:171::-;;;;;;;;;;;;;;;;-1:-1:-1;51655:171:0;;;;;;;;;:::i;21530:244::-;;;;;;;;;;;;;;;;-1:-1:-1;21530:244:0;-1:-1:-1;;;;;21530:244:0;;:::i;41770:43::-;;;:::i;43556:95::-;43628:8;:15;43556:95;:::o;54059:143::-;20807:12;:10;:12::i;:::-;20797:6;;-1:-1:-1;;;;;20797:6:0;;;:22;;;20789:67;;;;;-1:-1:-1;;;20789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20789:67:0;;;;;;;;;;;;;;;54138:17:::1;:15;:17::i;:::-;54166:12;:28:::0;54059:143::o;53654:103::-;20807:12;:10;:12::i;:::-;20797:6;;-1:-1:-1;;;;;20797:6:0;;;:22;;;20789:67;;;;;-1:-1:-1;;;20789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20789:67:0;;;;;;;;;;;;;;;53721:3:::1;::::0;:28:::1;::::0;;-1:-1:-1;;;53721:28:0;;-1:-1:-1;;;;;53721:28:0;;::::1;;::::0;::::1;::::0;;;:3;;;::::1;::::0;:21:::1;::::0;:28;;;;;:3:::1;::::0;:28;;;;;;;:3;;:28;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;53654:103:::0;:::o;42544:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42544:26:0;;;;-1:-1:-1;42544:26:0;;;;;;;;;;;;;;;;;;;;;:::o;42787:34::-;;;;:::o;41409:20::-;;;-1:-1:-1;;;;;41409:20:0;;:::o;41687:25::-;;;-1:-1:-1;;;;;41687:25:0;;:::o;51070:577::-;51137:21;51161:8;51170:4;51161:14;;;;;;;;;;;;;;;;51210;;;:8;:14;;;;;;51225:10;51210:26;;;;;;;51255:11;;51161:14;;;;;;;;-1:-1:-1;51255:22:0;-1:-1:-1;51255:22:0;51247:53;;;;;-1:-1:-1;;;51247:53:0;;;;;;;;;;;;-1:-1:-1;;;51247:53:0;;;;;;;;;;;;;;;51311:16;51322:4;51311:10;:16::i;:::-;51338:13;51346:4;51338:7;:13::i;:::-;51365:11;;51362:151;;51407:11;;:24;;51423:7;51407:15;:24::i;:::-;51393:38;;51446:12;;:55;;-1:-1:-1;;;;;51446:12:0;51480:10;51493:7;51446:25;:55::i;:::-;51557:20;;;;51541:11;;:47;;51583:4;;51541:37;;:15;:37::i;:::-;:41;;:47::i;:::-;51523:15;;;:65;51604:35;;;;;;;;51625:4;;51613:10;;51604:35;;;;;;;;;51070:577;;;;:::o;53490:156::-;53580:7;;-1:-1:-1;;;;;53580:7:0;53566:10;:21;53558:43;;;;;-1:-1:-1;;;53558:43:0;;;;;;;;;;;;-1:-1:-1;;;53558:43:0;;;;;;;;;;;;;;;53611:3;;:27;;;-1:-1:-1;;;53611:27:0;;-1:-1:-1;;;;;53611:27:0;;;;;;;;;;;;;;;:3;;;;;:12;;:27;;;;;;;;;;;;;;:3;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;53490:156:0:o;42102:42::-;;;;:::o;42880:25::-;;;;:::o;42220:43::-;;;;:::o;41827:44::-;;;;;;;;;;;;-1:-1:-1;;;;;41827:44:0;;:::o;46793:885::-;46845:21;46869:8;46878:4;46869:14;;;;;;;;;;;;;;;;;;46845:38;;46914:4;:20;;;46898:12;:36;46894:75;;46951:7;;;46894:75;46998:12;;:37;;;-1:-1:-1;;;46998:37:0;;47029:4;46998:37;;;;;;46979:16;;-1:-1:-1;;;;;46998:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46998:37:0;;-1:-1:-1;47050:13:0;;;:37;;-1:-1:-1;47067:15:0;;;;:20;47050:37;47046:126;;;-1:-1:-1;47127:12:0;47104:20;;;;:35;47154:7;;47046:126;47182:18;47203:49;47217:4;:20;;;47239:12;47203:13;:49::i;:::-;47182:70;;47263:17;47283:70;47337:15;;47283:49;47316:4;:15;;;47283:28;47298:12;;47283:10;:14;;:28;;;;:::i;:::-;:32;;:49::i;:70::-;47263:90;-1:-1:-1;47460:13:0;;47457:74;;47500:7;;47483:48;;-1:-1:-1;;;;;47500:7:0;47508:17;:9;47522:2;47508:13;:17::i;:::-;47526:4;47483:16;:48::i;:::-;47565:59;47590:33;47614:8;47590:19;:9;47604:4;47590:13;:19::i;:33::-;47565:20;;;;;:24;:59::i;:::-;47542:20;;;:82;-1:-1:-1;;47658:12:0;47635:20;;;;:35;;;;-1:-1:-1;46793:885:0;;:::o;51897:508::-;51956:21;51980:8;51989:4;51980:14;;;;;;;;;;;;;;;;;;51956:38;;52027:4;:27;;;;;;;;;;;;52005:112;;;;-1:-1:-1;;;52005:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52128:21;52152:14;;;:8;:14;;;;;;;;52167:10;52152:26;;;;;;;52206:11;;52228:15;;;-1:-1:-1;52254:15:0;;:19;;;;52284:12;;52152:26;;52206:11;52284:54;;-1:-1:-1;;;;;52284:12:0;;52206:11;52284:25;:54::i;:::-;52354:43;;;;;;;;52384:4;;52372:10;;52354:43;;;;;;;;;51897:508;;;;:::o;42428:37::-;;;;:::o;46537:180::-;46599:8;:15;46582:14;46625:85;46653:6;46647:3;:12;46625:85;;;46683:15;46694:3;46683:10;:15::i;:::-;46661:5;;46625:85;;;;46537:180;:::o;43659:764::-;20807:12;:10;:12::i;:::-;20797:6;;-1:-1:-1;;;;;20797:6:0;;;:22;;;20789:67;;;;;-1:-1:-1;;;20789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20789:67:0;;;;;;;;;;;;;;;43823:5:::1;43806:13;:22;;;;43798:72;;;;-1:-1:-1::0;;;43798:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43885:11;43881:61;;;43913:17;:15;:17::i;:::-;43952:23;43993:10;;43978:12;:25;:53;;44021:10;;43978:53;;;44006:12;43978:53;44060:15;::::0;43952:79;;-1:-1:-1;44060:32:0::1;::::0;44080:11;44060:19:::1;:32::i;:::-;44042:15;:50:::0;44117:297:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;44117:297:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;44117:297:0;;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;::::1;::::0;;;;;;44103:8:::1;:312:::0;;44117:297;44103:312;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;;;;;44103:312:0;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;44103:312:0;::::1;;::::0;::::1;-1:-1:-1::0;;44103:312:0;;;::::1;-1:-1:-1::0;;44103:312:0;;::::1;::::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;;::::0;;-1:-1:-1;43659:764:0:o;41884:49::-;;;;;;;;;;;;;:::o;21227:148::-;20807:12;:10;:12::i;:::-;20797:6;;-1:-1:-1;;;;;20797:6:0;;;:22;;;20789:67;;;;;-1:-1:-1;;;20789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20789:67:0;;;;;;;;;;;;;;;21334:1:::1;21318:6:::0;;21297:40:::1;::::0;-1:-1:-1;;;;;21318:6:0;;::::1;::::0;21297:40:::1;::::0;21334:1;;21297:40:::1;21365:1;21348:19:::0;;-1:-1:-1;;;;;;21348:19:0::1;::::0;;21227:148::o;52413:195::-;52513:7;52540:60;52573:25;52574:8;52588:9;52573:14;:25::i;:::-;52569:2;:29;52540:23;:7;52560:1;52540:11;:23::i;:60::-;52533:67;52413:195;-1:-1:-1;;;;52413:195:0:o;42914:38::-;;;;;;:::o;53765:165::-;53848:10;;-1:-1:-1;;;;;53848:10:0;53834;:24;53826:61;;;;;-1:-1:-1;;;53826:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;53898:10;:24;;-1:-1:-1;;;;;;53898:24:0;-1:-1:-1;;;;;53898:24:0;;;;;;;;;;53765:165::o;41608:44::-;41651:1;41608:44;:::o;53334:129::-;53405:7;;-1:-1:-1;;;;;53405:7:0;53391:10;:21;53383:43;;;;;-1:-1:-1;;;53383:43:0;;;;;;;;;;;;-1:-1:-1;;;53383:43:0;;;;;;;;;;;;;;;53437:7;:18;;-1:-1:-1;;;;;;53437:18:0;-1:-1:-1;;;;;53437:18:0;;;;;;;;;;53334:129::o;20585:79::-;20623:7;20650:6;-1:-1:-1;;;;;20650:6:0;20585:79;:::o;45153:143::-;45225:7;45252:36;41651:1;45252:14;:3;45260:5;45252:7;:14::i;:36::-;45245:43;;45153:143;;;;;:::o;47749:900::-;47833:21;47857:8;47866:4;47857:14;;;;;;;;;;;;;;;;47906;;;:8;:14;;;;;;47921:10;47906:26;;;;;;;47857:14;;;;;;;;-1:-1:-1;47943:16:0;47915:4;47943:10;:16::i;:::-;47970:13;47978:4;47970:7;:13::i;:::-;47997:11;;47994:522;;48025:12;;:74;;-1:-1:-1;;;;;48025:12:0;48063:10;48084:4;48091:7;48025:29;:74::i;:::-;48117:17;;;;;;:21;48114:340;;48191:17;;;;48158:18;;48179:41;;48214:5;;48179:30;;:7;;48191:17;;48179:11;:30::i;:41::-;48265:10;;48239:12;;48158:62;;-1:-1:-1;48239:49:0;;-1:-1:-1;;;;;48239:12:0;;;;48265:10;48158:62;48239:25;:49::i;:::-;48321:11;;:40;;48350:10;;48321:24;;48337:7;48321:15;:24::i;:::-;:28;;:40::i;:::-;48307:54;;-1:-1:-1;48114:340:0;;;48414:11;;:24;;48430:7;48414:15;:24::i;:::-;48400:38;;48114:340;48468:36;48483:10;48494:9;48468:14;:36::i;:::-;48560:20;;;;48544:11;;:47;;48586:4;;48544:37;;:15;:37::i;:47::-;48526:15;;;:65;48607:34;;;;;;;;48627:4;;48615:10;;48607:34;;;;;;;;;47749:900;;;;;:::o;42626:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44431:102::-;20807:12;:10;:12::i;:::-;20797:6;;-1:-1:-1;;;;;20797:6:0;;;:22;;;20789:67;;;;;-1:-1:-1;;;20789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20789:67:0;;;;;;;;;;;;;;;44497:19:::1;:28:::0;;-1:-1:-1;;44497:28:0::1;::::0;::::1;;::::0;;;::::1;::::0;;44431:102::o;41979:59::-;;;;;;;;;;;;;:::o;41725:38::-;;;;:::o;41527:27::-;;;;:::o;45697:757::-;45770:7;45790:21;45814:8;45823:4;45814:14;;;;;;;;;;;;;;;;45863;;;:8;:14;;;;;;-1:-1:-1;;;;;45863:21:0;;;;;;;;;;;45814:14;;;;;;;;45921:20;;;;45971:12;;:37;;-1:-1:-1;;;45971:37:0;;46002:4;45971:37;;;;;;45814:14;;-1:-1:-1;45863:21:0;;45921:20;;45814:14;;45971:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45971:37:0;46038:20;;;;45971:37;;-1:-1:-1;46023:12:0;:35;:52;;;;-1:-1:-1;46062:13:0;;;46023:52;46019:347;;;46092:18;46113:49;46127:4;:20;;;46149:12;46113:13;:49::i;:::-;46092:70;;46177:17;46197:70;46251:15;;46197:49;46230:4;:15;;;46197:28;46212:12;;46197:10;:14;;:28;;;;:::i;:70::-;46177:90;-1:-1:-1;46300:54:0;46320:33;46344:8;46320:19;46177:90;46334:4;46320:13;:19::i;:33::-;46300:15;;:19;:54::i;:::-;46282:72;;46019:347;;;46383:63;46430:4;:15;;;46383:42;46420:4;46383:32;46399:15;46383:4;:11;;;:15;;:32;;;;:::i;:63::-;46376:70;45697:757;-1:-1:-1;;;;;;;45697:757:0:o;41457:22::-;;;-1:-1:-1;;;;;41457:22:0;;:::o;44541:536::-;20807:12;:10;:12::i;:::-;20797:6;;-1:-1:-1;;;;;20797:6:0;;;:22;;;20789:67;;;;;-1:-1:-1;;;20789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20789:67:0;;;;;;;;;;;;;;;44703:5:::1;44686:13;:22;;;;44678:72;;;;-1:-1:-1::0;;;44678:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44765:11;44761:61;;;44793:17;:15;:17::i;:::-;44850:63;44901:11;44850:46;44870:8;44879:4;44870:14;;;;;;;;;;;;;;;;;;:25;;;44850:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;44832:15;:81;;;;44952:11;44924:8;44933:4;44924:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;45004:13;44974:8;44983:4;44974:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;45057:12;45028:8;45037:4;45028:14;;;;;;;;;;;;;;;;;;:26;;;:41;;;;;-1:-1:-1::0;;;;;45028:41:0::1;;;;;-1:-1:-1::0;;;;;45028:41:0::1;;;;;;44541:536:::0;;;;;:::o;42341:37::-;;;;:::o;51655:171::-;20807:12;:10;:12::i;:::-;20797:6;;-1:-1:-1;;;;;20797:6:0;;;:22;;;20789:67;;;;;-1:-1:-1;;;20789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20789:67:0;;;;;;;;;;;;;;;51810:8:::1;51770;51779:4;51770:14;;;;;;;;;;;;;;;;;;:37;;;:48;;;;;;;;;;;;;;;;;;51655:171:::0;;:::o;21530:244::-;20807:12;:10;:12::i;:::-;20797:6;;-1:-1:-1;;;;;20797:6:0;;;:22;;;20789:67;;;;;-1:-1:-1;;;20789:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20789:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21619:22:0;::::1;21611:73;;;;-1:-1:-1::0;;;21611:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21721:6;::::0;;21700:38:::1;::::0;-1:-1:-1;;;;;21700:38:0;;::::1;::::0;21721:6;::::1;::::0;21700:38:::1;::::0;::::1;21749:6;:17:::0;;-1:-1:-1;;;;;;21749:17:0::1;-1:-1:-1::0;;;;;21749:17:0;;;::::1;::::0;;;::::1;::::0;;21530:244::o;41770:43::-;;;;:::o;19137:106::-;19225:10;19137:106;:::o;48661:773::-;48714:21;48738:8;48747:4;48738:14;;;;;;;;;;;;;;;;48787;;;:8;:14;;;;;;48802:10;48787:26;;;;;;;48830:19;;48738:14;;;;;;;;-1:-1:-1;48830:19:0;;:38;;;;-1:-1:-1;48853:11:0;;:15;;48830:38;48826:591;;;48885:15;48903:68;48955:4;:15;;;48903:47;48945:4;48903:37;48919:4;:20;;;48903:4;:11;;;:15;;:37;;;;:::i;:68::-;48885:86;-1:-1:-1;48989:11:0;;48986:420;;49022:22;49047:40;49083:3;49047:31;49059:18;;49047:7;:11;;:31;;;;:::i;:40::-;49022:65;;49106:22;49131:40;49167:3;49131:31;49143:18;;49131:7;:11;;:31;;;;:::i;:40::-;49106:65;;49190:55;49208:4;49214:14;49230;49190:17;:55::i;:::-;49266:14;49283:47;49315:14;49283:27;:7;49295:14;49283:11;:27::i;:47::-;49266:64;;49349:41;49366:10;49378:6;49385:4;49349:16;:41::i;:::-;48986:420;;;48826:591;;48661:773;;;:::o;1560:136::-;1618:7;1645:43;1649:1;1652;1645:43;;;;;;;;;;;;;;;;;:3;:43::i;15425:177::-;15535:58;;;-1:-1:-1;;;;;15535:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15535:58:0;-1:-1:-1;;;15535:58:0;;;15508:86;;15528:5;;15508:19;:86::i;2450:471::-;2508:7;2753:6;2749:47;;-1:-1:-1;2783:1:0;2776:8;;2749:47;2820:5;;;2824:1;2820;:5;:1;2844:5;;;;;:10;2836:56;;;;-1:-1:-1;;;2836:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3397:132;3455:7;3482:39;3486:1;3489;3482:39;;;;;;;;;;;;;;;;;:3;:39::i;52721:557::-;52810:20;;:::i;:::-;52833:8;52842:4;52833:14;;;;;;;;;;;;;;;;52810:37;;;;;;;;52833:14;;;;;;;52810:37;;-1:-1:-1;;;;;52810:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52876:41;;-1:-1:-1;;;52876:41:0;;52911:4;52876:41;;;;;;;;;52810:37;;-1:-1:-1;52810:37:0;;52876:26;;:41;;;;;52833:14;;52876:41;;;;;;52810:37;52876:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52876:41:0;52963:12;;:23;;;-1:-1:-1;;;52963:23:0;;;;52876:41;;-1:-1:-1;;;;;;52963:21:0;;;;;;:23;;;;;52876:41;;52963:23;;;;;;;;:21;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52963:23:0;52932:16;;;;:27;;;-1:-1:-1;;;52932:27:0;;;;:54;;;;;-1:-1:-1;;;;;52932:25:0;;;;;;:27;;;;;52963:23;;52932:27;;;;;;;;:25;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52932:27:0;:54;;;52929:171;;53009:78;53027:4;:12;;;-1:-1:-1;;;;;53027:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53027:23:0;53051:16;;;;:27;;;-1:-1:-1;;;53051:27:0;;;;53009:78;;;;;-1:-1:-1;;;;;53051:25:0;;;;;;:27;;;;;53027:23;;53051:27;;;;;;;;:25;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53051:27:0;53009:78;;53079:7;53009:17;:78::i;:::-;52999:88;;52929:171;53124:7;53114;:17;53110:161;;;53148:4;:16;;;-1:-1:-1;;;;;53148:25:0;;53174:3;53179:7;53148:39;;;;;;;;;;;;;-1:-1:-1;;;;;53148:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53110:161:0;;-1:-1:-1;53110:161:0;;53220:4;:16;;;-1:-1:-1;;;;;53220:25:0;;53246:3;53251:7;53220:39;;;;;;;;;;;;;-1:-1:-1;;;;;53220:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1096:181;1154:7;1186:5;;;1210:6;;;;1202:46;;;;;-1:-1:-1;;;1202:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;15610:205;15738:68;;;-1:-1:-1;;;;;15738:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15738:68:0;-1:-1:-1;;;15738:68:0;;;15711:96;;15731:5;;15711:19;:96::i;45308:381::-;-1:-1:-1;;;;;45390:19:0;;;;;;:59;;-1:-1:-1;;;;;;45426:23:0;;;;45390:59;:94;;;;;45475:9;-1:-1:-1;;;;;45466:18:0;:5;-1:-1:-1;;;;;45466:18:0;;;45390:94;:141;;;;-1:-1:-1;;;;;;45501:16:0;;;45529:1;45501:16;;;:9;:16;;;;;;;:30;45390:141;45386:296;;;-1:-1:-1;;;;;45558:16:0;;;;;;;:9;:16;;;;;;;;:28;;;;;-1:-1:-1;;;;;;45558:28:0;;;;;;;45601:25;;;:14;:25;;;:30;;45558:28;45601:30;;;;;;45646:19;:24;;;;;;;45308:381;;:::o;49447:1566::-;49598:10;49558:19;49580:30;;;:9;:30;;;;;;-1:-1:-1;;;;;49580:30:0;;49667:25;;49663:1221;;49728:3;;:26;;;-1:-1:-1;;;49728:26:0;;-1:-1:-1;;;;;49728:26:0;;;;;;;;;49709:16;;49728:3;;;;;:13;;:26;;;;;;;;;;;;;;;:3;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49728:26:0;49785:14;;49728:26;;-1:-1:-1;49773:26:0;;49769:424;;49820:52;49837:11;49851:15;49867:4;49820:16;:52::i;:::-;-1:-1:-1;;;;;49891:37:0;;;;;;:24;:37;;;;;:56;;;;;;49966:24;:43;;;;;;49769:424;;;50139:38;:17;50161:15;50139:21;:38::i;:::-;50119:58;;49769:424;-1:-1:-1;;;;;50231:22:0;;;50209:19;50231:22;;;:9;:22;;;;;;;;;;50288:3;:26;;-1:-1:-1;;;50288:26:0;;50231:22;;;50288:26;;;;;;;;50231:22;;50288:3;;:13;;:26;;;;;;;;;;:3;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50288:26:0;;-1:-1:-1;;;;;;50333:25:0;;;;;;:56;;;50375:14;;50362:9;:27;;50333:56;50329:453;;;50410:51;50427:11;50440:15;50456:4;50410:16;:51::i;:::-;-1:-1:-1;;;;;50480:37:0;;;;;;:24;:37;;;;;:56;;;;;;50555:24;:43;;;;;;50329:453;;;50728:38;:17;50750:15;50728:21;:38::i;:::-;50708:58;;50329:453;49663:1221;;;;;;50836:36;:15;50856;50836:19;:36::i;:::-;50816:56;;49663:1221;50908:21;;50904:102;;50962:7;;50945:49;;-1:-1:-1;;;;;50962:7:0;50971:17;50989:4;50945:16;:49::i;1999:192::-;2085:7;2121:12;2113:6;;;;2105:29;;;;-1:-1:-1;;;2105:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2157:5:0;;;1999:192::o;17730:761::-;18154:23;18180:69;18208:4;18180:69;;;;;;;;;;;;;;;;;18188:5;-1:-1:-1;;;;;18180:27:0;;;:69;;;;;:::i;:::-;18264:17;;18154:95;;-1:-1:-1;18264:21:0;18260:224;;18406:10;18395:30;;;;;;;;;;;;;;;-1:-1:-1;18395:30:0;18387:85;;;;-1:-1:-1;;;18387:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4025:278;4111:7;4146:12;4139:5;4131:28;;;;-1:-1:-1;;;4131:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4170:9;4186:1;4182;:5;;;;;;;4025:278;-1:-1:-1;;;;;4025:278:0:o;12421:196::-;12524:12;12556:53;12579:6;12587:4;12593:1;12596:12;13928;13961:18;13972:6;13961:10;:18::i;:::-;13953:60;;;;;-1:-1:-1;;;13953:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14087:12;14101:23;14128:6;-1:-1:-1;;;;;14128:11:0;14148:8;14159:4;14128:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14128:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14086:78;;;;14179:7;14175:595;;;14210:10;-1:-1:-1;14203:17:0;;-1:-1:-1;14203:17:0;14175:595;14324:17;;:21;14320:439;;14587:10;14581:17;14648:15;14635:10;14631:2;14627:19;14620:44;14535:148;14723:20;;-1:-1:-1;;;14723:20:0;;;;;;;;;;;;;;;;;14730:12;;14723:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9503:422;9870:20;9909:8;;;9503:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

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