@galacticcouncil/sdk-next 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,4 +42,5 @@ export type Farm = {
42
42
  distributedRewards: bigint;
43
43
  plannedYieldingPeriods: number;
44
44
  minDeposit: bigint;
45
+ blocksPerPeriod: number;
45
46
  };
@@ -40,7 +40,7 @@ export declare class StakingApi {
40
40
  currentActionPoints: string;
41
41
  maxActionPoints: string;
42
42
  };
43
- getRewards(account: string, activeReferendaIds: Array<string>, blockNumber: string): Promise<{
43
+ getRewards(account: string, openGovReferendaIds: Array<string>, blockNumber: string): Promise<{
44
44
  rewards: string;
45
45
  payablePercentage: string;
46
46
  extraPayablePercentage: string | undefined;
@@ -50,10 +50,12 @@ export declare class StakingApi {
50
50
  };
51
51
  maxRewards?: undefined;
52
52
  allocatedRewardsPercentage?: undefined;
53
+ points?: undefined;
53
54
  } | {
54
55
  rewards: string;
55
56
  maxRewards: string;
56
57
  allocatedRewardsPercentage: number;
58
+ points: string;
57
59
  payablePercentage: string;
58
60
  extraPayablePercentage: string | undefined;
59
61
  constants: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacticcouncil/sdk-next",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Galactic next gen sdk (papi)",
5
5
  "author": "GalacticCouncil",
6
6
  "repository": {