viem 2.0.0-rc.2 → 2.0.0-rc.4

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.
Files changed (175) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/_cjs/_test/generated.js +313 -0
  3. package/_cjs/_test/generated.js.map +1 -0
  4. package/_cjs/accounts/generateMnemonic.js +2 -2
  5. package/_cjs/accounts/generateMnemonic.js.map +1 -1
  6. package/_cjs/chains/definitions/acala.js +32 -0
  7. package/_cjs/chains/definitions/acala.js.map +1 -0
  8. package/_cjs/chains/definitions/arbitrumSepolia.js +2 -4
  9. package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -1
  10. package/_cjs/chains/definitions/bahamut.js +43 -0
  11. package/_cjs/chains/definitions/bahamut.js.map +1 -0
  12. package/_cjs/chains/definitions/bitTorrent.js +19 -0
  13. package/_cjs/chains/definitions/bitTorrent.js.map +1 -0
  14. package/_cjs/chains/definitions/bitTorrentTestnet.js +20 -0
  15. package/_cjs/chains/definitions/bitTorrentTestnet.js.map +1 -0
  16. package/_cjs/chains/definitions/jbc.js +32 -0
  17. package/_cjs/chains/definitions/jbc.js.map +1 -0
  18. package/_cjs/chains/definitions/karura.js +32 -0
  19. package/_cjs/chains/definitions/karura.js.map +1 -0
  20. package/_cjs/chains/definitions/klaytn.js +1 -1
  21. package/_cjs/chains/definitions/klaytn.js.map +1 -1
  22. package/_cjs/chains/definitions/mandala.js +32 -0
  23. package/_cjs/chains/definitions/mandala.js.map +1 -0
  24. package/_cjs/chains/definitions/oasisTestnet.js +22 -0
  25. package/_cjs/chains/definitions/oasisTestnet.js.map +1 -0
  26. package/_cjs/chains/definitions/opBNBTestnet.js +1 -1
  27. package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -1
  28. package/_cjs/chains/definitions/wemix.js +19 -0
  29. package/_cjs/chains/definitions/wemix.js.map +1 -0
  30. package/_cjs/chains/definitions/wemixTestnet.js +20 -0
  31. package/_cjs/chains/definitions/wemixTestnet.js.map +1 -0
  32. package/_cjs/chains/definitions/zkFair.js +30 -0
  33. package/_cjs/chains/definitions/zkFair.js.map +1 -0
  34. package/_cjs/chains/definitions/zkFairTestnet.js +30 -0
  35. package/_cjs/chains/definitions/zkFairTestnet.js.map +1 -0
  36. package/_cjs/chains/index.js +28 -4
  37. package/_cjs/chains/index.js.map +1 -1
  38. package/_cjs/chains/opStack/abis.js.map +1 -1
  39. package/_cjs/chains/opStack/contracts.js.map +1 -1
  40. package/_cjs/chains/opStack/decorators/publicL1.js.map +1 -1
  41. package/_cjs/chains/opStack/decorators/publicL2.js.map +1 -1
  42. package/_cjs/chains/opStack/decorators/walletL1.js.map +1 -1
  43. package/_cjs/chains/opStack/decorators/walletL2.js.map +1 -1
  44. package/_cjs/errors/version.js +1 -1
  45. package/_esm/_test/generated.js +335 -0
  46. package/_esm/_test/generated.js.map +1 -0
  47. package/_esm/accounts/generateMnemonic.js +3 -2
  48. package/_esm/accounts/generateMnemonic.js.map +1 -1
  49. package/_esm/chains/definitions/acala.js +29 -0
  50. package/_esm/chains/definitions/acala.js.map +1 -0
  51. package/_esm/chains/definitions/arbitrumSepolia.js +2 -4
  52. package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -1
  53. package/_esm/chains/definitions/bahamut.js +40 -0
  54. package/_esm/chains/definitions/bahamut.js.map +1 -0
  55. package/_esm/chains/definitions/bitTorrent.js +16 -0
  56. package/_esm/chains/definitions/bitTorrent.js.map +1 -0
  57. package/_esm/chains/definitions/bitTorrentTestnet.js +17 -0
  58. package/_esm/chains/definitions/bitTorrentTestnet.js.map +1 -0
  59. package/_esm/chains/definitions/jbc.js +29 -0
  60. package/_esm/chains/definitions/jbc.js.map +1 -0
  61. package/_esm/chains/definitions/karura.js +29 -0
  62. package/_esm/chains/definitions/karura.js.map +1 -0
  63. package/_esm/chains/definitions/klaytn.js +1 -1
  64. package/_esm/chains/definitions/klaytn.js.map +1 -1
  65. package/_esm/chains/definitions/mandala.js +29 -0
  66. package/_esm/chains/definitions/mandala.js.map +1 -0
  67. package/_esm/chains/definitions/oasisTestnet.js +19 -0
  68. package/_esm/chains/definitions/oasisTestnet.js.map +1 -0
  69. package/_esm/chains/definitions/opBNBTestnet.js +1 -1
  70. package/_esm/chains/definitions/opBNBTestnet.js.map +1 -1
  71. package/_esm/chains/definitions/wemix.js +16 -0
  72. package/_esm/chains/definitions/wemix.js.map +1 -0
  73. package/_esm/chains/definitions/wemixTestnet.js +17 -0
  74. package/_esm/chains/definitions/wemixTestnet.js.map +1 -0
  75. package/_esm/chains/definitions/zkFair.js +27 -0
  76. package/_esm/chains/definitions/zkFair.js.map +1 -0
  77. package/_esm/chains/definitions/zkFairTestnet.js +27 -0
  78. package/_esm/chains/definitions/zkFairTestnet.js.map +1 -0
  79. package/_esm/chains/index.js +12 -0
  80. package/_esm/chains/index.js.map +1 -1
  81. package/_esm/chains/opStack/abis.js +4 -0
  82. package/_esm/chains/opStack/abis.js.map +1 -1
  83. package/_esm/chains/opStack/contracts.js +4 -0
  84. package/_esm/chains/opStack/contracts.js.map +1 -1
  85. package/_esm/chains/opStack/decorators/publicL1.js +15 -0
  86. package/_esm/chains/opStack/decorators/publicL1.js.map +1 -1
  87. package/_esm/chains/opStack/decorators/publicL2.js +15 -0
  88. package/_esm/chains/opStack/decorators/publicL2.js.map +1 -1
  89. package/_esm/chains/opStack/decorators/walletL1.js +17 -0
  90. package/_esm/chains/opStack/decorators/walletL1.js.map +1 -1
  91. package/_esm/chains/opStack/decorators/walletL2.js +17 -0
  92. package/_esm/chains/opStack/decorators/walletL2.js.map +1 -1
  93. package/_esm/errors/version.js +1 -1
  94. package/_test/generated.ts +350 -0
  95. package/_types/_test/generated.d.ts +428 -0
  96. package/_types/_test/generated.d.ts.map +1 -0
  97. package/_types/accounts/generateMnemonic.d.ts +2 -1
  98. package/_types/accounts/generateMnemonic.d.ts.map +1 -1
  99. package/_types/actions/public/simulateContract.d.ts +2 -2
  100. package/_types/actions/public/simulateContract.d.ts.map +1 -1
  101. package/_types/chains/definitions/acala.d.ts +40 -0
  102. package/_types/chains/definitions/acala.d.ts.map +1 -0
  103. package/_types/chains/definitions/arbitrumSepolia.d.ts +6 -2
  104. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
  105. package/_types/chains/definitions/bahamut.d.ts +40 -0
  106. package/_types/chains/definitions/bahamut.d.ts.map +1 -0
  107. package/_types/chains/definitions/bitTorrent.d.ts +42 -0
  108. package/_types/chains/definitions/bitTorrent.d.ts.map +1 -0
  109. package/_types/chains/definitions/bitTorrentTestnet.d.ts +42 -0
  110. package/_types/chains/definitions/bitTorrentTestnet.d.ts.map +1 -0
  111. package/_types/chains/definitions/jbc.d.ts +36 -0
  112. package/_types/chains/definitions/jbc.d.ts.map +1 -0
  113. package/_types/chains/definitions/karura.d.ts +40 -0
  114. package/_types/chains/definitions/karura.d.ts.map +1 -0
  115. package/_types/chains/definitions/klaytn.d.ts +1 -1
  116. package/_types/chains/definitions/mandala.d.ts +40 -0
  117. package/_types/chains/definitions/mandala.d.ts.map +1 -0
  118. package/_types/chains/definitions/oasisTestnet.d.ts +38 -0
  119. package/_types/chains/definitions/oasisTestnet.d.ts.map +1 -0
  120. package/_types/chains/definitions/opBNBTestnet.d.ts +1 -1
  121. package/_types/chains/definitions/wemix.d.ts +42 -0
  122. package/_types/chains/definitions/wemix.d.ts.map +1 -0
  123. package/_types/chains/definitions/wemixTestnet.d.ts +42 -0
  124. package/_types/chains/definitions/wemixTestnet.d.ts.map +1 -0
  125. package/_types/chains/definitions/zkFair.d.ts +38 -0
  126. package/_types/chains/definitions/zkFair.d.ts.map +1 -0
  127. package/_types/chains/definitions/zkFairTestnet.d.ts +38 -0
  128. package/_types/chains/definitions/zkFairTestnet.d.ts.map +1 -0
  129. package/_types/chains/index.d.ts +12 -0
  130. package/_types/chains/index.d.ts.map +1 -1
  131. package/_types/chains/opStack/abis.d.ts +4 -0
  132. package/_types/chains/opStack/abis.d.ts.map +1 -1
  133. package/_types/chains/opStack/contracts.d.ts +4 -0
  134. package/_types/chains/opStack/contracts.d.ts.map +1 -1
  135. package/_types/chains/opStack/decorators/publicL1.d.ts +15 -0
  136. package/_types/chains/opStack/decorators/publicL1.d.ts.map +1 -1
  137. package/_types/chains/opStack/decorators/publicL2.d.ts +15 -0
  138. package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -1
  139. package/_types/chains/opStack/decorators/walletL1.d.ts +17 -0
  140. package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -1
  141. package/_types/chains/opStack/decorators/walletL2.d.ts +17 -0
  142. package/_types/chains/opStack/decorators/walletL2.d.ts.map +1 -1
  143. package/_types/chains/opStack/types/contract.d.ts +8 -7
  144. package/_types/chains/opStack/types/contract.d.ts.map +1 -1
  145. package/_types/clients/decorators/wallet.d.ts +2 -2
  146. package/_types/clients/decorators/wallet.d.ts.map +1 -1
  147. package/_types/errors/version.d.ts +1 -1
  148. package/accounts/generateMnemonic.ts +6 -2
  149. package/actions/public/simulateContract.ts +2 -2
  150. package/chains/definitions/acala.ts +29 -0
  151. package/chains/definitions/arbitrumSepolia.ts +2 -4
  152. package/chains/definitions/bahamut.ts +40 -0
  153. package/chains/definitions/bitTorrent.ts +16 -0
  154. package/chains/definitions/bitTorrentTestnet.ts +17 -0
  155. package/chains/definitions/jbc.ts +29 -0
  156. package/chains/definitions/karura.ts +29 -0
  157. package/chains/definitions/klaytn.ts +1 -1
  158. package/chains/definitions/mandala.ts +29 -0
  159. package/chains/definitions/oasisTestnet.ts +19 -0
  160. package/chains/definitions/opBNBTestnet.ts +1 -1
  161. package/chains/definitions/wemix.ts +16 -0
  162. package/chains/definitions/wemixTestnet.ts +17 -0
  163. package/chains/definitions/zkFair.ts +27 -0
  164. package/chains/definitions/zkFairTestnet.ts +27 -0
  165. package/chains/index.ts +12 -0
  166. package/chains/opStack/abis.ts +4 -0
  167. package/chains/opStack/contracts.ts +4 -0
  168. package/chains/opStack/decorators/publicL1.ts +15 -0
  169. package/chains/opStack/decorators/publicL2.ts +15 -0
  170. package/chains/opStack/decorators/walletL1.ts +17 -0
  171. package/chains/opStack/decorators/walletL2.ts +17 -0
  172. package/chains/opStack/types/contract.ts +15 -6
  173. package/clients/decorators/wallet.ts +2 -2
  174. package/errors/version.ts +1 -1
  175. package/package.json +12 -34
