UNPKG

@multiversx/sdk-dapp-swap

Version:

A library to hold the main logic for swapping between tokens on the MultiversX blockchain

3 lines (2 loc) 426 B
import{f as e}from"./chunk-DKQLHRWP.js";e();var o={"Multi swap disabled!":"Smart Swaps are temporarily disabled. We suggest using an alternative route to perform the token swap.","Spread too big!":"Smart Swap not possible because you would lose more than 5%."},d=t=>{if(!t)return;let a="No trade route found.",r=Object.keys(o).find(n=>t.includes(n));return r?o[r]:a};export{d as a}; //# sourceMappingURL=chunk-5EYDTQF7.js.map