TokenLendingProgram.fromBytes constructor
TokenLendingProgram.fromBytes({
- required List<
AccountMeta> keys, - required List<
int> instructionBytes, - SolAddress programId = TokenLendingProgramConst.lendingProgramId,
Implementation
factory TokenLendingProgram.fromBytes({
required List<AccountMeta> keys,
required List<int> instructionBytes,
SolAddress programId = TokenLendingProgramConst.lendingProgramId,
}) {
return TokenLendingProgram(
layout: TokenLendingProgramLayout.fromBytes(instructionBytes),
keys: keys,
programId: programId);
}