Skip to content

Commit f7e90ef

Browse files
authored
feat(sdk-core): add coredao and babylon staking params
2 parents fe1bb8e + e13d5da commit f7e90ef

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

modules/sdk-core/src/bitgo/staking/iStakingWallet.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ export interface DelegationRequest {
2323
validator: string;
2424
}
2525

26+
export type CoredaoParams = {
27+
expireAt: string;
28+
rewardAddress: string;
29+
};
30+
31+
export type BabylonParams = {
32+
duration: string;
33+
rewardAddress: string;
34+
};
35+
2636
/**
2737
* Represents the options for staking.
2838
* @typedef {Object} StakeOptions
@@ -116,6 +126,18 @@ export interface StakeOptions {
116126
*/
117127
rewardAddress?: string;
118128

129+
/**
130+
* btc babylon staking params
131+
*/
132+
133+
babylon?: BabylonParams;
134+
135+
/**
136+
* btc coredao staking params
137+
*/
138+
139+
coredao?: CoredaoParams;
140+
119141
/**
120142
* ada vote delegation drep id
121143
*/

0 commit comments

Comments
 (0)