var n = Object.defineProperty;
var o = (e, a, t) => a in e ? n(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t;
var s = (e, a, t) => o(e, typeof a != "symbol" ? a + "" : a, t);
import { a1 as l, C as m, a2 as u } from "./cosmwasm-DN0AHdEC.mjs";
import { cY as f, cZ as g, c_ as p, ad as E } from "./index-BpgHIKBe.mjs";
function h(e, a) {
  let t = f.get(e, a);
  return t || (t = "0.1"), l.calculateFee(g * 1.5, `${t}${m.getNativeDenom(e, a)}`);
}
function T(e, a, t, r) {
  return {
    typeUrl: p,
    value: u.MsgExecuteContract.fromPartial({
      sender: e,
      contract: a,
      msg: E.encode(JSON.stringify(t)),
      funds: r
    })
  };
}
class _ {
  constructor(a, t, r, i, c = !1) {
    s(this, "transaction");
    s(this, "network");
    s(this, "chain");
    s(this, "description");
    s(this, "parallelizable");
    this.transaction = a, this.network = t, this.chain = r, this.description = i, this.parallelizable = c;
  }
}
export {
  _ as C,
  T as b,
  h as c
};
