UNPKG

@chorus-one/substrate

Version:

All-in-one toolkit for building staking dApps on Substrate Network SDK blockchains(Polkadot, Kusama, etc.)

16 lines (15 loc) 586 B
/** * Enum for the different Substrate reward destinations. * * @enum {string} RewardDestination * * @property {string} STASH - Sends rewards to the staker's stash account, where they can compound with the locked staking balance. * * @property {string} CONTROLLER - Sends rewards to the controller account, which handles staking operations but holds minimal funds. * */ export var RewardDestination; (function (RewardDestination) { RewardDestination["STASH"] = "Stash"; RewardDestination["CONTROLLER"] = "Controller"; })(RewardDestination || (RewardDestination = {}));