Contract 0xC8Bd86E5a132Ac0bf10134e270De06A8Ba317BFe 5

 

Contract Overview

Wault Finance: WEX Poly Master
Balance:
0 MATIC

MATIC Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x2042882f59d178ebf1b3ec14ba3a54cb19471c02ff12ce298f5097b7884e7129Deposit193102362021-09-20 11:57:183 mins ago0x756b6d51bb5f95457ef14771861248184b95e4df IN  Wault Finance: WEX Poly Master0 MATIC0.02357138
0x94a0f5e4e000c002171971d180508f8d30051198f62f625c0b20f1f839921863Claim193102032021-09-20 11:55:584 mins ago0x756b6d51bb5f95457ef14771861248184b95e4df IN  Wault Finance: WEX Poly Master0 MATIC0.021324332
0x4aafdf42b0ce9f4229a274413c576a147a447ed81182e8b9c5f710917bb23244Claim193101972021-09-20 11:55:465 mins ago0x6390d6a4ed5ae576699722a2bdf6201711a2e9f6 IN  Wault Finance: WEX Poly Master0 MATIC0.01730433
0xb6b8776da9686d272f03252960afd1ce2a79dace7840c744604c374b12ee7babClaim193101862021-09-20 11:55:245 mins ago0x85b1da06f98d5ce27c4fdd7399a4c2bbe9bd2cce IN  Wault Finance: WEX Poly Master0 MATIC0.021242724
0x805a4306ebbe8143f0014d93a9be0bd66d909c1f524528272a64065636fd55c8Claim193101482021-09-20 11:54:086 mins ago0xc9c27d58c8d122bbfe1c380e89a79c06e3c33a3a IN  Wault Finance: WEX Poly Master0 MATIC0.022232524
0x04c6aae770c5748ef61fc0eee607a39f37c5d8e16c3edcea222d854d41304f89Deposit193100102021-09-20 11:49:0711 mins ago0x7b9e27c67327c9e18cf9dfc351c1bc75840700df IN  Wault Finance: WEX Poly Master0 MATIC0.02011718
0x0bbb4b51a13a7bfa34a5b5fda28e6569fd5b11708d039300ef5ea7c224c6176dClaim193099772021-09-20 11:48:0112 mins ago0x7b9e27c67327c9e18cf9dfc351c1bc75840700df IN  Wault Finance: WEX Poly Master0 MATIC0.024696924
0x8ef5fc679281932ab2a97e37a7dce16159fe594d5c98208335bcaf0d366afec8Deposit193098672021-09-20 11:44:1316 mins ago0xef99bb8a48b55a124eb5e74be1bbc6f9af1b6b5c IN  Wault Finance: WEX Poly Master0 MATIC0.020114756
0x4828d4f83ed0095d166f4df6dc1306b18f624a709b58e43f442d290c1ff907fcDeposit193098252021-09-20 11:42:4917 mins ago0x09b619afafb8a6f69afee546145dc219b38a6a9e IN  Wault Finance: WEX Poly Master0 MATIC0.020119604
0xe0115e057f5bd70ef30fd61c050520608e0628e7cca70b8b1fc2da3a0bc735edClaim193098252021-09-20 11:42:4917 mins ago0xfcffb51151b001019c2a5011abfedb73c8df7186 IN  Wault Finance: WEX Poly Master0 MATIC0.021242724
0x188c231a75d97c728109e0fa1e7a9f0017924afb5a48e31c54206f443f17f125Claim193098252021-09-20 11:42:4917 mins ago0xfcffb51151b001019c2a5011abfedb73c8df7186 IN  Wault Finance: WEX Poly Master0 MATIC0.018778324
0xec12f7fb8285ecda009b69225b789657845e5e98d6c19fd35f14a4b7b7d5515eClaim193097562021-09-20 11:40:2220 mins ago0x1ec571aa62fa50b520f4eb25cd1545681401ea2a IN  Wault Finance: WEX Poly Master0 MATIC0.021242724
0xee0b27593fd2b956729838d1f2b710c3d455479f8feabf7ec3b966a2cbdd053cClaim193097552021-09-20 11:40:2020 mins ago0x09b619afafb8a6f69afee546145dc219b38a6a9e IN  Wault Finance: WEX Poly Master0 MATIC0.021242724
0x2a8ce879f5a3f950af1ae41817a75ba6aa4c3233ca623e247f31a06701cf4939Withdraw193097252021-09-20 11:39:2021 mins ago0xf896be986f5361f1810ba031e1cea367cabd8961 IN  Wault Finance: WEX Poly Master0 MATIC0.002219028
0xaef7608f97f1065e71fc875ed6402024c3b1f37bbffd09f515c0de644eed26adClaim193097052021-09-20 11:38:4022 mins ago0x9f888d17c726727fb278a4c5f0ec94bd6c3ca406 IN  Wault Finance: WEX Poly Master0 MATIC0.002404035778
0x5de5ecd893851eba4df51c38ac3a00a8f510d71b7e8ac014e71cbac36690abbcClaim193096322021-09-20 11:36:1024 mins ago0x8751f722408a13bc1081bfe4fe2ab10c7afe19d2 IN  Wault Finance: WEX Poly Master0 MATIC0.021242724
0x58feb8546a3f07bee1010e08152c3fe2652b08fbf66cba7b7a5a09cb8f1a18efClaim193096232021-09-20 11:35:4825 mins ago0x5866560252b00c0787c8be98b63e8d0f77c505ba IN  Wault Finance: WEX Poly Master0 MATIC0.005857841973
0xefcf60a732c9135fb0832cec3eefa06c15f0acda3924fc9bed8320f740d500e6Claim193095892021-09-20 11:34:4026 mins ago0x8751f722408a13bc1081bfe4fe2ab10c7afe19d2 IN  Wault Finance: WEX Poly Master0 MATIC0.024696924
0xc47c5c323afb71247e063e016e0b9dedf91e57e980c0683af0ffd501fc85f293Withdraw193095642021-09-20 11:33:4627 mins ago0x5de81459343277eebf02adc37e92d6a4404d49c8 IN  Wault Finance: WEX Poly Master0 MATIC0.02133524
0xc781b5f439d22d329a0ee1d87da74c4848da1c4ca832932c3073ce49991a308fDeposit193094952021-09-20 11:31:0829 mins ago0x92080a2372d864edd77ae604003a3b6e7a0dfa65 IN  Wault Finance: WEX Poly Master0 MATIC0.02357138
0x7db0793aceeeec9431a58955573874cf8a923a2134e3e821ad123b05db9d8481Claim193094852021-09-20 11:30:2830 mins ago0x92080a2372d864edd77ae604003a3b6e7a0dfa65 IN  Wault Finance: WEX Poly Master0 MATIC0.021242724
0x7cb1426330b97b72d161e97a50574161afb3fca3d9a35254f9387040158e55deClaim193094802021-09-20 11:30:0830 mins ago0x7c33c35bc2a0340fc50ab650b7236b34a62dda1d IN  Wault Finance: WEX Poly Master0 MATIC0.021666722
0xf3bf166ff9821917b24576059e86112899892d3438582235e4e14366ef9340a2Claim193092392021-09-20 11:20:0840 mins ago0x92080a2372d864edd77ae604003a3b6e7a0dfa65 IN  Wault Finance: WEX Poly Master0 MATIC0.021324332
0xd99503e30f412ba35ce7dfc52751f75539c6d9d56d45fd14983ed978fa2dfc4cDeposit193091202021-09-20 11:16:0144 mins ago0xdd17f072ebc79bd251df170eebdc13f384763206 IN  Wault Finance: WEX Poly Master0 MATIC0.023568956
0x257a19f05aa13d5a5e8f615f28579280126dd1b2672430bb4539039b87d93944Claim193090972021-09-20 11:15:1145 mins ago0xdd17f072ebc79bd251df170eebdc13f384763206 IN  Wault Finance: WEX Poly Master0 MATIC0.021324332
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WexPolyMaster

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-06-13
*/

