@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.
@@ -349,6 +349,32 @@ export declare const abi: readonly [{
349
349
  }];
350
350
  readonly anonymous: false;
351
351
  readonly type: "event";
352
+ }, {
353
+ readonly name: "BondBoosterRemoved";
354
+ readonly inputs: readonly [{
355
+ readonly name: "user";
356
+ readonly type: "address";
357
+ readonly indexed: true;
358
+ }];
359
+ readonly anonymous: false;
360
+ readonly type: "event";
361
+ }, {
362
+ readonly name: "PendingBoosterConfigSet";
363
+ readonly inputs: readonly [{
364
+ readonly name: "user";
365
+ readonly type: "address";
366
+ readonly indexed: true;
367
+ }, {
368
+ readonly name: "confirmationBlock";
369
+ readonly type: "uint256";
370
+ readonly indexed: false;
371
+ }, {
372
+ readonly name: "actionId";
373
+ readonly type: "uint256";
374
+ readonly indexed: false;
375
+ }];
376
+ readonly anonymous: false;
377
+ readonly type: "event";
352
378
  }, {
353
379
  readonly name: "HrContribTemplateSet";
354
380
  readonly inputs: readonly [{
@@ -585,6 +611,136 @@ export declare const abi: readonly [{
585
611
  }];
586
612
  readonly anonymous: false;
587
613
  readonly type: "event";
614
+ }, {
615
+ readonly name: "PendingRipeAvailableForRewardsChange";
616
+ readonly inputs: readonly [{
617
+ readonly name: "amount";
618
+ readonly type: "uint256";
619
+ readonly indexed: false;
620
+ }, {
621
+ readonly name: "confirmationBlock";
622
+ readonly type: "uint256";
623
+ readonly indexed: false;
624
+ }, {
625
+ readonly name: "actionId";
626
+ readonly type: "uint256";
627
+ readonly indexed: false;
628
+ }];
629
+ readonly anonymous: false;
630
+ readonly type: "event";
631
+ }, {
632
+ readonly name: "PendingRipeAvailableForHrChange";
633
+ readonly inputs: readonly [{
634
+ readonly name: "amount";
635
+ readonly type: "uint256";
636
+ readonly indexed: false;
637
+ }, {
638
+ readonly name: "confirmationBlock";
639
+ readonly type: "uint256";
640
+ readonly indexed: false;
641
+ }, {
642
+ readonly name: "actionId";
643
+ readonly type: "uint256";
644
+ readonly indexed: false;
645
+ }];
646
+ readonly anonymous: false;
647
+ readonly type: "event";
648
+ }, {
649
+ readonly name: "PendingRipeAvailableForBondsChange";
650
+ readonly inputs: readonly [{
651
+ readonly name: "amount";
652
+ readonly type: "uint256";
653
+ readonly indexed: false;
654
+ }, {
655
+ readonly name: "confirmationBlock";
656
+ readonly type: "uint256";
657
+ readonly indexed: false;
658
+ }, {
659
+ readonly name: "actionId";
660
+ readonly type: "uint256";
661
+ readonly indexed: false;
662
+ }];
663
+ readonly anonymous: false;
664
+ readonly type: "event";
665
+ }, {
666
+ readonly name: "RipeAvailableForRewardsSet";
667
+ readonly inputs: readonly [{
668
+ readonly name: "amount";
669
+ readonly type: "uint256";
670
+ readonly indexed: false;
671
+ }];
672
+ readonly anonymous: false;
673
+ readonly type: "event";
674
+ }, {
675
+ readonly name: "RipeAvailableForHrSet";
676
+ readonly inputs: readonly [{
677
+ readonly name: "amount";
678
+ readonly type: "uint256";
679
+ readonly indexed: false;
680
+ }];
681
+ readonly anonymous: false;
682
+ readonly type: "event";
683
+ }, {
684
+ readonly name: "RipeAvailableForBondsSet";
685
+ readonly inputs: readonly [{
686
+ readonly name: "amount";
687
+ readonly type: "uint256";
688
+ readonly indexed: false;
689
+ }];
690
+ readonly anonymous: false;
691
+ readonly type: "event";
692
+ }, {
693
+ readonly name: "PendingUnderscoreRegistryChange";
694
+ readonly inputs: readonly [{
695
+ readonly name: "underscoreRegistry";
696
+ readonly type: "address";
697
+ readonly indexed: false;
698
+ }, {
699
+ readonly name: "confirmationBlock";
700
+ readonly type: "uint256";
701
+ readonly indexed: false;
702
+ }, {
703
+ readonly name: "actionId";
704
+ readonly type: "uint256";
705
+ readonly indexed: false;
706
+ }];
707
+ readonly anonymous: false;
708
+ readonly type: "event";
709
+ }, {
710
+ readonly name: "PendingShouldCheckLastTouchChange";
711
+ readonly inputs: readonly [{
712
+ readonly name: "shouldCheck";
713
+ readonly type: "bool";
714
+ readonly indexed: false;
715
+ }, {
716
+ readonly name: "confirmationBlock";
717
+ readonly type: "uint256";
718
+ readonly indexed: false;
719
+ }, {
720
+ readonly name: "actionId";
721
+ readonly type: "uint256";
722
+ readonly indexed: false;
723
+ }];
724
+ readonly anonymous: false;
725
+ readonly type: "event";
726
+ }, {
727
+ readonly name: "UnderscoreRegistrySet";
728
+ readonly inputs: readonly [{
729
+ readonly name: "addr";
730
+ readonly type: "address";
731
+ readonly indexed: true;
732
+ }];
733
+ readonly anonymous: false;
734
+ readonly type: "event";
735
+ }, {
736
+ readonly name: "ShouldCheckLastTouchSet";
737
+ readonly inputs: readonly [{
738
+ readonly name: "shouldCheck";
739
+ readonly type: "bool";
740
+ readonly indexed: false;
741
+ }];
742
+ readonly anonymous: false;
743
+ readonly type: "event";
588
744
  }, {
589
745
  readonly name: "GovChangeTimeLockModified";
590
746
  readonly inputs: readonly [{
@@ -1162,6 +1318,21 @@ export declare const abi: readonly [{
1162
1318
  readonly name: "";
1163
1319
  readonly type: "uint256";
1164
1320
  }];
1321
+ }, {
1322
+ readonly stateMutability: "nonpayable";
1323
+ readonly type: "function";
1324
+ readonly name: "setContributorTemplate";
1325
+ readonly inputs: readonly [{
1326
+ readonly name: "_contribTemplate";
1327
+ readonly type: "address";
1328
+ }, {
1329
+ readonly name: "_missionControl";
1330
+ readonly type: "address";
1331
+ }];
1332
+ readonly outputs: readonly [{
1333
+ readonly name: "";
1334
+ readonly type: "uint256";
1335
+ }];
1165
1336
  }, {
1166
1337
  readonly stateMutability: "nonpayable";
1167
1338
  readonly type: "function";
@@ -1174,6 +1345,21 @@ export declare const abi: readonly [{
1174
1345
  readonly name: "";
1175
1346
  readonly type: "uint256";
1176
1347
  }];
1348
+ }, {
1349
+ readonly stateMutability: "nonpayable";
1350
+ readonly type: "function";
1351
+ readonly name: "setMaxCompensation";
1352
+ readonly inputs: readonly [{
1353
+ readonly name: "_maxComp";
1354
+ readonly type: "uint256";
1355
+ }, {
1356
+ readonly name: "_missionControl";
1357
+ readonly type: "address";
1358
+ }];
1359
+ readonly outputs: readonly [{
1360
+ readonly name: "";
1361
+ readonly type: "uint256";
1362
+ }];
1177
1363
  }, {
1178
1364
  readonly stateMutability: "nonpayable";
1179
1365
  readonly type: "function";
@@ -1186,6 +1372,21 @@ export declare const abi: readonly [{
1186
1372
  readonly name: "";
1187
1373
  readonly type: "uint256";
1188
1374
  }];
1375
+ }, {
1376
+ readonly stateMutability: "nonpayable";
1377
+ readonly type: "function";
1378
+ readonly name: "setMinCliffLength";
1379
+ readonly inputs: readonly [{
1380
+ readonly name: "_minCliffLength";
1381
+ readonly type: "uint256";
1382
+ }, {
1383
+ readonly name: "_missionControl";
1384
+ readonly type: "address";
1385
+ }];
1386
+ readonly outputs: readonly [{
1387
+ readonly name: "";
1388
+ readonly type: "uint256";
1389
+ }];
1189
1390
  }, {
1190
1391
  readonly stateMutability: "nonpayable";
1191
1392
  readonly type: "function";
@@ -1198,6 +1399,36 @@ export declare const abi: readonly [{
1198
1399
  readonly name: "";
1199
1400
  readonly type: "uint256";
1200
1401
  }];
1402
+ }, {
1403
+ readonly stateMutability: "nonpayable";
1404
+ readonly type: "function";
1405
+ readonly name: "setMaxStartDelay";
1406
+ readonly inputs: readonly [{
1407
+ readonly name: "_maxStartDelay";
1408
+ readonly type: "uint256";
1409
+ }, {
1410
+ readonly name: "_missionControl";
1411
+ readonly type: "address";
1412
+ }];
1413
+ readonly outputs: readonly [{
1414
+ readonly name: "";
1415
+ readonly type: "uint256";
1416
+ }];
1417
+ }, {
1418
+ readonly stateMutability: "nonpayable";
1419
+ readonly type: "function";
1420
+ readonly name: "setVestingLengthBoundaries";
1421
+ readonly inputs: readonly [{
1422
+ readonly name: "_minVestingLength";
1423
+ readonly type: "uint256";
1424
+ }, {
1425
+ readonly name: "_maxVestingLength";
1426
+ readonly type: "uint256";
1427
+ }];
1428
+ readonly outputs: readonly [{
1429
+ readonly name: "";
1430
+ readonly type: "uint256";
1431
+ }];
1201
1432
  }, {
1202
1433
  readonly stateMutability: "nonpayable";
1203
1434
  readonly type: "function";
@@ -1208,6 +1439,9 @@ export declare const abi: readonly [{
1208
1439
  }, {
1209
1440
  readonly name: "_maxVestingLength";
1210
1441
  readonly type: "uint256";
1442
+ }, {
1443
+ readonly name: "_missionControl";
1444
+ readonly type: "address";
1211
1445
  }];
1212
1446
  readonly outputs: readonly [{
1213
1447
  readonly name: "";
@@ -1321,6 +1555,51 @@ export declare const abi: readonly [{
1321
1555
  readonly name: "";
1322
1556
  readonly type: "uint256";
1323
1557
  }];
1558
+ }, {
1559
+ readonly stateMutability: "nonpayable";
1560
+ readonly type: "function";
1561
+ readonly name: "setRipeBondConfig";
1562
+ readonly inputs: readonly [{
1563
+ readonly name: "_asset";
1564
+ readonly type: "address";
1565
+ }, {
1566
+ readonly name: "_amountPerEpoch";
1567
+ readonly type: "uint256";
1568
+ }, {
1569
+ readonly name: "_minRipePerUnit";
1570
+ readonly type: "uint256";
1571
+ }, {
1572
+ readonly name: "_maxRipePerUnit";
1573
+ readonly type: "uint256";
1574
+ }, {
1575
+ readonly name: "_maxRipePerUnitLockBonus";
1576
+ readonly type: "uint256";
1577
+ }, {
1578
+ readonly name: "_shouldAutoRestart";
1579
+ readonly type: "bool";
1580
+ }, {
1581
+ readonly name: "_restartDelayBlocks";
1582
+ readonly type: "uint256";
1583
+ }, {
1584
+ readonly name: "_missionControl";
1585
+ readonly type: "address";
1586
+ }];
1587
+ readonly outputs: readonly [{
1588
+ readonly name: "";
1589
+ readonly type: "uint256";
1590
+ }];
1591
+ }, {
1592
+ readonly stateMutability: "nonpayable";
1593
+ readonly type: "function";
1594
+ readonly name: "setRipeBondEpochLength";
1595
+ readonly inputs: readonly [{
1596
+ readonly name: "_epochLength";
1597
+ readonly type: "uint256";
1598
+ }];
1599
+ readonly outputs: readonly [{
1600
+ readonly name: "";
1601
+ readonly type: "uint256";
1602
+ }];
1324
1603
  }, {
1325
1604
  readonly stateMutability: "nonpayable";
1326
1605
  readonly type: "function";
@@ -1328,6 +1607,9 @@ export declare const abi: readonly [{
1328
1607
  readonly inputs: readonly [{
1329
1608
  readonly name: "_epochLength";
1330
1609
  readonly type: "uint256";
1610
+ }, {
1611
+ readonly name: "_missionControl";
1612
+ readonly type: "address";
1331
1613
  }];
1332
1614
  readonly outputs: readonly [{
1333
1615
  readonly name: "";
@@ -1360,6 +1642,21 @@ export declare const abi: readonly [{
1360
1642
  readonly name: "";
1361
1643
  readonly type: "bool";
1362
1644
  }];
1645
+ }, {
1646
+ readonly stateMutability: "nonpayable";
1647
+ readonly type: "function";
1648
+ readonly name: "setCanPurchaseRipeBond";
1649
+ readonly inputs: readonly [{
1650
+ readonly name: "_canBond";
1651
+ readonly type: "bool";
1652
+ }, {
1653
+ readonly name: "_missionControl";
1654
+ readonly type: "address";
1655
+ }];
1656
+ readonly outputs: readonly [{
1657
+ readonly name: "";
1658
+ readonly type: "bool";
1659
+ }];
1363
1660
  }, {
1364
1661
  readonly stateMutability: "nonpayable";
1365
1662
  readonly type: "function";
@@ -1372,6 +1669,96 @@ export declare const abi: readonly [{
1372
1669
  readonly name: "";
1373
1670
  readonly type: "uint256";
1374
1671
  }];
1672
+ }, {
1673
+ readonly stateMutability: "nonpayable";
1674
+ readonly type: "function";
1675
+ readonly name: "setRipeAvailableForRewards";
1676
+ readonly inputs: readonly [{
1677
+ readonly name: "_amount";
1678
+ readonly type: "uint256";
1679
+ }];
1680
+ readonly outputs: readonly [{
1681
+ readonly name: "";
1682
+ readonly type: "uint256";
1683
+ }];
1684
+ }, {
1685
+ readonly stateMutability: "nonpayable";
1686
+ readonly type: "function";
1687
+ readonly name: "setRipeAvailableForHr";
1688
+ readonly inputs: readonly [{
1689
+ readonly name: "_amount";
1690
+ readonly type: "uint256";
1691
+ }];
1692
+ readonly outputs: readonly [{
1693
+ readonly name: "";
1694
+ readonly type: "uint256";
1695
+ }];
1696
+ }, {
1697
+ readonly stateMutability: "nonpayable";
1698
+ readonly type: "function";
1699
+ readonly name: "setRipeAvailableForBonds";
1700
+ readonly inputs: readonly [{
1701
+ readonly name: "_amount";
1702
+ readonly type: "uint256";
1703
+ }];
1704
+ readonly outputs: readonly [{
1705
+ readonly name: "";
1706
+ readonly type: "uint256";
1707
+ }];
1708
+ }, {
1709
+ readonly stateMutability: "nonpayable";
1710
+ readonly type: "function";
1711
+ readonly name: "setUnderscoreRegistry";
1712
+ readonly inputs: readonly [{
1713
+ readonly name: "_underscoreRegistry";
1714
+ readonly type: "address";
1715
+ }];
1716
+ readonly outputs: readonly [{
1717
+ readonly name: "";
1718
+ readonly type: "uint256";
1719
+ }];
1720
+ }, {
1721
+ readonly stateMutability: "nonpayable";
1722
+ readonly type: "function";
1723
+ readonly name: "setUnderscoreRegistry";
1724
+ readonly inputs: readonly [{
1725
+ readonly name: "_underscoreRegistry";
1726
+ readonly type: "address";
1727
+ }, {
1728
+ readonly name: "_missionControl";
1729
+ readonly type: "address";
1730
+ }];
1731
+ readonly outputs: readonly [{
1732
+ readonly name: "";
1733
+ readonly type: "uint256";
1734
+ }];
1735
+ }, {
1736
+ readonly stateMutability: "nonpayable";
1737
+ readonly type: "function";
1738
+ readonly name: "setShouldCheckLastTouch";
1739
+ readonly inputs: readonly [{
1740
+ readonly name: "_shouldCheck";
1741
+ readonly type: "bool";
1742
+ }];
1743
+ readonly outputs: readonly [{
1744
+ readonly name: "";
1745
+ readonly type: "uint256";
1746
+ }];
1747
+ }, {
1748
+ readonly stateMutability: "nonpayable";
1749
+ readonly type: "function";
1750
+ readonly name: "setShouldCheckLastTouch";
1751
+ readonly inputs: readonly [{
1752
+ readonly name: "_shouldCheck";
1753
+ readonly type: "bool";
1754
+ }, {
1755
+ readonly name: "_missionControl";
1756
+ readonly type: "address";
1757
+ }];
1758
+ readonly outputs: readonly [{
1759
+ readonly name: "";
1760
+ readonly type: "uint256";
1761
+ }];
1375
1762
  }, {
1376
1763
  readonly stateMutability: "nonpayable";
1377
1764
  readonly type: "function";
@@ -1409,6 +1796,31 @@ export declare const abi: readonly [{
1409
1796
  readonly name: "";
1410
1797
  readonly type: "uint256";
1411
1798
  }];
1799
+ }, {
1800
+ readonly stateMutability: "nonpayable";
1801
+ readonly type: "function";
1802
+ readonly name: "setBondBooster";
1803
+ readonly inputs: readonly [{
1804
+ readonly name: "_config";
1805
+ readonly type: "tuple";
1806
+ readonly components: readonly [{
1807
+ readonly name: "user";
1808
+ readonly type: "address";
1809
+ }, {
1810
+ readonly name: "boostRatio";
1811
+ readonly type: "uint256";
1812
+ }, {
1813
+ readonly name: "maxUnitsAllowed";
1814
+ readonly type: "uint256";
1815
+ }, {
1816
+ readonly name: "expireBlock";
1817
+ readonly type: "uint256";
1818
+ }];
1819
+ }];
1820
+ readonly outputs: readonly [{
1821
+ readonly name: "";
1822
+ readonly type: "uint256";
1823
+ }];
1412
1824
  }, {
1413
1825
  readonly stateMutability: "nonpayable";
1414
1826
  readonly type: "function";
@@ -1421,6 +1833,18 @@ export declare const abi: readonly [{
1421
1833
  readonly name: "";
1422
1834
  readonly type: "bool";
1423
1835
  }];
1836
+ }, {
1837
+ readonly stateMutability: "nonpayable";
1838
+ readonly type: "function";
1839
+ readonly name: "removeBondBooster";
1840
+ readonly inputs: readonly [{
1841
+ readonly name: "_user";
1842
+ readonly type: "address";
1843
+ }];
1844
+ readonly outputs: readonly [{
1845
+ readonly name: "";
1846
+ readonly type: "bool";
1847
+ }];
1424
1848
  }, {
1425
1849
  readonly stateMutability: "nonpayable";
1426
1850
  readonly type: "function";
@@ -1772,6 +2196,54 @@ export declare const abi: readonly [{
1772
2196
  readonly name: "";
1773
2197
  readonly type: "address";
1774
2198
  }];
2199
+ }, {
2200
+ readonly stateMutability: "view";
2201
+ readonly type: "function";
2202
+ readonly name: "pendingRipeAvailable";
2203
+ readonly inputs: readonly [{
2204
+ readonly name: "arg0";
2205
+ readonly type: "uint256";
2206
+ }];
2207
+ readonly outputs: readonly [{
2208
+ readonly name: "";
2209
+ readonly type: "uint256";
2210
+ }];
2211
+ }, {
2212
+ readonly stateMutability: "view";
2213
+ readonly type: "function";
2214
+ readonly name: "pendingUnderscoreRegistry";
2215
+ readonly inputs: readonly [{
2216
+ readonly name: "arg0";
2217
+ readonly type: "uint256";
2218
+ }];
2219
+ readonly outputs: readonly [{
2220
+ readonly name: "";
2221
+ readonly type: "address";
2222
+ }];
2223
+ }, {
2224
+ readonly stateMutability: "view";
2225
+ readonly type: "function";
2226
+ readonly name: "pendingShouldCheckLastTouch";
2227
+ readonly inputs: readonly [{
2228
+ readonly name: "arg0";
2229
+ readonly type: "uint256";
2230
+ }];
2231
+ readonly outputs: readonly [{
2232
+ readonly name: "";
2233
+ readonly type: "bool";
2234
+ }];
2235
+ }, {
2236
+ readonly stateMutability: "view";
2237
+ readonly type: "function";
2238
+ readonly name: "pendingMissionControl";
2239
+ readonly inputs: readonly [{
2240
+ readonly name: "arg0";
2241
+ readonly type: "uint256";
2242
+ }];
2243
+ readonly outputs: readonly [{
2244
+ readonly name: "";
2245
+ readonly type: "address";
2246
+ }];
1775
2247
  }, {
1776
2248
  readonly stateMutability: "nonpayable";
1777
2249
  readonly type: "constructor";
@@ -1870,6 +2342,10 @@ export type Contract = {
1870
2342
  vaultId: bigint;
1871
2343
  }>;
1872
2344
  pendingUserBorrowReset: (arg0: bigint, arg1: bigint) => Promise<`0x${string}`>;
2345
+ pendingRipeAvailable: (arg0: bigint) => Promise<bigint>;
2346
+ pendingUnderscoreRegistry: (arg0: bigint) => Promise<`0x${string}`>;
2347
+ pendingShouldCheckLastTouch: (arg0: bigint) => Promise<boolean>;
2348
+ pendingMissionControl: (arg0: bigint) => Promise<`0x${string}`>;
1873
2349
  };
1874
2350
  mutations: {
1875
2351
  startGovernanceChange: (newGov: `0x${string}`) => Promise<void>;
@@ -1896,22 +2372,27 @@ export type Contract = {
1896
2372
  asset: `0x${string}`;
1897
2373
  targetRepayAmount: bigint;
1898
2374
  }[]) => Promise<bigint>;
1899
- setContributorTemplate: (contribTemplate: `0x${string}`) => Promise<bigint>;
1900
- setMaxCompensation: (maxComp: bigint) => Promise<bigint>;
1901
- setMinCliffLength: (minCliffLength: bigint) => Promise<bigint>;
1902
- setMaxStartDelay: (maxStartDelay: bigint) => Promise<bigint>;
1903
- setVestingLengthBoundaries: (minVestingLength: bigint, maxVestingLength: bigint) => Promise<bigint>;
2375
+ setContributorTemplate: (contribTemplate: `0x${string}`, missionControl?: `0x${string}`) => Promise<bigint>;
2376
+ setMaxCompensation: (maxComp: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2377
+ setMinCliffLength: (minCliffLength: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2378
+ setMaxStartDelay: (maxStartDelay: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2379
+ setVestingLengthBoundaries: (minVestingLength: bigint, maxVestingLength: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
1904
2380
  cancelPaycheckForContributor: (contributor: `0x${string}`) => Promise<bigint>;
1905
2381
  setManagerForContributor: (contributor: `0x${string}`, manager: `0x${string}`) => Promise<bigint>;
1906
2382
  cashRipeCheckForContributor: (contributor: `0x${string}`) => Promise<boolean>;
1907
2383
  cancelRipeTransferForContributor: (contributor: `0x${string}`) => Promise<boolean>;
1908
2384
  cancelOwnershipChangeForContributor: (contributor: `0x${string}`) => Promise<boolean>;
1909
2385
  freezeContributor: (contributor: `0x${string}`, shouldFreeze: boolean) => Promise<boolean>;
1910
- setRipeBondConfig: (asset: `0x${string}`, amountPerEpoch: bigint, minRipePerUnit: bigint, maxRipePerUnit: bigint, maxRipePerUnitLockBonus: bigint, shouldAutoRestart: boolean, restartDelayBlocks: bigint) => Promise<bigint>;
1911
- setRipeBondEpochLength: (epochLength: bigint) => Promise<bigint>;
2386
+ setRipeBondConfig: (asset: `0x${string}`, amountPerEpoch: bigint, minRipePerUnit: bigint, maxRipePerUnit: bigint, maxRipePerUnitLockBonus: bigint, shouldAutoRestart: boolean, restartDelayBlocks: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
2387
+ setRipeBondEpochLength: (epochLength: bigint, missionControl?: `0x${string}`) => Promise<bigint>;
1912
2388
  setStartEpochAtBlock: (block?: bigint) => Promise<void>;
1913
- setCanPurchaseRipeBond: (canBond: boolean) => Promise<boolean>;
2389
+ setCanPurchaseRipeBond: (canBond: boolean, missionControl?: `0x${string}`) => Promise<boolean>;
1914
2390
  setBadDebt: (amount: bigint) => Promise<bigint>;
2391
+ setRipeAvailableForRewards: (amount: bigint) => Promise<bigint>;
2392
+ setRipeAvailableForHr: (amount: bigint) => Promise<bigint>;
2393
+ setRipeAvailableForBonds: (amount: bigint) => Promise<bigint>;
2394
+ setUnderscoreRegistry: (underscoreRegistry: `0x${string}`, missionControl?: `0x${string}`) => Promise<bigint>;
2395
+ setShouldCheckLastTouch: (shouldCheck: boolean, missionControl?: `0x${string}`) => Promise<bigint>;
1915
2396
  setRipeBondBooster: (bondBooster: `0x${string}`) => Promise<bigint>;
1916
2397
  setManyBondBoosters: (boosters: {
1917
2398
  user: `0x${string}`;
@@ -1919,7 +2400,14 @@ export type Contract = {
1919
2400
  maxUnitsAllowed: bigint;
1920
2401
  expireBlock: bigint;
1921
2402
  }[]) => Promise<bigint>;
2403
+ setBondBooster: (config: {
2404
+ user: `0x${string}`;
2405
+ boostRatio: bigint;
2406
+ maxUnitsAllowed: bigint;
2407
+ expireBlock: bigint;
2408
+ }) => Promise<bigint>;
1922
2409
  removeManyBondBoosters: (users: `0x${string}`[]) => Promise<boolean>;
2410
+ removeBondBooster: (user: `0x${string}`) => Promise<boolean>;
1923
2411
  setBoosterBoundaries: (maxBoostRatio: bigint, maxUnits: bigint) => Promise<bigint>;
1924
2412
  setBoosterMinLockDuration: (minLockDuration: bigint) => Promise<boolean>;
1925
2413
  resetManyUserBalancePoints: (users: {
@@ -1956,6 +2444,8 @@ export type Contract = {
1956
2444
  BoosterMinLockDurationSet: (minLockDuration: bigint) => Promise<void>;
1957
2445
  PendingBoosterConfigsSet: (numBoosters: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
1958
2446
  ManyBondBoostersRemoved: (numUsers: bigint) => Promise<void>;
2447
+ BondBoosterRemoved: (user: `0x${string}`) => Promise<void>;
2448
+ PendingBoosterConfigSet: (user: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
1959
2449
  HrContribTemplateSet: (contribTemplate: `0x${string}`) => Promise<void>;
1960
2450
  HrMaxCompensationSet: (maxCompensation: bigint) => Promise<void>;
1961
2451
  HrMinCliffLengthSet: (minCliffLength: bigint) => Promise<void>;
@@ -1976,6 +2466,16 @@ export type Contract = {
1976
2466
  AssetResetExecuted: (numResets: bigint) => Promise<void>;
1977
2467
  PendingUserBorrowResetSet: (numResets: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
1978
2468
  UserBorrowResetExecuted: (numResets: bigint) => Promise<void>;
2469
+ PendingRipeAvailableForRewardsChange: (amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2470
+ PendingRipeAvailableForHrChange: (amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2471
+ PendingRipeAvailableForBondsChange: (amount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2472
+ RipeAvailableForRewardsSet: (amount: bigint) => Promise<void>;
2473
+ RipeAvailableForHrSet: (amount: bigint) => Promise<void>;
2474
+ RipeAvailableForBondsSet: (amount: bigint) => Promise<void>;
2475
+ PendingUnderscoreRegistryChange: (underscoreRegistry: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2476
+ PendingShouldCheckLastTouchChange: (shouldCheck: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2477
+ UnderscoreRegistrySet: (addr: `0x${string}`) => Promise<void>;
2478
+ ShouldCheckLastTouchSet: (shouldCheck: boolean) => Promise<void>;
1979
2479
  GovChangeTimeLockModified: (prevTimeLock: bigint, newTimeLock: bigint) => Promise<void>;
1980
2480
  ExpirationSet: (expiration: bigint) => Promise<void>;
1981
2481
  ActionTimeLockSet: (newTimeLock: bigint, prevTimeLock: bigint) => Promise<void>;
@@ -2058,6 +2558,10 @@ export type SDK = {
2058
2558
  pendingUserBalanceReset: (...args: ExtractArgs<Contract['calls']['pendingUserBalanceReset']>) => Promise<CallReturn<'pendingUserBalanceReset'>>;
2059
2559
  pendingAssetReset: (...args: ExtractArgs<Contract['calls']['pendingAssetReset']>) => Promise<CallReturn<'pendingAssetReset'>>;
2060
2560
  pendingUserBorrowReset: (...args: ExtractArgs<Contract['calls']['pendingUserBorrowReset']>) => Promise<CallReturn<'pendingUserBorrowReset'>>;
2561
+ pendingRipeAvailable: (...args: ExtractArgs<Contract['calls']['pendingRipeAvailable']>) => Promise<CallReturn<'pendingRipeAvailable'>>;
2562
+ pendingUnderscoreRegistry: (...args: ExtractArgs<Contract['calls']['pendingUnderscoreRegistry']>) => Promise<CallReturn<'pendingUnderscoreRegistry'>>;
2563
+ pendingShouldCheckLastTouch: (...args: ExtractArgs<Contract['calls']['pendingShouldCheckLastTouch']>) => Promise<CallReturn<'pendingShouldCheckLastTouch'>>;
2564
+ pendingMissionControl: (...args: ExtractArgs<Contract['calls']['pendingMissionControl']>) => Promise<CallReturn<'pendingMissionControl'>>;
2061
2565
  startGovernanceChange: (...args: ExtractArgs<Contract['mutations']['startGovernanceChange']>) => Promise<Address>;
2062
2566
  confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
2063
2567
  cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
@@ -2087,9 +2591,16 @@ export type SDK = {
2087
2591
  setStartEpochAtBlock: (...args: ExtractArgs<Contract['mutations']['setStartEpochAtBlock']>) => Promise<Address>;
2088
2592
  setCanPurchaseRipeBond: (...args: ExtractArgs<Contract['mutations']['setCanPurchaseRipeBond']>) => Promise<Address>;
2089
2593
  setBadDebt: (...args: ExtractArgs<Contract['mutations']['setBadDebt']>) => Promise<Address>;
2594
+ setRipeAvailableForRewards: (...args: ExtractArgs<Contract['mutations']['setRipeAvailableForRewards']>) => Promise<Address>;
2595
+ setRipeAvailableForHr: (...args: ExtractArgs<Contract['mutations']['setRipeAvailableForHr']>) => Promise<Address>;
2596
+ setRipeAvailableForBonds: (...args: ExtractArgs<Contract['mutations']['setRipeAvailableForBonds']>) => Promise<Address>;
2597
+ setUnderscoreRegistry: (...args: ExtractArgs<Contract['mutations']['setUnderscoreRegistry']>) => Promise<Address>;
2598
+ setShouldCheckLastTouch: (...args: ExtractArgs<Contract['mutations']['setShouldCheckLastTouch']>) => Promise<Address>;
2090
2599
  setRipeBondBooster: (...args: ExtractArgs<Contract['mutations']['setRipeBondBooster']>) => Promise<Address>;
2091
2600
  setManyBondBoosters: (...args: ExtractArgs<Contract['mutations']['setManyBondBoosters']>) => Promise<Address>;
2601
+ setBondBooster: (...args: ExtractArgs<Contract['mutations']['setBondBooster']>) => Promise<Address>;
2092
2602
  removeManyBondBoosters: (...args: ExtractArgs<Contract['mutations']['removeManyBondBoosters']>) => Promise<Address>;
2603
+ removeBondBooster: (...args: ExtractArgs<Contract['mutations']['removeBondBooster']>) => Promise<Address>;
2093
2604
  setBoosterBoundaries: (...args: ExtractArgs<Contract['mutations']['setBoosterBoundaries']>) => Promise<Address>;
2094
2605
  setBoosterMinLockDuration: (...args: ExtractArgs<Contract['mutations']['setBoosterMinLockDuration']>) => Promise<Address>;
2095
2606
  resetManyUserBalancePoints: (...args: ExtractArgs<Contract['mutations']['resetManyUserBalancePoints']>) => Promise<Address>;