Function userDepositStakingInfo
- userDepositStakingInfo(
localState: UserDepositStakingLocalState,
poolManagerInfo: PoolManagerInfo,
depositStakingProgramsInfo: DepositStakingProgramInfo[],
): UserDepositStakingInfo Parameters
- localState: UserDepositStakingLocalState
local state of escrow account
- poolManagerInfo: PoolManagerInfo
pool manager info which is returned by retrievePoolManagerInfo function*
- depositStakingProgramsInfo: DepositStakingProgramInfo[]
deposit staking programs info which is returned by depositStakingProgramsInfo function
Returns UserDepositStakingInfo
Promise
user loans info - localState: UserDepositStakingLocalState
Derives user loan info from escrow account. Use for advanced use cases where optimising number of network request.