UNPKG

astra-universal-router-sdk

Version:

sdk for integrating with the Astra Router contracts

13 lines (12 loc) 581 B
import { BigNumberish } from 'ethers'; import { RoutePlanner } from '../../utils/routerCommands'; import { Permit2Permit } from '../../utils/inputTokens'; import { Command, RouterActionType, TradeConfig } from '../Command'; export declare class UnwrapSAMB implements Command { readonly tradeType: RouterActionType; readonly permit2Data: Permit2Permit; readonly sambAddress: string; readonly amount: BigNumberish; constructor(amount: BigNumberish, chainId: number, permit2?: Permit2Permit); encode(planner: RoutePlanner, _: TradeConfig): void; }