@rhinestone/shared-configs 1.0.0 → 1.0.1

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.
@@ -6,25 +6,29 @@
6
6
  "symbol": "ETH",
7
7
  "address": "0x0000000000000000000000000000000000000000",
8
8
  "decimals": 18,
9
- "balanceSlot": null
9
+ "balanceSlot": null,
10
+ "approvalSlot": null
10
11
  },
11
12
  {
12
13
  "symbol": "USDC",
13
14
  "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
14
15
  "decimals": 6,
15
- "balanceSlot": 9
16
+ "balanceSlot": 9,
17
+ "approvalSlot": 10
16
18
  },
17
19
  {
18
20
  "symbol": "USDT",
19
21
  "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
20
22
  "decimals": 6,
21
- "balanceSlot": 2
23
+ "balanceSlot": 2,
24
+ "approvalSlot": 5
22
25
  },
23
26
  {
24
27
  "symbol": "WETH",
25
28
  "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
26
29
  "decimals": 18,
27
- "balanceSlot": 3
30
+ "balanceSlot": 3,
31
+ "approvalSlot": 4
28
32
  }
29
33
  ]
30
34
  },
@@ -35,25 +39,29 @@
35
39
  "symbol": "ETH",
36
40
  "address": "0x0000000000000000000000000000000000000000",
37
41
  "decimals": 18,
38
- "balanceSlot": null
42
+ "balanceSlot": null,
43
+ "approvalSlot": null
39
44
  },
40
45
  {
41
46
  "symbol": "USDC",
42
47
  "address": "0x0b2c639c533813f4aa9d7837caf62653d097ff85",
43
48
  "decimals": 6,
44
- "balanceSlot": 9
49
+ "balanceSlot": 9,
50
+ "approvalSlot": 10
45
51
  },
46
52
  {
47
53
  "symbol": "USDT",
48
54
  "address": "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58",
49
55
  "decimals": 6,
50
- "balanceSlot": 0
56
+ "balanceSlot": 0,
57
+ "approvalSlot": 1
51
58
  },
52
59
  {
53
60
  "symbol": "WETH",
54
61
  "address": "0x4200000000000000000000000000000000000006",
55
62
  "decimals": 18,
56
- "balanceSlot": 3
63
+ "balanceSlot": 3,
64
+ "approvalSlot": 4
57
65
  }
58
66
  ]
59
67
  },
@@ -64,25 +72,29 @@
64
72
  "symbol": "ETH",
65
73
  "address": "0x0000000000000000000000000000000000000000",
66
74
  "decimals": 18,
67
- "balanceSlot": null
75
+ "balanceSlot": null,
76
+ "approvalSlot": null
68
77
  },
69
78
  {
70
79
  "symbol": "USDC",
71
80
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
72
81
  "decimals": 6,
73
- "balanceSlot": 9
82
+ "balanceSlot": 9,
83
+ "approvalSlot": 10
74
84
  },
75
85
  {
76
86
  "symbol": "USDT",
77
87
  "address": "0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2",
78
88
  "decimals": 6,
79
- "balanceSlot": 51
89
+ "balanceSlot": 51,
90
+ "approvalSlot": 1
80
91
  },
81
92
  {
82
93
  "symbol": "WETH",
83
94
  "address": "0x4200000000000000000000000000000000000006",
84
95
  "decimals": 18,
85
- "balanceSlot": 3
96
+ "balanceSlot": 3,
97
+ "approvalSlot": 4
86
98
  }
87
99
  ]
88
100
  },
@@ -93,25 +105,29 @@
93
105
  "symbol": "ETH",
94
106
  "address": "0x0000000000000000000000000000000000000000",
95
107
  "decimals": 18,
96
- "balanceSlot": null
108
+ "balanceSlot": null,
109
+ "approvalSlot": null
97
110
  },
98
111
  {
99
112
  "symbol": "USDC",
100
113
  "address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
101
114
  "decimals": 6,
102
- "balanceSlot": 9
115
+ "balanceSlot": 9,
116
+ "approvalSlot": 10
103
117
  },
104
118
  {
105
119
  "symbol": "USDT",
106
120
  "address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
107
121
  "decimals": 6,
108
- "balanceSlot": 51
122
+ "balanceSlot": 51,
123
+ "approvalSlot": 52
109
124
  },
110
125
  {
111
126
  "symbol": "WETH",
112
127
  "address": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
113
128
  "decimals": 18,
114
- "balanceSlot": 51
129
+ "balanceSlot": 51,
130
+ "approvalSlot": 52
115
131
  }
116
132
  ]
117
133
  },
@@ -122,19 +138,22 @@
122
138
  "symbol": "USDC",
123
139
  "address": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
124
140
  "decimals": 6,
125
- "balanceSlot": 9
141
+ "balanceSlot": 9,
142
+ "approvalSlot": 10
126
143
  },
127
144
  {
128
145
  "symbol": "USDT",
129
146
  "address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
130
147
  "decimals": 6,
131
- "balanceSlot": 0
148
+ "balanceSlot": 0,
149
+ "approvalSlot": 1
132
150
  },
