Archived documentation for
@eco-incorp/sauce@0.99.16. Install this release with npm install --save-exact @eco-incorp/sauce@0.99.16. Links to guides outside this tab open current documentation.huma, exported from @eco-incorp/sauce/svm.
Generated from the type declarations of @eco-incorp/sauce.
humaLenderStatePda
Function ยท @eco-incorp/sauce/svm
PDA([โlender_stateโ, modeConfig, lender], HUMA_PROGRAM_ID) - a per-(mode,owner) precondition account; see the module doc.
humaFeeBpsFor
Function ยท @eco-incorp/sauce/svm
The tier fee (bps) applying at a given liquid-asset-ratio (bps): the first (smallest threshold) tier the ratio is strictly below; 0 if none match.
humaFeeAssignLines
Function ยท @eco-incorp/sauce/svm
Builds the tiered instant-withdrawal fee lookup as a flat let + sequence
of top-level if reassignments - NO ternaries (the compiler rejects a
nested/chained ConditionalExpression; see this fileโs emitQuote doc).
Tiers are ascending by ltBps; checked in DESCENDING order so the LAST if to
fire (the smallest matching threshold - the correct, most-conservative
tier) is the one left standing, reproducing โfirst ascending match winsโ
exactly.
HUMA_PROGRAM_ID
Variable ยท @eco-incorp/sauce/svm
HUMA_CURATED_MODE_CONFIGS
Variable ยท @eco-incorp/sauce/svm
HumaFeeTier
Interface ยท @eco-incorp/sauce/svm
HumaPoolConfig
Interface ยท @eco-incorp/sauce/svm
huma
Variable ยท @eco-incorp/sauce/svm
humaDepositAccounts
Function ยท @eco-incorp/sauce/svm
humaInstantWithdrawAccounts
Function ยท @eco-incorp/sauce/svm
humaEncodeDepositData
Function ยท @eco-incorp/sauce/svm
humaEncodeInstantWithdrawData
Function ยท @eco-incorp/sauce/svm
HUMA_MODE_STATE_SIZE
Variable ยท @eco-incorp/sauce/svm
