1
1
/* eslint-disable */
2
- // sequence-relayer v0.4.1 fdce30970483936652aaeabaf9339a302ac52d32
2
+ // sequence-relayer v0.4.1 560f5572978500b5a50fda84d5b6924d68986505
3
3
// --
4
- // Code generated by webrpc-gen@v0.25.4 with typescript generator. DO NOT EDIT.
4
+ // Code generated by webrpc-gen@v0.26.0 with typescript generator. DO NOT EDIT.
5
5
//
6
6
// webrpc-gen -schema=relayer.ridl -target=typescript -client -out=./clients/relayer.gen.ts
7
7
8
8
export const WebrpcHeader = 'Webrpc'
9
9
10
- export const WebrpcHeaderValue = 'webrpc@v0.25.4 ;[email protected] ;[email protected] '
10
+ export const WebrpcHeaderValue = 'webrpc@v0.26.0 ;[email protected] ;[email protected] '
11
11
12
12
// WebRPC description and code-gen version
13
13
export const WebRPCVersion = 'v1'
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
16
16
export const WebRPCSchemaVersion = 'v0.4.1'
17
17
18
18
// Schema hash generated from your RIDL schema
19
- export const WebRPCSchemaHash = 'fdce30970483936652aaeabaf9339a302ac52d32 '
19
+ export const WebRPCSchemaHash = '560f5572978500b5a50fda84d5b6924d68986505 '
20
20
21
21
type WebrpcGenVersions = {
22
22
webrpcGenVersion : string
@@ -77,7 +77,8 @@ export enum ETHTxnStatus {
77
77
SENT = 'SENT' ,
78
78
SUCCEEDED = 'SUCCEEDED' ,
79
79
PARTIALLY_FAILED = 'PARTIALLY_FAILED' ,
80
- FAILED = 'FAILED'
80
+ FAILED = 'FAILED' ,
81
+ PENDING_PRECONDITION = 'PENDING_PRECONDITION'
81
82
}
82
83
83
84
export enum TransferType {
@@ -229,6 +230,8 @@ export interface MetaTxnReceipt {
229
230
index : number
230
231
logs : Array < MetaTxnReceiptLog >
231
232
receipts : Array < MetaTxnReceipt >
233
+ blockNumber : string
234
+ txnHash : string
232
235
txnReceipt : string
233
236
}
234
237
@@ -238,14 +241,29 @@ export interface MetaTxnReceiptLog {
238
241
data : string
239
242
}
240
243
244
+ export interface IntentPrecondition {
245
+ type : string
246
+ chainId : string
247
+ data : any
248
+ }
249
+
250
+ export interface IntentSolution {
251
+ transactions : Array < Transactions >
252
+ }
253
+
254
+ export interface Transactions {
255
+ chainID : string
256
+ transactions : Array < Transaction >
257
+ preconditions ?: Array < IntentPrecondition >
258
+ }
259
+
241
260
export interface Transaction {
242
- txnHash ?: string
243
- blockNumber : number
244
- chainId : number
245
- metaTxnID ?: string
246
- transfers ?: Array < TxnLogTransfer >
247
- users ?: { [ key : string ] : TxnLogUser }
248
- timestamp : string
261
+ delegateCall : boolean
262
+ revertOnError : boolean
263
+ gasLimit : string
264
+ target : string
265
+ value : string
266
+ data : string
249
267
}
250
268
251
269
export interface TxnLogUser {
@@ -445,6 +463,7 @@ export interface SendMetaTxnArgs {
445
463
call : MetaTxn
446
464
quote ?: string
447
465
projectID ?: number
466
+ preconditions ?: Array < IntentPrecondition >
448
467
}
449
468
450
469
export interface SendMetaTxnReturn {
0 commit comments