import * as $ from '@manahippo/move-to-ts'; import { AptosDataCache, AptosParserRepo, AptosLocalCache } from '@manahippo/move-to-ts'; import { U8, U64, U128 } from '@manahippo/move-to-ts'; import { TypeParamDeclType, FieldDeclType } from '@manahippo/move-to-ts'; import { StructTag, TypeTag } from '@manahippo/move-to-ts'; import { OptionTransaction } from '@manahippo/move-to-ts'; import { HexString, AptosClient, AptosAccount, TxnBuilderTypes, Types } from 'aptos'; import * as Stdlib from '../stdlib'; export declare const packageName = "HippoAggregator"; export declare const moduleAddress: HexString; export declare const moduleName = "aggregator"; export declare const AUX_TYPE_AMM: U64; export declare const AUX_TYPE_MARKET: U64; export declare const DEX_ANIMESWAP: U8; export declare const DEX_APTOSWAP: U8; export declare const DEX_AUX: U8; export declare const DEX_BASIQ: U8; export declare const DEX_CETUS: U8; export declare const DEX_CETUS_CLMM: U8; export declare const DEX_DITTO: U8; export declare const DEX_ECONIA: U8; export declare const DEX_HIPPO: U8; export declare const DEX_OBRIC: U8; export declare const DEX_PANCAKE: U8; export declare const DEX_PONTEM: U8; export declare const DEX_THALA: U8; export declare const DEX_TORTUGA: U8; export declare const E_COIN_STORE_NOT_EXITES: U64; export declare const E_FEE_BIPS_TO_LARGE: U64; export declare const E_INVALID_PAIR_OF_DITTO: U64; export declare const E_INVALID_PAIR_OF_TORTUGA: U64; export declare const E_NOT_ADMIN: U64; export declare const E_OUTPUT_LESS_THAN_MINIMUM: U64; export declare const E_OUTPUT_NOT_EQAULS_REQUEST: U64; export declare const E_POOL_NOT_FOUND: U64; export declare const E_TOO_MANY_SPLITS: U64; export declare const E_TYPE_NOT_EQUAL: U64; export declare const E_UNKNOWN_DEX: U64; export declare const E_UNKNOWN_DEX_DEPRECATED: U64; export declare const E_UNKNOWN_DEX_FIXED_OUTPUT: U64; export declare const E_UNKNOWN_POOL_TYPE: U64; export declare const E_UNSUPPORTED: U64; export declare const E_UNSUPPORTED_FIXEDOUT_SWAP: U64; export declare const E_UNSUPPORTED_NUM_STEPS: U64; export declare const FEE_TO_MARTIAN: HexString; export declare const HIPPO_CONSTANT_PRODUCT: U64; export declare const HIPPO_PIECEWISE: U64; export declare const MAX_U64: U64; export declare const SPLIT_SCALE_BASE: U64; export declare class AuxSigner { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; signerCapability: Stdlib.Account.SignerCapability; constructor(proto: any, typeTag: TypeTag); static AuxSignerParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): AuxSigner; 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 CoinStore { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; balance: Stdlib.Coin.Coin; constructor(proto: any, typeTag: TypeTag); static CoinStoreParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): CoinStore; 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 makeTag($p: TypeTag[]): StructTag; loadFullState(app: $.AppType): Promise; } export declare class EventStore { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; swap_step_events: Stdlib.Event.EventHandle; constructor(proto: any, typeTag: TypeTag); static EventStoreParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): EventStore; 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 SwapStepEvent { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; dex_type: U8; pool_type: U64; x_type_info: Stdlib.Type_info.TypeInfo; y_type_info: Stdlib.Type_info.TypeInfo; input_amount: U64; output_amount: U64; time_stamp: U64; constructor(proto: any, typeTag: TypeTag); static SwapStepEventParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): SwapStepEvent; static getTag(): StructTag; loadFullState(app: $.AppType): Promise; } export declare class TortugaSigner { typeTag: TypeTag; static moduleAddress: HexString; static moduleName: string; __app: $.AppType | null; static structName: string; static typeParameters: TypeParamDeclType[]; static fields: FieldDeclType[]; signerCapability: Stdlib.Account.SignerCapability; constructor(proto: any, typeTag: TypeTag); static TortugaSignerParser(data: any, typeTag: TypeTag, repo: AptosParserRepo): TortugaSigner; 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 function cetus_clmm_swap_(coin_a: Stdlib.Coin.Coin, coin_b: Stdlib.Coin.Coin, coin_in_value: U64, aTob: boolean, tick_spacing: U64, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Coin.Coin, Stdlib.Coin.Coin]; export declare function change_coin_type_(x_coin: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): Stdlib.Coin.Coin; export declare function check_and_deposit_(sender: HexString, coin: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): void; export declare function check_and_deposit_opt_(sender: HexString, coin_opt: Stdlib.Option.Option, $c: AptosDataCache, $p: TypeTag[]): void; export declare function create_aux_signer_(admin: HexString, $c: AptosDataCache): void; export declare function buildPayload_create_aux_signer(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function create_tortuga_signer_(admin: HexString, $c: AptosDataCache): void; export declare function buildPayload_create_tortuga_signer(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function emit_swap_step_event_(dex_type: U8, pool_type: U64, input_amount: U64, output_amount: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function exp_(a: U128, b: U128, $c: AptosDataCache): U128; export declare function get_intermediate_output_(dex_type: U8, pool_type: U64, is_x_to_y: boolean, x_in: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Option.Option, Stdlib.Coin.Coin]; export declare function get_split_intermediate_output_(dex_types: U8[], pool_types: U64[], is_x_to_y: boolean[], scales: U64[], coin_in: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Coin.Coin, Stdlib.Coin.Coin]; export declare function init_coin_store_(admin: HexString, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_init_coin_store($p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function init_coin_store_all_(admin: HexString, $c: AptosDataCache): void; export declare function buildPayload_init_coin_store_all(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function init_module_(admin: HexString, $c: AptosDataCache): void; export declare function buildPayload_init_module(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function merge_options_(opt1: Stdlib.Option.Option, opt2: Stdlib.Option.Option, $c: AptosDataCache, $p: TypeTag[]): Stdlib.Option.Option; export declare function one_step_direct_(dex_type: U8, pool_type: U64, is_x_to_y: boolean, x_in: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Option.Option, Stdlib.Coin.Coin]; export declare function one_step_route_(sender: HexString, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, x_in: U64, y_min_out: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_one_step_route(first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, x_in: U64, y_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function process_fee_(coin: Stdlib.Coin.Coin, fee_to: HexString, fee_bips: U8, $c: AptosDataCache, $p: TypeTag[]): void; export declare function split_swap_(sender: HexString, first_dex_types: U8[], first_pool_types: U64[], first_is_x_to_y: boolean[], first_scales: U64[], second_dex_types: U8[], second_pool_types: U64[], second_is_x_to_y: boolean[], second_scales: U64[], third_dex_types: U8[], third_pool_types: U64[], third_is_x_to_y: boolean[], third_scales: U64[], x_in: U64, m_min_out: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_split_swap(first_dex_types: U8[], first_pool_types: U64[], first_is_x_to_y: boolean[], first_scales: U64[], second_dex_types: U8[], second_pool_types: U64[], second_is_x_to_y: boolean[], second_scales: U64[], third_dex_types: U8[], third_pool_types: U64[], third_is_x_to_y: boolean[], third_scales: U64[], x_in: U64, m_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function split_swap_direct_(first_dex_types: U8[], first_pool_types: U64[], first_is_x_to_y: boolean[], first_scales: U64[], second_dex_types: U8[], second_pool_types: U64[], second_is_x_to_y: boolean[], second_scales: U64[], third_dex_types: U8[], third_pool_types: U64[], third_is_x_to_y: boolean[], third_scales: U64[], x_in: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Coin.Coin]; export declare function split_swap_v2_1_2_(sender: HexString, route1_scale: U64, route1_step1_dex_types: U8[], route1_step1_pool_types: U64[], route1_step1_is_x_to_y: boolean[], route1_step1_scales: U64[], route2_scale: U64, route2_step1_dex_types: U8[], route2_step1_pool_types: U64[], route2_step1_is_x_to_y: boolean[], route2_step1_scales: U64[], route2_step2_dex_types: U8[], route2_step2_pool_types: U64[], route2_step2_is_x_to_y: boolean[], route2_step2_scales: U64[], input_amount: U64, min_out: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_split_swap_v2_1_2(route1_scale: U64, route1_step1_dex_types: U8[], route1_step1_pool_types: U64[], route1_step1_is_x_to_y: boolean[], route1_step1_scales: U64[], route2_scale: U64, route2_step1_dex_types: U8[], route2_step1_pool_types: U64[], route2_step1_is_x_to_y: boolean[], route2_step1_scales: U64[], route2_step2_dex_types: U8[], route2_step2_pool_types: U64[], route2_step2_is_x_to_y: boolean[], route2_step2_scales: U64[], input_amount: U64, min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function split_swap_v2_1_2_direct_(route1_scale: U64, route1_step1_dex_types: U8[], route1_step1_pool_types: U64[], route1_step1_is_x_to_y: boolean[], route1_step1_scales: U64[], route2_scale: U64, route2_step1_dex_types: U8[], route2_step1_pool_types: U64[], route2_step1_is_x_to_y: boolean[], route2_step1_scales: U64[], route2_step2_dex_types: U8[], route2_step2_pool_types: U64[], route2_step2_is_x_to_y: boolean[], route2_step2_scales: U64[], coin_input: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Coin.Coin, Stdlib.Coin.Coin, Stdlib.Coin.Coin]; export declare function swap_(sender: HexString, num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_swap(num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function swap_direct_(num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Coin.Coin]; export declare function swap_exact_out_with_change_(sender: HexString, num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, exact_out: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_swap_exact_out_with_change(num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, exact_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function swap_exact_out_with_change_direct_(num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: Stdlib.Coin.Coin, exact_out: U64, $c: AptosDataCache, $p: TypeTag[]): [ Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Coin.Coin, Stdlib.Coin.Coin ]; export declare function swap_with_fees_(sender: HexString, num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, fee_to: HexString, fee_bips: U8, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_swap_with_fees(num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, fee_to: HexString, fee_bips: U8, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function swap_with_fixed_output_(sender: HexString, dex_type: U8, pool_type: U64, is_x_to_y: boolean, max_in: U64, amount_out: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_swap_with_fixed_output(dex_type: U8, pool_type: U64, is_x_to_y: boolean, max_in: U64, amount_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function swap_with_fixed_output_direct_(dex_type: U8, pool_type: U64, _is_x_to_y: boolean, max_in: U64, amount_out: U64, coin_in: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Coin.Coin, Stdlib.Coin.Coin]; export declare function take_cross_dex_fee_(_coin: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): void; export declare function three_step_direct_(first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Coin.Coin]; export declare function three_step_route_(sender: HexString, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_three_step_route(first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; export declare function two_step_direct_(first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, x_in: Stdlib.Coin.Coin, $c: AptosDataCache, $p: TypeTag[]): [Stdlib.Option.Option, Stdlib.Option.Option, Stdlib.Coin.Coin]; export declare function two_step_route_(sender: HexString, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, x_in: U64, z_min_out: U64, $c: AptosDataCache, $p: TypeTag[]): void; export declare function buildPayload_two_step_route(first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, x_in: U64, z_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; 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 AuxSigner(): typeof AuxSigner; loadAuxSigner(owner: HexString, loadFull?: boolean, fillCache?: boolean, query?: { ledgerVersion?: number; }): Promise; get CoinStore(): typeof CoinStore; loadCoinStore(owner: HexString, $p: TypeTag[], loadFull?: boolean, fillCache?: boolean, query?: { ledgerVersion?: number; }): Promise; get EventStore(): typeof EventStore; loadEventStore(owner: HexString, loadFull?: boolean, fillCache?: boolean, query?: { ledgerVersion?: number; }): Promise; get SwapStepEvent(): typeof SwapStepEvent; get TortugaSigner(): typeof TortugaSigner; loadTortugaSigner(owner: HexString, loadFull?: boolean, fillCache?: boolean, query?: { ledgerVersion?: number; }): Promise; payload_create_aux_signer(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; create_aux_signer(_account: AptosAccount, option?: OptionTransaction, _isJSON?: boolean): Promise; payload_create_tortuga_signer(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; create_tortuga_signer(_account: AptosAccount, option?: OptionTransaction, _isJSON?: boolean): Promise; payload_init_coin_store($p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; init_coin_store(_account: AptosAccount, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; payload_init_coin_store_all(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; init_coin_store_all(_account: AptosAccount, option?: OptionTransaction, _isJSON?: boolean): Promise; payload_init_module(isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; init_module(_account: AptosAccount, option?: OptionTransaction, _isJSON?: boolean): Promise; payload_one_step_route(first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, x_in: U64, y_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; one_step_route(_account: AptosAccount, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, x_in: U64, y_min_out: U64, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; payload_split_swap(first_dex_types: U8[], first_pool_types: U64[], first_is_x_to_y: boolean[], first_scales: U64[], second_dex_types: U8[], second_pool_types: U64[], second_is_x_to_y: boolean[], second_scales: U64[], third_dex_types: U8[], third_pool_types: U64[], third_is_x_to_y: boolean[], third_scales: U64[], x_in: U64, m_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; split_swap(_account: AptosAccount, first_dex_types: U8[], first_pool_types: U64[], first_is_x_to_y: boolean[], first_scales: U64[], second_dex_types: U8[], second_pool_types: U64[], second_is_x_to_y: boolean[], second_scales: U64[], third_dex_types: U8[], third_pool_types: U64[], third_is_x_to_y: boolean[], third_scales: U64[], x_in: U64, m_min_out: U64, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; payload_split_swap_v2_1_2(route1_scale: U64, route1_step1_dex_types: U8[], route1_step1_pool_types: U64[], route1_step1_is_x_to_y: boolean[], route1_step1_scales: U64[], route2_scale: U64, route2_step1_dex_types: U8[], route2_step1_pool_types: U64[], route2_step1_is_x_to_y: boolean[], route2_step1_scales: U64[], route2_step2_dex_types: U8[], route2_step2_pool_types: U64[], route2_step2_is_x_to_y: boolean[], route2_step2_scales: U64[], input_amount: U64, min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; split_swap_v2_1_2(_account: AptosAccount, route1_scale: U64, route1_step1_dex_types: U8[], route1_step1_pool_types: U64[], route1_step1_is_x_to_y: boolean[], route1_step1_scales: U64[], route2_scale: U64, route2_step1_dex_types: U8[], route2_step1_pool_types: U64[], route2_step1_is_x_to_y: boolean[], route2_step1_scales: U64[], route2_step2_dex_types: U8[], route2_step2_pool_types: U64[], route2_step2_is_x_to_y: boolean[], route2_step2_scales: U64[], input_amount: U64, min_out: U64, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; payload_swap(num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; swap(_account: AptosAccount, num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; payload_swap_exact_out_with_change(num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, exact_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; swap_exact_out_with_change(_account: AptosAccount, num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, exact_out: U64, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; payload_swap_with_fees(num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, fee_to: HexString, fee_bips: U8, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; swap_with_fees(_account: AptosAccount, num_steps: U8, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, fee_to: HexString, fee_bips: U8, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; payload_swap_with_fixed_output(dex_type: U8, pool_type: U64, is_x_to_y: boolean, max_in: U64, amount_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; swap_with_fixed_output(_account: AptosAccount, dex_type: U8, pool_type: U64, is_x_to_y: boolean, max_in: U64, amount_out: U64, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; payload_three_step_route(first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; three_step_route(_account: AptosAccount, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, third_dex_type: U8, third_pool_type: U64, third_is_x_to_y: boolean, x_in: U64, m_min_out: U64, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; payload_two_step_route(first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, x_in: U64, z_min_out: U64, $p: TypeTag[], isJSON?: boolean): TxnBuilderTypes.TransactionPayloadEntryFunction | Types.TransactionPayload_EntryFunctionPayload; two_step_route(_account: AptosAccount, first_dex_type: U8, first_pool_type: U64, first_is_x_to_y: boolean, second_dex_type: U8, second_pool_type: U64, second_is_x_to_y: boolean, x_in: U64, z_min_out: U64, $p: TypeTag[], option?: OptionTransaction, _isJSON?: boolean): Promise; } //# sourceMappingURL=aggregator.d.ts.map