PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/proxy
Просмотр файла: killPure.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.killPure = void 0;
const txwrapper_core_1 = require("@substrate/txwrapper-core");
/**
* Removes a previously spawned pure proxy.
*
* NOTE: Was named killAnonymous before v9300
*
* WARNING: **All access to this account will be lost.** Any funds held in it will be
* inaccessible.
*
* Requires a `Signed` origin, and the sender account must have been created by a call to
* `anonymous` with corresponding parameters.
*
* Fails with `NoPermission` in case the caller is not a previously created anonymous
* account whose `anonymous` call has corresponding parameters.
*
* @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.
* @returns
*/
function killPure(args, info, options) {
return (0, txwrapper_core_1.defineMethod)({
method: {
args,
name: 'killPure',
pallet: 'proxy',
},
...info,
}, options);
}
exports.killPure = killPure;
//# sourceMappingURL=killPure.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!