133
151
  {
134
152
  "symbol": "WETH",
135
153
  "address": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
136
154
  "decimals": 18,
137
- "balanceSlot": 3
155
+ "balanceSlot": 3,
156
+ "approvalSlot": 1
138
157
  }
139
158
  ]
140
159
  },
@@ -145,25 +164,29 @@
145
164
  "symbol": "ETH",
146
165
  "address": "0x0000000000000000000000000000000000000000",
147
166
  "decimals": 18,
148
- "balanceSlot": null
167
+ "balanceSlot": null,
168
+ "approvalSlot": null
149
169
  },
150
170
  {
151
171
  "symbol": "USDC",
152
172
  "address": "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",
153
173
  "decimals": 6,
154
- "balanceSlot": 9
174
+ "balanceSlot": 9,
175
+ "approvalSlot": 10
155
176
  },
156
177
  {
157
178
  "symbol": "USDT",
158
179
  "address": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
159
180
  "decimals": 6,
160
- "balanceSlot": 2
181
+ "balanceSlot": 2,
182
+ "approvalSlot": 52
161
183
  },
162
184
  {
163
185
  "symbol": "WETH",
164
186
  "address": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
165
187
  "decimals": 18,
166
- "balanceSlot": 3
188
+ "balanceSlot": 3,
189
+ "approvalSlot": 4
167
190
  }
168
191
  ]
169
192
  },
@@ -200,19 +223,22 @@
200
223
  "symbol": "ETH",
201
224
  "address": "0x0000000000000000000000000000000000000000",
202
225
  "decimals": 18,
203
- "balanceSlot": null
226
+ "balanceSlot": null,
227
+ "approvalSlot": null
204
228
  },
205
229
  {
206
230
  "symbol": "USDC",
207
231
  "address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
208
232
  "decimals": 6,
209
- "balanceSlot": 9
233
+ "balanceSlot": 9,
234
+ "approvalSlot": 10
210
235
  },
211
236
  {
212
237
  "symbol": "WETH",
213
238
  "address": "0x4200000000000000000000000000000000000006",
214
239
  "decimals": 18,
215
- "balanceSlot": 3
240
+ "balanceSlot": 3,
241
+ "approvalSlot": 4
216
242
  }
217
243
  ]
218
244
  },
@@ -223,19 +249,22 @@
223
249
  "symbol": "ETH",
224
250
  "address": "0x0000000000000000000000000000000000000000",
225
251
  "decimals": 18,
226
- "balanceSlot": null
252
+ "balanceSlot": null,
253
+ "approvalSlot": null
227
254
  },
228
255
  {
229
256
  "symbol": "USDC",
230
257
  "address": "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d",
231
258
  "decimals": 6,
232
- "balanceSlot": 9
259
+ "balanceSlot": 9,
260
+ "approvalSlot": 10
233
261
  },
234
262
  {
235
263
  "symbol": "WETH",
236
264
  "address": "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
237
265
  "decimals": 18,
238
- "balanceSlot": 51
266
+ "balanceSlot": 51,
267
+ "approvalSlot": 52
239
268
  }
240
269
  ]
241
270
  },
@@ -246,19 +275,22 @@
246
275
  "symbol": "ETH",
247
276
  "address": "0x0000000000000000000000000000000000000000",
248
277
  "decimals": 18,
249
- "balanceSlot": null
278
+ "balanceSlot": null,
279
+ "approvalSlot": null
250
280
  },
251
281
  {
252
282
  "symbol": "USDC",
253
283
  "address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
254
284
  "decimals": 6,
255
- "balanceSlot": 9
285
+ "balanceSlot": 9,
286
+ "approvalSlot": 10
256
287
  },
257
288
  {
258
289
  "symbol": "WETH",
259
290
  "address": "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
260
291
  "decimals": 18,
261
- "balanceSlot": 3
292
+ "balanceSlot": 3,
293
+ "approvalSlot": 4
262
294
  }
263
295
  ]
264
296
  },
@@ -269,19 +301,22 @@
269
301
  "symbol": "ETH",
270
302
  "address": "0x0000000000000000000000000000000000000000",
271
303
  "decimals": 18,
272
- "balanceSlot": null
304
+ "balanceSlot": null,
305
+ "approvalSlot": null
273
306
  },
274
307
  {
275
308
  "symbol": "USDC",
276
309
  "address": "0x5fd84259d66Cd46123540766Be93DFE6D43130D7",
277
310
  "decimals": 6,
278
- "balanceSlot": 9
311
+ "balanceSlot": 9,
312
+ "approvalSlot": 10
279
313
  },
280
314
  {
281
315
  "symbol": "WETH",
282
316
  "address": "0x4200000000000000000000000000000000000006",
283
317
  "decimals": 18,
284
- "balanceSlot": 3
318
+ "balanceSlot": 3,
319
+ "approvalSlot": 4
285
320
  }
286
321
  ]
287
322
  }
package/index.ts CHANGED
@@ -41,6 +41,7 @@ interface TokenEntry {
41
41
  address: Address
42
42
  decimals: number
43
43
  balanceSlot: number | null
44
+ approvalSlot: number | null
44
45
  }
45
46
 
46
47
  interface ChainEntry {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/shared-configs",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Reusable configuration files for Rhinestone services",
5
5
  "author": {
6
6
  "name": "Rhinestone",