Skip to content

Commit 79464ed

Browse files
committed
[AUTOMATED] Update: proto/clients/trails-api.gen.ts
1 parent 83f0f0b commit 79464ed

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/trails-api/src/trails-api.gen.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// trails-api v1.0.0 be6fdd3eab15f477b03ddf9bd7abeb162178b4d0
2+
// trails-api v1.0.0 57e04bf9ac957ab0646258ce21b9b52859e2d8b3
33
// --
44
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
55
//
@@ -12,7 +12,7 @@ export const WebrpcVersion = 'v1'
1212
export const WebrpcSchemaVersion = 'v1.0.0'
1313

1414
// Schema hash generated from your RIDL schema
15-
export const WebrpcSchemaHash = 'be6fdd3eab15f477b03ddf9bd7abeb162178b4d0'
15+
export const WebrpcSchemaHash = '57e04bf9ac957ab0646258ce21b9b52859e2d8b3'
1616

1717
//
1818
// Client interface
@@ -104,10 +104,11 @@ export interface QuoteIntentRequest {
104104
originTokenAddress: string
105105
destinationChainId: number
106106
destinationTokenAddress: string
107-
destinationTokenAmount: bigint
108107
destinationToAddress: string
109108
destinationCallData?: string
110109
destinationCallValue?: string
110+
originTokenAmount?: bigint
111+
destinationTokenAmount?: bigint
111112
tradeType?: TradeType
112113
options?: QuoteIntentRequestOptions
113114
}
@@ -830,7 +831,7 @@ const BIG_INT_FIELDS: { [typ: string]: (string | [string, string])[] } = {
830831
IntentTransaction: ['tokenAmount'],
831832
IntentTransactionGasFee: ['totalGasLimit', 'gasPrice', 'totalFeeAmount', ['metaTxnFeeDetails', 'MetaTxnFeeDetails']],
832833
MetaTxnFeeDetails: ['estimatedGasLimit', 'feeNative'],
833-
QuoteIntentRequest: ['destinationTokenAmount'],
834+
QuoteIntentRequest: ['originTokenAmount', 'destinationTokenAmount'],
834835
QuoteIntentResponse: [['intent', 'Intent']],
835836
SearchIntentsResponse: [['intents', 'Intent[]']],
836837
TransactionCall: ['value', 'gasLimit'],

0 commit comments

Comments
 (0)