FTM Price: $0.42 (-2.22%)
Gas: 13 Gwei

Contract

0x4178E335bd36295FFbC250490edbB6801081D022
 

Sponsored

Transaction Hash
Method
Block
From
To
Value
Harvest760146162024-02-20 22:20:0123 secs ago1708467601IN
WigoSwap: Vault
0 FTM0.0036536715.95624154
Harvest760145102024-02-20 22:17:402 mins ago1708467460IN
WigoSwap: Vault
0 FTM0.0035517415.51109573
Harvest760144002024-02-20 22:15:225 mins ago1708467322IN
WigoSwap: Vault
0 FTM0.00352115.37683249
Harvest760143102024-02-20 22:13:057 mins ago1708467185IN
WigoSwap: Vault
0 FTM0.0032774714.3133005
Harvest760142062024-02-20 22:11:029 mins ago1708467062IN
WigoSwap: Vault
0 FTM0.003113513.59721197
Harvest760141122024-02-20 22:08:5511 mins ago1708466935IN
WigoSwap: Vault
0 FTM0.0031431413.72667868
Harvest760140102024-02-20 22:06:5113 mins ago1708466811IN
WigoSwap: Vault
0 FTM0.0032614314.24327167
Harvest760138992024-02-20 22:04:4315 mins ago1708466683IN
WigoSwap: Vault
0 FTM0.0032644614.25649364
Harvest760137922024-02-20 22:02:3817 mins ago1708466558IN
WigoSwap: Vault
0 FTM0.0032394214.2718
Deposit760137422024-02-20 22:01:2918 mins ago1708466489IN
WigoSwap: Vault
0 FTM0.0039604715.45562133
Harvest760136872024-02-20 22:00:4019 mins ago1708466440IN
WigoSwap: Vault
0 FTM0.0033044614.43115913
Harvest760135712024-02-20 21:58:3421 mins ago1708466314IN
WigoSwap: Vault
0 FTM0.0033642814.69239997
Harvest760134572024-02-20 21:56:2124 mins ago1708466181IN
WigoSwap: Vault
0 FTM0.0035406914.6924
Harvest760133362024-02-20 21:54:2026 mins ago1708466060IN
WigoSwap: Vault
0 FTM0.0034321914.98898372
Harvest760132302024-02-20 21:52:0428 mins ago1708465924IN
WigoSwap: Vault
0 FTM0.0034103414.89356006
Harvest760131162024-02-20 21:49:4730 mins ago1708465787IN
WigoSwap: Vault
0 FTM0.0034433515.03774262
Harvest760129952024-02-20 21:47:3132 mins ago1708465651IN
WigoSwap: Vault
0 FTM0.0035932615.69239997
Harvest760129052024-02-20 21:45:1135 mins ago1708465511IN
WigoSwap: Vault
0 FTM0.0035932615.69239997
Harvest760128332024-02-20 21:42:4137 mins ago1708465361IN
WigoSwap: Vault
0 FTM0.0035932615.69239997
Harvest760127682024-02-20 21:40:0940 mins ago1708465209IN
WigoSwap: Vault
0 FTM0.003617415.7978205
Harvest760127072024-02-20 21:37:3342 mins ago1708465053IN
WigoSwap: Vault
0 FTM0.0036376815.0949
Harvest760127052024-02-20 21:37:2742 mins ago1708465047IN
WigoSwap: Vault
0 FTM0.0036093115.76252305
Harvest760126522024-02-20 21:34:5145 mins ago1708464891IN
WigoSwap: Vault
0 FTM0.003617415.7978205
Harvest760125862024-02-20 21:32:1048 mins ago1708464730IN
WigoSwap: Vault
0 FTM0.0037538816.39386938
Harvest760125212024-02-20 21:29:2750 mins ago1708464567IN
WigoSwap: Vault
0 FTM0.0038683716.89386938
View all transactions

Latest 1 internal transaction

Parent Txn Hash Block From To Value
289123292022-01-24 12:54:32757 days 9 hrs ago1643028872  Contract Creation0 FTM
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WigoVault

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2022-01-24
*/

// File contracts/OpenZeppelin/math/SafeMath.sol

// SPDX-License-Identifier: MIT
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 contracts/OpenZeppelin/token/ERC20/IERC20.sol

pragma solidity >=0.4.0;

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

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

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

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

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

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

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

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

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

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

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

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

// File contracts/OpenZeppelin/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 contracts/OpenZeppelin/token/ERC20/SafeERC20.sol

pragma solidity ^0.6.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 contracts/OpenZeppelin/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 contracts/OpenZeppelin/access/Ownable.sol

pragma solidity >=0.4.0;

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File contracts/OpenZeppelin/access/Pausable.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File contracts/interfaces/IMasterFarmer.sol

pragma solidity 0.6.12;

interface IMasterFarmer {
    function deposit(uint256 _pid, uint256 _amount) external;

    function withdraw(uint256 _pid, uint256 _amount) external;

    function enterStaking(uint256 _amount) external;

    function leaveStaking(uint256 _amount) external;

    function pendingWigo(uint256 _pid, address _user)
        external
        view
        returns (uint256);

    function userInfo(uint256 _pid, address _user)
        external
        view
        returns (uint256, uint256);

    function wigoBurn(uint256 _amount) external;

    function emergencyWithdraw(uint256 _pid) external;
}

// File contracts/WigoVault.sol

pragma solidity 0.6.12;

