@xyo-network/xl1-protocol 1.12.42 → 1.12.43
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Address } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
3
|
export interface NetworkStakeStepAddressRewardViewInterface {
|
|
4
|
-
|
|
4
|
+
networkStakeClaimedRewards(address: Address): Promisable<bigint>;
|
|
5
5
|
networkStakeStepAddressReward(address: Address, step: number, block: number): Promisable<Record<Address, bigint>>;
|
|
6
6
|
networkStakeStepRewardAddressHistory(address: Address): Promisable<Record<Address, bigint>>;
|
|
7
7
|
networkStakeStepRewardAddressShare(address: Address, step: number, block: number): Promisable<[/* address shares */ bigint, /* total shares */ bigint]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkStakeStepReward.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/view/NetworkStakeStepReward.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,WAAW,0CAA0C;IACzD,
|
|
1
|
+
{"version":3,"file":"NetworkStakeStepReward.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/view/NetworkStakeStepReward.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,WAAW,0CAA0C;IACzD,0BAA0B,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAGhE,6BAA6B,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM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EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;IAGjF,iCAAiC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAAA;CACnF"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import type { Address } from '@xylabs/hex'
|
|
|
2
2
|
import type { Promisable } from '@xylabs/promise'
|
|
3
3
|
|
|
4
4
|
export interface NetworkStakeStepAddressRewardViewInterface {
|
|
5
|
-
|
|
5
|
+
networkStakeClaimedRewards(address: Address): Promisable<bigint>
|
|
6
6
|
|
|
7
7
|
// the step rewards for a specific network stakers for a given step and block
|
|
8
8
|
networkStakeStepAddressReward(address: Address, step: number, block: number): Promisable<Record<Address, bigint>>
|