@underscore-finance/sdk 1.2.6 → 1.2.8

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.
Files changed (33) hide show
  1. package/dist/contracts/DefaultsBase.d.ts +41 -15
  2. package/dist/contracts/DefaultsBase.d.ts.map +1 -1
  3. package/dist/contracts/DefaultsBase.js +44 -15
  4. package/dist/contracts/EarnVaultAgent.js +1 -1
  5. package/dist/contracts/ExtraFi.d.ts +2596 -0
  6. package/dist/contracts/ExtraFi.d.ts.map +1 -0
  7. package/dist/contracts/ExtraFi.js +3297 -0
  8. package/dist/contracts/LevgVaultHelper.d.ts +125 -0
  9. package/dist/contracts/LevgVaultHelper.d.ts.map +1 -1
  10. package/dist/contracts/LevgVaultHelper.js +170 -1
  11. package/dist/contracts/LootDistributor.d.ts +0 -56
  12. package/dist/contracts/LootDistributor.d.ts.map +1 -1
  13. package/dist/contracts/LootDistributor.js +1 -72
  14. package/dist/contracts/MissionControl.d.ts +150 -9
  15. package/dist/contracts/MissionControl.d.ts.map +1 -1
  16. package/dist/contracts/MissionControl.js +186 -10
  17. package/dist/contracts/SwitchboardAlpha.d.ts +502 -22
  18. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
  19. package/dist/contracts/SwitchboardAlpha.js +777 -124
  20. package/dist/contracts/SwitchboardCharlie.js +1 -1
  21. package/dist/contracts/UndyVirtual.d.ts +1705 -0
  22. package/dist/contracts/UndyVirtual.d.ts.map +1 -0
  23. package/dist/contracts/UndyVirtual.js +2237 -0
  24. package/dist/contracts/index.d.ts +2 -0
  25. package/dist/contracts/index.d.ts.map +1 -1
  26. package/dist/contracts/index.js +2 -0
  27. package/dist/contracts/sdk.d.ts +4 -0
  28. package/dist/contracts/sdk.d.ts.map +1 -1
  29. package/dist/contracts/sdk.js +4 -0
  30. package/dist/index.d.ts +4 -0
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +2 -0
  33. package/package.json +3 -2
