swapnet-sdk-test-1
Version:
TypeScript SDK for SwapNet API.
12 lines (11 loc) • 609 B
TypeScript
import { type IPermitWithSignature } from './routerCommands.js';
import { type IRoutingPlan } from '../../common/routingPlan.js';
import { RouterBase } from '../routerBase.js';
import type { IEncodeOptions } from '../types.js';
import { type SwapOptions } from '../../utils.js';
export declare class UniversalRouter extends RouterBase {
constructor(_chainId: number, _routerAddress?: string | undefined, _tokenProxyAddress?: string | undefined);
encode(routingPlan: IRoutingPlan, options: IEncodeOptions & {
inputTokenPermit?: IPermitWithSignature;
}, swapOptions: SwapOptions): string;
}