@@ -0,0 +1,335 @@
1
+ // Generated by @wagmi/cli@0.1.6 on 11/09/2023 at 9:45:29 am
2
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3
+ // IERC1271Wallet
4
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5
+ export const ierc1271WalletABI = [
6
+ {
7
+ stateMutability: 'view',
8
+ type: 'function',
9
+ inputs: [
10
+ { name: 'hash', internalType: 'bytes32', type: 'bytes32' },
11
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
12
+ ],
13
+ name: 'isValidSignature',
14
+ outputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
15
+ },
16
+ ];
17
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
18
+ // VerifySig
19
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20
+ export const verifySigABI = [
21
+ {
22
+ stateMutability: 'nonpayable',
23
+ type: 'constructor',
24
+ inputs: [
25
+ { name: '_signer', internalType: 'address', type: 'address' },
26
+ { name: '_hash', internalType: 'bytes32', type: 'bytes32' },
27
+ { name: '_signature', internalType: 'bytes', type: 'bytes' },
28
+ ],
29
+ },
30
+ {
31
+ stateMutability: 'nonpayable',
32
+ type: 'function',
33
+ inputs: [
34
+ { name: '_signer', internalType: 'address', type: 'address' },
35
+ { name: '_hash', internalType: 'bytes32', type: 'bytes32' },
36
+ { name: '_signature', internalType: 'bytes', type: 'bytes' },
37
+ ],
38
+ name: 'isValidUniversalSig',
39
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
40
+ },
41
+ ];
42
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
43
+ // ERC20InvalidTransferEvent
44
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
45
+ export const erc20InvalidTransferEventABI = [
46
+ {
47
+ type: 'event',
48
+ anonymous: false,
49
+ inputs: [
50
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
51
+ { name: 'to', internalType: 'address', type: 'address', indexed: false },
52
+ {
53
+ name: 'value',
54
+ internalType: 'uint256',
55
+ type: 'uint256',
56
+ indexed: false,
57
+ },
58
+ ],
59
+ name: 'Transfer',
60
+ },
61
+ {
62
+ stateMutability: 'nonpayable',
63
+ type: 'function',
64
+ inputs: [
65
+ { name: 'recipient', internalType: 'address', type: 'address' },
66
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
67
+ ],
68
+ name: 'transfer',
69
+ outputs: [],
70
+ },
71
+ ];
72
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
73
+ // GH434
74
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
75
+ export const gh434ABI = [
76
+ {
77
+ stateMutability: 'pure',
78
+ type: 'function',
79
+ inputs: [],
80
+ name: 'bar',
81
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
82
+ },
83
+ {
84
+ stateMutability: 'pure',
85
+ type: 'function',
86
+ inputs: [],
87
+ name: 'baz',
88
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
89
+ },
90
+ {
91
+ stateMutability: 'pure',
92
+ type: 'function',
93
+ inputs: [],
94
+ name: 'foo',
95
+ outputs: [
96
+ { name: 'a', internalType: 'uint256', type: 'uint256' },
97
+ { name: 'b', internalType: 'bool', type: 'bool' },
98
+ ],
99
+ },
100
+ ];
101
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
102
+ // EnsAvatarTokenUri
103
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
104
+ export const ensAvatarTokenUriABI = [
105
+ {
106
+ stateMutability: 'view',
107
+ type: 'function',
108
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
109
+ name: 'ownerOf',
110
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
111
+ },
112
+ {
113
+ stateMutability: 'view',
114
+ type: 'function',
115
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
116
+ name: 'tokenURI',
117
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
118
+ },
119
+ ];
120
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
121
+ // ErrorsExample
122
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
123
+ export const errorsExampleABI = [
124
+ {
125
+ type: 'error',
126
+ inputs: [
127
+ {
128
+ name: 'foo',
129
+ internalType: 'struct ErrorsExample.Foo',
130
+ type: 'tuple',
131
+ components: [
132
+ { name: 'sender', internalType: 'address', type: 'address' },
133
+ { name: 'bar', internalType: 'uint256', type: 'uint256' },
134
+ ],
135
+ },
136
+ { name: 'message', internalType: 'string', type: 'string' },
137
+ { name: 'number', internalType: 'uint256', type: 'uint256' },
138
+ ],
139
+ name: 'ComplexError',
140
+ },
141
+ {
142
+ type: 'error',
143
+ inputs: [{ name: 'message', internalType: 'string', type: 'string' }],
144
+ name: 'SimpleError',
145
+ },
146
+ { type: 'error', inputs: [], name: 'SimpleErrorNoArgs' },
147
+ {
148
+ stateMutability: 'pure',
149
+ type: 'function',
150
+ inputs: [],
151
+ name: 'assertRead',
152
+ outputs: [],
153
+ },
154
+ {
155
+ stateMutability: 'nonpayable',
156
+ type: 'function',
157
+ inputs: [],
158
+ name: 'assertWrite',
159
+ outputs: [],
160
+ },
161
+ {
162
+ stateMutability: 'pure',
163
+ type: 'function',
164
+ inputs: [],
165
+ name: 'complexCustomRead',
166
+ outputs: [],
167
+ },
168
+ {
169
+ stateMutability: 'nonpayable',
170
+ type: 'function',
171
+ inputs: [],
172
+ name: 'complexCustomWrite',
173
+ outputs: [],
174
+ },
175
+ {
176
+ stateMutability: 'pure',
177
+ type: 'function',
178
+ inputs: [],
179
+ name: 'divideByZeroRead',
180
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
181
+ },
182
+ {
183
+ stateMutability: 'nonpayable',
184
+ type: 'function',
185
+ inputs: [],
186
+ name: 'divideByZeroWrite',
187
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
188
+ },
189
+ {
190
+ stateMutability: 'pure',
191
+ type: 'function',
192
+ inputs: [],
193
+ name: 'overflowRead',
194
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
195
+ },
196
+ {
197
+ stateMutability: 'nonpayable',
198
+ type: 'function',
199
+ inputs: [],
200
+ name: 'overflowWrite',
201
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
202
+ },
203
+ {
204
+ stateMutability: 'pure',
205
+ type: 'function',
206
+ inputs: [],
207
+ name: 'requireRead',
208
+ outputs: [],
209
+ },
210
+ {
211
+ stateMutability: 'nonpayable',
212
+ type: 'function',
213
+ inputs: [],
214
+ name: 'requireWrite',
215
+ outputs: [],
216
+ },
217
+ {
218
+ stateMutability: 'pure',
219
+ type: 'function',
220
+ inputs: [],
221
+ name: 'revertRead',
222
+ outputs: [],
223
+ },
224
+ {
225
+ stateMutability: 'nonpayable',
226
+ type: 'function',
227
+ inputs: [],
228
+ name: 'revertWrite',
229
+ outputs: [],
230
+ },
231
+ {
232
+ stateMutability: 'pure',
233
+ type: 'function',
234
+ inputs: [],
235
+ name: 'simpleCustomRead',
236
+ outputs: [],
237
+ },
238
+ {
239
+ stateMutability: 'pure',
240
+ type: 'function',
241
+ inputs: [],
242
+ name: 'simpleCustomReadNoArgs',
243
+ outputs: [],
244
+ },
245
+ {
246
+ stateMutability: 'nonpayable',
247
+ type: 'function',
248
+ inputs: [],
249
+ name: 'simpleCustomWrite',
250
+ outputs: [],
251
+ },
252
+ ];
253
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
254
+ // OffchainLookupExample
255
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
256
+ export const offchainLookupExampleABI = [
257
+ {
258
+ stateMutability: 'nonpayable',
259
+ type: 'constructor',
260
+ inputs: [{ name: 'urls_', internalType: 'string[]', type: 'string[]' }],
261
+ },
262
+ {
263
+ type: 'error',
264
+ inputs: [
265
+ { name: 'sender', internalType: 'address', type: 'address' },
266
+ { name: 'urls', internalType: 'string[]', type: 'string[]' },
267
+ { name: 'callData', internalType: 'bytes', type: 'bytes' },
268
+ { name: 'callbackFunction', internalType: 'bytes4', type: 'bytes4' },
269
+ { name: 'extraData', internalType: 'bytes', type: 'bytes' },
270
+ ],
271
+ name: 'OffchainLookup',
272
+ },
273
+ {
274
+ stateMutability: 'view',
275
+ type: 'function',
276
+ inputs: [{ name: 'name', internalType: 'string', type: 'string' }],
277
+ name: 'getAddress',
278
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
279
+ },
280
+ {
281
+ stateMutability: 'view',
282
+ type: 'function',
283
+ inputs: [
284
+ { name: 'result', internalType: 'bytes', type: 'bytes' },
285
+ { name: 'extraData', internalType: 'bytes', type: 'bytes' },
286
+ ],
287
+ name: 'getAddressWithProof',
288
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
289
+ },
290
+ {
291
+ stateMutability: 'pure',
292
+ type: 'function',
293
+ inputs: [
294
+ {
295
+ name: '_ethSignedMessageHash',
296
+ internalType: 'bytes32',
297
+ type: 'bytes32',
298
+ },
299
+ { name: '_signature', internalType: 'bytes', type: 'bytes' },
300
+ ],
301
+ name: 'recoverSigner',
302
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
303
+ },
304
+ {
305
+ stateMutability: 'pure',
306
+ type: 'function',
307
+ inputs: [{ name: 'sig', internalType: 'bytes', type: 'bytes' }],
308
+ name: 'splitSignature',
309
+ outputs: [
310
+ { name: 'r', internalType: 'bytes32', type: 'bytes32' },
311
+ { name: 's', internalType: 'bytes32', type: 'bytes32' },
312
+ { name: 'v', internalType: 'uint8', type: 'uint8' },
313
+ ],
314
+ },
315
+ {
316
+ stateMutability: 'view',
317
+ type: 'function',
318
+ inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
319
+ name: 'urls',
320
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
321
+ },
322
+ ];
323
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
324
+ // Payable
325
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
326
+ export const payableABI = [
327
+ {
328
+ stateMutability: 'payable',
329
+ type: 'function',
330
+ inputs: [],
331
+ name: 'pay',
332
+ outputs: [],
333
+ },
334
+ ];
335
+ //# sourceMappingURL=generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated.js","sourceRoot":"","sources":["../../_test/generated.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAE5D,sKAAsK;AACtK,iBAAiB;AACjB,sKAAsK;AAEtK,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B;QACE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;YAC1D,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE;SAC5D;QACD,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;KAC1E;CACO,CAAA;AAEV,sKAAsK;AACtK,YAAY;AACZ,sKAAsK;AAEtK,MAAM,CAAC,MAAM,YAAY,G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AO,EAAE;SACpD;KACF;IACD;QACE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAChE,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;KAChE;CACO,CAAA;AAEV,sKAAsK;AACtK,UAAU;AACV,sKAAsK;AAEtK,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB;QACE,eAAe,EAAE,SAAS;QAC1B,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,EAAE;KACZ;CACO,CAAA"}
@@ -3,10 +3,11 @@ import { generateMnemonic as generateMnemonic_ } from '@scure/bip39';
3
3
  * @description Generates a random mnemonic phrase with a given wordlist.
