PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@substrate/txwrapper-polkadot/lib/methods/xcmPallet
Просмотр файла: limitedTeleportAssets.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.limitedTeleportAssets = void 0;
const txwrapper_core_1 = require("@substrate/txwrapper-core");
/**
* Teleport some assets from the local chain to some destination chain.
*
* Fee payment on the destination side is made from the asset in the `assets` vector of
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
* is needed than `weight_limit`, then the operation will fail and the assets send may be
* at risk.
*
* @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 limitedTeleportAssets(args, info, options) {
return (0, txwrapper_core_1.defineMethod)({
method: {
args,
name: 'limitedTeleportAssets',
pallet: 'xcmPallet',
},
...info,
}, options);
}
exports.limitedTeleportAssets = limitedTeleportAssets;
//# sourceMappingURL=limitedTeleportAssets.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!