@0xsequence/indexer 1.10.1 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,7 +18,7 @@ function _extends() {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* eslint-disable */
|
|
21
|
-
// sequence-indexer v0.4.0
|
|
21
|
+
// sequence-indexer v0.4.0 9accea267e7db3d66f40d5e0f27db92eb5a29e2f
|
|
22
22
|
// --
|
|
23
23
|
// Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
|
|
24
24
|
//
|
|
@@ -31,7 +31,7 @@ const WebRPCVersion = 'v1';
|
|
|
31
31
|
const WebRPCSchemaVersion = 'v0.4.0';
|
|
32
32
|
|
|
33
33
|
// Schema hash generated from your RIDL schema
|
|
34
|
-
const WebRPCSchemaHash = '
|
|
34
|
+
const WebRPCSchemaHash = '9accea267e7db3d66f40d5e0f27db92eb5a29e2f';
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
@@ -57,7 +57,7 @@ let EventLogType = /*#__PURE__*/function (EventLogType) {
|
|
|
57
57
|
return EventLogType;
|
|
58
58
|
}({});
|
|
59
59
|
let EventLogDataType = /*#__PURE__*/function (EventLogDataType) {
|
|
60
|
-
EventLogDataType["
|
|
60
|
+
EventLogDataType["EVENT"] = "EVENT";
|
|
61
61
|
EventLogDataType["TOKEN_TRANSFER"] = "TOKEN_TRANSFER";
|
|
62
62
|
EventLogDataType["NATIVE_TOKEN_TRANSFER"] = "NATIVE_TOKEN_TRANSFER";
|
|
63
63
|
EventLogDataType["SEQUENCE_TXN"] = "SEQUENCE_TXN";
|
|
@@ -18,7 +18,7 @@ function _extends() {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* eslint-disable */
|
|
21
|
-
// sequence-indexer v0.4.0
|
|
21
|
+
// sequence-indexer v0.4.0 9accea267e7db3d66f40d5e0f27db92eb5a29e2f
|
|
22
22
|
// --
|
|
23
23
|
// Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
|
|
24
24
|
//
|
|
@@ -31,7 +31,7 @@ const WebRPCVersion = 'v1';
|
|
|
31
31
|
const WebRPCSchemaVersion = 'v0.4.0';
|
|
32
32
|
|
|
33
33
|
// Schema hash generated from your RIDL schema
|
|
34
|
-
const WebRPCSchemaHash = '
|
|
34
|
+
const WebRPCSchemaHash = '9accea267e7db3d66f40d5e0f27db92eb5a29e2f';
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
@@ -57,7 +57,7 @@ let EventLogType = /*#__PURE__*/function (EventLogType) {
|
|
|
57
57
|
return EventLogType;
|
|
58
58
|
}({});
|
|
59
59
|
let EventLogDataType = /*#__PURE__*/function (EventLogDataType) {
|
|
60
|
-
EventLogDataType["
|
|
60
|
+
EventLogDataType["EVENT"] = "EVENT";
|
|
61
61
|
EventLogDataType["TOKEN_TRANSFER"] = "TOKEN_TRANSFER";
|
|
62
62
|
EventLogDataType["NATIVE_TOKEN_TRANSFER"] = "NATIVE_TOKEN_TRANSFER";
|
|
63
63
|
EventLogDataType["SEQUENCE_TXN"] = "SEQUENCE_TXN";
|
|
@@ -14,7 +14,7 @@ function _extends() {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/* eslint-disable */
|
|
17
|
-
// sequence-indexer v0.4.0
|
|
17
|
+
// sequence-indexer v0.4.0 9accea267e7db3d66f40d5e0f27db92eb5a29e2f
|
|
18
18
|
// --
|
|
19
19
|
// Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
|
|
20
20
|
//
|
|
@@ -27,7 +27,7 @@ const WebRPCVersion = 'v1';
|
|
|
27
27
|
const WebRPCSchemaVersion = 'v0.4.0';
|
|
28
28
|
|
|
29
29
|
// Schema hash generated from your RIDL schema
|
|
30
|
-
const WebRPCSchemaHash = '
|
|
30
|
+
const WebRPCSchemaHash = '9accea267e7db3d66f40d5e0f27db92eb5a29e2f';
|
|
31
31
|
|
|
32
32
|
//
|
|
33
33
|
// Types
|
|
@@ -53,7 +53,7 @@ let EventLogType = /*#__PURE__*/function (EventLogType) {
|
|
|
53
53
|
return EventLogType;
|
|
54
54
|
}({});
|
|
55
55
|
let EventLogDataType = /*#__PURE__*/function (EventLogDataType) {
|
|
56
|
-
EventLogDataType["
|
|
56
|
+
EventLogDataType["EVENT"] = "EVENT";
|
|
57
57
|
EventLogDataType["TOKEN_TRANSFER"] = "TOKEN_TRANSFER";
|
|
58
58
|
EventLogDataType["NATIVE_TOKEN_TRANSFER"] = "NATIVE_TOKEN_TRANSFER";
|
|
59
59
|
EventLogDataType["SEQUENCE_TXN"] = "SEQUENCE_TXN";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const WebRPCVersion = "v1";
|
|
2
2
|
export declare const WebRPCSchemaVersion = "v0.4.0";
|
|
3
|
-
export declare const WebRPCSchemaHash = "
|
|
3
|
+
export declare const WebRPCSchemaHash = "9accea267e7db3d66f40d5e0f27db92eb5a29e2f";
|
|
4
4
|
export interface ContractInfo {
|
|
5
5
|
chainId: number;
|
|
6
6
|
address: string;
|
|
@@ -77,7 +77,7 @@ export declare enum EventLogType {
|
|
|
77
77
|
BLOCK_REMOVED = "BLOCK_REMOVED"
|
|
78
78
|
}
|
|
79
79
|
export declare enum EventLogDataType {
|
|
80
|
-
|
|
80
|
+
EVENT = "EVENT",
|
|
81
81
|
TOKEN_TRANSFER = "TOKEN_TRANSFER",
|
|
82
82
|
NATIVE_TOKEN_TRANSFER = "NATIVE_TOKEN_TRANSFER",
|
|
83
83
|
SEQUENCE_TXN = "SEQUENCE_TXN"
|
|
@@ -184,13 +184,14 @@ export interface IndexedBlock {
|
|
|
184
184
|
blockNumber: number;
|
|
185
185
|
blockShortHash: string;
|
|
186
186
|
}
|
|
187
|
-
export interface
|
|
187
|
+
export interface TxnInfo {
|
|
188
188
|
from: string;
|
|
189
189
|
to: string;
|
|
190
190
|
value: string;
|
|
191
191
|
}
|
|
192
192
|
export interface EventLog {
|
|
193
193
|
id: number;
|
|
194
|
+
uid: string;
|
|
194
195
|
type: EventLogType;
|
|
195
196
|
blockNumber: number;
|
|
196
197
|
blockHash: string;
|
|
@@ -199,11 +200,21 @@ export interface EventLog {
|
|
|
199
200
|
contractType: ContractType;
|
|
200
201
|
txnHash: string;
|
|
201
202
|
txnIndex: number;
|
|
202
|
-
txnData: TxnData;
|
|
203
203
|
txnLogIndex: number;
|
|
204
204
|
logDataType: EventLogDataType;
|
|
205
205
|
ts: string;
|
|
206
|
-
|
|
206
|
+
txnInfo?: TxnInfo;
|
|
207
|
+
rawLog?: {
|
|
208
|
+
[key: string]: any;
|
|
209
|
+
};
|
|
210
|
+
event?: EventDecoded;
|
|
211
|
+
}
|
|
212
|
+
export interface EventDecoded {
|
|
213
|
+
topicHash: string;
|
|
214
|
+
eventSig: string;
|
|
215
|
+
types: Array<string>;
|
|
216
|
+
names: Array<string>;
|
|
217
|
+
values: Array<string>;
|
|
207
218
|
}
|
|
208
219
|
export interface TokenBalance {
|
|
209
220
|
contractType: ContractType;
|
|
@@ -301,7 +312,6 @@ export interface TransactionFilter {
|
|
|
301
312
|
to?: string;
|
|
302
313
|
contractAddress?: string;
|
|
303
314
|
event?: string;
|
|
304
|
-
topicHash?: string;
|
|
305
315
|
}
|
|
306
316
|
export interface TransactionReceipt {
|
|
307
317
|
txnHash: string;
|
|
@@ -348,10 +358,9 @@ export interface WebhookListener {
|
|
|
348
358
|
}
|
|
349
359
|
export interface EventFilter {
|
|
350
360
|
events?: Array<string>;
|
|
351
|
-
topicHashes?: Array<string>;
|
|
352
361
|
contractAddresses?: Array<string>;
|
|
353
|
-
tokenIDs?: Array<string>;
|
|
354
362
|
accounts?: Array<string>;
|
|
363
|
+
tokenIDs?: Array<string>;
|
|
355
364
|
}
|
|
356
365
|
export interface TokenBalanceFilter {
|
|
357
366
|
contractAddress: string;
|
package/package.json
CHANGED
package/src/indexer.gen.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// sequence-indexer v0.4.0
|
|
2
|
+
// sequence-indexer v0.4.0 9accea267e7db3d66f40d5e0f27db92eb5a29e2f
|
|
3
3
|
// --
|
|
4
4
|
// Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT.
|
|
5
5
|
//
|
|
@@ -12,7 +12,7 @@ export const WebRPCVersion = 'v1'
|
|
|
12
12
|
export const WebRPCSchemaVersion = 'v0.4.0'
|
|
13
13
|
|
|
14
14
|
// Schema hash generated from your RIDL schema
|
|
15
|
-
export const WebRPCSchemaHash = '
|
|
15
|
+
export const WebRPCSchemaHash = '9accea267e7db3d66f40d5e0f27db92eb5a29e2f'
|
|
16
16
|
|
|
17
17
|
//
|
|
18
18
|
// Types
|
|
@@ -96,7 +96,7 @@ export enum EventLogType {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
export enum EventLogDataType {
|
|
99
|
-
|
|
99
|
+
EVENT = 'EVENT',
|
|
100
100
|
TOKEN_TRANSFER = 'TOKEN_TRANSFER',
|
|
101
101
|
NATIVE_TOKEN_TRANSFER = 'NATIVE_TOKEN_TRANSFER',
|
|
102
102
|
SEQUENCE_TXN = 'SEQUENCE_TXN'
|
|
@@ -218,7 +218,7 @@ export interface IndexedBlock {
|
|
|
218
218
|
blockShortHash: string
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
export interface
|
|
221
|
+
export interface TxnInfo {
|
|
222
222
|
from: string
|
|
223
223
|
to: string
|
|
224
224
|
value: string
|
|
@@ -226,6 +226,7 @@ export interface TxnData {
|
|
|
226
226
|
|
|
227
227
|
export interface EventLog {
|
|
228
228
|
id: number
|
|
229
|
+
uid: string
|
|
229
230
|
type: EventLogType
|
|
230
231
|
blockNumber: number
|
|
231
232
|
blockHash: string
|
|
@@ -234,11 +235,20 @@ export interface EventLog {
|
|
|
234
235
|
contractType: ContractType
|
|
235
236
|
txnHash: string
|
|
236
237
|
txnIndex: number
|
|
237
|
-
txnData: TxnData
|
|
238
238
|
txnLogIndex: number
|
|
239
239
|
logDataType: EventLogDataType
|
|
240
240
|
ts: string
|
|
241
|
-
|
|
241
|
+
txnInfo?: TxnInfo
|
|
242
|
+
rawLog?: { [key: string]: any }
|
|
243
|
+
event?: EventDecoded
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export interface EventDecoded {
|
|
247
|
+
topicHash: string
|
|
248
|
+
eventSig: string
|
|
249
|
+
types: Array<string>
|
|
250
|
+
names: Array<string>
|
|
251
|
+
values: Array<string>
|
|
242
252
|
}
|
|
243
253
|
|
|
244
254
|
export interface TokenBalance {
|
|
@@ -343,7 +353,6 @@ export interface TransactionFilter {
|
|
|
343
353
|
to?: string
|
|
344
354
|
contractAddress?: string
|
|
345
355
|
event?: string
|
|
346
|
-
topicHash?: string
|
|
347
356
|
}
|
|
348
357
|
|
|
349
358
|
export interface TransactionReceipt {
|
|
@@ -396,10 +405,9 @@ export interface WebhookListener {
|
|
|
396
405
|
|
|
397
406
|
export interface EventFilter {
|
|
398
407
|
events?: Array<string>
|
|
399
|
-
topicHashes?: Array<string>
|
|
400
408
|
contractAddresses?: Array<string>
|
|
401
|
-
tokenIDs?: Array<string>
|
|
402
409
|
accounts?: Array<string>
|
|
410
|
+
tokenIDs?: Array<string>
|
|
403
411
|
}
|
|
404
412
|
|
|
405
413
|
export interface TokenBalanceFilter {
|