@curvefi/api 2.36.1 → 2.37.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,657 @@
1
+ [
2
+ {
3
+ "name": "CommitAdmins",
4
+ "inputs": [
5
+ {
6
+ "name": "ownership_admin",
7
+ "type": "address",
8
+ "indexed": false
9
+ },
10
+ {
11
+ "name": "parameter_admin",
12
+ "type": "address",
13
+ "indexed": false
14
+ },
15
+ {
16
+ "name": "emergency_admin",
17
+ "type": "address",
18
+ "indexed": false
19
+ }
20
+ ],
21
+ "anonymous": false,
22
+ "type": "event"
23
+ },
24
+ {
25
+ "name": "ApplyAdmins",
26
+ "inputs": [
27
+ {
28
+ "name": "ownership_admin",
29
+ "type": "address",
30
+ "indexed": false
31
+ },
32
+ {
33
+ "name": "parameter_admin",
34
+ "type": "address",
35
+ "indexed": false
36
+ },
37
+ {
38
+ "name": "emergency_admin",
39
+ "type": "address",
40
+ "indexed": false
41
+ }
42
+ ],
43
+ "anonymous": false,
44
+ "type": "event"
45
+ },
46
+ {
47
+ "stateMutability": "nonpayable",
48
+ "type": "constructor",
49
+ "inputs": [
50
+ {
51
+ "name": "_ownership_admin",
52
+ "type": "address"
53
+ },
54
+ {
55
+ "name": "_parameter_admin",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "name": "_emergency_admin",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "name": "_factory",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "name": "_old_manager_proxy",
68
+ "type": "address"
69
+ }
70
+ ],
71
+ "outputs": []
72
+ },
73
+ {
74
+ "stateMutability": "nonpayable",
75
+ "type": "function",
76
+ "name": "deploy_plain_pool",
77
+ "inputs": [
78
+ {
79
+ "name": "_name",
80
+ "type": "string"
81
+ },
82
+ {
83
+ "name": "_symbol",
84
+ "type": "string"
85
+ },
86
+ {
87
+ "name": "_coins",
88
+ "type": "address[4]"
89
+ },
90
+ {
91
+ "name": "_A",
92
+ "type": "uint256"
93
+ },
94
+ {
95
+ "name": "_fee",
96
+ "type": "uint256"
97
+ },
98
+ {
99
+ "name": "_asset_type",
100
+ "type": "uint256"
101
+ },
102
+ {
103
+ "name": "_implementation_idx",
104
+ "type": "uint256"
105
+ },
106
+ {
107
+ "name": "_ma_exp_time",
108
+ "type": "uint256"
109
+ }
110
+ ],
111
+ "outputs": [
112
+ {
113
+ "name": "",
114
+ "type": "address"
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ "stateMutability": "nonpayable",
120
+ "type": "function",
121
+ "name": "deploy_plain_pool_and_set_oracle",
122
+ "inputs": [
123
+ {
124
+ "name": "_name",
125
+ "type": "string"
126
+ },
127
+ {
128
+ "name": "_symbol",
129
+ "type": "string"
130
+ },
131
+ {
132
+ "name": "_coins",
133
+ "type": "address[4]"
134
+ },
135
+ {
136
+ "name": "_A",
137
+ "type": "uint256"
138
+ },
139
+ {
140
+ "name": "_fee",
141
+ "type": "uint256"
142
+ },
143
+ {
144
+ "name": "_asset_type",
145
+ "type": "uint256"
146
+ },
147
+ {
148
+ "name": "_implementation_idx",
149
+ "type": "uint256"
150
+ },
151
+ {
152
+ "name": "_ma_exp_time",
153
+ "type": "uint256"
154
+ },
155
+ {
156
+ "name": "_oracle_method_id",
157
+ "type": "bytes4"
158
+ },
159
+ {
160
+ "name": "_oracle_address",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "outputs": [
165
+ {
166
+ "name": "",
167
+ "type": "address"
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ "stateMutability": "nonpayable",
173
+ "type": "function",
174
+ "name": "deploy_gauge",
175
+ "inputs": [
176
+ {
177
+ "name": "_pool",
178
+ "type": "address"
179
+ }
180
+ ],
181
+ "outputs": [
182
+ {
183
+ "name": "",
184
+ "type": "address"
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "stateMutability": "nonpayable",
190
+ "type": "function",
191
+ "name": "deploy_gauge",
192
+ "inputs": [
193
+ {
194
+ "name": "_pool",
195
+ "type": "address"
196
+ },
197
+ {
198
+ "name": "_manager",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "outputs": [
203
+ {
204
+ "name": "",
205
+ "type": "address"
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "stateMutability": "nonpayable",
211
+ "type": "function",
212
+ "name": "commit_set_admins",
213
+ "inputs": [
214
+ {
215
+ "name": "_o_admin",
216
+ "type": "address"
217
+ },
218
+ {
219
+ "name": "_p_admin",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "name": "_e_admin",
224
+ "type": "address"
225
+ }
226
+ ],
227
+ "outputs": []
228
+ },
229
+ {
230
+ "stateMutability": "nonpayable",
231
+ "type": "function",
232
+ "name": "apply_set_admins",
233
+ "inputs": [],
234
+ "outputs": []
235
+ },
236
+ {
237
+ "stateMutability": "nonpayable",
238
+ "type": "function",
239
+ "name": "set_ma_exp_time",
240
+ "inputs": [
241
+ {
242
+ "name": "_pool",
243
+ "type": "address"
244
+ },
245
+ {
246
+ "name": "_ma_exp_time",
247
+ "type": "uint256"
248
+ }
249
+ ],
250
+ "outputs": []
251
+ },
252
+ {
253
+ "stateMutability": "nonpayable",
254
+ "type": "function",
255
+ "name": "commit_new_fee",
256
+ "inputs": [
257
+ {
258
+ "name": "_pool",
259
+ "type": "address"
260
+ },
261
+ {
262
+ "name": "_new_fee",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "outputs": []
267
+ },
268
+ {
269
+ "stateMutability": "nonpayable",
270
+ "type": "function",
271
+ "name": "apply_new_fee",
272
+ "inputs": [
273
+ {
274
+ "name": "_pool",
275
+ "type": "address"
276
+ }
277
+ ],
278
+ "outputs": []
279
+ },
280
+ {
281
+ "stateMutability": "nonpayable",
282
+ "type": "function",
283
+ "name": "ramp_A",
284
+ "inputs": [
285
+ {
286
+ "name": "_pool",
287
+ "type": "address"
288
+ },
289
+ {
290
+ "name": "_future_A",
291
+ "type": "uint256"
292
+ },
293
+ {
294
+ "name": "_future_time",
295
+ "type": "uint256"
296
+ }
297
+ ],
298
+ "outputs": []
299
+ },
300
+ {
301
+ "stateMutability": "nonpayable",
302
+ "type": "function",
303
+ "name": "stop_ramp_A",
304
+ "inputs": [
305
+ {
306
+ "name": "_pool",
307
+ "type": "address"
308
+ }
309
+ ],
310
+ "outputs": []
311
+ },
312
+ {
313
+ "stateMutability": "nonpayable",
314
+ "type": "function",
315
+ "name": "add_base_pool",
316
+ "inputs": [
317
+ {
318
+ "name": "_target",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "name": "_base_pool",
323
+ "type": "address"
324
+ },
325
+ {
326
+ "name": "_fee_receiver",
327
+ "type": "address"
328
+ },
329
+ {
330
+ "name": "_asset_type",
331
+ "type": "uint256"
332
+ },
333
+ {
334
+ "name": "_implementations",
335
+ "type": "address[10]"
336
+ }
337
+ ],
338
+ "outputs": []
339
+ },
340
+ {
341
+ "stateMutability": "nonpayable",
342
+ "type": "function",
343
+ "name": "set_metapool_implementations",
344
+ "inputs": [
345
+ {
346
+ "name": "_target",
347
+ "type": "address"
348
+ },
349
+ {
350
+ "name": "_base_pool",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "name": "_implementations",
355
+ "type": "address[10]"
356
+ }
357
+ ],
358
+ "outputs": []
359
+ },
360
+ {
361
+ "stateMutability": "nonpayable",
362
+ "type": "function",
363
+ "name": "set_plain_implementations",
364
+ "inputs": [
365
+ {
366
+ "name": "_target",
367
+ "type": "address"
368
+ },
369
+ {
370
+ "name": "_n_coins",
371
+ "type": "uint256"
372
+ },
373
+ {
374
+ "name": "_implementations",
375
+ "type": "address[10]"
376
+ }
377
+ ],
378
+ "outputs": []
379
+ },
380
+ {
381
+ "stateMutability": "nonpayable",
382
+ "type": "function",
383
+ "name": "set_gauge_implementation",
384
+ "inputs": [
385
+ {
386
+ "name": "_target",
387
+ "type": "address"
388
+ },
389
+ {
390
+ "name": "_gauge_implementation",
391
+ "type": "address"
392
+ }
393
+ ],
394
+ "outputs": []
395
+ },
396
+ {
397
+ "stateMutability": "nonpayable",
398
+ "type": "function",
399
+ "name": "set_fee_receiver",
400
+ "inputs": [
401
+ {
402
+ "name": "_target",
403
+ "type": "address"
404
+ },
405
+ {
406
+ "name": "_base_pool",
407
+ "type": "address"
408
+ },
409
+ {
410
+ "name": "_fee_receiver",
411
+ "type": "address"
412
+ }
413
+ ],
414
+ "outputs": []
415
+ },
416
+ {
417
+ "stateMutability": "nonpayable",
418
+ "type": "function",
419
+ "name": "set_factory_manager",
420
+ "inputs": [
421
+ {
422
+ "name": "_target",
423
+ "type": "address"
424
+ },
425
+ {
426
+ "name": "_manager",
427
+ "type": "address"
428
+ }
429
+ ],
430
+ "outputs": []
431
+ },
432
+ {
433
+ "stateMutability": "nonpayable",
434
+ "type": "function",
435
+ "name": "set_gauge_manager",
436
+ "inputs": [
437
+ {
438
+ "name": "_gauge",
439
+ "type": "address"
440
+ },
441
+ {
442
+ "name": "_manager",
443
+ "type": "address"
444
+ }
445
+ ],
446
+ "outputs": []
447
+ },
448
+ {
449
+ "stateMutability": "nonpayable",
450
+ "type": "function",
451
+ "name": "commit_transfer_ownership",
452
+ "inputs": [
453
+ {
454
+ "name": "_target",
455
+ "type": "address"
456
+ },
457
+ {
458
+ "name": "_new_admin",
459
+ "type": "address"
460
+ }
461
+ ],
462
+ "outputs": []
463
+ },
464
+ {
465
+ "stateMutability": "nonpayable",
466
+ "type": "function",
467
+ "name": "accept_transfer_ownership",
468
+ "inputs": [
469
+ {
470
+ "name": "_target",
471
+ "type": "address"
472
+ }
473
+ ],
474
+ "outputs": []
475
+ },
476
+ {
477
+ "stateMutability": "nonpayable",
478
+ "type": "function",
479
+ "name": "set_killed",
480
+ "inputs": [
481
+ {
482
+ "name": "_gauge",
483
+ "type": "address"
484
+ },
485
+ {
486
+ "name": "_is_killed",
487
+ "type": "bool"
488
+ }
489
+ ],
490
+ "outputs": []
491
+ },
492
+ {
493
+ "stateMutability": "nonpayable",
494
+ "type": "function",
495
+ "name": "add_reward",
496
+ "inputs": [
497
+ {
498
+ "name": "_gauge",
499
+ "type": "address"
500
+ },
501
+ {
502
+ "name": "_reward_token",
503
+ "type": "address"
504
+ },
505
+ {
506
+ "name": "_distributor",
507
+ "type": "address"
508
+ }
509
+ ],
510
+ "outputs": []
511
+ },
512
+ {
513
+ "stateMutability": "nonpayable",
514
+ "type": "function",
515
+ "name": "set_reward_distributor",
516
+ "inputs": [
517
+ {
518
+ "name": "_gauge",
519
+ "type": "address"
520
+ },
521
+ {
522
+ "name": "_reward_token",
523
+ "type": "address"
524
+ },
525
+ {
526
+ "name": "_distributor",
527
+ "type": "address"
528
+ }
529
+ ],
530
+ "outputs": []
531
+ },
532
+ {
533
+ "stateMutability": "nonpayable",
534
+ "type": "function",
535
+ "name": "migrate_gauge_manager",
536
+ "inputs": [
537
+ {
538
+ "name": "_gauge",
539
+ "type": "address"
540
+ }
541
+ ],
542
+ "outputs": []
543
+ },
544
+ {
545
+ "stateMutability": "view",
546
+ "type": "function",
547
+ "name": "FACTORY",
548
+ "inputs": [],
549
+ "outputs": [
550
+ {
551
+ "name": "",
552
+ "type": "address"
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "stateMutability": "view",
558
+ "type": "function",
559
+ "name": "OLD_MANAGER_PROXY",
560
+ "inputs": [],
561
+ "outputs": [
562
+ {
563
+ "name": "",
564
+ "type": "address"
565
+ }
566
+ ]
567
+ },
568
+ {
569
+ "stateMutability": "view",
570
+ "type": "function",
571
+ "name": "ownership_admin",
572
+ "inputs": [],
573
+ "outputs": [
574
+ {
575
+ "name": "",
576
+ "type": "address"
577
+ }
578
+ ]
579
+ },
580
+ {
581
+ "stateMutability": "view",
582
+ "type": "function",
583
+ "name": "parameter_admin",
584
+ "inputs": [],
585
+ "outputs": [
586
+ {
587
+ "name": "",
588
+ "type": "address"
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "stateMutability": "view",
594
+ "type": "function",
595
+ "name": "emergency_admin",
596
+ "inputs": [],
597
+ "outputs": [
598
+ {
599
+ "name": "",
600
+ "type": "address"
601
+ }
602
+ ]
603
+ },
604
+ {
605
+ "stateMutability": "view",
606
+ "type": "function",
607
+ "name": "future_ownership_admin",
608
+ "inputs": [],
609
+ "outputs": [
610
+ {
611
+ "name": "",
612
+ "type": "address"
613
+ }
614
+ ]
615
+ },
616
+ {
617
+ "stateMutability": "view",
618
+ "type": "function",
619
+ "name": "future_parameter_admin",
620
+ "inputs": [],
621
+ "outputs": [
622
+ {
623
+ "name": "",
624
+ "type": "address"
625
+ }
626
+ ]
627
+ },
628
+ {
629
+ "stateMutability": "view",
630
+ "type": "function",
631
+ "name": "future_emergency_admin",
632
+ "inputs": [],
633
+ "outputs": [
634
+ {
635
+ "name": "",
636
+ "type": "address"
637
+ }
638
+ ]
639
+ },
640
+ {
641
+ "stateMutability": "view",
642
+ "type": "function",
643
+ "name": "gauge_manager",
644
+ "inputs": [
645
+ {
646
+ "name": "arg0",
647
+ "type": "address"
648
+ }
649
+ ],
650
+ "outputs": [
651
+ {
652
+ "name": "",
653
+ "type": "address"
654
+ }
655
+ ]
656
+ }
657
+ ]