PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/assetConversion
Просмотр файла: removeLiquidity.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeLiquidity = void 0;
const txwrapper_core_1 = require("@substrate/txwrapper-core");
/**
* Allows you to remove liquidity by providing the `lpTokenBurn` tokens that will be
* burned in the process.
*
* With the usage of `amount1MinReceive`/`amount2MinReceive`
* it's possible to control the min amount of returned tokens you're happy with.
*
* @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 removeLiquidity(args, info, options) {
return (0, txwrapper_core_1.defineMethod)({
method: {
args,
name: 'removeLiquidity',
pallet: 'assetConversion',
},
...info,
}, options);
}
exports.removeLiquidity = removeLiquidity;
//# sourceMappingURL=removeLiquidity.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!