PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/nominationPools
Просмотр файла: setClaimPermission.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setClaimPermission = void 0;
const txwrapper_core_1 = require("@substrate/txwrapper-core");
/**
* Allows a pool member to set a claim permission to allow or disallow permissionless
* bonding and withdrawing.
*
* By default, this is `Permissioned`, which implies only the pool member themselves can
* claim their pending rewards. If a pool member wishes so, they can set this to
* `PermissionlessAll` to allow any account to claim their rewards and bond extra to the
* pool.
*
* @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 setClaimPermission(args, info, options) {
return (0, txwrapper_core_1.defineMethod)({
method: {
args,
name: 'setClaimPermission',
pallet: 'nominationPools',
},
...info,
}, options);
}
exports.setClaimPermission = setClaimPermission;
//# sourceMappingURL=setClaimPermission.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!