@rhinestone/sdk 1.0.0-alpha.15 → 1.0.0-alpha.16
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/dist/src/accounts/custom.d.ts +18 -0
- package/dist/src/accounts/custom.d.ts.map +1 -0
- package/dist/src/accounts/custom.js +121 -0
- package/dist/src/accounts/custom.test.d.ts +2 -0
- package/dist/src/accounts/custom.test.d.ts.map +1 -0
- package/dist/src/accounts/custom.test.js +64 -0
- package/dist/src/accounts/index.d.ts +1 -1
- package/dist/src/accounts/index.d.ts.map +1 -1
- package/dist/src/accounts/index.js +30 -0
- package/dist/src/accounts/json-rpc/index.d.ts +5 -0
- package/dist/src/accounts/json-rpc/index.d.ts.map +1 -0
- package/dist/src/accounts/json-rpc/index.js +16 -0
- package/dist/src/accounts/json-rpc/index.test.d.ts +2 -0
- package/dist/src/accounts/json-rpc/index.test.d.ts.map +1 -0
- package/dist/src/accounts/json-rpc/index.test.js +16 -0
- package/dist/src/accounts/json-rpc/providers.d.ts +4 -0
- package/dist/src/accounts/json-rpc/providers.d.ts.map +1 -0
- package/dist/src/accounts/json-rpc/providers.js +14 -0
- package/dist/src/accounts/json-rpc/providers.test.d.ts +2 -0
- package/dist/src/accounts/json-rpc/providers.test.d.ts.map +1 -0
- package/dist/src/accounts/json-rpc/providers.test.js +15 -0
- package/dist/src/accounts/safe.d.ts.map +1 -1
- package/dist/src/accounts/safe.js +2 -0
- package/dist/src/accounts/signing/common.d.ts.map +1 -1
- package/dist/src/accounts/signing/common.js +12 -3
- package/dist/src/accounts/utils.d.ts +3 -3
- package/dist/src/accounts/utils.d.ts.map +1 -1
- package/dist/src/accounts/utils.js +3 -40
- package/dist/src/actions/index.d.ts +1 -1
- package/dist/src/actions/index.d.ts.map +1 -1
- package/dist/src/actions/index.js +6 -3
- package/dist/src/execution/index.d.ts.map +1 -1
- package/dist/src/execution/index.js +0 -3
- package/dist/src/execution/utils.d.ts.map +1 -1
- package/dist/src/execution/utils.js +5 -5
- package/dist/src/modules/read.d.ts.map +1 -1
- package/dist/src/modules/read.js +1 -0
- package/dist/src/modules/validators/core.d.ts +3 -2
- package/dist/src/modules/validators/core.d.ts.map +1 -1
- package/dist/src/modules/validators/core.js +9 -4
- package/dist/src/orchestrator/registry.d.ts +1 -23
- package/dist/src/orchestrator/registry.d.ts.map +1 -1
- package/dist/src/orchestrator/registry.js +22 -24
- package/dist/src/orchestrator/registry.test.js +4 -4
- package/dist/src/orchestrator/types.d.ts +1 -6
- package/dist/src/orchestrator/types.d.ts.map +1 -1
- package/dist/src/types.d.ts +20 -4
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/orchestrator/registry.json +0 -365
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"1": {
|
|
3
|
-
"name": "Ethereum",
|
|
4
|
-
"contracts": {
|
|
5
|
-
"spokepool": "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5",
|
|
6
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
7
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
8
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
9
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
10
|
-
},
|
|
11
|
-
"tokens": [
|
|
12
|
-
{
|
|
13
|
-
"symbol": "ETH",
|
|
14
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
15
|
-
"decimals": 18,
|
|
16
|
-
"balanceSlot": null
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"symbol": "USDC",
|
|
20
|
-
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
21
|
-
"decimals": 6,
|
|
22
|
-
"balanceSlot": 9
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"symbol": "USDT",
|
|
26
|
-
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
|
|
27
|
-
"decimals": 6,
|
|
28
|
-
"balanceSlot": 2
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"symbol": "WETH",
|
|
32
|
-
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
33
|
-
"decimals": 18,
|
|
34
|
-
"balanceSlot": 3
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"10": {
|
|
39
|
-
"name": "Optimism",
|
|
40
|
-
"contracts": {
|
|
41
|
-
"spokepool": "0x20038b572633E45F3aB5b1a46CB85D0D241b80D8",
|
|
42
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
43
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
44
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
45
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
46
|
-
},
|
|
47
|
-
"tokens": [
|
|
48
|
-
{
|
|
49
|
-
"symbol": "ETH",
|
|
50
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
51
|
-
"decimals": 18,
|
|
52
|
-
"balanceSlot": null
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"symbol": "USDC",
|
|
56
|
-
"address": "0x0b2c639c533813f4aa9d7837caf62653d097ff85",
|
|
57
|
-
"decimals": 6,
|
|
58
|
-
"balanceSlot": 9
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"symbol": "USDT",
|
|
62
|
-
"address": "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58",
|
|
63
|
-
"decimals": 6,
|
|
64
|
-
"balanceSlot": 0
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"symbol": "WETH",
|
|
68
|
-
"address": "0x4200000000000000000000000000000000000006",
|
|
69
|
-
"decimals": 18,
|
|
70
|
-
"balanceSlot": 3
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"8453": {
|
|
75
|
-
"name": "Base",
|
|
76
|
-
"contracts": {
|
|
77
|
-
"spokepool": "0x20038b572633E45F3aB5b1a46CB85D0D241b80D8",
|
|
78
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
79
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
80
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
81
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
82
|
-
},
|
|
83
|
-
"tokens": [
|
|
84
|
-
{
|
|
85
|
-
"symbol": "ETH",
|
|
86
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
87
|
-
"decimals": 18,
|
|
88
|
-
"balanceSlot": null
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"symbol": "USDC",
|
|
92
|
-
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
93
|
-
"decimals": 6,
|
|
94
|
-
"balanceSlot": 9
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"symbol": "USDT",
|
|
98
|
-
"address": "0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2",
|
|
99
|
-
"decimals": 6,
|
|
100
|
-
"balanceSlot": 51
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"symbol": "WETH",
|
|
104
|
-
"address": "0x4200000000000000000000000000000000000006",
|
|
105
|
-
"decimals": 18,
|
|
106
|
-
"balanceSlot": 3
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
},
|
|
110
|
-
"42161": {
|
|
111
|
-
"name": "Arbitrum",
|
|
112
|
-
"contracts": {
|
|
113
|
-
"spokepool": "0x35F36B0ebfFe06Dc29e3d11ae8b335d3Af4D014A",
|
|
114
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
115
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
116
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
117
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
118
|
-
},
|
|
119
|
-
"tokens": [
|
|
120
|
-
{
|
|
121
|
-
"symbol": "ETH",
|
|
122
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
123
|
-
"decimals": 18,
|
|
124
|
-
"balanceSlot": null
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"symbol": "USDC",
|
|
128
|
-
"address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
|
|
129
|
-
"decimals": 6,
|
|
130
|
-
"balanceSlot": 9
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"symbol": "USDT",
|
|
134
|
-
"address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
|
|
135
|
-
"decimals": 6,
|
|
136
|
-
"balanceSlot": 51
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"symbol": "WETH",
|
|
140
|
-
"address": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
|
|
141
|
-
"decimals": 18,
|
|
142
|
-
"balanceSlot": 51
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
},
|
|
146
|
-
"137": {
|
|
147
|
-
"name": "Polygon",
|
|
148
|
-
"contracts": {
|
|
149
|
-
"spokepool": "0x35F36B0ebfFe06Dc29e3d11ae8b335d3Af4D014A",
|
|
150
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
151
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
152
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
153
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
154
|
-
},
|
|
155
|
-
"tokens": [
|
|
156
|
-
{
|
|
157
|
-
"symbol": "USDC",
|
|
158
|
-
"address": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
|
|
159
|
-
"decimals": 6,
|
|
160
|
-
"balanceSlot": 9
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"symbol": "USDT",
|
|
164
|
-
"address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
|
|
165
|
-
"decimals": 6,
|
|
166
|
-
"balanceSlot": 0
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"symbol": "WETH",
|
|
170
|
-
"address": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
|
|
171
|
-
"decimals": 18,
|
|
172
|
-
"balanceSlot": 3
|
|
173
|
-
}
|
|
174
|
-
]
|
|
175
|
-
},
|
|
176
|
-
"324": {
|
|
177
|
-
"name": "ZkSync Era",
|
|
178
|
-
"contracts": {
|
|
179
|
-
"spokepool": "0x35F36B0ebfFe06Dc29e3d11ae8b335d3Af4D014A",
|
|
180
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
181
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
182
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
183
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
184
|
-
},
|
|
185
|
-
"tokens": [
|
|
186
|
-
{
|
|
187
|
-
"symbol": "ETH",
|
|
188
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
189
|
-
"decimals": 18,
|
|
190
|
-
"balanceSlot": null
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"symbol": "USDC",
|
|
194
|
-
"address": "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",
|
|
195
|
-
"decimals": 6,
|
|
196
|
-
"balanceSlot": 9
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"symbol": "USDT",
|
|
200
|
-
"address": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
|
|
201
|
-
"decimals": 6,
|
|
202
|
-
"balanceSlot": 2
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"symbol": "WETH",
|
|
206
|
-
"address": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
|
|
207
|
-
"decimals": 18,
|
|
208
|
-
"balanceSlot": 3
|
|
209
|
-
}
|
|
210
|
-
]
|
|
211
|
-
},
|
|
212
|
-
"1868": {
|
|
213
|
-
"name": "Soneium",
|
|
214
|
-
"contracts": {
|
|
215
|
-
"spokepool": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96",
|
|
216
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
217
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
218
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
219
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
220
|
-
},
|
|
221
|
-
"tokens": [
|
|
222
|
-
{
|
|
223
|
-
"symbol": "ETH",
|
|
224
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
225
|
-
"decimals": 18,
|
|
226
|
-
"balanceSlot": null,
|
|
227
|
-
"approvalSlot": null
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"symbol": "USDC",
|
|
231
|
-
"address": "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369",
|
|
232
|
-
"decimals": 6,
|
|
233
|
-
"balanceSlot": 9,
|
|
234
|
-
"approvalSlot": 10
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"symbol": "WETH",
|
|
238
|
-
"address": "0x4200000000000000000000000000000000000006",
|
|
239
|
-
"decimals": 18,
|
|
240
|
-
"balanceSlot": 3,
|
|
241
|
-
"approvalSlot": 4
|
|
242
|
-
}
|
|
243
|
-
]
|
|
244
|
-
},
|
|
245
|
-
"84532": {
|
|
246
|
-
"name": "Base-sepolia",
|
|
247
|
-
"contracts": {
|
|
248
|
-
"spokepool": "0x20038b572633E45F3aB5b1a46CB85D0D241b80D8",
|
|
249
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
250
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
251
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
252
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
253
|
-
},
|
|
254
|
-
"tokens": [
|
|
255
|
-
{
|
|
256
|
-
"symbol": "ETH",
|
|
257
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
258
|
-
"decimals": 18,
|
|
259
|
-
"balanceSlot": null
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"symbol": "USDC",
|
|
263
|
-
"address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
|
|
264
|
-
"decimals": 6,
|
|
265
|
-
"balanceSlot": 9
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"symbol": "WETH",
|
|
269
|
-
"address": "0x4200000000000000000000000000000000000006",
|
|
270
|
-
"decimals": 18,
|
|
271
|
-
"balanceSlot": 3
|
|
272
|
-
}
|
|
273
|
-
]
|
|
274
|
-
},
|
|
275
|
-
"421614": {
|
|
276
|
-
"name": "Arbitrum-sepolia",
|
|
277
|
-
"contracts": {
|
|
278
|
-
"spokepool": "0xAE6B1f4aA87e0F73DADb10B9CA4F8531BfaFAD19",
|
|
279
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
280
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
281
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
282
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
283
|
-
},
|
|
284
|
-
"tokens": [
|
|
285
|
-
{
|
|
286
|
-
"symbol": "ETH",
|
|
287
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
288
|
-
"decimals": 18,
|
|
289
|
-
"balanceSlot": null
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"symbol": "USDC",
|
|
293
|
-
"address": "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d",
|
|
294
|
-
"decimals": 6,
|
|
295
|
-
"balanceSlot": 9
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"symbol": "WETH",
|
|
299
|
-
"address": "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
|
|
300
|
-
"decimals": 18,
|
|
301
|
-
"balanceSlot": 51
|
|
302
|
-
}
|
|
303
|
-
]
|
|
304
|
-
},
|
|
305
|
-
"11155111": {
|
|
306
|
-
"name": "Ethereum-sepolia",
|
|
307
|
-
"contracts": {
|
|
308
|
-
"spokepool": "0x2171A3C4592d5Ae06E0257728aB4E88E575f4cF3",
|
|
309
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
310
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
311
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
312
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
313
|
-
},
|
|
314
|
-
"tokens": [
|
|
315
|
-
{
|
|
316
|
-
"symbol": "ETH",
|
|
317
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
318
|
-
"decimals": 18,
|
|
319
|
-
"balanceSlot": null
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"symbol": "USDC",
|
|
323
|
-
"address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
|
324
|
-
"decimals": 6,
|
|
325
|
-
"balanceSlot": 9
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"symbol": "WETH",
|
|
329
|
-
"address": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
|
|
330
|
-
"decimals": 18,
|
|
331
|
-
"balanceSlot": 3
|
|
332
|
-
}
|
|
333
|
-
]
|
|
334
|
-
},
|
|
335
|
-
"11155420": {
|
|
336
|
-
"name": "Optimism-sepolia",
|
|
337
|
-
"contracts": {
|
|
338
|
-
"spokepool": "0x20038b572633E45F3aB5b1a46CB85D0D241b80D8",
|
|
339
|
-
"hook": "0x0000000000f6Ed8Be424d673c63eeFF8b9267420",
|
|
340
|
-
"originModule": "0x0000000000AFc904aE9860D9c4B96D7c529c58b8",
|
|
341
|
-
"targetModule": "0x0000000000E5a37279A001301A837a91b5de1D5E",
|
|
342
|
-
"sameChainModule": "0x000000000043ff16d5776c7F0f65Ec485C17Ca04"
|
|
343
|
-
},
|
|
344
|
-
"tokens": [
|
|
345
|
-
{
|
|
346
|
-
"symbol": "ETH",
|
|
347
|
-
"address": "0x0000000000000000000000000000000000000000",
|
|
348
|
-
"decimals": 18,
|
|
349
|
-
"balanceSlot": null
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"symbol": "USDC",
|
|
353
|
-
"address": "0x5fd84259d66Cd46123540766Be93DFE6D43130D7",
|
|
354
|
-
"decimals": 6,
|
|
355
|
-
"balanceSlot": 9
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"symbol": "WETH",
|
|
359
|
-
"address": "0x4200000000000000000000000000000000000006",
|
|
360
|
-
"decimals": 18,
|
|
361
|
-
"balanceSlot": 3
|
|
362
|
-
}
|
|
363
|
-
]
|
|
364
|
-
}
|
|
365
|
-
}
|