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 } from 'aptos'; export declare const packageName = "Cetue-AMM"; export declare const moduleAddress: HexString; export declare const moduleName = "amm_config"; export declare const DEFAULT_TRADE_FEE_DENOMINATOR: U64; export declare const DEFAULT_TRADE_FEE_NUMERATOR: U64; export declare class PoolFeeConfig { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; trade_fee_numerator: U64; trade_fee_denominator: U64; protocol_fee_numerator: U64; protocol_fee_denominator: U64; constructor(proto: any, typeTag: TypeTag); static PoolFeeConfigParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): PoolFeeConfig; static load(repo: AptosParserRepo, client: AptosClient, address: HexString, typeParams: TypeTag[]): Promise; static loadByApp(app: $.AppType, address: HexString, typeParams: TypeTag[]): Promise; static makeTag($p: TypeTag[]): StructTag; loadFullState(app: $.AppType): Promise; } export declare function admin_address_($c: AptosDataCache): HexString; export declare function get_trade_fee_($c: AptosDataCache, $p: TypeTag[]): [U64, U64]; 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 PoolFeeConfig(): typeof PoolFeeConfig; loadPoolFeeConfig(owner: HexString, $p: TypeTag[], loadFull?: boolean, fillCache?: boolean): Promise; } //# sourceMappingURL=amm_config.d.ts.map