@xyo-network/xl1-protocol 1.12.73 → 1.12.74

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.
@@ -18,11 +18,11 @@ export interface NetworkStakeStepRewardPositionViewInterface {
18
18
  export interface NetworkStakeStepRewardViewInterface extends NetworkStakeStepPoolRewardViewInterface, NetworkStakeStepAddressRewardViewInterface, NetworkStakeStepRewardPositionViewInterface {
19
19
  networkStakeStepRewardClaimedByAddress(address: Address): Promisable<bigint>;
20
20
  networkStakeStepRewardForPosition(position: number, range: [number, number]): Promisable<[bigint, bigint]>;
21
- networkStakeStepRewardForPosition(position: number, range: [number, number]): Promisable<Record<StepIdentityString, [bigint, bigint]>>;
22
21
  networkStakeStepRewardForStep(context: StepIdentity): Promisable<bigint>;
23
22
  networkStakeStepRewardForStepForPosition(context: StepIdentity, position: number): Promisable<[bigint, bigint]>;
24
23
  networkStakeStepRewardRandomizer(context: StepIdentity): Promisable<bigint>;
25
24
  networkStakeStepRewardStakerCount(context: StepIdentity): Promisable<number>;
26
25
  networkStakeStepRewardUnclaimedByAddress(address: Address): Promisable<bigint>;
26
+ networkStakeStepRewardsForPosition(position: number, range: [number, number]): Promisable<Record<StepIdentityString, [bigint, bigint]>>;
27
27
  }
28
28
  //# sourceMappingURL=NetworkStakeStepReward.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkStakeStepReward.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/viewers/NetworkStakeStepReward.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE5E,MAAM,WAAW,0CAA0C;IAEzD,oCAAoC,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC,MAAM,CAA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AC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAE5E,wCAAwC,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAG9E,kCAAkC,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAA;CACxI"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json.schemastore.org/package.json",
3
3
  "name": "@xyo-network/xl1-protocol",
4
- "version": "1.12.73",
4
+ "version": "1.12.74",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -44,9 +44,6 @@ export interface NetworkStakeStepRewardViewInterface extends
44
44
  // the share & total rewards for a given position
45
45
  networkStakeStepRewardForPosition(position: number, range: [number, number]): Promisable<[bigint, bigint]>
46
46
 
47
- // the share & total rewards for a given position for each step in range
48
- networkStakeStepRewardForPosition(position: number, range: [number, number]): Promisable<Record<StepIdentityString, [bigint, bigint]>>
49
-
50
47
  // estimate the total possible block rewards for a given step
51
48
  networkStakeStepRewardForStep(context: StepIdentity): Promisable<bigint>
52
49
 
@@ -60,4 +57,7 @@ export interface NetworkStakeStepRewardViewInterface extends
60
57
  networkStakeStepRewardStakerCount(context: StepIdentity): Promisable<number>
61
58
 
62
59
  networkStakeStepRewardUnclaimedByAddress(address: Address): Promisable<bigint>
60
+
61
+ // the share & total rewards for a given position for each step in range
62
+ networkStakeStepRewardsForPosition(position: number, range: [number, number]): Promisable<Record<StepIdentityString, [bigint, bigint]>>
63
63
  }