Contract 0xF4E0943C1D55e883E3C6310CD641970A36a7f870

 
Txn Hash
Block
From
To
Value [Txn Fee]
0xfe560eacca433bf3fe4139ea04d5e4871d1373fce1b39bd8a2633f7d6da51c4784692682021-06-20 19:19:291 min ago0xf375e9d99a79527224cdbbf031eec45de4644b8b IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x593db4e49639fa3562d0655ad386b14caddd97d977099fc57f8217f7a6fa551b84692402021-06-20 19:18:053 mins ago0xaeeaae961f6f513139fc2ccf06a84f212a68bd98 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x3d40c01f91d30999d8c9dc06eb7a1cbbc91e404da70f3b3ff6034b2d1c86f85584692392021-06-20 19:18:023 mins ago0xd0ff9e56bff945d5f14194b267678de3974cd7c4 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x382a2ce7e1c2bb94b9096eef7ce22d9ca1a61eddeecd9abffcc02815133a115984691932021-06-20 19:15:445 mins ago0xb57b7bd7fd2f790ca5e955332bd85fb2d6441bea IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000590215
0xab68955e59a5a321cf3476687297346add0fdf411b0e60cad4e273ad26a4c14584691812021-06-20 19:15:086 mins ago0xbe99e316c997c52fede9ea9952311495ee6a14c8 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000590215
0x1b6b24771530066ffdebe58f31cca5c8d660384d174f70f33b647c85338480ce84691702021-06-20 19:14:356 mins ago0x496788c9d7e4752acd4fc1a87317336b7fd8287a IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.0001229
0x37b8ed419e8f6c574be062a84b30219bd4649e270e92a78875b353b456613ba684691692021-06-20 19:14:326 mins ago0x3412a00a92d8d3095b26efe23c239dd1d2f9178a IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x6c2c33f8d87d592cddcbd8d414a134c4376d4668d0e0b13194d62a31f6ff725784691592021-06-20 19:14:027 mins ago0x496788c9d7e4752acd4fc1a87317336b7fd8287a IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.00012248
0xa3c593801aa189b8f1cd9524cb476683b70012f582ffabb6f4adc2ce2380ab5984691522021-06-20 19:13:417 mins ago0xdfe823254d51baedd531e7b3b8a59d9d83d42456 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x1dac9436f4ec5317c68039110e6e828892f21492462295f632fba485286c036b84691422021-06-20 19:13:118 mins ago0xe476dec76e2cc238633d1e361b5a7155f46099a3 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0xf6243dd447e02909a8caf65c9b3c5ad983d0213527b3b53ce37263beafbb186484690972021-06-20 19:10:5610 mins ago0xef1ad59fd82299f18afe2f9a6461411c3f5189e8 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x3cbce5f019dd10e4d37c0003700b1daabe5abf8e2a9cc75b33dfb7e03e2e388784690102021-06-20 19:06:3514 mins ago0x2e1683c7929e82fa773e80b6e0dc5f34d790dc40 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0xe336c73ec3c4e6b6318e792f9cd3fa133d4c7fe3ab784d73e4ea9d676286de9d84689902021-06-20 19:05:3515 mins ago0x7561f5670081037aaef72108dcb153ac2f890e5a IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0xfe7e30a59e41ba82d4adcba11dd0015761e1e9981aaa33bf894e666654f02f4b84688812021-06-20 19:00:0821 mins ago0x2b9ba3b9bb97fa88fa6e1a3fd18bf8ae0efaf7e0 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x9144a533adbd9b01b2a20bd8c9d195f130ed6743055682e6acbb0412aeb02d4784688662021-06-20 18:59:2321 mins ago0x81cdf3d214360236801c845a298468df7f8b6c3f IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000461215
0xdbb53ba0055f3044a07cc0ffad4c1de370500c08bbb673061968f256ed4f57e384688502021-06-20 18:58:3522 mins ago0x639e87bdfb9a4af0f1b3353ebe2ac77c19b406db IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.00012302
0xe66fd393d291e6a32ebbd161dfb8d9adaa203bb44c876cac28268842e1e2f8af84688402021-06-20 18:58:0523 mins ago0x639e87bdfb9a4af0f1b3353ebe2ac77c19b406db IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x3903e80554051987e315e767c1842e9d8feab9f6ab7f0046634453de11f789b384688232021-06-20 18:57:1423 mins ago0x4a0de0634b0e5e9697aae33d6a985da823a5165f IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0xa71048bdd3600d130195cfa286682c77574fd4c305b404ceccb62d058b029bc884687992021-06-20 18:56:0225 mins ago0x8f56c1d421e6804c94de09d5bd341e744903a18e IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x937b64273bed4bc00a47a3c8048f0d5739aa8a50b9d5de51f0829b5844a3411484687902021-06-20 18:55:3525 mins ago0x2156830105ec17bedc318119d3a05cf8677f4d11 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000590215
0x7f98ab0d977b36b63a03461dbf83ef631b8e3635dc864415970f8f2ef22ee84384687082021-06-20 18:51:2929 mins ago0xd3270a163f9600111ed9b4fa545253aa99d933c4 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000590215
0x1a987531096593e7f4fa9e4d6d7f4d3b04c06361f85f2a2f3bb11ecc96f6b34484686642021-06-20 18:49:1731 mins ago0x5cf0d8ac365edb34682ca573649dfac3c4ce17c6 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x0881a6c176f72972899a9ea752ac9564bf8823861631926edac8255455d7992d84685862021-06-20 18:45:2335 mins ago0x787526c2b9dd00fe25868c3811de1824faed78fe IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000515215
0x257aca44aadd4b80907a15488845da4e21b97b3e42398e4d3aadbb37b10656fd84685752021-06-20 18:44:5036 mins ago0xd90671cdcb7868e0c877da18e7d0aeefbc581fd5 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000590215
0x0caf7786912ba33208e27062b04d2a61118a6cdab4654c2e619bc299a250dbe384685102021-06-20 18:41:3539 mins ago0xb11375dc22dab9a589b45ac921b3148746922ab8 IN  0xf4e0943c1d55e883e3c6310cd641970a36a7f8700 BNB0.000590215
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WexLockupStaking

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-06-02
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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 Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 virtual returns (uint8) {
        return _decimals;
    }

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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;
    }
}

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

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

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

    struct PoolInfo {
        uint256 allocPoint;
        uint256 lastRewardBlock;
        uint256 accWexPerShare;
        uint256 depositedAmount;
        uint256 rewardsAmount;
        uint256 lockupDuration;
    }

    IERC20 public wex;
    uint256 public wexPerBlock = uint256(10 ether);

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

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

    function addPool(uint256 _allocPoint, uint256 _lockupDuration) internal {
        poolInfo.push(
            PoolInfo({
                allocPoint: _allocPoint,
                lastRewardBlock: 0,
                accWexPerShare: 0,
                depositedAmount: 0,
                rewardsAmount: 0,
                lockupDuration: _lockupDuration
            })
        );
    }

    function setWexToken(IERC20 _wex) external onlyOwner {
        require(address(wex) == address(0), 'Token already set!');
        wex = _wex;
        addPool(10, 60 days);
    }

    function startStaking(uint256 startBlock) external onlyOwner {
        require(poolInfo[0].lastRewardBlock == 0, 'Staking already started');
        poolInfo[0].lastRewardBlock = startBlock;
    }

    function setLockupDuration(uint256 _lockupDuration, uint pid) external onlyOwner {
        PoolInfo storage pool = poolInfo[pid];
        pool.lockupDuration = _lockupDuration;
    }

    function pendingRewards(uint256 pid, address _user) external view returns (uint256) {
        require(poolInfo[pid].lastRewardBlock > 0 && block.number >= poolInfo[pid].lastRewardBlock, 'Staking not yet started');
        PoolInfo storage pool = poolInfo[pid];
        UserInfo storage user = userInfo[pid][_user];
        uint256 accWexPerShare = pool.accWexPerShare;
        uint256 depositedAmount = pool.depositedAmount;
        if (block.number > pool.lastRewardBlock && depositedAmount != 0) {
            uint256 multiplier = block.number.sub(pool.lastRewardBlock);
            uint256 wexReward = multiplier.mul(wexPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accWexPerShare = accWexPerShare.add(wexReward.mul(1e12).div(depositedAmount));
        }
        return user.amount.mul(accWexPerShare).div(1e12).sub(user.rewardDebt).add(user.pendingRewards);
    }

    function updatePool(uint256 pid) internal {
        require(poolInfo[pid].lastRewardBlock > 0 && block.number >= poolInfo[pid].lastRewardBlock, 'Staking not yet started');
        PoolInfo storage pool = poolInfo[pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 depositedAmount = pool.depositedAmount;
        if (pool.depositedAmount == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = block.number.sub(pool.lastRewardBlock);
        uint256 wexReward = multiplier.mul(wexPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        pool.rewardsAmount = pool.rewardsAmount.add(wexReward);
        pool.accWexPerShare = pool.accWexPerShare.add(wexReward.mul(1e12).div(depositedAmount));
        pool.lastRewardBlock = block.number;
    }

    function deposit(uint256 pid, uint256 amount) external {
        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 (amount > 0) {
            wex.safeTransferFrom(address(msg.sender), address(this), amount);
            user.amount = user.amount.add(amount);
            pool.depositedAmount = pool.depositedAmount.add(amount);
        }
        user.rewardDebt = user.amount.mul(pool.accWexPerShare).div(1e12);
        user.lastClaim = block.timestamp;
        emit Deposit(msg.sender, pid, amount);
    }

    function withdraw(uint256 pid, uint256 amount) external {
        PoolInfo storage pool = poolInfo[pid];
        UserInfo storage user = userInfo[pid][msg.sender];
        require(block.timestamp > user.lastClaim + pool.lockupDuration, "You cannot withdraw yet!");
        require(user.amount >= amount, "Withdrawing more than you have!");
        updatePool(pid);
        uint256 pending = user.amount.mul(pool.accWexPerShare).div(1e12).sub(user.rewardDebt);
        if (pending > 0) {
            user.pendingRewards = user.pendingRewards.add(pending);
        }
        if (amount > 0) {
            wex.safeTransfer(address(msg.sender), amount);
            user.amount = user.amount.sub(amount);
            pool.depositedAmount = pool.depositedAmount.sub(amount);
        }
        user.rewardDebt = user.amount.mul(pool.accWexPerShare).div(1e12);
        emit Withdraw(msg.sender, pid, amount);
    }

    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);
            uint256 claimedAmount = safeWexTransfer(msg.sender, user.pendingRewards, pid);
            emit Claim(msg.sender, pid, claimedAmount);
            user.pendingRewards = user.pendingRewards.sub(claimedAmount);
            pool.rewardsAmount = pool.rewardsAmount.sub(claimedAmount);
        }
        user.rewardDebt = user.amount.mul(pool.accWexPerShare).div(1e12);
    }

    function safeWexTransfer(address to, uint256 amount, uint256 pid) internal returns (uint256) {
        PoolInfo memory pool = poolInfo[pid];
        if (amount > pool.rewardsAmount) {
            wex.safeTransfer(to, pool.rewardsAmount);
            return pool.rewardsAmount;
        } else {
            wex.safeTransfer(to, amount);
            return amount;
        }
    }

    function setWexPerBlock(uint256 _wexPerBlock) external onlyOwner {
        require(_wexPerBlock > 0, "WEX per block should be greater than 0!");
        wexPerBlock = _wexPerBlock;
    }
}

