import { Network, SuiCoreSDK } from '@interest-protocol/sui-core-sdk'; import { SuiClient } from '@mysten/sui/client'; import { Transaction } from '@mysten/sui/transactions'; import { ObjectRef } from '@mysten/sui/transactions'; import { Modules, PACKAGES } from './constants'; import { MemezFees } from './structs'; import { GetFeesArgs, GetPoolMetadataArgs, MemezFunSharedObjects, SdkConstructorArgs } from './types/memez.types'; export declare class MemezBaseSDK extends SuiCoreSDK { packages: (typeof PACKAGES)[Network]; sharedObjects: MemezFunSharedObjects; modules: typeof Modules; memezOTW: string; MAX_BPS: number; MAX_U64: bigint; rpcUrl: string; network: Network; client: SuiClient; defaultSupply: bigint; constructor(args?: SdkConstructorArgs | undefined | null); env(): { network: Network; rpcUrl: string; packages: { readonly MEMEZ_FUN: { readonly original: string; readonly latest: string; }; readonly MEMEZ: { readonly original: string; readonly latest: string; }; readonly VESTING: { readonly original: string; readonly latest: string; }; readonly TEST_MEMEZ_MIGRATOR: { readonly original: string; readonly latest: string; }; readonly MEMEZ_WITNESS: { readonly original: string; readonly latest: string; }; readonly INTEREST_ACL: { readonly original: string; readonly latest: string; }; readonly XPUMP_MIGRATOR: { readonly original: string; readonly latest: string; }; readonly WALLET: { readonly original: string; readonly latest: string; }; readonly ROUTER: { readonly original: string; readonly latest: string; }; readonly IPX_COIN_STANDARD: { readonly original: string; readonly latest: string; }; readonly WRAPPER: { readonly original: string; readonly latest: string; }; } | { readonly MEMEZ_FUN: { readonly original: string; readonly latest: string; }; readonly MEMEZ: { readonly original: string; readonly latest: string; }; readonly VESTING: { readonly original: string; readonly latest: string; }; readonly TEST_MEMEZ_MIGRATOR: { readonly original: string; readonly latest: string; }; readonly MEMEZ_WITNESS: { readonly original: string; readonly latest: string; }; readonly INTEREST_ACL: { readonly original: string; readonly latest: string; }; readonly XPUMP_MIGRATOR: { readonly original: string; readonly latest: string; }; readonly WALLET: { readonly original: string; readonly latest: string; }; readonly ROUTER: { readonly original: string; readonly latest: string; }; readonly IPX_COIN_STANDARD: { readonly original: string; readonly latest: string; }; readonly WRAPPER: { readonly original: string; readonly latest: string; }; }; sharedObjects: MemezFunSharedObjects; memezOTW: string; }; /** * Gets an integrator. * * @param args - An object containing the necessary arguments to get the fees for the pool. * @param args.configurationKey - The configuration key to find an integrator's fee configuration. * * @returns The fees for the pool. */ getFees({ configurationKey, }: GetFeesArgs): Promise; getVersion(tx: Transaction): import("@mysten/sui/dist/cjs/transactions").TransactionResult; /** * Retrieves the Memez pool object from Sui and parses it. * @dev It performs two {SuiClient.multiGetObjects} calls. Increase the sleepMs if you fetch more than 25 pools at once to avoid rate limiting. It calls {sleep} twice. * * @param pumpId - The objectId of the MemezPool. * * @returns A parsed MemezPool object. */ getMultiplePumpPools(pumpIds: string[], sleepMs?: number): Promise[]>; /** * Retrieves the Memez pool object from Sui and parses it. * * @param pumpId - The objectId of the MemezPool. * * @returns A parsed MemezPool object. */ getPumpPool(pumpId: string): Promise>; getMultiplePoolMetadata(metadataParams: GetPoolMetadataArgs[]): Promise[]>; getMultiplePoolsBurnTax(innerStates: string[]): Promise; getPoolMetadata({ poolId, quoteCoinType, memeCoinType, curveType, }: GetPoolMetadataArgs): Promise>; getCoinMetadataAndType(memeCoinTreasuryCap: string | ObjectRef): Promise<{ memeCoinType: string; coinMetadataId: string; }>; } //# sourceMappingURL=sdk.d.ts.map