@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
3 lines (2 loc) • 757 B
JavaScript
import{a as c}from"./chunk-CU7LVRKG.js";import{a as i}from"./chunk-SIAIYQNL.js";import{a as p}from"./chunk-IZ52XEZC.js";import{a,b as l,d as u,m as s}from"./chunk-HBP5N4FR.js";s();i();var t=o=>o.account,x=c(t,o=>o.address),n=c(t,x,(o,e)=>e in o.accounts?o.accounts[e]:p),v=c(t,n,(o,e)=>{let r=o,{accounts:d}=r,S=u(r,["accounts"]);return l(a({},S),{account:e})}),w=c(n,o=>o.balance),L=c(n,o=>{var e;return((e=o==null?void 0:o.nonce)==null?void 0:e.valueOf())||0}),b=c(t,o=>o.shard),h=c(t,o=>o.ledgerAccount),k=c(t,o=>o.walletConnectAccount),C=c(t,o=>o.isAccountLoading),I=c(t,o=>o.accountLoadingError),R=c(t,o=>o.websocketEvent);export{x as a,n as b,v as c,w as d,L as e,b as f,h as g,k as h,C as i,I as j,R as k};
//# sourceMappingURL=chunk-44WWQAQY.js.map