/** * This file was automatically generated by @oraichain/ts-codegen@0.35.9. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @oraichain/ts-codegen generate command to regenerate this file. */ import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; import { Coin, StdFee } from "@cosmjs/amino"; import { Addr, Uint128, Binary, SwapOperation, AssetInfo } from "./types"; import { Affiliate, ConfigResponse, SimulateSwapOperationsResponse } from "./OraiswapMixedRouter.types"; export interface OraiswapMixedRouterReadOnlyInterface { contractAddress: string; config: () => Promise; simulateSwapOperations: ({ offerAmount, operations }: { offerAmount: Uint128; operations: SwapOperation[]; }) => Promise; } export declare class OraiswapMixedRouterQueryClient implements OraiswapMixedRouterReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); config: () => Promise; simulateSwapOperations: ({ offerAmount, operations }: { offerAmount: Uint128; operations: SwapOperation[]; }) => Promise; } export interface OraiswapMixedRouterInterface extends OraiswapMixedRouterReadOnlyInterface { contractAddress: string; sender: string; receive: ({ amount, msg, sender }: { amount: Uint128; msg: Binary; sender: string; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; executeSwapOperations: ({ affiliates, minimumReceive, operations, to }: { affiliates?: Affiliate[]; minimumReceive?: Uint128; operations: SwapOperation[]; to?: Addr; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; executeSwapOperation: ({ operation, sender, to }: { operation: SwapOperation; sender: Addr; to?: Addr; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; assertMinimumReceiveAndTransfer: ({ affiliates, assetInfo, minimumReceive, receiver }: { affiliates: Affiliate[]; assetInfo: AssetInfo; minimumReceive: Uint128; receiver: Addr; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; updateConfig: ({ factoryAddr, factoryAddrV2, oraiswapV3, owner }: { factoryAddr?: string; factoryAddrV2?: string; oraiswapV3?: string; owner?: string; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; } export declare class OraiswapMixedRouterClient extends OraiswapMixedRouterQueryClient implements OraiswapMixedRouterInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); receive: ({ amount, msg, sender }: { amount: Uint128; msg: Binary; sender: string; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; executeSwapOperations: ({ affiliates, minimumReceive, operations, to }: { affiliates?: Affiliate[]; minimumReceive?: Uint128; operations: SwapOperation[]; to?: Addr; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; executeSwapOperation: ({ operation, sender, to }: { operation: SwapOperation; sender: Addr; to?: Addr; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; assertMinimumReceiveAndTransfer: ({ affiliates, assetInfo, minimumReceive, receiver }: { affiliates: Affiliate[]; assetInfo: AssetInfo; minimumReceive: Uint128; receiver: Addr; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; updateConfig: ({ factoryAddr, factoryAddrV2, oraiswapV3, owner }: { factoryAddr?: string; factoryAddrV2?: string; oraiswapV3?: string; owner?: string; }, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise; }