Loan your ERC20 tokens to Stargate and earn fees!

addLiquidity() empowers users to earn fees by loaning their ERC20 tokens to the Stargate protocol. It's as easy as calling addLiquidity().

Heres a description of the arguments:

function addLiquidity(
    uint _poolId,         // the stargate poolId representing the specific ERC20 token
    uint256 _amountLD,    // the amount to loan. quantity in local decimals
    address _to           // the address to receive the LP token. ie: shares of the pool

Last updated