viem 0.0.0-main.20230809T052605 → 0.0.0-main.20230809T145104
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/chains/utils/package.json +5 -0
- package/dist/cjs/chains/utils.js +11 -0
- package/dist/cjs/chains/utils.js.map +1 -0
- package/dist/cjs/errors/node.js +1 -1
- package/dist/cjs/errors/node.js.map +1 -1
- package/dist/cjs/errors/version.js +1 -1
- package/dist/esm/chains/utils.js +4 -0
- package/dist/esm/chains/utils.js.map +1 -0
- package/dist/esm/errors/node.js +1 -1
- package/dist/esm/errors/node.js.map +1 -1
- package/dist/esm/errors/version.js +1 -1
- package/dist/types/chains/index.d.ts +92 -92
- package/dist/types/chains/utils.d.ts +6 -0
- package/dist/types/chains/utils.d.ts.map +1 -0
- package/dist/types/errors/node.d.ts.map +1 -1
- package/dist/types/errors/version.d.ts +1 -1
- package/package.json +6 -12
- package/src/chains/{celo/index.ts → utils.ts} +19 -7
- package/src/errors/node.ts +2 -1
- package/src/errors/version.ts +1 -1
- package/chains/celo/package.json +0 -5
- package/chains/optimism/package.json +0 -5
- package/dist/cjs/chains/celo/index.js +0 -13
- package/dist/cjs/chains/celo/index.js.map +0 -1
- package/dist/cjs/chains/optimism/index.js +0 -13
- package/dist/cjs/chains/optimism/index.js.map +0 -1
- package/dist/esm/chains/celo/index.js +0 -4
- package/dist/esm/chains/celo/index.js.map +0 -1
- package/dist/esm/chains/optimism/index.js +0 -3
- package/dist/esm/chains/optimism/index.js.map +0 -1
- package/dist/types/chains/celo/index.d.ts +0 -5
- package/dist/types/chains/celo/index.d.ts.map +0 -1
- package/dist/types/chains/optimism/index.d.ts +0 -4
- package/dist/types/chains/optimism/index.d.ts.map +0 -1
- package/src/chains/optimism/index.ts +0 -25
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.formattersOptimism = exports.serializersCelo = exports.serializeTransactionCelo = exports.formattersCelo = void 0;
|
4
|
+
var formatters_js_1 = require("./celo/formatters.js");
|
5
|
+
Object.defineProperty(exports, "formattersCelo", { enumerable: true, get: function () { return formatters_js_1.formattersCelo; } });
|
6
|
+
var serializers_js_1 = require("./celo/serializers.js");
|
7
|
+
Object.defineProperty(exports, "serializeTransactionCelo", { enumerable: true, get: function () { return serializers_js_1.serializeTransactionCelo; } });
|
8
|
+
Object.defineProperty(exports, "serializersCelo", { enumerable: true, get: function () { return serializers_js_1.serializersCelo; } });
|
9
|
+
var formatters_js_2 = require("./optimism/formatters.js");
|
10
|
+
Object.defineProperty(exports, "formattersOptimism", { enumerable: true, get: function () { return formatters_js_2.formattersOptimism; } });
|
11
|
+
//# sourceMappingURL=utils.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/chains/utils.ts"],"names":[],"mappings":";;;AAAA,sDAAqD;AAA5C,+GAAA,cAAc,OAAA;AACvB,wDAK8B;AAF5B,0HAAA,wBAAwB,OAAA;AACxB,iHAAA,eAAe,OAAA;AAqBjB,0DAA6D;AAApD,mHAAA,kBAAkB,OAAA"}
|
package/dist/cjs/errors/node.js
CHANGED
@@ -108,7 +108,7 @@ Object.defineProperty(NonceTooLowError, "nodeMessage", {
|
|
108
108
|
enumerable: true,
|
109
109
|
configurable: true,
|
110
110
|
writable: true,
|
111
|
-
value: /nonce too low|transaction already imported/
|
111
|
+
value: /nonce too low|transaction already imported|already known/
|
112
112
|
});
|
113
113
|
exports.NonceTooLowError = NonceTooLowError;
|
114
114
|
class NonceMaxValueError extends base_js_1.BaseError {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/errors/node.ts"],"names":[],"mappings":";;;AAAA,+DAAwD;AAExD,uCAAqC;AAYrC,MAAa,sBAAuB,SAAQ,mBAAS;IAMnD,YAAY,EACV,KAAK,EACL,OAAO,MACoC,EAAE;QAC7C,MAA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M;;;;WAAc,4BAA4B;EAA/B,CAA+B;AADtC,4EAAgC;AAU7C,MAAa,mBAAoB,SAAQ,mBAAS;IAIhD,YAAY,EACV,KAAK,EACL,oBAAoB,EACpB,YAAY,MAKV,EAAE;QACJ,KAAK,CACH;YACE,6CACE,oBAAoB;gBAClB,CAAC,CAAC,MAAM,IAAA,0BAAU,EAAC,oBAAoB,CAAC,OAAO;gBAC/C,CAAC,CAAC,EACN,wDACE,YAAY,CAAC,CAAC,CAAC,MAAM,IAAA,0BAAU,EAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EACzD,IAAI;SACL,CAAC,IAAI,CAAC,IAAI,CAAC,EACZ;YACE,KAAK;SACN,CACF,CAAA;QAvBM;;;;mBAAO,qBAAqB;WAAA;IAwBrC,CAAC;;AA1BM;;;;WACL,8EAA8E;EAD9D,CAC8D;AAFrE,kDAAmB;AA8BhC,MAAa,gBAAiB,SAAQ,mBAAS;IAG7C,YAAY,EAAE,KAAK,EAAyB;QAC1C,KAAK,CAAC,sCAAsC,KAAK,EAAE,OAAO,EAAE,EAAE;YAC5D,KAAK;SACN,CAAC,CAAA;QALK;;;;mBAAO,kBAAkB;WAAA;IAMlC,CAAC;CACF;AARD,4CAQC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/chains/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAGL,wBAAwB,EACxB,eAAe,GAChB,MAAM,uBAAuB,CAAA;AAoB9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA"}
|
package/dist/esm/errors/node.js
CHANGED
@@ -114,7 +114,7 @@ Object.defineProperty(NonceTooLowError, "nodeMessage", {
|
|
114
114
|
enumerable: true,
|
115
115
|
configurable: true,
|
116
116
|
writable: true,
|
117
|
-
value: /nonce too low|transaction already imported/
|
117
|
+
value: /nonce too low|transaction already imported|already known/
|
118
118
|
});
|
119
119
|
export { NonceTooLowError };
|
120
120
|
class NonceMaxValueError extends BaseError {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/errors/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC;;;;;;;;GAQG;AAEH,MAAa,sBAAuB,SAAQ,SAAS;IAMnD,YAAY,EACV,KAAK,EACL,OAAO,MACoC,EAAE;QAC7C,MAAM,MAAM,GAAG,OAAO;YACpB,EAAE,OAAO,CAAC,sBAAsB,EAAE,EAAE,CAAC;YACrC,EAAE,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAA;QACrC,KAAK,CACH,sBACE,MAAM,CAAC,CAAC,CAAC,gBAAgB,MAAM,EAAE,CAAC,CAAC,CAAC,uBACtC,GAAG,EACH;YACE,KAAK;SACN,CACF,CAAA;QAhBM;;;;mBAAO,wBAAwB;WAAA;IAiBxC,CAAC;;AApBM;;;;WAAO,CAAC;EAAJ,CAAI;AACR;;;;WAAc,oBAAoB;EAAvB,CAAuB;SAF9B,sBAAsB;AAwBnC,MAAa,kBAAmB,SAAQ,SAAS;IAI/C,YAAY,EACV,KAAK,EACL,YAAY,MACoC,EAAE;QAClD,KAAK,CACH,gCACE,YAAY,CAAC,CAAC,CAAC,MAAM,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EACzD,8DAA8D,EAC9D;YACE,KAAK;SACN,CACF,CAAA;QAZM;;;;mBAAO,eAAe;WAAA;IAa/B,CAAC;;AAfM;;;;WACL,mEAAmE;EADnD,CACmD;SAF1D,kBAAkB;AAmB/B,MAAa,iBAAkB,SAAQ,SAAS;IAI9C,YAAY,EACV,KAAK,EACL,YAAY,MACoC,EAAE;QAClD,KAAK,CACH,gCACE,YAAY,CAAC,CAAC,CAAC,MAAM,UA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main.20230809T145104';
|
2
2
|
//# sourceMappingURL=version.js.map
|
@@ -554,8 +554,8 @@ export declare const celo: {
|
|
554
554
|
formatters: {
|
555
555
|
readonly block: {
|
556
556
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
557
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
558
|
-
transactions: `0x${string}`[] | import("./
|
557
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").CeloBlockOverrides & {
|
558
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloRpcTransaction[];
|
559
559
|
}>) => {
|
560
560
|
baseFeePerGas: bigint | null;
|
561
561
|
difficulty: bigint;
|
@@ -576,7 +576,7 @@ export declare const celo: {
|
|
576
576
|
stateRoot: `0x${string}`;
|
577
577
|
timestamp: bigint;
|
578
578
|
totalDifficulty: bigint | null;
|
579
|
-
transactions: `0x${string}`[] | import("./
|
579
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloTransaction[];
|
580
580
|
transactionsRoot: `0x${string}`;
|
581
581
|
uncles: `0x${string}`[];
|
582
582
|
randomness: {
|
@@ -594,7 +594,7 @@ export declare const celo: {
|
|
594
594
|
};
|
595
595
|
readonly transaction: {
|
596
596
|
exclude: [] | undefined;
|
597
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./
|
597
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
|
598
598
|
blockHash: `0x${string}` | null;
|
599
599
|
blockNumber: bigint | null;
|
600
600
|
from: `0x${string}`;
|
@@ -671,7 +671,7 @@ export declare const celo: {
|
|
671
671
|
};
|
672
672
|
readonly transactionReceipt: {
|
673
673
|
exclude: [] | undefined;
|
674
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
674
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").CeloRpcTransactionReceiptOverrides>) => {
|
675
675
|
blockHash: `0x${string}`;
|
676
676
|
blockNumber: bigint;
|
677
677
|
contractAddress: `0x${string}` | null;
|
@@ -694,7 +694,7 @@ export declare const celo: {
|
|
694
694
|
};
|
695
695
|
readonly transactionRequest: {
|
696
696
|
exclude: [] | undefined;
|
697
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./
|
697
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
|
698
698
|
data?: `0x${string}` | undefined;
|
699
699
|
from: `0x${string}`;
|
700
700
|
gas?: `0x${string}` | undefined;
|
@@ -746,8 +746,8 @@ export declare const celo: {
|
|
746
746
|
serializers: import("../index.js").Serializers<{
|
747
747
|
readonly block: {
|
748
748
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
749
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
750
|
-
transactions: `0x${string}`[] | import("./
|
749
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").CeloBlockOverrides & {
|
750
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloRpcTransaction[];
|
751
751
|
}>) => {
|
752
752
|
baseFeePerGas: bigint | null;
|
753
753
|
difficulty: bigint;
|
@@ -768,7 +768,7 @@ export declare const celo: {
|
|
768
768
|
stateRoot: `0x${string}`;
|
769
769
|
timestamp: bigint;
|
770
770
|
totalDifficulty: bigint | null;
|
771
|
-
transactions: `0x${string}`[] | import("./
|
771
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloTransaction[];
|
772
772
|
transactionsRoot: `0x${string}`;
|
773
773
|
uncles: `0x${string}`[];
|
774
774
|
randomness: {
|
@@ -786,7 +786,7 @@ export declare const celo: {
|
|
786
786
|
};
|
787
787
|
readonly transaction: {
|
788
788
|
exclude: [] | undefined;
|
789
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./
|
789
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
|
790
790
|
blockHash: `0x${string}` | null;
|
791
791
|
blockNumber: bigint | null;
|
792
792
|
from: `0x${string}`;
|
@@ -863,7 +863,7 @@ export declare const celo: {
|
|
863
863
|
};
|
864
864
|
readonly transactionReceipt: {
|
865
865
|
exclude: [] | undefined;
|
866
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
866
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").CeloRpcTransactionReceiptOverrides>) => {
|
867
867
|
blockHash: `0x${string}`;
|
868
868
|
blockNumber: bigint;
|
869
869
|
contractAddress: `0x${string}` | null;
|
@@ -886,7 +886,7 @@ export declare const celo: {
|
|
886
886
|
};
|
887
887
|
readonly transactionRequest: {
|
888
888
|
exclude: [] | undefined;
|
889
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./
|
889
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
|
890
890
|
data?: `0x${string}` | undefined;
|
891
891
|
from: `0x${string}`;
|
892
892
|
gas?: `0x${string}` | undefined;
|
@@ -977,8 +977,8 @@ export declare const celoAlfajores: {
|
|
977
977
|
formatters: {
|
978
978
|
readonly block: {
|
979
979
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
980
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
981
|
-
transactions: `0x${string}`[] | import("./
|
980
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").CeloBlockOverrides & {
|
981
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloRpcTransaction[];
|
982
982
|
}>) => {
|
983
983
|
baseFeePerGas: bigint | null;
|
984
984
|
difficulty: bigint;
|
@@ -999,7 +999,7 @@ export declare const celoAlfajores: {
|
|
999
999
|
stateRoot: `0x${string}`;
|
1000
1000
|
timestamp: bigint;
|
1001
1001
|
totalDifficulty: bigint | null;
|
1002
|
-
transactions: `0x${string}`[] | import("./
|
1002
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloTransaction[];
|
1003
1003
|
transactionsRoot: `0x${string}`;
|
1004
1004
|
uncles: `0x${string}`[];
|
1005
1005
|
randomness: {
|
@@ -1017,7 +1017,7 @@ export declare const celoAlfajores: {
|
|
1017
1017
|
};
|
1018
1018
|
readonly transaction: {
|
1019
1019
|
exclude: [] | undefined;
|
1020
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./
|
1020
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
|
1021
1021
|
blockHash: `0x${string}` | null;
|
1022
1022
|
blockNumber: bigint | null;
|
1023
1023
|
from: `0x${string}`;
|
@@ -1094,7 +1094,7 @@ export declare const celoAlfajores: {
|
|
1094
1094
|
};
|
1095
1095
|
readonly transactionReceipt: {
|
1096
1096
|
exclude: [] | undefined;
|
1097
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
1097
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").CeloRpcTransactionReceiptOverrides>) => {
|
1098
1098
|
blockHash: `0x${string}`;
|
1099
1099
|
blockNumber: bigint;
|
1100
1100
|
contractAddress: `0x${string}` | null;
|
@@ -1117,7 +1117,7 @@ export declare const celoAlfajores: {
|
|
1117
1117
|
};
|
1118
1118
|
readonly transactionRequest: {
|
1119
1119
|
exclude: [] | undefined;
|
1120
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./
|
1120
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
|
1121
1121
|
data?: `0x${string}` | undefined;
|
1122
1122
|
from: `0x${string}`;
|
1123
1123
|
gas?: `0x${string}` | undefined;
|
@@ -1169,8 +1169,8 @@ export declare const celoAlfajores: {
|
|
1169
1169
|
serializers: import("../index.js").Serializers<{
|
1170
1170
|
readonly block: {
|
1171
1171
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
1172
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
1173
|
-
transactions: `0x${string}`[] | import("./
|
1172
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").CeloBlockOverrides & {
|
1173
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloRpcTransaction[];
|
1174
1174
|
}>) => {
|
1175
1175
|
baseFeePerGas: bigint | null;
|
1176
1176
|
difficulty: bigint;
|
@@ -1191,7 +1191,7 @@ export declare const celoAlfajores: {
|
|
1191
1191
|
stateRoot: `0x${string}`;
|
1192
1192
|
timestamp: bigint;
|
1193
1193
|
totalDifficulty: bigint | null;
|
1194
|
-
transactions: `0x${string}`[] | import("./
|
1194
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloTransaction[];
|
1195
1195
|
transactionsRoot: `0x${string}`;
|
1196
1196
|
uncles: `0x${string}`[];
|
1197
1197
|
randomness: {
|
@@ -1209,7 +1209,7 @@ export declare const celoAlfajores: {
|
|
1209
1209
|
};
|
1210
1210
|
readonly transaction: {
|
1211
1211
|
exclude: [] | undefined;
|
1212
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./
|
1212
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
|
1213
1213
|
blockHash: `0x${string}` | null;
|
1214
1214
|
blockNumber: bigint | null;
|
1215
1215
|
from: `0x${string}`;
|
@@ -1286,7 +1286,7 @@ export declare const celoAlfajores: {
|
|
1286
1286
|
};
|
1287
1287
|
readonly transactionReceipt: {
|
1288
1288
|
exclude: [] | undefined;
|
1289
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
1289
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").CeloRpcTransactionReceiptOverrides>) => {
|
1290
1290
|
blockHash: `0x${string}`;
|
1291
1291
|
blockNumber: bigint;
|
1292
1292
|
contractAddress: `0x${string}` | null;
|
@@ -1309,7 +1309,7 @@ export declare const celoAlfajores: {
|
|
1309
1309
|
};
|
1310
1310
|
readonly transactionRequest: {
|
1311
1311
|
exclude: [] | undefined;
|
1312
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./
|
1312
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
|
1313
1313
|
data?: `0x${string}` | undefined;
|
1314
1314
|
from: `0x${string}`;
|
1315
1315
|
gas?: `0x${string}` | undefined;
|
@@ -1393,8 +1393,8 @@ export declare const celoCannoli: {
|
|
1393
1393
|
formatters: {
|
1394
1394
|
readonly block: {
|
1395
1395
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
1396
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
1397
|
-
transactions: `0x${string}`[] | import("./
|
1396
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").CeloBlockOverrides & {
|
1397
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloRpcTransaction[];
|
1398
1398
|
}>) => {
|
1399
1399
|
baseFeePerGas: bigint | null;
|
1400
1400
|
difficulty: bigint;
|
@@ -1415,7 +1415,7 @@ export declare const celoCannoli: {
|
|
1415
1415
|
stateRoot: `0x${string}`;
|
1416
1416
|
timestamp: bigint;
|
1417
1417
|
totalDifficulty: bigint | null;
|
1418
|
-
transactions: `0x${string}`[] | import("./
|
1418
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloTransaction[];
|
1419
1419
|
transactionsRoot: `0x${string}`;
|
1420
1420
|
uncles: `0x${string}`[];
|
1421
1421
|
randomness: {
|
@@ -1433,7 +1433,7 @@ export declare const celoCannoli: {
|
|
1433
1433
|
};
|
1434
1434
|
readonly transaction: {
|
1435
1435
|
exclude: [] | undefined;
|
1436
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./
|
1436
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
|
1437
1437
|
blockHash: `0x${string}` | null;
|
1438
1438
|
blockNumber: bigint | null;
|
1439
1439
|
from: `0x${string}`;
|
@@ -1510,7 +1510,7 @@ export declare const celoCannoli: {
|
|
1510
1510
|
};
|
1511
1511
|
readonly transactionReceipt: {
|
1512
1512
|
exclude: [] | undefined;
|
1513
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
1513
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").CeloRpcTransactionReceiptOverrides>) => {
|
1514
1514
|
blockHash: `0x${string}`;
|
1515
1515
|
blockNumber: bigint;
|
1516
1516
|
contractAddress: `0x${string}` | null;
|
@@ -1533,7 +1533,7 @@ export declare const celoCannoli: {
|
|
1533
1533
|
};
|
1534
1534
|
readonly transactionRequest: {
|
1535
1535
|
exclude: [] | undefined;
|
1536
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./
|
1536
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
|
1537
1537
|
data?: `0x${string}` | undefined;
|
1538
1538
|
from: `0x${string}`;
|
1539
1539
|
gas?: `0x${string}` | undefined;
|
@@ -1585,8 +1585,8 @@ export declare const celoCannoli: {
|
|
1585
1585
|
serializers: import("../index.js").Serializers<{
|
1586
1586
|
readonly block: {
|
1587
1587
|
exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
|
1588
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
1589
|
-
transactions: `0x${string}`[] | import("./
|
1588
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").CeloBlockOverrides & {
|
1589
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloRpcTransaction[];
|
1590
1590
|
}>) => {
|
1591
1591
|
baseFeePerGas: bigint | null;
|
1592
1592
|
difficulty: bigint;
|
@@ -1607,7 +1607,7 @@ export declare const celoCannoli: {
|
|
1607
1607
|
stateRoot: `0x${string}`;
|
1608
1608
|
timestamp: bigint;
|
1609
1609
|
totalDifficulty: bigint | null;
|
1610
|
-
transactions: `0x${string}`[] | import("./
|
1610
|
+
transactions: `0x${string}`[] | import("./utils.js").CeloTransaction[];
|
1611
1611
|
transactionsRoot: `0x${string}`;
|
1612
1612
|
uncles: `0x${string}`[];
|
1613
1613
|
randomness: {
|
@@ -1625,7 +1625,7 @@ export declare const celoCannoli: {
|
|
1625
1625
|
};
|
1626
1626
|
readonly transaction: {
|
1627
1627
|
exclude: [] | undefined;
|
1628
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./
|
1628
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
|
1629
1629
|
blockHash: `0x${string}` | null;
|
1630
1630
|
blockNumber: bigint | null;
|
1631
1631
|
from: `0x${string}`;
|
@@ -1702,7 +1702,7 @@ export declare const celoCannoli: {
|
|
1702
1702
|
};
|
1703
1703
|
readonly transactionReceipt: {
|
1704
1704
|
exclude: [] | undefined;
|
1705
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
1705
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").CeloRpcTransactionReceiptOverrides>) => {
|
1706
1706
|
blockHash: `0x${string}`;
|
1707
1707
|
blockNumber: bigint;
|
1708
1708
|
contractAddress: `0x${string}` | null;
|
@@ -1725,7 +1725,7 @@ export declare const celoCannoli: {
|
|
1725
1725
|
};
|
1726
1726
|
readonly transactionRequest: {
|
1727
1727
|
exclude: [] | undefined;
|
1728
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./
|
1728
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
|
1729
1729
|
data?: `0x${string}` | undefined;
|
1730
1730
|
from: `0x${string}`;
|
1731
1731
|
gas?: `0x${string}` | undefined;
|
@@ -2925,8 +2925,8 @@ export declare const optimism: {
|
|
2925
2925
|
formatters: {
|
2926
2926
|
readonly block: {
|
2927
2927
|
exclude: [] | undefined;
|
2928
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
2929
|
-
transactions: `0x${string}`[] | import("./
|
2928
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").OptimismRpcBlockOverrides & {
|
2929
|
+
transactions: `0x${string}`[] | import("./utils.js").OptimismRpcTransaction[];
|
2930
2930
|
}>) => {
|
2931
2931
|
baseFeePerGas: bigint | null;
|
2932
2932
|
difficulty: bigint;
|
@@ -2947,7 +2947,7 @@ export declare const optimism: {
|
|
2947
2947
|
stateRoot: `0x${string}`;
|
2948
2948
|
timestamp: bigint;
|
2949
2949
|
totalDifficulty: bigint | null;
|
2950
|
-
transactions: `0x${string}`[] | import("./
|
2950
|
+
transactions: `0x${string}`[] | import("./utils.js").OptimismTransaction[];
|
2951
2951
|
transactionsRoot: `0x${string}`;
|
2952
2952
|
uncles: `0x${string}`[];
|
2953
2953
|
} & {};
|
@@ -2955,45 +2955,45 @@ export declare const optimism: {
|
|
2955
2955
|
};
|
2956
2956
|
readonly transaction: {
|
2957
2957
|
exclude: [] | undefined;
|
2958
|
-
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./
|
2958
|
+
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
2959
2959
|
isSystemTx?: undefined;
|
2960
2960
|
mint?: undefined;
|
2961
2961
|
sourceHash?: undefined;
|
2962
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./
|
2962
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
2963
2963
|
isSystemTx?: boolean | undefined;
|
2964
2964
|
mint?: `0x${string}` | undefined;
|
2965
2965
|
sourceHash: `0x${string}`;
|
2966
2966
|
type: "0x7e";
|
2967
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
2967
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
2968
2968
|
isSystemTx?: undefined;
|
2969
2969
|
mint?: undefined;
|
2970
2970
|
sourceHash?: undefined;
|
2971
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
2971
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
2972
2972
|
isSystemTx?: undefined;
|
2973
2973
|
mint?: undefined;
|
2974
2974
|
sourceHash?: undefined;
|
2975
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
2975
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
2976
2976
|
isSystemTx?: undefined;
|
2977
2977
|
mint?: undefined;
|
2978
2978
|
sourceHash?: undefined;
|
2979
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
2979
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
2980
2980
|
isSystemTx?: boolean | undefined;
|
2981
2981
|
mint?: `0x${string}` | undefined;
|
2982
2982
|
sourceHash: `0x${string}`;
|
2983
2983
|
type: "0x7e";
|
2984
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
2984
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
2985
2985
|
isSystemTx?: undefined;
|
2986
2986
|
mint?: undefined;
|
2987
2987
|
sourceHash?: undefined;
|
2988
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
2988
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
2989
2989
|
isSystemTx?: undefined;
|
2990
2990
|
mint?: undefined;
|
2991
2991
|
sourceHash?: undefined;
|
2992
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
2992
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
2993
2993
|
isSystemTx?: undefined;
|
2994
2994
|
mint?: undefined;
|
2995
2995
|
sourceHash?: undefined;
|
2996
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
2996
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
2997
2997
|
isSystemTx?: boolean | undefined;
|
2998
2998
|
mint?: `0x${string}` | undefined;
|
2999
2999
|
sourceHash: `0x${string}`;
|
@@ -3195,7 +3195,7 @@ export declare const optimism: {
|
|
3195
3195
|
};
|
3196
3196
|
readonly transactionReceipt: {
|
3197
3197
|
exclude: [] | undefined;
|
3198
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
3198
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").OptimismRpcTransactionReceiptOverrides>) => {
|
3199
3199
|
blockHash: `0x${string}`;
|
3200
3200
|
blockNumber: bigint;
|
3201
3201
|
contractAddress: `0x${string}` | null;
|
@@ -3221,8 +3221,8 @@ export declare const optimism: {
|
|
3221
3221
|
serializers: import("../index.js").Serializers<{
|
3222
3222
|
readonly block: {
|
3223
3223
|
exclude: [] | undefined;
|
3224
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
3225
|
-
transactions: `0x${string}`[] | import("./
|
3224
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").OptimismRpcBlockOverrides & {
|
3225
|
+
transactions: `0x${string}`[] | import("./utils.js").OptimismRpcTransaction[];
|
3226
3226
|
}>) => {
|
3227
3227
|
baseFeePerGas: bigint | null;
|
3228
3228
|
difficulty: bigint;
|
@@ -3243,7 +3243,7 @@ export declare const optimism: {
|
|
3243
3243
|
stateRoot: `0x${string}`;
|
3244
3244
|
timestamp: bigint;
|
3245
3245
|
totalDifficulty: bigint | null;
|
3246
|
-
transactions: `0x${string}`[] | import("./
|
3246
|
+
transactions: `0x${string}`[] | import("./utils.js").OptimismTransaction[];
|
3247
3247
|
transactionsRoot: `0x${string}`;
|
3248
3248
|
uncles: `0x${string}`[];
|
3249
3249
|
} & {};
|
@@ -3251,45 +3251,45 @@ export declare const optimism: {
|
|
3251
3251
|
};
|
3252
3252
|
readonly transaction: {
|
3253
3253
|
exclude: [] | undefined;
|
3254
|
-
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./
|
3254
|
+
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3255
3255
|
isSystemTx?: undefined;
|
3256
3256
|
mint?: undefined;
|
3257
3257
|
sourceHash?: undefined;
|
3258
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./
|
3258
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3259
3259
|
isSystemTx?: boolean | undefined;
|
3260
3260
|
mint?: `0x${string}` | undefined;
|
3261
3261
|
sourceHash: `0x${string}`;
|
3262
3262
|
type: "0x7e";
|
3263
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3263
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3264
3264
|
isSystemTx?: undefined;
|
3265
3265
|
mint?: undefined;
|
3266
3266
|
sourceHash?: undefined;
|
3267
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3267
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3268
3268
|
isSystemTx?: undefined;
|
3269
3269
|
mint?: undefined;
|
3270
3270
|
sourceHash?: undefined;
|
3271
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3271
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3272
3272
|
isSystemTx?: undefined;
|
3273
3273
|
mint?: undefined;
|
3274
3274
|
sourceHash?: undefined;
|
3275
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3275
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3276
3276
|
isSystemTx?: boolean | undefined;
|
3277
3277
|
mint?: `0x${string}` | undefined;
|
3278
3278
|
sourceHash: `0x${string}`;
|
3279
3279
|
type: "0x7e";
|
3280
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3280
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3281
3281
|
isSystemTx?: undefined;
|
3282
3282
|
mint?: undefined;
|
3283
3283
|
sourceHash?: undefined;
|
3284
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3284
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3285
3285
|
isSystemTx?: undefined;
|
3286
3286
|
mint?: undefined;
|
3287
3287
|
sourceHash?: undefined;
|
3288
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3288
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3289
3289
|
isSystemTx?: undefined;
|
3290
3290
|
mint?: undefined;
|
3291
3291
|
sourceHash?: undefined;
|
3292
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3292
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3293
3293
|
isSystemTx?: boolean | undefined;
|
3294
3294
|
mint?: `0x${string}` | undefined;
|
3295
3295
|
sourceHash: `0x${string}`;
|
@@ -3491,7 +3491,7 @@ export declare const optimism: {
|
|
3491
3491
|
};
|
3492
3492
|
readonly transactionReceipt: {
|
3493
3493
|
exclude: [] | undefined;
|
3494
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
3494
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").OptimismRpcTransactionReceiptOverrides>) => {
|
3495
3495
|
blockHash: `0x${string}`;
|
3496
3496
|
blockNumber: bigint;
|
3497
3497
|
contractAddress: `0x${string}` | null;
|
@@ -3561,8 +3561,8 @@ export declare const optimismGoerli: {
|
|
3561
3561
|
formatters: {
|
3562
3562
|
readonly block: {
|
3563
3563
|
exclude: [] | undefined;
|
3564
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
3565
|
-
transactions: `0x${string}`[] | import("./
|
3564
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").OptimismRpcBlockOverrides & {
|
3565
|
+
transactions: `0x${string}`[] | import("./utils.js").OptimismRpcTransaction[];
|
3566
3566
|
}>) => {
|
3567
3567
|
baseFeePerGas: bigint | null;
|
3568
3568
|
difficulty: bigint;
|
@@ -3583,7 +3583,7 @@ export declare const optimismGoerli: {
|
|
3583
3583
|
stateRoot: `0x${string}`;
|
3584
3584
|
timestamp: bigint;
|
3585
3585
|
totalDifficulty: bigint | null;
|
3586
|
-
transactions: `0x${string}`[] | import("./
|
3586
|
+
transactions: `0x${string}`[] | import("./utils.js").OptimismTransaction[];
|
3587
3587
|
transactionsRoot: `0x${string}`;
|
3588
3588
|
uncles: `0x${string}`[];
|
3589
3589
|
} & {};
|
@@ -3591,45 +3591,45 @@ export declare const optimismGoerli: {
|
|
3591
3591
|
};
|
3592
3592
|
readonly transaction: {
|
3593
3593
|
exclude: [] | undefined;
|
3594
|
-
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./
|
3594
|
+
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3595
3595
|
isSystemTx?: undefined;
|
3596
3596
|
mint?: undefined;
|
3597
3597
|
sourceHash?: undefined;
|
3598
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./
|
3598
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3599
3599
|
isSystemTx?: boolean | undefined;
|
3600
3600
|
mint?: `0x${string}` | undefined;
|
3601
3601
|
sourceHash: `0x${string}`;
|
3602
3602
|
type: "0x7e";
|
3603
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3603
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3604
3604
|
isSystemTx?: undefined;
|
3605
3605
|
mint?: undefined;
|
3606
3606
|
sourceHash?: undefined;
|
3607
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3607
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3608
3608
|
isSystemTx?: undefined;
|
3609
3609
|
mint?: undefined;
|
3610
3610
|
sourceHash?: undefined;
|
3611
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3611
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3612
3612
|
isSystemTx?: undefined;
|
3613
3613
|
mint?: undefined;
|
3614
3614
|
sourceHash?: undefined;
|
3615
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3615
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3616
3616
|
isSystemTx?: boolean | undefined;
|
3617
3617
|
mint?: `0x${string}` | undefined;
|
3618
3618
|
sourceHash: `0x${string}`;
|
3619
3619
|
type: "0x7e";
|
3620
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3620
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3621
3621
|
isSystemTx?: undefined;
|
3622
3622
|
mint?: undefined;
|
3623
3623
|
sourceHash?: undefined;
|
3624
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3624
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3625
3625
|
isSystemTx?: undefined;
|
3626
3626
|
mint?: undefined;
|
3627
3627
|
sourceHash?: undefined;
|
3628
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3628
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3629
3629
|
isSystemTx?: undefined;
|
3630
3630
|
mint?: undefined;
|
3631
3631
|
sourceHash?: undefined;
|
3632
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3632
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3633
3633
|
isSystemTx?: boolean | undefined;
|
3634
3634
|
mint?: `0x${string}` | undefined;
|
3635
3635
|
sourceHash: `0x${string}`;
|
@@ -3831,7 +3831,7 @@ export declare const optimismGoerli: {
|
|
3831
3831
|
};
|
3832
3832
|
readonly transactionReceipt: {
|
3833
3833
|
exclude: [] | undefined;
|
3834
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
3834
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").OptimismRpcTransactionReceiptOverrides>) => {
|
3835
3835
|
blockHash: `0x${string}`;
|
3836
3836
|
blockNumber: bigint;
|
3837
3837
|
contractAddress: `0x${string}` | null;
|
@@ -3857,8 +3857,8 @@ export declare const optimismGoerli: {
|
|
3857
3857
|
serializers: import("../index.js").Serializers<{
|
3858
3858
|
readonly block: {
|
3859
3859
|
exclude: [] | undefined;
|
3860
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./
|
3861
|
-
transactions: `0x${string}`[] | import("./
|
3860
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").OptimismRpcBlockOverrides & {
|
3861
|
+
transactions: `0x${string}`[] | import("./utils.js").OptimismRpcTransaction[];
|
3862
3862
|
}>) => {
|
3863
3863
|
baseFeePerGas: bigint | null;
|
3864
3864
|
difficulty: bigint;
|
@@ -3879,7 +3879,7 @@ export declare const optimismGoerli: {
|
|
3879
3879
|
stateRoot: `0x${string}`;
|
3880
3880
|
timestamp: bigint;
|
3881
3881
|
totalDifficulty: bigint | null;
|
3882
|
-
transactions: `0x${string}`[] | import("./
|
3882
|
+
transactions: `0x${string}`[] | import("./utils.js").OptimismTransaction[];
|
3883
3883
|
transactionsRoot: `0x${string}`;
|
3884
3884
|
uncles: `0x${string}`[];
|
3885
3885
|
} & {};
|
@@ -3887,45 +3887,45 @@ export declare const optimismGoerli: {
|
|
3887
3887
|
};
|
3888
3888
|
readonly transaction: {
|
3889
3889
|
exclude: [] | undefined;
|
3890
|
-
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./
|
3890
|
+
format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3891
3891
|
isSystemTx?: undefined;
|
3892
3892
|
mint?: undefined;
|
3893
3893
|
sourceHash?: undefined;
|
3894
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./
|
3894
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3895
3895
|
isSystemTx?: boolean | undefined;
|
3896
3896
|
mint?: `0x${string}` | undefined;
|
3897
3897
|
sourceHash: `0x${string}`;
|
3898
3898
|
type: "0x7e";
|
3899
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3899
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3900
3900
|
isSystemTx?: undefined;
|
3901
3901
|
mint?: undefined;
|
3902
3902
|
sourceHash?: undefined;
|
3903
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3903
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3904
3904
|
isSystemTx?: undefined;
|
3905
3905
|
mint?: undefined;
|
3906
3906
|
sourceHash?: undefined;
|
3907
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3907
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3908
3908
|
isSystemTx?: undefined;
|
3909
3909
|
mint?: undefined;
|
3910
3910
|
sourceHash?: undefined;
|
3911
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./
|
3911
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3912
3912
|
isSystemTx?: boolean | undefined;
|
3913
3913
|
mint?: `0x${string}` | undefined;
|
3914
3914
|
sourceHash: `0x${string}`;
|
3915
3915
|
type: "0x7e";
|
3916
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3916
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
3917
3917
|
isSystemTx?: undefined;
|
3918
3918
|
mint?: undefined;
|
3919
3919
|
sourceHash?: undefined;
|
3920
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3920
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
3921
3921
|
isSystemTx?: undefined;
|
3922
3922
|
mint?: undefined;
|
3923
3923
|
sourceHash?: undefined;
|
3924
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3924
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
3925
3925
|
isSystemTx?: undefined;
|
3926
3926
|
mint?: undefined;
|
3927
3927
|
sourceHash?: undefined;
|
3928
|
-
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./
|
3928
|
+
}) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").OptimismRpcTransaction> & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
3929
3929
|
isSystemTx?: boolean | undefined;
|
3930
3930
|
mint?: `0x${string}` | undefined;
|
3931
3931
|
sourceHash: `0x${string}`;
|
@@ -4127,7 +4127,7 @@ export declare const optimismGoerli: {
|
|
4127
4127
|
};
|
4128
4128
|
readonly transactionReceipt: {
|
4129
4129
|
exclude: [] | undefined;
|
4130
|
-
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./
|
4130
|
+
format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").OptimismRpcTransactionReceiptOverrides>) => {
|
4131
4131
|
blockHash: `0x${string}`;
|
4132
4132
|
blockNumber: bigint;
|
4133
4133
|
contractAddress: `0x${string}` | null;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { formattersCelo } from './celo/formatters.js';
|
2
|
+
export { type CeloTransactionSerializable, type TransactionSerializableCIP42, serializeTransactionCelo, serializersCelo, } from './celo/serializers.js';
|
3
|
+
export type { CeloBlock, CeloBlockOverrides, CeloRpcBlock, CeloRpcBlockOverrides, CeloRpcTransaction, CeloRpcTransactionOverrides, CeloRpcTransactionReceipt, CeloRpcTransactionReceiptOverrides, CeloRpcTransactionRequest, CeloRpcTransactionRequestOverrides, CeloTransaction, CeloTransactionOverrides, CeloTransactionReceipt, CeloTransactionReceiptOverrides, CeloTransactionRequest, CeloTransactionRequestOverrides, } from './celo/types.js';
|
4
|
+
export { formattersOptimism } from './optimism/formatters.js';
|
5
|
+
export type { OptimismBlock, OptimismBlockOverrides, OptimismDepositTransaction, OptimismRpcBlock, OptimismRpcBlockOverrides, OptimismRpcDepositTransaction, OptimismRpcTransaction, OptimismRpcTransactionReceipt, OptimismRpcTransactionReceiptOverrides, OptimismTransaction, OptimismTransactionReceipt, OptimismTransactionReceiptOverrides, } from './optimism/types.js';
|
6
|
+
//# sourceMappingURL=utils.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/chains/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,wBAAwB,EACxB,eAAe,GAChB,MAAM,uBAAuB,CAAA;AAC9B,YAAY,EACV,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,2BAA2B,EAC3B,yBAAyB,EACzB,kCAAkC,EAClC,yBAAyB,EACzB,kCAAkC,EAClC,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,+BAA+B,EAC/B,sBAAsB,EACtB,+BAA+B,GAChC,MAAM,iBAAiB,CAAA;AAExB,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAC7D,YAAY,EACV,aAAa,EACb,sBAAsB,EACtB,0BAA0B,EAC1B,gBAAgB,EAChB,yBAAyB,EACzB,6BAA6B,EAC7B,sBAAsB,EACtB,6BAA6B,EAC7B,sCAAsC,EACtC,mBAAmB,EACnB,0BAA0B,EAC1B,mCAAmC,GACpC,MAAM,qBAAqB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/errors/node.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC;;;;;;;;GAQG;AAEH,qBAAa,sBAAuB,SAAQ,SAAS;IACnD,MAAM,CAAC,IAAI,SAAI;IACf,MAAM,CAAC,WAAW,SAAuB;IAEhC,IAAI,SAA2B;gBAE5B,EACV,KAAK,EACL,OAAO,GACR,GAAE;QAAE,KAAK,CA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6B;gBAC9B,EAAE,KAAK,EAAE,GAAG,EAAE,GAAE;QAAE,KAAK,CAAC,EAAE,SAAS,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAO;CAUrE;AAED,qBAAa,uBAAwB,SAAQ,SAAS;IACpD,MAAM,CAAC,WAAW,SAA0B;IACnC,IAAI,SAA4B;gBAC7B,EAAE,KAAK,EAAE,GAAG,EAAE,GAAE;QAAE,KAAK,CAAC,EAAE,SAAS,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAO;CAUrE;AAED,qBAAa,gCAAiC,SAAQ,SAAS;IAC7D,MAAM,CAAC,WAAW,SAA+B;IACxC,IAAI,SAAqC;gBACtC,EAAE,KAAK,EAAE,EAAE;QAAE,KAAK,CAAC,EAAE,SAAS,CAAA;KAAE;CAK7C;AAED,qBAAa,mBAAoB,SAAQ,SAAS;IAChD,MAAM,CAAC,WAAW,SAC8D;IACvE,IAAI,SAAwB;gBACzB,EACV,KAAK,EACL,oBAAoB,EACpB,YAAY,GACb,GAAE;QACD,KAAK,CAAC,EAAE,SAAS,CAAA;QACjB,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAC7B,YAAY,CAAC,EAAE,MAAM,CAAA;KACjB;CAgBP;AAED,qBAAa,gBAAiB,SAAQ,SAAS;IACpC,IAAI,SAAqB;gBAEtB,EAAE,KAAK,EAAE,EAAE;QAAE,KAAK,CAAC,EAAE,SAAS,CAAA;KAAE;CAK7C"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "0.0.0-main.
|
1
|
+
export declare const version = "0.0.0-main.20230809T145104";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
"optional": true
|
22
22
|
}
|
23
23
|
},
|
24
|
-
"version": "0.0.0-main.
|
24
|
+
"version": "0.0.0-main.20230809T145104",
|
25
25
|
"files": [
|
26
26
|
"dist",
|
27
27
|
"!dist/**/*.tsbuildinfo",
|
@@ -34,8 +34,7 @@
|
|
34
34
|
"accounts",
|
35
35
|
"actions",
|
36
36
|
"chains",
|
37
|
-
"chains/
|
38
|
-
"chains/optimism",
|
37
|
+
"chains/utils",
|
39
38
|
"contract",
|
40
39
|
"ens",
|
41
40
|
"public",
|
@@ -70,15 +69,10 @@
|
|
70
69
|
"import": "./dist/esm/chains/index.js",
|
71
70
|
"default": "./dist/cjs/chains/index.js"
|
72
71
|
},
|
73
|
-
"./chains/
|
74
|
-
"types": "./dist/types/chains/
|
75
|
-
"import": "./dist/esm/chains/
|
76
|
-
"default": "./dist/cjs/chains/
|
77
|
-
},
|
78
|
-
"./chains/optimism": {
|
79
|
-
"types": "./dist/types/chains/optimism/index.d.ts",
|
80
|
-
"import": "./dist/esm/chains/optimism/index.js",
|
81
|
-
"default": "./dist/cjs/chains/optimism/index.js"
|
72
|
+
"./chains/utils": {
|
73
|
+
"types": "./dist/types/chains/utils.d.ts",
|
74
|
+
"import": "./dist/esm/chains/utils.js",
|
75
|
+
"default": "./dist/cjs/chains/utils.js"
|
82
76
|
},
|
83
77
|
"./contract": {
|
84
78
|
"types": "./dist/types/contract.d.ts",
|
@@ -1,14 +1,10 @@
|
|
1
|
-
export {
|
2
|
-
|
3
|
-
export { formattersCelo } from './formatters.js'
|
4
|
-
|
1
|
+
export { formattersCelo } from './celo/formatters.js'
|
5
2
|
export {
|
6
3
|
type CeloTransactionSerializable,
|
7
4
|
type TransactionSerializableCIP42,
|
8
5
|
serializeTransactionCelo,
|
9
6
|
serializersCelo,
|
10
|
-
} from './serializers.js'
|
11
|
-
|
7
|
+
} from './celo/serializers.js'
|
12
8
|
export type {
|
13
9
|
CeloBlock,
|
14
10
|
CeloBlockOverrides,
|
@@ -26,4 +22,20 @@ export type {
|
|
26
22
|
CeloTransactionReceiptOverrides,
|
27
23
|
CeloTransactionRequest,
|
28
24
|
CeloTransactionRequestOverrides,
|
29
|
-
} from './types.js'
|
25
|
+
} from './celo/types.js'
|
26
|
+
|
27
|
+
export { formattersOptimism } from './optimism/formatters.js'
|
28
|
+
export type {
|
29
|
+
OptimismBlock,
|
30
|
+
OptimismBlockOverrides,
|
31
|
+
OptimismDepositTransaction,
|
32
|
+
OptimismRpcBlock,
|
33
|
+
OptimismRpcBlockOverrides,
|
34
|
+
OptimismRpcDepositTransaction,
|
35
|
+
OptimismRpcTransaction,
|
36
|
+
OptimismRpcTransactionReceipt,
|
37
|
+
OptimismRpcTransactionReceiptOverrides,
|
38
|
+
OptimismTransaction,
|
39
|
+
OptimismTransactionReceipt,
|
40
|
+
OptimismTransactionReceiptOverrides,
|
41
|
+
} from './optimism/types.js'
|
package/src/errors/node.ts
CHANGED
@@ -88,7 +88,8 @@ export class NonceTooHighError extends BaseError {
|
|
88
88
|
}
|
89
89
|
|
90
90
|
export class NonceTooLowError extends BaseError {
|
91
|
-
static nodeMessage =
|
91
|
+
static nodeMessage =
|
92
|
+
/nonce too low|transaction already imported|already known/
|
92
93
|
override name = 'NonceTooLowError'
|
93
94
|
constructor({ cause, nonce }: { cause?: BaseError; nonce?: number } = {}) {
|
94
95
|
super(
|
package/src/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20230809T145104'
|
package/chains/celo/package.json
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.serializersCelo = exports.serializeTransactionCelo = exports.formattersCelo = exports.celoCannoli = exports.celoAlfajores = exports.celo = void 0;
|
4
|
-
var index_js_1 = require("../index.js");
|
5
|
-
Object.defineProperty(exports, "celo", { enumerable: true, get: function () { return index_js_1.celo; } });
|
6
|
-
Object.defineProperty(exports, "celoAlfajores", { enumerable: true, get: function () { return index_js_1.celoAlfajores; } });
|
7
|
-
Object.defineProperty(exports, "celoCannoli", { enumerable: true, get: function () { return index_js_1.celoCannoli; } });
|
8
|
-
var formatters_js_1 = require("./formatters.js");
|
9
|
-
Object.defineProperty(exports, "formattersCelo", { enumerable: true, get: function () { return formatters_js_1.formattersCelo; } });
|
10
|
-
var serializers_js_1 = require("./serializers.js");
|
11
|
-
Object.defineProperty(exports, "serializeTransactionCelo", { enumerable: true, get: function () { return serializers_js_1.serializeTransactionCelo; } });
|
12
|
-
Object.defineProperty(exports, "serializersCelo", { enumerable: true, get: function () { return serializers_js_1.serializersCelo; } });
|
13
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chains/celo/index.ts"],"names":[],"mappings":";;;AAAA,wCAA8D;AAArD,gGAAA,IAAI,OAAA;AAAE,yGAAA,aAAa,OAAA;AAAE,uGAAA,WAAW,OAAA;AAEzC,iDAAgD;AAAvC,+GAAA,cAAc,OAAA;AAEvB,mDAKyB;AAFvB,0HAAA,wBAAwB,OAAA;AACxB,iHAAA,eAAe,OAAA"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.formattersOptimism = exports.zoraTestnet = exports.zora = exports.optimismGoerli = exports.optimism = exports.baseGoerli = exports.base = void 0;
|
4
|
-
var index_js_1 = require("../index.js");
|
5
|
-
Object.defineProperty(exports, "base", { enumerable: true, get: function () { return index_js_1.base; } });
|
6
|
-
Object.defineProperty(exports, "baseGoerli", { enumerable: true, get: function () { return index_js_1.baseGoerli; } });
|
7
|
-
Object.defineProperty(exports, "optimism", { enumerable: true, get: function () { return index_js_1.optimism; } });
|
8
|
-
Object.defineProperty(exports, "optimismGoerli", { enumerable: true, get: function () { return index_js_1.optimismGoerli; } });
|
9
|
-
Object.defineProperty(exports, "zora", { enumerable: true, get: function () { return index_js_1.zora; } });
|
10
|
-
Object.defineProperty(exports, "zoraTestnet", { enumerable: true, get: function () { return index_js_1.zoraTestnet; } });
|
11
|
-
var formatters_js_1 = require("./formatters.js");
|
12
|
-
Object.defineProperty(exports, "formattersOptimism", { enumerable: true, get: function () { return formatters_js_1.formattersOptimism; } });
|
13
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chains/optimism/index.ts"],"names":[],"mappings":";;;AAAA,wCAOoB;AANlB,gGAAA,IAAI,OAAA;AACJ,sGAAA,UAAU,OAAA;AACV,oGAAA,QAAQ,OAAA;AACR,0GAAA,cAAc,OAAA;AACd,gGAAA,IAAI,OAAA;AACJ,uGAAA,WAAW,OAAA;AAGb,iDAAoD;AAA3C,mHAAA,kBAAkB,OAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chains/celo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,OAAO,EAGL,wBAAwB,EACxB,eAAe,GAChB,MAAM,kBAAkB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chains/optimism/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,WAAW,GACZ,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
export { celo, celoAlfajores, celoCannoli } from '../index.js';
|
2
|
-
export { formattersCelo } from './formatters.js';
|
3
|
-
export { type CeloTransactionSerializable, type TransactionSerializableCIP42, serializeTransactionCelo, serializersCelo, } from './serializers.js';
|
4
|
-
export type { CeloBlock, CeloBlockOverrides, CeloRpcBlock, CeloRpcBlockOverrides, CeloRpcTransaction, CeloRpcTransactionOverrides, CeloRpcTransactionReceipt, CeloRpcTransactionReceiptOverrides, CeloRpcTransactionRequest, CeloRpcTransactionRequestOverrides, CeloTransaction, CeloTransactionOverrides, CeloTransactionReceipt, CeloTransactionReceiptOverrides, CeloTransactionRequest, CeloTransactionRequestOverrides, } from './types.js';
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/chains/celo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,wBAAwB,EACxB,eAAe,GAChB,MAAM,kBAAkB,CAAA;AAEzB,YAAY,EACV,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,2BAA2B,EAC3B,yBAAyB,EACzB,kCAAkC,EAClC,yBAAyB,EACzB,kCAAkC,EAClC,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,+BAA+B,EAC/B,sBAAsB,EACtB,+BAA+B,GAChC,MAAM,YAAY,CAAA"}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export { base, baseGoerli, optimism, optimismGoerli, zora, zoraTestnet, } from '../index.js';
|
2
|
-
export { formattersOptimism } from './formatters.js';
|
3
|
-
export type { OptimismBlock, OptimismBlockOverrides, OptimismDepositTransaction, OptimismRpcBlock, OptimismRpcBlockOverrides, OptimismRpcDepositTransaction, OptimismRpcTransaction, OptimismRpcTransactionReceipt, OptimismRpcTransactionReceiptOverrides, OptimismTransaction, OptimismTransactionReceipt, OptimismTransactionReceiptOverrides, } from './types.js';
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/chains/optimism/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,WAAW,GACZ,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD,YAAY,EACV,aAAa,EACb,sBAAsB,EACtB,0BAA0B,EAC1B,gBAAgB,EAChB,yBAAyB,EACzB,6BAA6B,EAC7B,sBAAsB,EACtB,6BAA6B,EAC7B,sCAAsC,EACtC,mBAAmB,EACnB,0BAA0B,EAC1B,mCAAmC,GACpC,MAAM,YAAY,CAAA"}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
export {
|
2
|
-
base,
|
3
|
-
baseGoerli,
|
4
|
-
optimism,
|
5
|
-
optimismGoerli,
|
6
|
-
zora,
|
7
|
-
zoraTestnet,
|
8
|
-
} from '../index.js'
|
9
|
-
|
10
|
-
export { formattersOptimism } from './formatters.js'
|
11
|
-
|
12
|
-
export type {
|
13
|
-
OptimismBlock,
|
14
|
-
OptimismBlockOverrides,
|
15
|
-
OptimismDepositTransaction,
|
16
|
-
OptimismRpcBlock,
|
17
|
-
OptimismRpcBlockOverrides,
|
18
|
-
OptimismRpcDepositTransaction,
|
19
|
-
OptimismRpcTransaction,
|
20
|
-
OptimismRpcTransactionReceipt,
|
21
|
-
OptimismRpcTransactionReceiptOverrides,
|
22
|
-
OptimismTransaction,
|
23
|
-
OptimismTransactionReceipt,
|
24
|
-
OptimismTransactionReceiptOverrides,
|
25
|
-
} from './types.js'
|