UNPKG

@chorus-one/substrate

Version:

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

19 lines (18 loc) 720 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RewardDestination = void 0; /** * 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. * */ var RewardDestination; (function (RewardDestination) { RewardDestination["STASH"] = "Stash"; RewardDestination["CONTROLLER"] = "Controller"; })(RewardDestination || (exports.RewardDestination = RewardDestination = {}));