woofi, exported from @eco-incorp/sauce/svm.
Generated from the type declarations of @eco-incorp/sauce.
fetchWoofiConfig
Function ยท @eco-incorp/sauce/svm
Fetch + gate one WooFi pool. QUOTE-PAIRED ONLY (see file header): exactly
one of the bundleโs two sides must equal quoteTokenMint, else this is a
genuine base-to-base pair and this adapter throws (not yet wired - a
follow-up, not a permission gate).
woofiSwapAccounts
Function ยท @eco-incorp/sauce/svm
The 17-account order Swap expects (swap.rs, verified against 6 real mainnet transactions).
WOOFI_PROGRAM_ID
Variable ยท @eco-incorp/sauce/svm
WOOFI_SWAP_DISCRIMINATOR
Variable ยท @eco-incorp/sauce/svm
Anchor sha256("global:swap")[0..8] - program-independent (same bytes obric-v2/meteora use for their own โswapโ ix).
WOOFI_AMM_POOL_SIZE
Variable ยท @eco-incorp/sauce/svm
WOOFI_WOOPOOL_SIZE
Variable ยท @eco-incorp/sauce/svm
WOOFI_WOORACLE_SIZE
Variable ยท @eco-incorp/sauce/svm
WOOFI_PRICE_UPDATE_SIZE
Variable ยท @eco-incorp/sauce/svm
OFF_AMM_WOORACLE_A
Variable ยท @eco-incorp/sauce/svm
OFF_AMM_WOOPOOL_A
Variable ยท @eco-incorp/sauce/svm
OFF_AMM_TOKEN_MINT_A
Variable ยท @eco-incorp/sauce/svm
OFF_AMM_TOKEN_VAULT_A
Variable ยท @eco-incorp/sauce/svm
OFF_AMM_WOORACLE_B
Variable ยท @eco-incorp/sauce/svm
OFF_AMM_WOOPOOL_B
Variable ยท @eco-incorp/sauce/svm
OFF_AMM_TOKEN_MINT_B
Variable ยท @eco-incorp/sauce/svm
OFF_AMM_TOKEN_VAULT_B
Variable ยท @eco-incorp/sauce/svm
OFF_AMM_QUOTE_TOKEN_MINT
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_WOOCONFIG
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_PRICE_UPDATE
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_MAXIMUM_AGE
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_PRICE_DECIMALS
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_QUOTE_DECIMALS
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_UPDATED_AT
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_STALE_DURATION
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_BOUND
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_PRICE
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_COEFF
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_SPREAD
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_RANGE_MIN
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_RANGE_MAX
Variable ยท @eco-incorp/sauce/svm
OFF_ORACLE_QUOTE_PRICE_UPDATE
Variable ยท @eco-incorp/sauce/svm
OFF_POOL_FEE_RATE
Variable ยท @eco-incorp/sauce/svm
OFF_POOL_MAX_GAMMA
Variable ยท @eco-incorp/sauce/svm
OFF_POOL_MAX_NOTIONAL_SWAP
Variable ยท @eco-incorp/sauce/svm
OFF_POOL_CAP_BAL
Variable ยท @eco-incorp/sauce/svm
OFF_POOL_MIN_SWAP_AMOUNT
Variable ยท @eco-incorp/sauce/svm
min_swap_amount, a u128 at bytes 155..171 (state/woopool.rs:54). The swap returns Ok(()) before
any transfer when from_amount <= min_swap_amount (instructions/swap.rs:100). There is no separate
โreserveโ field inside it: the former OFF_POOL_RESERVE = 157 was bytes 2..10 of this u128, and the
bisection that โfoundโ it made every swap a no-op (an early success) rather than enabling one.
OFF_POOL_UNCLAIMED_FEE
Variable ยท @eco-incorp/sauce/svm
unclaimed_fee, a u128 at bytes 171..187 (state/woopool.rs:56). On the QUOTE pool it is subtracted
from the quote vaultโs balance (util/token.rs:7-20); a sellBase whose gross quote exceeds the
remainder reverts NotEnoughOut, and a ledger above the vault reverts ReserveLessThanFee.
OFF_POOL_TOKEN_MINT
Variable ยท @eco-incorp/sauce/svm
OFF_POOL_TOKEN_VAULT
Variable ยท @eco-incorp/sauce/svm
OFF_POOL_BASE_DECIMALS
Variable ยท @eco-incorp/sauce/svm
OFF_PYTH_VERIFICATION_TAG
Variable ยท @eco-incorp/sauce/svm
OFF_PYTH_PRICE
Variable ยท @eco-incorp/sauce/svm
OFF_PYTH_EXPONENT
Variable ยท @eco-incorp/sauce/svm
OFF_PYTH_PUBLISH_TIME
Variable ยท @eco-incorp/sauce/svm
PYTH_VERIFICATION_FULL
Variable ยท @eco-incorp/sauce/svm
ONE_E18
Variable ยท @eco-incorp/sauce/svm
ONE_E5
Variable ยท @eco-incorp/sauce/svm
WoofiPoolConfig
Interface ยท @eco-incorp/sauce/svm
woofi
Variable ยท @eco-incorp/sauce/svm