// SPDX-License-Identifier: MIТ

pragma solidity 0.6.12;

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

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

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

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

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

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

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

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(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);
            }
        }
    }
}

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

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) public _whitelistedAddresses;

    uint256 private _totalSupply;
    uint256 private _burnedSupply;
    uint256 private _burnRate;
    string private _name;
    string private _symbol;
    uint256 private _decimals;

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

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

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

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

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

    /**
     * @dev Returns the amount of burned tokens.
     */
    function burnedSupply() public view returns (uint256) {
        return _burnedSupply;
    }

    /**
     * @dev Returns the burnrate.
     */
    function burnRate() public view returns (uint256) {
        return _burnRate;
    }

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

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

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

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

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

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

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

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

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

        if (_whitelistedAddresses[sender] == true || _whitelistedAddresses[recipient] == true) {
            _beforeTokenTransfer(sender, recipient, amount);
            _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
            _balances[recipient] = _balances[recipient].add(amount);
            emit Transfer(sender, recipient, amount);
        } else {
            uint256 amount_burn = amount.mul(_burnRate).div(100);
            uint256 amount_send = amount.sub(amount_burn);
            require(amount == amount_send + amount_burn, "Burn value invalid");
            _burn(sender, amount_burn);
            amount = amount_send;
            _beforeTokenTransfer(sender, recipient, amount);
            _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
            _balances[recipient] = _balances[recipient].add(amount);
            emit Transfer(sender, recipient, amount);
        }
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     * 
     * HINT: This function is 'internal' and therefore can only be called from another
     * function inside this contract!
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
        _beforeTokenTransfer(address(0), account, amount);
        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

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

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

    /**
     * @dev Sets {burnRate} to a value other than the initial one.
     */
    function _setupBurnrate(uint8 burnrate_) internal virtual {
        _burnRate = burnrate_;
    }

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

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

    /**
     * @dev So here we seperate the rights of the classic ownership into 'owner' and 'minter'
     * this way the developer/owner stays the 'owner' and can make changes like adding a pool
     * at any time but cannot mint anymore as soon as the 'minter' gets changes (to the chef contract)
     */
    address private _minter;

    event MintershipTransferred(address indexed previousMinter, address indexed newMinter);

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

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

    /**
     * @dev Throws if called by any account other than the minter.
     */
    modifier onlyMinter() {
        require(_minter == _msgSender(), "Mintable: caller is not the minter");
        _;
    }

    /**
     * @dev Transfers mintership of the contract to a new account (`newMinter`).
     * Can only be called by the current minter.
     */
    function transferMintership(address newMinter) public virtual onlyMinter {
        require(newMinter != address(0), "Mintable: new minter is the zero address");
        emit MintershipTransferred(_minter, newMinter);
        _minter = newMinter;
    }
}

