aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface PoolsAddresses

    Package, object, and optional compilation addresses used by pool operations.

    interface PoolsAddresses {
        objects: {
            insuranceFund: string;
            lpCoinsTable: string;
            poolRegistry: string;
            protocolFeeVault: string;
            treasury: string;
        };
        other?: { createLpCoinPackageCompilations: Record<CoinDecimal, string> };
        packages: {
            amm: string;
            ammInterface: string;
            events: string;
            eventsV2: string;
        };
    }
    Index
    objects: {
        insuranceFund: string;
        lpCoinsTable: string;
        poolRegistry: string;
        protocolFeeVault: string;
        treasury: string;
    }

    Shared object IDs consumed by pool transactions.

    Type Declaration

    • insuranceFund: string

      Pool insurance-fund shared object.

    • lpCoinsTable: string

      LP-coin registry table shared object.

    • poolRegistry: string

      Pool registry shared object.

    • protocolFeeVault: string

      Protocol-fee vault shared object.

    • treasury: string

      Pool treasury shared object.

    other?: { createLpCoinPackageCompilations: Record<CoinDecimal, string> }

    Optional data required to publish LP-coin packages.

    Type Declaration

    • createLpCoinPackageCompilations: Record<CoinDecimal, string>

      JSON-serialized Move modules and dependencies keyed by LP-coin decimals.

    packages: {
        amm: string;
        ammInterface: string;
        events: string;
        eventsV2: string;
    }

    Published Move package IDs used by the pool contracts.

    Type Declaration

    • amm: string

      AMM package ID used by pool transactions.

    • ammInterface: string

      AMM interface package ID used by interface-compatible transactions.

    • events: string

      Package ID that defines the v1 pool and event types.

    • eventsV2: string

      Package ID that defines the v2 pool and event types.