huma under svm/venues/huma.
Generated from the type declarations shipped in
@eco-incorp/sauce 0.99.4. Each entry shows the package authors’ JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see architecture and deployments.humaLenderStatePda
Function · sdk/dist/svm/venues/huma/index.d.ts
PDA([“lender_state”, modeConfig, lender], HUMA_PROGRAM_ID) - a per-(mode,owner) precondition account; see the module doc.
humaFeeBpsFor
Function · sdk/dist/svm/venues/huma/index.d.ts
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 · sdk/dist/svm/venues/huma/index.d.ts
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 · sdk/dist/svm/venues/huma/index.d.ts
HUMA_CURATED_MODE_CONFIGS
Variable · sdk/dist/svm/venues/huma/index.d.ts
HumaFeeTier
Interface · sdk/dist/svm/venues/huma/index.d.ts
HumaPoolConfig
Interface · sdk/dist/svm/venues/huma/index.d.ts
huma
Variable · sdk/dist/svm/venues/huma/index.d.ts
humaDepositAccounts
Function · sdk/dist/svm/venues/huma/index.d.ts
humaInstantWithdrawAccounts
Function · sdk/dist/svm/venues/huma/index.d.ts
humaEncodeDepositData
Function · sdk/dist/svm/venues/huma/index.d.ts
humaEncodeInstantWithdrawData
Function · sdk/dist/svm/venues/huma/index.d.ts
HUMA_MODE_STATE_SIZE
Variable · sdk/dist/svm/venues/huma/index.d.ts
