@curvefi/api 2.36.1 → 2.38.0

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.
@@ -0,0 +1,450 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_anycall",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "stateMutability": "nonpayable",
11
+ "type": "constructor"
12
+ },
13
+ {
14
+ "anonymous": false,
15
+ "inputs": [
16
+ {
17
+ "indexed": false,
18
+ "internalType": "uint256",
19
+ "name": "_eth_block_number",
20
+ "type": "uint256"
21
+ },
22
+ {
23
+ "indexed": false,
24
+ "internalType": "bytes32",
25
+ "name": "_eth_blockhash",
26
+ "type": "bytes32"
27
+ }
28
+ ],
29
+ "name": "SetBlockhash",
30
+ "type": "event"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": false,
37
+ "internalType": "address",
38
+ "name": "_user",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "indexed": false,
43
+ "internalType": "bytes32",
44
+ "name": "blockhash",
45
+ "type": "bytes32"
46
+ },
47
+ {
48
+ "indexed": false,
49
+ "internalType": "bytes32",
50
+ "name": "proofhash",
51
+ "type": "bytes32"
52
+ }
53
+ ],
54
+ "name": "SubmittedState",
55
+ "type": "event"
56
+ },
57
+ {
58
+ "anonymous": false,
59
+ "inputs": [
60
+ {
61
+ "indexed": false,
62
+ "internalType": "address",
63
+ "name": "_old_owner",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "indexed": false,
68
+ "internalType": "address",
69
+ "name": "_new_owner",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "TransferOwnership",
74
+ "type": "event"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "ANYCALL",
79
+ "outputs": [
80
+ {
81
+ "internalType": "address",
82
+ "name": "",
83
+ "type": "address"
84
+ }
85
+ ],
86
+ "stateMutability": "view",
87
+ "type": "function"
88
+ },
89
+ {
90
+ "inputs": [],
91
+ "name": "accept_transfer_ownership",
92
+ "outputs": [],
93
+ "stateMutability": "nonpayable",
94
+ "type": "function"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "address",
100
+ "name": "_user",
101
+ "type": "address"
102
+ },
103
+ {
104
+ "internalType": "uint256",
105
+ "name": "_timestamp",
106
+ "type": "uint256"
107
+ }
108
+ ],
109
+ "name": "balanceOf",
110
+ "outputs": [
111
+ {
112
+ "internalType": "uint256",
113
+ "name": "",
114
+ "type": "uint256"
115
+ }
116
+ ],
117
+ "stateMutability": "view",
118
+ "type": "function"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "address",
124
+ "name": "_user",
125
+ "type": "address"
126
+ }
127
+ ],
128
+ "name": "balanceOf",
129
+ "outputs": [
130
+ {
131
+ "internalType": "uint256",
132
+ "name": "",
133
+ "type": "uint256"
134
+ }
135
+ ],
136
+ "stateMutability": "view",
137
+ "type": "function"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "_future_owner",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "commit_transfer_ownership",
148
+ "outputs": [],
149
+ "stateMutability": "nonpayable",
150
+ "type": "function"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "epoch",
155
+ "outputs": [
156
+ {
157
+ "internalType": "uint256",
158
+ "name": "",
159
+ "type": "uint256"
160
+ }
161
+ ],
162
+ "stateMutability": "view",
163
+ "type": "function"
164
+ },
165
+ {
166
+ "inputs": [],
167
+ "name": "future_owner",
168
+ "outputs": [
169
+ {
170
+ "internalType": "address",
171
+ "name": "",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "stateMutability": "view",
176
+ "type": "function"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "_eth_block_number",
183
+ "type": "uint256"
184
+ }
185
+ ],
186
+ "name": "get_eth_blockhash",
187
+ "outputs": [
188
+ {
189
+ "internalType": "bytes32",
190
+ "name": "eth_blockhash",
191
+ "type": "bytes32"
192
+ }
193
+ ],
194
+ "stateMutability": "view",
195
+ "type": "function"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "last_eth_block_number",
200
+ "outputs": [
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "stateMutability": "view",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "name": "locked",
219
+ "outputs": [
220
+ {
221
+ "internalType": "int128",
222
+ "name": "amount",
223
+ "type": "int128"
224
+ },
225
+ {
226
+ "internalType": "uint256",
227
+ "name": "end",
228
+ "type": "uint256"
229
+ }
230
+ ],
231
+ "stateMutability": "view",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [],
236
+ "name": "owner",
237
+ "outputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "stateMutability": "view",
245
+ "type": "function"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "uint256",
251
+ "name": "",
252
+ "type": "uint256"
253
+ }
254
+ ],
255
+ "name": "point_history",
256
+ "outputs": [
257
+ {
258
+ "internalType": "int128",
259
+ "name": "bias",
260
+ "type": "int128"
261
+ },
262
+ {
263
+ "internalType": "int128",
264
+ "name": "slope",
265
+ "type": "int128"
266
+ },
267
+ {
268
+ "internalType": "uint256",
269
+ "name": "ts",
270
+ "type": "uint256"
271
+ },
272
+ {
273
+ "internalType": "uint256",
274
+ "name": "blk",
275
+ "type": "uint256"
276
+ }
277
+ ],
278
+ "stateMutability": "view",
279
+ "type": "function"
280
+ },
281
+ {
282
+ "inputs": [
283
+ {
284
+ "internalType": "uint256",
285
+ "name": "_eth_block_number",
286
+ "type": "uint256"
287
+ },
288
+ {
289
+ "internalType": "bytes32",
290
+ "name": "__eth_blockhash",
291
+ "type": "bytes32"
292
+ }
293
+ ],
294
+ "name": "set_eth_blockhash",
295
+ "outputs": [],
296
+ "stateMutability": "nonpayable",
297
+ "type": "function"
298
+ },
299
+ {
300
+ "inputs": [
301
+ {
302
+ "internalType": "uint256",
303
+ "name": "",
304
+ "type": "uint256"
305
+ }
306
+ ],
307
+ "name": "slope_changes",
308
+ "outputs": [
309
+ {
310
+ "internalType": "int128",
311
+ "name": "",
312
+ "type": "int128"
313
+ }
314
+ ],
315
+ "stateMutability": "view",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "inputs": [
320
+ {
321
+ "internalType": "address",
322
+ "name": "_user",
323
+ "type": "address"
324
+ },
325
+ {
326
+ "internalType": "bytes",
327
+ "name": "_block_header_rlp",
328
+ "type": "bytes"
329
+ },
330
+ {
331
+ "internalType": "bytes",
332
+ "name": "_proof_rlp",
333
+ "type": "bytes"
334
+ }
335
+ ],
336
+ "name": "submit_state",
337
+ "outputs": [],
338
+ "stateMutability": "nonpayable",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "bytes32",
345
+ "name": "",
346
+ "type": "bytes32"
347
+ }
348
+ ],
349
+ "name": "submitted_hashes",
350
+ "outputs": [
351
+ {
352
+ "internalType": "bool",
353
+ "name": "",
354
+ "type": "bool"
355
+ }
356
+ ],
357
+ "stateMutability": "view",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [],
362
+ "name": "totalSupply",
363
+ "outputs": [
364
+ {
365
+ "internalType": "uint256",
366
+ "name": "",
367
+ "type": "uint256"
368
+ }
369
+ ],
370
+ "stateMutability": "view",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "inputs": [
375
+ {
376
+ "internalType": "uint256",
377
+ "name": "_timestamp",
378
+ "type": "uint256"
379
+ }
380
+ ],
381
+ "name": "totalSupply",
382
+ "outputs": [
383
+ {
384
+ "internalType": "uint256",
385
+ "name": "",
386
+ "type": "uint256"
387
+ }
388
+ ],
389
+ "stateMutability": "view",
390
+ "type": "function"
391
+ },
392
+ {
393
+ "inputs": [
394
+ {
395
+ "internalType": "address",
396
+ "name": "",
397
+ "type": "address"
398
+ }
399
+ ],
400
+ "name": "user_point_epoch",
401
+ "outputs": [
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "",
405
+ "type": "uint256"
406
+ }
407
+ ],
408
+ "stateMutability": "view",
409
+ "type": "function"
410
+ },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "internalType": "address",
415
+ "name": "",
416
+ "type": "address"
417
+ },
418
+ {
419
+ "internalType": "uint256",
420
+ "name": "",
421
+ "type": "uint256"
422
+ }
423
+ ],
424
+ "name": "user_point_history",
425
+ "outputs": [
426
+ {
427
+ "internalType": "int128",
428
+ "name": "bias",
429
+ "type": "int128"
430
+ },
431
+ {
432
+ "internalType": "int128",
433
+ "name": "slope",
434
+ "type": "int128"
435
+ },
436
+ {
437
+ "internalType": "uint256",
438
+ "name": "ts",
439
+ "type": "uint256"
440
+ },
441
+ {
442
+ "internalType": "uint256",
443
+ "name": "blk",
444
+ "type": "uint256"
445
+ }
446
+ ],
447
+ "stateMutability": "view",
448
+ "type": "function"
449
+ }
450
+ ]
@@ -0,0 +1,76 @@
1
+ [
2
+ {
3
+ "stateMutability": "nonpayable",
4
+ "type": "function",
5
+ "name": "send_blockhash",
6
+ "inputs": [
7
+ {
8
+ "name": "_block_number",
9
+ "type": "uint256"
10
+ },
11
+ {
12
+ "name": "_chain_id",
13
+ "type": "uint256"
14
+ }
15
+ ],
16
+ "outputs": [],
17
+ "gas": "54147"
18
+ },
19
+ {
20
+ "stateMutability": "view",
21
+ "type": "function",
22
+ "name": "block_number_bounds",
23
+ "inputs": [],
24
+ "outputs": [
25
+ {
26
+ "name": "",
27
+ "type": "uint256[2]"
28
+ }
29
+ ],
30
+ "gas": "740"
31
+ },
32
+ {
33
+ "stateMutability": "view",
34
+ "type": "function",
35
+ "name": "generate_eth_get_proof_params",
36
+ "inputs": [
37
+ {
38
+ "name": "_user",
39
+ "type": "address"
40
+ }
41
+ ],
42
+ "outputs": [
43
+ {
44
+ "name": "",
45
+ "type": "address"
46
+ },
47
+ {
48
+ "name": "",
49
+ "type": "uint256[20]"
50
+ },
51
+ {
52
+ "name": "",
53
+ "type": "uint256"
54
+ }
55
+ ],
56
+ "gas": "21089"
57
+ },
58
+ {
59
+ "stateMutability": "view",
60
+ "type": "function",
61
+ "name": "get_last_block_number_sent",
62
+ "inputs": [
63
+ {
64
+ "name": "_chain_id",
65
+ "type": "uint256"
66
+ }
67
+ ],
68
+ "outputs": [
69
+ {
70
+ "name": "",
71
+ "type": "uint256"
72
+ }
73
+ ],
74
+ "gas": "2747"
75
+ }
76
+ ]
@@ -13,6 +13,7 @@ export var ALIASES_ETHEREUM = lowerCaseValues({
13
13
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
14
14
  "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
15
15
  "registry_exchange": "",
16
+ "factory_admin": "",
16
17
  });
