import * as $ from '@manahippo/move-to-ts'; import { AptosDataCache, AptosParserRepo, AptosLocalCache } from '@manahippo/move-to-ts'; import { U64 } from '@manahippo/move-to-ts'; import { TypeParamDeclType, FieldDeclType } from '@manahippo/move-to-ts'; import { StructTag, TypeTag } from '@manahippo/move-to-ts'; import { HexString, AptosClient, Types } from 'aptos'; import * as Fixed_point64 from '../fixed_point64'; import * as Stdlib from '../stdlib'; export declare const packageName = "ThalaSwap"; export declare const moduleAddress: HexString; export declare const moduleName = "base_pool"; export declare class BasePoolParamChangeEvent { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; name: Stdlib.String.String; prev_value: U64; new_value: U64; constructor(proto: any, typeTag: TypeTag); static BasePoolParamChangeEventParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): BasePoolParamChangeEvent; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare class BasePoolParams { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; swap_fee_protocol_allocation_ratio: Fixed_point64.Fixed_point64.FixedPoint64; param_change_events: Stdlib.Event.EventHandle; constructor(proto: any, typeTag: TypeTag); static BasePoolParamsParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): BasePoolParams; static load(repo: AptosParserRepo, client: AptosClient, address: HexString, typeParams: TypeTag[], query?: { ledgerVersion?: number; }): Promise; static loadByApp(app: $.AppType, address: HexString, typeParams: TypeTag[], query?: { ledgerVersion?: number; }): Promise; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare class Null { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; constructor(proto: any, typeTag: TypeTag); static NullParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): Null; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare function is_null_($c: AptosDataCache, $p: TypeTag[]): boolean; export declare function swap_fee_protocol_allocation_ratio_($c: AptosDataCache): Fixed_point64.Fixed_point64.FixedPoint64; export declare function buildPayload_swap_fee_protocol_allocation_ratio(): Types.ViewRequest; export declare function view_swap_fee_protocol_allocation_ratio(client: AptosClient, repo: AptosParserRepo, $p: TypeTag[], ledger_version?: string): Promise; export declare function loadParsers(repo: AptosParserRepo): void; export declare class App { client: AptosClient; repo: AptosParserRepo; cache: AptosLocalCache; constructor(client: AptosClient, repo: AptosParserRepo, cache: AptosLocalCache); get moduleAddress(): HexString; get moduleName(): string; get BasePoolParamChangeEvent(): typeof BasePoolParamChangeEvent; get BasePoolParams(): typeof BasePoolParams; loadBasePoolParams(owner: HexString, loadFull?: boolean, fillCache?: boolean, query?: { ledgerVersion?: number; }): Promise; get Null(): typeof Null; payload_swap_fee_protocol_allocation_ratio(): Types.ViewRequest; swap_fee_protocol_allocation_ratio(ledger_version?: string): Promise<(string | number | boolean | {} | (string | number | boolean | {} | (string | number | boolean | {} | (string | number | boolean | {} | (string | number | boolean | {} | (string | number | boolean | {} | (string | number | boolean | {} | (string | number | boolean | {} | (string | number | boolean | {} | (string | number | boolean | {} | (string | number | boolean | {} | any[])[])[])[])[])[])[])[])[])[])[])[]>; view_swap_fee_protocol_allocation_ratio($p: TypeTag[], ledger_version?: string): Promise; } //# sourceMappingURL=base_pool.d.ts.map