swapnet-sdk-test-4
Version:
TypeScript SDK for SwapNet API.
11 lines (10 loc) • 532 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';
export declare class UniversalRouter extends RouterBase {
constructor(_chainId: number, _routerAddress?: string | undefined, _tokenProxyAddress?: string | undefined);
encode(routingPlan: IRoutingPlan, options: IEncodeOptions & {
inputTokenPermit?: IPermitWithSignature;
}): string;
}