Skip to main content
Solana venue integration moonit under svm/venues/moonit.
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.

MOONIT_PROGRAM_ID

Variable · sdk/dist/svm/venues/moonit/index.d.ts

moonit

Variable · sdk/dist/svm/venues/moonit/index.d.ts

_referenceBuyForTest

Function · sdk/dist/svm/venues/moonit/index.d.ts BUY: exact gross collateral y in (fee taken off the input) -> tokens out, capped at the curve’s live inventory.

_referenceSellForTest

Function · sdk/dist/svm/venues/moonit/index.d.ts SELL: exact tokens x in (fee taken off the output) -> collateral out. Saturates at the live sold position (never over-sells).

_bakeCoefficientsForTest

Function · sdk/dist/svm/venues/moonit/index.d.ts Derive coefA/coefB’s fixed-point bakes from the CurveAccount’s static fields (exact bigint, no rounding until the single final step).

_isqrtForTest

Function · sdk/dist/svm/venues/moonit/index.d.ts Floor integer square root (mirrors the engine’s SQRT op - same algorithm as obric-v2’s isqrt).

MoonitPoolConfig

Interface · sdk/dist/svm/venues/moonit/index.d.ts