false
true
0

Contract Address Details

0xC373e77fD22025f35CE8DD6C66E289Eb2951457e

Contract Name
StakingRewardPool
Creator
0xeb59b0–dcef7f at 0xc4f350–230a0f
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
1 Transactions
Transfers
17 Transfers
Gas Used
22,479
Last Balance Update
26119072
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
StakingRewardPool




Optimization enabled
true
Compiler version
v0.8.26+commit.8a97fa7a




Optimization runs
10
EVM Version
paris




Verified at
2026-01-28T07:29:15.627866Z

Constructor Arguments

0x000000000000000000000000d34f5adc24d8cc55c1e832bdf65fffdf80d1314f00000000000000000000000079bb3a0ee435f957ce4f54ee8c3cfadc7278da0c000000000000000000000000a1077a294dde1b09bb078844df40758a5d0f9a27000000000000000000000000543436a60b991ed646be6ca6ef55f24b8152dc91

Arg [0] (address) : 0xd34f5adc24d8cc55c1e832bdf65fffdf80d1314f
Arg [1] (address) : 0x79bb3a0ee435f957ce4f54ee8c3cfadc7278da0c
Arg [2] (address) : 0xa1077a294dde1b09bb078844df40758a5d0f9a27
Arg [3] (address) : 0x543436a60b991ed646be6ca6ef55f24b8152dc91

              

contracts/StakingRewardPool.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";

interface IWPLS {
    function deposit() external payable;
    function balanceOf(address) external view returns (uint256);
    function transfer(address to, uint256 value) external returns (bool);
}

interface INetworkProposal {
    function isAdmin(address adminAddress) external view returns (bool);
    function admin() external view returns (address);
    function getVoters() external view returns (address[] memory);
}

// This contract just receives and holds Vouch/vPLS/PLS Rewards that are dripped to stakers.
/**
 * @title StakingRewardPool
 * @notice Holds VOUCH/VPLS/WPLS for standard pools. Maintains internal reward balances per token.
 *         Only the designated controller (staking contract) can pull via pullTokenTo. When new
 *         funds arrive (balance > rewardBalance), on sync the contract credits the delta to the
 *         rewardBalance and forwards a percentage to the LPRewardPool.
 */
