rst
class of the K2 SDK.
getDeployer function
Get address of the RST module factory that deployed the RST.Input Parameters
rstAddress: Address of RST contract in stringUsing getDeployer function
Return Parameter
Returns address of RST deployergetSBPIndex function
Reference to the unique SBP index in the K2 lending contract where activity can be checked.Input Parameters
rstAddress: Address of RST contract in stringUsing getSBPIndex function
Return Parameter
Returns uint256 SBP index in Big NumbersupdateSBPIndex function
For new SBPs created, the deployer uses this method so that the RST points to the new SBP index.Input Parameters
rstAddress: Address of RST contract in stringnewSBPIndex: new SBP index in string
Using updateSBPIndex function
Return Parameter
Transaction hashisActive function
Check if the RST token is active or not.Input Parameters
rstAddress: Address of RST contract in stringUsing isActive function
Return Parameter
Boolean.true
if active, false
otherwise.