Skip to content

Commit b29dff8

Browse files
committed
[AUTOMATED] Update: api/proto/clients/api.gen.ts
1 parent f9a3757 commit b29dff8

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

packages/api/src/api.gen.ts

+14-10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// sequence-api v0.4.0 416e853bb8f0c0c743846ac941ea7f53b5f0683d
2+
// sequence-api v0.4.0 fce15c8cb22b7e081fc97615dbf78baf9d718749
33
// --
44
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
55
//
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
1616
export const WebRPCSchemaVersion = 'v0.4.0'
1717

1818
// Schema hash generated from your RIDL schema
19-
export const WebRPCSchemaHash = '416e853bb8f0c0c743846ac941ea7f53b5f0683d'
19+
export const WebRPCSchemaHash = 'fce15c8cb22b7e081fc97615dbf78baf9d718749'
2020

2121
type WebrpcGenVersions = {
2222
webrpcGenVersion: string
@@ -461,6 +461,17 @@ export interface LifiSwapRoute {
461461
toTokens: Array<LifiToken>
462462
}
463463

464+
export interface GetLifiSwapQuoteParams {
465+
chainId: number
466+
walletAddress: string
467+
fromTokenAddress: string
468+
toTokenAddress: string
469+
fromTokenAmount: string
470+
toTokenAmount: string
471+
includeApprove: boolean
472+
slippageBps: number
473+
}
474+
464475
export interface LifiSwapQuote {
465476
currencyAddress: string
466477
currencyBalance: string
@@ -1467,14 +1478,7 @@ export interface GetLifiSwapRoutesReturn {
14671478
routes: Array<LifiSwapRoute>
14681479
}
14691480
export interface GetLifiSwapQuoteArgs {
1470-
userAddress: string
1471-
buyCurrencyAddress: string
1472-
sellCurrencyAddress: string
1473-
buyAmount?: string
1474-
sellAmount?: string
1475-
chainId: number
1476-
includeApprove: boolean
1477-
slippagePercentage?: number
1481+
params: GetLifiSwapQuoteParams
14781482
}
14791483

14801484
export interface GetLifiSwapQuoteReturn {

0 commit comments

Comments
 (0)