Contract 0x22fB2663C7ca71Adc2cc99481C77Aaf21E152e2D

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0xd04dba977d99131a93306c4b491b60bb1313e0d86b8191d35afd6e12ad8974d883658522021-06-17 4:29:168 secs ago0x9333d4d6d8662ce6b727d194764c01fb7cc5dc23 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00067389
0x0e384ab43897befb3361c028d053bb00a427e185a046b901d00a10c063a605ee83658512021-06-17 4:29:1311 secs ago0x644f2ca12446db8a3a5ef40e0f30acac3898732d IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00052431
0xf12d68b2906ce3218fabaf32226c30e0e240df73c002b099f74cf5be5d92592183658492021-06-17 4:29:0717 secs ago0x644f2ca12446db8a3a5ef40e0f30acac3898732d IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00059931
0xd9b716107a90df617291a8a24703b30c66f02b807494ec75830ad6f768dda40c83658442021-06-17 4:28:5232 secs ago0x915348a4e7348f8e3dcd8750528d6ad409aaa1bd IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.000524215
0xa1eae2d5eb16b1ef28988535d2c61ee6562907a37661473e0f403d789438694d83658432021-06-17 4:28:4935 secs ago0x9333d4d6d8662ce6b727d194764c01fb7cc5dc23 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00047033
0x9b39b1a8a6bd5f83128302f96521cd3a7ddb46b946a24624abfaf79e8ec54bad83658402021-06-17 4:28:4044 secs ago0x7417363dedb6a07a93d561e2cdf8d8b8a52c3cd7 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.000703675
0x130f50b184d94a963b10c80f435e090c079d22fd1e7c641848694f4006aa4c3f83658392021-06-17 4:28:3747 secs ago0xb8272488ae2561ae4e37f484914583dec3d86c49 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00059883
0xe22ffba83ae4374d05a40eb45f2650852c8b3accb8b6a0ce2e102146b3834d0c83658342021-06-17 4:28:221 min ago0x276518e7370ccbe8947b07895d6a51c2b7890193 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.000663275
0x60378b6ed6c98572d4088fac90be4247caed9fda64776072eb46649263b8277c83658302021-06-17 4:28:101 min ago0xa04d6a77d1ee45e23a5f869e6f0a25bd1fcb1224 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00052431
0x96ae8a00c30df8e9a46499aaf0b88430c179fff050fa36dabff575c5a4e31f1a83658302021-06-17 4:28:101 min ago0x3d105e9c40e4966c2eae8da36a67ec1cff20f0ce IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00044728
0xf10eb4ee6f8e3aa70a13a7db80cd8a65aa81543754089ac038bb0b5d1fc8119883658282021-06-17 4:28:041 min ago0xb8272488ae2561ae4e37f484914583dec3d86c49 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00052431
0x7ff528c8a2da2eea3d83c28616636f4f654b57f4dc808cfe7a68c04ce663ca6683658282021-06-17 4:28:041 min ago0xb3f8bf6e962c1e41691e3dd8bb264acfe99761b0 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.000796002
0xc25a70a1e2cb6bca5827df7f638a8c0762e2b41435de2755f69621c57a4084ec83658262021-06-17 4:27:581 min ago0x50986f8575436efedddc0fea1712c2304c77cb35 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00063343
0xc9204c4c72ad62f24fef97a06ceb2e6ba0faccd3d28fd66664ede7ba3aa69dfb83658232021-06-17 4:27:491 min ago0x7417363dedb6a07a93d561e2cdf8d8b8a52c3cd7 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.000155265
0x1dfd22454af96040ad2df2e31fa91b15fe48ef834e5cb26d981a536bf6b8c41483658232021-06-17 4:27:491 min ago0x7417363dedb6a07a93d561e2cdf8d8b8a52c3cd7 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00059931
0x722b6b449ad56125e940e793933bda008a1582164e00e9ab554d85602af4faaa83658212021-06-17 4:27:431 min ago0xa04d6a77d1ee45e23a5f869e6f0a25bd1fcb1224 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00052431
0xd7dec53837a74d4e22d209166d1c50b526e2538266dda6c433e55475626611c783658182021-06-17 4:27:341 min ago0xb8272488ae2561ae4e37f484914583dec3d86c49 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00059889
0x7b7949910b84d2f5f549ccd9fbe9a6f3ed894ba4cc34427526938dda27e1eeb683658162021-06-17 4:27:281 min ago0xa04d6a77d1ee45e23a5f869e6f0a25bd1fcb1224 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.000452825
0x50195ba85d5edcbdfe3fa8a9f6cb319460a438f08dafdfa3a68f4ba50bbe86b283658122021-06-17 4:27:162 mins ago0x4a8e082e70adc00d389662ffdf5db1b9c1790cdd IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00047031
0x894d741a9b7eb8917b292f86aebfaacdea3f8df5b14b0f0621befbf146ea086583658112021-06-17 4:27:132 mins ago0x94cc906cdcecb1b234b9ca53d73a53cd4434679a IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.000663335
0x534ff93d68013e6135ce5accd476ad0d048ae41878e2d15dd25761c570031b3183658082021-06-17 4:27:042 mins ago0xa04d6a77d1ee45e23a5f869e6f0a25bd1fcb1224 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00048156
0x336a80dc8a3a1b5598415e607ce9a272fd59bedba80e29c872fdf17f153e14e283658072021-06-17 4:27:012 mins ago0xff5685ad020b5d97d80382707c56f68920d793f4 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00052431
0x256e53cac5937c3bad1b55d84be87141e8e6d97425c0e07459efa5c50b03f30b83658062021-06-17 4:26:582 mins ago0x98ec686b4d46ffef3831ad3d3c4f11f6b0a9a9de IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00067389
0x0359dad61a20b1a72604727cd9a576d99a53de1cf063de28a9f4d2e347c6ee6883658042021-06-17 4:26:522 mins ago0x94cc906cdcecb1b234b9ca53d73a53cd4434679a IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00067389
0xf371aad5b09c3926f9ecd83103b9fe5b857c877bcc596f60e3ea17c4d226ce4783658032021-06-17 4:26:492 mins ago0x13a29fd43b6d14a56480eb28c6f01e21e224e600 IN  0x22fb2663c7ca71adc2cc99481c77aaf21e152e2d0 BNB0.00063343
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WexMaster

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 BscScan.com on 2021-04-26
*/

