@pioneer-platform/osmosis-client 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +4 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -249,9 +249,13 @@ var get_quote = function (quote) {
|
|
|
249
249
|
log.info(tag, "rate: ", rate);
|
|
250
250
|
invocationId = uuid();
|
|
251
251
|
output.invocationId = invocationId;
|
|
252
|
+
output.meta = {
|
|
253
|
+
quoteMode: "OSMOSIS-IBC"
|
|
254
|
+
};
|
|
252
255
|
// get amountOut
|
|
253
256
|
//2 steps
|
|
254
257
|
output.steps = 2;
|
|
258
|
+
output.complete = true;
|
|
255
259
|
result = void 0;
|
|
256
260
|
if (!(quote.sellAsset === shortListSymbolToCaip["OSMO"])) return [3 /*break*/, 5];
|
|
257
261
|
result = quoteFromPool(quote.sellAmount, amountAtom, amountOsmo);
|