4
4
  *
5
5
  * @param wordlist The wordlist to use for generating the mnemonic phrase.
6
+ * @param strength mnemonic strength 128-256 bits
6
7
  *
7
8
  * @returns A randomly generated mnemonic phrase.
8
9
  */
9
- export function generateMnemonic(wordlist) {
10
- return generateMnemonic_(wordlist);
10
+ export function generateMnemonic(wordlist, strength) {
11
+ return generateMnemonic_(wordlist, strength);
11
12
  }
12
13
  //# sourceMappingURL=generateMnemonic.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateMnemonic.js","sourceRoot":"","sources":["../../accounts/generateMnemonic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAKpE;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAC,QAAkB;IACjD,OAAO,iBAAiB,CAAC,QAAQ,CAAC,CAAA;AACpC,CAAC"}
1
+ {"version":3,"file":"generateMnemonic.js","sourceRoot":"","sources":["../../accounts/generateMnemonic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAKpE;;;;;;;GAOG;AACH,MAAM,UAAU,gBAAgB,CAC9B,QAAkB,EAClB,QAAiB;IAEjB,OAAO,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;AAC9C,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const acala = /*#__PURE__*/ defineChain({
3
+ id: 787,
4
+ name: 'Acala',
5
+ network: 'acala',
6
+ nativeCurrency: {
7
+ name: 'Acala',
8
+ symbol: 'ACA',
9
+ decimals: 18,
10
+ },
11
+ rpcUrls: {
12
+ public: {
13
+ http: ['https://eth-rpc-acala.aca-api.network'],
14
+ webSocket: ['wss://eth-rpc-acala.aca-api.network'],
15
+ },
16
+ default: {
17
+ http: ['https://eth-rpc-acala.aca-api.network'],
18
+ webSocket: ['wss://eth-rpc-acala.aca-api.network'],
19
+ },
20
+ },
21
+ blockExplorers: {
22
+ default: {
23
+ name: 'Acala Blockscout',
24
+ url: 'https://blockscout.acala.network',
25
+ },
26
+ },
27
+ testnet: false,
28
+ });
29
+ //# sourceMappingURL=acala.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acala.js","sourceRoot":"","sources":["../../../chains/definitions/acala.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,WAAW,CAAC;IAC7C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,uCAAuC,CAAC;YAC/C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,kBAAkB;YACxB,GAAG,EAAE,kCAAkC;SACxC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
@@ -17,10 +17,8 @@ export const arbitrumSepolia = /*#__PURE__*/ defineChain({
17
17
  },
18
18
  },
19
19
  blockExplorers: {
20
- default: {
21
- name: 'Blockscout',
22
- url: 'https://sepolia-explorer.arbitrum.io',
23
- },
20
+ etherscan: { name: 'Arbiscan', url: 'https://sepolia.arbiscan.io' },
21
+ default: { name: 'Arbiscan', url: 'https://sepolia.arbiscan.io' },
24
22
  },
25
23
  contracts: {
26
24
  multicall3: {
@@ -1 +1 @@
1
- {"version":3,"file":"arbitrumSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/arbitrumSepolia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;IACvD,EAAE,EAAE,MAAO;IACX,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE;QACd,IAAI,EAAE,wBAAwB;QAC9B,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,sCAAsC,CAAC;YAC9C,SAAS,EAAE,CAAC,oCAAoC,CAAC;SAClD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,wCAAwC,CAAC;SACjD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,sCAAsC;SAC5C;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
1
+ {"version":3,"file":"arbitrumSepolia.js","sourceRoot":"","sources":["../../../chains/definitions/arbitrumSepolia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;IACvD,EAAE,EAAE,MAAO;IACX,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE;QACd,IAAI,EAAE,wBAAwB;QAC9B,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,sCAAsC,CAAC;YAC9C,SAAS,EAAE,CAAC,oCAAoC,CAAC;SAClD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,wCAAwC,CAAC;SACjD;KACF;IACD,cAAc,EAAE;QACd,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,6BAA6B,EAAE;QACnE,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,6BAA6B,EAAE;KAClE;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -0,0 +1,40 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const bahamut = /*#__PURE__*/ defineChain({
3
+ id: 5165,
4
+ network: 'bahamut',
5
+ name: 'Bahamut',
6
+ nativeCurrency: { name: 'Fasttoken', symbol: 'FTN', decimals: 18 },
7
+ rpcUrls: {
8
+ default: {
9
+ http: [
10
+ 'https://rpc1.bahamut.io',
11
+ 'https://bahamut.publicnode.com',
12
+ 'https://rpc2.bahamut.io',
13
+ ],
14
+ webSocket: [
15
+ 'wss://ws1.sahara.bahamutchain.com',
16
+ 'wss://bahamut.publicnode.com',
17
+ 'wss://ws2.sahara.bahamutchain.com',
18
+ ],
19
+ },
20
+ public: {
21
+ http: [
22
+ 'https://rpc1.bahamut.io',
23
+ 'https://bahamut.publicnode.com',
24
+ 'https://rpc2.bahamut.io',
25
+ ],
26
+ webSocket: [
27
+ 'wss://ws1.sahara.bahamutchain.com',
28
+ 'wss://bahamut.publicnode.com',
29
+ 'wss://ws2.sahara.bahamutchain.com',
30
+ ],
31
+ },
32
+ },
33
+ blockExplorers: {
34
+ default: {
35
+ name: 'Ftnscan',
36
+ url: 'https://www.ftnscan.com',
37
+ },
38
+ },
39
+ });
40
+ //# sourceMappingURL=bahamut.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bahamut.js","sourceRoot":"","sources":["../../../chains/definitions/bahamut.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,WAAW,CAAC;IAC/C,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,SAAS;IACf,cAAc,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE;gBACJ,yBAAyB;gBACzB,gCAAgC;gBAChC,yBAAyB;aAC1B;YACD,SAAS,EAAE;gBACT,mCAAmC;gBACnC,8BAA8B;gBAC9B,mCAAmC;aACpC;SACF;QACD,MAAM,EAAE;YACN,IAAI,EAAE;gBACJ,yBAAyB;gBACzB,gCAAgC;gBAChC,yBAAyB;aAC1B;YACD,SAAS,EAAE;gBACT,mCAAmC;gBACnC,8BAA8B;gBAC9B,mCAAmC;aACpC;SACF;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,yBAAyB;SAC/B;KACF;CACF,CAAC,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const bitTorrent = /*#__PURE__*/ defineChain({
3
+ id: 199,
4
+ name: 'BitTorrent',
5
+ network: 'bittorrent-chain-mainnet',
6
+ nativeCurrency: { name: 'BitTorrent', symbol: 'BTT', decimals: 18 },
7
+ rpcUrls: {
8
+ default: { http: ['https://rpc.bittorrentchain.io'] },
9
+ public: { http: ['https://rpc.bittorrentchain.io'] },
10
+ },
11
+ blockExplorers: {
12
+ etherscan: { name: 'Bttcscan', url: 'https://bttcscan.com' },
13
+ default: { name: 'Bttcscan', url: 'https://bttcscan.com' },
14
+ },
15
+ });
16
+ //# sourceMappingURL=bitTorrent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bitTorrent.js","sourceRoot":"","sources":["../../../chains/definitions/bitTorrent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC;IAClD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,0BAA0B;IACnC,cAAc,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnE,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,gCAAgC,CAAC,EAAE;QACrD,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,gCAAgC,CAAC,EAAE;KACrD;IACD,cAAc,EAAE;QACd,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,sBAAsB,EAAE;QAC5D,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,sBAAsB,EAAE;KAC3D;CACF,CAAC,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const bitTorrentTestnet = /*#__PURE__*/ defineChain({
3
+ id: 1028,
4
+ name: 'BitTorrent Chain Testnet',
5
+ network: 'bittorrent-chain-testnet',
6
+ nativeCurrency: { name: 'BitTorrent', symbol: 'BTT', decimals: 18 },
7
+ rpcUrls: {
8
+ default: { http: ['https://testrpc.bittorrentchain.io'] },
9
+ public: { http: ['https://testrpc.bittorrentchain.io'] },
10
+ },
11
+ blockExplorers: {
12
+ etherscan: { name: 'Bttcscan', url: 'https://testnet.bttcscan.com' },
13
+ default: { name: 'Bttcscan', url: 'https://testnet.bttcscan.com' },
14
+ },
15
+ testnet: true,
16
+ });
17
+ //# sourceMappingURL=bitTorrentTestnet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bitTorrentTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/bitTorrentTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,WAAW,CAAC;IACzD,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,0BAA0B;IACnC,cAAc,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnE,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,oCAAoC,CAAC,EAAE;QACzD,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,oCAAoC,CAAC,EAAE;KACzD;IACD,cAAc,EAAE;QACd,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,8BAA8B,EAAE;QACpE,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,8BAA8B,EAAE;KACnE;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const jbc = /*#__PURE__*/ defineChain({
3
+ id: 8899,
4
+ name: 'JIBCHAIN L1',
5
+ network: 'jbc',
6
+ nativeCurrency: { name: 'JBC', symbol: 'JBC', decimals: 18 },
7
+ rpcUrls: {
8
+ default: {
9
+ http: ['https://rpc-l1.jibchain.net'],
10
+ },
11
+ public: {
12
+ http: ['https://rpc-l1.jibchain.net'],
13
+ },
14
+ },
15
+ blockExplorers: {
16
+ default: {
17
+ name: 'Blockscout',
18
+ url: 'https://exp-l1.jibchain.net',
19
+ },
20
+ },
21
+ contracts: {
22
+ multicall3: {
23
+ address: '0xc0C8C486D1466C57Efe13C2bf000d4c56F47CBdC',
24
+ blockCreated: 2299048,
25
+ },
26
+ },
27
+ testnet: false,
28
+ });
29
+ //# sourceMappingURL=jbc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jbc.js","sourceRoot":"","sources":["../../../chains/definitions/jbc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC,WAAW,CAAC;IAC3C,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,KAAK;IACd,cAAc,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,6BAA6B,CAAC;SACtC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,6BAA6B;SACnC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { defineChain } from '../../utils/chain/defineChain.js';
2
+ export const karura = /*#__PURE__*/ defineChain({
3
+ id: 686,
4
+ name: 'Karura',
5
+ network: 'karura',
6
+ nativeCurrency: {
7
+ name: 'Karura',
8
+ symbol: 'KAR',
9
+ decimals: 18,
10
+ },
11
+ rpcUrls: {
12
+ public: {
13
+ http: ['https://eth-rpc-karura.aca-api.network'],
14
+ webSocket: ['wss://eth-rpc-karura.aca-api.network'],
15
+ },
16
+ default: {
17
+ http: ['https://eth-rpc-karura.aca-api.network'],
18
+ webSocket: ['wss://eth-rpc-karura.aca-api.network'],
19
+ },
20
+ },
21
+ blockExplorers: {
22
+ default: {
23
+ name: 'Karura Blockscout',
24
+ url: 'https://blockscout.karura.network',
25
+ },
26
+ },
27
+ testnet: false,
28
+ });
29
+ //# sourceMappingURL=karura.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"karura.js","sourceRoot":"","sources":["../../../chains/definitions/karura.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,QAAQ;IACjB,cAAc,EAAE;QACd,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,wCAAwC,CAAC;YAChD,SAAS,EAAE,CAAC,sCAAsC,CAAC;SACpD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,wCAAwC,CAAC;YAChD,SAAS,EAAE,CAAC,sCAAsC,CAAC;SACpD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,mBAAmB;YACzB,GAAG,EAAE,mCAAmC;SACzC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
@@ -8,7 +8,7 @@ export const klaytn = /*#__PURE__*/ defineChain({
8
8
  symbol: 'KLAY',
9
9
  },
10
10
  rpcUrls: {
11
- default: { http: ['https://cypress.fautor.app/archive'] },
11
+ default: { http: ['https://public-en-cypress.klaytn.net'] },
12
12
  },
13
13
  blockExplorers: {
14
14
  default: { name: 'KlaytnScope', url: 'https://scope.klaytn.com' },
@@ -1 +1 @@
1
- {"version":3,"file":"klaytn.js","sourceRoot":"","sources":["../../../chains/definitions/klaytn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,IAAK;IACT,IAAI,EAAE,QAAQ;IACd,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,oCAAoC,CAAC,EAAE;KAC1D;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,0BAA0B,EAAE;KAClE;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,QAAQ;SACvB;KACF;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"klaytn.js","sourceRoot":"","sources":["../../../chains/definitions/klaytn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,IAAK;IACT,IAAI,EAAE,QAAQ;IACd,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,sCAAsC,CAAC,EAAE;KAC5D;IACD,cAAc,EAAE;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,0BAA0B,EAAE;KAClE;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,QAAQ;SACvB;KACF;CACF,CAAC,CAAA"}