ETH Price: $3,275.00 (+0.87%)

Contract

0x1A15E5C97Ea289D1f31747B84DF418EdD40E9eD1
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw213982852024-12-14 4:11:5928 days ago1734149519IN
0x1A15E5C9...dD40E9eD1
0 ETH0.001154410.89546771
Withdraw213982632024-12-14 4:07:3528 days ago1734149255IN
0x1A15E5C9...dD40E9eD1
0 ETH0.0011250811.06459541
Withdraw213982612024-12-14 4:07:1128 days ago1734149231IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000700239.008947
Withdraw213711312024-12-10 9:12:2332 days ago1733821943IN
0x1A15E5C9...dD40E9eD1
0 ETH0.0019515.84687923
Withdraw213371022024-12-05 15:10:3537 days ago1733411435IN
0x1A15E5C9...dD40E9eD1
0 ETH0.0023234530.22654184
Withdraw212060972024-11-17 8:01:1155 days ago1731830471IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000775059.9714712
Withdraw211912102024-11-15 6:08:5957 days ago1731650939IN
0x1A15E5C9...dD40E9eD1
0 ETH0.0017832716.39223682
Withdraw211027082024-11-02 21:42:2369 days ago1730583743IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000375533.54471787
Withdraw211027052024-11-02 21:41:4769 days ago1730583707IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000358613.52723352
Withdraw211027022024-11-02 21:40:5969 days ago1730583659IN
0x1A15E5C9...dD40E9eD1
0 ETH0.00028523.71035041
Withdraw209736142024-10-15 21:21:4787 days ago1729027307IN
0x1A15E5C9...dD40E9eD1
0 ETH0.0012273715.79088725
Withdraw209655812024-10-14 18:25:3588 days ago1728930335IN
0x1A15E5C9...dD40E9eD1
0 ETH0.0025967828.31827733
Withdraw208791492024-10-02 16:56:11100 days ago1727888171IN
0x1A15E5C9...dD40E9eD1
0 ETH0.0026510325.02089489
Withdraw208791432024-10-02 16:54:59100 days ago1727888099IN
0x1A15E5C9...dD40E9eD1
0 ETH0.0019315524.85056166
Withdraw207355702024-09-12 15:57:47121 days ago1726156667IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000703946.6439599
Withdraw207355682024-09-12 15:57:23121 days ago1726156643IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000581467.4808101
Withdraw206068052024-08-25 16:29:59139 days ago1724603399IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000134451.26904245
Withdraw206068012024-08-25 16:29:11139 days ago1724603351IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000123981.31941635
Withdraw205581842024-08-18 21:24:59145 days ago1724016299IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000068890.89627844
Withdraw205438242024-08-16 21:17:59147 days ago1723843079IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000151951.9768372
Withdraw203929382024-07-26 19:53:59168 days ago1722023639IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000134011.72420229
Withdraw203508342024-07-20 22:49:47174 days ago1721515787IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000327433.01313232
Withdraw203508282024-07-20 22:48:35174 days ago1721515715IN
0x1A15E5C9...dD40E9eD1
0 ETH0.000330323.03912237
Withdraw203508062024-07-20 22:44:11174 days ago1721515451IN
0x1A15E5C9...dD40E9eD1
0 ETH0.00038123.50762412
Withdraw203507932024-07-20 22:41:35174 days ago1721515295IN
0x1A15E5C9...dD40E9eD1
0 ETH0.00029033.16954193
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SHEESHAVault

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-05-21
*/

// File: @openzeppelin\contracts\token\ERC20\IERC20.sol

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity >=0.6.0 <0.8.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: node_modules\@openzeppelin\contracts\utils\Address.sol

pragma solidity >=0.6.2 <0.8.0;

