@ripe-finance/sdk 1.14.2 → 1.15.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.
- package/dist/contracts/AuctionHouse.js +1 -1
- package/dist/contracts/BondRoom.js +1 -1
- package/dist/contracts/CreditEngine.d.ts +32 -0
- package/dist/contracts/CreditEngine.d.ts.map +1 -1
- package/dist/contracts/CreditEngine.js +41 -1
- package/dist/contracts/Deleverage.js +1 -1
- package/dist/contracts/Endaoment.d.ts +230 -1138
- package/dist/contracts/Endaoment.d.ts.map +1 -1
- package/dist/contracts/Endaoment.js +216 -1445
- package/dist/contracts/EndaomentFunds.d.ts +241 -0
- package/dist/contracts/EndaomentFunds.d.ts.map +1 -0
- package/dist/contracts/EndaomentFunds.js +278 -0
- package/dist/contracts/EndaomentPSM.d.ts +1229 -0
- package/dist/contracts/EndaomentPSM.d.ts.map +1 -0
- package/dist/contracts/EndaomentPSM.js +1538 -0
- package/dist/contracts/Lootbox.d.ts +184 -0
- package/dist/contracts/Lootbox.d.ts.map +1 -1
- package/dist/contracts/Lootbox.js +232 -1
- package/dist/contracts/PriceDesk.js +1 -1
- package/dist/contracts/PythPrices.d.ts +60 -8
- package/dist/contracts/PythPrices.d.ts.map +1 -1
- package/dist/contracts/PythPrices.js +77 -9
- package/dist/contracts/StorkPrices.d.ts +8 -8
- package/dist/contracts/StorkPrices.d.ts.map +1 -1
- package/dist/contracts/StorkPrices.js +9 -9
- package/dist/contracts/SwitchboardAlpha.d.ts +112 -0
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +145 -1
- package/dist/contracts/SwitchboardCharlie.d.ts +133 -1760
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +129 -2217
- package/dist/contracts/SwitchboardEcho.d.ts +3296 -0
- package/dist/contracts/SwitchboardEcho.d.ts.map +1 -0
- package/dist/contracts/SwitchboardEcho.js +4184 -0
- package/dist/contracts/index.d.ts +3 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +3 -0
- package/dist/contracts/sdk.d.ts +6 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +6 -0
- package/dist/index.d.ts +28 -37
- package/dist/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -176,225 +176,6 @@ export const abi = [
|
|
|
176
176
|
anonymous: false,
|
|
177
177
|
type: 'event',
|
|
178
178
|
},
|
|
179
|
-
{
|
|
180
|
-
name: 'PendingEndaoTransferAction',
|
|
181
|
-
inputs: [
|
|
182
|
-
{
|
|
183
|
-
name: 'asset',
|
|
184
|
-
type: 'address',
|
|
185
|
-
indexed: true,
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
name: 'amount',
|
|
189
|
-
type: 'uint256',
|
|
190
|
-
indexed: false,
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
name: 'confirmationBlock',
|
|
194
|
-
type: 'uint256',
|
|
195
|
-
indexed: false,
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
name: 'actionId',
|
|
199
|
-
type: 'uint256',
|
|
200
|
-
indexed: false,
|
|
201
|
-
},
|
|
202
|
-
],
|
|
203
|
-
anonymous: false,
|
|
204
|
-
type: 'event',
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
name: 'PendingEndaoSwapAction',
|
|
208
|
-
inputs: [
|
|
209
|
-
{
|
|
210
|
-
name: 'numSwapInstructions',
|
|
211
|
-
type: 'uint256',
|
|
212
|
-
indexed: false,
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
name: 'confirmationBlock',
|
|
216
|
-
type: 'uint256',
|
|
217
|
-
indexed: false,
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
name: 'actionId',
|
|
221
|
-
type: 'uint256',
|
|
222
|
-
indexed: false,
|
|
223
|
-
},
|
|
224
|
-
],
|
|
225
|
-
anonymous: false,
|
|
226
|
-
type: 'event',
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
name: 'PendingEndaoAddLiquidityAction',
|
|
230
|
-
inputs: [
|
|
231
|
-
{
|
|
232
|
-
name: 'legoId',
|
|
233
|
-
type: 'uint256',
|
|
234
|
-
indexed: false,
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
name: 'pool',
|
|
238
|
-
type: 'address',
|
|
239
|
-
indexed: true,
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
name: 'tokenA',
|
|
243
|
-
type: 'address',
|
|
244
|
-
indexed: true,
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
name: 'tokenB',
|
|
248
|
-
type: 'address',
|
|
249
|
-
indexed: true,
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
name: 'confirmationBlock',
|
|
253
|
-
type: 'uint256',
|
|
254
|
-
indexed: false,
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
name: 'actionId',
|
|
258
|
-
type: 'uint256',
|
|
259
|
-
indexed: false,
|
|
260
|
-
},
|
|
261
|
-
],
|
|
262
|
-
anonymous: false,
|
|
263
|
-
type: 'event',
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
name: 'PendingEndaoRemoveLiquidityAction',
|
|
267
|
-
inputs: [
|
|
268
|
-
{
|
|
269
|
-
name: 'legoId',
|
|
270
|
-
type: 'uint256',
|
|
271
|
-
indexed: false,
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
name: 'pool',
|
|
275
|
-
type: 'address',
|
|
276
|
-
indexed: true,
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
name: 'tokenA',
|
|
280
|
-
type: 'address',
|
|
281
|
-
indexed: true,
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
name: 'tokenB',
|
|
285
|
-
type: 'address',
|
|
286
|
-
indexed: true,
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
name: 'confirmationBlock',
|
|
290
|
-
type: 'uint256',
|
|
291
|
-
indexed: false,
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
name: 'actionId',
|
|
295
|
-
type: 'uint256',
|
|
296
|
-
indexed: false,
|
|
297
|
-
},
|
|
298
|
-
],
|
|
299
|
-
anonymous: false,
|
|
300
|
-
type: 'event',
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
name: 'PendingEndaoPartnerMintAction',
|
|
304
|
-
inputs: [
|
|
305
|
-
{
|
|
306
|
-
name: 'partner',
|
|
307
|
-
type: 'address',
|
|
308
|
-
indexed: true,
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
name: 'asset',
|
|
312
|
-
type: 'address',
|
|
313
|
-
indexed: true,
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
name: 'amount',
|
|
317
|
-
type: 'uint256',
|
|
318
|
-
indexed: false,
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
name: 'confirmationBlock',
|
|
322
|
-
type: 'uint256',
|
|
323
|
-
indexed: false,
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
name: 'actionId',
|
|
327
|
-
type: 'uint256',
|
|
328
|
-
indexed: false,
|
|
329
|
-
},
|
|
330
|
-
],
|
|
331
|
-
anonymous: false,
|
|
332
|
-
type: 'event',
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
name: 'PendingEndaoPartnerPoolAction',
|
|
336
|
-
inputs: [
|
|
337
|
-
{
|
|
338
|
-
name: 'legoId',
|
|
339
|
-
type: 'uint256',
|
|
340
|
-
indexed: false,
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
name: 'pool',
|
|
344
|
-
type: 'address',
|
|
345
|
-
indexed: true,
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
name: 'partner',
|
|
349
|
-
type: 'address',
|
|
350
|
-
indexed: true,
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
name: 'asset',
|
|
354
|
-
type: 'address',
|
|
355
|
-
indexed: true,
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
name: 'confirmationBlock',
|
|
359
|
-
type: 'uint256',
|
|
360
|
-
indexed: false,
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
name: 'actionId',
|
|
364
|
-
type: 'uint256',
|
|
365
|
-
indexed: false,
|
|
366
|
-
},
|
|
367
|
-
],
|
|
368
|
-
anonymous: false,
|
|
369
|
-
type: 'event',
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
name: 'PendingEndaoRepayAction',
|
|
373
|
-
inputs: [
|
|
374
|
-
{
|
|
375
|
-
name: 'pool',
|
|
376
|
-
type: 'address',
|
|
377
|
-
indexed: true,
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
name: 'amount',
|
|
381
|
-
type: 'uint256',
|
|
382
|
-
indexed: false,
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
name: 'confirmationBlock',
|
|
386
|
-
type: 'uint256',
|
|
387
|
-
indexed: false,
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
name: 'actionId',
|
|
391
|
-
type: 'uint256',
|
|
392
|
-
indexed: false,
|
|
393
|
-
},
|
|
394
|
-
],
|
|
395
|
-
anonymous: false,
|
|
396
|
-
type: 'event',
|
|
397
|
-
},
|
|
398
179
|
{
|
|
399
180
|
name: 'PendingTrainingWheelsChange',
|
|
400
181
|
inputs: [
|
|
@@ -417,38 +198,6 @@ export const abi = [
|
|
|
417
198
|
anonymous: false,
|
|
418
199
|
type: 'event',
|
|
419
200
|
},
|
|
420
|
-
{
|
|
421
|
-
name: 'PendingEndaoRecoverNftAction',
|
|
422
|
-
inputs: [
|
|
423
|
-
{
|
|
424
|
-
name: 'collection',
|
|
425
|
-
type: 'address',
|
|
426
|
-
indexed: true,
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
name: 'nftTokenId',
|
|
430
|
-
type: 'uint256',
|
|
431
|
-
indexed: false,
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
name: 'recipient',
|
|
435
|
-
type: 'address',
|
|
436
|
-
indexed: true,
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
name: 'confirmationBlock',
|
|
440
|
-
type: 'uint256',
|
|
441
|
-
indexed: false,
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
name: 'actionId',
|
|
445
|
-
type: 'uint256',
|
|
446
|
-
indexed: false,
|
|
447
|
-
},
|
|
448
|
-
],
|
|
449
|
-
anonymous: false,
|
|
450
|
-
type: 'event',
|
|
451
|
-
},
|
|
452
201
|
{
|
|
453
202
|
name: 'PauseExecuted',
|
|
454
203
|
inputs: [
|
|
@@ -834,111 +583,61 @@ export const abi = [
|
|
|
834
583
|
type: 'event',
|
|
835
584
|
},
|
|
836
585
|
{
|
|
837
|
-
name: '
|
|
586
|
+
name: 'TrainingWheelsSet',
|
|
838
587
|
inputs: [
|
|
839
588
|
{
|
|
840
|
-
name: '
|
|
841
|
-
type: '
|
|
842
|
-
indexed:
|
|
589
|
+
name: 'trainingWheels',
|
|
590
|
+
type: 'address',
|
|
591
|
+
indexed: true,
|
|
843
592
|
},
|
|
593
|
+
],
|
|
594
|
+
anonymous: false,
|
|
595
|
+
type: 'event',
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
name: 'TrainingWheelsAccessSet',
|
|
599
|
+
inputs: [
|
|
844
600
|
{
|
|
845
|
-
name: '
|
|
601
|
+
name: 'trainingWheels',
|
|
846
602
|
type: 'address',
|
|
847
603
|
indexed: true,
|
|
848
604
|
},
|
|
849
605
|
{
|
|
850
|
-
name: '
|
|
606
|
+
name: 'user',
|
|
851
607
|
type: 'address',
|
|
852
608
|
indexed: true,
|
|
853
609
|
},
|
|
854
610
|
{
|
|
855
|
-
name: '
|
|
856
|
-
type: '
|
|
611
|
+
name: 'isAllowed',
|
|
612
|
+
type: 'bool',
|
|
857
613
|
indexed: false,
|
|
858
614
|
},
|
|
859
|
-
{
|
|
860
|
-
name: 'caller',
|
|
861
|
-
type: 'address',
|
|
862
|
-
indexed: true,
|
|
863
|
-
},
|
|
864
615
|
],
|
|
865
616
|
anonymous: false,
|
|
866
617
|
type: 'event',
|
|
867
618
|
},
|
|
868
619
|
{
|
|
869
|
-
name: '
|
|
620
|
+
name: 'UnderscoreRewardsDistributed',
|
|
870
621
|
inputs: [
|
|
871
|
-
{
|
|
872
|
-
name: 'legoId',
|
|
873
|
-
type: 'uint256',
|
|
874
|
-
indexed: false,
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
name: 'asset',
|
|
878
|
-
type: 'address',
|
|
879
|
-
indexed: true,
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
name: 'vaultAddr',
|
|
883
|
-
type: 'address',
|
|
884
|
-
indexed: true,
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
name: 'withdrawAmount',
|
|
888
|
-
type: 'uint256',
|
|
889
|
-
indexed: false,
|
|
890
|
-
},
|
|
891
622
|
{
|
|
892
623
|
name: 'caller',
|
|
893
624
|
type: 'address',
|
|
894
625
|
indexed: true,
|
|
895
626
|
},
|
|
896
|
-
],
|
|
897
|
-
anonymous: false,
|
|
898
|
-
type: 'event',
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
name: 'EndaomentReblanacePerformed',
|
|
902
|
-
inputs: [
|
|
903
|
-
{
|
|
904
|
-
name: 'fromLegoId',
|
|
905
|
-
type: 'uint256',
|
|
906
|
-
indexed: false,
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
name: 'fromAsset',
|
|
910
|
-
type: 'address',
|
|
911
|
-
indexed: true,
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
name: 'fromVaultAddr',
|
|
915
|
-
type: 'address',
|
|
916
|
-
indexed: false,
|
|
917
|
-
},
|
|
918
627
|
{
|
|
919
|
-
name: '
|
|
920
|
-
type: '
|
|
628
|
+
name: 'success',
|
|
629
|
+
type: 'bool',
|
|
921
630
|
indexed: false,
|
|
922
631
|
},
|
|
923
|
-
{
|
|
924
|
-
name: 'toVaultAddr',
|
|
925
|
-
type: 'address',
|
|
926
|
-
indexed: true,
|
|
927
|
-
},
|
|
928
|
-
{
|
|
929
|
-
name: 'caller',
|
|
930
|
-
type: 'address',
|
|
931
|
-
indexed: true,
|
|
932
|
-
},
|
|
933
632
|
],
|
|
934
633
|
anonymous: false,
|
|
935
634
|
type: 'event',
|
|
936
635
|
},
|
|
937
636
|
{
|
|
938
|
-
name: '
|
|
637
|
+
name: 'UnderscoreSendIntervalSet',
|
|
939
638
|
inputs: [
|
|
940
639
|
{
|
|
941
|
-
name: '
|
|
640
|
+
name: 'interval',
|
|
942
641
|
type: 'uint256',
|
|
943
642
|
indexed: false,
|
|
944
643
|
},
|
|
@@ -952,7 +651,7 @@ export const abi = [
|
|
|
952
651
|
type: 'event',
|
|
953
652
|
},
|
|
954
653
|
{
|
|
955
|
-
name: '
|
|
654
|
+
name: 'UndyDepositRewardsAmountSet',
|
|
956
655
|
inputs: [
|
|
957
656
|
{
|
|
958
657
|
name: 'amount',
|
|
@@ -969,25 +668,10 @@ export const abi = [
|
|
|
969
668
|
type: 'event',
|
|
970
669
|
},
|
|
971
670
|
{
|
|
972
|
-
name: '
|
|
671
|
+
name: 'UndyYieldBonusAmountSet',
|
|
973
672
|
inputs: [
|
|
974
673
|
{
|
|
975
|
-
name: '
|
|
976
|
-
type: 'uint256',
|
|
977
|
-
indexed: false,
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
name: 'rewardToken',
|
|
981
|
-
type: 'address',
|
|
982
|
-
indexed: true,
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
name: 'rewardAmount',
|
|
986
|
-
type: 'uint256',
|
|
987
|
-
indexed: false,
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
name: 'usdValue',
|
|
674
|
+
name: 'amount',
|
|
991
675
|
type: 'uint256',
|
|
992
676
|
indexed: false,
|
|
993
677
|
},
|
|
@@ -1001,10 +685,10 @@ export const abi = [
|
|
|
1001
685
|
type: 'event',
|
|
1002
686
|
},
|
|
1003
687
|
{
|
|
1004
|
-
name: '
|
|
688
|
+
name: 'HasUnderscoreRewardsSet',
|
|
1005
689
|
inputs: [
|
|
1006
690
|
{
|
|
1007
|
-
name: '
|
|
691
|
+
name: 'hasRewards',
|
|
1008
692
|
type: 'bool',
|
|
1009
693
|
indexed: false,
|
|
1010
694
|
},
|
|
@@ -1018,209 +702,65 @@ export const abi = [
|
|
|
1018
702
|
type: 'event',
|
|
1019
703
|
},
|
|
1020
704
|
{
|
|
1021
|
-
name: '
|
|
705
|
+
name: 'PendingUnderscoreSendIntervalAction',
|
|
1022
706
|
inputs: [
|
|
1023
707
|
{
|
|
1024
|
-
name: '
|
|
1025
|
-
type: 'address',
|
|
1026
|
-
indexed: true,
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
name: 'amount',
|
|
708
|
+
name: 'interval',
|
|
1030
709
|
type: 'uint256',
|
|
1031
710
|
indexed: false,
|
|
1032
711
|
},
|
|
1033
|
-
],
|
|
1034
|
-
anonymous: false,
|
|
1035
|
-
type: 'event',
|
|
1036
|
-
},
|
|
1037
|
-
{
|
|
1038
|
-
name: 'EndaoSwapExecuted',
|
|
1039
|
-
inputs: [
|
|
1040
712
|
{
|
|
1041
|
-
name: '
|
|
713
|
+
name: 'confirmationBlock',
|
|
1042
714
|
type: 'uint256',
|
|
1043
715
|
indexed: false,
|
|
1044
716
|
},
|
|
1045
|
-
],
|
|
1046
|
-
anonymous: false,
|
|
1047
|
-
type: 'event',
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
name: 'EndaoAddLiquidityExecuted',
|
|
1051
|
-
inputs: [
|
|
1052
717
|
{
|
|
1053
|
-
name: '
|
|
718
|
+
name: 'actionId',
|
|
1054
719
|
type: 'uint256',
|
|
1055
720
|
indexed: false,
|
|
1056
721
|
},
|
|
1057
|
-
{
|
|
1058
|
-
name: 'pool',
|
|
1059
|
-
type: 'address',
|
|
1060
|
-
indexed: true,
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
name: 'tokenA',
|
|
1064
|
-
type: 'address',
|
|
1065
|
-
indexed: true,
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
name: 'tokenB',
|
|
1069
|
-
type: 'address',
|
|
1070
|
-
indexed: true,
|
|
1071
|
-
},
|
|
1072
722
|
],
|
|
1073
723
|
anonymous: false,
|
|
1074
724
|
type: 'event',
|
|
1075
725
|
},
|
|
1076
726
|
{
|
|
1077
|
-
name: '
|
|
727
|
+
name: 'PendingUndyDepositRewardsAmountAction',
|
|
1078
728
|
inputs: [
|
|
1079
729
|
{
|
|
1080
|
-
name: '
|
|
730
|
+
name: 'amount',
|
|
1081
731
|
type: 'uint256',
|
|
1082
732
|
indexed: false,
|
|
1083
733
|
},
|
|
1084
734
|
{
|
|
1085
|
-
name: '
|
|
1086
|
-
type: 'address',
|
|
1087
|
-
indexed: true,
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
name: 'tokenA',
|
|
1091
|
-
type: 'address',
|
|
1092
|
-
indexed: true,
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
name: 'tokenB',
|
|
1096
|
-
type: 'address',
|
|
1097
|
-
indexed: true,
|
|
1098
|
-
},
|
|
1099
|
-
],
|
|
1100
|
-
anonymous: false,
|
|
1101
|
-
type: 'event',
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
name: 'EndaoPartnerMintExecuted',
|
|
1105
|
-
inputs: [
|
|
1106
|
-
{
|
|
1107
|
-
name: 'partner',
|
|
1108
|
-
type: 'address',
|
|
1109
|
-
indexed: true,
|
|
1110
|
-
},
|
|
1111
|
-
{
|
|
1112
|
-
name: 'asset',
|
|
1113
|
-
type: 'address',
|
|
1114
|
-
indexed: true,
|
|
1115
|
-
},
|
|
1116
|
-
{
|
|
1117
|
-
name: 'greenMinted',
|
|
735
|
+
name: 'confirmationBlock',
|
|
1118
736
|
type: 'uint256',
|
|
1119
737
|
indexed: false,
|
|
1120
738
|
},
|
|
1121
|
-
],
|
|
1122
|
-
anonymous: false,
|
|
1123
|
-
type: 'event',
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
name: 'EndaoPartnerPoolExecuted',
|
|
1127
|
-
inputs: [
|
|
1128
739
|
{
|
|
1129
|
-
name: '
|
|
740
|
+
name: 'actionId',
|
|
1130
741
|
type: 'uint256',
|
|
1131
742
|
indexed: false,
|
|
1132
743
|
},
|
|
1133
|
-
{
|
|
1134
|
-
name: 'pool',
|
|
1135
|
-
type: 'address',
|
|
1136
|
-
indexed: true,
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
name: 'partner',
|
|
1140
|
-
type: 'address',
|
|
1141
|
-
indexed: true,
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
name: 'asset',
|
|
1145
|
-
type: 'address',
|
|
1146
|
-
indexed: true,
|
|
1147
|
-
},
|
|
1148
|
-
],
|
|
1149
|
-
anonymous: false,
|
|
1150
|
-
type: 'event',
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
name: 'EndaoRepayExecuted',
|
|
1154
|
-
inputs: [
|
|
1155
|
-
{
|
|
1156
|
-
name: 'pool',
|
|
1157
|
-
type: 'address',
|
|
1158
|
-
indexed: true,
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
name: 'success',
|
|
1162
|
-
type: 'bool',
|
|
1163
|
-
indexed: false,
|
|
1164
|
-
},
|
|
1165
744
|
],
|
|
1166
745
|
anonymous: false,
|
|
1167
746
|
type: 'event',
|
|
1168
747
|
},
|
|
1169
748
|
{
|
|
1170
|
-
name: '
|
|
749
|
+
name: 'PendingUndyYieldBonusAmountAction',
|
|
1171
750
|
inputs: [
|
|
1172
751
|
{
|
|
1173
|
-
name: '
|
|
1174
|
-
type: 'address',
|
|
1175
|
-
indexed: true,
|
|
1176
|
-
},
|
|
1177
|
-
{
|
|
1178
|
-
name: 'nftTokenId',
|
|
752
|
+
name: 'amount',
|
|
1179
753
|
type: 'uint256',
|
|
1180
754
|
indexed: false,
|
|
1181
755
|
},
|
|
1182
756
|
{
|
|
1183
|
-
name: '
|
|
1184
|
-
type: '
|
|
1185
|
-
indexed: true,
|
|
1186
|
-
},
|
|
1187
|
-
{
|
|
1188
|
-
name: 'success',
|
|
1189
|
-
type: 'bool',
|
|
757
|
+
name: 'confirmationBlock',
|
|
758
|
+
type: 'uint256',
|
|
1190
759
|
indexed: false,
|
|
1191
760
|
},
|
|
1192
|
-
],
|
|
1193
|
-
anonymous: false,
|
|
1194
|
-
type: 'event',
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
name: 'TrainingWheelsSet',
|
|
1198
|
-
inputs: [
|
|
1199
|
-
{
|
|
1200
|
-
name: 'trainingWheels',
|
|
1201
|
-
type: 'address',
|
|
1202
|
-
indexed: true,
|
|
1203
|
-
},
|
|
1204
|
-
],
|
|
1205
|
-
anonymous: false,
|
|
1206
|
-
type: 'event',
|
|
1207
|
-
},
|
|
1208
|
-
{
|
|
1209
|
-
name: 'TrainingWheelsAccessSet',
|
|
1210
|
-
inputs: [
|
|
1211
|
-
{
|
|
1212
|
-
name: 'trainingWheels',
|
|
1213
|
-
type: 'address',
|
|
1214
|
-
indexed: true,
|
|
1215
|
-
},
|
|
1216
761
|
{
|
|
1217
|
-
name: '
|
|
1218
|
-
type: '
|
|
1219
|
-
indexed: true,
|
|
1220
|
-
},
|
|
1221
|
-
{
|
|
1222
|
-
name: 'isAllowed',
|
|
1223
|
-
type: 'bool',
|
|
762
|
+
name: 'actionId',
|
|
763
|
+
type: 'uint256',
|
|
1224
764
|
indexed: false,
|
|
1225
765
|
},
|
|
1226
766
|
],
|
|
@@ -2069,44 +1609,23 @@ export const abi = [
|
|
|
2069
1609
|
{
|
|
2070
1610
|
stateMutability: 'nonpayable',
|
|
2071
1611
|
type: 'function',
|
|
2072
|
-
name: '
|
|
2073
|
-
inputs: [
|
|
2074
|
-
{
|
|
2075
|
-
name: '_user',
|
|
2076
|
-
type: 'address',
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
name: '_vaultId',
|
|
2080
|
-
type: 'uint256',
|
|
2081
|
-
},
|
|
2082
|
-
{
|
|
2083
|
-
name: '_asset',
|
|
2084
|
-
type: 'address',
|
|
2085
|
-
},
|
|
2086
|
-
],
|
|
1612
|
+
name: 'distributeUnderscoreRewards',
|
|
1613
|
+
inputs: [],
|
|
2087
1614
|
outputs: [
|
|
2088
1615
|
{
|
|
2089
1616
|
name: '',
|
|
2090
|
-
type: '
|
|
1617
|
+
type: 'bool',
|
|
2091
1618
|
},
|
|
2092
1619
|
],
|
|
2093
1620
|
},
|
|
2094
1621
|
{
|
|
2095
1622
|
stateMutability: 'nonpayable',
|
|
2096
1623
|
type: 'function',
|
|
2097
|
-
name: '
|
|
1624
|
+
name: 'setHasUnderscoreRewards',
|
|
2098
1625
|
inputs: [
|
|
2099
1626
|
{
|
|
2100
|
-
name: '
|
|
2101
|
-
type: '
|
|
2102
|
-
},
|
|
2103
|
-
{
|
|
2104
|
-
name: '_vaultId',
|
|
2105
|
-
type: 'uint256',
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
name: '_asset',
|
|
2109
|
-
type: 'address',
|
|
1627
|
+
name: '_hasRewards',
|
|
1628
|
+
type: 'bool',
|
|
2110
1629
|
},
|
|
2111
1630
|
],
|
|
2112
1631
|
outputs: [
|
|
@@ -2119,45 +1638,29 @@ export const abi = [
|
|
|
2119
1638
|
{
|
|
2120
1639
|
stateMutability: 'nonpayable',
|
|
2121
1640
|
type: 'function',
|
|
2122
|
-
name: '
|
|
1641
|
+
name: 'setUnderscoreSendInterval',
|
|
2123
1642
|
inputs: [
|
|
2124
1643
|
{
|
|
2125
|
-
name: '
|
|
2126
|
-
type: 'address[]',
|
|
2127
|
-
},
|
|
2128
|
-
{
|
|
2129
|
-
name: '_vaultId',
|
|
1644
|
+
name: '_interval',
|
|
2130
1645
|
type: 'uint256',
|
|
2131
1646
|
},
|
|
2132
|
-
{
|
|
2133
|
-
name: '_asset',
|
|
2134
|
-
type: 'address',
|
|
2135
|
-
},
|
|
2136
1647
|
],
|
|
2137
1648
|
outputs: [
|
|
2138
1649
|
{
|
|
2139
1650
|
name: '',
|
|
2140
|
-
type: '
|
|
1651
|
+
type: 'uint256',
|
|
2141
1652
|
},
|
|
2142
1653
|
],
|
|
2143
1654
|
},
|
|
2144
1655
|
{
|
|
2145
1656
|
stateMutability: 'nonpayable',
|
|
2146
1657
|
type: 'function',
|
|
2147
|
-
name: '
|
|
1658
|
+
name: 'setUndyDepositRewardsAmount',
|
|
2148
1659
|
inputs: [
|
|
2149
1660
|
{
|
|
2150
|
-
name: '
|
|
2151
|
-
type: 'address',
|
|
2152
|
-
},
|
|
2153
|
-
{
|
|
2154
|
-
name: '_vaultId',
|
|
1661
|
+
name: '_amount',
|
|
2155
1662
|
type: 'uint256',
|
|
2156
1663
|
},
|
|
2157
|
-
{
|
|
2158
|
-
name: '_asset',
|
|
2159
|
-
type: 'address',
|
|
2160
|
-
},
|
|
2161
1664
|
],
|
|
2162
1665
|
outputs: [
|
|
2163
1666
|
{
|
|
@@ -2169,1130 +1672,10 @@ export const abi = [
|
|
|
2169
1672
|
{
|
|
2170
1673
|
stateMutability: 'nonpayable',
|
|
2171
1674
|
type: 'function',
|
|
2172
|
-
name: '
|
|
1675
|
+
name: 'setUndyYieldBonusAmount',
|
|
2173
1676
|
inputs: [
|
|
2174
1677
|
{
|
|
2175
|
-
name: '
|
|
2176
|
-
type: 'tuple[]',
|
|
2177
|
-
components: [
|
|
2178
|
-
{
|
|
2179
|
-
name: 'liqUser',
|
|
2180
|
-
type: 'address',
|
|
2181
|
-
},
|
|
2182
|
-
{
|
|
2183
|
-
name: 'vaultId',
|
|
2184
|
-
type: 'uint256',
|
|
2185
|
-
},
|
|
2186
|
-
{
|
|
2187
|
-
name: 'asset',
|
|
2188
|
-
type: 'address',
|
|
2189
|
-
},
|
|
2190
|
-
],
|
|
2191
|
-
},
|
|
2192
|
-
],
|
|
2193
|
-
outputs: [
|
|
2194
|
-
{
|
|
2195
|
-
name: '',
|
|
2196
|
-
type: 'uint256',
|
|
2197
|
-
},
|
|
2198
|
-
],
|
|
2199
|
-
},
|
|
2200
|
-
{
|
|
2201
|
-
stateMutability: 'nonpayable',
|
|
2202
|
-
type: 'function',
|
|
2203
|
-
name: 'pauseAuction',
|
|
2204
|
-
inputs: [
|
|
2205
|
-
{
|
|
2206
|
-
name: '_liqUser',
|
|
2207
|
-
type: 'address',
|
|
2208
|
-
},
|
|
2209
|
-
{
|
|
2210
|
-
name: '_vaultId',
|
|
2211
|
-
type: 'uint256',
|
|
2212
|
-
},
|
|
2213
|
-
{
|
|
2214
|
-
name: '_asset',
|
|
2215
|
-
type: 'address',
|
|
2216
|
-
},
|
|
2217
|
-
],
|
|
2218
|
-
outputs: [
|
|
2219
|
-
{
|
|
2220
|
-
name: '',
|
|
2221
|
-
type: 'uint256',
|
|
2222
|
-
},
|
|
2223
|
-
],
|
|
2224
|
-
},
|
|
2225
|
-
{
|
|
2226
|
-
stateMutability: 'nonpayable',
|
|
2227
|
-
type: 'function',
|
|
2228
|
-
name: 'pauseManyAuctions',
|
|
2229
|
-
inputs: [
|
|
2230
|
-
{
|
|
2231
|
-
name: '_auctions',
|
|
2232
|
-
type: 'tuple[]',
|
|
2233
|
-
components: [
|
|
2234
|
-
{
|
|
2235
|
-
name: 'liqUser',
|
|
2236
|
-
type: 'address',
|
|
2237
|
-
},
|
|
2238
|
-
{
|
|
2239
|
-
name: 'vaultId',
|
|
2240
|
-
type: 'uint256',
|
|
2241
|
-
},
|
|
2242
|
-
{
|
|
2243
|
-
name: 'asset',
|
|
2244
|
-
type: 'address',
|
|
2245
|
-
},
|
|
2246
|
-
],
|
|
2247
|
-
},
|
|
2248
|
-
],
|
|
2249
|
-
outputs: [
|
|
2250
|
-
{
|
|
2251
|
-
name: '',
|
|
2252
|
-
type: 'uint256',
|
|
2253
|
-
},
|
|
2254
|
-
],
|
|
2255
|
-
},
|
|
2256
|
-
{
|
|
2257
|
-
stateMutability: 'nonpayable',
|
|
2258
|
-
type: 'function',
|
|
2259
|
-
name: 'performEndaomentDeposit',
|
|
2260
|
-
inputs: [
|
|
2261
|
-
{
|
|
2262
|
-
name: '_legoId',
|
|
2263
|
-
type: 'uint256',
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
name: '_asset',
|
|
2267
|
-
type: 'address',
|
|
2268
|
-
},
|
|
2269
|
-
],
|
|
2270
|
-
outputs: [
|
|
2271
|
-
{
|
|
2272
|
-
name: '',
|
|
2273
|
-
type: 'uint256',
|
|
2274
|
-
},
|
|
2275
|
-
{
|
|
2276
|
-
name: '',
|
|
2277
|
-
type: 'address',
|
|
2278
|
-
},
|
|
2279
|
-
{
|
|
2280
|
-
name: '',
|
|
2281
|
-
type: 'uint256',
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
name: '',
|
|
2285
|
-
type: 'uint256',
|
|
2286
|
-
},
|
|
2287
|
-
],
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
stateMutability: 'nonpayable',
|
|
2291
|
-
type: 'function',
|
|
2292
|
-
name: 'performEndaomentDeposit',
|
|
2293
|
-
inputs: [
|
|
2294
|
-
{
|
|
2295
|
-
name: '_legoId',
|
|
2296
|
-
type: 'uint256',
|
|
2297
|
-
},
|
|
2298
|
-
{
|
|
2299
|
-
name: '_asset',
|
|
2300
|
-
type: 'address',
|
|
2301
|
-
},
|
|
2302
|
-
{
|
|
2303
|
-
name: '_vaultAddr',
|
|
2304
|
-
type: 'address',
|
|
2305
|
-
},
|
|
2306
|
-
],
|
|
2307
|
-
outputs: [
|
|
2308
|
-
{
|
|
2309
|
-
name: '',
|
|
2310
|
-
type: 'uint256',
|
|
2311
|
-
},
|
|
2312
|
-
{
|
|
2313
|
-
name: '',
|
|
2314
|
-
type: 'address',
|
|
2315
|
-
},
|
|
2316
|
-
{
|
|
2317
|
-
name: '',
|
|
2318
|
-
type: 'uint256',
|
|
2319
|
-
},
|
|
2320
|
-
{
|
|
2321
|
-
name: '',
|
|
2322
|
-
type: 'uint256',
|
|
2323
|
-
},
|
|
2324
|
-
],
|
|
2325
|
-
},
|
|
2326
|
-
{
|
|
2327
|
-
stateMutability: 'nonpayable',
|
|
2328
|
-
type: 'function',
|
|
2329
|
-
name: 'performEndaomentDeposit',
|
|
2330
|
-
inputs: [
|
|
2331
|
-
{
|
|
2332
|
-
name: '_legoId',
|
|
2333
|
-
type: 'uint256',
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
name: '_asset',
|
|
2337
|
-
type: 'address',
|
|
2338
|
-
},
|
|
2339
|
-
{
|
|
2340
|
-
name: '_vaultAddr',
|
|
2341
|
-
type: 'address',
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
name: '_amount',
|
|
2345
|
-
type: 'uint256',
|
|
2346
|
-
},
|
|
2347
|
-
],
|
|
2348
|
-
outputs: [
|
|
2349
|
-
{
|
|
2350
|
-
name: '',
|
|
2351
|
-
type: 'uint256',
|
|
2352
|
-
},
|
|
2353
|
-
{
|
|
2354
|
-
name: '',
|
|
2355
|
-
type: 'address',
|
|
2356
|
-
},
|
|
2357
|
-
{
|
|
2358
|
-
name: '',
|
|
2359
|
-
type: 'uint256',
|
|
2360
|
-
},
|
|
2361
|
-
{
|
|
2362
|
-
name: '',
|
|
2363
|
-
type: 'uint256',
|
|
2364
|
-
},
|
|
2365
|
-
],
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
stateMutability: 'nonpayable',
|
|
2369
|
-
type: 'function',
|
|
2370
|
-
name: 'performEndaomentDeposit',
|
|
2371
|
-
inputs: [
|
|
2372
|
-
{
|
|
2373
|
-
name: '_legoId',
|
|
2374
|
-
type: 'uint256',
|
|
2375
|
-
},
|
|
2376
|
-
{
|
|
2377
|
-
name: '_asset',
|
|
2378
|
-
type: 'address',
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
name: '_vaultAddr',
|
|
2382
|
-
type: 'address',
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
name: '_amount',
|
|
2386
|
-
type: 'uint256',
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
name: '_extraData',
|
|
2390
|
-
type: 'bytes32',
|
|
2391
|
-
},
|
|
2392
|
-
],
|
|
2393
|
-
outputs: [
|
|
2394
|
-
{
|
|
2395
|
-
name: '',
|
|
2396
|
-
type: 'uint256',
|
|
2397
|
-
},
|
|
2398
|
-
{
|
|
2399
|
-
name: '',
|
|
2400
|
-
type: 'address',
|
|
2401
|
-
},
|
|
2402
|
-
{
|
|
2403
|
-
name: '',
|
|
2404
|
-
type: 'uint256',
|
|
2405
|
-
},
|
|
2406
|
-
{
|
|
2407
|
-
name: '',
|
|
2408
|
-
type: 'uint256',
|
|
2409
|
-
},
|
|
2410
|
-
],
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
stateMutability: 'nonpayable',
|
|
2414
|
-
type: 'function',
|
|
2415
|
-
name: 'performEndaomentWithdraw',
|
|
2416
|
-
inputs: [
|
|
2417
|
-
{
|
|
2418
|
-
name: '_legoId',
|
|
2419
|
-
type: 'uint256',
|
|
2420
|
-
},
|
|
2421
|
-
{
|
|
2422
|
-
name: '_vaultToken',
|
|
2423
|
-
type: 'address',
|
|
2424
|
-
},
|
|
2425
|
-
],
|
|
2426
|
-
outputs: [
|
|
2427
|
-
{
|
|
2428
|
-
name: '',
|
|
2429
|
-
type: 'uint256',
|
|
2430
|
-
},
|
|
2431
|
-
{
|
|
2432
|
-
name: '',
|
|
2433
|
-
type: 'address',
|
|
2434
|
-
},
|
|
2435
|
-
{
|
|
2436
|
-
name: '',
|
|
2437
|
-
type: 'uint256',
|
|
2438
|
-
},
|
|
2439
|
-
{
|
|
2440
|
-
name: '',
|
|
2441
|
-
type: 'uint256',
|
|
2442
|
-
},
|
|
2443
|
-
],
|
|
2444
|
-
},
|
|
2445
|
-
{
|
|
2446
|
-
stateMutability: 'nonpayable',
|
|
2447
|
-
type: 'function',
|
|
2448
|
-
name: 'performEndaomentWithdraw',
|
|
2449
|
-
inputs: [
|
|
2450
|
-
{
|
|
2451
|
-
name: '_legoId',
|
|
2452
|
-
type: 'uint256',
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
name: '_vaultToken',
|
|
2456
|
-
type: 'address',
|
|
2457
|
-
},
|
|
2458
|
-
{
|
|
2459
|
-
name: '_amount',
|
|
2460
|
-
type: 'uint256',
|
|
2461
|
-
},
|
|
2462
|
-
],
|
|
2463
|
-
outputs: [
|
|
2464
|
-
{
|
|
2465
|
-
name: '',
|
|
2466
|
-
type: 'uint256',
|
|
2467
|
-
},
|
|
2468
|
-
{
|
|
2469
|
-
name: '',
|
|
2470
|
-
type: 'address',
|
|
2471
|
-
},
|
|
2472
|
-
{
|
|
2473
|
-
name: '',
|
|
2474
|
-
type: 'uint256',
|
|
2475
|
-
},
|
|
2476
|
-
{
|
|
2477
|
-
name: '',
|
|
2478
|
-
type: 'uint256',
|
|
2479
|
-
},
|
|
2480
|
-
],
|
|
2481
|
-
},
|
|
2482
|
-
{
|
|
2483
|
-
stateMutability: 'nonpayable',
|
|
2484
|
-
type: 'function',
|
|
2485
|
-
name: 'performEndaomentWithdraw',
|
|
2486
|
-
inputs: [
|
|
2487
|
-
{
|
|
2488
|
-
name: '_legoId',
|
|
2489
|
-
type: 'uint256',
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
name: '_vaultToken',
|
|
2493
|
-
type: 'address',
|
|
2494
|
-
},
|
|
2495
|
-
{
|
|
2496
|
-
name: '_amount',
|
|
2497
|
-
type: 'uint256',
|
|
2498
|
-
},
|
|
2499
|
-
{
|
|
2500
|
-
name: '_extraData',
|
|
2501
|
-
type: 'bytes32',
|
|
2502
|
-
},
|
|
2503
|
-
],
|
|
2504
|
-
outputs: [
|
|
2505
|
-
{
|
|
2506
|
-
name: '',
|
|
2507
|
-
type: 'uint256',
|
|
2508
|
-
},
|
|
2509
|
-
{
|
|
2510
|
-
name: '',
|
|
2511
|
-
type: 'address',
|
|
2512
|
-
},
|
|
2513
|
-
{
|
|
2514
|
-
name: '',
|
|
2515
|
-
type: 'uint256',
|
|
2516
|
-
},
|
|
2517
|
-
{
|
|
2518
|
-
name: '',
|
|
2519
|
-
type: 'uint256',
|
|
2520
|
-
},
|
|
2521
|
-
],
|
|
2522
|
-
},
|
|
2523
|
-
{
|
|
2524
|
-
stateMutability: 'nonpayable',
|
|
2525
|
-
type: 'function',
|
|
2526
|
-
name: 'performEndaomentRebalance',
|
|
2527
|
-
inputs: [
|
|
2528
|
-
{
|
|
2529
|
-
name: '_fromLegoId',
|
|
2530
|
-
type: 'uint256',
|
|
2531
|
-
},
|
|
2532
|
-
{
|
|
2533
|
-
name: '_fromVaultToken',
|
|
2534
|
-
type: 'address',
|
|
2535
|
-
},
|
|
2536
|
-
{
|
|
2537
|
-
name: '_toLegoId',
|
|
2538
|
-
type: 'uint256',
|
|
2539
|
-
},
|
|
2540
|
-
],
|
|
2541
|
-
outputs: [
|
|
2542
|
-
{
|
|
2543
|
-
name: '',
|
|
2544
|
-
type: 'uint256',
|
|
2545
|
-
},
|
|
2546
|
-
{
|
|
2547
|
-
name: '',
|
|
2548
|
-
type: 'address',
|
|
2549
|
-
},
|
|
2550
|
-
{
|
|
2551
|
-
name: '',
|
|
2552
|
-
type: 'uint256',
|
|
2553
|
-
},
|
|
2554
|
-
{
|
|
2555
|
-
name: '',
|
|
2556
|
-
type: 'uint256',
|
|
2557
|
-
},
|
|
2558
|
-
],
|
|
2559
|
-
},
|
|
2560
|
-
{
|
|
2561
|
-
stateMutability: 'nonpayable',
|
|
2562
|
-
type: 'function',
|
|
2563
|
-
name: 'performEndaomentRebalance',
|
|
2564
|
-
inputs: [
|
|
2565
|
-
{
|
|
2566
|
-
name: '_fromLegoId',
|
|
2567
|
-
type: 'uint256',
|
|
2568
|
-
},
|
|
2569
|
-
{
|
|
2570
|
-
name: '_fromVaultToken',
|
|
2571
|
-
type: 'address',
|
|
2572
|
-
},
|
|
2573
|
-
{
|
|
2574
|
-
name: '_toLegoId',
|
|
2575
|
-
type: 'uint256',
|
|
2576
|
-
},
|
|
2577
|
-
{
|
|
2578
|
-
name: '_toVaultAddr',
|
|
2579
|
-
type: 'address',
|
|
2580
|
-
},
|
|
2581
|
-
],
|
|
2582
|
-
outputs: [
|
|
2583
|
-
{
|
|
2584
|
-
name: '',
|
|
2585
|
-
type: 'uint256',
|
|
2586
|
-
},
|
|
2587
|
-
{
|
|
2588
|
-
name: '',
|
|
2589
|
-
type: 'address',
|
|
2590
|
-
},
|
|
2591
|
-
{
|
|
2592
|
-
name: '',
|
|
2593
|
-
type: 'uint256',
|
|
2594
|
-
},
|
|
2595
|
-
{
|
|
2596
|
-
name: '',
|
|
2597
|
-
type: 'uint256',
|
|
2598
|
-
},
|
|
2599
|
-
],
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
stateMutability: 'nonpayable',
|
|
2603
|
-
type: 'function',
|
|
2604
|
-
name: 'performEndaomentRebalance',
|
|
2605
|
-
inputs: [
|
|
2606
|
-
{
|
|
2607
|
-
name: '_fromLegoId',
|
|
2608
|
-
type: 'uint256',
|
|
2609
|
-
},
|
|
2610
|
-
{
|
|
2611
|
-
name: '_fromVaultToken',
|
|
2612
|
-
type: 'address',
|
|
2613
|
-
},
|
|
2614
|
-
{
|
|
2615
|
-
name: '_toLegoId',
|
|
2616
|
-
type: 'uint256',
|
|
2617
|
-
},
|
|
2618
|
-
{
|
|
2619
|
-
name: '_toVaultAddr',
|
|
2620
|
-
type: 'address',
|
|
2621
|
-
},
|
|
2622
|
-
{
|
|
2623
|
-
name: '_fromVaultAmount',
|
|
2624
|
-
type: 'uint256',
|
|
2625
|
-
},
|
|
2626
|
-
],
|
|
2627
|
-
outputs: [
|
|
2628
|
-
{
|
|
2629
|
-
name: '',
|
|
2630
|
-
type: 'uint256',
|
|
2631
|
-
},
|
|
2632
|
-
{
|
|
2633
|
-
name: '',
|
|
2634
|
-
type: 'address',
|
|
2635
|
-
},
|
|
2636
|
-
{
|
|
2637
|
-
name: '',
|
|
2638
|
-
type: 'uint256',
|
|
2639
|
-
},
|
|
2640
|
-
{
|
|
2641
|
-
name: '',
|
|
2642
|
-
type: 'uint256',
|
|
2643
|
-
},
|
|
2644
|
-
],
|
|
2645
|
-
},
|
|
2646
|
-
{
|
|
2647
|
-
stateMutability: 'nonpayable',
|
|
2648
|
-
type: 'function',
|
|
2649
|
-
name: 'performEndaomentRebalance',
|
|
2650
|
-
inputs: [
|
|
2651
|
-
{
|
|
2652
|
-
name: '_fromLegoId',
|
|
2653
|
-
type: 'uint256',
|
|
2654
|
-
},
|
|
2655
|
-
{
|
|
2656
|
-
name: '_fromVaultToken',
|
|
2657
|
-
type: 'address',
|
|
2658
|
-
},
|
|
2659
|
-
{
|
|
2660
|
-
name: '_toLegoId',
|
|
2661
|
-
type: 'uint256',
|
|
2662
|
-
},
|
|
2663
|
-
{
|
|
2664
|
-
name: '_toVaultAddr',
|
|
2665
|
-
type: 'address',
|
|
2666
|
-
},
|
|
2667
|
-
{
|
|
2668
|
-
name: '_fromVaultAmount',
|
|
2669
|
-
type: 'uint256',
|
|
2670
|
-
},
|
|
2671
|
-
{
|
|
2672
|
-
name: '_extraData',
|
|
2673
|
-
type: 'bytes32',
|
|
2674
|
-
},
|
|
2675
|
-
],
|
|
2676
|
-
outputs: [
|
|
2677
|
-
{
|
|
2678
|
-
name: '',
|
|
2679
|
-
type: 'uint256',
|
|
2680
|
-
},
|
|
2681
|
-
{
|
|
2682
|
-
name: '',
|
|
2683
|
-
type: 'address',
|
|
2684
|
-
},
|
|
2685
|
-
{
|
|
2686
|
-
name: '',
|
|
2687
|
-
type: 'uint256',
|
|
2688
|
-
},
|
|
2689
|
-
{
|
|
2690
|
-
name: '',
|
|
2691
|
-
type: 'uint256',
|
|
2692
|
-
},
|
|
2693
|
-
],
|
|
2694
|
-
},
|
|
2695
|
-
{
|
|
2696
|
-
stateMutability: 'payable',
|
|
2697
|
-
type: 'function',
|
|
2698
|
-
name: 'performEndaomentEthToWeth',
|
|
2699
|
-
inputs: [],
|
|
2700
|
-
outputs: [
|
|
2701
|
-
{
|
|
2702
|
-
name: '',
|
|
2703
|
-
type: 'uint256',
|
|
2704
|
-
},
|
|
2705
|
-
{
|
|
2706
|
-
name: '',
|
|
2707
|
-
type: 'uint256',
|
|
2708
|
-
},
|
|
2709
|
-
],
|
|
2710
|
-
},
|
|
2711
|
-
{
|
|
2712
|
-
stateMutability: 'payable',
|
|
2713
|
-
type: 'function',
|
|
2714
|
-
name: 'performEndaomentEthToWeth',
|
|
2715
|
-
inputs: [
|
|
2716
|
-
{
|
|
2717
|
-
name: '_amount',
|
|
2718
|
-
type: 'uint256',
|
|
2719
|
-
},
|
|
2720
|
-
],
|
|
2721
|
-
outputs: [
|
|
2722
|
-
{
|
|
2723
|
-
name: '',
|
|
2724
|
-
type: 'uint256',
|
|
2725
|
-
},
|
|
2726
|
-
{
|
|
2727
|
-
name: '',
|
|
2728
|
-
type: 'uint256',
|
|
2729
|
-
},
|
|
2730
|
-
],
|
|
2731
|
-
},
|
|
2732
|
-
{
|
|
2733
|
-
stateMutability: 'nonpayable',
|
|
2734
|
-
type: 'function',
|
|
2735
|
-
name: 'performEndaomentWethToEth',
|
|
2736
|
-
inputs: [],
|
|
2737
|
-
outputs: [
|
|
2738
|
-
{
|
|
2739
|
-
name: '',
|
|
2740
|
-
type: 'uint256',
|
|
2741
|
-
},
|
|
2742
|
-
{
|
|
2743
|
-
name: '',
|
|
2744
|
-
type: 'uint256',
|
|
2745
|
-
},
|
|
2746
|
-
],
|
|
2747
|
-
},
|
|
2748
|
-
{
|
|
2749
|
-
stateMutability: 'nonpayable',
|
|
2750
|
-
type: 'function',
|
|
2751
|
-
name: 'performEndaomentWethToEth',
|
|
2752
|
-
inputs: [
|
|
2753
|
-
{
|
|
2754
|
-
name: '_amount',
|
|
2755
|
-
type: 'uint256',
|
|
2756
|
-
},
|
|
2757
|
-
],
|
|
2758
|
-
outputs: [
|
|
2759
|
-
{
|
|
2760
|
-
name: '',
|
|
2761
|
-
type: 'uint256',
|
|
2762
|
-
},
|
|
2763
|
-
{
|
|
2764
|
-
name: '',
|
|
2765
|
-
type: 'uint256',
|
|
2766
|
-
},
|
|
2767
|
-
],
|
|
2768
|
-
},
|
|
2769
|
-
{
|
|
2770
|
-
stateMutability: 'nonpayable',
|
|
2771
|
-
type: 'function',
|
|
2772
|
-
name: 'performEndaomentClaim',
|
|
2773
|
-
inputs: [
|
|
2774
|
-
{
|
|
2775
|
-
name: '_legoId',
|
|
2776
|
-
type: 'uint256',
|
|
2777
|
-
},
|
|
2778
|
-
],
|
|
2779
|
-
outputs: [
|
|
2780
|
-
{
|
|
2781
|
-
name: '',
|
|
2782
|
-
type: 'uint256',
|
|
2783
|
-
},
|
|
2784
|
-
{
|
|
2785
|
-
name: '',
|
|
2786
|
-
type: 'uint256',
|
|
2787
|
-
},
|
|
2788
|
-
],
|
|
2789
|
-
},
|
|
2790
|
-
{
|
|
2791
|
-
stateMutability: 'nonpayable',
|
|
2792
|
-
type: 'function',
|
|
2793
|
-
name: 'performEndaomentClaim',
|
|
2794
|
-
inputs: [
|
|
2795
|
-
{
|
|
2796
|
-
name: '_legoId',
|
|
2797
|
-
type: 'uint256',
|
|
2798
|
-
},
|
|
2799
|
-
{
|
|
2800
|
-
name: '_rewardToken',
|
|
2801
|
-
type: 'address',
|
|
2802
|
-
},
|
|
2803
|
-
],
|
|
2804
|
-
outputs: [
|
|
2805
|
-
{
|
|
2806
|
-
name: '',
|
|
2807
|
-
type: 'uint256',
|
|
2808
|
-
},
|
|
2809
|
-
{
|
|
2810
|
-
name: '',
|
|
2811
|
-
type: 'uint256',
|
|
2812
|
-
},
|
|
2813
|
-
],
|
|
2814
|
-
},
|
|
2815
|
-
{
|
|
2816
|
-
stateMutability: 'nonpayable',
|
|
2817
|
-
type: 'function',
|
|
2818
|
-
name: 'performEndaomentClaim',
|
|
2819
|
-
inputs: [
|
|
2820
|
-
{
|
|
2821
|
-
name: '_legoId',
|
|
2822
|
-
type: 'uint256',
|
|
2823
|
-
},
|
|
2824
|
-
{
|
|
2825
|
-
name: '_rewardToken',
|
|
2826
|
-
type: 'address',
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
name: '_rewardAmount',
|
|
2830
|
-
type: 'uint256',
|
|
2831
|
-
},
|
|
2832
|
-
],
|
|
2833
|
-
outputs: [
|
|
2834
|
-
{
|
|
2835
|
-
name: '',
|
|
2836
|
-
type: 'uint256',
|
|
2837
|
-
},
|
|
2838
|
-
{
|
|
2839
|
-
name: '',
|
|
2840
|
-
type: 'uint256',
|
|
2841
|
-
},
|
|
2842
|
-
],
|
|
2843
|
-
},
|
|
2844
|
-
{
|
|
2845
|
-
stateMutability: 'nonpayable',
|
|
2846
|
-
type: 'function',
|
|
2847
|
-
name: 'performEndaomentClaim',
|
|
2848
|
-
inputs: [
|
|
2849
|
-
{
|
|
2850
|
-
name: '_legoId',
|
|
2851
|
-
type: 'uint256',
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
name: '_rewardToken',
|
|
2855
|
-
type: 'address',
|
|
2856
|
-
},
|
|
2857
|
-
{
|
|
2858
|
-
name: '_rewardAmount',
|
|
2859
|
-
type: 'uint256',
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
name: '_extraData',
|
|
2863
|
-
type: 'bytes32',
|
|
2864
|
-
},
|
|
2865
|
-
],
|
|
2866
|
-
outputs: [
|
|
2867
|
-
{
|
|
2868
|
-
name: '',
|
|
2869
|
-
type: 'uint256',
|
|
2870
|
-
},
|
|
2871
|
-
{
|
|
2872
|
-
name: '',
|
|
2873
|
-
type: 'uint256',
|
|
2874
|
-
},
|
|
2875
|
-
],
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
stateMutability: 'nonpayable',
|
|
2879
|
-
type: 'function',
|
|
2880
|
-
name: 'performEndaomentStabilizer',
|
|
2881
|
-
inputs: [],
|
|
2882
|
-
outputs: [
|
|
2883
|
-
{
|
|
2884
|
-
name: '',
|
|
2885
|
-
type: 'bool',
|
|
2886
|
-
},
|
|
2887
|
-
],
|
|
2888
|
-
},
|
|
2889
|
-
{
|
|
2890
|
-
stateMutability: 'nonpayable',
|
|
2891
|
-
type: 'function',
|
|
2892
|
-
name: 'performEndaomentTransfer',
|
|
2893
|
-
inputs: [
|
|
2894
|
-
{
|
|
2895
|
-
name: '_asset',
|
|
2896
|
-
type: 'address',
|
|
2897
|
-
},
|
|
2898
|
-
{
|
|
2899
|
-
name: '_amount',
|
|
2900
|
-
type: 'uint256',
|
|
2901
|
-
},
|
|
2902
|
-
],
|
|
2903
|
-
outputs: [
|
|
2904
|
-
{
|
|
2905
|
-
name: '',
|
|
2906
|
-
type: 'uint256',
|
|
2907
|
-
},
|
|
2908
|
-
],
|
|
2909
|
-
},
|
|
2910
|
-
{
|
|
2911
|
-
stateMutability: 'nonpayable',
|
|
2912
|
-
type: 'function',
|
|
2913
|
-
name: 'performEndaomentSwap',
|
|
2914
|
-
inputs: [
|
|
2915
|
-
{
|
|
2916
|
-
name: '_instructions',
|
|
2917
|
-
type: 'tuple[]',
|
|
2918
|
-
components: [
|
|
2919
|
-
{
|
|
2920
|
-
name: 'legoId',
|
|
2921
|
-
type: 'uint256',
|
|
2922
|
-
},
|
|
2923
|
-
{
|
|
2924
|
-
name: 'amountIn',
|
|
2925
|
-
type: 'uint256',
|
|
2926
|
-
},
|
|
2927
|
-
{
|
|
2928
|
-
name: 'minAmountOut',
|
|
2929
|
-
type: 'uint256',
|
|
2930
|
-
},
|
|
2931
|
-
{
|
|
2932
|
-
name: 'tokenPath',
|
|
2933
|
-
type: 'address[]',
|
|
2934
|
-
},
|
|
2935
|
-
{
|
|
2936
|
-
name: 'poolPath',
|
|
2937
|
-
type: 'address[]',
|
|
2938
|
-
},
|
|
2939
|
-
],
|
|
2940
|
-
},
|
|
2941
|
-
],
|
|
2942
|
-
outputs: [
|
|
2943
|
-
{
|
|
2944
|
-
name: '',
|
|
2945
|
-
type: 'uint256',
|
|
2946
|
-
},
|
|
2947
|
-
],
|
|
2948
|
-
},
|
|
2949
|
-
{
|
|
2950
|
-
stateMutability: 'nonpayable',
|
|
2951
|
-
type: 'function',
|
|
2952
|
-
name: 'addLiquidityInEndaoment',
|
|
2953
|
-
inputs: [
|
|
2954
|
-
{
|
|
2955
|
-
name: '_legoId',
|
|
2956
|
-
type: 'uint256',
|
|
2957
|
-
},
|
|
2958
|
-
{
|
|
2959
|
-
name: '_pool',
|
|
2960
|
-
type: 'address',
|
|
2961
|
-
},
|
|
2962
|
-
{
|
|
2963
|
-
name: '_tokenA',
|
|
2964
|
-
type: 'address',
|
|
2965
|
-
},
|
|
2966
|
-
{
|
|
2967
|
-
name: '_tokenB',
|
|
2968
|
-
type: 'address',
|
|
2969
|
-
},
|
|
2970
|
-
],
|
|
2971
|
-
outputs: [
|
|
2972
|
-
{
|
|
2973
|
-
name: '',
|
|
2974
|
-
type: 'uint256',
|
|
2975
|
-
},
|
|
2976
|
-
],
|
|
2977
|
-
},
|
|
2978
|
-
{
|
|
2979
|
-
stateMutability: 'nonpayable',
|
|
2980
|
-
type: 'function',
|
|
2981
|
-
name: 'addLiquidityInEndaoment',
|
|
2982
|
-
inputs: [
|
|
2983
|
-
{
|
|
2984
|
-
name: '_legoId',
|
|
2985
|
-
type: 'uint256',
|
|
2986
|
-
},
|
|
2987
|
-
{
|
|
2988
|
-
name: '_pool',
|
|
2989
|
-
type: 'address',
|
|
2990
|
-
},
|
|
2991
|
-
{
|
|
2992
|
-
name: '_tokenA',
|
|
2993
|
-
type: 'address',
|
|
2994
|
-
},
|
|
2995
|
-
{
|
|
2996
|
-
name: '_tokenB',
|
|
2997
|
-
type: 'address',
|
|
2998
|
-
},
|
|
2999
|
-
{
|
|
3000
|
-
name: '_amountA',
|
|
3001
|
-
type: 'uint256',
|
|
3002
|
-
},
|
|
3003
|
-
],
|
|
3004
|
-
outputs: [
|
|
3005
|
-
{
|
|
3006
|
-
name: '',
|
|
3007
|
-
type: 'uint256',
|
|
3008
|
-
},
|
|
3009
|
-
],
|
|
3010
|
-
},
|
|
3011
|
-
{
|
|
3012
|
-
stateMutability: 'nonpayable',
|
|
3013
|
-
type: 'function',
|
|
3014
|
-
name: 'addLiquidityInEndaoment',
|
|
3015
|
-
inputs: [
|
|
3016
|
-
{
|
|
3017
|
-
name: '_legoId',
|
|
3018
|
-
type: 'uint256',
|
|
3019
|
-
},
|
|
3020
|
-
{
|
|
3021
|
-
name: '_pool',
|
|
3022
|
-
type: 'address',
|
|
3023
|
-
},
|
|
3024
|
-
{
|
|
3025
|
-
name: '_tokenA',
|
|
3026
|
-
type: 'address',
|
|
3027
|
-
},
|
|
3028
|
-
{
|
|
3029
|
-
name: '_tokenB',
|
|
3030
|
-
type: 'address',
|
|
3031
|
-
},
|
|
3032
|
-
{
|
|
3033
|
-
name: '_amountA',
|
|
3034
|
-
type: 'uint256',
|
|
3035
|
-
},
|
|
3036
|
-
{
|
|
3037
|
-
name: '_amountB',
|
|
3038
|
-
type: 'uint256',
|
|
3039
|
-
},
|
|
3040
|
-
],
|
|
3041
|
-
outputs: [
|
|
3042
|
-
{
|
|
3043
|
-
name: '',
|
|
3044
|
-
type: 'uint256',
|
|
3045
|
-
},
|
|
3046
|
-
],
|
|
3047
|
-
},
|
|
3048
|
-
{
|
|
3049
|
-
stateMutability: 'nonpayable',
|
|
3050
|
-
type: 'function',
|
|
3051
|
-
name: 'addLiquidityInEndaoment',
|
|
3052
|
-
inputs: [
|
|
3053
|
-
{
|
|
3054
|
-
name: '_legoId',
|
|
3055
|
-
type: 'uint256',
|
|
3056
|
-
},
|
|
3057
|
-
{
|
|
3058
|
-
name: '_pool',
|
|
3059
|
-
type: 'address',
|
|
3060
|
-
},
|
|
3061
|
-
{
|
|
3062
|
-
name: '_tokenA',
|
|
3063
|
-
type: 'address',
|
|
3064
|
-
},
|
|
3065
|
-
{
|
|
3066
|
-
name: '_tokenB',
|
|
3067
|
-
type: 'address',
|
|
3068
|
-
},
|
|
3069
|
-
{
|
|
3070
|
-
name: '_amountA',
|
|
3071
|
-
type: 'uint256',
|
|
3072
|
-
},
|
|
3073
|
-
{
|
|
3074
|
-
name: '_amountB',
|
|
3075
|
-
type: 'uint256',
|
|
3076
|
-
},
|
|
3077
|
-
{
|
|
3078
|
-
name: '_minAmountA',
|
|
3079
|
-
type: 'uint256',
|
|
3080
|
-
},
|
|
3081
|
-
],
|
|
3082
|
-
outputs: [
|
|
3083
|
-
{
|
|
3084
|
-
name: '',
|
|
3085
|
-
type: 'uint256',
|
|
3086
|
-
},
|
|
3087
|
-
],
|
|
3088
|
-
},
|
|
3089
|
-
{
|
|
3090
|
-
stateMutability: 'nonpayable',
|
|
3091
|
-
type: 'function',
|
|
3092
|
-
name: 'addLiquidityInEndaoment',
|
|
3093
|
-
inputs: [
|
|
3094
|
-
{
|
|
3095
|
-
name: '_legoId',
|
|
3096
|
-
type: 'uint256',
|
|
3097
|
-
},
|
|
3098
|
-
{
|
|
3099
|
-
name: '_pool',
|
|
3100
|
-
type: 'address',
|
|
3101
|
-
},
|
|
3102
|
-
{
|
|
3103
|
-
name: '_tokenA',
|
|
3104
|
-
type: 'address',
|
|
3105
|
-
},
|
|
3106
|
-
{
|
|
3107
|
-
name: '_tokenB',
|
|
3108
|
-
type: 'address',
|
|
3109
|
-
},
|
|
3110
|
-
{
|
|
3111
|
-
name: '_amountA',
|
|
3112
|
-
type: 'uint256',
|
|
3113
|
-
},
|
|
3114
|
-
{
|
|
3115
|
-
name: '_amountB',
|
|
3116
|
-
type: 'uint256',
|
|
3117
|
-
},
|
|
3118
|
-
{
|
|
3119
|
-
name: '_minAmountA',
|
|
3120
|
-
type: 'uint256',
|
|
3121
|
-
},
|
|
3122
|
-
{
|
|
3123
|
-
name: '_minAmountB',
|
|
3124
|
-
type: 'uint256',
|
|
3125
|
-
},
|
|
3126
|
-
],
|
|
3127
|
-
outputs: [
|
|
3128
|
-
{
|
|
3129
|
-
name: '',
|
|
3130
|
-
type: 'uint256',
|
|
3131
|
-
},
|
|
3132
|
-
],
|
|
3133
|
-
},
|
|
3134
|
-
{
|
|
3135
|
-
stateMutability: 'nonpayable',
|
|
3136
|
-
type: 'function',
|
|
3137
|
-
name: 'addLiquidityInEndaoment',
|
|
3138
|
-
inputs: [
|
|
3139
|
-
{
|
|
3140
|
-
name: '_legoId',
|
|
3141
|
-
type: 'uint256',
|
|
3142
|
-
},
|
|
3143
|
-
{
|
|
3144
|
-
name: '_pool',
|
|
3145
|
-
type: 'address',
|
|
3146
|
-
},
|
|
3147
|
-
{
|
|
3148
|
-
name: '_tokenA',
|
|
3149
|
-
type: 'address',
|
|
3150
|
-
},
|
|
3151
|
-
{
|
|
3152
|
-
name: '_tokenB',
|
|
3153
|
-
type: 'address',
|
|
3154
|
-
},
|
|
3155
|
-
{
|
|
3156
|
-
name: '_amountA',
|
|
3157
|
-
type: 'uint256',
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
name: '_amountB',
|
|
3161
|
-
type: 'uint256',
|
|
3162
|
-
},
|
|
3163
|
-
{
|
|
3164
|
-
name: '_minAmountA',
|
|
3165
|
-
type: 'uint256',
|
|
3166
|
-
},
|
|
3167
|
-
{
|
|
3168
|
-
name: '_minAmountB',
|
|
3169
|
-
type: 'uint256',
|
|
3170
|
-
},
|
|
3171
|
-
{
|
|
3172
|
-
name: '_minLpAmount',
|
|
3173
|
-
type: 'uint256',
|
|
3174
|
-
},
|
|
3175
|
-
],
|
|
3176
|
-
outputs: [
|
|
3177
|
-
{
|
|
3178
|
-
name: '',
|
|
3179
|
-
type: 'uint256',
|
|
3180
|
-
},
|
|
3181
|
-
],
|
|
3182
|
-
},
|
|
3183
|
-
{
|
|
3184
|
-
stateMutability: 'nonpayable',
|
|
3185
|
-
type: 'function',
|
|
3186
|
-
name: 'addLiquidityInEndaoment',
|
|
3187
|
-
inputs: [
|
|
3188
|
-
{
|
|
3189
|
-
name: '_legoId',
|
|
3190
|
-
type: 'uint256',
|
|
3191
|
-
},
|
|
3192
|
-
{
|
|
3193
|
-
name: '_pool',
|
|
3194
|
-
type: 'address',
|
|
3195
|
-
},
|
|
3196
|
-
{
|
|
3197
|
-
name: '_tokenA',
|
|
3198
|
-
type: 'address',
|
|
3199
|
-
},
|
|
3200
|
-
{
|
|
3201
|
-
name: '_tokenB',
|
|
3202
|
-
type: 'address',
|
|
3203
|
-
},
|
|
3204
|
-
{
|
|
3205
|
-
name: '_amountA',
|
|
3206
|
-
type: 'uint256',
|
|
3207
|
-
},
|
|
3208
|
-
{
|
|
3209
|
-
name: '_amountB',
|
|
3210
|
-
type: 'uint256',
|
|
3211
|
-
},
|
|
3212
|
-
{
|
|
3213
|
-
name: '_minAmountA',
|
|
3214
|
-
type: 'uint256',
|
|
3215
|
-
},
|
|
3216
|
-
{
|
|
3217
|
-
name: '_minAmountB',
|
|
3218
|
-
type: 'uint256',
|
|
3219
|
-
},
|
|
3220
|
-
{
|
|
3221
|
-
name: '_minLpAmount',
|
|
3222
|
-
type: 'uint256',
|
|
3223
|
-
},
|
|
3224
|
-
{
|
|
3225
|
-
name: '_extraData',
|
|
3226
|
-
type: 'bytes32',
|
|
3227
|
-
},
|
|
3228
|
-
],
|
|
3229
|
-
outputs: [
|
|
3230
|
-
{
|
|
3231
|
-
name: '',
|
|
3232
|
-
type: 'uint256',
|
|
3233
|
-
},
|
|
3234
|
-
],
|
|
3235
|
-
},
|
|
3236
|
-
{
|
|
3237
|
-
stateMutability: 'nonpayable',
|
|
3238
|
-
type: 'function',
|
|
3239
|
-
name: 'removeLiquidityInEndaoment',
|
|
3240
|
-
inputs: [
|
|
3241
|
-
{
|
|
3242
|
-
name: '_legoId',
|
|
3243
|
-
type: 'uint256',
|
|
3244
|
-
},
|
|
3245
|
-
{
|
|
3246
|
-
name: '_pool',
|
|
3247
|
-
type: 'address',
|
|
3248
|
-
},
|
|
3249
|
-
{
|
|
3250
|
-
name: '_tokenA',
|
|
3251
|
-
type: 'address',
|
|
3252
|
-
},
|
|
3253
|
-
{
|
|
3254
|
-
name: '_tokenB',
|
|
3255
|
-
type: 'address',
|
|
3256
|
-
},
|
|
3257
|
-
{
|
|
3258
|
-
name: '_lpToken',
|
|
3259
|
-
type: 'address',
|
|
3260
|
-
},
|
|
3261
|
-
],
|
|
3262
|
-
outputs: [
|
|
3263
|
-
{
|
|
3264
|
-
name: '',
|
|
3265
|
-
type: 'uint256',
|
|
3266
|
-
},
|
|
3267
|
-
],
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
stateMutability: 'nonpayable',
|
|
3271
|
-
type: 'function',
|
|
3272
|
-
name: 'removeLiquidityInEndaoment',
|
|
3273
|
-
inputs: [
|
|
3274
|
-
{
|
|
3275
|
-
name: '_legoId',
|
|
3276
|
-
type: 'uint256',
|
|
3277
|
-
},
|
|
3278
|
-
{
|
|
3279
|
-
name: '_pool',
|
|
3280
|
-
type: 'address',
|
|
3281
|
-
},
|
|
3282
|
-
{
|
|
3283
|
-
name: '_tokenA',
|
|
3284
|
-
type: 'address',
|
|
3285
|
-
},
|
|
3286
|
-
{
|
|
3287
|
-
name: '_tokenB',
|
|
3288
|
-
type: 'address',
|
|
3289
|
-
},
|
|
3290
|
-
{
|
|
3291
|
-
name: '_lpToken',
|
|
3292
|
-
type: 'address',
|
|
3293
|
-
},
|
|
3294
|
-
{
|
|
3295
|
-
name: '_lpAmount',
|
|
1678
|
+
name: '_amount',
|
|
3296
1679
|
type: 'uint256',
|
|
3297
1680
|
},
|
|
3298
1681
|
],
|
|
@@ -3306,81 +1689,20 @@ export const abi = [
|
|
|
3306
1689
|
{
|
|
3307
1690
|
stateMutability: 'nonpayable',
|
|
3308
1691
|
type: 'function',
|
|
3309
|
-
name: '
|
|
1692
|
+
name: 'claimDepositLootForAsset',
|
|
3310
1693
|
inputs: [
|
|
3311
1694
|
{
|
|
3312
|
-
name: '
|
|
3313
|
-
type: 'uint256',
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
name: '_pool',
|
|
3317
|
-
type: 'address',
|
|
3318
|
-
},
|
|
3319
|
-
{
|
|
3320
|
-
name: '_tokenA',
|
|
3321
|
-
type: 'address',
|
|
3322
|
-
},
|
|
3323
|
-
{
|
|
3324
|
-
name: '_tokenB',
|
|
3325
|
-
type: 'address',
|
|
3326
|
-
},
|
|
3327
|
-
{
|
|
3328
|
-
name: '_lpToken',
|
|
1695
|
+
name: '_user',
|
|
3329
1696
|
type: 'address',
|
|
3330
1697
|
},
|
|
3331
1698
|
{
|
|
3332
|
-
name: '
|
|
3333
|
-
type: 'uint256',
|
|
3334
|
-
},
|
|
3335
|
-
{
|
|
3336
|
-
name: '_minAmountA',
|
|
3337
|
-
type: 'uint256',
|
|
3338
|
-
},
|
|
3339
|
-
],
|
|
3340
|
-
outputs: [
|
|
3341
|
-
{
|
|
3342
|
-
name: '',
|
|
3343
|
-
type: 'uint256',
|
|
3344
|
-
},
|
|
3345
|
-
],
|
|
3346
|
-
},
|
|
3347
|
-
{
|
|
3348
|
-
stateMutability: 'nonpayable',
|
|
3349
|
-
type: 'function',
|
|
3350
|
-
name: 'removeLiquidityInEndaoment',
|
|
3351
|
-
inputs: [
|
|
3352
|
-
{
|
|
3353
|
-
name: '_legoId',
|
|
1699
|
+
name: '_vaultId',
|
|
3354
1700
|
type: 'uint256',
|
|
3355
1701
|
},
|
|
3356
1702
|
{
|
|
3357
|
-
name: '
|
|
3358
|
-
type: 'address',
|
|
3359
|
-
},
|
|
3360
|
-
{
|
|
3361
|
-
name: '_tokenA',
|
|
3362
|
-
type: 'address',
|
|
3363
|
-
},
|
|
3364
|
-
{
|
|
3365
|
-
name: '_tokenB',
|
|
3366
|
-
type: 'address',
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
name: '_lpToken',
|
|
1703
|
+
name: '_asset',
|
|
3370
1704
|
type: 'address',
|
|
3371
1705
|
},
|
|
3372
|
-
{
|
|
3373
|
-
name: '_lpAmount',
|
|
3374
|
-
type: 'uint256',
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
name: '_minAmountA',
|
|
3378
|
-
type: 'uint256',
|
|
3379
|
-
},
|
|
3380
|
-
{
|
|
3381
|
-
name: '_minAmountB',
|
|
3382
|
-
type: 'uint256',
|
|
3383
|
-
},
|
|
3384
1706
|
],
|
|
3385
1707
|
outputs: [
|
|
3386
1708
|
{
|
|
@@ -3392,61 +1714,16 @@ export const abi = [
|
|
|
3392
1714
|
{
|
|
3393
1715
|
stateMutability: 'nonpayable',
|
|
3394
1716
|
type: 'function',
|
|
3395
|
-
name: '
|
|
1717
|
+
name: 'updateDepositPoints',
|
|
3396
1718
|
inputs: [
|
|
3397
1719
|
{
|
|
3398
|
-
name: '
|
|
3399
|
-
type: 'uint256',
|
|
3400
|
-
},
|
|
3401
|
-
{
|
|
3402
|
-
name: '_pool',
|
|
3403
|
-
type: 'address',
|
|
3404
|
-
},
|
|
3405
|
-
{
|
|
3406
|
-
name: '_tokenA',
|
|
3407
|
-
type: 'address',
|
|
3408
|
-
},
|
|
3409
|
-
{
|
|
3410
|
-
name: '_tokenB',
|
|
3411
|
-
type: 'address',
|
|
3412
|
-
},
|
|
3413
|
-
{
|
|
3414
|
-
name: '_lpToken',
|
|
1720
|
+
name: '_user',
|
|
3415
1721
|
type: 'address',
|
|
3416
1722
|
},
|
|
3417
1723
|
{
|
|
3418
|
-
name: '
|
|
3419
|
-
type: 'uint256',
|
|
3420
|
-
},
|
|
3421
|
-
{
|
|
3422
|
-
name: '_minAmountA',
|
|
3423
|
-
type: 'uint256',
|
|
3424
|
-
},
|
|
3425
|
-
{
|
|
3426
|
-
name: '_minAmountB',
|
|
3427
|
-
type: 'uint256',
|
|
3428
|
-
},
|
|
3429
|
-
{
|
|
3430
|
-
name: '_extraData',
|
|
3431
|
-
type: 'bytes32',
|
|
3432
|
-
},
|
|
3433
|
-
],
|
|
3434
|
-
outputs: [
|
|
3435
|
-
{
|
|
3436
|
-
name: '',
|
|
1724
|
+
name: '_vaultId',
|
|
3437
1725
|
type: 'uint256',
|
|
3438
1726
|
},
|
|
3439
|
-
],
|
|
3440
|
-
},
|
|
3441
|
-
{
|
|
3442
|
-
stateMutability: 'nonpayable',
|
|
3443
|
-
type: 'function',
|
|
3444
|
-
name: 'mintPartnerLiquidityInEndaoment',
|
|
3445
|
-
inputs: [
|
|
3446
|
-
{
|
|
3447
|
-
name: '_partner',
|
|
3448
|
-
type: 'address',
|
|
3449
|
-
},
|
|
3450
1727
|
{
|
|
3451
1728
|
name: '_asset',
|
|
3452
1729
|
type: 'address',
|
|
@@ -3455,52 +1732,23 @@ export const abi = [
|
|
|
3455
1732
|
outputs: [
|
|
3456
1733
|
{
|
|
3457
1734
|
name: '',
|
|
3458
|
-
type: '
|
|
1735
|
+
type: 'bool',
|
|
3459
1736
|
},
|
|
3460
1737
|
],
|
|
3461
1738
|
},
|
|
3462
1739
|
{
|
|
3463
1740
|
stateMutability: 'nonpayable',
|
|
3464
1741
|
type: 'function',
|
|
3465
|
-
name: '
|
|
1742
|
+
name: 'updateManyDepositPoints',
|
|
3466
1743
|
inputs: [
|
|
3467
1744
|
{
|
|
3468
|
-
name: '
|
|
3469
|
-
type: 'address',
|
|
3470
|
-
},
|
|
3471
|
-
{
|
|
3472
|
-
name: '_asset',
|
|
3473
|
-
type: 'address',
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
name: '_amount',
|
|
3477
|
-
type: 'uint256',
|
|
3478
|
-
},
|
|
3479
|
-
],
|
|
3480
|
-
outputs: [
|
|
3481
|
-
{
|
|
3482
|
-
name: '',
|
|
3483
|
-
type: 'uint256',
|
|
1745
|
+
name: '_users',
|
|
1746
|
+
type: 'address[]',
|
|
3484
1747
|
},
|
|
3485
|
-
],
|
|
3486
|
-
},
|
|
3487
|
-
{
|
|
3488
|
-
stateMutability: 'nonpayable',
|
|
3489
|
-
type: 'function',
|
|
3490
|
-
name: 'addPartnerLiquidityInEndaoment',
|
|
3491
|
-
inputs: [
|
|
3492
1748
|
{
|
|
3493
|
-
name: '
|
|
1749
|
+
name: '_vaultId',
|
|
3494
1750
|
type: 'uint256',
|
|
3495
1751
|
},
|
|
3496
|
-
{
|
|
3497
|
-
name: '_pool',
|
|
3498
|
-
type: 'address',
|
|
3499
|
-
},
|
|
3500
|
-
{
|
|
3501
|
-
name: '_partner',
|
|
3502
|
-
type: 'address',
|
|
3503
|
-
},
|
|
3504
1752
|
{
|
|
3505
1753
|
name: '_asset',
|
|
3506
1754
|
type: 'address',
|
|
@@ -3509,35 +1757,27 @@ export const abi = [
|
|
|
3509
1757
|
outputs: [
|
|
3510
1758
|
{
|
|
3511
1759
|
name: '',
|
|
3512
|
-
type: '
|
|
1760
|
+
type: 'bool',
|
|
3513
1761
|
},
|
|
3514
1762
|
],
|
|
3515
1763
|
},
|
|
3516
1764
|
{
|
|
3517
1765
|
stateMutability: 'nonpayable',
|
|
3518
1766
|
type: 'function',
|
|
3519
|
-
name: '
|
|
1767
|
+
name: 'startAuction',
|
|
3520
1768
|
inputs: [
|
|
3521
1769
|
{
|
|
3522
|
-
name: '
|
|
3523
|
-
type: 'uint256',
|
|
3524
|
-
},
|
|
3525
|
-
{
|
|
3526
|
-
name: '_pool',
|
|
1770
|
+
name: '_liqUser',
|
|
3527
1771
|
type: 'address',
|
|
3528
1772
|
},
|
|
3529
1773
|
{
|
|
3530
|
-
name: '
|
|
3531
|
-
type: '
|
|
1774
|
+
name: '_vaultId',
|
|
1775
|
+
type: 'uint256',
|
|
3532
1776
|
},
|
|
3533
1777
|
{
|
|
3534
1778
|
name: '_asset',
|
|
3535
1779
|
type: 'address',
|
|
3536
1780
|
},
|
|
3537
|
-
{
|
|
3538
|
-
name: '_amount',
|
|
3539
|
-
type: 'uint256',
|
|
3540
|
-
},
|
|
3541
1781
|
],
|
|
3542
1782
|
outputs: [
|
|
3543
1783
|
{
|
|
@@ -3549,31 +1789,25 @@ export const abi = [
|
|
|
3549
1789
|
{
|
|
3550
1790
|
stateMutability: 'nonpayable',
|
|
3551
1791
|
type: 'function',
|
|
3552
|
-
name: '
|
|
1792
|
+
name: 'startManyAuctions',
|
|
3553
1793
|
inputs: [
|
|
3554
1794
|
{
|
|
3555
|
-
name: '
|
|
3556
|
-
type: '
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
name: '_amount',
|
|
3572
|
-
type: 'uint256',
|
|
3573
|
-
},
|
|
3574
|
-
{
|
|
3575
|
-
name: '_minLpAmount',
|
|
3576
|
-
type: 'uint256',
|
|
1795
|
+
name: '_auctions',
|
|
1796
|
+
type: 'tuple[]',
|
|
1797
|
+
components: [
|
|
1798
|
+
{
|
|
1799
|
+
name: 'liqUser',
|
|
1800
|
+
type: 'address',
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
name: 'vaultId',
|
|
1804
|
+
type: 'uint256',
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
name: 'asset',
|
|
1808
|
+
type: 'address',
|
|
1809
|
+
},
|
|
1810
|
+
],
|
|
3577
1811
|
},
|
|
3578
1812
|
],
|
|
3579
1813
|
outputs: [
|
|
@@ -3586,33 +1820,20 @@ export const abi = [
|
|
|
3586
1820
|
{
|
|
3587
1821
|
stateMutability: 'nonpayable',
|
|
3588
1822
|
type: 'function',
|
|
3589
|
-
name: '
|
|
1823
|
+
name: 'pauseAuction',
|
|
3590
1824
|
inputs: [
|
|
3591
1825
|
{
|
|
3592
|
-
name: '
|
|
1826
|
+
name: '_liqUser',
|
|
3593
1827
|
type: 'address',
|
|
3594
1828
|
},
|
|
3595
|
-
],
|
|
3596
|
-
outputs: [
|
|
3597
1829
|
{
|
|
3598
|
-
name: '',
|
|
1830
|
+
name: '_vaultId',
|
|
3599
1831
|
type: 'uint256',
|
|
3600
1832
|
},
|
|
3601
|
-
],
|
|
3602
|
-
},
|
|
3603
|
-
{
|
|
3604
|
-
stateMutability: 'nonpayable',
|
|
3605
|
-
type: 'function',
|
|
3606
|
-
name: 'repayPoolDebtInEndaoment',
|
|
3607
|
-
inputs: [
|
|
3608
1833
|
{
|
|
3609
|
-
name: '
|
|
1834
|
+
name: '_asset',
|
|
3610
1835
|
type: 'address',
|
|
3611
1836
|
},
|
|
3612
|
-
{
|
|
3613
|
-
name: '_amount',
|
|
3614
|
-
type: 'uint256',
|
|
3615
|
-
},
|
|
3616
1837
|
],
|
|
3617
1838
|
outputs: [
|
|
3618
1839
|
{
|
|
@@ -3624,19 +1845,25 @@ export const abi = [
|
|
|
3624
1845
|
{
|
|
3625
1846
|
stateMutability: 'nonpayable',
|
|
3626
1847
|
type: 'function',
|
|
3627
|
-
name: '
|
|
1848
|
+
name: 'pauseManyAuctions',
|
|
3628
1849
|
inputs: [
|
|
3629
1850
|
{
|
|
3630
|
-
name: '
|
|
3631
|
-
type: '
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
1851
|
+
name: '_auctions',
|
|
1852
|
+
type: 'tuple[]',
|
|
1853
|
+
components: [
|
|
1854
|
+
{
|
|
1855
|
+
name: 'liqUser',
|
|
1856
|
+
type: 'address',
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
name: 'vaultId',
|
|
1860
|
+
type: 'uint256',
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
name: 'asset',
|
|
1864
|
+
type: 'address',
|
|
1865
|
+
},
|
|
1866
|
+
],
|
|
3640
1867
|
},
|
|
3641
1868
|
],
|
|
3642
1869
|
outputs: [
|
|
@@ -3964,117 +2191,7 @@ export const abi = [
|
|
|
3964
2191
|
{
|
|
3965
2192
|
stateMutability: 'view',
|
|
3966
2193
|
type: 'function',
|
|
3967
|
-
name: '
|
|
3968
|
-
inputs: [
|
|
3969
|
-
{
|
|
3970
|
-
name: 'arg0',
|
|
3971
|
-
type: 'uint256',
|
|
3972
|
-
},
|
|
3973
|
-
{
|
|
3974
|
-
name: 'arg1',
|
|
3975
|
-
type: 'uint256',
|
|
3976
|
-
},
|
|
3977
|
-
],
|
|
3978
|
-
outputs: [
|
|
3979
|
-
{
|
|
3980
|
-
name: '',
|
|
3981
|
-
type: 'tuple',
|
|
3982
|
-
components: [
|
|
3983
|
-
{
|
|
3984
|
-
name: 'legoId',
|
|
3985
|
-
type: 'uint256',
|
|
3986
|
-
},
|
|
3987
|
-
{
|
|
3988
|
-
name: 'amountIn',
|
|
3989
|
-
type: 'uint256',
|
|
3990
|
-
},
|
|
3991
|
-
{
|
|
3992
|
-
name: 'minAmountOut',
|
|
3993
|
-
type: 'uint256',
|
|
3994
|
-
},
|
|
3995
|
-
{
|
|
3996
|
-
name: 'tokenPath',
|
|
3997
|
-
type: 'address[]',
|
|
3998
|
-
},
|
|
3999
|
-
{
|
|
4000
|
-
name: 'poolPath',
|
|
4001
|
-
type: 'address[]',
|
|
4002
|
-
},
|
|
4003
|
-
],
|
|
4004
|
-
},
|
|
4005
|
-
],
|
|
4006
|
-
},
|
|
4007
|
-
{
|
|
4008
|
-
stateMutability: 'view',
|
|
4009
|
-
type: 'function',
|
|
4010
|
-
name: 'pendingEndaoAddLiquidityActions',
|
|
4011
|
-
inputs: [
|
|
4012
|
-
{
|
|
4013
|
-
name: 'arg0',
|
|
4014
|
-
type: 'uint256',
|
|
4015
|
-
},
|
|
4016
|
-
],
|
|
4017
|
-
outputs: [
|
|
4018
|
-
{
|
|
4019
|
-
name: '',
|
|
4020
|
-
type: 'tuple',
|
|
4021
|
-
components: [
|
|
4022
|
-
{
|
|
4023
|
-
name: 'legoId',
|
|
4024
|
-
type: 'uint256',
|
|
4025
|
-
},
|
|
4026
|
-
{
|
|
4027
|
-
name: 'pool',
|
|
4028
|
-
type: 'address',
|
|
4029
|
-
},
|
|
4030
|
-
{
|
|
4031
|
-
name: 'tokenA',
|
|
4032
|
-
type: 'address',
|
|
4033
|
-
},
|
|
4034
|
-
{
|
|
4035
|
-
name: 'tokenB',
|
|
4036
|
-
type: 'address',
|
|
4037
|
-
},
|
|
4038
|
-
{
|
|
4039
|
-
name: 'amountA',
|
|
4040
|
-
type: 'uint256',
|
|
4041
|
-
},
|
|
4042
|
-
{
|
|
4043
|
-
name: 'amountB',
|
|
4044
|
-
type: 'uint256',
|
|
4045
|
-
},
|
|
4046
|
-
{
|
|
4047
|
-
name: 'minAmountA',
|
|
4048
|
-
type: 'uint256',
|
|
4049
|
-
},
|
|
4050
|
-
{
|
|
4051
|
-
name: 'minAmountB',
|
|
4052
|
-
type: 'uint256',
|
|
4053
|
-
},
|
|
4054
|
-
{
|
|
4055
|
-
name: 'minLpAmount',
|
|
4056
|
-
type: 'uint256',
|
|
4057
|
-
},
|
|
4058
|
-
{
|
|
4059
|
-
name: 'extraData',
|
|
4060
|
-
type: 'bytes32',
|
|
4061
|
-
},
|
|
4062
|
-
{
|
|
4063
|
-
name: 'lpToken',
|
|
4064
|
-
type: 'address',
|
|
4065
|
-
},
|
|
4066
|
-
{
|
|
4067
|
-
name: 'lpAmount',
|
|
4068
|
-
type: 'uint256',
|
|
4069
|
-
},
|
|
4070
|
-
],
|
|
4071
|
-
},
|
|
4072
|
-
],
|
|
4073
|
-
},
|
|
4074
|
-
{
|
|
4075
|
-
stateMutability: 'view',
|
|
4076
|
-
type: 'function',
|
|
4077
|
-
name: 'pendingEndaoRemoveLiquidityActions',
|
|
2194
|
+
name: 'pendingTrainingWheels',
|
|
4078
2195
|
inputs: [
|
|
4079
2196
|
{
|
|
4080
2197
|
name: 'arg0',
|
|
@@ -4084,64 +2201,14 @@ export const abi = [
|
|
|
4084
2201
|
outputs: [
|
|
4085
2202
|
{
|
|
4086
2203
|
name: '',
|
|
4087
|
-
type: '
|
|
4088
|
-
components: [
|
|
4089
|
-
{
|
|
4090
|
-
name: 'legoId',
|
|
4091
|
-
type: 'uint256',
|
|
4092
|
-
},
|
|
4093
|
-
{
|
|
4094
|
-
name: 'pool',
|
|
4095
|
-
type: 'address',
|
|
4096
|
-
},
|
|
4097
|
-
{
|
|
4098
|
-
name: 'tokenA',
|
|
4099
|
-
type: 'address',
|
|
4100
|
-
},
|
|
4101
|
-
{
|
|
4102
|
-
name: 'tokenB',
|
|
4103
|
-
type: 'address',
|
|
4104
|
-
},
|
|
4105
|
-
{
|
|
4106
|
-
name: 'amountA',
|
|
4107
|
-
type: 'uint256',
|
|
4108
|
-
},
|
|
4109
|
-
{
|
|
4110
|
-
name: 'amountB',
|
|
4111
|
-
type: 'uint256',
|
|
4112
|
-
},
|
|
4113
|
-
{
|
|
4114
|
-
name: 'minAmountA',
|
|
4115
|
-
type: 'uint256',
|
|
4116
|
-
},
|
|
4117
|
-
{
|
|
4118
|
-
name: 'minAmountB',
|
|
4119
|
-
type: 'uint256',
|
|
4120
|
-
},
|
|
4121
|
-
{
|
|
4122
|
-
name: 'minLpAmount',
|
|
4123
|
-
type: 'uint256',
|
|
4124
|
-
},
|
|
4125
|
-
{
|
|
4126
|
-
name: 'extraData',
|
|
4127
|
-
type: 'bytes32',
|
|
4128
|
-
},
|
|
4129
|
-
{
|
|
4130
|
-
name: 'lpToken',
|
|
4131
|
-
type: 'address',
|
|
4132
|
-
},
|
|
4133
|
-
{
|
|
4134
|
-
name: 'lpAmount',
|
|
4135
|
-
type: 'uint256',
|
|
4136
|
-
},
|
|
4137
|
-
],
|
|
2204
|
+
type: 'address',
|
|
4138
2205
|
},
|
|
4139
2206
|
],
|
|
4140
2207
|
},
|
|
4141
2208
|
{
|
|
4142
2209
|
stateMutability: 'view',
|
|
4143
2210
|
type: 'function',
|
|
4144
|
-
name: '
|
|
2211
|
+
name: 'pendingUnderscoreSendInterval',
|
|
4145
2212
|
inputs: [
|
|
4146
2213
|
{
|
|
4147
2214
|
name: 'arg0',
|
|
@@ -4151,71 +2218,14 @@ export const abi = [
|
|
|
4151
2218
|
outputs: [
|
|
4152
2219
|
{
|
|
4153
2220
|
name: '',
|
|
4154
|
-
type: 'tuple',
|
|
4155
|
-
components: [
|
|
4156
|
-
{
|
|
4157
|
-
name: 'partner',
|
|
4158
|
-
type: 'address',
|
|
4159
|
-
},
|
|
4160
|
-
{
|
|
4161
|
-
name: 'asset',
|
|
4162
|
-
type: 'address',
|
|
4163
|
-
},
|
|
4164
|
-
{
|
|
4165
|
-
name: 'amount',
|
|
4166
|
-
type: 'uint256',
|
|
4167
|
-
},
|
|
4168
|
-
],
|
|
4169
|
-
},
|
|
4170
|
-
],
|
|
4171
|
-
},
|
|
4172
|
-
{
|
|
4173
|
-
stateMutability: 'view',
|
|
4174
|
-
type: 'function',
|
|
4175
|
-
name: 'pendingEndaoPartnerPoolActions',
|
|
4176
|
-
inputs: [
|
|
4177
|
-
{
|
|
4178
|
-
name: 'arg0',
|
|
4179
2221
|
type: 'uint256',
|
|
4180
2222
|
},
|
|
4181
2223
|
],
|
|
4182
|
-
outputs: [
|
|
4183
|
-
{
|
|
4184
|
-
name: '',
|
|
4185
|
-
type: 'tuple',
|
|
4186
|
-
components: [
|
|
4187
|
-
{
|
|
4188
|
-
name: 'legoId',
|
|
4189
|
-
type: 'uint256',
|
|
4190
|
-
},
|
|
4191
|
-
{
|
|
4192
|
-
name: 'pool',
|
|
4193
|
-
type: 'address',
|
|
4194
|
-
},
|
|
4195
|
-
{
|
|
4196
|
-
name: 'partner',
|
|
4197
|
-
type: 'address',
|
|
4198
|
-
},
|
|
4199
|
-
{
|
|
4200
|
-
name: 'asset',
|
|
4201
|
-
type: 'address',
|
|
4202
|
-
},
|
|
4203
|
-
{
|
|
4204
|
-
name: 'amount',
|
|
4205
|
-
type: 'uint256',
|
|
4206
|
-
},
|
|
4207
|
-
{
|
|
4208
|
-
name: 'minLpAmount',
|
|
4209
|
-
type: 'uint256',
|
|
4210
|
-
},
|
|
4211
|
-
],
|
|
4212
|
-
},
|
|
4213
|
-
],
|
|
4214
2224
|
},
|
|
4215
2225
|
{
|
|
4216
2226
|
stateMutability: 'view',
|
|
4217
2227
|
type: 'function',
|
|
4218
|
-
name: '
|
|
2228
|
+
name: 'pendingUndyDepositRewardsAmount',
|
|
4219
2229
|
inputs: [
|
|
4220
2230
|
{
|
|
4221
2231
|
name: 'arg0',
|
|
@@ -4225,55 +2235,14 @@ export const abi = [
|
|
|
4225
2235
|
outputs: [
|
|
4226
2236
|
{
|
|
4227
2237
|
name: '',
|
|
4228
|
-
type: 'tuple',
|
|
4229
|
-
components: [
|
|
4230
|
-
{
|
|
4231
|
-
name: 'pool',
|
|
4232
|
-
type: 'address',
|
|
4233
|
-
},
|
|
4234
|
-
{
|
|
4235
|
-
name: 'amount',
|
|
4236
|
-
type: 'uint256',
|
|
4237
|
-
},
|
|
4238
|
-
],
|
|
4239
|
-
},
|
|
4240
|
-
],
|
|
4241
|
-
},
|
|
4242
|
-
{
|
|
4243
|
-
stateMutability: 'view',
|
|
4244
|
-
type: 'function',
|
|
4245
|
-
name: 'pendingEndaoRecoverNftActions',
|
|
4246
|
-
inputs: [
|
|
4247
|
-
{
|
|
4248
|
-
name: 'arg0',
|
|
4249
2238
|
type: 'uint256',
|
|
4250
2239
|
},
|
|
4251
2240
|
],
|
|
4252
|
-
outputs: [
|
|
4253
|
-
{
|
|
4254
|
-
name: '',
|
|
4255
|
-
type: 'tuple',
|
|
4256
|
-
components: [
|
|
4257
|
-
{
|
|
4258
|
-
name: 'collection',
|
|
4259
|
-
type: 'address',
|
|
4260
|
-
},
|
|
4261
|
-
{
|
|
4262
|
-
name: 'nftTokenId',
|
|
4263
|
-
type: 'uint256',
|
|
4264
|
-
},
|
|
4265
|
-
{
|
|
4266
|
-
name: 'recipient',
|
|
4267
|
-
type: 'address',
|
|
4268
|
-
},
|
|
4269
|
-
],
|
|
4270
|
-
},
|
|
4271
|
-
],
|
|
4272
2241
|
},
|
|
4273
2242
|
{
|
|
4274
2243
|
stateMutability: 'view',
|
|
4275
2244
|
type: 'function',
|
|
4276
|
-
name: '
|
|
2245
|
+
name: 'pendingUndyYieldBonusAmount',
|
|
4277
2246
|
inputs: [
|
|
4278
2247
|
{
|
|
4279
2248
|
name: 'arg0',
|
|
@@ -4283,36 +2252,9 @@ export const abi = [
|
|
|
4283
2252
|
outputs: [
|
|
4284
2253
|
{
|
|
4285
2254
|
name: '',
|
|
4286
|
-
type: 'tuple',
|
|
4287
|
-
components: [
|
|
4288
|
-
{
|
|
4289
|
-
name: 'asset',
|
|
4290
|
-
type: 'address',
|
|
4291
|
-
},
|
|
4292
|
-
{
|
|
4293
|
-
name: 'amount',
|
|
4294
|
-
type: 'uint256',
|
|
4295
|
-
},
|
|
4296
|
-
],
|
|
4297
|
-
},
|
|
4298
|
-
],
|
|
4299
|
-
},
|
|
4300
|
-
{
|
|
4301
|
-
stateMutability: 'view',
|
|
4302
|
-
type: 'function',
|
|
4303
|
-
name: 'pendingTrainingWheels',
|
|
4304
|
-
inputs: [
|
|
4305
|
-
{
|
|
4306
|
-
name: 'arg0',
|
|
4307
2255
|
type: 'uint256',
|
|
4308
2256
|
},
|
|
4309
2257
|
],
|
|
4310
|
-
outputs: [
|
|
4311
|
-
{
|
|
4312
|
-
name: '',
|
|
4313
|
-
type: 'address',
|
|
4314
|
-
},
|
|
4315
|
-
],
|
|
4316
2258
|
},
|
|
4317
2259
|
{
|
|
4318
2260
|
stateMutability: 'nonpayable',
|
|
@@ -4338,7 +2280,7 @@ export const abi = [
|
|
|
4338
2280
|
outputs: [],
|
|
4339
2281
|
},
|
|
4340
2282
|
];
|
|
4341
|
-
export const deployAddress = '
|
|
2283
|
+
export const deployAddress = '0x6D798bD44b1591571c9d95b6D51c9c34a5534008';
|
|
4342
2284
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
4343
2285
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
4344
2286
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -4397,15 +2339,10 @@ export const call = {
|
|
|
4397
2339
|
pendingStartManyAuctionsActions: (...args) => getRequest('pendingStartManyAuctionsActions', args),
|
|
4398
2340
|
pendingPauseAuctionActions: (...args) => getRequest('pendingPauseAuctionActions', args),
|
|
4399
2341
|
pendingPauseManyAuctionsActions: (...args) => getRequest('pendingPauseManyAuctionsActions', args),
|
|
4400
|
-
pendingEndaoSwapActions: (...args) => getRequest('pendingEndaoSwapActions', args),
|
|
4401
|
-
pendingEndaoAddLiquidityActions: (...args) => getRequest('pendingEndaoAddLiquidityActions', args),
|
|
4402
|
-
pendingEndaoRemoveLiquidityActions: (...args) => getRequest('pendingEndaoRemoveLiquidityActions', args),
|
|
4403
|
-
pendingEndaoPartnerMintActions: (...args) => getRequest('pendingEndaoPartnerMintActions', args),
|
|
4404
|
-
pendingEndaoPartnerPoolActions: (...args) => getRequest('pendingEndaoPartnerPoolActions', args),
|
|
4405
|
-
pendingEndaoRepayActions: (...args) => getRequest('pendingEndaoRepayActions', args),
|
|
4406
|
-
pendingEndaoRecoverNftActions: (...args) => getRequest('pendingEndaoRecoverNftActions', args),
|
|
4407
|
-
pendingEndaoTransfer: (...args) => getRequest('pendingEndaoTransfer', args),
|
|
4408
2342
|
pendingTrainingWheels: (...args) => getRequest('pendingTrainingWheels', args),
|
|
2343
|
+
pendingUnderscoreSendInterval: (...args) => getRequest('pendingUnderscoreSendInterval', args),
|
|
2344
|
+
pendingUndyDepositRewardsAmount: (...args) => getRequest('pendingUndyDepositRewardsAmount', args),
|
|
2345
|
+
pendingUndyYieldBonusAmount: (...args) => getRequest('pendingUndyYieldBonusAmount', args),
|
|
4409
2346
|
};
|
|
4410
2347
|
function getMutation(functionName) {
|
|
4411
2348
|
return {
|
|
@@ -4436,6 +2373,11 @@ export const mutation = {
|
|
|
4436
2373
|
claimLootForUser: getMutation('claimLootForUser'),
|
|
4437
2374
|
claimLootForManyUsers: getMutation('claimLootForManyUsers'),
|
|
4438
2375
|
updateRipeRewards: getMutation('updateRipeRewards'),
|
|
2376
|
+
distributeUnderscoreRewards: getMutation('distributeUnderscoreRewards'),
|
|
2377
|
+
setHasUnderscoreRewards: getMutation('setHasUnderscoreRewards'),
|
|
2378
|
+
setUnderscoreSendInterval: getMutation('setUnderscoreSendInterval'),
|
|
2379
|
+
setUndyDepositRewardsAmount: getMutation('setUndyDepositRewardsAmount'),
|
|
2380
|
+
setUndyYieldBonusAmount: getMutation('setUndyYieldBonusAmount'),
|
|
4439
2381
|
claimDepositLootForAsset: getMutation('claimDepositLootForAsset'),
|
|
4440
2382
|
updateDepositPoints: getMutation('updateDepositPoints'),
|
|
4441
2383
|
updateManyDepositPoints: getMutation('updateManyDepositPoints'),
|
|
@@ -4443,21 +2385,6 @@ export const mutation = {
|
|
|
4443
2385
|
startManyAuctions: getMutation('startManyAuctions'),
|
|
4444
2386
|
pauseAuction: getMutation('pauseAuction'),
|
|
4445
2387
|
pauseManyAuctions: getMutation('pauseManyAuctions'),
|
|
4446
|
-
performEndaomentDeposit: getMutation('performEndaomentDeposit'),
|
|
4447
|
-
performEndaomentWithdraw: getMutation('performEndaomentWithdraw'),
|
|
4448
|
-
performEndaomentRebalance: getMutation('performEndaomentRebalance'),
|
|
4449
|
-
performEndaomentEthToWeth: getMutation('performEndaomentEthToWeth'),
|
|
4450
|
-
performEndaomentWethToEth: getMutation('performEndaomentWethToEth'),
|
|
4451
|
-
performEndaomentClaim: getMutation('performEndaomentClaim'),
|
|
4452
|
-
performEndaomentStabilizer: getMutation('performEndaomentStabilizer'),
|
|
4453
|
-
performEndaomentTransfer: getMutation('performEndaomentTransfer'),
|
|
4454
|
-
performEndaomentSwap: getMutation('performEndaomentSwap'),
|
|
4455
|
-
addLiquidityInEndaoment: getMutation('addLiquidityInEndaoment'),
|
|
4456
|
-
removeLiquidityInEndaoment: getMutation('removeLiquidityInEndaoment'),
|
|
4457
|
-
mintPartnerLiquidityInEndaoment: getMutation('mintPartnerLiquidityInEndaoment'),
|
|
4458
|
-
addPartnerLiquidityInEndaoment: getMutation('addPartnerLiquidityInEndaoment'),
|
|
4459
|
-
repayPoolDebtInEndaoment: getMutation('repayPoolDebtInEndaoment'),
|
|
4460
|
-
recoverNftInEndaoment: getMutation('recoverNftInEndaoment'),
|
|
4461
2388
|
setTrainingWheels: getMutation('setTrainingWheels'),
|
|
4462
2389
|
setManyTrainingWheelsAccess: getMutation('setManyTrainingWheelsAccess'),
|
|
4463
2390
|
executePendingAction: getMutation('executePendingAction'),
|
|
@@ -4498,15 +2425,10 @@ export function toSdk(publicClient, walletClient) {
|
|
|
4498
2425
|
pendingStartManyAuctionsActions: (...args) => singleQuery(publicClient, call.pendingStartManyAuctionsActions(...args)),
|
|
4499
2426
|
pendingPauseAuctionActions: (...args) => singleQuery(publicClient, call.pendingPauseAuctionActions(...args)),
|
|
4500
2427
|
pendingPauseManyAuctionsActions: (...args) => singleQuery(publicClient, call.pendingPauseManyAuctionsActions(...args)),
|
|
4501
|
-
pendingEndaoSwapActions: (...args) => singleQuery(publicClient, call.pendingEndaoSwapActions(...args)),
|
|
4502
|
-
pendingEndaoAddLiquidityActions: (...args) => singleQuery(publicClient, call.pendingEndaoAddLiquidityActions(...args)),
|
|
4503
|
-
pendingEndaoRemoveLiquidityActions: (...args) => singleQuery(publicClient, call.pendingEndaoRemoveLiquidityActions(...args)),
|
|
4504
|
-
pendingEndaoPartnerMintActions: (...args) => singleQuery(publicClient, call.pendingEndaoPartnerMintActions(...args)),
|
|
4505
|
-
pendingEndaoPartnerPoolActions: (...args) => singleQuery(publicClient, call.pendingEndaoPartnerPoolActions(...args)),
|
|
4506
|
-
pendingEndaoRepayActions: (...args) => singleQuery(publicClient, call.pendingEndaoRepayActions(...args)),
|
|
4507
|
-
pendingEndaoRecoverNftActions: (...args) => singleQuery(publicClient, call.pendingEndaoRecoverNftActions(...args)),
|
|
4508
|
-
pendingEndaoTransfer: (...args) => singleQuery(publicClient, call.pendingEndaoTransfer(...args)),
|
|
4509
2428
|
pendingTrainingWheels: (...args) => singleQuery(publicClient, call.pendingTrainingWheels(...args)),
|
|
2429
|
+
pendingUnderscoreSendInterval: (...args) => singleQuery(publicClient, call.pendingUnderscoreSendInterval(...args)),
|
|
2430
|
+
pendingUndyDepositRewardsAmount: (...args) => singleQuery(publicClient, call.pendingUndyDepositRewardsAmount(...args)),
|
|
2431
|
+
pendingUndyYieldBonusAmount: (...args) => singleQuery(publicClient, call.pendingUndyYieldBonusAmount(...args)),
|
|
4510
2432
|
// Mutations
|
|
4511
2433
|
startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
|
|
4512
2434
|
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
|
|
@@ -4527,6 +2449,11 @@ export function toSdk(publicClient, walletClient) {
|
|
|
4527
2449
|
claimLootForUser: (...args) => mutate(walletClient, mutation.claimLootForUser)(...args),
|
|
4528
2450
|
claimLootForManyUsers: (...args) => mutate(walletClient, mutation.claimLootForManyUsers)(...args),
|
|
4529
2451
|
updateRipeRewards: (...args) => mutate(walletClient, mutation.updateRipeRewards)(...args),
|
|
2452
|
+
distributeUnderscoreRewards: (...args) => mutate(walletClient, mutation.distributeUnderscoreRewards)(...args),
|
|
2453
|
+
setHasUnderscoreRewards: (...args) => mutate(walletClient, mutation.setHasUnderscoreRewards)(...args),
|
|
2454
|
+
setUnderscoreSendInterval: (...args) => mutate(walletClient, mutation.setUnderscoreSendInterval)(...args),
|
|
2455
|
+
setUndyDepositRewardsAmount: (...args) => mutate(walletClient, mutation.setUndyDepositRewardsAmount)(...args),
|
|
2456
|
+
setUndyYieldBonusAmount: (...args) => mutate(walletClient, mutation.setUndyYieldBonusAmount)(...args),
|
|
4530
2457
|
claimDepositLootForAsset: (...args) => mutate(walletClient, mutation.claimDepositLootForAsset)(...args),
|
|
4531
2458
|
updateDepositPoints: (...args) => mutate(walletClient, mutation.updateDepositPoints)(...args),
|
|
4532
2459
|
updateManyDepositPoints: (...args) => mutate(walletClient, mutation.updateManyDepositPoints)(...args),
|
|
@@ -4534,21 +2461,6 @@ export function toSdk(publicClient, walletClient) {
|
|
|
4534
2461
|
startManyAuctions: (...args) => mutate(walletClient, mutation.startManyAuctions)(...args),
|
|
4535
2462
|
pauseAuction: (...args) => mutate(walletClient, mutation.pauseAuction)(...args),
|
|
4536
2463
|
pauseManyAuctions: (...args) => mutate(walletClient, mutation.pauseManyAuctions)(...args),
|
|
4537
|
-
performEndaomentDeposit: (...args) => mutate(walletClient, mutation.performEndaomentDeposit)(...args),
|
|
4538
|
-
performEndaomentWithdraw: (...args) => mutate(walletClient, mutation.performEndaomentWithdraw)(...args),
|
|
4539
|
-
performEndaomentRebalance: (...args) => mutate(walletClient, mutation.performEndaomentRebalance)(...args),
|
|
4540
|
-
performEndaomentEthToWeth: (...args) => mutate(walletClient, mutation.performEndaomentEthToWeth)(...args),
|
|
4541
|
-
performEndaomentWethToEth: (...args) => mutate(walletClient, mutation.performEndaomentWethToEth)(...args),
|
|
4542
|
-
performEndaomentClaim: (...args) => mutate(walletClient, mutation.performEndaomentClaim)(...args),
|
|
4543
|
-
performEndaomentStabilizer: (...args) => mutate(walletClient, mutation.performEndaomentStabilizer)(...args),
|
|
4544
|
-
performEndaomentTransfer: (...args) => mutate(walletClient, mutation.performEndaomentTransfer)(...args),
|
|
4545
|
-
performEndaomentSwap: (...args) => mutate(walletClient, mutation.performEndaomentSwap)(...args),
|
|
4546
|
-
addLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.addLiquidityInEndaoment)(...args),
|
|
4547
|
-
removeLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.removeLiquidityInEndaoment)(...args),
|
|
4548
|
-
mintPartnerLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.mintPartnerLiquidityInEndaoment)(...args),
|
|
4549
|
-
addPartnerLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.addPartnerLiquidityInEndaoment)(...args),
|
|
4550
|
-
repayPoolDebtInEndaoment: (...args) => mutate(walletClient, mutation.repayPoolDebtInEndaoment)(...args),
|
|
4551
|
-
recoverNftInEndaoment: (...args) => mutate(walletClient, mutation.recoverNftInEndaoment)(...args),
|
|
4552
2464
|
setTrainingWheels: (...args) => mutate(walletClient, mutation.setTrainingWheels)(...args),
|
|
4553
2465
|
setManyTrainingWheelsAccess: (...args) => mutate(walletClient, mutation.setManyTrainingWheelsAccess)(...args),
|
|
4554
2466
|
executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
|