contract WigoVault is Ownable, Pausable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    struct UserInfo {
        uint256 shares; // number of shares for a user
        uint256 lastDepositedTime; // keeps track of deposited time for potential penalty
        uint256 wigoAtLastUserAction; // keeps track of wigo deposited at the last user action
        uint256 lastUserActionTime; // keeps track of the last user action time
    }

    IERC20 public immutable token; // Wigo token
    IERC20 public immutable receiptToken; // Bank token

    IMasterFarmer public immutable masterfarmer;

    mapping(address => UserInfo) public userInfo;

    uint256 public totalShares;
    uint256 public lastHarvestedTime;
    address public admin;

    uint256 public constant MAX_PERFORMANCE_FEE = 500; // 5%
    uint256 public constant MAX_CALL_FEE = 100; // 1%
    uint256 public constant MAX_WITHDRAW_FEE = 100; // 1%
    uint256 public constant MAX_WITHDRAW_FEE_PERIOD = 72 hours; // 3 days

    uint256 public performanceFee = 200; // 2%
    uint256 public callFee = 25; // 0.25%
    uint256 public withdrawFee = 50; // 0.5%
    uint256 public withdrawFeePeriod = 72 hours; // 3 days

    event Deposit(
        address indexed sender,
        uint256 amount,
        uint256 shares,
        uint256 lastDepositedTime
    );
    event Withdraw(address indexed sender, uint256 amount, uint256 shares);
    event Harvest(
        address indexed sender,
        uint256 performanceFee,
        uint256 callFee
    );
    event SetAdmin(address indexed sender, address indexed newAdmin);
    event SetPerformanceFee(
        address indexed sender,
        uint256 indexed newPerformanceFee
    );
    event SetCallFee(address indexed sender, uint256 indexed newCallFee);
    event SetWithdrawFee(
        address indexed sender,
        uint256 indexed newWithdrawFee
    );
    event SetWithdrawFeePeriod(
        address indexed sender,
        uint256 indexed newWithdrawFeePeriod
    );
    event EmergencyWithdraw(address indexed sender);
    event Pause();
    event Unpause();

    /**
     * @notice Constructor
     * @param _token: Wigo token contract
     * @param _receiptToken: Bank token contract
     * @param _masterfarmer: MasterFarmer contract
     * @param _admin: address of the admin
     */
    constructor(
        IERC20 _token,
        IERC20 _receiptToken,
        IMasterFarmer _masterfarmer,
        address _admin
    ) public {
        token = _token;
        receiptToken = _receiptToken;
        masterfarmer = _masterfarmer;
        admin = _admin;

        // Infinite approve
        IERC20(_token).safeApprove(address(_masterfarmer), uint256(-1));
    }

    /**
     * @notice Checks if the msg.sender is the admin address
     */
    modifier onlyAdmin() {
        require(msg.sender == admin, "admin: wut?");
        _;
    }

    /**
     * @notice Checks if the msg.sender is a contract or a proxy
     */
    modifier notContract() {
        require(
            (!_isContract(msg.sender)) && (msg.sender == tx.origin),
            "contract not allowed"
        );
        _;
    }

    /**
     * @notice Deposits funds into the Wigo Vault
     * @dev Only possible when contract not paused.
     * @param _amount: number of tokens to deposit (in WIGO)
     */
    function deposit(uint256 _amount) external whenNotPaused notContract {
        require(_amount > 0, "Nothing to deposit");

        uint256 pool = balanceOf();
        token.safeTransferFrom(msg.sender, address(this), _amount);
        uint256 currentShares = 0;
        if (totalShares != 0) {
            currentShares = (_amount.mul(totalShares)).div(pool);
        } else {
            currentShares = _amount;
        }
        UserInfo storage user = userInfo[msg.sender];

        user.shares = user.shares.add(currentShares);
        user.lastDepositedTime = block.timestamp;

        totalShares = totalShares.add(currentShares);

        user.wigoAtLastUserAction = user.shares.mul(balanceOf()).div(
            totalShares
        );
        user.lastUserActionTime = block.timestamp;

        _earn();

        emit Deposit(msg.sender, _amount, currentShares, block.timestamp);
    }

    /**
     * @notice Withdraws all funds for a user
     */
    function withdrawAll() external notContract {
        withdraw(userInfo[msg.sender].shares);
    }

    /**
     * @notice Withdraws from funds from the Wigo Vault
     * @param _shares: Number of shares to withdraw
     */
    function withdraw(uint256 _shares) public notContract {
        UserInfo storage user = userInfo[msg.sender];
        require(_shares > 0, "Nothing to withdraw");
        require(_shares <= user.shares, "Withdraw amount exceeds balance");

        uint256 currentAmount = (balanceOf().mul(_shares)).div(totalShares);
        user.shares = user.shares.sub(_shares);
        totalShares = totalShares.sub(_shares);

        uint256 bal = available();
        if (bal < currentAmount) {
            uint256 balWithdraw = currentAmount.sub(bal);
            IMasterFarmer(masterfarmer).leaveStaking(balWithdraw);
            uint256 balAfter = available();
            uint256 diff = balAfter.sub(bal);
            if (diff < balWithdraw) {
                currentAmount = bal.add(diff);
            }
        }

        if (block.timestamp < user.lastDepositedTime.add(withdrawFeePeriod)) {
            uint256 currentWithdrawFee = currentAmount.mul(withdrawFee).div(
                10000
            );
            IMasterFarmer(masterfarmer).wigoBurn(currentWithdrawFee);
            currentAmount = currentAmount.sub(currentWithdrawFee);
        }

        token.safeTransfer(msg.sender, currentAmount);

        if (user.shares > 0) {
            user.wigoAtLastUserAction = user.shares.mul(balanceOf()).div(
                totalShares
            );
        } else {
            user.wigoAtLastUserAction = 0;
        }

        user.lastUserActionTime = block.timestamp;

        emit Withdraw(msg.sender, currentAmount, _shares);
    }

    /**
     * @notice Reinvests WIGO tokens into MasterFarmer
     * @dev Only possible when contract not paused.
     */
    function harvest() external notContract whenNotPaused {
        IMasterFarmer(masterfarmer).leaveStaking(0);

        uint256 bal = available();
        uint256 currentPerformanceFee = bal.mul(performanceFee).div(10000);
        IMasterFarmer(masterfarmer).wigoBurn(currentPerformanceFee);

        uint256 currentCallFee = bal.mul(callFee).div(10000);
        token.safeTransfer(msg.sender, currentCallFee);

        _earn();

        lastHarvestedTime = block.timestamp;

        emit Harvest(msg.sender, currentPerformanceFee, currentCallFee);
    }

    /**
     * @notice Sets admin address
     * @dev Only callable by the contract owner.
     */
    function setAdmin(address _admin) external onlyOwner {
        require(_admin != address(0), "Cannot be zero address");
        admin = _admin;
        emit SetAdmin(msg.sender, _admin);
    }

    /**
     * @notice Sets performance fee
     * @dev Only callable by the contract admin.
     */
    function setPerformanceFee(uint256 _performanceFee) external onlyAdmin {
        require(
            _performanceFee <= MAX_PERFORMANCE_FEE,
            "performanceFee cannot be more than MAX_PERFORMANCE_FEE"
        );
        performanceFee = _performanceFee;
        emit SetPerformanceFee(msg.sender, _performanceFee);
    }

    /**
     * @notice Sets call fee
     * @dev Only callable by the contract admin.
     */
    function setCallFee(uint256 _callFee) external onlyAdmin {
        require(
            _callFee <= MAX_CALL_FEE,
            "callFee cannot be more than MAX_CALL_FEE"
        );
        callFee = _callFee;
        emit SetCallFee(msg.sender, _callFee);
    }

    /**
     * @notice Sets withdraw fee
     * @dev Only callable by the contract admin.
     */
    function setWithdrawFee(uint256 _withdrawFee) external onlyAdmin {
        require(
            _withdrawFee <= MAX_WITHDRAW_FEE,
            "withdrawFee cannot be more than MAX_WITHDRAW_FEE"
        );
        withdrawFee = _withdrawFee;
        emit SetWithdrawFee(msg.sender, _withdrawFee);
    }

    /**
     * @notice Sets withdraw fee period
     * @dev Only callable by the contract admin.
     */
    function setWithdrawFeePeriod(uint256 _withdrawFeePeriod)
        external
        onlyAdmin
    {
        require(
            _withdrawFeePeriod <= MAX_WITHDRAW_FEE_PERIOD,
            "withdrawFeePeriod cannot be more than MAX_WITHDRAW_FEE_PERIOD"
        );
        withdrawFeePeriod = _withdrawFeePeriod;
        emit SetWithdrawFeePeriod(msg.sender, _withdrawFeePeriod);
    }

    /**
     * @notice Withdraws from MasterFarmer to Vault without caring about rewards.
     * @dev EMERGENCY ONLY. Only callable by the contract admin.
     */
    function emergencyWithdraw() external onlyAdmin {
        IMasterFarmer(masterfarmer).emergencyWithdraw(0);
        emit EmergencyWithdraw(msg.sender);
    }

    /**
     * @notice Withdraw unexpected tokens sent to the Wigo Vault
     */
    function inCaseTokensGetStuck(address _token) external onlyAdmin {
        require(
            _token != address(token),
            "Token cannot be same as deposit token"
        );
        require(
            _token != address(receiptToken),
            "Token cannot be same as receipt token"
        );

        uint256 amount = IERC20(_token).balanceOf(address(this));
        IERC20(_token).safeTransfer(msg.sender, amount);
    }

    /**
     * @notice Triggers stopped state
     * @dev Only possible when contract not paused.
     */
    function pause() external onlyAdmin whenNotPaused {
        _pause();
        emit Pause();
    }

    /**
     * @notice Returns to normal state
     * @dev Only possible when contract is paused.
     */
    function unpause() external onlyAdmin whenPaused {
        _unpause();
        emit Unpause();
    }

    /**
     * @notice Calculates the expected harvest reward from third party
     * @return Expected reward to collect in WIGO
     */
    function calculateHarvestWigoRewards() external view returns (uint256) {
        uint256 amount = IMasterFarmer(masterfarmer).pendingWigo(
            0,
            address(this)
        );
        amount = amount.add(available());
        uint256 currentCallFee = amount.mul(callFee).div(10000);

        return currentCallFee;
    }

    /**
     * @notice Calculates the total pending rewards that can be restaked
     * @return Returns total pending wigo rewards
     */
    function calculateTotalPendingWigoRewards()
        external
        view
        returns (uint256)
    {
        uint256 amount = IMasterFarmer(masterfarmer).pendingWigo(
            0,
            address(this)
        );
        amount = amount.add(available());

        return amount;
    }

    /**
     * @notice Calculates the price per share
     */
    function getPricePerFullShare() external view returns (uint256) {
        return totalShares == 0 ? 1e18 : balanceOf().mul(1e18).div(totalShares);
    }

    /**
     * @notice Custom logic for how much the vault allows to be borrowed
     * @dev The contract puts 100% of the tokens to work.
     */
    function available() public view returns (uint256) {
        return token.balanceOf(address(this));
    }

    /**
     * @notice Calculates the total underlying tokens
     * @dev It includes tokens held by the contract and held in MasterFarmer
     */
    function balanceOf() public view returns (uint256) {
        (uint256 amount, ) = IMasterFarmer(masterfarmer).userInfo(
            0,
            address(this)
        );
        return token.balanceOf(address(this)).add(amount);
    }

    /**
     * @notice Deposits tokens into MasterFarmer to earn staking rewards
     */
    function _earn() internal {
        uint256 bal = available();
        if (bal > 0) {
            IMasterFarmer(masterfarmer).enterStaking(bal);
        }
    }

    /**
     * @notice Checks if address is a contract
     * @dev It prevents contract from being targetted
     */
    function _isContract(address addr) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"contract IERC20","name":"_receiptToken","type":"address"},{"internalType":"contract IMasterFarmer","name":"_masterfarmer","type":"address"},{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastDepositedTime","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"performanceFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"callFee","type":"uint256"}],"name":"Harvest","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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"}],"name":"SetAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"newCallFee","type":"uint256"}],"name":"SetCallFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"newPerformanceFee","type":"uint256"}],"name":"SetPerformanceFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"newWithdrawFee","type":"uint256"}],"name":"SetWithdrawFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"newWithdrawFeePeriod","type":"uint256"}],"name":"SetWithdrawFeePeriod","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PERFORMANCE_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateHarvestWigoRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateTotalPendingWigoRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastHarvestedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterfarmer","outputs":[{"internalType":"contract IMasterFarmer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiptToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_callFee","type":"uint256"}],"name":"setCallFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_performanceFee","type":"uint256"}],"name":"setPerformanceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFee","type":"uint256"}],"name":"setWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFeePeriod","type":"uint256"}],"name":"setWithdrawFeePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"lastDepositedTime","type":"uint256"},{"internalType":"uint256","name":"wigoAtLastUserAction","type":"uint256"},{"internalType":"uint256","name":"lastUserActionTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60e060405260c8600555601960065560326007556203f4806008553480156200002757600080fd5b50604051620036c7380380620036c7833981810160405260808110156200004d57600080fd5b508051602082015160408301516060909301519192909160006200007062000132565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b19169055606084811b6001600160601b031990811660805284821b811660a0529083901b1660c052600480546001600160a01b0319166001600160a01b0383811691909117909155620001289085168360001962000136602090811b6200226217901c565b5050505062000549565b3390565b801580620001c0575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200019057600080fd5b505afa158015620001a5573d6000803e3d6000fd5b505050506040513d6020811015620001bc57600080fd5b5051155b620001fd5760405162461bcd60e51b8152600401808060200182810382526036815260200180620036916036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620002559185916200025a16565b505050565b6060620002b6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200031660201b620023f5179092919060201c565b8051909150156200025557808060200190516020811015620002d757600080fd5b5051620002555760405162461bcd60e51b815260040180806020018281038252602a81526020018062003667602a913960400191505060405180910390fd5b606062000327848460008562000331565b90505b9392505050565b606082471015620003745760405162461bcd60e51b8152600401808060200182810382526026815260200180620036416026913960400191505060405180910390fd5b6200037f8562000499565b620003d1576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620004125780518252601f199092019160209182019101620003f1565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000476576040519150601f19603f3d011682016040523d82523d6000602084013e6200047b565b606091505b5090925090506200048e8282866200049f565b979650505050505050565b3b151590565b60608315620004b05750816200032a565b825115620004c15782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200050d578181015183820152602001620004f3565b50505050905090810190601f1680156200053b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60805160601c60a05160601c60c05160601c613072620005cf6000398061096d5280610a625280610bbd5280610e075280610ebe52806110b1528061154552806118f55280611e125280612717525080611ff65280612163525080610b1c5280610f805280610ff6528061164d5280611c865280611f51528061224052506130726000f3fe608060405234801561001057600080fd5b50600436106102775760003560e01c80638456cb5911610160578063bdca9165116100d8578063e941fa781161008c578063f2fde38b11610071578063f2fde38b146104fa578063f851a4401461052d578063fc0c546a1461053557610277565b8063e941fa78146104ea578063ec78e832146104f257610277565b8063db2e21bc116100bd578063db2e21bc146104a7578063def68a9c146104af578063df10b4e6146104e257610277565b8063bdca91651461049f578063d4b0de2f1461031157610277565b806390321e1a1161012f578063b60f053111610114578063b60f05311461045d578063b6ac642a14610465578063b6b55f251461048257610277565b806390321e1a1461044d578063a8161b0d1461045557610277565b80638456cb591461042d578063853828b614610435578063877887821461043d5780638da5cb5b1461044557610277565b80634641257d116101f3578063704b6c02116101c2578063715018a6116101a7578063715018a614610415578063722713f71461041d57806377c7b8fc1461042557610277565b8063704b6c02146103c557806370897b23146103f857610277565b80634641257d1461039157806348a0d7541461039957806356e5422c146103a15780635c975abb146103a957610277565b80632cfc5f011161024a5780633366c9581161022f5780633366c958146103505780633a98ef39146103815780633f4ba83a1461038957610277565b80632cfc5f011461032b5780632e1a7d4d1461033357610277565b80631959a0021461027c5780631efac1b8146102d557806326465826146102f45780632ad5a53f14610311575b600080fd5b6102af6004803603602081101561029257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661053d565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6102f2600480360360208110156102eb57600080fd5b5035610565565b005b6102f26004803603602081101561030a57600080fd5b503561067c565b610319610791565b60408051918252519081900360200190f35b610319610796565b6102f26004803603602081101561034957600080fd5b503561079d565b610358610bbb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610319610bdf565b6102f2610be5565b6102f2610d11565b610319610ff2565b6103196110ac565b6103b1611185565b604080519115158252519081900360200190f35b6102f2600480360360208110156103db57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111a6565b6102f26004803603602081101561040e57600080fd5b503561132a565b6102f2611440565b610319611540565b6103196116c6565b6102f2611700565b6102f261182d565b6103196118c8565b6103586118ce565b6103196118ea565b6103196118f0565b6103196119e2565b6102f26004803603602081101561047b57600080fd5b50356119e8565b6102f26004803603602081101561049857600080fd5b5035611afd565b610319611d84565b6102f2611d8a565b6102f2600480360360208110156104c557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611ec9565b610319612155565b61031961215b565b610358612161565b6102f26004803603602081101561051057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612185565b610358612222565b61035861223e565b6001602081905260009182526040909120805491810154600282015460039092015490919084565b60045473ffffffffffffffffffffffffffffffffffffffff1633146105eb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6203f480811115610647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180612f70603d913960400191505060405180910390fd5b6008819055604051819033907f09bc56a0b34f9c96ff22266865ea8787882d489aa5f292824f37e3efd6152a1490600090a350565b60045473ffffffffffffffffffffffffffffffffffffffff16331461070257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b606481111561075c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180612ef16028913960400191505060405180910390fd5b6006819055604051819033907f698c93a82dc94735c7d8cf6bcf7effa7efb1bfd68df7bcff8a42f1552c9a1bd990600090a350565b606481565b6203f48081565b6107a63361240e565b1580156107b257503332145b61081d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f636f6e7472616374206e6f7420616c6c6f776564000000000000000000000000604482015290519081900360640190fd5b3360009081526001602052604090208161089857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7468696e6720746f20776974686472617700000000000000000000000000604482015290519081900360640190fd5b805482111561090857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015290519081900360640190fd5b60006109286002546109228561091c611540565b90612414565b90612490565b825490915061093790846124d2565b825560025461094690846124d2565b6002556000610953610ff2565b905081811015610a2957600061096983836124d2565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631058d281826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156109de57600080fd5b505af11580156109f2573d6000803e3d6000fd5b505050506000610a00610ff2565b90506000610a0e82856124d2565b905082811015610a2557610a228482612514565b94505b5050505b6008546001840154610a3a91612514565b421015610b02576000610a5e6127106109226007548661241490919063ffffffff16565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663afe87e01826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ad357600080fd5b505af1158015610ae7573d6000803e3d6000fd5b50505050610afe81846124d290919063ffffffff16565b9250505b610b4373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163384612588565b825415610b6d57610b63600254610922610b5b611540565b865490612414565b6002840155610b75565b600060028401555b4260038401556040805183815260208101869052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a250505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60025481565b60045473ffffffffffffffffffffffffffffffffffffffff163314610c6b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b610c73611185565b610cde57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b610ce6612615565b6040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b610d1a3361240e565b158015610d2657503332145b610d9157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f636f6e7472616374206e6f7420616c6c6f776564000000000000000000000000604482015290519081900360640190fd5b610d99611185565b15610e0557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631058d28160006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610e7957600080fd5b505af1158015610e8d573d6000803e3d6000fd5b505050506000610e9b610ff2565b90506000610eba6127106109226005548561241490919063ffffffff16565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663afe87e01826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610f2f57600080fd5b505af1158015610f43573d6000803e3d6000fd5b505050506000610f646127106109226006548661241490919063ffffffff16565b9050610fa773ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163383612588565b610faf612703565b426003556040805183815260208101839052815133927f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954928290030190a2505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561107b57600080fd5b505afa15801561108f573d6000803e3d6000fd5b505050506040513d60208110156110a557600080fd5b5051905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663503e4ded6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561113f57600080fd5b505afa158015611153573d6000803e3d6000fd5b505050506040513d602081101561116957600080fd5b5051905061117f611178610ff2565b8290612514565b91505090565b60005474010000000000000000000000000000000000000000900460ff1690565b6111ae6127a3565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461123757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166112b957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f74206265207a65726f206164647265737300000000000000000000604482015290519081900360640190fd5b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f848ac24ab84501710d6631faab117b66b79aba7ec6f7778cf3bcff428c1a4efc90600090a350565b60045473ffffffffffffffffffffffffffffffffffffffff1633146113b057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6101f481111561140b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180612f196036913960400191505060405180910390fd5b6005819055604051819033907f78ce49a0d545bd1f46693f4c38f239f53c234f46e8f697b4d62b2f538ba31c9690600090a350565b6114486127a3565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146114d157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166393f1a40b6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b1580156115d257600080fd5b505afa1580156115e6573d6000803e3d6000fd5b505050506040513d60408110156115fc57600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925061117f91839173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b15801561169457600080fd5b505afa1580156116a8573d6000803e3d6000fd5b505050506040513d60208110156116be57600080fd5b505190612514565b60006002546000146116f1576116ec600254610922670de0b6b3a764000061091c611540565b6116fb565b670de0b6b3a76400005b905090565b60045473ffffffffffffffffffffffffffffffffffffffff16331461178657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b61178e611185565b156117fa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6118026127a7565b6040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6118363361240e565b15801561184257503332145b6118ad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f636f6e7472616374206e6f7420616c6c6f776564000000000000000000000000604482015290519081900360640190fd5b336000908152600160205260409020546118c69061079d565b565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60065481565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663503e4ded6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561198357600080fd5b505afa158015611997573d6000803e3d6000fd5b505050506040513d60208110156119ad57600080fd5b505190506119bc611178610ff2565b905060006119db6127106109226006548561241490919063ffffffff16565b9250505090565b60035481565b60045473ffffffffffffffffffffffffffffffffffffffff163314611a6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6064811115611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180612fd76030913960400191505060405180910390fd5b6007819055604051819033907f96d5b2cb815e5d31464fca16af36a6625a9d29b7ce1ceb91067735eaaa76f7ec90600090a350565b611b05611185565b15611b7157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b611b7a3361240e565b158015611b8657503332145b611bf157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f636f6e7472616374206e6f7420616c6c6f776564000000000000000000000000604482015290519081900360640190fd5b60008111611c6057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4e6f7468696e6720746f206465706f7369740000000000000000000000000000604482015290519081900360640190fd5b6000611c6a611540565b9050611cae73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016333085612883565b6000600254600014611cda57611cd3826109226002548661241490919063ffffffff16565b9050611cdd565b50815b3360009081526001602052604090208054611cf89083612514565b8155426001820155600254611d0d9083612514565b6002819055611d2990610922611d21611540565b845490612414565b6002820155426003820155611d3c612703565b60408051858152602081018490524281830152905133917f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e919081900360600190a250505050565b6101f481565b60045473ffffffffffffffffffffffffffffffffffffffff163314611e1057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635312ea8e60006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611e8457600080fd5b505af1158015611e98573d6000803e3d6000fd5b50506040513392507f5e7b34819cd91b239220bec92fcfd3c10da2214ba13e4e2b1f6c9cfdbd68a9a29150600090a2565b60045473ffffffffffffffffffffffffffffffffffffffff163314611f4f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612e816025913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612099576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612ecc6025913960400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561210257600080fd5b505afa158015612116573d6000803e3d6000fd5b505050506040513d602081101561212c57600080fd5b5051905061215173ffffffffffffffffffffffffffffffffffffffff83163383612588565b5050565b60085481565b60075481565b7f000000000000000000000000000000000000000000000000000000000000000081565b61218d6127a3565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461221657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61221f8161291e565b50565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b80158061230e5750604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156122e057600080fd5b505afa1580156122f4573d6000803e3d6000fd5b505050506040513d602081101561230a57600080fd5b5051155b612363576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806130076036913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b3000000000000000000000000000000000000000000000000000000001790526123f0908490612a17565b505050565b60606124048484600085612aef565b90505b9392505050565b3b151590565b6000826124235750600061248a565b8282028284828161243057fe5b0414612487576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f4f6021913960400191505060405180910390fd5b90505b92915050565b600061248783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612caa565b600061248783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d66565b60008282018381101561248757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526123f0908490612a17565b61261d611185565b61268857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126d96127a3565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a1565b600061270d610ff2565b9050801561221f577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166341441d3b826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561278857600080fd5b505af115801561279c573d6000803e3d6000fd5b5050505050565b3390565b6127af611185565b1561281b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126d96127a3565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052612918908590612a17565b50505050565b73ffffffffffffffffffffffffffffffffffffffff811661298a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612e5b6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6060612a79826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123f59092919063ffffffff16565b8051909150156123f057808060200190516020811015612a9857600080fd5b50516123f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612fad602a913960400191505060405180910390fd5b606082471015612b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612ea66026913960400191505060405180910390fd5b612b538561240e565b612bbe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612c2857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612beb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612c8a576040519150601f19603f3d011682016040523d82523d6000602084013e612c8f565b606091505b5091509150612c9f828286612dda565b979650505050505050565b60008183612d50576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d15578181015183820152602001612cfd565b50505050905090810190601f168015612d425780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612d5c57fe5b0495945050505050565b60008184841115612dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152835160248401528351909283926044909101919085019080838360008315612d15578181015183820152602001612cfd565b505050900390565b60608315612de9575081612407565b825115612df95782518084602001fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152845160248401528451859391928392604401919085019080838360008315612d15578181015183820152602001612cfd56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e2063616e6e6f742062652073616d65206173206465706f73697420746f6b656e416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c546f6b656e2063616e6e6f742062652073616d65206173207265636569707420746f6b656e63616c6c4665652063616e6e6f74206265206d6f7265207468616e204d41585f43414c4c5f464545706572666f726d616e63654665652063616e6e6f74206265206d6f7265207468616e204d41585f504552464f524d414e43455f464545536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777769746864726177466565506572696f642063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455f504552494f445361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656477697468647261774665652063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122065a7c64d8d03cf70271075c7db783f93a1ad58a7f03aae02b8232e1aaefe77c264736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd6000000000000000000000000b9bbe9355828a1ad0e2d605480f969c6903ad9e4000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e900000000000000000000000061e468f685392948504da7a49463fd508ec1e2cd

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102775760003560e01c80638456cb5911610160578063bdca9165116100d8578063e941fa781161008c578063f2fde38b11610071578063f2fde38b146104fa578063f851a4401461052d578063fc0c546a1461053557610277565b8063e941fa78146104ea578063ec78e832146104f257610277565b8063db2e21bc116100bd578063db2e21bc146104a7578063def68a9c146104af578063df10b4e6146104e257610277565b8063bdca91651461049f578063d4b0de2f1461031157610277565b806390321e1a1161012f578063b60f053111610114578063b60f05311461045d578063b6ac642a14610465578063b6b55f251461048257610277565b806390321e1a1461044d578063a8161b0d1461045557610277565b80638456cb591461042d578063853828b614610435578063877887821461043d5780638da5cb5b1461044557610277565b80634641257d116101f3578063704b6c02116101c2578063715018a6116101a7578063715018a614610415578063722713f71461041d57806377c7b8fc1461042557610277565b8063704b6c02146103c557806370897b23146103f857610277565b80634641257d1461039157806348a0d7541461039957806356e5422c146103a15780635c975abb146103a957610277565b80632cfc5f011161024a5780633366c9581161022f5780633366c958146103505780633a98ef39146103815780633f4ba83a1461038957610277565b80632cfc5f011461032b5780632e1a7d4d1461033357610277565b80631959a0021461027c5780631efac1b8146102d557806326465826146102f45780632ad5a53f14610311575b600080fd5b6102af6004803603602081101561029257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661053d565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6102f2600480360360208110156102eb57600080fd5b5035610565565b005b6102f26004803603602081101561030a57600080fd5b503561067c565b610319610791565b60408051918252519081900360200190f35b610319610796565b6102f26004803603602081101561034957600080fd5b503561079d565b610358610bbb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610319610bdf565b6102f2610be5565b6102f2610d11565b610319610ff2565b6103196110ac565b6103b1611185565b604080519115158252519081900360200190f35b6102f2600480360360208110156103db57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111a6565b6102f26004803603602081101561040e57600080fd5b503561132a565b6102f2611440565b610319611540565b6103196116c6565b6102f2611700565b6102f261182d565b6103196118c8565b6103586118ce565b6103196118ea565b6103196118f0565b6103196119e2565b6102f26004803603602081101561047b57600080fd5b50356119e8565b6102f26004803603602081101561049857600080fd5b5035611afd565b610319611d84565b6102f2611d8a565b6102f2600480360360208110156104c557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611ec9565b610319612155565b61031961215b565b610358612161565b6102f26004803603602081101561051057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612185565b610358612222565b61035861223e565b6001602081905260009182526040909120805491810154600282015460039092015490919084565b60045473ffffffffffffffffffffffffffffffffffffffff1633146105eb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6203f480811115610647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180612f70603d913960400191505060405180910390fd5b6008819055604051819033907f09bc56a0b34f9c96ff22266865ea8787882d489aa5f292824f37e3efd6152a1490600090a350565b60045473ffffffffffffffffffffffffffffffffffffffff16331461070257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b606481111561075c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180612ef16028913960400191505060405180910390fd5b6006819055604051819033907f698c93a82dc94735c7d8cf6bcf7effa7efb1bfd68df7bcff8a42f1552c9a1bd990600090a350565b606481565b6203f48081565b6107a63361240e565b1580156107b257503332145b61081d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f636f6e7472616374206e6f7420616c6c6f776564000000000000000000000000604482015290519081900360640190fd5b3360009081526001602052604090208161089857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7468696e6720746f20776974686472617700000000000000000000000000604482015290519081900360640190fd5b805482111561090857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015290519081900360640190fd5b60006109286002546109228561091c611540565b90612414565b90612490565b825490915061093790846124d2565b825560025461094690846124d2565b6002556000610953610ff2565b905081811015610a2957600061096983836124d2565b90507f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e973ffffffffffffffffffffffffffffffffffffffff16631058d281826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156109de57600080fd5b505af11580156109f2573d6000803e3d6000fd5b505050506000610a00610ff2565b90506000610a0e82856124d2565b905082811015610a2557610a228482612514565b94505b5050505b6008546001840154610a3a91612514565b421015610b02576000610a5e6127106109226007548661241490919063ffffffff16565b90507f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e973ffffffffffffffffffffffffffffffffffffffff1663afe87e01826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ad357600080fd5b505af1158015610ae7573d6000803e3d6000fd5b50505050610afe81846124d290919063ffffffff16565b9250505b610b4373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd6163384612588565b825415610b6d57610b63600254610922610b5b611540565b865490612414565b6002840155610b75565b600060028401555b4260038401556040805183815260208101869052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a250505050565b7f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e981565b60025481565b60045473ffffffffffffffffffffffffffffffffffffffff163314610c6b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b610c73611185565b610cde57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b610ce6612615565b6040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b610d1a3361240e565b158015610d2657503332145b610d9157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f636f6e7472616374206e6f7420616c6c6f776564000000000000000000000000604482015290519081900360640190fd5b610d99611185565b15610e0557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e973ffffffffffffffffffffffffffffffffffffffff16631058d28160006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610e7957600080fd5b505af1158015610e8d573d6000803e3d6000fd5b505050506000610e9b610ff2565b90506000610eba6127106109226005548561241490919063ffffffff16565b90507f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e973ffffffffffffffffffffffffffffffffffffffff1663afe87e01826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610f2f57600080fd5b505af1158015610f43573d6000803e3d6000fd5b505050506000610f646127106109226006548661241490919063ffffffff16565b9050610fa773ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd6163383612588565b610faf612703565b426003556040805183815260208101839052815133927f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954928290030190a2505050565b60007f000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561107b57600080fd5b505afa15801561108f573d6000803e3d6000fd5b505050506040513d60208110156110a557600080fd5b5051905090565b6000807f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e973ffffffffffffffffffffffffffffffffffffffff1663503e4ded6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561113f57600080fd5b505afa158015611153573d6000803e3d6000fd5b505050506040513d602081101561116957600080fd5b5051905061117f611178610ff2565b8290612514565b91505090565b60005474010000000000000000000000000000000000000000900460ff1690565b6111ae6127a3565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461123757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166112b957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f74206265207a65726f206164647265737300000000000000000000604482015290519081900360640190fd5b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907f848ac24ab84501710d6631faab117b66b79aba7ec6f7778cf3bcff428c1a4efc90600090a350565b60045473ffffffffffffffffffffffffffffffffffffffff1633146113b057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6101f481111561140b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180612f196036913960400191505060405180910390fd5b6005819055604051819033907f78ce49a0d545bd1f46693f4c38f239f53c234f46e8f697b4d62b2f538ba31c9690600090a350565b6114486127a3565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146114d157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000807f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e973ffffffffffffffffffffffffffffffffffffffff166393f1a40b6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b1580156115d257600080fd5b505afa1580156115e6573d6000803e3d6000fd5b505050506040513d60408110156115fc57600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925061117f91839173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd616916370a0823191602480820192602092909190829003018186803b15801561169457600080fd5b505afa1580156116a8573d6000803e3d6000fd5b505050506040513d60208110156116be57600080fd5b505190612514565b60006002546000146116f1576116ec600254610922670de0b6b3a764000061091c611540565b6116fb565b670de0b6b3a76400005b905090565b60045473ffffffffffffffffffffffffffffffffffffffff16331461178657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b61178e611185565b156117fa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6118026127a7565b6040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6118363361240e565b15801561184257503332145b6118ad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f636f6e7472616374206e6f7420616c6c6f776564000000000000000000000000604482015290519081900360640190fd5b336000908152600160205260409020546118c69061079d565b565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60065481565b6000807f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e973ffffffffffffffffffffffffffffffffffffffff1663503e4ded6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561198357600080fd5b505afa158015611997573d6000803e3d6000fd5b505050506040513d60208110156119ad57600080fd5b505190506119bc611178610ff2565b905060006119db6127106109226006548561241490919063ffffffff16565b9250505090565b60035481565b60045473ffffffffffffffffffffffffffffffffffffffff163314611a6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6064811115611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180612fd76030913960400191505060405180910390fd5b6007819055604051819033907f96d5b2cb815e5d31464fca16af36a6625a9d29b7ce1ceb91067735eaaa76f7ec90600090a350565b611b05611185565b15611b7157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b611b7a3361240e565b158015611b8657503332145b611bf157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f636f6e7472616374206e6f7420616c6c6f776564000000000000000000000000604482015290519081900360640190fd5b60008111611c6057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4e6f7468696e6720746f206465706f7369740000000000000000000000000000604482015290519081900360640190fd5b6000611c6a611540565b9050611cae73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd616333085612883565b6000600254600014611cda57611cd3826109226002548661241490919063ffffffff16565b9050611cdd565b50815b3360009081526001602052604090208054611cf89083612514565b8155426001820155600254611d0d9083612514565b6002819055611d2990610922611d21611540565b845490612414565b6002820155426003820155611d3c612703565b60408051858152602081018490524281830152905133917f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e919081900360600190a250505050565b6101f481565b60045473ffffffffffffffffffffffffffffffffffffffff163314611e1057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e973ffffffffffffffffffffffffffffffffffffffff16635312ea8e60006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611e8457600080fd5b505af1158015611e98573d6000803e3d6000fd5b50506040513392507f5e7b34819cd91b239220bec92fcfd3c10da2214ba13e4e2b1f6c9cfdbd68a9a29150600090a2565b60045473ffffffffffffffffffffffffffffffffffffffff163314611f4f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015290519081900360640190fd5b7f000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612e816025913960400191505060405180910390fd5b7f000000000000000000000000b9bbe9355828a1ad0e2d605480f969c6903ad9e473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612099576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612ecc6025913960400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561210257600080fd5b505afa158015612116573d6000803e3d6000fd5b505050506040513d602081101561212c57600080fd5b5051905061215173ffffffffffffffffffffffffffffffffffffffff83163383612588565b5050565b60085481565b60075481565b7f000000000000000000000000b9bbe9355828a1ad0e2d605480f969c6903ad9e481565b61218d6127a3565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461221657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61221f8161291e565b50565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd681565b80158061230e5750604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156122e057600080fd5b505afa1580156122f4573d6000803e3d6000fd5b505050506040513d602081101561230a57600080fd5b5051155b612363576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806130076036913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b3000000000000000000000000000000000000000000000000000000001790526123f0908490612a17565b505050565b60606124048484600085612aef565b90505b9392505050565b3b151590565b6000826124235750600061248a565b8282028284828161243057fe5b0414612487576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f4f6021913960400191505060405180910390fd5b90505b92915050565b600061248783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612caa565b600061248783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d66565b60008282018381101561248757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526123f0908490612a17565b61261d611185565b61268857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126d96127a3565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a1565b600061270d610ff2565b9050801561221f577f000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e973ffffffffffffffffffffffffffffffffffffffff166341441d3b826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561278857600080fd5b505af115801561279c573d6000803e3d6000fd5b5050505050565b3390565b6127af611185565b1561281b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126d96127a3565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052612918908590612a17565b50505050565b73ffffffffffffffffffffffffffffffffffffffff811661298a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612e5b6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6060612a79826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123f59092919063ffffffff16565b8051909150156123f057808060200190516020811015612a9857600080fd5b50516123f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612fad602a913960400191505060405180910390fd5b606082471015612b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612ea66026913960400191505060405180910390fd5b612b538561240e565b612bbe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612c2857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612beb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612c8a576040519150601f19603f3d011682016040523d82523d6000602084013e612c8f565b606091505b5091509150612c9f828286612dda565b979650505050505050565b60008183612d50576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d15578181015183820152602001612cfd565b50505050905090810190601f168015612d425780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612d5c57fe5b0495945050505050565b60008184841115612dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152835160248401528351909283926044909101919085019080838360008315612d15578181015183820152602001612cfd565b505050900390565b60608315612de9575081612407565b825115612df95782518084602001fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152845160248401528451859391928392604401919085019080838360008315612d15578181015183820152602001612cfd56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e2063616e6e6f742062652073616d65206173206465706f73697420746f6b656e416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c546f6b656e2063616e6e6f742062652073616d65206173207265636569707420746f6b656e63616c6c4665652063616e6e6f74206265206d6f7265207468616e204d41585f43414c4c5f464545706572666f726d616e63654665652063616e6e6f74206265206d6f7265207468616e204d41585f504552464f524d414e43455f464545536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777769746864726177466565506572696f642063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455f504552494f445361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656477697468647261774665652063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122065a7c64d8d03cf70271075c7db783f93a1ad58a7f03aae02b8232e1aaefe77c264736f6c634300060c0033

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

000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd6000000000000000000000000b9bbe9355828a1ad0e2d605480f969c6903ad9e4000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e900000000000000000000000061e468f685392948504da7a49463fd508ec1e2cd

-----Decoded View---------------
Arg [0] : _token (address): 0xE992bEAb6659BFF447893641A378FbbF031C5bD6
Arg [1] : _receiptToken (address): 0xB9bBe9355828A1aD0e2d605480f969c6903Ad9e4
Arg [2] : _masterfarmer (address): 0xA1a938855735C0651A6CfE2E93a32A28A236d0E9
Arg [3] : _admin (address): 0x61e468f685392948504DA7a49463fd508Ec1E2cd

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000e992beab6659bff447893641a378fbbf031c5bd6
Arg [1] : 000000000000000000000000b9bbe9355828a1ad0e2d605480f969c6903ad9e4
Arg [2] : 000000000000000000000000a1a938855735c0651a6cfe2e93a32a28a236d0e9
Arg [3] : 00000000000000000000000061e468f685392948504da7a49463fd508ec1e2cd


Deployed Bytecode Sourcemap

27361:12752:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27993:44;;;;;;;;;;;;;;;;-1:-1:-1;27993:44:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35971:392;;;;;;;;;;;;;;;;-1:-1:-1;35971:392:0;;:::i;:::-;;35170:267;;;;;;;;;;;;;;;;-1:-1:-1;35170:267:0;;:::i;28209:42::-;;;:::i;:::-;;;;;;;;;;;;;;;;28323:58;;;:::i;32023:1582::-;;;;;;;;;;;;;;;;-1:-1:-1;32023:1582:0;;:::i;27941:43::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28046:26;;;:::i;37577:103::-;;;:::i;33740:567::-;;;:::i;39017:107::-;;;:::i;38324:307::-;;;:::i;25413:86::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;34418:196;;;;;;;;;;;;;;;;-1:-1:-1;34418:196:0;;;;:::i;34727:337::-;;;;;;;;;;;;;;;;-1:-1:-1;34727:337:0;;:::i;23549:140::-;;;:::i;39283:242::-;;;:::i;38704:154::-;;;:::i;37359:100::-;;;:::i;31787:::-;;;:::i;28400:35::-;;;:::i;22907:79::-;;;:::i;28448:27::-;;;:::i;37829:344::-;;;:::i;28079:32::-;;;:::i;35547:307::-;;;;;;;;;;;;;;;;-1:-1:-1;35547:307:0;;:::i;30793:921::-;;;;;;;;;;;;;;;;-1:-1:-1;30793:921:0;;:::i;28147:49::-;;;:::i;36538:160::-;;;:::i;36790:451::-;;;;;;;;;;;;;;;;-1:-1:-1;36790:451:0;;;;:::i;28537:43::-;;;:::i;28491:31::-;;;:::i;27882:36::-;;;:::i;23844:109::-;;;;;;;;;;;;;;;;-1:-1:-1;23844:109:0;;;;:::i;28118:20::-;;;:::i;27832:29::-;;;:::i;27993:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;35971:392::-;30289:5;;;;30275:10;:19;30267:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28373:8:::1;36104:18;:45;;36082:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36249:17;:38:::0;;;36303:52:::1;::::0;36269:18;;36324:10:::1;::::0;36303:52:::1;::::0;;;::::1;35971:392:::0;:::o;35170:267::-;30289:5;;;;30275:10;:19;30267:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28248:3:::1;35260:8;:24;;35238:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35363:7;:18:::0;;;35397:32:::1;::::0;35373:8;;35408:10:::1;::::0;35397:32:::1;::::0;;;::::1;35170:267:::0;:::o;28209:42::-;28248:3;28209:42;:::o;28323:58::-;28373:8;28323:58;:::o;32023:1582::-;30480:23;30492:10;30480:11;:23::i;:::-;30479:24;30478:55;;;;-1:-1:-1;30509:10:0;30523:9;30509:23;30478:55;30456:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32121:10:::1;32088:21;32112:20:::0;;;:8:::1;:20;::::0;;;;32151:11;32143:43:::1;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;32216:11:::0;;32205:22;::::1;;32197:66;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;32276:21;32300:43;32331:11;;32301:24;32317:7;32301:11;:9;:11::i;:::-;:15:::0;::::1;:24::i;:::-;32300:30:::0;::::1;:43::i;:::-;32368:11:::0;;32276:67;;-1:-1:-1;32368:24:0::1;::::0;32384:7;32368:15:::1;:24::i;:::-;32354:38:::0;;32417:11:::1;::::0;:24:::1;::::0;32433:7;32417:15:::1;:24::i;:::-;32403:11;:38:::0;32454:11:::1;32468;:9;:11::i;:::-;32454:25;;32500:13;32494:3;:19;32490:358;;;32530:19;32552:22;:13:::0;32570:3;32552:17:::1;:22::i;:::-;32530:44;;32603:12;32589:40;;;32630:11;32589:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;32657:16;32676:11;:9;:11::i;:::-;32657:30:::0;-1:-1:-1;32702:12:0::1;32717:17;32657:30:::0;32730:3;32717:12:::1;:17::i;:::-;32702:32;;32760:11;32753:4;:18;32749:88;;;32808:13;:3:::0;32816:4;32808:7:::1;:13::i;:::-;32792:29;;32749:88;32490:358;;;;32909:17;::::0;32882:22:::1;::::0;::::1;::::0;:45:::1;::::0;:26:::1;:45::i;:::-;32864:15;:63;32860:337;;;32944:26;32973:73;33026:5;32973:30;32991:11;;32973:13;:17;;:30;;;;:::i;:73::-;32944:102;;33075:12;33061:36;;;33098:18;33061:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;33148:37;33166:18;33148:13;:17;;:37;;;;:::i;:::-;33132:53;;32860:337;;33209:45;:18;:5;:18;33228:10;33240:13:::0;33209:18:::1;:45::i;:::-;33271:11:::0;;:15;33267:215:::1;;33331:77;33382:11;;33331:28;33347:11;:9;:11::i;:::-;33331::::0;;;:15:::1;:28::i;:77::-;33303:25;::::0;::::1;:105:::0;33267:215:::1;;;33469:1;33441:25;::::0;::::1;:29:::0;33267:215:::1;33520:15;33494:23;::::0;::::1;:41:::0;33553:44:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;33562:10:::1;::::0;33553:44:::1;::::0;;;;;;::::1;30592:1;;;32023:1582:::0;:::o;27941:43::-;;;:::o;28046:26::-;;;;:::o;37577:103::-;30289:5;;;;30275:10;:19;30267:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26016:8:::1;:6;:8::i;:::-;26008:41;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;37637:10:::2;:8;:10::i;:::-;37663:9;::::0;::::2;::::0;;;::::2;37577:103::o:0;33740:567::-;30480:23;30492:10;30480:11;:23::i;:::-;30479:24;30478:55;;;;-1:-1:-1;30509:10:0;30523:9;30509:23;30478:55;30456:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25739:8:::1;:6;:8::i;:::-;25738:9;25730:38;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;33819:12:::2;33805:40;;;33846:1;33805:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;33861:11;33875;:9;:11::i;:::-;33861:25;;33897:29;33929:34;33957:5;33929:23;33937:14;;33929:3;:7;;:23;;;;:::i;:34::-;33897:66;;33988:12;33974:36;;;34011:21;33974:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;34046:22;34071:27;34092:5;34071:16;34079:7;;34071:3;:7;;:16;;;;:::i;:27::-;34046:52:::0;-1:-1:-1;34109:46:0::2;:18;:5;:18;34128:10;34046:52:::0;34109:18:::2;:46::i;:::-;34168:7;:5;:7::i;:::-;34208:15;34188:17;:35:::0;34241:58:::2;::::0;;;;;::::2;::::0;::::2;::::0;;;;;34249:10:::2;::::0;34241:58:::2;::::0;;;;;;::::2;25779:1;;;33740:567::o:0;39017:107::-;39059:7;39086:5;:15;;;39110:4;39086:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39086:30:0;;-1:-1:-1;39017:107:0;:::o;38324:307::-;38418:7;38443:14;38474:12;38460:39;;;38514:1;38538:4;38460:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38460:94:0;;-1:-1:-1;38574:23:0;38585:11;:9;:11::i;:::-;38574:6;;:10;:23::i;:::-;38565:32;-1:-1:-1;;38324:307:0;:::o;25413:86::-;25460:4;25484:7;;;;;;;25413:86::o;34418:196::-;23129:12;:10;:12::i;:::-;23119:6;;:22;:6;;;:22;;;23111:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34490:20:::1;::::0;::::1;34482:55;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;34548:5;:14:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;34578:28:::1;::::0;34587:10:::1;::::0;34578:28:::1;::::0;-1:-1:-1;;34578:28:0::1;34418:196:::0;:::o;34727:337::-;30289:5;;;;30275:10;:19;30267:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28193:3:::1;34831:15;:38;;34809:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34962:14;:32:::0;;;35010:46:::1;::::0;34979:15;;35028:10:::1;::::0;35010:46:::1;::::0;;;::::1;34727:337:::0;:::o;23549:140::-;23129:12;:10;:12::i;:::-;23119:6;;:22;:6;;;:22;;;23111:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23648:1:::1;23632:6:::0;;23611:40:::1;::::0;::::1;23632:6:::0;;::::1;::::0;23611:40:::1;::::0;23648:1;;23611:40:::1;23679:1;23662:19:::0;;;::::1;::::0;;23549:140::o;39283:242::-;39325:7;39346:14;39380:12;39366:36;;;39417:1;39441:4;39366:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39366:91:0;;39475:30;;;;;39499:4;39475:30;;;;;;39366:91;;-1:-1:-1;39475:42:0;;39366:91;;39475:15;:5;:15;;;;:30;;;;;39366:91;;39475:30;;;;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39475:30:0;;:34;:42::i;38704:154::-;38759:7;38786:11;;38801:1;38786:16;:64;;38812:38;38838:11;;38812:21;38828:4;38812:11;:9;:11::i;:38::-;38786:64;;;38805:4;38786:64;38779:71;;38704:154;:::o;37359:100::-;30289:5;;;;30275:10;:19;30267:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25739:8:::1;:6;:8::i;:::-;25738:9;25730:38;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;37420:8:::2;:6;:8::i;:::-;37444:7;::::0;::::2;::::0;;;::::2;37359:100::o:0;31787:::-;30480:23;30492:10;30480:11;:23::i;:::-;30479:24;30478:55;;;;-1:-1:-1;30509:10:0;30523:9;30509:23;30478:55;30456:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31860:10:::1;31851:20;::::0;;;:8:::1;:20;::::0;;;;:27;31842:37:::1;::::0;:8:::1;:37::i;:::-;31787:100::o:0;28400:35::-;;;;:::o;22907:79::-;22945:7;22972:6;;;22907:79;:::o;28448:27::-;;;;:::o;37829:344::-;37891:7;37911:14;37942:12;37928:39;;;37982:1;38006:4;37928:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37928:94:0;;-1:-1:-1;38042:23:0;38053:11;:9;:11::i;38042:23::-;38033:32;;38076:22;38101:30;38125:5;38101:19;38112:7;;38101:6;:10;;:19;;;;:::i;:30::-;38076:55;-1:-1:-1;;;37829:344:0;:::o;28079:32::-;;;;:::o;35547:307::-;30289:5;;;;30275:10;:19;30267:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28307:3:::1;35645:12;:32;;35623:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35764:11;:26:::0;;;35806:40:::1;::::0;35778:12;;35821:10:::1;::::0;35806:40:::1;::::0;;;::::1;35547:307:::0;:::o;30793:921::-;25739:8;:6;:8::i;:::-;25738:9;25730:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30480:23:::1;30492:10;30480:11;:23::i;:::-;30479:24;30478:55;;;;-1:-1:-1::0;30509:10:0::1;30523:9;30509:23;30478:55;30456:125;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;30891:1:::2;30881:7;:11;30873:42;;;::::0;;::::2;::::0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;30928:12;30943:11;:9;:11::i;:::-;30928:26:::0;-1:-1:-1;30965:58:0::2;:22;:5;:22;30988:10;31008:4;31015:7:::0;30965:22:::2;:58::i;:::-;31034:21;31074:11;;31089:1;31074:16;31070:157;;31123:36;31154:4;31124:24;31136:11;;31124:7;:11;;:24;;;;:::i;31123:36::-;31107:52;;31070:157;;;-1:-1:-1::0;31208:7:0;31070:157:::2;31270:10;31237:21;31261:20:::0;;;:8:::2;:20;::::0;;;;31308:11;;:30:::2;::::0;31324:13;31308:15:::2;:30::i;:::-;31294:44:::0;;31374:15:::2;31349:22;::::0;::::2;:40:::0;31416:11:::2;::::0;:30:::2;::::0;31432:13;31416:15:::2;:30::i;:::-;31402:11;:44:::0;;;31487:69:::2;::::0;:28:::2;31503:11;:9;:11::i;:::-;31487::::0;;;:15:::2;:28::i;:69::-;31459:25;::::0;::::2;:97:::0;31593:15:::2;31567:23;::::0;::::2;:41:::0;31621:7:::2;:5;:7::i;:::-;31646:60;::::0;;;;;::::2;::::0;::::2;::::0;;;31690:15:::2;31646:60:::0;;;;;;31654:10:::2;::::0;31646:60:::2;::::0;;;;;;;;::::2;30592:1;;;30793:921:::0;:::o;28147:49::-;28193:3;28147:49;:::o;36538:160::-;30289:5;;;;30275:10;:19;30267:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36611:12:::1;36597:45;;;36643:1;36597:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;36661:29:0::1;::::0;36679:10:::1;::::0;-1:-1:-1;36661:29:0::1;::::0;-1:-1:-1;36661:29:0;;::::1;36538:160::o:0;36790:451::-;30289:5;;;;30275:10;:19;30267:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36906:5:::1;36888:24;;:6;:24;;;;36866:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37028:12;37010:31;;:6;:31;;;;36988:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37119:14;37143:6;37136:24;;;37169:4;37136:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37136:39:0;;-1:-1:-1;37186:47:0::1;:27;::::0;::::1;37214:10;37136:39:::0;37186:27:::1;:47::i;:::-;30321:1;36790:451:::0;:::o;28537:43::-;;;;:::o;28491:31::-;;;;:::o;27882:36::-;;;:::o;23844:109::-;23129:12;:10;:12::i;:::-;23119:6;;:22;:6;;;:22;;;23111:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23917:28:::1;23936:8;23917:18;:28::i;:::-;23844:109:::0;:::o;28118:20::-;;;;;;:::o;27832:29::-;;;:::o;17879:707::-;18297:10;;;18296:62;;-1:-1:-1;18313:39:0;;;;;;18337:4;18313:39;;;;:15;:39;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18313:39:0;:44;18296:62;18274:166;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18505:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18528:22;18505:62;;;18451:127;;18485:5;;18451:19;:127::i;:::-;17879:707;;;:::o;12640:229::-;12777:12;12809:52;12831:6;12839:4;12845:1;12848:12;12809:21;:52::i;:::-;12802:59;;12640:229;;;;;;:::o;39919:191::-;40049:17;40094:8;;;39919:191::o;2348:471::-;2406:7;2651:6;2647:47;;-1:-1:-1;2681:1:0;2674:8;;2647:47;2718:5;;;2722:1;2718;:5;:1;2742:5;;;;;:10;2734:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2810:1;-1:-1:-1;2348:471:0;;;;;:::o;3295:132::-;3353:7;3380:39;3384:1;3387;3380:39;;;;;;;;;;;;;;;;;:3;:39::i;1424:136::-;1482:7;1509:43;1513:1;1516;1509:43;;;;;;;;;;;;;;;;;:3;:43::i;960:181::-;1018:7;1050:5;;;1074:6;;;;1066:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17069:248;17240:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17263:23;17240:58;;;17186:123;;17220:5;;17186:19;:123::i;26472:120::-;26016:8;:6;:8::i;:::-;26008:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26541:5:::1;26531:15:::0;;;::::1;::::0;;26562:22:::1;26571:12;:10;:12::i;:::-;26562:22;::::0;;::::1;::::0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;26472:120::o:0;39625:165::-;39662:11;39676;:9;:11::i;:::-;39662:25;-1:-1:-1;39702:7:0;;39698:85;;39740:12;39726:40;;;39767:3;39726:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39625:165;:::o;21440:106::-;21528:10;21440:106;:::o;26213:118::-;25739:8;:6;:8::i;:::-;25738:9;25730:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26273:7:::1;:14:::0;;;::::1;::::0;::::1;::::0;;26303:20:::1;26310:12;:10;:12::i;17325:285::-:0;17523:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17546:27;17523:68;;;17469:133;;17503:5;;17469:19;:133::i;:::-;17325:285;;;;:::o;24059:266::-;24147:22;;;24125:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24272:6;;;24251:38;;;;;;;24272:6;;;24251:38;;;24300:6;:17;;;;;;;;;;;;;;;24059:266::o;19945:860::-;20369:23;20395:106;20437:4;20395:106;;;;;;;;;;;;;;;;;20403:5;20395:27;;;;:106;;;;;:::i;:::-;20516:17;;20369:132;;-1:-1:-1;20516:21:0;20512:286;;20689:10;20678:30;;;;;;;;;;;;;;;-1:-1:-1;20678:30:0;20652:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13856:632;14026:12;14098:5;14073:21;:30;;14051:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14188:18;14199:6;14188:10;:18::i;:::-;14180:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14314:12;14328:23;14355:6;:11;;14374:5;14395:4;14355:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14313:97;;;;14428:52;14446:7;14455:10;14467:12;14428:17;:52::i;:::-;14421:59;13856:632;-1:-1:-1;;;;;;;13856:632:0:o;3923:312::-;4043:7;4078:12;4071:5;4063:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4102:9;4118:1;4114;:5;;;;;;;3923:312;-1:-1:-1;;;;;3923:312:0:o;1863:226::-;1983:7;2019:12;2011:6;;;;2003:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2055:5:0;;;1863:226::o;15639:777::-;15789:12;15818:7;15814:595;;;-1:-1:-1;15849:10:0;15842:17;;15814:595;15963:17;;:21;15959:439;;16226:10;16220:17;16287:15;16274:10;16270:2;16266:19;16259:44;16174:148;16362:20;;;;;;;;;;;;;;;;;;;;16369:12;;16362:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://65a7c64d8d03cf70271075c7db783f93a1ad58a7f03aae02b8232e1aaefe77c2

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.