@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
3 lines (2 loc) • 466 B
JavaScript
import{a as r}from"./chunk-JIZSFZZ3.js";import{c as n}from"./chunk-35N6HQAC.js";import{m as o}from"./chunk-HBP5N4FR.js";o();import c from"bignumber.js";var l=!1;function x(e){var t;try{let i=n(e.data).replace(`${(t=e.action)==null?void 0:t.name}@`,""),a=new c(i,16);if(!a.isNaN())return r(a.toString(10))}catch(d){l||(console.error(`Unable to extract value for txHash: ${e.txHash}`),l=!0)}return r(e.value)}export{x as a};
//# sourceMappingURL=chunk-A6QRL6JB.js.map