Function swapByRouteViaPermit
- swapByRouteViaPermit(args): {
executionInstructions: {
commands: string;
gas: {
estimatedGasUsedOnLocal: bigint;
estimatedGasUsedOnLocalAck: bigint;
estimatedGasUsedOnRemote: bigint;
estimatedRefundOnAck: bigint;
estimatedRoutingPayment: bigint;
};
inputs: string[];
};
} Returns {
executionInstructions: {
commands: string;
gas: {
estimatedGasUsedOnLocal: bigint;
estimatedGasUsedOnLocalAck: bigint;
estimatedGasUsedOnRemote: bigint;
estimatedRefundOnAck: bigint;
estimatedRoutingPayment: bigint;
};
inputs: string[];
};
}
executionInstructions: {
commands: string;
gas: {
estimatedGasUsedOnLocal: bigint;
estimatedGasUsedOnLocalAck: bigint;
estimatedGasUsedOnRemote: bigint;
estimatedRefundOnAck: bigint;
estimatedRoutingPayment: bigint;
};
inputs: string[];
}
commands: string
gas: {
estimatedGasUsedOnLocal: bigint;
estimatedGasUsedOnLocalAck: bigint;
estimatedGasUsedOnRemote: bigint;
estimatedRefundOnAck: bigint;
estimatedRoutingPayment: bigint;
}
estimatedGasUsedOnLocal: bigint
estimatedGasUsedOnLocalAck: bigint
estimatedGasUsedOnRemote: bigint
estimatedRefundOnAck: bigint
estimatedRoutingPayment: bigint
inputs: string[]
Encodes a sendAsset into the routers calldata.