Skip to main content
Solana venue integration one-intro-swap, exported from @eco-incorp/sauce/svm. Generated from the type declarations of @eco-incorp/sauce.

oneIntroSwapConfig

Function · @eco-incorp/sauce/svm

fetchOneIntroSwapPoolConfig

Function · @eco-incorp/sauce/svm

ONE_INTRO_SWAP_PROGRAM_ID

Variable · @eco-incorp/sauce/svm

ONE_INTRO_SWAP_METADATA_STATE

Variable · @eco-incorp/sauce/svm The ONE known MetadataState - see the module header’s “global, not per-pool” evidence. Required by every swap (accounts[0], read-only).

ONE_INTRO_SWAP_FEE_OWNER_A

Variable · @eco-incorp/sauce/svm The two fixed fee-collector owners - ground-truthed via the real mainnet SOL/USDC market’s four fee token accounts (2 per mint side): each owner’s ATA for whichever mint is being DEPOSITED is where that stream’s cut lands (floor(amountIn / 100_000) per stream).

ONE_INTRO_SWAP_FEE_OWNER_B

Variable · @eco-incorp/sauce/svm

OFF_VIRTUAL_RESERVE0

Variable · @eco-incorp/sauce/svm

OFF_VIRTUAL_RESERVE1

Variable · @eco-incorp/sauce/svm

TOKEN_ACCOUNT_AMOUNT_OFFSET

Variable · @eco-incorp/sauce/svm SPL token account amount (u64 LE) offset - standard Tokenkeg layout.

OneIntroSwapPoolConfig

Interface · @eco-incorp/sauce/svm