Skip to content

Latest commit

 

History

History
295 lines (264 loc) · 9.84 KB

ILiquidityMining.md

File metadata and controls

295 lines (264 loc) · 9.84 KB

ILiquidityMining.sol

View Source: contracts/farm/ILiquidityMining.sol

↘ Derived Contracts: LiquidityMining

ILiquidityMining contract

Functions


withdraw

⤿ Overridden Implementation(s): LiquidityMining.withdraw

function withdraw(address _poolToken, uint256 _amount, address _user) external nonpayable

Arguments

Name Type Description
_poolToken address
_amount uint256
_user address
Source Code
function withdraw(
        address _poolToken,
        uint256 _amount,
        address _user
    ) external;

onTokensDeposited

⤿ Overridden Implementation(s): LiquidityMining.onTokensDeposited

function onTokensDeposited(address _user, uint256 _amount) external nonpayable

Arguments

Name Type Description
_user address
_amount uint256
Source Code
function onTokensDeposited(address _user, uint256 _amount) external;

getUserPoolTokenBalance

⤿ Overridden Implementation(s): LiquidityMining.getUserPoolTokenBalance

function getUserPoolTokenBalance(address _poolToken, address _user) external view
returns(uint256)

Arguments

Name Type Description
_poolToken address
_user address
Source Code
function getUserPoolTokenBalance(address _poolToken, address _user)
        external
        view
        returns (uint256);

Contracts