@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
3 lines (2 loc) • 537 B
JavaScript
import{a as n}from"./chunk-XDAZWGHX.js";import{a,b as r,s as f}from"./chunk-ZR7YL3KO.js";import{m as e}from"./chunk-HBP5N4FR.js";e();f();import o from"bignumber.js";function D(g,m){let i=new o(0);return g.forEach(t=>{let c=n({gasPerDataByte:String(r),gasPriceModifier:String(a),minGasLimit:String(m),gasLimit:t.getGasLimit().valueOf().toString(),gasPrice:t.getGasPrice().valueOf().toString(),data:t.getData().toString(),chainId:t.getChainID().valueOf()});i=i.plus(new o(c))}),i}export{D as a};
//# sourceMappingURL=chunk-I5ZYXF75.js.map