UNPKG

@sofaws/dapp-core

Version:

A library to hold the main logic for a dapp on the Elrond Network

3 lines (2 loc) 374 B
import{k as c}from"./chunk-P6M5SGWP.js";import{m as n}from"./chunk-HBP5N4FR.js";n();c();function g(e){let t=i=>e.status.toLowerCase()===i.toLowerCase(),s=t("fail")||t("reward-reverted"),r=t("success"),o=t("not executed")||t("invalid"),a=t("pending")||e.pendingResults;return{failed:s,success:r,invalid:o,pending:a}}export{g as a}; //# sourceMappingURL=chunk-QUAEDZVX.js.map