// 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 WexMaster 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"}]

6080604052600060055534801561001557600080fd5b506040516200291a3803806200291a8339818101604052606081101561003a57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190505050600061006f61016460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816002819055508060068190555050505061016c565b600033905090565b61279e806200017c6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063630b5ba1116100b857806385cd4c411161007c57806385cd4c411461045d5780638da5cb5b1461047b5780638dbb1e3a146104af57806393f1a40b146104fb578063f2fde38b1461056b578063f6e27145146105af57610137565b8063630b5ba11461036f57806364482f7914610379578063715018a6146103bd5780637e0246cf146103c7578063823880811461042957610137565b8063379607f5116100ff578063379607f51461028357806343a0d066146102b157806348cd4cb1146102f557806351eb05a6146103135780635312ea8e1461034157610137565b8063081e3eda1461013c5780631526fe271461015a57806317caf6f1146101c75780631eaaa045146101e557806333cfcd3b1461023f575b600080fd5b6101446105dd565b6040518082815260200191505060405180910390f35b6101866004803603602081101561017057600080fd5b81019080803590602001909291905050506105ea565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6101cf610647565b6040518082815260200191505060405180910390f35b61023d600480360360608110156101fb57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061064d565b005b6102816004803603606081101561025557600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050610826565b005b6102af6004803603602081101561029957600080fd5b8101908080359060200190929190505050610b0c565b005b6102f3600480360360608110156102c757600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050610cb7565b005b6102fd610f33565b6040518082815260200191505060405180910390f35b61033f6004803603602081101561032957600080fd5b8101908080359060200190929190505050610f39565b005b61036d6004803603602081101561035757600080fd5b81019080803590602001909291905050506111a5565b005b6103776112e1565b005b6103bb6004803603606081101561038f57600080fd5b81019080803590602001909291908035906020019092919080351515906020019092919050505061130e565b005b6103c5611458565b005b610413600480360360408110156103dd57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115de565b6040518082815260200191505060405180910390f35b61043161183a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610465611860565b6040518082815260200191505060405180910390f35b610483611866565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104e5600480360360408110156104c557600080fd5b81019080803590602001909291908035906020019092919050505061188f565b6040518082815260200191505060405180910390f35b6105476004803603604081101561051157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118ac565b60405180848152602001838152602001828152602001935050505060405180910390f35b6105ad6004803603602081101561058157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118e3565b005b6105db600480360360208110156105c557600080fd5b8101908080359060200190929190505050611aee565b005b6000600380549050905090565b600381815481106105f757fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60055481565b610655611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610715576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610724576107236112e1565b5b6000600654431161073757600654610739565b435b905061075084600554611c3e90919063ffffffff16565b600581905550600360405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b60006003848154811061083557fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015610913576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b61091c85610f39565b6000610966826001015461095864e8d4a5100061094a87600301548760000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b611d9690919063ffffffff16565b90506000811115610a0357610988818360020154611c3e90919063ffffffff16565b82600201819055508315610a02576109a4338360020154611de0565b853373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b5b6000851115610a7b57610a23858360000154611d9690919063ffffffff16565b8260000181905550610a7a33868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120599092919063ffffffff16565b5b610aad64e8d4a51000610a9f85600301548560000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b8260010181905550853373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b600060038281548110610b1b57fe5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610b8883610f39565b6000610bd28260010154610bc464e8d4a51000610bb687600301548760000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b611d9690919063ffffffff16565b90506000811180610be7575060008260020154115b15610c7757610c03818360020154611c3e90919063ffffffff16565b8260020181905550610c19338360020154611de0565b833373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b610ca964e8d4a51000610c9b85600301548560000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b826001018190555050505050565b600060038481548110610cc657fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610d3385610f39565b600081600001541115610e29576000610d8a8260010154610d7c64e8d4a51000610d6e87600301548760000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b611d9690919063ffffffff16565b90506000811115610e2757610dac818360020154611c3e90919063ffffffff16565b82600201819055508315610e2657610dc8338360020154611de0565b853373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b5b505b6000841115610ea357610e833330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120fb909392919063ffffffff16565b610e9a848260000154611c3e90919063ffffffff16565b81600001819055505b610ed564e8d4a51000610ec784600301548460000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b8160010181905550843373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b60065481565b600060038281548110610f4857fe5b9060005260206000209060040201905080600201544311610f6957506111a2565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610ff657600080fd5b505afa15801561100a573d6000803e3d6000fd5b505050506040513d602081101561102057600080fd5b81019080805190602001909291905050509050600081141561104c5743826002018190555050506111a2565b600061105c83600201544361188f565b9050600061109f600554611091866001015461108360025487611cc690919063ffffffff16565b611cc690919063ffffffff16565b611d4c90919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561113457600080fd5b505af1158015611148573d6000803e3d6000fd5b5050505061118c6111798461116b64e8d4a5100085611cc690919063ffffffff16565b611d4c90919063ffffffff16565b8560030154611c3e90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b6000600382815481106111b457fe5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061126b3382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120599092919063ffffffff16565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a3600081600001819055506000816001018190555060008160020181905550505050565b6000600380549050905060005b8181101561130a576112ff81610f39565b8060010190506112ee565b5050565b611316611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80156113e5576113e46112e1565b5b61142a8261141c600386815481106113f957fe5b906000526020600020906004020160010154600554611d9690919063ffffffff16565b611c3e90919063ffffffff16565b600581905550816003848154811061143e57fe5b906000526020600020906004020160010181905550505050565b611460611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611520576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600080600384815481106115ee57fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116e857600080fd5b505afa1580156116fc573d6000803e3d6000fd5b505050506040513d602081101561171257600080fd5b81019080805190602001909291905050509050836002015443118015611739575060008114155b156117d457600061174e85600201544361188f565b90506000611791600554611783886001015461177560025487611cc690919063ffffffff16565b611cc690919063ffffffff16565b611d4c90919063ffffffff16565b90506117cf6117c0846117b264e8d4a5100085611cc690919063ffffffff16565b611d4c90919063ffffffff16565b85611c3e90919063ffffffff16565b935050505b61182e8360020154611820856001015461181264e8d4a51000611804888a60000154611cc690919063ffffffff16565b611d4c90919063ffffffff16565b611d9690919063ffffffff16565b611c3e90919063ffffffff16565b94505050505092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006118a48383611d9690919063ffffffff16565b905092915050565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154905083565b6118eb611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806126d26026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611af6611c36565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611bb6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111611c2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f21776578506572426c6f636b2d3000000000000000000000000000000000000081525060200191505060405180910390fd5b8060028190555050565b600033905090565b600080828401905083811015611cbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611cd95760009050611d46565b6000828402905082848281611cea57fe5b0414611d41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061271e6021913960400191505060405180910390fd5b809150505b92915050565b6000611d8e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506121bc565b905092915050565b6000611dd883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612282565b905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611e6b57600080fd5b505afa158015611e7f573d6000803e3d6000fd5b505050506040513d6020811015611e9557600080fd5b8101908080519060200190929190505050905080821115611f8457600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611f4357600080fd5b505af1158015611f57573d6000803e3d6000fd5b505050506040513d6020811015611f6d57600080fd5b810190808051906020019092919050505050612054565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561201757600080fd5b505af115801561202b573d6000803e3d6000fd5b505050506040513d602081101561204157600080fd5b8101908080519060200190929190505050505b505050565b6120f68363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612342565b505050565b6121b6846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612342565b50505050565b60008083118290612268576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561222d578082015181840152602081019050612212565b50505050905090810190601f16801561225a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161227457fe5b049050809150509392505050565b600083831115829061232f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122f45780820151818401526020810190506122d9565b50505050905090810190601f1680156123215780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60606123a4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124319092919063ffffffff16565b905060008151111561242c578080602001905160208110156123c557600080fd5b810190808051906020019092919050505061242b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061273f602a913960400191505060405180910390fd5b5b505050565b60606124408484600085612449565b90509392505050565b6060824710156124a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806126f86026913960400191505060405180910390fd5b6124ad856125f2565b61251f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061256f578051825260208201915060208101905060208303925061254c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146125d1576040519150601f19603f3d011682016040523d82523d6000602084013e6125d6565b606091505b50915091506125e6828286612605565b92505050949350505050565b600080823b905060008111915050919050565b60608315612615578290506126ca565b6000835111156126285782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561268f578082015181840152602081019050612674565b50505050905090810190601f1680156126bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212200939c548c07e0220d549acda12356099f153a353b32f839dd7053f50c557640a64736f6c634300060c0033000000000000000000000000a9c41a46a6b3531d28d5c32f6633dd2ff05dfb9000000000000000000000000000000000000000000000005150ae84a8cdf00000000000000000000000000000000000000000000000000000000000000069c940

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