contract WaultSwapToken is ERC20("WaultSwap", "WEX", 18, 0, 750000000), Ownable, Mintable {
    event WhitelistAdded(address _address);
    event WhitelistRemoved(address _address);
    
    function mint(address _to, uint256 _amount) public onlyMinter {
        _mint(_to, _amount);
    }

    function setBurnrate(uint8 burnrate_) public onlyOwner {
        require(0 <= burnrate_ && burnrate_ <= 20, "burnrate must be in valid range");
        _setupBurnrate(burnrate_);
    }

    function addWhitelistedAddress(address _address) public onlyOwner {
        _whitelistedAddresses[_address] = true;
        WhitelistAdded(_address);
    }

    function removeWhitelistedAddress(address _address) public onlyOwner {
        _whitelistedAddresses[_address] = false;
        WhitelistRemoved(_address);
    }
}

contract WexPolyMaster is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    struct UserInfo {
        uint256 amount;
        uint256 rewardDebt;
        uint256 pendingRewards;
    }

    struct PoolInfo {
        IERC20 lpToken;
        uint256 allocPoint;
        uint256 lastRewardBlock;
        uint256 accWexPerShare;
    }

    WaultSwapToken public wex;
    uint256 public wexPerBlock;

    PoolInfo[] public poolInfo;
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    uint256 public totalAllocPoint = 0;
    uint256 public startBlock;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event Claim(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    constructor(
        WaultSwapToken _wex,
        uint256 _wexPerBlock,
        uint256 _startBlock
    ) public {
        wex = _wex;
        wexPerBlock = _wexPerBlock;
        startBlock = _startBlock;
    }

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

    function getMultiplier(uint256 _from, uint256 _to)
        public
        pure
        returns (uint256)
    {
            return _to.sub(_from);
    }

    function add(
        uint256 _allocPoint,
        IERC20 _lpToken,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock
            ? block.number
            : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accWexPerShare: 0
            })
        );
    }

    function set(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo[_pid].allocPoint = _allocPoint;
    }

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

    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 wexReward = multiplier
            .mul(wexPerBlock)
            .mul(pool.allocPoint)
            .div(totalAllocPoint);
        wex.mint(address(this), wexReward);
        pool.accWexPerShare = pool.accWexPerShare.add(
            wexReward.mul(1e12).div(lpSupply)
        );
        pool.lastRewardBlock = block.number;
    }

    function deposit(uint256 _pid, uint256 _amount, bool _withdrawRewards) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user
                .amount
                .mul(pool.accWexPerShare)
                .div(1e12)
                .sub(user.rewardDebt);

            if (pending > 0) {
                user.pendingRewards = user.pendingRewards.add(pending);

                if (_withdrawRewards) {
                    safeWexTransfer(msg.sender, user.pendingRewards);
                    emit Claim(msg.sender, _pid, user.pendingRewards);
                    user.pendingRewards = 0;
                }
            }
        }
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            user.amount = user.amount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accWexPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    function withdraw(uint256 _pid, uint256 _amount, bool _withdrawRewards) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accWexPerShare).div(1e12).sub(user.rewardDebt);
        if (pending > 0) {
            user.pendingRewards = user.pendingRewards.add(pending);

            if (_withdrawRewards) {
                safeWexTransfer(msg.sender, user.pendingRewards);
                emit Claim(msg.sender, _pid, user.pendingRewards);
                user.pendingRewards = 0;
            }
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accWexPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

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

    function claim(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accWexPerShare).div(1e12).sub(user.rewardDebt);
        if (pending > 0 || user.pendingRewards > 0) {
            user.pendingRewards = user.pendingRewards.add(pending);
            safeWexTransfer(msg.sender, user.pendingRewards);
            emit Claim(msg.sender, _pid, user.pendingRewards);
            user.pendingRewards = 0;
        }
        user.rewardDebt = user.amount.mul(pool.accWexPerShare).div(1e12);
    }

    function safeWexTransfer(address _to, uint256 _amount) internal {
        uint256 wexBal = wex.balanceOf(address(this));
        if (_amount > wexBal) {
            wex.transfer(_to, wexBal);
        } else {
            wex.transfer(_to, _amount);
        }
    }

    function setWexPerBlock(uint256 _wexPerBlock) public onlyOwner {
        require(_wexPerBlock > 0, "!wexPerBlock-0");
        wexPerBlock = _wexPerBlock;
    }

}

