11/* eslint-disable */
2- // sequence-relayer v0.4.1 fdce30970483936652aaeabaf9339a302ac52d32
2+ // sequence-relayer v0.4.1 560f5572978500b5a50fda84d5b6924d68986505
33// --
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.
55//
66// webrpc-gen -schema=relayer.ridl -target=typescript -client -out=./clients/relayer.gen.ts
77
88export const WebrpcHeader = 'Webrpc'
99
10- export const WebrpcHeaderValue = 'webrpc@v0.25.4 ;[email protected] ;[email protected] ' 10+ export const WebrpcHeaderValue = 'webrpc@v0.26.0 ;[email protected] ;[email protected] ' 1111
1212// WebRPC description and code-gen version
1313export const WebRPCVersion = 'v1'
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
1616export const WebRPCSchemaVersion = 'v0.4.1'
1717
1818// Schema hash generated from your RIDL schema
19- export const WebRPCSchemaHash = 'fdce30970483936652aaeabaf9339a302ac52d32 '
19+ export const WebRPCSchemaHash = '560f5572978500b5a50fda84d5b6924d68986505 '
2020
2121type WebrpcGenVersions = {
2222 webrpcGenVersion : string
@@ -77,7 +77,8 @@ export enum ETHTxnStatus {
7777 SENT = 'SENT' ,
7878 SUCCEEDED = 'SUCCEEDED' ,
7979 PARTIALLY_FAILED = 'PARTIALLY_FAILED' ,
80- FAILED = 'FAILED'
80+ FAILED = 'FAILED' ,
81+ PENDING_PRECONDITION = 'PENDING_PRECONDITION'
8182}
8283
8384export enum TransferType {
@@ -229,6 +230,8 @@ export interface MetaTxnReceipt {
229230 index : number
230231 logs : Array < MetaTxnReceiptLog >
231232 receipts : Array < MetaTxnReceipt >
233+ blockNumber : string
234+ txnHash : string
232235 txnReceipt : string
233236}
234237
@@ -238,14 +241,29 @@ export interface MetaTxnReceiptLog {
238241 data : string
239242}
240243
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+
241260export 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
249267}
250268
251269export interface TxnLogUser {
@@ -445,6 +463,7 @@ export interface SendMetaTxnArgs {
445463 call : MetaTxn
446464 quote ?: string
447465 projectID ?: number
466+ preconditions ?: Array < IntentPrecondition >
448467}
449468
450469export interface SendMetaTxnReturn {
0 commit comments