omnipair, exported from @eco-incorp/sauce/svm.
Generated from the type declarations of @eco-incorp/sauce.
OMNIPAIR_PROGRAM_ID
Variable · @eco-incorp/sauce/svm
PAIR_ACCOUNT_SIZE
Variable · @eco-incorp/sauce/svm
PAIR_DISCRIMINATOR
Variable · @eco-incorp/sauce/svm
sha256(‘account:Pair’)[0..8].
omnipair
Variable · @eco-incorp/sauce/svm
The Omnipair venue: constant-product pairs whose reserves include the liquidity lent out.
fetchOmnipairPoolConfig
Function · @eco-incorp/sauce/svm
Fetch + decode one Pair, deriving the fixed accounts the swap CPI needs. Read-only against the loader.
omnipairCapacity
Function · @eco-incorp/sauce/svm
Closed-form capacity: the largest gross input x for which
amountOut(x) <= cashOut holds (see the module header derivation).
U64_MAX when reserveOut <= cashOut (never binds).
omnipairQuote
Function · @eco-incorp/sauce/svm
The COLD (venue-exact) quote for gross input x, saturating at the capacity clamp.
OmnipairPoolConfig
Interface · @eco-incorp/sauce/svm