17
18
  export var ALIASES_POLYGON = lowerCaseValues({
18
19
  "crv": "0x172370d5cd63279efa6d502dab29171933a610af",
@@ -28,6 +29,7 @@ export var ALIASES_POLYGON = lowerCaseValues({
28
29
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
29
30
  "crypto_factory": "0xE5De15A9C9bBedb4F5EC13B131E61245f2983A69",
30
31
  "registry_exchange": "",
32
+ "factory_admin": "",
31
33
  });
32
34
  export var ALIASES_FANTOM = lowerCaseValues({
33
35
  "crv": "0x1E4F97b9f9F913c46F1632781732927B9019C68b",
@@ -43,6 +45,7 @@ export var ALIASES_FANTOM = lowerCaseValues({
43
45
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
44
46
  "crypto_factory": "0xE5De15A9C9bBedb4F5EC13B131E61245f2983A69",
45
47
  "registry_exchange": "",
48
+ "factory_admin": "",
46
49
  });
47
50
  export var ALIASES_AVALANCHE = lowerCaseValues({
48
51
  "crv": "0x47536F17F4fF30e64A96a7555826b8f9e66ec468",
@@ -58,6 +61,7 @@ export var ALIASES_AVALANCHE = lowerCaseValues({
58
61
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
59
62
  "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
60
63
  "registry_exchange": "",
64
+ "factory_admin": "",
61
65
  });
62
66
  export var ALIASES_ARBITRUM = lowerCaseValues({
63
67
  "crv": "0x11cDb42B0EB46D95f990BeDD4695A6e3fA034978",
@@ -73,6 +77,7 @@ export var ALIASES_ARBITRUM = lowerCaseValues({
73
77
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
74
78
  "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
75
79
  "registry_exchange": "",
80
+ "factory_admin": "",
76
81
  });
77
82
  export var ALIASES_OPTIMISM = lowerCaseValues({
78
83
  "crv": "0x0994206dfE8De6Ec6920FF4D779B0d950605Fb53",
@@ -88,6 +93,7 @@ export var ALIASES_OPTIMISM = lowerCaseValues({
88
93
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
89
94
  "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
90
95
  "registry_exchange": "",
96
+ "factory_admin": "",
91
97
  });
92
98
  export var ALIASES_XDAI = lowerCaseValues({
93
99
  "crv": "0x712b3d230f3c1c19db860d80619288b1f0bdd0bd",
@@ -103,6 +109,7 @@ export var ALIASES_XDAI = lowerCaseValues({
103
109
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
104
110
  "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
105
111
  "registry_exchange": "",
112
+ "factory_admin": "",
106
113
  });
107
114
  export var ALIASES_MOONBEAM = lowerCaseValues({
108
115
  "crv": "0x7C598c96D02398d89FbCb9d41Eab3DF0C16F227D",
@@ -118,6 +125,7 @@ export var ALIASES_MOONBEAM = lowerCaseValues({
118
125
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
119
126
  "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
120
127
  "registry_exchange": "",
128
+ "factory_admin": "",
121
129
  });
122
130
  export var ALIASES_AURORA = lowerCaseValues({
123
131
  "crv": "0x64D5BaF5ac030e2b7c435aDD967f787ae94D0205",
@@ -133,6 +141,7 @@ export var ALIASES_AURORA = lowerCaseValues({
133
141
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
134
142
  "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
135
143
  "registry_exchange": "",
144
+ "factory_admin": "",
136
145
  });
137
146
  export var ALIASES_KAVA = lowerCaseValues({
138
147
  "crv": "0x64D5BaF5ac030e2b7c435aDD967f787ae94D0205",
@@ -148,6 +157,7 @@ export var ALIASES_KAVA = lowerCaseValues({
148
157
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
149
158
  "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
150
159
  "registry_exchange": "",
160
+ "factory_admin": "",
151
161
  });
152
162
  export var ALIASES_CELO = lowerCaseValues({
153
163
  "crv": "0x0a7432cF27F1aE3825c313F3C81e7D3efD7639aB",
@@ -163,4 +173,5 @@ export var ALIASES_CELO = lowerCaseValues({
163
173
  "crvusd_factory": '0x4F8846Ae9380B90d2E71D5e3D042dff3E7ebb40d',
164
174
  "crypto_factory": '0xF18056Bbd320E96A48e3Fbf8bC061322531aac99',
165
175
  "registry_exchange": "",
176
+ "factory_admin": "",
166
177
  });
@@ -54,6 +54,7 @@ export var COINS_ETHEREUM = lowerCaseValues({
54
54
  weth: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
55
55
  frxeth: "0x5E8422345238F34275888049021821E8E08CAa1f",
56
56
  sfrxeth: "0xac3E018457B222d93114458476f3E3416Abbe38F",
57
+ wbeth: "0xa2E3356610840701BDf5611a53974510Ae27E2e1",
57
58
  // --- BTC ---
58
59
  sbtccrv: "0x075b1bb99792c9E1041bA13afEf80C91a1e70fB3",
59
60
  hbtc: "0x0316EB71485b0Ab14103307bf65a021042c6d380",
@@ -6,6 +6,7 @@ export var COINS_OPTIMISM = lowerCaseValues({
6
6
  'usdc': '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
7
7
  'usdt': '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58',
8
8
  'susd': '0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9',
9
+ 'mim': '0xb153fb3d196a8eb25522705560ac152eeec57901',
9
10
  '3crv': '0x1337BedC9D22ecbe766dF105c9623922A27963EC',
10
11
  // --- ETH ---
11
12
  'eth': '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee',