viem 0.0.0-main.20240526T150333 → 0.0.0-main.20240526T225326
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/CHANGELOG.md +6 -0
- package/_cjs/accounts/privateKeyToAccount.js +0 -4
- package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
- package/_cjs/accounts/toAccount.js +0 -1
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/experimental/index.js +1 -15
- package/_cjs/experimental/index.js.map +1 -1
- package/_esm/accounts/privateKeyToAccount.js +0 -4
- package/_esm/accounts/privateKeyToAccount.js.map +1 -1
- package/_esm/accounts/toAccount.js +0 -1
- package/_esm/accounts/toAccount.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/experimental/index.js +0 -7
- package/_esm/experimental/index.js.map +1 -1
- package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
- package/_types/accounts/toAccount.d.ts.map +1 -1
- package/_types/accounts/types.d.ts +2 -4
- package/_types/accounts/types.d.ts.map +1 -1
- package/_types/celo/chainConfig.d.ts +76 -76
- package/_types/celo/formatters.d.ts +38 -38
- package/_types/chains/definitions/ancient8.d.ts +30 -30
- package/_types/chains/definitions/ancient8Sepolia.d.ts +30 -30
- package/_types/chains/definitions/base.d.ts +30 -30
- package/_types/chains/definitions/baseGoerli.d.ts +30 -30
- package/_types/chains/definitions/baseSepolia.d.ts +30 -30
- package/_types/chains/definitions/celo.d.ts +76 -76
- package/_types/chains/definitions/celoAlfajores.d.ts +76 -76
- package/_types/chains/definitions/fraxtal.d.ts +30 -30
- package/_types/chains/definitions/fraxtalTestnet.d.ts +30 -30
- package/_types/chains/definitions/funkiSepolia.d.ts +30 -30
- package/_types/chains/definitions/liskSepolia.d.ts +30 -30
- package/_types/chains/definitions/metalL2.d.ts +30 -30
- package/_types/chains/definitions/optimism.d.ts +30 -30
- package/_types/chains/definitions/optimismGoerli.d.ts +30 -30
- package/_types/chains/definitions/optimismSepolia.d.ts +30 -30
- package/_types/chains/definitions/pgn.d.ts +30 -30
- package/_types/chains/definitions/pgnTestnet.d.ts +30 -30
- package/_types/chains/definitions/rss3.d.ts +30 -30
- package/_types/chains/definitions/rss3Sepolia.d.ts +30 -30
- package/_types/chains/definitions/zora.d.ts +30 -30
- package/_types/chains/definitions/zoraSepolia.d.ts +30 -30
- package/_types/chains/definitions/zoraTestnet.d.ts +30 -30
- package/_types/errors/version.d.ts +1 -1
- package/_types/experimental/index.d.ts +0 -7
- package/_types/experimental/index.d.ts.map +1 -1
- package/_types/op-stack/chainConfig.d.ts +30 -30
- package/_types/op-stack/formatters.d.ts +30 -30
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/accounts/privateKeyToAccount.ts +0 -4
- package/accounts/toAccount.ts +0 -1
- package/accounts/types.ts +2 -9
- package/errors/version.ts +1 -1
- package/experimental/index.ts +0 -44
- package/package.json +1 -1
- package/_cjs/experimental/eip3074/actions/signAuthMessage.js +0 -29
- package/_cjs/experimental/eip3074/actions/signAuthMessage.js.map +0 -1
- package/_cjs/experimental/eip3074/constants/abis.js +0 -123
- package/_cjs/experimental/eip3074/constants/abis.js.map +0 -1
- package/_cjs/experimental/eip3074/decorators/eip3074.js +0 -13
- package/_cjs/experimental/eip3074/decorators/eip3074.js.map +0 -1
- package/_cjs/experimental/eip3074/invokers/coders/batchInvokerCoder.js +0 -26
- package/_cjs/experimental/eip3074/invokers/coders/batchInvokerCoder.js.map +0 -1
- package/_cjs/experimental/eip3074/invokers/coders/defineInvokerCoder.js +0 -8
- package/_cjs/experimental/eip3074/invokers/coders/defineInvokerCoder.js.map +0 -1
- package/_cjs/experimental/eip3074/invokers/getInvoker.js +0 -64
- package/_cjs/experimental/eip3074/invokers/getInvoker.js.map +0 -1
- package/_cjs/experimental/eip3074/utils/recoverAuthMessageAddress.js +0 -12
- package/_cjs/experimental/eip3074/utils/recoverAuthMessageAddress.js.map +0 -1
- package/_cjs/experimental/eip3074/utils/signAuthMessage.js +0 -17
- package/_cjs/experimental/eip3074/utils/signAuthMessage.js.map +0 -1
- package/_cjs/experimental/eip3074/utils/toAuthMessage.js +0 -17
- package/_cjs/experimental/eip3074/utils/toAuthMessage.js.map +0 -1
- package/_cjs/experimental/eip3074/utils/verifyAuthMessage.js +0 -11
- package/_cjs/experimental/eip3074/utils/verifyAuthMessage.js.map +0 -1
- package/_esm/experimental/eip3074/actions/signAuthMessage.js +0 -78
- package/_esm/experimental/eip3074/actions/signAuthMessage.js.map +0 -1
- package/_esm/experimental/eip3074/constants/abis.js +0 -120
- package/_esm/experimental/eip3074/constants/abis.js.map +0 -1
- package/_esm/experimental/eip3074/decorators/eip3074.js +0 -26
- package/_esm/experimental/eip3074/decorators/eip3074.js.map +0 -1
- package/_esm/experimental/eip3074/invokers/coders/batchInvokerCoder.js +0 -22
- package/_esm/experimental/eip3074/invokers/coders/batchInvokerCoder.js.map +0 -1
- package/_esm/experimental/eip3074/invokers/coders/defineInvokerCoder.js +0 -4
- package/_esm/experimental/eip3074/invokers/coders/defineInvokerCoder.js.map +0 -1
- package/_esm/experimental/eip3074/invokers/getInvoker.js +0 -60
- package/_esm/experimental/eip3074/invokers/getInvoker.js.map +0 -1
- package/_esm/experimental/eip3074/utils/recoverAuthMessageAddress.js +0 -8
- package/_esm/experimental/eip3074/utils/recoverAuthMessageAddress.js.map +0 -1
- package/_esm/experimental/eip3074/utils/signAuthMessage.js +0 -16
- package/_esm/experimental/eip3074/utils/signAuthMessage.js.map +0 -1
- package/_esm/experimental/eip3074/utils/toAuthMessage.js +0 -16
- package/_esm/experimental/eip3074/utils/toAuthMessage.js.map +0 -1
- package/_esm/experimental/eip3074/utils/verifyAuthMessage.js +0 -13
- package/_esm/experimental/eip3074/utils/verifyAuthMessage.js.map +0 -1
- package/_types/experimental/eip3074/actions/signAuthMessage.d.ts +0 -82
- package/_types/experimental/eip3074/actions/signAuthMessage.d.ts.map +0 -1
- package/_types/experimental/eip3074/constants/abis.d.ts +0 -91
- package/_types/experimental/eip3074/constants/abis.d.ts.map +0 -1
- package/_types/experimental/eip3074/decorators/eip3074.d.ts +0 -27
- package/_types/experimental/eip3074/decorators/eip3074.d.ts.map +0 -1
- package/_types/experimental/eip3074/invokers/coders/batchInvokerCoder.d.ts +0 -11
- package/_types/experimental/eip3074/invokers/coders/batchInvokerCoder.d.ts.map +0 -1
- package/_types/experimental/eip3074/invokers/coders/defineInvokerCoder.d.ts +0 -14
- package/_types/experimental/eip3074/invokers/coders/defineInvokerCoder.d.ts.map +0 -1
- package/_types/experimental/eip3074/invokers/getInvoker.d.ts +0 -48
- package/_types/experimental/eip3074/invokers/getInvoker.d.ts.map +0 -1
- package/_types/experimental/eip3074/utils/recoverAuthMessageAddress.d.ts +0 -12
- package/_types/experimental/eip3074/utils/recoverAuthMessageAddress.d.ts.map +0 -1
- package/_types/experimental/eip3074/utils/signAuthMessage.d.ts +0 -16
- package/_types/experimental/eip3074/utils/signAuthMessage.d.ts.map +0 -1
- package/_types/experimental/eip3074/utils/toAuthMessage.d.ts +0 -20
- package/_types/experimental/eip3074/utils/toAuthMessage.d.ts.map +0 -1
- package/_types/experimental/eip3074/utils/verifyAuthMessage.d.ts +0 -19
- package/_types/experimental/eip3074/utils/verifyAuthMessage.d.ts.map +0 -1
- package/experimental/eip3074/actions/signAuthMessage.ts +0 -151
- package/experimental/eip3074/constants/abis.ts +0 -119
- package/experimental/eip3074/decorators/eip3074.ts +0 -58
- package/experimental/eip3074/invokers/coders/batchInvokerCoder.ts +0 -46
- package/experimental/eip3074/invokers/coders/defineInvokerCoder.ts +0 -20
- package/experimental/eip3074/invokers/getInvoker.ts +0 -192
- package/experimental/eip3074/utils/recoverAuthMessageAddress.ts +0 -29
- package/experimental/eip3074/utils/signAuthMessage.ts +0 -40
- package/experimental/eip3074/utils/toAuthMessage.ts +0 -50
- package/experimental/eip3074/utils/verifyAuthMessage.ts +0 -46
@@ -53,13 +53,13 @@ export declare const formatters: {
|
|
53
53
|
gas?: `0x${string}`;
|
54
54
|
nonce?: `0x${string}`;
|
55
55
|
value?: `0x${string}`;
|
56
|
+
accessList?: undefined;
|
57
|
+
blobVersionedHashes?: undefined;
|
56
58
|
blockHash?: `0x${string}` | null;
|
57
59
|
blockNumber?: `0x${string}` | null;
|
58
60
|
hash?: `0x${string}`;
|
59
61
|
input?: `0x${string}`;
|
60
62
|
transactionIndex?: `0x${string}` | null;
|
61
|
-
accessList?: undefined;
|
62
|
-
blobVersionedHashes?: undefined;
|
63
63
|
chainId?: `0x${string}` | undefined;
|
64
64
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
65
65
|
r: `0x${string}`;
|
@@ -104,13 +104,13 @@ export declare const formatters: {
|
|
104
104
|
gas?: `0x${string}`;
|
105
105
|
nonce?: `0x${string}`;
|
106
106
|
value?: `0x${string}`;
|
107
|
+
accessList?: undefined;
|
108
|
+
blobVersionedHashes?: undefined;
|
107
109
|
blockHash?: `0x${string}` | null;
|
108
110
|
blockNumber?: `0x${string}` | null;
|
109
111
|
hash?: `0x${string}`;
|
110
112
|
input?: `0x${string}`;
|
111
113
|
transactionIndex?: `0x${string}` | null;
|
112
|
-
accessList?: undefined;
|
113
|
-
blobVersionedHashes?: undefined;
|
114
114
|
chainId?: `0x${string}` | undefined;
|
115
115
|
} & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
116
116
|
isSystemTx?: boolean | undefined;
|
@@ -132,13 +132,13 @@ export declare const formatters: {
|
|
132
132
|
gas?: `0x${string}`;
|
133
133
|
nonce?: `0x${string}`;
|
134
134
|
value?: `0x${string}`;
|
135
|
+
accessList?: import("../index.js").AccessList | undefined;
|
136
|
+
blobVersionedHashes?: undefined;
|
135
137
|
blockHash?: `0x${string}` | null;
|
136
138
|
blockNumber?: `0x${string}` | null;
|
137
139
|
hash?: `0x${string}`;
|
138
140
|
input?: `0x${string}`;
|
139
141
|
transactionIndex?: `0x${string}` | null;
|
140
|
-
accessList?: import("../index.js").AccessList | undefined;
|
141
|
-
blobVersionedHashes?: undefined;
|
142
142
|
chainId?: `0x${string}` | undefined;
|
143
143
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
144
144
|
r: `0x${string}`;
|
@@ -183,13 +183,13 @@ export declare const formatters: {
|
|
183
183
|
gas?: `0x${string}`;
|
184
184
|
nonce?: `0x${string}`;
|
185
185
|
value?: `0x${string}`;
|
186
|
+
accessList?: import("../index.js").AccessList | undefined;
|
187
|
+
blobVersionedHashes?: undefined;
|
186
188
|
blockHash?: `0x${string}` | null;
|
187
189
|
blockNumber?: `0x${string}` | null;
|
188
190
|
hash?: `0x${string}`;
|
189
191
|
input?: `0x${string}`;
|
190
192
|
transactionIndex?: `0x${string}` | null;
|
191
|
-
accessList?: import("../index.js").AccessList | undefined;
|
192
|
-
blobVersionedHashes?: undefined;
|
193
193
|
chainId?: `0x${string}` | undefined;
|
194
194
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
195
195
|
blockHash: `0x${string}` | null;
|
@@ -234,13 +234,13 @@ export declare const formatters: {
|
|
234
234
|
gas?: `0x${string}`;
|
235
235
|
nonce?: `0x${string}`;
|
236
236
|
value?: `0x${string}`;
|
237
|
+
accessList?: import("../index.js").AccessList | undefined;
|
238
|
+
blobVersionedHashes?: undefined;
|
237
239
|
blockHash?: `0x${string}` | null;
|
238
240
|
blockNumber?: `0x${string}` | null;
|
239
241
|
hash?: `0x${string}`;
|
240
242
|
input?: `0x${string}`;
|
241
243
|
transactionIndex?: `0x${string}` | null;
|
242
|
-
accessList?: import("../index.js").AccessList | undefined;
|
243
|
-
blobVersionedHashes?: undefined;
|
244
244
|
chainId?: `0x${string}` | undefined;
|
245
245
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
246
246
|
blockHash: `0x${string}` | null;
|
@@ -285,13 +285,13 @@ export declare const formatters: {
|
|
285
285
|
gas?: `0x${string}`;
|
286
286
|
nonce?: `0x${string}`;
|
287
287
|
value?: `0x${string}`;
|
288
|
+
accessList?: import("../index.js").AccessList | undefined;
|
289
|
+
blobVersionedHashes?: undefined;
|
288
290
|
blockHash?: `0x${string}` | null;
|
289
291
|
blockNumber?: `0x${string}` | null;
|
290
292
|
hash?: `0x${string}`;
|
291
293
|
input?: `0x${string}`;
|
292
294
|
transactionIndex?: `0x${string}` | null;
|
293
|
-
accessList?: import("../index.js").AccessList | undefined;
|
294
|
-
blobVersionedHashes?: undefined;
|
295
295
|
chainId?: `0x${string}` | undefined;
|
296
296
|
} & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
297
297
|
isSystemTx?: boolean | undefined;
|
@@ -313,13 +313,13 @@ export declare const formatters: {
|
|
313
313
|
gas?: `0x${string}`;
|
314
314
|
nonce?: `0x${string}`;
|
315
315
|
value?: `0x${string}`;
|
316
|
+
accessList?: import("../index.js").AccessList | undefined;
|
317
|
+
blobVersionedHashes?: undefined;
|
316
318
|
blockHash?: `0x${string}` | null;
|
317
319
|
blockNumber?: `0x${string}` | null;
|
318
320
|
hash?: `0x${string}`;
|
319
321
|
input?: `0x${string}`;
|
320
322
|
transactionIndex?: `0x${string}` | null;
|
321
|
-
accessList?: import("../index.js").AccessList | undefined;
|
322
|
-
blobVersionedHashes?: undefined;
|
323
323
|
chainId?: `0x${string}` | undefined;
|
324
324
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
325
325
|
r: `0x${string}`;
|
@@ -364,13 +364,13 @@ export declare const formatters: {
|
|
364
364
|
gas?: `0x${string}`;
|
365
365
|
nonce?: `0x${string}`;
|
366
366
|
value?: `0x${string}`;
|
367
|
+
accessList?: import("../index.js").AccessList | undefined;
|
368
|
+
blobVersionedHashes?: undefined;
|
367
369
|
blockHash?: `0x${string}` | null;
|
368
370
|
blockNumber?: `0x${string}` | null;
|
369
371
|
hash?: `0x${string}`;
|
370
372
|
input?: `0x${string}`;
|
371
373
|
transactionIndex?: `0x${string}` | null;
|
372
|
-
accessList?: import("../index.js").AccessList | undefined;
|
373
|
-
blobVersionedHashes?: undefined;
|
374
374
|
chainId?: `0x${string}` | undefined;
|
375
375
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
376
376
|
blockHash: `0x${string}` | null;
|
@@ -415,13 +415,13 @@ export declare const formatters: {
|
|
415
415
|
gas?: `0x${string}`;
|
416
416
|
nonce?: `0x${string}`;
|
417
417
|
value?: `0x${string}`;
|
418
|
+
accessList?: import("../index.js").AccessList | undefined;
|
419
|
+
blobVersionedHashes?: undefined;
|
418
420
|
blockHash?: `0x${string}` | null;
|
419
421
|
blockNumber?: `0x${string}` | null;
|
420
422
|
hash?: `0x${string}`;
|
421
423
|
input?: `0x${string}`;
|
422
424
|
transactionIndex?: `0x${string}` | null;
|
423
|
-
accessList?: import("../index.js").AccessList | undefined;
|
424
|
-
blobVersionedHashes?: undefined;
|
425
425
|
chainId?: `0x${string}` | undefined;
|
426
426
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
427
427
|
blockHash: `0x${string}` | null;
|
@@ -466,13 +466,13 @@ export declare const formatters: {
|
|
466
466
|
gas?: `0x${string}`;
|
467
467
|
nonce?: `0x${string}`;
|
468
468
|
value?: `0x${string}`;
|
469
|
+
accessList?: import("../index.js").AccessList | undefined;
|
470
|
+
blobVersionedHashes?: undefined;
|
469
471
|
blockHash?: `0x${string}` | null;
|
470
472
|
blockNumber?: `0x${string}` | null;
|
471
473
|
hash?: `0x${string}`;
|
472
474
|
input?: `0x${string}`;
|
473
475
|
transactionIndex?: `0x${string}` | null;
|
474
|
-
accessList?: import("../index.js").AccessList | undefined;
|
475
|
-
blobVersionedHashes?: undefined;
|
476
476
|
chainId?: `0x${string}` | undefined;
|
477
477
|
} & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
478
478
|
isSystemTx?: boolean | undefined;
|
@@ -494,13 +494,13 @@ export declare const formatters: {
|
|
494
494
|
gas?: `0x${string}`;
|
495
495
|
nonce?: `0x${string}`;
|
496
496
|
value?: `0x${string}`;
|
497
|
+
accessList?: import("../index.js").AccessList | undefined;
|
498
|
+
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
497
499
|
blockHash?: `0x${string}` | null;
|
498
500
|
blockNumber?: `0x${string}` | null;
|
499
501
|
hash?: `0x${string}`;
|
500
502
|
input?: `0x${string}`;
|
501
503
|
transactionIndex?: `0x${string}` | null;
|
502
|
-
accessList?: import("../index.js").AccessList | undefined;
|
503
|
-
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
504
504
|
chainId?: `0x${string}` | undefined;
|
505
505
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
506
506
|
r: `0x${string}`;
|
@@ -545,13 +545,13 @@ export declare const formatters: {
|
|
545
545
|
gas?: `0x${string}`;
|
546
546
|
nonce?: `0x${string}`;
|
547
547
|
value?: `0x${string}`;
|
548
|
+
accessList?: import("../index.js").AccessList | undefined;
|
549
|
+
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
548
550
|
blockHash?: `0x${string}` | null;
|
549
551
|
blockNumber?: `0x${string}` | null;
|
550
552
|
hash?: `0x${string}`;
|
551
553
|
input?: `0x${string}`;
|
552
554
|
transactionIndex?: `0x${string}` | null;
|
553
|
-
accessList?: import("../index.js").AccessList | undefined;
|
554
|
-
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
555
555
|
chainId?: `0x${string}` | undefined;
|
556
556
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
557
557
|
blockHash: `0x${string}` | null;
|
@@ -596,13 +596,13 @@ export declare const formatters: {
|
|
596
596
|
gas?: `0x${string}`;
|
597
597
|
nonce?: `0x${string}`;
|
598
598
|
value?: `0x${string}`;
|
599
|
+
accessList?: import("../index.js").AccessList | undefined;
|
600
|
+
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
599
601
|
blockHash?: `0x${string}` | null;
|
600
602
|
blockNumber?: `0x${string}` | null;
|
601
603
|
hash?: `0x${string}`;
|
602
604
|
input?: `0x${string}`;
|
603
605
|
transactionIndex?: `0x${string}` | null;
|
604
|
-
accessList?: import("../index.js").AccessList | undefined;
|
605
|
-
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
606
606
|
chainId?: `0x${string}` | undefined;
|
607
607
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
608
608
|
blockHash: `0x${string}` | null;
|
@@ -647,13 +647,13 @@ export declare const formatters: {
|
|
647
647
|
gas?: `0x${string}`;
|
648
648
|
nonce?: `0x${string}`;
|
649
649
|
value?: `0x${string}`;
|
650
|
+
accessList?: import("../index.js").AccessList | undefined;
|
651
|
+
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
650
652
|
blockHash?: `0x${string}` | null;
|
651
653
|
blockNumber?: `0x${string}` | null;
|
652
654
|
hash?: `0x${string}`;
|
653
655
|
input?: `0x${string}`;
|
654
656
|
transactionIndex?: `0x${string}` | null;
|
655
|
-
accessList?: import("../index.js").AccessList | undefined;
|
656
|
-
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
657
657
|
chainId?: `0x${string}` | undefined;
|
658
658
|
} & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
|
659
659
|
blockHash: `0x${string}` | null;
|
@@ -698,13 +698,13 @@ export declare const formatters: {
|
|
698
698
|
gas?: `0x${string}`;
|
699
699
|
nonce?: `0x${string}`;
|
700
700
|
value?: `0x${string}`;
|
701
|
+
accessList?: import("../index.js").AccessList | undefined;
|
702
|
+
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
701
703
|
blockHash?: `0x${string}` | null;
|
702
704
|
blockNumber?: `0x${string}` | null;
|
703
705
|
hash?: `0x${string}`;
|
704
706
|
input?: `0x${string}`;
|
705
707
|
transactionIndex?: `0x${string}` | null;
|
706
|
-
accessList?: import("../index.js").AccessList | undefined;
|
707
|
-
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
708
708
|
chainId?: `0x${string}` | undefined;
|
709
709
|
} & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
710
710
|
isSystemTx?: boolean | undefined;
|
@@ -19,7 +19,7 @@ export declare const transactionType: {
|
|
19
19
|
export type FormatTransactionErrorType = ErrorType;
|
20
20
|
export declare function formatTransaction(transaction: ExactPartial<RpcTransaction>): Transaction;
|
21
21
|
export type DefineTransactionErrorType = DefineFormatterErrorType | ErrorType;
|
22
|
-
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("r" | "s" | "v" | "yParity" | "gasPrice" | "maxFeePerBlobGas" | "maxFeePerGas" | "maxPriorityFeePerGas" | "type" | "to" | "from" | "gas" | "nonce" | "value" | "
|
22
|
+
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("r" | "s" | "v" | "yParity" | "gasPrice" | "maxFeePerBlobGas" | "maxFeePerGas" | "maxPriorityFeePerGas" | "type" | "to" | "from" | "gas" | "nonce" | "value" | "accessList" | "blobVersionedHashes" | "blockHash" | "blockNumber" | "hash" | "input" | "transactionIndex" | "chainId" | keyof TOverrideParameters)[] = []>({ exclude, format: overrides, }: {
|
23
23
|
exclude?: TExclude | undefined;
|
24
24
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
25
25
|
}) => {
|
@@ -4,7 +4,6 @@ import type { Hex } from '../types/misc.js'
|
|
4
4
|
import { type ToHexErrorType, toHex } from '../utils/encoding/toHex.js'
|
5
5
|
|
6
6
|
import type { ErrorType } from '../errors/utils.js'
|
7
|
-
import { signAuthMessage } from '../experimental/eip3074/utils/signAuthMessage.js'
|
8
7
|
import { type ToAccountErrorType, toAccount } from './toAccount.js'
|
9
8
|
import type { PrivateKeyAccount } from './types.js'
|
10
9
|
import {
|
@@ -41,9 +40,6 @@ export function privateKeyToAccount(privateKey: Hex): PrivateKeyAccount {
|
|
41
40
|
|
42
41
|
const account = toAccount({
|
43
42
|
address,
|
44
|
-
async experimental_signAuthMessage(parameters) {
|
45
|
-
return signAuthMessage({ ...parameters, privateKey })
|
46
|
-
},
|
47
43
|
async signMessage({ message }) {
|
48
44
|
return signMessage({ message, privateKey })
|
49
45
|
},
|
package/accounts/toAccount.ts
CHANGED
@@ -47,7 +47,6 @@ export function toAccount<TAccountSource extends AccountSource>(
|
|
47
47
|
throw new InvalidAddressError({ address: source.address })
|
48
48
|
return {
|
49
49
|
address: source.address,
|
50
|
-
experimental_signAuthMessage: source.experimental_signAuthMessage,
|
51
50
|
signMessage: source.signMessage,
|
52
51
|
signTransaction: source.signTransaction,
|
53
52
|
signTypedData: source.signTypedData,
|
package/accounts/types.ts
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
import type { HDKey } from '@scure/bip32'
|
2
2
|
import type { Address, TypedData } from 'abitype'
|
3
3
|
|
4
|
-
import type { ToAuthMessageParameters } from '../experimental/eip3074/utils/toAuthMessage.js'
|
5
4
|
import type { Hash, Hex, SignableMessage } from '../types/misc.js'
|
6
5
|
import type {
|
7
6
|
TransactionSerializable,
|
8
7
|
TransactionSerialized,
|
9
8
|
} from '../types/transaction.js'
|
10
9
|
import type { TypedDataDefinition } from '../types/typedData.js'
|
11
|
-
import type { IsNarrowable, OneOf
|
10
|
+
import type { IsNarrowable, OneOf } from '../types/utils.js'
|
12
11
|
import type { GetTransactionType } from '../utils/transaction/getTransactionType.js'
|
13
12
|
import type { SerializeTransactionFn } from '../utils/transaction/serializeTransaction.js'
|
14
13
|
|
@@ -19,9 +18,6 @@ export type Account<TAddress extends Address = Address> = OneOf<
|
|
19
18
|
export type AccountSource = Address | CustomSource
|
20
19
|
export type CustomSource = {
|
21
20
|
address: Address
|
22
|
-
experimental_signAuthMessage?:
|
23
|
-
| ((parameters: ToAuthMessageParameters) => Promise<Hash>)
|
24
|
-
| undefined
|
25
21
|
signMessage: ({ message }: { message: SignableMessage }) => Promise<Hash>
|
26
22
|
signTransaction: <
|
27
23
|
serializer extends
|
@@ -87,7 +83,4 @@ export type HDOptions =
|
|
87
83
|
path: `m/44'/60'/${string}`
|
88
84
|
}
|
89
85
|
|
90
|
-
export type PrivateKeyAccount =
|
91
|
-
LocalAccount<'privateKey'>,
|
92
|
-
'experimental_signAuthMessage'
|
93
|
-
>
|
86
|
+
export type PrivateKeyAccount = LocalAccount<'privateKey'>
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20240526T225326'
|
package/experimental/index.ts
CHANGED
@@ -1,47 +1,3 @@
|
|
1
|
-
export {
|
2
|
-
type SignAuthMessageErrorType,
|
3
|
-
type SignAuthMessageParameters,
|
4
|
-
type SignAuthMessageReturnType,
|
5
|
-
signAuthMessage,
|
6
|
-
} from './eip3074/actions/signAuthMessage.js'
|
7
|
-
export {
|
8
|
-
type RecoverAuthMessageAddressParameters,
|
9
|
-
type RecoverAuthMessageAddressReturnType,
|
10
|
-
type RecoverAuthMessageAddressErrorType,
|
11
|
-
recoverAuthMessageAddress,
|
12
|
-
} from './eip3074/utils/recoverAuthMessageAddress.js'
|
13
|
-
export {
|
14
|
-
type VerifyAuthMessageParameters,
|
15
|
-
type VerifyAuthMessageReturnType,
|
16
|
-
type VerifyAuthMessageErrorType,
|
17
|
-
verifyAuthMessage,
|
18
|
-
} from './eip3074/utils/verifyAuthMessage.js'
|
19
|
-
export {
|
20
|
-
type WalletActionsEip3074,
|
21
|
-
walletActionsEip3074,
|
22
|
-
} from './eip3074/decorators/eip3074.js'
|
23
|
-
export {
|
24
|
-
type GetInvokerErrorType,
|
25
|
-
type GetInvokerParameters,
|
26
|
-
type Invoker,
|
27
|
-
type InvokerArgs,
|
28
|
-
type InvokerExecuteErrorType,
|
29
|
-
type InvokerExecuteParameters,
|
30
|
-
type InvokerSignErrorType,
|
31
|
-
type InvokerSignParameters,
|
32
|
-
getInvoker,
|
33
|
-
} from './eip3074/invokers/getInvoker.js'
|
34
|
-
export {
|
35
|
-
type BatchInvokerArgs,
|
36
|
-
batchInvokerCoder,
|
37
|
-
} from './eip3074/invokers/coders/batchInvokerCoder.js'
|
38
|
-
export {
|
39
|
-
type DefineInvokerCoderParameters,
|
40
|
-
type DefineInvokerCoderReturnType,
|
41
|
-
type InvokerCoder,
|
42
|
-
defineInvokerCoder,
|
43
|
-
} from './eip3074/invokers/coders/defineInvokerCoder.js'
|
44
|
-
|
45
1
|
export {
|
46
2
|
type GetCapabilitiesParameters,
|
47
3
|
type GetCapabilitiesErrorType,
|
package/package.json
CHANGED
@@ -1,29 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.signAuthMessage = void 0;
|
4
|
-
const getTransactionCount_js_1 = require("../../../actions/public/getTransactionCount.js");
|
5
|
-
const account_js_1 = require("../../../errors/account.js");
|
6
|
-
const getAction_js_1 = require("../../../utils/getAction.js");
|
7
|
-
async function signAuthMessage(client, parameters) {
|
8
|
-
const { account = client.account, chain = client.chain, commit, invokerAddress, } = parameters;
|
9
|
-
if (!account)
|
10
|
-
throw new account_js_1.AccountNotFoundError({
|
11
|
-
docsPath: '/experimental/eip5792/signAuthMessage',
|
12
|
-
});
|
13
|
-
const nonce = await (() => {
|
14
|
-
if (typeof parameters.nonce === 'number')
|
15
|
-
return parameters.nonce;
|
16
|
-
return (0, getAction_js_1.getAction)(client, getTransactionCount_js_1.getTransactionCount, 'getTransactionCount')({
|
17
|
-
address: account.address,
|
18
|
-
blockTag: 'pending',
|
19
|
-
});
|
20
|
-
})();
|
21
|
-
return account.experimental_signAuthMessage({
|
22
|
-
chainId: chain.id,
|
23
|
-
commit,
|
24
|
-
invokerAddress,
|
25
|
-
nonce,
|
26
|
-
});
|
27
|
-
}
|
28
|
-
exports.signAuthMessage = signAuthMessage;
|
29
|
-
//# sourceMappingURL=signAuthMessage.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"signAuthMessage.js","sourceRoot":"","sources":["../../../../experimental/eip3074/actions/signAuthMessage.ts"],"names":[],"mappings":";;;AACA,2FAAoF;AAGpF,2DAAiE;AAUjE,8DAAuD;AA4FhD,KAAK,UAAU,eAAe,CAMnC,MAAyC,EACzC,UAKC;IAED,MAAM,EACJ,OAAO,GAAG,MAAM,CAAC,OAAO,EACxB,KAAK,GAAG,MAAM,CAAC,KAAK,EACpB,MAAM,EACN,cAAc,GACf,GAAG,UAAU,CAAA;IAEd,IAAI,CAAC,OAAO;QACV,MAAM,IAAI,iCAAoB,CAAC;YAC7B,QAAQ,EAAE,uCAAuC;SAClD,CAAC,CAAA;IAEJ,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,EAAE;QACxB,IAAI,OAAO,UAAU,CAAC,KAAK,KAAK,QAAQ;YAAE,OAAO,UAAU,CAAC,KAAK,CAAA;QACjE,OAAO,IAAA,wBAAS,EACd,MAAM,EACN,4CAAmB,EACnB,qBAAqB,CACtB,CAAC;YACA,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,QAAQ,EAAE,SAAS;SACpB,CAAC,CAAA;IACJ,CAAC,CAAC,EAAE,CAAA;IAEJ,OAAO,OAAO,CAAC,4BAA6B,CAAC;QAC3C,OAAO,EAAE,KAAM,CAAC,EAAE;QAClB,MAAM;QACN,cAAc;QACd,KAAK;KACN,CAAC,CAAA;AACJ,CAAC;AA5CD,0CA4CC"}
|
@@ -1,123 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.invokerAbi = void 0;
|
4
|
-
exports.invokerAbi = [
|
5
|
-
{
|
6
|
-
type: 'function',
|
7
|
-
name: 'execute',
|
8
|
-
inputs: [
|
9
|
-
{
|
10
|
-
name: 'execData',
|
11
|
-
type: 'bytes',
|
12
|
-
internalType: 'bytes',
|
13
|
-
},
|
14
|
-
{
|
15
|
-
name: 'signature',
|
16
|
-
type: 'tuple',
|
17
|
-
internalType: 'struct Auth.Signature',
|
18
|
-
components: [
|
19
|
-
{
|
20
|
-
name: 'signer',
|
21
|
-
type: 'address',
|
22
|
-
internalType: 'address',
|
23
|
-
},
|
24
|
-
{
|
25
|
-
name: 'yParity',
|
26
|
-
type: 'uint8',
|
27
|
-
internalType: 'uint8',
|
28
|
-
},
|
29
|
-
{
|
30
|
-
name: 'r',
|
31
|
-
type: 'bytes32',
|
32
|
-
internalType: 'bytes32',
|
33
|
-
},
|
34
|
-
{
|
35
|
-
name: 's',
|
36
|
-
type: 'bytes32',
|
37
|
-
internalType: 'bytes32',
|
38
|
-
},
|
39
|
-
],
|
40
|
-
},
|
41
|
-
],
|
42
|
-
outputs: [],
|
43
|
-
stateMutability: 'nonpayable',
|
44
|
-
},
|
45
|
-
{
|
46
|
-
type: 'function',
|
47
|
-
name: 'getDigest',
|
48
|
-
inputs: [
|
49
|
-
{
|
50
|
-
name: 'execData',
|
51
|
-
type: 'bytes',
|
52
|
-
internalType: 'bytes',
|
53
|
-
},
|
54
|
-
{
|
55
|
-
name: 'nonce',
|
56
|
-
type: 'uint256',
|
57
|
-
internalType: 'uint256',
|
58
|
-
},
|
59
|
-
],
|
60
|
-
outputs: [
|
61
|
-
{
|
62
|
-
name: 'digest',
|
63
|
-
type: 'bytes32',
|
64
|
-
internalType: 'bytes32',
|
65
|
-
},
|
66
|
-
],
|
67
|
-
stateMutability: 'view',
|
68
|
-
},
|
69
|
-
{
|
70
|
-
type: 'function',
|
71
|
-
name: 'multiSend',
|
72
|
-
inputs: [
|
73
|
-
{
|
74
|
-
name: 'transactions',
|
75
|
-
type: 'bytes',
|
76
|
-
internalType: 'bytes',
|
77
|
-
},
|
78
|
-
],
|
79
|
-
outputs: [],
|
80
|
-
stateMutability: 'payable',
|
81
|
-
},
|
82
|
-
{
|
83
|
-
type: 'function',
|
84
|
-
name: 'nextNonce',
|
85
|
-
inputs: [
|
86
|
-
{
|
87
|
-
name: '',
|
88
|
-
type: 'address',
|
89
|
-
internalType: 'address',
|
90
|
-
},
|
91
|
-
],
|
92
|
-
outputs: [
|
93
|
-
{
|
94
|
-
name: '',
|
95
|
-
type: 'uint256',
|
96
|
-
internalType: 'uint256',
|
97
|
-
},
|
98
|
-
],
|
99
|
-
stateMutability: 'view',
|
100
|
-
},
|
101
|
-
{
|
102
|
-
type: 'error',
|
103
|
-
name: 'BadAuth',
|
104
|
-
inputs: [],
|
105
|
-
},
|
106
|
-
{
|
107
|
-
type: 'error',
|
108
|
-
name: 'InvalidNonce',
|
109
|
-
inputs: [
|
110
|
-
{
|
111
|
-
name: 'authority',
|
112
|
-
type: 'address',
|
113
|
-
internalType: 'address',
|
114
|
-
},
|
115
|
-
{
|
116
|
-
name: 'attempted',
|
117
|
-
type: 'uint256',
|
118
|
-
internalType: 'uint256',
|
119
|
-
},
|
120
|
-
],
|
121
|
-
},
|
122
|
-
];
|
123
|
-
//# sourceMappingURL=abis.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"abis.js","sourceRoot":"","sources":["../../../../experimental/eip3074/constants/abis.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,OAAO;gBACb,YAAY,EAAE,OAAO;aACtB;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,OAAO;gBACb,YAAY,EAAE,uBAAuB;gBACrC,UAAU,EAAE;oBACV;wBACE,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBACxB;oBACD;wBACE,IAAI,EAAE,SAAS;wBACf,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACtB;oBACD;wBACE,IAAI,EAAE,GAAG;wBACT,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBACxB;oBACD;wBACE,IAAI,EAAE,GAAG;wBACT,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBACxB;iBACF;aACF;SACF;QACD,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;KAC9B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,OAAO;gBACb,YAAY,EAAE,OAAO;aACtB;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aACxB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aACxB;SACF;QACD,eAAe,EAAE,MAAM;KACxB;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,OAAO;gBACb,YAAY,EAAE,OAAO;aACtB;SACF;QACD,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,SAAS;KAC3B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aACxB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aACxB;SACF;QACD,eAAe,EAAE,MAAM;KACxB;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,EAAE;KACX;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aACxB;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aACxB;SACF;KACF;CACO,CAAA"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.walletActionsEip3074 = void 0;
|
4
|
-
const signAuthMessage_js_1 = require("../actions/signAuthMessage.js");
|
5
|
-
function walletActionsEip3074() {
|
6
|
-
return (client) => {
|
7
|
-
return {
|
8
|
-
signAuthMessage: (parameters) => (0, signAuthMessage_js_1.signAuthMessage)(client, parameters),
|
9
|
-
};
|
10
|
-
};
|
11
|
-
}
|
12
|
-
exports.walletActionsEip3074 = walletActionsEip3074;
|
13
|
-
//# sourceMappingURL=eip3074.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"eip3074.js","sourceRoot":"","sources":["../../../../experimental/eip3074/decorators/eip3074.ts"],"names":[],"mappings":";;;AAIA,sEAIsC;AAoCtC,SAAgB,oBAAoB;IAClC,OAAO,CAKL,MAAyC,EACH,EAAE;QACxC,OAAO;YACL,eAAe,EAAE,CAAC,UAAU,EAAE,EAAE,CAC9B,IAAA,oCAAe,EAAC,MAAa,EAAE,UAAU,CAAC;SAC7C,CAAA;IACH,CAAC,CAAA;AACH,CAAC;AAbD,oDAaC"}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.batchInvokerCoder = void 0;
|
4
|
-
const readContract_js_1 = require("../../../../actions/public/readContract.js");
|
5
|
-
const encodeAbiParameters_js_1 = require("../../../../utils/abi/encodeAbiParameters.js");
|
6
|
-
const encodePacked_js_1 = require("../../../../utils/abi/encodePacked.js");
|
7
|
-
const concat_js_1 = require("../../../../utils/data/concat.js");
|
8
|
-
const size_js_1 = require("../../../../utils/data/size.js");
|
9
|
-
const abis_js_1 = require("../../constants/abis.js");
|
10
|
-
const defineInvokerCoder_js_1 = require("./defineInvokerCoder.js");
|
11
|
-
function batchInvokerCoder() {
|
12
|
-
return (0, defineInvokerCoder_js_1.defineInvokerCoder)({
|
13
|
-
async toExecData(args, { authority, client, invokerAddress }) {
|
14
|
-
const nonce = await (0, readContract_js_1.readContract)(client, {
|
15
|
-
abi: abis_js_1.invokerAbi,
|
16
|
-
address: invokerAddress,
|
17
|
-
functionName: 'nextNonce',
|
18
|
-
args: [authority],
|
19
|
-
});
|
20
|
-
const calls = (0, concat_js_1.concat)(args.map(({ data = '0x', to, value = 0n }) => (0, encodePacked_js_1.encodePacked)(['uint8', 'address', 'uint256', 'uint256', 'bytes'], [2, to, value, BigInt((0, size_js_1.size)(data)), data])));
|
21
|
-
return (0, encodeAbiParameters_js_1.encodeAbiParameters)([{ type: 'uint256' }, { type: 'bytes' }], [nonce, calls]);
|
22
|
-
},
|
23
|
-
});
|
24
|
-
}
|
25
|
-
exports.batchInvokerCoder = batchInvokerCoder;
|
26
|
-
//# sourceMappingURL=batchInvokerCoder.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"batchInvokerCoder.js","sourceRoot":"","sources":["../../../../../experimental/eip3074/invokers/coders/batchInvokerCoder.ts"],"names":[],"mappings":";;;AACA,gFAAyE;AAEzE,yFAAkF;AAClF,2EAAoE;AACpE,gEAAyD;AACzD,4DAAqD;AACrD,qDAAoD;AACpD,mEAA4D;AAU5D,SAAgB,iBAAiB;IAC/B,OAAO,IAAA,0CAAkB,EAAC;QACxB,KAAK,CAAC,UAAU,CACd,IAAsB,EACtB,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE;YAErC,MAAM,KAAK,GAAG,MAAM,IAAA,8BAAY,EAAC,MAAM,EAAE;gBACvC,GAAG,EAAE,oBAAU;gBACf,OAAO,EAAE,cAAc;gBACvB,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,CAAC,SAAS,CAAC;aAClB,CAAC,CAAA;YAEF,MAAM,KAAK,GAAG,IAAA,kBAAM,EAClB,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE,EAAE,CAC3C,IAAA,8BAAY,EACV,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EACnD,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,IAAA,cAAI,EAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CACzC,CACF,CACF,CAAA;YACD,OAAO,IAAA,4CAAmB,EACxB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EACxC,CAAC,KAAK,EAAE,KAAK,CAAC,CACf,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AA3BD,8CA2BC"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.defineInvokerCoder = void 0;
|
4
|
-
function defineInvokerCoder(parameters) {
|
5
|
-
return parameters;
|
6
|
-
}
|
7
|
-
exports.defineInvokerCoder = defineInvokerCoder;
|
8
|
-
//# sourceMappingURL=defineInvokerCoder.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defineInvokerCoder.js","sourceRoot":"","sources":["../../../../../experimental/eip3074/invokers/coders/defineInvokerCoder.ts"],"names":[],"mappings":";;;AAeA,SAAgB,kBAAkB,CAChC,UAA8C;IAE9C,OAAO,UAAU,CAAA;AACnB,CAAC;AAJD,gDAIC"}
|