@ripe-finance/sdk 1.15.2 → 1.15.3
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/ChainlinkPrices.d.ts +3 -0
- package/dist/contracts/ChainlinkPrices.d.ts.map +1 -1
- package/dist/contracts/ChainlinkPrices.js +5 -1
- package/dist/contracts/DefaultsBase.d.ts +260 -40
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +266 -35
- package/dist/contracts/MissionControl.d.ts +45 -6
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +58 -6
- package/dist/contracts/PythPrices.js +1 -1
- package/dist/contracts/RedStone.js +1 -1
- package/dist/contracts/StorkPrices.js +1 -1
- package/dist/contracts/Switchboard.js +1 -1
- package/dist/contracts/SwitchboardAlpha.d.ts +590 -301
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +707 -277
- package/dist/contracts/SwitchboardBravo.d.ts +241 -191
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +301 -217
- package/dist/contracts/SwitchboardCharlie.d.ts +786 -28
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +1440 -470
- package/dist/contracts/SwitchboardDelta.d.ts +519 -8
- package/dist/contracts/SwitchboardDelta.d.ts.map +1 -1
- package/dist/contracts/SwitchboardDelta.js +702 -33
- package/dist/contracts/SwitchboardEcho.js +1 -1
- package/dist/contracts/UndyVaultPrices.js +1 -1
- package/dist/index.d.ts +96 -61
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -591,6 +591,236 @@ export declare const abi: readonly [{
|
|
|
591
591
|
}];
|
|
592
592
|
readonly anonymous: false;
|
|
593
593
|
readonly type: "event";
|
|
594
|
+
}, {
|
|
595
|
+
readonly name: "CanDepositAssetSet";
|
|
596
|
+
readonly inputs: readonly [{
|
|
597
|
+
readonly name: "asset";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
readonly indexed: true;
|
|
600
|
+
}, {
|
|
601
|
+
readonly name: "canDeposit";
|
|
602
|
+
readonly type: "bool";
|
|
603
|
+
readonly indexed: false;
|
|
604
|
+
}, {
|
|
605
|
+
readonly name: "caller";
|
|
606
|
+
readonly type: "address";
|
|
607
|
+
readonly indexed: true;
|
|
608
|
+
}];
|
|
609
|
+
readonly anonymous: false;
|
|
610
|
+
readonly type: "event";
|
|
611
|
+
}, {
|
|
612
|
+
readonly name: "CanWithdrawAssetSet";
|
|
613
|
+
readonly inputs: readonly [{
|
|
614
|
+
readonly name: "asset";
|
|
615
|
+
readonly type: "address";
|
|
616
|
+
readonly indexed: true;
|
|
617
|
+
}, {
|
|
618
|
+
readonly name: "canWithdraw";
|
|
619
|
+
readonly type: "bool";
|
|
620
|
+
readonly indexed: false;
|
|
621
|
+
}, {
|
|
622
|
+
readonly name: "caller";
|
|
623
|
+
readonly type: "address";
|
|
624
|
+
readonly indexed: true;
|
|
625
|
+
}];
|
|
626
|
+
readonly anonymous: false;
|
|
627
|
+
readonly type: "event";
|
|
628
|
+
}, {
|
|
629
|
+
readonly name: "CanRedeemInStabPoolAssetSet";
|
|
630
|
+
readonly inputs: readonly [{
|
|
631
|
+
readonly name: "asset";
|
|
632
|
+
readonly type: "address";
|
|
633
|
+
readonly indexed: true;
|
|
634
|
+
}, {
|
|
635
|
+
readonly name: "canRedeemInStabPool";
|
|
636
|
+
readonly type: "bool";
|
|
637
|
+
readonly indexed: false;
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "caller";
|
|
640
|
+
readonly type: "address";
|
|
641
|
+
readonly indexed: true;
|
|
642
|
+
}];
|
|
643
|
+
readonly anonymous: false;
|
|
644
|
+
readonly type: "event";
|
|
645
|
+
}, {
|
|
646
|
+
readonly name: "CanBuyInAuctionAssetSet";
|
|
647
|
+
readonly inputs: readonly [{
|
|
648
|
+
readonly name: "asset";
|
|
649
|
+
readonly type: "address";
|
|
650
|
+
readonly indexed: true;
|
|
651
|
+
}, {
|
|
652
|
+
readonly name: "canBuyInAuction";
|
|
653
|
+
readonly type: "bool";
|
|
654
|
+
readonly indexed: false;
|
|
655
|
+
}, {
|
|
656
|
+
readonly name: "caller";
|
|
657
|
+
readonly type: "address";
|
|
658
|
+
readonly indexed: true;
|
|
659
|
+
}];
|
|
660
|
+
readonly anonymous: false;
|
|
661
|
+
readonly type: "event";
|
|
662
|
+
}, {
|
|
663
|
+
readonly name: "CanClaimInStabPoolAssetSet";
|
|
664
|
+
readonly inputs: readonly [{
|
|
665
|
+
readonly name: "asset";
|
|
666
|
+
readonly type: "address";
|
|
667
|
+
readonly indexed: true;
|
|
668
|
+
}, {
|
|
669
|
+
readonly name: "canClaimInStabPool";
|
|
670
|
+
readonly type: "bool";
|
|
671
|
+
readonly indexed: false;
|
|
672
|
+
}, {
|
|
673
|
+
readonly name: "caller";
|
|
674
|
+
readonly type: "address";
|
|
675
|
+
readonly indexed: true;
|
|
676
|
+
}];
|
|
677
|
+
readonly anonymous: false;
|
|
678
|
+
readonly type: "event";
|
|
679
|
+
}, {
|
|
680
|
+
readonly name: "CanRedeemCollateralAssetSet";
|
|
681
|
+
readonly inputs: readonly [{
|
|
682
|
+
readonly name: "asset";
|
|
683
|
+
readonly type: "address";
|
|
684
|
+
readonly indexed: true;
|
|
685
|
+
}, {
|
|
686
|
+
readonly name: "canRedeemCollateral";
|
|
687
|
+
readonly type: "bool";
|
|
688
|
+
readonly indexed: false;
|
|
689
|
+
}, {
|
|
690
|
+
readonly name: "caller";
|
|
691
|
+
readonly type: "address";
|
|
692
|
+
readonly indexed: true;
|
|
693
|
+
}];
|
|
694
|
+
readonly anonymous: false;
|
|
695
|
+
readonly type: "event";
|
|
696
|
+
}, {
|
|
697
|
+
readonly name: "PendingDeregisterAssetAction";
|
|
698
|
+
readonly inputs: readonly [{
|
|
699
|
+
readonly name: "asset";
|
|
700
|
+
readonly type: "address";
|
|
701
|
+
readonly indexed: true;
|
|
702
|
+
}, {
|
|
703
|
+
readonly name: "confirmationBlock";
|
|
704
|
+
readonly type: "uint256";
|
|
705
|
+
readonly indexed: false;
|
|
706
|
+
}, {
|
|
707
|
+
readonly name: "actionId";
|
|
708
|
+
readonly type: "uint256";
|
|
709
|
+
readonly indexed: false;
|
|
710
|
+
}];
|
|
711
|
+
readonly anonymous: false;
|
|
712
|
+
readonly type: "event";
|
|
713
|
+
}, {
|
|
714
|
+
readonly name: "AssetDeregistered";
|
|
715
|
+
readonly inputs: readonly [{
|
|
716
|
+
readonly name: "asset";
|
|
717
|
+
readonly type: "address";
|
|
718
|
+
readonly indexed: true;
|
|
719
|
+
}];
|
|
720
|
+
readonly anonymous: false;
|
|
721
|
+
readonly type: "event";
|
|
722
|
+
}, {
|
|
723
|
+
readonly name: "PendingDeregisterVaultAssetAction";
|
|
724
|
+
readonly inputs: readonly [{
|
|
725
|
+
readonly name: "vaultAddr";
|
|
726
|
+
readonly type: "address";
|
|
727
|
+
readonly indexed: true;
|
|
728
|
+
}, {
|
|
729
|
+
readonly name: "asset";
|
|
730
|
+
readonly type: "address";
|
|
731
|
+
readonly indexed: true;
|
|
732
|
+
}, {
|
|
733
|
+
readonly name: "confirmationBlock";
|
|
734
|
+
readonly type: "uint256";
|
|
735
|
+
readonly indexed: false;
|
|
736
|
+
}, {
|
|
737
|
+
readonly name: "actionId";
|
|
738
|
+
readonly type: "uint256";
|
|
739
|
+
readonly indexed: false;
|
|
740
|
+
}];
|
|
741
|
+
readonly anonymous: false;
|
|
742
|
+
readonly type: "event";
|
|
743
|
+
}, {
|
|
744
|
+
readonly name: "PendingUserConfigAction";
|
|
745
|
+
readonly inputs: readonly [{
|
|
746
|
+
readonly name: "user";
|
|
747
|
+
readonly type: "address";
|
|
748
|
+
readonly indexed: true;
|
|
749
|
+
}, {
|
|
750
|
+
readonly name: "confirmationBlock";
|
|
751
|
+
readonly type: "uint256";
|
|
752
|
+
readonly indexed: false;
|
|
753
|
+
}, {
|
|
754
|
+
readonly name: "actionId";
|
|
755
|
+
readonly type: "uint256";
|
|
756
|
+
readonly indexed: false;
|
|
757
|
+
}];
|
|
758
|
+
readonly anonymous: false;
|
|
759
|
+
readonly type: "event";
|
|
760
|
+
}, {
|
|
761
|
+
readonly name: "PendingUserDelegationAction";
|
|
762
|
+
readonly inputs: readonly [{
|
|
763
|
+
readonly name: "user";
|
|
764
|
+
readonly type: "address";
|
|
765
|
+
readonly indexed: true;
|
|
766
|
+
}, {
|
|
767
|
+
readonly name: "delegate";
|
|
768
|
+
readonly type: "address";
|
|
769
|
+
readonly indexed: true;
|
|
770
|
+
}, {
|
|
771
|
+
readonly name: "confirmationBlock";
|
|
772
|
+
readonly type: "uint256";
|
|
773
|
+
readonly indexed: false;
|
|
774
|
+
}, {
|
|
775
|
+
readonly name: "actionId";
|
|
776
|
+
readonly type: "uint256";
|
|
777
|
+
readonly indexed: false;
|
|
778
|
+
}];
|
|
779
|
+
readonly anonymous: false;
|
|
780
|
+
readonly type: "event";
|
|
781
|
+
}, {
|
|
782
|
+
readonly name: "VaultAssetDeregistered";
|
|
783
|
+
readonly inputs: readonly [{
|
|
784
|
+
readonly name: "vaultAddr";
|
|
785
|
+
readonly type: "address";
|
|
786
|
+
readonly indexed: true;
|
|
787
|
+
}, {
|
|
788
|
+
readonly name: "asset";
|
|
789
|
+
readonly type: "address";
|
|
790
|
+
readonly indexed: true;
|
|
791
|
+
}];
|
|
792
|
+
readonly anonymous: false;
|
|
793
|
+
readonly type: "event";
|
|
794
|
+
}, {
|
|
795
|
+
readonly name: "UserConfigSet";
|
|
796
|
+
readonly inputs: readonly [{
|
|
797
|
+
readonly name: "user";
|
|
798
|
+
readonly type: "address";
|
|
799
|
+
readonly indexed: true;
|
|
800
|
+
}, {
|
|
801
|
+
readonly name: "caller";
|
|
802
|
+
readonly type: "address";
|
|
803
|
+
readonly indexed: true;
|
|
804
|
+
}];
|
|
805
|
+
readonly anonymous: false;
|
|
806
|
+
readonly type: "event";
|
|
807
|
+
}, {
|
|
808
|
+
readonly name: "UserDelegationSet";
|
|
809
|
+
readonly inputs: readonly [{
|
|
810
|
+
readonly name: "user";
|
|
811
|
+
readonly type: "address";
|
|
812
|
+
readonly indexed: true;
|
|
813
|
+
}, {
|
|
814
|
+
readonly name: "delegate";
|
|
815
|
+
readonly type: "address";
|
|
816
|
+
readonly indexed: true;
|
|
817
|
+
}, {
|
|
818
|
+
readonly name: "caller";
|
|
819
|
+
readonly type: "address";
|
|
820
|
+
readonly indexed: true;
|
|
821
|
+
}];
|
|
822
|
+
readonly anonymous: false;
|
|
823
|
+
readonly type: "event";
|
|
594
824
|
}, {
|
|
595
825
|
readonly name: "GovChangeTimeLockModified";
|
|
596
826
|
readonly inputs: readonly [{
|
|
@@ -1410,6 +1640,21 @@ export declare const abi: readonly [{
|
|
|
1410
1640
|
readonly name: "";
|
|
1411
1641
|
readonly type: "uint256";
|
|
1412
1642
|
}];
|
|
1643
|
+
}, {
|
|
1644
|
+
readonly stateMutability: "nonpayable";
|
|
1645
|
+
readonly type: "function";
|
|
1646
|
+
readonly name: "setTrainingWheels";
|
|
1647
|
+
readonly inputs: readonly [{
|
|
1648
|
+
readonly name: "_trainingWheels";
|
|
1649
|
+
readonly type: "address";
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly name: "_missionControl";
|
|
1652
|
+
readonly type: "address";
|
|
1653
|
+
}];
|
|
1654
|
+
readonly outputs: readonly [{
|
|
1655
|
+
readonly name: "";
|
|
1656
|
+
readonly type: "uint256";
|
|
1657
|
+
}];
|
|
1413
1658
|
}, {
|
|
1414
1659
|
readonly stateMutability: "nonpayable";
|
|
1415
1660
|
readonly type: "function";
|
|
@@ -1432,57 +1677,396 @@ export declare const abi: readonly [{
|
|
|
1432
1677
|
}, {
|
|
1433
1678
|
readonly stateMutability: "nonpayable";
|
|
1434
1679
|
readonly type: "function";
|
|
1435
|
-
readonly name: "
|
|
1680
|
+
readonly name: "deregisterAsset";
|
|
1436
1681
|
readonly inputs: readonly [{
|
|
1437
|
-
readonly name: "
|
|
1438
|
-
readonly type: "
|
|
1682
|
+
readonly name: "_asset";
|
|
1683
|
+
readonly type: "address";
|
|
1439
1684
|
}];
|
|
1440
1685
|
readonly outputs: readonly [{
|
|
1441
1686
|
readonly name: "";
|
|
1442
|
-
readonly type: "
|
|
1687
|
+
readonly type: "uint256";
|
|
1443
1688
|
}];
|
|
1444
1689
|
}, {
|
|
1445
1690
|
readonly stateMutability: "nonpayable";
|
|
1446
1691
|
readonly type: "function";
|
|
1447
|
-
readonly name: "
|
|
1692
|
+
readonly name: "deregisterAsset";
|
|
1448
1693
|
readonly inputs: readonly [{
|
|
1449
|
-
readonly name: "
|
|
1450
|
-
readonly type: "
|
|
1694
|
+
readonly name: "_asset";
|
|
1695
|
+
readonly type: "address";
|
|
1696
|
+
}, {
|
|
1697
|
+
readonly name: "_missionControl";
|
|
1698
|
+
readonly type: "address";
|
|
1451
1699
|
}];
|
|
1452
1700
|
readonly outputs: readonly [{
|
|
1453
1701
|
readonly name: "";
|
|
1454
|
-
readonly type: "
|
|
1702
|
+
readonly type: "uint256";
|
|
1455
1703
|
}];
|
|
1456
1704
|
}, {
|
|
1457
|
-
readonly stateMutability: "
|
|
1705
|
+
readonly stateMutability: "nonpayable";
|
|
1458
1706
|
readonly type: "function";
|
|
1459
|
-
readonly name: "
|
|
1707
|
+
readonly name: "deregisterVaultAsset";
|
|
1460
1708
|
readonly inputs: readonly [{
|
|
1461
|
-
readonly name: "
|
|
1462
|
-
readonly type: "
|
|
1709
|
+
readonly name: "_vaultAddr";
|
|
1710
|
+
readonly type: "address";
|
|
1711
|
+
}, {
|
|
1712
|
+
readonly name: "_asset";
|
|
1713
|
+
readonly type: "address";
|
|
1463
1714
|
}];
|
|
1464
1715
|
readonly outputs: readonly [{
|
|
1465
1716
|
readonly name: "";
|
|
1466
1717
|
readonly type: "uint256";
|
|
1467
1718
|
}];
|
|
1468
1719
|
}, {
|
|
1469
|
-
readonly stateMutability: "
|
|
1720
|
+
readonly stateMutability: "nonpayable";
|
|
1470
1721
|
readonly type: "function";
|
|
1471
|
-
readonly name: "
|
|
1722
|
+
readonly name: "setUserConfig";
|
|
1472
1723
|
readonly inputs: readonly [{
|
|
1473
|
-
readonly name: "
|
|
1474
|
-
readonly type: "
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
readonly name: "";
|
|
1724
|
+
readonly name: "_user";
|
|
1725
|
+
readonly type: "address";
|
|
1726
|
+
}, {
|
|
1727
|
+
readonly name: "_config";
|
|
1478
1728
|
readonly type: "tuple";
|
|
1479
1729
|
readonly components: readonly [{
|
|
1480
|
-
readonly name: "
|
|
1481
|
-
readonly type: "
|
|
1730
|
+
readonly name: "canAnyoneDeposit";
|
|
1731
|
+
readonly type: "bool";
|
|
1732
|
+
}, {
|
|
1733
|
+
readonly name: "canAnyoneRepayDebt";
|
|
1734
|
+
readonly type: "bool";
|
|
1735
|
+
}, {
|
|
1736
|
+
readonly name: "canAnyoneBondForUser";
|
|
1737
|
+
readonly type: "bool";
|
|
1738
|
+
}];
|
|
1739
|
+
}];
|
|
1740
|
+
readonly outputs: readonly [{
|
|
1741
|
+
readonly name: "";
|
|
1742
|
+
readonly type: "uint256";
|
|
1743
|
+
}];
|
|
1744
|
+
}, {
|
|
1745
|
+
readonly stateMutability: "nonpayable";
|
|
1746
|
+
readonly type: "function";
|
|
1747
|
+
readonly name: "setUserConfig";
|
|
1748
|
+
readonly inputs: readonly [{
|
|
1749
|
+
readonly name: "_user";
|
|
1750
|
+
readonly type: "address";
|
|
1751
|
+
}, {
|
|
1752
|
+
readonly name: "_config";
|
|
1753
|
+
readonly type: "tuple";
|
|
1754
|
+
readonly components: readonly [{
|
|
1755
|
+
readonly name: "canAnyoneDeposit";
|
|
1756
|
+
readonly type: "bool";
|
|
1757
|
+
}, {
|
|
1758
|
+
readonly name: "canAnyoneRepayDebt";
|
|
1759
|
+
readonly type: "bool";
|
|
1760
|
+
}, {
|
|
1761
|
+
readonly name: "canAnyoneBondForUser";
|
|
1762
|
+
readonly type: "bool";
|
|
1763
|
+
}];
|
|
1764
|
+
}, {
|
|
1765
|
+
readonly name: "_missionControl";
|
|
1766
|
+
readonly type: "address";
|
|
1767
|
+
}];
|
|
1768
|
+
readonly outputs: readonly [{
|
|
1769
|
+
readonly name: "";
|
|
1770
|
+
readonly type: "uint256";
|
|
1771
|
+
}];
|
|
1772
|
+
}, {
|
|
1773
|
+
readonly stateMutability: "nonpayable";
|
|
1774
|
+
readonly type: "function";
|
|
1775
|
+
readonly name: "setUserDelegation";
|
|
1776
|
+
readonly inputs: readonly [{
|
|
1777
|
+
readonly name: "_user";
|
|
1778
|
+
readonly type: "address";
|
|
1779
|
+
}, {
|
|
1780
|
+
readonly name: "_delegate";
|
|
1781
|
+
readonly type: "address";
|
|
1782
|
+
}, {
|
|
1783
|
+
readonly name: "_config";
|
|
1784
|
+
readonly type: "tuple";
|
|
1785
|
+
readonly components: readonly [{
|
|
1786
|
+
readonly name: "canWithdraw";
|
|
1787
|
+
readonly type: "bool";
|
|
1482
1788
|
}, {
|
|
1483
|
-
readonly name: "
|
|
1789
|
+
readonly name: "canBorrow";
|
|
1790
|
+
readonly type: "bool";
|
|
1791
|
+
}, {
|
|
1792
|
+
readonly name: "canClaimFromStabPool";
|
|
1793
|
+
readonly type: "bool";
|
|
1794
|
+
}, {
|
|
1795
|
+
readonly name: "canClaimLoot";
|
|
1796
|
+
readonly type: "bool";
|
|
1797
|
+
}];
|
|
1798
|
+
}];
|
|
1799
|
+
readonly outputs: readonly [{
|
|
1800
|
+
readonly name: "";
|
|
1801
|
+
readonly type: "uint256";
|
|
1802
|
+
}];
|
|
1803
|
+
}, {
|
|
1804
|
+
readonly stateMutability: "nonpayable";
|
|
1805
|
+
readonly type: "function";
|
|
1806
|
+
readonly name: "setUserDelegation";
|
|
1807
|
+
readonly inputs: readonly [{
|
|
1808
|
+
readonly name: "_user";
|
|
1809
|
+
readonly type: "address";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly name: "_delegate";
|
|
1812
|
+
readonly type: "address";
|
|
1813
|
+
}, {
|
|
1814
|
+
readonly name: "_config";
|
|
1815
|
+
readonly type: "tuple";
|
|
1816
|
+
readonly components: readonly [{
|
|
1817
|
+
readonly name: "canWithdraw";
|
|
1818
|
+
readonly type: "bool";
|
|
1819
|
+
}, {
|
|
1820
|
+
readonly name: "canBorrow";
|
|
1821
|
+
readonly type: "bool";
|
|
1822
|
+
}, {
|
|
1823
|
+
readonly name: "canClaimFromStabPool";
|
|
1824
|
+
readonly type: "bool";
|
|
1825
|
+
}, {
|
|
1826
|
+
readonly name: "canClaimLoot";
|
|
1484
1827
|
readonly type: "bool";
|
|
1485
1828
|
}];
|
|
1829
|
+
}, {
|
|
1830
|
+
readonly name: "_missionControl";
|
|
1831
|
+
readonly type: "address";
|
|
1832
|
+
}];
|
|
1833
|
+
readonly outputs: readonly [{
|
|
1834
|
+
readonly name: "";
|
|
1835
|
+
readonly type: "uint256";
|
|
1836
|
+
}];
|
|
1837
|
+
}, {
|
|
1838
|
+
readonly stateMutability: "nonpayable";
|
|
1839
|
+
readonly type: "function";
|
|
1840
|
+
readonly name: "executePendingAction";
|
|
1841
|
+
readonly inputs: readonly [{
|
|
1842
|
+
readonly name: "_aid";
|
|
1843
|
+
readonly type: "uint256";
|
|
1844
|
+
}];
|
|
1845
|
+
readonly outputs: readonly [{
|
|
1846
|
+
readonly name: "";
|
|
1847
|
+
readonly type: "bool";
|
|
1848
|
+
}];
|
|
1849
|
+
}, {
|
|
1850
|
+
readonly stateMutability: "nonpayable";
|
|
1851
|
+
readonly type: "function";
|
|
1852
|
+
readonly name: "cancelPendingAction";
|
|
1853
|
+
readonly inputs: readonly [{
|
|
1854
|
+
readonly name: "_aid";
|
|
1855
|
+
readonly type: "uint256";
|
|
1856
|
+
}];
|
|
1857
|
+
readonly outputs: readonly [{
|
|
1858
|
+
readonly name: "";
|
|
1859
|
+
readonly type: "bool";
|
|
1860
|
+
}];
|
|
1861
|
+
}, {
|
|
1862
|
+
readonly stateMutability: "nonpayable";
|
|
1863
|
+
readonly type: "function";
|
|
1864
|
+
readonly name: "setCanDepositAsset";
|
|
1865
|
+
readonly inputs: readonly [{
|
|
1866
|
+
readonly name: "_asset";
|
|
1867
|
+
readonly type: "address";
|
|
1868
|
+
}, {
|
|
1869
|
+
readonly name: "_shouldEnable";
|
|
1870
|
+
readonly type: "bool";
|
|
1871
|
+
}];
|
|
1872
|
+
readonly outputs: readonly [{
|
|
1873
|
+
readonly name: "";
|
|
1874
|
+
readonly type: "bool";
|
|
1875
|
+
}];
|
|
1876
|
+
}, {
|
|
1877
|
+
readonly stateMutability: "nonpayable";
|
|
1878
|
+
readonly type: "function";
|
|
1879
|
+
readonly name: "setCanDepositAsset";
|
|
1880
|
+
readonly inputs: readonly [{
|
|
1881
|
+
readonly name: "_asset";
|
|
1882
|
+
readonly type: "address";
|
|
1883
|
+
}, {
|
|
1884
|
+
readonly name: "_shouldEnable";
|
|
1885
|
+
readonly type: "bool";
|
|
1886
|
+
}, {
|
|
1887
|
+
readonly name: "_missionControl";
|
|
1888
|
+
readonly type: "address";
|
|
1889
|
+
}];
|
|
1890
|
+
readonly outputs: readonly [{
|
|
1891
|
+
readonly name: "";
|
|
1892
|
+
readonly type: "bool";
|
|
1893
|
+
}];
|
|
1894
|
+
}, {
|
|
1895
|
+
readonly stateMutability: "nonpayable";
|
|
1896
|
+
readonly type: "function";
|
|
1897
|
+
readonly name: "setCanWithdrawAsset";
|
|
1898
|
+
readonly inputs: readonly [{
|
|
1899
|
+
readonly name: "_asset";
|
|
1900
|
+
readonly type: "address";
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly name: "_shouldEnable";
|
|
1903
|
+
readonly type: "bool";
|
|
1904
|
+
}];
|
|
1905
|
+
readonly outputs: readonly [{
|
|
1906
|
+
readonly name: "";
|
|
1907
|
+
readonly type: "bool";
|
|
1908
|
+
}];
|
|
1909
|
+
}, {
|
|
1910
|
+
readonly stateMutability: "nonpayable";
|
|
1911
|
+
readonly type: "function";
|
|
1912
|
+
readonly name: "setCanWithdrawAsset";
|
|
1913
|
+
readonly inputs: readonly [{
|
|
1914
|
+
readonly name: "_asset";
|
|
1915
|
+
readonly type: "address";
|
|
1916
|
+
}, {
|
|
1917
|
+
readonly name: "_shouldEnable";
|
|
1918
|
+
readonly type: "bool";
|
|
1919
|
+
}, {
|
|
1920
|
+
readonly name: "_missionControl";
|
|
1921
|
+
readonly type: "address";
|
|
1922
|
+
}];
|
|
1923
|
+
readonly outputs: readonly [{
|
|
1924
|
+
readonly name: "";
|
|
1925
|
+
readonly type: "bool";
|
|
1926
|
+
}];
|
|
1927
|
+
}, {
|
|
1928
|
+
readonly stateMutability: "nonpayable";
|
|
1929
|
+
readonly type: "function";
|
|
1930
|
+
readonly name: "setCanRedeemInStabPoolAsset";
|
|
1931
|
+
readonly inputs: readonly [{
|
|
1932
|
+
readonly name: "_asset";
|
|
1933
|
+
readonly type: "address";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly name: "_shouldEnable";
|
|
1936
|
+
readonly type: "bool";
|
|
1937
|
+
}];
|
|
1938
|
+
readonly outputs: readonly [{
|
|
1939
|
+
readonly name: "";
|
|
1940
|
+
readonly type: "bool";
|
|
1941
|
+
}];
|
|
1942
|
+
}, {
|
|
1943
|
+
readonly stateMutability: "nonpayable";
|
|
1944
|
+
readonly type: "function";
|
|
1945
|
+
readonly name: "setCanRedeemInStabPoolAsset";
|
|
1946
|
+
readonly inputs: readonly [{
|
|
1947
|
+
readonly name: "_asset";
|
|
1948
|
+
readonly type: "address";
|
|
1949
|
+
}, {
|
|
1950
|
+
readonly name: "_shouldEnable";
|
|
1951
|
+
readonly type: "bool";
|
|
1952
|
+
}, {
|
|
1953
|
+
readonly name: "_missionControl";
|
|
1954
|
+
readonly type: "address";
|
|
1955
|
+
}];
|
|
1956
|
+
readonly outputs: readonly [{
|
|
1957
|
+
readonly name: "";
|
|
1958
|
+
readonly type: "bool";
|
|
1959
|
+
}];
|
|
1960
|
+
}, {
|
|
1961
|
+
readonly stateMutability: "nonpayable";
|
|
1962
|
+
readonly type: "function";
|
|
1963
|
+
readonly name: "setCanBuyInAuctionAsset";
|
|
1964
|
+
readonly inputs: readonly [{
|
|
1965
|
+
readonly name: "_asset";
|
|
1966
|
+
readonly type: "address";
|
|
1967
|
+
}, {
|
|
1968
|
+
readonly name: "_shouldEnable";
|
|
1969
|
+
readonly type: "bool";
|
|
1970
|
+
}];
|
|
1971
|
+
readonly outputs: readonly [{
|
|
1972
|
+
readonly name: "";
|
|
1973
|
+
readonly type: "bool";
|
|
1974
|
+
}];
|
|
1975
|
+
}, {
|
|
1976
|
+
readonly stateMutability: "nonpayable";
|
|
1977
|
+
readonly type: "function";
|
|
1978
|
+
readonly name: "setCanBuyInAuctionAsset";
|
|
1979
|
+
readonly inputs: readonly [{
|
|
1980
|
+
readonly name: "_asset";
|
|
1981
|
+
readonly type: "address";
|
|
1982
|
+
}, {
|
|
1983
|
+
readonly name: "_shouldEnable";
|
|
1984
|
+
readonly type: "bool";
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly name: "_missionControl";
|
|
1987
|
+
readonly type: "address";
|
|
1988
|
+
}];
|
|
1989
|
+
readonly outputs: readonly [{
|
|
1990
|
+
readonly name: "";
|
|
1991
|
+
readonly type: "bool";
|
|
1992
|
+
}];
|
|
1993
|
+
}, {
|
|
1994
|
+
readonly stateMutability: "nonpayable";
|
|
1995
|
+
readonly type: "function";
|
|
1996
|
+
readonly name: "setCanClaimInStabPoolAsset";
|
|
1997
|
+
readonly inputs: readonly [{
|
|
1998
|
+
readonly name: "_asset";
|
|
1999
|
+
readonly type: "address";
|
|
2000
|
+
}, {
|
|
2001
|
+
readonly name: "_shouldEnable";
|
|
2002
|
+
readonly type: "bool";
|
|
2003
|
+
}];
|
|
2004
|
+
readonly outputs: readonly [{
|
|
2005
|
+
readonly name: "";
|
|
2006
|
+
readonly type: "bool";
|
|
2007
|
+
}];
|
|
2008
|
+
}, {
|
|
2009
|
+
readonly stateMutability: "nonpayable";
|
|
2010
|
+
readonly type: "function";
|
|
2011
|
+
readonly name: "setCanClaimInStabPoolAsset";
|
|
2012
|
+
readonly inputs: readonly [{
|
|
2013
|
+
readonly name: "_asset";
|
|
2014
|
+
readonly type: "address";
|
|
2015
|
+
}, {
|
|
2016
|
+
readonly name: "_shouldEnable";
|
|
2017
|
+
readonly type: "bool";
|
|
2018
|
+
}, {
|
|
2019
|
+
readonly name: "_missionControl";
|
|
2020
|
+
readonly type: "address";
|
|
2021
|
+
}];
|
|
2022
|
+
readonly outputs: readonly [{
|
|
2023
|
+
readonly name: "";
|
|
2024
|
+
readonly type: "bool";
|
|
2025
|
+
}];
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly stateMutability: "nonpayable";
|
|
2028
|
+
readonly type: "function";
|
|
2029
|
+
readonly name: "setCanRedeemCollateralAsset";
|
|
2030
|
+
readonly inputs: readonly [{
|
|
2031
|
+
readonly name: "_asset";
|
|
2032
|
+
readonly type: "address";
|
|
2033
|
+
}, {
|
|
2034
|
+
readonly name: "_shouldEnable";
|
|
2035
|
+
readonly type: "bool";
|
|
2036
|
+
}];
|
|
2037
|
+
readonly outputs: readonly [{
|
|
2038
|
+
readonly name: "";
|
|
2039
|
+
readonly type: "bool";
|
|
2040
|
+
}];
|
|
2041
|
+
}, {
|
|
2042
|
+
readonly stateMutability: "nonpayable";
|
|
2043
|
+
readonly type: "function";
|
|
2044
|
+
readonly name: "setCanRedeemCollateralAsset";
|
|
2045
|
+
readonly inputs: readonly [{
|
|
2046
|
+
readonly name: "_asset";
|
|
2047
|
+
readonly type: "address";
|
|
2048
|
+
}, {
|
|
2049
|
+
readonly name: "_shouldEnable";
|
|
2050
|
+
readonly type: "bool";
|
|
2051
|
+
}, {
|
|
2052
|
+
readonly name: "_missionControl";
|
|
2053
|
+
readonly type: "address";
|
|
2054
|
+
}];
|
|
2055
|
+
readonly outputs: readonly [{
|
|
2056
|
+
readonly name: "";
|
|
2057
|
+
readonly type: "bool";
|
|
2058
|
+
}];
|
|
2059
|
+
}, {
|
|
2060
|
+
readonly stateMutability: "view";
|
|
2061
|
+
readonly type: "function";
|
|
2062
|
+
readonly name: "actionType";
|
|
2063
|
+
readonly inputs: readonly [{
|
|
2064
|
+
readonly name: "arg0";
|
|
2065
|
+
readonly type: "uint256";
|
|
2066
|
+
}];
|
|
2067
|
+
readonly outputs: readonly [{
|
|
2068
|
+
readonly name: "";
|
|
2069
|
+
readonly type: "uint256";
|
|
1486
2070
|
}];
|
|
1487
2071
|
}, {
|
|
1488
2072
|
readonly stateMutability: "view";
|
|
@@ -1670,6 +2254,113 @@ export declare const abi: readonly [{
|
|
|
1670
2254
|
readonly name: "";
|
|
1671
2255
|
readonly type: "uint256";
|
|
1672
2256
|
}];
|
|
2257
|
+
}, {
|
|
2258
|
+
readonly stateMutability: "view";
|
|
2259
|
+
readonly type: "function";
|
|
2260
|
+
readonly name: "pendingMissionControl";
|
|
2261
|
+
readonly inputs: readonly [{
|
|
2262
|
+
readonly name: "arg0";
|
|
2263
|
+
readonly type: "uint256";
|
|
2264
|
+
}];
|
|
2265
|
+
readonly outputs: readonly [{
|
|
2266
|
+
readonly name: "";
|
|
2267
|
+
readonly type: "address";
|
|
2268
|
+
}];
|
|
2269
|
+
}, {
|
|
2270
|
+
readonly stateMutability: "view";
|
|
2271
|
+
readonly type: "function";
|
|
2272
|
+
readonly name: "pendingDeregisterAsset";
|
|
2273
|
+
readonly inputs: readonly [{
|
|
2274
|
+
readonly name: "arg0";
|
|
2275
|
+
readonly type: "uint256";
|
|
2276
|
+
}];
|
|
2277
|
+
readonly outputs: readonly [{
|
|
2278
|
+
readonly name: "";
|
|
2279
|
+
readonly type: "address";
|
|
2280
|
+
}];
|
|
2281
|
+
}, {
|
|
2282
|
+
readonly stateMutability: "view";
|
|
2283
|
+
readonly type: "function";
|
|
2284
|
+
readonly name: "pendingDeregisterVaultAsset";
|
|
2285
|
+
readonly inputs: readonly [{
|
|
2286
|
+
readonly name: "arg0";
|
|
2287
|
+
readonly type: "uint256";
|
|
2288
|
+
}];
|
|
2289
|
+
readonly outputs: readonly [{
|
|
2290
|
+
readonly name: "";
|
|
2291
|
+
readonly type: "tuple";
|
|
2292
|
+
readonly components: readonly [{
|
|
2293
|
+
readonly name: "vaultAddr";
|
|
2294
|
+
readonly type: "address";
|
|
2295
|
+
}, {
|
|
2296
|
+
readonly name: "asset";
|
|
2297
|
+
readonly type: "address";
|
|
2298
|
+
}];
|
|
2299
|
+
}];
|
|
2300
|
+
}, {
|
|
2301
|
+
readonly stateMutability: "view";
|
|
2302
|
+
readonly type: "function";
|
|
2303
|
+
readonly name: "pendingUserConfig";
|
|
2304
|
+
readonly inputs: readonly [{
|
|
2305
|
+
readonly name: "arg0";
|
|
2306
|
+
readonly type: "uint256";
|
|
2307
|
+
}];
|
|
2308
|
+
readonly outputs: readonly [{
|
|
2309
|
+
readonly name: "";
|
|
2310
|
+
readonly type: "tuple";
|
|
2311
|
+
readonly components: readonly [{
|
|
2312
|
+
readonly name: "user";
|
|
2313
|
+
readonly type: "address";
|
|
2314
|
+
}, {
|
|
2315
|
+
readonly name: "config";
|
|
2316
|
+
readonly type: "tuple";
|
|
2317
|
+
readonly components: readonly [{
|
|
2318
|
+
readonly name: "canAnyoneDeposit";
|
|
2319
|
+
readonly type: "bool";
|
|
2320
|
+
}, {
|
|
2321
|
+
readonly name: "canAnyoneRepayDebt";
|
|
2322
|
+
readonly type: "bool";
|
|
2323
|
+
}, {
|
|
2324
|
+
readonly name: "canAnyoneBondForUser";
|
|
2325
|
+
readonly type: "bool";
|
|
2326
|
+
}];
|
|
2327
|
+
}];
|
|
2328
|
+
}];
|
|
2329
|
+
}, {
|
|
2330
|
+
readonly stateMutability: "view";
|
|
2331
|
+
readonly type: "function";
|
|
2332
|
+
readonly name: "pendingUserDelegation";
|
|
2333
|
+
readonly inputs: readonly [{
|
|
2334
|
+
readonly name: "arg0";
|
|
2335
|
+
readonly type: "uint256";
|
|
2336
|
+
}];
|
|
2337
|
+
readonly outputs: readonly [{
|
|
2338
|
+
readonly name: "";
|
|
2339
|
+
readonly type: "tuple";
|
|
2340
|
+
readonly components: readonly [{
|
|
2341
|
+
readonly name: "user";
|
|
2342
|
+
readonly type: "address";
|
|
2343
|
+
}, {
|
|
2344
|
+
readonly name: "delegate";
|
|
2345
|
+
readonly type: "address";
|
|
2346
|
+
}, {
|
|
2347
|
+
readonly name: "config";
|
|
2348
|
+
readonly type: "tuple";
|
|
2349
|
+
readonly components: readonly [{
|
|
2350
|
+
readonly name: "canWithdraw";
|
|
2351
|
+
readonly type: "bool";
|
|
2352
|
+
}, {
|
|
2353
|
+
readonly name: "canBorrow";
|
|
2354
|
+
readonly type: "bool";
|
|
2355
|
+
}, {
|
|
2356
|
+
readonly name: "canClaimFromStabPool";
|
|
2357
|
+
readonly type: "bool";
|
|
2358
|
+
}, {
|
|
2359
|
+
readonly name: "canClaimLoot";
|
|
2360
|
+
readonly type: "bool";
|
|
2361
|
+
}];
|
|
2362
|
+
}];
|
|
2363
|
+
}];
|
|
1673
2364
|
}, {
|
|
1674
2365
|
readonly stateMutability: "nonpayable";
|
|
1675
2366
|
readonly type: "constructor";
|
|
@@ -1722,10 +2413,6 @@ export type Contract = {
|
|
|
1722
2413
|
actionTimeLock: () => Promise<bigint>;
|
|
1723
2414
|
expiration: () => Promise<bigint>;
|
|
1724
2415
|
actionType: (arg0: bigint) => Promise<bigint>;
|
|
1725
|
-
pendingPauseActions: (arg0: bigint) => Promise<{
|
|
1726
|
-
contractAddr: `0x${string}`;
|
|
1727
|
-
shouldPause: boolean;
|
|
1728
|
-
}>;
|
|
1729
2416
|
pendingRecoverFundsActions: (arg0: bigint) => Promise<{
|
|
1730
2417
|
contractAddr: `0x${string}`;
|
|
1731
2418
|
recipient: `0x${string}`;
|
|
@@ -1760,6 +2447,30 @@ export type Contract = {
|
|
|
1760
2447
|
pendingUnderscoreSendInterval: (arg0: bigint) => Promise<bigint>;
|
|
1761
2448
|
pendingUndyDepositRewardsAmount: (arg0: bigint) => Promise<bigint>;
|
|
1762
2449
|
pendingUndyYieldBonusAmount: (arg0: bigint) => Promise<bigint>;
|
|
2450
|
+
pendingMissionControl: (arg0: bigint) => Promise<`0x${string}`>;
|
|
2451
|
+
pendingDeregisterAsset: (arg0: bigint) => Promise<`0x${string}`>;
|
|
2452
|
+
pendingDeregisterVaultAsset: (arg0: bigint) => Promise<{
|
|
2453
|
+
vaultAddr: `0x${string}`;
|
|
2454
|
+
asset: `0x${string}`;
|
|
2455
|
+
}>;
|
|
2456
|
+
pendingUserConfig: (arg0: bigint) => Promise<{
|
|
2457
|
+
user: `0x${string}`;
|
|
2458
|
+
config: {
|
|
2459
|
+
canAnyoneDeposit: boolean;
|
|
2460
|
+
canAnyoneRepayDebt: boolean;
|
|
2461
|
+
canAnyoneBondForUser: boolean;
|
|
2462
|
+
};
|
|
2463
|
+
}>;
|
|
2464
|
+
pendingUserDelegation: (arg0: bigint) => Promise<{
|
|
2465
|
+
user: `0x${string}`;
|
|
2466
|
+
delegate: `0x${string}`;
|
|
2467
|
+
config: {
|
|
2468
|
+
canWithdraw: boolean;
|
|
2469
|
+
canBorrow: boolean;
|
|
2470
|
+
canClaimFromStabPool: boolean;
|
|
2471
|
+
canClaimLoot: boolean;
|
|
2472
|
+
};
|
|
2473
|
+
}>;
|
|
1763
2474
|
};
|
|
1764
2475
|
mutations: {
|
|
1765
2476
|
startGovernanceChange: (newGov: `0x${string}`) => Promise<void>;
|
|
@@ -1801,13 +2512,32 @@ export type Contract = {
|
|
|
1801
2512
|
vaultId: bigint;
|
|
1802
2513
|
asset: `0x${string}`;
|
|
1803
2514
|
}[]) => Promise<bigint>;
|
|
1804
|
-
setTrainingWheels: (trainingWheels: `0x${string}`) => Promise<bigint>;
|
|
2515
|
+
setTrainingWheels: (trainingWheels: `0x${string}`, missionControl?: `0x${string}`) => Promise<bigint>;
|
|
1805
2516
|
setManyTrainingWheelsAccess: (addr: `0x${string}`, trainingWheels: {
|
|
1806
2517
|
user: `0x${string}`;
|
|
1807
2518
|
isAllowed: boolean;
|
|
1808
2519
|
}[]) => Promise<void>;
|
|
2520
|
+
deregisterAsset: (asset: `0x${string}`, missionControl?: `0x${string}`) => Promise<bigint>;
|
|
2521
|
+
deregisterVaultAsset: (vaultAddr: `0x${string}`, asset: `0x${string}`) => Promise<bigint>;
|
|
2522
|
+
setUserConfig: (user: `0x${string}`, config: {
|
|
2523
|
+
canAnyoneDeposit: boolean;
|
|
2524
|
+
canAnyoneRepayDebt: boolean;
|
|
2525
|
+
canAnyoneBondForUser: boolean;
|
|
2526
|
+
}, missionControl?: `0x${string}`) => Promise<bigint>;
|
|
2527
|
+
setUserDelegation: (user: `0x${string}`, delegate: `0x${string}`, config: {
|
|
2528
|
+
canWithdraw: boolean;
|
|
2529
|
+
canBorrow: boolean;
|
|
2530
|
+
canClaimFromStabPool: boolean;
|
|
2531
|
+
canClaimLoot: boolean;
|
|
2532
|
+
}, missionControl?: `0x${string}`) => Promise<bigint>;
|
|
1809
2533
|
executePendingAction: (aid: bigint) => Promise<boolean>;
|
|
1810
2534
|
cancelPendingAction: (aid: bigint) => Promise<boolean>;
|
|
2535
|
+
setCanDepositAsset: (asset: `0x${string}`, shouldEnable: boolean, missionControl?: `0x${string}`) => Promise<boolean>;
|
|
2536
|
+
setCanWithdrawAsset: (asset: `0x${string}`, shouldEnable: boolean, missionControl?: `0x${string}`) => Promise<boolean>;
|
|
2537
|
+
setCanRedeemInStabPoolAsset: (asset: `0x${string}`, shouldEnable: boolean, missionControl?: `0x${string}`) => Promise<boolean>;
|
|
2538
|
+
setCanBuyInAuctionAsset: (asset: `0x${string}`, shouldEnable: boolean, missionControl?: `0x${string}`) => Promise<boolean>;
|
|
2539
|
+
setCanClaimInStabPoolAsset: (asset: `0x${string}`, shouldEnable: boolean, missionControl?: `0x${string}`) => Promise<boolean>;
|
|
2540
|
+
setCanRedeemCollateralAsset: (asset: `0x${string}`, shouldEnable: boolean, missionControl?: `0x${string}`) => Promise<boolean>;
|
|
1811
2541
|
};
|
|
1812
2542
|
events: {
|
|
1813
2543
|
PendingRecoverFundsAction: (contractAddr: `0x${string}`, recipient: `0x${string}`, asset: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
@@ -1844,6 +2574,20 @@ export type Contract = {
|
|
|
1844
2574
|
PendingUnderscoreSendIntervalAction: (interval: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
1845
2575
|
PendingUndyDepositRewardsAmountAction: (amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
1846
2576
|
PendingUndyYieldBonusAmountAction: (amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2577
|
+
CanDepositAssetSet: (asset: `0x${string}`, canDeposit: boolean, caller: `0x${string}`) => Promise<void>;
|
|
2578
|
+
CanWithdrawAssetSet: (asset: `0x${string}`, canWithdraw: boolean, caller: `0x${string}`) => Promise<void>;
|
|
2579
|
+
CanRedeemInStabPoolAssetSet: (asset: `0x${string}`, canRedeemInStabPool: boolean, caller: `0x${string}`) => Promise<void>;
|
|
2580
|
+
CanBuyInAuctionAssetSet: (asset: `0x${string}`, canBuyInAuction: boolean, caller: `0x${string}`) => Promise<void>;
|
|
2581
|
+
CanClaimInStabPoolAssetSet: (asset: `0x${string}`, canClaimInStabPool: boolean, caller: `0x${string}`) => Promise<void>;
|
|
2582
|
+
CanRedeemCollateralAssetSet: (asset: `0x${string}`, canRedeemCollateral: boolean, caller: `0x${string}`) => Promise<void>;
|
|
2583
|
+
PendingDeregisterAssetAction: (asset: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2584
|
+
AssetDeregistered: (asset: `0x${string}`) => Promise<void>;
|
|
2585
|
+
PendingDeregisterVaultAssetAction: (vaultAddr: `0x${string}`, asset: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2586
|
+
PendingUserConfigAction: (user: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2587
|
+
PendingUserDelegationAction: (user: `0x${string}`, delegate: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2588
|
+
VaultAssetDeregistered: (vaultAddr: `0x${string}`, asset: `0x${string}`) => Promise<void>;
|
|
2589
|
+
UserConfigSet: (user: `0x${string}`, caller: `0x${string}`) => Promise<void>;
|
|
2590
|
+
UserDelegationSet: (user: `0x${string}`, delegate: `0x${string}`, caller: `0x${string}`) => Promise<void>;
|
|
1847
2591
|
GovChangeTimeLockModified: (prevTimeLock: bigint, newTimeLock: bigint) => Promise<void>;
|
|
1848
2592
|
ExpirationSet: (expiration: bigint) => Promise<void>;
|
|
1849
2593
|
ActionTimeLockSet: (newTimeLock: bigint, prevTimeLock: bigint) => Promise<void>;
|
|
@@ -1915,7 +2659,6 @@ export type SDK = {
|
|
|
1915
2659
|
actionTimeLock: (...args: ExtractArgs<Contract['calls']['actionTimeLock']>) => Promise<CallReturn<'actionTimeLock'>>;
|
|
1916
2660
|
expiration: (...args: ExtractArgs<Contract['calls']['expiration']>) => Promise<CallReturn<'expiration'>>;
|
|
1917
2661
|
actionType: (...args: ExtractArgs<Contract['calls']['actionType']>) => Promise<CallReturn<'actionType'>>;
|
|
1918
|
-
pendingPauseActions: (...args: ExtractArgs<Contract['calls']['pendingPauseActions']>) => Promise<CallReturn<'pendingPauseActions'>>;
|
|
1919
2662
|
pendingRecoverFundsActions: (...args: ExtractArgs<Contract['calls']['pendingRecoverFundsActions']>) => Promise<CallReturn<'pendingRecoverFundsActions'>>;
|
|
1920
2663
|
pendingRecoverFundsManyActions: (...args: ExtractArgs<Contract['calls']['pendingRecoverFundsManyActions']>) => Promise<CallReturn<'pendingRecoverFundsManyActions'>>;
|
|
1921
2664
|
pendingStartAuctionActions: (...args: ExtractArgs<Contract['calls']['pendingStartAuctionActions']>) => Promise<CallReturn<'pendingStartAuctionActions'>>;
|
|
@@ -1926,6 +2669,11 @@ export type SDK = {
|
|
|
1926
2669
|
pendingUnderscoreSendInterval: (...args: ExtractArgs<Contract['calls']['pendingUnderscoreSendInterval']>) => Promise<CallReturn<'pendingUnderscoreSendInterval'>>;
|
|
1927
2670
|
pendingUndyDepositRewardsAmount: (...args: ExtractArgs<Contract['calls']['pendingUndyDepositRewardsAmount']>) => Promise<CallReturn<'pendingUndyDepositRewardsAmount'>>;
|
|
1928
2671
|
pendingUndyYieldBonusAmount: (...args: ExtractArgs<Contract['calls']['pendingUndyYieldBonusAmount']>) => Promise<CallReturn<'pendingUndyYieldBonusAmount'>>;
|
|
2672
|
+
pendingMissionControl: (...args: ExtractArgs<Contract['calls']['pendingMissionControl']>) => Promise<CallReturn<'pendingMissionControl'>>;
|
|
2673
|
+
pendingDeregisterAsset: (...args: ExtractArgs<Contract['calls']['pendingDeregisterAsset']>) => Promise<CallReturn<'pendingDeregisterAsset'>>;
|
|
2674
|
+
pendingDeregisterVaultAsset: (...args: ExtractArgs<Contract['calls']['pendingDeregisterVaultAsset']>) => Promise<CallReturn<'pendingDeregisterVaultAsset'>>;
|
|
2675
|
+
pendingUserConfig: (...args: ExtractArgs<Contract['calls']['pendingUserConfig']>) => Promise<CallReturn<'pendingUserConfig'>>;
|
|
2676
|
+
pendingUserDelegation: (...args: ExtractArgs<Contract['calls']['pendingUserDelegation']>) => Promise<CallReturn<'pendingUserDelegation'>>;
|
|
1929
2677
|
startGovernanceChange: (...args: ExtractArgs<Contract['mutations']['startGovernanceChange']>) => Promise<Address>;
|
|
1930
2678
|
confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
|
|
1931
2679
|
cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
|
|
@@ -1959,8 +2707,18 @@ export type SDK = {
|
|
|
1959
2707
|
pauseManyAuctions: (...args: ExtractArgs<Contract['mutations']['pauseManyAuctions']>) => Promise<Address>;
|
|
1960
2708
|
setTrainingWheels: (...args: ExtractArgs<Contract['mutations']['setTrainingWheels']>) => Promise<Address>;
|
|
1961
2709
|
setManyTrainingWheelsAccess: (...args: ExtractArgs<Contract['mutations']['setManyTrainingWheelsAccess']>) => Promise<Address>;
|
|
2710
|
+
deregisterAsset: (...args: ExtractArgs<Contract['mutations']['deregisterAsset']>) => Promise<Address>;
|
|
2711
|
+
deregisterVaultAsset: (...args: ExtractArgs<Contract['mutations']['deregisterVaultAsset']>) => Promise<Address>;
|
|
2712
|
+
setUserConfig: (...args: ExtractArgs<Contract['mutations']['setUserConfig']>) => Promise<Address>;
|
|
2713
|
+
setUserDelegation: (...args: ExtractArgs<Contract['mutations']['setUserDelegation']>) => Promise<Address>;
|
|
1962
2714
|
executePendingAction: (...args: ExtractArgs<Contract['mutations']['executePendingAction']>) => Promise<Address>;
|
|
1963
2715
|
cancelPendingAction: (...args: ExtractArgs<Contract['mutations']['cancelPendingAction']>) => Promise<Address>;
|
|
2716
|
+
setCanDepositAsset: (...args: ExtractArgs<Contract['mutations']['setCanDepositAsset']>) => Promise<Address>;
|
|
2717
|
+
setCanWithdrawAsset: (...args: ExtractArgs<Contract['mutations']['setCanWithdrawAsset']>) => Promise<Address>;
|
|
2718
|
+
setCanRedeemInStabPoolAsset: (...args: ExtractArgs<Contract['mutations']['setCanRedeemInStabPoolAsset']>) => Promise<Address>;
|
|
2719
|
+
setCanBuyInAuctionAsset: (...args: ExtractArgs<Contract['mutations']['setCanBuyInAuctionAsset']>) => Promise<Address>;
|
|
2720
|
+
setCanClaimInStabPoolAsset: (...args: ExtractArgs<Contract['mutations']['setCanClaimInStabPoolAsset']>) => Promise<Address>;
|
|
2721
|
+
setCanRedeemCollateralAsset: (...args: ExtractArgs<Contract['mutations']['setCanRedeemCollateralAsset']>) => Promise<Address>;
|
|
1964
2722
|
};
|
|
1965
2723
|
export declare function toSdk(publicClient?: PublicClient, walletClient?: WalletClient): SDK;
|
|
1966
2724
|
export {};
|