PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/nominationPools
Просмотр файла: chill.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.chill = void 0;
const txwrapper_core_1 = require("@substrate/txwrapper-core");
/**
* Chill on behalf of the pool.
*
* The dispatch origin of this call must be signed by the pool nominator or the pool
* root role, same as [`Pallet::nominate`].
*
* This directly forwards the call to the staking pallet, on behalf of the pool bonded
* account.
*
* @param args - Arguments specific to this method.
* @param info - Information required to construct the transaction.
* @param options - Registry and metadata used for constructing the method.
*/
function chill(args, info, options) {
return (0, txwrapper_core_1.defineMethod)({
method: {
args,
name: 'chill',
pallet: 'nominationPools',
},
...info,
}, options);
}
exports.chill = chill;
//# sourceMappingURL=chill.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!