Contract ABI

[{"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":"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":"pid","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"pendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accWexPerShare","type":"uint256"},{"internalType":"uint256","name":"depositedAmount","type":"uint256"},{"internalType":"uint256","name":"rewardsAmount","type":"uint256"},{"internalType":"uint256","name":"lockupDuration","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lockupDuration","type":"uint256"},{"internalType":"uint256","name":"pid","type":"uint256"}],"name":"setLockupDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wexPerBlock","type":"uint256"}],"name":"setWexPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_wex","type":"address"}],"name":"setWexToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startBlock","type":"uint256"}],"name":"startStaking","outputs":[],"stateMutability":"nonpayable","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":"","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"},{"internalType":"uint256","name":"lastClaim","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wex","outputs":[{"internalType":"contract IERC20","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"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052678ac7230489e80000600255600a60055534801561002157600080fd5b5060006100326100d560201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506100dd565b600033905090565b612346806100ec6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638c8260aa11610097578063d208c38211610066578063d208c382146103c9578063e2bbb15814610401578063f2fde38b14610439578063f6e271451461047d57610100565b80638c8260aa146102785780638da5cb5b146102bc57806393f1a40b146102f0578063d18df53c1461036757610100565b8063715018a6116100d3578063715018a6146101ee578063762b1c92146101f8578063823880811461022657806385cd4c411461025a57610100565b80631526fe271461010557806317caf6f11461016a578063379607f514610188578063441a3e70146101b6575b600080fd5b6101316004803603602081101561011b57600080fd5b81019080803590602001909291905050506104ab565b60405180878152602001868152602001858152602001848152602001838152602001828152602001965050505050505060405180910390f35b6101726104f7565b6040518082815260200191505060405180910390f35b6101b46004803603602081101561019e57600080fd5b81019080803590602001909291905050506104fd565b005b6101ec600480360360408110156101cc57600080fd5b8101908080359060200190929190803590602001909291905050506106de565b005b6101f66109ed565b005b6102246004803603602081101561020e57600080fd5b8101908080359060200190929190505050610b5a565b005b61022e610cc5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610262610ceb565b6040518082815260200191505060405180910390f35b6102ba6004803603602081101561028e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cf1565b005b6102c4610eb6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61033c6004803603604081101561030657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610edf565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b6103b36004803603604081101561037d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f1c565b6040518082815260200191505060405180910390f35b6103ff600480360360408110156103df57600080fd5b81019080803590602001909291908035906020019092919050505061117e565b005b6104376004803603604081101561041757600080fd5b81019080803590602001909291908035906020019092919050505061125a565b005b61047b6004803603602081101561044f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611489565b005b6104a96004803603602081101561049357600080fd5b810190808035906020019092919050505061167b565b005b600381815481106104bb57600080fd5b90600052602060002090600602016000915090508060000154908060010154908060020154908060030154908060040154908060050154905086565b60055481565b60006003828154811061050c57fe5b9060005260206000209060060201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506105798361178d565b60006105c382600101546105b564e8d4a510006105a78760020154876000015461197790919063ffffffff16565b6119fd90919063ffffffff16565b611a8690919063ffffffff16565b905060008111806105d8575060008260020154115b1561069e576105f4818360020154611b0990919063ffffffff16565b8260020181905550600061060d33846002015487611b91565b9050843373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf7836040518082815260200191505060405180910390a3610675818460020154611a8690919063ffffffff16565b8360020181905550610694818560040154611a8690919063ffffffff16565b8460040181905550505b6106d064e8d4a510006106c28560020154856000015461197790919063ffffffff16565b6119fd90919063ffffffff16565b826001018190555050505050565b6000600383815481106106ed57fe5b9060005260206000209060060201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050816005015481600301540142116107d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f596f752063616e6e6f742077697468647261772079657421000000000000000081525060200191505060405180910390fd5b828160000154101561084a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5769746864726177696e67206d6f7265207468616e20796f752068617665210081525060200191505060405180910390fd5b6108538461178d565b600061089d826001015461088f64e8d4a510006108818760020154876000015461197790919063ffffffff16565b6119fd90919063ffffffff16565b611a8690919063ffffffff16565b905060008111156108c8576108bf818360020154611b0990919063ffffffff16565b82600201819055505b600084111561095d5761091e3385600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611cbb9092919063ffffffff16565b610935848360000154611a8690919063ffffffff16565b8260000181905550610954848460030154611a8690919063ffffffff16565b83600301819055505b61098f64e8d4a510006109818560020154856000015461197790919063ffffffff16565b6119fd90919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b6109f5611d5d565b73ffffffffffffffffffffffffffffffffffffffff16610a13610eb6565b73ffffffffffffffffffffffffffffffffffffffff1614610a9c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610b62611d5d565b73ffffffffffffffffffffffffffffffffffffffff16610b80610eb6565b73ffffffffffffffffffffffffffffffffffffffff1614610c09576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006003600081548110610c1957fe5b90600052602060002090600602016001015414610c9e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e6720616c7265616479207374617274656400000000000000000081525060200191505060405180910390fd5b806003600081548110610cad57fe5b90600052602060002090600602016001018190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b610cf9611d5d565b73ffffffffffffffffffffffffffffffffffffffff16610d17610eb6565b73ffffffffffffffffffffffffffffffffffffffff1614610da0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e64576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f546f6b656e20616c72656164792073657421000000000000000000000000000081525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610eb3600a624f1a00611d65565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154908060030154905084565b60008060038481548110610f2c57fe5b906000526020600020906006020160010154118015610f69575060038381548110610f5357fe5b9060005260206000209060060201600101544310155b610fdb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206e6f7420796574207374617274656400000000000000000081525060200191505060405180910390fd5b600060038481548110610fea57fe5b9060005260206000209060060201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600082600201549050600083600301549050836001015443118015611074575060008114155b15611118576000611092856001015443611a8690919063ffffffff16565b905060006110d56005546110c788600001546110b96002548761197790919063ffffffff16565b61197790919063ffffffff16565b6119fd90919063ffffffff16565b9050611113611104846110f664e8d4a510008561197790919063ffffffff16565b6119fd90919063ffffffff16565b85611b0990919063ffffffff16565b935050505b6111728360020154611164856001015461115664e8d4a51000611148888a6000015461197790919063ffffffff16565b6119fd90919063ffffffff16565b611a8690919063ffffffff16565b611b0990919063ffffffff16565b94505050505092915050565b611186611d5d565b73ffffffffffffffffffffffffffffffffffffffff166111a4610eb6565b73ffffffffffffffffffffffffffffffffffffffff161461122d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006003828154811061123c57fe5b90600052602060002090600602019050828160050181905550505050565b60006003838154811061126957fe5b9060005260206000209060060201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506112d68461178d565b60008160000154111561135a57600061132d826001015461131f64e8d4a510006113118760020154876000015461197790919063ffffffff16565b6119fd90919063ffffffff16565b611a8690919063ffffffff16565b905060008111156113585761134f818360020154611b0990919063ffffffff16565b82600201819055505b505b60008311156113f1576113b2333085600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611e03909392919063ffffffff16565b6113c9838260000154611b0990919063ffffffff16565b81600001819055506113e8838360030154611b0990919063ffffffff16565b82600301819055505b61142364e8d4a510006114158460020154846000015461197790919063ffffffff16565b6119fd90919063ffffffff16565b8160010181905550428160030181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b611491611d5d565b73ffffffffffffffffffffffffffffffffffffffff166114af610eb6565b73ffffffffffffffffffffffffffffffffffffffff1614611538576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806122536026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611683611d5d565b73ffffffffffffffffffffffffffffffffffffffff166116a1610eb6565b73ffffffffffffffffffffffffffffffffffffffff161461172a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111611783576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806122ea6027913960400191505060405180910390fd5b8060028190555050565b60006003828154811061179c57fe5b9060005260206000209060060201600101541180156117d95750600381815481106117c357fe5b9060005260206000209060060201600101544310155b61184b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206e6f7420796574207374617274656400000000000000000081525060200191505060405180910390fd5b60006003828154811061185a57fe5b906000526020600020906006020190508060010154431161187b5750611974565b6000816003015490506000826003015414156118a1574382600101819055505050611974565b60006118ba836001015443611a8690919063ffffffff16565b905060006118fd6005546118ef86600001546118e16002548761197790919063ffffffff16565b61197790919063ffffffff16565b6119fd90919063ffffffff16565b9050611916818560040154611b0990919063ffffffff16565b846004018190555061195e61194b8461193d64e8d4a510008561197790919063ffffffff16565b6119fd90919063ffffffff16565b8560020154611b0990919063ffffffff16565b8460020181905550438460010181905550505050505b50565b60008083141561198a57600090506119f7565b600082840290508284828161199b57fe5b04146119f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061229f6021913960400191505060405180910390fd5b809150505b92915050565b6000808211611a74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611a7d57fe5b04905092915050565b600082821115611afe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015611b87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008060038381548110611ba157fe5b90600052602060002090600602016040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815260200160058201548152505090508060800151841115611c6257611c55858260800151600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611cbb9092919063ffffffff16565b8060800151915050611cb4565b611caf8585600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611cbb9092919063ffffffff16565b839150505b9392505050565b611d588363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ec4565b505050565b600033905090565b60036040518060c0016040528084815260200160008152602001600081526020016000815260200160008152602001838152509080600181540180825580915050600190039060005260206000209060060201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015550505050565b611ebe846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ec4565b50505050565b6000611f26826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611fb39092919063ffffffff16565b9050600081511115611fae57808060200190516020811015611f4757600080fd5b8101908080519060200190929190505050611fad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806122c0602a913960400191505060405180910390fd5b5b505050565b6060611fc28484600085611fcb565b90509392505050565b606082471015612026576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806122796026913960400191505060405180910390fd5b61202f85612173565b6120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106120f057805182526020820191506020810190506020830392506120cd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612152576040519150601f19603f3d011682016040523d82523d6000602084013e612157565b606091505b5091509150612167828286612186565b92505050949350505050565b600080823b905060008111915050919050565b606083156121965782905061224b565b6000835111156121a95782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122105780820151818401526020810190506121f5565b50505050905090810190601f16801561223d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645745582070657220626c6f636b2073686f756c642062652067726561746572207468616e203021a26469706673582212203c0c2d26d03d24c2afd5315f225ba0c3861cd6fe0ac392c320430b5d49e4ffaf64736f6c63430007060033

Deployed ByteCode Sourcemap

35781:6906:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36346:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36450:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41312:780;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;40380:924;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31595:148;;;:::i;:::-;;37321:199;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36267:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36291:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37132:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30944:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36379:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37721:898;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37528:185;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;39507:865;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31898:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42495:189;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36346:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;36450:35::-;;;;:::o;41312:780::-;41358:21;41382:8;41391:3;41382:13;;;;;;;;;;;;;;;;;;41358:37;;41406:21;41430:8;:13;41439:3;41430:13;;;;;;;;;;;:25;41444:10;41430:25;;;;;;;;;;;;;;;41406:49;;41466:15;41477:3;41466:10;:15::i;:::-;41492;41510:67;41561:4;:15;;;41510:46;41551:4;41510:36;41526:4;:19;;;41510:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;41492:85;;41602:1;41592:7;:11;:38;;;;41629:1;41607:4;:19;;;:23;41592:38;41588:422;;;41669:32;41693:7;41669:4;:19;;;:23;;:32;;;;:::i;:::-;41647:4;:19;;:54;;;;41716:21;41740:53;41756:10;41768:4;:19;;;41789:3;41740:15;:53::i;:::-;41716:77;;41831:3;41819:10;41813:37;;;41836:13;41813:37;;;;;;;;;;;;;;;;;;41887:38;41911:13;41887:4;:19;;;:23;;:38;;;;:::i;:::-;41865:4;:19;;:60;;;;41961:37;41984:13;41961:4;:18;;;:22;;:37;;;;:::i;:::-;41940:4;:18;;:58;;;;41588:422;;42038:46;42079:4;42038:36;42054:4;:19;;;42038:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;42020:4;:15;;:64;;;;41312:780;;;;:::o;40380:924::-;40447:21;40471:8;40480:3;40471:13;;;;;;;;;;;;;;;;;;40447:37;;40495:21;40519:8;:13;40528:3;40519:13;;;;;;;;;;;:25;40533:10;40519:25;;;;;;;;;;;;;;;40495:49;;40598:4;:19;;;40581:4;:14;;;:36;40563:15;:54;40555:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40680:6;40665:4;:11;;;:21;;40657:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40733:15;40744:3;40733:10;:15::i;:::-;40759;40777:67;40828:4;:15;;;40777:46;40818:4;40777:36;40793:4;:19;;;40777:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;40759:85;;40869:1;40859:7;:11;40855:98;;;40909:32;40933:7;40909:4;:19;;;:23;;:32;;;;:::i;:::-;40887:4;:19;;:54;;;;40855:98;40976:1;40967:6;:10;40963:210;;;40994:45;41019:10;41032:6;40994:3;;;;;;;;;;;:16;;;;:45;;;;;:::i;:::-;41068:23;41084:6;41068:4;:11;;;:15;;:23;;;;:::i;:::-;41054:4;:11;;:37;;;;41129:32;41154:6;41129:4;:20;;;:24;;:32;;;;:::i;:::-;41106:4;:20;;:55;;;;40963:210;41201:46;41242:4;41201:36;41217:4;:19;;;41201:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;41183:4;:15;;:64;;;;41284:3;41272:10;41263:33;;;41289:6;41263:33;;;;;;;;;;;;;;;;;;40380:924;;;;;:::o;31595:148::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31702:1:::1;31665:40;;31686:6;::::0;::::1;;;;;;;;31665:40;;;;;;;;;;;;31733:1;31716:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;31595:148::o:0;37321:199::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37432:1:::1;37401:8;37410:1;37401:11;;;;;;;;;;;;;;;;;;:27;;;:32;37393:68;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;37502:10;37472:8;37481:1;37472:11;;;;;;;;;;;;;;;;;;:27;;:40;;;;37321:199:::0;:::o;36267:17::-;;;;;;;;;;;;;:::o;36291:46::-;;;;:::o;37132:181::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37228:1:::1;37204:26;;37212:3;;;;;;;;;;;37204:26;;;37196:57;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;37270:4;37264:3;;:10;;;;;;;;;;;;;;;;;;37285:20;37293:2;37297:7;37285;:20::i;:::-;37132:181:::0;:::o;30944:87::-;30990:7;31017:6;;;;;;;;;;;31010:13;;30944:87;:::o;36379:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37721:898::-;37796:7;37856:1;37824:8;37833:3;37824:13;;;;;;;;;;;;;;;;;;:29;;;:33;:82;;;;;37877:8;37886:3;37877:13;;;;;;;;;;;;;;;;;;:29;;;37861:12;:45;;37824:82;37816:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37945:21;37969:8;37978:3;37969:13;;;;;;;;;;;;;;;;;;37945:37;;37993:21;38017:8;:13;38026:3;38017:13;;;;;;;;;;;:20;38031:5;38017:20;;;;;;;;;;;;;;;37993:44;;38048:22;38073:4;:19;;;38048:44;;38103:23;38129:4;:20;;;38103:46;;38179:4;:20;;;38164:12;:35;:59;;;;;38222:1;38203:15;:20;;38164:59;38160:347;;;38240:18;38261:38;38278:4;:20;;;38261:12;:16;;:38;;;;:::i;:::-;38240:59;;38314:17;38334:69;38387:15;;38334:48;38366:4;:15;;;38334:27;38349:11;;38334:10;:14;;:27;;;;:::i;:::-;:31;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;38314:89;;38435:60;38454:40;38478:15;38454:19;38468:4;38454:9;:13;;:19;;;;:::i;:::-;:23;;:40;;;;:::i;:::-;38435:14;:18;;:60;;;;:::i;:::-;38418:77;;38160:347;;;38524:87;38591:4;:19;;;38524:62;38570:4;:15;;;38524:41;38560:4;38524:31;38540:14;38524:4;:11;;;:15;;:31;;;;:::i;:::-;:35;;:41;;;;:::i;:::-;:45;;:62;;;;:::i;:::-;:66;;:87;;;;:::i;:::-;38517:94;;;;;;37721:898;;;;:::o;37528:185::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37620:21:::1;37644:8;37653:3;37644:13;;;;;;;;;;;;;;;;;;37620:37;;37690:15;37668:4;:19;;:37;;;;31235:1;37528:185:::0;;:::o;39507:865::-;39573:21;39597:8;39606:3;39597:13;;;;;;;;;;;;;;;;;;39573:37;;39621:21;39645:8;:13;39654:3;39645:13;;;;;;;;;;;:25;39659:10;39645:25;;;;;;;;;;;;;;;39621:49;;39681:15;39692:3;39681:10;:15::i;:::-;39725:1;39711:4;:11;;;:15;39707:253;;;39743:15;39761:67;39812:4;:15;;;39761:46;39802:4;39761:36;39777:4;:19;;;39761:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;39743:85;;39857:1;39847:7;:11;39843:106;;;39901:32;39925:7;39901:4;:19;;;:23;;:32;;;;:::i;:::-;39879:4;:19;;:54;;;;39843:106;39707:253;;39983:1;39974:6;:10;39970:229;;;40001:64;40030:10;40051:4;40058:6;40001:3;;;;;;;;;;;:20;;;;:64;;;;;;:::i;:::-;40094:23;40110:6;40094:4;:11;;;:15;;:23;;;;:::i;:::-;40080:4;:11;;:37;;;;40155:32;40180:6;40155:4;:20;;;:24;;:32;;;;:::i;:::-;40132:4;:20;;:55;;;;39970:229;40227:46;40268:4;40227:36;40243:4;:19;;;40227:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;40209:4;:15;;:64;;;;40301:15;40284:4;:14;;:32;;;;40352:3;40340:10;40332:32;;;40357:6;40332:32;;;;;;;;;;;;;;;;;;39507:865;;;;:::o;31898:244::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32007:1:::1;31987:22;;:8;:22;;;;31979:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32097:8;32068:38;;32089:6;::::0;::::1;;;;;;;;32068:38;;;;;;;;;;;;32126:8;32117:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;31898:244:::0;:::o;42495:189::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42594:1:::1;42579:12;:16;42571:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42664:12;42650:11;:26;;;;42495:189:::0;:::o;38627:872::-;38720:1;38688:8;38697:3;38688:13;;;;;;;;;;;;;;;;;;:29;;;:33;:82;;;;;38741:8;38750:3;38741:13;;;;;;;;;;;;;;;;;;:29;;;38725:12;:45;;38688:82;38680:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38809:21;38833:8;38842:3;38833:13;;;;;;;;;;;;;;;;;;38809:37;;38877:4;:20;;;38861:12;:36;38857:75;;38914:7;;;38857:75;38942:23;38968:4;:20;;;38942:46;;39027:1;39003:4;:20;;;:25;38999:114;;;39068:12;39045:4;:20;;:35;;;;39095:7;;;;38999:114;39123:18;39144:38;39161:4;:20;;;39144:12;:16;;:38;;;;:::i;:::-;39123:59;;39193:17;39213:69;39266:15;;39213:48;39245:4;:15;;;39213:27;39228:11;;39213:10;:14;;:27;;;;:::i;:::-;:31;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;39193:89;;39314:33;39337:9;39314:4;:18;;;:22;;:33;;;;:::i;:::-;39293:4;:18;;:54;;;;39380:65;39404:40;39428:15;39404:19;39418:4;39404:9;:13;;:19;;;;:::i;:::-;:23;;:40;;;;:::i;:::-;39380:4;:19;;;:23;;:65;;;;:::i;:::-;39358:4;:19;;:87;;;;39479:12;39456:4;:20;;:35;;;;38627:872;;;;;;:::o;7263:220::-;7321:7;7350:1;7345;:6;7341:20;;;7360:1;7353:8;;;;7341:20;7372:9;7388:1;7384;:5;7372:17;;7417:1;7412;7408;:5;;;;;;:10;7400:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7474:1;7467:8;;;7263:220;;;;;:::o;7961:153::-;8019:7;8051:1;8047;:5;8039:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8105:1;8101;:5;;;;;;8094:12;;7961:153;;;;:::o;6846:158::-;6904:7;6937:1;6932;:6;;6924:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6995:1;6991;:5;6984:12;;6846:158;;;;:::o;6384:179::-;6442:7;6462:9;6478:1;6474;:5;6462:17;;6503:1;6498;:6;;6490:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6554:1;6547:8;;;6384:179;;;;:::o;42100:387::-;42184:7;42204:20;42227:8;42236:3;42227:13;;;;;;;;;;;;;;;;;;42204:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42264:4;:18;;;42255:6;:27;42251:229;;;42299:40;42316:2;42320:4;:18;;;42299:3;;;;;;;;;;;:16;;;;:40;;;;;:::i;:::-;42361:4;:18;;;42354:25;;;;;42251:229;42412:28;42429:2;42433:6;42412:3;;;;;;;;;;;:16;;;;:28;;;;;:::i;:::-;42462:6;42455:13;;;42100:387;;;;;;:::o;32708:177::-;32791:86;32811:5;32841:23;;;32866:2;32870:5;32818:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32791:19;:86::i;:::-;32708:177;;;:::o;613:106::-;666:15;701:10;694:17;;613:106;:::o;36732:392::-;36815:8;36843:262;;;;;;;;36883:11;36843:262;;;;36930:1;36843:262;;;;36966:1;36843:262;;;;37003:1;36843:262;;;;37038:1;36843:262;;;;37074:15;36843:262;;;36815:301;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36732:392;;:::o;32893:205::-;32994:96;33014:5;33044:27;;;33073:4;33079:2;33083:5;33021:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32994:19;:96::i;:::-;32893:205;;;;:::o;35013:761::-;35437:23;35463:69;35491:4;35463:69;;;;;;;;;;;;;;;;;35471:5;35463:27;;;;:69;;;;;:::i;:::-;35437:95;;35567:1;35547:10;:17;:21;35543:224;;;35689:10;35678:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35670:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35543:224;35013:761;;;:::o;25588:195::-;25691:12;25723:52;25745:6;25753:4;25759:1;25762:12;25723:21;:52::i;:::-;25716:59;;25588:195;;;;;:::o;26640:530::-;26767:12;26825:5;26800:21;:30;;26792:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26892:18;26903:6;26892:10;:18::i;:::-;26884:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27018:12;27032:23;27059:6;:11;;27079:5;27087:4;27059:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27017:75;;;;27110:52;27128:7;27137:10;27149:12;27110:17;:52::i;:::-;27103:59;;;;26640:530;;;;;;:::o;22670:422::-;22730:4;22938:12;23049:7;23037:20;23029:28;;23083:1;23076:4;:8;23069:15;;;22670:422;;;:::o;29180:742::-;29295:12;29324:7;29320:595;;;29355:10;29348:17;;;;29320:595;29489:1;29469:10;:17;:21;29465:439;;;29732:10;29726:17;29793:15;29780:10;29776:2;29772:19;29765:44;29680:148;29875:12;29868:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29180:742;;;;;;:::o

Swarm Source

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