viem 2.17.4 → 2.17.5
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -0
- package/_cjs/chains/definitions/modeTestnet.js +21 -0
- package/_cjs/chains/definitions/modeTestnet.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/chains/definitions/modeTestnet.js +21 -0
- package/_esm/chains/definitions/modeTestnet.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/definitions/modeTestnet.d.ts +237 -2
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/chains/definitions/modeTestnet.ts +21 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# viem
|
2
2
|
|
3
|
+
## 2.17.5
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#2500](https://github.com/wevm/viem/pull/2500) [`f6d60054`](https://github.com/wevm/viem/commit/f6d60054bdcf8ada44c8af46b66eda50b05dd08b) Thanks [@lucadonnoh](https://github.com/lucadonnoh)! - Added OP Stack contract addresses for Mode Testnet chain.
|
8
|
+
|
3
9
|
## 2.17.4
|
4
10
|
|
5
11
|
### Patch Changes
|
@@ -1,9 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.modeTestnet = void 0;
|
4
|
+
const chainConfig_js_1 = require("../../op-stack/chainConfig.js");
|
4
5
|
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
6
|
const sourceId = 11_155_111;
|
6
7
|
exports.modeTestnet = (0, defineChain_js_1.defineChain)({
|
8
|
+
...chainConfig_js_1.chainConfig,
|
7
9
|
id: 919,
|
8
10
|
name: 'Mode Testnet',
|
9
11
|
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
@@ -20,6 +22,25 @@ exports.modeTestnet = (0, defineChain_js_1.defineChain)({
|
|
20
22
|
},
|
21
23
|
},
|
22
24
|
contracts: {
|
25
|
+
...chainConfig_js_1.chainConfig.contracts,
|
26
|
+
l2OutputOracle: {
|
27
|
+
[sourceId]: {
|
28
|
+
address: '0x2634BD65ba27AB63811c74A63118ACb312701Bfa',
|
29
|
+
blockCreated: 3778393,
|
30
|
+
},
|
31
|
+
},
|
32
|
+
portal: {
|
33
|
+
[sourceId]: {
|
34
|
+
address: '0x320e1580effF37E008F1C92700d1eBa47c1B23fD',
|
35
|
+
blockCreated: 3778395,
|
36
|
+
},
|
37
|
+
},
|
38
|
+
l1StandardBridge: {
|
39
|
+
[sourceId]: {
|
40
|
+
address: '0xbC5C679879B2965296756CD959C3C739769995E2',
|
41
|
+
blockCreated: 3778392,
|
42
|
+
},
|
43
|
+
},
|
23
44
|
multicall3: {
|
24
45
|
address: '0xBAba8373113Fb7a68f195deF18732e01aF8eDfCF',
|
25
46
|
blockCreated: 3019007,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"modeTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/modeTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAE9D,MAAM,QAAQ,GAAG,UAAU,CAAA;AAEd,QAAA,WAAW,GAAiB,IAAA,4BAAW,EAAC;IACnD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,8BAA8B,CAAC;SACvC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,uCAAuC;YAC5C,MAAM,EAAE,2CAA2C;SACpD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"modeTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/modeTestnet.ts"],"names":[],"mappings":";;;AAAA,kEAA2D;AAC3D,qEAA8D;AAE9D,MAAM,QAAQ,GAAG,UAAU,CAAA;AAEd,QAAA,WAAW,GAAiB,IAAA,4BAAW,EAAC;IACnD,GAAG,4BAAW;IACd,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,8BAA8B,CAAC;SACvC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,uCAAuC;YAC5C,MAAM,EAAE,2CAA2C;SACpD;KACF;IACD,SAAS,EAAE;QACT,GAAG,4BAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,OAAO;aACtB;SACF;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,OAAO;aACtB;SACF;QACD,gBAAgB,EAAE;YAChB,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,OAAO;aACtB;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
package/_cjs/errors/version.js
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
import { chainConfig } from '../../op-stack/chainConfig.js';
|
1
2
|
import { defineChain } from '../../utils/chain/defineChain.js';
|
2
3
|
const sourceId = 11_155_111; // sepolia
|
3
4
|
export const modeTestnet = /*#__PURE__*/ defineChain({
|
5
|
+
...chainConfig,
|
4
6
|
id: 919,
|
5
7
|
name: 'Mode Testnet',
|
6
8
|
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
@@ -17,6 +19,25 @@ export const modeTestnet = /*#__PURE__*/ defineChain({
|
|
17
19
|
},
|
18
20
|
},
|
19
21
|
contracts: {
|
22
|
+
...chainConfig.contracts,
|
23
|
+
l2OutputOracle: {
|
24
|
+
[sourceId]: {
|
25
|
+
address: '0x2634BD65ba27AB63811c74A63118ACb312701Bfa',
|
26
|
+
blockCreated: 3778393,
|
27
|
+
},
|
28
|
+
},
|
29
|
+
portal: {
|
30
|
+
[sourceId]: {
|
31
|
+
address: '0x320e1580effF37E008F1C92700d1eBa47c1B23fD',
|
32
|
+
blockCreated: 3778395,
|
33
|
+
},
|
34
|
+
},
|
35
|
+
l1StandardBridge: {
|
36
|
+
[sourceId]: {
|
37
|
+
address: '0xbC5C679879B2965296756CD959C3C739769995E2',
|
38
|
+
blockCreated: 3778392,
|
39
|
+
},
|
40
|
+
},
|
20
41
|
multicall3: {
|
21
42
|
address: '0xBAba8373113Fb7a68f195deF18732e01aF8eDfCF',
|
22
43
|
blockCreated: 3019007,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"modeTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/modeTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,QAAQ,GAAG,UAAU,CAAA,CAAC,UAAU;AAEtC,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;IACnD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,8BAA8B,CAAC;SACvC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,uCAAuC;YAC5C,MAAM,EAAE,2CAA2C;SACpD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"modeTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/modeTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,QAAQ,GAAG,UAAU,CAAA,CAAC,UAAU;AAEtC,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;IACnD,GAAG,WAAW;IACd,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,8BAA8B,CAAC;SACvC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,uCAAuC;YAC5C,MAAM,EAAE,2CAA2C;SACpD;KACF;IACD,SAAS,EAAE;QACT,GAAG,WAAW,CAAC,SAAS;QACxB,cAAc,EAAE;YACd,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,OAAO;aACtB;SACF;QACD,MAAM,EAAE;YACN,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,OAAO;aACtB;SACF;QACD,gBAAgB,EAAE;YAChB,CAAC,QAAQ,CAAC,EAAE;gBACV,OAAO,EAAE,4CAA4C;gBACrD,YAAY,EAAE,OAAO;aACtB;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,IAAI;IACb,QAAQ;CACT,CAAC,CAAA"}
|
package/_esm/errors/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const version = '2.17.
|
1
|
+
export const version = '2.17.5';
|
2
2
|
//# sourceMappingURL=version.js.map
|
@@ -7,10 +7,46 @@ export declare const modeTestnet: {
|
|
7
7
|
};
|
8
8
|
};
|
9
9
|
contracts: {
|
10
|
+
readonly l2OutputOracle: {
|
11
|
+
readonly 11155111: {
|
12
|
+
readonly address: "0x2634BD65ba27AB63811c74A63118ACb312701Bfa";
|
13
|
+
readonly blockCreated: 3778393;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
readonly portal: {
|
17
|
+
readonly 11155111: {
|
18
|
+
readonly address: "0x320e1580effF37E008F1C92700d1eBa47c1B23fD";
|
19
|
+
readonly blockCreated: 3778395;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
readonly l1StandardBridge: {
|
23
|
+
readonly 11155111: {
|
24
|
+
readonly address: "0xbC5C679879B2965296756CD959C3C739769995E2";
|
25
|
+
readonly blockCreated: 3778392;
|
26
|
+
};
|
27
|
+
};
|
10
28
|
readonly multicall3: {
|
11
29
|
readonly address: "0xBAba8373113Fb7a68f195deF18732e01aF8eDfCF";
|
12
30
|
readonly blockCreated: 3019007;
|
13
31
|
};
|
32
|
+
readonly gasPriceOracle: {
|
33
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
34
|
+
};
|
35
|
+
readonly l1Block: {
|
36
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
37
|
+
};
|
38
|
+
readonly l2CrossDomainMessenger: {
|
39
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
40
|
+
};
|
41
|
+
readonly l2Erc721Bridge: {
|
42
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
43
|
+
};
|
44
|
+
readonly l2StandardBridge: {
|
45
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
46
|
+
};
|
47
|
+
readonly l2ToL1MessagePasser: {
|
48
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
49
|
+
};
|
14
50
|
};
|
15
51
|
id: 919;
|
16
52
|
name: "Mode Testnet";
|
@@ -28,7 +64,206 @@ export declare const modeTestnet: {
|
|
28
64
|
testnet: true;
|
29
65
|
custom?: Record<string, unknown> | undefined;
|
30
66
|
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
31
|
-
formatters
|
32
|
-
|
67
|
+
formatters: {
|
68
|
+
readonly block: {
|
69
|
+
exclude: [] | undefined;
|
70
|
+
format: (args: import("../index.js").OpStackRpcBlock) => {
|
71
|
+
baseFeePerGas: bigint | null;
|
72
|
+
blobGasUsed: bigint;
|
73
|
+
difficulty: bigint;
|
74
|
+
excessBlobGas: bigint;
|
75
|
+
extraData: import("../../index.js").Hex;
|
76
|
+
gasLimit: bigint;
|
77
|
+
gasUsed: bigint;
|
78
|
+
hash: `0x${string}` | null;
|
79
|
+
logsBloom: `0x${string}` | null;
|
80
|
+
miner: import("abitype").Address;
|
81
|
+
mixHash: import("../../index.js").Hash;
|
82
|
+
nonce: `0x${string}` | null;
|
83
|
+
number: bigint | null;
|
84
|
+
parentHash: import("../../index.js").Hash;
|
85
|
+
receiptsRoot: import("../../index.js").Hex;
|
86
|
+
sealFields: import("../../index.js").Hex[];
|
87
|
+
sha3Uncles: import("../../index.js").Hash;
|
88
|
+
size: bigint;
|
89
|
+
stateRoot: import("../../index.js").Hash;
|
90
|
+
timestamp: bigint;
|
91
|
+
totalDifficulty: bigint | null;
|
92
|
+
transactions: `0x${string}`[] | import("../index.js").OpStackTransaction<boolean>[];
|
93
|
+
transactionsRoot: import("../../index.js").Hash;
|
94
|
+
uncles: import("../../index.js").Hash[];
|
95
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
96
|
+
withdrawalsRoot?: import("../../index.js").Hex | undefined;
|
97
|
+
} & {};
|
98
|
+
type: "block";
|
99
|
+
};
|
100
|
+
readonly transaction: {
|
101
|
+
exclude: [] | undefined;
|
102
|
+
format: (args: import("../index.js").OpStackRpcTransaction) => ({
|
103
|
+
blockHash: `0x${string}` | null;
|
104
|
+
blockNumber: bigint | null;
|
105
|
+
from: import("abitype").Address;
|
106
|
+
gas: bigint;
|
107
|
+
hash: import("../../index.js").Hash;
|
108
|
+
input: import("../../index.js").Hex;
|
109
|
+
nonce: number;
|
110
|
+
r: import("../../index.js").Hex;
|
111
|
+
s: import("../../index.js").Hex;
|
112
|
+
to: import("abitype").Address | null;
|
113
|
+
transactionIndex: number | null;
|
114
|
+
typeHex: import("../../index.js").Hex | null;
|
115
|
+
v: bigint;
|
116
|
+
value: bigint;
|
117
|
+
yParity: number;
|
118
|
+
gasPrice?: undefined;
|
119
|
+
maxFeePerBlobGas?: undefined;
|
120
|
+
maxFeePerGas: bigint;
|
121
|
+
maxPriorityFeePerGas: bigint;
|
122
|
+
isSystemTx?: boolean;
|
123
|
+
mint?: bigint | undefined;
|
124
|
+
sourceHash: import("../../index.js").Hex;
|
125
|
+
type: "deposit";
|
126
|
+
} | {
|
127
|
+
r: import("../../index.js").Hex;
|
128
|
+
s: import("../../index.js").Hex;
|
129
|
+
v: bigint;
|
130
|
+
to: import("abitype").Address | null;
|
131
|
+
from: import("abitype").Address;
|
132
|
+
gas: bigint;
|
133
|
+
nonce: number;
|
134
|
+
value: bigint;
|
135
|
+
blockHash: `0x${string}` | null;
|
136
|
+
blockNumber: bigint | null;
|
137
|
+
hash: import("../../index.js").Hash;
|
138
|
+
input: import("../../index.js").Hex;
|
139
|
+
transactionIndex: number | null;
|
140
|
+
typeHex: import("../../index.js").Hex | null;
|
141
|
+
accessList?: undefined;
|
142
|
+
blobVersionedHashes?: undefined;
|
143
|
+
chainId?: number | undefined;
|
144
|
+
yParity?: undefined;
|
145
|
+
type: "legacy";
|
146
|
+
gasPrice: bigint;
|
147
|
+
maxFeePerBlobGas?: undefined;
|
148
|
+
maxFeePerGas?: undefined;
|
149
|
+
maxPriorityFeePerGas?: undefined;
|
150
|
+
isSystemTx?: undefined;
|
151
|
+
mint?: undefined;
|
152
|
+
sourceHash?: undefined;
|
153
|
+
} | {
|
154
|
+
blockHash: `0x${string}` | null;
|
155
|
+
blockNumber: bigint | null;
|
156
|
+
from: import("abitype").Address;
|
157
|
+
gas: bigint;
|
158
|
+
hash: import("../../index.js").Hash;
|
159
|
+
input: import("../../index.js").Hex;
|
160
|
+
nonce: number;
|
161
|
+
r: import("../../index.js").Hex;
|
162
|
+
s: import("../../index.js").Hex;
|
163
|
+
to: import("abitype").Address | null;
|
164
|
+
transactionIndex: number | null;
|
165
|
+
typeHex: import("../../index.js").Hex | null;
|
166
|
+
v: bigint;
|
167
|
+
value: bigint;
|
168
|
+
yParity: number;
|
169
|
+
accessList: import("../../index.js").AccessList;
|
170
|
+
blobVersionedHashes?: undefined;
|
171
|
+
chainId: number;
|
172
|
+
type: "eip2930";
|
173
|
+
gasPrice: bigint;
|
174
|
+
maxFeePerBlobGas?: undefined;
|
175
|
+
maxFeePerGas?: undefined;
|
176
|
+
maxPriorityFeePerGas?: undefined;
|
177
|
+
isSystemTx?: undefined;
|
178
|
+
mint?: undefined;
|
179
|
+
sourceHash?: undefined;
|
180
|
+
} | {
|
181
|
+
blockHash: `0x${string}` | null;
|
182
|
+
blockNumber: bigint | null;
|
183
|
+
from: import("abitype").Address;
|
184
|
+
gas: bigint;
|
185
|
+
hash: import("../../index.js").Hash;
|
186
|
+
input: import("../../index.js").Hex;
|
187
|
+
nonce: number;
|
188
|
+
r: import("../../index.js").Hex;
|
189
|
+
s: import("../../index.js").Hex;
|
190
|
+
to: import("abitype").Address | null;
|
191
|
+
transactionIndex: number | null;
|
192
|
+
typeHex: import("../../index.js").Hex | null;
|
193
|
+
v: bigint;
|
194
|
+
value: bigint;
|
195
|
+
yParity: number;
|
196
|
+
accessList: import("../../index.js").AccessList;
|
197
|
+
blobVersionedHashes?: undefined;
|
198
|
+
chainId: number;
|
199
|
+
type: "eip1559";
|
200
|
+
gasPrice?: undefined;
|
201
|
+
maxFeePerBlobGas?: undefined;
|
202
|
+
maxFeePerGas: bigint;
|
203
|
+
maxPriorityFeePerGas: bigint;
|
204
|
+
isSystemTx?: undefined;
|
205
|
+
mint?: undefined;
|
206
|
+
sourceHash?: undefined;
|
207
|
+
} | {
|
208
|
+
blockHash: `0x${string}` | null;
|
209
|
+
blockNumber: bigint | null;
|
210
|
+
from: import("abitype").Address;
|
211
|
+
gas: bigint;
|
212
|
+
hash: import("../../index.js").Hash;
|
213
|
+
input: import("../../index.js").Hex;
|
214
|
+
nonce: number;
|
215
|
+
r: import("../../index.js").Hex;
|
216
|
+
s: import("../../index.js").Hex;
|
217
|
+
to: import("abitype").Address | null;
|
218
|
+
transactionIndex: number | null;
|
219
|
+
typeHex: import("../../index.js").Hex | null;
|
220
|
+
v: bigint;
|
221
|
+
value: bigint;
|
222
|
+
yParity: number;
|
223
|
+
accessList: import("../../index.js").AccessList;
|
224
|
+
blobVersionedHashes: readonly import("../../index.js").Hex[];
|
225
|
+
chainId: number;
|
226
|
+
type: "eip4844";
|
227
|
+
gasPrice?: undefined;
|
228
|
+
maxFeePerBlobGas: bigint;
|
229
|
+
maxFeePerGas: bigint;
|
230
|
+
maxPriorityFeePerGas: bigint;
|
231
|
+
isSystemTx?: undefined;
|
232
|
+
mint?: undefined;
|
233
|
+
sourceHash?: undefined;
|
234
|
+
}) & {};
|
235
|
+
type: "transaction";
|
236
|
+
};
|
237
|
+
readonly transactionReceipt: {
|
238
|
+
exclude: [] | undefined;
|
239
|
+
format: (args: import("../index.js").OpStackRpcTransactionReceipt) => {
|
240
|
+
blobGasPrice?: bigint | undefined;
|
241
|
+
blobGasUsed?: bigint | undefined;
|
242
|
+
blockHash: import("../../index.js").Hash;
|
243
|
+
blockNumber: bigint;
|
244
|
+
contractAddress: import("abitype").Address | null | undefined;
|
245
|
+
cumulativeGasUsed: bigint;
|
246
|
+
effectiveGasPrice: bigint;
|
247
|
+
from: import("abitype").Address;
|
248
|
+
gasUsed: bigint;
|
249
|
+
logs: import("../../index.js").Log<bigint, number, false>[];
|
250
|
+
logsBloom: import("../../index.js").Hex;
|
251
|
+
root?: import("../../index.js").Hash | undefined;
|
252
|
+
status: "success" | "reverted";
|
253
|
+
to: import("abitype").Address | null;
|
254
|
+
transactionHash: import("../../index.js").Hash;
|
255
|
+
transactionIndex: number;
|
256
|
+
type: import("../../index.js").TransactionType;
|
257
|
+
l1GasPrice: bigint | null;
|
258
|
+
l1GasUsed: bigint | null;
|
259
|
+
l1Fee: bigint | null;
|
260
|
+
l1FeeScalar: number | null;
|
261
|
+
} & {};
|
262
|
+
type: "transactionReceipt";
|
263
|
+
};
|
264
|
+
};
|
265
|
+
serializers: {
|
266
|
+
readonly transaction: typeof import("../index.js").serializeTransactionOpStack;
|
267
|
+
};
|
33
268
|
};
|
34
269
|
//# sourceMappingURL=modeTestnet.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"modeTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/modeTestnet.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"modeTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/modeTestnet.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CtB,CAAA"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "2.17.
|
1
|
+
export declare const version = "2.17.5";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -1,8 +1,10 @@
|
|
1
|
+
import { chainConfig } from '../../op-stack/chainConfig.js'
|
1
2
|
import { defineChain } from '../../utils/chain/defineChain.js'
|
2
3
|
|
3
4
|
const sourceId = 11_155_111 // sepolia
|
4
5
|
|
5
6
|
export const modeTestnet = /*#__PURE__*/ defineChain({
|
7
|
+
...chainConfig,
|
6
8
|
id: 919,
|
7
9
|
name: 'Mode Testnet',
|
8
10
|
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
@@ -19,6 +21,25 @@ export const modeTestnet = /*#__PURE__*/ defineChain({
|
|
19
21
|
},
|
20
22
|
},
|
21
23
|
contracts: {
|
24
|
+
...chainConfig.contracts,
|
25
|
+
l2OutputOracle: {
|
26
|
+
[sourceId]: {
|
27
|
+
address: '0x2634BD65ba27AB63811c74A63118ACb312701Bfa',
|
28
|
+
blockCreated: 3778393,
|
29
|
+
},
|
30
|
+
},
|
31
|
+
portal: {
|
32
|
+
[sourceId]: {
|
33
|
+
address: '0x320e1580effF37E008F1C92700d1eBa47c1B23fD',
|
34
|
+
blockCreated: 3778395,
|
35
|
+
},
|
36
|
+
},
|
37
|
+
l1StandardBridge: {
|
38
|
+
[sourceId]: {
|
39
|
+
address: '0xbC5C679879B2965296756CD959C3C739769995E2',
|
40
|
+
blockCreated: 3778392,
|
41
|
+
},
|
42
|
+
},
|
22
43
|
multicall3: {
|
23
44
|
address: '0xBAba8373113Fb7a68f195deF18732e01aF8eDfCF',
|
24
45
|
blockCreated: 3019007,
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '2.17.
|
1
|
+
export const version = '2.17.5'
|