UNPKG

@sofaws/dapp-core

Version:

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

3 lines (2 loc) 355 B
import{i as s}from"./chunk-7QE2X3X4.js";import{m as o}from"./chunk-HBP5N4FR.js";o();s();var b=({operation:t,address:r})=>{let i=r===t.sender,n=r===t.receiver,c=i&&n,a=!c,e="";switch(!0){case i:e="Out";break;case n:e="In";break;case c:e="Self";break;case a:e="Internal";break}return{direction:e}};export{b as a}; //# sourceMappingURL=chunk-HAD3IKCG.js.map