Skip to content

Commit

Permalink
add supermax borrow rate to init reserve instruction generation
Browse files Browse the repository at this point in the history
  • Loading branch information
nope-finance committed Sep 1, 2023
1 parent 6032b79 commit f0d9227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions solend-sdk/src/instructions/initReserve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const initReserveInstruction = (
BufferLayout.u8("minBorrowRate"),
BufferLayout.u8("optimalBorrowRate"),
BufferLayout.u8("maxBorrowRate"),
BufferLayout.u8("superMaxBorrowRate"),
Layout.uint64("borrowFeeWad"),
Layout.uint64("flashLoanFeeWad"),
BufferLayout.u8("hostFeePercentage"),
Expand Down Expand Up @@ -69,6 +70,7 @@ export const initReserveInstruction = (
minBorrowRate: config.minBorrowRate,
optimalBorrowRate: config.optimalBorrowRate,
maxBorrowRate: config.maxBorrowRate,
superMaxBorrowRate: config.superMaxBorrowRate,
borrowFeeWad: config.fees.borrowFeeWad,
flashLoanFeeWad: config.fees.flashLoanFeeWad,
hostFeePercentage: config.fees.hostFeePercentage,
Expand Down

0 comments on commit f0d9227

Please sign in to comment.