"use strict";var l=Object.defineProperty;var u=(s,e,t)=>e in s?l(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var a=(s,e,t)=>(u(s,typeof e!="symbol"?e+"":e,t),t);const i=require("./cosmwasm-BMt36sHU.js"),r=require("./index-OO3WXYTB.js");function m(s,e){let t=i.averageGasPrices.get(s,e);return t||(t="0.1"),i.build.calculateFee(i.DEFAULT_FEE*1.5,`${t}${i.CosmwasmPlatform.getNativeDenom(s,e)}`)}function g(s,e,t,n){return{typeUrl:i.MSG_EXECUTE_CONTRACT_TYPE_URL,value:r.tx$1.MsgExecuteContract.fromPartial({sender:s,contract:e,msg:r.bytes.encode(JSON.stringify(t)),funds:n})}}class d{constructor(e,t,n,c,o=!1){a(this,"transaction");a(this,"network");a(this,"chain");a(this,"description");a(this,"parallelizable");this.transaction=e,this.network=t,this.chain=n,this.description=c,this.parallelizable=o}}exports.CosmwasmUnsignedTransaction=d;exports.buildExecuteMsg=g;exports.computeFee=m;
