Create a new Savings Pool Client.
The URL of the node to connect to.
The wallet which will interact with this Oven.
The address of the Kolibri Savings Pool.
A TezosToolkit
Deposit kUSD into the liquidity pool and receive LP tokens.
Note: Deposit operations require an approval to be issued. This method will not issue an approval automatically.
The amount of kUSD to deposit.
The savings pool contract
The operation hash
Get the interest rate of the pool.
Get the LP token balance for the given account.
Get the conversion rate of 1 LP token to kUSD, denominated in kUSD.
Get the number of LP tokens in existence.
Get the size of the pool in kUSD, accounting for the current time.
Get the kUSD balance for a given account, if they turned in all of their LP tokens.
Returns a Taquito transaction that will deposit kUSD into the liquidity pool and receive LP tokens.
Note: Deposit operations require an approval to be issued. This method will not include an approval in the transaction.
The amount of kUSD to deposit.
The savings pool contract
A transaction that will deposit kUSD.
Returns a taquito transaction that will remove LP tokens from the liquidity pool and receive kUSD
Note: Redeem operations require an approval to be issued. This method will not include an approval in the transaction. *
The amount of LP tokens to redeem.
The savings pool contract
A transaction that will redeem LP tokens
Remove LP tokens from the liquidity pool and receive kUSD
Note: Redeem operations require an approval to be issued. This method will not issue an approval automatically.
The amount of LP tokens to redeem.
The savings pool contract
The operation hash
Generated using TypeDoc
Controls interaction with the Kolibri Savings Pool.