@@ -780,7 +780,28 @@ export declare const abi: readonly [{
780
780
  readonly anonymous: false;
781
781
  readonly type: "event";
782
782
  }, {
783
- readonly name: "RipeRewardsConfigSetFromSwitchboard";
783
+ readonly name: "PendingRipeRewardsConfigChange";
784
+ readonly inputs: readonly [{
785
+ readonly name: "ripeStakeRatio";
786
+ readonly type: "uint256";
787
+ readonly indexed: false;
788
+ }, {
789
+ readonly name: "ripeLockDuration";
790
+ readonly type: "uint256";
791
+ readonly indexed: false;
792
+ }, {
793
+ readonly name: "confirmationBlock";
794
+ readonly type: "uint256";
795
+ readonly indexed: false;
796
+ }, {
797
+ readonly name: "actionId";
798
+ readonly type: "uint256";
799
+ readonly indexed: false;
800
+ }];
801
+ readonly anonymous: false;
802
+ readonly type: "event";
803
+ }, {
804
+ readonly name: "RipeRewardsConfigSet";
784
805
  readonly inputs: readonly [{
785
806
  readonly name: "ripeStakeRatio";
786
807
  readonly type: "uint256";
@@ -1378,6 +1399,39 @@ export declare const abi: readonly [{
1378
1399
  readonly name: "";
1379
1400
  readonly type: "uint256";
1380
1401
  }];
1402
+ }, {
1403
+ readonly stateMutability: "nonpayable";
1404
+ readonly type: "function";
1405
+ readonly name: "setUserWalletTemplates";
1406
+ readonly inputs: readonly [{
1407
+ readonly name: "_walletTemplate";
1408
+ readonly type: "address";
1409
+ }, {
1410
+ readonly name: "_configTemplate";
1411
+ readonly type: "address";
1412
+ }, {
1413
+ readonly name: "_missionControl";
1414
+ readonly type: "address";
1415
+ }];
1416
+ readonly outputs: readonly [{
1417
+ readonly name: "";
1418
+ readonly type: "uint256";
1419
+ }];
1420
+ }, {
1421
+ readonly stateMutability: "nonpayable";
1422
+ readonly type: "function";
1423
+ readonly name: "setWalletCreationLimits";
1424
+ readonly inputs: readonly [{
1425
+ readonly name: "_numUserWalletsAllowed";
1426
+ readonly type: "uint256";
1427
+ }, {
1428
+ readonly name: "_enforceCreatorWhitelist";
1429
+ readonly type: "bool";
1430
+ }];
1431
+ readonly outputs: readonly [{
1432
+ readonly name: "";
1433
+ readonly type: "uint256";
1434
+ }];
1381
1435
  }, {
1382
1436
  readonly stateMutability: "nonpayable";
1383
1437
  readonly type: "function";
@@ -1388,6 +1442,9 @@ export declare const abi: readonly [{
1388
1442
  }, {
1389
1443
  readonly name: "_enforceCreatorWhitelist";
1390
1444
  readonly type: "bool";
1445
+ }, {
1446
+ readonly name: "_missionControl";
1447
+ readonly type: "address";
1391
1448
  }];
1392
1449
  readonly outputs: readonly [{
1393
1450
  readonly name: "";
@@ -1408,6 +1465,42 @@ export declare const abi: readonly [{
1408
1465
  readonly name: "";
1409
1466
  readonly type: "uint256";
1410
1467
  }];
1468
+ }, {
1469
+ readonly stateMutability: "nonpayable";
1470
+ readonly type: "function";
1471
+ readonly name: "setKeyActionTimelockBounds";
1472
+ readonly inputs: readonly [{
1473
+ readonly name: "_minKeyActionTimeLock";
1474
+ readonly type: "uint256";
1475
+ }, {
1476
+ readonly name: "_maxKeyActionTimeLock";
1477
+ readonly type: "uint256";
1478
+ }, {
1479
+ readonly name: "_missionControl";
1480
+ readonly type: "address";
1481
+ }];
1482
+ readonly outputs: readonly [{
1483
+ readonly name: "";
1484
+ readonly type: "uint256";
1485
+ }];
1486
+ }, {
1487
+ readonly stateMutability: "nonpayable";
1488
+ readonly type: "function";
1489
+ readonly name: "setTxFees";
1490
+ readonly inputs: readonly [{
1491
+ readonly name: "_swapFee";
1492
+ readonly type: "uint256";
1493
+ }, {
1494
+ readonly name: "_stableSwapFee";
1495
+ readonly type: "uint256";
1496
+ }, {
1497
+ readonly name: "_rewardsFee";
1498
+ readonly type: "uint256";
1499
+ }];
1500
+ readonly outputs: readonly [{
1501
+ readonly name: "";
1502
+ readonly type: "uint256";
1503
+ }];
1411
1504
  }, {
1412
1505
  readonly stateMutability: "nonpayable";
1413
1506
  readonly type: "function";
@@ -1421,6 +1514,27 @@ export declare const abi: readonly [{
1421
1514
  }, {
1422
1515
  readonly name: "_rewardsFee";
1423
1516
  readonly type: "uint256";
1517
+ }, {
1518
+ readonly name: "_missionControl";
1519
+ readonly type: "address";
1520
+ }];
1521
+ readonly outputs: readonly [{
1522
+ readonly name: "";
1523
+ readonly type: "uint256";
1524
+ }];
1525
+ }, {
1526
+ readonly stateMutability: "nonpayable";
1527
+ readonly type: "function";
1528
+ readonly name: "setAmbassadorRevShare";
1529
+ readonly inputs: readonly [{
1530
+ readonly name: "_swapRatio";
1531
+ readonly type: "uint256";
1532
+ }, {
1533
+ readonly name: "_rewardsRatio";
1534
+ readonly type: "uint256";
1535
+ }, {
1536
+ readonly name: "_yieldRatio";
1537
+ readonly type: "uint256";
1424
1538
  }];
1425
1539
  readonly outputs: readonly [{
1426
1540
  readonly name: "";
@@ -1439,6 +1553,33 @@ export declare const abi: readonly [{
1439
1553
  }, {
1440
1554
  readonly name: "_yieldRatio";
1441
1555
  readonly type: "uint256";
1556
+ }, {
1557
+ readonly name: "_missionControl";
1558
+ readonly type: "address";
1559
+ }];
1560
+ readonly outputs: readonly [{
1561
+ readonly name: "";
1562
+ readonly type: "uint256";
1563
+ }];
1564
+ }, {
1565
+ readonly stateMutability: "nonpayable";
1566
+ readonly type: "function";
1567
+ readonly name: "setDefaultYieldParams";
1568
+ readonly inputs: readonly [{
1569
+ readonly name: "_defaultYieldMaxIncrease";
1570
+ readonly type: "uint256";
1571
+ }, {
1572
+ readonly name: "_defaultYieldPerformanceFee";
1573
+ readonly type: "uint256";
1574
+ }, {
1575
+ readonly name: "_defaultYieldAmbassadorBonusRatio";
1576
+ readonly type: "uint256";
1577
+ }, {
1578
+ readonly name: "_defaultYieldBonusRatio";
1579
+ readonly type: "uint256";
1580
+ }, {
1581
+ readonly name: "_defaultYieldBonusAsset";
1582
+ readonly type: "address";
1442
1583
  }];
1443
1584
  readonly outputs: readonly [{
1444
1585
  readonly name: "";
@@ -1463,6 +1604,9 @@ export declare const abi: readonly [{
1463
1604
  }, {
1464
1605
  readonly name: "_defaultYieldBonusAsset";
1465
1606
  readonly type: "address";
1607
+ }, {
1608
+ readonly name: "_missionControl";
1609
+ readonly type: "address";
1466
1610
  }];
1467
1611
  readonly outputs: readonly [{
1468
1612
  readonly name: "";
@@ -1483,6 +1627,24 @@ export declare const abi: readonly [{
1483
1627
  readonly name: "";
1484
1628
  readonly type: "uint256";
1485
1629
  }];
1630
+ }, {
1631
+ readonly stateMutability: "nonpayable";
1632
+ readonly type: "function";
1633
+ readonly name: "setLootParams";
1634
+ readonly inputs: readonly [{
1635
+ readonly name: "_depositRewardsAsset";
1636
+ readonly type: "address";
1637
+ }, {
1638
+ readonly name: "_lootClaimCoolOffPeriod";
1639
+ readonly type: "uint256";
1640
+ }, {
1641
+ readonly name: "_missionControl";
1642
+ readonly type: "address";
1643
+ }];
1644
+ readonly outputs: readonly [{
1645
+ readonly name: "";
1646
+ readonly type: "uint256";
1647
+ }];
1486
1648
  }, {
1487
1649
  readonly stateMutability: "nonpayable";
1488
1650
  readonly type: "function";
@@ -1528,6 +1690,75 @@ export declare const abi: readonly [{
1528
1690
  readonly name: "";
1529
1691
  readonly type: "uint256";
1530
1692
  }];
1693
+ }, {
1694
+ readonly stateMutability: "nonpayable";
1695
+ readonly type: "function";
1696
+ readonly name: "setAssetConfig";
1697
+ readonly inputs: readonly [{
1698
+ readonly name: "_asset";
1699
+ readonly type: "address";
1700
+ }, {
1701
+ readonly name: "_txFeesSwapFee";
1702
+ readonly type: "uint256";
1703
+ }, {
1704
+ readonly name: "_txFeesStableSwapFee";
1705
+ readonly type: "uint256";
1706
+ }, {
1707
+ readonly name: "_txFeesRewardsFee";
1708
+ readonly type: "uint256";
1709
+ }, {
1710
+ readonly name: "_ambassadorRevShareSwapRatio";
1711
+ readonly type: "uint256";
1712
+ }, {
1713
+ readonly name: "_ambassadorRevShareRewardsRatio";
1714
+ readonly type: "uint256";
1715
+ }, {
1716
+ readonly name: "_ambassadorRevShareYieldRatio";
1717
+ readonly type: "uint256";
1718
+ }, {
1719
+ readonly name: "_maxYieldIncrease";
1720
+ readonly type: "uint256";
1721
+ }, {
1722
+ readonly name: "_performanceFee";
1723
+ readonly type: "uint256";
1724
+ }, {
1725
+ readonly name: "_ambassadorBonusRatio";
1726
+ readonly type: "uint256";
1727
+ }, {
1728
+ readonly name: "_bonusRatio";
1729
+ readonly type: "uint256";
1730
+ }, {
1731
+ readonly name: "_bonusAsset";
1732
+ readonly type: "address";
1733
+ }, {
1734
+ readonly name: "_missionControl";
1735
+ readonly type: "address";
1736
+ }];
1737
+ readonly outputs: readonly [{
1738
+ readonly name: "";
1739
+ readonly type: "uint256";
1740
+ }];
1741
+ }, {
1742
+ readonly stateMutability: "nonpayable";
1743
+ readonly type: "function";
1744
+ readonly name: "setAssetTxFees";
1745
+ readonly inputs: readonly [{
1746
+ readonly name: "_asset";
1747
+ readonly type: "address";
1748
+ }, {
1749
+ readonly name: "_swapFee";
1750
+ readonly type: "uint256";
1751
+ }, {
1752
+ readonly name: "_stableSwapFee";
1753
+ readonly type: "uint256";
1754
+ }, {
1755
+ readonly name: "_rewardsFee";
1756
+ readonly type: "uint256";
1757
+ }];
1758
+ readonly outputs: readonly [{
1759
+ readonly name: "";
1760
+ readonly type: "uint256";
1761
+ }];
1531
1762
  }, {
1532
1763
  readonly stateMutability: "nonpayable";
1533
1764
  readonly type: "function";
@@ -1544,6 +1775,9 @@ export declare const abi: readonly [{
1544
1775
  }, {
1545
1776
  readonly name: "_rewardsFee";
1546
1777
  readonly type: "uint256";
1778
+ }, {
1779
+ readonly name: "_missionControl";
1780
+ readonly type: "address";
1547
1781
  }];
1548
1782
  readonly outputs: readonly [{
1549
1783
  readonly name: "";
@@ -1570,6 +1804,30 @@ export declare const abi: readonly [{
1570
1804
  readonly name: "";
1571
1805
  readonly type: "uint256";
1572
1806
  }];
1807
+ }, {
1808
+ readonly stateMutability: "nonpayable";
1809
+ readonly type: "function";
1810
+ readonly name: "setAssetAmbassadorRevShare";
1811
+ readonly inputs: readonly [{
1812
+ readonly name: "_asset";
1813
+ readonly type: "address";
1814
+ }, {
1815
+ readonly name: "_swapRatio";
1816
+ readonly type: "uint256";
1817
+ }, {
1818
+ readonly name: "_rewardsRatio";
1819
+ readonly type: "uint256";
1820
+ }, {
1821
+ readonly name: "_yieldRatio";
1822
+ readonly type: "uint256";
1823
+ }, {
1824
+ readonly name: "_missionControl";
1825
+ readonly type: "address";
1826
+ }];
1827
+ readonly outputs: readonly [{
1828
+ readonly name: "";
1829
+ readonly type: "uint256";
1830
+ }];
1573
1831
  }, {
1574
1832
  readonly stateMutability: "nonpayable";
1575
1833
  readonly type: "function";
@@ -1597,6 +1855,36 @@ export declare const abi: readonly [{
1597
1855
  readonly name: "";
1598
1856
  readonly type: "uint256";
1599
1857
  }];
1858
+ }, {
1859
+ readonly stateMutability: "nonpayable";
1860
+ readonly type: "function";
1861
+ readonly name: "setAssetYieldConfig";
1862
+ readonly inputs: readonly [{
1863
+ readonly name: "_asset";
1864
+ readonly type: "address";
1865
+ }, {
1866
+ readonly name: "_maxYieldIncrease";
1867
+ readonly type: "uint256";
1868
+ }, {
1869
+ readonly name: "_performanceFee";
1870
+ readonly type: "uint256";
1871
+ }, {
1872
+ readonly name: "_ambassadorBonusRatio";
1873
+ readonly type: "uint256";
1874
+ }, {
1875
+ readonly name: "_bonusRatio";
1876
+ readonly type: "uint256";
1877
+ }, {
1878
+ readonly name: "_bonusAsset";
1879
+ readonly type: "address";
1880
+ }, {
1881
+ readonly name: "_missionControl";
1882
+ readonly type: "address";
1883
+ }];
1884
+ readonly outputs: readonly [{
1885
+ readonly name: "";
1886
+ readonly type: "uint256";
1887
+ }];
1600
1888
  }, {
1601
1889
  readonly stateMutability: "nonpayable";
1602
1890
  readonly type: "function";
@@ -1612,6 +1900,39 @@ export declare const abi: readonly [{
1612
1900
  readonly name: "";
1613
1901
  readonly type: "uint256";
1614
1902
  }];
1903
+ }, {
1904
+ readonly stateMutability: "nonpayable";
1905
+ readonly type: "function";
1906
+ readonly name: "setIsStablecoin";
1907
+ readonly inputs: readonly [{
1908
+ readonly name: "_asset";
1909
+ readonly type: "address";
1910
+ }, {
1911
+ readonly name: "_isStablecoin";
1912
+ readonly type: "bool";
1913
+ }, {
1914
+ readonly name: "_missionControl";
1915
+ readonly type: "address";
1916
+ }];
1917
+ readonly outputs: readonly [{
1918
+ readonly name: "";
1919
+ readonly type: "uint256";
1920
+ }];
1921
+ }, {
1922
+ readonly stateMutability: "nonpayable";
1923
+ readonly type: "function";
1924
+ readonly name: "setStarterAgentParams";
1925
+ readonly inputs: readonly [{
1926
+ readonly name: "_startingAgent";
1927
+ readonly type: "address";
1928
+ }, {
1929
+ readonly name: "_startingAgentActivationLength";
1930
+ readonly type: "uint256";
1931
+ }];
1932
+ readonly outputs: readonly [{
1933
+ readonly name: "";
1934
+ readonly type: "uint256";
1935
+ }];
1615
1936
  }, {
1616
1937
  readonly stateMutability: "nonpayable";
1617
1938
  readonly type: "function";
@@ -1622,6 +1943,9 @@ export declare const abi: readonly [{
1622
1943
  }, {
1623
1944
  readonly name: "_startingAgentActivationLength";
1624
1945
  readonly type: "uint256";
1946
+ }, {
1947
+ readonly name: "_missionControl";
1948
+ readonly type: "address";
1625
1949
  }];
1626
1950
  readonly outputs: readonly [{
1627
1951
  readonly name: "";
@@ -1672,6 +1996,36 @@ export declare const abi: readonly [{
1672
1996
  readonly name: "";
1673
1997
  readonly type: "uint256";
1674
1998
  }];
1999
+ }, {
2000
+ readonly stateMutability: "nonpayable";
2001
+ readonly type: "function";
2002
+ readonly name: "setManagerConfig";
2003
+ readonly inputs: readonly [{
2004
+ readonly name: "_managerPeriod";
2005
+ readonly type: "uint256";
2006
+ }, {
2007
+ readonly name: "_managerActivationLength";
2008
+ readonly type: "uint256";
2009
+ }, {
2010
+ readonly name: "_mustHaveUsdValueOnSwaps";
2011
+ readonly type: "bool";
2012
+ }, {
2013
+ readonly name: "_maxNumSwapsPerPeriod";
2014
+ readonly type: "uint256";
2015
+ }, {
2016
+ readonly name: "_maxSlippageOnSwaps";
2017
+ readonly type: "uint256";
2018
+ }, {
2019
+ readonly name: "_onlyApprovedYieldOpps";
2020
+ readonly type: "bool";
2021
+ }, {
2022
+ readonly name: "_missionControl";
2023
+ readonly type: "address";
2024
+ }];
2025
+ readonly outputs: readonly [{
2026
+ readonly name: "";
2027
+ readonly type: "uint256";
2028
+ }];
1675
2029
  }, {
1676
2030
  readonly stateMutability: "nonpayable";
1677
2031
  readonly type: "function";
@@ -1687,6 +2041,39 @@ export declare const abi: readonly [{
1687
2041
  readonly name: "";
1688
2042
  readonly type: "uint256";
1689
2043
  }];
2044
+ }, {
2045
+ readonly stateMutability: "nonpayable";
2046
+ readonly type: "function";
2047
+ readonly name: "setPayeeConfig";
2048
+ readonly inputs: readonly [{
2049
+ readonly name: "_payeePeriod";
2050
+ readonly type: "uint256";
2051
+ }, {
2052
+ readonly name: "_payeeActivationLength";
2053
+ readonly type: "uint256";
2054
+ }, {
2055
+ readonly name: "_missionControl";
2056
+ readonly type: "address";
2057
+ }];
2058
+ readonly outputs: readonly [{
2059
+ readonly name: "";
2060
+ readonly type: "uint256";
2061
+ }];
2062
+ }, {
2063
+ readonly stateMutability: "nonpayable";
2064
+ readonly type: "function";
2065
+ readonly name: "setCanPerformSecurityAction";
2066
+ readonly inputs: readonly [{
2067
+ readonly name: "_signer";
2068
+ readonly type: "address";
2069
+ }, {
2070
+ readonly name: "_canPerform";
2071
+ readonly type: "bool";
2072
+ }];
2073
+ readonly outputs: readonly [{
2074
+ readonly name: "";
2075
+ readonly type: "uint256";
2076
+ }];
1690
2077
  }, {
1691
2078
  readonly stateMutability: "nonpayable";
1692
2079
  readonly type: "function";
@@ -1697,6 +2084,9 @@ export declare const abi: readonly [{
1697
2084
  }, {
1698
2085
  readonly name: "_canPerform";
1699
2086
  readonly type: "bool";
2087
+ }, {
2088
+ readonly name: "_missionControl";
2089
+ readonly type: "address";
1700
2090
  }];
1701
2091
  readonly outputs: readonly [{
1702
2092
  readonly name: "";
@@ -1714,6 +2104,33 @@ export declare const abi: readonly [{
1714
2104
  readonly type: "bool";
1715
2105
  }];
1716
2106
  readonly outputs: readonly [];
2107
+ }, {
2108
+ readonly stateMutability: "nonpayable";
2109
+ readonly type: "function";
2110
+ readonly name: "setCreatorWhitelist";
2111
+ readonly inputs: readonly [{
2112
+ readonly name: "_creator";
2113
+ readonly type: "address";
2114
+ }, {
2115
+ readonly name: "_isWhitelisted";
2116
+ readonly type: "bool";
2117
+ }, {
2118
+ readonly name: "_missionControl";
2119
+ readonly type: "address";
2120
+ }];
2121
+ readonly outputs: readonly [];
2122
+ }, {
2123
+ readonly stateMutability: "nonpayable";
2124
+ readonly type: "function";
2125
+ readonly name: "setLockedSigner";
2126
+ readonly inputs: readonly [{
2127
+ readonly name: "_signer";
2128
+ readonly type: "address";
2129
+ }, {
2130
+ readonly name: "_isLocked";
2131
+ readonly type: "bool";
2132
+ }];
2133
+ readonly outputs: readonly [];
1717
2134
  }, {
1718
2135
  readonly stateMutability: "nonpayable";
1719
2136
  readonly type: "function";
@@ -1724,6 +2141,9 @@ export declare const abi: readonly [{
1724
2141
  }, {
1725
2142
  readonly name: "_isLocked";
1726
2143
  readonly type: "bool";
2144
+ }, {
2145
+ readonly name: "_missionControl";
2146
+ readonly type: "address";
1727
2147
  }];
1728
2148
  readonly outputs: readonly [];
1729
2149
  }, {
@@ -1737,7 +2157,28 @@ export declare const abi: readonly [{
1737
2157
  readonly name: "_ripeLockDuration";
1738
2158
  readonly type: "uint256";
1739
2159
  }];
1740
- readonly outputs: readonly [];
2160
+ readonly outputs: readonly [{
2161
+ readonly name: "";
2162
+ readonly type: "uint256";
2163
+ }];
2164
+ }, {
2165
+ readonly stateMutability: "nonpayable";
2166
+ readonly type: "function";
2167
+ readonly name: "setRipeRewardsConfig";
2168
+ readonly inputs: readonly [{
2169
+ readonly name: "_ripeStakeRatio";
2170
+ readonly type: "uint256";
2171
+ }, {
2172
+ readonly name: "_ripeLockDuration";
2173
+ readonly type: "uint256";
2174
+ }, {
2175
+ readonly name: "_missionControl";
2176
+ readonly type: "address";
2177
+ }];
2178
+ readonly outputs: readonly [{
2179
+ readonly name: "";
2180
+ readonly type: "uint256";
2181
+ }];
1741
2182
  }, {
1742
2183
  readonly stateMutability: "nonpayable";
1743
2184
  readonly type: "function";
@@ -2124,6 +2565,37 @@ export declare const abi: readonly [{
2124
2565
  readonly type: "address";
2125
2566
  }];
2126
2567
  }];
2568
+ }, {
2569
+ readonly stateMutability: "view";
2570
+ readonly type: "function";
2571
+ readonly name: "pendingRipeRewardsConfig";
2572
+ readonly inputs: readonly [{
2573
+ readonly name: "arg0";
2574
+ readonly type: "uint256";
2575
+ }];
2576
+ readonly outputs: readonly [{
2577
+ readonly name: "";
2578
+ readonly type: "tuple";
2579
+ readonly components: readonly [{
2580
+ readonly name: "stakeRatio";
2581
+ readonly type: "uint256";
2582
+ }, {
2583
+ readonly name: "lockDuration";
2584
+ readonly type: "uint256";
2585
+ }];
2586
+ }];
2587
+ }, {
2588
+ readonly stateMutability: "view";
2589
+ readonly type: "function";
2590
+ readonly name: "pendingMissionControl";
2591
+ readonly inputs: readonly [{
2592
+ readonly name: "arg0";
2593
+ readonly type: "uint256";
2594
+ }];
2595
+ readonly outputs: readonly [{
2596
+ readonly name: "";
2597
+ readonly type: "address";
2598
+ }];
2127
2599
  }, {
2128
2600
  readonly stateMutability: "nonpayable";
2129
2601
  readonly type: "constructor";
@@ -2291,6 +2763,11 @@ export type Contract = {
2291
2763
  agentWrapper: `0x${string}`;
2292
2764
  agentSender: `0x${string}`;
2293
2765
  }>;
2766
+ pendingRipeRewardsConfig: (arg0: bigint) => Promise<{
2767
+ stakeRatio: bigint;
2768
+ lockDuration: bigint;
2769
+ }>;
2770
+ pendingMissionControl: (arg0: bigint) => Promise<`0x${string}`>;
2294
2771
  };
2295
2772
  mutations: {
2296
2773
  startGovernanceChange: (newGov: `0x${string}`) => Promise<void>;
@@ -2302,26 +2779,26 @@ export type Contract = {
2302
2779
  setActionTimeLock: (newTimeLock: bigint) => Promise<boolean>;
2303
2780
  setExpiration: (expiration: bigint) => Promise<boolean>;
2304
2781
  setActionTimeLockAfterSetup: (newTimeLock?: bigint) => Promise<boolean>;
2305
- setUserWalletTemplates: (walletTemplate: `0x${string}`, configTemplate: `0x${string}`) => Promise<bigint>;
2306
- setWalletCreationLimits: (numUserWalletsAllowed: bigint, enforceCreatorWhitelist: boolean) => Promise<bigint>;
2307
- setKeyActionTimelockBounds: (minKeyActionTimeLock: bigint, maxKeyActionTimeLock: bigint) => Promise<bigint>;
2308
- setTxFees: (swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint) => Promise<bigint>;
2309
- setAmbassadorRevShare: (swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint) => Promise<bigint>;
2310
- setDefaultYieldParams: (defaultYieldMaxIncrease: bigint, defaultYieldPerformanceFee: bigint, defaultYieldAmbassadorBonusRatio: bigint, defaultYieldBonusRatio: bigint, defaultYieldBonusAsset: `0x${string}`) => Promise<bigint>;
2311
- setLootParams: (depositRewardsAsset: `0x${string}`, lootClaimCoolOffPeriod: bigint) => Promise<bigint>;
2312
- setAssetConfig: (asset: `0x${string}`, txFeesSwapFee: bigint, txFeesStableSwapFee: bigint, txFeesRewardsFee: bigint, ambassadorRevShareSwapRatio: bigint, ambassadorRevShareRewardsRatio: bigint, ambassadorRevShareYieldRatio: bigint, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`) => Promise<bigint>;
2313
- setAssetTxFees: (asset: `0x${string}`, swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint) => Promise<bigint>;
2314
- setAssetAmbassadorRevShare: (asset: `0x${string}`, swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint) => Promise<bigint>;
2315
- setAssetYieldConfig: (asset: `0x${string}`, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`) => Promise<bigint>;
2316
- setIsStablecoin: (asset: `0x${string}`, isStablecoin: boolean) => Promise<bigint>;
2317
- setStarterAgentParams: (startingAgent: `0x${string}`, startingAgentActivationLength: bigint) => Promise<bigint>;
2782
+ setUserWalletTemplates: (walletTemplate: `0x${string}`, configTemplate: `0x${string}`, missionControl?: `0x${string}`) => Promise<bigint>;
2783
+ setWalletCreationLimits: (numUserWalletsAllowed: bigint, enforceCreatorWhitelist: boolean, missionControl?: `0x${string}`) => Promise<bigint>;
2784
+ setKeyActionTimelockBounds: (minKeyActionTimeLock: bigint, maxKeyActionTimeLock: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2785
+ setTxFees: (swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2786
+ setAmbassadorRevShare: (swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2787
+ setDefaultYieldParams: (defaultYieldMaxIncrease: bigint, defaultYieldPerformanceFee: bigint, defaultYieldAmbassadorBonusRatio: bigint, defaultYieldBonusRatio: bigint, defaultYieldBonusAsset: `0x${string}`, missionControl?: `0x${string}`) => Promise<bigint>;
2788
+ setLootParams: (depositRewardsAsset: `0x${string}`, lootClaimCoolOffPeriod: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2789
+ setAssetConfig: (asset: `0x${string}`, txFeesSwapFee: bigint, txFeesStableSwapFee: bigint, txFeesRewardsFee: bigint, ambassadorRevShareSwapRatio: bigint, ambassadorRevShareRewardsRatio: bigint, ambassadorRevShareYieldRatio: bigint, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`, missionControl?: `0x${string}`) => Promise<bigint>;
2790
+ setAssetTxFees: (asset: `0x${string}`, swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2791
+ setAssetAmbassadorRevShare: (asset: `0x${string}`, swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2792
+ setAssetYieldConfig: (asset: `0x${string}`, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`, missionControl?: `0x${string}`) => Promise<bigint>;
2793
+ setIsStablecoin: (asset: `0x${string}`, isStablecoin: boolean, missionControl?: `0x${string}`) => Promise<bigint>;
2794
+ setStarterAgentParams: (startingAgent: `0x${string}`, startingAgentActivationLength: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2318
2795
  setAgentWrapperSender: (agentWrapper: `0x${string}`, agentSender: `0x${string}`, shouldAdd: boolean) => Promise<bigint>;
2319
- setManagerConfig: (managerPeriod: bigint, managerActivationLength: bigint, mustHaveUsdValueOnSwaps: boolean, maxNumSwapsPerPeriod: bigint, maxSlippageOnSwaps: bigint, onlyApprovedYieldOpps: boolean) => Promise<bigint>;
2320
- setPayeeConfig: (payeePeriod: bigint, payeeActivationLength: bigint) => Promise<bigint>;
2321
- setCanPerformSecurityAction: (signer: `0x${string}`, canPerform: boolean) => Promise<bigint>;
2322
- setCreatorWhitelist: (creator: `0x${string}`, isWhitelisted: boolean) => Promise<void>;
2323
- setLockedSigner: (signer: `0x${string}`, isLocked: boolean) => Promise<void>;
2324
- setRipeRewardsConfig: (ripeStakeRatio: bigint, ripeLockDuration: bigint) => Promise<void>;
2796
+ setManagerConfig: (managerPeriod: bigint, managerActivationLength: bigint, mustHaveUsdValueOnSwaps: boolean, maxNumSwapsPerPeriod: bigint, maxSlippageOnSwaps: bigint, onlyApprovedYieldOpps: boolean, missionControl?: `0x${string}`) => Promise<bigint>;
2797
+ setPayeeConfig: (payeePeriod: bigint, payeeActivationLength: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2798
+ setCanPerformSecurityAction: (signer: `0x${string}`, canPerform: boolean, missionControl?: `0x${string}`) => Promise<bigint>;
2799
+ setCreatorWhitelist: (creator: `0x${string}`, isWhitelisted: boolean, missionControl?: `0x${string}`) => Promise<void>;
2800
+ setLockedSigner: (signer: `0x${string}`, isLocked: boolean, missionControl?: `0x${string}`) => Promise<void>;
2801
+ setRipeRewardsConfig: (ripeStakeRatio: bigint, ripeLockDuration: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2325
2802
  executePendingAction: (aid: bigint) => Promise<boolean>;
2326
2803
  cancelPendingAction: (aid: bigint) => Promise<boolean>;
2327
2804
  };
@@ -2360,7 +2837,8 @@ export type Contract = {
2360
2837
  PayeeConfigSet: (payeePeriod: bigint, payeeActivationLength: bigint) => Promise<void>;
2361
2838
  CanPerformSecurityAction: (signer: `0x${string}`, canPerform: boolean) => Promise<void>;
2362
2839
  LockedSignerSet: (signer: `0x${string}`, isLocked: boolean, caller: `0x${string}`) => Promise<void>;
2363
- RipeRewardsConfigSetFromSwitchboard: (ripeStakeRatio: bigint, ripeLockDuration: bigint) => Promise<void>;
2840
+ PendingRipeRewardsConfigChange: (ripeStakeRatio: bigint, ripeLockDuration: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2841
+ RipeRewardsConfigSet: (ripeStakeRatio: bigint, ripeLockDuration: bigint) => Promise<void>;
2364
2842
  PendingAgentWrapperSenderAdd: (agentWrapper: `0x${string}`, agentSender: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2365
2843
  AgentWrapperSenderAdded: (agentWrapper: `0x${string}`, agentSender: `0x${string}`) => Promise<void>;
2366
2844
  AgentWrapperSenderRemoved: (agentWrapper: `0x${string}`, agentSender: `0x${string}`) => Promise<void>;
@@ -2447,6 +2925,8 @@ export type SDK = {
2447
2925
  pendingPayeeConfig: (...args: ExtractArgs<Contract['calls']['pendingPayeeConfig']>) => Promise<CallReturn<'pendingPayeeConfig'>>;
2448
2926
  pendingAddrToBool: (...args: ExtractArgs<Contract['calls']['pendingAddrToBool']>) => Promise<CallReturn<'pendingAddrToBool'>>;
2449
2927
  pendingAgentWrapperSender: (...args: ExtractArgs<Contract['calls']['pendingAgentWrapperSender']>) => Promise<CallReturn<'pendingAgentWrapperSender'>>;
2928
+ pendingRipeRewardsConfig: (...args: ExtractArgs<Contract['calls']['pendingRipeRewardsConfig']>) => Promise<CallReturn<'pendingRipeRewardsConfig'>>;
2929
+ pendingMissionControl: (...args: ExtractArgs<Contract['calls']['pendingMissionControl']>) => Promise<CallReturn<'pendingMissionControl'>>;
2450
2930
  startGovernanceChange: (...args: ExtractArgs<Contract['mutations']['startGovernanceChange']>) => Promise<Address>;
2451
2931
  confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
2452
2932
  cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;