000000000000000000000000a9c41a46a6b3531d28d5c32f6633dd2ff05dfb9000000000000000000000000000000000000000000000005150ae84a8cdf00000000000000000000000000000000000000000000000000000000000000069c940

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a9c41a46a6b3531d28d5c32f6633dd2ff05dfb90
Arg [1] : 00000000000000000000000000000000000000000000005150ae84a8cdf00000
Arg [2] : 000000000000000000000000000000000000000000000000000000000069c940


Deployed ByteCode Sourcemap

46171:8070:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47381:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46615:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46719:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47649:616;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51718:1011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53135:652;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50593:1117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46760:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49794:791;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52737:390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49606:180;;;:::i;:::-;;48273:362;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30165:148;;;:::i;:::-;;48643:955;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46548:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46580:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29523:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47484:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46648:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30468:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54074:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47381:95;47426:7;47453:8;:15;;;;47446:22;;47381:95;:::o;46615:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46719:34::-;;;;:::o;47649:616::-;29745:12;:10;:12::i;:::-;29735:22;;:6;;;;;;;;;;:22;;;29727:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47784:11:::1;47780:61;;;47812:17;:15;:17::i;:::-;47780:61;47851:23;47892:10;;47877:12;:25;:79;;47946:10;;47877:79;;;47918:12;47877:79;47851:105;;47985:32;48005:11;47985:15;;:19;;:32;;;;:::i;:::-;47967:15;:50;;;;48028:8;48056:190;;;;;;;;48093:8;48056:190;;;;;;48132:11;48056:190;;;;48179:15;48056:190;;;;48229:1;48056:190;;::::0;48028:229:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29805:1;47649:616:::0;;;:::o;51718:1011::-;51808:21;51832:8;51841:4;51832:14;;;;;;;;;;;;;;;;;;51808:38;;51857:21;51881:8;:14;51890:4;51881:14;;;;;;;;;;;:26;51896:10;51881:26;;;;;;;;;;;;;;;51857:50;;51941:7;51926:4;:11;;;:22;;51918:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51982:16;51993:4;51982:10;:16::i;:::-;52009:15;52027:67;52078:4;:15;;;52027:46;52068:4;52027:36;52043:4;:19;;;52027:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;52009:85;;52119:1;52109:7;:11;52105:329;;;52159:32;52183:7;52159:4;:19;;;:23;;:32;;;;:::i;:::-;52137:4;:19;;:54;;;;52212:16;52208:215;;;52249:48;52265:10;52277:4;:19;;;52249:15;:48::i;:::-;52339:4;52327:10;52321:44;;;52345:4;:19;;;52321:44;;;;;;;;;;;;;;;;;;52406:1;52384:4;:19;;:23;;;;52208:215;52105:329;52458:1;52448:7;:11;52444:152;;;52490:24;52506:7;52490:4;:11;;;:15;;:24;;;;:::i;:::-;52476:4;:11;;:38;;;;52529:55;52563:10;52576:7;52529:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;52444:152;52624:46;52665:4;52624:36;52640:4;:19;;;52624:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;52606:4;:15;;:64;;;;52707:4;52695:10;52686:35;;;52713:7;52686:35;;;;;;;;;;;;;;;;;;51718:1011;;;;;;:::o;53135:652::-;53182:21;53206:8;53215:4;53206:14;;;;;;;;;;;;;;;;;;53182:38;;53231:21;53255:8;:14;53264:4;53255:14;;;;;;;;;;;:26;53270:10;53255:26;;;;;;;;;;;;;;;53231:50;;53292:16;53303:4;53292:10;:16::i;:::-;53319:15;53337:67;53388:4;:15;;;53337:46;53378:4;53337:36;53353:4;:19;;;53337:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;53319:85;;53429:1;53419:7;:11;:38;;;;53456:1;53434:4;:19;;;:23;53419:38;53415:290;;;53496:32;53520:7;53496:4;:19;;;:23;;:32;;;;:::i;:::-;53474:4;:19;;:54;;;;53543:48;53559:10;53571:4;:19;;;53543:15;:48::i;:::-;53629:4;53617:10;53611:44;;;53635:4;:19;;;53611:44;;;;;;;;;;;;;;;;;;53692:1;53670:4;:19;;:23;;;;53415:290;53733:46;53774:4;53733:36;53749:4;:19;;;53733:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;53715:4;:15;;:64;;;;53135:652;;;;:::o;50593:1117::-;50682:21;50706:8;50715:4;50706:14;;;;;;;;;;;;;;;;;;50682:38;;50731:21;50755:8;:14;50764:4;50755:14;;;;;;;;;;;:26;50770:10;50755:26;;;;;;;;;;;;;;;50731:50;;50792:16;50803:4;50792:10;:16::i;:::-;50837:1;50823:4;:11;;;:15;50819:578;;;50855:15;50873:139;50996:4;:15;;;50873:100;50968:4;50873:72;50925:4;:19;;;50873:4;:29;;;:51;;:72;;;;:::i;:::-;:94;;:100;;;;:::i;:::-;:122;;:139;;;;:::i;:::-;50855:157;;51043:1;51033:7;:11;51029:357;;;51087:32;51111:7;51087:4;:19;;;:23;;:32;;;;:::i;:::-;51065:4;:19;;:54;;;;51144:16;51140:231;;;51185:48;51201:10;51213:4;:19;;;51185:15;:48::i;:::-;51279:4;51267:10;51261:44;;;51285:4;:19;;;51261:44;;;;;;;;;;;;;;;;;;51350:1;51328:4;:19;;:23;;;;51140:231;51029:357;50819:578;;51421:1;51411:7;:11;51407:171;;;51439:74;51477:10;51498:4;51505:7;51439:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;51542:24;51558:7;51542:4;:11;;;:15;;:24;;;;:::i;:::-;51528:4;:11;;:38;;;;51407:171;51606:46;51647:4;51606:36;51622:4;:19;;;51606:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;51588:4;:15;;:64;;;;51688:4;51676:10;51668:34;;;51694:7;51668:34;;;;;;;;;;;;;;;;;;50593:1117;;;;;:::o;46760:25::-;;;;:::o;49794:791::-;49846:21;49870:8;49879:4;49870:14;;;;;;;;;;;;;;;;;;49846:38;;49915:4;:20;;;49899:12;:36;49895:75;;49952:7;;;49895:75;49980:16;49999:4;:12;;;;;;;;;;;;:22;;;50030:4;49999:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49980:56;;50063:1;50051:8;:13;50047:102;;;50104:12;50081:4;:20;;:35;;;;50131:7;;;;50047:102;50159:18;50180:49;50194:4;:20;;;50216:12;50180:13;:49::i;:::-;50159:70;;50240:17;50260:111;50355:15;;50260:76;50320:4;:15;;;50260:41;50289:11;;50260:10;:28;;:41;;;;:::i;:::-;:59;;:76;;;;:::i;:::-;:94;;:111;;;;:::i;:::-;50240:131;;50382:3;;;;;;;;;;;:8;;;50399:4;50406:9;50382:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50449:82;50487:33;50511:8;50487:19;50501:4;50487:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;50449:4;:19;;;:23;;:82;;;;:::i;:::-;50427:4;:19;;:104;;;;50565:12;50542:4;:20;;:35;;;;49794:791;;;;;;:::o;52737:390::-;52796:21;52820:8;52829:4;52820:14;;;;;;;;;;;;;;;;;;52796:38;;52845:21;52869:8;:14;52878:4;52869:14;;;;;;;;;;;:26;52884:10;52869:26;;;;;;;;;;;;;;;52845:50;;52906:59;52940:10;52953:4;:11;;;52906:4;:12;;;;;;;;;;;;:25;;;;:59;;;;;:::i;:::-;53011:4;52999:10;52981:48;;;53017:4;:11;;;52981:48;;;;;;;;;;;;;;;;;;53054:1;53040:4;:11;;:15;;;;53084:1;53066:4;:15;;:19;;;;53118:1;53096:4;:19;;:23;;;;52737:390;;;:::o;49606:180::-;49651:14;49668:8;:15;;;;49651:32;;49699:11;49694:85;49722:6;49716:3;:12;49694:85;;;49752:15;49763:3;49752:10;:15::i;:::-;49730:5;;;;;49694:85;;;;49606:180;:::o;48273:362::-;29745:12;:10;:12::i;:::-;29735:22;;:6;;;;;;;;;;:22;;;29727:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48405:11:::1;48401:61;;;48433:17;:15;:17::i;:::-;48401:61;48490:87;48555:11;48490:46;48510:8;48519:4;48510:14;;;;;;;;;;;;;;;;;;:25;;;48490:15;;:19;;:46;;;;:::i;:::-;:50;;:87;;;;:::i;:::-;48472:15;:105;;;;48616:11;48588:8;48597:4;48588:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;48273: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;48643:955::-;48742:7;48767:21;48791:8;48800:4;48791:14;;;;;;;;;;;;;;;;;;48767:38;;48816:21;48840:8;:14;48849:4;48840:14;;;;;;;;;;;:21;48855:5;48840:21;;;;;;;;;;;;;;;48816:45;;48872:22;48897:4;:19;;;48872:44;;48927:16;48946:4;:12;;;;;;;;;;;;:22;;;48977:4;48946:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48927:56;;49013:4;:20;;;48998:12;:35;:52;;;;;49049:1;49037:8;:13;;48998:52;48994:479;;;49067:18;49088:98;49120:4;:20;;;49159:12;49088:13;:98::i;:::-;49067:119;;49201:17;49221:123;49328:15;;49221:84;49289:4;:15;;;49221:45;49254:11;;49221:10;:32;;:45;;;;:::i;:::-;:67;;:84;;;;:::i;:::-;:106;;:123;;;;:::i;:::-;49201:143;;49376:85;49413:33;49437:8;49413:19;49427:4;49413:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;49376:14;:18;;:85;;;;:::i;:::-;49359:102;;48994:479;;;49503:87;49570:4;:19;;;49503:62;49549:4;:15;;;49503:41;49539:4;49503:31;49519:14;49503:4;:11;;;:15;;:31;;;;:::i;:::-;:35;;:41;;;;:::i;:::-;:45;;:62;;;;:::i;:::-;:66;;:87;;;;:::i;:::-;49483:107;;;;;;48643:955;;;;:::o;46548:25::-;;;;;;;;;;;;;:::o;46580:26::-;;;;:::o;29523:79::-;29561:7;29588:6;;;;;;;;;;;29581:13;;29523:79;:::o;47484:157::-;47583:7;47619:14;47627:5;47619:3;:7;;:14;;;;:::i;:::-;47612:21;;47484:157;;;;:::o;46648: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;54074:162::-;29745:12;:10;:12::i;:::-;29735:22;;:6;;;;;;;;;;:22;;;29727:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54171:1:::1;54156:12;:16;54148:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;54216:12;54202:11;:26;;;;54074: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;53795:271::-;53870:14;53887:3;;;;;;;;;;;:13;;;53909:4;53887:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53870:45;;53940:6;53930:7;:16;53926:133;;;53963:3;;;;;;;;;;;:12;;;53976:3;53981:6;53963:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53926:133;;;54021:3;;;;;;;;;;;:12;;;54034:3;54039:7;54021:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53926:133;53795: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://0939c548c07e0220d549acda12356099f153a353b32f839dd7053f50c557640a
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.