contract StakingRewardPool {
    using Address for address;
    using SafeERC20 for IERC20;

    IERC20 public vouchToken;
    IERC20 public vplsToken;
    IWPLS public wplsToken;
    address public vouchStaking; // controller
    address public lpRewardPool;
    uint256 public forwardPct;
    INetworkProposal networkProposal = INetworkProposal(0x7783D7040423f75aeF82a3Ec32ed366ca460Fa6c);

    uint256 public vouchRewardBalance;
    uint256 public vplsRewardBalance;
    uint256 public wplsRewardBalance;

    error UnsupportedToken(address token);
    error NotAdmin();
    error NotController();
    error InvalidAddress();
    error PctGreaterThan100();
    error InsufficientReward(address token, uint256 have, uint256 need);

    event LpRewardPoolUpdated(address indexed lpRewardPool);
    event ForwardPctUpdated(uint256 pct);
    event TokenPulled(address indexed token, address indexed to, uint256 amount);
    event NativeWrapped(uint256 amount);
    event NativeReceived(address indexed from, uint256 amount);
    event ForwardedToLp(address indexed token, address indexed lpPool, uint256 amount);

    modifier onlyAdmin() {
        if (!networkProposal.isAdmin(msg.sender)) revert NotAdmin();
        _;
    }

    modifier onlyController() {
        if (msg.sender != vouchStaking) revert NotController();
        _;
    }

    constructor(address _vouchToken, address _vplsToken, address _wplsToken, address _staking) {
        if (_staking == address(0)) revert InvalidAddress();
        if (_vouchToken == address(0)) revert InvalidAddress();
        if (_vplsToken == address(0)) revert InvalidAddress();
        if (_wplsToken == address(0)) revert InvalidAddress();
        vouchToken = IERC20(_vouchToken);
        vplsToken = IERC20(_vplsToken);
        wplsToken = IWPLS(_wplsToken);
        vouchStaking = _staking;
    }

    receive() external payable {
        emit NativeReceived(msg.sender, msg.value);
    }

    function setLpRewardPool(address _lpPool) external onlyAdmin {
        lpRewardPool = _lpPool;
        emit LpRewardPoolUpdated(_lpPool);
    }

    function setForwardPct(uint256 _pct) external onlyAdmin {
        if (_pct > 100) revert PctGreaterThan100();
        forwardPct = _pct;
        emit ForwardPctUpdated(_pct);
    }

    function recoverFunds(address token, address to, uint256 amount) external onlyAdmin {
        if (token == address(vouchToken) || token == address(vplsToken) || token == address(wplsToken)) {
            revert UnsupportedToken(token);
        }
        IERC20(token).safeTransfer(to, amount);
    }

    function sync() public { _sync(); }

    function pullTokenTo(address token, address to, uint256 amount) external onlyController {
        _sync();
        if (token == address(vouchToken)) {
            if (vouchRewardBalance < amount) revert InsufficientReward(token, vouchRewardBalance, amount);
            vouchRewardBalance = vouchRewardBalance - amount;
            vouchToken.safeTransfer(to, amount);
        } else if (token == address(vplsToken)) {
            if (vplsRewardBalance < amount) revert InsufficientReward(token, vplsRewardBalance, amount);
            vplsRewardBalance = vplsRewardBalance - amount;
            vplsToken.safeTransfer(to, amount);
        } else if (token == address(wplsToken)) {
            if (wplsRewardBalance < amount) revert InsufficientReward(token, wplsRewardBalance, amount);
            wplsRewardBalance = wplsRewardBalance - amount;
            IERC20(address(wplsToken)).safeTransfer(to, amount);
        } else {
            revert UnsupportedToken(token);
        }
        emit TokenPulled(token, to, amount);
    }

    function _sync() internal {
        if (address(this).balance > 0) {
            uint256 amt = address(this).balance;
            wplsToken.deposit{value: amt}();
            emit NativeWrapped(amt);
        }
        _syncOne(address(vouchToken));
        _syncOne(address(vplsToken));
        _syncOne(address(wplsToken));
    }

    function _syncOne(address tokenAddr) internal {
        uint256 cur;
        if (tokenAddr == address(vouchToken)) {
            cur = vouchToken.balanceOf(address(this));
        } else if (tokenAddr == address(vplsToken)) {
            cur = vplsToken.balanceOf(address(this));
        } else if (tokenAddr == address(wplsToken)) {
            cur = wplsToken.balanceOf(address(this));
        } else {
            return;
        }
        uint256 rewardBal = tokenAddr == address(vouchToken)
            ? vouchRewardBalance
            : tokenAddr == address(vplsToken)
                ? vplsRewardBalance
                : wplsRewardBalance;
        if (cur > rewardBal) {
            uint256 delta = cur - rewardBal;
            uint256 f = lpRewardPool != address(0) && forwardPct > 0 ? delta * forwardPct / 100 : 0;
            if (f > 0) {
                if (tokenAddr == address(vouchToken)) vouchToken.safeTransfer(lpRewardPool, f);
                else if (tokenAddr == address(vplsToken)) vplsToken.safeTransfer(lpRewardPool, f);
                else if (tokenAddr == address(wplsToken)) IERC20(address(wplsToken)).safeTransfer(lpRewardPool, f);
                emit ForwardedToLp(tokenAddr, lpRewardPool, f);
            }
            uint256 credit = delta - f;
            if (tokenAddr == address(vouchToken)) vouchRewardBalance += credit;
            else if (tokenAddr == address(vplsToken)) vplsRewardBalance += credit;
            else if (tokenAddr == address(wplsToken)) wplsRewardBalance += credit;
        }
    }
}
        

@openzeppelin/contracts/interfaces/IERC1363.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)

pragma solidity >=0.6.2;

import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";

/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}
          

@openzeppelin/contracts/interfaces/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)

pragma solidity >=0.4.16;

import {IERC165} from "../utils/introspection/IERC165.sol";
          

@openzeppelin/contracts/interfaces/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)

pragma solidity >=0.4.16;

import {IERC20} from "../token/ERC20/IERC20.sol";
          

@openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
interface IERC20 {
    /**
     * @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 Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 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 {
    /**
     * @dev An operation with an ERC-20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0)
        }
        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
    }
}
          

@openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/Address.sol)

pragma solidity ^0.8.20;

import {Errors} from "./Errors.sol";

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert Errors.InsufficientBalance(address(this).balance, amount);
        }

        (bool success, bytes memory returndata) = recipient.call{value: amount}("");
        if (!success) {
            _revert(returndata);
        }
    }

    /**
     * @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 or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {Errors.FailedCall} error.
     *
     * 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.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @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`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert Errors.InsufficientBalance(address(this).balance, value);
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case
     * of an unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {Errors.FailedCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // 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
            assembly ("memory-safe") {
                revert(add(returndata, 0x20), mload(returndata))
            }
        } else {
            revert Errors.FailedCall();
        }
    }
}
          

@openzeppelin/contracts/utils/Errors.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of common custom errors used in multiple contracts
 *
 * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.
 * It is recommended to avoid relying on the error API for critical functionality.
 *
 * _Available since v5.1._
 */
library Errors {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error InsufficientBalance(uint256 balance, uint256 needed);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedCall();

    /**
     * @dev The deployment failed.
     */
    error FailedDeployment();

    /**
     * @dev A necessary precompile is missing.
     */
    error MissingPrecompile(address);
}
          

@openzeppelin/contracts/utils/introspection/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
          

Compiler Settings

{"viaIR":true,"outputSelection":{"*":{"*":["*"],"":["*"]}},"optimizer":{"runs":10,"enabled":true},"libraries":{},"evmVersion":"paris"}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_vouchToken","internalType":"address"},{"type":"address","name":"_vplsToken","internalType":"address"},{"type":"address","name":"_wplsToken","internalType":"address"},{"type":"address","name":"_staking","internalType":"address"}]},{"type":"error","name":"InsufficientReward","inputs":[{"type":"address","name":"token","internalType":"address"},{"type":"uint256","name":"have","internalType":"uint256"},{"type":"uint256","name":"need","internalType":"uint256"}]},{"type":"error","name":"InvalidAddress","inputs":[]},{"type":"error","name":"NotAdmin","inputs":[]},{"type":"error","name":"NotController","inputs":[]},{"type":"error","name":"PctGreaterThan100","inputs":[]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"error","name":"UnsupportedToken","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"event","name":"ForwardPctUpdated","inputs":[{"type":"uint256","name":"pct","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ForwardedToLp","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"address","name":"lpPool","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"LpRewardPoolUpdated","inputs":[{"type":"address","name":"lpRewardPool","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"NativeReceived","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"NativeWrapped","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"TokenPulled","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"forwardPct","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"lpRewardPool","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pullTokenTo","inputs":[{"type":"address","name":"token","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"recoverFunds","inputs":[{"type":"address","name":"token","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setForwardPct","inputs":[{"type":"uint256","name":"_pct","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLpRewardPool","inputs":[{"type":"address","name":"_lpPool","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"sync","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"vouchRewardBalance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"vouchStaking","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"vouchToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"vplsRewardBalance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"vplsToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"wplsRewardBalance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IWPLS"}],"name":"wplsToken","inputs":[]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x60803461013357601f610d9f38819003918201601f19168301916001600160401b0383118484101761013857808492608094604052833981010312610133576100478161014e565b906100546020820161014e565b9061006d60606100666040840161014e565b920161014e565b600680546001600160a01b031916737783d7040423f75aef82a3ec32ed366ca460fa6c1790556001600160a01b0316928315610122576001600160a01b0316918215610122576001600160a01b0316908115610122576001600160a01b03169182156101225760018060a01b0319600054161760005560018060a01b0319600154161760015560018060a01b0319600254161760025560018060a01b03196003541617600355604051610c3c90816101638239f35b63e6c4247b60e01b60005260046000fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101335756fe6080806040526004361015610049575b50361561001b57600080fd5b6040513481527f8ac633e5b094e1150d2a6495df4d0c77f51d293abe99e7733c78870dfbee766060203392a2005b60003560e01c9081630134cef514610657575080630cd17c1a146104b857806321724f431461048f578063458fe2651461047157806353591c36146104535780635d3590d51461037857806386b59558146102b95780639e51983114610290578063bc5edef614610272578063bec2825f14610249578063c1e5b29614610162578063c88bbb5814610139578063fed81036146101105763fff6cae9146100f0573861000f565b3461010b57600036600319011261010b57610109610720565b005b600080fd5b3461010b57600036600319011261010b576001546040516001600160a01b039091168152602090f35b3461010b57600036600319011261010b576000546040516001600160a01b039091168152602090f35b3461010b57602036600319011261010b576004356024602060018060a01b036006541660405192838092630935e01b60e21b82523360048301525afa90811561023d5760009161020e575b50156101fd57606481116101ec576020817f62fa5833a39adfc2aa30c2e27814d8f9f5ecd370dab29b5b4d3821ee4ecd54b392600555604051908152a1005b6360d7872360e11b60005260046000fd5b637bfa4b9f60e01b60005260046000fd5b610230915060203d602011610236575b61022881836106cf565b810190610708565b826101ad565b503d61021e565b6040513d6000823e3d90fd5b3461010b57600036600319011261010b576002546040516001600160a01b039091168152602090f35b3461010b57600036600319011261010b576020600754604051908152f35b3461010b57600036600319011261010b576003546040516001600160a01b039091168152602090f35b3461010b57602036600319011261010b576004356001600160a01b0381169081900361010b57600654604051630935e01b60e21b815233600482015290602090829060249082906001600160a01b03165afa90811561023d57600091610359575b50156101fd57600480546001600160a01b031916821790557f1fcf35f04a5b25cdc6b8e722590db86da086bb256cf7ad9f3d131e4f7ed07c4c600080a2005b610372915060203d6020116102365761022881836106cf565b8261031a565b3461010b5761038636610672565b600654604051630935e01b60e21b815233600482015291929190602090829060249082906001600160a01b03165afa90811561023d57600091610434575b50156101fd576000546001600160a01b03938416931683148015610420575b801561040c575b6103f757610109926107fc565b82635f8b555b60e11b60005260045260246000fd5b506002546001600160a01b031683146103ea565b506001546001600160a01b031683146103e3565b61044d915060203d6020116102365761022881836106cf565b846103c4565b3461010b57600036600319011261010b576020600954604051908152f35b3461010b57600036600319011261010b576020600554604051908152f35b3461010b57600036600319011261010b576004546040516001600160a01b039091168152602090f35b3461010b576104c636610672565b6003549092906001600160a01b03163303610646576104e3610720565b6000546001600160a01b039182169116810361056d5760075491838084106105515790610522602092600080516020610bc783398151915294956106ac565b60075560005461053e90869083906001600160a01b03166107fc565b6040519485526001600160a01b031693a3005b505063f87686b360e01b60005260045260245260445260646000fd5b6001546001600160a01b031681036105c957600854918380841061055157906105a8602092600080516020610bc783398151915294956106ac565b6008556001546105c490869083906001600160a01b03166107fc565b61053e565b6002546001600160a01b0316918183036106315783600954938185106106145781836105c49261060c60209695600080516020610bc783398151915298996106ac565b6009556107fc565b50505063f87686b360e01b60005260045260245260445260646000fd5b50635f8b555b60e11b60005260045260246000fd5b6323019e6760e01b60005260046000fd5b3461010b57600036600319011261010b576020906008548152f35b606090600319011261010b576004356001600160a01b038116810361010b57906024356001600160a01b038116810361010b579060443590565b919082039182116106b957565b634e487b7160e01b600052601160045260246000fd5b601f909101601f19168101906001600160401b038211908210176106f257604052565b634e487b7160e01b600052604160045260246000fd5b9081602091031261010b5751801515810361010b5790565b600047610767575b5461073b906001600160a01b031661089a565b600154610750906001600160a01b031661089a565b600254610765906001600160a01b031661089a565b565b600254479291906001600160a01b0316803b156107f857818491600460405180978193630d0e30db60e41b83525af19384156107ed5761073b93946107c8575b506020600080516020610be783398151915291604051908152a19050610728565b826107e5600080516020610be783398151915293946020936106cf565b9291506107a7565b6040513d84823e3d90fd5b5080fd5b60405163a9059cbb60e01b60208281019182526001600160a01b039094166024830152604480830195909552938152909260009161083b6064826106cf565b519082855af11561023d576000513d61088457506001600160a01b0381163b155b6108635750565b635274afe760e01b60009081526001600160a01b0391909116600452602490fd5b6001141561085c565b919082018092116106b957565b6000546001600160a01b039182169116818114908115610b02576020602491604051928380926370a0823160e01b82523060048301525afa90811561023d57600091610ad0575b505b8115610aae576007545b8082116108fb575b50505050565b610904916106ac565b6004546001600160a01b0316919082151580610aa3575b60009015610a985750600554928382029382850414821517156106b957606461094e9404925b836109d1575b50506106ac565b6000549091906001600160a01b0316810361097d57506109709060075461088d565b6007555b388080806108f5565b6001546001600160a01b031681036109a4575061099c9060085461088d565b600855610974565b6002546001600160a01b0316146109bc575b50610974565b6109c89060095461088d565b600955386109b6565b15610a3257506000546004546109f59184916001600160a01b0390811691166107fc565b60018060a01b0360045416847f02eed47b9359f913739d26078be7ed8b0091a56c568ae4ab6318b3e51b04f1b66020604051868152a33880610947565b6001546001600160a01b03168503610a685750600154600454610a639184916001600160a01b0390811691166107fc565b6109f5565b6002546001600160a01b0316908390868314610a87575b5050506109f5565b610a90926107fc565b388281610a7f565b9261094e9392610941565b50600554151561091b565b6001546001600160a01b03168303610ac8576008546108ed565b6009546108ed565b90506020813d602011610afa575b81610aeb602093836106cf565b8101031261010b5751386108e1565b3d9150610ade565b506001546001600160a01b0316828103610b7b576020602491604051928380926370a0823160e01b82523060048301525afa90811561023d57600091610b49575b506108e3565b90506020813d602011610b73575b81610b64602093836106cf565b8101031261010b575138610b43565b3d9150610b57565b506002546001600160a01b0316828103610bc1576020602491604051928380926370a0823160e01b82523060048301525afa90811561023d57600091610b4957506108e3565b50505056fe1274f3225f379d2c168ab30ede4b7fd1e7481118755d7e76df6cb12cad0fc9163726d2a921b044fa7c08115b7588e09652cbb8122294bbc71f80557b07b18421a2646970667358221220ba5f7737c5a351f6f7c55ba12a4a446868e0f173cf77013d9937cdf36f0c6bef64736f6c634300081a0033000000000000000000000000d34f5adc24d8cc55c1e832bdf65fffdf80d1314f00000000000000000000000079bb3a0ee435f957ce4f54ee8c3cfadc7278da0c000000000000000000000000a1077a294dde1b09bb078844df40758a5d0f9a27000000000000000000000000543436a60b991ed646be6ca6ef55f24b8152dc91

Deployed ByteCode

0x6080806040526004361015610049575b50361561001b57600080fd5b6040513481527f8ac633e5b094e1150d2a6495df4d0c77f51d293abe99e7733c78870dfbee766060203392a2005b60003560e01c9081630134cef514610657575080630cd17c1a146104b857806321724f431461048f578063458fe2651461047157806353591c36146104535780635d3590d51461037857806386b59558146102b95780639e51983114610290578063bc5edef614610272578063bec2825f14610249578063c1e5b29614610162578063c88bbb5814610139578063fed81036146101105763fff6cae9146100f0573861000f565b3461010b57600036600319011261010b57610109610720565b005b600080fd5b3461010b57600036600319011261010b576001546040516001600160a01b039091168152602090f35b3461010b57600036600319011261010b576000546040516001600160a01b039091168152602090f35b3461010b57602036600319011261010b576004356024602060018060a01b036006541660405192838092630935e01b60e21b82523360048301525afa90811561023d5760009161020e575b50156101fd57606481116101ec576020817f62fa5833a39adfc2aa30c2e27814d8f9f5ecd370dab29b5b4d3821ee4ecd54b392600555604051908152a1005b6360d7872360e11b60005260046000fd5b637bfa4b9f60e01b60005260046000fd5b610230915060203d602011610236575b61022881836106cf565b810190610708565b826101ad565b503d61021e565b6040513d6000823e3d90fd5b3461010b57600036600319011261010b576002546040516001600160a01b039091168152602090f35b3461010b57600036600319011261010b576020600754604051908152f35b3461010b57600036600319011261010b576003546040516001600160a01b039091168152602090f35b3461010b57602036600319011261010b576004356001600160a01b0381169081900361010b57600654604051630935e01b60e21b815233600482015290602090829060249082906001600160a01b03165afa90811561023d57600091610359575b50156101fd57600480546001600160a01b031916821790557f1fcf35f04a5b25cdc6b8e722590db86da086bb256cf7ad9f3d131e4f7ed07c4c600080a2005b610372915060203d6020116102365761022881836106cf565b8261031a565b3461010b5761038636610672565b600654604051630935e01b60e21b815233600482015291929190602090829060249082906001600160a01b03165afa90811561023d57600091610434575b50156101fd576000546001600160a01b03938416931683148015610420575b801561040c575b6103f757610109926107fc565b82635f8b555b60e11b60005260045260246000fd5b506002546001600160a01b031683146103ea565b506001546001600160a01b031683146103e3565b61044d915060203d6020116102365761022881836106cf565b846103c4565b3461010b57600036600319011261010b576020600954604051908152f35b3461010b57600036600319011261010b576020600554604051908152f35b3461010b57600036600319011261010b576004546040516001600160a01b039091168152602090f35b3461010b576104c636610672565b6003549092906001600160a01b03163303610646576104e3610720565b6000546001600160a01b039182169116810361056d5760075491838084106105515790610522602092600080516020610bc783398151915294956106ac565b60075560005461053e90869083906001600160a01b03166107fc565b6040519485526001600160a01b031693a3005b505063f87686b360e01b60005260045260245260445260646000fd5b6001546001600160a01b031681036105c957600854918380841061055157906105a8602092600080516020610bc783398151915294956106ac565b6008556001546105c490869083906001600160a01b03166107fc565b61053e565b6002546001600160a01b0316918183036106315783600954938185106106145781836105c49261060c60209695600080516020610bc783398151915298996106ac565b6009556107fc565b50505063f87686b360e01b60005260045260245260445260646000fd5b50635f8b555b60e11b60005260045260246000fd5b6323019e6760e01b60005260046000fd5b3461010b57600036600319011261010b576020906008548152f35b606090600319011261010b576004356001600160a01b038116810361010b57906024356001600160a01b038116810361010b579060443590565b919082039182116106b957565b634e487b7160e01b600052601160045260246000fd5b601f909101601f19168101906001600160401b038211908210176106f257604052565b634e487b7160e01b600052604160045260246000fd5b9081602091031261010b5751801515810361010b5790565b600047610767575b5461073b906001600160a01b031661089a565b600154610750906001600160a01b031661089a565b600254610765906001600160a01b031661089a565b565b600254479291906001600160a01b0316803b156107f857818491600460405180978193630d0e30db60e41b83525af19384156107ed5761073b93946107c8575b506020600080516020610be783398151915291604051908152a19050610728565b826107e5600080516020610be783398151915293946020936106cf565b9291506107a7565b6040513d84823e3d90fd5b5080fd5b60405163a9059cbb60e01b60208281019182526001600160a01b039094166024830152604480830195909552938152909260009161083b6064826106cf565b519082855af11561023d576000513d61088457506001600160a01b0381163b155b6108635750565b635274afe760e01b60009081526001600160a01b0391909116600452602490fd5b6001141561085c565b919082018092116106b957565b6000546001600160a01b039182169116818114908115610b02576020602491604051928380926370a0823160e01b82523060048301525afa90811561023d57600091610ad0575b505b8115610aae576007545b8082116108fb575b50505050565b610904916106ac565b6004546001600160a01b0316919082151580610aa3575b60009015610a985750600554928382029382850414821517156106b957606461094e9404925b836109d1575b50506106ac565b6000549091906001600160a01b0316810361097d57506109709060075461088d565b6007555b388080806108f5565b6001546001600160a01b031681036109a4575061099c9060085461088d565b600855610974565b6002546001600160a01b0316146109bc575b50610974565b6109c89060095461088d565b600955386109b6565b15610a3257506000546004546109f59184916001600160a01b0390811691166107fc565b60018060a01b0360045416847f02eed47b9359f913739d26078be7ed8b0091a56c568ae4ab6318b3e51b04f1b66020604051868152a33880610947565b6001546001600160a01b03168503610a685750600154600454610a639184916001600160a01b0390811691166107fc565b6109f5565b6002546001600160a01b0316908390868314610a87575b5050506109f5565b610a90926107fc565b388281610a7f565b9261094e9392610941565b50600554151561091b565b6001546001600160a01b03168303610ac8576008546108ed565b6009546108ed565b90506020813d602011610afa575b81610aeb602093836106cf565b8101031261010b5751386108e1565b3d9150610ade565b506001546001600160a01b0316828103610b7b576020602491604051928380926370a0823160e01b82523060048301525afa90811561023d57600091610b49575b506108e3565b90506020813d602011610b73575b81610b64602093836106cf565b8101031261010b575138610b43565b3d9150610b57565b506002546001600160a01b0316828103610bc1576020602491604051928380926370a0823160e01b82523060048301525afa90811561023d57600091610b4957506108e3565b50505056fe1274f3225f379d2c168ab30ede4b7fd1e7481118755d7e76df6cb12cad0fc9163726d2a921b044fa7c08115b7588e09652cbb8122294bbc71f80557b07b18421a2646970667358221220ba5f7737c5a351f6f7c55ba12a4a446868e0f173cf77013d9937cdf36f0c6bef64736f6c634300081a0033