Contract ABI

[{"inputs":[{"internalType":"contract WaultSwapToken","name":"_wex","type":"address"},{"internalType":"uint256","name":"_wexPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_withdrawRewards","type":"bool"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingWex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accWexPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wexPerBlock","type":"uint256"}],"name":"setWexPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"pendingRewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wex","outputs":[{"internalType":"contract WaultSwapToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wexPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_withdrawRewards","type":"bool"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060055534801561001557600080fd5b506040516200291a3803806200291a8339818101604052606081101561003a57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190505050600061006f61016460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816002819055508060068190555050505061016c565b600033905090565b61279e806200017c6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063630b5ba1116100b857806385cd4c411161007c57806385cd4c411461045d5780638da5cb5b1461047b5780638dbb1e3a146104af57806393f1a40b146104fb578063f2fde38b1461056b578063f6e27145146105af57610137565b8063630b5ba11461036f57806364482f7914610379578063715018a6146103bd5780637e0246cf146103c7578063823880811461042957610137565b8063379607f5116100ff578063379607f51461028357806343a0d066146102b157806348cd4cb1146102f557806351eb05a6146103135780635312ea8e1461034157610137565b8063081e3eda1461013c5780631526fe271461015a57806317caf6f1146101c75780631eaaa045146101e557806333cfcd3b1461023f575b600080fd5b6101446105dd565b6040518082815260200191505060405180910390f35b6101866004803603602081101561017057600080fd5b81019080803590602001909291905050506105ea565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6101cf610647565b6040518082815260200191505060405180910390f35b61023d600480360360608110156101fb57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061064d565b005b6102816004803603606081101561025557600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050610826565b005b6102af6004803603602081101561029957600080fd5b8101908080359060200190929190505050610b0c565b005b6102f3600480360360608110156102c757600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050610cb7565b005b6102fd610f33565b6040518082815260200191505060405180910390f35b61033f6004803603602081101561032957600080fd5b8101908080359060200190929190505050610f39565b005b61036d6004803603602081101561035757600080fd5b81019080803590602001909291905050506111a5565b005b6103776112e1565b005b6103bb6004803603606081101561038f57600080fd5b81019080803590602001909291908035906020019092919080351515906020019092919050505061130e565b005b6103c5611458565b005b610413600480360360408110156103dd57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115de565b6040518082815260200191505060405180910390f35b61043161183a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610465611860565b6040518082815260200191505060405180910390f35b610483611866565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104e5600480360360408110156104c557600080fd5b81019080803590602001909291908035906020019092919050505061188f565b6040518082815260200191505060405180910390f35b6105476004803603604081101561051157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118ac565b60405180848152602001838152602001828152602001935050505060405180910390f35b6105ad6004803603602081101561058157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118e3565b005b6105db600480360360208110156105c557600080fd5b8101908080359060200190929190505050611aee565b005b6000600380549050905090565b600381815481106105f757fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60055481565b610655611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610715576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610724576107236112e1565b5b6000600654431161073757600654610739565b435b905061075084600554611c3e90919063ffffffff16565b600581905550600360405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b60006003848154811061083557fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015610913576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b61091c85610f39565b6000610966826001015461095864e8d4a5100061094a87600301548760000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b611d9690919063ffffffff16565b90506000811115610a0357610988818360020154611c3e90919063ffffffff16565b82600201819055508315610a02576109a4338360020154611de0565b853373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b5b6000851115610a7b57610a23858360000154611d9690919063ffffffff16565b8260000181905550610a7a33868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120599092919063ffffffff16565b5b610aad64e8d4a51000610a9f85600301548560000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b8260010181905550853373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b600060038281548110610b1b57fe5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610b8883610f39565b6000610bd28260010154610bc464e8d4a51000610bb687600301548760000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b611d9690919063ffffffff16565b90506000811180610be7575060008260020154115b15610c7757610c03818360020154611c3e90919063ffffffff16565b8260020181905550610c19338360020154611de0565b833373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b610ca964e8d4a51000610c9b85600301548560000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b826001018190555050505050565b600060038481548110610cc657fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610d3385610f39565b600081600001541115610e29576000610d8a8260010154610d7c64e8d4a51000610d6e87600301548760000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b611d9690919063ffffffff16565b90506000811115610e2757610dac818360020154611c3e90919063ffffffff16565b82600201819055508315610e2657610dc8338360020154611de0565b853373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b5b505b6000841115610ea357610e833330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120fb909392919063ffffffff16565b610e9a848260000154611c3e90919063ffffffff16565b81600001819055505b610ed564e8d4a51000610ec784600301548460000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b8160010181905550843373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b60065481565b600060038281548110610f4857fe5b9060005260206000209060040201905080600201544311610f6957506111a2565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610ff657600080fd5b505afa15801561100a573d6000803e3d6000fd5b505050506040513d602081101561102057600080fd5b81019080805190602001909291905050509050600081141561104c5743826002018190555050506111a2565b600061105c83600201544361188f565b9050600061109f600554611091866001015461108360025487611cc690919063ffffffff16565b611cc690919063ffffffff16565b611d4c90919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561113457600080fd5b505af1158015611148573d6000803e3d6000fd5b5050505061118c6111798461116b64e8d4a5100085611cc690919063ffffffff16565b611d4c90919063ffffffff16565b8560030154611c3e90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b6000600382815481106111b457fe5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061126b3382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120599092919063ffffffff16565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a3600081600001819055506000816001018190555060008160020181905550505050565b6000600380549050905060005b8181101561130a576112ff81610f39565b8060010190506112ee565b5050565b611316611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80156113e5576113e46112e1565b5b61142a8261141c600386815481106113f957fe5b906000526020600020906004020160010154600554611d9690919063ffffffff16565b611c3e90919063ffffffff16565b600581905550816003848154811061143e57fe5b906000526020600020906004020160010181905550505050565b611460611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611520576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600080600384815481106115ee57fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116e857600080fd5b505afa1580156116fc573d6000803e3d6000fd5b505050506040513d602081101561171257600080fd5b81019080805190602001909291905050509050836002015443118015611739575060008114155b156117d457600061174e85600201544361188f565b90506000611791600554611783886001015461177560025487611cc690919063ffffffff16565b611cc690919063ffffffff16565b611d4c90919063ffffffff16565b90506117cf6117c0846117b264e8d4a5100085611cc690919063ffffffff16565b611d4c90919063ffffffff16565b85611c3e90919063ffffffff16565b935050505b61182e8360020154611820856001015461181264e8d4a51000611804888a60000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b611d9690919063ffffffff16565b611c3e90919063ffffffff16565b94505050505092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006118a48383611d9690919063ffffffff16565b905092915050565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154905083565b6118eb611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806126d26026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611af6611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611bb6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111611c2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f21776578506572426c6f636b2d3000000000000000000000000000000000000081525060200191505060405180910390fd5b8060028190555050565b600033905090565b600080828401905083811015611cbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611cd95760009050611d46565b6000828402905082848281611cea57fe5b0414611d41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061271e6021913960400191505060405180910390fd5b809150505b92915050565b6000611d8e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506121bc565b905092915050565b6000611dd883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612282565b905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611e6b57600080fd5b505afa158015611e7f573d6000803e3d6000fd5b505050506040513d6020811015611e9557600080fd5b8101908080519060200190929190505050905080821115611f8457600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611f4357600080fd5b505af1158015611f57573d6000803e3d6000fd5b505050506040513d6020811015611f6d57600080fd5b810190808051906020019092919050505050612054565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561201757600080fd5b505af115801561202b573d6000803e3d6000fd5b505050506040513d602081101561204157600080fd5b8101908080519060200190929190505050505b505050565b6120f68363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612342565b505050565b6121b6846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612342565b50505050565b60008083118290612268576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561222d578082015181840152602081019050612212565b50505050905090810190601f16801561225a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161227457fe5b049050809150509392505050565b600083831115829061232f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122f45780820151818401526020810190506122d9565b50505050905090810190601f1680156123215780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60606123a4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124319092919063ffffffff16565b905060008151111561242c578080602001905160208110156123c557600080fd5b810190808051906020019092919050505061242b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061273f602a913960400191505060405180910390fd5b5b505050565b60606124408484600085612449565b90509392505050565b6060824710156124a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806126f86026913960400191505060405180910390fd5b6124ad856125f2565b61251f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061256f578051825260208201915060208101905060208303925061254c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146125d1576040519150601f19603f3d011682016040523d82523d6000602084013e6125d6565b606091505b50915091506125e6828286612605565b92505050949350505050565b600080823b905060008111915050919050565b60608315612615578290506126ca565b6000835111156126285782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561268f578082015181840152602081019050612674565b50505050905090810190601f1680156126bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212201b2636f5c693267bf0486da5192f7ad7ac5d17d938f01773642e1dcca87759f564736f6c634300060c00330000000000000000000000004c4bf319237d98a30a929a96112effa8da3510eb00000000000000000000000000000000000000000000005150ae84a8cdf000000000000000000000000000000000000000000000000000000000000000efb53c

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

0000000000000000000000004c4bf319237d98a30a929a96112effa8da3510eb00000000000000000000000000000000000000000000005150ae84a8cdf000000000000000000000000000000000000000000000000000000000000000efb53c

-----Decoded View---------------
Arg [0] : _wex (address): 0x4c4bf319237d98a30a929a96112effa8da3510eb
Arg [1] : _wexPerBlock (uint256): 1500000000000000000000
Arg [2] : _startBlock (uint256): 15709500

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000004c4bf319237d98a30a929a96112effa8da3510eb
Arg [1] : 00000000000000000000000000000000000000000000005150ae84a8cdf00000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000efb53c


Deployed ByteCode Sourcemap

46171:8074:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47385:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46619:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46723:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47653:616;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51722:1011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53139:652;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50597:1117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46764:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49798:791;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52741:390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49610:180;;;:::i;:::-;;48277:362;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30165:148;;;:::i;:::-;;48647:955;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46552:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46584:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29523:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47488:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46652:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30468:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54078:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47385:95;47430:7;47457:8;:15;;;;47450:22;;47385:95;:::o;46619:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46723:34::-;;;;:::o;47653:616::-;29745:12;:10;:12::i;:::-;29735:22;;:6;;;;;;;;;;:22;;;29727:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47788:11:::1;47784:61;;;47816:17;:15;:17::i;:::-;47784:61;47855:23;47896:10;;47881:12;:25;:79;;47950:10;;47881:79;;;47922:12;47881:79;47855:105;;47989:32;48009:11;47989:15;;:19;;:32;;;;:::i;:::-;47971:15;:50;;;;48032:8;48060:190;;;;;;;;48097:8;48060:190;;;;;;48136:11;48060:190;;;;48183:15;48060:190;;;;48233:1;48060:190;;::::0;48032:229:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29805:1;47653:616:::0;;;:::o;51722:1011::-;51812:21;51836:8;51845:4;51836:14;;;;;;;;;;;;;;;;;;51812:38;;51861:21;51885:8;:14;51894:4;51885:14;;;;;;;;;;;:26;51900:10;51885:26;;;;;;;;;;;;;;;51861:50;;51945:7;51930:4;:11;;;:22;;51922:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51986:16;51997:4;51986:10;:16::i;:::-;52013:15;52031:67;52082:4;:15;;;52031:46;52072:4;52031:36;52047:4;:19;;;52031:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;52013:85;;52123:1;52113:7;:11;52109:329;;;52163:32;52187:7;52163:4;:19;;;:23;;:32;;;;:::i;:::-;52141:4;:19;;:54;;;;52216:16;52212:215;;;52253:48;52269:10;52281:4;:19;;;52253:15;:48::i;:::-;52343:4;52331:10;52325:44;;;52349:4;:19;;;52325:44;;;;;;;;;;;;;;;;;;52410:1;52388:4;:19;;:23;;;;52212:215;52109:329;52462:1;52452:7;:11;52448:152;;;52494:24;52510:7;52494:4;:11;;;:15;;:24;;;;:::i;:::-;52480:4;:11;;:38;;;;52533:55;52567:10;52580:7;52533:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;52448:152;52628:46;52669:4;52628:36;52644:4;:19;;;52628:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;52610:4;:15;;:64;;;;52711:4;52699:10;52690:35;;;52717:7;52690:35;;;;;;;;;;;;;;;;;;51722:1011;;;;;;:::o;53139:652::-;53186:21;53210:8;53219:4;53210:14;;;;;;;;;;;;;;;;;;53186:38;;53235:21;53259:8;:14;53268:4;53259:14;;;;;;;;;;;:26;53274:10;53259:26;;;;;;;;;;;;;;;53235:50;;53296:16;53307:4;53296:10;:16::i;:::-;53323:15;53341:67;53392:4;:15;;;53341:46;53382:4;53341:36;53357:4;:19;;;53341:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;53323:85;;53433:1;53423:7;:11;:38;;;;53460:1;53438:4;:19;;;:23;53423:38;53419:290;;;53500:32;53524:7;53500:4;:19;;;:23;;:32;;;;:::i;:::-;53478:4;:19;;:54;;;;53547:48;53563:10;53575:4;:19;;;53547:15;:48::i;:::-;53633:4;53621:10;53615:44;;;53639:4;:19;;;53615:44;;;;;;;;;;;;;;;;;;53696:1;53674:4;:19;;:23;;;;53419:290;53737:46;53778:4;53737:36;53753:4;:19;;;53737:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;53719:4;:15;;:64;;;;53139:652;;;;:::o;50597:1117::-;50686:21;50710:8;50719:4;50710:14;;;;;;;;;;;;;;;;;;50686:38;;50735:21;50759:8;:14;50768:4;50759:14;;;;;;;;;;;:26;50774:10;50759:26;;;;;;;;;;;;;;;50735:50;;50796:16;50807:4;50796:10;:16::i;:::-;50841:1;50827:4;:11;;;:15;50823:578;;;50859:15;50877:139;51000:4;:15;;;50877:100;50972:4;50877:72;50929:4;:19;;;50877:4;:29;;;:51;;:72;;;;:::i;:::-;:94;;:100;;;;:::i;:::-;:122;;:139;;;;:::i;:::-;50859:157;;51047:1;51037:7;:11;51033:357;;;51091:32;51115:7;51091:4;:19;;;:23;;:32;;;;:::i;:::-;51069:4;:19;;:54;;;;51148:16;51144:231;;;51189:48;51205:10;51217:4;:19;;;51189:15;:48::i;:::-;51283:4;51271:10;51265:44;;;51289:4;:19;;;51265:44;;;;;;;;;;;;;;;;;;51354:1;51332:4;:19;;:23;;;;51144:231;51033:357;50823:578;;51425:1;51415:7;:11;51411:171;;;51443:74;51481:10;51502:4;51509:7;51443:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;51546:24;51562:7;51546:4;:11;;;:15;;:24;;;;:::i;:::-;51532:4;:11;;:38;;;;51411:171;51610:46;51651:4;51610:36;51626:4;:19;;;51610:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;51592:4;:15;;:64;;;;51692:4;51680:10;51672:34;;;51698:7;51672:34;;;;;;;;;;;;;;;;;;50597:1117;;;;;:::o;46764:25::-;;;;:::o;49798:791::-;49850:21;49874:8;49883:4;49874:14;;;;;;;;;;;;;;;;;;49850:38;;49919:4;:20;;;49903:12;:36;49899:75;;49956:7;;;49899:75;49984:16;50003:4;:12;;;;;;;;;;;;:22;;;50034:4;50003:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49984:56;;50067:1;50055:8;:13;50051:102;;;50108:12;50085:4;:20;;:35;;;;50135:7;;;;50051:102;50163:18;50184:49;50198:4;:20;;;50220:12;50184:13;:49::i;:::-;50163:70;;50244:17;50264:111;50359:15;;50264:76;50324:4;:15;;;50264:41;50293:11;;50264:10;:28;;:41;;;;:::i;:::-;:59;;:76;;;;:::i;:::-;:94;;:111;;;;:::i;:::-;50244:131;;50386:3;;;;;;;;;;;:8;;;50403:4;50410:9;50386:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50453:82;50491:33;50515:8;50491:19;50505:4;50491:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;50453:4;:19;;;:23;;:82;;;;:::i;:::-;50431:4;:19;;:104;;;;50569:12;50546:4;:20;;:35;;;;49798:791;;;;;;:::o;52741:390::-;52800:21;52824:8;52833:4;52824:14;;;;;;;;;;;;;;;;;;52800:38;;52849:21;52873:8;:14;52882:4;52873:14;;;;;;;;;;;:26;52888:10;52873:26;;;;;;;;;;;;;;;52849:50;;52910:59;52944:10;52957:4;:11;;;52910:4;:12;;;;;;;;;;;;:25;;;;:59;;;;;:::i;:::-;53015:4;53003:10;52985:48;;;53021:4;:11;;;52985:48;;;;;;;;;;;;;;;;;;53058:1;53044:4;:11;;:15;;;;53088:1;53070:4;:15;;:19;;;;53122:1;53100:4;:19;;:23;;;;52741:390;;;:::o;49610:180::-;49655:14;49672:8;:15;;;;49655:32;;49703:11;49698:85;49726:6;49720:3;:12;49698:85;;;49756:15;49767:3;49756:10;:15::i;:::-;49734:5;;;;;49698:85;;;;49610:180;:::o;48277:362::-;29745:12;:10;:12::i;:::-;29735:22;;:6;;;;;;;;;;:22;;;29727:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48409:11:::1;48405:61;;;48437:17;:15;:17::i;:::-;48405:61;48494:87;48559:11;48494:46;48514:8;48523:4;48514:14;;;;;;;;;;;;;;;;;;:25;;;48494:15;;:19;;:46;;;;:::i;:::-;:50;;:87;;;;:::i;:::-;48476:15;:105;;;;48620:11;48592:8;48601:4;48592:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;48277:362:::0;;;:::o;30165:148::-;29745:12;:10;:12::i;:::-;29735:22;;:6;;;;;;;;;;:22;;;29727:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30272:1:::1;30235:40;;30256:6;::::0;::::1;;;;;;;;30235:40;;;;;;;;;;;;30303:1;30286:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;30165:148::o:0;48647:955::-;48746:7;48771:21;48795:8;48804:4;48795:14;;;;;;;;;;;;;;;;;;48771:38;;48820:21;48844:8;:14;48853:4;48844:14;;;;;;;;;;;:21;48859:5;48844:21;;;;;;;;;;;;;;;48820:45;;48876:22;48901:4;:19;;;48876:44;;48931:16;48950:4;:12;;;;;;;;;;;;:22;;;48981:4;48950:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48931:56;;49017:4;:20;;;49002:12;:35;:52;;;;;49053:1;49041:8;:13;;49002:52;48998:479;;;49071:18;49092:98;49124:4;:20;;;49163:12;49092:13;:98::i;:::-;49071:119;;49205:17;49225:123;49332:15;;49225:84;49293:4;:15;;;49225:45;49258:11;;49225:10;:32;;:45;;;;:::i;:::-;:67;;:84;;;;:::i;:::-;:106;;:123;;;;:::i;:::-;49205:143;;49380:85;49417:33;49441:8;49417:19;49431:4;49417:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;49380:14;:18;;:85;;;;:::i;:::-;49363:102;;48998:479;;;49507:87;49574:4;:19;;;49507:62;49553:4;:15;;;49507:41;49543:4;49507:31;49523:14;49507:4;:11;;;:15;;:31;;;;:::i;:::-;:35;;:41;;;;:::i;:::-;:45;;:62;;;;:::i;:::-;:66;;:87;;;;:::i;:::-;49487:107;;;;;;48647:955;;;;:::o;46552:25::-;;;;;;;;;;;;;:::o;46584:26::-;;;;:::o;29523:79::-;29561:7;29588:6;;;;;;;;;;;29581:13;;29523:79;:::o;47488:157::-;47587:7;47623:14;47631:5;47623:3;:7;;:14;;;;:::i;:::-;47616:21;;47488:157;;;;:::o;46652:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30468:244::-;29745:12;:10;:12::i;:::-;29735:22;;:6;;;;;;;;;;:22;;;29727:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30577:1:::1;30557:22;;:8;:22;;;;30549:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30667:8;30638:38;;30659:6;::::0;::::1;;;;;;;;30638:38;;;;;;;;;;;;30696:8;30687:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;30468:244:::0;:::o;54078:162::-;29745:12;:10;:12::i;:::-;29735:22;;:6;;;;;;;;;;:22;;;29727:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54175:1:::1;54160:12;:16;54152:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;54220:12;54206:11;:26;;;;54078:162:::0;:::o;28161:106::-;28214:15;28249:10;28242:17;;28161:106;:::o;3616:181::-;3674:7;3694:9;3710:1;3706;:5;3694:17;;3735:1;3730;:6;;3722:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3788:1;3781:8;;;3616:181;;;;:::o;4970:471::-;5028:7;5278:1;5273;:6;5269:47;;;5303:1;5296:8;;;;5269:47;5328:9;5344:1;5340;:5;5328:17;;5373:1;5368;5364;:5;;;;;;:10;5356:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5432:1;5425:8;;;4970:471;;;;;:::o;5917:132::-;5975:7;6002:39;6006:1;6009;6002:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;5995:46;;5917:132;;;;:::o;4080:136::-;4138:7;4165:43;4169:1;4172;4165:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4158:50;;4080:136;;;;:::o;53799:271::-;53874:14;53891:3;;;;;;;;;;;:13;;;53913:4;53891:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53874:45;;53944:6;53934:7;:16;53930:133;;;53967:3;;;;;;;;;;;:12;;;53980:3;53985:6;53967:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53930:133;;;54025:3;;;;;;;;;;;:12;;;54038:3;54043:7;54025:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53930:133;53799:271;;;:::o;16575:177::-;16658:86;16678:5;16708:23;;;16733:2;16737:5;16685:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16658:19;:86::i;:::-;16575:177;;;:::o;16760:205::-;16861:96;16881:5;16911:27;;;16940:4;16946:2;16950:5;16888:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16861:19;:96::i;:::-;16760:205;;;;:::o;6545:278::-;6631:7;6663:1;6659;:5;6666:12;6651:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6690:9;6706:1;6702;:5;;;;;;6690:17;;6814:1;6807:8;;;6545:278;;;;;:::o;4519:192::-;4605:7;4638:1;4633;:6;;4641:12;4625:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4665:9;4681:1;4677;:5;4665:17;;4702:1;4695:8;;;4519:192;;;;;:::o;18880:761::-;19304:23;19330:69;19358:4;19330:69;;;;;;;;;;;;;;;;;19338:5;19330:27;;;;:69;;;;;:::i;:::-;19304:95;;19434:1;19414:10;:17;:21;19410:224;;;19556:10;19545:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19537:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19410:224;18880:761;;;:::o;11675:195::-;11778:12;11810:52;11832:6;11840:4;11846:1;11849:12;11810:21;:52::i;:::-;11803:59;;11675:195;;;;;:::o;12727:530::-;12854:12;12912:5;12887:21;:30;;12879:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12979:18;12990:6;12979:10;:18::i;:::-;12971:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13105:12;13119:23;13146:6;:11;;13166:5;13174:4;13146:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13104:75;;;;13197:52;13215:7;13224:10;13236:12;13197:17;:52::i;:::-;13190:59;;;;12727:530;;;;;;:::o;8757:422::-;8817:4;9025:12;9136:7;9124:20;9116:28;;9170:1;9163:4;:8;9156:15;;;8757:422;;;:::o;15267:742::-;15382:12;15411:7;15407:595;;;15442:10;15435:17;;;;15407:595;15576:1;15556:10;:17;:21;15552:439;;;15819:10;15813:17;15880:15;15867:10;15863:2;15859:19;15852:44;15767:148;15962:12;15955:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15267:742;;;;;;:::o

Swarm Source

ipfs://1b2636f5c693267bf0486da5192f7ad7ac5d17d938f01773642e1dcca87759f5
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.