PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@substrate/txwrapper-polkadot/lib/methods/xcmPallet

Просмотр файла: teleportAssets.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.teleportAssets = 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`. The weight limit for fees is not provided and thus is unlimited,
 * with all fees taken as needed from the asset.
 *
 * @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 teleportAssets(args, info, options) {
    return (0, txwrapper_core_1.defineMethod)({
        method: {
            args,
            name: 'teleportAssets',
            pallet: 'xcmPallet',
        },
        ...info,
    }, options);
}
exports.teleportAssets = teleportAssets;
//# sourceMappingURL=teleportAssets.js.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!