Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The scale-amm Solana venue: the declaration and description of each of the 2 exports of @eco-incorp/sauce/svm.
scale-amm
@eco-incorp/sauce/svm
@eco-incorp/sauce
scaleAmm
scaleAmm: { slug: string; kind: "constant-product"; programId: Address<"SCALEwAvEK5gtkdHiFzXfPgtk2YwJxPDzaV3aDmR7tA">; fetchPoolConfig(owned: OwnedAccountLoader, pool: Address): Promise<ScaleAmmPoolConfig>; referenceQuote(base: PoolConfig, state: AccountBytesMap, amountIn: bigint): bigint; }
ScaleAmmPoolConfig
export interface ScaleAmmPoolConfig extends PoolConfig { venue: typeof SLUG; owner: Address; mintA: Address; mintB: Address; reservesA: bigint; reservesB: bigint; shift: bigint; feeBeneficiaryCount: number; feeBeneficiaries: readonly FeeBeneficiary[]; vaultA: Address; vaultB: Address; platformConfig: Address; platformFeeBps: bigint; platformFeeTaA: Address; beneficiaryAtas: readonly Address[]; tokenProgramA: Address; tokenProgramB: Address; direction: ScaleDirection; }