PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/proxy
Просмотр файла: createPure.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createPure = void 0;
const txwrapper_core_1 = require("@substrate/txwrapper-core");
/**
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
* initialize it with a proxy of `proxy_type` for `origin` sender.
*
* NOTE: Was named anonymous before v9300
*
* Requires a `Signed` origin
*
* Fails with `Duplicate` if this has already been called in this transaction, from the
* same sender, with the same parameters.
*
* Fails if there are insufficient funds to pay for deposit.
*
* @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 createPure(args, info, options) {
return (0, txwrapper_core_1.defineMethod)({
method: {
args,
name: 'createPure',
pallet: 'proxy',
},
...info,
}, options);
}
exports.createPure = createPure;
//# sourceMappingURL=createPure.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!