@fangorn-network/sdk 2026.10.26-dev → 2026.10.28
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 +17 -1
- package/lib/cli/cli.js +76 -25
- package/lib/cli/index.d.ts +2 -2
- package/lib/config.d.ts +160 -160
- package/lib/config.js +4 -4
- package/lib/contracts/app-registry/abi.d.ts +65 -76
- package/lib/contracts/app-registry/abi.js +70 -87
- package/lib/contracts/app-registry/index.d.ts +39 -12
- package/lib/contracts/app-registry/index.js +53 -22
- package/lib/contracts/data-registry/abi.d.ts +0 -24
- package/lib/contracts/data-registry/abi.js +0 -26
- package/lib/contracts/types.d.ts +0 -2
- package/lib/contracts/types.js +0 -2
- package/lib/engine/car.d.ts +5 -1
- package/lib/engine/car.js +2 -2
- package/lib/engine/index.d.ts +10 -2
- package/lib/engine/index.js +30 -12
- package/lib/engine/records.d.ts +15 -1
- package/lib/engine/records.js +75 -1
- package/lib/fangorn.d.ts +10 -0
- package/lib/fangorn.js +16 -0
- package/lib/test/testbed.d.ts +5173 -5173
- package/lib/test/testbed.js +1 -1
- package/package.json +1 -1
package/lib/config.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as viem5828 from "viem";
|
|
2
2
|
import { Chain, Hex } from "viem";
|
|
3
3
|
import * as viem_chains0 from "viem/chains";
|
|
4
|
-
import * as
|
|
4
|
+
import * as abitype9 from "abitype";
|
|
5
5
|
|
|
6
6
|
//#region src/config.d.ts
|
|
7
7
|
/**
|
|
@@ -65,17 +65,17 @@ declare const ArbitrumSepoliaConfig: {
|
|
|
65
65
|
testnet: true;
|
|
66
66
|
custom?: Record<string, unknown> | undefined;
|
|
67
67
|
extendSchema?: Record<string, unknown> | undefined;
|
|
68
|
-
fees?:
|
|
68
|
+
fees?: viem5828.ChainFees<undefined> | undefined;
|
|
69
69
|
formatters?: undefined;
|
|
70
|
-
prepareTransactionRequest?: ((args:
|
|
70
|
+
prepareTransactionRequest?: ((args: viem5828.PrepareTransactionRequestParameters, options: {
|
|
71
71
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
72
|
-
}) => Promise<
|
|
72
|
+
}) => Promise<viem5828.PrepareTransactionRequestParameters>) | [fn: ((args: viem5828.PrepareTransactionRequestParameters, options: {
|
|
73
73
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
74
|
-
}) => Promise<
|
|
74
|
+
}) => Promise<viem5828.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
75
75
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
76
76
|
}] | undefined;
|
|
77
|
-
serializers?:
|
|
78
|
-
verifyHash?: ((client:
|
|
77
|
+
serializers?: viem5828.ChainSerializers<undefined, viem5828.TransactionSerializable> | undefined;
|
|
78
|
+
verifyHash?: ((client: viem5828.Client, parameters: viem5828.VerifyHashActionParameters) => Promise<viem5828.VerifyHashActionReturnType>) | undefined;
|
|
79
79
|
};
|
|
80
80
|
rpcUrl: string;
|
|
81
81
|
caip2: number;
|
|
@@ -83,9 +83,9 @@ declare const ArbitrumSepoliaConfig: {
|
|
|
83
83
|
logWindow: bigint;
|
|
84
84
|
};
|
|
85
85
|
declare const BaseSepoliaConfig: {
|
|
86
|
-
dataRegistryContractAddress: "
|
|
87
|
-
appRegistryContractAddress: "
|
|
88
|
-
membershipRegistryContractAddress: "
|
|
86
|
+
dataRegistryContractAddress: "0x7a34882568f1b22FC4C4944113B1E4Ca4cF6900f";
|
|
87
|
+
appRegistryContractAddress: "0x6E07C2c7393963242899e5Fb0eb1B6B787927E81";
|
|
88
|
+
membershipRegistryContractAddress: "0x9De2C2A6261927f91b246C73e7ca86824a357FA6";
|
|
89
89
|
appRegistryFromBlock: bigint;
|
|
90
90
|
chain: {
|
|
91
91
|
blockExplorers: {
|
|
@@ -160,7 +160,7 @@ declare const BaseSepoliaConfig: {
|
|
|
160
160
|
testnet: true;
|
|
161
161
|
custom?: Record<string, unknown> | undefined;
|
|
162
162
|
extendSchema?: Record<string, unknown> | undefined;
|
|
163
|
-
fees?:
|
|
163
|
+
fees?: viem5828.ChainFees<undefined> | undefined;
|
|
164
164
|
formatters: {
|
|
165
165
|
readonly block: {
|
|
166
166
|
exclude: [] | undefined;
|
|
@@ -169,28 +169,28 @@ declare const BaseSepoliaConfig: {
|
|
|
169
169
|
blobGasUsed: bigint;
|
|
170
170
|
difficulty: bigint;
|
|
171
171
|
excessBlobGas: bigint;
|
|
172
|
-
extraData:
|
|
172
|
+
extraData: viem5828.Hex;
|
|
173
173
|
gasLimit: bigint;
|
|
174
174
|
gasUsed: bigint;
|
|
175
175
|
hash: `0x${string}` | null;
|
|
176
176
|
logsBloom: `0x${string}` | null;
|
|
177
|
-
miner:
|
|
178
|
-
mixHash:
|
|
177
|
+
miner: abitype9.Address;
|
|
178
|
+
mixHash: viem5828.Hash;
|
|
179
179
|
nonce: `0x${string}` | null;
|
|
180
180
|
number: bigint | null;
|
|
181
181
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
182
|
-
parentHash:
|
|
183
|
-
receiptsRoot:
|
|
184
|
-
sealFields:
|
|
185
|
-
sha3Uncles:
|
|
182
|
+
parentHash: viem5828.Hash;
|
|
183
|
+
receiptsRoot: viem5828.Hex;
|
|
184
|
+
sealFields: viem5828.Hex[];
|
|
185
|
+
sha3Uncles: viem5828.Hash;
|
|
186
186
|
size: bigint;
|
|
187
|
-
stateRoot:
|
|
187
|
+
stateRoot: viem5828.Hash;
|
|
188
188
|
timestamp: bigint;
|
|
189
189
|
totalDifficulty: bigint | null;
|
|
190
190
|
transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
|
|
191
|
-
transactionsRoot:
|
|
192
|
-
uncles:
|
|
193
|
-
withdrawals?:
|
|
191
|
+
transactionsRoot: viem5828.Hash;
|
|
192
|
+
uncles: viem5828.Hash[];
|
|
193
|
+
withdrawals?: viem5828.Withdrawal[] | undefined | undefined;
|
|
194
194
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
195
195
|
} & {};
|
|
196
196
|
type: "block";
|
|
@@ -200,16 +200,16 @@ declare const BaseSepoliaConfig: {
|
|
|
200
200
|
format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
201
201
|
blockHash: `0x${string}` | null;
|
|
202
202
|
blockNumber: bigint | null;
|
|
203
|
-
from:
|
|
203
|
+
from: abitype9.Address;
|
|
204
204
|
gas: bigint;
|
|
205
|
-
hash:
|
|
206
|
-
input:
|
|
205
|
+
hash: viem5828.Hash;
|
|
206
|
+
input: viem5828.Hex;
|
|
207
207
|
nonce: number;
|
|
208
|
-
r:
|
|
209
|
-
s:
|
|
210
|
-
to:
|
|
208
|
+
r: viem5828.Hex;
|
|
209
|
+
s: viem5828.Hex;
|
|
210
|
+
to: abitype9.Address | null;
|
|
211
211
|
transactionIndex: number | null;
|
|
212
|
-
typeHex:
|
|
212
|
+
typeHex: viem5828.Hex | null;
|
|
213
213
|
v: bigint;
|
|
214
214
|
value: bigint;
|
|
215
215
|
yParity: number;
|
|
@@ -219,23 +219,23 @@ declare const BaseSepoliaConfig: {
|
|
|
219
219
|
maxPriorityFeePerGas: bigint;
|
|
220
220
|
isSystemTx?: boolean;
|
|
221
221
|
mint?: bigint | undefined | undefined;
|
|
222
|
-
sourceHash:
|
|
222
|
+
sourceHash: viem5828.Hex;
|
|
223
223
|
type: "deposit";
|
|
224
224
|
} | {
|
|
225
|
-
r:
|
|
226
|
-
s:
|
|
225
|
+
r: viem5828.Hex;
|
|
226
|
+
s: viem5828.Hex;
|
|
227
227
|
v: bigint;
|
|
228
|
-
to:
|
|
229
|
-
from:
|
|
228
|
+
to: abitype9.Address | null;
|
|
229
|
+
from: abitype9.Address;
|
|
230
230
|
gas: bigint;
|
|
231
231
|
nonce: number;
|
|
232
232
|
value: bigint;
|
|
233
233
|
blockHash: `0x${string}` | null;
|
|
234
234
|
blockNumber: bigint | null;
|
|
235
|
-
hash:
|
|
236
|
-
input:
|
|
235
|
+
hash: viem5828.Hash;
|
|
236
|
+
input: viem5828.Hex;
|
|
237
237
|
transactionIndex: number | null;
|
|
238
|
-
typeHex:
|
|
238
|
+
typeHex: viem5828.Hex | null;
|
|
239
239
|
accessList?: undefined | undefined;
|
|
240
240
|
authorizationList?: undefined | undefined;
|
|
241
241
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -252,20 +252,20 @@ declare const BaseSepoliaConfig: {
|
|
|
252
252
|
} | {
|
|
253
253
|
blockHash: `0x${string}` | null;
|
|
254
254
|
blockNumber: bigint | null;
|
|
255
|
-
from:
|
|
255
|
+
from: abitype9.Address;
|
|
256
256
|
gas: bigint;
|
|
257
|
-
hash:
|
|
258
|
-
input:
|
|
257
|
+
hash: viem5828.Hash;
|
|
258
|
+
input: viem5828.Hex;
|
|
259
259
|
nonce: number;
|
|
260
|
-
r:
|
|
261
|
-
s:
|
|
262
|
-
to:
|
|
260
|
+
r: viem5828.Hex;
|
|
261
|
+
s: viem5828.Hex;
|
|
262
|
+
to: abitype9.Address | null;
|
|
263
263
|
transactionIndex: number | null;
|
|
264
|
-
typeHex:
|
|
264
|
+
typeHex: viem5828.Hex | null;
|
|
265
265
|
v: bigint;
|
|
266
266
|
value: bigint;
|
|
267
267
|
yParity: number;
|
|
268
|
-
accessList:
|
|
268
|
+
accessList: viem5828.AccessList;
|
|
269
269
|
authorizationList?: undefined | undefined;
|
|
270
270
|
blobVersionedHashes?: undefined | undefined;
|
|
271
271
|
chainId: number;
|
|
@@ -280,20 +280,20 @@ declare const BaseSepoliaConfig: {
|
|
|
280
280
|
} | {
|
|
281
281
|
blockHash: `0x${string}` | null;
|
|
282
282
|
blockNumber: bigint | null;
|
|
283
|
-
from:
|
|
283
|
+
from: abitype9.Address;
|
|
284
284
|
gas: bigint;
|
|
285
|
-
hash:
|
|
286
|
-
input:
|
|
285
|
+
hash: viem5828.Hash;
|
|
286
|
+
input: viem5828.Hex;
|
|
287
287
|
nonce: number;
|
|
288
|
-
r:
|
|
289
|
-
s:
|
|
290
|
-
to:
|
|
288
|
+
r: viem5828.Hex;
|
|
289
|
+
s: viem5828.Hex;
|
|
290
|
+
to: abitype9.Address | null;
|
|
291
291
|
transactionIndex: number | null;
|
|
292
|
-
typeHex:
|
|
292
|
+
typeHex: viem5828.Hex | null;
|
|
293
293
|
v: bigint;
|
|
294
294
|
value: bigint;
|
|
295
295
|
yParity: number;
|
|
296
|
-
accessList:
|
|
296
|
+
accessList: viem5828.AccessList;
|
|
297
297
|
authorizationList?: undefined | undefined;
|
|
298
298
|
blobVersionedHashes?: undefined | undefined;
|
|
299
299
|
chainId: number;
|
|
@@ -308,22 +308,22 @@ declare const BaseSepoliaConfig: {
|
|
|
308
308
|
} | {
|
|
309
309
|
blockHash: `0x${string}` | null;
|
|
310
310
|
blockNumber: bigint | null;
|
|
311
|
-
from:
|
|
311
|
+
from: abitype9.Address;
|
|
312
312
|
gas: bigint;
|
|
313
|
-
hash:
|
|
314
|
-
input:
|
|
313
|
+
hash: viem5828.Hash;
|
|
314
|
+
input: viem5828.Hex;
|
|
315
315
|
nonce: number;
|
|
316
|
-
r:
|
|
317
|
-
s:
|
|
318
|
-
to:
|
|
316
|
+
r: viem5828.Hex;
|
|
317
|
+
s: viem5828.Hex;
|
|
318
|
+
to: abitype9.Address | null;
|
|
319
319
|
transactionIndex: number | null;
|
|
320
|
-
typeHex:
|
|
320
|
+
typeHex: viem5828.Hex | null;
|
|
321
321
|
v: bigint;
|
|
322
322
|
value: bigint;
|
|
323
323
|
yParity: number;
|
|
324
|
-
accessList:
|
|
324
|
+
accessList: viem5828.AccessList;
|
|
325
325
|
authorizationList?: undefined | undefined;
|
|
326
|
-
blobVersionedHashes: readonly
|
|
326
|
+
blobVersionedHashes: readonly viem5828.Hex[];
|
|
327
327
|
chainId: number;
|
|
328
328
|
type: "eip4844";
|
|
329
329
|
gasPrice?: undefined | undefined;
|
|
@@ -336,21 +336,21 @@ declare const BaseSepoliaConfig: {
|
|
|
336
336
|
} | {
|
|
337
337
|
blockHash: `0x${string}` | null;
|
|
338
338
|
blockNumber: bigint | null;
|
|
339
|
-
from:
|
|
339
|
+
from: abitype9.Address;
|
|
340
340
|
gas: bigint;
|
|
341
|
-
hash:
|
|
342
|
-
input:
|
|
341
|
+
hash: viem5828.Hash;
|
|
342
|
+
input: viem5828.Hex;
|
|
343
343
|
nonce: number;
|
|
344
|
-
r:
|
|
345
|
-
s:
|
|
346
|
-
to:
|
|
344
|
+
r: viem5828.Hex;
|
|
345
|
+
s: viem5828.Hex;
|
|
346
|
+
to: abitype9.Address | null;
|
|
347
347
|
transactionIndex: number | null;
|
|
348
|
-
typeHex:
|
|
348
|
+
typeHex: viem5828.Hex | null;
|
|
349
349
|
v: bigint;
|
|
350
350
|
value: bigint;
|
|
351
351
|
yParity: number;
|
|
352
|
-
accessList:
|
|
353
|
-
authorizationList:
|
|
352
|
+
accessList: viem5828.AccessList;
|
|
353
|
+
authorizationList: viem5828.SignedAuthorizationList;
|
|
354
354
|
blobVersionedHashes?: undefined | undefined;
|
|
355
355
|
chainId: number;
|
|
356
356
|
type: "eip7702";
|
|
@@ -369,22 +369,22 @@ declare const BaseSepoliaConfig: {
|
|
|
369
369
|
format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
370
370
|
blobGasPrice?: bigint | undefined;
|
|
371
371
|
blobGasUsed?: bigint | undefined;
|
|
372
|
-
blockHash:
|
|
372
|
+
blockHash: viem5828.Hash;
|
|
373
373
|
blockNumber: bigint;
|
|
374
374
|
blockTimestamp?: bigint | undefined;
|
|
375
|
-
contractAddress:
|
|
375
|
+
contractAddress: abitype9.Address | null | undefined;
|
|
376
376
|
cumulativeGasUsed: bigint;
|
|
377
377
|
effectiveGasPrice: bigint;
|
|
378
|
-
from:
|
|
378
|
+
from: abitype9.Address;
|
|
379
379
|
gasUsed: bigint;
|
|
380
|
-
logs:
|
|
381
|
-
logsBloom:
|
|
380
|
+
logs: viem5828.Log<bigint, number, false>[];
|
|
381
|
+
logsBloom: viem5828.Hex;
|
|
382
382
|
root?: `0x${string}` | undefined;
|
|
383
383
|
status: "success" | "reverted";
|
|
384
|
-
to:
|
|
385
|
-
transactionHash:
|
|
384
|
+
to: abitype9.Address | null;
|
|
385
|
+
transactionHash: viem5828.Hash;
|
|
386
386
|
transactionIndex: number;
|
|
387
|
-
type:
|
|
387
|
+
type: viem5828.TransactionType;
|
|
388
388
|
l1GasPrice: bigint | null;
|
|
389
389
|
l1GasUsed: bigint | null;
|
|
390
390
|
l1Fee: bigint | null;
|
|
@@ -393,17 +393,17 @@ declare const BaseSepoliaConfig: {
|
|
|
393
393
|
type: "transactionReceipt";
|
|
394
394
|
};
|
|
395
395
|
};
|
|
396
|
-
prepareTransactionRequest?: ((args:
|
|
396
|
+
prepareTransactionRequest?: ((args: viem5828.PrepareTransactionRequestParameters, options: {
|
|
397
397
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
398
|
-
}) => Promise<
|
|
398
|
+
}) => Promise<viem5828.PrepareTransactionRequestParameters>) | [fn: ((args: viem5828.PrepareTransactionRequestParameters, options: {
|
|
399
399
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
400
|
-
}) => Promise<
|
|
400
|
+
}) => Promise<viem5828.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
401
401
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
402
402
|
}] | undefined;
|
|
403
403
|
serializers: {
|
|
404
404
|
readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
|
|
405
405
|
};
|
|
406
|
-
verifyHash?: ((client:
|
|
406
|
+
verifyHash?: ((client: viem5828.Client, parameters: viem5828.VerifyHashActionParameters) => Promise<viem5828.VerifyHashActionReturnType>) | undefined;
|
|
407
407
|
readonly network: "base-sepolia";
|
|
408
408
|
};
|
|
409
409
|
rpcUrl: string;
|
|
@@ -418,9 +418,9 @@ declare const BaseSepoliaConfig: {
|
|
|
418
418
|
* built from.
|
|
419
419
|
*/
|
|
420
420
|
declare const FangornConfig: {
|
|
421
|
-
dataRegistryContractAddress: "
|
|
422
|
-
appRegistryContractAddress: "
|
|
423
|
-
membershipRegistryContractAddress: "
|
|
421
|
+
dataRegistryContractAddress: "0x7a34882568f1b22FC4C4944113B1E4Ca4cF6900f";
|
|
422
|
+
appRegistryContractAddress: "0x6E07C2c7393963242899e5Fb0eb1B6B787927E81";
|
|
423
|
+
membershipRegistryContractAddress: "0x9De2C2A6261927f91b246C73e7ca86824a357FA6";
|
|
424
424
|
appRegistryFromBlock: bigint;
|
|
425
425
|
chain: {
|
|
426
426
|
blockExplorers: {
|
|
@@ -495,7 +495,7 @@ declare const FangornConfig: {
|
|
|
495
495
|
testnet: true;
|
|
496
496
|
custom?: Record<string, unknown> | undefined;
|
|
497
497
|
extendSchema?: Record<string, unknown> | undefined;
|
|
498
|
-
fees?:
|
|
498
|
+
fees?: viem5828.ChainFees<undefined> | undefined;
|
|
499
499
|
formatters: {
|
|
500
500
|
readonly block: {
|
|
501
501
|
exclude: [] | undefined;
|
|
@@ -504,28 +504,28 @@ declare const FangornConfig: {
|
|
|
504
504
|
blobGasUsed: bigint;
|
|
505
505
|
difficulty: bigint;
|
|
506
506
|
excessBlobGas: bigint;
|
|
507
|
-
extraData:
|
|
507
|
+
extraData: viem5828.Hex;
|
|
508
508
|
gasLimit: bigint;
|
|
509
509
|
gasUsed: bigint;
|
|
510
510
|
hash: `0x${string}` | null;
|
|
511
511
|
logsBloom: `0x${string}` | null;
|
|
512
|
-
miner:
|
|
513
|
-
mixHash:
|
|
512
|
+
miner: abitype9.Address;
|
|
513
|
+
mixHash: viem5828.Hash;
|
|
514
514
|
nonce: `0x${string}` | null;
|
|
515
515
|
number: bigint | null;
|
|
516
516
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
517
|
-
parentHash:
|
|
518
|
-
receiptsRoot:
|
|
519
|
-
sealFields:
|
|
520
|
-
sha3Uncles:
|
|
517
|
+
parentHash: viem5828.Hash;
|
|
518
|
+
receiptsRoot: viem5828.Hex;
|
|
519
|
+
sealFields: viem5828.Hex[];
|
|
520
|
+
sha3Uncles: viem5828.Hash;
|
|
521
521
|
size: bigint;
|
|
522
|
-
stateRoot:
|
|
522
|
+
stateRoot: viem5828.Hash;
|
|
523
523
|
timestamp: bigint;
|
|
524
524
|
totalDifficulty: bigint | null;
|
|
525
525
|
transactions: `0x${string}`[] | viem_chains0.OpStackTransaction<boolean>[];
|
|
526
|
-
transactionsRoot:
|
|
527
|
-
uncles:
|
|
528
|
-
withdrawals?:
|
|
526
|
+
transactionsRoot: viem5828.Hash;
|
|
527
|
+
uncles: viem5828.Hash[];
|
|
528
|
+
withdrawals?: viem5828.Withdrawal[] | undefined | undefined;
|
|
529
529
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
530
530
|
} & {};
|
|
531
531
|
type: "block";
|
|
@@ -535,16 +535,16 @@ declare const FangornConfig: {
|
|
|
535
535
|
format: (args: viem_chains0.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
536
536
|
blockHash: `0x${string}` | null;
|
|
537
537
|
blockNumber: bigint | null;
|
|
538
|
-
from:
|
|
538
|
+
from: abitype9.Address;
|
|
539
539
|
gas: bigint;
|
|
540
|
-
hash:
|
|
541
|
-
input:
|
|
540
|
+
hash: viem5828.Hash;
|
|
541
|
+
input: viem5828.Hex;
|
|
542
542
|
nonce: number;
|
|
543
|
-
r:
|
|
544
|
-
s:
|
|
545
|
-
to:
|
|
543
|
+
r: viem5828.Hex;
|
|
544
|
+
s: viem5828.Hex;
|
|
545
|
+
to: abitype9.Address | null;
|
|
546
546
|
transactionIndex: number | null;
|
|
547
|
-
typeHex:
|
|
547
|
+
typeHex: viem5828.Hex | null;
|
|
548
548
|
v: bigint;
|
|
549
549
|
value: bigint;
|
|
550
550
|
yParity: number;
|
|
@@ -554,23 +554,23 @@ declare const FangornConfig: {
|
|
|
554
554
|
maxPriorityFeePerGas: bigint;
|
|
555
555
|
isSystemTx?: boolean;
|
|
556
556
|
mint?: bigint | undefined | undefined;
|
|
557
|
-
sourceHash:
|
|
557
|
+
sourceHash: viem5828.Hex;
|
|
558
558
|
type: "deposit";
|
|
559
559
|
} | {
|
|
560
|
-
r:
|
|
561
|
-
s:
|
|
560
|
+
r: viem5828.Hex;
|
|
561
|
+
s: viem5828.Hex;
|
|
562
562
|
v: bigint;
|
|
563
|
-
to:
|
|
564
|
-
from:
|
|
563
|
+
to: abitype9.Address | null;
|
|
564
|
+
from: abitype9.Address;
|
|
565
565
|
gas: bigint;
|
|
566
566
|
nonce: number;
|
|
567
567
|
value: bigint;
|
|
568
568
|
blockHash: `0x${string}` | null;
|
|
569
569
|
blockNumber: bigint | null;
|
|
570
|
-
hash:
|
|
571
|
-
input:
|
|
570
|
+
hash: viem5828.Hash;
|
|
571
|
+
input: viem5828.Hex;
|
|
572
572
|
transactionIndex: number | null;
|
|
573
|
-
typeHex:
|
|
573
|
+
typeHex: viem5828.Hex | null;
|
|
574
574
|
accessList?: undefined | undefined;
|
|
575
575
|
authorizationList?: undefined | undefined;
|
|
576
576
|
blobVersionedHashes?: undefined | undefined;
|
|
@@ -587,20 +587,20 @@ declare const FangornConfig: {
|
|
|
587
587
|
} | {
|
|
588
588
|
blockHash: `0x${string}` | null;
|
|
589
589
|
blockNumber: bigint | null;
|
|
590
|
-
from:
|
|
590
|
+
from: abitype9.Address;
|
|
591
591
|
gas: bigint;
|
|
592
|
-
hash:
|
|
593
|
-
input:
|
|
592
|
+
hash: viem5828.Hash;
|
|
593
|
+
input: viem5828.Hex;
|
|
594
594
|
nonce: number;
|
|
595
|
-
r:
|
|
596
|
-
s:
|
|
597
|
-
to:
|
|
595
|
+
r: viem5828.Hex;
|
|
596
|
+
s: viem5828.Hex;
|
|
597
|
+
to: abitype9.Address | null;
|
|
598
598
|
transactionIndex: number | null;
|
|
599
|
-
typeHex:
|
|
599
|
+
typeHex: viem5828.Hex | null;
|
|
600
600
|
v: bigint;
|
|
601
601
|
value: bigint;
|
|
602
602
|
yParity: number;
|
|
603
|
-
accessList:
|
|
603
|
+
accessList: viem5828.AccessList;
|
|
604
604
|
authorizationList?: undefined | undefined;
|
|
605
605
|
blobVersionedHashes?: undefined | undefined;
|
|
606
606
|
chainId: number;
|
|
@@ -615,20 +615,20 @@ declare const FangornConfig: {
|
|
|
615
615
|
} | {
|
|
616
616
|
blockHash: `0x${string}` | null;
|
|
617
617
|
blockNumber: bigint | null;
|
|
618
|
-
from:
|
|
618
|
+
from: abitype9.Address;
|
|
619
619
|
gas: bigint;
|
|
620
|
-
hash:
|
|
621
|
-
input:
|
|
620
|
+
hash: viem5828.Hash;
|
|
621
|
+
input: viem5828.Hex;
|
|
622
622
|
nonce: number;
|
|
623
|
-
r:
|
|
624
|
-
s:
|
|
625
|
-
to:
|
|
623
|
+
r: viem5828.Hex;
|
|
624
|
+
s: viem5828.Hex;
|
|
625
|
+
to: abitype9.Address | null;
|
|
626
626
|
transactionIndex: number | null;
|
|
627
|
-
typeHex:
|
|
627
|
+
typeHex: viem5828.Hex | null;
|
|
628
628
|
v: bigint;
|
|
629
629
|
value: bigint;
|
|
630
630
|
yParity: number;
|
|
631
|
-
accessList:
|
|
631
|
+
accessList: viem5828.AccessList;
|
|
632
632
|
authorizationList?: undefined | undefined;
|
|
633
633
|
blobVersionedHashes?: undefined | undefined;
|
|
634
634
|
chainId: number;
|
|
@@ -643,22 +643,22 @@ declare const FangornConfig: {
|
|
|
643
643
|
} | {
|
|
644
644
|
blockHash: `0x${string}` | null;
|
|
645
645
|
blockNumber: bigint | null;
|
|
646
|
-
from:
|
|
646
|
+
from: abitype9.Address;
|
|
647
647
|
gas: bigint;
|
|
648
|
-
hash:
|
|
649
|
-
input:
|
|
648
|
+
hash: viem5828.Hash;
|
|
649
|
+
input: viem5828.Hex;
|
|
650
650
|
nonce: number;
|
|
651
|
-
r:
|
|
652
|
-
s:
|
|
653
|
-
to:
|
|
651
|
+
r: viem5828.Hex;
|
|
652
|
+
s: viem5828.Hex;
|
|
653
|
+
to: abitype9.Address | null;
|
|
654
654
|
transactionIndex: number | null;
|
|
655
|
-
typeHex:
|
|
655
|
+
typeHex: viem5828.Hex | null;
|
|
656
656
|
v: bigint;
|
|
657
657
|
value: bigint;
|
|
658
658
|
yParity: number;
|
|
659
|
-
accessList:
|
|
659
|
+
accessList: viem5828.AccessList;
|
|
660
660
|
authorizationList?: undefined | undefined;
|
|
661
|
-
blobVersionedHashes: readonly
|
|
661
|
+
blobVersionedHashes: readonly viem5828.Hex[];
|
|
662
662
|
chainId: number;
|
|
663
663
|
type: "eip4844";
|
|
664
664
|
gasPrice?: undefined | undefined;
|
|
@@ -671,21 +671,21 @@ declare const FangornConfig: {
|
|
|
671
671
|
} | {
|
|
672
672
|
blockHash: `0x${string}` | null;
|
|
673
673
|
blockNumber: bigint | null;
|
|
674
|
-
from:
|
|
674
|
+
from: abitype9.Address;
|
|
675
675
|
gas: bigint;
|
|
676
|
-
hash:
|
|
677
|
-
input:
|
|
676
|
+
hash: viem5828.Hash;
|
|
677
|
+
input: viem5828.Hex;
|
|
678
678
|
nonce: number;
|
|
679
|
-
r:
|
|
680
|
-
s:
|
|
681
|
-
to:
|
|
679
|
+
r: viem5828.Hex;
|
|
680
|
+
s: viem5828.Hex;
|
|
681
|
+
to: abitype9.Address | null;
|
|
682
682
|
transactionIndex: number | null;
|
|
683
|
-
typeHex:
|
|
683
|
+
typeHex: viem5828.Hex | null;
|
|
684
684
|
v: bigint;
|
|
685
685
|
value: bigint;
|
|
686
686
|
yParity: number;
|
|
687
|
-
accessList:
|
|
688
|
-
authorizationList:
|
|
687
|
+
accessList: viem5828.AccessList;
|
|
688
|
+
authorizationList: viem5828.SignedAuthorizationList;
|
|
689
689
|
blobVersionedHashes?: undefined | undefined;
|
|
690
690
|
chainId: number;
|
|
691
691
|
type: "eip7702";
|
|
@@ -704,22 +704,22 @@ declare const FangornConfig: {
|
|
|
704
704
|
format: (args: viem_chains0.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
705
705
|
blobGasPrice?: bigint | undefined;
|
|
706
706
|
blobGasUsed?: bigint | undefined;
|
|
707
|
-
blockHash:
|
|
707
|
+
blockHash: viem5828.Hash;
|
|
708
708
|
blockNumber: bigint;
|
|
709
709
|
blockTimestamp?: bigint | undefined;
|
|
710
|
-
contractAddress:
|
|
710
|
+
contractAddress: abitype9.Address | null | undefined;
|
|
711
711
|
cumulativeGasUsed: bigint;
|
|
712
712
|
effectiveGasPrice: bigint;
|
|
713
|
-
from:
|
|
713
|
+
from: abitype9.Address;
|
|
714
714
|
gasUsed: bigint;
|
|
715
|
-
logs:
|
|
716
|
-
logsBloom:
|
|
715
|
+
logs: viem5828.Log<bigint, number, false>[];
|
|
716
|
+
logsBloom: viem5828.Hex;
|
|
717
717
|
root?: `0x${string}` | undefined;
|
|
718
718
|
status: "success" | "reverted";
|
|
719
|
-
to:
|
|
720
|
-
transactionHash:
|
|
719
|
+
to: abitype9.Address | null;
|
|
720
|
+
transactionHash: viem5828.Hash;
|
|
721
721
|
transactionIndex: number;
|
|
722
|
-
type:
|
|
722
|
+
type: viem5828.TransactionType;
|
|
723
723
|
l1GasPrice: bigint | null;
|
|
724
724
|
l1GasUsed: bigint | null;
|
|
725
725
|
l1Fee: bigint | null;
|
|
@@ -728,17 +728,17 @@ declare const FangornConfig: {
|
|
|
728
728
|
type: "transactionReceipt";
|
|
729
729
|
};
|
|
730
730
|
};
|
|
731
|
-
prepareTransactionRequest?: ((args:
|
|
731
|
+
prepareTransactionRequest?: ((args: viem5828.PrepareTransactionRequestParameters, options: {
|
|
732
732
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
733
|
-
}) => Promise<
|
|
733
|
+
}) => Promise<viem5828.PrepareTransactionRequestParameters>) | [fn: ((args: viem5828.PrepareTransactionRequestParameters, options: {
|
|
734
734
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
735
|
-
}) => Promise<
|
|
735
|
+
}) => Promise<viem5828.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
736
736
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
737
737
|
}] | undefined;
|
|
738
738
|
serializers: {
|
|
739
739
|
readonly transaction: typeof viem_chains0.serializeTransactionOpStack;
|
|
740
740
|
};
|
|
741
|
-
verifyHash?: ((client:
|
|
741
|
+
verifyHash?: ((client: viem5828.Client, parameters: viem5828.VerifyHashActionParameters) => Promise<viem5828.VerifyHashActionReturnType>) | undefined;
|
|
742
742
|
readonly network: "base-sepolia";
|
|
743
743
|
};
|
|
744
744
|
rpcUrl: string;
|
package/lib/config.js
CHANGED
|
@@ -34,10 +34,10 @@ const ArbitrumSepoliaConfig = {
|
|
|
34
34
|
logWindow: 100000n
|
|
35
35
|
};
|
|
36
36
|
const BaseSepoliaConfig = {
|
|
37
|
-
dataRegistryContractAddress: "
|
|
38
|
-
appRegistryContractAddress: "
|
|
39
|
-
membershipRegistryContractAddress: "
|
|
40
|
-
appRegistryFromBlock:
|
|
37
|
+
dataRegistryContractAddress: "0x7a34882568f1b22FC4C4944113B1E4Ca4cF6900f",
|
|
38
|
+
appRegistryContractAddress: "0x6E07C2c7393963242899e5Fb0eb1B6B787927E81",
|
|
39
|
+
membershipRegistryContractAddress: "0x9De2C2A6261927f91b246C73e7ca86824a357FA6",
|
|
40
|
+
appRegistryFromBlock: 51469588n,
|
|
41
41
|
chain: baseSepolia,
|
|
42
42
|
rpcUrl: "https://base-sepolia-rpc.publicnode.com",
|
|
43
43
|
caip2: 84532,
|