/**
 * @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 on 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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: @openzeppelin\contracts\token\ERC20\SafeERC20.sol

pragma solidity >=0.6.0 <0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 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 SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(IERC20 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
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 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),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 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(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: 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(IERC20 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, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () 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: @openzeppelin\contracts\utils\ReentrancyGuard.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: node_modules\@openzeppelin\contracts\token\ERC20\ERC20.sol

pragma solidity >=0.6.0 <0.8.0;




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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin\contracts\token\ERC20\ERC20Burnable.sol

pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    using SafeMath for uint256;

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}

// File: contracts\SHEESHA.sol

pragma solidity 0.7.6;




contract SHEESHA is ERC20Burnable, Ownable {
    using SafeMath for uint256;

    //100,000 tokens
    uint256 public constant initialSupply = 100000e18;
    address public devAddress;
    address public teamAddress;
    address public marketingAddress;
    address public reserveAddress;
    bool public vaultTransferDone;
    bool public vaultLPTransferDone;

    // 15% team (4% monthly unlock over 25 months)
    // 10% dev
    // 10% marketing
    // 15% liquidity provision
    // 10% SHEESHA staking rewards
    // 20% LP rewards
    // 20% Reserve

    constructor(address _devAddress, address _marketingAddress, address _teamAddress, address _reserveAddress) ERC20("Sheesha Finance", "SHEESHA") {
        devAddress = _devAddress;
        marketingAddress = _marketingAddress;
        teamAddress = _teamAddress;
        reserveAddress = _reserveAddress;
        _mint(address(this), initialSupply);
        _transfer(address(this), devAddress, initialSupply.mul(10).div(100));
        _transfer(address(this), teamAddress, initialSupply.mul(15).div(100));
        _transfer(address(this), marketingAddress, initialSupply.mul(10).div(100));
        _transfer(address(this), reserveAddress, initialSupply.mul(20).div(100));
    }

    //one time only
    function transferVaultRewards(address _vaultAddress) public onlyOwner {
        require(!vaultTransferDone, "Already transferred");
        _transfer(address(this), _vaultAddress, initialSupply.mul(10).div(100));
        vaultTransferDone = true;
    }

    //one time only
    function transferVaultLPRewards(address _vaultLPAddress) public onlyOwner {
        require(!vaultLPTransferDone, "Already transferred");
        _transfer(address(this), _vaultLPAddress, initialSupply.mul(20).div(100));
        vaultLPTransferDone = true;
    }
}

// File: contracts\SHEESHAVault.sol

pragma solidity 0.7.6;







contract SHEESHAVault is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of SHEESHAs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accSheeshaPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accSheeshaPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 token; // Address of token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. SHEESHAs to distribute per block.
        uint256 lastRewardBlock; // Last block number that SHEESHAs distribution occurs.
        uint256 accSheeshaPerShare; // Accumulated SHEESHAs per share, times 1e12. See below.
    }

    // The SHEESHA TOKEN!
    SHEESHA public sheesha;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes  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;

    // The block number when SHEESHA mining starts.
    uint256 public startBlock;

    // SHEESHA tokens percenatge created per block based on rewards pool
    uint256 public sheeshaPerBlock;
    //handle case till 0.01(2 decimal places)
    uint256 public constant percentageDivider = 10000;
    //10,000 sheesha 10% of supply
    uint256 public tokenRewards = 10000e18;

    bool public migrationDone;

    //user count
    uint256 public userCount;
    mapping(uint256 => address) public userList;

    mapping(address => bool) internal isExisting;

    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(
        SHEESHA _sheesha,
        uint256 _startBlock,
        uint256 _tokenRewards,
        uint256 _sheeshaPerBlock
    ) {
        sheesha = _sheesha;
        startBlock = _startBlock;
        tokenRewards = _tokenRewards;
        //for eth- 0.002378234398782345 == 2378234398782345
        //for bsc- 0.000475646879756469 == 475646879756469
        sheeshaPerBlock = _sheeshaPerBlock;
    }

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

    // Add a new lp to the pool. Can only be called by the owner.
    // DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(
        uint256 _allocPoint,
        IERC20 _token,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                token: _token,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accSheeshaPerShare: 0
            })
        );
    }

    // Update the given pool's reward block. Can only be called by the owner.
    function setPoolLastRewardBlock(
        uint256 _pid,
        uint256 _lastRewardBlock
    ) public onlyOwner {
        poolInfo[_pid].lastRewardBlock = _lastRewardBlock;
    }

    function setPoolSheeshaPerShare(
        uint256 _pid,
        uint256 _accSheeshaPerShare
    ) public onlyOwner {
        poolInfo[_pid].accSheeshaPerShare = _accSheeshaPerShare;
    }

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

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

        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }

        uint256 tokenSupply;

        //safe check
        if(pool.token.balanceOf(address(this)) < tokenRewards) {
            tokenSupply = 0;
        } else {
            tokenSupply = pool.token.balanceOf(address(this)).sub(tokenRewards);
        }

        if (tokenSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }

        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);

        uint256 sheeshaReward = multiplier.mul(sheeshaPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        
        //if rewards exhausted
        if(sheeshaReward > tokenRewards) {
            sheeshaReward = tokenRewards;
        }
        tokenRewards = tokenRewards.sub(sheeshaReward);

        pool.accSheeshaPerShare = pool.accSheeshaPerShare.add(sheeshaReward.mul(1e12).div(tokenSupply));
        pool.lastRewardBlock = block.number;
    }

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

    // Deposit LP tokens to MasterChef for SHEESHA allocation.
    function deposit(uint256 _pid, uint256 _amount) public {
        _deposit(msg.sender, _pid, _amount);
    }

    // stake from LGE directly
    // Test coverage
    // [x] Does user get the deposited amounts?
    // [x] Does user that its deposited for update correcty?
    // [x] Does the depositor get their tokens decreased
    function depositFor(address _depositFor, uint256 _pid, uint256 _amount) public {
        _deposit(_depositFor, _pid, _amount);
    }

    function _deposit(address _depositFor, uint256 _pid, uint256 _amount) internal nonReentrant {
        if(!isUserExisting(_depositFor)) {
            userList[userCount] = _depositFor;
            userCount++;
            isExisting[_depositFor] = true;
        }
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_depositFor];

        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accSheeshaPerShare).div(1e12).sub(user.rewardDebt);
            safeSheeshaTransfer(_depositFor, pending);
        }

        if(_amount > 0) {
            //this should be msg.sender only because sender is depositing on someone's behalf
            pool.token.safeTransferFrom(address(msg.sender), address(this), _amount);
            user.amount = user.amount.add(_amount); // This is depositedFor address
        }

        user.rewardDebt = user.amount.mul(pool.accSheeshaPerShare).div(1e12); /// This is deposited for address
        emit Deposit(_depositFor, _pid, _amount);
    }

    function isUserExisting(address _who)
        public
        view
        returns (bool)
    {
        return isExisting[_who];
    }

    // Withdraw LP tokens or claim rewards if amount is 0.
    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);
        uint256 pending = user.amount.mul(pool.accSheeshaPerShare).div(1e12).sub(user.rewardDebt);
        safeSheeshaTransfer(msg.sender, pending);
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            uint256 fees = _amount.mul(4).div(100);
            uint256 burnAmount = fees.mul(1).div(100);
            sheesha.burn(burnAmount);
            //add tax into rewards distribution
            tokenRewards = tokenRewards.add(fees.sub(burnAmount));
            pool.token.safeTransfer(address(msg.sender), _amount.sub(fees));
        }
        user.rewardDebt = user.amount.mul(pool.accSheeshaPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    //user must approve this contract to add rewards
    function addRewards(uint256 _amount) public onlyOwner {
        require(_amount > 0, "Invalid amount");
        IERC20(sheesha).safeTransferFrom(address(msg.sender), address(this), _amount);
        tokenRewards = tokenRewards.add(_amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 fees = user.amount.mul(4).div(100);
        uint256 burnAmount = fees.mul(1).div(100);
        sheesha.burn(burnAmount);
        //add tax into rewards distribution
        tokenRewards = tokenRewards.add(fees.sub(burnAmount));
        pool.token.safeTransfer(address(msg.sender), user.amount.sub(fees));
        emit EmergencyWithdraw(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
    }

    function sync(uint256 _pid, address _addr, uint256 _amount, uint256 _rewardDebt) public onlyOwner {
        require(!migrationDone, "Not allowed");
        if(!isUserExisting(_addr)) {
            userList[userCount] = _addr;
            userCount++;
            isExisting[_addr] = true;
        }
        
        UserInfo storage user = userInfo[_pid][_addr];
        user.rewardDebt = _rewardDebt;
        user.amount = _amount;
    }

    function stopSync() public onlyOwner {
        require(!migrationDone, "Not allowed");
        migrationDone = true;
    }


    // Safe sheesha transfer function, just in case if rounding error causes pool to not have enough SHEESHAs
    function safeSheeshaTransfer(address _to, uint256 _amount) internal {
        uint256 sheeshaBal = sheesha.balanceOf(address(this));
        if (_amount > sheeshaBal) {
            sheesha.transfer(_to, sheeshaBal);
        } else {
            sheesha.transfer(_to, _amount);
        }
    }
    
    // View function to see pending SHEESHAs on frontend
    function pendingSheesha(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accSheeshaPerShare = pool.accSheeshaPerShare;
        uint256 tokenSupply;
        //safe check
        if(pool.token.balanceOf(address(this)) < tokenRewards) {
            tokenSupply = 0;
        } else {
            tokenSupply = pool.token.balanceOf(address(this)).sub(tokenRewards);
        }
        if (block.number > pool.lastRewardBlock && tokenSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 sheeshaReward = multiplier.mul(sheeshaPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accSheeshaPerShare = accSheeshaPerShare.add(sheeshaReward.mul(1e12).div(tokenSupply));
        }
        return user.amount.mul(accSheeshaPerShare).div(1e12).sub(user.rewardDebt);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract SHEESHA","name":"_sheesha","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_tokenRewards","type":"uint256"},{"internalType":"uint256","name":"_sheeshaPerBlock","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":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_depositFor","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_who","type":"address"}],"name":"isUserExisting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrationDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingSheesha","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentageDivider","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accSheeshaPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_lastRewardBlock","type":"uint256"}],"name":"setPoolLastRewardBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_accSheeshaPerShare","type":"uint256"}],"name":"setPoolSheeshaPerShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sheesha","outputs":[{"internalType":"contract SHEESHA","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sheeshaPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopSync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_rewardDebt","type":"uint256"}],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"userCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"userList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405269021e19e0c9bab24000006008553480156200001f57600080fd5b50604051620034f2380380620034f2833981810160405260808110156200004557600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620000866200018b60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001808190555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260068190555081600881905550806007819055505050505062000193565b600033905090565b61334f80620001a36000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635312ea8e1161010f5780638dbb1e3a116100a2578063ddbb18cc11610071578063ddbb18cc146107b2578063e2bbb158146107ea578063e671e5fc14610822578063f2fde38b1461085a576101e5565b80638dbb1e3a1461067757806393f1a40b146106c35780639f4216e81461072c578063beceed3914610784576101e5565b806364482f79116100de57806364482f791461059b578063715018a6146105df578063775972bd146105e95780638da5cb5b14610643576101e5565b80635312ea8e146104e35780635b311814146105115780635b56287914610573578063630b5ba114610591576101e5565b80631a34c82d1161018757806348cd4cb11161015657806348cd4cb11461042157806349ce096d1461043f5780634cf5fbf51461045d57806351eb05a6146104b5576101e5565b80631a34c82d146102f95780631eaaa0451461032d5780633a889b1614610387578063441a3e70146103e9576101e5565b80630d81a570116101c35780630d81a57014610244578063140875f2146102645780631526fe271461026e57806317caf6f1146102db576101e5565b806307973ccf146101ea578063081e3eda14610208578063091c76f514610226575b600080fd5b6101f261089e565b6040518082815260200191505060405180910390f35b6102106108a4565b6040518082815260200191505060405180910390f35b61022e6108b1565b6040518082815260200191505060405180910390f35b61024c6108b7565b60405180821515815260200191505060405180910390f35b61026c6108ca565b005b61029a6004803603602081101561028457600080fd5b8101908080359060200190929190505050610a32565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6102e3610a92565b6040518082815260200191505060405180910390f35b610301610a98565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103856004803603606081101561034357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610abe565b005b6103e76004803603608081101561039d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610c85565b005b61041f600480360360408110156103ff57600080fd5b810190808035906020019092919080359060200190929190505050610f09565b005b610429611281565b6040518082815260200191505060405180910390f35b610447611287565b6040518082815260200191505060405180910390f35b6104b36004803603606081101561047357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919050505061128d565b005b6104e1600480360360208110156104cb57600080fd5b810190808035906020019092919050505061129d565b005b61050f600480360360208110156104f957600080fd5b8101908080359060200190929190505050611576565b005b61055d6004803603604081101561052757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117d0565b6040518082815260200191505060405180910390f35b61057b611b03565b6040518082815260200191505060405180910390f35b610599611b09565b005b6105dd600480360360608110156105b157600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050611b36565b005b6105e7611c80565b005b61062b600480360360208110156105ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e06565b60405180821515815260200191505060405180910390f35b61064b611e5c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ad6004803603604081101561068d57600080fd5b810190808035906020019092919080359060200190929190505050611e85565b6040518082815260200191505060405180910390f35b61070f600480360360408110156106d957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ea2565b604051808381526020018281526020019250505060405180910390f35b6107586004803603602081101561074257600080fd5b8101908080359060200190929190505050611ed3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107b06004803603602081101561079a57600080fd5b8101908080359060200190929190505050611f06565b005b6107e8600480360360408110156107c857600080fd5b8101908080359060200190929190803590602001909291905050506120b1565b005b6108206004803603604081101561080057600080fd5b8101908080359060200190929190803590602001909291905050506121a0565b005b6108586004803603604081101561083857600080fd5b8101908080359060200190929190803590602001909291905050506121af565b005b61089c6004803603602081101561087057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061229e565b005b600a5481565b6000600380549050905090565b60085481565b600960009054906101000a900460ff1681565b6108d26124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610992576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600960009054906101000a900460ff1615610a15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e6f7420616c6c6f77656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001600960006101000a81548160ff021916908315150217905550565b60038181548110610a4257600080fd5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60055481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ac66124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610b9557610b94611b09565b5b6000439050610baf846005546124b190919063ffffffff16565b600581905550600360405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b610c8d6124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600960009054906101000a900460ff1615610dd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e6f7420616c6c6f77656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b610dd983611e06565b610e9c5782600b6000600a54815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a600081548092919060010191905055506001600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b60006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600101819055508281600001819055505050505050565b600060038381548110610f1857fe5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610ff6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610fff8461129d565b6000611049826001015461103b64e8d4a5100061102d8760030154876000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b61260990919063ffffffff16565b90506110553382612653565b60008411156111f15761107584836000015461260990919063ffffffff16565b826000018190555060006110a6606461109860048861253990919063ffffffff16565b6125bf90919063ffffffff16565b905060006110d160646110c360018561253990919063ffffffff16565b6125bf90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561114857600080fd5b505af115801561115c573d6000803e3d6000fd5b50505050611187611176828461260990919063ffffffff16565b6008546124b190919063ffffffff16565b6008819055506111ee336111a4848961260990919063ffffffff16565b8760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166128cc9092919063ffffffff16565b50505b61122364e8d4a510006112158560030154856000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b60065481565b60075481565b61129883838361296e565b505050565b6000600382815481106112ac57fe5b90600052602060002090600402019050806002015443116112cd5750611573565b60006008548260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561135d57600080fd5b505afa158015611371573d6000803e3d6000fd5b505050506040513d602081101561138757600080fd5b810190808051906020019092919050505010156113a75760009050611484565b6114816008548360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561143857600080fd5b505afa15801561144c573d6000803e3d6000fd5b505050506040513d602081101561146257600080fd5b810190808051906020019092919050505061260990919063ffffffff16565b90505b600081141561149d574382600201819055505050611573565b60006114ad836002015443611e85565b905060006114f06005546114e286600101546114d46007548761253990919063ffffffff16565b61253990919063ffffffff16565b6125bf90919063ffffffff16565b90506008548111156115025760085490505b6115178160085461260990919063ffffffff16565b60088190555061155d61154a8461153c64e8d4a510008561253990919063ffffffff16565b6125bf90919063ffffffff16565b85600301546124b190919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60006003828154811061158557fe5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600061161660646116086004856000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b90506000611641606461163360018561253990919063ffffffff16565b6125bf90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156116b857600080fd5b505af11580156116cc573d6000803e3d6000fd5b505050506116f76116e6828461260990919063ffffffff16565b6008546124b190919063ffffffff16565b6008819055506117623361171884866000015461260990919063ffffffff16565b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166128cc9092919063ffffffff16565b843373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059585600001546040518082815260200191505060405180910390a360008360000181905550600083600101819055505050505050565b600080600384815481106117e057fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060006008548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156118dd57600080fd5b505afa1580156118f1573d6000803e3d6000fd5b505050506040513d602081101561190757600080fd5b810190808051906020019092919050505010156119275760009050611a04565b611a016008548560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156119b857600080fd5b505afa1580156119cc573d6000803e3d6000fd5b505050506040513d60208110156119e257600080fd5b810190808051906020019092919050505061260990919063ffffffff16565b90505b836002015443118015611a18575060008114155b15611ab3576000611a2d856002015443611e85565b90506000611a70600554611a628860010154611a546007548761253990919063ffffffff16565b61253990919063ffffffff16565b6125bf90919063ffffffff16565b9050611aae611a9f84611a9164e8d4a510008561253990919063ffffffff16565b6125bf90919063ffffffff16565b856124b190919063ffffffff16565b935050505b611af78360010154611ae964e8d4a51000611adb86886000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b61260990919063ffffffff16565b94505050505092915050565b61271081565b6000600380549050905060005b81811015611b3257611b278161129d565b806001019050611b16565b5050565b611b3e6124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611bfe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015611c0d57611c0c611b09565b5b611c5282611c4460038681548110611c2157fe5b90600052602060002090600402016001015460055461260990919063ffffffff16565b6124b190919063ffffffff16565b6005819055508160038481548110611c6657fe5b906000526020600020906004020160010181905550505050565b611c886124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d48576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611e9a838361260990919063ffffffff16565b905092915050565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600b6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611f0e6124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111612044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f496e76616c696420616d6f756e7400000000000000000000000000000000000081525060200191505060405180910390fd5b612093333083600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612cad909392919063ffffffff16565b6120a8816008546124b190919063ffffffff16565b60088190555050565b6120b96124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806003838154811061218757fe5b9060005260206000209060040201600301819055505050565b6121ab33838361296e565b5050565b6121b76124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612277576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806003838154811061228557fe5b9060005260206000209060040201600201819055505050565b6122a66124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612366576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806132836026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b60008082840190508381101561252f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561254c57600090506125b9565b600082840290508284828161255d57fe5b04146125b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806132cf6021913960400191505060405180910390fd5b809150505b92915050565b600061260183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612d6e565b905092915050565b600061264b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612e34565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156126de57600080fd5b505afa1580156126f2573d6000803e3d6000fd5b505050506040513d602081101561270857600080fd5b81019080805190602001909291905050509050808211156127f757600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156127b657600080fd5b505af11580156127ca573d6000803e3d6000fd5b505050506040513d60208110156127e057600080fd5b8101908080519060200190929190505050506128c7565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561288a57600080fd5b505af115801561289e573d6000803e3d6000fd5b505050506040513d60208110156128b457600080fd5b8101908080519060200190929190505050505b505050565b6129698363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612ef4565b505050565b600260015414156129e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506129f883611e06565b612abb5782600b6000600a54815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a600081548092919060010191905055506001600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600060038381548110612aca57fe5b9060005260206000209060040201905060006004600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050612b378461129d565b600081600001541115612b9c576000612b8e8260010154612b8064e8d4a51000612b728760030154876000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b61260990919063ffffffff16565b9050612b9a8682612653565b505b6000831115612c1657612bf63330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612cad909392919063ffffffff16565b612c0d8382600001546124b190919063ffffffff16565b81600001819055505b612c4864e8d4a51000612c3a8460030154846000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b8160010181905550838573ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a3505060018081905550505050565b612d68846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612ef4565b50505050565b60008083118290612e1a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ddf578082015181840152602081019050612dc4565b50505050905090810190601f168015612e0c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612e2657fe5b049050809150509392505050565b6000838311158290612ee1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ea6578082015181840152602081019050612e8b565b50505050905090810190601f168015612ed35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000612f56826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612fe39092919063ffffffff16565b9050600081511115612fde57808060200190516020811015612f7757600080fd5b8101908080519060200190929190505050612fdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806132f0602a913960400191505060405180910390fd5b5b505050565b6060612ff28484600085612ffb565b90509392505050565b606082471015613056576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806132a96026913960400191505060405180910390fd5b61305f856131a3565b6130d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061312057805182526020820191506020810190506020830392506130fd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613182576040519150601f19603f3d011682016040523d82523d6000602084013e613187565b606091505b50915091506131978282866131b6565b92505050949350505050565b600080823b905060008111915050919050565b606083156131c65782905061327b565b6000835111156131d95782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613240578082015181840152602081019050613225565b50505050905090810190601f16801561326d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212209d8dbe729f2da521582c9444c4bb1099e76e8481106f91db7ef2538c177ccc1064736f6c63430007060033000000000000000000000000232fb065d9d24c34708eedbf03724f2e95abe7680000000000000000000000000000000000000000000000000000000000ba8be000000000000000000000000000000000000000000000021342520d5fec200000000000000000000000000000000000000000000000000000000872fdd8883389

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635312ea8e1161010f5780638dbb1e3a116100a2578063ddbb18cc11610071578063ddbb18cc146107b2578063e2bbb158146107ea578063e671e5fc14610822578063f2fde38b1461085a576101e5565b80638dbb1e3a1461067757806393f1a40b146106c35780639f4216e81461072c578063beceed3914610784576101e5565b806364482f79116100de57806364482f791461059b578063715018a6146105df578063775972bd146105e95780638da5cb5b14610643576101e5565b80635312ea8e146104e35780635b311814146105115780635b56287914610573578063630b5ba114610591576101e5565b80631a34c82d1161018757806348cd4cb11161015657806348cd4cb11461042157806349ce096d1461043f5780634cf5fbf51461045d57806351eb05a6146104b5576101e5565b80631a34c82d146102f95780631eaaa0451461032d5780633a889b1614610387578063441a3e70146103e9576101e5565b80630d81a570116101c35780630d81a57014610244578063140875f2146102645780631526fe271461026e57806317caf6f1146102db576101e5565b806307973ccf146101ea578063081e3eda14610208578063091c76f514610226575b600080fd5b6101f261089e565b6040518082815260200191505060405180910390f35b6102106108a4565b6040518082815260200191505060405180910390f35b61022e6108b1565b6040518082815260200191505060405180910390f35b61024c6108b7565b60405180821515815260200191505060405180910390f35b61026c6108ca565b005b61029a6004803603602081101561028457600080fd5b8101908080359060200190929190505050610a32565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6102e3610a92565b6040518082815260200191505060405180910390f35b610301610a98565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103856004803603606081101561034357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610abe565b005b6103e76004803603608081101561039d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610c85565b005b61041f600480360360408110156103ff57600080fd5b810190808035906020019092919080359060200190929190505050610f09565b005b610429611281565b6040518082815260200191505060405180910390f35b610447611287565b6040518082815260200191505060405180910390f35b6104b36004803603606081101561047357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919050505061128d565b005b6104e1600480360360208110156104cb57600080fd5b810190808035906020019092919050505061129d565b005b61050f600480360360208110156104f957600080fd5b8101908080359060200190929190505050611576565b005b61055d6004803603604081101561052757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117d0565b6040518082815260200191505060405180910390f35b61057b611b03565b6040518082815260200191505060405180910390f35b610599611b09565b005b6105dd600480360360608110156105b157600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050611b36565b005b6105e7611c80565b005b61062b600480360360208110156105ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e06565b60405180821515815260200191505060405180910390f35b61064b611e5c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ad6004803603604081101561068d57600080fd5b810190808035906020019092919080359060200190929190505050611e85565b6040518082815260200191505060405180910390f35b61070f600480360360408110156106d957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ea2565b604051808381526020018281526020019250505060405180910390f35b6107586004803603602081101561074257600080fd5b8101908080359060200190929190505050611ed3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107b06004803603602081101561079a57600080fd5b8101908080359060200190929190505050611f06565b005b6107e8600480360360408110156107c857600080fd5b8101908080359060200190929190803590602001909291905050506120b1565b005b6108206004803603604081101561080057600080fd5b8101908080359060200190929190803590602001909291905050506121a0565b005b6108586004803603604081101561083857600080fd5b8101908080359060200190929190803590602001909291905050506121af565b005b61089c6004803603602081101561087057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061229e565b005b600a5481565b6000600380549050905090565b60085481565b600960009054906101000a900460ff1681565b6108d26124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610992576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600960009054906101000a900460ff1615610a15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e6f7420616c6c6f77656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001600960006101000a81548160ff021916908315150217905550565b60038181548110610a4257600080fd5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60055481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ac66124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610b9557610b94611b09565b5b6000439050610baf846005546124b190919063ffffffff16565b600581905550600360405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b610c8d6124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600960009054906101000a900460ff1615610dd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e6f7420616c6c6f77656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b610dd983611e06565b610e9c5782600b6000600a54815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a600081548092919060010191905055506001600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b60006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600101819055508281600001819055505050505050565b600060038381548110610f1857fe5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610ff6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610fff8461129d565b6000611049826001015461103b64e8d4a5100061102d8760030154876000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b61260990919063ffffffff16565b90506110553382612653565b60008411156111f15761107584836000015461260990919063ffffffff16565b826000018190555060006110a6606461109860048861253990919063ffffffff16565b6125bf90919063ffffffff16565b905060006110d160646110c360018561253990919063ffffffff16565b6125bf90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561114857600080fd5b505af115801561115c573d6000803e3d6000fd5b50505050611187611176828461260990919063ffffffff16565b6008546124b190919063ffffffff16565b6008819055506111ee336111a4848961260990919063ffffffff16565b8760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166128cc9092919063ffffffff16565b50505b61122364e8d4a510006112158560030154856000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b60065481565b60075481565b61129883838361296e565b505050565b6000600382815481106112ac57fe5b90600052602060002090600402019050806002015443116112cd5750611573565b60006008548260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561135d57600080fd5b505afa158015611371573d6000803e3d6000fd5b505050506040513d602081101561138757600080fd5b810190808051906020019092919050505010156113a75760009050611484565b6114816008548360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561143857600080fd5b505afa15801561144c573d6000803e3d6000fd5b505050506040513d602081101561146257600080fd5b810190808051906020019092919050505061260990919063ffffffff16565b90505b600081141561149d574382600201819055505050611573565b60006114ad836002015443611e85565b905060006114f06005546114e286600101546114d46007548761253990919063ffffffff16565b61253990919063ffffffff16565b6125bf90919063ffffffff16565b90506008548111156115025760085490505b6115178160085461260990919063ffffffff16565b60088190555061155d61154a8461153c64e8d4a510008561253990919063ffffffff16565b6125bf90919063ffffffff16565b85600301546124b190919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60006003828154811061158557fe5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600061161660646116086004856000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b90506000611641606461163360018561253990919063ffffffff16565b6125bf90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156116b857600080fd5b505af11580156116cc573d6000803e3d6000fd5b505050506116f76116e6828461260990919063ffffffff16565b6008546124b190919063ffffffff16565b6008819055506117623361171884866000015461260990919063ffffffff16565b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166128cc9092919063ffffffff16565b843373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059585600001546040518082815260200191505060405180910390a360008360000181905550600083600101819055505050505050565b600080600384815481106117e057fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060006008548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156118dd57600080fd5b505afa1580156118f1573d6000803e3d6000fd5b505050506040513d602081101561190757600080fd5b810190808051906020019092919050505010156119275760009050611a04565b611a016008548560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156119b857600080fd5b505afa1580156119cc573d6000803e3d6000fd5b505050506040513d60208110156119e257600080fd5b810190808051906020019092919050505061260990919063ffffffff16565b90505b836002015443118015611a18575060008114155b15611ab3576000611a2d856002015443611e85565b90506000611a70600554611a628860010154611a546007548761253990919063ffffffff16565b61253990919063ffffffff16565b6125bf90919063ffffffff16565b9050611aae611a9f84611a9164e8d4a510008561253990919063ffffffff16565b6125bf90919063ffffffff16565b856124b190919063ffffffff16565b935050505b611af78360010154611ae964e8d4a51000611adb86886000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b61260990919063ffffffff16565b94505050505092915050565b61271081565b6000600380549050905060005b81811015611b3257611b278161129d565b806001019050611b16565b5050565b611b3e6124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611bfe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015611c0d57611c0c611b09565b5b611c5282611c4460038681548110611c2157fe5b90600052602060002090600402016001015460055461260990919063ffffffff16565b6124b190919063ffffffff16565b6005819055508160038481548110611c6657fe5b906000526020600020906004020160010181905550505050565b611c886124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d48576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611e9a838361260990919063ffffffff16565b905092915050565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600b6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611f0e6124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111612044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f496e76616c696420616d6f756e7400000000000000000000000000000000000081525060200191505060405180910390fd5b612093333083600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612cad909392919063ffffffff16565b6120a8816008546124b190919063ffffffff16565b60088190555050565b6120b96124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806003838154811061218757fe5b9060005260206000209060040201600301819055505050565b6121ab33838361296e565b5050565b6121b76124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612277576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806003838154811061228557fe5b9060005260206000209060040201600201819055505050565b6122a66124a9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612366576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806132836026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b60008082840190508381101561252f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561254c57600090506125b9565b600082840290508284828161255d57fe5b04146125b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806132cf6021913960400191505060405180910390fd5b809150505b92915050565b600061260183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612d6e565b905092915050565b600061264b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612e34565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156126de57600080fd5b505afa1580156126f2573d6000803e3d6000fd5b505050506040513d602081101561270857600080fd5b81019080805190602001909291905050509050808211156127f757600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156127b657600080fd5b505af11580156127ca573d6000803e3d6000fd5b505050506040513d60208110156127e057600080fd5b8101908080519060200190929190505050506128c7565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561288a57600080fd5b505af115801561289e573d6000803e3d6000fd5b505050506040513d60208110156128b457600080fd5b8101908080519060200190929190505050505b505050565b6129698363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612ef4565b505050565b600260015414156129e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506129f883611e06565b612abb5782600b6000600a54815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a600081548092919060010191905055506001600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600060038381548110612aca57fe5b9060005260206000209060040201905060006004600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050612b378461129d565b600081600001541115612b9c576000612b8e8260010154612b8064e8d4a51000612b728760030154876000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b61260990919063ffffffff16565b9050612b9a8682612653565b505b6000831115612c1657612bf63330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612cad909392919063ffffffff16565b612c0d8382600001546124b190919063ffffffff16565b81600001819055505b612c4864e8d4a51000612c3a8460030154846000015461253990919063ffffffff16565b6125bf90919063ffffffff16565b8160010181905550838573ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a3505060018081905550505050565b612d68846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612ef4565b50505050565b60008083118290612e1a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ddf578082015181840152602081019050612dc4565b50505050905090810190601f168015612e0c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612e2657fe5b049050809150509392505050565b6000838311158290612ee1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ea6578082015181840152602081019050612e8b565b50505050905090810190601f168015612ed35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000612f56826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612fe39092919063ffffffff16565b9050600081511115612fde57808060200190516020811015612f7757600080fd5b8101908080519060200190929190505050612fdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806132f0602a913960400191505060405180910390fd5b5b505050565b6060612ff28484600085612ffb565b90509392505050565b606082471015613056576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806132a96026913960400191505060405180910390fd5b61305f856131a3565b6130d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061312057805182526020820191506020810190506020830392506130fd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613182576040519150601f19603f3d011682016040523d82523d6000602084013e613187565b606091505b50915091506131978282866131b6565b92505050949350505050565b600080823b905060008111915050919050565b606083156131c65782905061327b565b6000835111156131d95782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613240578082015181840152602081019050613225565b50505050905090810190601f16801561326d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212209d8dbe729f2da521582c9444c4bb1099e76e8481106f91db7ef2538c177ccc1064736f6c63430007060033

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

000000000000000000000000232fb065d9d24c34708eedbf03724f2e95abe7680000000000000000000000000000000000000000000000000000000000ba8be000000000000000000000000000000000000000000000021342520d5fec200000000000000000000000000000000000000000000000000000000872fdd8883389

-----Decoded View---------------
Arg [0] : _sheesha (address): 0x232FB065D9d24c34708eeDbF03724f2e95ABE768
Arg [1] : _startBlock (uint256): 12225504
Arg [2] : _tokenRewards (uint256): 9800000000000000000000
Arg [3] : _sheeshaPerBlock (uint256): 2378234398782345

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000232fb065d9d24c34708eedbf03724f2e95abe768
Arg [1] : 0000000000000000000000000000000000000000000000000000000000ba8be0
Arg [2] : 00000000000000000000000000000000000000000000021342520d5fec200000
Arg [3] : 000000000000000000000000000000000000000000000000000872fdd8883389


Deployed Bytecode Sourcemap

39215:12278:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41385:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42233:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41286:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41333:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49889:125;;;:::i;:::-;;40671:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40910:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40613:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42493:547;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49432:449;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47449:980;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41002:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41110:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46002:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;44286:1107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48811:613;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50504:984;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41194:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;44028:182;;;:::i;:::-;;43607:338;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21728:148;;;:::i;:::-;;47242:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21086:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;45469:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40751:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;41416:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;48491:250;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;43317:191;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45662:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;43127:182;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22031:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41385:24;;;;:::o;42233:95::-;42278:7;42305:8;:15;;;;42298:22;;42233:95;:::o;41286:38::-;;;;:::o;41333:25::-;;;;;;;;;;;;;:::o;49889:125::-;21308:12;:10;:12::i;:::-;21298:22;;:6;;;;;;;;;;:22;;;21290:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49946:13:::1;;;;;;;;;;;49945:14;49937:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;50002:4;49986:13;;:20;;;;;;;;;;;;;;;;;;49889:125::o:0;40671:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40910:30::-;;;;:::o;40613:22::-;;;;;;;;;;;;;:::o;42493:547::-;21308:12;:10;:12::i;:::-;21298:22;;:6;;;;;;;;;;:22;;;21290:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42626:11:::1;42622:61;;;42654:17;:15;:17::i;:::-;42622:61;42693:23;42719:12;42693:38;;42760:32;42780:11;42760:15;;:19;;:32;;;;:::i;:::-;42742:15;:50;;;;42803:8;42831:190;;;;;;;;42866:6;42831:190;;;;;;42903:11;42831:190;;;;42950:15;42831:190;;;;43004:1;42831:190;;::::0;42803:229:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21368:1;42493:547:::0;;;:::o;49432:449::-;21308:12;:10;:12::i;:::-;21298:22;;:6;;;;;;;;;;:22;;;21290:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49550:13:::1;;;;;;;;;;;49549:14;49541:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;49594:21;49609:5;49594:14;:21::i;:::-;49590:146;;49654:5;49632:8;:19;49641:9;;49632:19;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;49674:9;;:11;;;;;;;;;;;;;49720:4;49700:10;:17;49711:5;49700:17;;;;;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;49590:146;49756:21;49780:8;:14;49789:4;49780:14;;;;;;;;;;;:21;49795:5;49780:21;;;;;;;;;;;;;;;49756:45;;49830:11;49812:4;:15;;:29;;;;49866:7;49852:4;:11;;:21;;;;21368:1;49432:449:::0;;;;:::o;47449:980::-;47516:21;47540:8;47549:4;47540:14;;;;;;;;;;;;;;;;;;47516:38;;47565:21;47589:8;:14;47598:4;47589:14;;;;;;;;;;;:26;47604:10;47589:26;;;;;;;;;;;;;;;47565:50;;47649:7;47634:4;:11;;;:22;;47626:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47690:16;47701:4;47690:10;:16::i;:::-;47717:15;47735:71;47790:4;:15;;;47735:50;47780:4;47735:40;47751:4;:23;;;47735:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;47717:89;;47817:40;47837:10;47849:7;47817:19;:40::i;:::-;47881:1;47871:7;:11;47868:424;;;47913:24;47929:7;47913:4;:11;;;:15;;:24;;;;:::i;:::-;47899:4;:11;;:38;;;;47952:12;47967:23;47986:3;47967:14;47979:1;47967:7;:11;;:14;;;;:::i;:::-;:18;;:23;;;;:::i;:::-;47952:38;;48005:18;48026:20;48042:3;48026:11;48035:1;48026:4;:8;;:11;;;;:::i;:::-;:15;;:20;;;;:::i;:::-;48005:41;;48061:7;;;;;;;;;;;:12;;;48074:10;48061:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48164:38;48181:20;48190:10;48181:4;:8;;:20;;;;:::i;:::-;48164:12;;:16;;:38;;;;:::i;:::-;48149:12;:53;;;;48217:63;48249:10;48262:17;48274:4;48262:7;:11;;:17;;;;:::i;:::-;48217:4;:10;;;;;;;;;;;;:23;;;;:63;;;;;:::i;:::-;47868:424;;;48320:50;48365:4;48320:40;48336:4;:23;;;48320:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;48302:4;:15;;:68;;;;48407:4;48395:10;48386:35;;;48413:7;48386:35;;;;;;;;;;;;;;;;;;47449:980;;;;;:::o;41002:25::-;;;;:::o;41110:30::-;;;;:::o;46002:134::-;46092:36;46101:11;46114:4;46120:7;46092:8;:36::i;:::-;46002:134;;;:::o;44286:1107::-;44338:21;44362:8;44371:4;44362:14;;;;;;;;;;;;;;;;;;44338:38;;44407:4;:20;;;44391:12;:36;44387:75;;44444:7;;;44387:75;44474:19;44569:12;;44531:4;:10;;;;;;;;;;;;:20;;;44560:4;44531:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:50;44528:197;;;44612:1;44598:15;;44528:197;;;44660:53;44700:12;;44660:4;:10;;;;;;;;;;;;:20;;;44689:4;44660:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:39;;:53;;;;:::i;:::-;44646:67;;44528:197;44756:1;44741:11;:16;44737:105;;;44797:12;44774:4;:20;;:35;;;;44824:7;;;;44737:105;44854:18;44875:49;44889:4;:20;;;44911:12;44875:13;:49::i;:::-;44854:70;;44937:21;44961:73;45018:15;;44961:52;44997:4;:15;;;44961:31;44976:15;;44961:10;:14;;:31;;;;:::i;:::-;:35;;:52;;;;:::i;:::-;:56;;:73;;;;:::i;:::-;44937:97;;45106:12;;45090:13;:28;45087:88;;;45151:12;;45135:28;;45087:88;45200:31;45217:13;45200:12;;:16;;:31;;;;:::i;:::-;45185:12;:46;;;;45270:69;45298:40;45326:11;45298:23;45316:4;45298:13;:17;;:23;;;;:::i;:::-;:27;;:40;;;;:::i;:::-;45270:4;:23;;;:27;;:69;;;;:::i;:::-;45244:4;:23;;:95;;;;45373:12;45350:4;:20;;:35;;;;44286:1107;;;;;;:::o;48811:613::-;48870:21;48894:8;48903:4;48894:14;;;;;;;;;;;;;;;;;;48870:38;;48919:21;48943:8;:14;48952:4;48943:14;;;;;;;;;;;:26;48958:10;48943:26;;;;;;;;;;;;;;;48919:50;;48980:12;48995:27;49018:3;48995:18;49011:1;48995:4;:11;;;:15;;:18;;;;:::i;:::-;:22;;:27;;;;:::i;:::-;48980:42;;49033:18;49054:20;49070:3;49054:11;49063:1;49054:4;:8;;:11;;;;:::i;:::-;:15;;:20;;;;:::i;:::-;49033:41;;49085:7;;;;;;;;;;;:12;;;49098:10;49085:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49180:38;49197:20;49206:10;49197:4;:8;;:20;;;;:::i;:::-;49180:12;;:16;;:38;;;;:::i;:::-;49165:12;:53;;;;49229:67;49261:10;49274:21;49290:4;49274;:11;;;:15;;:21;;;;:::i;:::-;49229:4;:10;;;;;;;;;;;;:23;;;;:67;;;;;:::i;:::-;49342:4;49330:10;49312:48;;;49348:4;:11;;;49312:48;;;;;;;;;;;;;;;;;;49385:1;49371:4;:11;;:15;;;;49415:1;49397:4;:15;;:19;;;;48811:613;;;;;:::o;50504:984::-;50580:7;50600:21;50624:8;50633:4;50624:14;;;;;;;;;;;;;;;;;;50600:38;;50649:21;50673:8;:14;50682:4;50673:14;;;;;;;;;;;:21;50688:5;50673:21;;;;;;;;;;;;;;;50649:45;;50705:26;50734:4;:23;;;50705:52;;50768:19;50861:12;;50823:4;:10;;;;;;;;;;;;:20;;;50852:4;50823:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:50;50820:197;;;50904:1;50890:15;;50820:197;;;50952:53;50992:12;;50952:4;:10;;;;;;;;;;;;:20;;;50981:4;50952:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:39;;:53;;;;:::i;:::-;50938:67;;50820:197;51046:4;:20;;;51031:12;:35;:55;;;;;51085:1;51070:11;:16;;51031:55;51027:370;;;51103:18;51124:49;51138:4;:20;;;51160:12;51124:13;:49::i;:::-;51103:70;;51188:21;51212:73;51269:15;;51212:52;51248:4;:15;;;51212:31;51227:15;;51212:10;:14;;:31;;;;:::i;:::-;:35;;:52;;;;:::i;:::-;:56;;:73;;;;:::i;:::-;51188:97;;51321:64;51344:40;51372:11;51344:23;51362:4;51344:13;:17;;:23;;;;:::i;:::-;:27;;:40;;;;:::i;:::-;51321:18;:22;;:64;;;;:::i;:::-;51300:85;;51027:370;;;51414:66;51464:4;:15;;;51414:45;51454:4;51414:35;51430:18;51414:4;:11;;;:15;;:35;;;;:::i;:::-;:39;;:45;;;;:::i;:::-;:49;;:66;;;;:::i;:::-;51407:73;;;;;;50504:984;;;;:::o;41194:49::-;41238:5;41194:49;:::o;44028:182::-;44073:14;44090:8;:15;;;;44073:32;;44123:11;44118:85;44146:6;44140:3;:12;44118:85;;;44176:15;44187:3;44176:10;:15::i;:::-;44154:5;;;;;44118:85;;;;44028:182;:::o;43607:338::-;21308:12;:10;:12::i;:::-;21298:22;;:6;;;;;;;;;;:22;;;21290:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43739:11:::1;43735:61;;;43767:17;:15;:17::i;:::-;43735:61;43824:63;43875:11;43824:46;43844:8;43853:4;43844:14;;;;;;;;;;;;;;;;;;:25;;;43824:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;43806:15;:81;;;;43926:11;43898:8;43907:4;43898:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;43607:338:::0;;;:::o;21728:148::-;21308:12;:10;:12::i;:::-;21298:22;;:6;;;;;;;;;;:22;;;21290:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21835:1:::1;21798:40;;21819:6;::::0;::::1;;;;;;;;21798:40;;;;;;;;;;;;21866:1;21849:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;21728:148::o:0;47242:139::-;47328:4;47357:10;:16;47368:4;47357:16;;;;;;;;;;;;;;;;;;;;;;;;;47350:23;;47242:139;;;:::o;21086:79::-;21124:7;21151:6;;;;;;;;;;;21144:13;;21086:79;:::o;45469:121::-;45541:7;45568:14;45576:5;45568:3;:7;;:14;;;;:::i;:::-;45561:21;;45469:121;;;;:::o;40751:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41416:43::-;;;;;;;;;;;;;;;;;;;;;;:::o;48491:250::-;21308:12;:10;:12::i;:::-;21298:22;;:6;;;;;;;;;;:22;;;21290:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48574:1:::1;48564:7;:11;48556:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;48605:77;48646:10;48667:4;48674:7;48612;;;;;;;;;;;48605:32;;;;:77;;;;;;:::i;:::-;48708:25;48725:7;48708:12;;:16;;:25;;;;:::i;:::-;48693:12;:40;;;;48491:250:::0;:::o;43317:191::-;21308:12;:10;:12::i;:::-;21298:22;;:6;;;;;;;;;;:22;;;21290:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43481:19:::1;43445:8;43454:4;43445:14;;;;;;;;;;;;;;;;;;:33;;:55;;;;43317:191:::0;;:::o;45662:109::-;45728:35;45737:10;45749:4;45755:7;45728:8;:35::i;:::-;45662:109;;:::o;43127:182::-;21308:12;:10;:12::i;:::-;21298:22;;:6;;;;;;;;;;:22;;;21290:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43285:16:::1;43252:8;43261:4;43252:14;;;;;;;;;;;;;;;;;;:30;;:49;;;;43127:182:::0;;:::o;22031:244::-;21308:12;:10;:12::i;:::-;21298:22;;:6;;;;;;;;;;:22;;;21290:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22140:1:::1;22120:22;;:8;:22;;;;22112:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22230:8;22201:38;;22222:6;::::0;::::1;;;;;;;;22201:38;;;;;;;;;;;;22259:8;22250:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;22031:244:::0;:::o;19625:106::-;19678:15;19713:10;19706:17;;19625:106;:::o;3749:181::-;3807:7;3827:9;3843:1;3839;:5;3827:17;;3868:1;3863;:6;;3855:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3921:1;3914:8;;;3749:181;;;;:::o;5103:471::-;5161:7;5411:1;5406;:6;5402:47;;;5436:1;5429:8;;;;5402:47;5461:9;5477:1;5473;:5;5461:17;;5506:1;5501;5497;:5;;;;;;:10;5489:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5565:1;5558:8;;;5103:471;;;;;:::o;6050:132::-;6108:7;6135:39;6139:1;6142;6135:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;6128:46;;6050:132;;;;:::o;4213:136::-;4271:7;4298:43;4302:1;4305;4298:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4291:50;;4213:136;;;;:::o;50135:299::-;50214:18;50235:7;;;;;;;;;;;:17;;;50261:4;50235:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50214:53;;50292:10;50282:7;:20;50278:149;;;50319:7;;;;;;;;;;;:16;;;50336:3;50341:10;50319:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50278:149;;;50385:7;;;;;;;;;;;:16;;;50402:3;50407:7;50385:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50278:149;50135:299;;;:::o;15909:177::-;15992:86;16012:5;16042:23;;;16067:2;16071:5;16019:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15992:19;:86::i;:::-;15909:177;;;:::o;46144:1090::-;24030:1;24636:7;;:19;;24628:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24030:1;24769:7;:18;;;;46251:27:::1;46266:11;46251:14;:27::i;:::-;46247:164;;46317:11;46295:8;:19;46304:9;;46295:19;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;46343:9;;:11;;;;;;;;;;;;;46395:4;46369:10;:23;46380:11;46369:23;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;46247:164;46421:21;46445:8;46454:4;46445:14;;;;;;;;;;;;;;;;;;46421:38;;46470:21;46494:8;:14;46503:4;46494:14;;;;;;;;;;;:27;46509:11;46494:27;;;;;;;;;;;;;;;46470:51;;46534:16;46545:4;46534:10;:16::i;:::-;46579:1;46565:4;:11;;;:15;46561:193;;;46597:15;46615:71;46670:4;:15;;;46615:50;46660:4;46615:40;46631:4;:23;;;46615:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;46597:89;;46701:41;46721:11;46734:7;46701:19;:41::i;:::-;46561:193;;46779:1;46769:7;:11;46766:295;;;46892:72;46928:10;46949:4;46956:7;46892:4;:10;;;;;;;;;;;;:27;;;;:72;;;;;;:::i;:::-;46993:24;47009:7;46993:4;:11;;;:15;;:24;;;;:::i;:::-;46979:4;:11;;:38;;;;46766:295;47091:50;47136:4;47091:40;47107:4;:23;;;47091:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;47073:4;:15;;:68;;;;47212:4;47199:11;47191:35;;;47218:7;47191:35;;;;;;;;;;;;;;;;;;24800:1;;23986::::0;24948:7;:22;;;;46144:1090;;;:::o;16094:205::-;16195:96;16215:5;16245:27;;;16274:4;16280:2;16284:5;16222:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16195:19;:96::i;:::-;16094:205;;;;:::o;6678:278::-;6764:7;6796:1;6792;:5;6799:12;6784:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6823:9;6839:1;6835;:5;;;;;;6823:17;;6947:1;6940:8;;;6678:278;;;;;:::o;4652:192::-;4738:7;4771:1;4766;:6;;4774:12;4758:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4798:9;4814:1;4810;:5;4798:17;;4835:1;4828:8;;;4652:192;;;;;:::o;18214:761::-;18638:23;18664:69;18692:4;18664:69;;;;;;;;;;;;;;;;;18672:5;18664:27;;;;:69;;;;;:::i;:::-;18638:95;;18768:1;18748:10;:17;:21;18744:224;;;18890:10;18879:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18871:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18744:224;18214:761;;;:::o;11910:195::-;12013:12;12045:52;12067:6;12075:4;12081:1;12084:12;12045:21;:52::i;:::-;12038:59;;11910:195;;;;;:::o;12962:530::-;13089:12;13147:5;13122:21;:30;;13114:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13214:18;13225:6;13214:10;:18::i;:::-;13206:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13340:12;13354:23;13381:6;:11;;13401:5;13409:4;13381:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13339:75;;;;13432:52;13450:7;13459:10;13471:12;13432:17;:52::i;:::-;13425:59;;;;12962:530;;;;;;:::o;8992:422::-;9052:4;9260:12;9371:7;9359:20;9351:28;;9405:1;9398:4;:8;9391:15;;;8992:422;;;:::o;14498:742::-;14613:12;14642:7;14638:595;;;14673:10;14666:17;;;;14638:595;14807:1;14787:10;:17;:21;14783:439;;;15050:10;15044:17;15111:15;15098:10;15094:2;15090:19;15083:44;14998:148;15193:12;15186:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14498:742;;;;;;:::o

Swarm Source

ipfs://9d8dbe729f2da521582c9444c4bb1099e76e8481106f91db7ef2538c177ccc10

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.