@fangorn-network/sdk 2026.5.10 → 2026.6.16
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.
- package/README.md +87 -37
- package/lib/ crypto/constants.d.ts +4 -0
- package/lib/ crypto/constants.js +5 -0
- package/lib/ crypto/merkle.d.ts +10 -0
- package/lib/ crypto/merkle.js +34 -0
- package/lib/ crypto/utils.d.ts +1 -0
- package/lib/ crypto/utils.js +1 -0
- package/lib/cli/cli.js +61 -156
- package/lib/cli/index.d.ts +171 -170
- package/lib/config.d.ts +258 -257
- package/lib/config.js +3 -3
- package/lib/fangorn.js +2 -2
- package/lib/index.d.ts +1 -3
- package/lib/index.js +1 -3
- package/lib/modules/encryption/rand.d.ts +1 -1
- package/lib/providers/storage/pinata.d.ts +5 -1
- package/lib/providers/storage/pinata.js +24 -3
- package/lib/providers/storage/types.d.ts +8 -0
- package/lib/providers/storage/utils.js +2 -1
- package/lib/registries/datasource-registry/abi.d.ts +34 -4
- package/lib/registries/datasource-registry/abi.js +40 -5
- package/lib/registries/datasource-registry/index.d.ts +22 -13
- package/lib/registries/datasource-registry/index.js +76 -76
- package/lib/registries/index.d.ts +1 -1
- package/lib/registries/schema-registry/index.d.ts +3 -3
- package/lib/registries/schema-registry/index.js +1 -1
- package/lib/registries/settlement-registry/index.d.ts +2 -2
- package/lib/roles/consumer/index.d.ts +3 -3
- package/lib/roles/consumer/index.js +19 -12
- package/lib/roles/publisher/builders/bundle.d.ts +32 -0
- package/lib/roles/publisher/builders/bundle.js +137 -0
- package/lib/roles/publisher/builders/record-set.d.ts +17 -0
- package/lib/roles/publisher/builders/record-set.js +55 -0
- package/lib/roles/publisher/builders/types.d.ts +38 -0
- package/lib/roles/publisher/builders/types.js +1 -0
- package/lib/roles/publisher/builders/utils.d.ts +9 -0
- package/lib/roles/publisher/builders/utils.js +29 -0
- package/lib/roles/publisher/encryption.d.ts +18 -0
- package/lib/roles/publisher/encryption.js +38 -0
- package/lib/roles/publisher/index.d.ts +54 -36
- package/lib/roles/publisher/index.js +137 -174
- package/lib/roles/publisher/types.d.ts +61 -46
- package/lib/roles/schema/index.d.ts +30 -4
- package/lib/roles/schema/index.js +81 -47
- package/lib/roles/schema/types.d.ts +59 -37
- package/lib/roles/schema/validate.d.ts +9 -0
- package/lib/roles/schema/validate.js +128 -0
- package/lib/test/cleanup-embeddings-testdata.d.ts +1 -0
- package/lib/test/cleanup-embeddings-testdata.js +104 -0
- package/lib/test/publish_mb_bundle.d.ts +1 -0
- package/lib/test/publish_mb_bundle.js +296 -0
- package/lib/test/setup-embeddings-testdata.d.ts +13 -0
- package/lib/test/setup-embeddings-testdata.js +209 -0
- package/lib/test/testbed.d.ts +14 -8
- package/lib/test/testbed.js +28 -24
- package/package.json +16 -2
package/lib/config.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as viem_chains9 from "viem/chains";
|
|
2
|
+
import * as viem139 from "viem";
|
|
3
3
|
import { Chain, Hex } from "viem";
|
|
4
|
+
import * as abitype31 from "abitype";
|
|
4
5
|
|
|
5
6
|
//#region src/config.d.ts
|
|
6
7
|
/**
|
|
@@ -42,17 +43,17 @@ declare const SupportedNetworks: {
|
|
|
42
43
|
testnet: true;
|
|
43
44
|
custom?: Record<string, unknown> | undefined;
|
|
44
45
|
extendSchema?: Record<string, unknown> | undefined;
|
|
45
|
-
fees?:
|
|
46
|
+
fees?: viem139.ChainFees<undefined> | undefined;
|
|
46
47
|
formatters?: undefined;
|
|
47
|
-
prepareTransactionRequest?: ((args:
|
|
48
|
+
prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
48
49
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
49
|
-
}) => Promise<
|
|
50
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
50
51
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
51
|
-
}) => Promise<
|
|
52
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
52
53
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
53
54
|
}] | undefined;
|
|
54
|
-
serializers?:
|
|
55
|
-
verifyHash?: ((client:
|
|
55
|
+
serializers?: viem139.ChainSerializers<undefined, viem139.TransactionSerializable> | undefined;
|
|
56
|
+
verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
|
|
56
57
|
};
|
|
57
58
|
};
|
|
58
59
|
BaseSepolia: {
|
|
@@ -130,56 +131,56 @@ declare const SupportedNetworks: {
|
|
|
130
131
|
testnet: true;
|
|
131
132
|
custom?: Record<string, unknown> | undefined;
|
|
132
133
|
extendSchema?: Record<string, unknown> | undefined;
|
|
133
|
-
fees?:
|
|
134
|
+
fees?: viem139.ChainFees<undefined> | undefined;
|
|
134
135
|
formatters: {
|
|
135
136
|
readonly block: {
|
|
136
137
|
exclude: [] | undefined;
|
|
137
|
-
format: (args:
|
|
138
|
+
format: (args: viem_chains9.OpStackRpcBlock, action?: string | undefined) => {
|
|
138
139
|
baseFeePerGas: bigint | null;
|
|
139
140
|
blobGasUsed: bigint;
|
|
140
141
|
difficulty: bigint;
|
|
141
142
|
excessBlobGas: bigint;
|
|
142
|
-
extraData:
|
|
143
|
+
extraData: viem139.Hex;
|
|
143
144
|
gasLimit: bigint;
|
|
144
145
|
gasUsed: bigint;
|
|
145
146
|
hash: `0x${string}` | null;
|
|
146
147
|
logsBloom: `0x${string}` | null;
|
|
147
|
-
miner:
|
|
148
|
-
mixHash:
|
|
148
|
+
miner: abitype31.Address;
|
|
149
|
+
mixHash: viem139.Hash;
|
|
149
150
|
nonce: `0x${string}` | null;
|
|
150
151
|
number: bigint | null;
|
|
151
152
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
152
|
-
parentHash:
|
|
153
|
-
receiptsRoot:
|
|
154
|
-
sealFields:
|
|
155
|
-
sha3Uncles:
|
|
153
|
+
parentHash: viem139.Hash;
|
|
154
|
+
receiptsRoot: viem139.Hex;
|
|
155
|
+
sealFields: viem139.Hex[];
|
|
156
|
+
sha3Uncles: viem139.Hash;
|
|
156
157
|
size: bigint;
|
|
157
|
-
stateRoot:
|
|
158
|
+
stateRoot: viem139.Hash;
|
|
158
159
|
timestamp: bigint;
|
|
159
160
|
totalDifficulty: bigint | null;
|
|
160
|
-
transactions: `0x${string}`[] |
|
|
161
|
-
transactionsRoot:
|
|
162
|
-
uncles:
|
|
163
|
-
withdrawals?:
|
|
161
|
+
transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
|
|
162
|
+
transactionsRoot: viem139.Hash;
|
|
163
|
+
uncles: viem139.Hash[];
|
|
164
|
+
withdrawals?: viem139.Withdrawal[] | undefined | undefined;
|
|
164
165
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
165
166
|
} & {};
|
|
166
167
|
type: "block";
|
|
167
168
|
};
|
|
168
169
|
readonly transaction: {
|
|
169
170
|
exclude: [] | undefined;
|
|
170
|
-
format: (args:
|
|
171
|
+
format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
171
172
|
blockHash: `0x${string}` | null;
|
|
172
173
|
blockNumber: bigint | null;
|
|
173
|
-
from:
|
|
174
|
+
from: abitype31.Address;
|
|
174
175
|
gas: bigint;
|
|
175
|
-
hash:
|
|
176
|
-
input:
|
|
176
|
+
hash: viem139.Hash;
|
|
177
|
+
input: viem139.Hex;
|
|
177
178
|
nonce: number;
|
|
178
|
-
r:
|
|
179
|
-
s:
|
|
180
|
-
to:
|
|
179
|
+
r: viem139.Hex;
|
|
180
|
+
s: viem139.Hex;
|
|
181
|
+
to: abitype31.Address | null;
|
|
181
182
|
transactionIndex: number | null;
|
|
182
|
-
typeHex:
|
|
183
|
+
typeHex: viem139.Hex | null;
|
|
183
184
|
v: bigint;
|
|
184
185
|
value: bigint;
|
|
185
186
|
yParity: number;
|
|
@@ -189,23 +190,23 @@ declare const SupportedNetworks: {
|
|
|
189
190
|
maxPriorityFeePerGas: bigint;
|
|
190
191
|
isSystemTx?: boolean;
|
|
191
192
|
mint?: bigint | undefined | undefined;
|
|
192
|
-
sourceHash:
|
|
193
|
+
sourceHash: viem139.Hex;
|
|
193
194
|
type: "deposit";
|
|
194
195
|
} | {
|
|
195
|
-
r:
|
|
196
|
-
s:
|
|
196
|
+
r: viem139.Hex;
|
|
197
|
+
s: viem139.Hex;
|
|
197
198
|
v: bigint;
|
|
198
|
-
to:
|
|
199
|
-
from:
|
|
199
|
+
to: abitype31.Address | null;
|
|
200
|
+
from: abitype31.Address;
|
|
200
201
|
gas: bigint;
|
|
201
202
|
nonce: number;
|
|
202
203
|
value: bigint;
|
|
203
204
|
blockHash: `0x${string}` | null;
|
|
204
205
|
blockNumber: bigint | null;
|
|
205
|
-
hash:
|
|
206
|
-
input:
|
|
206
|
+
hash: viem139.Hash;
|
|
207
|
+
input: viem139.Hex;
|
|
207
208
|
transactionIndex: number | null;
|
|
208
|
-
typeHex:
|
|
209
|
+
typeHex: viem139.Hex | null;
|
|
209
210
|
accessList?: undefined | undefined;
|
|
210
211
|
authorizationList?: undefined | undefined;
|
|
211
212
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -222,20 +223,20 @@ declare const SupportedNetworks: {
|
|
|
222
223
|
} | {
|
|
223
224
|
blockHash: `0x${string}` | null;
|
|
224
225
|
blockNumber: bigint | null;
|
|
225
|
-
from:
|
|
226
|
+
from: abitype31.Address;
|
|
226
227
|
gas: bigint;
|
|
227
|
-
hash:
|
|
228
|
-
input:
|
|
228
|
+
hash: viem139.Hash;
|
|
229
|
+
input: viem139.Hex;
|
|
229
230
|
nonce: number;
|
|
230
|
-
r:
|
|
231
|
-
s:
|
|
232
|
-
to:
|
|
231
|
+
r: viem139.Hex;
|
|
232
|
+
s: viem139.Hex;
|
|
233
|
+
to: abitype31.Address | null;
|
|
233
234
|
transactionIndex: number | null;
|
|
234
|
-
typeHex:
|
|
235
|
+
typeHex: viem139.Hex | null;
|
|
235
236
|
v: bigint;
|
|
236
237
|
value: bigint;
|
|
237
238
|
yParity: number;
|
|
238
|
-
accessList:
|
|
239
|
+
accessList: viem139.AccessList;
|
|
239
240
|
authorizationList?: undefined | undefined;
|
|
240
241
|
blobVersionedHashes?: undefined | undefined;
|
|
241
242
|
chainId: number;
|
|
@@ -250,20 +251,20 @@ declare const SupportedNetworks: {
|
|
|
250
251
|
} | {
|
|
251
252
|
blockHash: `0x${string}` | null;
|
|
252
253
|
blockNumber: bigint | null;
|
|
253
|
-
from:
|
|
254
|
+
from: abitype31.Address;
|
|
254
255
|
gas: bigint;
|
|
255
|
-
hash:
|
|
256
|
-
input:
|
|
256
|
+
hash: viem139.Hash;
|
|
257
|
+
input: viem139.Hex;
|
|
257
258
|
nonce: number;
|
|
258
|
-
r:
|
|
259
|
-
s:
|
|
260
|
-
to:
|
|
259
|
+
r: viem139.Hex;
|
|
260
|
+
s: viem139.Hex;
|
|
261
|
+
to: abitype31.Address | null;
|
|
261
262
|
transactionIndex: number | null;
|
|
262
|
-
typeHex:
|
|
263
|
+
typeHex: viem139.Hex | null;
|
|
263
264
|
v: bigint;
|
|
264
265
|
value: bigint;
|
|
265
266
|
yParity: number;
|
|
266
|
-
accessList:
|
|
267
|
+
accessList: viem139.AccessList;
|
|
267
268
|
authorizationList?: undefined | undefined;
|
|
268
269
|
blobVersionedHashes?: undefined | undefined;
|
|
269
270
|
chainId: number;
|
|
@@ -278,22 +279,22 @@ declare const SupportedNetworks: {
|
|
|
278
279
|
} | {
|
|
279
280
|
blockHash: `0x${string}` | null;
|
|
280
281
|
blockNumber: bigint | null;
|
|
281
|
-
from:
|
|
282
|
+
from: abitype31.Address;
|
|
282
283
|
gas: bigint;
|
|
283
|
-
hash:
|
|
284
|
-
input:
|
|
284
|
+
hash: viem139.Hash;
|
|
285
|
+
input: viem139.Hex;
|
|
285
286
|
nonce: number;
|
|
286
|
-
r:
|
|
287
|
-
s:
|
|
288
|
-
to:
|
|
287
|
+
r: viem139.Hex;
|
|
288
|
+
s: viem139.Hex;
|
|
289
|
+
to: abitype31.Address | null;
|
|
289
290
|
transactionIndex: number | null;
|
|
290
|
-
typeHex:
|
|
291
|
+
typeHex: viem139.Hex | null;
|
|
291
292
|
v: bigint;
|
|
292
293
|
value: bigint;
|
|
293
294
|
yParity: number;
|
|
294
|
-
accessList:
|
|
295
|
+
accessList: viem139.AccessList;
|
|
295
296
|
authorizationList?: undefined | undefined;
|
|
296
|
-
blobVersionedHashes: readonly
|
|
297
|
+
blobVersionedHashes: readonly viem139.Hex[];
|
|
297
298
|
chainId: number;
|
|
298
299
|
type: "eip4844";
|
|
299
300
|
gasPrice?: undefined | undefined;
|
|
@@ -306,21 +307,21 @@ declare const SupportedNetworks: {
|
|
|
306
307
|
} | {
|
|
307
308
|
blockHash: `0x${string}` | null;
|
|
308
309
|
blockNumber: bigint | null;
|
|
309
|
-
from:
|
|
310
|
+
from: abitype31.Address;
|
|
310
311
|
gas: bigint;
|
|
311
|
-
hash:
|
|
312
|
-
input:
|
|
312
|
+
hash: viem139.Hash;
|
|
313
|
+
input: viem139.Hex;
|
|
313
314
|
nonce: number;
|
|
314
|
-
r:
|
|
315
|
-
s:
|
|
316
|
-
to:
|
|
315
|
+
r: viem139.Hex;
|
|
316
|
+
s: viem139.Hex;
|
|
317
|
+
to: abitype31.Address | null;
|
|
317
318
|
transactionIndex: number | null;
|
|
318
|
-
typeHex:
|
|
319
|
+
typeHex: viem139.Hex | null;
|
|
319
320
|
v: bigint;
|
|
320
321
|
value: bigint;
|
|
321
322
|
yParity: number;
|
|
322
|
-
accessList:
|
|
323
|
-
authorizationList:
|
|
323
|
+
accessList: viem139.AccessList;
|
|
324
|
+
authorizationList: viem139.SignedAuthorizationList;
|
|
324
325
|
blobVersionedHashes?: undefined | undefined;
|
|
325
326
|
chainId: number;
|
|
326
327
|
type: "eip7702";
|
|
@@ -336,25 +337,25 @@ declare const SupportedNetworks: {
|
|
|
336
337
|
};
|
|
337
338
|
readonly transactionReceipt: {
|
|
338
339
|
exclude: [] | undefined;
|
|
339
|
-
format: (args:
|
|
340
|
+
format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
340
341
|
blobGasPrice?: bigint | undefined;
|
|
341
342
|
blobGasUsed?: bigint | undefined;
|
|
342
|
-
blockHash:
|
|
343
|
+
blockHash: viem139.Hash;
|
|
343
344
|
blockNumber: bigint;
|
|
344
345
|
blockTimestamp?: bigint | undefined;
|
|
345
|
-
contractAddress:
|
|
346
|
+
contractAddress: abitype31.Address | null | undefined;
|
|
346
347
|
cumulativeGasUsed: bigint;
|
|
347
348
|
effectiveGasPrice: bigint;
|
|
348
|
-
from:
|
|
349
|
+
from: abitype31.Address;
|
|
349
350
|
gasUsed: bigint;
|
|
350
|
-
logs:
|
|
351
|
-
logsBloom:
|
|
351
|
+
logs: viem139.Log<bigint, number, false>[];
|
|
352
|
+
logsBloom: viem139.Hex;
|
|
352
353
|
root?: `0x${string}` | undefined;
|
|
353
354
|
status: "success" | "reverted";
|
|
354
|
-
to:
|
|
355
|
-
transactionHash:
|
|
355
|
+
to: abitype31.Address | null;
|
|
356
|
+
transactionHash: viem139.Hash;
|
|
356
357
|
transactionIndex: number;
|
|
357
|
-
type:
|
|
358
|
+
type: viem139.TransactionType;
|
|
358
359
|
l1GasPrice: bigint | null;
|
|
359
360
|
l1GasUsed: bigint | null;
|
|
360
361
|
l1Fee: bigint | null;
|
|
@@ -363,17 +364,17 @@ declare const SupportedNetworks: {
|
|
|
363
364
|
type: "transactionReceipt";
|
|
364
365
|
};
|
|
365
366
|
};
|
|
366
|
-
prepareTransactionRequest?: ((args:
|
|
367
|
+
prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
367
368
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
368
|
-
}) => Promise<
|
|
369
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
369
370
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
370
|
-
}) => Promise<
|
|
371
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
371
372
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
372
373
|
}] | undefined;
|
|
373
374
|
serializers: {
|
|
374
|
-
readonly transaction: typeof
|
|
375
|
+
readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
|
|
375
376
|
};
|
|
376
|
-
verifyHash?: ((client:
|
|
377
|
+
verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
|
|
377
378
|
readonly network: "base-sepolia";
|
|
378
379
|
};
|
|
379
380
|
};
|
|
@@ -416,17 +417,17 @@ declare function getNetwork(name: string): {
|
|
|
416
417
|
testnet: true;
|
|
417
418
|
custom?: Record<string, unknown> | undefined;
|
|
418
419
|
extendSchema?: Record<string, unknown> | undefined;
|
|
419
|
-
fees?:
|
|
420
|
+
fees?: viem139.ChainFees<undefined> | undefined;
|
|
420
421
|
formatters?: undefined;
|
|
421
|
-
prepareTransactionRequest?: ((args:
|
|
422
|
+
prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
422
423
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
423
|
-
}) => Promise<
|
|
424
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
424
425
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
425
|
-
}) => Promise<
|
|
426
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
426
427
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
427
428
|
}] | undefined;
|
|
428
|
-
serializers?:
|
|
429
|
-
verifyHash?: ((client:
|
|
429
|
+
serializers?: viem139.ChainSerializers<undefined, viem139.TransactionSerializable> | undefined;
|
|
430
|
+
verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
|
|
430
431
|
} | {
|
|
431
432
|
blockExplorers: {
|
|
432
433
|
readonly default: {
|
|
@@ -500,56 +501,56 @@ declare function getNetwork(name: string): {
|
|
|
500
501
|
testnet: true;
|
|
501
502
|
custom?: Record<string, unknown> | undefined;
|
|
502
503
|
extendSchema?: Record<string, unknown> | undefined;
|
|
503
|
-
fees?:
|
|
504
|
+
fees?: viem139.ChainFees<undefined> | undefined;
|
|
504
505
|
formatters: {
|
|
505
506
|
readonly block: {
|
|
506
507
|
exclude: [] | undefined;
|
|
507
|
-
format: (args:
|
|
508
|
+
format: (args: viem_chains9.OpStackRpcBlock, action?: string | undefined) => {
|
|
508
509
|
baseFeePerGas: bigint | null;
|
|
509
510
|
blobGasUsed: bigint;
|
|
510
511
|
difficulty: bigint;
|
|
511
512
|
excessBlobGas: bigint;
|
|
512
|
-
extraData:
|
|
513
|
+
extraData: viem139.Hex;
|
|
513
514
|
gasLimit: bigint;
|
|
514
515
|
gasUsed: bigint;
|
|
515
516
|
hash: `0x${string}` | null;
|
|
516
517
|
logsBloom: `0x${string}` | null;
|
|
517
|
-
miner:
|
|
518
|
-
mixHash:
|
|
518
|
+
miner: abitype31.Address;
|
|
519
|
+
mixHash: viem139.Hash;
|
|
519
520
|
nonce: `0x${string}` | null;
|
|
520
521
|
number: bigint | null;
|
|
521
522
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
522
|
-
parentHash:
|
|
523
|
-
receiptsRoot:
|
|
524
|
-
sealFields:
|
|
525
|
-
sha3Uncles:
|
|
523
|
+
parentHash: viem139.Hash;
|
|
524
|
+
receiptsRoot: viem139.Hex;
|
|
525
|
+
sealFields: viem139.Hex[];
|
|
526
|
+
sha3Uncles: viem139.Hash;
|
|
526
527
|
size: bigint;
|
|
527
|
-
stateRoot:
|
|
528
|
+
stateRoot: viem139.Hash;
|
|
528
529
|
timestamp: bigint;
|
|
529
530
|
totalDifficulty: bigint | null;
|
|
530
|
-
transactions: `0x${string}`[] |
|
|
531
|
-
transactionsRoot:
|
|
532
|
-
uncles:
|
|
533
|
-
withdrawals?:
|
|
531
|
+
transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
|
|
532
|
+
transactionsRoot: viem139.Hash;
|
|
533
|
+
uncles: viem139.Hash[];
|
|
534
|
+
withdrawals?: viem139.Withdrawal[] | undefined | undefined;
|
|
534
535
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
535
536
|
} & {};
|
|
536
537
|
type: "block";
|
|
537
538
|
};
|
|
538
539
|
readonly transaction: {
|
|
539
540
|
exclude: [] | undefined;
|
|
540
|
-
format: (args:
|
|
541
|
+
format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
541
542
|
blockHash: `0x${string}` | null;
|
|
542
543
|
blockNumber: bigint | null;
|
|
543
|
-
from:
|
|
544
|
+
from: abitype31.Address;
|
|
544
545
|
gas: bigint;
|
|
545
|
-
hash:
|
|
546
|
-
input:
|
|
546
|
+
hash: viem139.Hash;
|
|
547
|
+
input: viem139.Hex;
|
|
547
548
|
nonce: number;
|
|
548
|
-
r:
|
|
549
|
-
s:
|
|
550
|
-
to:
|
|
549
|
+
r: viem139.Hex;
|
|
550
|
+
s: viem139.Hex;
|
|
551
|
+
to: abitype31.Address | null;
|
|
551
552
|
transactionIndex: number | null;
|
|
552
|
-
typeHex:
|
|
553
|
+
typeHex: viem139.Hex | null;
|
|
553
554
|
v: bigint;
|
|
554
555
|
value: bigint;
|
|
555
556
|
yParity: number;
|
|
@@ -559,23 +560,23 @@ declare function getNetwork(name: string): {
|
|
|
559
560
|
maxPriorityFeePerGas: bigint;
|
|
560
561
|
isSystemTx?: boolean;
|
|
561
562
|
mint?: bigint | undefined | undefined;
|
|
562
|
-
sourceHash:
|
|
563
|
+
sourceHash: viem139.Hex;
|
|
563
564
|
type: "deposit";
|
|
564
565
|
} | {
|
|
565
|
-
r:
|
|
566
|
-
s:
|
|
566
|
+
r: viem139.Hex;
|
|
567
|
+
s: viem139.Hex;
|
|
567
568
|
v: bigint;
|
|
568
|
-
to:
|
|
569
|
-
from:
|
|
569
|
+
to: abitype31.Address | null;
|
|
570
|
+
from: abitype31.Address;
|
|
570
571
|
gas: bigint;
|
|
571
572
|
nonce: number;
|
|
572
573
|
value: bigint;
|
|
573
574
|
blockHash: `0x${string}` | null;
|
|
574
575
|
blockNumber: bigint | null;
|
|
575
|
-
hash:
|
|
576
|
-
input:
|
|
576
|
+
hash: viem139.Hash;
|
|
577
|
+
input: viem139.Hex;
|
|
577
578
|
transactionIndex: number | null;
|
|
578
|
-
typeHex:
|
|
579
|
+
typeHex: viem139.Hex | null;
|
|
579
580
|
accessList?: undefined | undefined;
|
|
580
581
|
authorizationList?: undefined | undefined;
|
|
581
582
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -592,20 +593,20 @@ declare function getNetwork(name: string): {
|
|
|
592
593
|
} | {
|
|
593
594
|
blockHash: `0x${string}` | null;
|
|
594
595
|
blockNumber: bigint | null;
|
|
595
|
-
from:
|
|
596
|
+
from: abitype31.Address;
|
|
596
597
|
gas: bigint;
|
|
597
|
-
hash:
|
|
598
|
-
input:
|
|
598
|
+
hash: viem139.Hash;
|
|
599
|
+
input: viem139.Hex;
|
|
599
600
|
nonce: number;
|
|
600
|
-
r:
|
|
601
|
-
s:
|
|
602
|
-
to:
|
|
601
|
+
r: viem139.Hex;
|
|
602
|
+
s: viem139.Hex;
|
|
603
|
+
to: abitype31.Address | null;
|
|
603
604
|
transactionIndex: number | null;
|
|
604
|
-
typeHex:
|
|
605
|
+
typeHex: viem139.Hex | null;
|
|
605
606
|
v: bigint;
|
|
606
607
|
value: bigint;
|
|
607
608
|
yParity: number;
|
|
608
|
-
accessList:
|
|
609
|
+
accessList: viem139.AccessList;
|
|
609
610
|
authorizationList?: undefined | undefined;
|
|
610
611
|
blobVersionedHashes?: undefined | undefined;
|
|
611
612
|
chainId: number;
|
|
@@ -620,20 +621,20 @@ declare function getNetwork(name: string): {
|
|
|
620
621
|
} | {
|
|
621
622
|
blockHash: `0x${string}` | null;
|
|
622
623
|
blockNumber: bigint | null;
|
|
623
|
-
from:
|
|
624
|
+
from: abitype31.Address;
|
|
624
625
|
gas: bigint;
|
|
625
|
-
hash:
|
|
626
|
-
input:
|
|
626
|
+
hash: viem139.Hash;
|
|
627
|
+
input: viem139.Hex;
|
|
627
628
|
nonce: number;
|
|
628
|
-
r:
|
|
629
|
-
s:
|
|
630
|
-
to:
|
|
629
|
+
r: viem139.Hex;
|
|
630
|
+
s: viem139.Hex;
|
|
631
|
+
to: abitype31.Address | null;
|
|
631
632
|
transactionIndex: number | null;
|
|
632
|
-
typeHex:
|
|
633
|
+
typeHex: viem139.Hex | null;
|
|
633
634
|
v: bigint;
|
|
634
635
|
value: bigint;
|
|
635
636
|
yParity: number;
|
|
636
|
-
accessList:
|
|
637
|
+
accessList: viem139.AccessList;
|
|
637
638
|
authorizationList?: undefined | undefined;
|
|
638
639
|
blobVersionedHashes?: undefined | undefined;
|
|
639
640
|
chainId: number;
|
|
@@ -648,22 +649,22 @@ declare function getNetwork(name: string): {
|
|
|
648
649
|
} | {
|
|
649
650
|
blockHash: `0x${string}` | null;
|
|
650
651
|
blockNumber: bigint | null;
|
|
651
|
-
from:
|
|
652
|
+
from: abitype31.Address;
|
|
652
653
|
gas: bigint;
|
|
653
|
-
hash:
|
|
654
|
-
input:
|
|
654
|
+
hash: viem139.Hash;
|
|
655
|
+
input: viem139.Hex;
|
|
655
656
|
nonce: number;
|
|
656
|
-
r:
|
|
657
|
-
s:
|
|
658
|
-
to:
|
|
657
|
+
r: viem139.Hex;
|
|
658
|
+
s: viem139.Hex;
|
|
659
|
+
to: abitype31.Address | null;
|
|
659
660
|
transactionIndex: number | null;
|
|
660
|
-
typeHex:
|
|
661
|
+
typeHex: viem139.Hex | null;
|
|
661
662
|
v: bigint;
|
|
662
663
|
value: bigint;
|
|
663
664
|
yParity: number;
|
|
664
|
-
accessList:
|
|
665
|
+
accessList: viem139.AccessList;
|
|
665
666
|
authorizationList?: undefined | undefined;
|
|
666
|
-
blobVersionedHashes: readonly
|
|
667
|
+
blobVersionedHashes: readonly viem139.Hex[];
|
|
667
668
|
chainId: number;
|
|
668
669
|
type: "eip4844";
|
|
669
670
|
gasPrice?: undefined | undefined;
|
|
@@ -676,21 +677,21 @@ declare function getNetwork(name: string): {
|
|
|
676
677
|
} | {
|
|
677
678
|
blockHash: `0x${string}` | null;
|
|
678
679
|
blockNumber: bigint | null;
|
|
679
|
-
from:
|
|
680
|
+
from: abitype31.Address;
|
|
680
681
|
gas: bigint;
|
|
681
|
-
hash:
|
|
682
|
-
input:
|
|
682
|
+
hash: viem139.Hash;
|
|
683
|
+
input: viem139.Hex;
|
|
683
684
|
nonce: number;
|
|
684
|
-
r:
|
|
685
|
-
s:
|
|
686
|
-
to:
|
|
685
|
+
r: viem139.Hex;
|
|
686
|
+
s: viem139.Hex;
|
|
687
|
+
to: abitype31.Address | null;
|
|
687
688
|
transactionIndex: number | null;
|
|
688
|
-
typeHex:
|
|
689
|
+
typeHex: viem139.Hex | null;
|
|
689
690
|
v: bigint;
|
|
690
691
|
value: bigint;
|
|
691
692
|
yParity: number;
|
|
692
|
-
accessList:
|
|
693
|
-
authorizationList:
|
|
693
|
+
accessList: viem139.AccessList;
|
|
694
|
+
authorizationList: viem139.SignedAuthorizationList;
|
|
694
695
|
blobVersionedHashes?: undefined | undefined;
|
|
695
696
|
chainId: number;
|
|
696
697
|
type: "eip7702";
|
|
@@ -706,25 +707,25 @@ declare function getNetwork(name: string): {
|
|
|
706
707
|
};
|
|
707
708
|
readonly transactionReceipt: {
|
|
708
709
|
exclude: [] | undefined;
|
|
709
|
-
format: (args:
|
|
710
|
+
format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
710
711
|
blobGasPrice?: bigint | undefined;
|
|
711
712
|
blobGasUsed?: bigint | undefined;
|
|
712
|
-
blockHash:
|
|
713
|
+
blockHash: viem139.Hash;
|
|
713
714
|
blockNumber: bigint;
|
|
714
715
|
blockTimestamp?: bigint | undefined;
|
|
715
|
-
contractAddress:
|
|
716
|
+
contractAddress: abitype31.Address | null | undefined;
|
|
716
717
|
cumulativeGasUsed: bigint;
|
|
717
718
|
effectiveGasPrice: bigint;
|
|
718
|
-
from:
|
|
719
|
+
from: abitype31.Address;
|
|
719
720
|
gasUsed: bigint;
|
|
720
|
-
logs:
|
|
721
|
-
logsBloom:
|
|
721
|
+
logs: viem139.Log<bigint, number, false>[];
|
|
722
|
+
logsBloom: viem139.Hex;
|
|
722
723
|
root?: `0x${string}` | undefined;
|
|
723
724
|
status: "success" | "reverted";
|
|
724
|
-
to:
|
|
725
|
-
transactionHash:
|
|
725
|
+
to: abitype31.Address | null;
|
|
726
|
+
transactionHash: viem139.Hash;
|
|
726
727
|
transactionIndex: number;
|
|
727
|
-
type:
|
|
728
|
+
type: viem139.TransactionType;
|
|
728
729
|
l1GasPrice: bigint | null;
|
|
729
730
|
l1GasUsed: bigint | null;
|
|
730
731
|
l1Fee: bigint | null;
|
|
@@ -733,17 +734,17 @@ declare function getNetwork(name: string): {
|
|
|
733
734
|
type: "transactionReceipt";
|
|
734
735
|
};
|
|
735
736
|
};
|
|
736
|
-
prepareTransactionRequest?: ((args:
|
|
737
|
+
prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
737
738
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
738
|
-
}) => Promise<
|
|
739
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
739
740
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
740
|
-
}) => Promise<
|
|
741
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
741
742
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
742
743
|
}] | undefined;
|
|
743
744
|
serializers: {
|
|
744
|
-
readonly transaction: typeof
|
|
745
|
+
readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
|
|
745
746
|
};
|
|
746
|
-
verifyHash?: ((client:
|
|
747
|
+
verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
|
|
747
748
|
readonly network: "base-sepolia";
|
|
748
749
|
};
|
|
749
750
|
interface AppConfig {
|
|
@@ -758,9 +759,9 @@ interface AppConfig {
|
|
|
758
759
|
}
|
|
759
760
|
declare const FangornConfig: {
|
|
760
761
|
ArbitrumSepolia: {
|
|
761
|
-
dataSourceRegistryContractAddress: "
|
|
762
|
-
schemaRegistryContractAddress: "
|
|
763
|
-
settlementRegistryContractAddress: "
|
|
762
|
+
dataSourceRegistryContractAddress: "0x207ab1866704b2adc34e8ec1069fb8febafff2fd";
|
|
763
|
+
schemaRegistryContractAddress: "0xecafc21ca3ec41c020287fb8c2126b1a9af9d220";
|
|
764
|
+
settlementRegistryContractAddress: "0x93a5e93e76a3c150d35d4cd40029e4f45f3e650f";
|
|
764
765
|
chainName: string;
|
|
765
766
|
chain: {
|
|
766
767
|
blockExplorers: {
|
|
@@ -795,17 +796,17 @@ declare const FangornConfig: {
|
|
|
795
796
|
testnet: true;
|
|
796
797
|
custom?: Record<string, unknown> | undefined;
|
|
797
798
|
extendSchema?: Record<string, unknown> | undefined;
|
|
798
|
-
fees?:
|
|
799
|
+
fees?: viem139.ChainFees<undefined> | undefined;
|
|
799
800
|
formatters?: undefined;
|
|
800
|
-
prepareTransactionRequest?: ((args:
|
|
801
|
+
prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
801
802
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
802
|
-
}) => Promise<
|
|
803
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
803
804
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
804
|
-
}) => Promise<
|
|
805
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
805
806
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
806
807
|
}] | undefined;
|
|
807
|
-
serializers?:
|
|
808
|
-
verifyHash?: ((client:
|
|
808
|
+
serializers?: viem139.ChainSerializers<undefined, viem139.TransactionSerializable> | undefined;
|
|
809
|
+
verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
|
|
809
810
|
};
|
|
810
811
|
rpcUrl: string;
|
|
811
812
|
caip2: number;
|
|
@@ -889,56 +890,56 @@ declare const FangornConfig: {
|
|
|
889
890
|
testnet: true;
|
|
890
891
|
custom?: Record<string, unknown> | undefined;
|
|
891
892
|
extendSchema?: Record<string, unknown> | undefined;
|
|
892
|
-
fees?:
|
|
893
|
+
fees?: viem139.ChainFees<undefined> | undefined;
|
|
893
894
|
formatters: {
|
|
894
895
|
readonly block: {
|
|
895
896
|
exclude: [] | undefined;
|
|
896
|
-
format: (args:
|
|
897
|
+
format: (args: viem_chains9.OpStackRpcBlock, action?: string | undefined) => {
|
|
897
898
|
baseFeePerGas: bigint | null;
|
|
898
899
|
blobGasUsed: bigint;
|
|
899
900
|
difficulty: bigint;
|
|
900
901
|
excessBlobGas: bigint;
|
|
901
|
-
extraData:
|
|
902
|
+
extraData: viem139.Hex;
|
|
902
903
|
gasLimit: bigint;
|
|
903
904
|
gasUsed: bigint;
|
|
904
905
|
hash: `0x${string}` | null;
|
|
905
906
|
logsBloom: `0x${string}` | null;
|
|
906
|
-
miner:
|
|
907
|
-
mixHash:
|
|
907
|
+
miner: abitype31.Address;
|
|
908
|
+
mixHash: viem139.Hash;
|
|
908
909
|
nonce: `0x${string}` | null;
|
|
909
910
|
number: bigint | null;
|
|
910
911
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
911
|
-
parentHash:
|
|
912
|
-
receiptsRoot:
|
|
913
|
-
sealFields:
|
|
914
|
-
sha3Uncles:
|
|
912
|
+
parentHash: viem139.Hash;
|
|
913
|
+
receiptsRoot: viem139.Hex;
|
|
914
|
+
sealFields: viem139.Hex[];
|
|
915
|
+
sha3Uncles: viem139.Hash;
|
|
915
916
|
size: bigint;
|
|
916
|
-
stateRoot:
|
|
917
|
+
stateRoot: viem139.Hash;
|
|
917
918
|
timestamp: bigint;
|
|
918
919
|
totalDifficulty: bigint | null;
|
|
919
|
-
transactions: `0x${string}`[] |
|
|
920
|
-
transactionsRoot:
|
|
921
|
-
uncles:
|
|
922
|
-
withdrawals?:
|
|
920
|
+
transactions: `0x${string}`[] | viem_chains9.OpStackTransaction<boolean>[];
|
|
921
|
+
transactionsRoot: viem139.Hash;
|
|
922
|
+
uncles: viem139.Hash[];
|
|
923
|
+
withdrawals?: viem139.Withdrawal[] | undefined | undefined;
|
|
923
924
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
924
925
|
} & {};
|
|
925
926
|
type: "block";
|
|
926
927
|
};
|
|
927
928
|
readonly transaction: {
|
|
928
929
|
exclude: [] | undefined;
|
|
929
|
-
format: (args:
|
|
930
|
+
format: (args: viem_chains9.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
930
931
|
blockHash: `0x${string}` | null;
|
|
931
932
|
blockNumber: bigint | null;
|
|
932
|
-
from:
|
|
933
|
+
from: abitype31.Address;
|
|
933
934
|
gas: bigint;
|
|
934
|
-
hash:
|
|
935
|
-
input:
|
|
935
|
+
hash: viem139.Hash;
|
|
936
|
+
input: viem139.Hex;
|
|
936
937
|
nonce: number;
|
|
937
|
-
r:
|
|
938
|
-
s:
|
|
939
|
-
to:
|
|
938
|
+
r: viem139.Hex;
|
|
939
|
+
s: viem139.Hex;
|
|
940
|
+
to: abitype31.Address | null;
|
|
940
941
|
transactionIndex: number | null;
|
|
941
|
-
typeHex:
|
|
942
|
+
typeHex: viem139.Hex | null;
|
|
942
943
|
v: bigint;
|
|
943
944
|
value: bigint;
|
|
944
945
|
yParity: number;
|
|
@@ -948,23 +949,23 @@ declare const FangornConfig: {
|
|
|
948
949
|
maxPriorityFeePerGas: bigint;
|
|
949
950
|
isSystemTx?: boolean;
|
|
950
951
|
mint?: bigint | undefined | undefined;
|
|
951
|
-
sourceHash:
|
|
952
|
+
sourceHash: viem139.Hex;
|
|
952
953
|
type: "deposit";
|
|
953
954
|
} | {
|
|
954
|
-
r:
|
|
955
|
-
s:
|
|
955
|
+
r: viem139.Hex;
|
|
956
|
+
s: viem139.Hex;
|
|
956
957
|
v: bigint;
|
|
957
|
-
to:
|
|
958
|
-
from:
|
|
958
|
+
to: abitype31.Address | null;
|
|
959
|
+
from: abitype31.Address;
|
|
959
960
|
gas: bigint;
|
|
960
961
|
nonce: number;
|
|
961
962
|
value: bigint;
|
|
962
963
|
blockHash: `0x${string}` | null;
|
|
963
964
|
blockNumber: bigint | null;
|
|
964
|
-
hash:
|
|
965
|
-
input:
|
|
965
|
+
hash: viem139.Hash;
|
|
966
|
+
input: viem139.Hex;
|
|
966
967
|
transactionIndex: number | null;
|
|
967
|
-
typeHex:
|
|
968
|
+
typeHex: viem139.Hex | null;
|
|
968
969
|
accessList?: undefined | undefined;
|
|
969
970
|
authorizationList?: undefined | undefined;
|
|
970
971
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -981,20 +982,20 @@ declare const FangornConfig: {
|
|
|
981
982
|
} | {
|
|
982
983
|
blockHash: `0x${string}` | null;
|
|
983
984
|
blockNumber: bigint | null;
|
|
984
|
-
from:
|
|
985
|
+
from: abitype31.Address;
|
|
985
986
|
gas: bigint;
|
|
986
|
-
hash:
|
|
987
|
-
input:
|
|
987
|
+
hash: viem139.Hash;
|
|
988
|
+
input: viem139.Hex;
|
|
988
989
|
nonce: number;
|
|
989
|
-
r:
|
|
990
|
-
s:
|
|
991
|
-
to:
|
|
990
|
+
r: viem139.Hex;
|
|
991
|
+
s: viem139.Hex;
|
|
992
|
+
to: abitype31.Address | null;
|
|
992
993
|
transactionIndex: number | null;
|
|
993
|
-
typeHex:
|
|
994
|
+
typeHex: viem139.Hex | null;
|
|
994
995
|
v: bigint;
|
|
995
996
|
value: bigint;
|
|
996
997
|
yParity: number;
|
|
997
|
-
accessList:
|
|
998
|
+
accessList: viem139.AccessList;
|
|
998
999
|
authorizationList?: undefined | undefined;
|
|
999
1000
|
blobVersionedHashes?: undefined | undefined;
|
|
1000
1001
|
chainId: number;
|
|
@@ -1009,20 +1010,20 @@ declare const FangornConfig: {
|
|
|
1009
1010
|
} | {
|
|
1010
1011
|
blockHash: `0x${string}` | null;
|
|
1011
1012
|
blockNumber: bigint | null;
|
|
1012
|
-
from:
|
|
1013
|
+
from: abitype31.Address;
|
|
1013
1014
|
gas: bigint;
|
|
1014
|
-
hash:
|
|
1015
|
-
input:
|
|
1015
|
+
hash: viem139.Hash;
|
|
1016
|
+
input: viem139.Hex;
|
|
1016
1017
|
nonce: number;
|
|
1017
|
-
r:
|
|
1018
|
-
s:
|
|
1019
|
-
to:
|
|
1018
|
+
r: viem139.Hex;
|
|
1019
|
+
s: viem139.Hex;
|
|
1020
|
+
to: abitype31.Address | null;
|
|
1020
1021
|
transactionIndex: number | null;
|
|
1021
|
-
typeHex:
|
|
1022
|
+
typeHex: viem139.Hex | null;
|
|
1022
1023
|
v: bigint;
|
|
1023
1024
|
value: bigint;
|
|
1024
1025
|
yParity: number;
|
|
1025
|
-
accessList:
|
|
1026
|
+
accessList: viem139.AccessList;
|
|
1026
1027
|
authorizationList?: undefined | undefined;
|
|
1027
1028
|
blobVersionedHashes?: undefined | undefined;
|
|
1028
1029
|
chainId: number;
|
|
@@ -1037,22 +1038,22 @@ declare const FangornConfig: {
|
|
|
1037
1038
|
} | {
|
|
1038
1039
|
blockHash: `0x${string}` | null;
|
|
1039
1040
|
blockNumber: bigint | null;
|
|
1040
|
-
from:
|
|
1041
|
+
from: abitype31.Address;
|
|
1041
1042
|
gas: bigint;
|
|
1042
|
-
hash:
|
|
1043
|
-
input:
|
|
1043
|
+
hash: viem139.Hash;
|
|
1044
|
+
input: viem139.Hex;
|
|
1044
1045
|
nonce: number;
|
|
1045
|
-
r:
|
|
1046
|
-
s:
|
|
1047
|
-
to:
|
|
1046
|
+
r: viem139.Hex;
|
|
1047
|
+
s: viem139.Hex;
|
|
1048
|
+
to: abitype31.Address | null;
|
|
1048
1049
|
transactionIndex: number | null;
|
|
1049
|
-
typeHex:
|
|
1050
|
+
typeHex: viem139.Hex | null;
|
|
1050
1051
|
v: bigint;
|
|
1051
1052
|
value: bigint;
|
|
1052
1053
|
yParity: number;
|
|
1053
|
-
accessList:
|
|
1054
|
+
accessList: viem139.AccessList;
|
|
1054
1055
|
authorizationList?: undefined | undefined;
|
|
1055
|
-
blobVersionedHashes: readonly
|
|
1056
|
+
blobVersionedHashes: readonly viem139.Hex[];
|
|
1056
1057
|
chainId: number;
|
|
1057
1058
|
type: "eip4844";
|
|
1058
1059
|
gasPrice?: undefined | undefined;
|
|
@@ -1065,21 +1066,21 @@ declare const FangornConfig: {
|
|
|
1065
1066
|
} | {
|
|
1066
1067
|
blockHash: `0x${string}` | null;
|
|
1067
1068
|
blockNumber: bigint | null;
|
|
1068
|
-
from:
|
|
1069
|
+
from: abitype31.Address;
|
|
1069
1070
|
gas: bigint;
|
|
1070
|
-
hash:
|
|
1071
|
-
input:
|
|
1071
|
+
hash: viem139.Hash;
|
|
1072
|
+
input: viem139.Hex;
|
|
1072
1073
|
nonce: number;
|
|
1073
|
-
r:
|
|
1074
|
-
s:
|
|
1075
|
-
to:
|
|
1074
|
+
r: viem139.Hex;
|
|
1075
|
+
s: viem139.Hex;
|
|
1076
|
+
to: abitype31.Address | null;
|
|
1076
1077
|
transactionIndex: number | null;
|
|
1077
|
-
typeHex:
|
|
1078
|
+
typeHex: viem139.Hex | null;
|
|
1078
1079
|
v: bigint;
|
|
1079
1080
|
value: bigint;
|
|
1080
1081
|
yParity: number;
|
|
1081
|
-
accessList:
|
|
1082
|
-
authorizationList:
|
|
1082
|
+
accessList: viem139.AccessList;
|
|
1083
|
+
authorizationList: viem139.SignedAuthorizationList;
|
|
1083
1084
|
blobVersionedHashes?: undefined | undefined;
|
|
1084
1085
|
chainId: number;
|
|
1085
1086
|
type: "eip7702";
|
|
@@ -1095,25 +1096,25 @@ declare const FangornConfig: {
|
|
|
1095
1096
|
};
|
|
1096
1097
|
readonly transactionReceipt: {
|
|
1097
1098
|
exclude: [] | undefined;
|
|
1098
|
-
format: (args:
|
|
1099
|
+
format: (args: viem_chains9.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
1099
1100
|
blobGasPrice?: bigint | undefined;
|
|
1100
1101
|
blobGasUsed?: bigint | undefined;
|
|
1101
|
-
blockHash:
|
|
1102
|
+
blockHash: viem139.Hash;
|
|
1102
1103
|
blockNumber: bigint;
|
|
1103
1104
|
blockTimestamp?: bigint | undefined;
|
|
1104
|
-
contractAddress:
|
|
1105
|
+
contractAddress: abitype31.Address | null | undefined;
|
|
1105
1106
|
cumulativeGasUsed: bigint;
|
|
1106
1107
|
effectiveGasPrice: bigint;
|
|
1107
|
-
from:
|
|
1108
|
+
from: abitype31.Address;
|
|
1108
1109
|
gasUsed: bigint;
|
|
1109
|
-
logs:
|
|
1110
|
-
logsBloom:
|
|
1110
|
+
logs: viem139.Log<bigint, number, false>[];
|
|
1111
|
+
logsBloom: viem139.Hex;
|
|
1111
1112
|
root?: `0x${string}` | undefined;
|
|
1112
1113
|
status: "success" | "reverted";
|
|
1113
|
-
to:
|
|
1114
|
-
transactionHash:
|
|
1114
|
+
to: abitype31.Address | null;
|
|
1115
|
+
transactionHash: viem139.Hash;
|
|
1115
1116
|
transactionIndex: number;
|
|
1116
|
-
type:
|
|
1117
|
+
type: viem139.TransactionType;
|
|
1117
1118
|
l1GasPrice: bigint | null;
|
|
1118
1119
|
l1GasUsed: bigint | null;
|
|
1119
1120
|
l1Fee: bigint | null;
|
|
@@ -1122,17 +1123,17 @@ declare const FangornConfig: {
|
|
|
1122
1123
|
type: "transactionReceipt";
|
|
1123
1124
|
};
|
|
1124
1125
|
};
|
|
1125
|
-
prepareTransactionRequest?: ((args:
|
|
1126
|
+
prepareTransactionRequest?: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
1126
1127
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1127
|
-
}) => Promise<
|
|
1128
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | [fn: ((args: viem139.PrepareTransactionRequestParameters, options: {
|
|
1128
1129
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1129
|
-
}) => Promise<
|
|
1130
|
+
}) => Promise<viem139.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
1130
1131
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
1131
1132
|
}] | undefined;
|
|
1132
1133
|
serializers: {
|
|
1133
|
-
readonly transaction: typeof
|
|
1134
|
+
readonly transaction: typeof viem_chains9.serializeTransactionOpStack;
|
|
1134
1135
|
};
|
|
1135
|
-
verifyHash?: ((client:
|
|
1136
|
+
verifyHash?: ((client: viem139.Client, parameters: viem139.VerifyHashActionParameters) => Promise<viem139.VerifyHashActionReturnType>) | undefined;
|
|
1136
1137
|
readonly network: "base-sepolia";
|
|
1137
1138
|
};
|
|
1138
1139
|
rpcUrl: string;
|