PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/nominationPools
Просмотр файла: create.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.create = void 0;
const txwrapper_core_1 = require("@substrate/txwrapper-core");
/**
* Create a new delegation pool.
*
* # Note
*
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
* needs at have at least `amount + existential_deposit` transferrable.
*
* @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 create(args, info, options) {
return (0, txwrapper_core_1.defineMethod)({
method: {
args,
name: 'create',
pallet: 'nominationPools',
},
...info,
}, options);
}
exports.create = create;
//# sourceMappingURL=create.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!