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
